X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fexmmtest.c;h=fc4eb11d61660c75a2d99dc86e7ebe282a03dc68;hb=704ec571885c6255ead65280428ad72510cfe218;hp=6d6e9a8566c1ae30d6ffa5b4674a2d0622e05cf1;hpb=b3e3a0878d3bbb4701207914aa4f41817589772e;p=16.git diff --git a/src/exmmtest.c b/src/exmmtest.c index 6d6e9a85..fc4eb11d 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -28,7 +28,7 @@ #include "src/lib/16_ca.h" #include "src/lib/16_mm.h" #include "src/lib/16_hc.h" -//#include "src/lib/modex16.h" +//#include "src/lib/16_vl.h" #pragma hdrstop #pragma warn -pro @@ -69,9 +69,9 @@ main(int argc, char *argv[]) { byte w=1; static global_game_variables_t gvar; -#ifdef __WATCOMC__ - __segment sega; -#endif +//#ifdef __WATCOMC__ +// __segment sega; +//#endif memptr bigbuffer; //static byte bakapee[64]; @@ -133,9 +133,9 @@ for(w=0;w<2;w++) } // close(bakapeehandle); //hmm functions in cache system use the buffered stuff -#ifdef __WATCOMC__ - printf("\nsize of big buffer~=%u\n", _bmsize(sega, bigbuffer)); -#endif +//#ifdef __WATCOMC__ +// printf("\nsize of big buffer~=%u\n", _bmsize(sega, bigbuffer)); +//#endif printf("contents of the buffer\n[\n%s\n]\n", bigbuffer); //printf("dark purple = purgable\n"); @@ -177,12 +177,12 @@ for(w=0;w<2;w++) printf("&bigb=%Fp ", &bigbuffer); //printf("&bigb=%04x", &bigbuffer); printf("\n"); -#endif printf("========================================\n"); +#endif #ifdef __WATCOMC__ //this is far printf("Total free: %lu\n", (dword)(GetFreeSize())); - printf("Total near free: %lu\n", (dword)(GetNearFreeSize())); - printf("Total far free: %lu\n", (dword)(GetFarFreeSize())); + printf("Total near free: %lub\n", (dword)(GetNearFreeSize())); + printf("Total far free: %lub\n", (dword)(GetFarFreeSize())); heapdump(&gvar); segatesuto(); #endif