Prev: $2D47 Up: Map Next: $2DCB
$2DAD: Clear the screen
Used by the routine at $2CD9.
$2DAD LDA #$E0 Prepare to address the screen bitmap at $E000.
$2DAF STA $4F
$2DB1 LDA #$00
$2DB3 STA $4E
$2DB5 LDX #$1F Fill addresses $E000-$FEFF with zeroes.
$2DB7 LDY #$00
$2DB9 STA ($4E),Y
$2DBB DEY
$2DBC BNE $2DB9
$2DBE INC $4F
$2DC0 DEX
$2DC1 BNE $2DB7
$2DC3 LDY #$37 Fill addresses $FF00-$FF37 with zeroes.
$2DC5 STA ($4E),Y
$2DC7 DEY
$2DC8 BPL $2DC5
$2DCA RTS
Prev: $2D47 Up: Map Next: $2DCB