Commit Graph

168 Commits

Author SHA1 Message Date
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 33d37c4963 Fix definition of `nuGfxSwapCfb` 2023-10-20 16:52:32 +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
gijs e0f5679536 Rename `D_800AA090` to `nuGfxFunc` 2023-10-20 16:38:50 +02:00
gijs 7df2c30851 Rename `OSMESG_800BE1A0` to `nuGfxMesgBuf` 2023-10-20 16:37:04 +02:00
gijs 7b0cc70821 Rename `MQ_800C4C28` to `nuGfxMesgQ` 2023-10-20 16:35:17 +02:00
gijs e5dc3321ea Rename `__start_thread_800B9C88` to `nuGfxTaskMgrInit` and `__thread_8008AFE0` to `gfxThread` 2023-10-20 16:31:05 +02:00
gijs 319b8ff320 Rename `__start_thread_800BE1C0` to `nuGfxThreadStart` 2023-10-20 16:25:46 +02:00
gijs b41fadc833 Rename `func_80089AB0` to `nuGfxSetCfb` 2023-10-20 12:38:46 +02:00
gijs ad4a954aab Rename `func_8008949C` to `nuScWaitTaskReady` 2023-10-20 12:25:29 +02:00
gijs 0d4532eda3 Rename `Stack__dma_load_loop_delete` to `nuScRemoveClient` 2023-10-20 12:09:18 +02:00
gijs 0adce00abb Rename `Stack__dma_load_loop_new` to `nuScAddClient` 2023-10-20 12:03:50 +02:00
gijs 420bf3ce0c Rename `func_80088EFC` to `nuScGetGfxMQ` 2023-10-20 11:59:57 +02:00
gijs ed677a4a28 Correct size of `nusched` 2023-10-20 11:29:31 +02:00
gijs 05dbe6d9e5 Rename `__MAIN_NOT_NULL_INF_LOOP` to `nuScPreNMIFlag` 2023-10-20 11:02:49 +02:00
gijs 3ff8ee4a52 Add `nusys.h` 2023-10-20 10:47:03 +02:00
gijs eeddbc0da8 Rename `D_800E7A18` to `nuIdleFunc` 2023-10-20 10:46:50 +02:00
gijs d570045631 Rename `boot` to `nuBoot` 2023-10-20 10:43:13 +02:00
gijs 60f66d3b43 Change a couple functions which are now identified as coming from `nuSystem` 2023-10-20 10:35:17 +02:00
gijs 52f66d3290 Change `common.h` to define `DISPLAY_LIST_800A9EF0` 2023-10-19 19:52:12 +02:00
gijs 9227a20d5a Move stack struct of `UnpackProc` to `common.h` with name OBUnpackMesg 2023-10-19 19:27:32 +02:00
gijs 97c9f3041a Move definition of `obGetCurrentTimeF` to `common.h` 2023-10-19 19:15:17 +02:00
gijs 6a14ae87ed Rename `func_8009C7CC` to `obGetCurrentTime` and move definition to `common.h` 2023-10-19 19:07:42 +02:00
gijs d36a01419a Rename `func_8009C7C0` to `obSetCurrentTime` and move definition to `common.h` 2023-10-19 19:03:13 +02:00
gijs 2d464a78a4 Clean up and move definitions to `common.h` 2023-10-19 18:50:20 +02:00
gijs 8a0544efc3 Clean up arguments and move definitions to `common.h` 2023-10-19 18:42:17 +02:00
gijs ef9826c23e Decompiled `__set_vi_mode` 2023-10-19 18:08:18 +02:00
gijs 120e13f0c0 Decompiled `func_80073398`
Changed some other types related to this function
Removed `obMain` for now
2023-10-19 17:11:57 +02:00
gijs b406ea3ad3 Decompiled `func_80071288`
Almost got `obMain`, still needs some fixing
2023-10-18 18:27:11 +02:00
gijs 97b0b10970 Changed `obStackMain` to be used differently in different functions as I think it's an alias 2023-10-18 17:33:01 +02:00
gijs 8afad0eccf Fixed typing of `__GLOBAL_CONTROLLER_DATA_COPY` 2023-10-18 15:37:45 +02:00
gijs ce7f900afd Decompiled `func_80072710` 2023-10-10 13:47:34 +02:00
gijs 961718f707 Decompiled `func_800727D8` 2023-10-10 13:36:03 +02:00
gijs 20a36e05df Decompiled `func_8007337C` 2023-10-10 13:30:01 +02:00
gijs d59bf67d23 Decompiled `func_8007338C` 2023-10-10 13:28:33 +02:00
gijs 2efd0cbbe9 Merged `__read_u32_le` and `UnpackProc` from `lha.c` to `_ob_rabid_jar` 2023-09-30 00:58:19 +02:00
gijs dccd234f4a Decompiled `UnusedMallocNo` 2023-09-29 18:53:09 +02:00
gijs 80fbf0175e Cleaned up `overlay_table.c` a bit 2023-09-29 13:09:57 +02:00
gijs c63870ac14 Migrated `__OVERLAY_TABLE` to `c` 2023-09-29 12:30:44 +02:00
gijs 9d2e65d8fb Merge `class.c`, `ability.c` and `equipment.c` into `_ob_fierce_selection`
Refactor class function names
2023-09-29 11:32:58 +02:00
gijs f839da2581 Decompiled `func_8017B5BC` 2023-09-29 02:07:05 +02:00
gijs 1c2a037909 Decompiled `func_8017BA2C` 2023-09-29 02:00:16 +02:00
gijs 721b5a2236 Changed `OverlaySomething` to contain function pointer 2023-09-29 01:56:50 +02:00
gijs 26f00605e9 Decompiled `__setup_overlay_79730` 2023-09-29 01:51:49 +02:00
gijs 50717285b5 Confidently figured out the whole `overlay_87200` 2023-09-29 01:46:01 +02:00
gijs 0bcbe130a8 Added more macros for segment symbols 2023-09-29 01:16:00 +02:00
gijs 18af6601e3 Migrated some overlay data 2023-09-29 01:15:41 +02:00
gijs f403aed69a Decompiled `__get_overlay_info_71280_65C8C` 2023-09-28 23:53:55 +02:00
gijs 006e923a3d Added a couple `_SEGMENT_` macros 2023-09-28 23:37:58 +02:00
gijs d1b43725bc Changed signature of `__calls_romCopy_8009DA50` 2023-09-28 23:15:59 +02:00
gijs 7fd4294f59 Decompiled `func_80080768` 2023-09-27 01:05:10 +02:00
gijs 2861309bd6 Discovered `obPtrPtrDisplayList` 2023-09-27 00:49:40 +02:00
gijs 253726d9f9 Decompiled `func_overlay_145210_801F4C38_145E18` 2023-09-27 00:27:33 +02:00
gijs fabe829cbf Decompiled `func_800737A0` 2023-09-27 00:12:20 +02:00
gijs 4c35308c05 Decompiled `func_80073ED8` 2023-09-26 23:22:45 +02:00
gijs 5b0d058b23 Decompiled some display list function
Renamed PTR_DISPLAY_LIST to obPtrDisplayList
2023-09-26 01:02:42 +02:00
gijs 5cf59a6169 Found obGetStrategyName 2023-09-25 23:53:11 +02:00
gijs bd344c296c Renamed main_ to obMain along with it's Thread and Stack 2023-09-25 16:39:31 +02:00
gijs 8457613831 Moved symbol_addrs to its own folder
Identified a ton of libmus functions
2023-09-25 16:34:55 +02:00
gijs 951cffb672 Changed `rodata` to `data` 2023-09-25 13:24:05 +02:00
gijs 6bd0f4be08 Migrated some Gfx 2023-09-24 11:47:54 +02:00
gijs a96d1bb002 Removing `expected` on `make distclean`
A lot of cleaning up of unnecessary `c` files
2023-09-23 23:51:15 +02:00
gijs 9bdc119986 Fixed a couple segments and turned them into c files
Added libc headers
2023-09-23 17:41:59 +02:00
gijs cdaafadde3 Migrated a ton of data like class and ability.
Merged the above together with element names and class names
2023-09-21 22:02:52 +02:00
gijs 3509e5083f Identified more stuff 2023-09-21 19:27:59 +02:00
Ogre a9ef9c937f Commented out a lot of stuff 2023-09-21 11:43:07 +02:00
Ogre a2e8586e55 Made a mess and fixed it (hopefully) 2023-09-17 00:30:31 +02:00
Ogre 42b7627502 Refactored to a new coding style
Migrated a ton of data...
Build: OK
2023-09-16 23:40:25 +02:00
Ogre 875fe0f103 Phew.. It builds again.
Removed `libreultra`
Added `ultralib` with compile flag `BUILD_VERSION_J`
Changed Makefile to reflect above change
2023-09-16 16:57:17 +02:00
Ogre 704340437d Decompiled more functions
Decompiled data
Before I do something stupid
Build: OK
2023-09-16 11:13:02 +02:00
Ogre a10f6e5db2 Figured out first display list thingy!
Added `ASSERT_SIZE` macro to make sure sizes match
Added compile_flags for mips
2023-09-15 15:43:35 +02:00
Ogre d3dd7a908e Found `item` data
Edited Makefile to handle the new splits
Added `ctx_includes.h`
Build: OK
2023-09-15 02:16:33 +02:00
Ogre 9de7f45844 Refactored a whole bunch more
Build: OK
2023-09-15 01:02:28 +02:00
Ogre f2b3efc96b Refactored `item` to `equipment`
Build: OK
2023-09-15 00:44:47 +02:00
Ogre 140710227f Added new docs
Identified more functions
Before I do something stupid...
Build: OK
2023-09-15 00:28:31 +02:00
Ogre 85d80f4097 Lots of stuff... 2023-09-14 16:42:51 +02:00
Ogre 053f0d5cda Changed ability_data, class_data and item_data scripts
Identified more fields in ClassData
Identified more elements
Decompiled class_data functions
2023-09-12 18:31:47 +02:00
Ogre 7c766d07f9 Renamed data scripts to consistent naming scheme
Renamed `mus` to `libmus`
Discovered ClassData
Added `libmus,h`
Decompiled `ability_` functions
2023-09-12 01:04:41 +02:00
Ogre 0003efebb1 Corrected AbilityData 2023-09-11 01:53:42 +02:00
Ogre f0091a98ae Created `docs` folder for helpful game guides
Figured out a more correct layout of items
Decompiled a couple more functions
Build: OK
2023-09-11 01:35:47 +02:00