Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hd6309.c
Original file line number Diff line number Diff line change
Expand Up @@ -7544,7 +7544,8 @@ void HD6309AssertInterupt(InterruptSource src, Interrupt interrupt)
assert(src >= IS_NMI && src < IS_MAX);
assert(interrupt >= INT_IRQ && interrupt <= INT_NMI);

if (SyncWaiting)
InterruptLine[src] |= Bit(interrupt);
if (SyncWaiting || interrupt == INT_NMI)
LatchInterrupts();
SyncWaiting = 0;

Expand Down
2 changes: 1 addition & 1 deletion mc6809.c
Original file line number Diff line number Diff line change
Expand Up @@ -3230,7 +3230,7 @@ void MC6809AssertInterupt(InterruptSource src, Interrupt interrupt)
assert(interrupt >= INT_IRQ && interrupt <= INT_NMI);

InterruptLine[src] |= Bit(interrupt);
if (SyncWaiting)
if (SyncWaiting || interrupt == INT_NMI)
LatchInterrupts();
SyncWaiting = 0;

Expand Down