upd765: also set ST0_SE when seeking not ready drive (verified on real hardware)

This commit is contained in:
cracyc 2024-11-03 18:48:14 -06:00
parent eb2a834625
commit f13e5bc622

View file

@ -1619,7 +1619,7 @@ void upd765_family_device::recalibrate_start(floppy_info &fi)
if(fi.ready) {
seek_continue(fi);
} else {
fi.st0 |= ST0_NR | ST0_FAIL;
fi.st0 |= ST0_NR | ST0_FAIL | ST0_SE;
command_end(fi, false);
}
}
@ -1635,7 +1635,7 @@ void upd765_family_device::seek_start(floppy_info &fi)
if(fi.ready) {
seek_continue(fi);
} else {
fi.st0 |= ST0_NR | ST0_FAIL;
fi.st0 |= ST0_NR | ST0_FAIL | ST0_SE;
command_end(fi, false);
}
}