summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/microterm_f8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/microterm_f8.cpp')
-rw-r--r--src/mame/drivers/microterm_f8.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/mame/drivers/microterm_f8.cpp b/src/mame/drivers/microterm_f8.cpp
index 88d512db37f..878b9c96c81 100644
--- a/src/mame/drivers/microterm_f8.cpp
+++ b/src/mame/drivers/microterm_f8.cpp
@@ -256,6 +256,15 @@ bool microterm_f8_state::poll_keyboard()
READ8_MEMBER(microterm_f8_state::key_r)
{
+ // Cursor is supposed to stop blinking temporarily when keys are depressed
+ // This implementation suspends cursor blinking when keys are actually read
+ // It also suspends blinking text, which perhaps is supposed to happen
+ if (!machine().side_effects_disabled())
+ {
+ m_blinkcount->reset_w(1);
+ m_blinkcount->reset_w(0);
+ }
+
return m_keylatch;
}
@@ -276,11 +285,6 @@ READ8_MEMBER(microterm_f8_state::port00_r)
WRITE8_MEMBER(microterm_f8_state::port00_w)
{
m_port00 = data;
-
- // Cursor is supposed to stop blinking temporarily when keys are depressed
- // This implementation suspends cursor blinking when keys are acknowledged and the cursor is repositioned
- // It also suspends blinking text, which perhaps is supposed to happen
- m_blinkcount->reset_w(BIT(data, 0));
}
READ8_MEMBER(microterm_f8_state::port01_r)