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

Speed optimizations (IEC bus) #766

Closed
dirkwhoffmann opened this issue Jun 27, 2023 · 2 comments
Closed

Speed optimizations (IEC bus) #766

dirkwhoffmann opened this issue Jun 27, 2023 · 2 comments

Comments

@dirkwhoffmann
Copy link
Owner

This comment has been dangling around in config.h for a long time. I'm making an issue out of it so it can be deleted from the source code:

// IDEAS:
// Update IEC bus inside CIA and VIA. Use delay flags if neccessary.
// Call CA1 action in VIA class only if the pin value really has changed.

@dirkwhoffmann
Copy link
Owner Author

The IEC bus is now updated by scheduling an IEC_UPDATE event in the IEC slot:

Bildschirmfoto 2024-01-25 um 15 32 30

The CIAs are also driven by the event scheduler now (like in vAmiga).

I've also refactored C64::execute() quite a lot, resulting in cleaner code. Unexpectedly, the new code does not bring any speed improvements.

@dirkwhoffmann
Copy link
Owner Author

Fixed in v4.7b1

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

No branches or pull requests

1 participant