summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/decocpu6.h
blob: 27279a6cbe1b981507fdf07483200eb6c9f42a2c (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
// license:BSD-3-Clause
// copyright-holders:David Haywood


#include "emu.h"
#include "cpu/m6502/m6502.h"

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

protected:
	class mi_decrypt : public mi_default_normal {
	public:
		virtual ~mi_decrypt() {}
		virtual UINT8 read_sync(UINT16 adr) override;
	};

	virtual void device_start() override;
	virtual void device_reset() override;

};

static const device_type DECO_CPU6 = &device_creator<deco_cpu6_device>;