diff options
| author | Apexo | 2026-04-01 16:11:58 +0200 |
|---|---|---|
| committer | Apexo | 2026-04-01 16:11:58 +0200 |
| commit | 72a415709c3723aad20ed3b66bf8cc2df22c50f1 (patch) | |
| tree | 19670d142ba7d8be8241baeae8c56b6f5d3d6eba /src/peripherals/avrdx-port.ts | |
| parent | handle jumps in time (diff) | |
| download | anduril-sim-72a415709c3723aad20ed3b66bf8cc2df22c50f1.tar.gz anduril-sim-72a415709c3723aad20ed3b66bf8cc2df22c50f1.tar.bz2 anduril-sim-72a415709c3723aad20ed3b66bf8cc2df22c50f1.zip | |
fix port interrupt handling
since we're dealing with interrupt enable internally, we need to use queueInterrupt directly
Diffstat (limited to 'src/peripherals/avrdx-port.ts')
| -rw-r--r-- | src/peripherals/avrdx-port.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |
