diff options
author | 2024-12-14 13:05:47 +0100 | |
---|---|---|
committer | 2024-12-14 15:23:45 +0100 | |
commit | ef8fcfeb11b51abb4aa93290ba2ac15c989f20d3 (patch) | |
tree | 34ca488aad67cb885d515efaab55c163107cd0cf /src/devices/cpu/m6502/g65sc02.h | |
parent | b7853755e48bf28a33afdf50942e124ae19d0015 (diff) |
m6502: rename m65sc02.* to g65sc02.*
Diffstat (limited to 'src/devices/cpu/m6502/g65sc02.h')
-rw-r--r-- | src/devices/cpu/m6502/g65sc02.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/g65sc02.h b/src/devices/cpu/m6502/g65sc02.h new file mode 100644 index 00000000000..a0004dfefdb --- /dev/null +++ b/src/devices/cpu/m6502/g65sc02.h @@ -0,0 +1,47 @@ +// license:BSD-3-Clause +// copyright-holders:Olivier Galibert +/*************************************************************************** + + g65sc02.h + + Rockwell-class 65c02 with internal static registers, making clock stoppable? + +***************************************************************************/ + +#ifndef MAME_CPU_M6502_G65SC02_H +#define MAME_CPU_M6502_G65SC02_H + +#include "r65c02.h" + +class g65sc02_device : public r65c02_device { +public: + g65sc02_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); +}; + +class g65sc12_device : public r65c02_device { +public: + g65sc12_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); +}; + +class g65sc102_device : public r65c02_device { +public: + g65sc102_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); +}; + +class g65sc112_device : public r65c02_device { +public: + g65sc112_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); +}; + +enum { + G65SC02_IRQ_LINE = m6502_device::IRQ_LINE, + G65SC02_NMI_LINE = m6502_device::NMI_LINE, + G65SC02_SET_OVERFLOW = m6502_device::V_LINE +}; + +DECLARE_DEVICE_TYPE(G65SC02, g65sc02_device) +DECLARE_DEVICE_TYPE(G65SC12, g65sc12_device) +DECLARE_DEVICE_TYPE(G65SC102, g65sc102_device) +DECLARE_DEVICE_TYPE(G65SC112, g65sc112_device) + +#endif // MAME_CPU_M6502_G65SC02_H |