summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/hfdc.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/ti99/peb/hfdc.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/ti99/peb/hfdc.cpp')
-rw-r--r--src/devices/bus/ti99/peb/hfdc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/ti99/peb/hfdc.cpp b/src/devices/bus/ti99/peb/hfdc.cpp
index d760f09da20..e7e5c244c38 100644
--- a/src/devices/bus/ti99/peb/hfdc.cpp
+++ b/src/devices/bus/ti99/peb/hfdc.cpp
@@ -95,7 +95,7 @@ namespace bus::ti99::peb {
/*
Constructor for the HFDC card.
*/
-myarc_hfdc_device::myarc_hfdc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock):
+myarc_hfdc_device::myarc_hfdc_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock):
device_t(mconfig, TI99_HFDC, tag, owner, clock),
device_ti99_peribox_card_interface(mconfig, *this),
m_motor_on_timer(nullptr),
@@ -1070,7 +1070,7 @@ ROM_END
void myarc_hfdc_device::device_add_mconfig(machine_config& config)
{
- HDC9234(config, m_hdc9234, 0);
+ HDC9234(config, m_hdc9234);
m_hdc9234->intrq_cb().set(FUNC(myarc_hfdc_device::intrq_w));
m_hdc9234->dmarq_cb().set(FUNC(myarc_hfdc_device::dmarq_w));
m_hdc9234->dip_cb().set(FUNC(myarc_hfdc_device::dip_w));
@@ -1089,7 +1089,7 @@ void myarc_hfdc_device::device_add_mconfig(machine_config& config)
MFM_HD_CONNECTOR(config, "h2", hfdc_harddisks, nullptr, MFM_BYTE, 3000, 20, MFMHD_GEN_FORMAT);
MFM_HD_CONNECTOR(config, "h3", hfdc_harddisks, nullptr, MFM_BYTE, 3000, 20, MFMHD_GEN_FORMAT);
- MM58274C(config, CLOCK_TAG, 0).set_mode_and_day(1, 0); // 24h, sunday
+ MM58274C(config, CLOCK_TAG).set_mode_and_day(1, 0); // 24h, sunday
RAM(config, BUFFER).set_default_size("32K").set_default_value(0);
}