From: sparky4 Date: Sat, 18 Jul 2015 20:42:03 +0000 (-0500) Subject: something more XT friendly~ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=b72b034541c567750edae10ebc97c8241a6c76f9;p=16.git something more XT friendly~ modified: src/testemm.c modified: testemm.exe --- diff --git a/src/testemm.c b/src/testemm.c index bee98b82..243a48da 100644 --- a/src/testemm.c +++ b/src/testemm.c @@ -106,14 +106,14 @@ int main() { if (h1 >= 0) printf("OK, handle=%u\n",h1); else printf("FAILED\n"); - printf("Allocating EMM pages (1MB): "); - h2 = emm_alloc_pages(0x100000UL >> 14UL); + printf("Allocating EMM pages (1.6MB): "); + h2 = emm_alloc_pages(0x19999AUL >> 14UL); sanity(); if (h2 >= 0) printf("OK, handle=%u\n",h2); else printf("FAILED\n"); - printf("Allocating EMM pages (1MB): "); - h3 = emm_alloc_pages(0x100000UL >> 14UL); + printf("Allocating EMM pages (12MB): "); + h3 = emm_alloc_pages(0xC00000UL >> 14UL); sanity(); if (h3 >= 0) printf("OK, handle=%u\n",h3); else printf("FAILED\n"); diff --git a/testemm.exe b/testemm.exe index 6b40a83b..1cfca442 100644 Binary files a/testemm.exe and b/testemm.exe differ