Super Mario 64 OpenGL port for PC. Mirror of https://github.com/sm64pc/sm64pc https://github.com/sm64pc/sm64pc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

67 lines
1.2 KiB

  1. /* libultra OS symbols */
  2. /* boot and osException symbols */
  3. /* most of these should be in hardware.h */
  4. /* exceptions */
  5. EXCEPTION_TLB_MISS = 0x80000000;
  6. /* SP */
  7. SP_DMEM = 0xA4000000;
  8. SP_DMEM_UNK0 = 0xA40004C0;
  9. SP_DMEM_UNK1 = 0xA4000774;
  10. SP_IMEM = 0xA4001000;
  11. SP_STATUS_REG = 0xA4040010;
  12. SP_PC = 0xA4080000;
  13. /* MI */
  14. MI_MODE_REG = 0xA4300000;
  15. MI_VERSION_REG = 0xA4300004;
  16. MI_INTR_REG = 0xA4300008;
  17. MI_INTR_MASK_REG = 0xA430000C;
  18. /* VI */
  19. VI_CURRENT_REG = 0xA4400010;
  20. /* AI */
  21. AI_STATUS_REG = 0xA450000C;
  22. /* PI */
  23. PI_DRAM_ADDR_REG = 0xA4600000;
  24. PI_CART_ADDR_REG = 0xA4600004;
  25. PI_WR_LEN_REG = 0xA460000C;
  26. PI_STATUS_REG = 0xA4600010;
  27. /* RI */
  28. RI_MODE_REG = 0xA4700000;
  29. RI_REFRESH_REG = 0xA4700010;
  30. /* SI */
  31. SI_STATUS_REG = 0xA4800018;
  32. /* Unknown */
  33. D_B0000008 = 0xB0000008;
  34. D_B0000010 = 0xB0000010;
  35. D_B0000014 = 0xB0000014;
  36. D_C0000000 = 0xC0000000;
  37. D_C0000008 = 0xC0000008;
  38. D_C000000C = 0xC000000C;
  39. /* Shindou functions */
  40. func_sh_802F69CC = 0x802F69CC;
  41. osMotorStop = 0x80302EF0;
  42. osMotorStart = 0x80303090;
  43. osMotorInit = 0x803033AC;
  44. func_sh_803016A0 = 0x803016A0;
  45. func_sh_803016D0 = 0x803016D0;
  46. func_sh_80301820 = 0x80301820;