mirror of
https://github.com/holub/mame
synced 2025-07-06 02:18:09 +03:00
fix statusport bitmask
This commit is contained in:
parent
7650d73c24
commit
cdc46fda3a
@ -478,7 +478,7 @@ static READ8_DEVICE_HANDLER(hotsmash_ay_port_a_r)
|
||||
{
|
||||
superqix_state *state = device->machine().driver_data<superqix_state>();
|
||||
// logerror("%04x: ay_port_a_r and mcu_pending is %d\n",cpu_get_pc(&space->device()),state->m_from_mcu_pending);
|
||||
return state->ioport("SYSTEM")->read() | ((state->m_from_mcu_pending^1) << 7);
|
||||
return state->ioport("SYSTEM")->read() | 0x40 | ((state->m_from_mcu_pending^1) << 7);
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
@ -707,7 +707,7 @@ static INPUT_PORTS_START( pbillian )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL )
|
||||
|
||||
PORT_START("BUTTONS")
|
||||
@ -791,7 +791,7 @@ static INPUT_PORTS_START( hotsmash )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )//$49c
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )//$42d
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_SPECIAL ) // ?
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) // mcu status (0 = pending mcu->z80)
|
||||
|
||||
PORT_START("DIAL1")
|
||||
@ -857,7 +857,7 @@ static INPUT_PORTS_START( superqix )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SERVICE1 ) // doesn't work in bootleg
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_SPECIAL ) // Z80 status (pending mcu->z80)
|
||||
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_SPECIAL ) // Z80 status (pending z80->mcu)
|
||||
|
||||
PORT_START("P1")
|
||||
|
Loading…
Reference in New Issue
Block a user