summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2021-01-11 23:32:54 +0100
committer Olivier Galibert <galibert@pobox.com>2021-01-11 23:33:03 +0100
commitc5fe64666af97d5029af5e1707257b9258218faf (patch)
tree084bf4483aa98abd5544105fe7968e3437368ff5 /src/mame/drivers
parent6611ce99a027e37ecc0cb01e9efebc44d898c07c (diff)
mac/swim2: Add apple drivers and associated communications
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/mac.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/mac.cpp b/src/mame/drivers/mac.cpp
index 9137200bce1..1810a154493 100644
--- a/src/mame/drivers/mac.cpp
+++ b/src/mame/drivers/mac.cpp
@@ -751,8 +751,10 @@ void mac_state::add_base_devices(machine_config &config, bool rtc, int woz_versi
break;
}
- m_fdc->phases_cb().set([this](u8 data) { logerror("fdc phases = %x\n", data);});
- m_fdc->sel35_cb().set([this](int data) { logerror("fdc sel35 = %d\n", data);});
+ m_fdc->phases_cb().set(FUNC(mac_state::phases_w));
+ m_fdc->sel35_cb().set(FUNC(mac_state::sel35_w));
+ m_fdc->devsel_cb().set(FUNC(mac_state::devsel_w));
+ m_fdc->hdsel_cb().set(FUNC(mac_state::hdsel_w));
applefdintf_device::add_35(config, m_floppy[0]);
applefdintf_device::add_35_nc(config, m_floppy[1]);