X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_mm.h;h=984f932c00adc443128e5d90d383296b316a8f8a;hb=67103bcf34caaa89876b908820771584b3f4d05c;hp=6205d012057a88b7f2ec1fb313bbd1aeba73ed36;hpb=a8ce32fb5abeb885f7794a4f34a4d7dc46cccfe8;p=16.git diff --git a/src/lib/16_mm.h b/src/lib/16_mm.h index 6205d012..984f932c 100644 --- a/src/lib/16_mm.h +++ b/src/lib/16_mm.h @@ -34,7 +34,7 @@ #endif -#define SAVENEARHEAP 0x400 // space to leave in data segment +#define SAVENEARHEAP 0x200 // space to leave in data segment #define SAVEFARHEAP 0 // space to leave in far heap #define BUFFERSIZE 0x1000 // miscelanious, allways available buffer @@ -116,6 +116,9 @@ 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! unsigned attributes; memptr *useptr; // pointer to the segment start struct mmblockstruct huge *next; @@ -161,7 +164,7 @@ unsigned MM_MapEMS(mminfo_t *mm); boolean MML_CheckForXMS(mminfo_t *mm); void MML_SetupXMS(mminfo_t *mm, mminfotype *mmi); void MML_ShutdownXMS(mminfo_t *mm); -void MML_UseSpace(/*d*/word segstart, /*d*/word seglength, mminfo_t *mm); +void MML_UseSpace(/*d*/word segstart, dword seglength, mminfo_t *mm); void MML_ClearBlock(mminfo_t *mm); void MM_Startup(mminfo_t *mm, mminfotype *mmi);