2020-03-17 04:31:30 +00:00
|
|
|
// libultra OS symbols
|
|
|
|
D_80000000 = 0x80000000;
|
2020-04-19 15:57:38 +00:00
|
|
|
D_80000002 = 0x80000002;
|
2020-03-17 04:31:30 +00:00
|
|
|
D_80000004 = 0x80000004;
|
|
|
|
D_80000008 = 0x80000008;
|
|
|
|
D_8000000C = 0x8000000C;
|
|
|
|
D_80000010 = 0x80000010;
|
|
|
|
D_80000020 = 0x80000020;
|
|
|
|
osTvType = 0x80000300;
|
|
|
|
osRomBase = 0x80000308;
|
|
|
|
osResetType = 0x8000030C;
|
|
|
|
osMemSize = 0x80000318;
|
|
|
|
osAppNmiBuffer = 0x8000031C;
|
|
|
|
|
|
|
|
// OS hardware registers
|
|
|
|
D_A4040004 = 0xA4040004;
|
|
|
|
D_A4040008 = 0xA4040008;
|
|
|
|
D_A404000C = 0xA404000C;
|
|
|
|
D_A4040010 = 0xA4040010;
|
|
|
|
D_A4300008 = 0xA4300008;
|
|
|
|
D_A430000C = 0xA430000C;
|
|
|
|
D_A4400004 = 0xA4400004;
|
|
|
|
D_A4400008 = 0xA4400008;
|
|
|
|
D_A440000C = 0xA440000C;
|
|
|
|
D_A4400010 = 0xA4400010;
|
|
|
|
D_A4400014 = 0xA4400014;
|
|
|
|
D_A4400018 = 0xA4400018;
|
|
|
|
D_A440001C = 0xA440001C;
|
|
|
|
D_A4400020 = 0xA4400020;
|
|
|
|
D_A4400024 = 0xA4400024;
|
|
|
|
D_A4400028 = 0xA4400028;
|
|
|
|
D_A440002C = 0xA440002C;
|
|
|
|
D_A4400030 = 0xA4400030;
|
|
|
|
D_A4400034 = 0xA4400034;
|
|
|
|
D_A4500004 = 0xA4500004;
|
|
|
|
D_A4500008 = 0xA4500008;
|
|
|
|
D_A450000C = 0xA450000C;
|
|
|
|
D_A4500010 = 0xA4500010;
|
|
|
|
D_A4500014 = 0xA4500014;
|
|
|
|
D_A4600004 = 0xA4600004;
|
|
|
|
D_A4600005 = 0xA4600005;
|
|
|
|
D_A4600006 = 0xA4600006;
|
|
|
|
D_A4600007 = 0xA4600007;
|
|
|
|
D_A4600008 = 0xA4600008;
|
|
|
|
D_A460000C = 0xA460000C;
|
|
|
|
D_A4600010 = 0xA4600010;
|
|
|
|
D_A4600014 = 0xA4600014;
|
|
|
|
D_A4600018 = 0xA4600018;
|
|
|
|
D_A460001C = 0xA460001C;
|
|
|
|
D_A4600020 = 0xA4600020;
|
|
|
|
D_A4600024 = 0xA4600024;
|
|
|
|
D_A4600028 = 0xA4600028;
|
|
|
|
D_A460002C = 0xA460002C;
|
|
|
|
D_A4600030 = 0xA4600030;
|
2020-03-22 21:50:11 +00:00
|
|
|
D_A4800000 = 0xA4800000; // SI_DRAM_ADDR_REG
|
|
|
|
D_A4800004 = 0xA4800004; // SI_PIF_ADDR_RD64B_REG
|
|
|
|
D_A4800010 = 0xA4800010; // SI_PIF_ADDR_WR64B_REG
|
|
|
|
D_A4800018 = 0xA4800018; // SI_STATUS_REG
|
2020-03-17 04:31:30 +00:00
|
|
|
|
2021-08-22 15:52:02 +00:00
|
|
|
// until ZAPD can handle non-aligned textures,
|
|
|
|
// we can't use the built assets tied to some symbols
|
|
|
|
gKm1Skel = 0x060000F0;
|
|
|
|
gKw1Skel = 0x060000F0;
|
|
|
|
object_ahg_Skel_0000F0 = 0x060000F0;
|
|
|
|
object_bji_Skel_0000F0 = 0x060000F0;
|
2021-08-31 23:00:55 +00:00
|
|
|
object_boj_Skel_0000F0 = 0x060000F0;
|
2021-08-22 15:52:02 +00:00
|
|
|
|
2021-08-31 23:00:55 +00:00
|
|
|
// z_player_lib
|
2020-03-17 04:31:30 +00:00
|
|
|
D_06025218 = 0x06025218;
|
|
|
|
D_060252D8 = 0x060252D8;
|
|
|
|
D_06025438 = 0x06025438;
|
|
|
|
D_06025598 = 0x06025598;
|
|
|
|
D_06025658 = 0x06025658;
|
|
|
|
D_060257B8 = 0x060257B8;
|
|
|
|
D_0602A738 = 0x0602A738;
|
|
|
|
D_0602CB48 = 0x0602CB48;
|
2021-08-31 23:00:55 +00:00
|
|
|
|
2020-04-16 21:36:12 +00:00
|
|
|
// z_skelanime
|
|
|
|
link_animetion_segment = 0x07000000;
|
|
|
|
|
2021-09-28 21:17:04 +00:00
|
|
|
// z_kankyo, z_demo_kankyo, z_en_viewer, z_object_kankyo, z_eff_ss_dead_dd
|
2020-03-19 22:29:33 +00:00
|
|
|
D_01000000 = 0x01000000;
|
2020-03-17 04:31:30 +00:00
|
|
|
|
|
|
|
// z_arms_hook
|
|
|
|
D_0602B288 = 0x0602B288;
|
|
|
|
D_0602AFF0 = 0x0602AFF0;
|
|
|
|
|
2020-05-15 09:02:39 +00:00
|
|
|
// code_800AD920
|
|
|
|
D_0E000000 = 0x0E000000;
|
|
|
|
|
|
|
|
// z_vismono
|
2020-05-18 08:34:34 +00:00
|
|
|
D_0F000000 = 0x0F000000;
|
|
|
|
|
z_bgcheck.c, 800430A0.c, 80043480.c (#256)
* beginning of migrating changes
* got matching
* changed order a bit
* clean up bgcheck
* fix conflict
* fix conflict again
* first stab at identifying types, some oks
* Clean up most bad structs/pointer math, move relevant structs to z64bgcheck.h, get some OKs
* more OKs, z_bgcheck.bss migration, update some sys_math3d.c args
* couple more OKs
* pushing some OKs
* fix compilation issues
* code_800430A0.c OK, more files decomp'd
* 8003A3E0 big OK :)
* Decomp most of func_8003C614, decomp helper funcs
* Decomp SurfaceType, CamData, and WaterBox property related functions
* more OKs, big OK in 8003C078
* more OKs, more progress, move a function definition in z_collision_check to functions.h
* more clean-ups, more OKs, dyn_vtx is now defined as u8*
* 8003A5B8, 8003A7D8, 8003C614, 8003DD6C OK, document function args better
* data migrated, more OKs
* 80041240 OK, func_8003B3C8 and func_8003BB18 disassembled
* func_80040284, 800409A8 non_matching, add IS_ZERO macro
* All asm files have C representations, some big OKs, lots of minor tweaks
* More OKs, non-matching code cleanup
* 8003FBF4 and 80040BE4 OK, improve codegen for most functions
* format z_bgcheck.c
* fix warnings, compile errors on NON_MATCHING
* func_8003EE80 is now NON_MATCHING
* begin documenting some functions
* formatting
* more documentation, func_8003A95C OK
* fix PHYSICAL_TO_VIRTUAL changes
* fix var rename
* More documentation, functions 80040E40, 80041648 OK, change types to not be compatible with ZAP
* func_8004239C ok, more NON_MATCHING improvements, more documentation
* Implement most suggested changes
* Convert comments to slower comments
* /**
* Implement ZAP2 changes
* my anti-virus ate my format.sh results
* Rename a couple hundred functions, fix minor stuff
* rename var so that clang formats correctly
* run format.sh
* implement Petrie's matches/suggestions
* format
* matches
* and the asm
* slight error
* Add SSList
* two more matches
* stuff
* implement code changes
* clean up Petrie's matchings
Co-authored-by: Arthur <arthurtilly413@gmail.com>
Co-authored-by: fig02 <fig02srl@gmail.com>
Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
2021-01-08 11:12:58 +00:00
|
|
|
// z_en_a_keep or en_a_obj
|
|
|
|
D_06000730 = 0x06000730;
|
|
|
|
|
2020-12-02 02:50:35 +00:00
|
|
|
// z_boss_ganon
|
|
|
|
D_02006C18 = 0x02006C18;
|
|
|
|
D_02007418 = 0x02007418;
|
|
|
|
D_06000540 = 0x06000540;
|
|
|
|
D_06000FE8 = 0x06000FE8;
|
|
|
|
D_06001440 = 0x06001440;
|
|
|
|
D_06001B0C = 0x06001B0C;
|
|
|
|
D_06001F58 = 0x06001F58;
|
|
|
|
D_06001FF8 = 0x06001FF8;
|
|
|
|
D_06002D2C = 0x06002D2C;
|
|
|
|
D_06003018 = 0x06003018;
|
|
|
|
D_0600343C = 0x0600343C;
|
|
|
|
D_06003D40 = 0x06003D40;
|
|
|
|
D_06004304 = 0x06004304;
|
|
|
|
D_06004884 = 0x06004884;
|
|
|
|
D_06004DA8 = 0x06004DA8;
|
|
|
|
D_06004F64 = 0x06004F64;
|
|
|
|
D_060058C4 = 0x060058C4;
|
|
|
|
D_06005FFC = 0x06005FFC;
|
|
|
|
D_06006028 = 0x06006028;
|
|
|
|
D_060063CC = 0x060063CC;
|
|
|
|
D_060069A0 = 0x060069A0;
|
|
|
|
D_06006AF4 = 0x06006AF4;
|
|
|
|
D_06007268 = 0x06007268;
|
|
|
|
D_0600738C = 0x0600738C;
|
|
|
|
D_06007A64 = 0x06007A64;
|
|
|
|
D_06008128 = 0x06008128;
|
|
|
|
D_060089F8 = 0x060089F8;
|
|
|
|
D_06008A88 = 0x06008A88;
|
|
|
|
D_06008F44 = 0x06008F44;
|
|
|
|
D_060096B0 = 0x060096B0;
|
|
|
|
D_06009A14 = 0x06009A14;
|
|
|
|
D_06009A20 = 0x06009A20;
|
|
|
|
D_06009D5C = 0x06009D5C;
|
|
|
|
D_0600A598 = 0x0600A598;
|
|
|
|
D_0600AA24 = 0x0600AA24;
|
|
|
|
D_0600ADDC = 0x0600ADDC;
|
|
|
|
D_0600B668 = 0x0600B668;
|
|
|
|
D_0600BE38 = 0x0600BE38;
|
|
|
|
D_0600BE90 = 0x0600BE90;
|
|
|
|
D_0600C9E8 = 0x0600C9E8;
|
|
|
|
D_0600CF00 = 0x0600CF00;
|
|
|
|
D_0600EA00 = 0x0600EA00;
|
|
|
|
D_0600F19C = 0x0600F19C;
|
|
|
|
D_06010298 = 0x06010298;
|
|
|
|
D_06010514 = 0x06010514;
|
|
|
|
D_060114E8 = 0x060114E8;
|
|
|
|
|
2021-09-28 21:17:04 +00:00
|
|
|
// z_bg_mjin
|
|
|
|
D_06000000 = 0x06000000;
|