From 86837761fa034a250d1fdfcb7a4a2ff6e1207c23 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Wed, 15 Feb 2017 22:37:43 +0200 Subject: [PATCH] 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) --- BootROMs/cgb_boot.asm | 3 --- BootROMs/cgb_boot_fast.asm | 3 --- 2 files changed, 6 deletions(-) diff --git a/BootROMs/cgb_boot.asm b/BootROMs/cgb_boot.asm index 3349f35..1f3edbe 100644 --- a/BootROMs/cgb_boot.asm +++ b/BootROMs/cgb_boot.asm @@ -7,9 +7,6 @@ Start: ; Init stack pointer ld sp, $fffe -; Select RAM bank - ld a, 2 - ldh [$70], a xor a ; Clear chosen input palette ld [InputPalette], a diff --git a/BootROMs/cgb_boot_fast.asm b/BootROMs/cgb_boot_fast.asm index 60d82c1..b7351b9 100644 --- a/BootROMs/cgb_boot_fast.asm +++ b/BootROMs/cgb_boot_fast.asm @@ -7,9 +7,6 @@ Start: ; Init stack pointer ld sp, $fffe -; Select RAM bank - ld a, 2 - ldh [$70], a xor a ; Clear memory VRAM ld hl, $8000