Prev: 8E42 Up: Map Next: 8E69
8E4C: Clear Screen Buffer
Clear_Screen 8E4C LD DE,$4001 Clears the screen buffer by writing 00 to 6143 memory locations.
8E4F LD HL,$4000
8E52 LD A,$00
8E54 LD (HL),A
8E55 LD BC,$17FF
8E58 LDIR
8E5A LD HL,$5800 Clears the attribute buffer by writing 0D to 767 memory locations.
8E5D LD DE,$5801
8E60 LD A,$0D
8E62 LD (HL),A
8E63 LD BC,$02FF
8E66 LDIR
8E68 RET Return.
Prev: 8E42 Up: Map Next: 8E69