Prev: D55F Up: Map Next: D56F
D567: Clear Screen Buffer
Used by the routines at GameOver, GameCompleted, GameMenu and BuildRoomObjects.
Clears the buffer that the playing area is drawn in before it is copied to the screen.
ClearScreenBuffer D567 LD BC,$1800 Set the number of bytes to 1800.
D56A LD HL,$D8F3 Point HL at ScreenBuffer.
D56D JR FillMemory Jump to FillMemory.
View the equivalent code in;
Prev: D55F Up: Map Next: D56F