home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!uvaarpa!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!paladin.american.edu!auvm!INFERENCE.COM!TUNNY
- Message-ID: <9301261635.AA00477@montana.inference>
- Newsgroups: bit.listserv.win3-l
- Date: Tue, 26 Jan 1993 08:35:47 PST
- Sender: Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
- From: Jim Tunnicliffe <tunny@INFERENCE.COM>
- Subject: Re: 256 colors.
- Lines: 28
-
- Mr Timothy Green <me21tg@SURREY.AC.UK> wrote:
- > As further comment about Windows in 256 colours, I found that some times
- > a 256 colour wallpaper and a differently mapped 256 colour picture could
- > be displayed correctly! This was using a Trident 8900c card with 1Mb.
-
- This can only happen if the actual number of unique colors being used by
- both images does not exceed 256. It's *possible* that Windows is sophisticated
- enough to substitute colors from the existing colormap when it decides they
- are "close enough", and thus reduce the number of unique colormap entries
- required (at some loss of accuracy), but each pixel on the screen is stored
- in memory as just one byte (8 bits). This is then used to index into a table
- of 256 color values (someone said these are 24-bit values, but I don't know
- that that's necessarily true -- probably depends on the DAC, etc.). In any
- case, there's NO WAY (in 256-color mode, of course) to have pixels of more
- than 256 different colors on the screen simultaneously. (OK, on my old Atari
- 800, it was possible to hook into the horizontal retrace interrupts and make
- changes to color maps and such in the middle of tracing the screen, but even
- if such tricks are possible on a PC, it wouldn't account for what Mr. Green is
- describing...)
-
- - tunny
- ______________________________________________________________________________
- James A. Tunnicliffe | \\
- Inference Corporation | In f e r e n c e ========\\
- (800) 322-5590 | Helping people work smarter... ========//
- tunny@Inference.com | //
- ------------------------------------------------------------------------------
- Views expressed are my own and do not necessarily reflect those of my employer
-