Routines
Prev:
E596
Up:
Map
Next:
E5A8
E59D: Clear the screen
Used by the routines at
NEW_GAME
and
GAME_OVER
.
The pixels to 0, every attribute to bright white ink on black paper, and the border black. At a new game (
NEW_GAME
) and at the end of one (
GAME_OVER
).
CLEAR_SCREEN
E59D
CALL
CLR_BITMAP_MEMORY
The pixels, then the attributes
E5A0
CALL
CLR_ATTRIBUTE_MEMORY
E5A3
LD A,$00
A black border
E5A5
OUT ($FE),A
E5A7
RET
Prev:
E596
Up:
Map
Next:
E5A8