mirror of
https://github.com/holub/mame
synced 2025-10-06 00:54:22 +03:00
act5a: Better way to reset cursor blink (nw)
This commit is contained in:
parent
60ca98d14c
commit
7b752230e3
@ -256,6 +256,15 @@ bool microterm_f8_state::poll_keyboard()
|
|||||||
|
|
||||||
READ8_MEMBER(microterm_f8_state::key_r)
|
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;
|
return m_keylatch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -276,11 +285,6 @@ READ8_MEMBER(microterm_f8_state::port00_r)
|
|||||||
WRITE8_MEMBER(microterm_f8_state::port00_w)
|
WRITE8_MEMBER(microterm_f8_state::port00_w)
|
||||||
{
|
{
|
||||||
m_port00 = data;
|
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)
|
READ8_MEMBER(microterm_f8_state::port01_r)
|
||||||
|
Loading…
Reference in New Issue
Block a user