summaryrefslogtreecommitdiff
path: root/asm/amcstubs
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-02 17:29:19 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-03 13:27:06 -0400
commitf2eabdb6257c09cf2890dac5e9737912728542af (patch)
tree3b46f6787185d65605651a0f48776dc9779ce648 /asm/amcstubs
parenteef1dd840b7cecac28c2e6b0574707b90a37d4e7 (diff)
global: Add rest of Dolphin SDK proper, add MSL, and MetroTRK
Finally, it links properly.
Diffstat (limited to 'asm/amcstubs')
-rw-r--r--asm/amcstubs/AmcExi2Stubs.s38
1 files changed, 38 insertions, 0 deletions
diff --git a/asm/amcstubs/AmcExi2Stubs.s b/asm/amcstubs/AmcExi2Stubs.s
new file mode 100644
index 0000000..d7df861
--- /dev/null
+++ b/asm/amcstubs/AmcExi2Stubs.s
@@ -0,0 +1,38 @@
+.include "macros.inc"
+
+.section .text, "ax" # 0x80005600 - 0x8036FBA0
+.global EXI2_Init
+EXI2_Init:
+/* 800AEFE0 000ABF20 4E 80 00 20 */ blr
+
+.global EXI2_EnableInterrupts
+EXI2_EnableInterrupts:
+/* 800AEFE4 000ABF24 4E 80 00 20 */ blr
+
+.global EXI2_Poll
+EXI2_Poll:
+/* 800AEFE8 000ABF28 38 60 00 00 */ li r3, 0
+/* 800AEFEC 000ABF2C 4E 80 00 20 */ blr
+
+.global EXI2_ReadN
+EXI2_ReadN:
+/* 800AEFF0 000ABF30 38 60 00 00 */ li r3, 0
+/* 800AEFF4 000ABF34 4E 80 00 20 */ blr
+
+.global EXI2_WriteN
+EXI2_WriteN:
+/* 800AEFF8 000ABF38 38 60 00 00 */ li r3, 0
+/* 800AEFFC 000ABF3C 4E 80 00 20 */ blr
+
+.global EXI2_Reserve
+EXI2_Reserve:
+/* 800AF000 000ABF40 4E 80 00 20 */ blr
+
+.global EXI2_Unreserve
+EXI2_Unreserve:
+/* 800AF004 000ABF44 4E 80 00 20 */ blr
+
+.global AMC_IsStub
+AMC_IsStub:
+/* 800AF008 000ABF48 38 60 00 01 */ li r3, 1
+/* 800AF00C 000ABF4C 4E 80 00 20 */ blr