Difference between revisions of "ROMHeader"
From Sega Retro
Line 16: | Line 16: | ||
{{#vardefine:currenttextline|{{#var:currenttextline}}{{Hex2ASCII|{{#var:current}}}}}} | {{#vardefine:currenttextline|{{#var:currenttextline}}{{Hex2ASCII|{{#var:current}}}}}} | ||
− | {{#vardefine:title|{{#switch:{{#var:lineid}} | + | {{#switch:{{{type|}}} |
− | |0=Hardware designation | + | |#default={{#vardefine:title|{{#switch:{{#var:lineid}} |
− | |1=Company code, date{{#vardefine:drawline|true}} | + | |0=Hardware designation |
− | |2 | + | |1=Company code, date{{#vardefine:drawline|true}} |
− | |3 | + | |2 |
− | |4=Domestic game title{{#vardefine:drawline|true}} | + | |3 |
− | |5 | + | |4=Domestic game title{{#vardefine:drawline|true}} |
− | |6 | + | |5 |
− | |7=Overseas game title{{#vardefine:drawline|true}} | + | |6 |
− | |8=Product number and version{{#vardefine:drawline|true}} | + | |7=Overseas game title{{#vardefine:drawline|true}} |
− | |9=I/O info{{#vardefine:drawline|true}} | + | |8=Product number and version{{#vardefine:drawline|true}} |
− | |11 | + | |9=I/O info{{#vardefine:drawline|true}} |
− | |12=Modem info | + | |11 |
− | |15=Regional compatibility | + | |12=Modem info |
− | |#default= | + | |15=Regional compatibility |
− | }}}} | + | |#default= |
− | {{#vardefine:drawline|{{#switch:{{#var:lineid}} | + | }}}} |
− | |1|2|5|8|9|10|11|13|15=true | + | {{#vardefine:drawline|{{#switch:{{#var:lineid}} |
− | |#default= | + | |1|2|5|8|9|10|11|13|15=true |
− | }}}} | + | |#default= |
+ | }}}} | ||
+ | |SAT={{#vardefine:title|{{#switch:{{#var:lineid}} | ||
+ | |0=Hardware intentifer | ||
+ | |1=Maker ID | ||
+ | |2=Product number, version | ||
+ | |3=Release date, device information | ||
+ | |4=Compatible area symbols | ||
+ | |5=Compatible peripherals | ||
+ | |6 | ||
+ | |7 | ||
+ | |8 | ||
+ | |9 | ||
+ | |10 | ||
+ | |11 | ||
+ | |12=Game title | ||
+ | |13=Reserved | ||
+ | |#default= | ||
+ | }}}} | ||
+ | {{#vardefine:drawline|{{#switch:{{#var:lineid}} | ||
+ | |1|2|3|4|5|6|13|14|15=true | ||
+ | |#default= | ||
+ | }}}} | ||
+ | |DC={{#vardefine:title|{{#switch:{{#var:lineid}} | ||
+ | |0=Not done yet | ||
+ | |1=Not done yet | ||
+ | |2=Not done yet | ||
+ | |3=Not done yet | ||
+ | |4=Not done yet | ||
+ | |5=Not done yet | ||
+ | |6=Not done yet | ||
+ | |7=Not done yet | ||
+ | |8=Not done yet | ||
+ | |9=Not done yet | ||
+ | |10=Not done yet | ||
+ | |11=Not done yet | ||
+ | |12=Not done yet | ||
+ | |13=Not done yet | ||
+ | |14=Not done yet | ||
+ | |15=Not done yet | ||
+ | |#default= | ||
+ | }}}} | ||
+ | {{#vardefine:drawline|{{#switch:{{#var:lineid}} | ||
+ | |1|2|3|4|5|6|7|8|9|10|11|12|13|14|15=true | ||
+ | |#default= | ||
+ | }}}} | ||
+ | }} | ||
Line 50: | Line 96: | ||
!Decoded text | !Decoded text | ||
|- | |- | ||
− | |style="font-family:monospace"|00000100<br/>00000110<br/>00000120<br/>00000130<br/>00000140<br/>00000150<br/>00000160<br/>00000170<br/>00000180<br/>00000190<br/>000001A0<br/>000001B0<br/>000001C0<br/>000001D0<br/>000001E0<br/>000001F0<br/> | + | |style="font-family:monospace"|{{#switch:{{{type|}}} |
+ | |#default=00000100<br/>00000110<br/>00000120<br/>00000130<br/>00000140<br/>00000150<br/>00000160<br/>00000170<br/>00000180<br/>00000190<br/>000001A0<br/>000001B0<br/>000001C0<br/>000001D0<br/>000001E0<br/>000001F0 | ||
+ | |SAT=00000000<br/>00000010<br/>00000020<br/>00000030<br/>00000040<br/>00000050<br/>00000060<br/>00000070<br/>00000080<br/>00000090<br/>000000A0<br/>000000B0<br/>000000C0<br/>000000D0<br/>000000E0<br/>000000F0 | ||
+ | }} | ||
|style="font-family:monospace"|{{#var:hex}} | |style="font-family:monospace"|{{#var:hex}} | ||
|style="font-family:monospace"|{{#var:text}} | |style="font-family:monospace"|{{#var:text}} | ||
Line 66: | Line 115: | ||
{{ROMHeader|53 45 47 41 20 33 32 58 20 20 20 20 20 20 20 20 28 43 29 53 45 47 41 20 31 39 39 35 2E 46 45 42 54 45 4D 50 4F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 45 4D 50 4F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 4D 20 4D 4B 2D 38 34 35 30 34 2D 30 30 50 D4 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 2F FF FF 00 FF 00 00 00 FF FF FF 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20}} | {{ROMHeader|53 45 47 41 20 33 32 58 20 20 20 20 20 20 20 20 28 43 29 53 45 47 41 20 31 39 39 35 2E 46 45 42 54 45 4D 50 4F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 45 4D 50 4F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 4D 20 4D 4B 2D 38 34 35 30 34 2D 30 30 50 D4 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 2F FF FF 00 FF 00 00 00 FF FF FF 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20}} | ||
− | + | type=SAT | |
+ | {{ROMHeader|53 45 47 41 20 53 45 47 41 53 41 54 55 52 4E 20 53 45 47 41 20 54 50 20 54 2D 30 37 39 20 20 20 54 2D 30 37 39 30 34 48 35 30 56 32 2E 30 30 30 31 39 39 36 30 37 31 30 43 44 2D 31 2F 31 20 20 45 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4F 4C 59 4D 50 49 43 20 53 4F 43 43 45 52 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 06 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00|type=SAT}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 14:01, 16 March 2023
Template for displaying a ROM header. Just pass in some hexadecimal characters from your hex editor of choice, and the wiki will do the rest:
{{ROMHeader|53 45 47 41 20 4D 45 47 41 20 44 52 49 56 45 20 28 43 29 54 2D 31 33 20 31 39 39 32 2E 4D 41 59 53 49 44 45 20 50 4F 43 4B 45 54 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 49 44 45 20 50 4F 43 4B 45 54 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 4D 20 54 2D 31 33 30 38 33 20 2D 30 30 F9 86 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 0F FF FF 00 FF 00 00 00 FF FF FF 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4A 55 20 20 20 20 20 20 20 20 20 20 20 20 20 20}}
Offset | Contents (hexadecimal) | Decoded text |
---|---|---|
00000100 00000110 00000120 00000130 00000140 00000150 00000160 00000170 00000180 00000190 000001A0 000001B0 000001C0 000001D0 000001E0 000001F0 |
53 45 47 41 20 4D 45 47 41 20 44 52 49 56 45 20 28 43 29 54 2D 31 33 20 31 39 39 32 2E 4D 41 59 53 49 44 45 20 50 4F 43 4B 45 54 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 49 44 45 20 50 4F 43 4B 45 54 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 4D 20 54 2D 31 33 30 38 33 20 2D 30 30 F9 86 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 0F FF FF 00 FF 00 00 00 FF FF FF 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4A 55 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |
SEGA MEGA DRIVE (C)T-13 1992.MAY SIDE POCKET SIDE POCKET GM T-13083 -00 J JU |
Examples
Offset | Contents (hexadecimal) | Decoded text |
---|---|---|
00000100 00000110 00000120 00000130 00000140 00000150 00000160 00000170 00000180 00000190 000001A0 000001B0 000001C0 000001D0 000001E0 000001F0 |
53 45 47 41 20 4D 45 47 41 20 44 52 49 56 45 20 28 43 29 53 45 47 41 20 31 39 38 39 2E 4F 43 54 53 45 47 41 4E 45 54 20 47 41 4D 45 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 45 47 41 4E 45 54 20 47 41 4D 45 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 4D 20 30 30 30 35 34 35 30 33 2D 30 30 A9 E9 4A 44 52 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 01 FF FF 00 FF 00 00 00 FF FF FF 52 41 E8 40 00 20 00 01 00 20 00 01 4D 4F 53 45 47 41 30 33 2E 30 30 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |
SEGA MEGA DRIVE (C)SEGA 1989.OCT SEGANET GAME SEGANET GAME GM 00054503-00 JDR RA @ MOSE GA03.000 J |
Offset | Contents (hexadecimal) | Decoded text |
---|---|---|
00000100 00000110 00000120 00000130 00000140 00000150 00000160 00000170 00000180 00000190 000001A0 000001B0 000001C0 000001D0 000001E0 000001F0 |
53 45 47 41 20 33 32 58 20 20 20 20 20 20 20 20 28 43 29 53 45 47 41 20 31 39 39 35 2E 46 45 42 54 45 4D 50 4F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 45 4D 50 4F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 47 4D 20 4D 4B 2D 38 34 35 30 34 2D 30 30 50 D4 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 2F FF FF 00 FF 00 00 00 FF FF FF 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 35 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |
SEGA 32X (C)SEGA 1995.FEB TEMPO TEMPO GM MK-84504-00P J / 5 |
type=SAT
Offset | Contents (hexadecimal) | Decoded text |
---|---|---|
00000000 00000010 00000020 00000030 00000040 00000050 00000060 00000070 00000080 00000090 000000A0 000000B0 000000C0 000000D0 000000E0 000000F0 |
53 45 47 41 20 53 45 47 41 53 41 54 55 52 4E 20 53 45 47 41 20 54 50 20 54 2D 30 37 39 20 20 20 54 2D 30 37 39 30 34 48 35 30 56 32 2E 30 30 30 31 39 39 36 30 37 31 30 43 44 2D 31 2F 31 20 20 45 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4F 4C 59 4D 50 49 43 20 53 4F 43 43 45 52 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 06 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
SEGA SEGASATURN SEGA TP T-079 T-07904H50V2.000 19960710CD-1/1 E J OLYMPIC SOCCER |