forlang.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.
The videoconfig Structure
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The videoconfig structure contains the following elements:
 
     Element           Contents
 
     numxpixels        Number of pixels on the x axis
     numypixels        Number of pixels on the y axis
     numtextcols       Number of text columns available
     numtextrows       Number of text rows available
     numcolors         Number of actual colors available
     bitsperpixel      Number of bits per pixel
     numvideopages     Number of available video pages
     mode              Current video mode
     adapter           Active display adapter
     monitor           Active display monitor
     memory            Adapter video memory in kilobytes
 
     The values for the adapter element of the videoconfig structure are
     given by the symbolic constants shown in the list below.
 
     Note that for any applicable adapter ($CGA, $EGA, or $VGA), the
     corresponding Olivetti(R) adapter ($OCGA, $OEGA, or $OVGA)
     represents a superset of graphics capabilities.
 
     Constant     Meaning
 
     $MDPA        Monochrome Display Printer Adapter
     $CGA         Color Graphics Adapter
     $OCGA        Olivetti (AT&T) Color Graphics Adapter
     $EGA         Enhanced Graphics Adapter
     $OEGA        Olivetti (AT&T) Enhanced Graphics Adapter
     $VGA         Video Graphics Array
     $OVGA        Olivetti (AT&T) Video Graphics Array
     $MCGA        Multicolor Graphics Array
     $HGC         Hercules(R) Graphics Card
 
     The values for the monitor element of the videoconfig structure are
     given by the symbolic constants listed below:
 
     Constant         Meaning
 
     $MONO            Monochrome monitor
     $COLOR           Color (or enhanced monitor emulating color)
     $ENHCOLOR        Enhanced color
     $ANALOGMONO      Analog (monochrome only)
     $ANALOGCOLOR     Analog (color only)
     $ANALOG          Analog (monochrome and color modes)
                                    -♦-