Prev: 52832 Up: Map Next: 52851
52840: Clear Attributes
Used by the routines at GameOver and ClearScreen.
Sets the attributes of the screen to bright red on black. The entry point at FillAttributes sets them to the value in A.
ClearAttributes 52840 LD A,66 Set A to 66.
This entry point is used by the routine at UpdatePanel.
FillAttributes 52842 LD E,A Copy it to E.
52843 LD HL,22528 Point HL at 22528 (in the attribute buffer).
52846 LD BC,768 Set BC to 768.
52849 JR FillMemory_WithValue Jump to FillMemory_WithValue.
Prev: 52832 Up: Map Next: 52851