From d78c88c4273bbbbd04f940385b4046e9a9734db1 Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Wed, 15 Mar 2023 14:37:16 +0200 Subject: mos6530n: Keep timer running forever past terminal count. [Curt Coder] MAME Testers bugs fixed ----------------------- - 06629: [Side-by-side] (atari/a7800.cpp): a7800 a7800p: Incorrect RIOT Behavior (Curt Coder) --- src/devices/machine/mos6530n.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/devices/machine/mos6530n.cpp b/src/devices/machine/mos6530n.cpp index fab3833e387..0c3ae52cc5b 100644 --- a/src/devices/machine/mos6530n.cpp +++ b/src/devices/machine/mos6530n.cpp @@ -764,12 +764,10 @@ void mos6530_device_base::live_run(const attotime &limit) LOGTIMER("%s %s timer %02x\n", cur_live.tm.as_string(), name(), cur_live.value); - if (!cur_live.value) { - cur_live.state = IDLE; - return; - } - cur_live.tm += cur_live.period; + + live_delay(RUNNING_AFTER_INTERRUPT); + return; break; } } -- cgit v1.2.3