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.

40 lines
2.0 KiB

6 years ago
  1. ttm_seg7_light_0700AFF0: # 0x0700AFF0 - 0x0700AFF8
  2. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  3. ttm_seg7_light_0700AFF8: # 0x0700AFF8 - 0x0700B008
  4. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_vertex_0700B008: # 0x0700B008 - 0x0700B068
  7. vertex -43, 1523, 95, 990, 0, 0xD3, 0x00, 0x76, 0xFF
  8. vertex -58, 1523, 9, 510, 0, 0xEB, 0x00, 0x83, 0xFF
  9. vertex -58, -1634, 9, 510, 990, 0x89, 0x00, 0xD5, 0xFF
  10. vertex 26, -1634, 40, 0, 990, 0x7D, 0x00, 0xEC, 0xFF
  11. vertex 26, 1523, 40, 0, 0, 0x7D, 0x00, 0xEC, 0xFF
  12. vertex -43, -1634, 95, 990, 990, 0xD3, 0x00, 0x76, 0xFF
  13. ttm_seg7_dl_0700B068: # 0x0700B068 - 0x0700B0D0
  14. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, ttm_seg7_texture_07000000
  15. gsDPLoadSync
  16. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  17. gsSPLight ttm_seg7_light_0700AFF8, 1
  18. gsSPLight ttm_seg7_light_0700AFF0, 2
  19. gsSPVertex ttm_seg7_vertex_0700B008, 6, 0
  20. gsSP2Triangles 0, 1, 2, 0x0, 2, 1, 3, 0x0
  21. gsSP2Triangles 1, 4, 3, 0x0, 3, 4, 0, 0x0
  22. gsSP2Triangles 3, 0, 5, 0x0, 5, 0, 2, 0x0
  23. gsSPEndDisplayList
  24. glabel ttm_seg7_dl_0700B0D0 # 0x0700B0D0 - 0x0700B130
  25. gsDPPipeSync
  26. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  27. gsDPSetTile G_IM_FMT_IA, 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
  28. gsSPTexture -1, -1, 0, 0, 1
  29. gsDPTileSync
  30. gsDPSetTile G_IM_FMT_IA, 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
  31. gsDPSetTileSize 0, 0, 0, 124, 124
  32. gsSPDisplayList ttm_seg7_dl_0700B068
  33. gsSPTexture -1, -1, 0, 0, 0
  34. gsDPPipeSync
  35. 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
  36. gsSPEndDisplayList