summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rc2014/micro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/rc2014/micro.cpp')
-rw-r--r--src/devices/bus/rc2014/micro.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/rc2014/micro.cpp b/src/devices/bus/rc2014/micro.cpp
index f818dcd8c7f..be085f2dbe1 100644
--- a/src/devices/bus/rc2014/micro.cpp
+++ b/src/devices/bus/rc2014/micro.cpp
@@ -27,7 +27,7 @@ class rc2014_micro : public device_t, public device_rc2014_card_interface
{
public:
// construction/destruction
- rc2014_micro(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ rc2014_micro(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
private:
// device-level overrides
@@ -55,7 +55,7 @@ private:
static constexpr XTAL MAIN_CLOCK = XTAL(7'372'800);
};
-rc2014_micro::rc2014_micro(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+rc2014_micro::rc2014_micro(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, RC2014_MICRO, tag, owner, clock)
, device_rc2014_card_interface(mconfig, *this)
, m_maincpu(*this, "maincpu")
@@ -121,7 +121,7 @@ void rc2014_micro::device_add_mconfig(machine_config &config)
clock.signal_handler().append(m_acia, FUNC(acia6850_device::write_txc));
clock.signal_handler().append(m_acia, FUNC(acia6850_device::write_rxc));
- ACIA6850(config, m_acia, 0);
+ ACIA6850(config, m_acia);
m_acia->txd_handler().set("rs232", FUNC(rs232_port_device::write_txd));
m_acia->txd_handler().append(FUNC(rc2014_micro::tx_w));
m_acia->rts_handler().set("rs232", FUNC(rs232_port_device::write_rts));
@@ -175,7 +175,7 @@ class rc2014_mini_cpm : public device_t, public device_rc2014_card_interface
{
public:
// construction/destruction
- rc2014_mini_cpm(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ rc2014_mini_cpm(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device-level overrides
@@ -209,7 +209,7 @@ private:
memory_bank_creator m_rambank;
};
-rc2014_mini_cpm::rc2014_mini_cpm(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+rc2014_mini_cpm::rc2014_mini_cpm(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, RC2014_MINI_CPM, tag, owner, clock)
, device_rc2014_card_interface(mconfig, *this)
, m_ata(*this, "ata")