Commit Graph

131 Commits

Author SHA1 Message Date
gijs 119ba26445 Move `func_8008A354` and `func_8008A37C` closer to `nuContReadDataImpl` 2023-10-22 13:49:54 +02:00
gijs 1f79bf2bb2 Rename `__real_read_controller` to `nuContQueryImpl` 2023-10-22 13:47:25 +02:00
gijs 496a52b76c Rename `__read_controller` to `nuContReadDataImpl` 2023-10-22 13:36:08 +02:00
gijs 33e5f17c1c Change type of `handle` in `SomethingMusic` to `musHandle` 2023-10-22 02:05:21 +02:00
gijs c1eebe544b Identify some audio things
Rename `D_800EB2E4` to `__SONG_REVERB`
Rename `field_0x2c` of `SomethingMusic` to `index`
2023-10-22 02:04:23 +02:00
gijs 5c21f71aaa Rename `SP_THREAD_800BE1C0` to `nuStackGfxThread`
Fix the stack of `gfxThread`
2023-10-22 01:08:08 +02:00
gijs 2f423e3bcb Commited code that should not be there 2023-10-22 01:00:19 +02:00
gijs 0872cce98b Fix proper stack sizes
Add `DECLARE_STACK` and `STACK_START` macros
Fix addresses so `nuStackIdle` and `obStackMain` are 0x2000 in size
2023-10-22 00:07:08 +02:00
gijs ac627304f0 Add proper symbol for `obStackMain` 2023-10-21 22:05:37 +02:00
gijs ad75b6d5f3 Split `1B530`, remove `nuIdle` definition
Move `nuSiCallBackAdd` to `nusicallbackadd.c`
Move `nuSiCallBackRemove` to `nusicallbackremove.c`
2023-10-21 19:53:42 +02:00
gijs d803e66638 Rename `MQ_800AF320` to `obUnpackQueue` 2023-10-21 19:28:24 +02:00
gijs 40e528eb4d Change signature of `Unpack` 2023-10-21 19:18:17 +02:00
gijs d4b40689b4 Rename `_ob_dull_silver.c` to `nucontpakmgr.c`
Rename `func_8008A6A0` to `nuContPakMgrInit`
Rename `func_8008A6C0` to `nuContPakMgrRemove`
Rename `D_800AA040` to `nuContPakCallBack`
2023-10-21 18:11:30 +02:00
gijs 30721ffd6c Clean up around `nuContRetrace`
Rename `__calls_read_controller_0` to `nuContRetrace`
Rename `D_800A9FE0` to `nuContReadFunc`
Rename `__set_fp_8008A660` to `nuContReadFuncSet`
Rename `_ob_proper_regret.c` to `nucontreadfuncset.c`
2023-10-21 18:05:22 +02:00
gijs 19551728c2 Split `_ob_classy_fold.c`
Rename `_ob_classy_fold.c` to `nucontmgr.c`
Rename `__GLOBAL_CONTROLLER_DATA` to `nuContData`
Rename `__copy_global_controller_data` to `nuContDataGetAll`
Split `nuContQueryRead` to it's own file
Split `nuContDataGetAll` to it's own file
2023-10-21 17:54:44 +02:00
gijs 37df9533bc Rename `D_800C4B30` to `nuContDataLockKey` 2023-10-21 17:39:09 +02:00
gijs 6499c2fe8f Rename `__start_copy_global_controller_data` to `nuContDataClose` and `__end_copy_global_controller_data` to `nuContDataOpen` 2023-10-20 21:20:36 +02:00
gijs 92fd0c2213 Rename `func_8008B1D0` to `nuSiCallBackRemove` 2023-10-20 21:17:55 +02:00
gijs 84c9518b4c Rename `__GLOBAL_CONT_STATUS` to `nuContStatus` 2023-10-20 19:49:28 +02:00
gijs 118c79854c Rename `D_800A9FF8` to `nuContCallBack` 2023-10-20 19:47:12 +02:00
gijs 7bd8d54843 Rename `MQ_800E9BF0` to `nuContDataMutexQ` 2023-10-20 19:42:55 +02:00
gijs 2a951738a0 Rename `MQ_800C4A00` to `nuContWaitMesgQ` 2023-10-20 19:41:07 +02:00
gijs bc821ded12 Rename `func_8008B130` to `nuSiCallBackAdd` 2023-10-20 19:39:45 +02:00
gijs b136e35f4a Rename `OSMESG_800BE048` to `nuPiMesgBuf` 2023-10-20 18:40:15 +02:00
gijs 1243f13789 Rename `MQ_800BE030` to `nuPiMgrMesgQ` 2023-10-20 18:36:46 +02:00
gijs 10c83abcbf Rename `PTR_CART_ROM_HANDLE` to `nuPiCartHandle` 2023-10-20 18:33:02 +02:00
gijs f52d20844a Rename `romCopy_512` to `nuPiReadRom` 2023-10-20 18:32:08 +02:00
gijs 5dd734bf29 Rename `obStackIdle` to `nuStackIdle` 2023-10-20 18:24:28 +02:00
gijs ff290348c5 Rename `obThreadIdle` to `nuThreadIdle` 2023-10-20 18:19:55 +02:00
gijs a8f58de733 Rename `obIdle` to `nuIdle` 2023-10-20 18:18:33 +02:00
gijs 3896f82bbc Rename `func_80089CF8` to `nuSiSendMesg` and clean it up 2023-10-20 18:03:48 +02:00
gijs 6eb644c5cf Rename `__controller_thread_80089D9C` to `nuSiMgrThread` 2023-10-20 18:00:41 +02:00
gijs 12496030a6 Rename `THREAD_CONTROLLER` to `siMgrThread` 2023-10-20 17:57:15 +02:00
gijs 15d4b20eba Rename `D_800BBE60` to `nuSiMesgBuf` 2023-10-20 17:55:48 +02:00
gijs f16e493d79 Rename `MQ_CONTROLLER` to `nuSiMesgQ` 2023-10-20 17:53:56 +02:00
gijs 031744cb02 Renamed `__SCREEN_IS_NOT_BLACK` to `nuGfxDisplay` 2023-10-20 17:40:42 +02:00
gijs f4de78e2da Renamed `__set_black` to `nuGfxDisplayOff` 2023-10-20 17:38:59 +02:00
gijs 38563897a2 Remove duplicate definition of `nuScCreateScheduler` from `common.h` 2023-10-20 17:16:43 +02:00
gijs 8c7ba403cb Added symbols for `gFrameBuf0` to `gFrameBuf2` and renamed `DISPLAY_LIST_800A9EF0` to `rdpstateinit_dl` 2023-10-20 17:15:16 +02:00
gijs 32951b17af Rename `__SOMETHING_FRAMEBUFFERS` to `FrameBuf` 2023-10-20 17:08:56 +02:00
gijs bf6619caf3 Remove `nuPiInit` definition from `common.h` 2023-10-20 17:06:43 +02:00
gijs d781c0572c Rename `func_80089A10` to `nuGfxTaskAllEndWait` 2023-10-20 17:06:25 +02:00
gijs 7987a3fc72 Rename `__something_display_list` to `nuGfxTaskStart` 2023-10-20 17:05:29 +02:00
gijs a330ca4ecb Rename `D_800A9EB0` to `nugfx_ucode` 2023-10-20 17:04:12 +02:00
gijs abe6017825 Rename `D_800C4CE0` to `nuGfxUcode` 2023-10-20 17:02:51 +02:00
gijs eb57aa31f3 Rename `D_800C4B20` to `nuGfxZBuffer` 2023-10-20 17:01:28 +02:00
gijs 050d7e737d Rename `set_swap_buffer_func` to `nuGfxSwapCfbFuncSet`, `SWAP_BUFFER_FUNC` to `nuGfxSwapCfbFunc` and `__osViSwapBuffer_3` to `nuGfxSwapCfb` 2023-10-20 16:49:45 +02:00
gijs cb11271360 Rename `THREAD_800BE1C0` to `nuGfxThread` 2023-10-20 16:43:11 +02:00
gijs efdfc38a41 Rename `D_800E79A4` to `nuGfxTaskSpool` 2023-10-20 16:40:51 +02:00
gijs 9349cf282c Rename `D_800AA094` to `nuGfxPreNMIFunc` 2023-10-20 16:39:36 +02:00