INT 10H 1c02H: VGA Restore Video State
Compatibility: VGA
Expects: AX 1c02H
CX type(s) of video-state info to restore (see below)
ES:BX address of buffer containing video-state info
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Returns: AL 1cH (if this fn is supported)
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
Info: This restores the VGA video system to its state at the time when
it was saved via INT 10H 1c01H.
CX is a set of bit-flags indicating what types of video-state
information you need to restore:
1 1
Ö5Â4Â Â7Â6Â5Â4Â3Â2Â1Â0·
º0 0ooo³0 0 0 0 0³c³d³hº
ÓÄÁÄÁ ÁÄÁÄÁÄÁÄÁÄÁÒÁÒÁÒ½ bit mask
º º ÈÍ> 0: 01H video hardware state info
º ÈÍÍÍ> 1: 02H video BIOS data area info
ÈÍÍÍÍÍ> 2: 04H DAC state and color registers
ES:BX Be sure that the data at this address contains valid information
as saved via INT 10H 1c01H (with CX having the same value!).
The layout of the video-state information is not documented.
Notes: This is very handy for task-switching software such as the DOS
Shell and can be useful in systems that switch in-and-out of
graphics modes.
See Also: INT 10H 1cH (VGA Save/Restore Functions)
INT 10H: Video Services
EGA/VGA Data Areas
-*-