home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15406 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.5 KB

  1. Path: sparky!uunet!cbmvax!peter
  2. From: peter@cbmvax.commodore.com (Peter Cherna)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: ColorSpec question
  5. Message-ID: <36706@cbmvax.commodore.com>
  6. Date: 5 Nov 92 13:22:36 GMT
  7. References: <RCORMAC.92Nov4223537@colossus.cs.oberlin.edu>
  8. Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
  9. Distribution: comp.sys.amiga.programmer
  10. Organization: Commodore-Amiga, Inc.  West Chester, PA.
  11. Lines: 26
  12.  
  13. In article <RCORMAC.92Nov4223537@colossus.cs.oberlin.edu> rcormac@colossus.cs.oberlin.edu (Cormac (Xbattle -rcormac) Russell) writes:
  14. >
  15. >Ok, I have been tracking ColorSpec all through my RKMs and have found
  16. >the (rather annoying to find) declaration in intuiton.h. I of course
  17. >have a number of questions. :) 
  18. >1) Is the ColorIndex the register who's value I wishe to set?
  19.  
  20. Yes.
  21.  
  22. >2) it says that only 6bits of the UWORD for Red Green Blue values
  23. >   are recognized. So, since the Amiga has 4 bits per gun, what does
  24. >   this mean about how I should place a value into one of these. I
  25. >   want to initialize my colors in OpenScreenTagList rather than using
  26. >   graphics.library later so I need to know what format I should use.
  27.  
  28. The include files "lie".  Only the _bottom_ four bits per gun are recognized.
  29.  
  30. >Retch The Grate aka Cormac Russell    Amiga, The Computer for The Creative Mind
  31.  
  32.      Peter
  33. --
  34. Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
  35. {uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
  36. My opinions do not necessarily represent the opinions of my employer.
  37. "I believe it's bad luck to be superstitious."
  38.  
  39.