From: sparky4 Date: Tue, 21 Jul 2015 22:53:24 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=7ae2feae3fb2624b0d47d6aa4dac289960aa8e77;p=16.git wwww modified: DEBUG.TXT modified: MMDUMP.TXT modified: exmmtest.exe modified: src/exmmtest.c --- diff --git a/DEBUG.TXT b/DEBUG.TXT index c72a4e78..c441f4a3 100644 --- a/DEBUG.TXT +++ b/DEBUG.TXT @@ -1,3 +1,3 @@ -Seg:11c3 Size:811328 Owner:0xc918 - -MM_ShowMemory: Memory block order currupted! +Seg:5500 Size:968880 Owner:0x768b +Seg:f000 Size:67072 Owner:0x1060 +Seg:38fe Size:48 Owner:0x0 diff --git a/MMDUMP.TXT b/MMDUMP.TXT index 27e324d2..8c695c13 100644 Binary files a/MMDUMP.TXT and b/MMDUMP.TXT differ diff --git a/exmmtest.exe b/exmmtest.exe index 64ece417..97d14374 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index ac19617b..b1cd9468 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -34,14 +34,16 @@ main(int argc, char *argv[]) { static mminfo_t mm; mminfotype mmi; static memptr bigbuffer; - static __segment segu; + __segment segu; static char *bakapee; static word baka; page_t screen; printf("&main()=%Fp\n", *argv[0]); + printf("&argc=%Fp\n", FP_SEG(&argc)); + printf("&segu=%Fp\n", segu); - bakapee = malloc(64); + bakapee = _nmalloc(64); // memset(bakapee, 0, 64); mm.mmstarted=0; @@ -68,6 +70,8 @@ main(int argc, char *argv[]) exit(-5); }*/ printf("&main()=%Fp\n", *argv[0]); + printf("&argc=%Fp\n", FP_SEG(&argc)); + printf("&segu=%Fp\n", segu); #ifdef FILERL #ifdef FILEINIT printf(" read\n");