]> 4ch.mooo.com Git - 16.git/commitdiff
something more XT friendly~
authorsparky4 <sparky4@cock.li>
Sat, 18 Jul 2015 20:42:03 +0000 (15:42 -0500)
committersparky4 <sparky4@cock.li>
Sat, 18 Jul 2015 20:42:03 +0000 (15:42 -0500)
modified:   src/testemm.c
modified:   testemm.exe

src/testemm.c
testemm.exe

index bee98b82d5485b6a5790e949a197907a95ad8103..243a48da21b9d8cd5212059d23f91d9147ed4ab4 100644 (file)
@@ -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");
index 6b40a83bbea0bc6127a87f10b156a5861e673eca..1cfca442120b5b857d6028ce86f48ee223ec667c 100644 (file)
Binary files a/testemm.exe and b/testemm.exe differ