diff options
author | 2024-12-14 12:52:14 +0100 | |
---|---|---|
committer | 2024-12-14 15:23:45 +0100 | |
commit | b7853755e48bf28a33afdf50942e124ae19d0015 (patch) | |
tree | e3affb419b278fe5339955a1562ad953a815ee94 /src/devices/cpu/m6502/m65sc02.cpp | |
parent | 33305ee4c2e62660180ac2c9768db41b307f2459 (diff) |
m6502: add g65sc02 subtypes
Diffstat (limited to 'src/devices/cpu/m6502/m65sc02.cpp')
-rw-r--r-- | src/devices/cpu/m6502/m65sc02.cpp | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/src/devices/cpu/m6502/m65sc02.cpp b/src/devices/cpu/m6502/m65sc02.cpp index b9245b5fe13..4bea3ff8113 100644 --- a/src/devices/cpu/m6502/m65sc02.cpp +++ b/src/devices/cpu/m6502/m65sc02.cpp @@ -6,14 +6,36 @@ Rockwell-class 65c02 with internal static registers, making clock stoppable? + TODO: + - none of the CPU type differences are currently emulated (eg. BE pin, ML pin), + are any of them meaningful to MAME? + ***************************************************************************/ #include "emu.h" #include "m65sc02.h" -DEFINE_DEVICE_TYPE(M65SC02, m65sc02_device, "m65sc02", "GTE G65SC02") +DEFINE_DEVICE_TYPE(G65SC02, g65sc02_device, "g65sc02", "GTE G65SC02") +DEFINE_DEVICE_TYPE(G65SC12, g65sc12_device, "g65sc12", "GTE G65SC12") +DEFINE_DEVICE_TYPE(G65SC102, g65sc102_device, "g65sc102", "GTE G65SC102") +DEFINE_DEVICE_TYPE(G65SC112, g65sc112_device, "g65sc112", "GTE G65SC112") + +g65sc02_device::g65sc02_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + r65c02_device(mconfig, G65SC02, tag, owner, clock) +{ +} + +g65sc12_device::g65sc12_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + r65c02_device(mconfig, G65SC12, tag, owner, clock) +{ +} + +g65sc102_device::g65sc102_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + r65c02_device(mconfig, G65SC102, tag, owner, clock) +{ +} -m65sc02_device::m65sc02_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - r65c02_device(mconfig, M65SC02, tag, owner, clock) +g65sc112_device::g65sc112_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : + r65c02_device(mconfig, G65SC112, tag, owner, clock) { } |