From f8aad9454b39ecf6a090bc4542bee130e6771493 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 27 Mar 2026 17:47:12 +0200 Subject: [PATCH] Fix wordsync interrupt enable --- disk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disk.cpp b/disk.cpp index da92c557..99f93996 100644 --- a/disk.cpp +++ b/disk.cpp @@ -4287,8 +4287,8 @@ static void wordsync_detected(bool startup) { // wordsync interrupt is edge triggered if (!dsksync_on) { - // wordsync interrupt is inhibited if DSKLEN write bit is set - if (!(dsklen & 0x4000)) { + // wordsync interrupt is inhibited if writing is active. + if (dskdmaen != DSKDMA_WRITE) { INTREQ_INT(12, 0); } dsksync_on = true; -- 2.47.3