[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double hires mode color artifacts



Linards Ticmanis <ticmanis@gmx.de> wrote:
> Here's a RGB color table that works well enough for this (derived from
> Fourier Analysis and the usual YUV-to-RGB formulas):

> static struct {
>        unsigned short  red;
>        unsigned short  green;
>        unsigned short  blue;
> } AppleIIColor[16]= {
>        {0x00,0x00,0x00},       /* Black */
>        {0x90,0x17,0x40},       /* Deep Red */
>        {0x40,0x2c,0xa5},       /* Dark Blue */
>        {0xd0,0x43,0xe5},       /* Purple */
>        {0x00,0x69,0x40},       /* Dark Green */
>        {0x80,0x80,0x80},       /* Gray 1 */
>        {0x2f,0x95,0xe5},       /* Medium Blue */
>        {0xbf,0xab,0xff},       /* Light Blue */
>        {0x40,0x54,0x00},       /* Brown */
>        {0xd0,0x6a,0x1a},       /* Orange */
>        {0x80,0x80,0x80},       /* Gray 2 */
>        {0xff,0x96,0xbf},       /* Pink */
>        {0x2f,0xbc,0x1a},       /* Light Green */
>        {0xbf,0xd3,0x5a},       /* Yellow */
>        {0x6f,0xe8,0xbf},       /* Aquamarine */
>        {0xff,0xff,0xff}        /* White */
> };

BTW, tried this palette, and it looks much better than the old one :-)
Thanks again. The palette used by ApplePC is also very close to this one.

- Dirk