From 47374e591daa9bb6fd2ca7949ab084d39f005da9 Mon Sep 17 00:00:00 2001 From: Adrian Conlon <98398945+AdrianConlon@users.noreply.github.com> Date: Sun, 4 May 2025 08:56:22 +0100 Subject: [PATCH] With my correct implementation of HALT, I need the fetch to take place during a halted state --- LR35902/LR35902.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LR35902/LR35902.cs b/LR35902/LR35902.cs index 8ea3ff9..3de84a6 100644 --- a/LR35902/LR35902.cs +++ b/LR35902/LR35902.cs @@ -226,7 +226,8 @@ namespace LR35902 } else if (this.HALT.Lowered()) { - //this.Execute(0); // NOP + _ = this.FetchByte(); + this.Execute(0); // NOP } else {