From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:Game Boy ROM image" |
|---|
| claim | "Header byte 0x0148 gives the ROM size as 0x8000 << value for values 0x00-0x08 (32 KiB to 8 MiB, 2 to 512 banks of 16 KiB)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Game Boy ROM image" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "gb_rom_size" |
|---|
| underlying_type | "uint8_t" |
|---|
| values | | 0x00 | "ROM_32KIB" |
|---|
| 0x01 | "ROM_64KIB" |
|---|
| 0x02 | "ROM_128KIB" |
|---|
| 0x03 | "ROM_256KIB" |
|---|
| 0x04 | "ROM_512KIB" |
|---|
| 0x05 | "ROM_1MIB" |
|---|
| 0x06 | "ROM_2MIB" |
|---|
| 0x07 | "ROM_4MIB" |
|---|
| 0x08 | "ROM_8MIB" |
|---|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Pan Docs, The Cartridge Header, section 0148 (codes 0x52-0x54 omitted: only in unofficial docs, no known use)" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "ROM size code (0x0148)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T03:24:15.472Z" |
|---|
| verifications | |
|---|