From: sparky4 Date: Thu, 2 Jul 2015 18:32:34 +0000 (-0500) Subject: ok it works!! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=acf89cf697dcc9a29a85a0a2a3e6a2ce23dc8c93;p=16.git ok it works!! Signed-off-by: sparky4 --- diff --git a/exmmtest.exe b/exmmtest.exe index 7f37c5ae..f867f149 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index 532b43c9..dd276c57 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -32,6 +32,7 @@ main(int argc, char *argv[]) memptr bigbuffer; __segment segu; char *bakapee; + word baka; bakapee = malloc(64); // memset(bakapee, 0, 64); @@ -44,7 +45,8 @@ main(int argc, char *argv[]) MM_Startup(&mm, &mmi); printf("done!\n"); printf("&main()=%Fp\n", *argv[0]); - if(CA_LoadFile(bakapee, &bigbuffer, &mm, &mmi)) printf("\nyay!\n"); + if(CA_LoadFile(bakapee, &bigbuffer, &mm, &mmi)) baka=1; + else baka=0; //MM_GetPtr(&bigbuffer, mmi.nearheap, &mm, &mmi); //hmm functions in cache system use the buffered stuff printf("size of big buffer~=%ul\n", _bmsize(segu, bigbuffer)); @@ -55,4 +57,6 @@ main(int argc, char *argv[]) MM_Shutdown(&mm); printf("done!\n"); free(bakapee); + if(baka) printf("\nyay!\n"); + else printf("\npoo!\n"); }