X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_mm.h;h=083a4d299c9edac773a18e1e40688c40b9e62d32;hb=1287746074527ec8af4c6ca515802e5a72d0ef05;hp=7949cce4598964d0b36693c40541523de9fb4836;hpb=c8ffd769a0711b15dad068cdf0874cd6c89aee1c;p=16.git diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 7949cce4..083a4d29 100644 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -37,7 +37,7 @@ #define SAVENEARHEAP 0x200 // space to leave in data segment -#define SAVEFARHEAP 0//x2000 // space to leave in far heap +#define SAVEFARHEAP 0x400 // space to leave in far heap #define BUFFERSIZE 0x1000 // miscelanious, allways available buffer @@ -84,16 +84,11 @@ #define XMS_FREEUMB 0x11 //========================================================================== -//I hope this is correct! -//__segment seg; -typedef void __based(__self) * memptr; //__based(seg) * memptr; typedef struct { dword nearheap,farheap,EMSmem,XMSmem,mainmem; //__segment segu; - //word segu; -// } mminfotype; //========================================================================== @@ -122,11 +117,8 @@ extern void (* XMSaddr) (void); // far pointer to XMS driver 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;