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

Re: Double hires mode color artifacts



Dirk Thierbach <dthierbach@usenet.arcornews.de> wrote:
> 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]= {
> [...]
>>        {0x40,0x54,0x00},       /* Brown */
>> };
> 
> While testing double hires, I noticed that this color comes out on
> my monitor as some sort of olive green, and not brown. What's wrong?

I've tried to do the Fourier projection myself, but I arrive at different
values. Do you assume any phase shift between the square waves of the
bit pattern and the sine/cosine base functions?

- Dirk