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.

87 lines
4.5 KiB

6 years ago
  1. ssl_seg7_light_07021AC8: # 0x07021AC8 - 0x07021AD0
  2. .byte 0x46, 0x46, 0x46, 0x00, 0x46, 0x46, 0x46, 0x00
  3. ssl_seg7_light_07021AD0: # 0x07021AD0 - 0x07021AE0
  4. .byte 0x8C, 0x8C, 0x8C, 0x00, 0x8C, 0x8C, 0x8C, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ssl_seg7_vertex_07021AE0: # 0x07021AE0 - 0x07021BA0
  7. vertex 947, -3224, -1855, -3608, 4668, 0x71, 0x00, 0x38, 0x00
  8. vertex 947, -3224, -3954, 4772, 4668, 0x59, 0x00, 0x59, 0x00
  9. vertex 947, -2200, -3954, 4772, 582, 0x59, 0x00, 0x59, 0xFF
  10. vertex 947, -2200, -1855, -3608, 582, 0x38, 0x00, 0x71, 0xFF
  11. vertex -946, -3224, -3954, -3300, 3646, 0x8F, 0x00, 0x38, 0x00
  12. vertex -946, -3224, -1855, 5078, 3646, 0xC8, 0x00, 0x71, 0x00
  13. vertex -946, -2200, -1855, 5078, -440, 0x8F, 0x00, 0x38, 0xFF
  14. vertex -946, -2200, -3954, -3300, -440, 0xC8, 0x00, 0x71, 0xFF
  15. vertex -946, -3224, -1855, -3096, 4668, 0xC8, 0x00, 0x71, 0x00
  16. vertex 947, -2200, -1855, 4464, 582, 0x38, 0x00, 0x71, 0xFF
  17. vertex -946, -2200, -1855, -3096, 582, 0x8F, 0x00, 0x38, 0xFF
  18. vertex 947, -3224, -1855, 4464, 4668, 0x71, 0x00, 0x38, 0x00
  19. ssl_seg7_vertex_07021BA0: # 0x07021BA0 - 0x07021C90
  20. vertex -2559, -3224, -3954, -9228, 7120, 0x59, 0x00, 0x59, 0x00
  21. vertex -946, -3224, -3954, -2790, 7120, 0x8F, 0x00, 0x38, 0x00
  22. vertex -946, -2200, -3954, -2790, 3032, 0xC8, 0x00, 0x71, 0xFF
  23. vertex 2560, -2200, -3954, -6162, 990, 0x8F, 0x00, 0x38, 0xFF
  24. vertex 2560, -3224, -3954, -6162, 5076, 0xC8, 0x00, 0x71, 0x00
  25. vertex 2560, -3224, -370, 8144, 5076, 0x8F, 0x00, 0xC8, 0x00
  26. vertex 2560, -2200, -370, 8144, 990, 0xC8, 0x00, 0x8F, 0xFF
  27. vertex -2559, -2200, -370, -7184, 2010, 0x71, 0x00, 0xC8, 0xFF
  28. vertex -2559, -3224, -370, -7184, 6098, 0x38, 0x00, 0x8F, 0x00
  29. vertex -2559, -3224, -3954, 7122, 6098, 0x59, 0x00, 0x59, 0x00
  30. vertex -2559, -2200, -3954, 7122, 2010, 0x59, 0x00, 0x59, 0xFF
  31. vertex 947, -2200, -3954, 4772, 3032, 0x59, 0x00, 0x59, 0xFF
  32. vertex 2560, -3224, -3954, 11210, 7120, 0xC8, 0x00, 0x71, 0x00
  33. vertex 2560, -2200, -3954, 11210, 3032, 0x8F, 0x00, 0x38, 0xFF
  34. vertex 947, -3224, -3954, 4772, 7120, 0x59, 0x00, 0x59, 0x00
  35. ssl_seg7_vertex_07021C90: # 0x07021C90 - 0x07021D00
  36. vertex 2560, -2200, -370, -9228, 990, 0xC8, 0x00, 0x8F, 0xFF
  37. vertex 2560, -3224, -370, -9228, 5076, 0x8F, 0x00, 0xC8, 0x00
  38. vertex -2559, -3224, -370, 11210, 5076, 0x38, 0x00, 0x8F, 0x00
  39. vertex -2559, -3224, -3954, -9228, 7120, 0x59, 0x00, 0x59, 0x00
  40. vertex -946, -2200, -3954, -2790, 3032, 0xC8, 0x00, 0x71, 0xFF
  41. vertex -2559, -2200, -3954, -9228, 3032, 0x59, 0x00, 0x59, 0xFF
  42. vertex -2559, -2200, -370, 11210, 990, 0x71, 0x00, 0xC8, 0xFF
  43. ssl_seg7_dl_07021D00: # 0x07021D00 - 0x07021D68
  44. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09000800
  45. gsDPLoadSync
  46. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  47. gsSPLight ssl_seg7_light_07021AD0, 1
  48. gsSPLight ssl_seg7_light_07021AC8, 2
  49. gsSPVertex ssl_seg7_vertex_07021AE0, 12, 0
  50. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  51. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  52. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  53. gsSPEndDisplayList
  54. ssl_seg7_dl_07021D68: # 0x07021D68 - 0x07021DE8
  55. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09001000
  56. gsDPLoadSync
  57. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  58. gsSPVertex ssl_seg7_vertex_07021BA0, 15, 0
  59. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  60. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  61. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  62. gsSP1Triangle 11, 14, 12, 0x0
  63. gsSPVertex ssl_seg7_vertex_07021C90, 7, 0
  64. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  65. gsSP1Triangle 0, 2, 6, 0x0
  66. gsSPEndDisplayList
  67. glabel ssl_seg7_dl_07021DE8 # 0x07021DE8 - 0x07021E50
  68. gsDPPipeSync
  69. 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
  70. 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
  71. gsSPTexture -1, -1, 0, 0, 1
  72. gsDPTileSync
  73. 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
  74. gsDPSetTileSize 0, 0, 0, 124, 124
  75. gsSPDisplayList ssl_seg7_dl_07021D00
  76. gsSPDisplayList ssl_seg7_dl_07021D68
  77. gsSPTexture -1, -1, 0, 0, 0
  78. gsDPPipeSync
  79. 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
  80. gsSPEndDisplayList