X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_sd.h;h=858ed74cfd40dc252c0e12457f53266df0d70f74;hb=68ed07e129d9504e398bc771082352ee0f591d85;hp=f91ec991f46a090f7148de497beaa704ee88c581;hpb=033a884c3a161367f6820dbcc959111403ecd497;p=16.git diff --git a/src/lib/16_sd.h b/src/lib/16_sd.h index f91ec991..858ed74c 100755 --- a/src/lib/16_sd.h +++ b/src/lib/16_sd.h @@ -31,6 +31,8 @@ #include #include +#define SD_USESCAMMPM + #define MIN_REGISTER 0x01 #define MAX_REGISTER 0xF5 #define ADLIB_FM_ADDRESS 0x388 /* adlib address/status register */ @@ -52,8 +54,6 @@ typedef struct{ byte Feedback; /* feedback algorithm and strength */ } FMInstrument; -extern void interrupt (*old_irq0)(void); - void opl2out(word reg, word data); void opl3out(word reg, word data); void opl3exp(word data); @@ -64,9 +64,12 @@ void FMKeyOn(int voice, int freq, int octave); void FMSetVoice(int voiceNum, FMInstrument *ins); void SD_Initimf(global_game_variables_t *gvar); +void SD_imf_reset_music(global_game_variables_t *gvar); +void SD_StartupTimer(global_game_variables_t *gvar), + SD_ShutdownTimer(); void SD_imf_free_music(global_game_variables_t *gvar); int SD_imf_load_music(const char *path, global_game_variables_t *gvar); -void interrupt irq0(void); +void interrupt SD_irq0(void); void SD_imf_tick(global_game_variables_t *gvar); void SD_adlib_shut_up();