Menu

#11 IRQ handling is broken and causes random obscure crashes (with patch)

v1.0 (example)
open
nobody
None
5
2015-05-30
2015-05-30
Alan Cox
No

On an interrupt IFF1 and IFF2 should be cleared. The emulator clears only IFF1 which causes code that saves/restores interrupt state to EI incorrectly.

The IFF1 -> IFF2 state is also mishandled for RETI although that probably affects nothing.

1 Attachments
a1

Discussion


Log in to post a comment.