Message-Id: Date: Mon, 22 Jul 1996 09:12:28 +1200 From: Bill Currie To: djgpp AT delorie DOT com Subject: Re: Help with cprintf... On 19/7/96 7:13 am, Alaric B. Williams did thus say >>> > gaghon AT nevada DOT edu (GEORGE GAGHON) wrote: > > >I am using cprintf(), and I am having some problems. Nothing seems to be > >appearing in screen mode 0x13 (VGA, graphic, 256 color) it works in text > >mode. Am I doing something wrong, or does in just not work in this mode. > > cprintf works by dumping data direct to text mode video RAM... 'ah!', > you think, that won't work in 0x13. Correct. > > The best way to output text in 13h is to plot it thyself from pixels. > You can steal the font bitmaps from the BIOS, only I don't have the > details handy... > > >Vince. > > ABW If anyone is interested, I have some code for writing text in mode X (320x240) that seems fast. Provides both transparent and solid background colors for the text. Due to the way my code works, the text module is NOT standalone, but the code does not seem to be very large. Bill