XC-1 SID emulator demo

XCore Project reviews, ideas, videos and proposals.
User avatar
f_petrini
Active Member
Posts: 43
Joined: Fri Dec 11, 2009 8:20 am

XC-1 SID emulator demo

Post by f_petrini »

Version: 1
Status: Complete
License: MIT
Download: /files/project_builds/SID_Player.zip

A small XC-1 demo including a Commodore 64 SID music player, 1-bit PWM audio output and a quick'n'dirty LED frequency analyzer.
While learning the XS1 architecture and the XC language I wanted to do something fun so I grabbed a small C64 SID player and put together a small demo.
Button A - Next subsong

Button B - Next tune

Button C - Previous tune

Button D - Restart current subsong
Features:

Commodore 64 CPU and SID emulator
1-bit PWM audio output
LED controller for 2*12 LEDs using 8-bit PWM
LED frequency analyser
25 classic SID tunes

SID tunes included: (In play order)

RoboCop 3, Arkanoid, Rambo 2, Ocean Loader 3, Tristesse
Last Ninja 2, Vertigo, Armageddon Man, Lightforce, Last Ninja Remix
Sanxion, Yie Ar Kung Fu, Game Over, Hawkeye, Ghosts'n Goblins
Spy vs Spy, Commando, Green Beret, RoboCop, Terra Cresta
Cybernoid, Cybernoid II, Delta, Glider Rider, MacGyver

Video:

Images:


User avatar
Berni
Respected Member
Posts: 363
Joined: Thu Dec 10, 2009 10:17 pm

Post by Berni »

This is a nice project, i actually did a quick port to my XC-2 to try it out and worked great!.Sounds even better when you output the sound in to some real speakers.
User avatar
leon_heller
XCore Expert
Posts: 546
Joined: Thu Dec 10, 2009 10:41 pm
Location: St. Leonards-on-Sea, E. Sussex, UK.

Post by leon_heller »

Very nice!

I am interested in the LCD code, but I can't find it.
User avatar
f_petrini
Active Member
Posts: 43
Joined: Fri Dec 11, 2009 8:20 am

Post by f_petrini »

The display driver is not actually a part of the demo.
I just found an OLED display in my "box of useful stuff", hooked it up and wrote some code just to display the frequency spectrum. The only thing it can do is to display 128 vertical bars.
I don't think it's useful for anything else...
User avatar
TonyD
XCore Addict
Posts: 234
Joined: Thu Dec 10, 2009 11:11 pm
Location: Newcastle, UK

Post by TonyD »

@Berni,
Could you post you XC-2 port. I'll like to try it on my XC-2
User avatar
williamk
Experienced Member
Posts: 114
Joined: Fri Oct 01, 2010 7:47 pm

Post by williamk »

I'm sorry if this is a stupid question, but how do I compile this for my XC-1A card? Thanks.
Wusik Dot Com (http://www.Wusik.com)
William-K.com (http://www.William-K.com)