Mail Archives: djgpp/1999/02/27/19:55:45
From: | Brian Hansell <hansell AT epix DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: graphics function
|
Date: | Sat, 27 Feb 1999 19:19:35 -0800
|
Organization: | epix Internet Services
|
Lines: | 17
|
Message-ID: | <36D8B5C6.6F3F8E29@epix.net>
|
References: | <01be613e$b9a7c880$72faf8c8 AT aguia>
|
NNTP-Posting-Host: | qrvl209-74-60ppp48.epix.net
|
Mime-Version: | 1.0
|
X-Mailer: | Mozilla 4.5 [en] (Win95; I)
|
X-Accept-Language: | en
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Okay, i took a look at the palette functions I use, and noticed they are
pretty similar, except for the first line has 'outportb(0x3c6,0xff);'
which basically initializes the palette. I don't know if that could be
causing your problem, but try it anyhow.
Next, for your plsGet_Pal procedure, you have it set up for this:
(const unsigned char ucCol, unsigned char &ucR, unsigned char &ucG,
unsigned char &ucB)
I have mine set up the same way, except for the &'s. Just get rid of
them and see if that works. I'm kinda confused as to why you have them
there, but whatever....
Hope I helped a bit
- Raw text -