diff --git a/asm/include/overlay_00.inc b/asm/include/overlay_00.inc index 060a1dea..20f808b9 100644 --- a/asm/include/overlay_00.inc +++ b/asm/include/overlay_00.inc @@ -55,7 +55,11 @@ .public ov01_0233AE64 .public ov02_02329520 .public ov08_0233E230 +.public ov08_0233E2BC +.public ov08_0233E7D8 .public ov09_0233CA80 +.public ov09_0233CBC8 +.public ov09_0233CBF8 .public RandInt .public SetIrqFlag .public snprintf diff --git a/asm/overlay_00.s b/asm/overlay_00.s index ad7bf66f..7250015a 100644 --- a/asm/overlay_00.s +++ b/asm/overlay_00.s @@ -108422,12 +108422,14 @@ ov00_02317F5C: ov00_02317FA0: .byte 0x0b, 0x00, 0x00, 0x00 .word ov08_0233E230 - .byte 0xd8, 0xe7, 0x33, 0x02, 0xbc, 0xe2, 0x33, 0x02 + .word ov08_0233E7D8 + .word ov08_0233E2BC .global ov00_02317FB0 ov00_02317FB0: .byte 0x0c, 0x00, 0x00, 0x00 .word ov09_0233CA80 - .byte 0xc8, 0xcb, 0x33, 0x02, 0xf8, 0xcb, 0x33, 0x02 + .word ov09_0233CBC8 + .word ov09_0233CBF8 .global ov00_02317FC0 ov00_02317FC0: .byte 0x2f, 0x42, 0x41, 0x43 diff --git a/lib/asm/crt0.s b/lib/asm/crt0.s index ac8c02d4..92630c5e 100644 --- a/lib/asm/crt0.s +++ b/lib/asm/crt0.s @@ -81,7 +81,7 @@ _020008D4: bl sub_020907F0 bl sub_02000B98 bl sub_020908A8 - ldr r1, _0200094C ; =0x02000C6C + ldr r1, _0200094C ; =NitroMain ldr lr, _02000950 ; =0xFFFF0000 tst sp, #4 bne _02000928 @@ -98,7 +98,7 @@ _0200093C: .word 0x07000000 _02000940: .word _start_ModuleParams _02000944: .word 0x027FFF9C _02000948: .word sub_01FF95E8 -_0200094C: .word 0x02000C6C +_0200094C: .word NitroMain _02000950: .word 0xFFFF0000 arm_func_end _start diff --git a/lib/asm/include/crt0.inc b/lib/asm/include/crt0.inc index 3a941168..4c44d5aa 100644 --- a/lib/asm/include/crt0.inc +++ b/lib/asm/include/crt0.inc @@ -1,4 +1,5 @@ #pragma once +.public NitroMain .public OS_IRQTable .public SDK_AUTOLOAD_LIST .public SDK_AUTOLOAD_LIST_END