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.

115 lines
5.7 KiB

6 years ago
  1. ttc_seg7_light_0700FC80: # 0x0700FC80 - 0x0700FC88
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttc_seg7_light_0700FC88: # 0x0700FC88 - 0x0700FC98
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_light_0700FC98: # 0x0700FC98 - 0x0700FCA0
  7. .byte 0x46, 0x46, 0x46, 0x00, 0x46, 0x46, 0x46, 0x00
  8. ttc_seg7_light_0700FCA0: # 0x0700FCA0 - 0x0700FCB0
  9. .byte 0x8C, 0x8C, 0x8C, 0x00, 0x8C, 0x8C, 0x8C, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ttc_seg7_vertex_0700FCB0: # 0x0700FCB0 - 0x0700FD30
  12. vertex -229, 0, -306, 4510, -34, 0x81, 0x00, 0x00, 0xFF
  13. vertex -229, -137, -306, 4510, 990, 0x81, 0x00, 0x00, 0xFF
  14. vertex -229, -137, 308, 0, 990, 0x81, 0x00, 0x00, 0xFF
  15. vertex -229, 0, 308, 0, -34, 0x81, 0x00, 0x00, 0xFF
  16. vertex 230, 0, 308, 0, -34, 0x7F, 0x00, 0x00, 0xFF
  17. vertex 230, -137, -306, 4510, 990, 0x7F, 0x00, 0x00, 0xFF
  18. vertex 230, 0, -306, 4510, -34, 0x7F, 0x00, 0x00, 0xFF
  19. vertex 230, -137, 308, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  20. ttc_seg7_vertex_0700FD30: # 0x0700FD30 - 0x0700FE30
  21. vertex -229, -137, 308, 990, 990, 0x81, 0x00, 0x00, 0xFF
  22. vertex -229, -35, 344, 334, 234, 0x81, 0x00, 0x00, 0xFF
  23. vertex -229, 0, 308, 990, 0, 0x81, 0x00, 0x00, 0xFF
  24. vertex 230, 0, 308, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  25. vertex 230, -35, 344, 334, 234, 0x7F, 0x00, 0x00, 0xFF
  26. vertex 230, -137, 344, 334, 990, 0x54, 0xD6, 0x54, 0xFF
  27. vertex 230, -137, 308, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  28. vertex 230, -137, -306, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  29. vertex 230, -137, -342, 334, 990, 0x33, 0x99, 0xCD, 0xFF
  30. vertex 230, -35, -342, 334, 234, 0x7F, 0x00, 0x00, 0xFF
  31. vertex 230, 0, -306, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  32. vertex -229, -86, 344, 334, 612, 0x00, 0x00, 0x7F, 0xFF
  33. vertex -229, -137, 344, 334, 990, 0xCD, 0x99, 0x33, 0xFF
  34. vertex 230, -86, 344, 334, 612, 0x00, 0x00, 0x7F, 0xFF
  35. vertex -229, -137, -342, 334, 990, 0xAC, 0xD6, 0xAC, 0xFF
  36. vertex 230, -86, -342, 334, 612, 0x00, 0x00, 0x81, 0xFF
  37. ttc_seg7_vertex_0700FE30: # 0x0700FE30 - 0x0700FE90
  38. vertex -229, 0, -306, 990, 0, 0x81, 0x00, 0x00, 0xFF
  39. vertex -229, -35, -342, 334, 234, 0x81, 0x00, 0x00, 0xFF
  40. vertex -229, -137, -342, 334, 990, 0xAC, 0xD6, 0xAC, 0xFF
  41. vertex -229, -137, -306, 990, 990, 0x81, 0x00, 0x00, 0xFF
  42. vertex -229, -86, -342, 334, 612, 0x00, 0x00, 0x81, 0xFF
  43. vertex 230, -86, -342, 334, 612, 0x00, 0x00, 0x81, 0xFF
  44. ttc_seg7_vertex_0700FE90: # 0x0700FE90 - 0x0700FED0
  45. vertex 230, -137, -342, 0, 0, 0x33, 0x99, 0xCD, 0xFF
  46. vertex -229, -137, 344, 0, 0, 0xCD, 0x99, 0x33, 0xFF
  47. vertex -229, -137, -342, 0, 0, 0xAC, 0xD6, 0xAC, 0xFF
  48. vertex 230, -137, 344, 0, 0, 0x54, 0xD6, 0x54, 0xFF
  49. ttc_seg7_dl_0700FED0: # 0x0700FED0 - 0x0700FF28
  50. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09005800
  51. gsDPLoadSync
  52. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  53. gsSPLight ttc_seg7_light_0700FC88, 1
  54. gsSPLight ttc_seg7_light_0700FC80, 2
  55. gsSPVertex ttc_seg7_vertex_0700FCB0, 8, 0
  56. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  57. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  58. gsSPEndDisplayList
  59. ttc_seg7_dl_0700FF28: # 0x0700FF28 - 0x0700FFB8
  60. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09006000
  61. gsDPLoadSync
  62. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  63. gsSPVertex ttc_seg7_vertex_0700FD30, 16, 0
  64. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  65. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  66. gsSP2Triangles 7, 9, 10, 0x0, 5, 11, 12, 0x0
  67. gsSP2Triangles 5, 13, 11, 0x0, 14, 15, 8, 0x0
  68. gsSP1Triangle 0, 12, 1, 0x0
  69. gsSPVertex ttc_seg7_vertex_0700FE30, 6, 0
  70. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  71. gsSP1Triangle 2, 4, 5, 0x0
  72. gsSPEndDisplayList
  73. ttc_seg7_dl_0700FFB8: # 0x0700FFB8 - 0x0700FFE8
  74. gsSPLight ttc_seg7_light_0700FCA0, 1
  75. gsSPLight ttc_seg7_light_0700FC98, 2
  76. gsSPVertex ttc_seg7_vertex_0700FE90, 4, 0
  77. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  78. gsSPEndDisplayList
  79. glabel ttc_seg7_dl_0700FFE8 # 0x0700FFE8 - 0x070100B0
  80. gsDPPipeSync
  81. gsDPSetCycleType G_CYC_2CYCLE
  82. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  83. gsDPSetDepthSource G_ZS_PIXEL
  84. gsDPSetFogColor 200, 255, 255, 255
  85. gsSPFogPosition 900, 1000
  86. gsSPSetGeometryMode G_FOG
  87. 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
  88. 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
  89. gsSPTexture -1, -1, 0, 0, 1
  90. gsDPTileSync
  91. 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
  92. gsDPSetTileSize 0, 0, 0, 124, 124
  93. gsSPDisplayList ttc_seg7_dl_0700FED0
  94. gsSPDisplayList ttc_seg7_dl_0700FF28
  95. gsSPTexture -1, -1, 0, 0, 0
  96. gsDPPipeSync
  97. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, 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
  98. gsSPDisplayList ttc_seg7_dl_0700FFB8
  99. gsDPPipeSync
  100. gsDPSetCycleType G_CYC_1CYCLE
  101. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  102. gsSPClearGeometryMode G_FOG
  103. 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
  104. gsSPEndDisplayList