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. bitdw_seg7_light_0700B4F0: # 0x0700B4F0 - 0x0700B4F8
  2. .byte 0x39, 0x6F, 0x5D, 0x00, 0x39, 0x6F, 0x5D, 0x00
  3. bitdw_seg7_light_0700B4F8: # 0x0700B4F8 - 0x0700B508
  4. .byte 0x79, 0xEB, 0xC5, 0x00, 0x79, 0xEB, 0xC5, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. bitdw_seg7_vertex_0700B508: # 0x0700B508 - 0x0700B5F8
  7. vertex 0, 389, -50, 938, 2, 0xD5, 0x0F, 0x76, 0xFF
  8. vertex -101, 102, -50, -542, 650, 0xD5, 0x0F, 0x76, 0xFF
  9. vertex 0, 0, 0, 0, 650, 0xD5, 0x0F, 0x76, 0xFF
  10. vertex 0, 0, 0, 0, 650, 0x2A, 0x0F, 0x76, 0xFF
  11. vertex 102, 102, -50, 990, 308, 0x2A, 0x0F, 0x76, 0xFF
  12. vertex 0, 389, -50, 938, 2, 0x2A, 0x0F, 0x76, 0xFF
  13. vertex 0, 0, 0, 0, 650, 0xF1, 0x2A, 0x76, 0xFF
  14. vertex -101, 102, -50, -542, 650, 0xF1, 0x2A, 0x76, 0xFF
  15. vertex -388, 0, -50, -2942, 1294, 0xF1, 0x2A, 0x76, 0xFF
  16. vertex -388, 0, -50, -2942, 1294, 0xF1, 0xD5, 0x76, 0xFF
  17. vertex -101, -101, -50, -1052, 990, 0xF1, 0xD5, 0x76, 0xFF
  18. vertex 0, 0, 0, 0, 650, 0xF1, 0xD5, 0x76, 0xFF
  19. vertex 389, 0, -50, 2880, 2, 0x0F, 0x2A, 0x76, 0xFF
  20. vertex 102, 102, -50, 990, 308, 0x0F, 0x2A, 0x76, 0xFF
  21. vertex 0, 0, 0, 0, 650, 0x0F, 0x2A, 0x76, 0xFF
  22. bitdw_seg7_vertex_0700B5F8: # 0x0700B5F8 - 0x0700B6E8
  23. vertex 0, 0, 0, 0, 650, 0x0F, 0xD5, 0x76, 0xFF
  24. vertex 102, -101, -50, 480, 650, 0x0F, 0xD5, 0x76, 0xFF
  25. vertex 389, 0, -50, 2880, 2, 0x0F, 0xD5, 0x76, 0xFF
  26. vertex 0, -388, -50, -1000, 1294, 0x2A, 0xF1, 0x76, 0xFF
  27. vertex 102, -101, -50, 480, 650, 0x2A, 0xF1, 0x76, 0xFF
  28. vertex 0, 0, 0, 0, 650, 0x2A, 0xF1, 0x76, 0xFF
  29. vertex 0, 0, 0, 0, 650, 0xD5, 0xF1, 0x76, 0xFF
  30. vertex -101, -101, -50, -1052, 990, 0xD5, 0xF1, 0x76, 0xFF
  31. vertex 0, -388, -50, -1000, 1294, 0xD5, 0xF1, 0x76, 0xFF
  32. vertex 0, 389, -50, 938, 2, 0x2B, 0x0F, 0x8A, 0xFF
  33. vertex 102, 102, -50, 990, 308, 0x2B, 0x0F, 0x8A, 0xFF
  34. vertex 0, 0, -101, 0, 650, 0x2B, 0x0F, 0x8A, 0xFF
  35. vertex 0, 0, -101, 0, 650, 0x0F, 0x2B, 0x8A, 0xFF
  36. vertex 102, 102, -50, 990, 308, 0x0F, 0x2B, 0x8A, 0xFF
  37. vertex 389, 0, -50, 2880, 2, 0x0F, 0x2B, 0x8A, 0xFF
  38. bitdw_seg7_vertex_0700B6E8: # 0x0700B6E8 - 0x0700B7D8
  39. vertex 389, 0, -50, 2880, 2, 0x0F, 0xD4, 0x8A, 0xFF
  40. vertex 102, -101, -50, 480, 650, 0x0F, 0xD4, 0x8A, 0xFF
  41. vertex 0, 0, -101, 0, 650, 0x0F, 0xD4, 0x8A, 0xFF
  42. vertex 0, 0, -101, 0, 650, 0x2B, 0xF1, 0x8A, 0xFF
  43. vertex 102, -101, -50, 480, 650, 0x2B, 0xF1, 0x8A, 0xFF
  44. vertex 0, -388, -50, -1000, 1294, 0x2B, 0xF1, 0x8A, 0xFF
  45. vertex -388, 0, -50, -2942, 1294, 0xF1, 0x2B, 0x8A, 0xFF
  46. vertex -101, 102, -50, -542, 650, 0xF1, 0x2B, 0x8A, 0xFF
  47. vertex 0, 0, -101, 0, 650, 0xF1, 0x2B, 0x8A, 0xFF
  48. vertex 0, 0, -101, 0, 650, 0xD4, 0x0F, 0x8A, 0xFF
  49. vertex -101, 102, -50, -542, 650, 0xD4, 0x0F, 0x8A, 0xFF
  50. vertex 0, 389, -50, 938, 2, 0xD4, 0x0F, 0x8A, 0xFF
  51. vertex 0, -388, -50, -1000, 1294, 0xD4, 0xF1, 0x8A, 0xFF
  52. vertex -101, -101, -50, -1052, 990, 0xD4, 0xF1, 0x8A, 0xFF
  53. vertex 0, 0, -101, 0, 650, 0xD4, 0xF1, 0x8A, 0xFF
  54. bitdw_seg7_vertex_0700B7D8: # 0x0700B7D8 - 0x0700B808
  55. vertex 0, 0, -101, 0, 650, 0xF1, 0xD4, 0x8A, 0xFF
  56. vertex -101, -101, -50, -1052, 990, 0xF1, 0xD4, 0x8A, 0xFF
  57. vertex -388, 0, -50, -2942, 1294, 0xF1, 0xD4, 0x8A, 0xFF
  58. bitdw_seg7_dl_0700B808: # 0x0700B808 - 0x0700B8D8
  59. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800
  60. gsDPLoadSync
  61. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  62. gsSPLight bitdw_seg7_light_0700B4F8, 1
  63. gsSPLight bitdw_seg7_light_0700B4F0, 2
  64. gsSPVertex bitdw_seg7_vertex_0700B508, 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 bitdw_seg7_vertex_0700B5F8, 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 bitdw_seg7_vertex_0700B6E8, 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 bitdw_seg7_vertex_0700B7D8, 3, 0
  77. gsSP1Triangle 0, 1, 2, 0x0
  78. gsSPEndDisplayList
  79. glabel bitdw_seg7_dl_0700B8D8 # 0x0700B8D8 - 0x0700B948
  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 bitdw_seg7_dl_0700B808
  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