diff options
Diffstat (limited to 'src/mame/drivers/bfm_sc4h.c')
-rw-r--r-- | src/mame/drivers/bfm_sc4h.c | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/src/mame/drivers/bfm_sc4h.c b/src/mame/drivers/bfm_sc4h.c index 079493126b4..f257c4713a9 100644 --- a/src/mame/drivers/bfm_sc4h.c +++ b/src/mame/drivers/bfm_sc4h.c @@ -522,8 +522,8 @@ void sc4_state::bfm_sc4_68307_porta_w(address_space &space, bool dedicated, UINT m_reel1->update( data &0x0f); awp_draw_reel("reel1", m_reel1); } - - if (m_reel2) + + if (m_reel2) { m_reel2->update((data>>4)&0x0f); awp_draw_reel("reel2", m_reel2); @@ -651,8 +651,8 @@ WRITE8_MEMBER(sc4_state::bfm_sc4_duart_output_w) m_reel5->update( data &0x0f); awp_draw_reel("reel5", m_reel5); } - - if (m_reel6) + + if (m_reel6) { m_reel6->update((data>>4)&0x0f); awp_draw_reel("reel6", m_reel6); @@ -712,11 +712,11 @@ MACHINE_CONFIG_FRAGMENT( sc4_common ) MCFG_YMZ280B_IRQ_HANDLER(WRITELINE(sc4_state, bfm_sc4_irqhandler)) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) MACHINE_CONFIG_END - + //Standard 6 reels all connected MACHINE_CONFIG_START( sc4, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -734,20 +734,20 @@ MACHINE_CONFIG_END //Standard 3 reels MACHINE_CONFIG_START( sc4_3reel, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel2_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) - + MACHINE_CONFIG_END //Standard 4 reels MACHINE_CONFIG_START( sc4_4reel, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -762,14 +762,14 @@ MACHINE_CONFIG_END MACHINE_CONFIG_START( sc4_4reel_alt, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel2_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel5") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MACHINE_CONFIG_END @@ -778,7 +778,7 @@ MACHINE_CONFIG_END //Standard 5 reels MACHINE_CONFIG_START( sc4_5reel, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -794,26 +794,26 @@ MACHINE_CONFIG_END //5 reels, with RL4 skipped MACHINE_CONFIG_START( sc4_5reel_alt, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel2_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel5") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel6") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) - + MACHINE_CONFIG_END //6 reels, last 200 steps MACHINE_CONFIG_START( sc4_200_std, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -823,7 +823,7 @@ MACHINE_CONFIG_START( sc4_200_std, sc4_state ) MCFG_STARPOINT_RM20_48STEP_ADD("reel4") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel5") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel6") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) MACHINE_CONFIG_END @@ -831,7 +831,7 @@ MACHINE_CONFIG_END //6 reels, last 200 steps MACHINE_CONFIG_START( sc4_200_alt, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -841,7 +841,7 @@ MACHINE_CONFIG_START( sc4_200_alt, sc4_state ) MCFG_STARPOINT_200STEP_ADD("reel4") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel5") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel6") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) MACHINE_CONFIG_END @@ -849,7 +849,7 @@ MACHINE_CONFIG_END //6 reels, RL4 200 steps MACHINE_CONFIG_START( sc4_200_alta, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -859,7 +859,7 @@ MACHINE_CONFIG_START( sc4_200_alta, sc4_state ) MCFG_STARPOINT_RM20_48STEP_ADD("reel4") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel5") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel6") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) MACHINE_CONFIG_END @@ -867,7 +867,7 @@ MACHINE_CONFIG_END //6 reels, 3 48 step, 3 200 step MACHINE_CONFIG_START( sc4_200_altb, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_200STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel2") @@ -877,7 +877,7 @@ MACHINE_CONFIG_START( sc4_200_altb, sc4_state ) MCFG_STARPOINT_RM20_48STEP_ADD("reel4") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel5") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel6") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) MACHINE_CONFIG_END @@ -885,7 +885,7 @@ MACHINE_CONFIG_END //5 reels, last one 200 steps MACHINE_CONFIG_START( sc4_200_5r, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -893,9 +893,9 @@ MACHINE_CONFIG_START( sc4_200_5r, sc4_state ) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel4") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel5") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MACHINE_CONFIG_END @@ -903,16 +903,16 @@ MACHINE_CONFIG_END //5 reels, last one 200 steps, RL4 skipped MACHINE_CONFIG_START( sc4_200_5ra, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel2_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel5") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel6") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) MACHINE_CONFIG_END @@ -920,7 +920,7 @@ MACHINE_CONFIG_END //5 reels, last one 200 steps, RL5 skipped MACHINE_CONFIG_START( sc4_200_5rb, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -937,24 +937,24 @@ MACHINE_CONFIG_END //5 reels, RL5 200 steps, RL4 skipped MACHINE_CONFIG_START( sc4_200_5rc, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel2_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) - + MCFG_STARPOINT_200STEP_ADD("reel5") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel5_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel6") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) MACHINE_CONFIG_END //4 reels, last one 200 steps MACHINE_CONFIG_START( sc4_200_4r, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -962,13 +962,13 @@ MACHINE_CONFIG_START( sc4_200_4r, sc4_state ) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel4") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MACHINE_CONFIG_END //4 reels, last one 200 steps, RL4 skipped MACHINE_CONFIG_START( sc4_200_4ra, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") @@ -984,21 +984,21 @@ MACHINE_CONFIG_END //4 reels, last one 200 steps, RL4,5 skipped MACHINE_CONFIG_START( sc4_200_4rb, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel2_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) - + MCFG_STARPOINT_200STEP_ADD("reel6") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel6_optic_cb)) MACHINE_CONFIG_END MACHINE_CONFIG_START( sc4_4reel_200, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_200STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel2") @@ -1006,12 +1006,12 @@ MACHINE_CONFIG_START( sc4_4reel_200, sc4_state ) MCFG_STARPOINT_200STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel4") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MACHINE_CONFIG_END MACHINE_CONFIG_START( sc4_3reel_200, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_200STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel2") @@ -1023,7 +1023,7 @@ MACHINE_CONFIG_END MACHINE_CONFIG_START( sc4_3reel_200_48, sc4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_STARPOINT_200STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_200STEP_ADD("reel2") @@ -1031,7 +1031,7 @@ MACHINE_CONFIG_START( sc4_3reel_200_48, sc4_state ) MCFG_STARPOINT_200STEP_ADD("reel3") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel3_optic_cb)) MCFG_STARPOINT_48STEP_ADD("reel4") - MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) + MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel4_optic_cb)) MACHINE_CONFIG_END MACHINE_CONFIG_START( sc4_no_reels, sc4_state ) @@ -1047,7 +1047,7 @@ MACHINE_START_MEMBER(sc4_adder4_state,adder4) MACHINE_CONFIG_START( sc4_adder4, sc4_adder4_state ) MCFG_FRAGMENT_ADD(sc4_common) - + MCFG_CPU_ADD("adder4", M68340, 25175000) // 68340 (CPU32 core) MCFG_CPU_PROGRAM_MAP(sc4_adder4_map) @@ -1066,7 +1066,7 @@ MACHINE_CONFIG_START( sc4dmd, sc4_state ) MCFG_CPU_PERIODIC_INT_DRIVER(sc4_state, nmi_line_assert, 1500 ) /* generate 1500 NMI's per second ?? what is the exact freq?? */ MCFG_MACHINE_START_OVERRIDE(sc4_state, sc4 ) - + MCFG_STARPOINT_RM20_48STEP_ADD("reel1") MCFG_STEPPER_OPTIC_CALLBACK(WRITELINE(sc4_state, reel1_optic_cb)) MCFG_STARPOINT_RM20_48STEP_ADD("reel2") |