mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
66 lines
1.2 KiB
Text
66 lines
1.2 KiB
Text
/* libultra OS symbols */
|
|
|
|
/* boot and osException symbols */
|
|
/* most of these should be in hardware.h */
|
|
|
|
/* exceptions */
|
|
|
|
EXCEPTION_TLB_MISS = 0x80000000;
|
|
|
|
/* SP */
|
|
|
|
SP_DMEM = 0xA4000000;
|
|
SP_DMEM_UNK0 = 0xA40004C0;
|
|
SP_DMEM_UNK1 = 0xA4000774;
|
|
SP_IMEM = 0xA4001000;
|
|
SP_STATUS_REG = 0xA4040010;
|
|
SP_PC = 0xA4080000;
|
|
|
|
/* MI */
|
|
|
|
MI_MODE_REG = 0xA4300000;
|
|
MI_VERSION_REG = 0xA4300004;
|
|
MI_INTR_REG = 0xA4300008;
|
|
MI_INTR_MASK_REG = 0xA430000C;
|
|
|
|
/* VI */
|
|
|
|
VI_CURRENT_REG = 0xA4400010;
|
|
|
|
/* AI */
|
|
|
|
AI_STATUS_REG = 0xA450000C;
|
|
|
|
/* PI */
|
|
|
|
PI_DRAM_ADDR_REG = 0xA4600000;
|
|
PI_CART_ADDR_REG = 0xA4600004;
|
|
PI_WR_LEN_REG = 0xA460000C;
|
|
PI_STATUS_REG = 0xA4600010;
|
|
|
|
/* RI */
|
|
|
|
RI_MODE_REG = 0xA4700000;
|
|
RI_REFRESH_REG = 0xA4700010;
|
|
|
|
/* SI */
|
|
|
|
SI_STATUS_REG = 0xA4800018;
|
|
|
|
/* Unknown */
|
|
|
|
D_B0000008 = 0xB0000008;
|
|
D_B0000010 = 0xB0000010;
|
|
D_B0000014 = 0xB0000014;
|
|
D_C0000000 = 0xC0000000;
|
|
D_C0000008 = 0xC0000008;
|
|
D_C000000C = 0xC000000C;
|
|
|
|
/* Shindou functions */
|
|
func_sh_802F69CC = 0x802F69CC;
|
|
osMotorStop = 0x80302EF0;
|
|
osMotorStart = 0x80303090;
|
|
osMotorInit = 0x803033AC;
|
|
func_sh_803016A0 = 0x803016A0;
|
|
func_sh_803016D0 = 0x803016D0;
|
|
func_sh_80301820 = 0x80301820;
|