2 FUJITSU FMR-30 Emulator 'eFMR-30'
4 Author : Takeda.Toshiya
14 #include "../../emu.h"
15 #include "../device.h"
17 #define SIG_TIMER_CH0 0
18 #define SIG_TIMER_CH1 1
20 class TIMER : public DEVICE
29 TIMER(VM* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu) {}
34 void write_io8(uint32 addr, uint32 data);
35 uint32 read_io8(uint32 addr);
36 void write_signal(int id, uint32 data, uint32 mask);
37 void save_state(FILEIO* state_fio);
38 bool load_state(FILEIO* state_fio);
41 void set_context_pic(DEVICE* device)