typedef struct mmblockstruct
{
- //word start,length;
- word start; dword length;
+ word start,length;
+ //word start; dword length;
word blob; //for data larger than 64k
unsigned attributes;
memptr *useptr; // pointer to the segment start
- struct mmblockstruct huge *next;
+ //huge struct mmblockstruct huge *next;
+ struct mmblockstruct far *next;
} mmblocktype;
{
memptr bufferseg;
boolean mmstarted, bombonerror, mmerror;
- void huge *farheap;
+ //huge void huge *farheap;
+ void far *farheap;
#ifdef __BORLANDC__
void *nearheap;
#endif
unsigned int EMSVer;
word numUMBs,UMBbase[MAXUMBS];
//dword numUMBs,UMBbase[MAXUMBS];
- mmblocktype huge mmblocks[MAXBLOCKS],huge *mmhead,huge *mmfree,huge *mmrover,huge *mmnew;
+ //huge mmblocktype huge mmblocks[MAXBLOCKS],huge *mmhead,huge *mmfree,huge *mmrover,huge *mmnew;
+ mmblocktype far mmblocks[MAXBLOCKS],far *mmhead,far *mmfree,far *mmrover,far *mmnew;
} mminfo_t;
/*