diff options
Diffstat (limited to 'src/mame/machine/ace_sp_reelctrl.h')
-rw-r--r-- | src/mame/machine/ace_sp_reelctrl.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/mame/machine/ace_sp_reelctrl.h b/src/mame/machine/ace_sp_reelctrl.h new file mode 100644 index 00000000000..949e4755382 --- /dev/null +++ b/src/mame/machine/ace_sp_reelctrl.h @@ -0,0 +1,54 @@ +// license:BSD-3-Clause +// copyright-holders:David Haywood + +#ifndef MAME_MACHINE_ACE_SP_REELCTRL_H +#define MAME_MACHINE_ACE_SP_REELCTRL_H + +#pragma once + +#include "cpu/m6805/m68705.h" + +class ace_sp_reelctrl_base_device : public device_t +{ +public: +protected: + ace_sp_reelctrl_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); + + // device-level overrides + virtual void device_start() override; + virtual void device_reset() override; + + virtual void device_add_mconfig(machine_config &config) override; + +private: + required_device<m68705p_device> m_mcu; +}; + +class ace_sp_reelctrl_device : public ace_sp_reelctrl_base_device +{ +public: + ace_sp_reelctrl_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + +protected: + virtual const tiny_rom_entry *device_rom_region() const override; + +private: +}; + +class ace_sp_reelctrl_pcp_device : public ace_sp_reelctrl_base_device +{ +public: + ace_sp_reelctrl_pcp_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + +protected: + virtual const tiny_rom_entry *device_rom_region() const override; + +private: +}; + +DECLARE_DEVICE_TYPE(ACE_SP_REELCTRL, ace_sp_reelctrl_device) +DECLARE_DEVICE_TYPE(ACE_SP_REELCTRL_PCP, ace_sp_reelctrl_pcp_device) + + +#endif // #define MAME_MACHINE_ACE_SP_REELCTRL_H + |