ROM Header: Difference between revisions

no edit summary
(Initial version)
 
No edit summary
Line 28:
|Initial PC
|Initial PC in RDRAM. IPL3 will jump to this address when it has finished initializing the hardware, to boot the ROM.
 
 
The IPL3 for CIC 6103 behaves differently: the value stored here is subtracted by 0x100000 before the jump. For instance, Paper Mario (a game with CIC 6103) contains the value 0x80125C00 in this field, but the actual entry point is 0x80025C00.
|-
|0x0C
Line 41 ⟶ 44:
 
To see the exact algorithm used by IPL3, see the [https://github.com/DragonMinded/libdragon/blob/trunk/tools/chksum64.c source code of the chksum64 tool] shipped with [[libdragon]].
|-
|0x18
|8
|?
|?
|-
|0x20
|20
|Game name
|ASCII string that contains the name of the game. Padding Is usually performed with 0x20 (ASCII space).
|-
|0x34
|4
|?
|?
|-
|0x38
|3
|?
|?
|-
|0x3B
|1
|Media format
|'N': standard game pak (cartridge)
'D': 64DD disk
 
'C': expandable game: cartridge part
 
'E': expandable game: 64DD disk part
 
'Z': Aleck64 cart
|-
|0x3C
|2
|Game ID
|Two letter code to identify the game. Normally, these are ASCII uppercase letters.
|-
|0x3E
|1
|Country code
|'7': Beta
'A': Asian (NTSC)
 
'B': Brazillian
 
'C': Chinese
 
'D': German
 
'E': North America
 
'F': French
 
|}