Mail Archives: djgpp/1996/07/21/17:18:23
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 -