From 9d1907e56da69b5930046abe32e3b44736d1361b Mon Sep 17 00:00:00 2001 From: Maximilian Rehkopf Date: Sat, 8 Oct 2011 19:30:08 +0200 Subject: [PATCH] Menu/bootmessage: clear text buffer on boot --- snes/boot/main.a65 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/snes/boot/main.a65 b/snes/boot/main.a65 index 942e451..56b8c3b 100644 --- a/snes/boot/main.a65 +++ b/snes/boot/main.a65 @@ -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