Arduino Playground is read-only starting December 31st, 2018. For more info please look at this Forum Post

SID-emulator code

The SID-emulator code was programmed by christoph haberer, Roboterclub Freiburg.

This was ported as a library so that it's possible to include it in a sketch without additional hardware. But if you want to burn your own SID-emulator chips you can do the following.

microcontroller: Atmega168

You need an AVR ISP programmer, i have been using mySmartUSB from myavr.com, or something like avr dragon or a stk500. there is rumours that the arduino ISP could be used as a ISP programmer, but it seems more difficult and i couldnt get it to run.

now u need to install AVR studio and winAVR, or just the command line tool avrdude.

the .hex file of the sid emulator can now be uplaoded to the board. make sure the u set the fuse bit before u upload the code. and then u are ready to rock the SID-emulator.

hex file of the code Attach:SID_emulator_a168_v1_8.zip

command line for avrdude using the mySmartUSB programmer:

// set the fuses

avrdude -p m168 -P com4 -c avr910 -F -v -e -U lfuse:w:0xff:m -U hfuse:w:0xdf:m -U efuse:w:0x07:m

// write the code - change the filepath

avrdude -p m168 -P com4 -c avr910 -F -e -U flash:w:"D:/desktop/atmega/SID/SID_emulator_a168_v1_8.hex":a

if you have problems with the code, u should try to compile it urself using the original c code and a software like AVR studio. for more info and the c source code look on christoph's page

Roboterclub Freiburg

go back to main SID page