summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/apollo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/apollo.cpp')
-rw-r--r--src/mame/machine/apollo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/apollo.cpp b/src/mame/machine/apollo.cpp
index 6dfaa6d24e6..727e19be32e 100644
--- a/src/mame/machine/apollo.cpp
+++ b/src/mame/machine/apollo.cpp
@@ -1100,13 +1100,13 @@ MACHINE_CONFIG_START(apollo_state::common)
MCFG_DEVICE_ADD("ptmclock", CLOCK, 250000)
MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE(*this, apollo_state, apollo_ptm_timer_tick))
- MCFG_DEVICE_ADD(APOLLO_RTC_TAG, MC146818, 32.768_kHz_XTAL)
+ MC146818(config, m_rtc, 32.768_kHz_XTAL);
// FIXME: is this interrupt really only connected on DN3000?
- //MCFG_MC146818_IRQ_HANDLER(WRITELINE(*this, apollo_state, apollo_rtc_irq_function))
- MCFG_MC146818_UTC(true)
- MCFG_MC146818_BINARY(false)
- MCFG_MC146818_24_12(false)
- MCFG_MC146818_EPOCH(0)
+ //m_rtc->irq().set(FUNC(apollo_state::apollo_rtc_irq_function));
+ m_rtc->set_use_utc(true);
+ m_rtc->set_binary(false);
+ m_rtc->set_24hrs(false);
+ m_rtc->set_epoch(0);
MCFG_APOLLO_NI_ADD(APOLLO_NI_TAG, 0)