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

  • @p43lz3r
    @p43lz3r7 ай бұрын

    Awesome! Thanks a lot for sharing this amazing project 🙂

  • @BasicBitesCA
    @BasicBitesCA11 ай бұрын

    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

    @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).

  • @christianmontagx8461
    @christianmontagx84614 ай бұрын

    I see possibilities :) A Protracker on ESP32 with MOS6581 :) Ah...good old times.

  • @havelsand
    @havelsand11 ай бұрын

    Nice 👍🏼 This reminds me fiddling around with assembler in the good old C64 days 😎

  • @oldschoolfoil2365
    @oldschoolfoil23652 ай бұрын

    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

  • @stephenwhite506
    @stephenwhite50610 ай бұрын

    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

    @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.

  • @PeranMe
    @PeranMe11 ай бұрын

    Great stuff, thanks a lot for this video!

  • @TechnoPyromane
    @TechnoPyromane11 ай бұрын

    Marvellous, I've found this IC in an old PCB, but I haven't find out nothing on web about this.

  • @DoctorVolt

    @DoctorVolt

    11 ай бұрын

    www.c64-wiki.com/wiki/SID is a good starting point.

  • @ccr12345productions

    @ccr12345productions

    8 ай бұрын

    what kind of pcb?

  • @MrAlFuture
    @MrAlFuture5 ай бұрын

    This is excellent! Thank you.

  • @wizardofboz76
    @wizardofboz769 ай бұрын

    Always wanted to do this.. Awesome!

  • @Gregster-HH
    @Gregster-HH11 ай бұрын

    Cool 😀

  • @felippeboulderdash8453
    @felippeboulderdash845310 ай бұрын

    Super super cool!

  • @MichaelLauerDr
    @MichaelLauerDr11 ай бұрын

    Crazy good.

  • @lewis1902
    @lewis19024 ай бұрын

    Fucking awesome dude, thank you

  • @Veso266
    @Veso2664 ай бұрын

    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

  • @DIYDSP
    @DIYDSP10 ай бұрын

    What about the clock input to the SID? don't you need to connect that, too?

  • @DoctorVolt

    @DoctorVolt

    10 ай бұрын

    It's connected to one of the ESP pins. Maybe I forgot to mention it.

  • @Sh-hg8kf
    @Sh-hg8kf5 ай бұрын

    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

    @DoctorVolt

    5 ай бұрын

    I got it on Ebay and paid around 45 Euro for it.

  • @Sh-hg8kf

    @Sh-hg8kf

    5 ай бұрын

    @@DoctorVolt holy dang, 45 euroes?! That's steeep!!!!

  • @Nordischsound
    @Nordischsound4 ай бұрын

    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

    @DoctorVolt

    4 ай бұрын

    Sure. If you "peek" and "poke" the respective registers on a C64, for example.

  • @acousvnt
    @acousvnt4 ай бұрын

    Not sure I agree with the ring mod "sounding terrible."

  • @DoctorVolt

    @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.

  • @vanhetgoor
    @vanhetgoor11 ай бұрын

    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

    @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

    @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

    @speedsterh

    2 ай бұрын

    There are SID "clones" available like SwinSID, ArmSID and now SIDKick. Prices and fidelity varies widely though.

  • @MyEconomics101
    @MyEconomics10111 ай бұрын

    PING @LOOKMUMNOCOMPUTER Should hook it up to one of his DIY synths.

Келесі