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.

100 lines
5.5 KiB

6 years ago
  1. bits_seg7_light_07013890: # 0x07013890 - 0x07013898
  2. .byte 0x14, 0x2F, 0x29, 0x00, 0x14, 0x2F, 0x29, 0x00
  3. bits_seg7_light_07013898: # 0x07013898 - 0x070138A8
  4. .byte 0x50, 0xBF, 0xA7, 0x00, 0x50, 0xBF, 0xA7, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. bits_seg7_vertex_070138A8: # 0x070138A8 - 0x07013998
  7. vertex 0, 0, 0, -712, 536, 0x2A, 0x0F, 0x76, 0xFF
  8. vertex 102, 102, -50, -882, 422, 0x2A, 0x0F, 0x76, 0xFF
  9. vertex 0, 389, -50, -3300, 104, 0x2A, 0x0F, 0x76, 0xFF
  10. vertex 0, 389, -50, -3300, 104, 0xD5, 0x0F, 0x76, 0xFF
  11. vertex -101, 102, -50, -1904, 422, 0xD5, 0x0F, 0x76, 0xFF
  12. vertex 0, 0, 0, -712, 536, 0xD5, 0x0F, 0x76, 0xFF
  13. vertex 389, 0, -50, 1228, 536, 0x0F, 0x2A, 0x76, 0xFF
  14. vertex 102, 102, -50, -882, 422, 0x0F, 0x2A, 0x76, 0xFF
  15. vertex 0, 0, 0, -712, 536, 0x0F, 0x2A, 0x76, 0xFF
  16. vertex 0, 0, 0, -712, 536, 0x0F, 0xD5, 0x76, 0xFF
  17. vertex 102, -101, -50, 478, 650, 0x0F, 0xD5, 0x76, 0xFF
  18. vertex 389, 0, -50, 1228, 536, 0x0F, 0xD5, 0x76, 0xFF
  19. vertex 0, 0, 0, -712, 536, 0xF1, 0x2A, 0x76, 0xFF
  20. vertex -101, 102, -50, -1904, 422, 0xF1, 0x2A, 0x76, 0xFF
  21. vertex -388, 0, -50, -2654, 536, 0xF1, 0x2A, 0x76, 0xFF
  22. bits_seg7_vertex_07013998: # 0x07013998 - 0x07013A88
  23. vertex -388, 0, -50, -2654, 536, 0xF1, 0xD5, 0x76, 0xFF
  24. vertex -101, -101, -50, -540, 650, 0xF1, 0xD5, 0x76, 0xFF
  25. vertex 0, 0, 0, -712, 536, 0xF1, 0xD5, 0x76, 0xFF
  26. vertex 0, 0, 0, -712, 536, 0xD5, 0xF1, 0x76, 0xFF
  27. vertex -101, -101, -50, -540, 650, 0xD5, 0xF1, 0x76, 0xFF
  28. vertex 0, -388, -50, 1876, 968, 0xD5, 0xF1, 0x76, 0xFF
  29. vertex 0, -388, -50, 1876, 968, 0x2A, 0xF1, 0x76, 0xFF
  30. vertex 102, -101, -50, 478, 650, 0x2A, 0xF1, 0x76, 0xFF
  31. vertex 0, 0, 0, -712, 536, 0x2A, 0xF1, 0x76, 0xFF
  32. vertex 0, 0, -101, -712, 536, 0xD4, 0x0F, 0x8A, 0xFF
  33. vertex -101, 102, -50, -1904, 422, 0xD4, 0x0F, 0x8A, 0xFF
  34. vertex 0, 389, -50, -3300, 104, 0xD4, 0x0F, 0x8A, 0xFF
  35. vertex 0, 389, -50, -3300, 104, 0x2B, 0x0F, 0x8A, 0xFF
  36. vertex 102, 102, -50, -882, 422, 0x2B, 0x0F, 0x8A, 0xFF
  37. vertex 0, 0, -101, -712, 536, 0x2B, 0x0F, 0x8A, 0xFF
  38. bits_seg7_vertex_07013A88: # 0x07013A88 - 0x07013B78
  39. vertex 389, 0, -50, 1228, 536, 0x0F, 0xD4, 0x8A, 0xFF
  40. vertex 102, -101, -50, 478, 650, 0x0F, 0xD4, 0x8A, 0xFF
  41. vertex 0, 0, -101, -712, 536, 0x0F, 0xD4, 0x8A, 0xFF
  42. vertex 0, 0, -101, -712, 536, 0x0F, 0x2B, 0x8A, 0xFF
  43. vertex 102, 102, -50, -882, 422, 0x0F, 0x2B, 0x8A, 0xFF
  44. vertex 389, 0, -50, 1228, 536, 0x0F, 0x2B, 0x8A, 0xFF
  45. vertex 0, 0, -101, -712, 536, 0x2B, 0xF1, 0x8A, 0xFF
  46. vertex 102, -101, -50, 478, 650, 0x2B, 0xF1, 0x8A, 0xFF
  47. vertex 0, -388, -50, 1876, 968, 0x2B, 0xF1, 0x8A, 0xFF
  48. vertex -388, 0, -50, -2654, 536, 0xF1, 0x2B, 0x8A, 0xFF
  49. vertex -101, 102, -50, -1904, 422, 0xF1, 0x2B, 0x8A, 0xFF
  50. vertex 0, 0, -101, -712, 536, 0xF1, 0x2B, 0x8A, 0xFF
  51. vertex 0, -388, -50, 1876, 968, 0xD4, 0xF1, 0x8A, 0xFF
  52. vertex -101, -101, -50, -540, 650, 0xD4, 0xF1, 0x8A, 0xFF
  53. vertex 0, 0, -101, -712, 536, 0xD4, 0xF1, 0x8A, 0xFF
  54. bits_seg7_vertex_07013B78: # 0x07013B78 - 0x07013BA8
  55. vertex 0, 0, -101, -712, 536, 0xF1, 0xD4, 0x8A, 0xFF
  56. vertex -101, -101, -50, -540, 650, 0xF1, 0xD4, 0x8A, 0xFF
  57. vertex -388, 0, -50, -2654, 536, 0xF1, 0xD4, 0x8A, 0xFF
  58. bits_seg7_dl_07013BA8: # 0x07013BA8 - 0x07013C78
  59. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  60. gsDPLoadSync
  61. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  62. gsSPLight bits_seg7_light_07013898, 1
  63. gsSPLight bits_seg7_light_07013890, 2
  64. gsSPVertex bits_seg7_vertex_070138A8, 15, 0
  65. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  66. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  67. gsSP1Triangle 12, 13, 14, 0x0
  68. gsSPVertex bits_seg7_vertex_07013998, 15, 0
  69. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  70. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  71. gsSP1Triangle 12, 13, 14, 0x0
  72. gsSPVertex bits_seg7_vertex_07013A88, 15, 0
  73. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  74. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  75. gsSP1Triangle 12, 13, 14, 0x0
  76. gsSPVertex bits_seg7_vertex_07013B78, 3, 0
  77. gsSP1Triangle 0, 1, 2, 0x0
  78. gsSPEndDisplayList
  79. glabel bits_seg7_dl_07013C78 # 0x07013C78 - 0x07013CE8
  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. gsSPClearGeometryMode G_SHADING_SMOOTH
  83. 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
  84. gsSPTexture -1, -1, 0, 0, 1
  85. gsDPTileSync
  86. 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
  87. gsDPSetTileSize 0, 0, 0, 124, 124
  88. gsSPDisplayList bits_seg7_dl_07013BA8
  89. gsSPTexture -1, -1, 0, 0, 0
  90. gsDPPipeSync
  91. 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
  92. gsSPSetGeometryMode G_SHADING_SMOOTH
  93. gsSPEndDisplayList