ASL, INC and possibly other read/write instructions do two writes on an original 6502.
They first write the original value, then the modified one.
The CMOS 65C02 behave differently.
That can cause issues when working on memory mapped I/O, such as what is done on the C64.
ASL, INC and possibly other read/write instructions do two writes on an original 6502.
They first write the original value, then the modified one.
The CMOS 65C02 behave differently.
That can cause issues when working on memory mapped I/O, such as what is done on the C64.