From f2eabdb6257c09cf2890dac5e9737912728542af Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Thu, 2 Feb 2023 17:29:19 -0400 Subject: global: Add rest of Dolphin SDK proper, add MSL, and MetroTRK Finally, it links properly. --- asm/amcstubs/AmcExi2Stubs.s | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 asm/amcstubs/AmcExi2Stubs.s (limited to 'asm/amcstubs') 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 -- cgit v1.2.3-13-gbd6f