A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Address | Length | Name | Arguments | Return | Description | State | Header | ||||||||||||||||||
2 | c0 | 44 | InterruptSetup | void | void | Sets the Pointer To Interrupt Code and calls MainGameLoop | Complete | ctr0.s | ||||||||||||||||||
3 | 104 | 138 | InterruptCode | void | void | Interrupt code | Complete | intr_main.s | ||||||||||||||||||
4 | 23c | 464 | MainGameLoop | void | void | Main game loop | Complete | agbmain.c | ||||||||||||||||||
5 | 6a0 | 124 | InitializeGame | void | void | Initialize the game data | Complete | init_game.h | ||||||||||||||||||
6 | 7c4 | 12 | VBlankCodeDuringSoftReset | void | void | Vblank code during soft reset, empty, writes a volatile | Complete | softreset_input.h | ||||||||||||||||||
7 | 7d0 | 34 | SoftResetCheck | void | void | Checks if a soft reset should happen | Complete | |||||||||||||||||||
8 | 804 | 108 | SoftReset | void | void | Handles a soft reset | Complete | |||||||||||||||||||
9 | 90c | c | CallLZ77UnComp16Bit | r0 = Source Address ; r1 = Destination Address | void | Calls LZ77UnCompReadNormalWrite16bit | Complete | syscall_wrappers.h | ||||||||||||||||||
10 | 918 | c | CallLZ77UnComp8Bit | r0 = Source Address ; r1 = Destination Address | void | Calls LZ77UnCompReadNormalWrite8bit | Complete | |||||||||||||||||||
11 | 924 | 1c | TestDivArmSqrt | void | void | Calls both DivArm and Sqrt with test values | Complete | |||||||||||||||||||
12 | 940 | 10 | CallSoundBias | void | void | Calls SoundBias0 and SoundBias0x200 | Complete | |||||||||||||||||||
13 | 950 | c | CallMultiBoot | void | void | Calls MultiBoot | Complete | |||||||||||||||||||
14 | 95c | c | CallVBlankIntrWait | void | void | Calls VBlankIntrWait | Complete | |||||||||||||||||||
15 | 968 | 38 | UpdateInput | void | void | Updates the input | Complete | |||||||||||||||||||
16 | 9a0 | 48 | ClearGFXRAM | void | void | Clears OAM, PALRAM and VRAM | Complete | memory.h | ||||||||||||||||||
17 | 9e8 | 30 | LoadInterruptCode | void | void | Loads the interrupt code | Complete | init_helpers.h | ||||||||||||||||||
18 | a18 | 34 | ResetFreeOAM | void | void | Resets the OAM | Complete | |||||||||||||||||||
19 | a4c | 1c | FixedPointMultiply | r0 = Multiplicand ; r1 = Multiplier / 0x100 | r0 = Product | Fixed-point multiplication of two values, where the second has a scaling factor of 1/256 | Complete | fixed_point.h | ||||||||||||||||||
20 | a68 | 18 | FixedPointDivide | r0 = Dividend ; r1 = Divisor | r0 = Quotient | Fixed-point division of two values, where the second has a scaling factor of 1/4 | Complete | |||||||||||||||||||
21 | a80 | 18 | FixedPointInverse | r0 = Divisor | r0 = Quotient | Fixed-point division of a value, with a scaling factor of 1/65536 | Complete | |||||||||||||||||||
22 | a98 | 4c | CallVBlankCode | void | void | Calls the Vblank code with the function in VBlankCodePointer | Complete | callbacks.h | ||||||||||||||||||
23 | ae4 | 1c | SetVBlankCodePointer | r0 = Vblank Code Pointer | void | Sets VBlankCodePointer to r0 | Complete | |||||||||||||||||||
24 | b00 | 24 | CallHBlankCode | void | void | Calls the Vblank code with the function in HBlankCodePointer | Complete | |||||||||||||||||||
25 | b24 | 1c | SetHBlankCodePointer | r0 = Hblank Code Pointer | void | Sets HBlankCodePointer to r0 | Complete | |||||||||||||||||||
26 | b40 | 24 | CallVCountCode | void | void | Calls the VCount code with the function in VCountCodePointer | Complete | |||||||||||||||||||
27 | b64 | 1c | SetVCountCodePointer | r0 = Vcount Code Pointer | void | Sets VCountCodePointer to r0 | Complete | |||||||||||||||||||
28 | b80 | 24 | CallSerialCommunicationCode | void | void | Calls the serial communication code with the function in SerialCommunicationCodePointer | Complete | |||||||||||||||||||
29 | ba4 | 1c | SetSerialCommunicationCodePointer | r0 = Serial Communication Code Pointer | void | Sets SerialCommunicationCodePointer to r0 | Complete | |||||||||||||||||||
30 | bc0 | 24 | CallTimer3OverflowCode | void | void | Calls the timer 3 overflow code with the function in Timer3OverflowCodePointer | Complete | |||||||||||||||||||
31 | be4 | 1c | SetTimer3OverflowCode | r0 = Timer 3 Overflow Code Pointer | void | Sets Timer3OverflowCodePointer to r0 | Complete | |||||||||||||||||||
32 | c00 | 4 | EmptyInterruptHandler | void | void | Empty function (interrupt handler) | Complete | |||||||||||||||||||
33 | c04 | 44 | EraseSRAM | void | void | Erases the SRAM | Complete | sram_misc.h | ||||||||||||||||||
34 | c48 | 374 | DoSRAMOperation | r0 = Operation | r0 = Pointer To Difference | Does an SRAM operation | Complete | |||||||||||||||||||
35 | fbc | 108 | SRAMRelated | r0 = ? | r0 = ? | ? | Complete | |||||||||||||||||||
36 | 10c4 | 394 | UpdateMusic? | void | void | Updates the music? | Defined | audio.h | ||||||||||||||||||
37 | 1458 | 3f8 | UpdatePSGSounds | void | void | Updates the PSG sounds | Defined | |||||||||||||||||||
38 | 1850 | 3a0 | UpdateTrack | r0 = Track Data Pointer | void | Updates the track in r0 | Complete | |||||||||||||||||||
39 | 1bf0 | 28 | MusicRelated? | r0 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
40 | 1c18 | 24 | MusicRelated? | r0 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
41 | 1c3c | 90 | MusicRelated? | r0 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
42 | 1ccc | 90 | MusicRelated? | r0 = Track Variables Pointer ; r1 = ? | void | ? | Complete | |||||||||||||||||||
43 | 1d5c | 1c | MusicRelated? | r0 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
44 | 1d78 | 64 | MusicRelated? | r0 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
45 | 1ddc | c | MusicRelated? | r0 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
46 | 1de8 | 44 | MusicRelated? | r0 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
47 | 1e2c | 110 | MusicRelated? | r0 = Track Data Pointer ; r1 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
48 | 1f3c | 54 | MusicRelated? | r0 = Track Data Pointer ; r1 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
49 | 1f90 | 50 | MusicRelated? | r0 = Track Data Pointer ; r1 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
50 | 1fe0 | 50 | MusicRelated? | r0 = Track Data Pointer ; r1 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
51 | 2030 | 74 | MusicRelated? | r0 = PSG Sound Pointer ; r1 = Track Variables Pointer ; r2 = ? | void | ? | Complete | |||||||||||||||||||
52 | 20a4 | 30 | MusicRelated? | r0 = Sound Channel Pointer | void | ? | Complete | |||||||||||||||||||
53 | 20d4 | 6c | GetNoteDelay? | r0 = Track Variables Pointer ; r1 = Note ; r2 = ? | r0 = Note Delay? | Gets the note delay for a note? | Complete | |||||||||||||||||||
54 | 2140 | 70 | AudioCommand_Fine | r0 = Track Data Pointer ; r1 = Track Variables Pointer | void | Processes the audio command FINE | Complete | |||||||||||||||||||
55 | 21b0 | 7c | MusicRelated? | r0 = Track Data Pointer ; r1 = Track Variables Pointer | void | ? | Complete | |||||||||||||||||||
56 | 222c | 38 | AudioCommand_PatternEnd | r0 = Track Variables Pointer | void | Processes the audio command PEND | Complete | |||||||||||||||||||
57 | 2264 | 40 | AudioCommand_Repeat | r0 = Track Variables Pointer | void | Processes the audio command REPT | Complete | |||||||||||||||||||
58 | 22a4 | 10 | AudioCommand_Priority | r0 = Track Variables Pointer | void | Processes the audio command PRIO | Complete | |||||||||||||||||||
59 | 22b4 | 18 | AudioCommand_KeyShift | r0 = Track Variables Pointer | void | Processes the audio command KEYSH | Complete | |||||||||||||||||||
60 | 22cc | c0 | AudioCommand_Voice | r0 = Track Data Pointer ; r1 = Track Variables Pointer | void | Processes the audio command VOICE | Complete | |||||||||||||||||||
61 | 238c | 14 | AudioCommand_Volume | r0 = Track Variables Pointer | void | Processes the audio command VOICE | Complete | |||||||||||||||||||
62 | 23a0 | 14 | AudioCommand_PanPot | r0 = Track Variables Pointer | void | Processes the audio command PAN | Complete | |||||||||||||||||||
63 | 23b4 | 18 | AudioCommand_PitchBend | r0 = Track Variables Pointer | void | Processes the audio command BEND | Complete | |||||||||||||||||||
64 | 23cc | 14 | AudioCommand_BendRange | r0 = Track Variables Pointer | void | Processes the audio command BENDR | Complete | |||||||||||||||||||
65 | 23e0 | 10 | AudioCommand_LfoSpeed | r0 = Track Variables Pointer | void | Processes the audio command LFOS | Complete | |||||||||||||||||||
66 | 23f0 | 10 | AudioCommand_LfoDelay | r0 = Track Variables Pointer | void | Processes the audio command LFODL | Complete | |||||||||||||||||||
67 | 2400 | c | AudioCommand_ModulationDepth | r0 = Track Variables Pointer | void | Processes the audio command MOD | Complete | |||||||||||||||||||
68 | 240c | c | AudioCommand_ModulationType | r0 = Track Variables Pointer | void | Processes the audio command MODT | Complete | |||||||||||||||||||
69 | 2418 | 18 | AudioCommand_Tune | r0 = Track Variables Pointer | void | Processes the audio command TUNE | Complete | |||||||||||||||||||
70 | 2430 | 30 | AudioCommand_ExtendCommand | r0 = Track Variables Pointer | void | Processes the audio command XCMD | Complete | |||||||||||||||||||
71 | 2460 | 5c | AudioCommand_EndOfTie | r0 = Track Variables Pointer | void | Processes the audio command EOT | Complete | |||||||||||||||||||
72 | 24bc | 4 | Music_Empty | r0 = Track Variables Pointer | void | Empty function | Complete | |||||||||||||||||||
73 | 24c0 | 5c | ClearRegistersForPSG | r0 = PSG Sound Pointer ; r1 = Sound Channel | void | Clears the sound registers for a PSG sound, which ends the sound | Complete | |||||||||||||||||||
74 | 251c | 48 | ClearRegistersForPSG_Unused | r0 = PSG Sound Pointer ; r1 = Sound Channel | void | Clears the sound registers for a PSG sound, which ends the sound, unused | Complete | |||||||||||||||||||
75 | 2564 | 294 | InitializeAudio | void | void | Initializes registers and RAM values that are related to sound/music (sets the pointers to the sound codes) | Complete | audio_wrappers.h | ||||||||||||||||||
76 | 27f8 | fc | DoSoundAction | r0 = Action? | void | Updates the SOUNDCNT_H register | Complete | |||||||||||||||||||
77 | 28f4 | 124 | SetupSoundTransfer | void | void | Sets up 2 repeat DMA Transfers from the raw sound data to the FIFO channels | Complete | |||||||||||||||||||
78 | 2a18 | 10 | PlaySound | r0 = Sound ID | void | Plays a sound | Complete | |||||||||||||||||||
79 | 2a28 | 10 | StopSound | r0 = Sound ID | void | Stops a sound | Complete | |||||||||||||||||||
80 | 2a38 | 20 | SoundRelated? | r0 = Track Data Pointer | void | ? | Complete | |||||||||||||||||||
81 | 2a58 | 34 | StopAllMusicsAndSounds | void | void | Stops every music/sound currently playing | Complete | |||||||||||||||||||
82 | 2a8c | 40 | SoundRelated? | void | void | ? | Complete | |||||||||||||||||||
83 | 2acc | 54 | FadeSounds | r0 = Timer | void | Fades every single sound | Complete | |||||||||||||||||||
84 | 2b20 | 44 | CheckPlayNotAlreadyPlayingSound | r0 = Sound ID | void | Plays a sound, only if it's not currently playing | Complete | |||||||||||||||||||
85 | 2b64 | 6e | SoundRelated? | r0 = Sound ID | void | ? | Complete | |||||||||||||||||||
86 | 2bd4 | 3c | SoundRelated? | r0 = Sound ID | void | ? | Complete | |||||||||||||||||||
87 | 2c10 | 3c | SoundRelated? | r0 = Track Data Pointer | void | ? | Complete | |||||||||||||||||||
88 | 2c4c | 34 | SoundRelated? | void | void | ? | Complete | |||||||||||||||||||
89 | 2c80 | 14 | FadeSound | r0 = Sound ID ; r1 = Timer | void | Fades a sound | Complete | |||||||||||||||||||
90 | 2c94 | 54 | ApplyMusicSoundFading | r0 = Track Data Pointer ; r1 = Timer | void | Applies the fading for a sound/music | Complete | |||||||||||||||||||
91 | 2ce8 | 44 | ApplyRawMusicSoundFading | r0 = Track Data Pointer ; r1 = Timer | void | Applies the fading for a sound/music without checking if it should stop/reset the track | Complete | |||||||||||||||||||
92 | 2d2c | bc | SoundRelated? | r0 = Track Data Pointer | void | ? | Complete | |||||||||||||||||||
93 | 2de8 | 14 | PlayFadingSound | r0 = Sound ID ; r1 = Timer | void | Plays a fading in sound (used to replay the elevator sound after a cutscene) | Complete | |||||||||||||||||||
94 | 2dfc | 38 | InitFadingMusic | r0 = Track Data Pointer ; r1 = Sound Header Pointer ; r2 = Timer | void | Initialises a music that fades in | Complete | |||||||||||||||||||
95 | 2e34 | 38 | SoundRelated? | r0 = Track Data Pointer ; r1 = Timer | void | ? | Complete | |||||||||||||||||||
96 | 2e6c | 94 | SoundRelated? | r0 = Track Data Pointer | void | ? | Complete | |||||||||||||||||||
97 | 2f00 | 128 | MusicRelated? | r0 = First Music Track ; r1 = Second Music Track ; r2 = Timer | void | ? | Complete | |||||||||||||||||||
98 | 3028 | 30 | SoundRelated? | r0 = Track Data Pointer ; r1 = ? | void | ? | Complete | |||||||||||||||||||
99 | 3058 | 5c | SoundRelated? | r0 = Track Data Pointer ; r1 = Mask ; r2 = ? | void | ? | Complete | |||||||||||||||||||
100 | 30b4 | 5c | SoundRelated? | r0 = Track Data Pointer ; r1 = Mask ; r2 = ? | void | ? | Complete |