RSS YouTube LinkedIn Twitter XCore IRC

Search

Projects Forum

Enter your XCore Exchange username.
Enter the password that accompanies your username.

Forgot your password?

Sign up for an account

Things to do: Search all projects, Create a project

XC-1 SID emulator demo

by f_petrini

Version 1

Size: 345.32kb

View older versions

Project Overview

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

Verified to run on

Videos

Images and diagrams

Rate this project


4.9
Average: 4.9 (10 votes)
Your rating: None

Share this project!

Twitter Icon Share on Twitter

Twitter Icon Share on Facebook

submit to reddit Share on Reddit

Comments / Updates

How to compile this?

I'm sorry if this is a stupid question, but how do I compile this for my XC-1A card? Thanks.

Nice

@Berni,
Could you post you XC-2 port. I'll like to try it on my XC-2

Re: LCD code

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

LCD code?

Very nice!

I am interested in the LCD code, but I can't find it.

Nice

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.

X