Category : C++ Source Code
Archive   : EVMEM.ZIP
Filename : MEMORY.H

 
Output of file : MEMORY.H contained in archive : EVMEM.ZIP
#define SWAP_EMS 1
#define SWAP_DISK 2
#define SWAP_BEST 3



extern int EMS_AV;
extern int DISK_AV;
void Init(int needed,int neededone,char name[255],int Display);

class Memory
{
long size;
int pages;
void huge *pointer;
int SWAP_TYPE;
unsigned EMS_HANDLE; //the unsigned EMS handle
char SWAP_FileName[255]; //Hold swap file name
public:
Memory();
Memory(long s);
~Memory();
int SwapBack();
int Swap(int s); //returns 0 for success, 1 for failure
void Allocate(long s);
void Deallocate();
void huge *ReturnAddress();
operator void huge *();
operator char far *();
};
extern int (*_memhandler)(long bytes,Memory *M);
void SetMemoryHandler(int (*mh)(long,Memory *M));

  3 Responses to “Category : C++ Source Code
Archive   : EVMEM.ZIP
Filename : MEMORY.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/