ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Address
LengthNameArgumentsReturnDescriptionStateHeader
2
c044InterruptSetupvoidvoidSets the Pointer To Interrupt Code and calls MainGameLoopCompletectr0.s
3
104138InterruptCodevoidvoidInterrupt codeCompleteintr_main.s
4
23c464MainGameLoopvoidvoidMain game loopCompleteagbmain.c
5
6a0124InitializeGamevoidvoidInitialize the game dataCompleteinit_game.h
6
7c412VBlankCodeDuringSoftResetvoidvoidVblank code during soft reset, empty, writes a volatileCompletesoftreset_input.h
7
7d034SoftResetCheckvoidvoidChecks if a soft reset should happenComplete
8
804108SoftResetvoidvoidHandles a soft resetComplete
9
90ccCallLZ77UnComp16Bitr0 = Source Address ; r1 = Destination AddressvoidCalls LZ77UnCompReadNormalWrite16bitCompletesyscall_wrappers.h
10
918cCallLZ77UnComp8Bitr0 = Source Address ; r1 = Destination AddressvoidCalls LZ77UnCompReadNormalWrite8bitComplete
11
9241cTestDivArmSqrtvoidvoidCalls both DivArm and Sqrt with test valuesComplete
12
94010CallSoundBiasvoidvoidCalls SoundBias0 and SoundBias0x200Complete
13
950cCallMultiBootvoidvoidCalls MultiBootComplete
14
95ccCallVBlankIntrWaitvoidvoidCalls VBlankIntrWaitComplete
15
96838UpdateInputvoidvoidUpdates the inputComplete
16
9a048ClearGFXRAMvoidvoidClears OAM, PALRAM and VRAMCompletememory.h
17
9e830LoadInterruptCodevoidvoidLoads the interrupt codeCompleteinit_helpers.h
18
a1834ResetFreeOAMvoidvoidResets the OAMComplete
19
a4c1cFixedPointMultiplyr0 = Multiplicand ; r1 = Multiplier / 0x100r0 = Product
Fixed-point multiplication of two values, where the second has a scaling factor of 1/256
Completefixed_point.h
20
a6818FixedPointDivider0 = Dividend ; r1 = Divisorr0 = QuotientFixed-point division of two values, where the second has a scaling factor of 1/4Complete
21
a8018FixedPointInverser0 = Divisorr0 = QuotientFixed-point division of a value, with a scaling factor of 1/65536Complete
22
a984cCallVBlankCodevoidvoidCalls the Vblank code with the function in VBlankCodePointerCompletecallbacks.h
23
ae41cSetVBlankCodePointerr0 = Vblank Code PointervoidSets VBlankCodePointer to r0Complete
24
b0024CallHBlankCodevoidvoidCalls the Vblank code with the function in HBlankCodePointerComplete
25
b241cSetHBlankCodePointerr0 = Hblank Code PointervoidSets HBlankCodePointer to r0Complete
26
b4024CallVCountCodevoidvoidCalls the VCount code with the function in VCountCodePointerComplete
27
b641cSetVCountCodePointerr0 = Vcount Code PointervoidSets VCountCodePointer to r0Complete
28
b8024CallSerialCommunicationCodevoidvoid
Calls the serial communication code with the function in SerialCommunicationCodePointer
Complete
29
ba41cSetSerialCommunicationCodePointerr0 = Serial Communication Code PointervoidSets SerialCommunicationCodePointer to r0Complete
30
bc024CallTimer3OverflowCodevoidvoidCalls the timer 3 overflow code with the function in Timer3OverflowCodePointerComplete
31
be41cSetTimer3OverflowCoder0 = Timer 3 Overflow Code PointervoidSets Timer3OverflowCodePointer to r0Complete
32
c004EmptyInterruptHandlervoidvoidEmpty function (interrupt handler)Complete
33
c0444EraseSRAMvoidvoidErases the SRAMCompletesram_misc.h
34
c48374DoSRAMOperationr0 = Operationr0 = Pointer To DifferenceDoes an SRAM operationComplete
35
fbc108SRAMRelatedr0 = ?r0 = ??Complete
36
10c4394UpdateMusic?voidvoidUpdates the music?Definedaudio.h
37
14583f8UpdatePSGSoundsvoidvoidUpdates the PSG soundsDefined
38
18503a0UpdateTrackr0 = Track Data PointervoidUpdates the track in r0Complete
39
1bf028MusicRelated?r0 = Track Variables Pointervoid?Complete
40
1c1824MusicRelated?r0 = Track Variables Pointervoid?Complete
41
1c3c90MusicRelated?r0 = Track Variables Pointervoid?Complete
42
1ccc90MusicRelated?r0 = Track Variables Pointer ; r1 = ?void?Complete
43
1d5c1cMusicRelated?r0 = Track Variables Pointervoid?Complete
44
1d7864MusicRelated?r0 = Track Variables Pointervoid?Complete
45
1ddccMusicRelated?r0 = Track Variables Pointervoid?Complete
46
1de844MusicRelated?r0 = Track Variables Pointervoid?Complete
47
1e2c110MusicRelated?r0 = Track Data Pointer ; r1 = Track Variables Pointervoid?Complete
48
1f3c54MusicRelated?r0 = Track Data Pointer ; r1 = Track Variables Pointervoid?Complete
49
1f9050MusicRelated?r0 = Track Data Pointer ; r1 = Track Variables Pointervoid?Complete
50
1fe050MusicRelated?r0 = Track Data Pointer ; r1 = Track Variables Pointervoid?Complete
51
203074MusicRelated?r0 = PSG Sound Pointer ; r1 = Track Variables Pointer ; r2 = ?void?Complete
52
20a430MusicRelated?r0 = Sound Channel Pointervoid?Complete
53
20d46cGetNoteDelay?r0 = Track Variables Pointer ; r1 = Note ; r2 = ?r0 = Note Delay?Gets the note delay for a note?Complete
54
214070AudioCommand_Finer0 = Track Data Pointer ; r1 = Track Variables PointervoidProcesses the audio command FINEComplete
55
21b07cMusicRelated?r0 = Track Data Pointer ; r1 = Track Variables Pointervoid?Complete
56
222c38AudioCommand_PatternEndr0 = Track Variables PointervoidProcesses the audio command PENDComplete
57
226440AudioCommand_Repeatr0 = Track Variables PointervoidProcesses the audio command REPTComplete
58
22a410AudioCommand_Priorityr0 = Track Variables PointervoidProcesses the audio command PRIOComplete
59
22b418AudioCommand_KeyShiftr0 = Track Variables PointervoidProcesses the audio command KEYSHComplete
60
22ccc0AudioCommand_Voicer0 = Track Data Pointer ; r1 = Track Variables PointervoidProcesses the audio command VOICEComplete
61
238c14AudioCommand_Volumer0 = Track Variables PointervoidProcesses the audio command VOICEComplete
62
23a014AudioCommand_PanPotr0 = Track Variables PointervoidProcesses the audio command PANComplete
63
23b418AudioCommand_PitchBendr0 = Track Variables PointervoidProcesses the audio command BENDComplete
64
23cc14AudioCommand_BendRanger0 = Track Variables PointervoidProcesses the audio command BENDRComplete
65
23e010AudioCommand_LfoSpeedr0 = Track Variables PointervoidProcesses the audio command LFOSComplete
66
23f010AudioCommand_LfoDelayr0 = Track Variables PointervoidProcesses the audio command LFODLComplete
67
2400cAudioCommand_ModulationDepthr0 = Track Variables PointervoidProcesses the audio command MODComplete
68
240ccAudioCommand_ModulationTyper0 = Track Variables PointervoidProcesses the audio command MODTComplete
69
241818AudioCommand_Tuner0 = Track Variables PointervoidProcesses the audio command TUNEComplete
70
243030AudioCommand_ExtendCommandr0 = Track Variables PointervoidProcesses the audio command XCMDComplete
71
24605cAudioCommand_EndOfTier0 = Track Variables PointervoidProcesses the audio command EOTComplete
72
24bc4Music_Emptyr0 = Track Variables PointervoidEmpty functionComplete
73
24c05cClearRegistersForPSGr0 = PSG Sound Pointer ; r1 = Sound ChannelvoidClears the sound registers for a PSG sound, which ends the soundComplete
74
251c48ClearRegistersForPSG_Unusedr0 = PSG Sound Pointer ; r1 = Sound ChannelvoidClears the sound registers for a PSG sound, which ends the sound, unusedComplete
75
2564294InitializeAudiovoidvoidInitializes registers and RAM values that are related to sound/music
(sets the pointers to the sound codes)
Completeaudio_wrappers.h
76
27f8fcDoSoundActionr0 = Action?voidUpdates the SOUNDCNT_H registerComplete
77
28f4124SetupSoundTransfervoidvoidSets up 2 repeat DMA Transfers from the raw sound data to the FIFO channelsComplete
78
2a1810PlaySoundr0 = Sound IDvoidPlays a soundComplete
79
2a2810StopSoundr0 = Sound IDvoidStops a soundComplete
80
2a3820SoundRelated?r0 = Track Data Pointervoid?Complete
81
2a5834StopAllMusicsAndSoundsvoidvoidStops every music/sound currently playingComplete
82
2a8c40SoundRelated?voidvoid?Complete
83
2acc54FadeSoundsr0 = TimervoidFades every single soundComplete
84
2b2044CheckPlayNotAlreadyPlayingSoundr0 = Sound IDvoidPlays a sound, only if it's not currently playingComplete
85
2b646eSoundRelated?r0 = Sound IDvoid?Complete
86
2bd43cSoundRelated?r0 = Sound IDvoid?Complete
87
2c103cSoundRelated?r0 = Track Data Pointervoid?Complete
88
2c4c34SoundRelated?voidvoid?Complete
89
2c8014FadeSoundr0 = Sound ID ; r1 = TimervoidFades a soundComplete
90
2c9454ApplyMusicSoundFadingr0 = Track Data Pointer ; r1 = TimervoidApplies the fading for a sound/musicComplete
91
2ce844ApplyRawMusicSoundFadingr0 = Track Data Pointer ; r1 = Timervoid
Applies the fading for a sound/music without checking if it should stop/reset the track
Complete
92
2d2cbcSoundRelated?r0 = Track Data Pointervoid?Complete
93
2de814PlayFadingSoundr0 = Sound ID ; r1 = TimervoidPlays a fading in sound (used to replay the elevator sound after a cutscene)Complete
94
2dfc38InitFadingMusic
r0 = Track Data Pointer ; r1 = Sound Header Pointer ; r2 = Timer
voidInitialises a music that fades inComplete
95
2e3438SoundRelated?r0 = Track Data Pointer ; r1 = Timervoid?Complete
96
2e6c94SoundRelated?r0 = Track Data Pointervoid?Complete
97
2f00128MusicRelated?r0 = First Music Track ; r1 = Second Music Track ; r2 = Timervoid?Complete
98
302830SoundRelated?r0 = Track Data Pointer ; r1 = ?void?Complete
99
30585cSoundRelated?r0 = Track Data Pointer ; r1 = Mask ; r2 = ?void?Complete
100
30b45cSoundRelated?r0 = Track Data Pointer ; r1 = Mask ; r2 = ?void?Complete