Super Mario 64s source code (from a leak on 4chan so be careful)
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.

87 lines
4.0 KiB

6 years ago
  1. .balign 4 # 0x070285EE - 0x070285F0
  2. glabel ssl_seg7_dl_070285F0 # 0x070285F0 - 0x07028660
  3. gsDPPipeSync
  4. gsDPSetCycleType G_CYC_2CYCLE
  5. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_INTER2
  6. gsDPSetDepthSource G_ZS_PIXEL
  7. gsDPSetFogColor 0, 0, 0, 255
  8. gsSPFogFactor 0x0E49, 0xF2B7 # This isn't gsSPFogPosition since there is no valid min/max pair that corresponds to 0x0E49F2B7
  9. gsSPSetGeometryMode G_FOG
  10. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  11. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  12. gsSPTexture -1, -1, 0, 0, 1
  13. gsDPTileSync
  14. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  15. gsDPSetTileSize 0, 0, 0, 124, 124
  16. gsSPEndDisplayList
  17. glabel ssl_seg7_dl_07028660 # 0x07028660 - 0x070286A0
  18. gsSPTexture -1, -1, 0, 0, 0
  19. gsDPPipeSync
  20. gsDPSetCycleType G_CYC_1CYCLE
  21. gsSPGeometryMode G_FOG, G_LIGHTING | G_CULL_BACK, G_ORDER_SFIRST
  22. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  23. gsDPSetRenderMode G_RM_AA_ZB_OPA_INTER, G_RM_NOOP2
  24. gsSPEndDisplayList
  25. glabel ssl_seg7_dl_070286A0 # 0x070286A0 - 0x07028718
  26. gsDPPipeSync
  27. gsDPSetCycleType G_CYC_2CYCLE
  28. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_XLU_INTER2
  29. gsDPSetDepthSource G_ZS_PIXEL
  30. gsDPSetFogColor 0, 0, 0, 255
  31. gsSPFogFactor 0x0E49, 0xF2B7 # This isn't gsSPFogPosition since there is no valid min/max pair that corresponds to 0x0E49F2B7
  32. gsSPSetGeometryMode G_FOG
  33. gsDPSetEnvColor 255, 255, 255, 180
  34. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  35. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  36. gsSPTexture -1, -1, 0, 0, 1
  37. gsDPTileSync
  38. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  39. gsDPSetTileSize 0, 0, 0, 124, 124
  40. gsSPEndDisplayList
  41. glabel ssl_seg7_dl_07028718 # 0x07028718 - 0x07028760
  42. gsSPTexture -1, -1, 0, 0, 0
  43. gsDPPipeSync
  44. gsDPSetCycleType G_CYC_1CYCLE
  45. gsSPGeometryMode G_FOG, G_LIGHTING | G_CULL_BACK, G_ORDER_SFIRST
  46. gsDPSetEnvColor 255, 255, 255, 255
  47. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  48. gsDPSetRenderMode G_RM_AA_ZB_XLU_INTER, G_RM_NOOP2
  49. gsSPEndDisplayList
  50. glabel ssl_seg7_arr_07028760 # 0x07028760 - 0x070287B8
  51. .hword 50, 102, 1229, -742, 0, 0, 102, 4275
  52. .hword -742, 5, 0, 102, 4300, -768, 6, 0
  53. .hword 102, 4300, -870, 8, 0, -102, 1229, -742
  54. .hword 0, 1, -102, 4275, -742, 5, 1, -102
  55. .hword 4300, -768, 6, 1, -102, 4300, -870, 8
  56. .hword 1, 0, 0, 0
  57. glabel ssl_seg7_dl_070287B8 # 0x070287B8 - 0x070287F0
  58. gsSP2Triangles 0, 1, 4, 0x0, 4, 1, 5, 0x0
  59. gsSP2Triangles 1, 2, 5, 0x0, 5, 2, 6, 0x0
  60. gsSP2Triangles 2, 3, 6, 0x0, 6, 3, 7, 0x0
  61. gsSPEndDisplayList
  62. glabel ssl_seg7_arr_070287F0 # 0x070287F0 - 0x07028844
  63. .hword 8, 1178, 1229, 2150, 0, 0, -1741, 1229
  64. .hword 2150, 2, 0, -1741, 1229, -589, 4, 0
  65. .hword 154, 1229, -589, 5, 0, 1178, 1229, 2560
  66. .hword 0, 1, -2150, 1229, 2560, 2, 1, -2150
  67. .hword 1229, -794, 4, 1, 154, 1229, -794, 5
  68. .hword 1, 0
  69. glabel ssl_seg7_arr_07028844 # 0x07028844 - 0x07028888
  70. .hword 50, 1229, -307, 2150, 0, 0, 1229, 1168
  71. .hword 2150, 1, 0, 1178, 1229, 2150, 2, 0
  72. .hword 1229, -307, 2560, 0, 1, 1229, 1168, 2560
  73. .hword 1, 1, 1178, 1229, 2560, 2, 1, 0
  74. .hword 0, 0
  75. glabel ssl_seg7_dl_07028888 # 0x07028888 - 0x070288B0
  76. gsSP2Triangles 0, 1, 3, 0x0, 1, 4, 3, 0x0
  77. gsSP2Triangles 1, 2, 4, 0x0, 2, 5, 4, 0x0
  78. gsSPEndDisplayList