Improved compatibility with SameBoy's boot ROM by removing the RAM bank switch (The original boot ROM does that for no reason, but eventually switches back to bank 1)

This commit is contained in:
Lior Halphon 2017-02-15 22:37:43 +02:00
parent 3fbc2c5716
commit 86837761fa
2 changed files with 0 additions and 6 deletions

View File

@ -7,9 +7,6 @@ Start:
; Init stack pointer ; Init stack pointer
ld sp, $fffe ld sp, $fffe
; Select RAM bank
ld a, 2
ldh [$70], a
xor a xor a
; Clear chosen input palette ; Clear chosen input palette
ld [InputPalette], a ld [InputPalette], a

View File

@ -7,9 +7,6 @@ Start:
; Init stack pointer ; Init stack pointer
ld sp, $fffe ld sp, $fffe
; Select RAM bank
ld a, 2
ldh [$70], a
xor a xor a
; Clear memory VRAM ; Clear memory VRAM
ld hl, $8000 ld hl, $8000