bas7advr.hlp (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.
SCREEN Statement - Adapters and Displays
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
Adapters and Displays
 
Scroll through the tables in this topic, which list the screen modes
available for each adapter. If the display device is also a factor in
choosing a screen mode, it is listed.
 
See Screen Mode Summary for a list of the valid mode% numbers.
See Attributes and Colors for a list of the default color attributes
for different screen modes.
 
MDPA Screen Modes
 
The IBM Monochrome Display and Printer Adapter (MDPA) must be used with
a monochrome display. Only SCREEN 0, text mode, can be used with the MDPA.
 
         Rows and   Color        Display
  Mode   columns    attributes   colors   Resolution   Pages
  ════   ════════   ════════     ═══════  ══════════   ═════
  0      80x25      16           3        720x350      1
 
Hercules Adapter Screen Modes
 
         Rows and   Color        Display
  Mode   columns    attributes   colors   Resolution   Pages
  ════   ════════   ════════     ═══════  ══════════   ═════
  0      80x25      16           3        720x348      1
  3      80x25      16           1        720x348      2
 
CGA Screen Modes
 
The IBM Color Graphics Adapter (CGA) and Color Display are typically
paired. This combination permits running text-mode programs, and both
medium-resolution and high-resolution graphics programs.
 
        Rows and   Color
  Mode  columns    attributes   Resolution    Pages
  ════  ════════   ════════     ══════════    ═════
  0     40x25      16           320x200       8
  0     80x25      16           640x200       4
  1     40x25      4            320x200       1
  2     80x25      2            640x200       1
 
EGA Screen Modes
 
The IBM Enhanced Graphics Adapter (EGA) may be used with either the IBM
Color Display or the Enhanced Color Display. In modes 0, 1, 2, 7, and
8, these pairings produce similar results, except for the following
differences:
 
  1. The border color cannot be set on an Enhanced Color Display
     when it is in 640 x 350 text mode.
 
  2. The text quality is better on the Enhanced Color Display (an
     8 x 14 character box for Enhanced Color Display versus an 8 x 8
     character box for Color Display).
 
Mode 9 takes full advantage of the capabilities of the Enhanced Color
Display. Mode 9 provides for the highest resolution possible for the
EGA/Enhanced Color Display configuration. Programs written for this
mode will not work for any other hardware configuration except the
VGA.
 
Following are the screen modes that can be used with an EGA:
 
        Rows and             Color       Display            Page
  Mode  columns  Display(a)  attributes  colors  Resolution size  Pages
  ════  ════════ ══════════  ══════════  ═══════ ══════════ ════  ═════
  0     40x25    C           16          16      320x200    N/A   8
        40x25    E           16          64      320x350    N/A   8
        40x43    E           16          64      320x350    N/A   "(b)
        80x25    C           16          16      640x200    N/A   "(b)
        80x25    E           16          64      640x350    N/A   "(b)
        80x25    C           16          16      640x200    N/A   "(b)
        80x25    M           16           3      720x350    N/A   "(b)
        80x43    E           16          64      640x350    N/A   4(b)
        80x43    M           16           3      720x350    N/A   4(b)
  1     40x25    N/A          4          16      320x200    16K   1
  2     80x25    N/A          2          16      640x200    16K   "
  7     40x25    N/A         16          16      320x200    32K   (c)
  8     80x25    N/A         16          16      640x200    64K   (c)
  9(d)  80x25    E            4          64      640x350    64K   1
        80x43    E            4          64      640x350    64K   1
        80x25    E           16          64      640x350    128K  (c)
        80x43    E           16          64      640x350    128K  (c)
 10     80x25    M            4           9      640x350    64K   (e)
        80x43    M            4           9      640x350    64K   (e)
  ────────────────────────────────────────────────────────────────────────
  (a)  C = Color display
       E = Enhanced color display
       M = Monochrome display
       N/A = Not applicable (either color display or enhanced color display)
  (b)  Pages = Screen memory divided by page size. Eight page maximum,
               one page minimum.
  (c)  Pages = Screen memory divided by 2 divided by page size. Eight
               page maximum, one page minimum.
  (d)  Number of pages is halved with 64K.
  (e)  The first two entries under mode 9 are for an EGA with 64K
       of screen memory. The next two entries assume more than 64K
       of screen memory.
 
EGA and VGA Adapters with Monochrome Display: SCREEN 10
 
Only the EGA and VGA can be paired with the IBM Monochrome display
to run programs in screen mode 10. This mode can be used to display
monochrome graphics at a very high resolution with the optional effects
of blinking and high intensity.
 
The following two tables summarize the color attributes, display colors,
and effects for screen mode 10 used with a monochrome display.
 
Color Attributes: SCREEN 10, Monochrome Display
 
  Color attribute    Default effect
  ═══════════════    ════════════════════
  0                  Off
  1                  On, normal intensity
  2                  Blink
  3                  On, high intensity
 
 
Display Color Values: SCREEN 10, Monochrome Display
 
  Display color      Effect
  ═══════════════    ════════════════════
  0                  Off
  1                  Blink, off to on
  2                  Blink, off to high intensity
  3                  Blink, on to off
  4                  On
  5                  Blink, on to high intensity
  6                  Blink, high intensity to off
  7                  Blink, high intensity to on
  8                  High intensity
 
VGA Screen Modes
 
The IBM Video Graphics Array (VGA) adapter offers significantly enhanced
text and graphics in all modes.
 
        Rows and  Color                           Page
  Mode  columns   attributes  Colors  Resolution  size  Pages
  ════  ════════  ══════════  ══════  ══════════  ════  ═════
  0     40x25     16          64      360x400           8
        40x43     16          64      320x350           8
        40x50     16          64      320x400           4
        80x25     16          64      720x400           8
        80x43     16          64      640x350           4
        80x43     16           3      720x350           4
        80x50     16          64      640x400           4
        80x50     16           3      720x400           4
  1     40x25      4          16      320x200     16K   1
  2     80x25      2          16      640x200     16K   1
  7     40x25     16          16      320x200     32K   (a)
  8     80x25     16          16      640x200     64K   (a)
  9     80x25     16          64      640x350     128K  (a)
        80x43     16          64      640x350     128K  (a)
 10     80x25      4           9      640x350     64K   (b)
        80x43      4           9      640x350     64K   (b)
 11     80x30      2         256      640x480     64K   1
        80x60      2         256      640x480     64K   1
 12     80x30     16         256      640x480     256K  1
        80x60     16         256      640x480     256K  1
 13     40x25    256         256      320x200     64K   1
───────────────────────────────────────────────────────────────────────
 (a)    Pages = Screen memory divided by page size. Eight page maximum.
 (b)    Pages = Screen memory divided by 2 divided by page size. Eight
                page maximum.
 
See PALETTE, PALETTE USING Statements Details for a description of how
the VGA calculates color values.
 
MCGA Screen Modes
 
The IBM Multicolor Graphics Array (MCGA) combines the modes of the CGA with
the very high resolution and 256K color modes of the VGA to provide enhanced
text and graphics in all modes.
 
        Rows and  Color       Display              Page
  Mode  columns   attributes  colors   Resolution  size  Pages
  ════  ════════  ══════════  ═══════  ══════════  ════  ═════
   0    40x25      16                  320x400           8
        80x25      16                  640x400           8
   1    40x25       4                  320x200     16K   1
   2    80x25       2                  640x200     16K   1
  11    80x30       2          256K    640x480     64K   1
        80x60       2          256K    640x480     64K   1
  13    40x25     256          256K    320x200     64K   1
 
The MCGA uses the same display color values as the VGA. For a description
of how the MCGA calculates display color values, see
PALETTE, PALETTE USING Statements Details.
 
See Also    SCREEN Statement