/* * Fujitsu FM-7 series cassette handling */ #include "fm7_cas.h" #define WAVE_HIGH 0x5a9e #define WAVE_LOW -0x5a9e static int cas_size; static int fm7_fill_wave(INT16* buffer, UINT8 high, UINT8 low, int sample_pos) { UINT16 data = (high << 8) + low; int sample_count = 0; int x = 0; int count = (data & 0x7fff); if(data & 0x8000) { for(x=0;x