diff options
author | Curt Coder <curtcoder@mail.com> | 2017-11-12 20:59:20 +0200 |
---|---|---|
committer | Curt Coder <curtcoder@mail.com> | 2017-11-12 21:19:36 +0200 |
commit | 23d1473dac75d2e475e3e88b8557fc15a2ec847a (patch) | |
tree | 5994837931f0a5e8e8713f7a7792e9e22f2f1190 /src/mame/video/tmc600.cpp | |
parent | 52ca12c3d68be7257f2ad5b5f13e2816d9bc991d (diff) |
tmc600: Implemented TMC-700 real time clock. [Curt Coder]
Diffstat (limited to 'src/mame/video/tmc600.cpp')
-rw-r--r-- | src/mame/video/tmc600.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/mame/video/tmc600.cpp b/src/mame/video/tmc600.cpp index 93c86807181..86c9e7562c0 100644 --- a/src/mame/video/tmc600.cpp +++ b/src/mame/video/tmc600.cpp @@ -72,10 +72,15 @@ WRITE_LINE_MEMBER( tmc600_state::prd_w ) if (state) { m_frame++; - if (m_frame == 32) { - m_frame = 0; - - m_blink = !m_blink; + switch (m_frame) + { + case 31: + m_frame = 0; + m_blink = !m_blink; + // fallthru + case 15: + m_maincpu->int_w(m_rtc_int); + break; } } } |