summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/z80scc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/z80scc.h')
-rw-r--r--src/devices/machine/z80scc.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/devices/machine/z80scc.h b/src/devices/machine/z80scc.h
index f37921fe293..4a73fcfa3d6 100644
--- a/src/devices/machine/z80scc.h
+++ b/src/devices/machine/z80scc.h
@@ -44,45 +44,6 @@
#define Z80SCC_USE_LOCAL_BRG 0
-/* Variant ADD macros - use the right one to enable the right feature set! */
-#define MCFG_SCC8030_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC8030, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-#define MCFG_SCC80C30_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC80C30, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-#define MCFG_SCC80230_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC80230, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-#define MCFG_SCC8530_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC8530N, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-#define MCFG_SCC85C30_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC85C30, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-#define MCFG_SCC85230_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC85230, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-#define MCFG_SCC85233_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC85233, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-#define MCFG_SCC8523L_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, SCC8523L, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-/* generic ADD macro - Avoid using it directly, see above for correct variant instead */
-#define MCFG_Z80SCC_ADD(_tag, _clock, _rxa, _txa, _rxb, _txb) \
- MCFG_DEVICE_ADD(_tag, Z80SCC, _clock) \
- MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb)
-
-/* Generic macros */
#define MCFG_Z80SCC_OFFSETS(_rxa, _txa, _rxb, _txb) \
downcast<z80scc_device &>(*device).configure_channels(_rxa, _txa, _rxb, _txb);
@@ -418,9 +379,6 @@ class z80scc_device : public device_t, public device_z80daisy_interface
friend class z80scc_channel;
public:
- // construction/destruction
- z80scc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
-
template <unsigned N, class Object> devcb_base &set_out_txd_callback(Object &&cb) { return m_out_txd_cb[N].set_callback(std::forward<Object>(cb)); }
template <unsigned N, class Object> devcb_base &set_out_dtr_callback(Object &&cb) { return m_out_dtr_cb[N].set_callback(std::forward<Object>(cb)); }
template <unsigned N, class Object> devcb_base &set_out_rts_callback(Object &&cb) { return m_out_rts_cb[N].set_callback(std::forward<Object>(cb)); }
@@ -513,7 +471,6 @@ protected:
// Variants in the SCC family
enum
{
- TYPE_Z80SCC = 0x001,
TYPE_SCC8030 = 0x002,
TYPE_SCC80C30 = 0x004,
TYPE_SCC80230 = 0x008,
@@ -614,7 +571,6 @@ public:
};
// device type definition
-DECLARE_DEVICE_TYPE(Z80SCC, z80scc_device)
DECLARE_DEVICE_TYPE(Z80SCC_CHANNEL, z80scc_channel)
DECLARE_DEVICE_TYPE(SCC8030, scc8030_device)
DECLARE_DEVICE_TYPE(SCC80C30, scc80c30_device)