From 8557558bd84323147381cc605fb5433cba13386b Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 3 Jun 2019 21:51:45 -0400 Subject: [PATCH] Mildly improves investigatory reporting. --- Components/DiskII/IWM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Components/DiskII/IWM.cpp b/Components/DiskII/IWM.cpp index 61d71ba76..8276f2288 100644 --- a/Components/DiskII/IWM.cpp +++ b/Components/DiskII/IWM.cpp @@ -78,13 +78,13 @@ uint8_t IWM::read(int address) { (/ENBL1 is low when the first drive's motor is on; /ENBL2 is low when the second drive's motor is on. If the 1-second timer is enabled, motors remain on for one second after being programmatically disabled.) */ - printf("Reading status (including "); + printf("Reading status (including [%d] ", active_drive_); // Determine the SENSE input. uint8_t sense = 0x00; switch(state_ & (CA2 | CA1 | CA0 | SEL)) { default: - printf("unknown)\n"); + printf("unknown [%c%c%c%c])\n", (state_ & CA2) ? '2' : '-', (state_ & CA1) ? '1' : '-', (state_ & CA0) ? '0' : '-', (state_ & SEL) ? 'S' : '-'); break; case 0: // Head step direction.