GetDOSTrans Get current address and size of the buffer used for DOS memory transfers.

Inputs: AX = 0ff25h

Outputs: BX = Real mode segment of buffer.

DX = Protected mode selector for buffer.

ECX = Buffer size

Errors: None

Notes: This buffer is used by the INT API translation services, e.g., INT 21h, AH=40h (write to file). The default buffer is 8K and uses memory that would otherwise be wasted. This default is sufficient for most file I/O but if you are writing a program that reads/writes large amounts of data you should consider allocating your own larger buffer and pass the buffer's address to CauseWay to speed file I/O.

GetEVect Get Protected mode exception handler address.

Inputs: AX = 0202h

BL= Exception vector number.

Outputs: Carry set on error else,

CX:[E]DX = selector:offset of handler.

Errors: The number in BL must be in the range 0-1Fh. Anything outside this range returns carry set.

Next Page

Previous Page

Go to Table of Contents

Go back to Devore Software & Consulting home page