Web Platform is playing SID tunes

A small embedded server. Get one for $40, including worldwide shipping.

Web Platform is playing SID tunes

Postby Markus Gritsch » Tue Feb 15, 2011 3:42 am

Hi,

after successfully getting the TinySID library running on a PIC32 [1]
some time ago, I recently wondered, if the 16 bit MCUs from Microchip
would also be fast enough to run the code. It turned out, that they
are, at least the 40 MIPS models (PIC24H and dsPIC33F).

A big hurdle is the (compared to the PIC32MX) small RAM on these
chips. Since the SID tune must be loaded into RAM, only some small
tunes will fit into the 8 kB of the MCU used on the Web Platform [2] I
had at hand.

However, the source code [3] and binary [4] are available from Google
Code and a demonstration video [5] is on YouTube. The PWM output is
on IO7, and IO8 is used to switch the tune when pulled to GND.

Have fun,
Markus

[1] http://www.youtube.com/watch?v=ZNu0-MZ9WLI
[2] http://dangerousprototypes.com/docs/Web_Platform
[3] http://code.google.com/p/dangerous-prot ... mware/SID/
[4] http://code.google.com/p/dangerous-prot ... 3Intro.hex
[5] http://www.youtube.com/watch?v=qlF1tdN5dK4
Attachments
IMG_0653.JPG
Last edited by Markus Gritsch on Mon May 30, 2011 4:09 am, edited 1 time in total.
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Web Platform is playing SID tunes

Postby senso » Wed Feb 16, 2011 8:19 pm

This is just EPIC!

I love that old school sound!
Need to get my PicKit so I can try that, i just love the 8 bit sounds, but I never had time to learn on how to make a micro-controller create then.
I have a little question, is there any programm that can be used to create the soundtracks?
senso
Jr. Member
Jr. Member
 
Posts: 56
Joined: Tue Jan 04, 2011 12:52 am

Re: Web Platform is playing SID tunes

Postby Markus Gritsch » Thu Feb 17, 2011 3:17 am

There are many trackers, most of them from the C64 era, which can be
used in a C64 emulator like VICE. However, if you are not used to it,
using them is a bit cumbersome.

There is also a cross platform tracker available: GoatTracker. It's
available at SourceForge: http://sourceforge.net/projects/goattracker2/

It can save the tunes in its own .sng format, but also allows saving
in .sid format (used by the TinySID library) or save a stand alone
.prg file for usage on a real C64.

Have fun,
Markus
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Web Platform is playing SID tunes

Postby senso » Thu Feb 17, 2011 7:40 am

I have onle more little question, the source code is available in the Google Code repository, right?
senso
Jr. Member
Jr. Member
 
Posts: 56
Joined: Tue Jan 04, 2011 12:52 am

Re: Web Platform is playing SID tunes

Postby Markus Gritsch » Thu Feb 17, 2011 7:57 am

The last paragraph in the original post says so, yes.
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Web Platform is playing SID tunes

Postby dmu » Mon May 30, 2011 3:09 am

Hi,
I tried to view your source code in refs [4] and [5] above but they seem to have disappeared from google. Do you have another link for them?
dmu
Newbie
Newbie
 
Posts: 1
Joined: Mon May 30, 2011 3:02 am

Re: Web Platform is playing SID tunes

Postby Markus Gritsch » Mon May 30, 2011 3:58 am

Ian, it seems that after your SVN restructuring I cannot find the web-platform folder anymore. Was it deleted?
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Web Platform is playing SID tunes

Postby Markus Gritsch » Mon May 30, 2011 4:11 am

Never mind -- the web-interface truncates the directory listing ("Sorry, truncated results. Use command line tools for complete view.")

I updated the links [3] and [4] in the first post.
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Web Platform is playing SID tunes

Postby ian » Mon May 30, 2011 4:13 am

It is still there, we did a re-org though. I notice the web interface says "Sorry, truncated results. Use command line tools for complete view.". This is the new link (only capitilization changes):
http://code.google.com/p/dangerous-prot ... mware/SID/

But it also 404s.

However, we now have nice source packages you can download with all of SVN contents:
http://dangerousprototypes.com/docs/Web ... #Downloads

Maybe it is time to move to GIT. I used it to browse the Microchip source and it has gotten MUCH better since I lasted used the github interface.
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Web Platform is playing SID tunes

Postby ian » Mon May 30, 2011 4:14 am

Thanks Markus
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am


Return to Web platform