From c67e27f4e9b36f6b37dcb29ff5eb2afe5ffe5219 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Sat, 4 Feb 2012 15:01:38 +0000 Subject: [PATCH] Work-around for MT #4656 --- src/emu/machine/msm6242.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/emu/machine/msm6242.c b/src/emu/machine/msm6242.c index cc859c84e28..f62f9462dfc 100644 --- a/src/emu/machine/msm6242.c +++ b/src/emu/machine/msm6242.c @@ -2,12 +2,10 @@ MSM6242 Real Time Clock - Note: - - this RTC has a y2k bug - TODO: - HOLD mechanism - IRQ ACK + - why skns tries to read uninitialized registers? ***************************************************************************/ @@ -150,9 +148,10 @@ void msm6242_device::device_start() m_irq_flag = 0; m_irq_type = 0; + /* TODO: skns writes 0x4 to D then expects E == 6 and F == 4, perhaps those are actually saved in the RTC CMOS? */ m_reg[0] = 0; - m_reg[1] = 0; - m_reg[2] = 0; + m_reg[1] = 0x6; + m_reg[2] = 0x4; }