We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS
CMODE (Super FX): Difference between revisions
From SnesLab
m (Jeffythedragonslayer moved page CMODE to CMODE (Super FX): Super FX in title) |
No edit summary |
||
Line 1: | Line 1: | ||
'''CMODE''' is a [[Super FX]] instruction that specifies [[execution modes]]. | '''CMODE''' is a [[Super FX]] instruction that specifies [[execution modes]]. It sets plot and color related flags based on the low 5 bits of the [[source register]]. | ||
{| class="wikitable" style="float:right;clear:right;width:40%" | {| class="wikitable" style="float:right;clear:right;width:40%" | ||
Line 35: | Line 35: | ||
|. | |. | ||
|. | |. | ||
|} | |||
{| class="wikitable" style="float:right;clear:right;width:30%" | |||
!colspan="9"|Color/Plot flags | |||
|+ | |||
|Plot Transparent | |||
|Plot Dither | |||
|Color Src High | |||
|Color Frz High | |||
|Object Mode | |||
|+ | |||
|Bit 0 of src | |||
|Bit 1 of src | |||
|Bit 2 of src | |||
|Bit 3 of src | |||
|Bit 4 of src | |||
|} | |} | ||
Revision as of 03:01, 15 June 2023
CMODE is a Super FX instruction that specifies execution modes. It sets plot and color related flags based on the low 5 bits of the source register.
Basic Info | |||||||
---|---|---|---|---|---|---|---|
Opcode | Length | ROM Speed | RAM Speed | Cache Speed | |||
3D4E | 2 bytes | 6 cycles | 6 cycles | 2 cycle |
Flags Clobbered | ||||||||
---|---|---|---|---|---|---|---|---|
B | ALT1 | ALT2 | O/V | S | CY | Z | ||
0 | 0 | 0 | . | . | . | . |
Color/Plot flags | ||||||||
---|---|---|---|---|---|---|---|---|
Plot Transparent | Plot Dither | Color Src High | Color Frz High | Object Mode | ||||
Bit 0 of src | Bit 1 of src | Bit 2 of src | Bit 3 of src | Bit 4 of src |
External Links
- Official Nintendo documentation on CMODE: https://archive.org/details/SNESDevManual/book2/page/n195