- 7.2.37. -
Table of Contents
7. PMODE/W MSDOS Extender
7.2. PMODE/W Supported DPMI INT 31h functions
7.2.37. Function 0902 - Get Virtual Interrupt State
7.2.37. Function 0902 - Get Virtual Interrupt
State
PMODE/W API
This function Returns the current state of the virtual interrupt flag.
In:
AX = 0902h
Out:
always successful:
carry flag clear
AL = 0 if virtual interrupts are disabled
AL = 1 if virtual interrupts are enabled
Notes:
This function should be used in preference to the PUSHF instruction to examine
the interrupt flag, because the PUSHF instruction returns the physical
interrupt flag rather than the virtualized interrupt flag. On some DPMI hosts,
the physical interrupt flag will always be enabled, even when the hardware
interrupts are not being passed through to the client.
- 7.2.37. -