1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-09 00:37:27 +00:00

A closer inspection of the data sheet seems to suggest that invalid command sequences will post ST0.

This commit is contained in:
Thomas Harte 2017-08-07 07:35:41 -04:00
parent d90e35e5bd
commit 3219212f03

View File

@ -406,8 +406,9 @@ void i8272::posit_event(int event_type) {
// Performs any invalid command.
invalid:
// A no-op, causing the FDC to go back into standby mode.
goto wait_for_command;
// A no-op, but posts ST0.
result_stack_.push_back(status_[0]);
goto post_result;
// Posts ST0, ST1, ST2, C, H, R and N as a result phase.
post_st012chrn: