mirror of
https://github.com/holub/mame
synced 2025-06-19 18:56:40 +03:00
fixed MAMETesters bug 3278 [Hau]
now confirming on real machine
This commit is contained in:
parent
dc3b29f1b7
commit
dda0722d33
@ -1612,26 +1612,22 @@ MACHINE_DRIVER_END
|
|||||||
/* */
|
/* */
|
||||||
/*******************************************************/
|
/*******************************************************/
|
||||||
|
|
||||||
|
static WRITE8_HANDLER( steelwkr_sh_port_3_w )
|
||||||
|
{
|
||||||
|
coin_lockout_global_w(!(~data & 0x03)); /* possibly */
|
||||||
|
}
|
||||||
|
|
||||||
static ADDRESS_MAP_START( steelwkr_io_map, ADDRESS_SPACE_IO, 8 )
|
static ADDRESS_MAP_START( steelwkr_io_map, ADDRESS_SPACE_IO, 8 )
|
||||||
AM_RANGE(0x00, 0x00) AM_READ_PORT("IN0")
|
|
||||||
AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
|
AM_RANGE(0x01, 0x01) AM_READ_PORT("IN1")
|
||||||
AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_WRITE(mb14241_0_shift_count_w)
|
AM_RANGE(0x02, 0x02) AM_READ_PORT("IN2") AM_WRITE(mb14241_0_shift_count_w)
|
||||||
AM_RANGE(0x03, 0x03) AM_READWRITE(mb14241_0_shift_result_r, invadpt2_sh_port_1_w)
|
AM_RANGE(0x03, 0x03) AM_READWRITE(mb14241_0_shift_result_r, invadpt2_sh_port_1_w)
|
||||||
AM_RANGE(0x04, 0x04) AM_WRITE(mb14241_0_shift_data_w)
|
AM_RANGE(0x04, 0x04) AM_WRITE(mb14241_0_shift_data_w)
|
||||||
AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
|
AM_RANGE(0x05, 0x05) AM_WRITE(invadpt2_sh_port_2_w)
|
||||||
AM_RANGE(0x06, 0x06) AM_WRITENOP /* ? */
|
AM_RANGE(0x06, 0x06) AM_WRITE(steelwkr_sh_port_3_w)
|
||||||
ADDRESS_MAP_END
|
ADDRESS_MAP_END
|
||||||
|
|
||||||
static INPUT_PORTS_START( steelwkr )
|
static INPUT_PORTS_START( steelwkr )
|
||||||
PORT_START("IN0")
|
/* PORT_START("IN0") - never read */
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
|
|
||||||
|
|
||||||
PORT_START("IN1")
|
PORT_START("IN1")
|
||||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
|
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||||
@ -1661,8 +1657,6 @@ static INPUT_PORTS_START( steelwkr )
|
|||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
|
||||||
|
|
||||||
/* same as regular invaders, but with a color board added */
|
|
||||||
|
|
||||||
static MACHINE_DRIVER_START( steelwkr )
|
static MACHINE_DRIVER_START( steelwkr )
|
||||||
|
|
||||||
/* basic machine hardware */
|
/* basic machine hardware */
|
||||||
|
Loading…
Reference in New Issue
Block a user