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.

32 lines
1.7 KiB

6 years ago
  1. castle_grounds_seg7_us_texture_0700EAE8:
  2. .incbin "levels/castle_grounds/5.ia8"
  3. glabel castle_grounds_seg7_us_dl_0700F2E8 # 0x0700F2E8
  4. gsDPPipeSync
  5. gsDPSetTexturePersp G_TP_NONE
  6. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_ENVIRONMENT, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_ACMUX_0
  7. gsDPSetRenderMode G_RM_AA_XLU_SURF, G_RM_AA_XLU_SURF2
  8. gsDPSetTextureFilter G_TF_POINT
  9. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_8b, 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
  10. gsDPTileSync
  11. gsDPSetTile G_IM_FMT_IA, G_IM_SIZ_8b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  12. gsDPSetTileSize 0, 0, 0, 252, 124
  13. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_8b, 1, castle_grounds_seg7_us_texture_0700EAE8
  14. gsDPLoadSync
  15. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  16. gsSPTextureRectangle 464, 664, 720, 792, 0, 0, 0, 1024, 1024
  17. gsDPPipeSync
  18. gsDPSetTexturePersp G_TP_PERSP
  19. # There were multiple matching pairs, so I don't know if this is correct or not.
  20. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2
  21. # It could also be one of these:
  22. # G_RM_AA_ZB_OPA_SURF, G_RM_RA_ZB_OPA_SURF2; G_RM_AA_ZB_OPA_SURF, G_RM_AA_OPA_SURF2; G_RM_AA_ZB_OPA_SURF, G_RM_RA_OPA_SURF2;
  23. # G_RM_RA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2; G_RM_RA_ZB_OPA_SURF, G_RM_AA_OPA_SURF2; G_RM_AA_OPA_SURF, G_RM_AA_ZB_OPA_SURF2;
  24. # G_RM_AA_OPA_SURF, G_RM_RA_ZB_OPA_SURF2; G_RM_RA_OPA_SURF, G_RM_AA_ZB_OPA_SURF2
  25. 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
  26. gsDPSetEnvColor 255, 255, 255, 255
  27. gsSPTexture -1, -1, 0, 0, 0
  28. gsDPSetTextureFilter G_TF_BILERP
  29. gsSPEndDisplayList