home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / win3l / 12946 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.2 KB  |  39 lines

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