Previous 199869 Revisions Next

r31488 Saturday 2nd August, 2014 at 05:12:06 UTC by Brian Troha
speedbal.c: Give Music Ball it's own correct Bonus dipswitch settings. Add dipswitch locations to Speed Ball & Music Ball. [Brian Troha]
[src/mame/drivers]speedbal.c

trunk/src/mame/drivers/speedbal.c
r31487r31488
116116
117117static INPUT_PORTS_START( speedbal )
118118   PORT_START("DSW1")
119   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) )
119   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW2:1,2")
120120   PORT_DIPSETTING(    0x03, DEF_STR( 1C_2C ) )
121121   PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
122122   PORT_DIPSETTING(    0x01, DEF_STR( 1C_4C ) )
123123   PORT_DIPSETTING(    0x00, DEF_STR( 1C_5C ) )
124   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_A ) )
124   PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW2:3,4")
125125   PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
126126   PORT_DIPSETTING(    0x04, DEF_STR( 3C_1C ) )
127127   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
128128   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
129   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
129   PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:5,6")
130130   PORT_DIPSETTING(    0x00, "2" )
131131   PORT_DIPSETTING(    0x30, "3" )
132132   PORT_DIPSETTING(    0x20, "4" )
133133   PORT_DIPSETTING(    0x10, "5" )
134   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )
134   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:7")
135135   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
136136   PORT_DIPSETTING(    0x40, DEF_STR( Cocktail ) )
137   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) )
137   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:8")
138138   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
139139   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
140140
141141   PORT_START("DSW2")
142   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Bonus_Life ) )
142   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:1,2,3")
143143   PORT_DIPSETTING(    0x06, "70000 200000 1M" )
144144   PORT_DIPSETTING(    0x07, "70000 200000" )
145145   PORT_DIPSETTING(    0x03, "100000 300000 1M" )
r31487r31488
148148   PORT_DIPSETTING(    0x05, "200000" )
149149   PORT_DIPSETTING(    0x02, "200000 (duplicate)" )
150150   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
151   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
151   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4")
152152   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
153153   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
154   PORT_DIPNAME( 0x30, 0x30, "Difficulty 1" )
154   PORT_DIPNAME( 0x30, 0x30, "Difficulty 1" ) PORT_DIPLOCATION("SW1:5,6")
155155   PORT_DIPSETTING(    0x30, DEF_STR( Very_Easy) )
156156   PORT_DIPSETTING(    0x20, DEF_STR( Easy ) )
157157   PORT_DIPSETTING(    0x10, DEF_STR( Difficult ) )
158158   PORT_DIPSETTING(    0x00, DEF_STR( Very_Difficult ) )
159   PORT_DIPNAME( 0xc0, 0xc0, "Difficulty 2" )
159   PORT_DIPNAME( 0xc0, 0xc0, "Difficulty 2" ) PORT_DIPLOCATION("SW1:7,8")
160160   PORT_DIPSETTING(    0xc0, DEF_STR( Very_Easy) )
161161   PORT_DIPSETTING(    0x80, DEF_STR( Easy ) )
162162   PORT_DIPSETTING(    0x40, DEF_STR( Difficult ) )
r31487r31488
183183   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
184184INPUT_PORTS_END
185185
186static INPUT_PORTS_START( musicbal )
187   PORT_INCLUDE(speedbal)
186188
189   PORT_MODIFY("DSW2")
190   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Bonus_Life ) ) PORT_DIPLOCATION("SW1:1,2,3")
191   PORT_DIPSETTING(    0x03, "1M 2M 2.5M" )
192   PORT_DIPSETTING(    0x06, "1.2M 1.8M 2.5M" )
193   PORT_DIPSETTING(    0x07, "1.2M 1.8M" )
194   PORT_DIPSETTING(    0x04, "1.5M 2M" )
195   PORT_DIPSETTING(    0x05, "1.5M" )
196   PORT_DIPSETTING(    0x01, "1.8M 2.5M" )
197   PORT_DIPSETTING(    0x02, "1.8M" )
198   PORT_DIPSETTING(    0x00, DEF_STR( None ) )
199INPUT_PORTS_END
187200
201
202
188203static const gfx_layout charlayout =
189204{
190205   8,8,    /* 8*8 characters */
r31487r31488
361376
362377
363378GAMEL( 1987, speedbal, 0,        speedbal, speedbal, speedbal_state, speedbal, ROT270, "Tecfri / Desystem S.A.", "Speed Ball", 0, layout_speedbal )
364GAMEL( 1988, musicbal, 0,        speedbal, speedbal, speedbal_state, musicbal, ROT270, "Tecfri / Desystem S.A.", "Music Ball", 0, layout_speedbal )
379GAMEL( 1988, musicbal, 0,        speedbal, musicbal, speedbal_state, musicbal, ROT270, "Tecfri / Desystem S.A.", "Music Ball", 0, layout_speedbal )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team