mirror of
https://github.com/holub/mame
synced 2025-07-05 01:48:29 +03:00
mrisc: fixed subcpu reset. (nw)
This commit is contained in:
parent
f4cc0b912a
commit
1d08fdb511
@ -185,6 +185,9 @@ WRITE8_MEMBER(mephisto_risc_state::latch1_w)
|
|||||||
{
|
{
|
||||||
m_com_latch1 = data;
|
m_com_latch1 = data;
|
||||||
m_subcpu->set_input_line(ARM_FIRQ_LINE, ASSERT_LINE);
|
m_subcpu->set_input_line(ARM_FIRQ_LINE, ASSERT_LINE);
|
||||||
|
m_subcpu->set_input_line(INPUT_LINE_RESET, (data & 0x02) ? ASSERT_LINE : CLEAR_LINE);
|
||||||
|
if (data & 0x02)
|
||||||
|
m_subcpu->space(AS_PROGRAM).install_rom(0x00000000, 0x0000007f, memregion("arm_bootstrap")->base());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user