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.

190 lines
10 KiB

6 years ago
  1. bbh_seg7_light_0701A0F0: # 0x0701A0F0 - 0x0701A0F8
  2. .byte 0x20, 0x20, 0x20, 0x00, 0x20, 0x20, 0x20, 0x00
  3. bbh_seg7_light_0701A0F8: # 0x0701A0F8 - 0x0701A108
  4. .byte 0x50, 0x50, 0x50, 0x00, 0x50, 0x50, 0x50, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. bbh_seg7_light_0701A108: # 0x0701A108 - 0x0701A110
  7. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  8. bbh_seg7_light_0701A110: # 0x0701A110 - 0x0701A120
  9. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. bbh_seg7_vertex_0701A120: # 0x0701A120 - 0x0701A160
  12. vertex -306, -2457, 2150, 24496, 0, 0x00, 0x7F, 0x00, 0xFF
  13. vertex 307, -2457, 4608, 0, 6098, 0x00, 0x7F, 0x00, 0xFF
  14. vertex 307, -2457, 2150, 24496, 6098, 0x00, 0x7F, 0x00, 0xFF
  15. vertex -306, -2457, 4608, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  16. bbh_seg7_vertex_0701A160: # 0x0701A160 - 0x0701A260
  17. vertex -76, -2457, 2099, 990, 478, 0x00, 0x7F, 0x00, 0xFF
  18. vertex -76, -2457, 2150, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  19. vertex 77, -2457, 2150, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  20. vertex -76, -2457, 4608, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  21. vertex -76, -2457, 4659, 990, 478, 0x00, 0x7F, 0x00, 0xFF
  22. vertex 77, -2457, 4659, 0, 480, 0x00, 0x7F, 0x00, 0xFF
  23. vertex 77, -2457, 4608, 0, 2012, 0x00, 0x7F, 0x00, 0xFF
  24. vertex 77, -2201, 4608, 0, 990, 0x00, 0x81, 0x00, 0xFF
  25. vertex 77, -2201, 4659, 0, 480, 0x00, 0x81, 0x00, 0xFF
  26. vertex -76, -2201, 4659, 990, 478, 0x00, 0x81, 0x00, 0xFF
  27. vertex -76, -2201, 4608, 990, 990, 0x00, 0x81, 0x00, 0xFF
  28. vertex 77, -2201, 2099, 0, 478, 0x00, 0x81, 0x00, 0xFF
  29. vertex 77, -2201, 2150, 0, 0, 0x00, 0x81, 0x00, 0xFF
  30. vertex -76, -2201, 2150, 990, 0, 0x00, 0x81, 0x00, 0xFF
  31. vertex -76, -2201, 2099, 990, 478, 0x00, 0x81, 0x00, 0xFF
  32. vertex 77, -2457, 2099, 0, 478, 0x00, 0x7F, 0x00, 0xFF
  33. bbh_seg7_vertex_0701A260: # 0x0701A260 - 0x0701A360
  34. vertex -76, -2201, 2099, 480, 0, 0x7F, 0x00, 0x00, 0xFF
  35. vertex -76, -2201, 2150, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  36. vertex -76, -2457, 2150, 990, 2012, 0x7F, 0x00, 0x00, 0xFF
  37. vertex -76, -2201, 4608, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  38. vertex -76, -2457, 4659, 478, 2012, 0x7F, 0x00, 0x00, 0xFF
  39. vertex -76, -2457, 4608, 0, 2012, 0x7F, 0x00, 0x00, 0xFF
  40. vertex -76, -2201, 4659, 478, 0, 0x7F, 0x00, 0x00, 0xFF
  41. vertex 77, -2457, 4608, 0, 2012, 0x81, 0x00, 0x00, 0xFF
  42. vertex 77, -2201, 4659, 478, 0, 0x81, 0x00, 0x00, 0xFF
  43. vertex 77, -2201, 4608, 0, 0, 0x81, 0x00, 0x00, 0xFF
  44. vertex 77, -2457, 4659, 478, 2012, 0x81, 0x00, 0x00, 0xFF
  45. vertex 77, -2457, 2099, 480, 2012, 0x81, 0x00, 0x00, 0xFF
  46. vertex 77, -2457, 2150, 990, 2012, 0x81, 0x00, 0x00, 0xFF
  47. vertex 77, -2201, 2150, 990, 0, 0x81, 0x00, 0x00, 0xFF
  48. vertex 77, -2201, 2099, 480, 0, 0x81, 0x00, 0x00, 0xFF
  49. vertex -76, -2457, 2099, 480, 2012, 0x7F, 0x00, 0x00, 0xFF
  50. bbh_seg7_vertex_0701A360: # 0x0701A360 - 0x0701A450
  51. vertex 307, -2457, 2150, 0, 990, 0x81, 0x00, 0x00, 0xFF
  52. vertex 307, -2047, 4608, 12232, -1054, 0x81, 0x00, 0x00, 0xFF
  53. vertex 307, -2047, 2150, 0, -1054, 0x81, 0x00, 0x00, 0xFF
  54. vertex -101, -1842, 2150, 12232, -456, 0x59, 0xA7, 0x00, 0xFF
  55. vertex -306, -2047, 4608, 0, 990, 0x59, 0xA7, 0x00, 0xFF
  56. vertex -306, -2047, 2150, 12232, 990, 0x59, 0xA7, 0x00, 0xFF
  57. vertex -101, -1842, 4608, 0, -456, 0x59, 0xA7, 0x00, 0xFF
  58. vertex 102, -1842, 2150, 12232, 0, 0x00, 0x81, 0x00, 0xFF
  59. vertex 102, -1842, 4608, 0, 0, 0x00, 0x81, 0x00, 0xFF
  60. vertex -101, -1842, 4608, 0, 990, 0x00, 0x81, 0x00, 0xFF
  61. vertex -101, -1842, 2150, 12232, 990, 0x00, 0x81, 0x00, 0xFF
  62. vertex 307, -2047, 2150, 0, 990, 0xA7, 0xA7, 0x00, 0xFF
  63. vertex 307, -2047, 4608, 12232, 990, 0xA7, 0xA7, 0x00, 0xFF
  64. vertex 102, -1842, 4608, 12232, -456, 0xA7, 0xA7, 0x00, 0xFF
  65. vertex 102, -1842, 2150, 0, -456, 0xA7, 0xA7, 0x00, 0xFF
  66. bbh_seg7_vertex_0701A450: # 0x0701A450 - 0x0701A550
  67. vertex -76, -2201, 4608, 1884, -288, 0x00, 0x00, 0x81, 0xFF
  68. vertex -306, -2047, 4608, 3032, -1054, 0x00, 0x00, 0x81, 0xFF
  69. vertex 102, -1842, 4608, 988, -2076, 0x00, 0x00, 0x81, 0xFF
  70. vertex 307, -2457, 2150, 0, 990, 0x81, 0x00, 0x00, 0xFF
  71. vertex 307, -2457, 4608, 12232, 990, 0x81, 0x00, 0x00, 0xFF
  72. vertex 307, -2047, 4608, 12232, -1054, 0x81, 0x00, 0x00, 0xFF
  73. vertex -306, -2047, 2150, 7632, -1054, 0x7F, 0x00, 0x00, 0xFF
  74. vertex -306, -2047, 4608, -4628, -1054, 0x7F, 0x00, 0x00, 0xFF
  75. vertex -306, -2457, 4608, -4628, 990, 0x7F, 0x00, 0x00, 0xFF
  76. vertex -306, -2457, 2150, 7632, 990, 0x7F, 0x00, 0x00, 0xFF
  77. vertex -76, -2457, 4608, 1884, 990, 0x00, 0x00, 0x81, 0xFF
  78. vertex -306, -2457, 4608, 3032, 990, 0x00, 0x00, 0x81, 0xFF
  79. vertex 77, -2201, 4608, 1116, -288, 0x00, 0x00, 0x81, 0xFF
  80. vertex -101, -1842, 4608, 2012, -2076, 0x00, 0x00, 0x81, 0xFF
  81. vertex 307, -2047, 4608, 0, -1054, 0x00, 0x00, 0x81, 0xFF
  82. vertex 307, -2457, 4608, 0, 990, 0x00, 0x00, 0x81, 0xFF
  83. bbh_seg7_vertex_0701A550: # 0x0701A550 - 0x0701A620
  84. vertex 307, -2457, 4608, 0, 990, 0x00, 0x00, 0x81, 0xFF
  85. vertex 77, -2457, 4608, 1116, 990, 0x00, 0x00, 0x81, 0xFF
  86. vertex 77, -2201, 4608, 1116, -288, 0x00, 0x00, 0x81, 0xFF
  87. vertex 307, -2047, 2150, 3032, -1054, 0x00, 0x00, 0x7F, 0xFF
  88. vertex 77, -2201, 2150, 1884, -288, 0x00, 0x00, 0x7F, 0xFF
  89. vertex 307, -2457, 2150, 3032, 990, 0x00, 0x00, 0x7F, 0xFF
  90. vertex 102, -1842, 2150, 2012, -2076, 0x00, 0x00, 0x7F, 0xFF
  91. vertex -76, -2201, 2150, 1116, -288, 0x00, 0x00, 0x7F, 0xFF
  92. vertex 77, -2457, 2150, 1884, 990, 0x00, 0x00, 0x7F, 0xFF
  93. vertex -306, -2457, 2150, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  94. vertex -76, -2457, 2150, 1116, 990, 0x00, 0x00, 0x7F, 0xFF
  95. vertex -306, -2047, 2150, 0, -1054, 0x00, 0x00, 0x7F, 0xFF
  96. vertex -101, -1842, 2150, 988, -2076, 0x00, 0x00, 0x7F, 0xFF
  97. bbh_seg7_dl_0701A620: # 0x0701A620 - 0x0701A668
  98. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_0900A000
  99. gsDPLoadSync
  100. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  101. gsSPLight bbh_seg7_light_0701A0F8, 1
  102. gsSPLight bbh_seg7_light_0701A0F0, 2
  103. gsSPVertex bbh_seg7_vertex_0701A120, 4, 0
  104. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  105. gsSPEndDisplayList
  106. bbh_seg7_dl_0701A668: # 0x0701A668 - 0x0701A6E0
  107. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09008800
  108. gsDPLoadSync
  109. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  110. gsSPLight bbh_seg7_light_0701A110, 1
  111. gsSPLight bbh_seg7_light_0701A108, 2
  112. gsSPVertex bbh_seg7_vertex_0701A160, 16, 0
  113. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  114. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  115. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  116. gsSP2Triangles 11, 13, 14, 0x0, 0, 2, 15, 0x0
  117. gsSPEndDisplayList
  118. bbh_seg7_dl_0701A6E0: # 0x0701A6E0 - 0x0701A748
  119. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09003800
  120. gsDPLoadSync
  121. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  122. gsSPVertex bbh_seg7_vertex_0701A260, 16, 0
  123. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  124. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  125. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  126. gsSP2Triangles 11, 13, 14, 0x0, 0, 2, 15, 0x0
  127. gsSPEndDisplayList
  128. bbh_seg7_dl_0701A748: # 0x0701A748 - 0x0701A850
  129. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09007000
  130. gsDPLoadSync
  131. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  132. gsSPVertex bbh_seg7_vertex_0701A360, 15, 0
  133. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  134. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  135. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  136. gsSP1Triangle 11, 13, 14, 0x0
  137. gsSPVertex bbh_seg7_vertex_0701A450, 16, 0
  138. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  139. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  140. gsSP2Triangles 0, 10, 11, 0x0, 0, 11, 1, 0x0
  141. gsSP2Triangles 12, 0, 2, 0x0, 1, 13, 2, 0x0
  142. gsSP2Triangles 12, 2, 14, 0x0, 15, 12, 14, 0x0
  143. gsSPVertex bbh_seg7_vertex_0701A550, 13, 0
  144. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  145. gsSP2Triangles 3, 6, 4, 0x0, 6, 7, 4, 0x0
  146. gsSP2Triangles 4, 8, 5, 0x0, 9, 10, 7, 0x0
  147. gsSP2Triangles 11, 9, 7, 0x0, 6, 11, 7, 0x0
  148. gsSP1Triangle 6, 12, 11, 0x0
  149. gsSPEndDisplayList
  150. glabel bbh_seg7_dl_0701A850 # 0x0701A850 - 0x0701A920
  151. gsDPPipeSync
  152. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  153. gsSPClearGeometryMode G_SHADING_SMOOTH
  154. 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
  155. gsSPTexture -1, -1, 0, 0, 1
  156. gsDPTileSync
  157. 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
  158. gsDPSetTileSize 0, 0, 0, 124, 124
  159. gsSPDisplayList bbh_seg7_dl_0701A620
  160. gsDPTileSync
  161. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  162. gsDPSetTileSize 0, 0, 0, 124, 124
  163. gsSPDisplayList bbh_seg7_dl_0701A668
  164. gsDPTileSync
  165. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  166. gsDPSetTileSize 0, 0, 0, 124, 252
  167. gsSPDisplayList bbh_seg7_dl_0701A6E0
  168. gsDPTileSync
  169. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  170. gsDPSetTileSize 0, 0, 0, 252, 124
  171. gsSPDisplayList bbh_seg7_dl_0701A748
  172. gsSPTexture -1, -1, 0, 0, 0
  173. gsDPPipeSync
  174. 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
  175. gsSPSetGeometryMode G_SHADING_SMOOTH
  176. gsSPEndDisplayList