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:
parent
3fbc2c5716
commit
86837761fa
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user