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.
Video Mode Constants
◄MSGraph► ◄Contents► ◄Index► ◄Back►
CONST
{ arguments to _SetVideoMode }
_MaxResMode = -3; { highest resolution graphics mode }
_MaxColorMode = -2; { graphics mode with most colors }
_DefaultMode = -1; { restore screen to original mode }
_TextBW40 = 0; { 40-column text, 16 grey }
_TextC40 = 1; { 40-column text, 16/8 color }
_TextBW80 = 2; { 80-column text, 16 grey }
_TextC80 = 3; { 80-column text, 16/8 color }
_MRes4Color = 4; { 320 x 200, 4 color }
_MResNoColor = 5; { 320 x 200, 4 grey }
_HResBW = 6; { 640 x 200, BW }
_TextMono = 7; { 80-column text, BW }
_HercMono = 8; { 720 x 348, BW for HGC }
_MRes16Color = 13; { 320 x 200, 16 color }
_HRes16Col = 14; { 640 x 200, 16 color }
_EResNoColor = 15; { 640 x 350, BW }
_EResColor = 16; { 640 x 350, 4 or 16 color }
_VRes2Color = 17; { 640 x 480, BW }
_VRes16Color = 18; { 640 x 480, 16 color }
_MRes256Color = 19; { 320 x 200, 256 color }
_OResColor = 64; { 640 x 400, 1 of 16 colors(Olivetti)}
Unit: MSGraph
Context: _GetVideoConfig, _SetVideoMode, _SetVideoModeRows