* More matches in code_80091750
Fixed some missing balign directives in some assembly files.
A lot of these matches are dependent on flattening a bunch of
arrays, which feels icky but makes matching possible.
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Matched another function
Updated the attempts for a couple others
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
Also deleted an unused .c file, its current name is `effects.c`
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
Also updated ctx_includes to match the current state of the
repository (primarily fixing the trig_table include location)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
his PR cleans up segment related code in main.c.
Also cleans up the linker a bit.
Add memory pool to linker as .bss to validate that it exists properly.
Move framebuffers, gfx, and audio buffers out of racing segment and make its own segment.
Rename framebuffers.c to buffers.c as it contains more than just framebuffers.
Import asserts from sm64 to validate that code segments are not overlapping
Rename segNoload to segmentNoload
Rename 802BA370 segment to trigTables
Rename gMenuSelectionFromEndingSequence to gGotoMenu
Rename gMenuSelectionFromQuit to gGotoMode
Rename SEG_ENDING_SEQUENCES to SEG_ENDING
Rename data_821D10 to ceremonyData
Rename data_825800 to startupLogo
* Some matches in code_80091750
Found a couple functions that had not been split out properly
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* More matches
Signed-off-by: Taggerung <tyler.taggerung@email.com>
---------
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
* Update and rename code_8001F980.c to render_player.c
* Rename code_8001F980.h to render_player.h
* rename import file to render_player
* Update and rename code_80004740.c to save.c
* Rename code_80004740.h to save.h
* Match create_next_audio_frame_task
Required some variable renaming and other changes
* Match synthesis_execute
I'm not entirly sure about the way we have stuff ifdef'd in
PR/abi.h. I feel like we're doing something slightly wrong there
* Match synthesis_do_one_audio_update
There's something super fucked with the way our ifdef's work in
abi.h. It is going to demand a lot more attention sometime in the
future.
* Rename a couple functions
Also had to hack up the ABI file a bit. I'm convinced that we
don't need nor want to have the EU/Shindou/US split thing the
SM64 code does. There's probably just the 1 ABI version being
used and we need to figure out what it looks like
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Linkage for the ceremony_data file
Cleaned up all but 1 undefined symbol from the 0x0B range. The one
leftover may be something from texture_tkmk00. Or atleast, that's
what I think. Can't say for certain
* Startup logo linkage
Cleaned up a bunch of unused items from assets.json too
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Match audio/external.c BSS segment
Also fix a misnamed function found in audio/heap, used in
audio/load
* Match audio/seqplayer .data section
* Match func_800C76C0
That was the last function referencing some fake variables, so it
should be possible to match audio/external's .data section as
well
* Match audio/external's .data section
The only thing in src/audio left to be matched is audio/external's
.text section.
There's probably some beautifying that could be done to data/sound_data,
but that is a future problem
Signed-off-by: Taggerung <tyler.taggerung@email.com>