PDA

View Full Version : new OS - PorthOS is born - Now with copy and .bat support



vampyre
05-23-2008, 01:51 PM
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

Oldbitcollector (Jeff)
05-23-2008, 09:36 PM
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 (http://ucontroller.com/Propeller%20Protoboard%20Designs%20for%20the%20Beg inner.pdf)
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us (http://propeller.warrantyvoid.us)
Got an SD card? - PropDOS (http://www.orrtech.net/propdos/)
Need a part? Got spare electronics? - The Electronics Exchange (http://www.warrantyvoid.us/exchange/)

vampyre
05-24-2008, 01:19 AM
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.

vampyre
05-25-2008, 05:49 AM
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

giannissam
03-11-2009, 04:26 AM
where is the copy command?