mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-16 11:30:22 +00:00
Make some effort at terminating appropriate if no sector.
This commit is contained in:
parent
88e67d9ad6
commit
4429448815
@ -171,6 +171,14 @@ class FloppyController {
|
||||
}
|
||||
|
||||
if(!found_sector) {
|
||||
// TODO: there's more than this, I think.
|
||||
status_.set(Intel::i8272::Status0::AbnormalTermination);
|
||||
results_.serialise(
|
||||
status_,
|
||||
decoder_.geometry().cylinder,
|
||||
decoder_.geometry().head,
|
||||
decoder_.geometry().sector,
|
||||
decoder_.geometry().size);
|
||||
}
|
||||
|
||||
pic_.apply_edge<6>(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user