2 NEC PC-6001 Emulator 'yaPC-6001'
3 NEC PC-6001mkII Emulator 'yaPC-6201'
4 NEC PC-6001mkIISR Emulator 'yaPC-6401'
5 NEC PC-6601 Emulator 'yaPC-6601'
6 NEC PC-6601SR Emulator 'yaPC-6801'
18 #include "../../emu.h"
19 #include "../device.h"
23 class PSUB : public DEVICE
26 DEVICE *d_pio, *d_timer;
30 bool play, rec, is_wav, is_p6t;
31 _TCHAR rec_file_path[_MAX_PATH];
36 int CasBaud, FileBaud;
37 uint8 CasData[0x10000];
51 void update_keyboard();
54 PSUB(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
61 void write_io8(uint32 addr, uint32 data);
62 uint32 read_io8(uint32 addr);
64 void event_callback(int event_id, int err);
66 void save_state(FILEIO* state_fio);
67 bool load_state(FILEIO* state_fio);
70 void set_context_pio(DEVICE* device)
74 void set_context_timer(DEVICE* device)
78 bool play_tape(const _TCHAR* file_path);
79 bool rec_tape(const _TCHAR* file_path);