diff options
| author | gbc dev <gbc@localhost> | 2026-07-17 00:27:06 +0200 |
|---|---|---|
| committer | gbc dev <gbc@localhost> | 2026-07-17 00:27:06 +0200 |
| commit | 9a48db9bbc913171c62c86ff8649467474533e2d (patch) | |
| tree | af6d600dc188e43698d17693229265d367d89e48 /src/render.h | |
| parent | main/gb: --keys button-script harness + serial_no_eof for OSK testing (diff) | |
| download | sl0pboy-9a48db9bbc913171c62c86ff8649467474533e2d.tar.gz sl0pboy-9a48db9bbc913171c62c86ff8649467474533e2d.tar.xz sl0pboy-9a48db9bbc913171c62c86ff8649467474533e2d.zip | |
gb: boot ROM (BIOS) support
Add optional boot ROM emulation. When a boot ROM image is loaded, gb_reset
starts execution at PC=0 with power-on register state instead of the
documented post-boot state; the ROM overlays low memory (with the CGB
0x0100-0x01FF header hole showing the cartridge through) until the game
writes 0xFF50 to hand off. gb_load_bootrom() accepts 256-byte (DMG) or
2304-byte (CGB) images.
Diffstat (limited to 'src/render.h')
0 files changed, 0 insertions, 0 deletions
