Plus 3A implemented but not running

This commit is contained in:
2026-04-29 23:17:51 +01:00
parent 2767e2220f
commit fc17b16471
5 changed files with 119 additions and 47 deletions

View File

@@ -120,7 +120,7 @@ namespace Core.Cpu
Push(PC);
// --- Interrupt Mode Dispatch ---
if (InterruptMode == 1)
if (InterruptMode == 0 || InterruptMode == 1)
{
// IM 1: Hardcoded jump to ROM address 0x0038
PC = 0x0038;
@@ -143,7 +143,6 @@ namespace Core.Cpu
}
else
{
// (IM 0 is theoretically possible but essentially unused on the standard Spectrum)
throw new NotImplementedException($"Interrupt Mode {InterruptMode} not implemented!");
}
}