INT 10H 1c02H: VGA Restore Video State
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:
║0 0•••│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
See Also: INT 10H 1cH (VGA Save/Restore Functions)
INT 10H: Video Services
EGA/VGA Data Areas