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.

96 lines
5.3 KiB

6 years ago
  1. ttm_seg7_light_0700B130: # 0x0700B130 - 0x0700B138
  2. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  3. ttm_seg7_light_0700B138: # 0x0700B138 - 0x0700B148
  4. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_vertex_0700B148: # 0x0700B148 - 0x0700B248
  7. vertex 189, 1503, -188, 114, 1692, 0x4B, 0x00, 0x9B, 0xFF
  8. vertex 288, 1603, -23, 404, 1134, 0x76, 0x2A, 0xEF, 0xFF
  9. vertex 288, 1503, -23, 114, 1134, 0x7D, 0x00, 0xEE, 0xFF
  10. vertex 189, 1604, -188, 406, 1692, 0x3A, 0x51, 0xB2, 0xFF
  11. vertex -161, 1503, -136, 810, 684, 0x9B, 0x00, 0xB5, 0xFF
  12. vertex 3, 1604, -235, 534, 478, 0xEE, 0x2A, 0x8A, 0xFF
  13. vertex 3, 1503, -235, 534, 682, 0xEE, 0x00, 0x83, 0xFF
  14. vertex -161, 1604, -136, 810, 480, 0xAF, 0x4D, 0xC4, 0xFF
  15. vertex 189, 1503, -188, 142, 684, 0x4B, 0x00, 0x9B, 0xFF
  16. vertex 189, 1604, -188, 142, 480, 0x3A, 0x51, 0xB2, 0xFF
  17. vertex -144, 1653, 45, -110, 234, 0xD4, 0x76, 0x06, 0xFF
  18. vertex -208, 1606, 49, 18, 292, 0x89, 0x26, 0x11, 0xFF
  19. vertex -109, 1606, 214, 174, -216, 0xC7, 0x3E, 0x5D, 0xFF
  20. vertex -161, 1604, -136, -130, 802, 0xAF, 0x4D, 0xC4, 0xFF
  21. vertex -161, 1503, -136, 156, 890, 0x9B, 0x00, 0xB5, 0xFF
  22. vertex -208, 1503, 49, 312, 382, 0x83, 0x00, 0x12, 0xFF
  23. ttm_seg7_vertex_0700B248: # 0x0700B248 - 0x0700B338
  24. vertex -109, 1503, 214, 468, -126, 0xA8, 0x00, 0x5A, 0xFF
  25. vertex -208, 1606, 49, 18, 292, 0x89, 0x26, 0x11, 0xFF
  26. vertex -208, 1503, 49, 312, 382, 0x83, 0x00, 0x12, 0xFF
  27. vertex -109, 1606, 214, 174, -216, 0xC7, 0x3E, 0x5D, 0xFF
  28. vertex 241, 1503, 162, 1068, 752, 0x6F, 0x00, 0x3D, 0xFF
  29. vertex 241, 1605, 162, 1068, 480, 0x50, 0x42, 0x48, 0xFF
  30. vertex 76, 1503, 261, 586, 752, 0x12, 0x00, 0x7D, 0xFF
  31. vertex 76, 1605, 261, 586, 480, 0x0F, 0x3B, 0x6E, 0xFF
  32. vertex -109, 1606, 214, 104, 480, 0xC7, 0x3E, 0x5D, 0xFF
  33. vertex -109, 1503, 214, 104, 752, 0xA8, 0x00, 0x5A, 0xFF
  34. vertex 206, 1653, -5, 346, -154, 0x27, 0x78, 0xFB, 0xFF
  35. vertex 241, 1605, 162, -102, 68, 0x50, 0x42, 0x48, 0xFF
  36. vertex 288, 1603, -23, 454, 74, 0x76, 0x2A, 0xEF, 0xFF
  37. vertex 241, 1503, 162, -104, 332, 0x6F, 0x00, 0x3D, 0xFF
  38. vertex 288, 1503, -23, 454, 332, 0x7D, 0x00, 0xEE, 0xFF
  39. ttm_seg7_vertex_0700B338: # 0x0700B338 - 0x0700B3F8
  40. vertex 5, 1653, -155, 458, 40, 0xFB, 0x7A, 0xDF, 0xFF
  41. vertex -161, 1604, -136, 32, 24, 0xAF, 0x4D, 0xC4, 0xFF
  42. vertex -144, 1653, 45, 8, 492, 0xD4, 0x76, 0x06, 0xFF
  43. vertex 189, 1604, -188, 936, 24, 0x3A, 0x51, 0xB2, 0xFF
  44. vertex 3, 1604, -235, 484, -162, 0xEE, 0x2A, 0x8A, 0xFF
  45. vertex 206, 1653, -5, 910, 492, 0x27, 0x78, 0xFB, 0xFF
  46. vertex 57, 1653, 195, 458, 942, 0x04, 0x79, 0x24, 0xFF
  47. vertex -109, 1606, 214, 32, 928, 0xC7, 0x3E, 0x5D, 0xFF
  48. vertex -208, 1606, 49, -154, 476, 0x89, 0x26, 0x11, 0xFF
  49. vertex 76, 1605, 261, 484, 1112, 0x0F, 0x3B, 0x6E, 0xFF
  50. vertex 241, 1605, 162, 936, 928, 0x50, 0x42, 0x48, 0xFF
  51. vertex 288, 1603, -23, 1122, 476, 0x76, 0x2A, 0xEF, 0xFF
  52. ttm_seg7_dl_0700B3F8: # 0x0700B3F8 - 0x0700B530
  53. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004800
  54. gsDPLoadSync
  55. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  56. gsSPLight ttm_seg7_light_0700B138, 1
  57. gsSPLight ttm_seg7_light_0700B130, 2
  58. gsSPVertex ttm_seg7_vertex_0700B148, 16, 0
  59. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  60. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  61. gsSP2Triangles 5, 8, 6, 0x0, 5, 9, 8, 0x0
  62. gsSP2Triangles 10, 11, 12, 0x0, 11, 13, 14, 0x0
  63. gsSP1Triangle 11, 14, 15, 0x0
  64. gsSPVertex ttm_seg7_vertex_0700B248, 15, 0
  65. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  66. gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
  67. gsSP2Triangles 6, 8, 9, 0x0, 6, 7, 8, 0x0
  68. gsSP2Triangles 10, 11, 12, 0x0, 12, 13, 14, 0x0
  69. gsSP1Triangle 12, 11, 13, 0x0
  70. gsSPVertex ttm_seg7_vertex_0700B338, 12, 0
  71. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  72. gsSP2Triangles 5, 3, 0, 0x0, 0, 6, 5, 0x0
  73. gsSP2Triangles 0, 2, 6, 0x0, 0, 4, 1, 0x0
  74. gsSP2Triangles 2, 7, 6, 0x0, 2, 1, 8, 0x0
  75. gsSP2Triangles 6, 9, 10, 0x0, 6, 10, 5, 0x0
  76. gsSP2Triangles 6, 7, 9, 0x0, 5, 11, 3, 0x0
  77. gsSPEndDisplayList
  78. glabel ttm_seg7_dl_0700B530 # 0x0700B530 - 0x0700B590
  79. gsDPPipeSync
  80. 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
  81. 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
  82. gsSPTexture -1, -1, 0, 0, 1
  83. gsDPTileSync
  84. 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
  85. gsDPSetTileSize 0, 0, 0, 124, 124
  86. gsSPDisplayList ttm_seg7_dl_0700B3F8
  87. gsSPTexture -1, -1, 0, 0, 0
  88. gsDPPipeSync
  89. 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
  90. gsSPEndDisplayList