X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_mm.h;h=23daa0bb1b231b090f967b4acfa729b713800f61;hb=73a484ef8bbdbcb82bde5580b77001e7c54265f8;hp=7fb17a441a2b1fae3637752f4884a4ec41655c5a;hpb=b6dd51c3b756f09551ea2c731b7aaf370676617a;p=16.git diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 7fb17a44..23daa0bb 100755 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -134,7 +134,8 @@ typedef struct mmblockstruct 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; @@ -142,7 +143,8 @@ typedef struct { memptr bufferseg; boolean mmstarted, bombonerror, mmerror; - void huge *farheap; + //huge void huge *farheap; + void far *farheap; #ifdef __BORLANDC__ void *nearheap; #endif @@ -154,7 +156,8 @@ typedef struct 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; /*