summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/tanbus/radisc.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2021-03-02 15:29:33 +0100
committer Olivier Galibert <galibert@pobox.com>2021-03-02 15:30:45 +0100
commit3c9e3749541b1da8a0c5409c582070aae66dd3d6 (patch)
tree7fafe993b6679ef13fb48ed7d5e18f47a8226928 /src/devices/bus/tanbus/radisc.cpp
parentdd75841b96ec3a16e937ae970a986b87cc9c9ee2 (diff)
floppies: Turn the format arrays into function calls. Create a default "mfm", "fm" and "pc" list of formats. Their contents, and which driver uses what, may need some tuning.
Diffstat (limited to 'src/devices/bus/tanbus/radisc.cpp')
-rw-r--r--src/devices/bus/tanbus/radisc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/tanbus/radisc.cpp b/src/devices/bus/tanbus/radisc.cpp
index a537bb13535..b302e33c80d 100644
--- a/src/devices/bus/tanbus/radisc.cpp
+++ b/src/devices/bus/tanbus/radisc.cpp
@@ -45,10 +45,10 @@ void tanbus_radisc_device::device_add_mconfig(machine_config &config)
m_fdc->hld_wr_callback().set(FUNC(tanbus_radisc_device::fdc_hld_w));
m_fdc->set_force_ready(true);
- FLOPPY_CONNECTOR(config, m_floppies[0], tandos_floppies, "525qd", floppy_image_device::default_floppy_formats).enable_sound(true);
- FLOPPY_CONNECTOR(config, m_floppies[1], tandos_floppies, "525qd", floppy_image_device::default_floppy_formats).enable_sound(true);
- FLOPPY_CONNECTOR(config, m_floppies[2], tandos_floppies, nullptr, floppy_image_device::default_floppy_formats).enable_sound(true);
- FLOPPY_CONNECTOR(config, m_floppies[3], tandos_floppies, nullptr, floppy_image_device::default_floppy_formats).enable_sound(true);
+ FLOPPY_CONNECTOR(config, m_floppies[0], tandos_floppies, "525qd", floppy_image_device::default_mfm_floppy_formats).enable_sound(true);
+ FLOPPY_CONNECTOR(config, m_floppies[1], tandos_floppies, "525qd", floppy_image_device::default_mfm_floppy_formats).enable_sound(true);
+ FLOPPY_CONNECTOR(config, m_floppies[2], tandos_floppies, nullptr, floppy_image_device::default_mfm_floppy_formats).enable_sound(true);
+ FLOPPY_CONNECTOR(config, m_floppies[3], tandos_floppies, nullptr, floppy_image_device::default_mfm_floppy_formats).enable_sound(true);
MC146818(config, m_rtc, 32.768_kHz_XTAL);
m_rtc->irq().set(m_irq_line, FUNC(input_merger_device::in_w<IRQ_RTC>));