2 Systems Formulate BUBCOM80 Emulator 'eBUBCOM80'
4 Author : Takeda.Toshiya
14 #include "../../emu.h"
15 #include "../device.h"
18 #define SIG_CMT_REMOTE 0
22 #define BUFFER_SIZE 0x40000
24 class CMT : public DEVICE
30 bool play, rec, remote;
31 _TCHAR rec_file_path[_MAX_PATH];
33 uint8_t buffer[BUFFER_SIZE];
38 CMT(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
40 set_device_name(_T("CMT I/F"));
48 void write_signal(int id, uint32_t data, uint32_t mask);
49 bool process_state(FILEIO* state_fio, bool loading);
52 void play_tape(const _TCHAR* file_path);
53 void rec_tape(const _TCHAR* file_path);
55 bool is_tape_inserted()
59 void set_context_sio(DEVICE* device)