DOS/32 Advanced DOS Extender - D32A C/C++ Run-Time Library Reference



6.03 - DOS/32 Advanced D32A Library function - d32a_int86xrm()

Synopsys:

#include <d32a.h>
void d32a_int86xrm(int IntNum, D32A_REGS *InRegs, D32A_REGS *OutRegs, D32A_SREGS *SegRegs);


Description:

The d32a_int86xrm function issues a software interrupt IntNum in the Real Mode. Before the interrupt, the 32-bit CPU registers are loaded from the structure located by InRegs and the segment registers are loaded from the structure located by SegRegs. When the interrupt is completed, the structure OutRegs is filled with the contents of the CPU registers and the SegRegs structure is filled with the contents of the segment registers. The following CPU registers are passed across mode switches: EAX, EBX, ECX, EDX, ESI, EDI, EBP, Eflags, DS, ES, FS, GS. Please note that the interrupt IntNum is never issued in the Protected Mode, but directly falls down to the Real Mode where it is executed by a Real Mode interrupt handler.


Returns:

The OutRegs structure is filled with contents of the CPU registers and the SegRegs structure is filled with the contents of the segment registers when the interrupt IntNum completes. This function does not return any value.

 


Copyright © DOS/32 Advanced Team 1996-2002
All Rights Reserved