Commit Graph

39 Commits

Author SHA1 Message Date
MegaMech e4e5f91be5 audio load.c decomp (#176) 2022-04-16 23:11:40 -07:00
CoderStig 345cbd4f19 Fix remaining pointers for shifting 2022-03-04 23:10:21 -07:00
CoderStig c1114ebb6b fix audio pointers allowing rom shifts again 2022-03-03 18:51:25 -07:00
Tyler McGavran 64e8934b30 Break out some credit text stuff into a C file (#157)
* Break out some credit text stuff into a C file

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>

* Add some comments for better clarity

Also delete the asm file for a function that was matched in the
 previous commit

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-02-03 21:06:30 -07:00
MegaMech 42fa90ff7a Match OS funcs (#152)
* Matched osSyncPrintf.c

* Matched contramread.c

* Matched contramwrite.c

* Matched osPfsInit and osPfsGetStatus
2022-01-30 23:31:43 -07:00
Tyler McGavran 04052ba259 Fix the match for guPerspectiveF (#155)
Most of the work had been done long ago, only had to fix some rodata
 issues

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-01-28 23:35:24 -07:00
Tyler McGavran dac4698b5c Move texture data from asm to C (#142)
* Move texture data from asm to C

Required dropping a couple typedefs since they no longer had a purpose

Regenerated a couple mips_to_c outputs based on the updated types

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-01-18 00:44:11 -07:00
Tyler McGavran b56b43e721 Match a variety of functions, remove an extraneous data file (#140)
* Match func_800AB290 and func_800AC978

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>

* Match func_800A15EC

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>

* Match func_800A1A20

* Get func_800A1F30 to NON_MATCHING

* Match func_800A3C84

mips_to_c does not currently support labels being in delay slots, although
 practice that is fine. To get around this I put a nop in the delay slot
 instead. No permanent change is being made to the target assembly.

* Update the mips_to_c output for a couple functions

Split asm file containing unused funcs and added mips_to_c output for them.

* Remove extraneous data file

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2022-01-15 23:00:31 -07:00
CoderStig d6e9866399 Decomped some of 80057C60 & 800431B0 2021-12-25 18:12:52 -07:00
CoderStig 5a151c1457 Decomped more crash_screen, code_80280650, fixed import shortcut 2021-12-24 20:19:58 -07:00
CoderStig 5fd2f225c1 mips64-elf support (fixes building on archlinux) (#89)
* Fix mips64-elf support
2021-12-11 00:50:47 -07:00
CoderStig bfcbb8aada Decomped gfx in data_segment2.s (#83)
* Decomped gfx in data_segment2.s
2021-12-06 00:05:33 -07:00
CoderStig 1ca7ea1061 Imported remaining .text undefined syms 2021-12-05 03:24:28 -07:00
CoderStig a4c7c620e7 Imported remaining undefined_syms 2021-12-04 03:58:20 -07:00
CoderStig 3f670579cf Fixed progress.py, moved non_matching OS to asm/os/non_matchings/ (#77)
* Fixed progress.py

* Moved non_matching OS asm to `asm/os/non_matchings/`
2021-12-03 04:33:36 -07:00
CoderStig 632512ada9 Imported funcs from sm64 to code_80004740.c and trig_tables.inc.c (#68)
* fixed float issue brought over from zeldaret

* Import trig_tables.inc.c

* Delete game_data_802BA370.s

* Import two funcs from sm64 into code_80004740.c
2021-11-28 15:42:03 -07:00
CoderStig 70504fb93a Decomped 8028DF00.c (#61) 2021-11-21 00:32:04 -07: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 964344abb0 Split audio funcs (#53)
* Split audio funcs
2021-11-06 03:49:37 -06:00
CoderStig 8ab4557b39 Split asm using autodecompiler (#49)
* Split asm using autodecompiler

* Placed libultra bss and linked more C
2021-11-05 05:17:09 -06:00
CoderStig dc1525c157 main.c full match (#46)
* main.c full match
2021-10-29 23:26:43 -06:00
CoderStig 43229c00cb Decompiled some math_util.c (#43) 2021-10-27 14:13:08 -06:00
CoderStig 8ec9fb8b88 Start of audio decompilation (#42)
* Start of audio decomp
2021-10-27 13:48:44 -06:00
CoderStig f3788f7ac4 Decompiled staff_ghosts.c (Plus lots more) (#39)
* Decompiled staff_ghosts.c

* started on 80296A50.c

* Matched some of main.c

* Added framebuffers.c

* Added structs such as Camera
2021-10-26 11:55:42 -06:00
CoderStig caaea76c42 Matched func_8028DF00, added bss to code_8028DF00.c (#38)
* matched func_8028DF00
2021-10-24 16:47:56 -06:00
CoderStig 58fb53c2a4 Controller/Player struct data/bss in C (#37)
* Controller/player structs ok
2021-10-18 13:48:48 -06:00
iProgramInCpp 4c4efd28f8 Match func_80000D3C (renamed) and thread5_game_logic (#35)
* match func_80000D3C + some renames

* Improved matching for init_game().

* Match thread5_game_logic

* Added osViModeTable and osCreateViManager from libultra
2021-10-16 15:18:38 -06:00
CoderStig 3129da2f1c Renamed hand-written asm file and updated readme (#34)
* Rename code_80040030.s to unused_mio0_decode.s

* Handwritten asm appears similar to mio0 decode.
Called by 802A8348 and 802A841C neither of which are called.

* Updated readme
2021-10-09 12:40:26 -07:00
CoderStig 61ead1dd9c Decomped some of code_8008C1D0 (#30)
* Decomped some of code_8008C1D0.s
2021-09-22 01:06:41 -06:00
CoderStig 157127d1f1 decomped some of code_8028DF00.s (#29)
* decomped some of code_8028DF00.s and main.c
2021-09-22 00:14:55 -06:00
CoderStig e69d8ba395 Decomped trophy & podium models. Modified gbi.h (#28)
* Decompiled trophy & podium models, fixed mk_gbi.h
2021-07-31 18:39:06 -06:00
CoderStig f5b22811bb Matched display_and_vsync in main.c began decompiling crash_screen.c (#27)
* Matched display_and_vsync in main.c and began decompiling crash_screen.c
2021-07-23 16:47:52 -06:00
CoderStig 830f1f3d65 Decompiled startup_logo.inc.c (#24) 2021-07-23 03:53:25 -06:00
Faris Awan 5c23113592 Match/split all of libultra (#23)
* libultra from sm64 integrated; 3 libultra functions matched

* All of libultra done!

authored-by: farisawan-2000 <farisawan.2000@gmail.com>
2021-04-27 22:35:30 -06:00
CoderStig f4532f26bb Shift fixes (#22)
* Fixed many shift issues.
2021-04-26 17:53:21 -06:00
CoderStig a0e31c27ff Decompiled course geography (#19)
* Added bss

* Decompiled course vertex data and moved packed.s

* Added recomp

* Added new line char to the end of a few audio files
2021-03-08 18:13:58 -07:00
CoderStig 6121193a29 Added bss (#18) 2021-03-08 01:58:07 -07:00
CoderStig 5ef48aa2eb Refresh 1 2021-03-02 01:48:17 -07:00
n64 1c84a90d5e Initial commit 2020-10-14 21:13:33 -07:00