From: sparky4 Date: Sat, 16 May 2015 01:22:06 +0000 (-0500) Subject: ok last commit of number of pages that can be max allocated... wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=32c964cb32b90cdf791cec30107822e4750d1075;p=16.git ok last commit of number of pages that can be max allocated... wwww modified: src/lib/exmm/EMM.EXE modified: src/lib/exmm/emm.c --- diff --git a/src/lib/exmm/EMM.EXE b/src/lib/exmm/EMM.EXE index 1c10737f..dade277b 100644 Binary files a/src/lib/exmm/EMM.EXE and b/src/lib/exmm/EMM.EXE differ diff --git a/src/lib/exmm/emm.c b/src/lib/exmm/emm.c index 05e68bf6..7a3ebc8d 100644 --- a/src/lib/exmm/emm.c +++ b/src/lib/exmm/emm.c @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) printf("b4 EMS *pEmmData=%x\n", *pEmmData); //printf("b4 EMS *pEmmData=%s\n", *pEmmData); - pEmmData = (byte *)EMMalloc(&hEData, EMMCoreLeft()-1); // get 6 * 16K bytes - 96K + pEmmData = (byte *)EMMalloc(&hEData, EMMCoreLeft()); // get 6 * 16K bytes - 96K if(pEmmData == NULL/* || pEmmData0 == NULL*/) { printf("Not enough EMM or out of handles.\n");