From: sparky4 Date: Thu, 2 Jul 2015 03:36:10 +0000 (-0500) Subject: HUGE and such added~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=4421280f0ba17ec8467d171eadb97252d6f073d0;p=16.git HUGE and such added~ modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/exmmtest.exe b/exmmtest.exe index 09edfeba..e4e63f5b 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 17eca573..1214f37f 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -436,6 +436,7 @@ void MML_UseSpace(unsigned segstart, unsigned seglength, mminfo_t *mm) // oldend = scan->start + scan->length; extra = oldend - (segstart+seglength); + //++++emsver stuff! if(extra < 0) { printf("MML_UseSpace: Segment spans two blocks!"); @@ -665,8 +666,7 @@ void MM_Shutdown(mminfo_t *mm) void MM_GetPtr(memptr *baseptr,dword size, mminfo_t *mm, mminfotype *mmi) { - mmblocktype huge *scan,huge *lastscan,huge *endscan - ,huge *purge,huge *next; + mmblocktype huge *scan,huge *lastscan,huge *endscan,huge *purge,huge *next; int search; unsigned needed,startseg; @@ -1138,6 +1138,7 @@ void MM_Report(mminfo_t *mm, mminfotype *mmi) printf("freeEMSpages=%u\n", mm->freeEMSpages); printf("EMSpageframe=%Fp\n", mm->EMSpageframe); } + if(MML_CheckForXMS(mm)) printf("XMSaddr=%x\n", *XMSaddr); printf("near=%lu\n", mmi->nearheap); printf("far=%lu\n", mmi->farheap); printf("EMSmem=%lu\n", mmi->EMSmem);