X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Fexmmtest.c;h=11cdf7cfe77fb17f4422ddf193c3bf7acc9a26ff;hp=c4fcebdfb81406a0b71907fbcde3398af1dccd9d;hb=c8d0f894b450f6dc3b80fbe28fedff4d424ce294;hpb=e6a3783f754943844abac31b5b6ca3d424741173 diff --git a/src/exmmtest.c b/src/exmmtest.c index c4fcebdf..11cdf7cf 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -48,7 +48,7 @@ #define BBUFNAME gvar.ca.tinf[0]//bigbuffer //#define INITBBUF static memptr BBUFNAME; -#define BBUFPTR &BBUFNAME +#define BBUFPTR (memptr *)&BBUFNAME #ifdef __BORLANDC__ #define BBUF (memptr *)BBUFPTR// @@ -59,6 +59,7 @@ #define BBUFSTRING BBUF #endif +//////////////////////////////////////////////////////////////////////////// void VGAmodeX(sword vq, boolean cmem, global_game_variables_t *gv) { @@ -221,7 +222,14 @@ PRINTBB; printf("\n\npress any key to continue!\n"); getch(); printf("press any key to continue!\n"); getch(); #endif #endif //filereadload - //getch(); ShapeTest (&gvar); + + +#ifdef __WATCOMC__ + IN_Startup(&gvar); + ShapeTest (&gvar); + IN_Shutdown(&gvar); +#endif + DebugMemory_(&gvar, 1); MM_DumpData(&gvar); @@ -287,7 +295,7 @@ PRINTBB; printf("\n\npress any key to continue!\n"); getch(); printf("debugmm: %u\t", dbg_debugmm); #endif #ifdef __DEBUG_PM__ - printf("debugpm: %u", dbg_ddebugpm); + printf("debugpm: %u", dbg_debugpm); #endif printf("\n"); #endif