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.

67 lines
3.3 KiB

6 years ago
  1. ttm_seg7_light_0700BE90: # 0x0700BE90 - 0x0700BE98
  2. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  3. ttm_seg7_light_0700BE98: # 0x0700BE98 - 0x0700BEA8
  4. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_light_0700BEA8: # 0x0700BEA8 - 0x0700BEB0
  7. .byte 0x5D, 0x5D, 0x5D, 0x00, 0x5D, 0x5D, 0x5D, 0x00
  8. ttm_seg7_light_0700BEB0: # 0x0700BEB0 - 0x0700BEC0
  9. .byte 0xBB, 0xBB, 0xBB, 0x00, 0xBB, 0xBB, 0xBB, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ttm_seg7_vertex_0700BEC0: # 0x0700BEC0 - 0x0700BF40
  12. vertex 614, -1486, -697, 0, 990, 0x00, 0x00, 0x81, 0xFF
  13. vertex -613, -1486, -697, 2420, 990, 0x00, 0x00, 0x81, 0xFF
  14. vertex -613, 1487, -697, 2420, -4946, 0x00, 0x00, 0x81, 0xFF
  15. vertex 205, 1487, -697, 786, -4946, 0x00, 0x00, 0x81, 0xFF
  16. vertex -613, 1282, 717, 0, -1470, 0x00, 0x00, 0x7F, 0xFF
  17. vertex -613, 49, 717, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  18. vertex 614, 49, 717, 2420, 990, 0x00, 0x00, 0x7F, 0xFF
  19. vertex 205, 1282, 717, 1604, -1470, 0x00, 0x00, 0x7F, 0xFF
  20. ttm_seg7_vertex_0700BF40: # 0x0700BF40 - 0x0700BFE0
  21. vertex 205, 1282, 717, 1604, 990, 0x00, 0x7D, 0x12, 0xFF
  22. vertex 205, 1487, -697, 1604, -1864, 0x00, 0x7D, 0x12, 0xFF
  23. vertex -613, 1282, 717, 0, 990, 0x00, 0x7D, 0x12, 0xFF
  24. vertex -613, 1487, -697, 0, -1864, 0x00, 0x7D, 0x12, 0xFF
  25. vertex 205, 1282, 717, 4874, -4536, 0x78, 0x27, 0x05, 0xFF
  26. vertex 614, 49, 717, 4874, -2076, 0x78, 0x27, 0x05, 0xFF
  27. vertex 205, 1487, -697, 7698, -4946, 0x78, 0x27, 0x05, 0xFF
  28. vertex 614, -1486, -697, 7698, 990, 0x7C, 0x11, 0xEE, 0xFF
  29. vertex 205, 1487, -697, 7698, -4946, 0x7C, 0x11, 0xEE, 0xFF
  30. vertex 614, 49, 717, 4874, -2076, 0x7C, 0x11, 0xEE, 0xFF
  31. ttm_seg7_dl_0700BFE0: # 0x0700BFE0 - 0x0700C070
  32. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004000
  33. gsDPLoadSync
  34. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  35. gsSPLight ttm_seg7_light_0700BE98, 1
  36. gsSPLight ttm_seg7_light_0700BE90, 2
  37. gsSPVertex ttm_seg7_vertex_0700BEC0, 8, 0
  38. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  39. gsSP2Triangles 4, 5, 6, 0x0, 6, 7, 4, 0x0
  40. gsSPLight ttm_seg7_light_0700BEB0, 1
  41. gsSPLight ttm_seg7_light_0700BEA8, 2
  42. gsSPVertex ttm_seg7_vertex_0700BF40, 10, 0
  43. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  44. gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
  45. gsSPEndDisplayList
  46. glabel ttm_seg7_dl_0700C070 # 0x0700C070 - 0x0700C0E0
  47. gsDPPipeSync
  48. 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
  49. gsSPClearGeometryMode G_SHADING_SMOOTH
  50. 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
  51. gsSPTexture -1, -1, 0, 0, 1
  52. gsDPTileSync
  53. 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
  54. gsDPSetTileSize 0, 0, 0, 124, 124
  55. gsSPDisplayList ttm_seg7_dl_0700BFE0
  56. gsSPTexture -1, -1, 0, 0, 0
  57. gsDPPipeSync
  58. 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
  59. gsSPSetGeometryMode G_SHADING_SMOOTH
  60. gsSPEndDisplayList