
Click above to get retro games delivered to your door ever month!
X-Hacker.org- BIOS ref. - <b>int 10h, 00h set video mode</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 10h, 00h Set Video Mode
Sets the video mode.
Entry AH = 00h
AL = Video mode
Return Nothing
On the EGA, MCGA, and VGA, the display memory is not erased by a
mode set if the high bit of AL is set.
Host memory affected by a mode set:
0040h:0049h Current video mode
0040h:004Ah No. of columns on screen
0040h:004Ch Length of active screen buffer
0040h:004Eh Start offset of current display page
0040h:0050h Cursor positions
0040h:0060h Cursor mode
0040h:0062h Current display page
0040h:0063h Base host address of port
0040h:0065h Current mode
0040h:0066h Current color
0040h:0084h No. of character rows
--------------------------------------------------------------------------
Table of standard text and graphics video modes
Mode Text Box Pixel Colors No. Buffer System/
no. type resol size resolution pages addr adapter
00h T 40x25 8x8 320x200 16gray 8 B800 CGA,PCjr
0* T 40x25 8x14 320x350 16gray 8 B800 EGA
T 40x25 8x16 320x400 16 8 B800 MCGA
0+ T 40x25 9x16 360x400 16 8 B800 VGA
01h T 40x25 8x8 320x200 16 8 B800 CGA,PCjr
1* T 40x25 8x14 320x350 16 8 B800 EGA
T 40x25 8x16 320x400 16 8 B800 MCGA
1+ T 40x25 9x16 360x400 16 8 B800 VGA
02h T 80x25 8x8 640x200 16gray 4 B800 CGA,PCjr
2* T 80x25 8x14 640x350 16gray 8 B800 EGA
T 80x25 8x16 640x400 16 8 B800 MCGA
2+ T 80x25 9x16 720x400 16 8 B800 VGA
03h T 80x25 8x8 640x200 16 4 B800 CGA,PCjr
3* T 80x25 8x14 640x350 16/64 8 B800 EGA
T 80x25 8x16 640x400 16 8 B800 MCGA
3+ T 80x25 9x16 720x400 16 8 B800 VGA
04h G 40x25 8x8 320x200 4 1 B800 CGA,PCjr,EGA,MCGA,VGA
05h G 40x25 8x8 320x200 4gray 1 B800 CGA,PCjr,EGA
G 40x25 8x8 320x200 4 1 B800 MCGA,VGA
06h G 80x25 8x8 640x200 2 1 B800 CGA,PCjr,EGA,MCGA,VGA
07h T 80x25 9x14 720x350 mono var B000 MDA,Hercules,EGA
7+ T 80x25 9x16 720x400 mono 8 B000 VGA
08h G 20x25 8x8 160x200 16 . B000 PCjr
09h G 40x25 8x8 320x200 16 . B000 PCjr
0Ah G 80x25 8x8 640x200 4 . B000 PCjr
0Bh reserved (EGA internal)
0Ch reserved (EGA internal)
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 2 A000 256k EGA,VGA
11h G 80x30 8x16 640x480 2/256K 1 A000 VGA,MCGA
12h G 80x30 8x16 640x480 16/256K 1 A000 VGA
13h G 40x25 8x8 320x200 256/256K 1 A000 VGA,MCGA
See Also: Int 10h, 06h Int 10h, 07h Int 10h, 0Fh
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson