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.

80 lines
4.3 KiB

6 years ago
  1. ttc_seg7_light_0700AED8: # 0x0700AED8 - 0x0700AEE0
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttc_seg7_light_0700AEE0: # 0x0700AEE0 - 0x0700AEF0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_vertex_0700AEF0: # 0x0700AEF0 - 0x0700AFE0
  7. vertex -861, -8703, 2081, 5078, -5012, 0x20, 0x00, 0x86, 0x00
  8. vertex -861, -8191, 2081, 5078, -7186, 0x40, 0x00, 0x93, 0x32
  9. vertex 862, -8191, 2081, -30, -7186, 0xE0, 0x00, 0x86, 0x32
  10. vertex 2081, -8703, 862, 5078, -5012, 0x86, 0x00, 0xE0, 0x00
  11. vertex 2081, -8191, -861, -30, -7186, 0x86, 0x00, 0x20, 0x32
  12. vertex 2081, -8703, -861, -30, -5012, 0x93, 0x00, 0x40, 0x00
  13. vertex 2081, -8191, 862, 5078, -7186, 0x93, 0x00, 0xC0, 0x32
  14. vertex 862, -8703, 2081, 5078, -5012, 0xC0, 0x00, 0x93, 0x00
  15. vertex 2081, -8191, 862, -30, -7186, 0x93, 0x00, 0xC0, 0x32
  16. vertex 2081, -8703, 862, -30, -5012, 0x86, 0x00, 0xE0, 0x00
  17. vertex 862, -8191, 2081, 5078, -7186, 0xE0, 0x00, 0x86, 0x32
  18. vertex -2080, -8703, 862, 5078, -5012, 0x6D, 0x00, 0xC0, 0x00
  19. vertex -2080, -8191, 862, 5078, -7186, 0x7A, 0x00, 0xE0, 0x32
  20. vertex -861, -8191, 2081, -30, -7186, 0x40, 0x00, 0x93, 0x32
  21. vertex -861, -8703, 2081, -30, -5012, 0x20, 0x00, 0x86, 0x00
  22. ttc_seg7_vertex_0700AFE0: # 0x0700AFE0 - 0x0700B0D0
  23. vertex -861, -8703, -2080, 5078, -5012, 0x40, 0x00, 0x6D, 0x00
  24. vertex -861, -8191, -2080, 5078, -7186, 0x20, 0x00, 0x7A, 0x32
  25. vertex -2080, -8191, -861, -30, -7186, 0x6D, 0x00, 0x40, 0x32
  26. vertex -861, -8703, 2081, 5078, -5012, 0x20, 0x00, 0x86, 0x00
  27. vertex 862, -8191, 2081, -30, -7186, 0xE0, 0x00, 0x86, 0x32
  28. vertex 862, -8703, 2081, -30, -5012, 0xC0, 0x00, 0x93, 0x00
  29. vertex 862, -8703, -2080, 5078, -5012, 0xE0, 0x00, 0x7A, 0x00
  30. vertex 862, -8191, -2080, 5078, -7186, 0xC0, 0x00, 0x6D, 0x32
  31. vertex -861, -8191, -2080, -30, -7186, 0x20, 0x00, 0x7A, 0x32
  32. vertex -861, -8703, -2080, -30, -5012, 0x40, 0x00, 0x6D, 0x00
  33. vertex 2081, -8703, -861, 5078, -5012, 0x93, 0x00, 0x40, 0x00
  34. vertex 862, -8191, -2080, -30, -7186, 0xC0, 0x00, 0x6D, 0x32
  35. vertex 862, -8703, -2080, -30, -5012, 0xE0, 0x00, 0x7A, 0x00
  36. vertex 2081, -8191, -861, 5078, -7186, 0x86, 0x00, 0x20, 0x32
  37. vertex -2080, -8703, -861, -30, -5012, 0x7A, 0x00, 0x20, 0x00
  38. ttc_seg7_vertex_0700B0D0: # 0x0700B0D0 - 0x0700B110
  39. vertex -2080, -8703, -861, 5078, -5012, 0x7A, 0x00, 0x20, 0x00
  40. vertex -2080, -8191, 862, 0, -7186, 0x7A, 0x00, 0xE0, 0x32
  41. vertex -2080, -8703, 862, 0, -5012, 0x6D, 0x00, 0xC0, 0x00
  42. vertex -2080, -8191, -861, 5078, -7186, 0x6D, 0x00, 0x40, 0x32
  43. ttc_seg7_dl_0700B110: # 0x0700B110 - 0x0700B1D8
  44. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09002800
  45. gsDPLoadSync
  46. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  47. gsSPLight ttc_seg7_light_0700AEE0, 1
  48. gsSPLight ttc_seg7_light_0700AED8, 2
  49. gsSPVertex ttc_seg7_vertex_0700AEF0, 15, 0
  50. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  51. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  52. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  53. gsSP1Triangle 11, 13, 14, 0x0
  54. gsSPVertex ttc_seg7_vertex_0700AFE0, 15, 0
  55. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  56. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  57. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  58. gsSP1Triangle 0, 2, 14, 0x0
  59. gsSPVertex ttc_seg7_vertex_0700B0D0, 4, 0
  60. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  61. gsSPEndDisplayList
  62. glabel ttc_seg7_dl_0700B1D8 # 0x0700B1D8 - 0x0700B238
  63. gsDPPipeSync
  64. 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
  65. 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
  66. gsSPTexture -1, -1, 0, 0, 1
  67. gsDPTileSync
  68. 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
  69. gsDPSetTileSize 0, 0, 0, 124, 124
  70. gsSPDisplayList ttc_seg7_dl_0700B110
  71. gsSPTexture -1, -1, 0, 0, 0
  72. gsDPPipeSync
  73. 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
  74. gsSPEndDisplayList