summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/electron/rombox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/electron/rombox.h')
-rw-r--r--src/devices/bus/electron/rombox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/bus/electron/rombox.h b/src/devices/bus/electron/rombox.h
index 694f8d0d17d..045db388838 100644
--- a/src/devices/bus/electron/rombox.h
+++ b/src/devices/bus/electron/rombox.h
@@ -35,6 +35,9 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual ioport_constructor device_input_ports() const override;
+ virtual uint8_t expbus_r(address_space &space, offs_t offset, uint8_t data) override;
+ virtual void expbus_w(address_space &space, offs_t offset, uint8_t data) override;
+
private:
image_init_result load_rom(device_image_interface &image, generic_slot_device *slot);
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(rom1_load) { return load_rom(image, m_rom[0]); }
@@ -46,8 +49,12 @@ private:
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(rom7_load) { return load_rom(image, m_rom[6]); }
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(rom8_load) { return load_rom(image, m_rom[7]); }
+ required_device<electron_expansion_slot_device> m_exp;
required_device_array<generic_slot_device, 8> m_rom;
required_ioport m_option;
+
+ uint8_t m_romsel;
+ uint8_t m_rom_base;
};