[A86] Re: What's wrong w/ This?2


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

[A86] Re: What's wrong w/ This?2




You are using the bitmask wrongly.  You are trying to use it as a pixel 
incrementor or something.  You need to keep de as 16.  Another thing is that 
this routine just draws sprites aligned on a byte.  The bitmask is used for 
sprites drawn in between two bytes on the screen. What you need to do is load 
16 into e and 0 into d.  Currently your routine adds whatever the bitmask for 
loacation you give it to hl each loop.  You only want it to go down one line, 
or 16 bytes.

Marc McG