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.0 KiB

6 years ago
  1. .balign 8 # 0x07015F72 - 0x07015F78
  2. ttc_seg7_light_07015F78: # 0x07015F78 - 0x07015F80
  3. .byte 0x3F, 0x3F, 0x3F, 0x00, 0x3F, 0x3F, 0x3F, 0x00
  4. ttc_seg7_light_07015F80: # 0x07015F80 - 0x07015F90
  5. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  6. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  7. glabel ttc_seg7_texture_07015F90 # 0x07015F90 - 0x07016790
  8. .incbin "levels/ttc/2.rgba16"
  9. glabel ttc_seg7_dl_07016790 # 0x07016790 - 0x07016808
  10. gsDPPipeSync
  11. gsDPSetCycleType G_CYC_2CYCLE
  12. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  13. gsDPSetDepthSource G_ZS_PIXEL
  14. gsDPSetFogColor 200, 255, 255, 255
  15. gsSPFogPosition 900, 1000
  16. gsSPSetGeometryMode G_FOG
  17. 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
  18. gsSPLight ttc_seg7_light_07015F80, 1
  19. gsSPLight ttc_seg7_light_07015F78, 2
  20. gsSPTexture -1, -1, 0, 0, 1
  21. gsDPTileSync
  22. 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
  23. gsDPSetTileSize 0, 0, 0, 124, 124
  24. gsSPEndDisplayList
  25. glabel ttc_seg7_dl_07016808 # 0x07016808 - 0x07016840
  26. gsSPTexture -1, -1, 0, 0, 0
  27. gsDPPipeSync
  28. gsDPSetCycleType G_CYC_1CYCLE
  29. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  30. gsSPClearGeometryMode G_FOG
  31. 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
  32. gsSPEndDisplayList
  33. glabel ttc_seg7_arr_07016840 # 0x07016840 - 0x07016904
  34. .hword 120
  35. .hword 230, -86, 549, 0, 0, 127, 0, 0
  36. .hword 230, -35, 549, 0, 33, 122, 1, 0
  37. .hword 230, 0, 512, 0, 110, 62, 2, 0
  38. .hword 230, 0, -511, 0, 123, -31, 14, 0
  39. .hword 230, -35, -547, 0, 65, -108, 15, 0
  40. .hword 230, -86, -547, 0, 0, -127, 16, 0
  41. .hword -229, -86, 549, 0, 0, 127, 0, 1
  42. .hword -229, -35, 549, 0, 66, 108, 1, 1
  43. .hword -229, 0, 512, 0, 123, 31, 2, 1
  44. .hword -229, 0, -511, 0, 110, -63, 14, 1
  45. .hword -229, -35, -547, 0, 32, -122, 15, 1
  46. .hword -229, -86, -547, 0, 0, -127, 16, 1
  47. .hword 0
  48. glabel ttc_seg7_arr_07016904 # 0x07016904 - 0x070169C8
  49. .hword 120
  50. .hword 230, -86, 344, 0, 0, 127, 0, 0
  51. .hword 230, -35, 344, 0, 32, 122, 1, 0
  52. .hword 230, 0, 308, 0, 110, 63, 2, 0
  53. .hword 230, 0, -306, 0, 123, -31, 9, 0
  54. .hword 230, -35, -342, 0, 65, -108, 10, 0
  55. .hword 230, -86, -342, 0, 0, -127, 11, 0
  56. .hword -229, -86, 344, 0, 0, 127, 0, 1
  57. .hword -229, -35, 344, 0, 65, 108, 1, 1
  58. .hword -229, 0, 308, 0, 123, 31, 2, 1
  59. .hword -229, 0, -306, 0, 110, -63, 9, 1
  60. .hword -229, -35, -342, 0, 32, -122, 10, 1
  61. .hword -229, -86, -342, 0, 0, -127, 11, 1
  62. .hword 0
  63. glabel ttc_seg7_dl_070169C8 # 0x070169C8 - 0x07016A20
  64. gsSP2Triangles 0, 1, 6, 0x0, 1, 7, 6, 0x0
  65. gsSP2Triangles 1, 2, 7, 0x0, 2, 8, 7, 0x0
  66. gsSP2Triangles 2, 3, 8, 0x0, 3, 9, 8, 0x0
  67. gsSP2Triangles 3, 4, 9, 0x0, 4, 10, 9, 0x0
  68. gsSP2Triangles 4, 5, 10, 0x0, 5, 11, 10, 0x0
  69. gsSPEndDisplayList