Prev: A17D Up: Map Next: A19C
A185: Blank twenty bytes where something was
Used by the routines at DRAW_LIST and DRAW_LIVES.
Works out the display address from a record's position and writes zero across twenty bytes -- the fastest way to rub out something that is about to be redrawn somewhere else.
ERASE_STRIP A185 LD L,(IX+$03)
A188 LD H,(IX+$04)
A18B CALL PIXEL_TO_SCREEN
A18E LD B,$14
ERASE_STRIP_0 A190 LD (HL),$00
A192 INC L
A193 LD (HL),$00
A195 DEC L
A196 CALL SCREEN_ROW_UP
A199 DJNZ ERASE_STRIP_0
A19B RET
Prev: A17D Up: Map Next: A19C