Prev: BF22 Up: Map Next: BF7E
BF6A: Draw List
Used by the routine at MainLoop.
Draws every sprite in the draw list into the off-screen buffer, in order.
Before After
draw-list-before draw-list-after
DrawList BF6A LD IX,$D355 Point IX at the start of the draw list.
DrawList_Loop BF6E LD A,(IX+$00) Return if the type is zero, which is the end of the list.
BF71 AND A
BF72 RET Z
BF73 CALL DrawSprite Draw the sprite using DrawSprite.
BF76 INC IX Move on to the next entry.
BF78 INC IX
BF7A INC IX
BF7C JR DrawList_Loop Loop back.
Prev: BF22 Up: Map Next: BF7E