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.

113 lines
5.9 KiB

6 years ago
  1. ttc_seg7_light_07010930: # 0x07010930 - 0x07010938
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttc_seg7_light_07010938: # 0x07010938 - 0x07010948
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_vertex_07010948: # 0x07010948 - 0x07010A28
  7. vertex 0, 0, -74, 4566, 0, 0x00, 0x22, 0x86, 0xFF
  8. vertex 0, 77, 0, 4566, -542, 0x00, 0x7E, 0x00, 0xFF
  9. vertex 75, 0, 0, 5716, 0, 0x5C, 0x4A, 0xD3, 0xFF
  10. vertex -299, -153, 300, -4986, 990, 0xD9, 0x9E, 0x45, 0xFF
  11. vertex 300, -153, 300, 6968, 990, 0x27, 0x9E, 0x45, 0xFF
  12. vertex 0, 0, 300, 990, 0, 0x00, 0x46, 0x69, 0xFF
  13. vertex 300, 0, 300, 6968, 0, 0x4F, 0x62, 0xF7, 0xFF
  14. vertex -299, 0, 300, -4986, 0, 0xB1, 0x62, 0xF7, 0xFF
  15. vertex 0, -153, 75, 4566, 990, 0x00, 0x86, 0x22, 0xFF
  16. vertex -74, -153, 0, 3418, 990, 0x9E, 0xCE, 0xC3, 0xFF
  17. vertex 0, -229, 0, 4566, 1498, 0x00, 0x82, 0x00, 0xFF
  18. vertex 75, -153, 0, 5716, 990, 0x62, 0xCE, 0xC2, 0xFF
  19. vertex 0, -153, -74, 4566, 990, 0x00, 0xCD, 0x8C, 0xFF
  20. vertex -74, 0, 0, 3418, 0, 0xA4, 0x49, 0xD3, 0xFF
  21. ttc_seg7_vertex_07010A28: # 0x07010A28 - 0x07010B28
  22. vertex 300, 0, 300, -6482, 0, 0x4F, 0x62, 0xF7, 0xFF
  23. vertex 75, -153, 0, 990, 990, 0x62, 0xCE, 0xC2, 0xFF
  24. vertex 75, 0, 0, 990, 0, 0x5C, 0x4A, 0xD3, 0xFF
  25. vertex 0, 77, 0, 4566, -542, 0x00, 0x7E, 0x00, 0xFF
  26. vertex -74, 0, 0, 3418, 0, 0xA4, 0x49, 0xD3, 0xFF
  27. vertex 0, 0, 75, 4566, 0, 0x00, 0x7B, 0x1C, 0xFF
  28. vertex 75, 0, 0, 5716, 0, 0x5C, 0x4A, 0xD3, 0xFF
  29. vertex 0, 0, -74, -2128, 0, 0x00, 0x22, 0x86, 0xFF
  30. vertex 0, -153, -74, -2128, 990, 0x00, 0xCD, 0x8C, 0xFF
  31. vertex -74, -153, 0, 0, 990, 0x9E, 0xCE, 0xC3, 0xFF
  32. vertex -74, 0, 0, 0, 0, 0xA4, 0x49, 0xD3, 0xFF
  33. vertex -299, -153, 300, 7442, 990, 0xD9, 0x9E, 0x45, 0xFF
  34. vertex -299, 0, 300, 7442, 0, 0xB1, 0x62, 0xF7, 0xFF
  35. vertex 0, 0, -74, 3088, 0, 0x00, 0x22, 0x86, 0xFF
  36. vertex 0, -153, -74, 3088, 990, 0x00, 0xCD, 0x8C, 0xFF
  37. vertex 300, -153, 300, -6482, 990, 0x27, 0x9E, 0x45, 0xFF
  38. ttc_seg7_vertex_07010B28: # 0x07010B28 - 0x07010B78
  39. vertex 300, -153, 300, 9166, 990, 0x27, 0x9E, 0x45, 0xFF
  40. vertex -299, -153, 300, 0, 990, 0xD9, 0x9E, 0x45, 0xFF
  41. vertex 0, -153, 75, 4566, 990, 0x00, 0x86, 0x22, 0xFF
  42. vertex -74, -153, 0, 3418, 990, 0x9E, 0xCE, 0xC3, 0xFF
  43. vertex 75, -153, 0, 5716, 990, 0x62, 0xCE, 0xC2, 0xFF
  44. ttc_seg7_vertex_07010B78: # 0x07010B78 - 0x07010BF8
  45. vertex 300, 0, 300, 990, 990, 0x4F, 0x62, 0xF7, 0xFF
  46. vertex 75, 0, 0, -76, 990, 0x5C, 0x4A, 0xD3, 0xFF
  47. vertex 0, 0, 75, 190, 1362, 0x00, 0x7B, 0x1C, 0xFF
  48. vertex 0, 0, 300, 990, 1842, 0x00, 0x46, 0x69, 0xFF
  49. vertex -299, 0, 300, 990, 990, 0xB1, 0x62, 0xF7, 0xFF
  50. vertex 0, 0, 300, 990, 136, 0x00, 0x46, 0x69, 0xFF
  51. vertex 0, 0, 75, 190, 616, 0x00, 0x7B, 0x1C, 0xFF
  52. vertex -74, 0, 0, -76, 990, 0xA4, 0x49, 0xD3, 0xFF
  53. ttc_seg7_dl_07010BF8: # 0x07010BF8 - 0x07010CF0
  54. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09003800
  55. gsDPLoadSync
  56. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  57. gsSPLight ttc_seg7_light_07010938, 1
  58. gsSPLight ttc_seg7_light_07010930, 2
  59. gsSPVertex ttc_seg7_vertex_07010948, 14, 0
  60. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  61. gsSP2Triangles 4, 6, 5, 0x0, 3, 5, 7, 0x0
  62. gsSP2Triangles 8, 9, 10, 0x0, 10, 11, 8, 0x0
  63. gsSP2Triangles 9, 12, 10, 0x0, 11, 10, 12, 0x0
  64. gsSP1Triangle 1, 0, 13, 0x0
  65. gsSPVertex ttc_seg7_vertex_07010A28, 16, 0
  66. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  67. gsSP2Triangles 5, 6, 3, 0x0, 7, 8, 9, 0x0
  68. gsSP2Triangles 7, 9, 10, 0x0, 9, 11, 12, 0x0
  69. gsSP2Triangles 9, 12, 10, 0x0, 1, 13, 2, 0x0
  70. gsSP2Triangles 1, 14, 13, 0x0, 0, 15, 1, 0x0
  71. gsSPVertex ttc_seg7_vertex_07010B28, 5, 0
  72. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  73. gsSP1Triangle 0, 2, 4, 0x0
  74. gsSPEndDisplayList
  75. ttc_seg7_dl_07010CF0: # 0x07010CF0 - 0x07010D38
  76. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09005000
  77. gsDPLoadSync
  78. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  79. gsSPVertex ttc_seg7_vertex_07010B78, 8, 0
  80. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  81. gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
  82. gsSPEndDisplayList
  83. glabel ttc_seg7_dl_07010D38 # 0x07010D38 - 0x07010DE8
  84. gsDPPipeSync
  85. gsDPSetCycleType G_CYC_2CYCLE
  86. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  87. gsDPSetDepthSource G_ZS_PIXEL
  88. gsDPSetFogColor 200, 255, 255, 255
  89. gsSPFogPosition 900, 1000
  90. gsSPSetGeometryMode G_FOG
  91. gsDPSetCombineMode G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, 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
  92. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD
  93. gsSPTexture -1, -1, 0, 0, 1
  94. gsDPTileSync
  95. 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
  96. gsDPSetTileSize 0, 0, 0, 124, 124
  97. gsSPDisplayList ttc_seg7_dl_07010BF8
  98. gsSPDisplayList ttc_seg7_dl_07010CF0
  99. gsSPTexture -1, -1, 0, 0, 0
  100. gsDPPipeSync
  101. gsDPSetCycleType G_CYC_1CYCLE
  102. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  103. gsSPClearGeometryMode G_FOG
  104. 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
  105. gsSPEndDisplayList