9 Commits

Author SHA1 Message Date
camthesaxman a0214ede7c Allow compiling with gcc (#35)
* initial work on gcc support

* fix more gcc issues

* fix ball.c crash when compiled with gcc

* fixed white monkey face glitch

* no need to support R_PPC_REL32 relocs after all

* stop generating .eh_frame and .gnu.attributes sections

* fix more instances of undefined behavior
2022-06-05 20:38:16 -05:00
camthesaxman 8f12c3e857 show errors for all undefined symbols and make sure relocations are sorted properly 2021-12-29 13:55:53 -06:00
camthesaxman d69cf621b6 build rel files (#6)
* initial work on reldisasm

* super janky WIP elf2rel tool finally produces a matching file

* build mkbe.sel_stage.rel

* decompile mkbe.sel_stage.rel

* oops

* accentally broke dependencies

* disassemble mkbe.rel_mini_pilot.rel

* refactor elf2dol

* disassemble mkbe.option.rel

* disassemble mkbe.rel_mini_bowling.rel

* disassemble mkbe.rel_mini_race.rel

* disassemble mkbe.test_mode.rel

* disassemble mkbe.sel_ngc.rel

* disassemble mkbe.rel_mini_fight.rel

* disassemble mkbe.rel_mini_billiards.rel

* disassemble mkbe.rel_mini_golf.rel
2021-12-20 22:09:56 -06:00
camthesaxman ae12585253 add lzss tool for compression and decompression 2021-12-13 18:00:12 -06:00
camthesaxman fbea7bc200 decompile more of camera.s 2021-11-07 15:33:15 -06:00
camthesaxman 904b0f37fa allow linker to auto-generate _rom_copy_info and _bss_init_info 2021-11-06 14:15:44 -05:00
camthesaxman 99edad5e0f un-hardcode section addresses 2021-11-06 13:22:27 -05:00
camthesaxman cfc4ee9f99 cleaner build output 2021-07-29 22:07:53 -05:00
camthesaxman 842e820c38 build system 2021-06-23 22:27:17 -05:00