summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/ace_sp_reelctrl.h
blob: 949e475538220429496f89f520fe6552b91fb86e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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