]> 4ch.mooo.com Git - 16.git/commitdiff
new files ^^
authorsparky4 <sparky4@cock.li>
Sun, 19 Jul 2015 21:16:41 +0000 (16:16 -0500)
committersparky4 <sparky4@cock.li>
Sun, 19 Jul 2015 21:16:41 +0000 (16:16 -0500)
new file:   DEBUG.TXT
new file:   MMDUMP.TXT
modified:   exmmtest.exe
modified:   src/lib/16_mm.c

DEBUG.TXT [new file with mode: 0644]
MMDUMP.TXT [new file with mode: 0644]
exmmtest.exe
src/lib/16_mm.c

diff --git a/DEBUG.TXT b/DEBUG.TXT
new file mode 100644 (file)
index 0000000..129128d
--- /dev/null
+++ b/DEBUG.TXT
@@ -0,0 +1,6 @@
+Seg:0  Size:176768     Owner:0x2f84\r
+Seg:2b28       Size:4096       Owner:0xfb22\r
+Seg:2c28       Size:31344      Owner:0x1c58\r
+Seg:3957       Size:990512     Owner:0xe686\r
+Seg:3939       Size:683120     Owner:0xc00b\r
+Seg:e000       Size:131056     Owner:0x168b\r
diff --git a/MMDUMP.TXT b/MMDUMP.TXT
new file mode 100644 (file)
index 0000000..43a7689
Binary files /dev/null and b/MMDUMP.TXT differ
index 6c22b425af13de08221c4c8ce440bbf00a8eb2d3..29eff251352e5daf2e2f2b84f2573189e137c831 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 0eb0132f446bc051e4ddbfde3f28046b1949a6b0..524d7ae53892768a0012249766823faea0c689c2 100644 (file)
@@ -666,14 +666,15 @@ void MM_Startup(mminfo_t *mm, mminfotype *mmi)
        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("EMS1\n");
+printf("EMS1\n");
                MML_SetupEMS(mm);                                       // allocate space
+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!
                //TODO: EMS4! AND EMS 3.2 MASSIVE DATA HANDLMENT!
                MML_UseSpace(mm->EMSpageframe,(MAPPAGES)*0x4000lu, mm);
-//printf("EMS3\n");
+printf("EMS3\n");
                MM_MapEMS(mm);                                  // map in used pages
-//printf("EMS4\n");
+printf("EMS4\n");
                mmi->EMSmem = (MAPPAGES)*0x4000lu;
        }
 
@@ -1087,7 +1088,7 @@ void MM_ShowMemory(page_t *page, mminfo_t *mm)
 
        end = -1;
 
-//CA_OpenDebug ();
+CA_OpenDebug ();
 
        chx=0;
        chy=0;
@@ -1132,16 +1133,16 @@ owner = (unsigned)scan->useptr;
 ultoa (owner,str,16);
 strcat (scratch,str);
 strcat (scratch,"\n");
-//write(debughandle,scratch,strlen(scratch));
+write(debughandle,scratch,strlen(scratch));
 //modexprint(page, chx, chy, 1, 0, 24, &scratch);
 //chy+=4;
-fprintf(stdout, "%s", scratch);
+//fprintf(stdout, "%s", scratch);
 //****#endif
 
                scan = scan->next;
        }
 
-//CA_CloseDebug ();
+CA_CloseDebug ();
 
 //++++mh       IN_Ack();
 //**** VW_SetLineWidth(64);