starwars: Remedy for MT #6672

This commit is contained in:
AJR 2017-09-02 21:38:57 -04:00
parent 1dba116ace
commit 3bdf02b97d
3 changed files with 10 additions and 0 deletions

View File

@ -56,6 +56,13 @@ WRITE8_MEMBER(starwars_state::r6532_porta_w)
*
*************************************/
WRITE_LINE_MEMBER(starwars_state::boost_interleave_hack)
{
if (state)
machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(100));
}
READ8_MEMBER(starwars_state::starwars_main_ready_flag_r)
{
return m_riot->porta_in_get() & 0xc0; /* only upper two flag bits mapped */

View File

@ -362,9 +362,11 @@ static MACHINE_CONFIG_START( starwars )
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(DEVWRITELINE("riot", riot6532_device, pa7_w))
MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(starwars_state, boost_interleave_hack))
MCFG_GENERIC_LATCH_8_ADD("mainlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(DEVWRITELINE("riot", riot6532_device, pa6_w))
MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE(starwars_state, boost_interleave_hack))
MACHINE_CONFIG_END

View File

@ -71,6 +71,7 @@ public:
DECLARE_WRITE8_MEMBER(starwars_math_w);
DECLARE_CUSTOM_INPUT_MEMBER(matrix_flag_r);
DECLARE_READ8_MEMBER(starwars_main_ready_flag_r);
DECLARE_WRITE_LINE_MEMBER(boost_interleave_hack);
DECLARE_WRITE8_MEMBER(starwars_soundrst_w);
DECLARE_WRITE8_MEMBER(quad_pokeyn_w);
DECLARE_DRIVER_INIT(esb);