Previous 199869 Revisions Next

r19647 Tuesday 18th December, 2012 at 10:03:05 UTC by Robbbert
Polaris : cleaned up cocktail switch
[src/mame/audio]8080bw.c
[src/mame/drivers]8080bw.c

trunk/src/mame/audio/8080bw.c
r19646r19647
704704
705705   coin_lockout_global_w(machine(), data & 0x04);  /* SX8 */
706706
707   m_c8080bw_flip_screen = BIT(data, 5) & BIT(ioport(CABINET_PORT_TAG)->read(), 0); /* SX11 */
707   m_c8080bw_flip_screen = BIT(data, 5) & BIT(ioport("IN2")->read(), 2); /* SX11 */
708708
709709   /* 0x01 - SX6 - Plane Down */
710710   discrete_sound_w(m_discrete, space, POLARIS_SX6_EN, data & 0x01);
trunk/src/mame/drivers/8080bw.c
r19646r19647
12271227   // Name Reset - if name of high scorer was rude, owner can press this button
12281228   PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Name Reset") PORT_CODE(KEYCODE_F1)
12291229   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_TILT )
1230   PORT_DIPNAME( 0x40, 0x00, "Cabinet" )   PORT_DIPLOCATION("SW1:6")
1231   PORT_DIPSETTING(    0x00, "Upright" )
1232   PORT_DIPSETTING(    0x40, "Cocktail" )
1230   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:6")
1231   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1232   PORT_DIPSETTING(    0x40, DEF_STR( Cocktail ) )
12331233   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
12341234
12351235   PORT_START("VR1")
r19646r19647
16701670   PORT_DIPSETTING(    0x01, "4" )
16711671   PORT_DIPSETTING(    0x02, "5" )
16721672   PORT_DIPSETTING(    0x03, "6" )
1673   /* 0x04 should be Cabinet - Upright/Cocktail,
1674       but until the cocktail hack is changed,
1675       this will have to do. */
1676   PORT_DIPNAME( 0x04, 0x00, "Number of Controls" )   PORT_DIPLOCATION("SW1:3")
1677   PORT_DIPSETTING(    0x00, "1" )
1678   PORT_DIPSETTING(    0x04, "2" )
1673   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("SW1:3")
1674   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
1675   PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
16791676   PORT_DIPNAME( 0x08, 0x00, "Invincible Test" )      PORT_DIPLOCATION("SW1:4")
16801677   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
16811678   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
r19646r19647
16901687   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
16911688   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
16921689
1693   /* Dummy port for cocktail mode */
1694   INVADERS_CAB_TYPE_PORT
1695
16961690   PORT_START("VR1")
16971691   PORT_ADJUSTER( 80, "Sub Volume VR1" )
16981692

Previous 199869 Revisions Next


© 1997-2024 The MAME Team