.      Welcome to the exciting world of DosPLUS II
. for the Z80 based TRS80 Models II and 16
.
.      What you are watching right now is an example of just one
. of the many powerful features of the DosPLUS II system.
. In this demonstration file we will introduce you to some
. of the functions that are now at your command.
.
pause      to proceed with the demonstrations
cls
.      The DosPLUS II system is a 'device oriented' disk operating system.
. Sixteen devices are available, three of which are left free
. for future device support or user implementation.
. Devices are all structured so that they may valid 'pathways'
. to supply data requests through system channels.
. This means that by entering simple commands the flow of data
. through the system may be altered to anything the user desires.
.
.      The DosPLUS II system is also very FLEXIBLE.  Three 'special' words are
. reserved by the system for user I/O direction specifiers.
. The words are TO FROM USING, and may always be used at any time
. from the command level at the DosPLUS II prompt.
. These words allow great flexiblity in specifying data flow
. through this powerful system.
.
.      In the enclosed operating system manual you will learn about
. all of the power that is now at your fingertips.
. Let's take a look at the 'devices' that the DosPLUS II system supports.
pause
cls ; route ; config
pause
cls
.      All of the 'devices' in the DosPLUS II system may be
. user renamed to any 1 or 2 valid characters (which are quite liberal).
.
rename @ki @kb ; rename @pr @$$ ; rename @u1 @+- ; rename @ca @cl
rename :0  :0a ; rename :1  :0b ; rename :2  :2% ; rename :3 :><
route ; config ; pause
cls
.      You may have noticed that there is no longer a 'drive 0'
. in the system as we have chosen to address by ':0a'.
. (but let's put it back for the rest of the demo)
rename :0a :0 ; rename :0b :1
.
.      The DosPLUS II operating system is also very flexible.
. The syntax for the commands as you will learn in the manual
. will allow you to control the data path very easily.
. The following commands would all produce the same results
. any copy all files from drive :0 to drive :1
.
.copy :0 :1
.copy !:0 :1
.copy :0 :1 !
.copy :0 ** :1
.copy from :0 to :1 using */*
.copy using ! to :1 from :0
.copy to :1 !:0
.copy to :1 using ** from :0
.copy :0 !:1
.
pause
cls
.      The DosPLUS II system also allows the user maximum
. forgive-ablity in entering commands to the system.
. Consider the following commands:
.
,,,,,,,,     , ,Lib  ;  fOrMs,,;     , seTCom
daTe,,,,     9,1,82 ; ,, tiMe 5;DatE ,,;time
.
.      This is not the 'normal' way that you would enter commands
. but it does demonstrate that DosPLUS will know what you want to do.
. You may also have noticed that multiple commands may be entered
. on a single line by separating them with the semicolon character.
pause   Also notice that commands may be in upper or lower case!
cls
.      Now let's take a look at flexiblity in ACTION!
. The following two commands are IDENTICAL in action.
.
cat from :0 to @do using */*, inv, alpha
cat      :0                 , i  , a
. OR: cat :0,i,a (for short)
pause     notice the similar results!
cls
.
.
.      Let's take a look at some of the 'background' tasks available.
.
clock ; system,trace,alive
.
.      The 'interrupt task processor' is very sophisticated and allow allows
. the user maximum flexibility in adding/deleting tasks.
.
system
.
.      Notice that a small piece of top memory has been allocated.
. This small memory space is currently being used by the 'DO'
. library command that you are watching in action right now.
. This memory will be reclaimed when the 'DO' file has completed
. or you press the <BREAK> key at any of the 'PAUSE' prompts.
. Memory and Disk Space are dynamically allocated and deallocated
. as they are needed always leaving the maximum amount free
pause
cls
.
.
.      In addition to the 'visible' background tasks there are several
. 'invisible' tasks that are always operating to gain maximum efficiency
. from the Model II/16 Microcomputers.  Three of these are full time
. printer and comm-line spooling and keyboard type ahead.
. The user may dynamically allocate buffer space to certain system devices.
.
forms,bs=20000 ; forms ; system
.
.      We have just told the printer to use a 20,000 character
. buffer which will free the CPU from slow printer devices.
.
forms,bs=2 ; forms ; system
.
.      We have just reset the buffer to 2 characters.
. Notice that the maximum memory that could be reclaimed by the
. shrinking buffer was made available again to the system.
pause
cls
.
.
.      Let's now turn off the visible background tasks.
clock,n ; system alive=n,trace=n
.
.      In addition to the already very powerful operating system,
. MicroPower, Inc. has also provided several utilities to enhance the system.
.
.      Consider the following CATALOG display:
cat */cmd:0,i,a
.
pause     notice the variety of utilities!
cls
.      Also, a comprehensive 'HELP' utility is provided to quickly
. list the syntax for each of the system library commands.
.
help
pause    to list a couple of the commands
cls
help config
help copy
.
.      There are others that you will learn about from the manual!
pause
cls
.      Well, we hope that this simple demonstration has
. whetted your taste buds.  You should be ready to go directly
. to the manual and learn all you can about the DosPLUS II system.
. We feel that using DosPLUS II will be a delightful experience.
. The more you know about it, the more power you will realize
. is at your immediate command.
.
.      Now let's put the system back the way it was before
. we started and release the keyboard to you.
.
.      We strongly suggest that you make a backup copy of this
. diskette and store your original copy in a safe place!
.
pause      To reboot the system
auto
boot

