X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fexmmtest.c;h=0c0346f1f36af0a90660efc5aab98ac9b106e3d5;hb=478f33ccda78380f282de0b6da4b59803c7a7b58;hp=479185cf54ac24748c98a09bae643eabee61d4e9;hpb=96ddbb82a64a4cd928ed43b6b9314ba156d79ba0;p=16.git diff --git a/src/exmmtest.c b/src/exmmtest.c old mode 100644 new mode 100755 index 479185cf..0c0346f1 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -39,10 +39,11 @@ #define FILERL //#define FILEREAD +global_game_variables_t gvar; + void main(int argc, char *argv[]) { - global_game_variables_t gvar; mminfo_t mm; mminfotype mmi; #ifdef __WATCOMC__ __segment sega; @@ -119,6 +120,9 @@ main(int argc, char *argv[]) printf("size of big buffer~=%u\n", _bmsize(sega, bigbuffer)); #endif #endif + printf("press any key to continue!\n"); + getch(); + printf("[\n%s\n]\n", bigbuffer); //printf("dark purple = purgable\n"); //printf("medium blue = non purgable\n"); //printf("red = locked\n"); @@ -163,6 +167,8 @@ main(int argc, char *argv[]) printf("Total near free: %lu\n", (dword)(GetNearFreeSize())); printf("Total far free: %lu\n", (dword)(GetFarFreeSize())); heapdump(&gvar); + printf("Project 16 emmtest.exe. This is just a test file!\n"); + printf("version %s\n", VERSION); #endif //printf("core left: %lu\n", (dword)_coreleft()); //printf("far core left: %lu\n", (dword)_farcoreleft());