home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17979 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.9 KB

  1. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!terapin!paulk
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Chunky Pixels vs. Bitplanes (was: Chunky Chip Set...)
  5. References: <1992Dec30.115759.22097@mpifr-bonn.mpg.de>
  6. Message-ID: <paulk.30qj@terapin.com>
  7. Date: 30 Dec 92 22:22:57 PST
  8. Organization: BBS
  9. Lines: 28
  10.  
  11. > Chunky _needs_ to write transparent pixels and _needs_ to care
  12. > about alignment _if_ you do memory access larger than a pixel. You
  13. > either have to use _8bit_ accesses or use the complete buswidth
  14. > with the same constraints as in bitplanes.
  15.  
  16. Whoa!  Somebody finally pointed out the ugly secret hiding in there
  17. which never seemed to occur to anybody ......
  18.  
  19. Using chunky display memory with a word length longer than the chunk,
  20. *IS* in some ways a planar display and has the same disadvantages.
  21. One can only get the full advantage of chunky display if you either
  22. access your (for example) 32 bit memory with 8 bit reads and writes,
  23. which could be a significant loss compared to plane-oriented hardware
  24. that always uses whole words, or use a number of bits per pixel equal
  25. to the full width of your memory, which if more than 8 bits is
  26. presumably going to be true-color, which becomes rather awkward due
  27. to the lack of modern CPUs with a wordlength which is a multiple of
  28. three bits ... or then you start having the word value for each pixel
  29. divided into separate bitfields (masks, dual playfields, etc) which means
  30. that in order to work on the actual picture you now have to, in a sense,
  31. do the reverse of what planar systems have to do to access individual
  32. pixels: you have to separate your chunks into layers in order to tease
  33. out the different numbers.
  34.  
  35. So: chunky is way better than planar with no disadvantages, if you are
  36. building a display for an 8088 system, or if you are an ant or red-green
  37. colorblind or otherwise have a power-of-two number of primary colors
  38. in your eyeball.
  39.