2 EPSON HC-40 Emulator 'eHC-40'
4 Author : Takeda.Toshiya
14 #include "../../emu.h"
15 #include "../device.h"
17 class MEMORY : public DEVICE
23 uint8_t basic[0x8000];
32 void set_bank(uint32_t val);
35 MEMORY(VM_TEMPLATE* parent_vm, EMU* parent_emu) : DEVICE(parent_vm, parent_emu)
37 set_device_name(_T("Memory Bus"));
45 void write_data8(uint32_t addr, uint32_t data);
46 uint32_t read_data8(uint32_t addr);
47 void write_signal(int id, uint32_t data, uint32_t mask);
49 void save_state(FILEIO* state_fio);
50 bool load_state(FILEIO* state_fio);