1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-02 22:14:33 +00:00

Document Audio Thread Commands (#1399)

* begin docs

* cleanup

* copy over progress

* cleanup

* small cleanup

* more docs, fill out cmds

* small touchup

* pan weight ganon comment

* fix specId

* seqcmd cleanup

* format

* small cleanup

* one more thing

* small feedback from MM

* partial PR

* some PR Suggestions

* small adjustments

* ticks, seqticks, frames, updates: term cleanup

* small fix

* PR Review

* PR Review

* PR Review

* rm param

* adjust comment

* update renamed functions

* format

---------

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
engineer124 2024-02-01 10:25:23 +11:00 committed by GitHub
parent d65fb6ed28
commit a0d31dba68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 1393 additions and 842 deletions

View file

@ -2553,44 +2553,44 @@ AudioLoad_Unused5 = 0x800BADE4; // type:func
AudioLoad_ScriptLoad = 0x800BADEC; // type:func
AudioLoad_ProcessScriptLoads = 0x800BAE58; // type:func
AudioLoad_InitScriptLoads = 0x800BAEB0; // type:func
func_800E4FE0 = 0x800BAEE0; // type:func
func_800E5000 = 0x800BAF00; // type:func
func_800E5584 = 0x800BB484; // type:func
func_800E5958 = 0x800BB858; // type:func
func_800E59AC = 0x800BB8AC; // type:func
Audio_InitMesgQueuesInternal = 0x800BB8F4; // type:func
Audio_QueueCmd = 0x800BB98C; // type:func
Audio_QueueCmdF32 = 0x800BB9D8; // type:func
Audio_QueueCmdS32 = 0x800BB9FC; // type:func
Audio_QueueCmdS8 = 0x800BBA20; // type:func
Audio_QueueCmdU16 = 0x800BBA50; // type:func
Audio_ScheduleProcessCmds = 0x800BBA80; // type:func
Audio_ResetCmdQueue = 0x800BBB10; // type:func
Audio_ProcessCmd = 0x800BBB28; // type:func
Audio_ProcessCmds = 0x800BBC6C; // type:func
AudioThread_Update = 0x800BAEE0; // type:func
AudioThread_UpdateImpl = 0x800BAF00; // type:func
AudioThread_ProcessGlobalCmd = 0x800BB484; // type:func
AudioThread_SetFadeOutTimer = 0x800BB858; // type:func
AudioThread_SetFadeInTimer = 0x800BB8AC; // type:func
AudioThread_InitMesgQueuesImpl = 0x800BB8F4; // type:func
AudioThread_QueueCmd = 0x800BB98C; // type:func
AudioThread_QueueCmdF32 = 0x800BB9D8; // type:func
AudioThread_QueueCmdS32 = 0x800BB9FC; // type:func
AudioThread_QueueCmdS8 = 0x800BBA20; // type:func
AudioThread_QueueCmdU16 = 0x800BBA50; // type:func
AudioThread_ScheduleProcessCmds = 0x800BBA80; // type:func
AudioThread_ResetCmdQueue = 0x800BBB10; // type:func
AudioThread_ProcessCmd = 0x800BBB28; // type:func
AudioThread_ProcessCmds = 0x800BBC6C; // type:func
func_800E5E20 = 0x800BBD20; // type:func
func_800E5E84 = 0x800BBD84; // type:func
AudioThread_GetFontsForSequence = 0x800BBD84; // type:func
Audio_GetSampleBankIdsOfFont = 0x800BBDA4; // type:func
func_800E5EDC = 0x800BBDDC; // type:func
func_800E5F34 = 0x800BBE34; // type:func
func_800E5F88 = 0x800BBE88; // type:func
Audio_PreNMIInternal = 0x800BBF24; // type:func
func_800E6070 = 0x800BBF70; // type:func
func_800E60C4 = 0x800BBFC4; // type:func
Audio_InitExternalPool = 0x800BBFEC; // type:func
Audio_DestroyExternalPool = 0x800BC01C; // type:func
func_800E6128 = 0x800BC028; // type:func
func_800E6300 = 0x800BC200; // type:func
func_800E64B0 = 0x800BC3B0; // type:func
func_800E64F8 = 0x800BC3F8; // type:func
func_800E651C = 0x800BC41C; // type:func
Audio_WaitForAudioTask = 0x800BC450; // type:func
AudioThread_ResetAudioHeap = 0x800BBE88; // type:func
AudioThread_PreNMIInternal = 0x800BBF24; // type:func
AudioThread_GetChannelIO = 0x800BBF70; // type:func
AudioThread_GetSeqPlayerIO = 0x800BBFC4; // type:func
AudioThread_InitExternalPool = 0x800BBFEC; // type:func
AudioThread_ResetExternalPool = 0x800BC01C; // type:func
AudioThread_ProcessSeqPlayerCmd = 0x800BC028; // type:func
AudioThread_ProcessChannelCmd = 0x800BC200; // type:func
AudioThread_Noop1Cmd = 0x800BC3B0; // type:func
AudioThread_Noop1CmdZeroed = 0x800BC3F8; // type:func
AudioThread_Noop2Cmd = 0x800BC41C; // type:func
AudioThread_WaitForAudioTask = 0x800BC450; // type:func
func_800E6590 = 0x800BC490; // type:func
func_800E6680 = 0x800BC580; // type:func
func_800E66A0 = 0x800BC5A0; // type:func
func_800E66C0 = 0x800BC5C0; // type:func
Audio_NextRandom = 0x800BC6C0; // type:func
Audio_InitMesgQueues = 0x800BC718; // type:func
AudioThread_NextRandom = 0x800BC6C0; // type:func
AudioThread_InitMesgQueues = 0x800BC718; // type:func
Audio_InvalDCache = 0x800BC740; // type:func
Audio_WritebackDCache = 0x800BC780; // type:func
osAiSetNextBuffer = 0x800BC7C0; // type:func
@ -2702,7 +2702,7 @@ AudioOcarina_PlayLongScarecrowSong = 0x800C4724; // type:func
AudioOcarina_ResetStaffs = 0x800C4830; // type:func
AudioDebug_Draw = 0x800C487C; // type:func
AudioDebug_ScrPrt = 0x800C4884; // type:func
func_800F3054 = 0x800C4890; // type:func
Audio_Update = 0x800C4890; // type:func
func_800F3138 = 0x800C4934; // type:func
func_800F3140 = 0x800C493C; // type:func
func_800F314C = 0x800C4948; // type:func

View file

@ -472,7 +472,7 @@ zeroes = 0x80102694; // size:0x21
__osPfsInodeCacheChannel = 0x80102730; // size:0x4
__osPfsInodeCacheBank = 0x80102734; // size:0x1
__osPfsLastChannel = 0x80102740; // size:0x4
D_8014A6C0 = 0x80107240; // size:0x4
gTempoData = 0x80107240; // size:0x4
gAudioHeapInitSizes = 0x80107244; // size:0xC
__libm_qnan_f = 0x80107740; // size:0x4
sTextFade = 0x801077C0; // size:0x2
@ -675,7 +675,7 @@ sSfxBankListEnd = 0x80123020; // size:0x7
sSfxBankFreeListStart = 0x80123028; // size:0x7
sSfxBankUnused = 0x80123030; // size:0x7
gActiveSfx = 0x80123038; // size:0xA8
sCurSfxPlayerChannelIdx = 0x801230E0; // size:0x1
sCurSfxPlayerChannelIndex = 0x801230E0; // size:0x1
gSfxBankMuted = 0x801230E4; // size:0x7
sUnusedBankLerp = 0x801230F0; // size:0x70
sSeqRequests = 0x80123160; // size:0x28
@ -683,7 +683,7 @@ sNumSeqRequests = 0x80123188; // size:0x4
sAudioSeqCmds = 0x80123190; // size:0x400
gActiveSeqs = 0x80123590; // size:0x990
gAudioCtx = 0x80123FC0; // size:0x6450
D_801755D0 = 0x8012A410; // size:0x4
gAudioCustomUpdateFunction = 0x8012A410; // size:0x4
gUseAtanContFrac = 0x8012A440; // size:0x4
gSystemArena = 0x8012A450; // size:0x24 type:Arena
sArenaLockMsg = 0x8012A490; // size:0x4 type:OSMesg