Evie (ChickasaurusGL) 🌺 | Calling the Game Boy DMG boot ROM code (Pokémon Yellow arbitrary code execution experiment) @ChickasaurusGL | Uploaded May 2022 | Updated October 2024, 7 hours ago.
Before I did this, I also called 1DC6 (ClearVRAM), disabled interrupts (di) and adjusted the absolute jumps within the boot ROM code to jump to the equivalent address in RAM (so anywhere there is CD YY XX adjust that to CD (your address)).
I set up the copy beginning at DA7F (see https://gbdev.gg8.se/files/roms/bootroms/ ). As you can see, for whatever reason it 'works' but the Nintendo logo is corrupted, similar to a misread Game Pak. Nothing happens after the end and it may be an indefinite loop.
Before I did this, I also called 1DC6 (ClearVRAM), disabled interrupts (di) and adjusted the absolute jumps within the boot ROM code to jump to the equivalent address in RAM (so anywhere there is CD YY XX adjust that to CD (your address)).
I set up the copy beginning at DA7F (see https://gbdev.gg8.se/files/roms/bootroms/ ). As you can see, for whatever reason it 'works' but the Nintendo logo is corrupted, similar to a misread Game Pak. Nothing happens after the end and it may be an indefinite loop.