mirror of
https://github.com/HackerN64/HackerOoT.git
synced 2026-01-21 10:37:37 -08:00
* wip decomp ntsc-1.2 fault.c
* more ntsc-1.2 fault.c
* decompiled fault_v1.c
* name fault_v1 functions, wip
* try to clean up build system (two versions of the fault system coexisting)
* cleanup
* cleanup2
* fix build gc-eu-mq-dbg
* match 2 more, ty anon
* matched
* review
* more review
* fixup spec
* `(uintptr_t)ptr op int` instead of `ptr op (type*)int`
* move fault.h out of global headers, properly include fault.h and versions.h
* compile all fault_*.c files regardless of version by overriding FAULT_VERSION
* n64 FaultMgr.framebuffer s32 -> u16*
* FaultMgr.framebuffer -> FaultMgr.fb
* make gc FaultMgr.fb u16* (yes, thats everything)
* bss
* fix Fault_Printf return type
* noop FaultDrawer_SetFontColor, FaultDrawer_SetCharPad in fault_n64
* fault_color_ stuff is only for fault_gc
* rm empty line in makefile
* I guess `D_80105A90_unknown` is `[sg]TotalAllocFailures`
* bss
* `Fault_WaitInput` -> `Fault_WaitForInput`
* use named fault funcs in pointers array
* FAULT_OOT{N64,GC} -> FAULT_{N64,GC}
* Apply suggestions from code review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
* review, sync fault_{gc,n64}
* Apply `FPCSR_CE` suggestions from code review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
45 lines
897 B
Plaintext
45 lines
897 B
Plaintext
// z_kankyo, z_demo_kankyo, z_en_viewer, z_object_kankyo, z_eff_ss_dead_dd
|
|
D_01000000 = 0x01000000;
|
|
|
|
// code_800AD920
|
|
D_0E000000 = 0x0E000000;
|
|
|
|
// z_vismono
|
|
D_0F000000 = 0x0F000000;
|
|
|
|
// z_bg_mjin
|
|
D_06000000 = 0x06000000;
|
|
|
|
#if PLATFORM_N64
|
|
|
|
// boot_main.c
|
|
func_80001720 = 0x80001720;
|
|
osInitialize = 0x80003230;
|
|
|
|
// cic6105.c
|
|
cic6105ucodeTextStart = 0x80006720;
|
|
func_800AE258_unknown = 0x800AE258;
|
|
func_800AE1E0_unknown = 0x800AE1E0;
|
|
|
|
// code_n64dd_800AD410.c
|
|
osGetIntMask = 0x800CFBB0;
|
|
osSetTime = 0x800D3660;
|
|
func_801C7740_unknown = 0x801C7740;
|
|
func_801C8510_unknown = 0x801C8510;
|
|
D_801DA410 = 0x801DA410;
|
|
D_801E8090 = 0x801E8090;
|
|
|
|
// z_en_mag.c
|
|
func_801C79BC_unknown = 0x801C79BC;
|
|
|
|
// z_setup.c
|
|
n64dd_SetDiskVersion = 0x801C8808;
|
|
|
|
// z_title.c
|
|
func_800014E8_unknown = 0x800014E8;
|
|
func_801C8090_unknown = 0x801C8090;
|
|
func_801C7BC4_unknown = 0x801C7BC4;
|
|
func_801C7ED0_unknown = 0x801C7ED0;
|
|
|
|
#endif
|