rolandshacks / vs64

C64 Development Environment for Visual Studio Code
Other
88 stars 15 forks source link

Fixes from 6502.js #24

Closed bissonex closed 3 years ago

bissonex commented 3 years ago

Memory write instructions should always use the maximum number of cycles whether they cross a page boundary or not. This affects: STA, DEC, INC, ROL, ROR, ASL, LSR. It looks like an attempt was made to handle the "6502 Jump Bug" but it wasn't done quite right. This change implements the bug correctly.

rolandshacks commented 3 years ago

Hi Éric, Thanks a lot for your contribution! Roland