summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/seta.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/seta.cpp')
-rw-r--r--src/mame/drivers/seta.cpp109
1 files changed, 53 insertions, 56 deletions
diff --git a/src/mame/drivers/seta.cpp b/src/mame/drivers/seta.cpp
index 89aac47cb11..06a360aa8cb 100644
--- a/src/mame/drivers/seta.cpp
+++ b/src/mame/drivers/seta.cpp
@@ -2213,7 +2213,7 @@ void seta_state::keroppi_map(address_map &map)
map(0xe00600, 0xe00607).ram().rw(m_seta001, FUNC(seta001_device::spritectrl_r16), FUNC(seta001_device::spritectrl_w16));
}
-void seta_state::machine_start_keroppi()
+MACHINE_START_MEMBER(seta_state,keroppi)
{
m_keroppi_prize_hop = 0;
m_keroppi_protection_count = 0;
@@ -2372,7 +2372,7 @@ void seta_state::drgnunit_map(address_map &map)
***************************************************************************/
// Coin drop
-void setaroul_state::machine_reset_setaroul()
+MACHINE_RESET_MEMBER(setaroul_state, setaroul)
{
m_coin_start_cycles = 0;
}
@@ -3476,7 +3476,7 @@ void seta_state::downtown_sub_map(address_map &map)
Caliber 50 / U.S. Classic
***************************************************************************/
-void seta_state::machine_reset_calibr50()
+MACHINE_RESET_MEMBER(seta_state,calibr50)
{
address_space &space = m_maincpu->space(AS_PROGRAM);
calibr50_sub_bankswitch_w(space, 0, 0);
@@ -7839,7 +7839,7 @@ MACHINE_CONFIG_START(seta_state::tndrcade)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -7894,7 +7894,7 @@ MACHINE_CONFIG_START(seta_state::twineagl)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_downtown)
MCFG_PALETTE_ADD("palette", 512)
- set_video_start_cb(config, driver_callback_delegate(&video_start_twineagl_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,twineagl_1_layer)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -7940,7 +7940,7 @@ MACHINE_CONFIG_START(seta_state::downtown)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_downtown)
MCFG_PALETTE_ADD("palette", 512)
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_1_layer)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -7975,7 +7975,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(seta_state::calibr50_interrupt)
}
-void seta_state::machine_start_usclssic()
+MACHINE_START_MEMBER(seta_state, usclssic)
{
m_buttonmux->ab_w(0xff);
}
@@ -8002,8 +8002,8 @@ MACHINE_CONFIG_START(seta_state::usclssic)
MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("upd4701", upd4701_device, right_w)) MCFG_DEVCB_BIT(1)
MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("upd4701", upd4701_device, left_w)) MCFG_DEVCB_BIT(2)
- set_machine_start_cb(config, driver_callback_delegate(&machine_start_usclssic, this));
- set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_calibr50, this));
+ MCFG_MACHINE_START_OVERRIDE(seta_state,usclssic)
+ MCFG_MACHINE_RESET_OVERRIDE(seta_state,calibr50)
MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0)
MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode")
@@ -8024,7 +8024,7 @@ MACHINE_CONFIG_START(seta_state::usclssic)
MCFG_PALETTE_INDIRECT_ENTRIES(0x400)
MCFG_PALETTE_INIT_OWNER(seta_state,usclssic) /* layer is 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_1_layer)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8064,7 +8064,7 @@ MACHINE_CONFIG_START(seta_state::calibr50)
MCFG_UPD4701_PORTX("ROT1")
MCFG_UPD4701_PORTY("ROT2")
- set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_calibr50, this));
+ MCFG_MACHINE_RESET_OVERRIDE(seta_state,calibr50)
MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0)
MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode")
@@ -8082,7 +8082,7 @@ MACHINE_CONFIG_START(seta_state::calibr50)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_downtown)
MCFG_PALETTE_ADD("palette", 512)
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_1_layer)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8132,7 +8132,7 @@ MACHINE_CONFIG_START(seta_state::metafox)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_downtown)
MCFG_PALETTE_ADD("palette", 512)
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_1_layer)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8172,7 +8172,7 @@ MACHINE_CONFIG_START(seta_state::atehate)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8220,7 +8220,7 @@ MACHINE_CONFIG_START(seta_state::blandia)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600*2)
MCFG_PALETTE_INIT_OWNER(seta_state,blandia) /* layers 1&2 are 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8257,7 +8257,7 @@ MACHINE_CONFIG_START(seta_state::blandiap)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600*2)
MCFG_PALETTE_INIT_OWNER(seta_state,blandia) /* layers 1&2 are 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8294,7 +8294,7 @@ MACHINE_CONFIG_START(seta_state::blockcar)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8368,7 +8368,7 @@ MACHINE_CONFIG_START(seta_state::daioh)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer1, layer2 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8405,7 +8405,7 @@ MACHINE_CONFIG_START(seta_state::daiohp)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_daiohp)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer1, layer2 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8448,7 +8448,7 @@ MACHINE_CONFIG_START(seta_state::drgnunit)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_downtown)
MCFG_PALETTE_ADD("palette", 512)
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_1_layer)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8484,7 +8484,7 @@ MACHINE_CONFIG_START(seta_state::qzkklgy2)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_qzkklgy2)
MCFG_PALETTE_ADD("palette", 512)
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_1_layer)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -8520,7 +8520,7 @@ MACHINE_CONFIG_START(setaroul_state::setaroul)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", setaroul_state, interrupt, "screen", 0, 1)
MCFG_WATCHDOG_ADD("watchdog")
- set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_setaroul, this));
+ MCFG_MACHINE_RESET_OVERRIDE(setaroul_state, setaroul)
MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0)
MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode")
@@ -8548,7 +8548,7 @@ MACHINE_CONFIG_START(setaroul_state::setaroul)
MCFG_PALETTE_ADD("palette", 512)
MCFG_PALETTE_INIT_OWNER(setaroul_state,setaroul)
- set_video_start_cb(config, driver_callback_delegate(&video_start_setaroul_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(setaroul_state,setaroul_1_layer)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -8590,7 +8590,7 @@ MACHINE_CONFIG_START(seta_state::eightfrc)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer1, layer2 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8636,7 +8636,7 @@ MACHINE_CONFIG_START(seta_state::extdwnhl)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600)
MCFG_PALETTE_INIT_OWNER(seta_state,zingzip) /* layer 1 gfx is 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -8657,10 +8657,7 @@ INTERRUPT_GEN_MEMBER(seta_state::wrofaero_interrupt)
device.execute().set_input_line(2, HOLD_LINE );
}
-void seta_state::machine_start_wrofaero()
-{
- uPD71054_timer_init();
-}
+MACHINE_START_MEMBER(seta_state,wrofaero){ uPD71054_timer_init(); }
#endif // __uPD71054_TIMER
@@ -8685,7 +8682,7 @@ MACHINE_CONFIG_START(seta_state::gundhara)
MCFG_WATCHDOG_ADD("watchdog")
#if __uPD71054_TIMER
- set_machine_start_cb(config, driver_callback_delegate(&machine_start_wrofaero, this));
+ MCFG_MACHINE_START_OVERRIDE(seta_state, wrofaero )
#endif // __uPD71054_TIMER
MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0)
@@ -8707,7 +8704,7 @@ MACHINE_CONFIG_START(seta_state::gundhara)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600)
MCFG_PALETTE_INIT_OWNER(seta_state,gundhara) /* layers are 6 planes deep (seta_state,but have only 4 palettes) */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8768,7 +8765,7 @@ MACHINE_CONFIG_START(seta_state::jjsquawk)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600)
MCFG_PALETTE_INIT_OWNER(seta_state,jjsquawk) /* layers are 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8803,7 +8800,7 @@ MACHINE_CONFIG_START(seta_state::jjsquawb)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600)
MCFG_PALETTE_INIT_OWNER(seta_state,jjsquawk) /* layers are 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8845,7 +8842,7 @@ MACHINE_CONFIG_START(seta_state::kamenrid)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer2, layer1 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -8883,7 +8880,7 @@ MACHINE_CONFIG_START(seta_state::orbs)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_orbs)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -8908,7 +8905,7 @@ MACHINE_CONFIG_START(seta_state::keroppij)
MCFG_DEVICE_PROGRAM_MAP(keroppi_map)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", seta_state, seta_interrupt_1_and_2, "screen", 0, 1)
- set_machine_start_cb(config, driver_callback_delegate(&machine_start_keroppi, this));
+ MCFG_MACHINE_START_OVERRIDE(seta_state,keroppi)
MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0)
MCFG_SETA001_SPRITE_GFXDECODE("gfxdecode")
@@ -8926,7 +8923,7 @@ MACHINE_CONFIG_START(seta_state::keroppij)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_orbs)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -8977,7 +8974,7 @@ MACHINE_CONFIG_START(seta_state::krzybowl)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9024,7 +9021,7 @@ MACHINE_CONFIG_START(seta_state::madshark)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600)
MCFG_PALETTE_INIT_OWNER(seta_state,jjsquawk) /* layers are 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9067,7 +9064,7 @@ MACHINE_CONFIG_START(seta_state::magspeed)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer2, layer1 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9111,7 +9108,7 @@ MACHINE_CONFIG_START(seta_state::msgundam)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer2, layer1 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9149,7 +9146,7 @@ MACHINE_CONFIG_START(seta_state::oisipuzl)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer2, layer1 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_oisipuzl_2_layers, this)); // flip is inverted for the tilemaps
+ MCFG_VIDEO_START_OVERRIDE(seta_state,oisipuzl_2_layers) // flip is inverted for the tilemaps
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -9189,7 +9186,7 @@ MACHINE_CONFIG_START(seta_state::triplfun)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer2, layer1 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_oisipuzl_2_layers, this)); // flip is inverted for the tilemaps
+ MCFG_VIDEO_START_OVERRIDE(seta_state,oisipuzl_2_layers) // flip is inverted for the tilemaps
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -9233,7 +9230,7 @@ MACHINE_CONFIG_START(seta_state::kiwame)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -9276,7 +9273,7 @@ MACHINE_CONFIG_START(seta_state::rezon)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer1, layer2 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9316,7 +9313,7 @@ MACHINE_CONFIG_START(seta_state::thunderl)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9392,7 +9389,7 @@ MACHINE_CONFIG_START(seta_state::wiggie)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_wiggie)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9433,7 +9430,7 @@ MACHINE_CONFIG_START(seta_state::wits)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9470,7 +9467,7 @@ MACHINE_CONFIG_START(seta_state::umanclub)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_tndrcade)
MCFG_PALETTE_ADD("palette", 512)
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9511,7 +9508,7 @@ MACHINE_CONFIG_START(seta_state::utoukond)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer2, layer1 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();
@@ -9550,7 +9547,7 @@ MACHINE_CONFIG_START(seta_state::wrofaero)
MCFG_WATCHDOG_ADD("watchdog")
#if __uPD71054_TIMER
- set_machine_start_cb(config, driver_callback_delegate(&machine_start_wrofaero, this));
+ MCFG_MACHINE_START_OVERRIDE(seta_state, wrofaero )
#endif // __uPD71054_TIMER
MCFG_DEVICE_ADD("spritegen", SETA001_SPRITE, 0)
@@ -9569,7 +9566,7 @@ MACHINE_CONFIG_START(seta_state::wrofaero)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_msgundam)
MCFG_PALETTE_ADD("palette", 512 * 3) /* sprites, layer1, layer2 */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9618,7 +9615,7 @@ MACHINE_CONFIG_START(seta_state::zingzip)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600)
MCFG_PALETTE_INIT_OWNER(seta_state,zingzip) /* layer 1 gfx is 6 planes deep */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9671,7 +9668,7 @@ MACHINE_CONFIG_START(seta_state::pairlove)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_pairlove)
MCFG_PALETTE_ADD("palette", 2048) /* sprites only */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_no_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_no_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9722,7 +9719,7 @@ MACHINE_CONFIG_START(seta_state::crazyfgt)
MCFG_PALETTE_INDIRECT_ENTRIES(0x600)
MCFG_PALETTE_INIT_OWNER(seta_state,gundhara) /* layers are 6 planes deep (seta_state,but have only 4 palettes) */
- set_video_start_cb(config, driver_callback_delegate(&video_start_seta_2_layers, this));
+ MCFG_VIDEO_START_OVERRIDE(seta_state,seta_2_layers)
/* sound hardware */
SPEAKER(config, "mono").front_center();
@@ -9792,7 +9789,7 @@ MACHINE_CONFIG_START(jockeyc_state::jockeyc)
MCFG_PALETTE_ADD("palette", 512 * 1)
MCFG_PALETTE_INIT_OWNER(seta_state,palette_init_RRRRRGGGGGBBBBB_proms)
- set_video_start_cb(config, driver_callback_delegate(&video_start_jockeyc_1_layer, this));
+ MCFG_VIDEO_START_OVERRIDE(jockeyc_state,jockeyc_1_layer)
/* sound hardware */
SPEAKER(config, "lspeaker").front_left();