broken HardSID-Support in Vice 3.3
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
HardSID-support does not work with HardSID 4U- USB in Vice 3.3
It worked back with Vice 2.1.
When I copy hardsid.dll in the Vice-directory, HardSID is recognized in Vice under SID-settings. You can choose HardSID for SID-sound output, but you don´t hear anything. Also there is a possibility missing to choose the HardSID-device, because HardSID -USB can contain up to SIDs.
My System: Windows 64bit
sorry.. I wanted to say "up to 4 SIDs"..
I don't see how we can even try to fix this without an actual device. I certainly don't have one.
maybe it would help to know what the last working version was.
that might give a hint on what is wrong at least
Hi,
I did some more testing:
VICE 2.1 works with HardSID USB
VICE 2.4 x86 works with HardSID USB
VICE 2.4 X64 does not work
VICE 3.1 x86 works with HardSID
So, the X86 Versions up to Vice 3.1 are working with Hardsid.
The GTK-Versions doesn´t,
The VICE x64 up to VICE 3.1 x64 don´t work with HardSID, too.
Hope that helps,
Regards,
Markus
Further News:
Hi,
good news.
I asked Teli Sandor, developper of the HardSID, via facebook for help. He gave me the hint to check the .ini-file concerning hardsid-support.
So I did and added:
SidHardSIDMain=1
to the ini for the GTK-Version 3.3
and now it plays via HardSID USB :-)
The only thing I couldn´t figure out is, on which of my 3 sid devices the sound plays, or all of them?!?
Now, we only need the implementation for choosing the different SIDs on the HardSID.
Maybe someone can take from 3.1?
Best regards,
Markus
Last edit: Markus Schäfer 2019-01-25
how about the latest native winvice version WinVICE-3.2-x86.7z
https://sourceforge.net/projects/vice-emu/files/releases/binaries/windows/WinVICE-3.2-x86.7z/download
the 64bit VICE won't work, afaik there is NO 64bit hardsid.dll
and yes, the GTK3 port doesn't have the SidHardSIDMain entry.
i used
and no sign of it. compyx?
Looks like VICE checks the availability of HardSID during both compile-time and runtime and then registers the cmdline options, see
src/sid/sid-cmdline-options.c:387.Since I don't have a HardSID, I'm not comfortable implementing HardSID (and perhaps CW etc) in the Gtk3 UI, I have no way to test my code for correctness, especially since these various SID resources will interact, resulting in quite a bit of extra logic in the widgets.
Hi Markus, out of interest what hardsid.dll file are you using? I've tried some random ones found online but the sound is a bit off in versions of VICE (<3.3) I've tried.
Hi,
its the one attached
I am not sure how to handle this - first of all everything is moving to 64bit, and it looks like only a 32bit hardsid.dll exists (is that still the case?)
That said, in a 32bit build it SHOULD still work - please test it
Hi,
nice to see that you still care about the HardSID-support.
I must admit that during the last two years I didn´t use my HardSID very often.
But we had a little discussion back then and I already did some testing back in the beginning of 2019.
That´s what I posted back then:
"Markus Schäfer atca88@googlemail.com 21. Januar 2019 um 19:42
An: "[vice-emu:bugs]" 1095@bugs.vice-emu.p.re.sourceforge.net
Hi,
I did some more testing:
VICE 2.4 x86 works with HardSID USB
VICE 2.4 X64 does not work
VICE 3.1 x86 works with HardSID
So, the X86 Version up to Vice 3.1 works with Hardsid.
The GTK-Versions don´t,
The VICE x64 up to VICE 3.1 x64 don´t work with HardSID, too.
Hope that helps,"
As far as I remember back then compyx wanted to do the work needed to fix this. He wanted to get in contact with Wilfred Bos who does the nice AcidPlayer to help him. https://acid64.com/
Today I tested Vice 3.2 32bit, works with HardSID.
And I once again tried GTK 3.3 32bit - same result als back on 2019-01-25:
When I add:
SidHardSIDMain=1
to the ini for the GTK-Version 3.3 it plays via HardSID USB :-)
But I sound partwise strange and the timing seems sometimes a little corrupted.
Also I couldn´t figure out on which of my 3 sid devices the sound plays, or all of them?!?
May several sids playing parallel cause the strange sound?
The device-Choice-function does not work. If I choose another device it causes a lasting sound of the emulated SID.
And yes, it only exists a 32bit hardsid.dll. Unfortunately. So without x64drivers and moving to 64bit only.. HardSID-support will be abandonned?
I would be glad to get it functional in the last 32bit-version. :-)
How can I help you further?
Regards,
Markus
Last edit: Markus Schäfer 2021-10-28
It would help if you could test with a recent build, and also with the SDL version - you can find both at github here: https://github.com/VICE-Team/svn-mirror/releases
It might only be a problem with the GUI - but we cant test this as none of us owns that device
Need some help please.
I attached the .ini-file I can start GTK3VICE-3.3-win32-r35872 and make it play SID-sound via HardSID USB.
In this version I can choose HardSID as SID-device in audio-settings/SID.
Then it works.
But GTK3VICE-3.5-win32-r40989 has no HardSID-option in the SID-menu. So I don´t get HardSID to play.
Also it seems that 3.3 and 3.5 share the same folder for the vice.ini.
But with the attached .ini-file Vice C64SC 3.5 doesn´t start.
So I renamed my ini-file to keep it safe. Then I started GTK3VICE-3.5-win32-r40989 C64SC. And I wondered that it starts without an ini.
So at the moment I think that without the Option "HardSID" in the SID-menu it won´t work.
I don´t remember if the GTK3VICE-3.3-win32-r35872 was a test-Version for me to check for HardSID-support, but I think so. Or is it the official one? Unfortunately I don´t remember.
So how should I continue?
Regards,
Markus
Some things you can do:
(if the answer is no you can stop here, we need to enable it first)
that way you can use a different config file, and you see the log output (please attach it)
Ok,
I´ll try my best. That´s all new for me.
But I figured out during the last 15 minutes that I can get the HardSID-option in the GTK 3.5 build. And it was black. So I choosed it and saved the settings. Then I added
SidHardSIDMain=1
to the ini.
But after that GTK3 3.5 doesn´t start, 3.3 did.
Does that help?
For SDL it is the same:
I choose HardSID as Sound device. Then save the settings. Then added "SidHardSIDMain=1" to the sdl.ini and Vice C64SC-SDL doesn´t start anymore.
Can I generate log output although Vice doesn´t start?
Yes, start with the commandline i posted above, hopefully we will see an error message in it
ok.
I made some logfiles
log1 and log2 are made with your commandline
log3 only did a logfile after I enabled HardSID as SID-device, saved the settings,
then restarted with the vice.ini with added line "SidHardSIDMain=1"
And the last time vice didn´t start. so the log isn´t complete.
/Markus
I think i know why it is not working - FASTSID was disabled by default a while ago, and HARDSID likely needs it enabled
can you try the following...
x64sc -help > foo.txt
now open the file and search for -sidenginemodel - does it list hardsid as an option? (my guess is: no)
I can build a Windows dist with fastsid enabled. I assume we require a 32-bit build?
yes, that would be the next thing to do :) and if that works, hack in a way to have hardsid without fastsid :=)
It does:
-sidenginemodel <engine and="" model="">
Specify SID engine and model (256: ReSID 6581, 257: ReSID 8580, 258: ReSID 8580 + digiboost, 768: HardSID)</engine>
so try
Vice doesn´t start with this option. :-(