Colorspace Converter
Make color go brr.
Instructions
SETCMOD {#}D - Configure colorspace converter
Encoding | Register Written | C Flag | Z Flag | Cycles (cogexec) | Cycles (hubexec) | IRQ Shield | EEEE 1101011 00L DDDDDDDDD 000111100 | none | --- | --- | 2 | 2 | No |
---|
SETCMOD sets the CMOD register. This register has 9 bits that control the general behaviour of the colorspace converter:
Bits | Function |
---|---|
0 | Sync polarity invert (mode 01 only) |
1 | Add DAC0 into Y term |
2 | Add DAC0 into I term |
3 | Add DAC0 into Q term |
4 | Sign-extend coefficents (zero-extend otherwise) |
6:5 | Mode selection |
7 | Reverse TMDS pin order |
8 | Enable TMDS mode (replaces pin outputs) |
TODO explain modes.
SETCY {#}D - Set colorspace Y coefficients
Encoding | Register Written | C Flag | Z Flag | Cycles (cogexec) | Cycles (hubexec) | IRQ Shield | EEEE 1101011 00L DDDDDDDDD 000111000 | none | --- | --- | 2 | 2 | No |
---|
SETCI {#}D - Set colorspace I coefficients
Encoding | Register Written | C Flag | Z Flag | Cycles (cogexec) | Cycles (hubexec) | IRQ Shield | EEEE 1101011 00L DDDDDDDDD 000111001 | none | --- | --- | 2 | 2 | No |
---|