Dirk Thierbach 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?
There's an error in the second (green) component. It needs to be less than $30 to get a "brown". -michael NadaPong: Network game demo for Apple II computers! Home page: http://members.aol.com/MJMahon/ "The wastebasket is our most important design tool--and it's seriously underused."