mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 17:54:15 +00:00
5e071a014d
* symbol cleanup * run formatter * run formatter * remove duplicate z_demo_ik symbols * run formatter
301 lines
6.5 KiB
Text
301 lines
6.5 KiB
Text
// libultra OS symbols
|
|
D_80000000 = 0x80000000;
|
|
D_80000002 = 0x80000002;
|
|
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;
|
|
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
|
|
|
|
// 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;
|
|
|
|
// segment addresses
|
|
D_0300AA48 = 0x0300AA48;
|
|
D_03012B20 = 0x03012B20;
|
|
D_06025218 = 0x06025218;
|
|
D_060252D8 = 0x060252D8;
|
|
D_06025438 = 0x06025438;
|
|
D_06025598 = 0x06025598;
|
|
D_06025658 = 0x06025658;
|
|
D_060257B8 = 0x060257B8;
|
|
D_0602A738 = 0x0602A738;
|
|
D_0602CB48 = 0x0602CB48;
|
|
D_0602B288 = 0x0602B288;
|
|
D_0602AFF0 = 0x0602AFF0;
|
|
D_07000000 = 0x07000000;
|
|
D_070380D4 = 0x070380D4;
|
|
D_0703811C = 0x0703811C;
|
|
|
|
// z_skelanime
|
|
link_animetion_segment = 0x07000000;
|
|
|
|
// z_title
|
|
D_01000000 = 0x01000000;
|
|
|
|
// z_demo_ik
|
|
D_0600035C = 0x0600035C;
|
|
D_06000380 = 0x06000380;
|
|
D_06000634 = 0x06000634;
|
|
D_06000660 = 0x06000660;
|
|
D_060008DC = 0x060008DC;
|
|
D_06000C6C = 0x06000C6C;
|
|
D_06000C90 = 0x06000C90;
|
|
D_06000F0C = 0x06000F0C;
|
|
D_06016BE0 = 0x06016BE0;
|
|
D_06016CD8 = 0x06016CD8;
|
|
D_06016F88 = 0x06016F88;
|
|
D_06017028 = 0x06017028;
|
|
D_06017170 = 0x06017170;
|
|
D_0601EE60 = 0x0601EE60;
|
|
D_06000F30 = 0x06000F30;
|
|
D_0601EB14 = 0x0601EB14;
|
|
D_0601EB40 = 0x0601EB40;
|
|
D_0601EE34 = 0x0601EE34;
|
|
D_06000900 = 0x06000900;
|
|
|
|
// z_arms_hook
|
|
D_0602B288 = 0x0602B288;
|
|
D_0602AFF0 = 0x0602AFF0;
|
|
|
|
// z_en_part
|
|
D_06015380 = 0x06015380;
|
|
|
|
// z_bg_pushbox
|
|
D_06000000 = 0x06000000;
|
|
D_06000350 = 0x06000350;
|
|
|
|
// code_800AD920
|
|
D_0E000000 = 0x0E000000;
|
|
|
|
// z_vismono
|
|
D_0F000000 = 0x0F000000;
|
|
|
|
// z_en_guest
|
|
D_060000F0 = 0x060000F0;
|
|
D_060042AC = 0x060042AC;
|
|
D_060059B0 = 0x060059B0;
|
|
|
|
// z_eff_ss_g_magma2
|
|
D_06025A90 = 0x06025A90;
|
|
|
|
// z_eff_ss_dead_dd
|
|
D_01000000 = 0x01000000;
|
|
|
|
// z_eff_ss_fhg_flash
|
|
D_06012160 = 0x06012160;
|
|
|
|
// z_en_ik
|
|
D_06001C28 = 0x06001C28;
|
|
D_06002538 = 0x06002538;
|
|
D_060029FC = 0x060029FC;
|
|
D_060033C4 = 0x060033C4;
|
|
D_06003DBC = 0x06003DBC;
|
|
D_060045BC = 0x060045BC;
|
|
D_0600485C = 0x0600485C;
|
|
D_06005944 = 0x06005944;
|
|
D_06006194 = 0x06006194;
|
|
D_06006734 = 0x06006734;
|
|
D_0600C114 = 0x0600C114;
|
|
D_0600CD70 = 0x0600CD70;
|
|
D_0600DD50 = 0x0600DD50;
|
|
D_0600ED24 = 0x0600ED24;
|
|
D_06016BE0 = 0x06016BE0;
|
|
D_06016CD8 = 0x06016CD8;
|
|
D_06016D88 = 0x06016D88;
|
|
D_06016EE8 = 0x06016EE8;
|
|
D_06016F88 = 0x06016F88;
|
|
D_06018E78 = 0x06018E78;
|
|
D_06019100 = 0x06019100;
|
|
D_06019E08 = 0x06019E08;
|
|
D_0601E178 = 0x0601E178;
|
|
D_060203D8 = 0x060203D8;
|
|
D_060205C0 = 0x060205C0;
|
|
|
|
// z_en_okarina_Tag
|
|
D_02003C80 = 0x02003C80;
|
|
D_02005020 = 0x02005020;
|
|
|
|
// z_en_a_keep or en_a_obj
|
|
D_06000730 = 0x06000730;
|
|
|
|
// z_en_kusa
|
|
D_060002E0 = 0x60002E0;
|
|
|
|
// 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;
|
|
|
|
// z_boss_ganon2
|
|
D_06000BFC = 0x06000BFC;
|
|
D_06000EA0 = 0x06000EA0;
|
|
D_0600A8E0 = 0x0600A8E0;
|
|
D_060147E0 = 0x060147E0;
|
|
D_0601E188 = 0x0601E188;
|
|
D_0601E988 = 0x0601E988;
|
|
D_0601EA08 = 0x0601EA08;
|
|
D_06021A90 = 0x06021A90;
|
|
|
|
// z_demo_kankyo
|
|
D_06000080 = 0x06000080;
|
|
D_06000DE0 = 0x06000DE0;
|
|
D_06007440 = 0x06007440;
|
|
D_06007578 = 0x06007578;
|
|
D_06008390 = 0x06008390;
|
|
|
|
// z_en_hy
|
|
D_06005BC8 = 0x06005BC8;
|
|
|
|
// z_en_ko
|
|
D_06006A60 = 0x06006A60;
|
|
D_06007830 = 0x06007830;
|
|
D_06007D94 = 0x06007D94;
|
|
D_0600879C = 0x0600879C;
|
|
D_06008F6C = 0x06008F6C;
|
|
|
|
// z_en_mm
|
|
D_0602CA38 = 0x0602CA38;
|
|
|
|
// z_en_ossan
|
|
D_060000F0 = 0x060000F0;
|
|
|
|
// z_en_sa
|
|
D_02005730 = 0x02005730;
|
|
D_02010E20 = 0x02010E20;
|
|
|
|
// z_en_viewer
|
|
D_01000000 = 0x01000000;
|
|
D_0600BE90 = 0x0600BE90;
|
|
D_060114E8 = 0x060114E8;
|
|
|
|
// z_en_wf
|
|
D_06004638 = 0x06004638;
|
|
D_06004AD0 = 0x06004AD0;
|
|
D_06004CA4 = 0x06004CA4;
|
|
D_06005430 = 0x06005430;
|
|
D_060057A0 = 0x060057A0;
|
|
D_06009690 = 0x06009690;
|
|
D_060098C8 = 0x060098C8;
|
|
D_06009B20 = 0x06009B20;
|
|
D_0600A4AC = 0x0600A4AC;
|
|
|
|
// z_en_zf
|
|
D_06006690 = 0x06006690;
|
|
D_06008138 = 0x06008138;
|
|
D_06008C6C = 0x06008C6C;
|
|
D_06009530 = 0x06009530;
|
|
D_0600A3D4 = 0x0600A3D4;
|
|
D_0600B10C = 0x0600B10C;
|
|
D_0600E198 = 0x0600E198;
|
|
D_06010060 = 0x06010060;
|
|
D_060104B8 = 0x060104B8;
|
|
D_060119F4 = 0x060119F4;
|
|
D_0601366C = 0x0601366C;
|
|
D_06014E60 = 0x06014E60;
|
|
D_060157F8 = 0x060157F8;
|
|
D_06016388 = 0x06016388;
|
|
|
|
// z_item_shield
|
|
D_060224F8 = 0x060224F8;
|
|
|
|
// z_object_kankyo
|
|
D_01000000 = 0x01000000;
|
|
D_06009620 = 0x06009620;
|