- 7.2.36. -
Table of Contents
7. PMODE/W MSDOS Extender
7.2. PMODE/W Supported DPMI INT 31h functions
7.2.36. Function 0901 - Get and Enable Virtual Interrupt State
7.2.36. 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.
- 7.2.36. -