From: sparky4 Date: Mon, 6 Jul 2015 17:40:31 +0000 (-0500) Subject: modified: exmmtest.exe X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=2ba0f23dca188caa266df611c657d054ca285199;p=16.git modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/exmmtest.exe b/exmmtest.exe index 213fa3cc..6b6eb029 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 f03d56a1..cc8f9284 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -634,11 +634,11 @@ void MM_Startup(mminfo_t *mm, mminfotype *mmi) MML_SetupEMS(mm); // allocate space printf("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"); //bug! //TODO: EMS4! AND EMS 3.2 MASSIVE DATA HANDLMENT! - MML_UseSpace(mm->EMSpageframe,(/*++++mm->EMSpagesmapped++++*/4)*0x4000lu, mm); + MML_UseSpace(mm->EMSpageframe,(mm->EMSpagesmapped)*0x4000lu, mm); //printf("EMS3\n"); MM_MapEMS(mm); // map in used pages //printf("EMS4\n"); - mmi->EMSmem = (/*++++mm->EMSpagesmapped++++*/4)*0x4000lu; + mmi->EMSmem = (mm->EMSpagesmapped)*0x4000lu; } // @@ -655,7 +655,7 @@ emsskip: if(MML_CheckForXMS(mm)) { printf("XMS!\n"); - //++++++++MML_SetupXMS(mm, mmi); // allocate as many UMBs as possible + MML_SetupXMS(mm, mmi); // allocate as many UMBs as possible } //