From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Mega Drive ROM image" |
|---|
| claim | "The Mega Drive cartridge header occupies 0x100-0x1FF: console name, copyright, domestic and overseas titles, serial, checksum at 0x18E, I/O support, ROM and RAM ranges, SRAM signature and range, modem, notes, region." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Mega Drive ROM image" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "ROMHeader" |
|---|
| size | 256 |
|---|
| fields | | name | "console" |
|---|
| offset | 0 |
|---|
| type | "char[16]" |
|---|
| note | "file offset 0x100; begins SEGA" |
|---|
|
| name | "copyright" |
|---|
| offset | 16 |
|---|
| type | "char[16]" |
|---|
|
| name | "title_local" |
|---|
| offset | 32 |
|---|
| type | "char[48]" |
|---|
|
| name | "title_int" |
|---|
| offset | 80 |
|---|
| type | "char[48]" |
|---|
|
| name | "serial" |
|---|
| offset | 128 |
|---|
| type | "char[14]" |
|---|
|
| name | "checksum" |
|---|
| offset | 142 |
|---|
| type | "u16" |
|---|
| note | "big endian" |
|---|
|
| name | "IOSupport" |
|---|
| offset | 144 |
|---|
| type | "char[16]" |
|---|
|
| name | "rom_start" |
|---|
| offset | 160 |
|---|
| type | "u32" |
|---|
|
| name | "rom_end" |
|---|
| offset | 164 |
|---|
| type | "u32" |
|---|
|
| name | "ram_start" |
|---|
| offset | 168 |
|---|
| type | "u32" |
|---|
|
| name | "ram_end" |
|---|
| offset | 172 |
|---|
| type | "u32" |
|---|
|
| name | "sram_sig" |
|---|
| offset | 176 |
|---|
| type | "char[2]" |
|---|
| note | "RA" |
|---|
|
| name | "sram_type" |
|---|
| offset | 178 |
|---|
| type | "u16" |
|---|
| note | "0xF820 = odd bytes" |
|---|
|
| name | "sram_start" |
|---|
| offset | 180 |
|---|
| type | "u32" |
|---|
|
| name | "sram_end" |
|---|
| offset | 184 |
|---|
| type | "u32" |
|---|
|
| name | "modem_support" |
|---|
| offset | 188 |
|---|
| type | "char[12]" |
|---|
|
| name | "notes" |
|---|
| offset | 200 |
|---|
| type | "char[40]" |
|---|
|
| name | "region" |
|---|
| offset | 240 |
|---|
| type | "char[16]" |
|---|
|
|
|---|
| endianness | "big" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ROMHeader typedef, offsets summed from the field sizes (the 0x18E checksum offset agrees with sizebnd's setChecksum)" |
|---|
| repo | "https://github.com/Stephane-D/SGDK" |
|---|
| commit | "ee6870a6010b1e341ca36078f581a68a26c9a543" |
|---|
| path | "inc/sys.h" |
|---|
| lines | "60-80" |
|---|
|
| type | "source" |
|---|
| detail | "setChecksum writes the big-endian value at offset 0x18E" |
|---|
| repo | "https://github.com/Stephane-D/SGDK" |
|---|
| commit | "ee6870a6010b1e341ca36078f581a68a26c9a543" |
|---|
| path | "tools/sizebnd/src/sgdk/sizebnd/Launcher.java" |
|---|
| lines | "151-165" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "ROMHeader (0x100)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T09:16:01.876Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T06:25:42.050Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read SGDK inc/sys.h at ee6870a6010b lines 60-80: ROMHeader members summed: console 0, copyright 16, title_local 32, title_int 80, serial 128 (14), checksum 142 (0x18E), IOSupport 144, rom_start 160, rom_end 164, ram_start 168, ram_end 172, sram_sig 176, sram_type 178, sram_start 180, sram_end 184, modem_support 188 (12), notes 200 (40), region 240 (16) = 256. Matches. Note the source comment calls ram_start/ram_end 'Backup RAM', which is SGDK's label for the 0x1A8 RAM range." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:50:21.650Z" |
|---|
| summary | "Byte order big: platform reasoning only (68000 CPU reads the vector/address fields; sys.h does not state it)" |
|---|
| changed | |
|---|
|
|
|---|