From: sparky4 Date: Thu, 14 Sep 2017 23:06:59 +0000 (-0500) Subject: hmmm unstable code everywhere\! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=df988f1a24b63051a4aea9a3766050babfea755f;p=16.git hmmm unstable code everywhere\! --- diff --git a/i0fplay.exe b/i0fplay.exe deleted file mode 100755 index b6b4f9b4..00000000 Binary files a/i0fplay.exe and /dev/null differ diff --git a/src/lib/16_sd.c b/src/lib/16_sd.c index 76e78e68..f0902838 100755 --- a/src/lib/16_sd.c +++ b/src/lib/16_sd.c @@ -1662,7 +1662,7 @@ SD_Startup(global_game_variables_t *gvar) if (SD_Started) return; #ifndef SD_USECATA3DSETTIMERSPEED - SDL_SetDS(); +// SDL_SetDS(); #endif ssIsTandy = false; //SS ssNoCheck = false; @@ -1709,7 +1709,7 @@ SD_Startup(global_game_variables_t *gvar) t0OldService = getvect(8); // Get old timer 0 ISR #ifdef SD_USECATA3DSETTIMERSPEED - SDL_InitDelay(); // SDL_InitDelay() uses t0OldService +//++++ SDL_InitDelay(); // SDL_InitDelay() uses t0OldService setvect(8,SDL_t0Service); // Set to my timer 0 ISR #endif @@ -1791,7 +1791,7 @@ SD_Startup(global_game_variables_t *gvar) //SB if (SoundBlasterPresent) //SB SDL_StartSB(); - SDL_SetupDigi(gvar); +//++++ SDL_SetupDigi(gvar); SD_Started = true; } diff --git a/src/sdtest.c b/src/sdtest.c index fd264853..8511cac9 100755 --- a/src/sdtest.c +++ b/src/sdtest.c @@ -25,6 +25,8 @@ void main() { /*static */global_game_variables_t gvar; + printf("start\n"); SD_Startup(&gvar); + printf("shutdown\n"); SD_Shutdown(&gvar); }