[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
INT 10 - VIDEO - SET VIDEO MODE
AH = 00h
AL = mode (see below)
Return: AL = video mode flag (Phoenix BIOS)
20h mode > 7
30h modes 0-5 and 7
3Fh mode 6
AL = CRT controller mode byte (Phoenix 386 BIOS v1.10)
Notes: IBM standard modes do not clear the screen if the high bit of AL is set
(EGA or higher only)
the Tseng ET4000 chipset is used by the Orchid Prodesigner II, Diamond
SpeedSTAR VGA, Groundhog Graphics Shadow VGA, Boca Super X VGA,
Everex EV-673
the installation check for Ahead adapters is the signature "AHEAD" at
C000h:0025h
the installation check for Paradise adapters is the signature "VGA=" at
C000h:007Dh
the installation check for Oak Tech OTI-037/057/067/077 chipsets is the
signature "OAK VGA" at C000h:0008h
the installation check for ATI adapters is the signature "761295520" at
C000h:0031h; the byte at C000h:0043h indicates the chipset revision:
31h for 18800
32h for 18800-1
33h for 18800-2
34h for 18800-4
35h for 18800-5
the two bytes at C000h:0040h indicate the adapter type
"22" EGA Wonder
"31" VGA Wonder
"32" EGA Wonder800+
the byte at C000h:0042h contains feature flags
bit 1: mouse port present
bit 4: programmable video clock
the byte at C000h:0044h contains additional feature flags if chipset
byte > 30h
bit 0: 70 Hz non-interlaced display
bit 1: Korean (double-byte) characters
bit 2: 45 MHz memory clock rather than 40 MHz
bit 3: zero wait states
bit 4: paged ROMs
bit 6: no 8514/A monitor support
bit 7: HiColor DAC
the installation check for Genoa video adapters is the signature
77h XXh 99h 66h at C000h:0037h, where XXh is
00h for Genoa 6200/6300
11h for Genoa 6400/6600
22h for Genoa 6100
33h for Genoa 5100/5200
55h for Genoa 5300/5400
SeeAlso: AX=007Eh,AX=10E0h,AX=10F0h,AH=40h,AX=6F05h,AH=FFh"GO32"
Values for video mode:
text/ text pixel pixel colors disply scrn system
grph resol box resoltn pages addr
00h = T 40x25 8x8 16gray 8 B800 CGA,PCjr
= T 40x25 8x14 16gray 8 B800 EGA
= T 40x25 8x16 16 8 B800 MCGA
= T 40x25 9x16 16 8 B800 VGA
01h = T 40x25 8x8 16 8 B800 CGA,PCjr
= T 40x25 8x14 16 8 B800 EGA
= T 40x25 8x16 16 8 B800 MCGA
= T 40x25 9x16 16 8 B800 VGA
02h = T 80x25 8x8 16gray 4 B800 CGA,PCjr
= T 80x25 8x14 16gray 4 B800 EGA
= T 80x25 8x16 16 4 B800 MCGA
= T 80x25 9x16 16 4 B800 VGA
03h = T 80x25 8x8 16 4 B800 CGA,PCjr
= T 80x25 8x14 16 4 B800 EGA
= T 80x25 8x16 16 4 B800 MCGA
= T 80x25 9x16 16 4 B800 VGA
04h = G 40x25 8x8 320x200 4 B800 CGA,PCjr,EGA,MCGA,VGA
05h = G 40x25 8x8 320x200 4gray B800 CGA,PCjr,EGA
= G 40x25 8x8 320x200 4 B800 MCGA,VGA
06h = G 80x25 8x8 640x200 2 B800 CGA,PCjr,EGA,MCGA,VGA
07h = T 80x25 9x14 mono var B000 MDA,Hercules,EGA
= T 80x25 9x16 mono B000 VGA
08h = T 132x25 8x8 16 B800 ATI EGA/VGA Wonder [1]
= T 132x25 8x8 mono B000 ATI EGA/VGA Wonder [1]
= G 20x25 8x8 160x200 16 PCjr, Tandy 1000
= G 90x43 8x8 720x352 mono B000 Hercules + MSHERC.COM
09h = G 40x25 8x8 320x200 16 PCjr
0Ah = G 80x25 8x8 640x200 4 PCjr, Tandy 1000
0Bh = reserved (used internally by EGA BIOS)
= G 640x200 16 Tandy 1000 SL/TL
0Ch = reserved (used internally by EGA BIOS)
0Dh = G 40x25 8x8 320x200 16 8 A000 EGA,VGA
0Eh = G 80x25 8x8 640x200 16 4 A000 EGA,VGA
0Fh = G 80x25 8x14 640x350 mono 2 A000 EGA,VGA
10h = G 80x25 8x14 640x350 4 2 A000 64k EGA
= G 640x350 16 A000 256k EGA,VGA
11h = G 80x30 8x16 640x480 mono A000 VGA,MCGA,ATI EGA,ATI VIP
12h = G 80x30 8x16 640x480 16/256k A000 VGA,ATI VIP
= G 80x30 8x16 640x480 16/64 A000 ATI EGA Wonder
= G 640x480 16 UltraVision+256K EGA
13h = G 40x25 8x8 320x200 256/256k A000 VGA,MCGA,ATI VIP
14h = T 132x25 Nx16 16 XGA, IBM Enhanced VGA [2]
18h = T 132x25 mono B000 Cirrus 5320 chipset
= T 132x44 8x8 mono Tseng Labs EVA
= T 132x44 8x8 16/256 2 B000 Tseng ET4000 chipset
19h = T 132x25 8x14 mono Tseng Labs EVA
= T 132x25 8x14 16/256 4 B000 Tseng ET4000 chipset
1Ah = T 132x28 8x13 mono Tseng Labs EVA
= T 132x28 8x13 16/256 4 B000 Tseng ET4000 chipset
20h = G 240x128 B000 HP 95LX
21h = T 132x60 16 2 B800 Tseng ET4000 chipset
= G 1024x768 16 Realtek RTVGA
22h = T 132x44 8x8 Tseng Labs EVA
= T 132x44 8x8 16/256 2 B800 Tseng ET4000 chipset
23h = T 132x25 6x14 Tseng Labs EVA
= T 132x25 8x14 16/256 4 B800 Tseng ET4000 chipset
24h = T 132x28 6x13 Tseng Labs EVA
= T 132x28 8x13 16/256 4 B800 Tseng ET4000 chipset
25h = G 80x60 8x8 640x480 Tseng Labs EVA
= G 80x60 8x8 640x480 16/256 1 A000 Tseng ET4000 chipset
= G 640x480 16 VEGA VGA
= G 640x480 16 NEC GB-1
26h = T 80x60 8x8 Tseng Labs EVA
= T 80x60 8x8 16/256 2 B800 Tseng ET4000 chipset
27h = T 132x25 8x8 mono B000 ATI EGA Wonder,ATI VIP
= G 720x512 16 VEGA VGA
= G 720x512 16 Genoa
28h = T ???x??? VEGA VGA
29h = G 800x600 16 VEGA VGA
= G 800x600 16 A000 STB,Genoa,Sigma
= G 100x37 8x16 800x600 16/256 1 A000 Tseng ET3000/4000 chipset
2Ah = T 100x40 Allstar Peacock (VGA)
= T 100x40 8x15 16/256 4 B800 Tseng ET4000 chipset
= G 1280x1024 256 Realtek RTVGA
2Dh = G 640x350 256 VEGA VGA
= G 640x350 256/256k A000 Orchid, Genoa, STB
= G 80x25 8x14 640x350 256/256k 1 A000 Tseng ET3000/4000 chipset
2Eh = G 640x480 256 VEGA VGA
= G 640x480 256/256k A000 STB,Genoa,Sigma
= G 80x30 8x16 640x480 256/256k 1 A000 Tseng ET3000/4000 chipset
2Fh = T 160x50 8x8 1280x400 16 4 B800 Ahead B (Wizard/3270)
= G 720x512 256 VEGA VGA
= G 720x512 256 Genoa
= G 80x25 8x16 640x400 256/256k 1 A000 Tseng ET4000 chipset
30h = G 800x600 256 VEGA VGA
= G 800x600 256/256k A000 STB,Genoa,Sigma
= G ???x??? B800 AT&T 6300
= G 100x37 8x16 800x600 256/256k 1 A000 Tseng ET3000/4000 chipset
36h = G 960x720 16 VEGA VGA
= G 960x720 16 Tseng ET3000 only
37h = T 132x44 8x8 mono B800 ATI EGA Wonder,ATI VIP
= G 1024x768 16 VEGA VGA
= G 1024x768 16 A000 STB,Genoa,Sigma
= G 128x48 8x16 1024x768 16 1 A000 Tseng ET3000/4000
38h = G 1024x768 256 STB VGA/EM-16 Plus (1MB)
= G 128x48 8x16 1024x768 256/256k 1 A000 Tseng ET4000 chipset
3Dh = G 1280x1024 16 Definicon
= G 128x64 8x16 1280x1024 16 1 A000 Tseng ET4000 v3.00 [6,8]
40h = T 80x43 VEGA VGA, Tecmar VGA/AD
= T 80x43 Video7 V-RAM VGA
41h = T 132x25 VEGA VGA
= T 132x25 Video7 V-RAM VGA
42h = T 132x43 VEGA VGA
= T 132x43 Video7 V-RAM VGA
43h = T 80x60 VEGA VGA
= T 80x60 Video7 V-RAM VGA
44h = disable VDC and DEB output AT&T 6300
= T 100x60 VEGA VGA
= T 100x60 Video7 V-RAM VGA
45h = T 132x28 Tatung VGA
= T 132x28 Video7 V-RAM VGA
46h = T 132x25 8x14 mono Genoa 6400
47h = T 132x29 8x12 mono Genoa 6400
48h = T 132x32 8x12 mono Genoa 6400
= G 80x50 8x8 640x400 2 B800 AT&T 6300, AT&T VDC600
49h = T 312x44 8x8 mono Genoa 6400
4Dh = T 120x25 VEGA VGA
4Eh = T 120x43 VEGA VGA
4Fh = T 132x25 VEGA VGA
50h = T 80x30 8x16 16/256k B800 Trident TVGA 8800/8900
= T 80x43 mono VEGA VGA
= G 80x30 8x16 640x480 16 Paradise EGA-480
51h = T 80x30 8x16 Paradise EGA-480
= T 80x43 8x11 16/256k B800 Trident TVGA 8800/8900
= T 132x25 mono VEGA VGA
52h = T 80x60 Lava Chrome II EGA
= T 80x60 8x8 16/256k B800 Trident TVGA 8800/8900
= T 132x43 mono VEGA VGA
53h = T 80x25 8x16 NEL Electronics BIOS
= T 132x25 8x14 16/256k B800 Trident TVGA 8800/8900
54h = T 132x25 Lava Chrome II EGA
= T 132x30 8x16 16/256k B800 Trident TVGA 8800/8900
= T 132x43 8x8 Paradise EGA-480
55h = T 80x66 8x8 16/256k A000 ATI VIP
= T 132x43 8x11 16/256k B800 Trident TVGA 8800/8900
= G 1024x768 16/256k ATI Ultra 8514A,ATI XL
56h = T 132x43 8x8 3??? 2 B000 NSI Smart EGA+
= T 132x60 8x8 16/256k B800 Trident TVGA 8800/8900
57h = T 132x25 8x14 3??? 4 B000 NSI Smart EGA+
= T 132x25 9x14 16/256k B800 Trident TVGA 8800/8900
59h = T 80x43 9x8 NEL Electronics BIOS
= T 132x43 9x11 16/256k B800 Trident TVGA 8800/8900
5Ah = T 80x60 8x8 NEL Electronics BIOS
= T 132x60 9x8 16/256k B800 Trident TVGA 8800/8900
5Bh = T 80x30 8x16 B800 ATI VGA Wonder (undoc)
= G 640x350 256 Genoa 6400
= G 100x75 8x8 800x600 16/256k A000 Trident TVGA 8800, 8900
5Ch = T 100x37 8x16 NEL Electronics BIOS
= G 80x25 8x16 640x400 256/256k A000 Trident TVGA 8800/8900
= G 80x30 8x16 640x480 256 Genoa 6400
5Dh = T 100x75 8x8 NEL Electronics BIOS
= G 80x30 8x16 640x480 256/256k A000 Trident TVGA 8800 (512K)
5Eh = G 640x400 256 Paradise VGA,VEGA VGA
= G 100x75 8x8 800x600 256 Genoa 6400
5Fh = G 640x480 256 Paradise VGA
= G 128x48 8x16 1024x768 16 Genoa 6400
= G 128x48 8x16 1024x768 16/256k A000 Trident TVGA 88/8900 512K
60h = T 132x25 8x14 16/64 8 B800 Quadram Ultra VGA
= T 132x25 8x14 16 Genoa 6400
= G 752x410 VEGA VGA
= G 752x410 16 Video7 V-RAM VGA
= G 128x48 8x16 1024x768 4/256k A000 Trident TVGA 8900
61h = T 132x29 8x12 16/64 8 B800 Quadram Ultra VGA
= T 132x29 8x8 16 Genoa 6400
= G 720x540 VEGA VGA
= G 720x540 16 Video7 V-RAM VGA
= G 96x64 8x16 768x1024 16/256k A000 Trident TVGA 88/8900 512K
62h = T 132x32 8x11 16/64 6 B800 Quadram Ultra VGA
= T 132x32 8x12 16 Genoa 6400
= G 640x450 16 Cirrus 510/520 chipset
= G 800x600 16 Tatung VGA
= G 128x48 8x16 1024x768 256/256k A000 Trident TVGA 8900, Zymos
63h = T 132x44 8x8 16/64 5 B800 Quadram Ultra VGA
= T 132x44 8x8 16 Genoa 6400
= G 100x42 8x14 800x600 256 A000 ATI Ultra 8514A,ATI XL
64h = T 132x60 8x8 16 Genoa 6400
= G 800x600 16 MORSE VGA
69h = G 720x540 256 Video7 V-RAM VGA
6Ah = G 800x600 16 A000 VESA standard interface
= G 100x75 8x8 800x600 16 Genoa 6400
6Bh = T 100x37 8x16 16 Genoa 6400
6Ch = G 100x75 8x8 800x600 256 Genoa 6400
70h = extended mode set (see AX=0070h) Everex Micro Enhancer EGA
71h = T 80x25 8x8 16 8 B800 Quadram (CGA double scan)
72h = T 80x60 8x8 16 B800 Quadram Ultra VGA
= T 80x60 8x8 16 B800 Genoa 6400
73h = G 80x60 8x8 640x480 16 A000 Quadram Ultra VGA
= G 80x60 8x8 640x480 16 Genoa 6400
74h = T 80x66 8x8 16 B800 Quadram Ultra VGA
= T 80x66 8x8 16 B800 Genoa 6400
75h = G 128x48 8x16 1024x768 4 1 A000 Ahead B
= G 80x66 640x528 16??? A000 Quadram Ultra VGA
= G 640x528 16 Geno Super EGA Hirez+
76h = T 94x29 8x14 16 B800 Quadram Ultra VGA
77h = G 94x29 752x410 16??? A000 Quadram Ultra VGA
= G 752x410 16 Genoa Super EGA Hirez+
78h = T 100x37 8x16 16 Genoa 6400
= T 100x75 8x8 16 B800 Quadram Ultra VGA
79h = G 640x480 256 Cardinal, C&T chipset
= G 100x75 800x600 16??? A000 Quadram Ultra VGA
= G 800x600 16 Genoa Super EGA Hirez+
= G 100x75 8x8 800x600 16 Genoa 6400
7Ah = T 114x60 8x8 16 B800 Quadram Ultra VGA
7Bh = G 800x600 256 C&T chipset, Cardinal
= G 114x60 912x480 16??? A000 Quadram Ultra VGA
= G 912x480 16 Genoa Super EGA Hirez+
7Ch = G 512x512 16 Genoa
7Dh = G 64x32 8x16 512x512 256 Genoa
7Eh = special mode set (see AX=007Eh) Paradise VGA, AT&T VDC600
= G 80x25 8x16 640x400 256 Genoa 6400
7Fh = special function set (see AX=007Fh) Paradise VGA, AT&T VDC600
= G 128x48 8x16 1024x768 4 Genoa 6400
Notes:
[1] for ATI EGA Wonder, mode 08h is only valid if SMS.COM is loaded resident.
SMS maps mode 08h to mode 27h if the byte at location 0040:0063 is 0B4h,
otherwise to mode 23h, thus selecting the appropriate (monochrome or
color) 132x25 character mode.
for ATI VGA Wonder, mode 08h is the same, and only valid if VCONFIG loaded
resident
[2] early XGA boards support 132-column text but do not have this BIOS mode
[3] DESQview intercepts calls to change into these two modes (21h is page 0,
22h is page 1) even if there is no Hercules graphics board installed
[4] ATI BIOS v4-1.00 has a text-scrolling bug in this mode
[5] for AT&T VDC overlay modes, BL contains the DEB mode, which may be 06h,
40h, or 44h
[6] BIOS text support is broken in this undocumented mode; scrolling moves only
about 1/3 of the screen (and does even that portion incorrectly), while
screen clears only clear about 3/4.
[7] The Oak OTI-037/067/077 modes are present in the Oak VGA BIOS, which OEMs
may choose to use only partially or not at all; thus, not all Oak boards
support all "Oak" modes listed here
[8] interlaced only
[9] this card uses the full 128K A000h-BFFFh range for the video buffer,
precluding the use of a monochrome adapter in the same system
See Also:
100070
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson