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_KEYBOARD_COLUMN 0
21 class KEYBOARD : public DEVICE
24 DEVICE *d_pio_i, *d_pio; // i8255, z80pio
27 const uint8* key_stat;
30 void create_keystat();
33 KEYBOARD(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
38 void write_signal(int id, uint32 data, uint32 mask);
40 void save_state(FILEIO* state_fio);
41 bool load_state(FILEIO* state_fio);
44 void set_context_pio_i(DEVICE* device)
48 void set_context_pio(DEVICE* device)