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
41 bool now_play, now_rewind;
46 int register_id_eject;
60 CMT(VM_TEMPLATE* parent_vm, EMU_TEMPLATE* parent_emu) : DEVICE(parent_vm, parent_emu)
62 set_device_name(_T("CMT I/F"));
69 void __FASTCALL write_signal(int id, uint32_t data, uint32_t mask);
70 void __FASTCALL event_callback(int event_id, int err);
71 bool process_state(FILEIO* state_fio, bool loading);
74 void set_context_pio(DEVICE* device)
78 void set_context_drec(DATAREC* device)
82 void play_tape(bool value);
83 void rec_tape(bool value);