Implement additional pseudo-halt addresses

This commit is contained in:
2024-10-23 20:35:40 -05:00
parent 226da7a5b3
commit 0c914fce1a
4 changed files with 134 additions and 36 deletions
+1 -1
View File
@@ -1860,7 +1860,7 @@ static uint32_t cpuUntil(VB *sim, uint32_t clocks) {
/* Pseudo-halting */
if (sim->cpu.operation == CPU_PHALT) {
if (!sim->ph.operation)
if (sim->cpu.clocks == 0) /* Requires an interrupt */
return clocks;
}