+++ /dev/null
-Seg:0 Size:6972 Owner:0x19c6\r
-Seg:1b3c Size:256 Owner:0x6484\r
-Seg:21c4 Size:34 Owner:0x19ce\r
-Seg:239b Size:44134 Owner:0x19c2\r
-Seg:d022 Size:4294967263 Owner:0xf11\r
-Seg:d022 Size:4294967263 Owner:0xf11\r
-Seg:d022 Size:4294967263 Owner:0xf14\r
-Seg:d022 Size:4294967263 Owner:0xc514\r
-Seg:d022 Size:4294967263 Owner:0x19c2\r
-Seg:d022 Size:4294967263 Owner:0xc618\r
-Seg:d022 Size:4294967263 Owner:0x1819\r
-Seg:d022 Size:4294967263 Owner:0x1114\r
-Seg:d022 Size:4294967263 Owner:0xf11\r
-Seg:d022 Size:4294967263 Owner:0xf11\r
-Seg:d022 Size:419 Owner:0xf11\r
-Seg:e000 Size:4294909951 Owner:0x1114\r
BAKAPIFLAGS=-fh=bakapi.hed
SFLAGS=-sg -st -of+ -k32768#51200#49152#24576
DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
-ZFLAGS=-zk0 -zq -zu# -zm# -zc# -zdp# -zp16
+ZFLAGS=-zk0 -zq -zu -zc -zm# -zdp# -zp16
CFLAGS=-mc -lr -l=dos -wo -x## -d2
OFLAGS=-obmiler -out -oh -ei -zp8 -0 -fpi87 -onac -ol+ -ok####x
FLAGS=$(OFLAGS) $(CFLAGS) $(DFLAGS) $(ZFLAGS)
//
// detect EMS and allocate up to 64K at page frame
//
-printf(" EMS1\n");
-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!
+//printf(" EMS1\n");
+//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!
mmi->EMSmem = 0;
for(i = 1;i < __argc;i++)
{
if(US_CheckParm(__argv[i],ParmStringsexmm) == 0)
goto emsskip; // param NOEMS
}
-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!
+//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!
if(MML_CheckForEMS())
{
-printf(" EMS2\n");
-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!
+//printf(" EMS2\n");
+//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!
MML_SetupEMS(mm); // allocate space
-printf(" EMS3\n");
-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!
+//printf(" EMS3\n");
+//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,(MAPPAGES)*0x4000lu, mm);
-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!
-printf(" EMS4\n");
+//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!
+//printf(" EMS4\n");
//if(mm->EMSVer<0x40)
MM_MapEMS(mm, mmi); // map in used pages
//else
//MM_MapXEMS(mm, mmi); // map in used pages
}
+mmi->XMSmem=0;
goto xmsskip;
//
if(US_CheckParm(__argv[i],ParmStringsexmm) == 0)
goto xmsskip; // param NOXMS
}
-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!
+//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!
if(MML_CheckForXMS(mm))
{
-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!
-printf(" XMS!\n");
+//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!
+//printf(" XMS!\n");
MML_SetupXMS(mm, mmi); // allocate as many UMBs as possible
}
MML_ClearBlock(mm);
mm->mmnew=mm->mmfree;
mm->mmfree=mm->mmfree->next;
- /*if(!(mm->mmnew=mm->mmfree))
+ if(!(mm->mmnew=mm->mmfree))
{
- printf("MM_GETNEWBLOCK: No free blocks!");
+ printf("MM_GETNEWBLOCK: No free blocks!\n");
return;
}
- mm->mmfree=mm->mmfree->next;*/
+ mm->mmfree=mm->mmfree->next;
}
void MM_FreeBlock(mmblocktype *x, mminfo_t *mm)