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
|
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
/***************************************************************************
r65c02.h
Rockwell 65c02, CMOS variant with bitwise instructions
***************************************************************************/
#ifndef __R65C02_H__
#define __R65C02_H__
#include "m65c02.h"
class r65c02_device : public m65c02_device {
public:
r65c02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
r65c02_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
static const disasm_entry disasm_entries[0x100];
virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) override;
virtual void do_exec_full() override;
virtual void do_exec_partial() override;
};
enum {
R65C02_IRQ_LINE = m6502_device::IRQ_LINE,
R65C02_NMI_LINE = m6502_device::NMI_LINE,
R65C02_SET_OVERFLOW = m6502_device::V_LINE
};
extern const device_type R65C02;
#endif
|