From: sparky4 Date: Sun, 19 Jul 2015 21:16:41 +0000 (-0500) Subject: new files ^^ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=b74047609032f3e2c97d7afca3c63177005c5366;p=16.git new files ^^ new file: DEBUG.TXT new file: MMDUMP.TXT modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/DEBUG.TXT b/DEBUG.TXT new file mode 100644 index 00000000..129128d9 --- /dev/null +++ b/DEBUG.TXT @@ -0,0 +1,6 @@ +Seg:0 Size:176768 Owner:0x2f84 +Seg:2b28 Size:4096 Owner:0xfb22 +Seg:2c28 Size:31344 Owner:0x1c58 +Seg:3957 Size:990512 Owner:0xe686 +Seg:3939 Size:683120 Owner:0xc00b +Seg:e000 Size:131056 Owner:0x168b diff --git a/MMDUMP.TXT b/MMDUMP.TXT new file mode 100644 index 00000000..43a7689d Binary files /dev/null and b/MMDUMP.TXT differ diff --git a/exmmtest.exe b/exmmtest.exe index 6c22b425..29eff251 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 0eb0132f..524d7ae5 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -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);