Skip to content

Commit

Permalink
upd765: also set ST0_SE when seeking not ready drive (verified on rea…
Browse files Browse the repository at this point in the history
…l hardware)
  • Loading branch information
cracyc committed Nov 4, 2024
1 parent eb2a834 commit f13e5bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devices/machine/upd765.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand All @@ -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);
}
}
Expand Down

0 comments on commit f13e5bc

Please sign in to comment.