Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Composing > Ultimate reverse engineering
2023-12-08 23:14
Repose

Registered: Oct 2010
Posts: 225
Ultimate reverse engineering

This person took 32 chips of every revision, connected them to a custom clock source and ran them independently, to read out the OSC3/ENV3 of every combination, plus analog recordings. He wrote an emulator which recreates every register setting and measures all the variations within and between chips. Its an amazing amount of work. He also reverse engineered CIA's as well, as those are needed for "real sid" type tunes, which require emulating the entire machine for music playback.
https://www.youtube.com/watch?v=pePq68HaI7M
Emulating the SID the HARD way.
plgDavid

Here is one of the "torture test" tunes which require very accurate emulation of a specific model, it sounds amazing:
https://www.youtube.com/watch?v=BVevORuyQ_8
Jammer - Club Stylier
Club Stylier
Forever 2010 - #1
 
... 29 posts hidden. Click here to view all posts....
 
2023-12-09 20:29
chatGPZ

Registered: Dec 2001
Posts: 11386
How does it not play correctly? Sounds just fine for me in current vsid. You aren't mistaking deepsid for reSID are you?
2023-12-09 21:08
iAN CooG

Registered: May 2002
Posts: 3193
Sounds correctly in
Sidplay/w 2.6 (ReSIDfp V0.0.2 Engine)
Sidplay 3 (ReSIDfp V2.4.0a Engine) (but at a bit lower volume)
VICE VSID (3.2 and 3.71 tested)
too bad doesn't sound correctly in ACID64 3.x+JsidDevice
2023-12-09 21:23
Repose

Registered: Oct 2010
Posts: 225
Yes, I made the mistake of assuming that DeepSID was using the reSID engine.
DeepSID "WebSID Player" and VLC are the two which failed for me.
2023-12-09 21:48
chatGPZ

Registered: Dec 2001
Posts: 11386
Quote:
DeepSID "WebSID Player" and VLC are the two which failed for me.

Deepsid is really only "okish" for relatively "normal" tunes without samples or any other trickery. VLC uses a very old libplaysid iirc, like reSID from 20 years ago :)
2023-12-10 00:36
Repose

Registered: Oct 2010
Posts: 225
I am using Sidplay 3 now, but its really really quiet. I'm wondering if I can compile this myself...
2023-12-10 06:51
NoiseEHC

Registered: Feb 2005
Posts: 51
Just two fast little related questions:

What is considered the "best" SID emulation engine? Is it ReSIDfp?

I have seen "resonance fix" patched sidplay26w versions like a decade ago. Are those patches already merged into ReSIDfp mainline? Or were they pointless to begin with?

I ask these question because I will need something to play back sound in a sound editor for my player. Obviously either it should play on a real C64 or the best emulator.
2023-12-10 17:14
chatGPZ

Registered: Dec 2001
Posts: 11386
Current reSID and reSIDfp are pretty much on par. The difference is mostly the way filter can be tweaked to your liking, and perhaps the defaults for them. Its mostly a matter of taste. All fixes have gone into both since Leandro is maintaining libresid(fp)
2023-12-11 06:15
Grue

Registered: Dec 2001
Posts: 162
Think that resid is the most accurate emulation what comes into digital parts of the sid chip. Unfortunately it doesn't sound much like the actual 6581's.

Resid-fp sounds much more like it

I bought this new chipsynth c64 and it has the best sounding 6581 emu I've heard so far, but currently 8580 is lacking distortion (I already made a bug report and its being worked on)

Problem with the 6581 is that the manufacturing process was quite crap what came into producing analog parts of the filter circuitry, lots of variance there and every chip sounds different.
Some of you have noticed that there are 2 external capacitors connected to the sid chip. Datasheet states that those should be matched pair but commodore didn't care and used cheapest available option, instead of accuracy. Also I'm quite sure that the internal parts connected to the different cap sizes are not linear to each other either.
You can tune 6581 filter cutoff by changing capacitor values, and if those are not matched to the same value you can imagine how that affects with everything else in the equation.

I like the resid-fp and chipsynth64 approach to measure the output instead of going to ideal solution from the engineering point of view. Both of those emulators have plenty of different filter curves for us to enjoy.

Which is more accurate then? Its up to your own ears and likings. And if you're not obsessed with sid sounds you shouldn't even care which emulator is the best, just enjoy the tunes.
2023-12-11 17:49
chatGPZ

Registered: Dec 2001
Posts: 11386
Commodore even used totally wrong caps on some boards :) (eg in all SX64, but also some regular boards)
2023-12-19 19:46
McMeatLoaf

Registered: Jan 2005
Posts: 108
There's a demo of it here you can download and run:
https://www.plogue.com/downloads.html
(10 min per session and you can't save, otherwise it seems to be the same as the full version)

The emulated filter IMHO sounds quite different from reSID-fp or Sidplay3 and clearly closer to real chips. Too bad a few of the emulated chips seem to glitch on some David Dunn tunes, e.g. Elite (both subtunes).
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Flashback
swasti
Holy Moses/Role
Guests online: 110
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.058 sec.