summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6503.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2023-07-24 18:25:27 +0200
committer hap <happppp@users.noreply.github.com>2023-07-24 18:25:27 +0200
commit0409e0415107d047e95b15b267ad2575e16d076e (patch)
treec59b77e519be767268edb58ad808569b146ca015 /src/devices/cpu/m6502/m6503.cpp
parent5af0650c555edf33d13183f5953096d0512eaaf5 (diff)
m6502: add 6503 cpu
Diffstat (limited to 'src/devices/cpu/m6502/m6503.cpp')
-rw-r--r--src/devices/cpu/m6502/m6503.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/m6503.cpp b/src/devices/cpu/m6502/m6503.cpp
new file mode 100644
index 00000000000..1c1b2a71a55
--- /dev/null
+++ b/src/devices/cpu/m6502/m6503.cpp
@@ -0,0 +1,23 @@
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
+/***************************************************************************
+
+ m6503.cpp
+
+ MOS Technology 6502, NMOS variant with reduced address bus
+
+ 28-pin package, address bus is 12 bits, no NMI, no SO, no SYNC, no RDY.
+
+***************************************************************************/
+
+#include "emu.h"
+#include "m6503.h"
+
+DEFINE_DEVICE_TYPE(M6503, m6503_device, "m6503", "MOS Technology 6503")
+
+m6503_device::m6503_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+ m6502_device(mconfig, M6503, tag, owner, clock)
+{
+ program_config.m_addr_width = 12;
+ sprogram_config.m_addr_width = 12;
+}