diff options
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/cpu/m6502/m6502.cpp | 6 | ||||
-rw-r--r-- | src/devices/cpu/m6502/m6502.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/m6502.cpp b/src/devices/cpu/m6502/m6502.cpp index 18e8b57cd79..3d89735dda5 100644 --- a/src/devices/cpu/m6502/m6502.cpp +++ b/src/devices/cpu/m6502/m6502.cpp @@ -14,12 +14,18 @@ #include "m6502d.h" DEFINE_DEVICE_TYPE(M6502, m6502_device, "m6502", "MOS Technology M6502") +DEFINE_DEVICE_TYPE(M6512, m6512_device, "m6512", "MOS Technology M6512") m6502_device::m6502_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : m6502_device(mconfig, M6502, tag, owner, clock) { } +m6512_device::m6512_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + m6502_device(mconfig, M6512, tag, owner, clock) +{ +} + m6502_device::m6502_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : cpu_device(mconfig, type, tag, owner, clock), sync_w(*this), diff --git a/src/devices/cpu/m6502/m6502.h b/src/devices/cpu/m6502/m6502.h index 4e9e71b2eed..3637b088eea 100644 --- a/src/devices/cpu/m6502/m6502.h +++ b/src/devices/cpu/m6502/m6502.h @@ -269,6 +269,11 @@ protected: virtual void execute_run() override; }; +class m6512_device : public m6502_device { +public: + m6512_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); +}; + enum { M6502_PC = 1, M6502_A, @@ -286,5 +291,6 @@ enum { }; DECLARE_DEVICE_TYPE(M6502, m6502_device) +DECLARE_DEVICE_TYPE(M6512, m6512_device) #endif // MAME_CPU_M6502_M6502_H |