mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
upd765: also set ST0_SE when seeking not ready drive (verified on real hardware)
This commit is contained in:
parent
eb2a834625
commit
f13e5bc622
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user