C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
VESA Constants for Screen Mode
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Constant:  _ORES256COLOR, _VRES256COLOR, _SRES16COLOR, _SRES256COLOR,
             _XRES16COLOR, _XRES256COLOR, _ZRES16COLOR, _ZRES256COLOR
 
  Context:   _setvideomode, _setvideomoderows
 
  Include:   <graph.h>
 
  Synopsis:  Specifies the VESA video screen mode for all graphics
             operations. VESA is an acronym for Video Electronics
             Standards Association.
             See: Constants for Screen Mode
                  _MAXRESMODE & _MAXCOLORMODE Constants for Screen Mode
                  Hercules Support
 
     The <mode> argument to the _setvideomode function can be one of the
     following manifest constants (defined in GRAPH.H). These constants
     support screen modes specified by VESA. Other nonstandard Super VGA
     modes may also be supported. Note that some, or all, of these
     manifest constants may be supported by graphics cards that support
     the VESA Super Video standard VS891001. Other modes may also be
     supported; a TSR driver may be required. For more details on these
     constants, see Chapter 9 of the Programming Techniques manual.
 
     Mode              VESA No.  Type 1  Size          Colors  Adapter
 
     _ORES256COLOR     0x0100    C/G     640  x  400   256     SVGA
     _VRES256COLOR     0x0101    C/G     640  x  480   256     SVGA
     _SRES16COLOR  2   0x0102    C/G     800  x  600    16     SVGA
     _SRES256COLOR 2   0x0103    C/G     800  x  600   256     SVGA
     _XRES16COLOR  3   0x0104    C/G     1024 x  768    16     SVGA
     _XRES256COLOR 3   0x0105    C/G     1024 x  768   256     SVGA
     _ZRES16COLOR  4   0x0106    C/G     1280 x 1024    16     SVGA
     _ZRES256COLOR 4   0x0107    C/G     1280 x 1024   256     SVGA
 
     1  C indicates color output and G indicates graphics generation.
     2  Requires NEC MultiSync 3D or equivalent or better.
     3  Requires NEC MultiSync 4D or equivalent or better.
     4  Requires NEC MultiSync 5D or equivalent or better.
 
     Warning:  DO NOT attempt to set _SRES16COLOR, _SRES256COLOR,
               _XRES16COLOR, _XRES256COLOR, _ZRES16COLOR, or
               _ZRES256COLOR without ensuring that your monitor can
               safely handle that resolution. Otherwise, you may risk
               damaging your display monitor! Consult your owner's
               manual for details. The _MAXRESMODE and _MAXCOLORMODE
               constants never select these constants.
                                    -♦-