From: "Stefan Viljoen" Newsgroups: comp.os.msdos.djgpp Subject: Re: Color Text... Date: Wed, 3 Jan 2001 17:42:01 +0200 Organization: The South African Internet Exchange Lines: 27 Message-ID: <932nn8$lhu$2@ctb-nnrp2.saix.net> References: <3A52601F DOT 300F61D2 AT crosslink DOT net> <92tp52$qot$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: rsb53-01-p189.gt.saix.net X-Trace: ctb-nnrp2.saix.net 978641448 22078 155.239.84.189 (4 Jan 2001 20:50:48 GMT) X-Complaints-To: abuse AT saix DOT net NNTP-Posting-Date: 4 Jan 2001 20:50:48 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tom St Denis wrote in message news:92tp52$qot$1 AT nnrp1 DOT deja DOT com... > In article <3A52601F DOT 300F61D2 AT crosslink DOT net>, > mmattb AT hotmail DOT com wrote: > > ... Is there any way to print color text (something other than white) > in > > pure C++? Or do I need to go to a platform specific news group. I've > > searched the internet and my MSDN help thing, but I couldn't find > > anything regarding to it. > Or you could just mess with the screen directly - each second byte (?) of 80x25x16 text mode is a color byte. See http://home.intekom.com/rylan/prog.html for pointers on accessing screen memory directly - the method to access 320x200x256 VGA should work as it is with the text screen memory address (0x0B800 instead of 0x0A000) ? Regards, Stefan Viljoen F/EMS Dispatcher Potchefstroom F/EMS South Africa http://home.intekom.com/rylan/