blob: c9dbf4b118eb628244634682f343c2f81472047b (
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
|
// license:BSD-3-Clause
// copyright-holders:David Haywood
/***************************************************************************
Kawasaki LSI
KL5C80A12 CPU (KL5C80A12CFP on hng64.c)
Binary compatible with Z80, significantly faster opcode timings, operating at up to 10Mhz
Timers / Counters, Parallel / Serial ports/ MMU, Interrupt Controller
(is this different enough to need it's own core?)
(todo: everything, some code currently lives in machine/hng64_net.c but not much)
***************************************************************************/
#ifndef MAME_CPU_Z80_KL5C80A12_H
#define MAME_CPU_Z80_KL5C80A12_H
#pragma once
#include "z80.h"
#include "machine/z80ctc.h"
/***************************************************************************
DEVICE CONFIGURATION MACROS
***************************************************************************/
/***************************************************************************
TYPE DEFINITIONS
***************************************************************************/
class kl5c80a12_device : public z80_device
{
public:
kl5c80a12_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t);
// static configuration helpers
protected:
// device-level overrides
virtual void device_add_mconfig(machine_config &config) override;
virtual void device_start() override;
virtual void device_reset() override;
};
// device type definition
DECLARE_DEVICE_TYPE(KL5C80A12, kl5c80a12_device)
#endif // MAME_CPU_Z80_KL5C80A12_H
|