mirror of
https://github.com/holub/mame
synced 2025-05-31 18:11:50 +03:00
Polaris : cleaned up cocktail switch
This commit is contained in:
parent
73891c9e0a
commit
693871d0f2
@ -704,7 +704,7 @@ WRITE8_MEMBER(_8080bw_state::polaris_sh_port_3_w)
|
||||
|
||||
coin_lockout_global_w(machine(), data & 0x04); /* SX8 */
|
||||
|
||||
m_c8080bw_flip_screen = BIT(data, 5) & BIT(ioport(CABINET_PORT_TAG)->read(), 0); /* SX11 */
|
||||
m_c8080bw_flip_screen = BIT(data, 5) & BIT(ioport("IN2")->read(), 2); /* SX11 */
|
||||
|
||||
/* 0x01 - SX6 - Plane Down */
|
||||
discrete_sound_w(m_discrete, space, POLARIS_SX6_EN, data & 0x01);
|
||||
|
@ -1227,9 +1227,9 @@ static INPUT_PORTS_START( schaser )
|
||||
// Name Reset - if name of high scorer was rude, owner can press this button
|
||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_OTHER ) PORT_NAME("Name Reset") PORT_CODE(KEYCODE_F1)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_TILT )
|
||||
PORT_DIPNAME( 0x40, 0x00, "Cabinet" ) PORT_DIPLOCATION("SW1:6")
|
||||
PORT_DIPSETTING( 0x00, "Upright" )
|
||||
PORT_DIPSETTING( 0x40, "Cocktail" )
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:6")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( Cocktail ) )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
|
||||
|
||||
PORT_START("VR1")
|
||||
@ -1670,12 +1670,9 @@ static INPUT_PORTS_START( polaris )
|
||||
PORT_DIPSETTING( 0x01, "4" )
|
||||
PORT_DIPSETTING( 0x02, "5" )
|
||||
PORT_DIPSETTING( 0x03, "6" )
|
||||
/* 0x04 should be Cabinet - Upright/Cocktail,
|
||||
but until the cocktail hack is changed,
|
||||
this will have to do. */
|
||||
PORT_DIPNAME( 0x04, 0x00, "Number of Controls" ) PORT_DIPLOCATION("SW1:3")
|
||||
PORT_DIPSETTING( 0x00, "1" )
|
||||
PORT_DIPSETTING( 0x04, "2" )
|
||||
PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW1:3")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Upright ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Cocktail ) )
|
||||
PORT_DIPNAME( 0x08, 0x00, "Invincible Test" ) PORT_DIPLOCATION("SW1:4")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( On ) )
|
||||
@ -1690,9 +1687,6 @@ static INPUT_PORTS_START( polaris )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( On ) )
|
||||
|
||||
/* Dummy port for cocktail mode */
|
||||
INVADERS_CAB_TYPE_PORT
|
||||
|
||||
PORT_START("VR1")
|
||||
PORT_ADJUSTER( 80, "Sub Volume VR1" )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user