1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-28 06:29:37 +00:00

Added a broad phase on whether seeking is ongoing.

This commit is contained in:
Thomas Harte 2017-08-07 12:12:59 -04:00
parent 56d65ba6f3
commit d07f3216ab

View File

@ -47,6 +47,7 @@ void i8272::run_for(Cycles cycles) {
}
// update seek status of any drives presently seeking
if(main_status_ & 0xf) {
for(int c = 0; c < 4; c++) {
if(drives_[c].phase == Drive::Seeking) {
drives_[c].step_rate_counter += cycles.as_int();
@ -68,6 +69,7 @@ void i8272::run_for(Cycles cycles) {
}
}
}
}
void i8272::set_register(int address, uint8_t value) {
// don't consider attempted sets to the status register