2020-03-17 04:31:30 +00:00
|
|
|
.include "macro.inc"
|
|
|
|
|
|
|
|
# assembler directives
|
|
|
|
.set noat # allow manual use of $at
|
|
|
|
.set noreorder # don't insert nops after branches
|
2020-05-26 22:09:00 +00:00
|
|
|
.set gp=64 # allow use of 64-bit general purpose registers
|
2020-03-17 04:31:30 +00:00
|
|
|
|
|
|
|
.section .data
|
|
|
|
|
2020-05-26 22:09:00 +00:00
|
|
|
.balign 16
|
|
|
|
|
2020-06-05 17:18:39 +00:00
|
|
|
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
|
|
|
|
|
2020-04-21 08:19:33 +00:00
|
|
|
glabel gWaveSamples
|
2020-06-04 21:51:14 +00:00
|
|
|
.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
|
2020-03-17 04:31:30 +00:00
|
|
|
|
2020-08-15 18:06:26 +00:00
|
|
|
glabel gPitchBendFrequencyScale
|
|
|
|
.incbin "baserom.z64", 0xBA6254, 0x400
|
2020-03-17 04:31:30 +00:00
|
|
|
|
|
|
|
glabel D_8012F4B4
|
|
|
|
.incbin "baserom.z64", 0xBA6654, 0x200
|
|
|
|
|
|
|
|
glabel D_8012F6B4
|
|
|
|
.incbin "baserom.z64", 0xBA6854, 0x200
|
|
|
|
|
2020-09-01 21:23:30 +00:00
|
|
|
glabel gNoteFrequencies
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6A54, 0x200
|
|
|
|
|
2020-09-01 21:23:30 +00:00
|
|
|
glabel gDefaultShortNoteVelocityTable
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6C54, 0x10
|
|
|
|
|
2021-11-07 16:58:50 +00:00
|
|
|
glabel gDefaultShortNoteGateTimeTable
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6C64, 0x10
|
|
|
|
|
2020-09-01 21:23:30 +00:00
|
|
|
glabel gDefaultEnvelope
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6C74, 0x10
|
|
|
|
|
2020-04-21 08:19:33 +00:00
|
|
|
glabel gZeroNoteSub
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6C84, 0x20
|
|
|
|
|
2020-04-21 08:19:33 +00:00
|
|
|
glabel gDefaultNoteSub
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6CA4, 0x20
|
|
|
|
|
2020-04-21 08:19:33 +00:00
|
|
|
glabel gHeadsetPanQuantization
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6CC4, 0x7E
|
|
|
|
|
|
|
|
glabel D_8012FBA2
|
|
|
|
.incbin "baserom.z64", 0xBA6D42, 0x8
|
|
|
|
|
|
|
|
glabel D_8012FBAA
|
|
|
|
.incbin "baserom.z64", 0xBA6D4A, 0x7E
|
|
|
|
|
2020-04-21 08:19:33 +00:00
|
|
|
glabel gHeadsetPanVolume
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6DC8, 0x1FC
|
|
|
|
|
|
|
|
glabel D_8012FE24
|
|
|
|
.incbin "baserom.z64", 0xBA6FC4, 0x4
|
|
|
|
|
2020-04-21 08:19:33 +00:00
|
|
|
glabel gStereoPanVolume
|
2021-09-01 22:33:37 +00:00
|
|
|
.incbin "baserom.z64", 0xBA6FC8, 0x200
|
2020-03-17 04:31:30 +00:00
|
|
|
|
2020-04-21 08:19:33 +00:00
|
|
|
glabel gDefaultPanVolume
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA71C8, 0x1FC
|
|
|
|
|
|
|
|
glabel D_80130224
|
|
|
|
.incbin "baserom.z64", 0xBA73C4, 0x4
|
|
|
|
|
2021-11-07 16:58:50 +00:00
|
|
|
glabel sLowPassFilterData
|
2020-03-17 04:31:30 +00:00
|
|
|
.incbin "baserom.z64", 0xBA73C8, 0x100
|
|
|
|
|
2021-11-07 16:58:50 +00:00
|
|
|
glabel sHighPassFilterData
|
2020-03-17 04:31:30 +00:00
|
|
|
.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
|