From: Toni Wilen Date: Fri, 27 Mar 2026 15:47:12 +0000 (+0200) Subject: Fix wordsync interrupt enable X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f8aad9454b39ecf6a090bc4542bee130e6771493;p=francis%2Fwinuae.git Fix wordsync interrupt enable --- 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;