Shop OBEX P1 Docs P2 Docs Learn Events
SIDPLAYER for VGA - Page 2 — Parallax Forums

SIDPLAYER for VGA

2»

Comments

  • pik33pik33 Posts: 2,397
    edited 2012-06-15 11:00
    We have two players. One Jeff's with 50x one cog vga driver, another one is mine, with 80x30 2 cogs vga driver

    I don't know what is maturity and stability of Jeff's player, but my version is early alpha - all these functions like stopping (try ctrl-c in 0.03, there is no stop in 0.05), etc, are still to write and then stabilize. I can't call it a program - it is still an experiment.

    I think both of us can make improvements in code, that the other player can use. For example cd to /dmp, this \ before change directory and my today's discoveries with waitcnt
    I like this keyboard effect in Jeff's player :) - and this 8-bit font, it gives a c64 look for it. My driver is based on 16-bit Atari ST; it is still nostalgic, but this is another part of computer history
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2012-06-15 11:05
    @pik33,

    You've got re-definable characters in your driver. You could easily replicate a mini keyboard for your project. It would look cool.

    I *think* mine is stable for now, with the exception that I need to re-implement the multi-page selection screen (thanks to Ahle2's sharing of his massive DMP collection in the SIDcog thread.) Once you get a "stable" version you like, I'll add a link to the OP.

    OBC
  • pik33pik33 Posts: 2,397
    edited 2012-06-15 11:23
    Ahle's collection makes me to increment a limit from 99 to 299 (still too small, but hub ram was filled - it needs a new approach) and remake a file selector (look at 0.06) - it still needs a lot of work, it has a lot of headerless dmps - I think about writing a header maker for dmp.

    Effects like keyboard are harder with my driver because it has one color set for 4 characters group.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2012-06-15 12:48
    pik33 wrote: »
    Effects like keyboard are harder with my driver because it has one color set for 4 characters group.

    You only need two colors using redefinable characters, just switch out one character for another when the key is pressed.

    OBC
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2012-06-15 22:36
    Updated Archive on OP.

    Supports use of over 1000+ SID DMP files now using cursor arrows to select pages. Accommodates the large collection that Ahle2 posted to his SIDcog thread.

    Controls: Cursor right/left to change pages. Underscore "_" & Tilde "~" do not have to be shifted for.

    Enjoy!

    OBC
  • pik33pik33 Posts: 2,397
    edited 2012-06-15 22:56
    Downloaded. Tested. Good :)
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2012-06-15 23:01
    Grab it again, I added a couple keyboard shortcuts. (see my post above your last)

    OBC
  • pik33pik33 Posts: 2,397
    edited 2012-06-15 23:17
    And here is my 0.06a. Player hasn't changed, I only added a header and MIT license if someone
    I was planning to demo this at Maker Faire NC tomorrow

    wants to use it..

    .. and replaced vga driver 0.32 with 0.33 - now color procedures are something about 20x faster

    Edit: Downloaded...

    Try to add a header support to it, some of these tunes has playing frequency different than 50 Hz (6581 Doped Cows, Eskimonika) and this can be read from the header if any exists.
        \fat.openfile(buffer,"r")
        c:=\fat.readdata(@buffer2,25)
        if c==25
          if (buffer2[0]=="S") and (buffer2[1]=="D") and (buffer2[2]=="M") and (buffer2[3]=="P")
            freq:=buffer2[4]      'lowest byte of freq    
    
    
  • onewheeltomonewheeltom Posts: 40
    edited 2012-07-04 14:54
    I'm getting a "Object exceeds runtime memory limit by 788 longs". I'm running on an older Quickstart with the 32K EEPROM.

    --tom
    pik33 wrote: »
    And here is my 0.06a. Player hasn't changed, I only added a header and MIT license if someone



    wants to use it..

    .. and replaced vga driver 0.32 with 0.33 - now color procedures are something about 20x faster

    Edit: Downloaded...

    Try to add a header support to it, some of these tunes has playing frequency different than 50 Hz (6581 Doped Cows, Eskimonika) and this can be read from the header if any exists.
        \fat.openfile(buffer,"r")
        c:=\fat.readdata(@buffer2,25)
        if c==25
          if (buffer2[0]=="S") and (buffer2[1]=="D") and (buffer2[2]=="M") and (buffer2[3]=="P")
            freq:=buffer2[4]      'lowest byte of freq    
    
    
  • onewheeltomonewheeltom Posts: 40
    edited 2012-07-04 15:00
    Jeff,

    This one does not work. I see a list of truncated file names. When I press the enter key, I briefly see the screen with the keyboard. No sound.

    --tom
    @Tom,

    I'm curious if this one is working for you? (Since there are actually two different players discussed on this thread.) :)
    https://www.dropbox.com/s/jz1rz0wzr58yto9/VGASIDPLAYER.zip

    OBC
  • onewheeltomonewheeltom Posts: 40
    edited 2012-07-04 15:17
    This looks good on my little VGA monitor. Sounds good too. The least portable aspect is the huge PS/2 keyboard. I'm running this on a QuickStart with the Gadget Gangster Quick VGA +. Getting it to work with the Nintendo Classic Controller through the Nintendo I2C port might be a good initial programming challenge. Perhaps a drop in replacement for the PS/2 driver that generates the appropriate keystrokes.

    --tom
    pik33 wrote: »
    New version

    Alpha warning!!! Alpha, alpha, alpha... Needs heavy debugging. It can hang when changing a tune. VGA driver needs heavy debugging and updating, too

    New user interface
    Playing method with separate cog, doesn't interfere with user interface
    There is place for directory selector

    Edit: and no more muffled demoboard sound. I patched it with 680 R resistors.
  • pik33pik33 Posts: 2,397
    edited 2012-07-04 23:08
    I'm getting a "Object exceeds runtime memory limit by 788 longs". I'm running on an older Quickstart with the 32K EEPROM.

    --tom

    Use BST to compile, it don't include unused procedures.

    I created a new topic for my player, to stop mixing 2 of them here: http://forums.parallax.com/showthread.php?140767-A-new-topic-for-vga-%28not-only%29-sid-player&highlight=vga+player
  • onewheeltomonewheeltom Posts: 40
    edited 2012-07-06 20:03
    Could these archives be reposted? The links no longer work.

    Thanks,
    Tom

    Edit: Ahle2 was kind enough to share his personal DMP collection as well:
    SidDumpsMegaArchive_zip
    OriginalSIDcogDemoTunes_zip

    Dump the DMP files into a folder called "dmp" on your SD card.

    OBC
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2012-07-06 20:44
    I lost my original archive of this, but I've loaded a bunch of them into the archive.

    http://www.propellerpowered.com/library

    OBC
Sign In or Register to comment.