If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Video (TG-16)
Jump to navigation
Jump to search
Video Color Encoder (HuC6260)
The VCE has two functions:
- supply the picture on your television.
- define the location of the palettes in memory.
All VCE registers are 16 bit.
$0400 - CR - Control Register
Write only register.
Bit(s) | Description | Values |
---|---|---|
0 - 1 | PCC - Pixel Clock Control |
00 = 5.3693175 MHz 01 = 7.15909 MHz 10 = 10.738635 MHz 11 = 10.738635 MHz |
2 | Frame/Field Configuration |
0 = 262-line frame 1 = 263-line frame |
3 - 6 | ??? | ??? |
7 | Strip Colorburst |
0 = Colorburst intact 1 = Strip colorburst |
8 - 15 | (unused) |
$0402 - CTA - Color Table Address Register
Write only register.
Bit(s) | Description | Values |
---|---|---|
0 - 8 | index for the color table | 0 to 511 |
9 - 15 | (unused) |
Note: This register is auto-incremented after each access to the color data register.
$0404 - CTW - Color Table Write Register / CTR - Color Table Read Register
Write/Read register.
Access (read/write) to this register causes CTA register to increment.
Bit(s) | Description |
---|---|
0 - 2 | Blue |
3 - 5 | Red |
6 - 8 | Green |
9 - 15 | (unused) |