summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/seicop.h
blob: 67fdd4000895a436450a55fc2c1ce79b50fbaf1c (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
// license:LGPL-2.1+
// copyright-holders:Olivier Galibert, Angelo Salese, David Haywood, Tomasz Slanina

#include "raiden2cop.h"



class seibu_cop_bootleg_device : public device_t
{
public:
seibu_cop_bootleg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);

	DECLARE_READ16_MEMBER( copdxbl_0_r );
	DECLARE_WRITE16_MEMBER( copdxbl_0_w );
protected:
	// device-level overrides
	virtual void device_config_complete();
	virtual void device_start();
	virtual void device_reset();

private:
	UINT16 *m_cop_mcu_ram;




	required_device<raiden2cop_device> m_raiden2cop;

};

extern const device_type SEIBU_COP_BOOTLEG;

#define MCFG_SEIBU_COP_ADD(_tag) \
	MCFG_DEVICE_ADD(_tag, SEIBU_COP_BOOTLEG, 0)