C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Constants for Screen Mode
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Constant:  _DEFAULTMODE, _MAXRESMODE, _MAXCOLORMODE, _TEXTBW40,
             _TEXTC40, _TEXTBW80, _TEXTC80, _MRES4COLOR, _MRESNOCOLOR,
             _HRESBW, _TEXTMONO, _HERCMONO, _MRES16COLOR, _HRES16COLOR,
             _ERESNOCOLOR, _ERESCOLOR, _VRES2COLOR, _VRES16COLOR,
             _MRES256COLOR, _ORESCOLOR
 
  Context:   _setvideomode, _setvideomoderows
 
  Include:   <graph.h>
 
  Synopsis:  Specifies the video screen mode for all graphics
             operations.
             See: VESA Constants for Screen Mode
                  _MAXRESMODE & _MAXCOLORMODE Constants for Screen Mode
                  Hercules Support
 
     The <mode> argument can be one of the following manifest
     constants (defined in GRAPH.H).
 
     Mode              Type       Size         Colors      Adapter
 
     _DEFAULTMODE      Mode existing at startup
     _MAXRESMODE       Highest resolution in graphics mode
     _MAXCOLORMODE     Maximum colors in graphics mode
     _TEXTBW40         BW/T       40 columns        32     CGA
     _TEXTC40          C/T        40 columns        32     CGA
     _TEXTBW80         BW/T       80 columns        32     CGA
     _TEXTC80          C/T        80 columns        32     CGA
     _MRES4COLOR       C/G        320 x 200          4     CGA
     _MRESNOCOLOR      BW/G       320 x 200          4     CGA
     _HRESBW           BW/G       640 x 200          2     CGA
     _TEXTMONO         M/T        80 columns        32     MDPA
     _HERCMONO *       M/G/H      720 x 348          2     HGC
     _MRES16COLOR      C/G        320 x 200         16     EGA
     _HRES16COLOR      C/G        640 x 200         16     EGA
     _ERESNOCOLOR      M/G        640 x 350          4     EGA
     _ERESCOLOR        C/G        640 x 350       16/4     EGA
     _VRES2COLOR       C/G        640 x 480          2     VGA
     _VRES16COLOR      C/G        640 x 480         16     VGA
     _MRES256COLOR     C/G        320 x 200        256     VGA
     _ORESCOLOR        C/G        640 x 400    1 of 16     OGA
 
     Type:    M indicates monochrome, BW indicates monochrome,
              C indicates color output, T indicates text, H indicates
              Hercules graphics, and G indicates graphics generation.
 
     Size:    For text modes, size is given in characters (number of
              columns). For graphics modes, size is given in pixels
              (horizontal x vertical).
 
     Colors:  For monochrome displays, the number of colors is the
              number of attributes or shades of gray.
 
     Adapter: Adapters are the IBM (and compatible) Monochrome Adapter
              (MDPA), Color Graphics Adapter (CGA), Enhanced Graphics
              Adapter (EGA), Video Graphics Array (VGA), Hercules-
              compatible adapter, and Olivetti-compatible adapter.
 
     *        In _HERCMONO mode, the text dimensions are 80 columns
              by 25 rows, with a 9 by 14 character box. The bottom two
              scan lines of row 25 are not visible.
 
     This table describes only standard hardware; however, display
     hardware that is strictly compatible with IBM, Hercules, or
     Olivetti hardware should also work as described.
                                    -♦-