summaryrefslogtreecommitdiff
path: root/src/memory.h
AgeCommit message (Collapse)Author
2023-09-17Some train decomp and move seg2 files to ending (#423)MegaMech
* Some train decomp * Move seg2 to ending/ * move racing code files into racing folder * Fix progress * Rename segments
2023-09-08Match bss for code_800029B0 and clean headers (#406)MegaMech
* Match bss for code_800029B0 and clean headers * Fix dvdl and a warning
2023-08-26Put `void` in several function prototypes (#387)Tyler McGavran
I have historically made prototypes for argument-less functions with just plain `()` for the argument list. This has caused some minor pains when using `m2c` and is, pendatically, incorrect. So I have changed all argument-less function protoypes to instead have `(void)` as the argument list. This required a couple small fixes here and there.
2023-06-17Fix repeated building of course_data files and wip warnings fix (#316)MegaMech
* Fix building course_data files * wip warnings
2023-04-10Various matches (#304)MegaMech
2023-04-07Match memory.c, remove warnings, fix fake matches (#301)MegaMech
* Match memory, remove warnings, fix fake matches * label switch
2023-03-29Massive data relocation (#295)Tyler McGavran
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-28Labelling of some hard-coded addr to syms (#294)MegaMech
* Updated final displaylist symbol * Cleaned up loader script * Random changes * Various naming and decomp
2022-11-21Assorted matches, mostly focussing on 80027D00 (#277)Tyler McGavran
* Assorted Matches * Matches in code_80027D00 Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-11-01Assorted, unrelated matches (#267)Tyler McGavran
* Assorted matches Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-09-30A bunch of unrelated, assorted changes (#263)Tyler McGavran
Couple matches functions, an update to a struct, a bunch of header files adjustments, and some mips_to_c regenerations Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-09-08Match the rest of actors.h (#254)Tyler McGavran
* Matched rest of actors and more Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-09-07Matched a few funcs and renamed seg to virt funcs (#253)MegaMech
* Matched a few funcs and renamed seg to virt funcs
2022-08-25Add lots of headers (#252)Tyler McGavran
* Add a lot of header files Did my best to move all relevant function prototypes and external variable declarations into the header files too. Matched a few functions in the process * Updated progress.py Some of the listed files/folders have been deleted/renamed, so I reflected those changes in progress.py Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-06-22Split and Decompile Code_800AF9B0 (#228)tehzz
* change return type of func_8000546C * try to fix submodules * update asm_processor for new ASM directives * split code_800AF8B0 into 3 files; move rodata into files/asm * move rodata into code_800AF9B0 asm funcs * decomp func_800AF9E4 * match 800AFF58 * merge in master (renamed code_800AF9B0.c to menus.c) * revert menus.c back to code_800AF9B0.c * add bss to code_800AF9B0 * rename code_800B0350.c to menus.c * remove unused ALIGN macros
2022-06-11Match all but one function in code_802B0210.c (#217)Tyler McGavran
Required getting the .rodata for that file correct too. Matched a couple other funtions here and there as well. Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-06-01Match several functions in code_802B0210 (#216)Tyler McGavran
Several other functions are as matched as the can be, needing only the addition of some RODATA to fully match. Others are in a mostly-matched state, but have some incorrect register allocation. More investigation/work is needed to figure that out. Most of those leftover have had their m2c output regenerated. Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-05-20Update and add some header files (#205)Tyler McGavran
* Update header files for main, memory and math_util * Required updating func_802A82E4 to keep the match Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-04-18Mostly match a few functions in memory.c (#178)Tyler McGavran
* Match a few functions in memory.c Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-11-16Matched some memory.c and other (#55)CoderStig
* Matched some memory.c * And more
2021-03-02Refresh 1CoderStig