🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #420

Re: i/o routines and non-standard video modes

#420
From: Robert Claeson
Date: Tue, 05 Dec 1989 10:10
18 lines
1317 bytes
Pardon my ignorance, but...

In article <1494@cc.helsinki.fi>, TEITTINEN@cc.helsinki.fi (Marko) writes:

> I don't think screen handling is terribly slow in DOS 4.0, but it knows
> whether the screen is in 80*25 or 80*50 line mode. Easy to use (command
> is "mode ,50", but too few programs check whether they are running on
> 80*25 or 80*50 line screen. Of course, all DOS programs do it,
> especially more.

How do I inquire the current screen geometrics? Is there a BIOS call that
I can use to get the number of lines and columns on the screen (mind you,
the number of lines is not the only thing that can be changed)? At least,
it isn't mentioned in my (old, pre-AT) PC Technical Reference.

-- 
          Robert Claeson      E-mail: rclaeson@erbe.se
	  ERBE DATA AB
Technical Details
Message-ID: <1035@maxim.erbe.se>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!decwrl!shelby!bloom-beacon!eru!luth!sunic!maxim!prc
References: <2090@calvin.EE.CORNELL.EDU> <2980@einstein.ptolemy.arc.nasa.gov> <1494@cc.helsinki.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!decwrl!shelby!bloom-beacon!eru!luth!sunic!maxim!prc
From: prc@erbe.se (Robert Claeson)
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc
Subject: Re: i/o routines and non-standard video modes
Summary: How?
Message-ID: <1035@maxim.erbe.se>
Date: 5 Dec 89 10:10:51 GMT
References: <2090@calvin.EE.CORNELL.EDU> <2980@einstein.ptolemy.arc.nasa.gov> <1494@cc.helsinki.fi>
Followup-To: alt.msdos.programmer
Organization: ERBE DATA AB, Jarfalla, Sweden
Lines: 18