diff --git a/config/dol_slices.yml b/config/dol_slices.yml index 7721a15e..3183856f 100644 --- a/config/dol_slices.yml +++ b/config/dol_slices.yml @@ -7,8 +7,8 @@ runtime/__mem.c: .init: [0x800033a8, 0x800034e0] #TRK/mem_TRK.c: # .init: [0x800034e0, 0x80003510] -#asm/__exception.s: -# .init: [0x80003534, 0x8000556C] +asm/__exception.s: + .init: [0x80003534, 0x80005468] jaudio_NES/dummyprobe.c: .text: [0x800083f8, 0x80008400] #jaudio_NES/verysimple.c: diff --git a/src/asm/__exception.s b/src/asm/__exception.s index b5bad85a..3c8ee9f5 100644 --- a/src/asm/__exception.s +++ b/src/asm/__exception.s @@ -1,5 +1,7 @@ .include "macros.inc" .section .init, "ax" +.global gTRKInterruptVectorTable +gTRKInterruptVectorTable: /* 80003534 4D657472 */ .4byte 0x4d657472 /* 80003538 6F776572 */ xoris r23, r27, 0x6572 @@ -16,7 +18,7 @@ .fill 0xD0 -b __TRKreset +b __TRK_reset .fill 0xFC /* 80004580 00000680 7C 51 43 A6 */ mtspr 0x111, r2