[comp.os.msdos.misc] Screen sizes and DOS

swdg6835@uxa.cso.uiuc.edu (Steven Danz) (01/25/91)

Does anyone know of a way of telling DOS (any version) that the screen
has something other than 80 columns and 25 rows?  I am trying to use
the 132x43 and 80x43 modes on my VGA card, but DOS doesn't want to use 
the whole screen.

Thanks!

tcs@mailer.jhuapl.edu (Carl Schelin) (01/25/91)

In article <1991Jan24.195404.16630@ux1.cso.uiuc.edu>, swdg6835@uxa.cso.uiuc.edu (Steven Danz) says:
>
>Does anyone know of a way of telling DOS (any version) that the screen
>has something other than 80 columns and 25 rows?  I am trying to use
>the 132x43 and 80x43 modes on my VGA card, but DOS doesn't want to use 
>the whole screen.
>
>Thanks!

I had a similar problem. I believe that you have to load a different
ansi driver (assuming you have DOS's Ansi.Sys loaded). 

When I started using NNansi/VAnsi (came with the board)/FansiConsole
the screen size problem went away.

Carl Schelin
tcs@mailer.jhuapl.edu

Greg.Smith@p11.f477.n104.z1.METRONET.ORG (Greg Smith) (01/27/91)

In a message to All <25 Jan 91 05:03> Steven Danz wrote:

 SD> Does anyone know of a way of telling DOS (any version) that the screen
 SD> has something other than 80 columns and 25 rows?  I am trying to use
 SD> the 132x43 and 80x43 modes on my VGA card, but DOS doesn't want to use
 SD> the whole screen.

When I use different screen dimensions, Dos works fine with it.  How are you changing the screen size?  The referance which dos uses as the screen dimensions are the bytes in the BIOS area:  0040:004A is a word containing the screen width in columns.  The word at 0040:008A contains the screen length -1 (thus 24 means 25 lines).  Also, some earlier versions of dos may not use these. If so you're out of luck.

                                             Greg



--- XRS! 4.00DV
 * Origin: Reading this is pointless. (Quick 1:104/477.11)

--  
=============================================================================
Greg Smith - via MetroNet node 200:5000/301 
The Bohemia BBS System, Boulder Colorado (303)449-8946
UUCP:  Greg.Smith@p11.f477.n104.z1.METRONET.ORG
 or :  ...!boulder!bohemia.METRONET.ORG!1!104!477.11!Greg.Smith
=============================================================================

cummings@hammer.Prime.COM (Kevin Cummings) (01/28/91)

In article <1991Jan25.130532.7956@aplcen.apl.jhu.edu>,
tcs@mailer.jhuapl.edu (Carl Schelin) writes:
|> In article <1991Jan24.195404.16630@ux1.cso.uiuc.edu>,
swdg6835@uxa.cso.uiuc.edu (Steven Danz) says:
|> >
|> >Does anyone know of a way of telling DOS (any version) that the
screen
|> >has something other than 80 columns and 25 rows?  I am trying to
use
|> >the 132x43 and 80x43 modes on my VGA card, but DOS doesn't want to
use 
|> >the whole screen.
|> >
|> >Thanks!
|> 
|> I had a similar problem. I believe that you have to load a different
|> ansi driver (assuming you have DOS's Ansi.Sys loaded). 
|> 
|> When I started using NNansi/VAnsi (came with the board)/FansiConsole
|> the screen size problem went away.
|> 
|> Carl Schelin
|> tcs@mailer.jhuapl.edu

And the rest of the software does NOT look in the BIOS data area.
Instead it makes ASSUMPTIONS about your screen size.  Some work only
if you are in an 80 column mode, others just assume 80x24 period.
A few peices of software (like Windows 3.0) do check, but only for
IBM supported values (like if you're not in 80x25, and you are an
EGA, you MUST be in 80x43.)  

What did I do to get around this problem the best I could?  I use
NNANSI
as my ANSI driver.  It correctly looks in the BIOS for the current
screen size.  It will even allow you to set certain sizes via ANSI
screen codes.  I also downloaded an EGA screen package from SIMTEL20
called ANSI-432.ARC.  It contains a MORE.COM which also checks the
BIOS for the number of lines on the screen.  It is a replacement for
the MORE.COM which comes with DOS.  It should work with any 100%
compatible BIOS.

=================================================================
Kevin J. Cummings                       Prime Computer Inc.
20 Briarwood Road                       500 Old Connecticut Path
Framingham, Mass.                       Framingham, Mass.

InterNet:  cummings@primerd.Prime.COM
UUCP:      {uunet, csnet-relay}!primerd.Prime.COM!cummings

Std. Disclaimer: "Mr. McKittrick, after careful consideration,
		  I've come to the conclusion that your new
		  defense system SUCKS..."   --  War Games
=================================================================