home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l044 / 2.ddi / INTRFACE.ZIP / MEMORY.INT < prev    next >
Encoding:
Text File  |  1990-10-23  |  884 b   |  29 lines

  1.  
  2. {*******************************************************}
  3. {                                                       }
  4. {       Turbo Pascal Version 6.0                        }
  5. {       Turbo Vision Unit                               }
  6. {                                                       }
  7. {       Copyright (c) 1990 Borland International        }
  8. {                                                       }
  9. {*******************************************************}
  10.  
  11. unit Memory;
  12.  
  13. {$F+,O+,S-}
  14.  
  15. interface
  16.  
  17. const
  18.   LowMemSize: Word = 4096 div 16;
  19.   MaxBufMem: Word = 65536 div 16;
  20.  
  21. procedure InitMemory;
  22. procedure DoneMemory;
  23. function LowMemory: Boolean;
  24. function MemAlloc(Size: Word): Pointer;
  25. function MemAllocSeg(Size: Word): Pointer;
  26. procedure GetBufMem(var P: Pointer; Size: Word);
  27. procedure FreeBufMem(P: Pointer);
  28. procedure SetMemTop(MemTop: Pointer);
  29.