This DPMI 0.9 Specification is hosted by Tenberry Software, Inc.

11.1 Simulate Real Mode Interrupt


[Next Section] * [Previous Section] * [DPMI Index]
[Tenberry Home] * [Software Quality] * [DOS/4G] * [DOS/4GW] * [DOS/16M]

This function simulates an interrupt in real mode. It will invoke the CS:IP specified by the real mode interrupt vector and the handler must return by executing an iret.

To Call

     AX = 0300h
     BL = Interrupt number
     BH = Flags
          Bit 0 = 1 resets the interrupt controller and A20 line
          Other flags reserved and must be 0
     CX = Number of  words to  copy from  protected mode to
          real mode stack
     ES:(E)DI = Selector:Offset of real mode call structure

Returns

     If function was successful:
     Carry flag is clear.
     ES:(E)DI = Selector:Offset of modified real mode call structure

     If function was not successful:
     Carry flag is set.

Programmer's Notes


[Next Section] * [Previous Section] * [DPMI Index]
[Tenberry Home] * [Software Quality] * [DOS/4G] * [DOS/4GW] * [DOS/16M]
This HTML edition of the DPMI 0.9 Specification is hosted by Tenberry Software, Inc., makers of the DOS/16M and the DOS/4G family of DOS extenders. Page last modified 2003.1.28, <webmaster@tenberry.com>