mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
Change Hyperdrive's upper serial number offset. (#8407)
* Change Hyperdrive's upper serial number offset. This now makes the game read its PIC as the correct ID instead of a development PIC. Other changes: - Remove player 3 and 4 inputs for games that don't use them
This commit is contained in:
parent
ecd38f82f6
commit
83cb240cc6
@ -1400,7 +1400,10 @@ static INPUT_PORTS_START( seattle_analog )
|
||||
|
||||
PORT_MODIFY("SYSTEM")
|
||||
PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_START1 ) PORT_NAME("Start Button")
|
||||
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x0620, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_MODIFY("IN2")
|
||||
PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
PORT_START("AN0") PORT_BIT( 0xff, 0x80, IPT_CUSTOM )
|
||||
PORT_START("AN1") PORT_BIT( 0xff, 0x80, IPT_CUSTOM )
|
||||
@ -1468,6 +1471,9 @@ static INPUT_PORTS_START( mace )
|
||||
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) PORT_NAME("P2 Evade")
|
||||
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) PORT_NAME("P2 Kick")
|
||||
|
||||
PORT_MODIFY("IN2")
|
||||
PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
@ -1548,9 +1554,9 @@ static INPUT_PORTS_START( calspeed )
|
||||
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON10 ) PORT_NAME("Radio")
|
||||
PORT_BIT( 0x000c, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("View 1") //road cam
|
||||
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("View 2") //tailgate cam
|
||||
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("View 3") //sky cam
|
||||
PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME("View 1") // road cam
|
||||
PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_NAME("View 2") // tailgate cam
|
||||
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_NAME("View 3") // sky cam
|
||||
PORT_BIT( 0x0f80, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0xf000, IP_ACTIVE_HIGH, IPT_CUSTOM) PORT_CUSTOM_MEMBER(seattle_state, gearshift_r)
|
||||
|
||||
@ -1868,6 +1874,9 @@ static INPUT_PORTS_START( carnevil )
|
||||
PORT_MODIFY("IN1")
|
||||
PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("IN2")
|
||||
PORT_BIT( 0xffff, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("LIGHT0_X") //fake analog X
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(10)
|
||||
|
||||
@ -2109,7 +2118,7 @@ void seattle_state::wg3dh(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_STANDARD);
|
||||
m_ioasic->set_upper(310); // others?
|
||||
m_ioasic->set_upper(310); // no alternates
|
||||
m_ioasic->set_yearoffs(80);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
}
|
||||
@ -2123,7 +2132,7 @@ void seattle_state::mace(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_MACE);
|
||||
m_ioasic->set_upper(319); // others?
|
||||
m_ioasic->set_upper(319); // or 314
|
||||
m_ioasic->set_yearoffs(80);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
}
|
||||
@ -2152,7 +2161,7 @@ void seattle_state::sfrushrk(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_SFRUSHRK);
|
||||
m_ioasic->set_upper(331); // unknown
|
||||
m_ioasic->set_upper(331); // no alternates
|
||||
m_ioasic->set_yearoffs(100);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
m_ioasic->aux_output_handler().set(FUNC(seattle_state::wheel_board_w));
|
||||
@ -2173,7 +2182,7 @@ void seattle_state::calspeed(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_CALSPEED);
|
||||
m_ioasic->set_upper(328); // others?
|
||||
m_ioasic->set_upper(328); // 328 = 27"; may or may not have a 31" ID
|
||||
m_ioasic->set_yearoffs(100);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
m_ioasic->set_auto_ack(1);
|
||||
@ -2188,7 +2197,7 @@ void seattle_state::vaportrx(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_VAPORTRX);
|
||||
m_ioasic->set_upper(324); // 334? unknown
|
||||
m_ioasic->set_upper(324); // or 334
|
||||
m_ioasic->set_yearoffs(100);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
}
|
||||
@ -2202,7 +2211,7 @@ void seattle_state::biofreak(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_STANDARD);
|
||||
m_ioasic->set_upper(231); // unknown
|
||||
m_ioasic->set_upper(231); // no alternates
|
||||
m_ioasic->set_yearoffs(80);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
}
|
||||
@ -2263,7 +2272,7 @@ void seattle_state::carnevil(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_CARNEVIL);
|
||||
m_ioasic->set_upper(469); // or 486 or 528
|
||||
m_ioasic->set_upper(469); // 469 = 25"; 486 = 39";
|
||||
m_ioasic->set_yearoffs(80);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
}
|
||||
@ -2277,7 +2286,7 @@ void seattle_state::hyprdriv(machine_config &config)
|
||||
|
||||
MIDWAY_IOASIC(config, m_ioasic, 0);
|
||||
m_ioasic->set_shuffle(MIDWAY_IOASIC_HYPRDRIV);
|
||||
m_ioasic->set_upper(469); //unknown
|
||||
m_ioasic->set_upper(471); // 471 = 25"; 479 = 31"
|
||||
m_ioasic->set_yearoffs(80);
|
||||
m_ioasic->irq_handler().set(FUNC(seattle_state::ioasic_irq));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user