home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / ibm / pc / hardware / 37070 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.sys.ibm.pc.hardware
  2. Path: sparky!uunet!cs.utexas.edu!torn!mcshub!csx.cciw.ca!hcp
  3. From: hcp@csx.cciw.ca (H.C. Pulley)
  4. Subject: how can I get 8 bit values for colors in 256 color modes?
  5. Organization: Canada Centre for Inland Waters
  6. Date: Mon, 25 Jan 1993 14:59:39 GMT
  7. Message-ID: <1993Jan25.145939.29696@csx.cciw.ca>
  8. Lines: 19
  9.  
  10. I am sorry if this is a FAQ...  Please reply through email; I will post a 
  11. summary if it is needed.
  12.  
  13. When I try to write 8 bit values to the VGA card for palette setup it seems 
  14. that only the first 6 bits are set (when you read back what you wrote the
  15. highest value I can find is 63).
  16.  
  17. Is there some special procedure I must follow?  Is my video card too old?  Are
  18. there any books or code examples which do this from the port level?  I am not 
  19. using DOS so I can't use the BIOS.
  20.  
  21. Thanks alot,
  22. Harry
  23.  
  24. -- 
  25.          hcp@csx.cciw.ca          |This message released|It takes all kinds,
  26.    hcpiv@grumpy.cis.uoguelph.ca   |to the PUBLIC DOMAIN.|and to each his own.
  27. ----------------------------------+---------------------|This thought in mind,
  28. Stay away from the DOS side, Luke!|Un*x don't play that.|I walk alone.
  29.