summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatarGravatar Olivier Galibert <galibert@pobox.com>2021-01-23 18:29:44 +0100
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2021-01-23 18:30:06 +0100
commit16f4f13ff8e28920a40bdb0dccd4c0d8213cd535 (patch)
treec23426fe3591b3ac5213d4162e30324286a7cca0
parent84fd31d5878a3d566a8f2e08c1387c5de4e746bf (diff)
floppy: Add dir read on apple floppies
-rw-r--r--src/devices/imagedev/floppy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index 98b2a1712aa..c0b459de665 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -2428,6 +2428,9 @@ bool mac_floppy_device::wpt_r()
logerror("fdc disk sense reg %x %s %p\n", m_reg, regnames[m_reg], image.get());
switch(m_reg) {
+ case 0x0: // Step direction
+ return dir;
+
case 0x1: // Step signal
// We don't do the delay
return true;