From: phbill@cyberden.uucp
Newsgroups: comp.sys.atari.8bit
Subject: Re: Command line DOS again
Date: Fri, 09 Oct 92 21:42:13 PDT
Organization: Indescribable Creations

Well, lets see...  the program accpets only uppercase (since it's MyDOS, 
the filenames can have lowercase in them.. that's why I don't change the 
Caps of the inputs before I parse them).  Also, instead of having a 
"BLACK" and "DEFAULT" command, one just uses "POKE 709,x", or even "POKEC 
709,x" (or was it "POKED") to get both location 709 AND 710 changed..

here's a list of what I've got planned (and most of what I have done in 
the TBXL version):

(parameters in between "<" and ">" are optional.  These are also nested.)
% <text>  - display text (or a [RET])
CD <dir>  - change directory. With "dir", it will jump into a directory.
            Without (or if "dir" is "..") it will jump out.
..        - jump to root (change directory to the drive.. ie if you were
            in "D2:FILES:GAMES:", then ".." would change it to "D2:"..
            a simple "D2:" would do the trick, but HEY! what if you were
            in "D1:"!? (this is useful for batch files..))
DIR <dir> - show directory. In TBXL I also had the optional ",to" if the
            directory spec was made.  In Action! I will have output be
            redirectable.. also, the filename examining part of the 
            parser will determine where to temporarily send the output
            (ie, something like a ",P:" in a SHOW or DIR command would 
            send to printer rather than the output (normally screen, but
            hey, it's all settable!!))
MK dir    - make directory... simple
DEL file  - delete file(s) (if a certain command is appended to it (which
            I haven't decided on yet), then a "DELETE?" prompt can be
            turned on.)
LOCK file - lock!
UNLOCK file - hmmm!
REN file,new - rename file(s) (there'll be that prompt command.. so you
               could use wildcards)
LOAD file - binary load
RUN file  - binary run
RUN@ add  - run at address (and hey, values can be put in either decimal,
            hexidecimal or VARIBALE form!! WOW! This thing'll be PROGRAM-
            MABLE! (at least using batch files...))
Ddrive:   - set drive (also works in place of "..")
SHOW file - just like "type" on the IBMs.. it displays (a) file(s)
TYPE file - this is just "COPY E:,file" in disguise (also, if you were
            to USE "COPY E:,file", the screen would be cleared.. in this
            case it's kept intact)
COPY file,to - copy file(s) .. will have swapping, copy alphabetically,
               etc. etc.!!
PAUSE oo  - (the "oo" stands for "ON" to turn on, "OFF" to turn off, or
            nothing to display current value) This turns screen paging
            on & off.. and hey, maybe I'll even have a "PAGE-UP" type of
            command...MAYbe
ECHO oo   - this is for showing what a batch file is doing to your poor
            system...
REPORT oo - this turns off reports like "Directory made" or "Cannot 
            delete"... or it turns them on.. or if you type it alone, the
            last report (whether displayed or not) is shown.
NOISE oo  - this is I/O noise- location 65!
CLICK oo  - this is keyclick
SPEED val - this sets the key-repeat speed
POKE add<,val> - with a "val", this works like POKE, without one, it 
                 works like PEEK.
DPOKE add<,val> - ok, it was "DPOKE".. it pokes val (which can be from
                  0-65535) to locations add & add+1 in LSB/MSB format.
?         - display help stuff (possibly from a file, maybe not..not fin-
            ished yet!)
BAT file  - load a batch file (will be nested!)
CLS       - clearscreen
EDIT file - load up a file into the handy dandy editor...(yuck)
GET file,add<,size> - load all or part of a file into a block of memory
PUT file,add,size   - save a block of memory to file
MODE val  - change graphics mode
COMPARE file,to - compares two files (possibly even with SWAPPING!?)
RUN       - reset MyNI_DOS
RESET     - press the [RESET] key (it does it for you, you lazy bum)
BOOT      - turn off & on the power (it calls the routine at $E477 
            (58487), whereas "RESET" calls $E474 (58484)..try 'em!)
FORMAT <dir> - format drive (any filename will be valid, in case some
               DOS of the future supports directory formatting or some-
               thing strange like that!)
FIND file - find a file on the system (searching from current drive in-
            wards)
TREE <dir> - show directory tree (searching from the current directory or
             the one specified in "dir")

That's all I have on this list..  so far, my Action! version can do 
these:

? - help
CLS - clearscreen
Dx: - change drive
% <text> - PRINT
CD <..><dir> - Change dir.
.. - jump to root
DIR <dir> - show directory
REPORT oo - report on/off/display
MK dir - make dir.
BAT file - not tested..run a batch file
DEL file - delete
REN file - rename file
LOCK file - lock file
UNLOCK file - unlock file
ECHO oo - batch echoing..not tested
MODE v - graphics mode
NOISE oo - I/O noise
CLICK oo - key click
SPEED v - key repeat speed
DELDIR <dir> - delete all files (if deletable) within a directory and 
               then delete that directory... it's very buggy, and I may
               simply remove it because a "DEL dir:*.*" and "DEL dir"
               would be identical..


So.. is that enough, Dean? :)  Any other ideas anyone!?!?! :)

thanx for the interest.. and thanks to Rick Cortese and Jeff McWilliams 
for the help, and of course to Bob Woolley for giving me Action! in the 
first place..
                anyone recommend a GOOD, EASY TO USE, PD, runtime pkg!?


thanx!!!                                                        bill

PhBill: Bill Kendrick               |||  1200 Cyberden BBS (+1 415 472-5527)
Moon!Cyberden!PhBill@Well.SF.CA.US / | \ 2600 North of San Francisco California

Newsgroups: comp.sys.atari.8bit,rec.games.video,misc.forsale.computers