summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/r65c02.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/r65c02.c')
-rw-r--r--src/devices/cpu/m6502/r65c02.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/r65c02.c b/src/devices/cpu/m6502/r65c02.c
new file mode 100644
index 00000000000..3101ffd0341
--- /dev/null
+++ b/src/devices/cpu/m6502/r65c02.c
@@ -0,0 +1,31 @@
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
+/***************************************************************************
+
+ r65c02.c
+
+ Rockwell 65c02, CMOS variant with bitwise instructions
+
+***************************************************************************/
+
+#include "emu.h"
+#include "r65c02.h"
+
+const device_type R65C02 = &device_creator<r65c02_device>;
+
+r65c02_device::r65c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ m65c02_device(mconfig, R65C02, "R65C02", tag, owner, clock, "r65c02", __FILE__)
+{
+}
+
+r65c02_device::r65c02_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+ m65c02_device(mconfig, type, name, tag, owner, clock, shortname, source)
+{
+}
+
+offs_t r65c02_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+{
+ return disassemble_generic(buffer, pc, oprom, opram, options, disasm_entries);
+}
+
+#include "cpu/m6502/r65c02.inc"