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

updated:June 13, 2008 : PropDOS 1.7b

2

Comments

  • stevenmess2004stevenmess2004 Posts: 1,102
    edited 2008-03-08 08:36
    Looks great. I'll have a look tomorrow. I'll have to hook some speakers up to my prop so I can finally get some sound...
  • BaggersBaggers Posts: 3,019
    edited 2008-03-08 11:44
    OBC, Out of curiosity, why are the fonts still in spin format? or was the font stuff we did just for femto?
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-03-08 18:53
    Figured that due to the utility nature of PropDOS, the current AiGeneric would be fine.
    The video driver is interchangeable with the newer AiGeneric driver for those who
    want funky fonts in PropDOS.

    The real purpose of being able to change fonts is for FemtoBASIC, and I will add
    that to my "COLOR" release soon.

    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!)

  • tpw_mantpw_man Posts: 276
    edited 2008-03-18 14:20
    I have made a few modifications to propdos by adding 3 new commands: off = shuts down the system by killing all cogs, poweroff = equivalent to off, and help, which displays the list of commands. PropDOS is a great program! smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I am 1010, so be surprised!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-03-18 19:54
    Nice additions!

    I'll add them "officially" to the next release, 1.6b, along with a couple other things.
    (As soon as I get them wrapped up!)

    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!)

  • Ym2413aYm2413a Posts: 630
    edited 2008-04-07 20:10
    This is the best prop program ever. [noparse]:)[/noparse]
    Thanks for the new updates!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Share the knowledge: propeller.wikispaces.com
    Lets make some music: www.andrewarsenault.com/hss

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-04-07 20:41
    Thanks, but personally, I think the HSS, SD, and AiGeneric are really the best programs ever. [noparse]:)[/noparse]

    Nice to see you back in the forums! Any chance of an HSS update soon?

    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!)

  • Ym2413aYm2413a Posts: 630
    edited 2008-04-08 04:19
    An Update?
    Yes, I'll be sure to keep you posting. [noparse]:)[/noparse]

    Until then I'm going to have to give this new version of PropDos a spin. [noparse]:)[/noparse]
    Thanks!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Share the knowledge: propeller.wikispaces.com
    Lets make some music: www.andrewarsenault.com/hss

  • potatoheadpotatohead Posts: 10,261
    edited 2008-04-09 01:44
    Oldbit, that website is simply fantastic!

    Very well done!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!

    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-06-14 03:43
    PROPDOS V1.7b Release (see top thread for command list and Download Link)

    NOTES:

    This version adds Virtual Folders. These serve as a way to get organized using the current FSRW.

    --> For those who do not need/want this command set the DAT command in upper DAT to:
    ROOT byte "0",0

    The only change you will see is that DIR/W is now [noparse][[/noparse]F4] instead of [noparse][[/noparse]F1] and it will PAUSE at
    each screen full with the option to 'PRESS A KEY or [noparse][[/noparse]ESC]' to stop listing.


    --> For those (like myself) who are finding that videos/pictures/music/games etc are starting to get
    hard to manage, READ ON:

    Keep the DAT command in the upper DAT as:
    ROOT byte "root",0 (or change the word root to whatever you want to call it. 8 characters max!

    Boot PROPDOS and type LABEL <firstname> and hit ENTER
    Assign this label to ROOT or whatever you called it. This will create your Virtual Root Folder.

    Now use DIR/W ([noparse][[/noparse]F4]) to view the actual files on your SD card, and use the LABEL <filename.ext> to
    assign them to various labels. If the label doesn't exist, it will be created for you.

    You will start to notice LABEL.DIR entries appearing in both DIR (F1) and DIR/W (F4)
    These will also in each Virtual folder you create for reference.

    Now use CD LABEL to move to your Virtual Folder and DIR (F1) to view the files.
    Use CD.. or CD\ to exit back to your Virtual Root or Actual Root. (Depending on your settings.)

    This will feel a little awkward at first, but once you label your files, it's SWEET! [noparse]:)[/noparse]

    {Special Note: This version was created for ME! If you like it great, but I can't believe I'm actually
    using 50+ files and half a GIG of my SD card for my Propeller. Too Cool!}


    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 5:46:47 PM GMT
  • mcstarmcstar Posts: 144
    edited 2008-12-17 00:51
    I've been using FemtoBasic, but now I'm trying to use propdos. For some reason propdos will not mount my SDCard. I set the pins in propdos to
    '' Protoboard

    spiDO = 8
    spiClk = 9
    spiDI = 10
    spiCS = 11

    For femto I used fb.start(8), and it mounts the sd fine. I can view and read and write files with it. However with propdos I'm getting this error...
    No SD Card present.
    SD card expected on 8,9,10.11

    Just to be certain I've tested that each pin (do, clk, di and cs) are connected to the correct pins and they all are.

    Does anyone have and idea why propdos won't work on the same sd card as femto?
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-12-17 01:04
    Strange, I lifted the SD routines straight out of Mike's Femtobasic.

    Try remarking the code which checks the card and see if it actually sees it anyway.
    I've actually seen a couple keyboards which failed the check, but worked anyway.

    OBC

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

    Getting started with a Propeller Protoboard?
    Check out: Introduction to the Proboard & Propeller Cookbook 1.4
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • mcstarmcstar Posts: 144
    edited 2008-12-17 04:22
    I tried for a while to figure this out. It was the darnest thing. I had femto basic working without issue but propDos wouldn't mount the exact same SD card. I did a diff between the femto and the propdos files and found them to be almost identical, certainly there were no differences that would account for the fact that prop dos wouldn't work. It kept throwing the error right on the mount call. Finally, I started with a clean new file and added one new thing at a time until I got to where propdos would work. It turns out the difference was the HSS object. Deep in the HSS object it defines its pins in a DAT section like this...
    Port_Pins long %00000000_00000000_00001100_00000000

    Well, pins 10 and 11 are used for the SD on my protoboard! DOH!
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-12-17 04:24
    DOH!! I forgot about audio player that was included in PropDOS.. Sorry about that.

    Just out of curiosity, what pins are you connecting your audio to?

    OBC

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

    Getting started with a Propeller Protoboard?
    Check out: Introduction to the Proboard & Propeller Cookbook 1.4
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-25 21:07
    Jeff,

    I seem to be having one of those "Duh?" Days.

    I'm working on my ProPPhone... and I'm having trouble with PropDos v1.7 (and 1.6)

    I am using a protoboard with one of Brian's SpinStudio SD card adapters in pins 0-3.
    The SD card has a BIN file on it. I can see the file and read the file using sdrw_test from "fsrw and friends"

    but when I run PropDos it says that I don't have an SD card and shuts down. The pin assignments look ok to me.
    Any light for this darkness?

    Rich
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-02-25 21:16
    Hmm.. If you are sure you have it connected and set correctly, try
    remarking lines 171-189 (the code below) and see if the SD check is failing.
      if \fsrw.mount(spiDO,spiClk,spiDI,spiCS) < 0
         text.str(string(13,"No SD card present.",CR))
         text.str(string("SD card expected on: "))
         text.dec(spiDO)
         text.str(string(", "))
         text.dec(spiClk)
         text.str(string(", "))
         text.dec(spiDI)
         text.str(string(", "))
         text.dec(spiCS)
         text.str(string(13,CR,"System halted.",CR)) 
         abort 
      waitcnt(clkfreq + cnt)
      if not key.present                                
         text.str(string(13,"No keyboard present",CR))
         text.str(string("Keyboard expected on: "))
         text.dec(keyboard)
         text.str(string(13,CR,"System halted.",CR))
         abort   
    
    



    I've only seen one other time for the code to fail. It was a badly constructed
    audio/video head for a ucontroller board. (To this day I'm not sure why it failed.)

    If you are still getting stuck, PM me and I'll pull my "thinking cap" on a little tighter.

    OBC

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

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-25 21:24
    That gets me to the first splash screen which ends with:

    SD:\root>_

    When I type dir and ENTER, I get an empty virtual directory
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-02-25 21:33
    Ok, you are using 1.7, so hit [noparse][[/noparse]F4] (view actual directory) and tell me what you get.

    OBC

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

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-25 21:42
    1.7

    when i hit F4 I get an empty director with:

    Directory of SD

    Sd:\root>_

    by the way clr doesn't work for me either
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-25 21:45
    1.7b... that is. but I had this AM same issue with 1.6.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-02-25 21:50
    PM'd you. send me your phone number. [noparse]:)[/noparse]

    OBC

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

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-02-25 21:56
    it is in your PM... but it is also the dinner hour for you guys... don't ignore the wife and kids for this
  • rjo_rjo_ Posts: 1,825
    edited 2009-03-03 19:08
    Ended up with a nasty flu bug... have now returned to the living.

    This just didn't make any sense to me. So, I soldered up a new Proto board, uncommented the PropDos code, and presto-digito, I can now use PropDos!!!

    So, the big problem was a little problem on my proto-board... probably just enough to give me a timing problem. Which gives me a new project... Prop testing on steroids!!!

    Thanks for your very kind help... and mostly thanks for PropDos!!!

    Rich

    ps:

    in order to get the "dir" command to work, I had to change the following line (somewhere around line 280)

    if folder==0
    dosdir

    to

    if folder<>0
    dosdir

    I have no idea what folder is of course[noparse]:)[/noparse]
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-03-03 19:24
    Glad to see you back! I was wondering where you dropped off to.

    Curious, what version are you running? 1.7 with virtual directories?

    OBC

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

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-03-03 19:48
    Yes 1.7
    if I leave the line the way it is ... it falls through to an empty virtual directory using just "dir"

    This doesn't matter to me... I have everything I need[noparse]:)[/noparse]
  • rjo_rjo_ Posts: 1,825
    edited 2009-03-04 05:35
    By the way, I was absolutely tickled by how fast a program can load from the SD card... there doesn't seem to be any lag at all...
    exactly what I needed. I originally thought I was going to be using Chip's proploader and would run out of room eventually.
    PropDos is fabulous.

    Thanks again
  • rjo_rjo_ Posts: 1,825
    edited 2009-03-04 16:13
    over in the sandbox, QuattroRS4 said
    "not all microSD cards support SPI mode ..This caught me out for a bit .. "

    News to me[noparse]:)[/noparse]

    http://forums.parallax.com/forums/default.aspx?f=15&m=332829

    I'm using a uSD card with an adapter... if the issue with the Dir command isn't a software issue
    then maybe this is the issue[noparse]:)[/noparse]
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2009-03-04 16:16
    Ah, that does add a wrinkle or two.

    @Rich, you've got me intrigued by your Propphone stuff, could you update your thread a bit and
    share some details about this project? {pm'd you}

    OBC

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

    Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
    Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
    Got an SD card connected? - PropDOS
  • rjo_rjo_ Posts: 1,825
    edited 2009-03-04 17:11
    I'm working on it... but I'm still sick and my son... who has an autism variant ... is now taking driver's training and a couple of math courses at night, all of which requires a significant effort from both of us[noparse]:)[/noparse]

    My PropPhone will get a bump in the next week or so... I really needed to get PropDos working. Now that I have PropDos up and running, I have some easy stuff to do and then I will post it.

    Thanks for asking

    Rich
  • WBA ConsultingWBA Consulting Posts: 2,938
    edited 2009-10-13 20:49
    Is PropDOS the correct place to start for having a static program in EEPROM that would allow a user to select a program to run from an SD card by means of a single pushbutton?

    My project outline:: Upon power up or reset, an LED goes solid. The user holds a button down and the program slowly cycles through a single blink, double blink, and triple blink and the user releases during one of those cycles. If the LED was in it's double-blink cycle when the button was released, the program "2.bin" is started on the prop as the active program and while running, the double blink becomes the "power on" LED status.

    I also came across PROPCMD in the OBEX which is based/similar to PropDOS. Any other ideas?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andrew Williams
    WBA Consulting
    WBA-TH1M Sensirion SHT11 Module
    Special Olympics Polar Bear Plunge, Mar 20, 2010
Sign In or Register to comment.