From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Platform:Game Boy Advance" |
|---|
| claim | "SWI 0x0D (GetBiosChecksum) returns r0 = 0xBAAE187F, r1 = 1, r3 = 0x4000 (BIOS size) in mGBA's high-level BIOS (used when no BIOS file is loaded), matching the checksum of the official GBA BIOS. mGBA recognises two more checksums when it loads a BIOS file: 0xBAAE1880 (logged as the official GBA BIOS from a DS) and 0x242CEF81 (named GBA_DEBUG_BIOS_CHECKSUM and logged 'Known broken GBA BIOS detected', after which the BIOS is unmapped)." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Game Boy Advance" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "swi 0x0D" |
|---|
| effect | "r0 = BIOS checksum, r1 = 1, r3 = 0x4000 (BIOS size)" |
|---|
| condition | "mGBA HLE BIOS" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "GET_BIOS_CHECKSUM case" |
|---|
| repo | "mgba-emu/mgba" |
|---|
| commit | "9660a668f2093cb4aba5983f52bebf8878dc5b8b" |
|---|
| path | "src/gba/bios.c" |
|---|
| lines | "483-487" |
|---|
|
| type | "source" |
|---|
| detail | "the three checksum defines" |
|---|
| repo | "mgba-emu/mgba" |
|---|
| commit | "9660a668f2093cb4aba5983f52bebf8878dc5b8b" |
|---|
| path | "include/mgba/internal/gba/bios.h" |
|---|
| lines | "15-17" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "GetBiosChecksum values" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:08:00.331Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:28:13.006Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read mGBA src/gba/bios.c 475-495, include/mgba/internal/gba/bios.h 10-20 and src/gba/gba.c 515-550 at 9660a66: HLE SWI 0x0D sets r0 0xBAAE187F, r1 1, r3 GBA_SIZE_BIOS; loading logs official, official (DS) and 'Known broken GBA BIOS detected, disabling' (unmaps, returns); other checksums only warn and are still used." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:39:38.294Z" |
|---|
| summary | "Gloss for the other two checksums was not what mGBA says: 0xBAAE1880 is logged as the official GBA (DS) BIOS, 0x242CEF81 as a known broken BIOS that is disabled; the fixed return values come from…" |
|---|
| changed | |
|---|
|
|
|---|