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:

dwordEDI
dwordESI
dwordEBP
dwordReserved
dwordEBX
dwordEDX
dwordECX
dwordEAX
wordFlags
wordES
wordDS
wordFS
wordGS
wordIP
wordCS
wordSP
wordSS

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