From d0458b0c7d5a6410e08569e9bed5bd042e7d7bd0 Mon Sep 17 00:00:00 2001 From: cracyc Date: Fri, 25 Jun 2021 21:02:42 -0500 Subject: [PATCH] hd63450: unhalt cpu if a dma bus error occurs --- src/devices/machine/hd63450.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/machine/hd63450.cpp b/src/devices/machine/hd63450.cpp index ec4647fd0db..9d8226c3f9e 100644 --- a/src/devices/machine/hd63450.cpp +++ b/src/devices/machine/hd63450.cpp @@ -520,6 +520,8 @@ void hd63450_device::set_error(int channel, uint8_t code) m_reg[channel].cer = code; m_reg[channel].ccr &= ~0xc0; + if (((m_reg[channel].dcr & 0xc0) == 0x00) || ((m_reg[channel].ocr & 3) == 1)) + m_cpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); // if the cpu is halted resume it set_irq(channel); }