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.

130 lines
7.1 KiB

6 years ago
  1. ttc_seg7_light_07010380: # 0x07010380 - 0x07010388
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttc_seg7_light_07010388: # 0x07010388 - 0x07010398
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_vertex_07010398: # 0x07010398 - 0x07010488
  7. vertex -153, 0, -265, -2074, 0, 0xBE, 0x4C, 0xB4, 0xFF
  8. vertex -306, -153, 0, 4056, 990, 0x9D, 0xB4, 0xED, 0xFF
  9. vertex -306, 0, 0, 4056, 0, 0x9D, 0x4C, 0x13, 0xFF
  10. vertex -153, 0, 266, -3096, 0, 0xDF, 0x4C, 0x5F, 0xFF
  11. vertex 154, -153, 266, 3034, 990, 0x21, 0xB4, 0x5F, 0xFF
  12. vertex 154, 0, 266, 3034, 0, 0x42, 0x4C, 0x4C, 0xFF
  13. vertex -153, -153, 266, -3096, 990, 0xBE, 0xB4, 0x4C, 0xFF
  14. vertex 154, 0, -265, -3096, 0, 0x21, 0x4C, 0xA1, 0xFF
  15. vertex -153, -153, -265, 3034, 990, 0xDF, 0xB4, 0xA1, 0xFF
  16. vertex -153, 0, -265, 3034, 0, 0xBE, 0x4C, 0xB4, 0xFF
  17. vertex 154, -153, -265, -3096, 990, 0x42, 0xB4, 0xB4, 0xFF
  18. vertex 154, 0, 266, -2074, 0, 0x42, 0x4C, 0x4C, 0xFF
  19. vertex 307, -153, 0, 4056, 990, 0x63, 0xB4, 0x13, 0xFF
  20. vertex 307, 0, 0, 4056, 0, 0x63, 0x4C, 0xED, 0xFF
  21. vertex 154, -153, 266, -2074, 990, 0x21, 0xB4, 0x5F, 0xFF
  22. ttc_seg7_vertex_07010488: # 0x07010488 - 0x07010538
  23. vertex -306, 0, 0, -2074, 0, 0x9D, 0x4C, 0x13, 0xFF
  24. vertex -306, -153, 0, -2074, 990, 0x9D, 0xB4, 0xED, 0xFF
  25. vertex -153, -153, 266, 4056, 990, 0xBE, 0xB4, 0x4C, 0xFF
  26. vertex -153, 0, -265, -2074, 0, 0xBE, 0x4C, 0xB4, 0xFF
  27. vertex -153, -153, -265, -2074, 990, 0xDF, 0xB4, 0xA1, 0xFF
  28. vertex -306, -153, 0, 4056, 990, 0x9D, 0xB4, 0xED, 0xFF
  29. vertex 307, 0, 0, -3096, 0, 0x63, 0x4C, 0xED, 0xFF
  30. vertex 154, -153, -265, 3034, 990, 0x42, 0xB4, 0xB4, 0xFF
  31. vertex 154, 0, -265, 3034, 0, 0x21, 0x4C, 0xA1, 0xFF
  32. vertex 307, -153, 0, -3096, 990, 0x63, 0xB4, 0x13, 0xFF
  33. vertex -153, 0, 266, 4056, 0, 0xDF, 0x4C, 0x5F, 0xFF
  34. ttc_seg7_vertex_07010538: # 0x07010538 - 0x07010638
  35. vertex 307, 0, 0, -1052, 990, 0x63, 0x4C, 0xED, 0xFF
  36. vertex 154, 0, -265, 2012, 990, 0x21, 0x4C, 0xA1, 0xFF
  37. vertex 0, 0, 0, 478, -1052, 0x00, 0x7F, 0x00, 0xFF
  38. vertex -153, 0, 266, 2012, 990, 0xDF, 0x4C, 0x5F, 0xFF
  39. vertex -306, 0, 0, -1052, 990, 0x9D, 0x4C, 0x13, 0xFF
  40. vertex -153, 0, 266, -1052, 990, 0xDF, 0x4C, 0x5F, 0xFF
  41. vertex 154, 0, 266, 2012, 990, 0x42, 0x4C, 0x4C, 0xFF
  42. vertex 0, 0, 0, 480, -1056, 0x00, 0x7F, 0x00, 0xFF
  43. vertex 0, 0, 0, 480, -1052, 0x00, 0x7F, 0x00, 0xFF
  44. vertex -153, 0, -265, -1052, 990, 0xBE, 0x4C, 0xB4, 0xFF
  45. vertex -306, 0, 0, 2012, 990, 0x9D, 0x4C, 0x13, 0xFF
  46. vertex 154, 0, 266, -1052, 990, 0x42, 0x4C, 0x4C, 0xFF
  47. vertex 307, 0, 0, 2012, 990, 0x63, 0x4C, 0xED, 0xFF
  48. vertex -306, -153, 0, 2012, 990, 0x9D, 0xB4, 0xED, 0xFF
  49. vertex -153, -153, -265, -1052, 990, 0xDF, 0xB4, 0xA1, 0xFF
  50. vertex 0, -153, 0, 480, -1052, 0x00, 0x81, 0x00, 0xFF
  51. ttc_seg7_vertex_07010638: # 0x07010638 - 0x07010738
  52. vertex 154, 0, -265, -1052, 990, 0x21, 0x4C, 0xA1, 0xFF
  53. vertex -153, 0, -265, 2012, 990, 0xBE, 0x4C, 0xB4, 0xFF
  54. vertex 0, 0, 0, 480, -1052, 0x00, 0x7F, 0x00, 0xFF
  55. vertex 0, -153, 0, 480, -1052, 0x00, 0x81, 0x00, 0xFF
  56. vertex 307, -153, 0, 2012, 990, 0x63, 0xB4, 0x13, 0xFF
  57. vertex 154, -153, 266, -1052, 990, 0x21, 0xB4, 0x5F, 0xFF
  58. vertex 0, -153, 0, 478, -1052, 0x00, 0x81, 0x00, 0xFF
  59. vertex 154, -153, -265, 2012, 990, 0x42, 0xB4, 0xB4, 0xFF
  60. vertex 307, -153, 0, -1052, 990, 0x63, 0xB4, 0x13, 0xFF
  61. vertex -153, -153, -265, 2012, 990, 0xDF, 0xB4, 0xA1, 0xFF
  62. vertex 154, -153, -265, -1052, 990, 0x42, 0xB4, 0xB4, 0xFF
  63. vertex 0, -153, 0, 480, -1056, 0x00, 0x81, 0x00, 0xFF
  64. vertex 154, -153, 266, 2012, 990, 0x21, 0xB4, 0x5F, 0xFF
  65. vertex -153, -153, 266, -1052, 990, 0xBE, 0xB4, 0x4C, 0xFF
  66. vertex -306, -153, 0, -1052, 990, 0x9D, 0xB4, 0xED, 0xFF
  67. vertex -153, -153, 266, 2012, 990, 0xBE, 0xB4, 0x4C, 0xFF
  68. ttc_seg7_dl_07010738: # 0x07010738 - 0x070107D8
  69. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09003800
  70. gsDPLoadSync
  71. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  72. gsSPLight ttc_seg7_light_07010388, 1
  73. gsSPLight ttc_seg7_light_07010380, 2
  74. gsSPVertex ttc_seg7_vertex_07010398, 15, 0
  75. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  76. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  77. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  78. gsSP1Triangle 11, 14, 12, 0x0
  79. gsSPVertex ttc_seg7_vertex_07010488, 11, 0
  80. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  81. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  82. gsSP1Triangle 0, 2, 10, 0x0
  83. gsSPEndDisplayList
  84. ttc_seg7_dl_070107D8: # 0x070107D8 - 0x07010868
  85. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09001000
  86. gsDPLoadSync
  87. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  88. gsSPVertex ttc_seg7_vertex_07010538, 16, 0
  89. gsSP2Triangles 0, 1, 2, 0x0, 3, 2, 4, 0x0
  90. gsSP2Triangles 5, 6, 7, 0x0, 8, 9, 10, 0x0
  91. gsSP2Triangles 11, 12, 8, 0x0, 13, 14, 15, 0x0
  92. gsSPVertex ttc_seg7_vertex_07010638, 16, 0
  93. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  94. gsSP2Triangles 6, 7, 8, 0x0, 3, 9, 10, 0x0
  95. gsSP2Triangles 11, 12, 13, 0x0, 14, 6, 15, 0x0
  96. gsSPEndDisplayList
  97. glabel ttc_seg7_dl_07010868 # 0x07010868 - 0x07010930
  98. gsDPPipeSync
  99. gsDPSetCycleType G_CYC_2CYCLE
  100. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  101. gsDPSetDepthSource G_ZS_PIXEL
  102. gsDPSetFogColor 200, 255, 255, 255
  103. gsSPFogPosition 900, 1000
  104. gsSPSetGeometryMode G_FOG
  105. 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
  106. 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
  107. gsSPTexture -1, -1, 0, 0, 1
  108. gsDPTileSync
  109. 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
  110. gsDPSetTileSize 0, 0, 0, 124, 124
  111. gsSPDisplayList ttc_seg7_dl_07010738
  112. gsDPTileSync
  113. 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  114. gsDPSetTileSize 0, 0, 0, 124, 124
  115. gsSPDisplayList ttc_seg7_dl_070107D8
  116. gsSPTexture -1, -1, 0, 0, 0
  117. gsDPPipeSync
  118. gsDPSetCycleType G_CYC_1CYCLE
  119. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  120. gsSPClearGeometryMode G_FOG
  121. 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
  122. gsSPEndDisplayList