1 // Cut this out as memory.h
\r
4 * Module: All Modules
\r
5 * Author(s): Chris Somers
\r
6 * Date: August 5, 1993
\r
9 modified by Alex Russell to simplify.
11 Open Watcom patch by sparky4~
\r
16 #define _MEMORY_DEF 1
\r
24 extern int EMVer(void);
25 extern unsigned long EMInfo(void);
26 extern int OpenEMM(void);
27 extern unsigned long GetEMMSeg0(void);
\r
28 extern void CloseEMM(void);
\r
29 extern int EMMInstalled(void);
\r
30 extern void far *EMMalloc(int *Handle, int Pages);
\r
31 extern int EMMRealloc(int Handle, int Pages);
\r
32 extern void EMMFree(int Handle);
\r
33 extern int MapEMM(int Handle, int Start, int Pages);
\r
34 extern void UnmapEMM(int Handle, int Start, int Pages);
\r
35 extern int UseEMM(int Handle, int Start, int Pages);
\r
36 extern void SaveEMM(int Handle, int Start, int Pages);
\r
37 extern unsigned long EMMCoreLeft(void);