Prev: B9D6 Up: Map Next: BA25
B9FB: Put the sprites on screen
Used by the routines at 813B, B9D6, ED2A, EDF7, EFC7 and F177.
B9FB LD HL,$6B00 Point HL at the sprite buffer. (6B00)
B9FE LD IX,$8278 Point IX at the screen offset table. (8278)
BA02 LD BC,$1000 Length is 1000.
BA05 LD E,(IX+$00) Put the next screen offset in DE.
BA08 LD D,(IX+$01)
BA0B INC IX Move to the next offset in the table.
BA0D INC IX
BA0F CALL $BA25 Copy the next row of the sprite buffer to screen.
BA12 JP PE,$BA05 Loop while there is more to draw.
Now put the attributes on screen.
BA15 LD BC,$0200 Length is 0200.
BA18 LD HL,$FC00 Point HL at the attribute buffer. (FC00)
BA1B LD DE,$5900 Point DE to the middle third of the screen.
BA1E CALL $BA25 Copy the next row of the attribute buffer to screen.
BA21 JP PE,$BA1E Loop back while there is more to draw.
BA24 RET Otherwise return.
Prev: B9D6 Up: Map Next: BA25