From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: VGA DAC programming Date: Sat, 11 Jan 2003 18:57:10 +1100 Organization: ECLiPSE Lines: 17 Message-ID: References: <10780N882 AT web2news DOT com> NNTP-Posting-Host: p449-tnt9.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1042271832 26612 203.173.152.197 (11 Jan 2003 07:57:12 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Sat, 11 Jan 2003 07:57:12 +0000 (UTC) X-Newsreader: Forte Agent 1.92/32.572 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >I just ran into a problem that I've never had before trying to alter the >palettes in screen mode 0x12. I can do this just fine using a VBDOS >compiler (QuickBasic compatible) but using DJGPP, or even the real mode >Turbo C++ 3.0 not all of the colors from 0 to 8 can be changed, and none >of the colors from 9 to 15 can be changed at all. ..SNIP.. I didn't have a look at the code, but you may find that having a look at the graphics libraries in the V2TK directory may help and will probably allow you to get up and runnign allot faster with allot more features in a shorter time period. If you want to support the widest resoultions and color depths and also cross platfrom have a look at Allegro, http://alleg.sourceforge.net/