Previous 199869 Revisions Next

r18614 Saturday 20th October, 2012 at 00:05:43 UTC by hap
small update on brdrline dips
[src/mame/drivers]vicdual.c

trunk/src/mame/drivers/vicdual.c
r18613r18614
2929
3030    Notes:
3131        * Head On and Space Attack had both color and monochrome
32          versions.  There is a game configuration option to
33          switch between them
34        * There existed a vertical version of Head On as well
32          versions. There is a game configuration option to
33          switch between them.
34        * There existed a vertical version of Head On as well.
35        * According to the manuals, Borderline has the same sound
36          board as Tranquilizer Gun.
3537
3638    Known issues/to-do's:
3739        * Analog sound missing in many games
r18613r18614
4042          blue color gun, Carnival, for example.
4143          Colors inaccurate?  Blue background?
4244        * Do other games have coinage hardware like nsub?
45          brdrline and tranqgun have one too according to the manuals,
46          but hardware details aren't known yet.
4347        * DIP switches need verifying in most of the games
4448        * DIP switch locations need to be added to some
4549
r18613r18614
16001604   PORT_START("IN0")
16011605   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
16021606   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
1603   PORT_DIPNAME( 0x04, 0x04, "Infinite Lives (Cheat)" )   PORT_DIPLOCATION("SW1:1")
1604   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1605   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1606   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:5") // SW1 @ C1, 6-pos (is #6 unconnected?)
1607   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_fake_lives_r, (void *)0x001)
1608   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:5") // SW1 @ C1, 8-pos (is 6-8 unconnected?)
16071609   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
16081610   PORT_DIPSETTING(    0x08, DEF_STR( Cocktail ) )
16091611   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
r18613r18614
16131615   PORT_START("IN1")
16141616   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
16151617   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
1616   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_fake_lives_r, (void *)0x001)
1618   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_fake_lives_r, (void *)0x002)
16171619   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_vblank_comp, NULL)
16181620   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  ) PORT_4WAY
16191621   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
r18613r18614
16221624   PORT_START("IN2")
16231625   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
16241626   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
1625   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_fake_lives_r, (void *)0x002)
1627   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_fake_lives_r, (void *)0x004)
16261628   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_64v, NULL)   /* yes, this is different */
16271629   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
16281630   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
r18613r18614
16311633   PORT_START("IN3")
16321634   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
16331635   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
1634   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:4")
1635   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1636   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1636   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Bonus_Life ) )   PORT_DIPLOCATION("SW1:4")
1637   PORT_DIPSETTING(    0x04, "15000" )
1638   PORT_DIPSETTING(    0x00, "20000" )
16371639   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
16381640   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
16391641   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
r18613r18614
16421644   PORT_COIN_DEFAULT
16431645
16441646   PORT_START("FAKE_LIVES1")
1645   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,3")
1646   PORT_DIPSETTING(    0x00, "3" )
1647   PORT_DIPSETTING(    0x01, "4" )
1648   PORT_DIPSETTING(    0x02, "5" )
1649//  PORT_DIPSETTING(    0x03, "5" ) // dupe
1647   PORT_DIPNAME( 0x07, 0x01, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:1,2,3")
1648   PORT_DIPSETTING(    0x01, "3" )
1649   PORT_DIPSETTING(    0x02, "4" )
1650   PORT_DIPSETTING(    0x04, "5" )
1651   PORT_DIPSETTING(    0x07, "Infinite (Cheat)" )
16501652INPUT_PORTS_END
16511653
16521654
16531655static INPUT_PORTS_START( starrkr )
1654   PORT_START("IN0")
1655   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
1656   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
1657   PORT_DIPNAME( 0x04, 0x04, "Infinite Lives (Cheat)" )   PORT_DIPLOCATION("SW1:1")
1658   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1659   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1660   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:5") // SW1 @ C1, 6-pos (is #6 unconnected?)
1661   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1662   PORT_DIPSETTING(    0x08, DEF_STR( Cocktail ) )
1656   PORT_INCLUDE( brdrline )
1657
1658   PORT_MODIFY("IN0")
1659   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  ) PORT_4WAY PORT_COCKTAIL
16631660   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
16641661   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  ) PORT_4WAY
1665   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
16661662
1667   PORT_START("IN1")
1668   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
1669   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
1670   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_fake_lives_r, (void *)0x001)
1671   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_vblank_comp, NULL)
1672   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
1673   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP   ) PORT_4WAY
1674   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
1663   PORT_MODIFY("IN1")
1664   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    ) PORT_4WAY PORT_COCKTAIL
1665   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  ) PORT_4WAY
1666   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    ) PORT_4WAY
16751667
1676   PORT_START("IN2")
1668   PORT_MODIFY("IN2")
16771669   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
1678   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
1679   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_fake_lives_r, (void *)0x002)
1680   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_get_64v, NULL)   /* yes, this is different */
1681   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
1682   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 )
1683   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
16841670
1685   PORT_START("IN3")
1686   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
1687   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
1688   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unused ) )      PORT_DIPLOCATION("SW1:4")
1689   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
1690   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1691   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, vicdual_state,vicdual_read_coin_status, NULL)
1692   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* probably unused */
1693   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
1694   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
1695
1696   PORT_COIN_DEFAULT
1697
1698   PORT_START("FAKE_LIVES1")
1699   PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )      PORT_DIPLOCATION("SW1:2,3")
1700   PORT_DIPSETTING(    0x00, "3" )
1701   PORT_DIPSETTING(    0x01, "4" )
1702   PORT_DIPSETTING(    0x02, "5" )
1703//  PORT_DIPSETTING(    0x03, "5" ) // dupe
1671   PORT_MODIFY("IN3")
1672   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  ) PORT_4WAY PORT_COCKTAIL
17041673INPUT_PORTS_END
17051674
17061675
r18613r18614
34453414GAME( 1980, samurai,    0,        samurai,   samurai,   driver_device, 0, ROT270, "Sega", "Samurai", GAME_NO_SOUND )
34463415GAME( 1979, invinco,    0,        invinco,   invinco,   driver_device, 0, ROT270, "Sega", "Invinco", GAME_IMPERFECT_SOUND )
34473416GAME( 1979, invds,      0,        invds,     invds,     driver_device, 0, ROT270, "Sega", "Invinco / Deep Scan", GAME_IMPERFECT_SOUND )
3448GAME( 1980, tranqgun,   0,        tranqgun,  tranqgun,  driver_device, 0, ROT270, "Sega", "Tranquillizer Gun", GAME_NO_SOUND )
3417GAME( 1980, tranqgun,   0,        tranqgun,  tranqgun,  driver_device, 0, ROT270, "Sega", "Tranquilizer Gun", GAME_NO_SOUND )
34493418GAME( 1980, spacetrk,   0,        spacetrk,  spacetrk,  driver_device, 0, ROT270, "Sega", "Space Trek (upright)", GAME_NO_SOUND )
34503419GAME( 1980, spacetrkc,  spacetrk, spacetrk,  spacetrkc, driver_device, 0, ROT270, "Sega", "Space Trek (cocktail)", GAME_NO_SOUND )
34513420GAME( 1980, carnival,   0,        carnival,  carnival,  driver_device, 0, ROT270, "Sega", "Carnival (upright)", GAME_IMPERFECT_SOUND )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team