Assembly Language Help (alang.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
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   10h     Function:   1Ch
 
  Title:       Save or Restore Video State
 
  Description:                                                    [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
                                             State information placed
          Bits     Significance              in caller's buffer
                                           Or if called with AL = 02h
          0        Save/restore video        Requested state restored
                   hardware state            according to contents of
          1        Save/restore video        caller's buffer
                   BIOS data area
          2        Save/restore video
                   DAC state and color
                   registers
          3-15     Reserved
 
     ES:BX = segment:offset of buffer
                                    -♦-