www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/25/05:46:22

Date: Thu, 25 Nov 1999 10:13:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Chaos <chengin AT alpha DOT net DOT pl>
cc: djgpp AT delorie DOT com
Subject: Re: fprintf() and using under graphic modes
In-Reply-To: <81hnbl$7jq$2@portraits.wsisiz.edu.pl>
Message-ID: <Pine.SUN.3.91.991125101005.11831O-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 23 Nov 1999, Chaos 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.

You can simply call library function ScreenSetCursor, if you don't mind 
DJGPP-specific code.  It already calls that function of the BIOS.

- Raw text -


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