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

PSG sound is not accurate #2

Open
jotego opened this issue Mar 10, 2017 · 1 comment
Open

PSG sound is not accurate #2

jotego opened this issue Mar 10, 2017 · 1 comment

Comments

@jotego
Copy link

jotego commented Mar 10, 2017

After comparing with data sheet information, I found that there were some issues with the PSG system.

  • Volume scaling
  • Tone 2 rate option of noise generator
  • General rate of noise generator
  • Noise shift clear signal missing
  • Noise generator update bug by which it gets updated multiple times if v='0'
  • Missing all 0's prevention circuit to noise generator

As I also needed other features such as:

  • Produce signed output waveforms, with no DC offset
  • Use one single clock for all registers, making it easy to synthesize and constraint on FPGAs
  • Have separate output channels, so they can be mixed using the interpolator before the sigma-delta DAC

I have set up a different github project for this here. I have implemented these features on it. I have only tested with Sonic on the Megadrive (FPGAgen project) and seems fine. But I need to some more testing.

Please feel free to use JT89 directly in your Master System core or include the corrections into your VHDL code.

@ben0109
Copy link
Owner

ben0109 commented Mar 10, 2017 via email

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