Prev: 58774 Up: Map Next: 58792
58781: Clear Screen
Used by the routines at StartGame and GameOver.
Clears the whole screen to white ink on black paper, and sets the border to black.
Before After ClearScreen
clear-screen-before clear-screen-after
Clear the pixels, the attributes and the border.
ClearScreen 58781 CALL ClearPixels Clear the pixels.
58784 CALL ClearAttributes Clear the attributes.
58787 LD A,0 Set the border to black.
58789 OUT (254),A
58791 RET Return.
Prev: 58774 Up: Map Next: 58792