summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/apricot/expansion/winchester.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/bus/apricot/expansion/winchester.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/apricot/expansion/winchester.cpp')
-rw-r--r--src/devices/bus/apricot/expansion/winchester.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/apricot/expansion/winchester.cpp b/src/devices/bus/apricot/expansion/winchester.cpp
index e48751851fb..61bdc020c38 100644
--- a/src/devices/bus/apricot/expansion/winchester.cpp
+++ b/src/devices/bus/apricot/expansion/winchester.cpp
@@ -50,7 +50,7 @@ void apricot_winchester_device::regs(address_map &map)
void apricot_winchester_device::device_add_mconfig(machine_config &config)
{
- WD1010(config, m_hdc, 5000000);
+ WD1010(config, m_hdc, XTAL::u(5000000));
m_hdc->out_intrq_callback().set(FUNC(apricot_winchester_device::hdc_intrq_w));
m_hdc->in_data_callback().set(FUNC(apricot_winchester_device::hdc_data_r));
m_hdc->out_data_callback().set(FUNC(apricot_winchester_device::hdc_data_w));
@@ -65,8 +65,8 @@ void apricot_winchester_device::device_add_mconfig(machine_config &config)
latch.q_out_cb<6>().set(FUNC(apricot_winchester_device::clksel_w)); // buffer chip read/write clock select (host or wdc)
latch.q_out_cb<7>().set(FUNC(apricot_winchester_device::drive_w<1>));
- HARDDISK(config, "hdc:0", 0);
- HARDDISK(config, "hdc:1", 0);
+ HARDDISK(config, "hdc:0");
+ HARDDISK(config, "hdc:1");
}
@@ -78,7 +78,7 @@ void apricot_winchester_device::device_add_mconfig(machine_config &config)
// apricot_winchester_device - constructor
//-------------------------------------------------
-apricot_winchester_device::apricot_winchester_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+apricot_winchester_device::apricot_winchester_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
device_t(mconfig, APRICOT_WINCHESTER, tag, owner, clock),
device_apricot_expansion_card_interface(mconfig, *this),
m_hdc(*this, "hdc"),