Previous 199869 Revisions Next

r31698 Monday 18th August, 2014 at 22:37:14 UTC by David Haywood
better dipswitches for grndtour
[src/mame/drivers]iqblock.c

trunk/src/mame/drivers/iqblock.c
r31697r31698
205205
206206
207207
208static INPUT_PORTS_START( grndtour )
209   PORT_START("P1")
210   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
211   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )
212   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY
213   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY
214   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY
215   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY
216   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 )
217   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 )
218
219   PORT_START("P2")
220   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 )
221   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
222   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_8WAY PORT_COCKTAIL
223   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_8WAY PORT_COCKTAIL
224   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
225   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_8WAY PORT_COCKTAIL
226   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
227   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
228
229   PORT_START("EXTRA")
230   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 )               
231   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 )               
232   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_COCKTAIL
233   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_COCKTAIL
234   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
235
236   PORT_START("SW0")
237   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
238   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
239   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
240   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
241   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
242   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
243   PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coinage ) )
244   PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
245   PORT_DIPSETTING(    0x04, DEF_STR( 3C_1C ) )
246   PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
247   PORT_DIPSETTING(    0x1c, DEF_STR( 1C_1C ) )
248   PORT_DIPSETTING(    0x18, DEF_STR( 1C_2C ) )
249   PORT_DIPSETTING(    0x14, DEF_STR( 1C_3C ) )
250   PORT_DIPSETTING(    0x10, DEF_STR( 1C_4C ) )
251   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_6C ) )
252   PORT_DIPNAME( 0x20, 0x00, "Attract Music" ) // NOT Demo Sounds (SFX are always played?)
253   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
254   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
255   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Free_Play ) )
256   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
257   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
258   PORT_DIPNAME( 0x80, 0x80, "Gal Images" )
259   PORT_DIPSETTING(    0x00, "No" )
260   PORT_DIPSETTING(    0x80, "Yes" )
261
262   PORT_START("SW1")
263   PORT_DIPNAME( 0x01, 0x01, "Allow P2 to Join / Always Split Screen" )
264   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
265   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
266   // in Level test mode the following select the start level, do they have any effect during normal gameplay?
267   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
268   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
269   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
270   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
271   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
272   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
273   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
274   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
275   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
276   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
277   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
278   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
279   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
280   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
281   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
282   PORT_DIPNAME( 0xc0, 0xc0, "Test Mode" )
283   PORT_DIPSETTING(    0xc0, DEF_STR( Off ) )
284   PORT_DIPSETTING(    0x80, "Background Test" )
285   PORT_DIPSETTING(    0x40, "Input Test" )
286   PORT_DIPSETTING(    0x00, "Level Test / Debug Mode (use 5 above switches)" )
287INPUT_PORTS_END
288
208289static const gfx_layout tilelayout1 =
209290{
210291   8,8,
r31697r31698
451532
452533
453534GAME( 1993, iqblock,  0, iqblock,  iqblock, iqblock_state, iqblock,  ROT0, "IGS", "IQ-Block", 0 )
454GAME( 1993, grndtour, 0, iqblock,  iqblock, iqblock_state, grndtour, ROT0, "IGS", "Grand Tour", 0 )
535GAME( 1993, grndtour, 0, iqblock,  grndtour,iqblock_state, grndtour, ROT0, "IGS", "Grand Tour", 0 )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team