VGA(4) —
NAME
vga − IBM Video Graphics Array planar adapter device driver for the
IBM 8503, IBM 8513, IBM 8514, IBM 8604, IBM 85xx
SYNOPSIS
pseudo-device vga
DESCRIPTION
The Video Graphics Array is a display adapter that resides on the planar of the PS/2 systems. It is capable of driving many models of IBM displays. All modes of the adapter are supported. Color modes are gray scale on the IBM 8503, IBM 8604, IBM 85xx.
The programming interface is a mix of direct memory management and PC BIOS, thus enabling the graphic modes to be supported.
The following are the available modes for the vga device driver. The glass tty uses only mode 03H+ (720x400 pels).
Colors/AlphaBufferBoxMax
ModeTypeShadesFormatStartSizePagesPELs
00HA/N16/256K40x25B80008x88320x200
00H ∗A/N16/256K40x25B80008x148320x350
00H +A/N16/256K40x25B80009x168360x400
01HA/N16/256K40x25B80008x88320x200
01H ∗A/N16/256K40x25B80008x148320x350
01H +A/N16/256K40x25B80009x168360x400
02HA/N16/256K80x25B80008x88640x200
02H ∗A/N16/256K80x25B80008x148640x350
02H +A/N16/256K80x25B80009x168720x400
03HA/N16/256K80x25B80008x88720x400
03H ∗A/N16/256K80x25B80008x148640x350
03H +A/N16/256K80x25B80009x168720x400
04HAPA4/256K40x25B80008x81320x200
05HAPA4/256K40x25B80008x81320x200
06HAPA2/256K80x25B80008x81640x200
07HA/N480x25B00009x148720x350
07H +A/N480x25B00009x168720x400
0DHAPA16/256K40x25A00008x88320x200
0EHAPA16/256K80x25A00008x84640x200
0FHAPA480x25A00008x142640x350
10HAPA16/256K80x25A00008x142640x350
11HAPA2/256K80x30A00008x161640x480
12HAPA16/256K80x30A00008x161640x480
13HAPA256/256K40x25A00008x81320x200
∗Extended Graphics Adapter text modes with 350 scan line
+9x16 enhanced text modes with 400 scan lines
The default color table depends on the mode in use. Mode 3’s default is:
0black 8gray
1blue 9light blue
2green10light green
3cyan11light cyan
4red12light red
5magenta13light magenta
6brown14yellow
7white15bright white
When in graphics modes, ioctls provided by bufemul(4) can be used to switch modes. See the Personal System/2 Model 50 and 60 Technical Reference for more information about the programming interface.
FILES
/dev/console
/dev/ttyvga
/dev/vga
NOTES
Vga is not supported on the IBM RT PC.
SEE ALSO
cons(4), ibmemul(4), kbdemul(4), tty(4), IBM8514(4)
“IBM/4.3 Console Emulators” in Volume II, Supplementary Documents
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — Sept 1988