]> 4ch.mooo.com Git - 16.git/commitdiff
okies i am done for the day~
authorsparky4 <sparky4@cock.li>
Thu, 2 Jul 2015 04:33:39 +0000 (23:33 -0500)
committersparky4 <sparky4@cock.li>
Thu, 2 Jul 2015 04:33:39 +0000 (23:33 -0500)
modified:   exmmtest.exe
modified:   src/exmmtest.c
modified:   src/lib/16_mm.c

exmmtest.exe
src/exmmtest.c
src/lib/16_mm.c

index c6856ad5e753853a7682ea8a322c9a9f8422aa79..1687e8e6e7c6176c4337c9cdf23f5e2d66258a2c 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 51c20afc78e0bcc5487b35e851d7fad890ddbf53..1fee91c3695e0861284b4e33d5454a5584c6aa35 100644 (file)
@@ -34,7 +34,7 @@ main(int argc, char *argv[])
        MM_Startup(&mm, &mmi);
        printf("done!\n");
        printf("&main()=%Fp\n", *argv[0]);
-       MM_GetPtr(&bigbuffer, 65535UL, &mm, &mmi);
+       MM_GetPtr(&bigbuffer, mmi.farheap, &mm, &mmi);
        printf("size of big buffer~=%ul\n", _msize(bigbuffer));
        MM_ShowMemory(&mm);
        MM_Report(&mm, &mmi);
index 1214f37fb4956b4d18277227ded9d1f18058ad2a..9d398daa16a56d053fb595de7a9e2303a42960fd 100644 (file)
@@ -1136,7 +1136,7 @@ void MM_Report(mminfo_t *mm, mminfotype *mmi)
                printf("EMM %x available\n", mm->EMSVer);
                printf("totalEMSpages=%u\n", mm->totalEMSpages);
                printf("freeEMSpages=%u\n", mm->freeEMSpages);
-               printf("EMSpageframe=%Fp\n", mm->EMSpageframe);
+               printf("EMSpageframe=%x\n", mm->EMSpageframe);
        }
        if(MML_CheckForXMS(mm)) printf("XMSaddr=%x\n", *XMSaddr);
        printf("near=%lu\n", mmi->nearheap);