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.

104 lines
5.5 KiB

6 years ago
  1. bbh_seg7_light_0701E948: # 0x0701E948 - 0x0701E950
  2. .byte 0x24, 0x11, 0x0B, 0x00, 0x24, 0x11, 0x0B, 0x00
  3. bbh_seg7_light_0701E950: # 0x0701E950 - 0x0701E960
  4. .byte 0x5A, 0x2C, 0x1D, 0x00, 0x5A, 0x2C, 0x1D, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. bbh_seg7_light_0701E960: # 0x0701E960 - 0x0701E968
  7. .byte 0x3C, 0x3C, 0x3C, 0x00, 0x3C, 0x3C, 0x3C, 0x00
  8. bbh_seg7_light_0701E968: # 0x0701E968 - 0x0701E978
  9. .byte 0x96, 0x96, 0x96, 0x00, 0x96, 0x96, 0x96, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. bbh_seg7_vertex_0701E978: # 0x0701E978 - 0x0701E9F8
  12. vertex 1638, 3021, 730, 990, 0, 0x00, 0x5F, 0x54, 0xFF
  13. vertex 1229, 3021, 730, 0, 0, 0x00, 0x5F, 0x54, 0xFF
  14. vertex 1229, 2750, 1037, 0, 990, 0x00, 0x5F, 0x54, 0xFF
  15. vertex 1638, 2750, 1037, 990, 990, 0x00, 0x5F, 0x54, 0xFF
  16. vertex -306, 2750, 1037, 0, 990, 0x00, 0x5F, 0x54, 0xFF
  17. vertex 102, 3021, 730, 990, 0, 0x00, 0x5F, 0x54, 0xFF
  18. vertex -306, 3021, 730, 0, 0, 0x00, 0x5F, 0x54, 0xFF
  19. vertex 102, 2750, 1037, 990, 990, 0x00, 0x5F, 0x54, 0xFF
  20. bbh_seg7_vertex_0701E9F8: # 0x0701E9F8 - 0x0701EAE8
  21. vertex 1843, 1536, 2161, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  22. vertex 1434, 1126, 2161, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  23. vertex 1843, 1126, 2161, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  24. vertex -101, 614, 2161, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  25. vertex -511, 205, 2161, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  26. vertex -101, 205, 2161, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  27. vertex -511, 614, 2161, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  28. vertex 1843, 614, 2161, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  29. vertex 1434, 205, 2161, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  30. vertex 1843, 205, 2161, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  31. vertex 1434, 614, 2161, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  32. vertex -101, 1536, 2161, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  33. vertex -511, 1126, 2161, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  34. vertex -101, 1126, 2161, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  35. vertex -511, 1536, 2161, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  36. bbh_seg7_vertex_0701EAE8: # 0x0701EAE8 - 0x0701EBD8
  37. vertex 3072, 614, 2673, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  38. vertex 2662, 205, 2673, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  39. vertex 3072, 205, 2673, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  40. vertex 1843, 1536, 2161, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  41. vertex 1434, 1536, 2161, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  42. vertex 1434, 1126, 2161, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  43. vertex -1330, 614, 2673, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  44. vertex -1740, 205, 2673, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  45. vertex -1330, 205, 2673, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  46. vertex -1740, 614, 2673, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  47. vertex -1330, 1536, 2673, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  48. vertex -1740, 1126, 2673, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  49. vertex -1330, 1126, 2673, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  50. vertex -1740, 1536, 2673, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  51. vertex 2662, 614, 2673, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  52. bbh_seg7_vertex_0701EBD8: # 0x0701EBD8 - 0x0701EC18
  53. vertex 3072, 1536, 2673, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  54. vertex 2662, 1126, 2673, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  55. vertex 3072, 1126, 2673, 990, 990, 0x00, 0x00, 0x7F, 0xFF
  56. vertex 2662, 1536, 2673, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  57. bbh_seg7_dl_0701EC18: # 0x0701EC18 - 0x0701ED18
  58. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09006000
  59. gsDPLoadSync
  60. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  61. gsSPLight bbh_seg7_light_0701E950, 1
  62. gsSPLight bbh_seg7_light_0701E948, 2
  63. gsSPVertex bbh_seg7_vertex_0701E978, 8, 0
  64. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  65. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  66. gsSPLight bbh_seg7_light_0701E968, 1
  67. gsSPLight bbh_seg7_light_0701E960, 2
  68. gsSPVertex bbh_seg7_vertex_0701E9F8, 15, 0
  69. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  70. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  71. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  72. gsSP1Triangle 11, 14, 12, 0x0
  73. gsSPVertex bbh_seg7_vertex_0701EAE8, 15, 0
  74. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  75. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  76. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  77. gsSP1Triangle 0, 14, 1, 0x0
  78. gsSPVertex bbh_seg7_vertex_0701EBD8, 4, 0
  79. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  80. gsSPEndDisplayList
  81. glabel bbh_seg7_dl_0701ED18 # 0x0701ED18 - 0x0701ED88
  82. gsDPPipeSync
  83. 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
  84. gsSPClearGeometryMode G_SHADING_SMOOTH
  85. 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
  86. gsSPTexture -1, -1, 0, 0, 1
  87. gsDPTileSync
  88. 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
  89. gsDPSetTileSize 0, 0, 0, 124, 124
  90. gsSPDisplayList bbh_seg7_dl_0701EC18
  91. gsSPTexture -1, -1, 0, 0, 0
  92. gsDPPipeSync
  93. 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
  94. gsSPSetGeometryMode G_SHADING_SMOOTH
  95. gsSPEndDisplayList