The 65C02 clears the D flag on interrupts while the 6502 does not. The old code cleared the D flag also for the 6502X CPU type, which was incorrect.
The 65C02 clears the D flag on interrupts while the 6502 does not. The old code cleared the D flag also for the 6502X CPU type, which was incorrect.