summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/s100/dg640.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-07-21 13:38:30 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-07-21 13:38:30 -0400
commitf53b9b5291c706dc89990b969e00c7a3cad4dfdd (patch)
tree4f107b705db43dbed258cfbdbf85462db29c8160 /src/devices/bus/s100/dg640.h
parent65054fc4f1681ca8b52fe7bde9559a2ffda91968 (diff)
dg640: Add base address select switch and screen raw parameters; improve documentation (nw)
Diffstat (limited to 'src/devices/bus/s100/dg640.h')
-rw-r--r--src/devices/bus/s100/dg640.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bus/s100/dg640.h b/src/devices/bus/s100/dg640.h
index 0ad7dc2e2b0..97d1a3ecbc3 100644
--- a/src/devices/bus/s100/dg640.h
+++ b/src/devices/bus/s100/dg640.h
@@ -22,6 +22,7 @@ public:
protected:
// device-level overrides
virtual void device_start() override;
+ virtual ioport_constructor device_input_ports() const override;
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
@@ -34,6 +35,7 @@ private:
// object finders
required_region_ptr<u8> m_p_chargen;
+ required_ioport m_dsw;
// internal state
std::unique_ptr<u8[]> m_p_videoram;
@@ -42,6 +44,6 @@ private:
};
-DECLARE_DEVICE_TYPE(S100_DG640, device_s100_card_interface)
+DECLARE_DEVICE_TYPE(S100_DG640, dg640_device)
#endif // MAME_BUS_S100_DG640_H