Xref: utzoo alt.msdos.programmer:818 comp.sys.ibm.pc:39328 Path: 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 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