From 72a415709c3723aad20ed3b66bf8cc2df22c50f1 Mon Sep 17 00:00:00 2001 From: Apexo Date: Wed, 1 Apr 2026 16:11:58 +0200 Subject: fix port interrupt handling since we're dealing with interrupt enable internally, we need to use queueInterrupt directly --- src/peripherals/avrdx-port.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/peripherals/avrdx-port.ts b/src/peripherals/avrdx-port.ts index 74ab8ae..6c0f1a2 100644 --- a/src/peripherals/avrdx-port.ts +++ b/src/peripherals/avrdx-port.ts @@ -247,7 +247,7 @@ export class AVRDxPort { if (intFlags) { this.cpu.data[this.vbase + VPORT_INTFLAGS] |= intFlags; this.cpu.data[this.base + INTFLAGS] |= intFlags; - this.cpu.setInterruptFlag(this.irq); + this.cpu.queueInterrupt(this.irq); } } } -- cgit v1.2.3