mirror of
https://github.com/holub/mame
synced 2025-05-17 19:24:59 +03:00
better fix for vendetta eeprom (credit to mamesick / Fabio Priuli)
This commit is contained in:
parent
f86d66dc97
commit
64164a3e97
@ -148,7 +148,7 @@ static READ8_HANDLER( vendetta_eeprom_r )
|
||||
|
||||
res |= 0x02; //konami_eeprom_ack() << 5; /* add the ack */
|
||||
|
||||
res |= input_port_read(space->machine, "EEPROM") & 0x0c; /* test switch */
|
||||
res |= input_port_read(space->machine, "EEPROM") & 0x0d; /* test switch */
|
||||
|
||||
if (init_eeprom_count)
|
||||
{
|
||||
@ -397,7 +397,7 @@ static INPUT_PORTS_START( vendet4p )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("EEPROM")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* EEPROM ready */
|
||||
PORT_SERVICE_NO_TOGGLE(0x04, IP_ACTIVE_LOW)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_VBLANK ) /* not really vblank, object related. Its timed, otherwise sprites flicker */
|
||||
@ -476,7 +476,7 @@ static INPUT_PORTS_START( esckids )
|
||||
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("EEPROM")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* EEPROM ready */
|
||||
PORT_SERVICE_NO_TOGGLE(0x04, IP_ACTIVE_LOW)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_VBLANK ) /* not really vblank, object related. Its timed, otherwise sprites flicker */
|
||||
|
Loading…
Reference in New Issue
Block a user