From: sparky4 Date: Thu, 2 Jul 2015 04:51:24 +0000 (-0500) Subject: ok i am seriously done for the day! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=6c0e7cd2b1474dd75f64559c3f637b4c3aeb3b92;p=16.git ok i am seriously done for the day! modified: exmmtest.exe modified: src/exmmtest.c --- diff --git a/exmmtest.exe b/exmmtest.exe index a5f376a9..138b13c0 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index 9000974a..d107e4c9 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -29,6 +29,7 @@ main(int argc, char *argv[]) { mminfo_t mm; mminfotype mmi; memptr bigbuffer; + __segment segu; mm.mmstarted=0; printf("start!\n"); MM_Startup(&mm, &mmi); @@ -36,7 +37,7 @@ main(int argc, char *argv[]) printf("&main()=%Fp\n", *argv[0]); MM_GetPtr(&bigbuffer, mmi.nearheap, &mm, &mmi); //hmm functions in cache system use the buffered stuff - printf("size of big buffer~=%ul\n", _msize(bigbuffer)); + printf("size of big buffer~=%ul\n", _bmsize(segu, bigbuffer)); MM_ShowMemory(&mm); MM_Report(&mm, &mmi); printf("stop!\n");