|
|
DOS
Commands:
The Lt. Kernal DOS
commands are simple Words or Letters,
which are always entered in lower-case and
always at the far-left column of the screen.
The commands that are in Word form normally generate
a separate screen with easy-to-follow menus
(e.g., FASTCOPY to Backup or Restore
files). The Letter commands generally take
direct action (e.g., D 9 changes
the Kernal to device #9). Commands like
CONFIG and ACTIVATE are
covered extensively in the SYSGEN Configuration
section. While "D" is simple, commands
like "DIR" are complex and require further
study to exploit their power.
DIR, or the
Directory Listing command uses extensions
to define the 'directory search'. (extensions
can be mixed too) For example:
- DIR
would display a directory of all files
in the Current USER# &
LU#
- DIR +. would display
a directory of all files beginning with +.
(current USER# & LU#)
- DIR :P would output to
the Printer the files in the current LU#, USER#
- DIR :PS would print an
alphabetized List of files
- DIR :S would list to
the screen a sorted list of the current LU#,
USER#
- DIR :A would list All
USER files in the current LU
- DIR :G would list All
USER files from All LUs (Global)
- DIR :C would only list
those files that were Changed since your last
Backup or CLEAR
- DIR 1:2 SYS would list
all files in LU#1, USER#2 that begin with
'SYS' (No '*' required)
- DIR :T12A would list
All ML programs in All USER#s in the current
LU
- DIR :SG would alphabetically
list All files in All LUs
- DIR *.PRG would list
all files containing '.prg' After the first
character (and)
- DIR :T11SPGC ?PRO would
print an alphabetized directory of all BASIC
programs on the hard drive which were
created or changed since the last
Backup or CLEAR and didn't care about
the 1st character but the next three
characters were "PRO" (again, '*' not
required)
As you can see,
even though it's seems like a simple
command, DIR is on steroids!
All of the DOS
commands provide powerful access to the
hard drive. Some are used rarely (like CONFIG
for setup) and some are killers like ACTIVATE
(which erases All files on an LU). Some are Very
useful like AUTOSTART (your own AutoBoot
program), while others are lifesavers like
RECOVERY and OOPS (file
recovery). The complete listing of all
Commands are found in the Manual and are
also available for download in the FILES section.
The following
chart shows the most commonly used Lt.
Kernal DOS commands and provides a brief description.
Some commands are very involved (e.g., DIR, LDLU
& LG) and require careful understanding.
And, all DOS commands are installed during SYSGEN
and are stored in LU10 on the hard drive
(i.e., you don't need to SYSGEN again to
add forgotten commands). Finally, if you
are in Any LU (e.g., LU 0), the DOS
command will still be fetched from LU 10
unless you installed a DOS Image on that user
LU.
|
|
HARD DRIVE & HOST
ADAPTER related DOS Commands
|
Command
NAME
|
Purpose
|
Command
NAME
|
Purpose
|
CONFIG
|
Determines LU
definitions and sets all features
of the Lt. Kernal.
|
ACTIVATE
|
Erases an
existing LU and creates a new BAM
and INDEX. Use this commands only
after you have run CONFIG
|
RECOVERY
|
Erases the
INDEX file of the current LU. The
entire LU is searched for files
and then Rebuilds a new INDEX.
'Validate' then runs which, in turn,
rebuilds the Bitmap (BAM) file. (v7.2
only)
|
VALIDATE
|
Performs 60
integrity checks of all files in
current LU and then rebuilds the
Bitmap (BAM) file. (v7.1 &
7.2 only)
|
CHECKSUM
|
Verifies DOS
integrity on files in LU
10
|
UPDATEDOS
|
Refreshes DOS
images on LUs where DOS image was
previously installed during
Activation.
|
INSTALLCHECK
|
Tests
connection between Host Adapter
and Computer. Then performs 64
different functional tests on the Host
Adapter. (v7.1 & v7.2 only)
|
LKOFF
|
Turns off
Shadow RAM, performs a warm Reset
and turns off the Lt. Kernal
function. Once Off, you must Reset
the Computer to reboot the LTK.
|
LKREV
|
Returns the
Revision number of SYSGEN DOS. In
v7.2, LKREV also returns system
Serial Number
|
DIAG
|
This command
performs a 'media integrity' test
on the current LU. Enter the
command and the number of blocks
to test (read/write) (v6.xx - v7.2)
2 mins/1K Blocks test rate on faster
drives
|
|
|
FILE MANAGEMENT related DOS
Commands
|
Command
NAME
|
Purpose
|
Command
NAME
|
Purpose
|
D
|
Used to change
Device number of the LTK; to
change the unit to device 9,
Enter D 9
|
L
|
Load a file;
L filename (see D &
AUTOLOAD)
|
ERA
|
Erase a file;
ERA filename (does Not use
wildcards)
|
LOAD
|
Long version
of 'L'. LOAD"filename",
dv#,sa
|
S
|
Save a file;
S filename (saves the file
to the current LU and
USER
|
DIR
|
Lists
directory files on hard drive.
This is a very powerful command
with many variations (see above &
FILES section)
|
LU
|
Changes logged
Logical Unit number
|
USER
|
Changes logged
subdirectory number
|
LG
|
Returns
current LU#, User#, Blocks
Free/Used, etc. vis the Command/Error
channel in error message format
|
LDLU
|
Changes
operating characteristics (Direct
of RUN mode) e.g., OPEN15,8,15,"LA11":CLOSE15
changes the LTK to Device#10,
USER#1, LU#1
|
AUTOCOPY
|
Copies file(s)
between LUs (note: Between
AUTOCOPY and AUTOMOVE, you can do
any file management transfer.
|
AUTODEL
|
Deletes
file(s) from LU
|
AUTOMOVE
|
Move files
between USER partitions. As the
name implies, files are transferred,
not copied
|
FASTCOPY
|
Fast Backup
& Restore utility (1541. all
DOS versions; 1571 w/ v7.1/7.2;
1581 w/ v7.2 only) (uses Dirty
Flags for Backup)
|
|
|
|
|
Top
Lt.
Kernal Data Archive 2003-2007 / Contact
Author for Inquires
|
|
|