[A83] Re: Ionputsprite


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

[A83] Re: Ionputsprite




HINT: READ README'S.

Anyway, you need a label like so to point to the sprite data:

BIG_BLACK_BOX:
db %11111111
db %11111111
db %11111111
db %11111111
db %11111111
db %11111111
db %11111111
db %11111111

Then, for IonPutSprite, the registers should be as follows:
a = X Coordinate
l = Y Coordinate
b = Height
ix = Location of Data

SO, this would display that sprite at (0,0):

XOR  a
LD   l,a
LD   b,8
LD   ix,BIG_BLACK_BOX
CALL ionPutSprite

Hope this helps.  Read the hint at the top of the page.

-Joel