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.

46 lines
2.1 KiB

5 years ago
  1. .balign 8
  2. glabel cotmc_seg7_dl_0700BE10 # 0x0700BE10 - 0x0700BE88
  3. gsDPPipeSync
  4. gsDPSetCycleType G_CYC_2CYCLE
  5. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_XLU_INTER2
  6. gsDPSetDepthSource G_ZS_PIXEL
  7. gsDPSetFogColor 0, 0, 0, 255
  8. gsSPFogPosition 980, 1000
  9. gsSPSetGeometryMode G_FOG
  10. gsDPSetEnvColor 255, 255, 255, 140
  11. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  12. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  13. gsSPTexture -1, -1, 0, 0, 1
  14. gsDPTileSync
  15. 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
  16. gsDPSetTileSize 0, 0, 0, 124, 124
  17. gsSPEndDisplayList
  18. glabel cotmc_seg7_dl_0700BE88 # 0x0700BE88 - 0x0700BED0
  19. gsSPTexture -1, -1, 0, 0, 0
  20. gsDPPipeSync
  21. gsDPSetCycleType G_CYC_1CYCLE
  22. gsSPGeometryMode G_FOG, G_LIGHTING | G_CULL_BACK, G_ORDER_SFIRST
  23. gsDPSetEnvColor 255, 255, 255, 255
  24. 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
  25. gsDPSetRenderMode G_RM_AA_ZB_XLU_INTER, G_RM_NOOP2
  26. gsSPEndDisplayList
  27. glabel cotmc_seg7_arr_0700BED0 # 0x0700BED0 - 0x0700BF60
  28. .hword 30, 256, 0, -7373, 0, 0, 256, 5120
  29. .hword -7373, 4, 0, -256, 0, -7373, 0, 1
  30. .hword -256, 5120, -7373, 4, 1, 1536, -204, 3584
  31. .hword 0, 0, 1536, 0, 3430, 1, 0, 1536
  32. .hword 0, -7680, 5, 0, -1536, -204, 3584, 0
  33. .hword 2, -1536, 0, 3430, 1, 2, -1536, 0
  34. .hword -7680, 5, 2, -1024, -614, 3584, 0, 0
  35. .hword -1024, 1434, 3584, 1, 0, 1024, -614, 3584
  36. .hword 0, 1, 1024, 1434, 3584, 1, 1, 0
  37. glabel cotmc_seg7_dl_0700BF60 # 0x0700BF60 - 0x0700BFA8
  38. gsSP2Triangles 0, 1, 2, 0x0, 2, 1, 3, 0x0
  39. gsSP2Triangles 4, 5, 7, 0x0, 10, 11, 12, 0x0
  40. gsSP2Triangles 12, 11, 13, 0x0, 7, 5, 8, 0x0
  41. gsSP2Triangles 5, 6, 8, 0x0, 8, 6, 9, 0x0
  42. gsSPEndDisplayList