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.

75 lines
4.0 KiB

6 years ago
  1. hmc_seg7_light_07023EB8: # 0x07023EB8 - 0x07023EC0
  2. .byte 0x79, 0x79, 0x79, 0x00, 0x79, 0x79, 0x79, 0x00
  3. hmc_seg7_light_07023EC0: # 0x07023EC0 - 0x07023ED0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. hmc_seg7_vertex_07023ED0: # 0x07023ED0 - 0x07023FD0
  7. vertex -22, 29, 25, 0, 2012, 0x96, 0x13, 0x42, 0xFF
  8. vertex 2, 47, -24, 0, 2680, 0x1D, 0x7A, 0xF1, 0xFF
  9. vertex -32, 0, -24, 258, 2344, 0x8E, 0xF4, 0xCA, 0xFF
  10. vertex 46, -25, 14, 0, 2012, 0x78, 0xDD, 0x12, 0xFF
  11. vertex 18, 0, -55, 0, 2916, 0x16, 0xD9, 0x8A, 0xFF
  12. vertex 2, 47, -24, 302, 2840, 0x1D, 0x7A, 0xF1, 0xFF
  13. vertex 6, 5, 44, 0, 2012, 0x0D, 0x07, 0x7E, 0xFF
  14. vertex 46, -25, 14, 0, 2672, 0x78, 0xDD, 0x12, 0xFF
  15. vertex 2, 47, -24, 422, 2120, 0x1D, 0x7A, 0xF1, 0xFF
  16. vertex 2, -34, -8, 0, 2012, 0xC9, 0x8F, 0x0E, 0xFF
  17. vertex 6, 5, 44, 0, 2760, 0x0D, 0x07, 0x7E, 0xFF
  18. vertex -22, 29, 25, 204, 2740, 0x96, 0x13, 0x42, 0xFF
  19. vertex -32, 0, -24, 258, 2076, 0x8E, 0xF4, 0xCA, 0xFF
  20. vertex 18, 0, -55, 0, 2012, 0x16, 0xD9, 0x8A, 0xFF
  21. vertex 2, -34, -8, 0, 2692, 0xC9, 0x8F, 0x0E, 0xFF
  22. vertex -32, 0, -24, 228, 2432, 0x8E, 0xF4, 0xCA, 0xFF
  23. hmc_seg7_vertex_07023FD0: # 0x07023FD0 - 0x07024080
  24. vertex 6, 5, 44, 0, 2012, 0x0D, 0x07, 0x7E, 0xFF
  25. vertex 2, -34, -8, 0, 2760, 0xC9, 0x8F, 0x0E, 0xFF
  26. vertex 46, -25, 14, 212, 2460, 0x78, 0xDD, 0x12, 0xFF
  27. vertex 18, 0, -55, 0, 2012, 0x16, 0xD9, 0x8A, 0xFF
  28. vertex -32, 0, -24, 0, 2680, 0x8E, 0xF4, 0xCA, 0xFF
  29. vertex 2, 47, -24, 258, 2344, 0x1D, 0x7A, 0xF1, 0xFF
  30. vertex 2, 47, -24, 0, 2012, 0x1D, 0x7A, 0xF1, 0xFF
  31. vertex -22, 29, 25, 0, 2680, 0x96, 0x13, 0x42, 0xFF
  32. vertex 6, 5, 44, 196, 2804, 0x0D, 0x07, 0x7E, 0xFF
  33. vertex 46, -25, 14, 0, 2916, 0x78, 0xDD, 0x12, 0xFF
  34. vertex 2, -34, -8, 184, 2540, 0xC9, 0x8F, 0x0E, 0xFF
  35. hmc_seg7_dl_07024080: # 0x07024080 - 0x07024110
  36. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, hmc_seg7_texture_07004800
  37. gsDPLoadSync
  38. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  39. gsSPLight hmc_seg7_light_07023EC0, 1
  40. gsSPLight hmc_seg7_light_07023EB8, 2
  41. gsSPVertex hmc_seg7_vertex_07023ED0, 16, 0
  42. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  43. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  44. gsSP2Triangles 9, 11, 12, 0x0, 13, 14, 15, 0x0
  45. gsSPVertex hmc_seg7_vertex_07023FD0, 11, 0
  46. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  47. gsSP2Triangles 6, 7, 8, 0x0, 3, 9, 10, 0x0
  48. gsSPEndDisplayList
  49. glabel hmc_seg7_dl_07024110 # 0x07024110 - 0x070241B8
  50. gsDPPipeSync
  51. gsDPSetCycleType G_CYC_2CYCLE
  52. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  53. gsDPSetDepthSource G_ZS_PIXEL
  54. gsDPSetFogColor 0, 0, 0, 255
  55. gsSPFogPosition 960, 1000
  56. gsSPSetGeometryMode G_FOG
  57. 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
  58. 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
  59. gsSPTexture -1, -1, 0, 0, 1
  60. gsDPTileSync
  61. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  62. gsDPSetTileSize 0, 0, 0, 124, 252
  63. gsSPDisplayList hmc_seg7_dl_07024080
  64. gsSPTexture -1, -1, 0, 0, 0
  65. gsDPPipeSync
  66. gsDPSetCycleType G_CYC_1CYCLE
  67. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  68. gsSPClearGeometryMode G_FOG
  69. 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
  70. gsSPEndDisplayList