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