summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hmcs40/hmcs40.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hmcs40/hmcs40.h')
-rw-r--r--src/devices/cpu/hmcs40/hmcs40.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/hmcs40/hmcs40.h b/src/devices/cpu/hmcs40/hmcs40.h
index 830f5c458ba..c91b2a99102 100644
--- a/src/devices/cpu/hmcs40/hmcs40.h
+++ b/src/devices/cpu/hmcs40/hmcs40.h
@@ -127,10 +127,6 @@ public:
template <class Object> static devcb_base &set_read_d_callback(device_t &device, Object &&cb) { return downcast<hmcs40_cpu_device &>(device).m_read_d.set_callback(std::forward<Object>(cb)); }
template <class Object> static devcb_base &set_write_d_callback(device_t &device, Object &&cb) { return downcast<hmcs40_cpu_device &>(device).m_write_d.set_callback(std::forward<Object>(cb)); }
- void data_160x4(address_map &map);
- void data_80x4(address_map &map);
- void program_1k(address_map &map);
- void program_2k(address_map &map);
protected:
enum
{
@@ -165,6 +161,12 @@ protected:
virtual util::disasm_interface *create_disassembler() override;
virtual void state_string_export(const device_state_entry &entry, std::string &str) const override;
+ // memorymaps
+ void program_1k(address_map &map);
+ void program_2k(address_map &map);
+ void data_160x4(address_map &map);
+ void data_80x4(address_map &map);
+
address_space_config m_program_config;
address_space_config m_data_config;
address_space *m_program;