summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tmc600.cpp
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2017-11-22 21:32:52 +0200
committer Curt Coder <curtcoder@mail.com>2017-11-22 21:50:47 +0200
commit0068ae654749b1a4be0bb3d95994e78886173a9b (patch)
tree2f7d43662f58dbf3ad2c03606b5e0b8ae569fb3c /src/mame/video/tmc600.cpp
parent220443f85b2f89b7497987a697e4d47886bad1f2 (diff)
tmc600: Fixed cursor blink rate. [Curt Coder]
Diffstat (limited to 'src/mame/video/tmc600.cpp')
-rw-r--r--src/mame/video/tmc600.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/mame/video/tmc600.cpp b/src/mame/video/tmc600.cpp
index 86c9e7562c0..3f5a0e9b9ab 100644
--- a/src/mame/video/tmc600.cpp
+++ b/src/mame/video/tmc600.cpp
@@ -69,18 +69,19 @@ CDP1869_PCB_READ_MEMBER( tmc600_state::tmc600_pcb_r )
WRITE_LINE_MEMBER( tmc600_state::prd_w )
{
- if (state) {
+ if (!state) {
m_frame++;
+
+ switch (m_frame) {
+ case 8:
+ m_maincpu->int_w(CLEAR_LINE);
+ break;
- switch (m_frame)
- {
- case 31:
- m_frame = 0;
- m_blink = !m_blink;
- // fallthru
- case 15:
- m_maincpu->int_w(m_rtc_int);
- break;
+ case 16:
+ m_maincpu->int_w(m_rtc_int);
+ m_blink = !m_blink;
+ m_frame = 0;
+ break;
}
}
}