summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/decobsmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/decobsmt.cpp')
-rw-r--r--src/mame/audio/decobsmt.cpp30
1 files changed, 12 insertions, 18 deletions
diff --git a/src/mame/audio/decobsmt.cpp b/src/mame/audio/decobsmt.cpp
index bd0062dbf59..56a290bf440 100644
--- a/src/mame/audio/decobsmt.cpp
+++ b/src/mame/audio/decobsmt.cpp
@@ -35,7 +35,18 @@ void decobsmt_device::bsmt_ready_callback()
m_ourcpu->set_input_line(M6809_IRQ_LINE, ASSERT_LINE); /* BSMT is ready */
}
-MACHINE_CONFIG_START( decobsmt )
+//**************************************************************************
+// GLOBAL VARIABLES
+//**************************************************************************
+
+DEFINE_DEVICE_TYPE(DECOBSMT, decobsmt_device, "decobsmt", "Data East/Sega/Stern BSMT2000 Sound Board")
+
+
+//-------------------------------------------------
+// device_add_mconfig - add device configuration
+//-------------------------------------------------
+
+MACHINE_CONFIG_MEMBER( decobsmt_device::device_add_mconfig )
MCFG_CPU_ADD(M6809_TAG, M6809, (3579580/2))
MCFG_CPU_PROGRAM_MAP(decobsmt_map)
MCFG_CPU_PERIODIC_INT_DRIVER(decobsmt_device, decobsmt_firq_interrupt, 489) /* Fixed FIRQ of 489Hz as measured on real (pinball) machine */
@@ -49,23 +60,6 @@ MACHINE_CONFIG_START( decobsmt )
MACHINE_CONFIG_END
//**************************************************************************
-// GLOBAL VARIABLES
-//**************************************************************************
-
-DEFINE_DEVICE_TYPE(DECOBSMT, decobsmt_device, "decobsmt", "Data East/Sega/Stern BSMT2000 Sound Board")
-
-
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor decobsmt_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( decobsmt );
-}
-
-//**************************************************************************
// LIVE DEVICE
//**************************************************************************