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.

117 lines
5.9 KiB

6 years ago
  1. ttc_seg7_light_0700F830: # 0x0700F830 - 0x0700F838
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttc_seg7_light_0700F838: # 0x0700F838 - 0x0700F848
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_light_0700F848: # 0x0700F848 - 0x0700F850
  7. .byte 0x46, 0x46, 0x46, 0x00, 0x46, 0x46, 0x46, 0x00
  8. ttc_seg7_light_0700F850: # 0x0700F850 - 0x0700F860
  9. .byte 0x8C, 0x8C, 0x8C, 0x00, 0x8C, 0x8C, 0x8C, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ttc_seg7_vertex_0700F860: # 0x0700F860 - 0x0700F8E0
  12. vertex -229, -137, -511, 4810, 990, 0x81, 0x00, 0x00, 0xFF
  13. vertex -229, 0, 512, -2758, -34, 0x81, 0x00, 0x00, 0xFF
  14. vertex -229, 0, -511, 4810, -34, 0x81, 0x00, 0x00, 0xFF
  15. vertex -229, -137, 512, -2758, 990, 0x81, 0x00, 0x00, 0xFF
  16. vertex 230, 0, -511, 4810, -34, 0x7F, 0x00, 0x00, 0xFF
  17. vertex 230, -137, 512, -2758, 990, 0x7F, 0x00, 0x00, 0xFF
  18. vertex 230, -137, -511, 4810, 990, 0x7F, 0x00, 0x00, 0xFF
  19. vertex 230, 0, 512, -2758, -34, 0x7F, 0x00, 0x00, 0xFF
  20. ttc_seg7_vertex_0700F8E0: # 0x0700F8E0 - 0x0700F9C0
  21. vertex 230, -137, -511, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  22. vertex 230, -35, -547, 334, 234, 0x7F, 0x00, 0x00, 0xFF
  23. vertex 230, 0, -511, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  24. vertex -229, -137, -547, 334, 990, 0xAC, 0xD6, 0xAC, 0xFF
  25. vertex -229, -86, -547, 334, 612, 0x00, 0x00, 0x81, 0xFF
  26. vertex 230, -86, -547, 334, 612, 0x00, 0x00, 0x81, 0xFF
  27. vertex 230, -137, -547, 334, 990, 0x33, 0x99, 0xCD, 0xFF
  28. vertex -229, 0, -511, 990, 0, 0x81, 0x00, 0x00, 0xFF
  29. vertex -229, -35, -547, 334, 234, 0x81, 0x00, 0x00, 0xFF
  30. vertex -229, -137, -511, 990, 990, 0x81, 0x00, 0x00, 0xFF
  31. vertex -229, -137, 512, 990, 990, 0x81, 0x00, 0x00, 0xFF
  32. vertex -229, -137, 549, 334, 990, 0xCD, 0x99, 0x33, 0xFF
  33. vertex -229, -35, 549, 334, 234, 0x81, 0x00, 0x00, 0xFF
  34. vertex -229, 0, 512, 990, 0, 0x81, 0x00, 0x00, 0xFF
  35. ttc_seg7_vertex_0700F9C0: # 0x0700F9C0 - 0x0700FA60
  36. vertex 230, -137, 549, 334, 990, 0x54, 0xD6, 0x54, 0xFF
  37. vertex 230, -86, 549, 334, 612, 0x00, 0x00, 0x7F, 0xFF
  38. vertex -229, -86, 549, 334, 612, 0x00, 0x00, 0x7F, 0xFF
  39. vertex 230, -137, -511, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  40. vertex 230, -137, -547, 334, 990, 0x33, 0x99, 0xCD, 0xFF
  41. vertex 230, -35, -547, 334, 234, 0x7F, 0x00, 0x00, 0xFF
  42. vertex 230, 0, 512, 990, 0, 0x7F, 0x00, 0x00, 0xFF
  43. vertex 230, -35, 549, 334, 234, 0x7F, 0x00, 0x00, 0xFF
  44. vertex 230, -137, 512, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  45. vertex -229, -137, 549, 334, 990, 0xCD, 0x99, 0x33, 0xFF
  46. ttc_seg7_vertex_0700FA60: # 0x0700FA60 - 0x0700FAA0
  47. vertex 230, -137, -547, 0, 0, 0x33, 0x99, 0xCD, 0xFF
  48. vertex 230, -137, 549, 0, 0, 0x54, 0xD6, 0x54, 0xFF
  49. vertex -229, -137, 549, 0, 0, 0xCD, 0x99, 0x33, 0xFF
  50. vertex -229, -137, -547, 0, 0, 0xAC, 0xD6, 0xAC, 0xFF
  51. ttc_seg7_dl_0700FAA0: # 0x0700FAA0 - 0x0700FAF8
  52. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09005800
  53. gsDPLoadSync
  54. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  55. gsSPLight ttc_seg7_light_0700F838, 1
  56. gsSPLight ttc_seg7_light_0700F830, 2
  57. gsSPVertex ttc_seg7_vertex_0700F860, 8, 0
  58. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  59. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  60. gsSPEndDisplayList
  61. ttc_seg7_dl_0700FAF8: # 0x0700FAF8 - 0x0700FB88
  62. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09006000
  63. gsDPLoadSync
  64. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  65. gsSPVertex ttc_seg7_vertex_0700F8E0, 14, 0
  66. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  67. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 3, 0x0
  68. gsSP2Triangles 7, 3, 9, 0x0, 10, 11, 12, 0x0
  69. gsSP1Triangle 10, 12, 13, 0x0
  70. gsSPVertex ttc_seg7_vertex_0700F9C0, 10, 0
  71. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  72. gsSP2Triangles 6, 7, 0, 0x0, 6, 0, 8, 0x0
  73. gsSP1Triangle 0, 2, 9, 0x0
  74. gsSPEndDisplayList
  75. ttc_seg7_dl_0700FB88: # 0x0700FB88 - 0x0700FBB8
  76. gsSPLight ttc_seg7_light_0700F850, 1
  77. gsSPLight ttc_seg7_light_0700F848, 2
  78. gsSPVertex ttc_seg7_vertex_0700FA60, 4, 0
  79. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  80. gsSPEndDisplayList
  81. glabel ttc_seg7_dl_0700FBB8 # 0x0700FBB8 - 0x0700FC80
  82. gsDPPipeSync
  83. gsDPSetCycleType G_CYC_2CYCLE
  84. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  85. gsDPSetDepthSource G_ZS_PIXEL
  86. gsDPSetFogColor 200, 255, 255, 255
  87. gsSPFogPosition 900, 1000
  88. gsSPSetGeometryMode G_FOG
  89. 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
  90. 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
  91. gsSPTexture -1, -1, 0, 0, 1
  92. gsDPTileSync
  93. 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
  94. gsDPSetTileSize 0, 0, 0, 124, 124
  95. gsSPDisplayList ttc_seg7_dl_0700FAA0
  96. gsSPDisplayList ttc_seg7_dl_0700FAF8
  97. gsSPTexture -1, -1, 0, 0, 0
  98. gsDPPipeSync
  99. 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
  100. gsSPDisplayList ttc_seg7_dl_0700FB88
  101. gsDPPipeSync
  102. gsDPSetCycleType G_CYC_1CYCLE
  103. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  104. gsSPClearGeometryMode G_FOG
  105. 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
  106. gsSPEndDisplayList