From 98998a91ec163fe7af5f066472aafa9f50d7ebf7 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 18 Mar 2023 19:09:25 -0400 Subject: alphasma.cpp: Fix regression from a8b6c64ed0888f638d87d596586d6562de31ae9d --- src/mame/skeleton/alphasma.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mame/skeleton/alphasma.cpp b/src/mame/skeleton/alphasma.cpp index b603fb5bbd8..f313a39fe7e 100644 --- a/src/mame/skeleton/alphasma.cpp +++ b/src/mame/skeleton/alphasma.cpp @@ -103,7 +103,8 @@ private: INPUT_CHANGED_MEMBER(alphasmart_state::kb_irq) { - m_maincpu->set_input_line(MC68HC11_IRQ_LINE, HOLD_LINE); + // IRQ on every key transition + m_maincpu->set_input_line(MC68HC11_IRQ_LINE, ASSERT_LINE); } uint8_t alphasmart_state::kb_r() @@ -121,6 +122,7 @@ uint8_t alphasmart_state::kb_r() void alphasmart_state::kb_matrixl_w(uint8_t data) { m_matrix[0] = data; + m_maincpu->set_input_line(MC68HC11_IRQ_LINE, CLEAR_LINE); } void alphasmart_state::kb_matrixh_w(uint8_t data) -- cgit v1.2.3