Files
SpaghettiKart/asm/rom_header.s
MegaMech 76dc587a34 EU 1.0 OK (#265)
* EU 1.0 ok

* EU 1.1 ok

Co-authored-by: AloXado320 <david.albujar.s.30@gmail.com>
2023-10-19 23:37:21 -06:00

35 lines
983 B
ArmAsm

/*
* Mario Kart 64 ROM header
* Only the first 0x18 bytes matter to the console.
*/
.byte 0x80, 0x37, 0x12, 0x40 /* PI BSD Domain 1 register */
.word 0x0000000F /* Clockrate setting*/
.word entry_point /* Entrypoint */
/* Revision */
.word 0x00001446 /* NTSC-U */
.word 0x3E5055B6 /* Checksum 1 */
.word 0x2E92DA52 /* Checksum 2 */
.word 0x00000000 /* Unknown */
.word 0x00000000 /* Unknown */
.ascii "MARIOKART64 " /* Internal ROM name */
.word 0x00000000 /* Unknown */
.word 0x0000004E /* Cartridge */
.ascii "KT" /* Cartridge ID */
/* Region */
.ifdef VERSION_EU
.ascii "P" /* PAL (Europe) */
.else
.ascii "E" /* NTSC-U (North America) */
.endif
.ifdef VERSION_EU_1_1
.byte 0x01 /* Version */
.else
.byte 0x00 /* Version */
.endif