2 NEC TK-80BS (COMPO BS/80) Emulator 'eTK-80BS'
\r
4 Author : Takeda.Toshiya
\r
14 #include "../../emu.h"
\r
15 #include "../device.h"
\r
17 #define SIG_CMT_OUT 0
\r
20 #define BUFFER_SIZE 0x40000
\r
22 class CMT : public DEVICE
\r
29 uint8 buffer[BUFFER_SIZE];
\r
32 void release_tape();
\r
35 CMT(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
\r
42 void write_signal(int id, uint32 data, uint32 mask);
\r
45 void play_tape(_TCHAR* file_path);
\r
46 void rec_tape(_TCHAR* file_path);
\r
48 bool tape_inserted()
\r
50 return (play || rec);
\r
52 void set_context_sio(DEVICE* device)
\r