Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 2f - multiplex - ms windows - switch vms and callback http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 2F - Multiplex - MS WINDOWS - SWITCH VMs AND CALLBACK
        AX = 1685h
        BX = VM ID of virtual machine to switch to
        CX = flags
                bit 0 wait until interrupts enabled
                bit 1 wait until critical section unowned
                bits 2-15 reserved (zero)
        DX:SI = priority boost (see VMM.INC)
        ES:DI -> FAR procedure to callback
Return: CF set on error
            AX = error code
                01h invalid VM ID
                02h invalid priority boost
                03h invalid flags
        CF clear if successful
            event will be or has been called
Notes:  some DOS devices, such as networks, need to call functions in a
          specific VM. This call forces the appropriate VM to be installed.
        the callback procedure must preserve all registers and return with IRET
SeeAlso: AX=1683h, INT 15/AX=1117h

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