From: sparky4 Date: Fri, 31 Jul 2015 20:08:50 +0000 (-0500) Subject: wwww WHAT!?! WWWW X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=f7d4708784bcfac49b37a1648e06e24b56063e7e;hp=d015e5cb7cc4d7f923a2e67bb1e3602c44ded05c;p=16.git wwww WHAT!?! WWWW deleted: DEBUG.16 deleted: MMDUMP.16 deleted: PROFILE.16 modified: exmmtest.exe modified: src/exmmtest.c modified: src/lib/16_mm.c --- diff --git a/DEBUG.16 b/DEBUG.16 deleted file mode 100644 index 782a334a..00000000 --- a/DEBUG.16 +++ /dev/null @@ -1,6 +0,0 @@ -Seg:0 Size:5202 Owner:0xfa -Seg:1452 Size:256 Owner:0x64d2 -Seg:1552 Size:48 Owner:0x922a -Seg:1af4 Size:18 Owner:0x2bfe -Seg:1eea Size:49430 Owner:0xff01 -Seg:e000 Size:4294909951 Owner:0x64d2 diff --git a/MMDUMP.16 b/MMDUMP.16 deleted file mode 100644 index 93afd41d..00000000 Binary files a/MMDUMP.16 and /dev/null differ diff --git a/PROFILE.16 b/PROFILE.16 deleted file mode 100644 index e69de29b..00000000 diff --git a/exmmtest.exe b/exmmtest.exe index 6ae752a6..6d8abd28 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index 22397daa..00c7a3c8 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -36,7 +36,7 @@ //file load or read definition #define FILERL -//#define FILEREAD +#define FILEREAD void main(int argc, char *argv[]) diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 3aecccb5..9486e2e5 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -708,6 +708,8 @@ void MM_Startup(mminfo_t *mm, mminfotype *mmi) getch(); +//goto xmsskip; + // // detect EMS and allocate up to 64K at page frame // @@ -752,7 +754,7 @@ 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 { 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_SetupXMS(mm, mmi); // allocate as many UMBs as possible } // @@ -884,6 +886,8 @@ void MM_GetPtr(memptr *baseptr,dword size, mminfo_t *mm, mminfotype *mmi) if (mm->bombonerror) { printf(OUT_OF_MEM_MSG,(size-mmi->nearheap)); + printf("for stability reasons the program will shut down! wwww\n"); + MM_Shutdown(mm); exit(-1); } else