]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_sd.h
ls *.SMP wsample xcroll.exe == EXPLOSION! ... odd...
[16.git] / src / lib / 16_sd.h
index a2cb96c4e3740cacf9512fdc1df0e751b0130d84..a9711b70f668c7610e0f0a74a71eeb70871759b6 100755 (executable)
@@ -26,6 +26,9 @@
 #include "src/lib/16_head.h"\r
 #include <hw/8254/8254.h>              /* 8254 timer */\r
 #include <hw/adlib/adlib.h>\r
+#include <hw/vga/vga.h>\r
+#include <hw/dos/dos.h>\r
+#include <hw/8259/8259.h>\r
 \r
 #define MIN_REGISTER                   0x01\r
 #define MAX_REGISTER                   0xF5\r
@@ -48,6 +51,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
@@ -58,4 +62,11 @@ void FMKeyOff(int voice);
 void FMKeyOn(int voice, int freq, int octave);\r
 void FMSetVoice(int voiceNum, FMInstrument *ins);\r
 \r
+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(void);\r
+void SD_imf_tick(global_game_variables_t *gvar);\r
+void SD_adlib_shut_up();\r
+\r
 #endif /*__16_SND_H_*/\r