summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author tim lindner <tlindner@macmess.org>2022-11-14 03:09:51 -0800
committer GitHub <noreply@github.com>2022-11-14 12:09:51 +0100
commit1e3fb0345107eb6e1491f2bf56fcb697f911c32e (patch)
treeefbe9c5e7fa62c8520b7f8ba4ed56ccaf2630830 /src/devices
parent4df2a01734260df3a298acd4007f8bef162a50ae (diff)
wd_fdc: adjust wp detection delay to better match real hardware (#10547)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/machine/wd_fdc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/wd_fdc.cpp b/src/devices/machine/wd_fdc.cpp
index 12589fc9afc..16f0decaf3f 100644
--- a/src/devices/machine/wd_fdc.cpp
+++ b/src/devices/machine/wd_fdc.cpp
@@ -874,7 +874,7 @@ void wd_fdc_device_base::write_track_continue()
if (floppy && floppy->wpt_r()) {
LOGSTATE("WRITE_PROT\n");
sub_state = WRITE_PROTECT_WAIT;
- delay_cycles(t_gen, 218);
+ delay_cycles(t_gen, 145);
return;
}
set_drq();
@@ -996,7 +996,7 @@ void wd_fdc_device_base::write_sector_continue()
if (floppy && floppy->wpt_r()) {
LOGSTATE("WRITE_PROT\n");
sub_state = WRITE_PROTECT_WAIT;
- delay_cycles(t_gen, 218);
+ delay_cycles(t_gen, 145);
return;
}
sub_state = SCAN_ID;