Shop OBEX P1 Docs P2 Docs Learn Events
updated:June 13, 2008 : PropDOS 1.7b — Parallax Forums

updated:June 13, 2008 : PropDOS 1.7b

Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
edited 2012-07-23 06:49 in Propeller 1
Requires, SD, ComboKeyboard, and Video

Commands: (Command-line support)

DIR = show files in Virtual Folder [noparse][[/noparse]F1 and % shortcuts to this]
DIR/W = show actual files on SD (wide display) [noparse][[/noparse]F4 and $ shortcuts to this]
DIR *.ext = show files by extension (type dir *.ext)
DEL = delete file (del filename)
SPIN = load/run binary from SD (spin filename)
(filename (without .bin extension will also load/run binary from SD)
CLS = clear the screen
TYPE = display a text file (type filename)
PLAY = load/play an hmus file (play filename)
STOP = stop playing current hmus file
REBOOT = Reboot the Propeller
COPY CON filename = Simple text file creator, exit with Control-Z on a blank line
WPLAY = play 16k-mono & 16bit stereo wav file from SD (wplay filename)
ESC on boot will bypass PropDOS and start the file MENU.BIN from SD if it exists.
HELP = Display list of commands and credits. [noparse][[/noparse]? shortcuts to this]
LABEL <filename.ext> = Assign file to Virtual Folder (creates Virtual Folder if it does not exist.)
[noparse][[/noparse]NOTE: Virtual Folders are simply text files which can be edited.]
CD <VirtualFolder> = Moves view to Virtual Folder (Omit the .DIR when using this)
CD\ or CD.. = Moves from Virtual Folder to Virtual Root/Actual Root. (Depending on compile options)
[noparse][[/noparse]NOTE: In the upper DAT section, there is an option to select Virtual Root, or Standard Root for DIR.]

Download and copy the hmus files on the SD from Andrew's website, and they will load and play.
(Note: you may want to change the .hmus extension to 8.3 format, I used filename.hmu)
link to music: www.andrewarsenault.com/hss/hmedia.html

UPDATED: V1.7b
*This is the GET ORGANIZED Edition. [noparse]:)[/noparse]

Added HELP,LABEL,CD\,CD..,LS, commands.
Assigned [noparse][[/noparse]F1] to display Virtual Folder.
Assigned [noparse][[/noparse]F4] to display all actual files on SD.
Added a PAUSE to DIR/W ([noparse][[/noparse]F4]) at each screenfull.
Removed RESUME command due to maxed ELSEIF usage.
VER command became HELP.
Fixed other minor issues.

NOTE
I've left the 1.6 version attached for those who want the older version.
rename the 1.7b with a .zip extension.

Good Partner Programs for PropDOS
PropCOMM Terminal (Will be updated soon)
PropEDIT: Full Screen Text Editor
FemtoBASIC: COLOR (Uses AIGeneric Driver)
(Hss) Music Player
ETHcomm Propeller BBS Client
PropTerminal w/FILE2SD
tvIRC client (requires enc28j60 device)

OBC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?

Getting started with the Protoboard? - Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card? - PropDOS
Need a part? Got spare electronics? - The Electronics Exchange

Post Edited (Oldbitcollector) : 6/14/2008 3:31:28 AM GMT
«13

Comments

  • Ym2413aYm2413a Posts: 630
    edited 2007-10-16 03:51
    Hey! that's really cool! [noparse]:)[/noparse]
    I'm working on an image compression format for the Prop too. So maybe we can add support for that later. ; )

    Great work!
    --Andrew Arsenault.
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-10-18 16:29
    Just Curious Wrote: where does the filetype HMUS come from and is it standardized?
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-10-18 16:38
    Andrew and I have been chatting about this.. Here's some detail I don't think
    he'll mind my sharing to this thread..
    Andrew said...

    The first beta version of the module music format was .HMF which was short for (Hydra music format).
    I changed the name over to .HMUS with the second version of the player.

    .HMF had a different form of compression that wasn't as compacted as the currect .HMUS where ALL instrument commands and most note commands are only 1 byte long.

    We came to the conclusion that the .hmu extension isn't a bad idea because of the 8.3 limitation in
    the current SD module.

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-10-20 19:08
    Major revision.. See top of thread..

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • Ym2413aYm2413a Posts: 630
    edited 2007-10-21 08:49
    Very cool! [noparse]:)[/noparse]
    I'm going to build myself a SD card reader for the demoboard and give this a try!
  • BaggersBaggers Posts: 3,019
    edited 2007-10-21 11:35
    Andrew, you can use your hybrid when you get it [noparse]:)[/noparse]
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-10-21 20:10
    Here's a little toy to test out your PropDOS setup.

    Extract and put both these files (binary & music) on your SD.
    Startup PropDOS and type: spin swishsyn.bin

    (of course play metroid.hmu does the same thing, but not as pretty..

    (Code distributed in binary with permission)

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • parts-man73parts-man73 Posts: 830
    edited 2007-10-25 03:47
    Had some time to check this program out tonight. Ran it on my SpinStudio board with SD Adapter, Mouse/Keyboard adapter and audio/Video adapter installed. Ran flawlessly.

    Nice work Jeff, Image display would be a great improvement, but it's great as is.

    Would be nice to show new users what the Propeller can easily accomplish, barely flexing it's muscles though.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Brian

    uController.com - home of SpinStudio
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-10-25 04:43
    Thanks!

    I've been considering something along the lines of a text editor for it next, but
    image display would also be very cool. While the program is pretty lightweight,
    I use quite a bit of byte space to load 4k-6k .hmus files. I'm considering a method
    by which I can pass command-line data to binaries outside of the PropDOS module
    itself. It would affect things like the music's ability to play in the background, but
    would free up space for other cool features.

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • ColeyColey Posts: 1,129
    edited 2007-11-03 10:11
    Hey Jeff,

    I ran this on my Hybrid, it's very good, I especially like the play command....

    Thanks!

    Coley
  • Ym2413aYm2413a Posts: 630
    edited 2007-11-03 14:28
    Coley said...
    Hey Jeff,

    I ran this on my Hybrid, it's very good, I especially like the play command....

    Thanks!

    Coley

    Yeah, once I get the Hybrid in I'll convert (Hss) over to it.
    At the moment I'm guessing everything plays faster then it should because of the faster xtal xPLL configuration.

    Tonal center isn't A=440hz +/- 0.005 cents either I'm sure! [noparse];)[/noparse]

    Sort of like the Amiga Trackers when using the VBI (Vertical Blank Interrupt) for music playback on PAL and NTSC systems. *since the speeds are different from the two TV standards (50hz / 60hz)*

    --Andrew Arsenault.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-09 04:21
    Update to PropDOS posted... See top of thread.

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-11-09 05:53
    something is wrong here: save target as gives you the opportunity to save 'attach.htm', clicking gives a 'something does not exist screen'
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-09 05:59
    Save target doesn't work... Just click on it.. [noparse]:)[/noparse]

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • william chanwilliam chan Posts: 1,326
    edited 2007-11-09 06:05
    Where is the MKDIR command? ; )
    Is there a schematic for the wiring connections?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-09 06:11
    I've been begging the author of the SD routines to consider a CD command, but he's very busy..
    (Perhaps we can come up with a good bribe.. [noparse]:)[/noparse]

    As for the schematics, I assume you mean the SD card? I've got all the schematics for the
    required hardware in the Propeller Cookbook, which can be downloaded from www.uController.com

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • Areal PersonAreal Person Posts: 197
    edited 2007-11-09 20:42
    Hi,

    Well, I'm trying to hook up a standard SD card on the demo board.
    I cant seem to get it to work (my first time trying) I'm using PropDOS defaults
    I have been working on this forever, I've tried everything...

    Here's my pin config.

    ··· SD Config

    ··· | 1 2 3 4 5 6 7 8
    ··· 9
    ···

    · SD Pin 9 (the one that drops down) NOT CONNECTED
    ··SD Pin 8 -> 10k pullup - > 3.3v
    · SD Pin 7 -> 10k pullup - > 3.3v -> Prop P0
    · SD Pin 6 -> vss
    · SD Pin 5 -> 10k pullup - > 3.3v -> Prop P1
    · SD Pin 4 -> vdd
    · SD Pin 3 -> vss
    · SD Pin·2 -> 10k pullup - > 3.3v -> Prop P2
    · SD Pin·1 -> 10k pullup - > 3.3v -> Prop P3

    ·

    · Ok, I just noticed I didnot have my SD card pluged in all the way, Ha.. Ha..
    · Now it is working just fine !

    · These pinouts work correctly.

    · So here's the info for someone who is new to SD cards. This works with the defaults
    · in PropDOS

    · I posted this because I've been trying to do it for 24 hours now... Ha.. Ha, Ha..

    · This was much easier to use than DOSonChip!

    ·Thanks,
    ··-Areal






    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I have a tree growing out of my head, but

    what do you expect ? I'm a programmer.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-09 21:50
    Thanks!

    I did noticed one thing that DOSonaChip does that PropDOS doesn't; it has a time/date chip.

    I was looking at the screen shots from their site. Perhaps I will adopt their directory
    format when directories are supported on the SD driver. But for the moment,
    I'm hunting for every extra long I have so I can drop that WAV file player in. [noparse]:)[/noparse]

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • RaymanRayman Posts: 15,372
    edited 2007-11-09 22:34
    If you're really tight, I think you can reduce the buffersize even more (I think it works with buffersize=28). (I'm assuming you're talking about my WAV file player [noparse]:)[/noparse]
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-09 23:04
    Yes, that's exactly what I'm thinking.. I'll try the reduced buffer size tonight, although
    I may be able to simply reuse part of the one I'm using for the HMUS files since one
    wouldn't be playing both at the same time.

    This is healthy for me, as it will force me to tighten up my code... [noparse]:)[/noparse]

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2007-11-10 11:15
    OBC, maybe you could add a number to these files. This ought to be PropDos03.zip I think.
  • BaggersBaggers Posts: 3,019
    edited 2007-11-12 08:35
    KNOWN ISSUES:
    HSS player will sometimes fail after a .wav has been played.

    Try setting a flag for the wav player to know when to finish, so it can output a zero, and thus allow HSS to play again.

    Baggers.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-25 05:26
    PropDOS gets fully colorized & font selectable on this release.. See top of thread for full details...

    Also for purchasers of SpinStudio, PropDOS can be provided upon request.
    This may save a few new users the immediate expense of a Propplug to get started.

    Website for PropDOS now located at www.orrtech.net/propdos

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Just getting started with Propeller?

    Propeller Cookbook

    PropDOS
  • parts-man73parts-man73 Posts: 830
    edited 2007-11-25 19:18
    As OldBitCollector mentioned, I will provide upon request a pre-programmed EEPROM with any SpinStudio purchase, free upon request. With PropDOS on board.

    I like the idea of being able to compile programs into binaries, load to SD card, and run on a Propeller without the PropPlug. Yes, The PropPlug is easier when frequent changes are necessary. But for a beginner, they can try it out without an extra $30 outlay for the PropPlug.

    It's nice to take things on the road too. Say for example you have a electronics club meeting and you want to bring it along, but want to show off multiple programs, just load them all onto your SD card and bring them all!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Brian

    uController.com - home of SpinStudio

    PropNIC - Add ethernet ability to your Propeller!

    SD card Adapter
  • Ym2413aYm2413a Posts: 630
    edited 2007-11-26 17:58
    Cool, I like the new website! [noparse]:)[/noparse]
    Version 1.5c here I come!

    --Andrew Arsenault.
  • BaggersBaggers Posts: 3,019
    edited 2007-11-26 18:44
    Cool,

    Been thinking, with having all those fonts why don't you change them to raw files and have them selectable in the dos, ie FONT CBM or FONTBURNRUBBER, which would then just load the new font over the old one [noparse]:)[/noparse]

    Just a thought,

    Baggers.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-26 19:20
    That would be very cool, and possible with this version of this video driver. I just haven't gotten
    completely up to speed on how to change characters on the fly. This is something I'd like to add
    for use with my "Femto COLOR" that would allow redefinition of characters for basic games.

    Not sure how to handle raw files yet, study of your spectrum driver is on my to-do list.

    Working on it.. [noparse]:)[/noparse]
    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Just getting started with Propeller?

    Propeller Cookbook

    PropDOS
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-26 19:26
    parts-man73 said...

    It's nice to take things on the road too. Say for example you have a electronics club meeting and you want to bring it along, but want to show off multiple programs, just load them all onto your SD card and bring them all!

    Yup, exactly what I did this weekend too! Packed all of my SpinStudio modules into a small box with a power supply, a NES controller, and took the Prop over to the relatives. Looks like my brother-in-law will be joining the ranks of the Propeller-heads this month. Just drop a load of binaries from some of the games in the Hydra section, with some wav & hmus files and you've got a nifty way to demonstrate the Propeller to the others. It sure beats babbling on about what this amazing chip can do over the dinner table to folks who can't begin to grasp what you are talking about.....Boot PropDOS, Spin JETPAC, hand the controller out and watch the fun. (I did)

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Just getting started with Propeller?

    Propeller Cookbook

    PropDOS

    Post Edited (Oldbitcollector) : 11/26/2007 7:32:44 PM GMT
  • BaggersBaggers Posts: 3,019
    edited 2007-11-26 20:32
    OBC, let me know if you want me to put it in for you, or not if you enjoying the learning?
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-03-08 08:30
    Long overdue update to PropDOS.

    Many tweaks, big fix of not using "SPIN filename.bin" to execute files.
    (See top thread)

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Getting started with the Protoboard? - Propeller Cookbook 1.4
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card? - PropDOS
    A Living Propeller FAQ - The Propeller Wiki
    (Got the Knowledge? Got a Moment? Add something today!)

Sign In or Register to comment.