From: Eli Zaretskii 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: References: <94339412201 AT out DOT newmail DOT net> <81hnbl$7jq$2 AT portraits DOT wsisiz DOT edu DOT pl> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 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 Precedence: bulk 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.