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.
\r
14 #define _MEMORY_DEF 1
\r
17 #include "emmsize.h"
\r
22 extern int OpenEMM(void);
\r
23 extern void CloseEMM(void);
\r
24 extern int EMMInstalled(void);
\r
25 extern void far *EMMalloc(int *Handle, int Pages);
\r
26 extern int EMMRealloc(int Handle, int Pages);
\r
27 extern void EMMFree(int Handle);
\r
28 extern int MapEMM(int Handle, int Start, int Pages);
\r
29 extern void UnmapEMM(int Handle, int Start, int Pages);
\r
30 extern int UseEMM(int Handle, int Start, int Pages);
\r
31 extern void SaveEMM(int Handle, int Start, int Pages);
\r
32 extern unsigned long EMMCoreLeft(void);
\r