Fox Y2K Logo
The DOS Zone: FAQ's
FOXy2K
Home

The DOS Zone

My Software

Disks in Detail

Books

Doom Stuff

Jokes

Links

Disclaimer

Email me

IMPORTANT NOTICE


Use this site only if you aggree to the terms in my Disclaimer

How do I change the display mode?

The display mode can be changed by using mode (rather unsurprisingly). The syntax for using mode to set the display mode is:
mode <display adapter>
<display adapter> Can be chosen using this table:

bw40Black and white with 40 lines.
bw80Black and white with 80 lines.
co40Colour with 40 lines.
co40Colour with 80 lines.
For example use this for colour with 40 lines:
mode co40

This is probably not very useful since there aren't that many uses for these modes.
If however you have ANSI.SYS loaded (and suitable hardware), you have more useful options at your disposal using this syntax:
mode con: cols=80 lines=25
You can use cols=40 should you want to change the number of characters across the screen to 40 instead of 80 as shown in the example.
lines= is more useful because it allows you to change the number of characters down the screen. 25, 43 and 50 are valid.

One final comment, although it is possible to use DOS in graphics modes it's not advisable since it is very slow.


Copyright © Jonathan Fox 2001.