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:
XC-1 SID emulator demo
-
- Active Member
- Posts: 43
- Joined: Fri Dec 11, 2009 8:20 am
-
- Respected Member
- Posts: 363
- Joined: Thu Dec 10, 2009 10:17 pm
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.
-
- XCore Expert
- Posts: 546
- Joined: Thu Dec 10, 2009 10:41 pm
- Location: St. Leonards-on-Sea, E. Sussex, UK.
Very nice!
I am interested in the LCD code, but I can't find it.
I am interested in the LCD code, but I can't find it.
-
- Active Member
- Posts: 43
- Joined: Fri Dec 11, 2009 8:20 am
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...
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...
-
- XCore Addict
- Posts: 234
- Joined: Thu Dec 10, 2009 11:11 pm
- Location: Newcastle, UK
@Berni,
Could you post you XC-2 port. I'll like to try it on my XC-2
Could you post you XC-2 port. I'll like to try it on my XC-2
-
- Experienced Member
- Posts: 114
- Joined: Fri Oct 01, 2010 7:47 pm
I'm sorry if this is a stupid question, but how do I compile this for my XC-1A card? Thanks.