2019-08-25 06:46:40 +02:00
|
|
|
/* libultra OS symbols */
|
|
|
|
|
|
|
|
/* boot and osException symbols */
|
2020-02-03 06:51:26 +01:00
|
|
|
/* most of these should be in hardware.h */
|
2020-04-03 20:57:26 +02:00
|
|
|
|
|
|
|
/* 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 */
|
|
|
|
|
2019-08-25 06:46:40 +02:00
|
|
|
D_B0000008 = 0xB0000008;
|
|
|
|
D_B0000010 = 0xB0000010;
|
|
|
|
D_B0000014 = 0xB0000014;
|
|
|
|
D_C0000000 = 0xC0000000;
|
|
|
|
D_C0000008 = 0xC0000008;
|
|
|
|
D_C000000C = 0xC000000C;
|
2020-03-02 04:42:52 +01:00
|
|
|
|
2020-04-03 20:57:26 +02:00
|
|
|
/* Shindou functions */
|
2020-03-02 04:42:52 +01:00
|
|
|
func_sh_802F69CC = 0x802F69CC;
|
2020-04-03 20:57:26 +02:00
|
|
|
osMotorStop = 0x80302EF0;
|
|
|
|
osMotorStart = 0x80303090;
|
|
|
|
osMotorInit = 0x803033AC;
|
|
|
|
func_sh_803016A0 = 0x803016A0;
|
|
|
|
func_sh_803016D0 = 0x803016D0;
|
|
|
|
func_sh_80301820 = 0x80301820;
|