From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Platform:Game Boy" |
|---|
| claim | "When the boot ROM hands over at 0x0100, register A identifies the hardware: 0x01 on DMG and SGB, 0xFF on Game Boy Pocket and SGB2, 0x11 on Game Boy Color and Game Boy Advance; for a CGB-mode cartridge B is 0x00 on a CGB and 0x01 on a GBA, but Pan Docs lists B as unspecified (plus 1 on AGB) when a DMG-only game runs on a CGB or AGB." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Game Boy" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "CPU register value at the cartridge entry point" |
|---|
| indicator | "A == 0x11 -> CGB/AGB; A == 0x01 -> DMG/SGB; A == 0xFF -> MGB/SGB2; with A == 0x11 and a CGB-mode cartridge, B == 0x01 -> AGB" |
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Pan Docs, Power Up Sequence, CPU registers table" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Model ID in register A at 0x0100" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:24:15.665Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T03:50:37.763Z" |
|---|
| result | "confirmed" |
|---|
| method | "Re-checked the correction against Pan Docs Power_Up_Sequence.md (current master): A is $01 for DMG/SGB, $FF for MGB/SGB2, $11 on CGB/AGB; B is $00 CGB / $01 AGB in CGB mode but '??' and '?? + 1' in DMG mode." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T03:41:49.364Z" |
|---|
| summary | "Pan Docs lists B as unspecified (?? / ?? +1) when a CGB or AGB runs a DMG-only game, so the B test (0 on CGB, 1 on AGB) holds only for CGB-mode cartridges." |
|---|
| changed | |
|---|
|
|
|---|