]> 4ch.mooo.com Git - 16.git/commitdiff
ok last commit of number of pages that can be max allocated... wwww
authorsparky4 <sparky4@cock.li>
Sat, 16 May 2015 01:22:06 +0000 (20:22 -0500)
committersparky4 <sparky4@cock.li>
Sat, 16 May 2015 01:22:06 +0000 (20:22 -0500)
modified:   src/lib/exmm/EMM.EXE
modified:   src/lib/exmm/emm.c

src/lib/exmm/EMM.EXE
src/lib/exmm/emm.c

index 1c10737f95710602368d01c7ba52b2bc005e7223..dade277b70493c065875c9f90384df17ea0455af 100644 (file)
Binary files a/src/lib/exmm/EMM.EXE and b/src/lib/exmm/EMM.EXE differ
index 05e68bf6f600453dab96b030f94179cef228e5a3..7a3ebc8def770b1b08283688c861208792923180 100644 (file)
@@ -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*/)\r
        {\r
                printf("Not enough EMM or out of handles.\n");\r