DOS/32 Advanced DOS Extender - Programmer's Reference


2.47 - DPMI function 0901h - Get Virtual Interrupt State

Returns the current state of the virtual interrupt flag.

 

In: AX = 0902h
Out: CF clear
AL = 0 if virtual interrupts are disabled
AL = 1 if virtual interrupts are enabled

Notes:

a) 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 (per-client) interrupt flag. On some DPMI hosts, the physical interrupt flag will always be enabled, even when hardware interrupts are not being passed through to the client.

 


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