Skip to content

Commit

Permalink
actually link exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Prakxo committed Mar 6, 2023
1 parent c2ec114 commit e6af76e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/dol_slices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion src/asm/__exception.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.include "macros.inc"
.section .init, "ax"
.global gTRKInterruptVectorTable
gTRKInterruptVectorTable:

/* 80003534 4D657472 */ .4byte 0x4d657472
/* 80003538 6F776572 */ xoris r23, r27, 0x6572
Expand All @@ -16,7 +18,7 @@

.fill 0xD0

b __TRKreset
b __TRK_reset

.fill 0xFC
/* 80004580 00000680 7C 51 43 A6 */ mtspr 0x111, r2
Expand Down

0 comments on commit e6af76e

Please sign in to comment.