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.

124 lines
6.1 KiB

6 years ago
  1. ttc_seg7_light_07011758: # 0x07011758 - 0x07011760
  2. .byte 0x5A, 0x41, 0x23, 0x00, 0x5A, 0x41, 0x23, 0x00
  3. ttc_seg7_light_07011760: # 0x07011760 - 0x07011770
  4. .byte 0xB4, 0x82, 0x46, 0x00, 0xB4, 0x82, 0x46, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_light_07011770: # 0x07011770 - 0x07011778
  7. .byte 0x7F, 0x66, 0x32, 0x00, 0x7F, 0x66, 0x32, 0x00
  8. ttc_seg7_light_07011778: # 0x07011778 - 0x07011788
  9. .byte 0xFF, 0xCC, 0x65, 0x00, 0xFF, 0xCC, 0x65, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ttc_seg7_light_07011788: # 0x07011788 - 0x07011790
  12. .byte 0x49, 0x00, 0x00, 0x00, 0x49, 0x00, 0x00, 0x00
  13. ttc_seg7_light_07011790: # 0x07011790 - 0x070117A0
  14. .byte 0x93, 0x00, 0x00, 0x00, 0x93, 0x00, 0x00, 0x00
  15. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  16. ttc_seg7_light_070117A0: # 0x070117A0 - 0x070117A8
  17. .byte 0x7F, 0x00, 0x00, 0x00, 0x7F, 0x00, 0x00, 0x00
  18. ttc_seg7_light_070117A8: # 0x070117A8 - 0x070117B8
  19. .byte 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00
  20. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  21. ttc_seg7_vertex_070117B8: # 0x070117B8 - 0x07011838
  22. vertex 86, 0, -81, 994, 288, 0x54, 0xD6, 0xAC, 0xFF
  23. vertex -85, 41, -81, 994, 670, 0xAC, 0x2A, 0xAC, 0xFF
  24. vertex 86, 41, -81, 994, 288, 0x33, 0x67, 0xCD, 0xFF
  25. vertex -85, 0, -81, 994, 670, 0xCD, 0x99, 0xCD, 0xFF
  26. vertex -85, 0, 1336, 136, 670, 0xC7, 0x94, 0xDF, 0xFF
  27. vertex -85, 41, 1336, 136, 670, 0xFB, 0x73, 0xCC, 0xFF
  28. vertex 86, 41, 1336, 136, 288, 0x39, 0x6C, 0xDF, 0xFF
  29. vertex 86, 0, 1336, 136, 288, 0x05, 0x8D, 0xCC, 0xFF
  30. ttc_seg7_vertex_07011838: # 0x07011838 - 0x070118B8
  31. vertex 86, 41, -81, 994, 288, 0x33, 0x67, 0xCD, 0xFF
  32. vertex -85, 41, -81, 994, 670, 0xAC, 0x2A, 0xAC, 0xFF
  33. vertex -85, 41, 1336, 136, 670, 0xFB, 0x73, 0xCC, 0xFF
  34. vertex 86, 41, 1336, 136, 288, 0x39, 0x6C, 0xDF, 0xFF
  35. vertex 86, 0, 1336, 136, 288, 0x05, 0x8D, 0xCC, 0xFF
  36. vertex -85, 0, -81, 994, 670, 0xCD, 0x99, 0xCD, 0xFF
  37. vertex 86, 0, -81, 994, 288, 0x54, 0xD6, 0xAC, 0xFF
  38. vertex -85, 0, 1336, 136, 670, 0xC7, 0x94, 0xDF, 0xFF
  39. ttc_seg7_vertex_070118B8: # 0x070118B8 - 0x07011958
  40. vertex -85, 41, 1336, 136, 670, 0xFB, 0x73, 0xCC, 0xFF
  41. vertex -85, 0, 1336, 136, 670, 0xC7, 0x94, 0xDF, 0xFF
  42. vertex -180, 0, 1295, 160, 880, 0xFD, 0xB3, 0x9C, 0xFF
  43. vertex -180, 41, 1295, 160, 880, 0x9D, 0x4D, 0x0C, 0xFF
  44. vertex 0, 0, 1577, -10, 478, 0xE2, 0x94, 0x3A, 0xFF
  45. vertex 0, 41, 1577, -10, 478, 0x1E, 0x6C, 0x3A, 0xFF
  46. vertex 181, 0, 1295, 160, 78, 0x63, 0xB3, 0x0C, 0xFF
  47. vertex 181, 41, 1295, 160, 78, 0x03, 0x4D, 0x9C, 0xFF
  48. vertex 86, 0, 1336, 136, 288, 0x05, 0x8D, 0xCC, 0xFF
  49. vertex 86, 41, 1336, 136, 288, 0x39, 0x6C, 0xDF, 0xFF
  50. ttc_seg7_vertex_07011958: # 0x07011958 - 0x070119F8
  51. vertex 0, 41, 1577, -10, 478, 0x1E, 0x6C, 0x3A, 0xFF
  52. vertex 86, 41, 1336, 136, 288, 0x39, 0x6C, 0xDF, 0xFF
  53. vertex -85, 41, 1336, 136, 670, 0xFB, 0x73, 0xCC, 0xFF
  54. vertex -180, 41, 1295, 160, 880, 0x9D, 0x4D, 0x0C, 0xFF
  55. vertex 181, 41, 1295, 160, 78, 0x03, 0x4D, 0x9C, 0xFF
  56. vertex 0, 0, 1577, -10, 478, 0xE2, 0x94, 0x3A, 0xFF
  57. vertex 86, 0, 1336, 136, 288, 0x05, 0x8D, 0xCC, 0xFF
  58. vertex 181, 0, 1295, 160, 78, 0x63, 0xB3, 0x0C, 0xFF
  59. vertex -180, 0, 1295, 160, 880, 0xFD, 0xB3, 0x9C, 0xFF
  60. vertex -85, 0, 1336, 136, 670, 0xC7, 0x94, 0xDF, 0xFF
  61. ttc_seg7_dl_070119F8: # 0x070119F8 - 0x07011B38
  62. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09000800
  63. gsDPLoadSync
  64. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  65. gsSPLight ttc_seg7_light_07011760, 1
  66. gsSPLight ttc_seg7_light_07011758, 2
  67. gsSPVertex ttc_seg7_vertex_070117B8, 8, 0
  68. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  69. gsSP2Triangles 4, 5, 1, 0x0, 4, 1, 3, 0x0
  70. gsSP2Triangles 0, 2, 6, 0x0, 0, 6, 7, 0x0
  71. gsSPLight ttc_seg7_light_07011778, 1
  72. gsSPLight ttc_seg7_light_07011770, 2
  73. gsSPVertex ttc_seg7_vertex_07011838, 8, 0
  74. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  75. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  76. gsSPLight ttc_seg7_light_07011790, 1
  77. gsSPLight ttc_seg7_light_07011788, 2
  78. gsSPVertex ttc_seg7_vertex_070118B8, 10, 0
  79. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  80. gsSP2Triangles 3, 2, 4, 0x0, 3, 4, 5, 0x0
  81. gsSP2Triangles 5, 4, 6, 0x0, 5, 6, 7, 0x0
  82. gsSP2Triangles 7, 6, 8, 0x0, 7, 8, 9, 0x0
  83. gsSPLight ttc_seg7_light_070117A8, 1
  84. gsSPLight ttc_seg7_light_070117A0, 2
  85. gsSPVertex ttc_seg7_vertex_07011958, 10, 0
  86. gsSP2Triangles 0, 1, 2, 0x0, 2, 3, 0, 0x0
  87. gsSP2Triangles 0, 4, 1, 0x0, 5, 6, 7, 0x0
  88. gsSP2Triangles 5, 8, 9, 0x0, 5, 9, 6, 0x0
  89. gsSPEndDisplayList
  90. glabel ttc_seg7_dl_07011B38 # 0x07011B38 - 0x07011BE0
  91. gsDPPipeSync
  92. gsDPSetCycleType G_CYC_2CYCLE
  93. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  94. gsDPSetDepthSource G_ZS_PIXEL
  95. gsDPSetFogColor 200, 255, 255, 255
  96. gsSPFogPosition 900, 1000
  97. gsSPSetGeometryMode G_FOG
  98. 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
  99. 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
  100. gsSPTexture -1, -1, 0, 0, 1
  101. gsDPTileSync
  102. 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
  103. gsDPSetTileSize 0, 0, 0, 124, 124
  104. gsSPDisplayList ttc_seg7_dl_070119F8
  105. gsSPTexture -1, -1, 0, 0, 0
  106. gsDPPipeSync
  107. gsDPSetCycleType G_CYC_1CYCLE
  108. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  109. gsSPClearGeometryMode G_FOG
  110. 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
  111. gsSPEndDisplayList