Unit MPHuge

Classes

Functions

HugeDec -
HugeInc -
HugeMove -
HugeOffset -

Types

PPtrArray
TPtrArray

Constants

Variables


Functions


procedure HugeDec(var HugePtr: pointer; Amount: longint);


procedure HugeInc(var HugePtr: pointer; Amount: longint);


procedure HugeMove(Base: pointer; Dst, Src, Size: longint);


function HugeOffset(HugePtr: pointer; Amount: longint): pointer;


Types


PPtrArray = ^TPtrArray
HugeInc() and HugeOffset() add an offset to a far pointer. HugeDec decrements the pointer. The offset can be greater than 64K and the pointer's segment is properly updated.
TPtrArray = array[0..0] of pointer;

Constants


Variables