From: sparky4 Date: Sat, 18 Jul 2015 19:42:46 +0000 (-0500) Subject: ok modified the tester! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=d8c50179afb08d8c2d67cf0bc399d9d380d038ab;p=16.git ok modified the tester! modified: src/testemm.c modified: testemm.exe --- diff --git a/src/testemm.c b/src/testemm.c index 22af102e..bee98b82 100644 --- a/src/testemm.c +++ b/src/testemm.c @@ -112,8 +112,8 @@ int main() { if (h2 >= 0) printf("OK, handle=%u\n",h2); else printf("FAILED\n"); - printf("Allocating EMM pages (12MB): "); - h3 = emm_alloc_pages(0xC00000UL >> 14UL); + printf("Allocating EMM pages (1MB): "); + h3 = emm_alloc_pages(0x100000UL >> 14UL); sanity(); if (h3 >= 0) printf("OK, handle=%u\n",h3); else printf("FAILED\n"); @@ -250,6 +250,7 @@ int main() { /* we do this test because Microsoft EMM386.EXE seems to max out at 32MB. * the host could have 256MB of total memory and it would still report 32MB in EMS */ + printf("we do this test because Microsoft EMM386.EXE seems to max out at 32MB.\n the host could have 256MB of total memory and it would still report 32MB in EMS"); printf("Allocating EMM pages (48MB): "); h1 = emm_alloc_pages((48UL << 20UL) >> 14UL); if (h1 >= 0) { diff --git a/testemm.exe b/testemm.exe index 3db9514b..6b40a83b 100644 Binary files a/testemm.exe and b/testemm.exe differ