summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2017-08-18 16:49:51 +0200
committer Dirk Best <mail@dirk-best.de>2017-08-18 16:50:11 +0200
commit76755648e14fe1042ba7c235435a700868494b81 (patch)
tree7240cb34131b0728873faf5f2f253c685cf7b273
parent5f5a8f5114dd52851e926684258cba9e517e153d (diff)
upd765: Make SEEK also take some time, fixes KOS FORMAT command
-rw-r--r--src/devices/machine/upd765.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/upd765.cpp b/src/devices/machine/upd765.cpp
index fadaea4eab6..e8fee08cf5e 100644
--- a/src/devices/machine/upd765.cpp
+++ b/src/devices/machine/upd765.cpp
@@ -5,7 +5,7 @@
#include "upd765.h"
#include "debugger.h"
-#define LOG 0
+#define LOG 1
DEFINE_DEVICE_TYPE(UPD765A, upd765a_device, "upd765a", "NEC uPD765A FDC")
DEFINE_DEVICE_TYPE(UPD765B, upd765b_device, "upd765b", "NEC uPD765B FDC")
@@ -1474,8 +1474,8 @@ void upd765_family_device::seek_continue(floppy_info &fi)
}
if(done) {
fi.sub_state = SEEK_WAIT_DONE;
- // recalibrate takes some time, even if we are already at track 0
- fi.tm->adjust(attotime::from_nsec((fi.main_state == RECALIBRATE) ? 20000 : 0));
+ // recalibrate and seek takes some time, even if we don't move
+ fi.tm->adjust(attotime::from_nsec((fi.main_state == RECALIBRATE) ? 20000 : 10000));
return;
}
fi.sub_state = SEEK_MOVE;