summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/astrafr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/astrafr.cpp')
-rw-r--r--src/mame/drivers/astrafr.cpp50
1 files changed, 30 insertions, 20 deletions
diff --git a/src/mame/drivers/astrafr.cpp b/src/mame/drivers/astrafr.cpp
index dd80d010adb..1ad452a5c66 100644
--- a/src/mame/drivers/astrafr.cpp
+++ b/src/mame/drivers/astrafr.cpp
@@ -311,7 +311,8 @@ MACHINE_START_MEMBER(astrafr_state,astra_2e)
}
-MACHINE_CONFIG_START(astrafr_state::astrafr_dual)
+void astrafr_state::astrafr_dual(machine_config &config)
+{
M68340(config, m_maincpu, 16000000);
m_maincpu->set_addrmap(AS_PROGRAM, &astrafr_state::astrafr_master_map);
@@ -319,17 +320,19 @@ MACHINE_CONFIG_START(astrafr_state::astrafr_dual)
m_slavecpu->set_addrmap(AS_PROGRAM, &astrafr_state::astrafr_slave_map);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_common )
-MACHINE_CONFIG_END
+}
-MACHINE_CONFIG_START(astrafr_state::astrafr_dual_2e)
+void astrafr_state::astrafr_dual_2e(machine_config &config)
+{
astrafr_dual(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_2e )
-MACHINE_CONFIG_END
+}
-MACHINE_CONFIG_START(astrafr_state::astrafr_dual_37)
+void astrafr_state::astrafr_dual_37(machine_config &config)
+{
astrafr_dual(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_37 )
-MACHINE_CONFIG_END
+}
void astrafr_state::astrafr_dual_alt(machine_config &config)
{
@@ -340,28 +343,32 @@ void astrafr_state::astrafr_dual_alt(machine_config &config)
m_slavecpu->set_addrmap(AS_PROGRAM, &astrafr_state::astrafr_slave_map);
}
-MACHINE_CONFIG_START(astrafr_state::astrafr_dual_alt_37)
+void astrafr_state::astrafr_dual_alt_37(machine_config &config)
+{
astrafr_dual_alt(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_37 )
-MACHINE_CONFIG_END
+}
-MACHINE_CONFIG_START(astrafr_state::astra_single)
+void astrafr_state::astra_single(machine_config &config)
+{
M68340(config, m_maincpu, 16000000);
m_maincpu->set_addrmap(AS_PROGRAM, &astrafr_state::astra_map);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_common )
-MACHINE_CONFIG_END
+}
-MACHINE_CONFIG_START(astrafr_state::astra_single_37)
+void astrafr_state::astra_single_37(machine_config &config)
+{
astra_single(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_37 )
-MACHINE_CONFIG_END
+}
-MACHINE_CONFIG_START(astrafr_state::astra_single_2e)
+void astrafr_state::astra_single_2e(machine_config &config)
+{
astra_single(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_2e )
-MACHINE_CONFIG_END
+}
MACHINE_START_MEMBER(astrafr_state,astra_57)
{
@@ -372,21 +379,24 @@ MACHINE_START_MEMBER(astrafr_state,astra_57)
}
-MACHINE_CONFIG_START(astrafr_state::astra_single_alt)
+void astrafr_state::astra_single_alt(machine_config &config)
+{
M68340(config, m_maincpu, 16000000);
m_maincpu->set_addrmap(AS_PROGRAM, &astrafr_state::astra_map);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_common )
-MACHINE_CONFIG_END
+}
-MACHINE_CONFIG_START(astrafr_state::astra_single_alt_57)
+void astrafr_state::astra_single_alt_57(machine_config &config)
+{
astra_single_alt(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_57 )
-MACHINE_CONFIG_END
+}
-MACHINE_CONFIG_START(astrafr_state::astra_single_alt_37)
+void astrafr_state::astra_single_alt_37(machine_config &config)
+{
astra_single_alt(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_37 )
-MACHINE_CONFIG_END
+}
/* are the ptM roms Master and ptS roms Slave?
or is as_partyd set actually the master, with the larger roms?