mirror of
https://github.com/zeldaret/oot.git
synced 2025-01-15 04:36:59 +00:00
[iQue] Set address of makerom instead of address of boot in spec (#2409)
This commit is contained in:
parent
f329507f97
commit
8b5813c86c
2 changed files with 4 additions and 2 deletions
4
spec
4
spec
|
@ -6,6 +6,9 @@
|
|||
|
||||
beginseg
|
||||
name "makerom"
|
||||
// We set the address of the makerom segment as 0x80000400 - 0x1000, since the ROM header and IPL3 together
|
||||
// are 0x1000 bytes long and we want the entry code to end up at address 0x80000400.
|
||||
address 0x7FFFF400
|
||||
include "$(BUILD_DIR)/src/makerom/rom_header.o"
|
||||
include "$(BUILD_DIR)/src/makerom/ipl3.o"
|
||||
include "$(BUILD_DIR)/src/makerom/entry.o"
|
||||
|
@ -13,7 +16,6 @@ endseg
|
|||
|
||||
beginseg
|
||||
name "boot"
|
||||
address 0x80000460
|
||||
include "$(BUILD_DIR)/src/boot/boot_main.o"
|
||||
include "$(BUILD_DIR)/src/boot/idle.o"
|
||||
#if OOT_VERSION >= PAL_1_0
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* 0x00 */ ENDIAN_IDENTIFIER
|
||||
/* 0x01 */ PI_DOMAIN_1_CFG(64, 18, 7, 3)
|
||||
/* 0x04 */ SYSTEM_CLOCK_RATE_SETTING(0xF)
|
||||
/* 0x08 */ ENTRYPOINT(0x80000400)
|
||||
/* 0x08 */ ENTRYPOINT(entrypoint)
|
||||
/* 0x0C */ OS_VERSION(2, 0, LIBULTRA_VERSION)
|
||||
/* 0x10 */ CHECKSUM()
|
||||
|
||||
|
|
Loading…
Reference in a new issue