mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-13 02:10:57 +00:00
Audio WIP (#836)
* being code_800EC960 * wip * wip * more audio progress * migrate data in code_800E11F0 * wip * make ok * remove asm * wip * move some variables outside of gAudioContext to the AudioContext structure due to the size used in func_800E3094 * more progress * wip * wip * split code_800E11F0 * migrate rodata in code_800E11F0 * match functions that couldn't because of data issues * move code_800E4FE0 asm files * wip * more wip * fix global functions, and forward declarations * wip * wip * wip * ocarina wip * match a couple functions * some progress * separate some bss * match func_800EDA3C * some matching * more matches * migrate audio rodata * some matches * more matchess * start on synthesis * work on synthesis * fix function declaration * Merge branch 'master' into audio * match a few more functions * wip * wip * more matching, rename Audio_SetBGM to Audio_QueueSeqCmd * name several audio functions, and audiocontext members * more naming, rename code_800E11F0 to audio_load, code_800DAAC0 to audio_synthesis * audio wip * match a few more functions. * wip * add missing NON_MATCHING directive * wip * some matching, data reogranization * match cursed function * wip * wip * formatting * remove prefix from struct memebers * missed function rename * review Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
cc9a04feb4
commit
d1a5ea5110
429 changed files with 9047 additions and 17038 deletions
138
data/audio_synthesis.data.s
Normal file
138
data/audio_synthesis.data.s
Normal file
|
@ -0,0 +1,138 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_8012E090
|
||||
.incbin "baserom.z64", 0xBA5230, 0x200
|
||||
|
||||
glabel D_8012E290
|
||||
.incbin "baserom.z64", 0xBA5430, 0x200
|
||||
|
||||
glabel D_8012E490
|
||||
.incbin "baserom.z64", 0xBA5630, 0x200
|
||||
|
||||
glabel D_8012E690
|
||||
.incbin "baserom.z64", 0xBA5830, 0x200
|
||||
|
||||
glabel D_8012E890
|
||||
.incbin "baserom.z64", 0xBA5A30, 0x200
|
||||
|
||||
glabel D_8012EA90
|
||||
.incbin "baserom.z64", 0xBA5C30, 0x200
|
||||
|
||||
glabel D_8012EC90
|
||||
.incbin "baserom.z64", 0xBA5E30, 0x200
|
||||
|
||||
glabel D_8012EE90
|
||||
.incbin "baserom.z64", 0xBA6030, 0x200
|
||||
|
||||
glabel gWaveSamples
|
||||
.word D_8012E090
|
||||
.word D_8012E290
|
||||
.word D_8012E490
|
||||
.word D_8012E690
|
||||
.word D_8012E890
|
||||
.word D_8012EA90
|
||||
.word D_8012EC90
|
||||
.word D_8012EE90
|
||||
.word D_8012EE90
|
||||
|
||||
glabel gPitchBendFrequencyScale
|
||||
.incbin "baserom.z64", 0xBA6254, 0x400
|
||||
|
||||
glabel D_8012F4B4
|
||||
.incbin "baserom.z64", 0xBA6654, 0x200
|
||||
|
||||
glabel D_8012F6B4
|
||||
.incbin "baserom.z64", 0xBA6854, 0x200
|
||||
|
||||
glabel gNoteFrequencies
|
||||
.incbin "baserom.z64", 0xBA6A54, 0x200
|
||||
|
||||
glabel gDefaultShortNoteVelocityTable
|
||||
.incbin "baserom.z64", 0xBA6C54, 0x10
|
||||
|
||||
glabel gDefaultShortNoteDurationTable
|
||||
.incbin "baserom.z64", 0xBA6C64, 0x10
|
||||
|
||||
glabel gDefaultEnvelope
|
||||
.incbin "baserom.z64", 0xBA6C74, 0x10
|
||||
|
||||
glabel gZeroNoteSub
|
||||
.incbin "baserom.z64", 0xBA6C84, 0x20
|
||||
|
||||
glabel gDefaultNoteSub
|
||||
.incbin "baserom.z64", 0xBA6CA4, 0x20
|
||||
|
||||
glabel gHeadsetPanQuantization
|
||||
.incbin "baserom.z64", 0xBA6CC4, 0x7E
|
||||
|
||||
glabel D_8012FBA2
|
||||
.incbin "baserom.z64", 0xBA6D42, 0x8
|
||||
|
||||
glabel D_8012FBAA
|
||||
.incbin "baserom.z64", 0xBA6D4A, 0x7E
|
||||
|
||||
glabel gHeadsetPanVolume
|
||||
.incbin "baserom.z64", 0xBA6DC8, 0x1FC
|
||||
|
||||
glabel D_8012FE24
|
||||
.incbin "baserom.z64", 0xBA6FC4, 0x4
|
||||
|
||||
glabel gStereoPanVolume
|
||||
.incbin "baserom.z64", 0xBA6FC8, 0x1D7
|
||||
|
||||
glabel D_8012FFFF
|
||||
.incbin "baserom.z64", 0xBA719F, 0x2
|
||||
|
||||
glabel D_80130001
|
||||
.incbin "baserom.z64", 0xBA71A1, 0x1
|
||||
|
||||
glabel D_80130002
|
||||
.incbin "baserom.z64", 0xBA71A2, 0x2
|
||||
|
||||
glabel D_80130004
|
||||
.incbin "baserom.z64", 0xBA71A4, 0x2
|
||||
|
||||
glabel D_80130006
|
||||
.incbin "baserom.z64", 0xBA71A6, 0x1E
|
||||
|
||||
glabel D_80130024
|
||||
.incbin "baserom.z64", 0xBA71C4, 0x4
|
||||
|
||||
glabel gDefaultPanVolume
|
||||
.incbin "baserom.z64", 0xBA71C8, 0x1FC
|
||||
|
||||
glabel D_80130224
|
||||
.incbin "baserom.z64", 0xBA73C4, 0x4
|
||||
|
||||
glabel D_80130228
|
||||
.incbin "baserom.z64", 0xBA73C8, 0x100
|
||||
|
||||
glabel D_80130328
|
||||
.incbin "baserom.z64", 0xBA74C8, 0x148
|
||||
|
||||
glabel D_80130470
|
||||
.incbin "baserom.z64", 0xBA7610, 0x30
|
||||
|
||||
glabel D_801304A0
|
||||
.incbin "baserom.z64", 0xBA7640, 0x4
|
||||
|
||||
glabel D_801304A4
|
||||
.incbin "baserom.z64", 0xBA7644, 0x4
|
||||
|
||||
glabel D_801304A8
|
||||
.incbin "baserom.z64", 0xBA7648, 0x4
|
||||
|
||||
glabel D_801304AC
|
||||
.incbin "baserom.z64", 0xBA764C, 0x14
|
||||
|
||||
glabel D_801304C0
|
||||
.incbin "baserom.z64", 0xBA7660, 0x10
|
Loading…
Add table
Add a link
Reference in a new issue