Prev: C0FE Up: Map Next: C128
C10F: Clear Screen
Used by the routine at DrawDecorativeLine.
ClearScreen C10F LD A,$07 Set border colour to WHITE.
C111 OUT ($FE),A
C113 LD HL,$4000 HL=4000 (screen buffer location).
C116 LD DE,$4001 DE=4001.
C119 LD BC,$1800 BC=1800.
C11C LD (HL),$00 Write 00 to the screen buffer.
C11E LDIR Copy the 00 across the rest of the screen buffer bytes.
C120 LD BC,$02FF BC=02FF.
C123 LD (HL),$38 Write INK: BLACK, PAPER: WHITE to the attribute buffer.
C125 LDIR Copy the 38 across the rest of the attribute buffer bytes.
C127 RET Return.
Prev: C0FE Up: Map Next: C128