Skip to content

Improve Virtual Boy emulator #2446

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

skyfloogle
Copy link

@skyfloogle skyfloogle commented Mar 31, 2025

This PR updates the built-in Mednafen core with additional hardware bugs, as mentioned in #2442. It does not update Furnace's effect code to take these bugs into account. Key points worth keeping in mind for the exposed hardware effects:

  • Envelopes will need to be reset by a write to SxINT somewhere between when one finishes and when the next one starts. Try making a module where an envelope goes all the way up or down, then try starting another one - it won't work.
  • When an upward sweep goes beyond the maximum frequency, the channel cuts. It will need to be reactivated by a write to SxINT. This applies even if frequency modification is not enabled on that channel.
  • When one round of modulation has happened, regardless of whether repeating is on, both non-repeating modulation and sweeping are blocked until the next write to SxINT.
  • After writing to S5FQL or S5FQH, the effective frequency's low or high byte is locked to that register until literally anywhere else in audio RAM is written to, be it a register, wave RAM, or even unallocated space. I didn't test this one in Furnace, but it's worth keeping in mind.

@freq-mod freq-mod requested a review from tildearrow April 7, 2025 13:42
@tildearrow tildearrow removed their request for review April 8, 2025 05:58
@tildearrow
Copy link
Owner

tildearrow commented Apr 8, 2025

Give me a couple days - I will get to this soon but right now I am focused in 0.6.8.2.

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