|
GetMemLinear Allocate a block of memory without a selector. |
Inputs: AX = 0ff10h
CX:DX = Size of block required in bytes.
Outputs: Carry set on error else,
SI:DI = Linear address of block allocated.
Errors: If not enough memory is available to satisfy the request then this function returns carry set.
Notes: Addresses returned by this function may be >16M.
|
GetMemLinear32 Allocate a block of memory without a selector. |
Inputs: AX = 0ff11h
ECX = Size of block required in bytes.
Outputs: Carry set on error else,
ESI = Linear address of block allocated.
Errors: See GetMemLinear
Notes: Addresses returned by this function may be >16M.
|
GetMemNear Allocate an application relative block of memory. |
Inputs: AX = 0ff16h
EBX = Size of block required in bytes.
Outputs: Carry set on error else,
ESI = Application relative linear address of block allocated.
Errors: If there is not enough memory available to satisfy the request then this function returns carry set.
Notes: Addresses returned by this function are an offset from the start of the application's memory and are intended to be used with the NEAR memory model.
Go back to Devore Software & Consulting home page