mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
dec8: increase quantum for games with mcu,
bang: tweak gun sensitivity
This commit is contained in:
parent
d2e55d2998
commit
44f91511ee
@ -1980,7 +1980,7 @@ void lastmisn_state::lastmisn(machine_config &config)
|
||||
m_mcu->port_out_cb<2>().set(FUNC(lastmisn_state::mcu_to_main_w));
|
||||
m_mcu->port_in_cb<3>().set_ioport("COIN");
|
||||
|
||||
config.set_maximum_quantum(attotime::from_hz(12000));
|
||||
config.set_perfect_quantum(m_mcu);
|
||||
|
||||
INPUT_MERGER_ANY_LOW(config, "coin").output_handler().set(FUNC(lastmisn_state::shackled_coin_irq));
|
||||
|
||||
@ -2097,7 +2097,7 @@ void gondo_state::gondo(machine_config &config)
|
||||
m_mcu->port_out_cb<2>().set(FUNC(gondo_state::mcu_to_main_w));
|
||||
m_mcu->port_in_cb<3>().set_ioport("COIN");
|
||||
|
||||
config.set_maximum_quantum(attotime::from_hz(6000));
|
||||
config.set_perfect_quantum(m_mcu);
|
||||
|
||||
// video hardware
|
||||
BUFFERED_SPRITERAM8(config, m_spriteram);
|
||||
@ -2155,7 +2155,7 @@ void ghostb_state::garyoret(machine_config &config)
|
||||
m_mcu->port_out_cb<2>().set(FUNC(ghostb_state::mcu_to_main_w));
|
||||
m_mcu->port_in_cb<3>().set_ioport("COIN");
|
||||
|
||||
config.set_maximum_quantum(attotime::from_hz(6000));
|
||||
config.set_perfect_quantum(m_mcu);
|
||||
|
||||
// video hardware
|
||||
BUFFERED_SPRITERAM8(config, m_spriteram);
|
||||
@ -2214,7 +2214,7 @@ void ghostb_state::ghostb(machine_config &config)
|
||||
m_mcu->port_out_cb<2>().set(FUNC(ghostb_state::mcu_to_main_w));
|
||||
m_mcu->port_in_cb<3>().set_ioport("COIN");
|
||||
|
||||
config.set_maximum_quantum(attotime::from_hz(6000));
|
||||
config.set_perfect_quantum(m_mcu);
|
||||
|
||||
// video hardware
|
||||
BUFFERED_SPRITERAM8(config, m_spriteram);
|
||||
@ -2280,7 +2280,7 @@ void csilver_state::csilver(machine_config &config)
|
||||
R65C02(config, m_audiocpu, 12_MHz_XTAL / 8); // verified on pcb
|
||||
m_audiocpu->set_addrmap(AS_PROGRAM, &csilver_state::sound_map); // NMIs are caused by the main CPU
|
||||
|
||||
config.set_maximum_quantum(attotime::from_hz(6000));
|
||||
config.set_perfect_quantum(m_mcu);
|
||||
|
||||
I8751(config, m_mcu, 8_MHz_XTAL);
|
||||
m_mcu->port_in_cb<0>().set(FUNC(csilver_state::i8751_port0_r));
|
||||
@ -2290,7 +2290,7 @@ void csilver_state::csilver(machine_config &config)
|
||||
m_mcu->port_out_cb<2>().set(FUNC(csilver_state::mcu_to_main_w));
|
||||
m_mcu->port_in_cb<3>().set_ioport("COIN");
|
||||
|
||||
config.set_perfect_quantum(m_maincpu);
|
||||
config.set_perfect_quantum(m_mcu);
|
||||
|
||||
// video hardware
|
||||
BUFFERED_SPRITERAM8(config, m_spriteram);
|
||||
@ -2410,7 +2410,7 @@ void srdarwin_state::srdarwin(machine_config &config)
|
||||
m_mcu->port_out_cb<2>().set(FUNC(srdarwin_state::mcu_to_main_w));
|
||||
m_mcu->port_in_cb<3>().set_ioport("COIN");
|
||||
|
||||
config.set_perfect_quantum(m_maincpu); // needed for stability with emulated MCU or sometimes commands get missed and game crashes at bosses
|
||||
config.set_perfect_quantum(m_mcu);
|
||||
|
||||
// video hardware
|
||||
BUFFERED_SPRITERAM8(config, m_spriteram);
|
||||
|
@ -1134,16 +1134,16 @@ static INPUT_PORTS_START( bang )
|
||||
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_CUSTOM ) // bit 7 is EEPROM ready
|
||||
|
||||
PORT_START("LIGHT0_X")
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(35) PORT_KEYDELTA(15) PORT_PLAYER(1)
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(1)
|
||||
|
||||
PORT_START("LIGHT1_X")
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(35) PORT_KEYDELTA(15) PORT_PLAYER(2)
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1.0, 0.0, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(2)
|
||||
|
||||
PORT_START("LIGHT0_Y")
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, -6.0 / 240, 0) PORT_SENSITIVITY(35) PORT_KEYDELTA(15) PORT_PLAYER(1)
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, -6.0 / 240, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(1)
|
||||
|
||||
PORT_START("LIGHT1_Y")
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, -6.0 / 240, 0) PORT_SENSITIVITY(35) PORT_KEYDELTA(15) PORT_PLAYER(2)
|
||||
PORT_BIT( 0xff, 0x80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1.0, -6.0 / 240, 0) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_PLAYER(2)
|
||||
INPUT_PORTS_END
|
||||
|
||||
void bang_state::bang(machine_config &config)
|
||||
|
Loading…
Reference in New Issue
Block a user