1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

I think CHNG works the other way around.

This commit is contained in:
Thomas Harte 2021-10-06 04:47:52 -07:00
parent ce8f782577
commit 92a07398cd

View File

@ -1120,7 +1120,7 @@ uint8_t Chipset::DiskController::get_rdy_trk0_wpro_chng() {
const uint8_t active_high =
((combined_id & 0x8000) >> 11) |
(drive.get_is_ready() ? 0x02 : 0x00) |
(drive.get_is_ready() ? 0x00 : 0x02) |
(drive.get_is_track_zero() ? 0x10 : 0x00) |
(drive.get_is_read_only() ? 0x08 : 0x00);
return 0xff & ~active_high;