From: jerry AT eteklabs DOT nospam DOT com (Jerry Lawrence) Newsgroups: comp.os.msdos.djgpp Subject: Re: Colours with Allegro Date: Thu, 23 Apr 1998 09:57:34 -0400 Message-ID: References: <6hnb7o$prn AT news DOT network DOT com> Organization: e-Tek Labs NNTP-Posting-Host: dial-dominion-33.netacc.net Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <6hnb7o$prn AT news DOT network DOT com>, e-mail DOT address AT end DOT of DOT text says... > /**************************************************************************** > Would somebody please compile this little program and explain to me what I'm > doing wrong? > > ... > > I make a pallete of 256 colours from R,G,B=0,0,0 to R,G,B=255,255,255 > then I step through them making a bar 256 pixels long and expecting to see > each x position progressively lighter than the previous, but what I get is: > > ... Palette values go from 0 to 64, not 0 to 255. -jerr