Difference between revisions of "ROMHeader"
From Sega Retro
Line 4: | Line 4: | ||
<!--generate output--> | <!--generate output--> | ||
− | {{#vardefine:i|0}}{{#vardefine:j|0}}{{#vardefine:hex|}}{{#vardefine:text|}}{{# | + | {{#vardefine:i|0}}{{#vardefine:j|0}}{{#vardefine:hex|}}{{#vardefine:text|}}{{#vardefine:currenttextline|}}{{#vardefine:lineid|0}} |
{{#while: | {{#while: | ||
| {{#ifexpr:{{#var:i}} < {{#len:{{#var:input}}}}|true}} | | {{#ifexpr:{{#var:i}} < {{#len:{{#var:input}}}}|true}} | ||
Line 16: | Line 16: | ||
{{#vardefine:currenttextline|{{#var:currenttextline}}{{Hex2ASCII|{{#var:current}}}}}} | {{#vardefine:currenttextline|{{#var:currenttextline}}{{Hex2ASCII|{{#var:current}}}}}} | ||
− | {{#if:{{#var:newline}}|{{#vardefine:text|{{#var:text}}<span style="padding:0px; margin:0px; | + | {{#vardefine:title|{{#switch:{{#var:lineid}} |
+ | |0=Hardware designation | ||
+ | |1=Company code, date{{#vardefine:drawline|true}} | ||
+ | |2 | ||
+ | |3 | ||
+ | |4=Domestic game title{{#vardefine:drawline|true}} | ||
+ | |5 | ||
+ | |6 | ||
+ | |7=Overseas game title{{#vardefine:drawline|true}} | ||
+ | |8=Product number and version{{#vardefine:drawline|true}} | ||
+ | |9=I/O info{{#vardefine:drawline|true}} | ||
+ | |11 | ||
+ | |12=Modem info | ||
+ | |15=Regional compatibility | ||
+ | |#default= | ||
+ | }}}} | ||
+ | {{#vardefine:drawline|{{#switch:{{#var:lineid}} | ||
+ | |1|2|5|8|9|10|11|15=true | ||
+ | |#default= | ||
+ | }}}} | ||
+ | |||
+ | |||
+ | {{#if:{{#var:newline}}|{{#vardefine:text|{{#var:text}}<span style="padding:0px; margin:0px; line-height:0px; {{#if:{{#var:drawline}}|border-top:1px dashed #1077CB;|}}" title="{{#var:title}}"><tt>{{#var:currenttextline}}</tt></span><br/>}}{{incvar|lineid}}{{#vardefine:currenttextline|}}{{#vardefine:j|0}}|{{incvar|j}}}} | ||
{{#vardefine:i|{{#expr:{{#var:i}}+2}}}} | {{#vardefine:i|{{#expr:{{#var:i}}+2}}}} |
Revision as of 17:37, 15 March 2023
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 |