delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/21/17:18:23

Message-Id: <s1f345f0.067@MAIL.TAIT.CO.NZ>
Date: Mon, 22 Jul 1996 09:12:28 +1200
From: Bill Currie <bill_currie AT MAIL DOT TAIT DOT CO DOT NZ>
To: djgpp AT delorie DOT com
Subject: Re: Help with cprintf...

On 19/7/96  7:13 am, Alaric B. Williams <alaric AT abwillms DOT demon DOT co DOT uk> 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019