summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/deco104.h
blob: e9bde95088896992a31bb4f81208d0d10abf3b77 (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
// license:BSD-3-Clause
// copyright-holders:David Haywood
#ifndef MAME_MACHINE_DECO104_H
#define MAME_MACHINE_DECO104_H

#pragma once

#include "deco146.h"


/* Data East 104 protection chip */

class deco104_device : public deco_146_base_device
{
public:
	deco104_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);

protected:
	virtual void device_start() override;
	virtual void device_reset() override;
};

DECLARE_DEVICE_TYPE(DECO104PROT, deco104_device)


#define MCFG_DECO104_ADD(_tag) \
	MCFG_DEVICE_ADD(_tag, DECO104PROT, 0)

#endif // MAME_MACHINE_DECO104_H