DOS/32 Advanced DOS Extender - Programmer's Reference

4.05 - VBE function 4F04h - Save/Restore SuperVGA State



AX = 4F04h
DL = subfunction:

00h - get state buffer size
Returns: EBX = number of 64-byte blocks needed
01h - save video states
02h - restore video states

ECX = states to save/restore:

bit 0 - SVGA hardware state
bit 1 - SVGA BIOS data state
bit 2 - SVGA DAC state
bit 3 - SVGA state

ES:EBX = pointer to save/restore buffer

Out: AL = 4Fh (if function supported by VESA BIOS)
AH = 00h (if function was successful)


a) For subfunctions 01h and 02h, the DOS Extender will internally call subfunction 00h to extract the information about size of data that is to be copied.


Copyright Supernar Systems, Ltd. 1996-2005
All Rights Reserved.