From ad4afcdcd56d94c5ae6e78e3045b58abd02de555 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 5 Oct 2021 15:23:48 -0700 Subject: [PATCH] Switch stepping direction. Empirically, based on the actions of Kickstart, and assuming my confusion is because the relevant signal is active low. --- Machines/Amiga/Chipset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/Amiga/Chipset.cpp b/Machines/Amiga/Chipset.cpp index 655060a16..6c64cfff5 100644 --- a/Machines/Amiga/Chipset.cpp +++ b/Machines/Amiga/Chipset.cpp @@ -1038,7 +1038,7 @@ void Chipset::DiskController::set_mtr_sel_side_dir_step(uint8_t value) { const int side = (value & 0x04) ? 0 : 1; const bool did_step = (difference & 0x1) && !(value & 0x1); const auto direction = Storage::Disk::HeadPosition( - (value & 0x02) ? -1 : 1 + (value & 0x02) ? 1 : -1 ); for(int c = 0; c < 4; c++) {