Open Yazwh0 opened 1 year ago
When writing to IFR, it should clear any bits that are set in the write. (bar bit 7, which is preserved)
This disables VIA interrupts, and then should clear the bits.
10 poke $9f0e, $7f 20 a=peek($9f0d) 30 print a 40 poke $9f0d, a 50 print peek($9f0d)
expected:
emulator:
When writing to IFR, it should clear any bits that are set in the write. (bar bit 7, which is preserved)![image](https://user-images.githubusercontent.com/90315107/197590535-3eecb3e6-78d1-4856-8992-44bf3cdd1096.png)
This disables VIA interrupts, and then should clear the bits.
10 poke $9f0e, $7f 20 a=peek($9f0d) 30 print a 40 poke $9f0d, a 50 print peek($9f0d)
expected:![image](https://user-images.githubusercontent.com/90315107/197590598-3056bbd6-b599-4a63-99ff-66365b288791.png)
emulator:![image](https://user-images.githubusercontent.com/90315107/197590636-5c2f0d9d-cf0d-4b05-a003-a6c5779d13a2.png)