VIDMODE                                 Charles Petzold
Sets/displays the current video mode	    Version 1.0
-------------------------------------------------------

Purpose
-------
Reports/changes the current video mode.

Format
------

    VIDMODE m

Remarks
-------
Entered without the optional m parameter, VIDMODE
displays the current video mode. In text modes, the
commands VIDMODE 03 and VIDMODE 07 have the same
practical effect as the DOS commands MODE CO80 and
MODE MONO respectively. The table below lists the m
(mode) parameters to which VIDMODE can be switched.

Mode  Type   Disp.   Resol.  Chars  Box   Colours Pgs
----  ----   -----  -------  -----  ---   ------- ---
0&1   Text   CGA     200x320  25x40   8x8   16    8
             EGA     350x320  25x40  14x8   16    8
             VGA     400x360  25x80  16x9   16    8
2&3   Text   CGA     200x640  25x80   8x8   16    8
             EGA     350x640  25x80  14x8   16    8
             VGA     400x720  25x80  16x9   16    8
4&5   Graph  CGA+    200x320  25x40   8x8    4    1
 6    Graph  CGA+    200x640  25x80  14x8    2    1
 7    Text   MDA     350x720  25x80  14x9    4    8
8-12  ------------ Reserved/PCjr modes ------------
13    Graph  EGA+    200x320  25x40   8x8   16    8
14    Graph  EGA+    200x640  25x80   8x8   16    4
15    Graph  EGA     350x640  25x80  14x8    4    1
16    Graph  EGA+    350x640  25x80  14x8   16    2
17    Graph  MCGA+   480x640  25x80  14x8    2    1
18    Graph  VGA     480x640  25x80  14x8   16    1
19    Graph  MCGA+   200x320  25x40  14x8  256    1

Notes
-----

1. Users of a Hercules graphics card can
   activate "page 1" graphics if an EGA/VGA
   is installed with the command sequence:

                    MODE CO80
                    VIDMODE 16
                    ...
                    MODE MONO

   Use VIDMODE 14 if your EGA is connected
   to a conventional colour monitor.

2. Should you switch to a mode not supported
   by your monitor, you can recover by blindly
   entering VIDMODE 3 (colour) or VIDMODE 7
   (monochrome).

3. By adding 128 to the mode number desired you
   can change modes without clearing the screen
   (though the cursor is reset to the upper
   left). These high numbered modes may confuse
   some applications programs, however.

4. VIDMODE will switch to 'super VGA' modes if
   your display has them provided that you know
   the correct mode number to use. Your display
   card manual should list these. WARNING: You
   should be careful not to select Super VGA modes
   that your monitor is not designed to handle.
   Some Super VGA cards do not provide protection
   against this and it can cause damage to your
   monitor.

5. VIDMODE was formerly called EGAMODE.
