blob: 1969ba6ffad5f1817d8edd7323e42c45c5f545dc (
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:BSD-3-Clause
// copyright-holders:Olivier Galibert
/***************************************************************************
m8502.h
6510 derivative, capable of running at 2MHz.
***************************************************************************/
#ifndef __M8502_H__
#define __M8502_H__
#include "m6510.h"
#define MCFG_M8502_PORT_CALLBACKS(_read, _write) \
downcast<m8502_device *>(device)->set_callbacks(DEVCB_##_read, DEVCB_##_write);
#define MCFG_M8502_PORT_PULLS(_up, _down) \
downcast<m8502_device *>(device)->set_pulls(_up, _down);
class m8502_device : public m6510_device {
public:
m8502_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
};
enum {
M8502_IRQ_LINE = m6502_device::IRQ_LINE,
M8502_NMI_LINE = m6502_device::NMI_LINE
};
extern const device_type M8502;
#endif
|