From: sparky4 Date: Tue, 21 Jul 2015 01:46:58 +0000 (-0500) Subject: ok about to add the massive page management stuff X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=fa6e5edb63e179496bf10150ec3a14715d852101;p=16.git ok about to add the massive page management stuff modified: exmmtest.exe modified: src/lib/16_mm.c modified: src/lib/16_mm.h --- diff --git a/exmmtest.exe b/exmmtest.exe index 858770f8..45ae6667 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index c7577924..24f78c5b 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -307,7 +307,7 @@ byte MM_MapEMS(mminfo_t *mm) return 0; } -void MM_MapXEMS(mminfo_t *mm) +byte MM_MapXEMS(mminfo_t *mm) { //SUB EMS.MapXPages (PhysicalStart, LogicalStart, NumPages, Handle) @@ -332,6 +332,46 @@ void MM_MapXEMS(mminfo_t *mm) // EMS.Error = (Regs.ax AND &HFF00&) \ &H100 //Store the status code //END SUB +/* +char str[80];//,str2[10]; + unsigned EMShandle; + byte err; + boolean errorflag=false; + int i; + union REGS CPURegs; + EMShandle=mm->EMShandle; + + for (i=0;i