The ROM header

Every GBA ROM image starts with a header the cartridge presents to the console: an ARM branch at offset 0, the boot logo, the title at 0xA0, the game code at 0xAC, the maker code at 0xB0, the fixed byte 0x96 at 0xB2 and the complement check at 0xBD over the title block. cartridge/cartridge.c validates the branch, the fixed byte and the complement check, and keeps the parsed fields beside the image. A ROM the console would reject is refused with the failing byte named.


Made from docs/platforms/agb/README.md at 69237645142c. GPL-3.0-or-later.