CAUSEWAY API

CauseWay provides an API for C and assembly language programmers as an extension of the DPMI API via INT 31h. Including the file CW.INC allows easy access to this API through appropriately named functions. You may also call the CauseWay API directly with appropriate register setup.

CauseWay also provides all of the DPMI 0.9 API services on systems without a true DPMI server.

Some of the API services require pointers to a real mode register list. It's the standard DPMI format for real-mode code execution, as follows:

dword | EDI
dword | ESI
dword | EBP
dword | Reserved
dword | EBX
dword | EDX
dword | ECX
dword | EAX
word | Flags
word | ES
word | DS
word | FS
word | GS
word | IP
word | CS
word | SP
word | SS

The values are passed to the target routine without any interpretation of their contents. There is no need to set the high words of the extended register entries unless the target routine requires them.

Next Page

Previous Page

Go to Table of Contents