Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>get and enable virtual interrupt state</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        Get and Enable Virtual Interrupt State


                 This function  will enable  the virtual  interrupt flag
                 and return  the previous state of the virtual interrupt
                 flag.

            To Call

                 AX = 0901h

            Returns

                 Carry flag clear (this function always succeeds)
                 Virtual interrupts are enabled
                 AL = 0 if virtual interrupts were previously disabled
                 AL = 1 if virtual interrupts were previously enabled

            Programmer's Notes

                 o    AH  will   not  be   changed  by  this  procedure.
                      Therefore, to  restore the  previous state, simply
                      execute an Int 31h.

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