]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_mm.h
refresh wwww
[16.git] / src / lib / 16_mm.h
index 7fb17a441a2b1fae3637752f4884a4ec41655c5a..de35b428b6197884a9ead179cce0d1e9c0e388ad 100755 (executable)
 
 #define FREEBLOCK(x) {*x->useptr=NULL;x->next=mm->mmfree;mm->mmfree=x;}
 
-#define AARED          "\x1b[41;31m"
-#define AABLUE         "\x1b[44;34m"
-#define AAGREEN        "\x1b[42;32m"
-#define AAYELLOW       "\x1b[43;33m"
-#define AAGREY         "\x1b[47;37m"
-#define AABLACK        "\x1b[40;30m"
-#define AAWHITE                "\x1b[47;37m"
-#define AAMAGENTA      "\x1b[45;35m"
-#define AARESET        "\x1b[0m"
-
 #define SAVENEARHEAP   0x200           // space to leave in data segment
 #define SAVEFARHEAP    0//x400                 // space to leave in far heap
 
@@ -134,7 +124,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 +133,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 +146,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;
 
 /*