diff options
Diffstat (limited to 'src/devices/bus/apricot/expansion/winchester.h')
-rw-r--r-- | src/devices/bus/apricot/expansion/winchester.h | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/devices/bus/apricot/expansion/winchester.h b/src/devices/bus/apricot/expansion/winchester.h deleted file mode 100644 index c4c82ab0585..00000000000 --- a/src/devices/bus/apricot/expansion/winchester.h +++ /dev/null @@ -1,66 +0,0 @@ -// license:GPL-2.0+ -// copyright-holders:Dirk Best -/*************************************************************************** - - ACT Apricot Winchester Controller - -***************************************************************************/ - -#ifndef MAME_BUS_APRICOT_WINCHESTER_H -#define MAME_BUS_APRICOT_WINCHESTER_H - -#pragma once - -#include "expansion.h" -#include "machine/wd1010.h" - - -//************************************************************************** -// TYPE DEFINITIONS -//************************************************************************** - -// ======================> apricot_winchester_device - -class apricot_winchester_device : public device_t, public device_apricot_expansion_card_interface -{ -public: - // construction/destruction - apricot_winchester_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - -protected: - // device-level overrides - virtual void device_add_mconfig(machine_config &config) override; - virtual void device_start() override; - virtual void device_reset() override; - -private: - DECLARE_WRITE_LINE_MEMBER(hdc_intrq_w); - DECLARE_READ8_MEMBER(hdc_data_r); - DECLARE_WRITE8_MEMBER(hdc_data_w); - DECLARE_READ8_MEMBER(int_r); - template<int N> DECLARE_WRITE8_MEMBER(head_w); - template<int N> DECLARE_WRITE8_MEMBER(drive_w); - DECLARE_WRITE8_MEMBER(xferd_w); - DECLARE_WRITE8_MEMBER(hbcr_w); - DECLARE_WRITE8_MEMBER(clksel_w); - DECLARE_WRITE8_MEMBER(drvsel2_w); - DECLARE_READ8_MEMBER(data_r); - DECLARE_WRITE8_MEMBER(data_w); - - void regs(address_map &map); - - required_device<wd1010_device> m_hdc; - - std::unique_ptr<uint8_t[]> m_ram; - unsigned m_ram_ptr; - int m_int; - int m_drive; - int m_head; - int m_hbcr; - int m_clksel; -}; - -// device type definition -DECLARE_DEVICE_TYPE(APRICOT_WINCHESTER, apricot_winchester_device) - -#endif // MAME_BUS_APRICOT_WINCHESTER_H |