qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 10H Function 1CH
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Save or Restore Video State      [PS/2]
 
  Saves or restores the digital-to-analog converter (DAC) state and color
  registers, ROM BIOS video driver data area, or video hardware state.
 
  Input                                        Output
  ═════════════════════════                    ══════════════════════════
  AH=1CH                                       If function supported
  AL=subfunction                               AL=1CH
     00H to get state buffer size              and, if called with AL=00H
     01H to save state                         BX=buffer block count
     02H to restore state                      (64 bytes per block)
  CX=requested states                          or, if called with AL=01H
     Bit(s)     Significance                   State information placed
     ══════     ══════════════════             in caller's buffer
     0          save/restore video             or, if called with AL=02H
                 hardware state                Requested state restored
     1          save/restore video             according to contents of
                 BIOS data area                caller's buffer
     2          save/restore video
                 DAC state and color
                 registers
     3-15       reserved
  ES:BX=segment:offset of buffer
                                    -♦-