Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite CPU op execution scheme #4

Closed
kondrak opened this issue Jan 7, 2016 · 1 comment
Closed

Rewrite CPU op execution scheme #4

kondrak opened this issue Jan 7, 2016 · 1 comment

Comments

@kondrak
Copy link
Owner

kondrak commented Jan 7, 2016

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.

@emoon
Copy link
Contributor

emoon commented Jan 7, 2016

The fun life of cycle accurate emulation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants