home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG085.ARC
/
CPMPOWER.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
8KB
|
204 lines
CPMPOWER
CPMPOWER.COM is a program that was on the single-density disks, but
was not included on the double-density versions. Also, it was not
originally documented. The documentation has been taken from the
August 1983 copy of the `Portable Companion' magazine (with acknowled
gement to Pavel Breder - who reprinted the article from `OSBUG', the
newsletter of the Osborne Business User's Group, Portland, Oregon,
USA).
Basically, CPMPOWER.COM is a front-end for CP/M; it is similar to
other like-programs, but has several unique features not found on
other programs, e.g., it has a command to recover programs inadve
rtently ERAsed from a disk - as long as nothing has been written to
the disk after erasing the file (a most useful command as I'm sure we
all have at sometime made the dreaded mistake of deleting that
`precious' program !). CPMPOWER simplifies the use of the operating
system, in that you never need to remember the syntax for the many
CP/M commands such as PIP, STAT, REN, etc.
Load CPMPOWER and at the prompt type `?' for a listing of available
commands. From this level you may perform houskeeping duties on files
and run programs. The specific commands are detailed below:
COPY
This command does just what it says; it copies individual files just
like PIP. Unlike PIP it is limited to copying between disks and USER
numbers. First log onto the disk you wish to copy from (A: or B:) then
simply type COPY. A listing of files on that diskette will appear with
numbers preceeding them. Type the number of the file(s) you wish to
have copied (place a space between numbers) and the program will
prompt you through the copy session. See LOG on how to change the
prompt sequence as well as how to have the copies verified.
CRT
A use for this command has not been determined by the author.
DISK
This command gives the statistics of the disk, showing details like
sector organization and the like. CPMPOWER was designed for all CP/M
computers, so this information would be useful if it was not already
in your owner's manuals. It may, however, have some application for
those owners who have purchased the updated BIOS routine (from A.V.
Software) and wish to configure a `user-defined' format for recogni
tion by the Osborne.
EXIT
Just what it says: back to CP/M.
TYPE
TYPEA
TYPEH
TYPEX
All four TYPES work in a way that is similar to the standard TYPE. The
difference is in the format. Again, simply type the command and the
program feeds you a list of numbers. Type one or all the numbers,
separated by spaces, and you will be prompted through the display of
the files.
CHECK
Checksum analysis: this command will run an alogrithm over your files
and return a number. If the number matches a control number, the files
are the same. Useful for determining if your *.BAK files are actually
backups or merely similar files of the same name: CHECK will let you
know - then the problem is figuring out which is the most recent!
RUN
RUN a program: CPMPOWER is a front-end, meaning that you need not exit
to access any other programs. Type RUN, get the list of numbers and
away you go.
SETDIR
Similar to the STAT command, but easier. Will set your SYS files to
type that will be displayed by DIR.
SETWRITE
Restores read-only (R/O) files to read-write (R/W) files.
LOG
Very useful command: type LOG selects a separate menu with five
`toggle' controls:
1. Firstly, you may select what CPMPOWER should do when encountering
duplicate files (you may overlay, backup, ask for disposition or
skip).
2. Secondly, you may set the number of columns in the DIR listing.
3. Thirdly, this function selects whether the program will ask for
verification of selections within the main program or go on with
the instructions as given.
4. Fourthly, this toggle selects whether the program reads after
writing a file (as when copying) to check for errors.
5. Fifthly, this toggle will allow system files to be shown on
listings.
Finally, the bottom of the LOG menu indicates the present USER number
and the present USER DESTINATION number. Both of these designations
may be changed from the main menu.
USER
Change user number: simply type USER n where `n' is an allowed decimal
value user number.
INFO
At one time, this program apparently came with an information (DOC)
file. The command when invoked will indicate that the file CPMPOWER
.DOC has not been found. The information presented in this documen
tation is in lieu of that missing program.
TEST
Very useful command: log to a disk with A: or B: and then type TEST.
It will run over the disk (figuratively), locate physically bad
sectors and lock them out of the directory. These sectors are also set
to read-only (R/O) to prevent someone from accidently erasing them and
then wrecking data by trying to write across them. (Similar to
FINDBAD.COM).
ERA
Same as the CP/M command. It erases files, but in the same format of
much of CPMPOWER. Type ERA and get the number of file(s) you wish
erased. Type those number(s) and they are no more.
JMP
Useful for assemblers. Lets you JMP (jump) to any memory location.
EXEC, below, is similar. It would be appreciated if any `hackers'
could advise how they are used.
SETSYS
Set a file to SYS status. Can't be read by the DIR command.
DIR
Standard DIR command. No file statistics, however, see LOG on how to
change the number of display columns.
DEST
Allows transfer of files from one USER location to another. The format
is the same as USER, above.
STAT
Very boring STAT command. Just whether R/W or R/O, SYS or DIR.
RECLAIM
Another very helpful command and one with no counterpart in the OSBUG
(source of this article) library. This command recovers erased files.
Previously, this could be done only by getting onto the disk with DU
and changing the end of the file byte in the directory. RECLAIM does
this for you and prompts you through all abandoned listings on the
directory tracks. So long as you do not write any thing to the disk
after erasing your file, this utility will recover the file. Standard
format: log to the disk (A: or B:), then type RECLAIM. You will be
prompted, just answer yes or no. (I have used the program and can
vouch for its usefulness, and should also mention that on each
occasion it has been necessary to use the STAT command to change the
`saved' files from read-only (R/O) to read-write (R/W) status.
SIZE
Shows total of tracks and sectors used by a file.
REN
Same as CP/M command of same name. Only difference is the convenience
of dealing with numbered files instead of having to worry about typing
errors.
EXEC
Allows execution of a resident program from any location. (The author
is not sure and seeks verification).
SETREAD
Sets your files to read-only (R/O) with this command. SETWRITE, above,
undoes it.
CPMPOWER
CPMPOWER.COM is a program that was on the single-density disks, but
was not inc