summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mos6526.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mos6526.cpp')
-rw-r--r--src/devices/machine/mos6526.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/machine/mos6526.cpp b/src/devices/machine/mos6526.cpp
index fae0b8618bc..f267a678e07 100644
--- a/src/devices/machine/mos6526.cpp
+++ b/src/devices/machine/mos6526.cpp
@@ -926,7 +926,9 @@ uint8_t mos8520_device::read(offs_t offset)
switch (offset & 0x0f)
{
case TOD_MIN:
- if (!m_tod_latched)
+ // tod is not latched when CRB_ALARM is set
+ // test case: amigaocs_flop:batman1
+ if (!m_tod_latched && !CRB_ALARM)
{
m_tod_latched = true;
m_tod_latch = m_tod;