diff options
Diffstat (limited to 'src/devices/bus/adamnet/fdc.h')
-rw-r--r-- | src/devices/bus/adamnet/fdc.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/adamnet/fdc.h b/src/devices/bus/adamnet/fdc.h index 05d4ceb0a82..80e54ac39d6 100644 --- a/src/devices/bus/adamnet/fdc.h +++ b/src/devices/bus/adamnet/fdc.h @@ -31,15 +31,6 @@ public: // construction/destruction adam_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - // not really public - DECLARE_READ8_MEMBER( data_r ); - DECLARE_READ8_MEMBER( p1_r ); - DECLARE_WRITE8_MEMBER( p1_w ); - DECLARE_READ8_MEMBER( p2_r ); - DECLARE_WRITE8_MEMBER( p2_w ); - - void adam_fdc_io(address_map &map); - void adam_fdc_mem(address_map &map); protected: // device-level overrides virtual void device_start() override; @@ -52,6 +43,7 @@ protected: // device_adamnet_card_interface overrides virtual void adamnet_reset_w(int state) override; +private: required_device<cpu_device> m_maincpu; required_device<wd2793_device> m_fdc; required_device<floppy_connector> m_connector; @@ -59,8 +51,16 @@ protected: required_shared_ptr<uint8_t> m_ram; required_ioport m_sw3; -private: DECLARE_FLOPPY_FORMATS( floppy_formats ); + + DECLARE_READ8_MEMBER( data_r ); + DECLARE_READ8_MEMBER( p1_r ); + DECLARE_WRITE8_MEMBER( p1_w ); + DECLARE_READ8_MEMBER( p2_r ); + DECLARE_WRITE8_MEMBER( p2_w ); + + void adam_fdc_io(address_map &map); + void adam_fdc_mem(address_map &map); }; |