2024-03-23 17:06:00 +00:00
|
|
|
#include "rom_header.h"
|
2024-07-28 04:46:55 +00:00
|
|
|
#include "region.h"
|
2024-09-07 17:49:21 +00:00
|
|
|
#include "versions.h"
|
2020-04-22 17:44:46 +00:00
|
|
|
|
2024-03-23 17:06:00 +00:00
|
|
|
/* 0x00 */ ENDIAN_IDENTIFIER
|
|
|
|
/* 0x01 */ PI_DOMAIN_1_CFG(64, 18, 7, 3)
|
|
|
|
/* 0x04 */ SYSTEM_CLOCK_RATE_SETTING(0xF)
|
|
|
|
/* 0x08 */ ENTRYPOINT(0x80000400)
|
2024-09-07 17:49:21 +00:00
|
|
|
#if PLATFORM_N64
|
|
|
|
/* 0x0C */ LIBULTRA_VERSION(2, 0, I)
|
|
|
|
#else
|
2024-03-23 17:06:00 +00:00
|
|
|
/* 0x0C */ LIBULTRA_VERSION(2, 0, L)
|
2024-09-07 17:49:21 +00:00
|
|
|
#endif
|
2024-03-23 17:06:00 +00:00
|
|
|
/* 0x10 */ CHECKSUM()
|
|
|
|
/* 0x18 */ PADDING(8)
|
|
|
|
/* 0x20 */ ROM_NAME("THE LEGEND OF ZELDA")
|
|
|
|
/* 0x34 */ PADDING(7)
|
2024-07-28 04:46:55 +00:00
|
|
|
#if OOT_NTSC
|
|
|
|
/* 0x3B */ MEDIUM(CARTRIDGE_EXPANDABLE)
|
|
|
|
#else
|
2024-03-23 17:06:00 +00:00
|
|
|
/* 0x3B */ MEDIUM(CARTRIDGE)
|
2024-07-28 04:46:55 +00:00
|
|
|
#endif
|
2024-03-23 17:06:00 +00:00
|
|
|
/* 0x3C */ GAME_ID("ZL")
|
2024-07-28 04:46:55 +00:00
|
|
|
#if OOT_REGION == REGION_US
|
|
|
|
/* 0x3E */ REGION(US)
|
|
|
|
#elif OOT_REGION == REGION_JP
|
|
|
|
/* 0x3E */ REGION(JP)
|
|
|
|
#elif OOT_REGION == REGION_EU
|
2024-03-23 17:06:00 +00:00
|
|
|
/* 0x3E */ REGION(PAL)
|
2024-07-28 04:46:55 +00:00
|
|
|
#endif
|
2024-09-07 17:49:21 +00:00
|
|
|
#if OOT_VERSION == NTSC_1_0 || OOT_VERSION == PAL_1_0
|
|
|
|
/* 0x3F */ GAME_REVISION(0)
|
|
|
|
#elif OOT_VERSION == NTSC_1_1 || OOT_VERSION == PAL_1_1
|
|
|
|
/* 0x3F */ GAME_REVISION(1)
|
|
|
|
#elif OOT_VERSION == NTSC_1_2
|
|
|
|
/* 0x3F */ GAME_REVISION(2)
|
|
|
|
#else
|
2024-03-23 17:06:00 +00:00
|
|
|
/* 0x3F */ GAME_REVISION(15)
|
2024-09-07 17:49:21 +00:00
|
|
|
#endif
|