mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-27 12:20:27 +00:00
823a3c0754
* Match Destroy * Matched Init * 3 more matched * 15 functions matched, data imported * 16 matched * 17 matched * 18 matched * formatting * 19 matched * Fix unk_404 * Draw matched, 20 in total * 21 matched * 22 matched * 23 matched * 24 matched * 25 matched * 26 matched * 27 matched * 28 matched * 29 matched * 30 matched * 31 matched * 33 matched * 34 matched * 35 matched * 36 matched * 17 left * 16 left * 15 left * 14 left * 13 left * 12 left * 11 left * 10 left * spec * bss * 9 left * 8 left * 7 left * 6 left * 5 left * 4 left * 1 up to regalloc, 3 left * 2 left (+ 1 regalloc) * More naming * 1 + regalloc left * Some naming * matches but for 2 words of stack in func_80B45748 * Delete some padding in header * Merge remote-tracking branch 'upstream/master' into Zf * func_8003426C rename * more failed matching attempts * Update to new function names * OK at last * Actually OK this time, removed pragmas, spec * Begin documentation * Few more names * Some more naming, added description to z_en_geldb.c * Confirm platform categories * (Badly) named floor check functions * Make fighter actors playSpeed animation frame checks consistent (up to names) * Action enum, lot of work on the skeleton stuff in the object * Lot of function and animation naming * More naming, last of the hardcoded symbols * Some name cleanup * Remove asm * Format * Bit more cleanup * Dragorn review I * undefined syms * Correct limb names * Non-control flow review suggestions * Easy review stuff * Some more review
152 lines
3.6 KiB
Plaintext
152 lines
3.6 KiB
Plaintext
// 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;
|
|
object_boj_Skel_0000F0 = 0x060000F0;
|
|
|
|
// z_player_lib
|
|
D_06025218 = 0x06025218;
|
|
D_060252D8 = 0x060252D8;
|
|
D_06025438 = 0x06025438;
|
|
D_06025598 = 0x06025598;
|
|
D_06025658 = 0x06025658;
|
|
D_060257B8 = 0x060257B8;
|
|
D_0602A738 = 0x0602A738;
|
|
D_0602CB48 = 0x0602CB48;
|
|
|
|
// z_kanfont
|
|
D_07000000 = 0x07000000;
|
|
D_070380D4 = 0x070380D4;
|
|
D_0703811C = 0x0703811C;
|
|
|
|
// z_skelanime
|
|
link_animetion_segment = 0x07000000;
|
|
|
|
// z_kankyo, z_demo_kankyo, z_en_viewer, z_object_kankyo, z_eff_ss_dead_dd
|
|
D_01000000 = 0x01000000;
|
|
|
|
// z_arms_hook
|
|
D_0602B288 = 0x0602B288;
|
|
D_0602AFF0 = 0x0602AFF0;
|
|
|
|
// code_800AD920
|
|
D_0E000000 = 0x0E000000;
|
|
|
|
// z_vismono
|
|
D_0F000000 = 0x0F000000;
|
|
|
|
// z_en_a_keep or en_a_obj
|
|
D_06000730 = 0x06000730;
|
|
|
|
// 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_bg_mjin
|
|
D_06000000 = 0x06000000;
|