[A83] Re: a question...


[Prev][Next][Index][Thread]

[A83] Re: a question...




If you create a variable, it is much more efficient.  Create something like 'cursprite', and it takes up 2 bytes

cursprite = saferam1
nextvar = cursprite+2 ;bc cursprite is 2 bytes

Then to load say, 'Dire' into cursprite:
ld hl,dire
ld (cursprite),hl

And in ionPutSprite, the way to use the sprite is
ld ix,(cursprite)

-Cole South