2 SHARP MZ-80B Emulator 'EmuZ-80B'
3 SHARP MZ-2200 Emulator 'EmuZ-2200'
4 SHARP MZ-2500 Emulator 'EmuZ-2500'
6 Author : Takeda.Toshiya
16 #include "../../emu.h"
17 #include "../device.h"
19 #define SIG_CMT_PIO_PA 0
20 #define SIG_CMT_PIO_PC 1
22 #define SIG_CMT_REMOTE 3
30 class CMT : public DEVICE
38 bool now_play, now_rewind;
43 int register_id_eject;
57 CMT(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
59 set_device_name(_T("CMT I/F"));
66 void write_signal(int id, uint32_t data, uint32_t mask);
67 void event_callback(int event_id, int err);
68 bool process_state(FILEIO* state_fio, bool loading);
71 void set_context_pio(DEVICE* device)
75 void set_context_drec(DATAREC* device)
79 void play_tape(bool value);
80 void rec_tape(bool value);