From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:Sega Master System ROM image" |
|---|
| claim | "High nibble of the header byte at offset 0xF of the TMR SEGA header (0x7FFF; headers at 0x3FF0 or 0x1FF0 for smaller ROMs): 3 SMS Japan, 4 SMS Export, 5 GG Japan, 6 GG Export, 7 GG International; ares treats only 4 (export) as valid in validateHeader. Values other than 4 come from smspower.org documentation, not from the cited source." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Sega Master System ROM image" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "sms_region_code" |
|---|
| underlying_type | "uint8_t" |
|---|
| values | | 3 | "REGION_SMS_JAPAN" |
|---|
| 4 | "REGION_SMS_EXPORT" |
|---|
| 5 | "REGION_GG_JAPAN" |
|---|
| 6 | "REGION_GG_EXPORT" |
|---|
| 7 | "REGION_GG_INTERNATIONAL" |
|---|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "smspower.org Development/ROMHeader region codes" |
|---|
|
| type | "source" |
|---|
| detail | "validateHeader treats region code 4 (export) as the only value that makes the ROM region-free" |
|---|
| repo | "https://github.com/ares-emulator/ares" |
|---|
| commit | "9408cb43d4948fc3ea6e152a307a34348df3fe04" |
|---|
| path | "mia/medium/master-system.cpp" |
|---|
| lines | "508-509" |
|---|
|
| type | "source" |
|---|
| detail | "validateHeader finds TMR SEGA at 0x7ff0, 0x3ff0 or 0x1ff0 and returns true only when rom[headerOffset+0xf]>>4 == 4" |
|---|
| repo | "https://github.com/ares-emulator/ares" |
|---|
| commit | "9408cb43d4948fc3ea6e152a307a34348df3fe04" |
|---|
| path | "mia/medium/master-system.cpp" |
|---|
| lines | "496-512" |
|---|
|
|
|---|
| confidence | "medium" |
|---|
| related | |
|---|
| key | "SMS region codes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T19:11:46.422Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T13:03:29.466Z" |
|---|
| summary | "ares source only proves nibble 4 (export) as the accepted value; values 3,5,6,7 rest on the smspower doc, not the cited source. Header may sit at 0x7FF0, 0x3FF0 or 0x1FF0 so the byte is at 0x7FFF…" |
|---|
| changed | | "claim" |
| "evidence" |
| "confidence" |
|
|---|
|
|
|---|