[A83] Re: Tilemap


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

[A83] Re: Tilemap




I know how to read the code, I should have just said: There are a few lines 
where I don't know how or why something is happening.
this comes from the 8*8 tilemap routine
hl->tilemap
de->tiles
bc,8*256+12 ;it does this telling where to place the first tile
push	bc  ;puts bc on the stack (tile coords)
but...
ld	b,c	what does this do(I know it loads the contents of c into b, but what 
is in c?
ld	de,-(8*12)+1  also what does -(8*12)+, is it just saying - 8*12 then add 
1
and putting it in de
sorry for the first email, this is all i really wnated to know.


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




Follow-Ups: