Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Video (TG-16): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{:Styled Table}} = Video Color Encoder (HuC6260) = The VCE has two functions: *supply the picture on your television. *define the location of the palettes in memory. * N...") |
|||
Line 9: | Line 9: | ||
*define the location of the palettes in memory. | *define the location of the palettes in memory. | ||
All VCE registers are 16 bit. | |||
== $0400 - CR - Control Register == | == $0400 - CR - Control Register == |
Revision as of 23:15, 2 March 2016
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) |