Prev: 9573 Up: Map Next: 9588
957D: 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 957D CALL Clear_Play_Area_Attributes Set the attributes of the play area.
9580 LD HL,$4000 Point at the start of the display file (4000).
9583 LD BC,$1800 Set the size of the display file (1800 bytes).
9586 JR FillMemory Jump to FillMemory to clear the display file.
Prev: 9573 Up: Map Next: 9588