Menu/bootmessage: clear text buffer on boot

This commit is contained in:
Maximilian Rehkopf 2011-10-08 19:30:08 +02:00
parent f6df5e1158
commit 9d1907e56d

View File

@ -3,6 +3,7 @@
GAME_MAIN:
sep #$20 : .as
rep #$10 : .xl
sei
stz $4200 ; inhibit VBlank NMI
jsr killdma
@ -14,6 +15,13 @@ GAME_MAIN:
jsr setup_hdma
jsr tests
; clear text buffer
ldx #$0041
lda #$00
- dex
sta @MCU_TXT, x
bne -
; copy routines to WRAM
lda #^printloop_wram
ldx #!printloop_wram