Commit Graph

54 Commits

Author SHA1 Message Date
Ryan Dwyer 82cee003ca Decompile contPoll 2020-10-31 00:34:59 +10:00
Ryan Dwyer 51d8d114ff Rename lib_0d520.c to main.c 2020-10-09 18:50:57 +10:00
Ryan Dwyer 6da8a8a02c Split boot.c into boot.c, reset.c and maptlbrdb.c 2020-10-09 18:46:53 +10:00
Ryan Dwyer fd19949c14 Rename mainLoop to mainEntry, mainTick to mainLoop, func0000e324 to mainTick and decompile mainLoop 2020-10-09 17:39:28 +10:00
Ryan Dwyer 64d382372e Rename many libultra files 2020-10-04 15:18:15 +10:00
Ryan Dwyer 8dd2979eaf Identify more libultra functions 2020-10-03 12:52:46 +10:00
Ryan Dwyer 33bcd9ec8c Decompile audioAllocateStack 2020-10-01 08:26:07 +10:00
Ryan Dwyer c676e24f82 Decompile audioStopThread 2020-10-01 08:07:22 +10:00
Ryan Dwyer b6c03f09ff Rename rmon to fault and make thread entry function names consistent 2020-09-30 23:51:23 +10:00
Ryan Dwyer dbdddf696f Decompile resetThreadCreate 2020-09-30 22:59:08 +10:00
Ryan Dwyer a5c5ab918a Decompile thread0CreateThread 2020-09-30 22:31:25 +10:00
Ryan Dwyer 79e2eaabb4 Decompile idleCreateThread 2020-09-30 22:19:50 +10:00
Ryan Dwyer 2efc70cc4b Decompile osGetMemSize 2020-09-30 22:13:40 +10:00
Ryan Dwyer e050353016 Split fonts segment into one per font and and replace some segment pointers with linker variables 2020-08-26 17:24:06 +10:00
Ryan Dwyer 23b6bd2643 Restructure build workflow
* All segments are now extracted from the base ROM; the base ROM is no
longer a compile time dependency
* ROM segments are now positioned relatively to each rather than with
hard coded addresses
* Piracy checksums are calculated during build
2020-08-25 20:40:35 +10:00
Ryan Dwyer 4fd334f73a Replace .data and .bss addresses with symbols 2020-08-24 08:06:44 +10:00
Ryan Dwyer 75afe8f618 Replace beqz $zero,.label with b .label, and sll $zero,$zero,0x0 with nop 2020-06-23 21:21:59 +10:00
Ryan Dwyer bb23a88239 ntsc-1.0: Build matching ROM 2020-04-23 23:58:03 +10:00
Ryan Dwyer fa74d4cc44 Identify some al lib functions 2020-04-15 17:31:12 +10:00
Ryan Dwyer a61078b1cb Decompile mpCalculatePlayerTitle 2020-03-27 22:21:55 +10:00
Ryan Dwyer 1de830aa94 Decompile func0f0fd548 2020-03-23 23:34:26 +10:00
Ryan Dwyer 642bc4be62 Decompile func0f0f82a8 2020-03-23 23:04:33 +10:00
Ryan Dwyer c59186f4d5 Decompile mainLoop 2020-03-23 22:08:41 +10:00
Ryan Dwyer 640c20964f Improve pointers to .data 2020-03-21 09:55:41 +10:00
Ryan Dwyer 966dec9403 Identify more libultra functions 2020-03-18 17:43:34 +10:00
Ryan Dwyer 77b60340af Decompile menuCountDialogs 2020-03-11 20:48:31 +10:00
Ryan Dwyer 1ff5defcb7 Fix location of g_MenuStack 2020-03-11 17:02:52 +10:00
Ryan Dwyer 555cf2fe8d Identify more libultra functions 2020-03-10 20:55:53 +10:00
Ryan Dwyer cce82ea5e8 Identify more libultra functions 2020-03-09 18:33:08 +10:00
Ryan Dwyer aa3590bbcd Update includes 2020-03-08 00:29:16 +10:00
Ryan Dwyer 0d69f6d4a1 Find last remaining references to rodata, move rodata into correct files, and utilise late_rodata in lots of places 2020-03-07 12:49:23 +10:00
Ryan Dwyer 4bdc416240 Replace hardcoded addresses with pointers where they can be resolved directly 2020-03-06 22:43:35 +10:00
Ryan Dwyer 8a49f07cae Split game_0c79f0.c into bondgrab.c 2020-03-01 11:27:29 +10:00
Ryan Dwyer ba578d29a3 Identify a ton of libultra functions 2020-02-28 20:25:13 +10:00
Ryan Dwyer 14490f181b Rename library segment to lib 2020-02-28 17:13:16 +10:00
Ryan Dwyer 07a30ec7c9 Split game_0f09f0 into game_0fd660 and decompile activemenuGetSlotDetails 2020-02-26 17:09:30 +10:00
Ryan Dwyer 9821b05dfd Decompile chrTickDruggedDrop 2020-02-21 22:11:22 +10:00
Ryan Dwyer 4f391275c1 Generate include statements programatically, make declarations consistent with declarations and treat warnings as fatal 2020-02-10 17:09:03 +10:00
Ryan Dwyer b06e2a87b2 Convert setup segment into game's .data segment 2020-02-02 19:22:36 +10:00
Ryan Dwyer 13527755de Rename rarezip segment to inflate 2019-12-16 17:41:04 +10:00
Ryan Dwyer 35a636a3c7 Make ASM refer to data variables by name 2019-11-10 22:25:04 +10:00
Ryan Dwyer 0da4c9f944 Decompile func00001934 2019-10-31 22:13:43 +10:00
Ryan Dwyer 843d78b98e Identify and link remaining functions 2019-10-31 19:06:45 +10:00
Ryan Dwyer 9e4883d466 Decompile several boot functions and migrate gvars.c to a more workable format
* func0000244c
* func00002480
* func000024b4
* func000024e8
* func00002510
* func00002538
* func00002560
2019-10-31 17:29:48 +10:00
Ryan Dwyer 0f6625b74a Decompile func000023f4 2019-10-30 08:21:30 +10:00
Ryan Dwyer 63ca13a0f1 Decompile func00001c28 2019-10-29 23:28:29 +10:00
Ryan Dwyer 1b58c34d27 Decompile func00001b98 2019-10-29 23:24:14 +10:00
Ryan Dwyer cdb84872b5 Decompile func00001b40 2019-10-29 22:13:16 +10:00
Ryan Dwyer 44deb202e2 Decompile func00001b34 2019-10-29 22:09:15 +10:00
Ryan Dwyer 28d05f4737 Decompile func00001b28 2019-10-29 22:08:32 +10:00