]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_sd.h
==== REPO AND DEBUG WORK==== I did many things to the repo and adding ability to...
[16.git] / src / lib / 16_sd.h
index 611982f5a767aef09c90f324b7d5f3b8595cb8c8..f91ec991f46a090f7148de497beaa704ee88c581 100755 (executable)
@@ -24,6 +24,7 @@
 #define __16_SD_H_\r
 \r
 #include "src/lib/16_head.h"\r
+#include "src/lib/16_tail.h"\r
 #include <hw/8254/8254.h>              /* 8254 timer */\r
 #include <hw/adlib/adlib.h>\r
 #include <hw/vga/vga.h>\r
@@ -51,6 +52,7 @@ typedef struct{
        byte Feedback;                  /* feedback algorithm and strength  */\r
 } FMInstrument;\r
 \r
+extern void interrupt  (*old_irq0)(void);\r
 \r
 void opl2out(word reg, word data);\r
 void opl3out(word reg, word data);\r
@@ -64,7 +66,7 @@ void FMSetVoice(int voiceNum, FMInstrument *ins);
 void SD_Initimf(global_game_variables_t *gvar);\r
 void SD_imf_free_music(global_game_variables_t *gvar);\r
 int SD_imf_load_music(const char *path, global_game_variables_t *gvar);\r
-//void interrupt irq0(global_game_variables_t *gvar);\r
+void interrupt irq0(void);\r
 void SD_imf_tick(global_game_variables_t *gvar);\r
 void SD_adlib_shut_up();\r
 \r