diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2024-12-28 07:59:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-28 08:59:22 -0700 |
| commit | cb54eb49e47301ca806a754954bee17e23fe6f40 (patch) | |
| tree | 26e03acbe8c346477331b8d12d236a35ee6749f8 /include | |
| parent | 7ba4585497a63eb64e7ca33aa53ca22695760739 (diff) | |
6FD190 + 6FD410 OK (#235)
* func_800D94F0_jp
* func_800D9514_jp
* func_800D9524_jp
* func_800D955C_jp
* func_800D9618_jp
* func_800D96A8_jp
* func_800D96E8_jp
* func_800D9700_jp
* func_800D9750_jp
* func_800D9760_jp
* func_800D9770_jp
* func_800D9788_jp
* func_800D97A0_jp
* func_800D97F8_jp
* func_800D986C_jp
* Split off 6FD410 based on bss
* Migrate bss
* add todo
* headers
* Better types for 6FD410 bss based on graph
* Cleanup
Diffstat (limited to 'include')
| -rw-r--r-- | include/6FD190.h | 22 | ||||
| -rw-r--r-- | include/6FD410.h | 16 | ||||
| -rw-r--r-- | include/code_variables.h | 9 | ||||
| -rw-r--r-- | include/segment_symbols.h | 1 |
4 files changed, 28 insertions, 20 deletions
diff --git a/include/6FD190.h b/include/6FD190.h index f2744db..868991e 100644 --- a/include/6FD190.h +++ b/include/6FD190.h @@ -3,21 +3,17 @@ #include "ultra64.h" #include "libc/stdint.h" +#include "unk.h" uintptr_t func_800D94F0_jp(void); -// void func_800D9514_jp(); +void func_800D9514_jp(void); void func_800D9524_jp(void); -void func_800D955C_jp(s32); -// void func_800D9618_jp(); -// void func_800D96A8_jp(); -// void func_800D96E8_jp(); -// void func_800D9700_jp(); -// void func_800D9750_jp(); -// void func_800D9760_jp(); -// void func_800D9770_jp(); -// void func_800D9788_jp(); -// void func_800D97A0_jp(); -// void func_800D97F8_jp(); -// void func_800D986C_jp(); +void func_800D955C_jp(s32 arg0); +void func_800D9618_jp(s32 arg0); +void func_800D96A8_jp(void); +u16* func_800D96E8_jp(s32 arg0); +s32 func_800D9700_jp(void); +UNK_PTR func_800D9750_jp(void); +uintptr_t func_800D9760_jp(void); #endif diff --git a/include/6FD410.h b/include/6FD410.h new file mode 100644 index 0000000..3420caf --- /dev/null +++ b/include/6FD410.h @@ -0,0 +1,16 @@ +#ifndef C_6FD410_H +#define C_6FD410_H + +#include "ultra64.h" +#include "unk.h" + +void func_800D9770_jp(void); +void func_800D9788_jp(void); +UNK_PTR func_800D97A0_jp(u32 arg0); +UNK_PTR func_800D97F8_jp(u32 arg0); +void func_800D986C_jp(s32 arg0); + +extern u32 B_80146080_jp; +extern UNK_PTR B_80146084_jp; + +#endif diff --git a/include/code_variables.h b/include/code_variables.h index 15eedd8..fd72184 100644 --- a/include/code_variables.h +++ b/include/code_variables.h @@ -1674,6 +1674,8 @@ extern u8 D_80113854_jp; // .bss +extern u16 D_80000400[]; + // extern UNK_TYPE B_8011B830_jp; // extern UNK_TYPE B_8011B83C_jp; @@ -1972,13 +1974,6 @@ extern UNK_TYPE B_80145FFC_jp; // extern UNK_TYPE B_80146044_jp; // extern UNK_TYPE B_80146050_jp; // extern UNK_TYPE B_80146058_jp; -// extern UNK_TYPE B_80146060_jp; -// extern UNK_TYPE B_80146064_jp; -// extern UNK_TYPE B_80146068_jp; -// extern UNK_TYPE B_8014606C_jp; -// extern UNK_TYPE B_80146070_jp; -// extern UNK_TYPE B_80146080_jp; -// extern UNK_TYPE B_80146084_jp; // extern UNK_TYPE B_FLT_80146090_jp; // extern UNK_TYPE B_FLT_80146094_jp; // extern UNK_TYPE B_FLT_80146098_jp; diff --git a/include/segment_symbols.h b/include/segment_symbols.h index a04ca19..bdea287 100644 --- a/include/segment_symbols.h +++ b/include/segment_symbols.h @@ -45,6 +45,7 @@ #define SEGMENT_BSS_END(segment) (segment ## _BSS_END) #define SEGMENT_BSS_SIZE(segment) ((uintptr_t)SEGMENT_BSS_END(segment) - (uintptr_t)SEGMENT_BSS_START(segment)) +DECLARE_SEGMENT(framebuffer); DECLARE_SEGMENT(header); |
