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

Audio: implement YM2151 timers and IRQ support, add open bus behavior to IO space #143

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

mooinglemur
Copy link
Contributor

This PR adds the command line option -enable-ym2151-irq which connects the YM2151 IRQ pin to the emulated CPU. It is disabled by default due to losing the audio render batching optimization.

However, the timers will still work so the status can be polled even without the YM2151 IRQ pin connected.

For reads from $9Fxx space where nothing is responding, hardware returns $9F (due to the data bus still having the last byte of the operand from the instruction fetch). This behavior is now implemented here.

@tomxp411 tomxp411 merged commit fc08a0e into X16Community:master Jul 19, 2023
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants