Re: ANSI cursor location

 BBS: Inland Empire Archive
Date: 01-07-93 (07:23)             Number: 365
From: DICK DENNISON                Refer#: NONE
  To: JAMES VAHN                    Recvd: NO  
Subj: Re: ANSI cursor location       Conf: (2) Quik_Bas
JV> I'd like to use the ANSI.SYS driver to tell me what the current
JV> cursor location is, but apparently CONS: is OUTPUT only from QB???

'Dick Dennison PD 1/93
'Load qb with the /l switch
'$include:'qb.bi'
dim regs as regtype
regs.ax = &h3 * 256   'dos service
regs.bx = 0           'video page
call interrupt (&h10,regs,regs)  'INT 10h call
row = regs.dx \ 256 + 1
col = regs.dx MOD 256 + 1
 'that should help


--- VP [DOS] V4.09e
 * Origin: The MailMan  (914)374-3903 NY Quick Share Pt #7 *HST (1:272/34)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET