delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/20/13:00:44

Xref: news2.mv.net comp.os.msdos.djgpp:6193
From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with cprintf...
Date: Thu, 18 Jul 1996 19:13:27 GMT
Lines: 25
Message-ID: <837717115.7627.1@abwillms.demon.co.uk>
References: <4s9ikk$tcr AT news DOT nevada DOT edu>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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



--
I have become... Comfortably numb...

Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.hardcafe.co.uk/Alaric/">http://www.hardcafe.co.uk/Alaric/</A>

- Raw text -


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