diff options
author | 2017-06-07 18:58:48 +0200 | |
---|---|---|
committer | 2017-06-07 18:58:48 +0200 | |
commit | fd1bb20b1b81daeb7ab925fb4f9e82161e2f2e4c (patch) | |
tree | abe9b9828baaa83d87cbd8c8b434cc174648b8b5 /src/devices/bus/c64/ieee488.h | |
parent | 7b2e155728f7725a0c62d9abb2b31be5a00eea91 (diff) |
some more device_add_mconfig in devices/bus (nw)
Diffstat (limited to 'src/devices/bus/c64/ieee488.h')
-rw-r--r-- | src/devices/bus/c64/ieee488.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/devices/bus/c64/ieee488.h b/src/devices/bus/c64/ieee488.h index 92a7de1f9f1..185a2623317 100644 --- a/src/devices/bus/c64/ieee488.h +++ b/src/devices/bus/c64/ieee488.h @@ -30,26 +30,25 @@ public: // construction/destruction c64_ieee488_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - // optional information overrides - virtual machine_config_constructor device_mconfig_additions() const override; - - // not really public - DECLARE_READ8_MEMBER( tpi_pa_r ); - DECLARE_WRITE8_MEMBER( tpi_pa_w ); - DECLARE_READ8_MEMBER( tpi_pc_r ); - DECLARE_WRITE8_MEMBER( tpi_pc_w ); - protected: // device-level overrides virtual void device_start() override; virtual void device_reset() override; + // optional information overrides + virtual void device_add_mconfig(machine_config &config) override; + // device_c64_expansion_card_interface overrides virtual uint8_t c64_cd_r(address_space &space, offs_t offset, uint8_t data, int sphi2, int ba, int roml, int romh, int io1, int io2) override; virtual void c64_cd_w(address_space &space, offs_t offset, uint8_t data, int sphi2, int ba, int roml, int romh, int io1, int io2) override; virtual int c64_game_r(offs_t offset, int sphi2, int ba, int rw) override; private: + DECLARE_READ8_MEMBER( tpi_pa_r ); + DECLARE_WRITE8_MEMBER( tpi_pa_w ); + DECLARE_READ8_MEMBER( tpi_pc_r ); + DECLARE_WRITE8_MEMBER( tpi_pc_w ); + required_device<tpi6525_device> m_tpi; required_device<ieee488_device> m_bus; required_device<c64_expansion_slot_device> m_exp; |