Specifications

D:\D\inter61a\INTERRUP.A Saturday, January 08, 2011 11:31 AM
4 palette override supported
5 DCC extension supported
6-7 unused (0)
SeeAlso: #00040
--------V-101C-------------------------------
INT 10 - VIDEO - SAVE/RESTORE VIDEO STATE (PS50+,VGA)
AH = 1Ch
AL = function
00h return state buffer size
Return: BX = number of 64-byte blocks needed
01h save video state
ES:BX -> buffer
02h restore video state
ES:BX -> buffer containing previously saved state
CX = requested states (see #00048)
Return: AL = 1Ch if function supported
Notes: many BIOSes corrupt the video registers when saving the state, so a
program should restore the state immediately after saving it (the
saved data is uncorrupted)
the BIOS data area consists of the 96 bytes from 0040h:0049h-00A8h
this function is not supported when DOS/V is running
this function may be a better VGA installation check than the usual
INT 10/AX=1A00h, since some late-model EGA cards (such as the ATI
EGA Wonder) supported that call
SeeAlso: AX=1A00h,AX=5F90h,AX=5FA0h,MEM 0040h:00A8h
Bitfields for requested states:
Bit(s) Description (Table 00048)
0 video hardware (see #00049)
1 BIOS data areas
2 color registers and DAC state (see #00050)
3-15 unused (0)
SeeAlso: #00186
Format of VGA video hardware state:
Offset Size Description (Table 00049)
00h BYTE sequencer index register
01h BYTE CRTC index register
02h BYTE graphics controller index register
03h BYTE attribute controller index register
04h BYTE feature controller register
-101-
Generated by Foxit PDF Creator © Foxit Software
http://www.foxitsoftware.com For evaluation only.