Prev: 8093 Up: Map Next: 80B4
80AA: Clear Screen
Used by the routines at GameInitialisation and StartGame.
Clears the attributes and the pixels of the whole screen, and sets the border to black.
Before After
clear-screen-before clear-screen-after
ClearScreen 80AA CALL ResetAttributes Call ResetAttributes to clear the attribute buffer.
80AD CALL ResetScreen Call ResetScreen to clear the screen buffer.
80B0 XOR A Set the border to BLACK.
80B1 OUT ($FE),A
80B3 RET Return.
View the equivalent code in;
Prev: 8093 Up: Map Next: 80B4