summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/esqpanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/esqpanel.cpp')
-rw-r--r--src/mame/machine/esqpanel.cpp28
1 files changed, 16 insertions, 12 deletions
diff --git a/src/mame/machine/esqpanel.cpp b/src/mame/machine/esqpanel.cpp
index 7537a0fbf31..8e135771dd6 100644
--- a/src/mame/machine/esqpanel.cpp
+++ b/src/mame/machine/esqpanel.cpp
@@ -655,9 +655,10 @@ void esqpanel_device::set_analog_value(offs_t offset, uint16_t value)
/* panel with 1x22 VFD display used in the EPS-16 and EPS-16 Plus */
-MACHINE_CONFIG_START(esqpanel1x22_device::device_add_mconfig)
- MCFG_ESQ1X22_ADD("vfd")
-MACHINE_CONFIG_END
+void esqpanel1x22_device::device_add_mconfig(machine_config &config)
+{
+ ESQ1X22(config, m_vfd, 60);
+}
esqpanel1x22_device::esqpanel1x22_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
@@ -669,9 +670,10 @@ esqpanel1x22_device::esqpanel1x22_device(const machine_config &mconfig, const ch
/* panel with 2x40 VFD display used in the ESQ-1, SQ-80 */
-MACHINE_CONFIG_START(esqpanel2x40_device::device_add_mconfig)
- MCFG_ESQ2X40_ADD("vfd")
-MACHINE_CONFIG_END
+void esqpanel2x40_device::device_add_mconfig(machine_config &config)
+{
+ ESQ2X40(config, m_vfd, 60);
+}
esqpanel2x40_device::esqpanel2x40_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
@@ -683,9 +685,10 @@ esqpanel2x40_device::esqpanel2x40_device(const machine_config &mconfig, const ch
/* panel with 2x40 VFD display used in the VFX, VFX-SD, SD-1 series */
-MACHINE_CONFIG_START(esqpanel2x40_vfx_device::device_add_mconfig)
- MCFG_ESQ2X40_ADD("vfd")
-MACHINE_CONFIG_END
+void esqpanel2x40_vfx_device::device_add_mconfig(machine_config &config)
+{
+ ESQ2X40(config, m_vfd, 60);
+}
esqpanel2x40_vfx_device::esqpanel2x40_vfx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
esqpanel_device(mconfig, ESQPANEL2X40_VFX, tag, owner, clock),
@@ -708,9 +711,10 @@ bool esqpanel2x40_vfx_device::write_contents(std::ostream &o)
// --- SQ1 - Parduz --------------------------------------------------------------------------------------------------------------------------
-MACHINE_CONFIG_START(esqpanel2x16_sq1_device::device_add_mconfig)
- MCFG_ESQ2X16_SQ1_ADD("vfd")
-MACHINE_CONFIG_END
+void esqpanel2x16_sq1_device::device_add_mconfig(machine_config &config)
+{
+ ESQ2X16_SQ1(config, m_vfd, 60);
+}
// --- SQ1 - Parduz --------------------------------------------------------------------------------------------------------------------------
esqpanel2x16_sq1_device::esqpanel2x16_sq1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :