summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/spectrum/speccydos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/spectrum/speccydos.cpp')
-rw-r--r--src/devices/bus/spectrum/speccydos.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/devices/bus/spectrum/speccydos.cpp b/src/devices/bus/spectrum/speccydos.cpp
index 5a8c7851c9a..4512da94d05 100644
--- a/src/devices/bus/spectrum/speccydos.cpp
+++ b/src/devices/bus/spectrum/speccydos.cpp
@@ -30,6 +30,8 @@
#include "emu.h"
#include "speccydos.h"
+#include "formats/sdd_dsk.h"
+
/***************************************************************************
DEVICE DEFINITIONS
@@ -72,7 +74,7 @@ static void speccydos_floppies(device_slot_interface &device)
}
//-------------------------------------------------
-// floppy_format_type floppy_formats
+// floppy_formats
//-------------------------------------------------
void spectrum_speccydos_device::floppy_formats(format_registration &fr)
@@ -114,6 +116,7 @@ void spectrum_speccydos_device::device_add_mconfig(machine_config &config)
SPECTRUM_EXPANSION_SLOT(config, m_exp, spectrum_expansion_devices, nullptr);
m_exp->irq_handler().set(DEVICE_SELF_OWNER, FUNC(spectrum_expansion_slot_device::irq_w));
m_exp->nmi_handler().set(DEVICE_SELF_OWNER, FUNC(spectrum_expansion_slot_device::nmi_w));
+ m_exp->fb_r_handler().set(DEVICE_SELF_OWNER, FUNC(spectrum_expansion_slot_device::fb_r));
}
const tiny_rom_entry *spectrum_speccydos_device::device_rom_region() const
@@ -167,9 +170,9 @@ void spectrum_speccydos_device::device_reset()
// IMPLEMENTATION
//**************************************************************************
-READ_LINE_MEMBER(spectrum_speccydos_device::romcs)
+bool spectrum_speccydos_device::romcs()
{
- return m_romcs | m_exp->romcs();
+ return m_romcs || m_exp->romcs();
}
void spectrum_speccydos_device::pre_opcode_fetch(offs_t offset)