From 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 16 Jun 2022 12:47:52 +0200 Subject: full xtal conversion --- src/devices/machine/com8116.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/devices/machine/com8116.cpp') diff --git a/src/devices/machine/com8116.cpp b/src/devices/machine/com8116.cpp index 38364b4b101..6645d01200d 100644 --- a/src/devices/machine/com8116.cpp +++ b/src/devices/machine/com8116.cpp @@ -88,7 +88,7 @@ const int com8116_device::divisors_16X_4_6080MHz[16] = // com8116_device - constructor //------------------------------------------------- -com8116_device::com8116_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const int *divisors) : +com8116_device::com8116_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, const int *divisors) : device_t(mconfig, type, tag, owner, clock), m_fx4_handler(*this), m_fr_handler(*this), @@ -97,32 +97,32 @@ com8116_device::com8116_device(const machine_config &mconfig, device_type type, { } -com8116_device::com8116_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +com8116_device::com8116_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : com8116_device(mconfig, COM8116, tag, owner, clock, divisors_16X_5_0688MHz) { } -com8116_003_device::com8116_003_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +com8116_003_device::com8116_003_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : com8116_device(mconfig, COM8116_003, tag, owner, clock, divisors_16X_6_01835MHz) { } -com5016_5_device::com5016_5_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +com5016_5_device::com5016_5_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : com8116_device(mconfig, COM5016_5, tag, owner, clock, divisors_16X_4_9152MHz) { } -com5016_013_device::com5016_013_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +com5016_013_device::com5016_013_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : com8116_device(mconfig, COM5016_013, tag, owner, clock, divisors_16X_2_7648MHz) { } -com8116_020_device::com8116_020_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +com8116_020_device::com8116_020_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : com8116_device(mconfig, COM8116_020, tag, owner, clock, divisors_16X_1_8432MHz) { } -k1135ab_device::k1135ab_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +k1135ab_device::k1135ab_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : com8116_device(mconfig, K1135AB, tag, owner, clock, divisors_16X_5_0688MHz) { } -- cgit v1.2.3-70-g09d2