summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/DSP/unlockmemcard.ds54
1 files changed, 31 insertions, 23 deletions
diff --git a/docs/DSP/unlockmemcard.ds b/docs/DSP/unlockmemcard.ds
index b0e152dc6a..79d18767f6 100644
--- a/docs/DSP/unlockmemcard.ds
+++ b/docs/DSP/unlockmemcard.ds
@@ -4,14 +4,22 @@
IROM_BASE: equ 0x8000
; Exception vectors
- nop nop
- nop nop
- nop nop
- nop nop
- nop nop
- nop nop
- nop halt
- rti halt
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ halt ; Exception 0-6 nop slide to here
+ rti ; Exception 7
+ halt
; Entry point
; Standard init stuff
@@ -123,20 +131,20 @@ wait_dma:
jlz wait_dma
ret
-; Trailing nops...
-nop
-nop
-nop
-nop
-nop
-nop
-nop
-nop
-nop
-nop
-nop
-nop
-nop
-nop
+; Trailing nops...pad to 32bytes
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
+ nop
; uCode is 0xb0 words