]> 4ch.mooo.com Git - 16.git/commitdiff
wwww
authorsparky4 <sparky4@cock.li>
Tue, 21 Jul 2015 22:53:24 +0000 (17:53 -0500)
committersparky4 <sparky4@cock.li>
Tue, 21 Jul 2015 22:53:24 +0000 (17:53 -0500)
modified:   DEBUG.TXT
modified:   MMDUMP.TXT
modified:   exmmtest.exe
modified:   src/exmmtest.c

DEBUG.TXT
MMDUMP.TXT
exmmtest.exe
src/exmmtest.c

index c72a4e780e197da9ca62704523660f7b5a828f03..c441f4a3f13403bb761402dce14c19c8ecad248d 100644 (file)
--- a/DEBUG.TXT
+++ b/DEBUG.TXT
@@ -1,3 +1,3 @@
-Seg:11c3       Size:811328     Owner:0xc918\r
-\r
-MM_ShowMemory: Memory block order currupted!\r
+Seg:5500       Size:968880     Owner:0x768b\r
+Seg:f000       Size:67072      Owner:0x1060\r
+Seg:38fe       Size:48 Owner:0x0\r
index 27e324d2b491cc9eac3d4c8a771241ea46327f16..8c695c1354791a45c4d1e4b77c7bca5863fe7f7b 100644 (file)
Binary files a/MMDUMP.TXT and b/MMDUMP.TXT differ
index 64ece4170e2510d135e90fdc85f123dadb85b12a..97d1437470ef9ad7e0a662859dc4dad86fb8c02d 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index ac19617b3c54157cd354dab178e514dab6cd4631..b1cd9468ad684add965a46498d15962de1392375 100644 (file)
@@ -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");