Article View: comp.sys.ibm.pc
Article #41757Re: Video help request
From: Mark Lord
Date: Tue, 06 Feb 1990 16:06
Date: Tue, 06 Feb 1990 16:06
22 lines
1511 bytes
1511 bytes
In article <76694@tut.cis.ohio-state.edu> <schanck@cis.ohio-state.edu> writes: >Ladies and Gentlemen, > >Ideally, I would like a function which would handle this similar to >the method Telix uses. You can specify three possibilties: > 1) current setup (means recognizing the current setup) > 2) 80x43 (EGA & VGA) > 3) 80x50 (Mostly VGA) > 4) 132 versions of 2&3 I usually read it directly from the BIOS variables. There are functions to return the video mode and number of columns and base address, but nothing that I can see will tell me how many rows. So, if the mode is "3", I just peek into the standard BIOS variable locations to get the number of rows. This, by the way, allows support for 30,40,43,50,60 lines in text mode, in addition to the "standard" 25 lines. -- ___Mark S. Lord_________________________ ______________________________ | ..uunet!bnrgate!bmers58!mlord | These are only MY opinions. | | ..!utgpu!bnr-vpa!bnr-fos!mlord%bmers58 | I charge for official views. | |________________________________________|______________________________|
Technical Details
Message-ID:
<1341@bmers58.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bnrgate!bnr-fos!bmers58!mlordReferences:
<76694@tut.cis.ohio-state.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bnrgate!bnr-fos!bmers58!mlord From: mlord@bmers58.UUCP (Mark Lord) Newsgroups: comp.sys.ibm.pc Subject: Re: Video help request Message-ID: <1341@bmers58.UUCP> Date: 6 Feb 90 16:06:12 GMT References: <76694@tut.cis.ohio-state.edu> Reply-To: mlord@bmers58.UUCP (Mark Lord) Organization: Bell-Northern Research, Ottawa, Canada Lines: 22