Shop OBEX P1 Docs P2 Docs Learn Events
new OS - PorthOS is born - Now with copy and .bat support — Parallax Forums

new OS - PorthOS is born - Now with copy and .bat support

vampyrevampyre Posts: 146
edited 2009-03-10 21:26 in Propeller 1
Hi all.

I'm writing my own operating system for the prop, called PorthOS. Its basically a plagiarized version
of propDOS by OBC, and at the moment very similar to it, with only a couple of differences. Many thanks
to OBC , Mike Green and Paul H for their permission to use their code.

Current features:
*a few dos commands (dir, erase, type, cls, help, ver, copy)
*error checking with the delete file command
*uses standard TV text object by parallax instead of the small fonts, which is good or bad,
depending on how good your eyesight is. mine is terrible, which is why i wanted
something easy to read.
*the HELP command lists all valid commands, which is handy for those with bad memory
*to launch a binary, simply type its name with or without the extension
*a slow but working Copy command <-- new
*.bat batch file suppport <-- new
*command line argument passing <-- new

Future plans:
config file so apps know what hardware is installed and where. maybe i'll get smart and figure out a way to utilize dynamic drivers

please download and enjoy and let me know if you find any bugs or
want to see some feature implemented.

Post Edited (vampyre) : 5/25/2008 10:41:12 AM GMT

Comments

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2008-05-23 14:36
    Nice! I've discovered projects like this are a great way to learn spin.

    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
  • vampyrevampyre Posts: 146
    edited 2008-05-23 18:19
    thanks for the comment. The speed at which I'm making progress is surprising. Part of that is of course because most of the hard code is already done, but a big part is the fact that spin is such a pleasure to work with. It reminds me of Linux , it just works.

    My kids are visiting for the summer so progress will slow a bit, but in just an hour this morning i was able to get the command line argument passing done and write a test app that shows how to make use of it. maybe thats not a big accomplishment but keep in mind, i've only been spinning for what, a week? and up till this point, i haven't drawn a single flow chart. I should have, but the fact that i was able to get this far without any real planning is.. mind boggling. The prop, and language are just superior products. i can't wait till the rest of the world realizes that.
  • vampyrevampyre Posts: 146
    edited 2008-05-24 22:49
    Spankin New features

    This release contains:

    a slow but working Copy command
    BATCH file suppport
    and command line argument passing

    this file is attached to the first post in this thread
    Hope u guys find it useful
  • giannissamgiannissam Posts: 22
    edited 2009-03-10 21:26
    where is the copy command?
Sign In or Register to comment.