Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

AVR ATmega644 MOD player - finally plays S3M!

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,343
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 27, 2011

New version of my module player on 8-bit AVR chip. Now It supports ProTracker and ScreamTracker 3 formats.
AVR MCU is overclocked to 32MHz from initial 20MHz so it's possible to play multi-channel trackers at listenable sampling rates.
Audio output from MCU is something like I2S digital stream (TDA1545 D-A converter) at 22.1kHz, 16-bit, stereo with linear interpolation.
Player actually doesn't play S3M directly - it has to be converted into something between MOD and S3M with special utility I've made for this purpose. Resulting format has all advantages of S3M (compressed patterns, panning settings, volume commands, ...) but it's much easier to read it with my player (I was a bit lazy to implement full S3M loader into my player - it's a bit much HW specific).

Video and audio was recorded separately so it's not perfectly synchronized.

Project www:
http://www.elektronika.kvalitne.cz/ATMEL/S3Mplayer/S3Mplayer_eng.html

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (xm07)

  • I want to try to make one but I only have 70ns SRAM at home, do you think it will work or should I get the 55ns version ?

  • @goeb1

    It should work I think. I'm accessing that memory in SW mode, so even at 32MHz it's pretty slow. Actually 100ns should be OK. Limiting factor is not SRAM but long wires around it (IDE interface).

    But I somehow can't imagine what SRAM do you have. 70ns? That must be some reeeaaalllly tiny model. :)

  • @xm07 OK, I was asking because you wrote that we "should get the 55ns version" on your blog.

    May I ask why you keep the IDE interface ? Do you plan switching to SDCard ?

    Thumbs up for your website, too bad I can't understand czech ;)

  • @goeb1

    I've started with IDE because it was easy to handle it with current HW. And since it can handle both CF and HDD it seemed like a good idea to me that time (HDD is much more friendly for write routines debugging since it has ulimited write cycles).

    SD card seems like good idea but there are several types with different access modes and different pages and actually I don't have any to play with. But I'm going to buy some and try it. At least 2GB version should be easy to handle.

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • @xm07 I have HM628512ALP-7 SRAM module in PDIP format, I thought you were using the same.

  • Thank you so much for the English version of your webpages !

    Keep up the good work !

  • @xm07 Ahh thank you very much !

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more