Prev: 32915 Up: Map Next: 32948
32938: 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 32938 CALL ResetAttributes Call ResetAttributes to clear the attribute buffer.
32941 CALL ResetScreen Call ResetScreen to clear the screen buffer.
32944 XOR A Set the border to BLACK.
32945 OUT (254),A
32947 RET Return.
View the equivalent code in;
Prev: 32915 Up: Map Next: 32948