[A83] Map question
[Prev][Next][Index][Thread]
[A83] Map question
Ok, i'm making a map program to use for an rpg I'm thinking about, and i was
wondering if i could do this:
(normal code, and then some to get the tile num(0-255) into a)
ld f,0
sla a
sla a
sla a ;same as a=a*8;
add hl,af ;or should i exchange a to f? I'm not sure, i want to add the
offset of ;the tile(a) to the tile data(hl) any help here?
(normal code to display tile located at hl)
would that work? or do i need to exchange a and f to get the right code? or
could i just say " add hl,a" and that work?
Any help would be....helpfull