and back to 8-way again, as shown in the manual

This commit is contained in:
hap 2015-05-20 14:42:45 +02:00
parent fde2e4db3f
commit 9157447635

View File

@ -41,7 +41,7 @@ CHIP # POSITION TYPE
14 19E " "
Upright or Cocktail cabinet
Two 4-Way joysticks with three (3) fire buttons each
Two 8-Way joysticks with three (3) fire buttons each
Button 1: Laser Button 2: Missle Button 3: Cutter
@ -117,7 +117,7 @@ static ADDRESS_MAP_START( flower_cpu1_2, AS_PROGRAM, 8, flower_state )
AM_RANGE(0xa002, 0xa002) AM_WRITE(flower_maincpu_irq_ack)
AM_RANGE(0xa003, 0xa003) AM_WRITE(flower_subcpu_irq_ack)
AM_RANGE(0xa004, 0xa004) AM_WRITE(flower_coin_counter_w)
AM_RANGE(0xa005, 0xa005) AM_WRITENOP // subcpu nmi (unused)
AM_RANGE(0xa005, 0xa005) AM_WRITENOP // subcpu nmi (unused)
AM_RANGE(0xa100, 0xa100) AM_READ_PORT("IN0CPU1")
AM_RANGE(0xa101, 0xa101) AM_READ_PORT("IN1CPU1")
AM_RANGE(0xa102, 0xa102) AM_READ_PORT("IN0CPU0")
@ -196,20 +196,20 @@ static INPUT_PORTS_START( flower )
PORT_DIPSETTING( 0x00, "50k, then every 80k" )
PORT_START("IN0CPU1")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Laser")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Missile")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 Cutter")
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_START("IN1CPU1")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_COCKTAIL
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_COCKTAIL
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_COCKTAIL
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_COCKTAIL
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL PORT_NAME("P2 Laser")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL PORT_NAME("P2 Missile")
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_COCKTAIL PORT_NAME("P2 Cutter")