X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_mm.h;h=23daa0bb1b231b090f967b4acfa729b713800f61;hb=3905085894af7601c6c590f051dc20ca3db08bd9;hp=2db7556144c0530e9463c8606a289e1c4df9e368;hpb=221553c7aa69dddd3f2ed960062080c60fcacf58;p=16.git diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h old mode 100644 new mode 100755 index 2db75561..23daa0bb --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -129,12 +129,13 @@ extern void (* XMSaddr) (void); // far pointer to XMS driver 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; @@ -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; /*