Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 31 - dpmi 0.9 api - protected mode - get state save/restore addresses http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 31 - DPMI 0.9 API - protected mode - GET STATE SAVE/RESTORE ADDRESSES
        AX = 0305h
Return: CF set on error
        CF clear if successfule
            AX = size in bytes of state buffer
            BX:CX = real mode address of procedure to save/restore state
            SI:DI / SI:EDI = protected mode procedure to save/restore state
Notes:  the buffer size will be zero if it is not necessary to preserve state
        16-bit programs should call SI:DI, 32-bit programs should call SI:EDI
        this function is only needed if using the raw mode switch service
SeeAlso: AX=0306h

Values to call state-save procedures with:
        AL = direction
            00h save state
            01h restore state
        ES:DI / ES:EDI -> state buffer
Return: all registers preserved

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson