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

Digiplay support #8

Closed
2 of 4 tasks
LouDnl opened this issue Oct 25, 2024 · 10 comments
Closed
2 of 4 tasks

Digiplay support #8

LouDnl opened this issue Oct 25, 2024 · 10 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed issue Working with some endpoints but an issue elsewhere project item This is an item created from the main Project page

Comments

@LouDnl
Copy link
Owner

LouDnl commented Oct 25, 2024

I had this working with v0.2.0-BETA firmware in Vice by using libusb async and their (libusb) example but for some reason I can't find that piece of code anymore and cannot get it to work again.

Seeking some assistance in writing a working driver for digiplay.
This will probably need some buffering for sending filled up 64 byte packets and firmware side handling.

Player/emulator status:

  • Vice/Vsid ~ fixed
  • Retrodebugger
  • sidplayfp/libsidplayfp ~ partially, needs some work
  • jsidplay2 c64jukebox ~ working, webusb needs tweaking
@LouDnl LouDnl added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Oct 25, 2024
@LouDnl LouDnl self-assigned this Oct 25, 2024
@LouDnl LouDnl moved this to Under research in @LouDnl's USBSID-Pico Oct 25, 2024
@LouDnl
Copy link
Owner Author

LouDnl commented Nov 11, 2024

As of yet I am still unable to recreate a working Vice version driver, work in progress.

@LouDnl LouDnl pinned this issue Nov 11, 2024
@LouDnl LouDnl added the project item This is an item created from the main Project page label Nov 14, 2024
@LouDnl
Copy link
Owner Author

LouDnl commented Nov 25, 2024

Note:
With vice (xs64sc) on linux and usbsidasync enable, when using alsa and not pulse as sound driver with output on stereo, quality on 22KHz, buffer on 1ms and fragment size on very small the audio from the usbsid improves by miles, but eveything is played way too fast.
In vsid improvement is different.

@LouDnl
Copy link
Owner Author

LouDnl commented Nov 26, 2024

@thomasj I thought digiplay did not work through ASID?
I recreated a working version of Vice 3.8 with ASID support and this plays some digitunes, strange!

@thomasj
Copy link

thomasj commented Nov 26, 2024

There is nothing in the ASID protocol itself that prevents digis from playing (as it is only updating SID registers) - but the original design of it was only using standard MIDI speed, which is too slow for digis. So when running ASID over USB with a receiving device that could handle thousands of updates per second, digis probably should work fine!

@LouDnl
Copy link
Owner Author

LouDnl commented Nov 26, 2024

There is nothing in the ASID protocol itself that prevents digis from playing (as it is only updating SID registers) - but the original design of it was only using standard MIDI speed, which is too slow for digis. So when running ASID over USB with a receiving device that could handle thousands of updates per second, digis probably should work fine!

Thats good to know! It's not perfect yet, but now I'm getting somewhere ;)

@LouDnl
Copy link
Owner Author

LouDnl commented Dec 14, 2024

Digiplay issues mostly solved with a new driver (first version) and tested with added support to libsidplayfp and played with sidplayfp.
Not all digitunes are fixed yet, but that shouldn't be a huge issue.

@LouDnl
Copy link
Owner Author

LouDnl commented Dec 27, 2024

New driver got me steps closer to solving the issue in Vice too. Not finished yet, but getting there!

@LouDnl
Copy link
Owner Author

LouDnl commented Dec 30, 2024

While still not completely in cycle sync, playing Commodore 64 digitunes with Vice (and others) using USBSID-Pico are almost fixed! Here's an example using Quantum Tracker's No Limit demo!

Quantum.Tracker.-.No.Limit.with.USBSID-Pico.mp4

@LouDnl
Copy link
Owner Author

LouDnl commented Jan 25, 2025

Current status FIXED with Vsid: https://usbsid.loudai.nl/examples/Jammer%20-%20Make%20Some%20Noise.mp3

@LouDnl LouDnl added issue Working with some endpoints but an issue elsewhere and removed bug Something isn't working labels Jan 25, 2025
@LouDnl
Copy link
Owner Author

LouDnl commented Jan 25, 2025

Vice/Vsid marked fixed

@LouDnl LouDnl unpinned this issue Jan 30, 2025
@LouDnl LouDnl pinned this issue Jan 30, 2025
@LouDnl LouDnl moved this from Under research to Finished in @LouDnl's USBSID-Pico Feb 5, 2025
@LouDnl LouDnl closed this as completed by moving to Finished in @LouDnl's USBSID-Pico Feb 5, 2025
@LouDnl LouDnl unpinned this issue Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed issue Working with some endpoints but an issue elsewhere project item This is an item created from the main Project page
Projects
Status: Finished
Development

No branches or pull requests

2 participants