C64 on a Breadboard: Play Retro Sounds with MOS 6581 (SID) and ESP 32
Ғылым және технология
One of the most famous sound chips of the 80s is undoubtedly the MOS 6581 Sound Interface Device, or SID for the Commodore 64. Let's put one on a breadboard and get some sounds out of it.
Recreate this project with a PCB from PCBWAY: www.pcbway.com/?from=Doctor%2...
Schematic and ESP32 sketch on Github: github.com/michalin/C64sid
Tools:
Camera: amzn.to/3kDp1BJ
USB Oscilloscope: amzn.to/3CMC7Tu
Consider supporting this channel and get updates about ongoing projects and preview videos!
Become a Patron: / docvolt
Or make a single donation per Paypal: www.paypal.com/paypalme/docvolt
00:00 - The MOS 6581 SID Chip
00:23 - Breadboard Assembly
03:09 - The 3 Voices
03:58 - Ring Modulator
04:30 - Voice Synchronization
05:01 - ADSR Envelopes
05:47 - Analog Filters
06:52 - Analog Inputs
07:26 - Waveform and Envelope Registers
08:16 - Software Sound Effects
09:11 - Digisound and Digifix
Пікірлер: 33
Awesome! Thanks a lot for sharing this amazing project 🙂
9:35 Commodore never managed to fully "fix" the noise bug -- so digital samples do work on the 8580; they simply play quieter than on the 6581. Digifix brings the volume back up. Thank you for an interesting look at all the various SID waveforms! -- JC
@jammerc64
10 ай бұрын
For about 15 years there are much better sample playback techniques such as triangle restart for example (plus it uses regular oscillator so samples can be filtered).
I see possibilities :) A Protracker on ESP32 with MOS6581 :) Ah...good old times.
Nice 👍🏼 This reminds me fiddling around with assembler in the good old C64 days 😎
Ring Modulation square wave bass sounds awesome. ocean loader 3 used it to near full effect. skate or die intro manipulated the 3 sid voice generators to create a 4th voice. amazing chip my man. the digital music inndustry is still using SID chips till today
I believe that the digital IO pins on the ESP32 are 5V tolerant. Apparently, it used to be in the datasheet, but they faced problems with people powering the chip itself with 5V so they omitted it to avoid confusion.
@DoctorVolt
10 ай бұрын
That's good to know. In all the forums that I have checked, it was said that the ESP32 pins are not 5V tolerant. However they survived the 4.3V from my SID.
Great stuff, thanks a lot for this video!
Marvellous, I've found this IC in an old PCB, but I haven't find out nothing on web about this.
@DoctorVolt
11 ай бұрын
www.c64-wiki.com/wiki/SID is a good starting point.
@ccr12345productions
8 ай бұрын
what kind of pcb?
This is excellent! Thank you.
Always wanted to do this.. Awesome!
Cool 😀
Super super cool!
Crazy good.
Fucking awesome dude, thank you
What songs u used I know one is from a game for c64, just cannot remember what game, I think its block buster but not sure
What about the clock input to the SID? don't you need to connect that, too?
@DoctorVolt
10 ай бұрын
It's connected to one of the ESP pins. Maybe I forgot to mention it.
Where did you manage to get a SID? Currently finding them near impossible to buy anywhere in India. Nothing in ebay ships here, and the ones that do are prohibitively expensive Also the cutoff frequency of an RC filter is defined by both resistance and capacitance. Capcitance value is fixed due to the capacitor. So to change the cutoff frequency, how do you manipulate the resistance value?
@DoctorVolt
5 ай бұрын
I got it on Ebay and paid around 45 Euro for it.
@Sh-hg8kf
5 ай бұрын
@@DoctorVolt holy dang, 45 euroes?! That's steeep!!!!
8:50 Is this possible with a real SID chip on real hardware? I would like to do something like that in Goat Tracker, any Idea? Great Video!
@DoctorVolt
4 ай бұрын
Sure. If you "peek" and "poke" the respective registers on a C64, for example.
Not sure I agree with the ring mod "sounding terrible."
@DoctorVolt
4 ай бұрын
You can certainly use it for great sound effects. But the way I implemented it, it sounded terrible to me. Anyway, it's just a matter of taste.
That soundchip is rare, expensive and scarce, furthermore it has the tendency of breaking down that is why they are no longer in production and Chinese dumpster divers try to sell then to those unfortunate people who have a Commodore 64 with a broken chip. Often people can only buy other chips that are also partially defect. This soundchip can be emulated by an FPGA, then a new and powerful high tech chip works as it were that forty years old prehistoric chip. And that is not cheap either! I would like to buy a real MOS 6581 but all chips that are available are harvested from old broken down Commodore 64 computers, often it is junk, expensive junk! I have three C64 but I will never take out the soundchip, if something happens I can never get the same chip again.
@DoctorVolt
11 ай бұрын
You are so right. I got three from Ebay. Two of them were scrap, only the one that you see in the video was good.
@chazlabreck
8 ай бұрын
i just baught a second to add to get 6 voices but have not tested that 45 dollar chip yet.. i WAS ASSURED IT WAS TESTED WORKING
@speedsterh
2 ай бұрын
There are SID "clones" available like SwinSID, ArmSID and now SIDKick. Prices and fidelity varies widely though.
PING @LOOKMUMNOCOMPUTER Should hook it up to one of his DIY synths.