Date: Thu, 25 Nov 1999 10:13:30 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Chaos 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.