From: Carsten Svaneborg Newsgroups: comp.os.msdos.djgpp Subject: Re: Screen Colors Date: Fri, 15 May 1998 23:09:19 +0200 Organization: REMOVE all 'a''s from email address! Lines: 23 Message-ID: <355CAEFF.D0141A73@aafys.aaaku.aadkaaa> References: <6ii4dn$nut AT nnrp2 DOT farm DOT idt DOT net> NNTP-Posting-Host: fys-170.risoe.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Thomas Beauchamp wrote: > How do I change the text and background colors in standard test mode? If you are very lazy, do out 3c8h,c out 3c9h,R out 3c9h,G out 3c9h,B c is the color index 0 background, 15 white, R,G,B is in red,blue,green intensities in the range 0-63. I'm not sure how you do the out's under djgpp, borland would call it outportb(port,char value) This code will simply redefine the color of white, it will not let you use different colors, but you can do that using the textattribute function. -- * from zqex Salespersons please use the backdoor \dev\null * * Darwinism or Christianity? * * Well remember Christianity is only a theory * * Homepage: http://www.fys.ku.dk/~zqex/c.cgi *