TheGoodDoktor / 8BitAnalysers

MIT License
91 stars 15 forks source link

Interrupt enable status not restored from Spectrum SNA snapshots #29

Open simonowen opened 10 months ago

simonowen commented 10 months ago

When loading Spectrum SNA snapshots the iff1 status is not set from the snapshot data so interrupts remain disabled. This is a problem for any snapshot saved with interrupts enabled. I've not checked the other supported snapshot types but they may have the same issue.

Here's a sample snapshot that demonstrates the issue. When correctly handled the border should turn green, but if interrupts are disabled after loading the border will remain red.