slapstic: alt4 must be done with /cs

avgdvg: don't interfere with the slapstic on esb
This commit is contained in:
Olivier Galibert 2021-05-27 20:31:50 +02:00
parent e93e9d834c
commit be5fc95f3d
2 changed files with 7 additions and 1 deletions

View File

@ -1086,6 +1086,9 @@ atari_slapstic_device::alt_select_101_110::alt_select_101_110(atari_slapstic_dev
void atari_slapstic_device::alt_select_101_110::test(offs_t addr) const
{
m_sl->logerror("Select %04x\n", addr);
if(addr == 0x32ae)
abort();
if(m_reset(addr)) {
m_sl->logerror("reset (%s)\n", m_sl->machine().describe_context());
m_sl->m_state = m_sl->m_s_active.get();
@ -1130,7 +1133,7 @@ void atari_slapstic_device::alt_select_111_118::test(offs_t addr) const
atari_slapstic_device::alt_commit::alt_commit(atari_slapstic_device *sl, const checker &check, const slapstic_data *data) : state(sl)
{
m_reset = check.test_reset();
m_commit = check.test_any(data->alt4);
m_commit = check.test_in(data->alt4);
}
void atari_slapstic_device::alt_commit::test(offs_t addr) const

View File

@ -885,6 +885,9 @@ void avg_mhavoc_device::vgrst() // mhavoc_vgrst
void avg_starwars_device::update_databus() // starwars_data
{
// Avoid interfering with the slapstic
auto dis = machine().disable_side_effects();
m_data = m_memspace->read_byte(m_membase + m_pc);
}