From 93eb63d9308bcf99285b0fd85e9c0051fe0be8e5 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 11 Feb 2025 21:47:36 -0500 Subject: [PATCH] Add interrupt register to TED check set. --- Analyser/Static/Commodore/StaticAnalyser.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Analyser/Static/Commodore/StaticAnalyser.cpp b/Analyser/Static/Commodore/StaticAnalyser.cpp index b566d2330..6e38608ae 100644 --- a/Analyser/Static/Commodore/StaticAnalyser.cpp +++ b/Analyser/Static/Commodore/StaticAnalyser.cpp @@ -180,9 +180,8 @@ bool obviously_uses_ted(const File &file) { analysis->machine_code_addresses ); - // If FF3E or FF3F is touched, this is for the +4. - // TODO: probably require a very early touch. - for(const auto address: {0xff3e, 0xff3f}) { + // Check for interrupt status and paging touches. + for(const auto address: {0xff3e, 0xff3f, 0xff09}) { for(const auto &collection: { disassembly.external_loads, disassembly.external_stores,