From ff32eabc34a59852879f3b13533b99ecd8b2adcd Mon Sep 17 00:00:00 2001 From: Marcin Witkowski Date: Thu, 23 Nov 2023 13:50:07 +0100 Subject: [PATCH] [GH#539] MPFS_GPIO: Correctly de-assert level-triggered interrupt --- src/Emulator/Peripherals/Peripherals/GPIOPort/MPFS_GPIO.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Emulator/Peripherals/Peripherals/GPIOPort/MPFS_GPIO.cs b/src/Emulator/Peripherals/Peripherals/GPIOPort/MPFS_GPIO.cs index d3e04f139..622267424 100644 --- a/src/Emulator/Peripherals/Peripherals/GPIOPort/MPFS_GPIO.cs +++ b/src/Emulator/Peripherals/Peripherals/GPIOPort/MPFS_GPIO.cs @@ -24,6 +24,7 @@ public MPFS_GPIO(IMachine machine) : base(machine, 32) locker = new object(); IRQ = new GPIO(); irqManager = new GPIOInterruptManager(IRQ, State); + irqManager.DeassertActiveInterruptTrigger = true; var registersMap = new Dictionary {