]> 4ch.mooo.com Git - 16.git/commitdiff
hmmm unstable code everywhere\!
authorsparky4 <sparky4@lappy4.4ch.mooo.com>
Thu, 14 Sep 2017 23:06:59 +0000 (18:06 -0500)
committersparky4 <sparky4@lappy4.4ch.mooo.com>
Thu, 14 Sep 2017 23:06:59 +0000 (18:06 -0500)
i0fplay.exe [deleted file]
src/lib/16_sd.c
src/sdtest.c

diff --git a/i0fplay.exe b/i0fplay.exe
deleted file mode 100755 (executable)
index b6b4f9b..0000000
Binary files a/i0fplay.exe and /dev/null differ
index 76e78e68cdb280a789ae04e4a508a0cf57eac204..f09028382262294041d36ed2100f1e81f14facbc 100755 (executable)
@@ -1662,7 +1662,7 @@ SD_Startup(global_game_variables_t *gvar)
        if (SD_Started)\r
                return;\r
 #ifndef SD_USECATA3DSETTIMERSPEED\r
-       SDL_SetDS();\r
+//     SDL_SetDS();\r
 #endif\r
        ssIsTandy = false;\r
 //SS   ssNoCheck = false;\r
@@ -1709,7 +1709,7 @@ SD_Startup(global_game_variables_t *gvar)
 \r
        t0OldService = getvect(8);      // Get old timer 0 ISR\r
 #ifdef SD_USECATA3DSETTIMERSPEED\r
-       SDL_InitDelay();                        // SDL_InitDelay() uses t0OldService\r
+//++++ SDL_InitDelay();                        // SDL_InitDelay() uses t0OldService\r
 \r
        setvect(8,SDL_t0Service);       // Set to my timer 0 ISR\r
 #endif\r
@@ -1791,7 +1791,7 @@ SD_Startup(global_game_variables_t *gvar)
 //SB   if (SoundBlasterPresent)\r
 //SB           SDL_StartSB();\r
 \r
-       SDL_SetupDigi(gvar);\r
+//++++ SDL_SetupDigi(gvar);\r
 \r
        SD_Started = true;\r
 }\r
index fd26485354577cb3e50d2b30ed488e5b1b9aba8b..8511cac91ae8e221e9bbda73e208e8b796113e16 100755 (executable)
@@ -25,6 +25,8 @@
 void main()\r
 {\r
        /*static */global_game_variables_t gvar;\r
+       printf("start\n");\r
        SD_Startup(&gvar);\r
+       printf("shutdown\n");\r
        SD_Shutdown(&gvar);\r
 }\r