www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/25/10:45:07

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: fprintf() and using under graphic modes
Date: Thu, 25 Nov 1999 10:09:42 +0200
Organization: NetVision Israel
Lines: 18
Message-ID: <Pine.SUN.3.91.991125100843.11831N-100000@is>
References: <94339412201 AT out DOT newmail DOT net> <81hnbl$7jq$2 AT portraits DOT wsisiz DOT edu DOT pl> <vY1%3.1967$lT DOT 32756 AT dfiatx1-snr1 DOT gtei DOT net>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 943517291 5289 199.203.121.2 (25 Nov 1999 08:08:11 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 25 Nov 1999 08:08:11 GMT
X-Sender: eliz AT is
In-Reply-To: <vY1%3.1967$lT.32756@dfiatx1-snr1.gtei.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 25 Nov 1999, Damian Yerrick wrote:

> > I thought about it too. If fprintf uses INT 0x10 (probably function
> > 0x13) maybe it will work to instruct BIOS to position cursor on
> > specific position (x and Y) the same way by INT 0x10. I've
> > searched for such function.
> > For me function 0x2 of INT 0x10 does that job:
> >
> > (input)
> > => AH = 2
> > => BH = number of video page.
> > => DL, DH = X, Y of position of cursor.
> 
> In multiples of 8x16 cells.

No, in multiples of the character cell used by the current video mode.
8x16 is only true for some of them.

- Raw text -


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