Previous 199869 Revisions Next

r26581 Tuesday 10th December, 2013 at 23:33:08 UTC by hap
Improved Sega Bloxeed dipswitches. [Zaphod]
[src/mame/drivers]segac2.c segas18.c

trunk/src/mame/drivers/segas18.c
r26580r26581
767767   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
768768
769769   PORT_MODIFY("DSW")
770   PORT_DIPNAME( 0x03, 0x03, "Price Type" ) PORT_DIPLOCATION("SW2:1,2") // Normal game | VS Mode
771   PORT_DIPSETTING(    0x03, "A" )     // 1 Start / 1 Continue | 2 Start / 1 Continue
772   PORT_DIPSETTING(    0x02, "B" )     // 1 Start / 1 Continue | 1 Start / 1 Continue
773   PORT_DIPSETTING(    0x01, "C" )     // 2 Start / 1 Continue | 4 Start / 2 Continue
774   PORT_DIPSETTING(    0x00, "D" )     // 2 Start / 1 Continue | 2 Start / 2 Continue
775   //"SW2:3" unused
776   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:4")
777   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
770   PORT_DIPNAME( 0x01, 0x01, "Allow VS Mode" )         PORT_DIPLOCATION("SW2:1")
771   PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
772   PORT_DIPSETTING(    0x00, DEF_STR( No ) )
773   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) )  PORT_DIPLOCATION("SW2:2")
774   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
778775   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
779   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6")
776   PORT_DIPNAME( 0x0c, 0x0c, "Lines Per Level" )       PORT_DIPLOCATION("SW2:3,4")
777   PORT_DIPSETTING(    0x04, "2" )
778   PORT_DIPSETTING(    0x00, "2" )
779   PORT_DIPSETTING(    0x0c, "3" )
780   PORT_DIPSETTING(    0x08, "4" )
781   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6")
780782   PORT_DIPSETTING(    0x20, DEF_STR( Easy ) )
781783   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
782784   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
783785   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
784   //"SW2:7" unused
785   PORT_DIPNAME( 0x80, 0x00, "High Speed Mode" ) PORT_DIPLOCATION("SW2:8")
786   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:7")
787   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
788   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
789   PORT_DIPNAME( 0x80, 0x00, "High Speed Mode" )       PORT_DIPLOCATION("SW2:8")
786790   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
787791   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
788792INPUT_PORTS_END
trunk/src/mame/drivers/segac2.c
r26580r26581
10751075   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )     /* Button 3 Unused */
10761076
10771077   PORT_MODIFY("DSW")
1078   PORT_DIPNAME( 0x01, 0x01, "VS Mode Price" ) PORT_DIPLOCATION("SW2:1")
1078   PORT_DIPNAME( 0x01, 0x01, "VS Mode Price" )         PORT_DIPLOCATION("SW2:1")
10791079   PORT_DIPSETTING(    0x00, "Same as Ordinary" )
10801080   PORT_DIPSETTING(    0x01, "Double as Ordinary" )
1081   PORT_DIPNAME( 0x02, 0x02, "Credits to Start" ) PORT_DIPLOCATION("SW2:2")
1081   PORT_DIPNAME( 0x02, 0x02, "Credits to Start" )      PORT_DIPLOCATION("SW2:2")
10821082   PORT_DIPSETTING(    0x02, "1" )
10831083   PORT_DIPSETTING(    0x00, "2" )
1084   //"SW2:3" unused
1085   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:4")
1084   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:3") // also coinage related?
1085   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1086   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1087   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )  PORT_DIPLOCATION("SW2:4")
10861088   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
10871089   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1088   //"SW2:5" unused
1089   //"SW2:6" unused
1090   //"SW2:7" unused
1091   //"SW2:8" unused
1090   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW2:5,6")
1091   PORT_DIPSETTING(    0x20, DEF_STR( Easy ) )
1092   PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
1093   PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
1094   PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
1095   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:7") // ?
1096   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
1097   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1098   PORT_DIPNAME( 0x80, 0x00, "High Speed Mode" )       PORT_DIPLOCATION("SW2:8")
1099   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1100   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
10921101INPUT_PORTS_END
10931102
10941103

Previous 199869 Revisions Next


© 1997-2024 The MAME Team