bbs00068@uafcseg.uucp (Joel Kolstad) (08/05/90)
OK, guys, I have what I'm sure is a really simple Amiga C programming
question for you guys...
I want my program to have its own pointer when its window is
activated. I know how to do this using SetPointer(...), but I don't
know how to set up the data for the sprite to insure that's it's in
CHIP memory... the book I have uses Lattice examples, and I need to
know how to convert the following over to Manx (5.0):
UWORD chip My_Pointer[18]= { 0x0000, 0x0000, .... };
^^^^
||||
Manx barfs on this
If I remove the chip, it compiles, but unless I force it to run in
chip memory (ala nofastmem), the data is put in fast RAM, and the
pointer is invisible!
Please reply to kolstad@cae.wisc.edu. Thanks!
---Joel Kolstad
kolstad@cae.wisc.edu
barrett@jhunix.HCF.JHU.EDU (Dan Barrett) (08/07/90)
In article <5039@uafhp.uark.edu> bbs00068@uafcseg.uucp (Joel Kolstad) writes: >I don't >know how to set up the data for the sprite to insure that's it's in >CHIP memory... the book I have uses Lattice examples, and I need to >know how to convert the following over to Manx (5.0): > >UWORD chip My_Pointer[18]= { 0x0000, 0x0000, .... }; Joel, I tried sending this by e-mail but it bounced. Manx uses its linker to put the appropriate data in CHIP RAM. Check your Manx manual, in the section that describes the linker, "ln". You have to specify a particular flag. Dan //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | Dan Barrett, Department of Computer Science Johns Hopkins University | | INTERNET: barrett@cs.jhu.edu | | | COMPUSERVE: >internet:barrett@cs.jhu.edu | UUCP: barrett@jhunix.UUCP | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////