1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +00:00

Minor: clear status registers before a read data.

This commit is contained in:
Thomas Harte 2017-08-11 18:56:33 -04:00
parent 7e35e44934
commit ffb1a14ace

View File

@ -247,6 +247,7 @@ void i8272::posit_event(int event_type) {
// Establishes the drive and head being addressed, and whether in double density mode; populates the internal
// cylinder, head, sector and size registers from the command stream.
status_[0] = status_[1] = status_[2] = 0;
SET_DRIVE_HEAD_MFM();
cylinder_ = command_[2];
head_ = command_[3];