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.

78 lines
3.9 KiB

6 years ago
  1. ttc_seg7_light_070100B0: # 0x070100B0 - 0x070100B8
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttc_seg7_light_070100B8: # 0x070100B8 - 0x070100C8
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_vertex_070100C8: # 0x070100C8 - 0x070101C8
  7. vertex 102, 102, -450, 224, 990, 0x38, 0x71, 0x00, 0xFF
  8. vertex -101, 102, 10, 2268, 0, 0xCD, 0x67, 0x33, 0xFF
  9. vertex 102, 102, 10, 224, 0, 0x54, 0x2A, 0x54, 0xFF
  10. vertex 102, 102, 10, 2268, 0, 0x54, 0x2A, 0x54, 0xFF
  11. vertex 102, -101, -450, 224, 990, 0x71, 0xC8, 0x00, 0xFF
  12. vertex 102, 102, -450, 2268, 990, 0x38, 0x71, 0x00, 0xFF
  13. vertex 102, -101, 10, 224, 0, 0x33, 0x99, 0x33, 0xFF
  14. vertex -101, 102, -450, -1308, 990, 0x8F, 0x38, 0x00, 0xFF
  15. vertex -101, -101, -450, 734, 990, 0xC8, 0x8F, 0x00, 0xFF
  16. vertex -101, -101, 10, 734, 0, 0xAC, 0xD6, 0x54, 0xFF
  17. vertex -101, 102, 10, -1308, 0, 0xCD, 0x67, 0x33, 0xFF
  18. vertex 102, -101, 10, 2268, 0, 0x33, 0x99, 0x33, 0xFF
  19. vertex -101, -101, 10, 224, 0, 0xAC, 0xD6, 0x54, 0xFF
  20. vertex -101, -101, -450, 224, 990, 0xC8, 0x8F, 0x00, 0xFF
  21. vertex 102, -101, -450, 2268, 990, 0x71, 0xC8, 0x00, 0xFF
  22. vertex -101, 102, -450, 2268, 990, 0x8F, 0x38, 0x00, 0xFF
  23. ttc_seg7_vertex_070101C8: # 0x070101C8 - 0x07010208
  24. vertex 102, 102, 10, 990, 16, 0x54, 0x2A, 0x54, 0xFF
  25. vertex -101, -101, 10, 0, 990, 0xAC, 0xD6, 0x54, 0xFF
  26. vertex 102, -101, 10, 990, 990, 0x33, 0x99, 0x33, 0xFF
  27. vertex -101, 102, 10, 0, 16, 0xCD, 0x67, 0x33, 0xFF
  28. ttc_seg7_dl_07010208: # 0x07010208 - 0x07010280
  29. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09003800
  30. gsDPLoadSync
  31. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  32. gsSPLight ttc_seg7_light_070100B8, 1
  33. gsSPLight ttc_seg7_light_070100B0, 2
  34. gsSPVertex ttc_seg7_vertex_070100C8, 16, 0
  35. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  36. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  37. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  38. gsSP2Triangles 11, 13, 14, 0x0, 0, 15, 1, 0x0
  39. gsSPEndDisplayList
  40. ttc_seg7_dl_07010280: # 0x07010280 - 0x070102B8
  41. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09003000
  42. gsDPLoadSync
  43. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  44. gsSPVertex ttc_seg7_vertex_070101C8, 4, 0
  45. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  46. gsSPEndDisplayList
  47. glabel ttc_seg7_dl_070102B8 # 0x070102B8 - 0x07010380
  48. gsDPPipeSync
  49. gsDPSetCycleType G_CYC_2CYCLE
  50. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  51. gsDPSetDepthSource G_ZS_PIXEL
  52. gsDPSetFogColor 200, 255, 255, 255
  53. gsSPFogPosition 900, 1000
  54. gsSPSetGeometryMode G_FOG
  55. gsDPSetCombineMode G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  56. 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
  57. gsSPTexture -1, -1, 0, 0, 1
  58. gsDPTileSync
  59. 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
  60. gsDPSetTileSize 0, 0, 0, 124, 124
  61. gsSPDisplayList ttc_seg7_dl_07010208
  62. gsDPTileSync
  63. 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_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  64. gsDPSetTileSize 0, 0, 0, 124, 124
  65. gsSPDisplayList ttc_seg7_dl_07010280
  66. gsSPTexture -1, -1, 0, 0, 0
  67. gsDPPipeSync
  68. gsDPSetCycleType G_CYC_1CYCLE
  69. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  70. gsSPClearGeometryMode G_FOG
  71. 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
  72. gsSPEndDisplayList