]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_mm.h
hmmm
[16.git] / src / lib / 16_mm.h
index 7949cce4598964d0b36693c40541523de9fb4836..b9b455f5b79bbc8ead9635229f19d315df7067db 100644 (file)
@@ -92,8 +92,6 @@ typedef struct
 {
        dword   nearheap,farheap,EMSmem,XMSmem,mainmem;
        //__segment segu;
-       //word segu;
-//
 } mminfotype;
 
 //==========================================================================
@@ -118,15 +116,12 @@ extern void               (* XMSaddr) (void);             // far pointer to XMS driver
 #define BASEATTRIBUTES 0       // unlocked, non purgable
 
 #define MAXUMBS                12
-#define MAPPAGES               4//mm->EMSpagesmapped
+#define MAPPAGES               mm->EMSpagesmapped
 
 typedef struct mmblockstruct
 {
-       word    start;//,length;
-       //dword start,length;
-       //word  start;
-       dword length;
-       //byte segm;                            //how many 64kb segment blocks it takes up if there is many data!
+       //word  start,length;
+       word    start;  dword length;
        unsigned        attributes;
        memptr          *useptr;        // pointer to the segment start
        struct mmblockstruct huge *next;