mirror of
https://github.com/holub/mame
synced 2025-06-13 16:15:32 +03:00
mos8520: tod is not latched when CRB_ALARM is set
This commit is contained in:
parent
19162d83e1
commit
361e11b3a7
@ -926,7 +926,9 @@ uint8_t mos8520_device::read(offs_t offset)
|
|||||||
switch (offset & 0x0f)
|
switch (offset & 0x0f)
|
||||||
{
|
{
|
||||||
case TOD_MIN:
|
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_latched = true;
|
||||||
m_tod_latch = m_tod;
|
m_tod_latch = m_tod;
|
||||||
|
Loading…
Reference in New Issue
Block a user