initial io funcs

This commit is contained in:
M0liusX 2022-12-08 16:03:11 -06:00
parent 03d28f27b5
commit 2f28fb31d8
9 changed files with 2244 additions and 889 deletions

File diff suppressed because it is too large Load Diff

View File

@ -187,7 +187,11 @@ segments:
- [0x8BC10, c, "../src/lib/2.0I/audio/synsetpitch"] # -O0
- [0x8BCA0, c, "../src/lib/2.0I/audio/synsetvol"] # -O0
- [0x8BD60, c, "../src/lib/2.0I/audio/cents2ratio"] # -O0
- [0x8BDC0, c] # -O0?
- [0x8BDC0, c, "../src/lib/2.0I/io/aigetlen"] # -O0
- [0x8BDD0, c, "../src/lib/2.0I/io/aisetnextbuf"] # -O0
# - [0x8BE70, c, "../src/lib/2.0I/io/sptask"] # -O0
# - [0x8C0B0, c] # -O0?
- [0x8BE70, c] # -O0?
- [0xA2080, c] # -O0?
- [0xA21C0, c] # -O0?
- [0xA29F0, c] # -O0?
@ -278,7 +282,8 @@ segments:
- [0xC7080, .data, "../src/lib/2.0I/gu/rotateRPY"]
- [0xC7090, bin]
- [0xC70D0, .data, "../src/lib/2.0I/audio/sl"]
- [0xC70E0, bin]
- [0xC70E0, .data, "../src/lib/2.0I/io/aisetnextbuf"]
- [0xC70F0, bin]
# 2.0I N64 lib .rodata sections
- [0xCCED0, .rodata, "../src/lib/2.0I/gu/cosf"]
- [0xCCF30, .rodata, "../src/lib/2.0I/gu/lookat"]
@ -288,8 +293,18 @@ segments:
- [0xCCFD0, .rodata, "../src/lib/2.0I/gu/sinf"]
- [0xCD030, bin] # __osRcpImTable
- [0xCD0B0, .rodata, "../src/lib/2.0I/audio/cseq"]
- type: bin
start: 0xCD110
- [0xCD110, bin] # END
# 2.0I N64 lib .bss sections
# - start: 0xCD110
# name: "../src/lib/2.0I/io/sptask"
# type: bss
# vram: 0x800EA180
# - name: main_bss
# type: code
# start: 0xCDA50
# vram: 0x800EA180
# subsegments:
# - [0xCDA50, .bss, "../src/lib/2.0I/io/sptask"]
- type: code
start: 0xCDA50
vram: 0x800F65E0

619
src/8BDD0.c Normal file
View File

@ -0,0 +1,619 @@
#include "common.h"
INCLUDE_ASM(s32, "8BDD0", osAiSetNextBuffer);
INCLUDE_ASM(s32, "8BDD0", osSpTaskLoad);
INCLUDE_ASM(s32, "8BDD0", osSpTaskStartGo);
INCLUDE_ASM(s32, "8BDD0", func_8008B4B0);
INCLUDE_ASM(s32, "8BDD0", func_8008B4D0);
INCLUDE_ASM(s32, "8BDD0", func_8008B520);
INCLUDE_ASM(s32, "8BDD0", func_8008B560);
INCLUDE_ASM(s32, "8BDD0", func_8008B5A0);
INCLUDE_ASM(s32, "8BDD0", func_8008B600);
INCLUDE_ASM(s32, "8BDD0", func_8008B650);
INCLUDE_ASM(s32, "8BDD0", func_8008B6A0);
INCLUDE_ASM(s32, "8BDD0", func_8008B700);
INCLUDE_ASM(s32, "8BDD0", func_8008B89C);
INCLUDE_ASM(s32, "8BDD0", func_8008B950);
INCLUDE_ASM(s32, "8BDD0", func_8008BA10);
INCLUDE_ASM(s32, "8BDD0", func_8008BA70);
INCLUDE_ASM(s32, "8BDD0", func_8008BBEC);
INCLUDE_ASM(s32, "8BDD0", func_8008BC90);
INCLUDE_ASM(s32, "8BDD0", func_8008BD50);
INCLUDE_ASM(s32, "8BDD0", func_8008BE40);
INCLUDE_ASM(s32, "8BDD0", func_8008BEB0);
INCLUDE_ASM(s32, "8BDD0", func_8008BF50);
INCLUDE_ASM(s32, "8BDD0", func_8008BFA4);
INCLUDE_ASM(s32, "8BDD0", func_8008C010);
INCLUDE_ASM(s32, "8BDD0", bcopy);
INCLUDE_ASM(s32, "8BDD0", bzero);
INCLUDE_ASM(s32, "8BDD0", func_8008C400);
INCLUDE_ASM(s32, "8BDD0", func_8008C438);
INCLUDE_ASM(s32, "8BDD0", func_8008C45C);
INCLUDE_ASM(s32, "8BDD0", sprintf);
INCLUDE_ASM(s32, "8BDD0", func_8008C4E8);
INCLUDE_ASM(s32, "8BDD0", func_8008C520);
INCLUDE_ASM(s32, "8BDD0", func_8008C534);
INCLUDE_ASM(s32, "8BDD0", func_8008C550);
INCLUDE_ASM(s32, "8BDD0", func_8008C6C0);
INCLUDE_ASM(s32, "8BDD0", func_8008CB88);
INCLUDE_ASM(s32, "8BDD0", func_8008CBFC);
INCLUDE_ASM(s32, "8BDD0", func_8008CCFC);
INCLUDE_ASM(s32, "8BDD0", func_8008D558);
INCLUDE_ASM(s32, "8BDD0", func_8008D6E8);
INCLUDE_ASM(s32, "8BDD0", func_8008D778);
INCLUDE_ASM(s32, "8BDD0", func_8008D7B0);
INCLUDE_ASM(s32, "8BDD0", func_8008D934);
INCLUDE_ASM(s32, "8BDD0", func_8008DE08);
INCLUDE_ASM(s32, "8BDD0", func_8008DED8);
INCLUDE_ASM(s32, "8BDD0", func_8008E0D8);
INCLUDE_ASM(s32, "8BDD0", func_8008E900);
INCLUDE_ASM(s32, "8BDD0", func_8008E96C);
INCLUDE_ASM(s32, "8BDD0", func_8008E9BC);
INCLUDE_ASM(s32, "8BDD0", func_8008EA20);
INCLUDE_ASM(s32, "8BDD0", func_8008EA74);
INCLUDE_ASM(s32, "8BDD0", func_8008EB48);
INCLUDE_ASM(s32, "8BDD0", func_8008EBB8);
INCLUDE_ASM(s32, "8BDD0", func_8008EBD4);
INCLUDE_ASM(s32, "8BDD0", func_8008EC18);
INCLUDE_ASM(s32, "8BDD0", func_8008ED3C);
INCLUDE_ASM(s32, "8BDD0", func_8008EDEC);
INCLUDE_ASM(s32, "8BDD0", func_8008EE98);
INCLUDE_ASM(s32, "8BDD0", func_8008EEEC);
INCLUDE_ASM(s32, "8BDD0", func_8008EF6C);
INCLUDE_ASM(s32, "8BDD0", func_8008F020);
INCLUDE_ASM(s32, "8BDD0", func_8008F110);
INCLUDE_ASM(s32, "8BDD0", func_8008F150);
INCLUDE_ASM(s32, "8BDD0", alSynNew);
INCLUDE_ASM(s32, "8BDD0", func_8008F4BC);
INCLUDE_ASM(s32, "8BDD0", __allocParam);
INCLUDE_ASM(s32, "8BDD0", func_8008F698);
INCLUDE_ASM(s32, "8BDD0", func_8008F6B0);
INCLUDE_ASM(s32, "8BDD0", _freePVoice);
INCLUDE_ASM(s32, "8BDD0", func_8008F744);
INCLUDE_ASM(s32, "8BDD0", _timeToSamples);
INCLUDE_ASM(s32, "8BDD0", func_8008F7D8);
INCLUDE_ASM(s32, "8BDD0", func_8008F830);
INCLUDE_ASM(s32, "8BDD0", func_8008F950);
INCLUDE_ASM(s32, "8BDD0", func_8008FAD0);
INCLUDE_ASM(s32, "8BDD0", func_8008FB50);
INCLUDE_ASM(s32, "8BDD0", func_8008FCE8);
INCLUDE_ASM(s32, "8BDD0", func_8008FD70);
INCLUDE_ASM(s32, "8BDD0", func_8008FED8);
INCLUDE_ASM(s32, "8BDD0", func_8008FF80);
INCLUDE_ASM(s32, "8BDD0", func_80090120);
INCLUDE_ASM(s32, "8BDD0", func_800901A8);
INCLUDE_ASM(s32, "8BDD0", func_80090244);
INCLUDE_ASM(s32, "8BDD0", func_80090300);
INCLUDE_ASM(s32, "8BDD0", func_800904F0);
INCLUDE_ASM(s32, "8BDD0", func_80090550);
INCLUDE_ASM(s32, "8BDD0", func_800905B0);
INCLUDE_ASM(s32, "8BDD0", func_800906F4);
INCLUDE_ASM(s32, "8BDD0", func_80090940);
INCLUDE_ASM(s32, "8BDD0", func_80090C4C);
INCLUDE_ASM(s32, "8BDD0", func_80090D70);
INCLUDE_ASM(s32, "8BDD0", func_80090F1C);
INCLUDE_ASM(s32, "8BDD0", func_80090F90);
INCLUDE_ASM(s32, "8BDD0", func_80091120);
INCLUDE_ASM(s32, "8BDD0", func_80091230);
INCLUDE_ASM(s32, "8BDD0", func_80091428);
INCLUDE_ASM(s32, "8BDD0", func_80091500);
INCLUDE_ASM(s32, "8BDD0", func_80091600);
INCLUDE_ASM(s32, "8BDD0", func_80091A40);
INCLUDE_ASM(s32, "8BDD0", func_80091AA0);
INCLUDE_ASM(s32, "8BDD0", func_80091C40);
INCLUDE_ASM(s32, "8BDD0", func_80091CB0);
INCLUDE_ASM(s32, "8BDD0", func_80091E40);
INCLUDE_ASM(s32, "8BDD0", func_80091F10);
INCLUDE_ASM(s32, "8BDD0", __osSpRawStartDma);
INCLUDE_ASM(s32, "8BDD0", func_80092050);
INCLUDE_ASM(s32, "8BDD0", func_800921F0);
INCLUDE_ASM(s32, "8BDD0", func_80092390);
INCLUDE_ASM(s32, "8BDD0", func_80092500);
INCLUDE_ASM(s32, "8BDD0", func_80092810);
INCLUDE_ASM(s32, "8BDD0", func_80092830);
INCLUDE_ASM(s32, "8BDD0", func_80092DBC);
INCLUDE_ASM(s32, "8BDD0", __osEnqueueAndYield);
INCLUDE_ASM(s32, "8BDD0", __osEnqueueThread);
INCLUDE_ASM(s32, "8BDD0", __osPopThread);
INCLUDE_ASM(s32, "8BDD0", __osDispatchThread);
INCLUDE_ASM(s32, "8BDD0", __osCleanupThread);
INCLUDE_ASM(s32, "8BDD0", osGetMemSize);
INCLUDE_ASM(s32, "8BDD0", osInitialize);
INCLUDE_ASM(s32, "8BDD0", func_80093468);
INCLUDE_ASM(s32, "8BDD0", __osDisableInt);
INCLUDE_ASM(s32, "8BDD0", __osRestoreInt);
INCLUDE_ASM(s32, "8BDD0", func_800935B0);
INCLUDE_ASM(s32, "8BDD0", func_80093660);
INCLUDE_ASM(s32, "8BDD0", guNormalize);
INCLUDE_ASM(s32, "8BDD0", func_80093770);
INCLUDE_ASM(s32, "8BDD0", osGetCount);
INCLUDE_ASM(s32, "8BDD0", func_80093790);
INCLUDE_ASM(s32, "8BDD0", __osProbeTLB);
INCLUDE_ASM(s32, "8BDD0", func_80093860);
INCLUDE_ASM(s32, "8BDD0", func_80093870);
INCLUDE_ASM(s32, "8BDD0", func_800938C0);
INCLUDE_ASM(s32, "8BDD0", func_80093920);
INCLUDE_ASM(s32, "8BDD0", func_800939C0);
INCLUDE_ASM(s32, "8BDD0", func_80093E04);
INCLUDE_ASM(s32, "8BDD0", func_800941A0);
INCLUDE_ASM(s32, "8BDD0", func_8009434C);
INCLUDE_ASM(s32, "8BDD0", func_800944D0);
INCLUDE_ASM(s32, "8BDD0", func_800945AC);
INCLUDE_ASM(s32, "8BDD0", func_800945E0);
INCLUDE_ASM(s32, "8BDD0", func_80094720);
INCLUDE_ASM(s32, "8BDD0", func_80094750);
INCLUDE_ASM(s32, "8BDD0", func_8009493C);
INCLUDE_ASM(s32, "8BDD0", func_80094A00);
INCLUDE_ASM(s32, "8BDD0", func_80094AE8);
INCLUDE_ASM(s32, "8BDD0", func_80094C50);
INCLUDE_ASM(s32, "8BDD0", func_80094CB8);
INCLUDE_ASM(s32, "8BDD0", func_80094D20);
INCLUDE_ASM(s32, "8BDD0", func_80094DB0);
INCLUDE_ASM(s32, "8BDD0", func_80094EC4);
INCLUDE_ASM(s32, "8BDD0", func_80094ECC);
INCLUDE_ASM(s32, "8BDD0", func_80094EE8);
INCLUDE_ASM(s32, "8BDD0", func_80094F04);
INCLUDE_ASM(s32, "8BDD0", func_80094F18);
INCLUDE_ASM(s32, "8BDD0", func_80094F48);
INCLUDE_ASM(s32, "8BDD0", func_80094F98);
INCLUDE_ASM(s32, "8BDD0", func_80094FF0);
INCLUDE_ASM(s32, "8BDD0", func_80095000);
INCLUDE_ASM(s32, "8BDD0", __osAiDeviceBusy);
INCLUDE_ASM(s32, "8BDD0", __osSpDeviceBusy);
INCLUDE_ASM(s32, "8BDD0", func_800950E0);
INCLUDE_ASM(s32, "8BDD0", __osSpSetStatus);
INCLUDE_ASM(s32, "8BDD0", __osSpSetPc);
INCLUDE_ASM(s32, "8BDD0", func_80095130);
INCLUDE_ASM(s32, "8BDD0", func_80095240);
INCLUDE_ASM(s32, "8BDD0", func_80095250);
INCLUDE_ASM(s32, "8BDD0", func_800952A4);
INCLUDE_ASM(s32, "8BDD0", func_80095310);
INCLUDE_ASM(s32, "8BDD0", func_80095340);
INCLUDE_ASM(s32, "8BDD0", bcmp);
INCLUDE_ASM(s32, "8BDD0", _Printf);
INCLUDE_ASM(s32, "8BDD0", func_800959E0);
INCLUDE_ASM(s32, "8BDD0", func_80095EA0);
INCLUDE_ASM(s32, "8BDD0", func_80095F44);
INCLUDE_ASM(s32, "8BDD0", func_800963DC);
INCLUDE_ASM(s32, "8BDD0", func_80096494);
INCLUDE_ASM(s32, "8BDD0", func_80096544);
INCLUDE_ASM(s32, "8BDD0", func_800965D0);
INCLUDE_ASM(s32, "8BDD0", func_8009662C);
INCLUDE_ASM(s32, "8BDD0", func_80096688);
INCLUDE_ASM(s32, "8BDD0", func_800966D0);
INCLUDE_ASM(s32, "8BDD0", func_80096BD0);
INCLUDE_ASM(s32, "8BDD0", func_80096CA4);
INCLUDE_ASM(s32, "8BDD0", func_80096F78);
INCLUDE_ASM(s32, "8BDD0", func_80097058);
INCLUDE_ASM(s32, "8BDD0", func_8009707C);
INCLUDE_ASM(s32, "8BDD0", func_800972FC);
INCLUDE_ASM(s32, "8BDD0", func_80097380);
INCLUDE_ASM(s32, "8BDD0", func_800976F4);
INCLUDE_ASM(s32, "8BDD0", func_80097708);
INCLUDE_ASM(s32, "8BDD0", func_800978F8);
INCLUDE_ASM(s32, "8BDD0", func_80097B10);
INCLUDE_ASM(s32, "8BDD0", func_80097C80);
INCLUDE_ASM(s32, "8BDD0", func_80097DF0);
INCLUDE_ASM(s32, "8BDD0", func_80097E8C);
INCLUDE_ASM(s32, "8BDD0", func_80097F20);
INCLUDE_ASM(s32, "8BDD0", func_80097FC8);
INCLUDE_ASM(s32, "8BDD0", func_80097FF0);
INCLUDE_ASM(s32, "8BDD0", func_80098024);
INCLUDE_ASM(s32, "8BDD0", func_80098068);
INCLUDE_ASM(s32, "8BDD0", func_80098354);
INCLUDE_ASM(s32, "8BDD0", func_800984B8);
INCLUDE_ASM(s32, "8BDD0", func_80098684);
INCLUDE_ASM(s32, "8BDD0", func_8009873C);
INCLUDE_ASM(s32, "8BDD0", func_80098A80);
INCLUDE_ASM(s32, "8BDD0", func_80098C80);
INCLUDE_ASM(s32, "8BDD0", func_80098EA0);
INCLUDE_ASM(s32, "8BDD0", func_80098F0C);
INCLUDE_ASM(s32, "8BDD0", func_80098F90);
INCLUDE_ASM(s32, "8BDD0", func_80099350);
INCLUDE_ASM(s32, "8BDD0", func_800994C0);
INCLUDE_ASM(s32, "8BDD0", func_80099630);
INCLUDE_ASM(s32, "8BDD0", func_80099A90);
INCLUDE_ASM(s32, "8BDD0", func_80099BE8);
INCLUDE_ASM(s32, "8BDD0", func_80099D50);
INCLUDE_ASM(s32, "8BDD0", func_80099E40);
INCLUDE_ASM(s32, "8BDD0", func_80099ED4);
INCLUDE_ASM(s32, "8BDD0", func_80099F60);
INCLUDE_ASM(s32, "8BDD0", func_80099FB0);
INCLUDE_ASM(s32, "8BDD0", func_8009A000);
INCLUDE_ASM(s32, "8BDD0", func_8009A050);
INCLUDE_ASM(s32, "8BDD0", func_8009A090);
INCLUDE_ASM(s32, "8BDD0", func_8009A0E0);
INCLUDE_ASM(s32, "8BDD0", func_8009A100);
INCLUDE_ASM(s32, "8BDD0", func_8009A120);
INCLUDE_ASM(s32, "8BDD0", func_8009A370);
INCLUDE_ASM(s32, "8BDD0", func_8009A7B0);
INCLUDE_ASM(s32, "8BDD0", func_8009A848);
INCLUDE_ASM(s32, "8BDD0", func_8009ADF0);
INCLUDE_ASM(s32, "8BDD0", func_8009AE74);
INCLUDE_ASM(s32, "8BDD0", func_8009AFB0);
INCLUDE_ASM(s32, "8BDD0", func_8009AFD0);
INCLUDE_ASM(s32, "8BDD0", func_8009B0A8);
INCLUDE_ASM(s32, "8BDD0", func_8009B150);
INCLUDE_ASM(s32, "8BDD0", func_8009B308);
INCLUDE_ASM(s32, "8BDD0", func_8009B420);
INCLUDE_ASM(s32, "8BDD0", func_8009B590);
INCLUDE_ASM(s32, "8BDD0", func_8009B618);
INCLUDE_ASM(s32, "8BDD0", func_8009B674);
INCLUDE_ASM(s32, "8BDD0", func_8009B6F0);
INCLUDE_ASM(s32, "8BDD0", func_8009B770);
INCLUDE_ASM(s32, "8BDD0", func_8009B810);
INCLUDE_ASM(s32, "8BDD0", func_8009B840);
INCLUDE_ASM(s32, "8BDD0", func_8009B848);
INCLUDE_ASM(s32, "8BDD0", func_8009B850);
INCLUDE_ASM(s32, "8BDD0", func_8009B960);
INCLUDE_ASM(s32, "8BDD0", func_8009BA30);
INCLUDE_ASM(s32, "8BDD0", func_8009BAA4);
INCLUDE_ASM(s32, "8BDD0", func_8009BAD8);
INCLUDE_ASM(s32, "8BDD0", func_8009BBD4);
INCLUDE_ASM(s32, "8BDD0", func_8009BCA0);
INCLUDE_ASM(s32, "8BDD0", func_8009BE10);
INCLUDE_ASM(s32, "8BDD0", func_8009BE30);
INCLUDE_ASM(s32, "8BDD0", func_8009BE70);
INCLUDE_ASM(s32, "8BDD0", func_8009BF90);
INCLUDE_ASM(s32, "8BDD0", func_8009C090);
INCLUDE_ASM(s32, "8BDD0", func_8009C0A0);
INCLUDE_ASM(s32, "8BDD0", func_8009C100);
INCLUDE_ASM(s32, "8BDD0", func_8009C160);
INCLUDE_ASM(s32, "8BDD0", func_8009C240);
INCLUDE_ASM(s32, "8BDD0", HuGuLookAtF);
INCLUDE_ASM(s32, "8BDD0", func_8009C6E0);
INCLUDE_ASM(s32, "8BDD0", func_8009C770);
INCLUDE_ASM(s32, "8BDD0", func_8009CD20);
INCLUDE_ASM(s32, "8BDD0", func_8009CDB0);
INCLUDE_ASM(s32, "8BDD0", func_8009D840);
INCLUDE_ASM(s32, "8BDD0", func_8009D920);
INCLUDE_ASM(s32, "8BDD0", func_8009DAD0);
INCLUDE_ASM(s32, "8BDD0", func_8009DB50);
INCLUDE_ASM(s32, "8BDD0", func_8009DD10);
INCLUDE_ASM(s32, "8BDD0", func_8009DD90);
INCLUDE_ASM(s32, "8BDD0", func_8009DFF0);
INCLUDE_ASM(s32, "8BDD0", func_8009E060);
INCLUDE_ASM(s32, "8BDD0", func_8009E360);
INCLUDE_ASM(s32, "8BDD0", func_8009E7E0);
INCLUDE_ASM(s32, "8BDD0", func_8009E8F0);
INCLUDE_ASM(s32, "8BDD0", func_8009EA40);
INCLUDE_ASM(s32, "8BDD0", func_8009EB50);
INCLUDE_ASM(s32, "8BDD0", func_8009ECB0);
INCLUDE_ASM(s32, "8BDD0", func_8009EEC0);
INCLUDE_ASM(s32, "8BDD0", func_8009F2D0);
INCLUDE_ASM(s32, "8BDD0", func_8009F530);
INCLUDE_ASM(s32, "8BDD0", func_8009F9B0);
INCLUDE_ASM(s32, "8BDD0", func_8009FD40);
INCLUDE_ASM(s32, "8BDD0", func_800A0270);
INCLUDE_ASM(s32, "8BDD0", func_800A03B0);
INCLUDE_ASM(s32, "8BDD0", func_800A0730);
INCLUDE_ASM(s32, "8BDD0", func_800A07A0);
INCLUDE_ASM(s32, "8BDD0", func_800A0810);
INCLUDE_ASM(s32, "8BDD0", func_800A0890);
INCLUDE_ASM(s32, "8BDD0", func_800A0900);
INCLUDE_ASM(s32, "8BDD0", func_800A0970);
INCLUDE_ASM(s32, "8BDD0", func_800A09D0);
INCLUDE_ASM(s32, "8BDD0", func_800A0A20);
INCLUDE_ASM(s32, "8BDD0", func_800A0B90);
INCLUDE_ASM(s32, "8BDD0", func_800A0D00);
INCLUDE_ASM(s32, "8BDD0", func_800A0D50);
INCLUDE_ASM(s32, "8BDD0", func_800A0DA0);
INCLUDE_ASM(s32, "8BDD0", func_800A0E00);
INCLUDE_ASM(s32, "8BDD0", func_800A0E80);
INCLUDE_ASM(s32, "8BDD0", func_800A0F00);
INCLUDE_ASM(s32, "8BDD0", func_800A0F70);
INCLUDE_ASM(s32, "8BDD0", func_800A1010);
INCLUDE_ASM(s32, "8BDD0", func_800A10C0);
INCLUDE_ASM(s32, "8BDD0", func_800A1190);
INCLUDE_ASM(s32, "8BDD0", func_800A1200);
INCLUDE_ASM(s32, "8BDD0", func_800A1250);
INCLUDE_ASM(s32, "8BDD0", func_800A1320);
INCLUDE_ASM(s32, "8BDD0", func_800A13C0);

617
src/8BE70.c Normal file
View File

@ -0,0 +1,617 @@
#include "common.h"
INCLUDE_ASM(s32, "8BE70", osSpTaskLoad);
INCLUDE_ASM(s32, "8BE70", osSpTaskStartGo);
INCLUDE_ASM(s32, "8BE70", func_8008B4B0);
INCLUDE_ASM(s32, "8BE70", func_8008B4D0);
INCLUDE_ASM(s32, "8BE70", func_8008B520);
INCLUDE_ASM(s32, "8BE70", func_8008B560);
INCLUDE_ASM(s32, "8BE70", func_8008B5A0);
INCLUDE_ASM(s32, "8BE70", func_8008B600);
INCLUDE_ASM(s32, "8BE70", func_8008B650);
INCLUDE_ASM(s32, "8BE70", func_8008B6A0);
INCLUDE_ASM(s32, "8BE70", func_8008B700);
INCLUDE_ASM(s32, "8BE70", func_8008B89C);
INCLUDE_ASM(s32, "8BE70", func_8008B950);
INCLUDE_ASM(s32, "8BE70", func_8008BA10);
INCLUDE_ASM(s32, "8BE70", func_8008BA70);
INCLUDE_ASM(s32, "8BE70", func_8008BBEC);
INCLUDE_ASM(s32, "8BE70", func_8008BC90);
INCLUDE_ASM(s32, "8BE70", func_8008BD50);
INCLUDE_ASM(s32, "8BE70", func_8008BE40);
INCLUDE_ASM(s32, "8BE70", func_8008BEB0);
INCLUDE_ASM(s32, "8BE70", func_8008BF50);
INCLUDE_ASM(s32, "8BE70", func_8008BFA4);
INCLUDE_ASM(s32, "8BE70", func_8008C010);
INCLUDE_ASM(s32, "8BE70", bcopy);
INCLUDE_ASM(s32, "8BE70", bzero);
INCLUDE_ASM(s32, "8BE70", func_8008C400);
INCLUDE_ASM(s32, "8BE70", func_8008C438);
INCLUDE_ASM(s32, "8BE70", func_8008C45C);
INCLUDE_ASM(s32, "8BE70", sprintf);
INCLUDE_ASM(s32, "8BE70", func_8008C4E8);
INCLUDE_ASM(s32, "8BE70", func_8008C520);
INCLUDE_ASM(s32, "8BE70", func_8008C534);
INCLUDE_ASM(s32, "8BE70", func_8008C550);
INCLUDE_ASM(s32, "8BE70", func_8008C6C0);
INCLUDE_ASM(s32, "8BE70", func_8008CB88);
INCLUDE_ASM(s32, "8BE70", func_8008CBFC);
INCLUDE_ASM(s32, "8BE70", func_8008CCFC);
INCLUDE_ASM(s32, "8BE70", func_8008D558);
INCLUDE_ASM(s32, "8BE70", func_8008D6E8);
INCLUDE_ASM(s32, "8BE70", func_8008D778);
INCLUDE_ASM(s32, "8BE70", func_8008D7B0);
INCLUDE_ASM(s32, "8BE70", func_8008D934);
INCLUDE_ASM(s32, "8BE70", func_8008DE08);
INCLUDE_ASM(s32, "8BE70", func_8008DED8);
INCLUDE_ASM(s32, "8BE70", func_8008E0D8);
INCLUDE_ASM(s32, "8BE70", func_8008E900);
INCLUDE_ASM(s32, "8BE70", func_8008E96C);
INCLUDE_ASM(s32, "8BE70", func_8008E9BC);
INCLUDE_ASM(s32, "8BE70", func_8008EA20);
INCLUDE_ASM(s32, "8BE70", func_8008EA74);
INCLUDE_ASM(s32, "8BE70", func_8008EB48);
INCLUDE_ASM(s32, "8BE70", func_8008EBB8);
INCLUDE_ASM(s32, "8BE70", func_8008EBD4);
INCLUDE_ASM(s32, "8BE70", func_8008EC18);
INCLUDE_ASM(s32, "8BE70", func_8008ED3C);
INCLUDE_ASM(s32, "8BE70", func_8008EDEC);
INCLUDE_ASM(s32, "8BE70", func_8008EE98);
INCLUDE_ASM(s32, "8BE70", func_8008EEEC);
INCLUDE_ASM(s32, "8BE70", func_8008EF6C);
INCLUDE_ASM(s32, "8BE70", func_8008F020);
INCLUDE_ASM(s32, "8BE70", func_8008F110);
INCLUDE_ASM(s32, "8BE70", func_8008F150);
INCLUDE_ASM(s32, "8BE70", alSynNew);
INCLUDE_ASM(s32, "8BE70", func_8008F4BC);
INCLUDE_ASM(s32, "8BE70", __allocParam);
INCLUDE_ASM(s32, "8BE70", func_8008F698);
INCLUDE_ASM(s32, "8BE70", func_8008F6B0);
INCLUDE_ASM(s32, "8BE70", _freePVoice);
INCLUDE_ASM(s32, "8BE70", func_8008F744);
INCLUDE_ASM(s32, "8BE70", _timeToSamples);
INCLUDE_ASM(s32, "8BE70", func_8008F7D8);
INCLUDE_ASM(s32, "8BE70", func_8008F830);
INCLUDE_ASM(s32, "8BE70", func_8008F950);
INCLUDE_ASM(s32, "8BE70", func_8008FAD0);
INCLUDE_ASM(s32, "8BE70", func_8008FB50);
INCLUDE_ASM(s32, "8BE70", func_8008FCE8);
INCLUDE_ASM(s32, "8BE70", func_8008FD70);
INCLUDE_ASM(s32, "8BE70", func_8008FED8);
INCLUDE_ASM(s32, "8BE70", func_8008FF80);
INCLUDE_ASM(s32, "8BE70", func_80090120);
INCLUDE_ASM(s32, "8BE70", func_800901A8);
INCLUDE_ASM(s32, "8BE70", func_80090244);
INCLUDE_ASM(s32, "8BE70", func_80090300);
INCLUDE_ASM(s32, "8BE70", func_800904F0);
INCLUDE_ASM(s32, "8BE70", func_80090550);
INCLUDE_ASM(s32, "8BE70", func_800905B0);
INCLUDE_ASM(s32, "8BE70", func_800906F4);
INCLUDE_ASM(s32, "8BE70", func_80090940);
INCLUDE_ASM(s32, "8BE70", func_80090C4C);
INCLUDE_ASM(s32, "8BE70", func_80090D70);
INCLUDE_ASM(s32, "8BE70", func_80090F1C);
INCLUDE_ASM(s32, "8BE70", func_80090F90);
INCLUDE_ASM(s32, "8BE70", func_80091120);
INCLUDE_ASM(s32, "8BE70", func_80091230);
INCLUDE_ASM(s32, "8BE70", func_80091428);
INCLUDE_ASM(s32, "8BE70", func_80091500);
INCLUDE_ASM(s32, "8BE70", func_80091600);
INCLUDE_ASM(s32, "8BE70", func_80091A40);
INCLUDE_ASM(s32, "8BE70", func_80091AA0);
INCLUDE_ASM(s32, "8BE70", func_80091C40);
INCLUDE_ASM(s32, "8BE70", func_80091CB0);
INCLUDE_ASM(s32, "8BE70", func_80091E40);
INCLUDE_ASM(s32, "8BE70", func_80091F10);
INCLUDE_ASM(s32, "8BE70", __osSpRawStartDma);
INCLUDE_ASM(s32, "8BE70", func_80092050);
INCLUDE_ASM(s32, "8BE70", func_800921F0);
INCLUDE_ASM(s32, "8BE70", func_80092390);
INCLUDE_ASM(s32, "8BE70", func_80092500);
INCLUDE_ASM(s32, "8BE70", func_80092810);
INCLUDE_ASM(s32, "8BE70", func_80092830);
INCLUDE_ASM(s32, "8BE70", func_80092DBC);
INCLUDE_ASM(s32, "8BE70", __osEnqueueAndYield);
INCLUDE_ASM(s32, "8BE70", __osEnqueueThread);
INCLUDE_ASM(s32, "8BE70", __osPopThread);
INCLUDE_ASM(s32, "8BE70", __osDispatchThread);
INCLUDE_ASM(s32, "8BE70", __osCleanupThread);
INCLUDE_ASM(s32, "8BE70", osGetMemSize);
INCLUDE_ASM(s32, "8BE70", osInitialize);
INCLUDE_ASM(s32, "8BE70", func_80093468);
INCLUDE_ASM(s32, "8BE70", __osDisableInt);
INCLUDE_ASM(s32, "8BE70", __osRestoreInt);
INCLUDE_ASM(s32, "8BE70", func_800935B0);
INCLUDE_ASM(s32, "8BE70", func_80093660);
INCLUDE_ASM(s32, "8BE70", guNormalize);
INCLUDE_ASM(s32, "8BE70", func_80093770);
INCLUDE_ASM(s32, "8BE70", osGetCount);
INCLUDE_ASM(s32, "8BE70", func_80093790);
INCLUDE_ASM(s32, "8BE70", __osProbeTLB);
INCLUDE_ASM(s32, "8BE70", func_80093860);
INCLUDE_ASM(s32, "8BE70", func_80093870);
INCLUDE_ASM(s32, "8BE70", func_800938C0);
INCLUDE_ASM(s32, "8BE70", func_80093920);
INCLUDE_ASM(s32, "8BE70", func_800939C0);
INCLUDE_ASM(s32, "8BE70", func_80093E04);
INCLUDE_ASM(s32, "8BE70", func_800941A0);
INCLUDE_ASM(s32, "8BE70", func_8009434C);
INCLUDE_ASM(s32, "8BE70", func_800944D0);
INCLUDE_ASM(s32, "8BE70", func_800945AC);
INCLUDE_ASM(s32, "8BE70", func_800945E0);
INCLUDE_ASM(s32, "8BE70", func_80094720);
INCLUDE_ASM(s32, "8BE70", func_80094750);
INCLUDE_ASM(s32, "8BE70", func_8009493C);
INCLUDE_ASM(s32, "8BE70", func_80094A00);
INCLUDE_ASM(s32, "8BE70", func_80094AE8);
INCLUDE_ASM(s32, "8BE70", func_80094C50);
INCLUDE_ASM(s32, "8BE70", func_80094CB8);
INCLUDE_ASM(s32, "8BE70", func_80094D20);
INCLUDE_ASM(s32, "8BE70", func_80094DB0);
INCLUDE_ASM(s32, "8BE70", func_80094EC4);
INCLUDE_ASM(s32, "8BE70", func_80094ECC);
INCLUDE_ASM(s32, "8BE70", func_80094EE8);
INCLUDE_ASM(s32, "8BE70", func_80094F04);
INCLUDE_ASM(s32, "8BE70", func_80094F18);
INCLUDE_ASM(s32, "8BE70", func_80094F48);
INCLUDE_ASM(s32, "8BE70", func_80094F98);
INCLUDE_ASM(s32, "8BE70", func_80094FF0);
INCLUDE_ASM(s32, "8BE70", func_80095000);
INCLUDE_ASM(s32, "8BE70", __osAiDeviceBusy);
INCLUDE_ASM(s32, "8BE70", __osSpDeviceBusy);
INCLUDE_ASM(s32, "8BE70", func_800950E0);
INCLUDE_ASM(s32, "8BE70", __osSpSetStatus);
INCLUDE_ASM(s32, "8BE70", __osSpSetPc);
INCLUDE_ASM(s32, "8BE70", func_80095130);
INCLUDE_ASM(s32, "8BE70", func_80095240);
INCLUDE_ASM(s32, "8BE70", func_80095250);
INCLUDE_ASM(s32, "8BE70", func_800952A4);
INCLUDE_ASM(s32, "8BE70", func_80095310);
INCLUDE_ASM(s32, "8BE70", func_80095340);
INCLUDE_ASM(s32, "8BE70", bcmp);
INCLUDE_ASM(s32, "8BE70", _Printf);
INCLUDE_ASM(s32, "8BE70", func_800959E0);
INCLUDE_ASM(s32, "8BE70", func_80095EA0);
INCLUDE_ASM(s32, "8BE70", func_80095F44);
INCLUDE_ASM(s32, "8BE70", func_800963DC);
INCLUDE_ASM(s32, "8BE70", func_80096494);
INCLUDE_ASM(s32, "8BE70", func_80096544);
INCLUDE_ASM(s32, "8BE70", func_800965D0);
INCLUDE_ASM(s32, "8BE70", func_8009662C);
INCLUDE_ASM(s32, "8BE70", func_80096688);
INCLUDE_ASM(s32, "8BE70", func_800966D0);
INCLUDE_ASM(s32, "8BE70", func_80096BD0);
INCLUDE_ASM(s32, "8BE70", func_80096CA4);
INCLUDE_ASM(s32, "8BE70", func_80096F78);
INCLUDE_ASM(s32, "8BE70", func_80097058);
INCLUDE_ASM(s32, "8BE70", func_8009707C);
INCLUDE_ASM(s32, "8BE70", func_800972FC);
INCLUDE_ASM(s32, "8BE70", func_80097380);
INCLUDE_ASM(s32, "8BE70", func_800976F4);
INCLUDE_ASM(s32, "8BE70", func_80097708);
INCLUDE_ASM(s32, "8BE70", func_800978F8);
INCLUDE_ASM(s32, "8BE70", func_80097B10);
INCLUDE_ASM(s32, "8BE70", func_80097C80);
INCLUDE_ASM(s32, "8BE70", func_80097DF0);
INCLUDE_ASM(s32, "8BE70", func_80097E8C);
INCLUDE_ASM(s32, "8BE70", func_80097F20);
INCLUDE_ASM(s32, "8BE70", func_80097FC8);
INCLUDE_ASM(s32, "8BE70", func_80097FF0);
INCLUDE_ASM(s32, "8BE70", func_80098024);
INCLUDE_ASM(s32, "8BE70", func_80098068);
INCLUDE_ASM(s32, "8BE70", func_80098354);
INCLUDE_ASM(s32, "8BE70", func_800984B8);
INCLUDE_ASM(s32, "8BE70", func_80098684);
INCLUDE_ASM(s32, "8BE70", func_8009873C);
INCLUDE_ASM(s32, "8BE70", func_80098A80);
INCLUDE_ASM(s32, "8BE70", func_80098C80);
INCLUDE_ASM(s32, "8BE70", func_80098EA0);
INCLUDE_ASM(s32, "8BE70", func_80098F0C);
INCLUDE_ASM(s32, "8BE70", func_80098F90);
INCLUDE_ASM(s32, "8BE70", func_80099350);
INCLUDE_ASM(s32, "8BE70", func_800994C0);
INCLUDE_ASM(s32, "8BE70", func_80099630);
INCLUDE_ASM(s32, "8BE70", func_80099A90);
INCLUDE_ASM(s32, "8BE70", func_80099BE8);
INCLUDE_ASM(s32, "8BE70", func_80099D50);
INCLUDE_ASM(s32, "8BE70", func_80099E40);
INCLUDE_ASM(s32, "8BE70", func_80099ED4);
INCLUDE_ASM(s32, "8BE70", func_80099F60);
INCLUDE_ASM(s32, "8BE70", func_80099FB0);
INCLUDE_ASM(s32, "8BE70", func_8009A000);
INCLUDE_ASM(s32, "8BE70", func_8009A050);
INCLUDE_ASM(s32, "8BE70", func_8009A090);
INCLUDE_ASM(s32, "8BE70", func_8009A0E0);
INCLUDE_ASM(s32, "8BE70", func_8009A100);
INCLUDE_ASM(s32, "8BE70", func_8009A120);
INCLUDE_ASM(s32, "8BE70", func_8009A370);
INCLUDE_ASM(s32, "8BE70", func_8009A7B0);
INCLUDE_ASM(s32, "8BE70", func_8009A848);
INCLUDE_ASM(s32, "8BE70", func_8009ADF0);
INCLUDE_ASM(s32, "8BE70", func_8009AE74);
INCLUDE_ASM(s32, "8BE70", func_8009AFB0);
INCLUDE_ASM(s32, "8BE70", func_8009AFD0);
INCLUDE_ASM(s32, "8BE70", func_8009B0A8);
INCLUDE_ASM(s32, "8BE70", func_8009B150);
INCLUDE_ASM(s32, "8BE70", func_8009B308);
INCLUDE_ASM(s32, "8BE70", func_8009B420);
INCLUDE_ASM(s32, "8BE70", func_8009B590);
INCLUDE_ASM(s32, "8BE70", func_8009B618);
INCLUDE_ASM(s32, "8BE70", func_8009B674);
INCLUDE_ASM(s32, "8BE70", func_8009B6F0);
INCLUDE_ASM(s32, "8BE70", func_8009B770);
INCLUDE_ASM(s32, "8BE70", func_8009B810);
INCLUDE_ASM(s32, "8BE70", func_8009B840);
INCLUDE_ASM(s32, "8BE70", func_8009B848);
INCLUDE_ASM(s32, "8BE70", func_8009B850);
INCLUDE_ASM(s32, "8BE70", func_8009B960);
INCLUDE_ASM(s32, "8BE70", func_8009BA30);
INCLUDE_ASM(s32, "8BE70", func_8009BAA4);
INCLUDE_ASM(s32, "8BE70", func_8009BAD8);
INCLUDE_ASM(s32, "8BE70", func_8009BBD4);
INCLUDE_ASM(s32, "8BE70", func_8009BCA0);
INCLUDE_ASM(s32, "8BE70", func_8009BE10);
INCLUDE_ASM(s32, "8BE70", func_8009BE30);
INCLUDE_ASM(s32, "8BE70", func_8009BE70);
INCLUDE_ASM(s32, "8BE70", func_8009BF90);
INCLUDE_ASM(s32, "8BE70", func_8009C090);
INCLUDE_ASM(s32, "8BE70", func_8009C0A0);
INCLUDE_ASM(s32, "8BE70", func_8009C100);
INCLUDE_ASM(s32, "8BE70", func_8009C160);
INCLUDE_ASM(s32, "8BE70", func_8009C240);
INCLUDE_ASM(s32, "8BE70", HuGuLookAtF);
INCLUDE_ASM(s32, "8BE70", func_8009C6E0);
INCLUDE_ASM(s32, "8BE70", func_8009C770);
INCLUDE_ASM(s32, "8BE70", func_8009CD20);
INCLUDE_ASM(s32, "8BE70", func_8009CDB0);
INCLUDE_ASM(s32, "8BE70", func_8009D840);
INCLUDE_ASM(s32, "8BE70", func_8009D920);
INCLUDE_ASM(s32, "8BE70", func_8009DAD0);
INCLUDE_ASM(s32, "8BE70", func_8009DB50);
INCLUDE_ASM(s32, "8BE70", func_8009DD10);
INCLUDE_ASM(s32, "8BE70", func_8009DD90);
INCLUDE_ASM(s32, "8BE70", func_8009DFF0);
INCLUDE_ASM(s32, "8BE70", func_8009E060);
INCLUDE_ASM(s32, "8BE70", func_8009E360);
INCLUDE_ASM(s32, "8BE70", func_8009E7E0);
INCLUDE_ASM(s32, "8BE70", func_8009E8F0);
INCLUDE_ASM(s32, "8BE70", func_8009EA40);
INCLUDE_ASM(s32, "8BE70", func_8009EB50);
INCLUDE_ASM(s32, "8BE70", func_8009ECB0);
INCLUDE_ASM(s32, "8BE70", func_8009EEC0);
INCLUDE_ASM(s32, "8BE70", func_8009F2D0);
INCLUDE_ASM(s32, "8BE70", func_8009F530);
INCLUDE_ASM(s32, "8BE70", func_8009F9B0);
INCLUDE_ASM(s32, "8BE70", func_8009FD40);
INCLUDE_ASM(s32, "8BE70", func_800A0270);
INCLUDE_ASM(s32, "8BE70", func_800A03B0);
INCLUDE_ASM(s32, "8BE70", func_800A0730);
INCLUDE_ASM(s32, "8BE70", func_800A07A0);
INCLUDE_ASM(s32, "8BE70", func_800A0810);
INCLUDE_ASM(s32, "8BE70", func_800A0890);
INCLUDE_ASM(s32, "8BE70", func_800A0900);
INCLUDE_ASM(s32, "8BE70", func_800A0970);
INCLUDE_ASM(s32, "8BE70", func_800A09D0);
INCLUDE_ASM(s32, "8BE70", func_800A0A20);
INCLUDE_ASM(s32, "8BE70", func_800A0B90);
INCLUDE_ASM(s32, "8BE70", func_800A0D00);
INCLUDE_ASM(s32, "8BE70", func_800A0D50);
INCLUDE_ASM(s32, "8BE70", func_800A0DA0);
INCLUDE_ASM(s32, "8BE70", func_800A0E00);
INCLUDE_ASM(s32, "8BE70", func_800A0E80);
INCLUDE_ASM(s32, "8BE70", func_800A0F00);
INCLUDE_ASM(s32, "8BE70", func_800A0F70);
INCLUDE_ASM(s32, "8BE70", func_800A1010);
INCLUDE_ASM(s32, "8BE70", func_800A10C0);
INCLUDE_ASM(s32, "8BE70", func_800A1190);
INCLUDE_ASM(s32, "8BE70", func_800A1200);
INCLUDE_ASM(s32, "8BE70", func_800A1250);
INCLUDE_ASM(s32, "8BE70", func_800A1320);
INCLUDE_ASM(s32, "8BE70", func_800A13C0);

8
src/lib/2.0I/io/aigetlen.c Executable file
View File

@ -0,0 +1,8 @@
#include "PR/rcp.h"
// TODO: this comes from a header
// #ident "$Revision: 1.17 $"
u32 osAiGetLength(void) {
return IO_READ(AI_LEN_REG);
}

24
src/lib/2.0I/io/aisetnextbuf.c Executable file
View File

@ -0,0 +1,24 @@
#include "PR/os_internal.h"
#include "PR/rcp.h"
#include "../os/osint.h"
s32 osAiSetNextBuffer(void *bufPtr, u32 size)
{
static u8 hdwrBugFlag = 0;
char *bptr = bufPtr;
if (hdwrBugFlag != 0)
bptr -= 0x2000;
if ((((u32)bufPtr + size) & 0x1fff) == 0)
hdwrBugFlag = 1;
else
hdwrBugFlag = 0;
if (__osAiDeviceBusy())
return -1;
IO_WRITE(AI_DRAM_ADDR_REG, osVirtualToPhysical(bptr));
IO_WRITE(AI_LEN_REG, size);
return 0;
}

63
src/lib/2.0I/io/sptask.c Executable file
View File

@ -0,0 +1,63 @@
#include "PR/os_internal.h"
#include "PR/sptask.h"
#include "PR/rcp.h"
#include "../os/osint.h"
#define _osVirtualToPhysical(ptr) \
if (ptr != NULL) \
{ \
ptr = (void *)osVirtualToPhysical(ptr); \
}
static OSTask tmp_task;
static OSTask *_VirtualToPhysicalTask(OSTask *intp) {
OSTask *tp;
tp = &tmp_task;
bcopy(intp, tp, sizeof(OSTask));
_osVirtualToPhysical(tp->t.ucode);
_osVirtualToPhysical(tp->t.ucode_data);
_osVirtualToPhysical(tp->t.dram_stack);
_osVirtualToPhysical(tp->t.output_buff);
_osVirtualToPhysical(tp->t.output_buff_size);
_osVirtualToPhysical(tp->t.data_ptr);
_osVirtualToPhysical(tp->t.yield_data_ptr);
return tp;
}
void osSpTaskLoad(OSTask *intp) {
OSTask *tp;
tp = _VirtualToPhysicalTask(intp);
if (tp->t.flags & OS_TASK_YIELDED) {
tp->t.ucode_data = tp->t.yield_data_ptr;
tp->t.ucode_data_size = tp->t.yield_data_size;
intp->t.flags &= ~OS_TASK_YIELDED;
if (tp->t.flags & OS_TASK_LOADABLE)
tp->t.ucode = (u64 *)IO_READ((u32)intp->t.yield_data_ptr + OS_YIELD_DATA_SIZE - 4);
}
osWritebackDCache(tp, sizeof(OSTask));
__osSpSetStatus(SP_CLR_YIELD | SP_CLR_YIELDED | SP_CLR_TASKDONE | SP_SET_INTR_BREAK);
while (__osSpSetPc(SP_IMEM_START) == -1) {
}
while (__osSpRawStartDma(1, (SP_IMEM_START - sizeof(*tp)), tp, sizeof(OSTask)) == -1) {
}
while (__osSpDeviceBusy()) {
}
while (__osSpRawStartDma(1, SP_IMEM_START, tp->t.ucode_boot, tp->t.ucode_boot_size) == -1) {
}
}
void osSpTaskStartGo(OSTask *tp) {
while (__osSpDeviceBusy()) {
}
__osSpSetStatus(SP_SET_INTR_BREAK | SP_CLR_SSTEP | SP_CLR_BROKE | SP_CLR_HALT);
}

View File

@ -25,7 +25,7 @@ extern void __osSetTimerIntr(OSTime);
extern OSTime __osInsertTimer(OSTimer *);
extern void __osTimerInterrupt(void);
extern u32 __osProbeTLB(void *);
// extern int __osSpDeviceBusy(void);
extern int __osSpDeviceBusy(void);
extern OSThread *__osRunningThread;
extern OSThread *__osActiveQueue;
@ -46,6 +46,6 @@ extern u32 __osTimerCounter;
// //not sure if this should be here
// extern s32 osViClock;
// extern void __osTimerServicesInit(void);
// extern s32 __osAiDeviceBusy(void);
extern s32 __osAiDeviceBusy(void);
// extern int __osDpDeviceBusy(void);
#endif

View File

@ -263,12 +263,23 @@ alSynSetPitch = 0x8008B010;
alSynSetVol = 0x8008B0A0;
alCents2Ratio = 0x8008B160;
osAiGetLength = 0x8008B1C0;
osAiSetNextBuffer = 0x8008B1D0;
osSpTaskLoad = 0x8008B270;
osSpTaskStartGo = 0x8008B47C;
alSynNew = 0x8008F1F0;
__allocParam = 0x8008F66C;
_freePVoice = 0x8008F704;
_timeToSamples = 0x8008F78C;
__osAiDeviceBusy = 0x800950A0;
__osSpDeviceBusy = 0x800950C0;
__osSpSetStatus = 0x800950F0;
__osSpSetPc = 0x80095100;
__osSpRawStartDma = 0x80091FC0;
sinf = 0x80088060;
cosf = 0x800855C0;
__libm_qnan_f = 0x800CC6B0;