C64 Soundchip SID 6581 with Arduino Duemilanove

I'am searching for a circuit to use a C64 Soundchip with the Arduino Duemilanove ?

Would an emulator work?

http://www.arduino.cc/playground/Main/SID-emulator

A real SID shouldn't be too hard to interface; it would only require 12 I/O lines:

http://ist.uwaterloo.ca/~schepers/MJK/sid.html

That, and programming documentation, it shouldn't be too hard to interface...

I'd prefer that you left it in the C=64 and used the emulator, but oh well... :cry:

The solution should have the ability to play the sid-files from this website: http://remix.kwed.org/

Hey, i'm also doing some research. I found some interesting site, but none of theme have a replay routine. Most of them use midi.

Some links :

http://cpansearch.perl.org/src/LALA/Audio-SID-3.02/SID_file_format.txt

http://www.midibox.org/dokuwiki/wilba_mb_6582

http://cpansearch.perl.org/src/LALA/Audio-SID-3.02/SID_file_format.txt

This is a good information. It helps to extract all needed information from the original sid-file. With a pc-program !

Then they can be stored in the sketch for the arduino as a data table !

Did you already build a circuit with the 6581 ?

Not in the moment- It's the planning phase.

The c64 hasn't more memory for basic as the arduino memory. 32 kbyte too !

The c64 hasn't more memory for basic as the arduino memory. 32 kbyte too !

The Commodore 64 had 64K of RAM, hence the name. Also, since the architecture of the machine was Princeton instead of Harvard, the RAM space allocation for variables was much larger than what the ATMega line supplies.

Its really too bad Atmel didn't set things up so that you could set things (fuses or whatever) to vary the amount of program space vs sram space; its likely a physical invariant - that is, two physically separate RAM areas on the die (this can be a good thing in most cases, but having a way to change this would open up other possibilities - oh well).

:slight_smile:

Yeah, but only 38911 bytes available to users...

This uses the SID chip in a ATmega8 system:-
http://kaput.retroarchive.org/MIDI.html

The Commodore 64 had 64K of RAM, hence the name.

yea but you only had 32K left after basic loaded

So it wasn't called the 'C64 free' was it, just the C64 showing how much memory was in the box.
There was never any commitment to say you had free control over all of it.

The solution should have the ability to play the sid-files from this website: http://remix.kwed.org/

IIRC most implementations of SID-players use a 6502-emulator to run the player in the SID-files. So you need to emulate a 6502 on the Arduino.

Hi All
Did you have any luck interfacing with the chip?

I'm taking the www.ucapps.de approach using 2 595 shift registers as shown on the Shiftout tutorial http://www.arduino.cc/en/Tutorial/ShiftOut.

Theoretically this should be possible using only a handful of arduino pins.

I'll keep you posted

A other way is you use a sid-player on your pc, sample it, and use a wav-shield with the arduino !

Today the MOS6581 isn't the cheapest one !

Yes, but you lose the coolest part of the idea :wink:

On the subject of emulators...

Does anyone know how to contact SGMK or dusjagr? On the Playground, the link for the Eagle CAD file for their SID Shield is broken.. I'd like to get my hands on that to take it down to the local Fab Lab and burn it onto a printed circuit board.

I think this could be converted for the arduino.

http://kaput.retroarchive.org/MIDI.html