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, 20 insertions, 30 deletions
diff --git a/src/mame/drivers/astrafr.cpp b/src/mame/drivers/astrafr.cpp
index 1ad452a5c66..dd80d010adb 100644
--- a/src/mame/drivers/astrafr.cpp
+++ b/src/mame/drivers/astrafr.cpp
@@ -311,8 +311,7 @@ MACHINE_START_MEMBER(astrafr_state,astra_2e)
}
-void astrafr_state::astrafr_dual(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astrafr_dual)
M68340(config, m_maincpu, 16000000);
m_maincpu->set_addrmap(AS_PROGRAM, &astrafr_state::astrafr_master_map);
@@ -320,19 +319,17 @@ void astrafr_state::astrafr_dual(machine_config &config)
m_slavecpu->set_addrmap(AS_PROGRAM, &astrafr_state::astrafr_slave_map);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_common )
-}
+MACHINE_CONFIG_END
-void astrafr_state::astrafr_dual_2e(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astrafr_dual_2e)
astrafr_dual(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_2e )
-}
+MACHINE_CONFIG_END
-void astrafr_state::astrafr_dual_37(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astrafr_dual_37)
astrafr_dual(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_37 )
-}
+MACHINE_CONFIG_END
void astrafr_state::astrafr_dual_alt(machine_config &config)
{
@@ -343,32 +340,28 @@ void astrafr_state::astrafr_dual_alt(machine_config &config)
m_slavecpu->set_addrmap(AS_PROGRAM, &astrafr_state::astrafr_slave_map);
}
-void astrafr_state::astrafr_dual_alt_37(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astrafr_dual_alt_37)
astrafr_dual_alt(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_37 )
-}
+MACHINE_CONFIG_END
-void astrafr_state::astra_single(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astra_single)
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
-void astrafr_state::astra_single_37(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astra_single_37)
astra_single(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_37 )
-}
+MACHINE_CONFIG_END
-void astrafr_state::astra_single_2e(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astra_single_2e)
astra_single(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_2e )
-}
+MACHINE_CONFIG_END
MACHINE_START_MEMBER(astrafr_state,astra_57)
{
@@ -379,24 +372,21 @@ MACHINE_START_MEMBER(astrafr_state,astra_57)
}
-void astrafr_state::astra_single_alt(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astra_single_alt)
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
-void astrafr_state::astra_single_alt_57(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astra_single_alt_57)
astra_single_alt(config);
MCFG_MACHINE_START_OVERRIDE(astrafr_state, astra_57 )
-}
+MACHINE_CONFIG_END
-void astrafr_state::astra_single_alt_37(machine_config &config)
-{
+MACHINE_CONFIG_START(astrafr_state::astra_single_alt_37)
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?