mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Corrects PAL colours for the Vic-20.
This commit is contained in:
parent
c7c21a7e2c
commit
7030abca97
@ -107,12 +107,12 @@ template <class BusHandler> class MOS6560 {
|
|||||||
|
|
||||||
// Chrominances are encoded such that 0-128 is a complete revolution of phase;
|
// Chrominances are encoded such that 0-128 is a complete revolution of phase;
|
||||||
// anything above 191 disables the colour subcarrier. Phase is relative to the
|
// anything above 191 disables the colour subcarrier. Phase is relative to the
|
||||||
// colour burst, so 0 is green.
|
// colour burst, so 0 is green (NTSC) or blue/violet (PAL).
|
||||||
const uint8_t pal_chrominances[16] = {
|
const uint8_t pal_chrominances[16] = {
|
||||||
255, 255, 37, 101,
|
255, 255, 90, 20,
|
||||||
19, 86, 123, 59,
|
96, 42, 8, 72,
|
||||||
46, 53, 37, 101,
|
84, 90, 90, 20,
|
||||||
19, 86, 123, 59,
|
96, 42, 8, 72,
|
||||||
};
|
};
|
||||||
const uint8_t ntsc_chrominances[16] = {
|
const uint8_t ntsc_chrominances[16] = {
|
||||||
255, 255, 121, 57,
|
255, 255, 121, 57,
|
||||||
|
Loading…
Reference in New Issue
Block a user