Plus 3A implemented but not running
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user