From ab32208bba61d039d6f3453a103f32f115a408d3 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Mon, 3 Jan 2022 23:47:06 -0500 Subject: [PATCH] IBM360: Fixed issue with NOP on tape drive. --- IBM360/ibm360_mt.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/IBM360/ibm360_mt.c b/IBM360/ibm360_mt.c index a702c73..a70815d 100644 --- a/IBM360/ibm360_mt.c +++ b/IBM360/ibm360_mt.c @@ -291,6 +291,12 @@ uint8 mt_startcmd(UNIT *uptr, uint8 cmd) { return 0; case 0x3: /* Control */ + if (cmd == 0x03) { + uptr->SNS = 0; + return SNS_CHNEND|SNS_DEVEND; + } + /* Fall through */ + case 0xb: /* Control */ uptr->SNS = 0; if ((uptr->flags & UNIT_ATT) == 0) {