Tyler McGavran
d65aa8729d
Update some attempts ( #595 )
...
* Update some attempts
* Matched a func
2024-04-19 20:06:26 -06:00
Tyler McGavran
91e881c107
Matches in audio/external ( #570 )
...
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 >
2024-02-22 12:33:39 -05:00
coco875
d6663422b0
fix warning, type and document audio ( #559 )
...
* Document audio
* Update external.h
* fix warnings
* put a do while on one line
2024-02-13 07:27:58 -07:00
Tyler McGavran
291c1d40d6
Lots of mcathes in audio/external ( #473 )
...
Required making some changes to a the signatures of a couple
functions in other files
Signed-off-by: Taggerung <tyler.taggerung@email.com >
2023-10-19 17:26:14 -06:00
Tyler McGavran
318bf3a6c2
Match audio/external.c BSS segment ( #470 )
...
* 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 >
2023-10-19 12:31:33 -06:00
Joshua Peisach
78a7d02b87
Match func_800CA730, func_800518F8 and some code_80091750 stuff ( #421 )
...
* Match func_800CA730, func_800518F8
* a few more random code_80091750 matches
2023-09-17 07:04:46 -06:00
MegaMech
4ee09e005f
Import bss for audio and elsewhere ( #416 )
2023-09-12 19:43:54 -06:00
Tyler McGavran
ccfe604719
Assorted matches in audio/external ( #413 )
...
Signed-off-by: Taggerung <tyler.taggerung@email.com >
2023-09-09 23:50:03 -06:00
Joshua Peisach
b0ca74ff0d
Audio/external matches ( #412 )
...
* Match func_800C8920, func_800C8AE4, and..
Introduce struct Unk_800E9F7C and cleanup existing code
* Match func_800C40F0, add the likely other pos vars in the unk struct
* func_800C8CCC
2023-09-09 22:27:40 -06:00
Joshua Peisach
b723c1be14
a few matches ( #404 )
...
* code_8006E9C0: match func_80071818
* Match 800C8F80, 800917B0, 800AEF14
2023-09-08 10:08:47 -06:00
Joshua Peisach
c4c00f1598
more audio/external stuff ( #392 )
...
* audio/external: 800C3478
* audio/external: Match func_800C98B8, func_800C9DB0
* Fix build
2023-08-31 20:28:49 -06:00
Joshua Peisach
d08a8b6b29
audio/external: 800C5384 ( #390 )
2023-08-30 20:59:06 -06:00
Joshua Peisach
b9b1d2f0c1
audio/external: func_800C357C func_800C9D0C ( #386 )
...
Signed-off-by: Joshua Peisach <itzswirlz2020@outlook.com >
2023-08-26 11:46:54 -06:00
Joshua Peisach
c124377253
Push more matching! Primarily audio ( #372 )
...
* Push more matching! Primarily audio
2023-08-19 21:33:59 -06:00
MegaMech
27af470a46
Bumped Total Progress Script by 1.04% ( #371 )
...
* Matched camera.c
2023-08-15 13:07:23 -06:00
Joshua Peisach
727ceadfb4
audio/external: match 800C5CB8, 800C3448, 800CB2C4, 800C35E8 ( #359 )
...
* Match funcs in audio/external.c
2023-08-09 18:36:24 -06:00
Joshua Peisach
fe36d4a738
audio/external: Match 800CAD40/800CAFC0/800CAC60 ( #350 )
...
* audio/external: Match 800CAD40/800CAFC0
* Match func_800CAC60, mark unused arg0's as UNUSED
2023-08-08 11:40:30 -06:00
Tyler McGavran
782ed71f61
Massive data relocation ( #295 )
...
Mostly relocating rodata from data/* files to the appropriate
asm/nonmatching/* files, although there is some plain data
relocating to be found in here too.
Big change to note is the addition of the code_802AAA70.c file,
split from memory.c. Based on some padding in the ro/data for
memory it seems clear that a split is needed, although it is
not clear that exact spot chosen for the split is correct.
Still, it gets the file padding for the ro/data and text segments
correct so it can't be too wrong.
Also included is an update to the asm_processor tool to support
the .hword directive. I made a PR to the main repo of that
project with an identical change and it was accepted.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2023-03-29 18:52:15 -06:00
MegaMech
3172daa2ea
Matches in external and some namings in ceremony ( #281 )
...
* Matches in external and some namings in ceremony
2022-12-06 19:25:16 -07:00
coco875
d7c9a14908
Matches for audio/port_eu,external and fix lang problem ( #275 )
...
* some matches in audio in port_eu, heap, and external.
* update port eu
* Add export lang=c to makefile
* near match for func_800CBB48
* Update src/audio/heap.c
2022-11-20 18:23:49 -07:00
Tyler McGavran
a4faefbc20
Matches for audio/external ( #273 )
...
A lot of these matches come from observing the external audio
stuff in SM64 and realizing that a bunch a couple of the structs
in MK64 are just expanded version of their SM64 counterpart.
Presumably all the expansions are for handling the doppler effect,
although I can't say that with certainty
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-11-15 23:32:09 -07:00
Tyler McGavran
e9415164bb
Lots and lots of audio code copied from SM64 ( #270 )
...
* Lots of audio decomp
* effects and playback are 100% matched
* Took some notes from the SM64 Makefile to get the right compiler
options for a couple files
* Added the audio files to rename_symbol utility
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-11-06 08:24:24 -07:00
MegaMech
fd7941e841
Split out some unused asm and documented main.c ( #242 )
...
* Splitting out unused asm
* Documented main.c
2022-07-11 00:02:41 -07:00
Tyler McGavran
c82a7438fb
Match some audio functions ( #213 )
...
Thank you Mech for figuring out what the stack management stuff was
about.
And yes, apparently the best way to match those functions is to have
an `if` statement that uses an unset local variable as its condition
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-05-26 16:56:52 -07:00
Maciek Baron
20d9e8afba
Relabel/identify more variables and functions based on current knowledge ( #127 )
...
* Update labels and names based on current knowledge
* Create gChatacterSelections/gCharacterGridSelections distinction
2022-01-02 17:30:23 -07:00
ChiefFruitcake
4d9ca02750
Naming global variables related to menu navigation ( #119 )
...
* Naming of global variables related to the game menu and Controller Pak menu
2022-01-01 02:35:37 -07:00
Tyler McGavran
a2dc62ccf8
Jump Table Related Disassembly ( #60 )
...
* Part 1, Commit 1 of 24
audio/effects
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 2 of 24
audio/external
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 3 of 24
audio/heap
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 4 of 24
audio/port_eu
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 5 of 24
audio/seqplayer
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 6 of 24
code_80005FD0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 7 of 24
code_8001C4D0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 8 of 24
code_80027D00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 9 of 24
code_800393C0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 10 of 24
code_8003DC40
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 11 of 24
code_800431B0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 12 of 24
code_80057C60
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 13 of 24
code_8006E9C0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 14 of 24
code_80071F00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 15 of 24
code_80086E70
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 16 of 24
code_8008C1D0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 17 of 24
code_80091750
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 18 of 24
code_800AF9B0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 19 of 24
code_8028DF00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 20 of 24
code_80290C20
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 21 of 24
code_802B0210
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 22 of 24
code_actors
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 23 of 24
memory
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 24 of 24
os/__osException
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 1 of 20
audio/effects.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 2 of 20
audio/external.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 3 of 24
audio/heap.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 4 of 20
audio/port_eu.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 5 of 20
audio/seqplayer.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 6 of 20
code_80005FD0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 7 of 20
code_8001C4D0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 8 of 20
code_80027D00.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 9 of 20
code_8003DC40.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 10 of 20
code_800431B0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 11 of 20
code_80057C60.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 12 of 20
code_8006E9C0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 13 of 20
code_80071F00.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 14 of 20
code_80086E70.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 15 of 20
code_80091750.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 16 of 20
code_800AF9B0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 17 of 20
code_80290C20.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 18 of 20
code_802B0210.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 19 of 20
code_80296A50.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 20 of 20
memory.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 1 of 4
code_8008C1D0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 2 of 4
code_8028DF00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 3 of 4
math_util
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 4 of 4
crash_screen
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Recreated disassemblies with a context file
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2021-11-23 01:47:54 -08:00
CoderStig
f959f03184
Matched some memory.c and other ( #55 )
...
* Matched some memory.c
* And more
2021-11-16 02:39:33 -07:00
CoderStig
17648067f8
Audfix ( #54 )
...
* Fixed last PR
2021-11-06 04:03:36 -06:00