kondrak/rust64

Rewrite CPU op execution scheme

kondrak opened this issue · 1 comments

When BA line in C64 is low, the CPU is blocked from performing a read access, however writes can still be performed. Current implementation is blocked even during writes which causes the VIC and CPU to get out of sync when doing certain cycle-based effects.
The new CPU has to break every instruction into steps instead of performing it right away and just sleeping for a fixed amount of cycles.
This is a task for when the sprites are done.

The fun life of cycle accurate emulation :)