summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/rw5000/a5000.h
blob: 6926fe24224295795aaed404a1c04f593a10715c (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
// license:BSD-3-Clause
// copyright-holders:hap
/*

  Rockwell A5000 MCU

*/

#ifndef MAME_CPU_RW5000_A5000_H
#define MAME_CPU_RW5000_A5000_H

#pragma once

#include "b5000.h"


class a5000_cpu_device : public b5000_cpu_device
{
public:
	a5000_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);

protected:
	a5000_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data);

	// device_disasm_interface overrides
	virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;

	virtual void execute_one() override;

	// opcode handlers
	virtual void op_mtd_step() override;
};


DECLARE_DEVICE_TYPE(A5000, a5000_cpu_device)

#endif // MAME_CPU_RW5000_A5000_H