Previous: Function 0900 - Get and Disable Virtual Interrupt State To the Table of Content Next: Function 0902 - Get Virtual Interrupt State

- 7.2.16 -
PMODE/W MSDOS Extender
PMODE/W Supported DPMI INT 31h functions

Function 0901 - Get and Enable Virtual Interrupt State

PMODE/W API

This function Enables the virtual interrupt flag and returns the previous state of it.
In:
   AX     = 0901h
Out:
   always successful:
     carry flag clear
     AL     = 0 if virtual interrupts were previously
                disabled
     AL     = 1 if virtual interrupts were previously
                enabled
Notes:
AH is not changed by this function. Therefore the previous state can be restored by simply executing another INT 31h.

A client that does not need to know the prior interrupt state can execute the STI instruction rather than calling this function. The instruction may be trapped by a DPMI host and should be assumed to be very slow.


Previous: Function 0900 - Get and Disable Virtual Interrupt State To the Table of Content Next: Function 0902 - Get Virtual Interrupt State
Function 0900 - Get and Disable Virtual Interrupt State Table of Content Function 0902 - Get Virtual Interrupt State

- 7.2.16 -