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.

97 lines
5.4 KiB

6 years ago
  1. ttm_seg7_light_0700AB70: # 0x0700AB70 - 0x0700AB78
  2. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  3. ttm_seg7_light_0700AB78: # 0x0700AB78 - 0x0700AB88
  4. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_vertex_0700AB88: # 0x0700AB88 - 0x0700AC78
  7. vertex 214, 1635, 21, 910, 492, 0x27, 0x78, 0xFB, 0xFF
  8. vertex 330, 1563, -4, 1122, 476, 0x76, 0x2A, 0xEF, 0xFF
  9. vertex 190, 1564, -239, 936, 24, 0x3A, 0x50, 0xB2, 0xFF
  10. vertex 214, 1635, 21, 346, -154, 0x27, 0x78, 0xFB, 0xFF
  11. vertex 263, 1566, 261, -102, 68, 0x50, 0x42, 0x48, 0xFF
  12. vertex 330, 1563, -4, 454, 74, 0x76, 0x2A, 0xEF, 0xFF
  13. vertex 263, 1420, 261, -104, 332, 0x6F, 0x00, 0x3D, 0xFF
  14. vertex 330, 1420, -4, 454, 332, 0x7D, 0x00, 0xEE, 0xFF
  15. vertex -287, 1635, 94, 8, 492, 0xD3, 0x76, 0x06, 0xFF
  16. vertex -237, 1567, 335, 32, 928, 0xC7, 0x3E, 0x5E, 0xFF
  17. vertex 0, 1635, 308, 458, 942, 0x04, 0x79, 0x24, 0xFF
  18. vertex 28, 1566, 402, 484, 1112, 0x0F, 0x3B, 0x6F, 0xFF
  19. vertex 263, 1566, 261, 936, 928, 0x50, 0x42, 0x48, 0xFF
  20. vertex -73, 1635, -192, 458, 40, 0xFB, 0x7A, 0xDF, 0xFF
  21. vertex -75, 1564, -306, 484, -162, 0xEF, 0x29, 0x8A, 0xFF
  22. ttm_seg7_vertex_0700AC78: # 0x0700AC78 - 0x0700AD78
  23. vertex -287, 1635, 94, -110, 234, 0xD3, 0x76, 0x06, 0xFF
  24. vertex -378, 1567, 100, 18, 292, 0x89, 0x26, 0x11, 0xFF
  25. vertex -237, 1567, 335, 174, -216, 0xC7, 0x3E, 0x5E, 0xFF
  26. vertex -238, 1420, 335, 468, -126, 0xA7, 0x00, 0x5A, 0xFF
  27. vertex -378, 1420, 100, 312, 382, 0x83, 0x00, 0x12, 0xFF
  28. vertex -311, 1564, -165, -130, 802, 0xAF, 0x4C, 0xC4, 0xFF
  29. vertex -311, 1420, -165, 156, 890, 0x9B, 0x00, 0xB5, 0xFF
  30. vertex -287, 1635, 94, 8, 492, 0xD3, 0x76, 0x06, 0xFF
  31. vertex -311, 1564, -165, 32, 24, 0xAF, 0x4C, 0xC4, 0xFF
  32. vertex -378, 1567, 100, -154, 476, 0x89, 0x26, 0x11, 0xFF
  33. vertex -73, 1635, -192, 458, 40, 0xFB, 0x7A, 0xDF, 0xFF
  34. vertex -75, 1564, -306, 484, -162, 0xEF, 0x29, 0x8A, 0xFF
  35. vertex 263, 1420, 261, 1068, 752, 0x6F, 0x00, 0x3D, 0xFF
  36. vertex 263, 1566, 261, 1068, 480, 0x50, 0x42, 0x48, 0xFF
  37. vertex 27, 1420, 402, 586, 752, 0x12, 0x00, 0x7D, 0xFF
  38. vertex 28, 1566, 402, 586, 480, 0x0F, 0x3B, 0x6F, 0xFF
  39. ttm_seg7_vertex_0700AD78: # 0x0700AD78 - 0x0700AE58
  40. vertex 27, 1420, 402, 586, 752, 0x12, 0x00, 0x7D, 0xFF
  41. vertex -237, 1567, 335, 104, 480, 0xC7, 0x3E, 0x5E, 0xFF
  42. vertex -238, 1420, 335, 104, 752, 0xA7, 0x00, 0x5A, 0xFF
  43. vertex 28, 1566, 402, 586, 480, 0x0F, 0x3B, 0x6F, 0xFF
  44. vertex -311, 1420, -165, 810, 684, 0x9B, 0x00, 0xB5, 0xFF
  45. vertex -75, 1564, -306, 534, 478, 0xEF, 0x29, 0x8A, 0xFF
  46. vertex -76, 1420, -306, 534, 682, 0xEE, 0x00, 0x83, 0xFF
  47. vertex -311, 1564, -165, 810, 480, 0xAF, 0x4C, 0xC4, 0xFF
  48. vertex 189, 1420, -239, 142, 684, 0x4B, 0x00, 0x9B, 0xFF
  49. vertex 190, 1564, -239, 142, 480, 0x3A, 0x50, 0xB2, 0xFF
  50. vertex 189, 1420, -239, 114, 1692, 0x4B, 0x00, 0x9B, 0xFF
  51. vertex 330, 1563, -4, 404, 1134, 0x76, 0x2A, 0xEF, 0xFF
  52. vertex 330, 1420, -4, 114, 1134, 0x7D, 0x00, 0xEE, 0xFF
  53. vertex 190, 1564, -239, 406, 1692, 0x3A, 0x50, 0xB2, 0xFF
  54. ttm_seg7_dl_0700AE58: # 0x0700AE58 - 0x0700AF90
  55. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004800
  56. gsDPLoadSync
  57. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  58. gsSPLight ttm_seg7_light_0700AB78, 1
  59. gsSPLight ttm_seg7_light_0700AB70, 2
  60. gsSPVertex ttm_seg7_vertex_0700AB88, 15, 0
  61. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  62. gsSP2Triangles 5, 4, 6, 0x0, 5, 6, 7, 0x0
  63. gsSP2Triangles 8, 9, 10, 0x0, 10, 9, 11, 0x0
  64. gsSP2Triangles 10, 12, 0, 0x0, 10, 11, 12, 0x0
  65. gsSP2Triangles 13, 10, 0, 0x0, 13, 8, 10, 0x0
  66. gsSP2Triangles 0, 2, 13, 0x0, 13, 2, 14, 0x0
  67. gsSPVertex ttm_seg7_vertex_0700AC78, 16, 0
  68. gsSP2Triangles 0, 1, 2, 0x0, 3, 1, 4, 0x0
  69. gsSP2Triangles 3, 2, 1, 0x0, 1, 5, 6, 0x0
  70. gsSP2Triangles 1, 6, 4, 0x0, 7, 8, 9, 0x0
  71. gsSP2Triangles 10, 8, 7, 0x0, 10, 11, 8, 0x0
  72. gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
  73. gsSPVertex ttm_seg7_vertex_0700AD78, 14, 0
  74. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  75. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  76. gsSP2Triangles 5, 8, 6, 0x0, 5, 9, 8, 0x0
  77. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  78. gsSPEndDisplayList
  79. glabel ttm_seg7_dl_0700AF90 # 0x0700AF90 - 0x0700AFF0
  80. gsDPPipeSync
  81. 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
  82. 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
  83. gsSPTexture -1, -1, 0, 0, 1
  84. gsDPTileSync
  85. 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
  86. gsDPSetTileSize 0, 0, 0, 124, 124
  87. gsSPDisplayList ttm_seg7_dl_0700AE58
  88. gsSPTexture -1, -1, 0, 0, 0
  89. gsDPPipeSync
  90. 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
  91. gsSPEndDisplayList