GetMemSO Allocate a block of memory with selector:offset |
Inputs: AX = 0ff2ch
CX:DX = Size of block required in bytes
Outputs: Carry set on error else,
SI:DI = selector:offset of allocated memory
Errors: See GetMem
Notes: This function allocates a block of memory with an associated selector:offset. The allocation does not consume a selector on each call as does GetMem because a non-zero offset from an existing selector for this allocation type is returned. GetMemSO is useful for applications which make a large number of allocations where running out of selectors with GetMem could be a problem. A potential drawback is that memory accesses beyond the allocation boundary may go undetected since the selector is shared among several allocations. Also, resizing the block can change the selector:offset of the block.
GetRVect Get real mode interrupt handler address. |
Inputs: AX = 0200h
BL= Interrupt vector number.
Outputs: CX:DX = selector:offset of handler.
Errors: None.