diff options
Diffstat (limited to 'src/devices/bus/epson_sio')
-rw-r--r-- | src/devices/bus/epson_sio/epson_sio.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/epson_sio/epson_sio.h | 4 | ||||
-rw-r--r-- | src/devices/bus/epson_sio/pf10.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/epson_sio/pf10.h | 2 | ||||
-rw-r--r-- | src/devices/bus/epson_sio/tf20.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/epson_sio/tf20.h | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/epson_sio/epson_sio.cpp b/src/devices/bus/epson_sio/epson_sio.cpp index adb75b853b7..a72f65f3028 100644 --- a/src/devices/bus/epson_sio/epson_sio.cpp +++ b/src/devices/bus/epson_sio/epson_sio.cpp @@ -53,7 +53,7 @@ device_epson_sio_interface::~device_epson_sio_interface() // epson_sio_device - constructor //------------------------------------------------- -epson_sio_device::epson_sio_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +epson_sio_device::epson_sio_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, EPSON_SIO, tag, owner, clock), device_single_card_slot_interface<device_epson_sio_interface>(mconfig, *this), m_cart(nullptr), diff --git a/src/devices/bus/epson_sio/epson_sio.h b/src/devices/bus/epson_sio/epson_sio.h index 99bf6bce7a3..e7a594d5709 100644 --- a/src/devices/bus/epson_sio/epson_sio.h +++ b/src/devices/bus/epson_sio/epson_sio.h @@ -26,7 +26,7 @@ class epson_sio_device : public device_t, public device_single_card_slot_interfa public: // construction/destruction epson_sio_device(machine_config const &mconfig, char const *tag, device_t *owner, char const *dflt) - : epson_sio_device(mconfig, tag, owner, (uint32_t)0) + : epson_sio_device(mconfig, tag, owner) { option_reset(); epson_sio_devices(*this); @@ -34,7 +34,7 @@ public: set_fixed(false); } - epson_sio_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0); + epson_sio_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); virtual ~epson_sio_device(); // callbacks diff --git a/src/devices/bus/epson_sio/pf10.cpp b/src/devices/bus/epson_sio/pf10.cpp index 067931da4e8..5fe21eeda1b 100644 --- a/src/devices/bus/epson_sio/pf10.cpp +++ b/src/devices/bus/epson_sio/pf10.cpp @@ -70,7 +70,7 @@ void epson_pf10_device::device_add_mconfig(machine_config &config) m_cpu->out_p2_cb().set(FUNC(epson_pf10_device::port2_w)); m_cpu->out_ser_tx_cb().set(FUNC(epson_pf10_device::hd6303_tx_w)); - UPD765A(config, m_fdc, 4'000'000, false, true); + UPD765A(config, m_fdc, XTAL::u(4'000'000), false, true); FLOPPY_CONNECTOR(config, m_floppy, pf10_floppies, "smd165", floppy_image_device::default_mfm_floppy_formats); EPSON_SIO(config, m_sio_output, nullptr); @@ -87,7 +87,7 @@ void epson_pf10_device::device_add_mconfig(machine_config &config) // epson_pf10_device - constructor //------------------------------------------------- -epson_pf10_device::epson_pf10_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +epson_pf10_device::epson_pf10_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, EPSON_PF10, tag, owner, clock), device_epson_sio_interface(mconfig, *this), m_cpu(*this, "maincpu"), diff --git a/src/devices/bus/epson_sio/pf10.h b/src/devices/bus/epson_sio/pf10.h index ce5f2ee6f3d..a2bf134a25b 100644 --- a/src/devices/bus/epson_sio/pf10.h +++ b/src/devices/bus/epson_sio/pf10.h @@ -28,7 +28,7 @@ class epson_pf10_device : public device_t, { public: // construction/destruction - epson_pf10_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + epson_pf10_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides diff --git a/src/devices/bus/epson_sio/tf20.cpp b/src/devices/bus/epson_sio/tf20.cpp index a2f9c2e9320..4eec8534410 100644 --- a/src/devices/bus/epson_sio/tf20.cpp +++ b/src/devices/bus/epson_sio/tf20.cpp @@ -124,7 +124,7 @@ void epson_tf20_device::device_add_mconfig(machine_config &config) // epson_tf20_device - constructor //------------------------------------------------- -epson_tf20_device::epson_tf20_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +epson_tf20_device::epson_tf20_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, EPSON_TF20, tag, owner, clock), device_epson_sio_interface(mconfig, *this), m_cpu(*this, "19b"), diff --git a/src/devices/bus/epson_sio/tf20.h b/src/devices/bus/epson_sio/tf20.h index 906ae0a4b9c..3a101038211 100644 --- a/src/devices/bus/epson_sio/tf20.h +++ b/src/devices/bus/epson_sio/tf20.h @@ -30,7 +30,7 @@ class epson_tf20_device : public device_t, { public: // construction/destruction - epson_tf20_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + epson_tf20_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides |