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.

82 lines
4.2 KiB

6 years ago
  1. ttc_seg7_light_0700ED68: # 0x0700ED68 - 0x0700ED70
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttc_seg7_light_0700ED70: # 0x0700ED70 - 0x0700ED80
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttc_seg7_vertex_0700ED80: # 0x0700ED80 - 0x0700EE60
  7. vertex 0, -229, 200, -1052, 0, 0x29, 0xB8, 0x5F, 0xFF
  8. vertex 0, 1, 200, 478, 762, 0x00, 0x00, 0x7F, 0xFF
  9. vertex -199, 116, 200, 2012, 0, 0xAD, 0x00, 0x5F, 0xFF
  10. vertex -199, 116, -199, -1052, 0, 0xD7, 0x48, 0xA1, 0xFF
  11. vertex 0, 1, -199, 478, 762, 0x00, 0x00, 0x81, 0xFF
  12. vertex 0, -229, -199, 2012, 0, 0xD7, 0xB8, 0xA1, 0xFF
  13. vertex 0, -229, -199, -1052, 0, 0xD7, 0xB8, 0xA1, 0xFF
  14. vertex 200, 116, -199, 2012, 0, 0x53, 0x00, 0xA0, 0xFF
  15. vertex 200, 116, -199, -1052, 0, 0x53, 0x00, 0xA0, 0xFF
  16. vertex -199, 116, -199, 2012, 0, 0xD7, 0x48, 0xA1, 0xFF
  17. vertex 200, 116, 200, -1052, 0, 0x29, 0x47, 0x60, 0xFF
  18. vertex 0, -229, 200, 2012, 0, 0x29, 0xB8, 0x5F, 0xFF
  19. vertex -199, 116, 200, -1052, 0, 0xAD, 0x00, 0x5F, 0xFF
  20. vertex 200, 116, 200, 2012, 0, 0x29, 0x47, 0x60, 0xFF
  21. ttc_seg7_vertex_0700EE60: # 0x0700EE60 - 0x0700EF20
  22. vertex 200, 116, 200, 990, 0, 0x29, 0x47, 0x60, 0xFF
  23. vertex -199, 116, -199, 0, 990, 0xD7, 0x48, 0xA1, 0xFF
  24. vertex -199, 116, 200, 990, 990, 0xAD, 0x00, 0x5F, 0xFF
  25. vertex 200, 116, -199, 0, 0, 0x53, 0x00, 0xA0, 0xFF
  26. vertex -199, 116, 200, 990, 0, 0xAD, 0x00, 0x5F, 0xFF
  27. vertex -199, 116, -199, 0, 0, 0xD7, 0x48, 0xA1, 0xFF
  28. vertex 0, -229, -199, 0, 990, 0xD7, 0xB8, 0xA1, 0xFF
  29. vertex 0, -229, 200, 990, 990, 0x29, 0xB8, 0x5F, 0xFF
  30. vertex 0, -229, 200, 990, 0, 0x29, 0xB8, 0x5F, 0xFF
  31. vertex 0, -229, -199, 0, 0, 0xD7, 0xB8, 0xA1, 0xFF
  32. vertex 200, 116, -199, 0, 990, 0x53, 0x00, 0xA0, 0xFF
  33. vertex 200, 116, 200, 990, 990, 0x29, 0x47, 0x60, 0xFF
  34. ttc_seg7_dl_0700EF20: # 0x0700EF20 - 0x0700EF88
  35. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09001000
  36. gsDPLoadSync
  37. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  38. gsSPLight ttc_seg7_light_0700ED70, 1
  39. gsSPLight ttc_seg7_light_0700ED68, 2
  40. gsSPVertex ttc_seg7_vertex_0700ED80, 14, 0
  41. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  42. gsSP2Triangles 6, 4, 7, 0x0, 8, 4, 9, 0x0
  43. gsSP2Triangles 10, 1, 11, 0x0, 12, 1, 13, 0x0
  44. gsSPEndDisplayList
  45. ttc_seg7_dl_0700EF88: # 0x0700EF88 - 0x0700EFE0
  46. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, machine_09005000
  47. gsDPLoadSync
  48. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  49. gsSPVertex ttc_seg7_vertex_0700EE60, 12, 0
  50. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  51. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  52. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  53. gsSPEndDisplayList
  54. glabel ttc_seg7_dl_0700EFE0 # 0x0700EFE0 - 0x0700F090
  55. gsDPPipeSync
  56. gsDPSetCycleType G_CYC_2CYCLE
  57. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  58. gsDPSetDepthSource G_ZS_PIXEL
  59. gsDPSetFogColor 200, 255, 255, 255
  60. gsSPFogPosition 900, 1000
  61. gsSPSetGeometryMode G_FOG
  62. 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
  63. 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
  64. gsSPTexture -1, -1, 0, 0, 1
  65. gsDPTileSync
  66. 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
  67. gsDPSetTileSize 0, 0, 0, 124, 124
  68. gsSPDisplayList ttc_seg7_dl_0700EF20
  69. gsSPDisplayList ttc_seg7_dl_0700EF88
  70. gsSPTexture -1, -1, 0, 0, 0
  71. gsDPPipeSync
  72. gsDPSetCycleType G_CYC_1CYCLE
  73. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  74. gsSPClearGeometryMode G_FOG
  75. 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
  76. gsSPEndDisplayList