Manually clear screen
If I don't do this I get gibberish in most emulators (apparently not SNES9x)
This commit is contained in:
parent
f6efec6961
commit
14b496ae1c
@ -65,6 +65,16 @@ start:
|
||||
cpx #(charset_end - charset)
|
||||
bne @charset_loop
|
||||
|
||||
; Manually clear screen
|
||||
ldx #(VRAM_BG1)
|
||||
@loop:
|
||||
stx VMADDL
|
||||
stz VMDATAL
|
||||
stz VMDATAH
|
||||
inx
|
||||
cpx #(VRAM_BG1 + 32 * 29)
|
||||
bne @loop
|
||||
|
||||
; write tile to position (1, 1)
|
||||
TILE_X = 1
|
||||
TILE_Y = 1
|
||||
|
Loading…
Reference in New Issue
Block a user