X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_tail.c;h=b2acec13763597edfd912d1461b82f605965490e;hb=989f287818c93cf9b1ff96c13e66720571210513;hp=47ef9b7b78207d90545db3c51d5d84043b386041;hpb=b23775e80d164c1277b528886f536e4950885459;p=16.git diff --git a/src/lib/16_tail.c b/src/lib/16_tail.c index 47ef9b7b..b2acec13 100755 --- a/src/lib/16_tail.c +++ b/src/lib/16_tail.c @@ -58,6 +58,14 @@ void Startup16(global_game_variables_t *gvar) printf("This program requires VGA or higher graphics hardware\n"); return; } + + if (_DEBUG_INIT() == 0) { +#ifdef DEBUGSERIAL + printf("WARNING: Failed to initialize DEBUG output\n"); +#endif + } + _DEBUG("Serial debug output started\n"); // NTS: All serial output must end messages with newline, or DOSBox-X will not emit text to log + _DEBUGF("Serial debug output printf test %u %u %u\n",1U,2U,3U); #endif gvar->mm.mmstarted=0; gvar->pm.PMStarted=0; @@ -66,6 +74,10 @@ void Startup16(global_game_variables_t *gvar) PM_Startup(gvar); PM_UnlockMainMem(gvar); CA_Startup(gvar); +#ifdef __WATCOMC__ + start_timer(gvar); + +#endif } @@ -143,8 +155,8 @@ void DebugMemory_(global_game_variables_t *gvar, boolean q) void Quit (char *error) { - unsigned finscreen; - memptr screen; + //unsigned finscreen; + memptr screen=0; union REGS in, out; //ClearMemory ();