From 7b8b2fc0cbe82d9954169f83f54ea1385fd04d02 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 25 Mar 2026 17:39:29 -0400 Subject: [PATCH] Extend definition of LIC. --- Processors/6809/6809.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Processors/6809/6809.hpp b/Processors/6809/6809.hpp index 3dea07049..526c201df 100644 --- a/Processors/6809/6809.hpp +++ b/Processors/6809/6809.hpp @@ -108,8 +108,13 @@ enum class Line { }; enum class LIC { - Active, - Inactive, + Active, // LIC is active. + Inactive, // LIC is inactive. + + InstructionFetch, // LIC is inactive, and this is an instruction fetch. LIC's stated purpose is so that observers + // can detect instruction fetches by watching for its trailing edge. As an emulation nicety, + // and pragmatically because it's doable without additional cost, this implementation directly + // signals InstructionFetch so that interested observers don't need to maintain their own state. }; enum Vector: uint16_t {