Prev: 38259 Up: Map Next: 38280
38269: Clear Screen
Used by the routines at Select_Game_Options, Run_Game and Show_Game_Over.
Sets the attributes of the play area to white ink on black paper and then clears the pixels of the whole screen.
Before After Clear_Screen
clear-screen-before clear-screen-after
Clear_Screen 38269 CALL Clear_Play_Area_Attributes Set the attributes of the play area.
38272 LD HL,16384 Point at the start of the display file (16384).
38275 LD BC,6144 Set the size of the display file (6144 bytes).
38278 JR FillMemory Jump to FillMemory to clear the display file.
Prev: 38259 Up: Map Next: 38280