home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
dskutl
/
readcpm.arc
/
READCPM.DOC
< prev
Wrap
Text File
|
1987-06-13
|
5KB
|
125 lines
Documentation file for READCPM.COM
Purpose:
READCPM provides the capacity to read CP/M double density soft-sectored
diskettes from the Heath-Zenith CP/M 2.20X versions written on an H89-90 or
with CP/M-85 on the Z-100, and transfer these files to MSDOS files on a
Z-150 or ROM BIOS compatible 8086-8 machine.
Hardware requirements:
a) A IBM PC compatible computer with at least one 5" double sided
drive and one other drive ( hard disk or memory disk will work ).
b) MSDOS 2.x or PCDOS 2.x or higher.
c) Sufficent memory ( say 256K ).
User Interface:
The method of tagging files is modeled on the DISK7X series
of transfer programs for CP/M computers. Only copying and viewing
functions are implemented. No writing or deleting of CP/M files is
implemented. The error checking is minimal. If a non-existent target
is specified, a separate error is reported for each tagged file.
Detailed description of commands:
T - tags the file for inclusion in the mass copy
U - untags a previously tagged file from inclusion in the mass copy
V - views a text file on the console screen. Caution - any file is
viewable. Typically, .COM and other binary files will result in
garbled screens. Press Cntrl-C to stop a display.
P - sends a file to the list device. Same caution as for V applies.
No tab expansion or paging is done.
W - do a mass tag or untag of files.
M - does a mass copy of all files tagged to the target directory
No checking for overwriting of files with the same name is performed.
B - move the pointer into the directory listing back one notch
? - displays the help screen again
S - saves a copy of the current CP/M disk parameters (label) to a disk file.
G - reads from a disk file the default disk parameters to be used with the
next disk logged in
X - Z or Q. Return to DOS.
L - log in a new disk.
Bugs:
The program may "hang" on disk errors and require rebooting the
computer. Since the disk parameter tables are changed to permit reading
other formats, an abnormal termination of the program may leave the
parameters in a state which will not read MSDOS diskettes. Again, the
solution is to reboot.
Limitations:
a) 8" diskettes are not supported
b) Single density and/or hard sectored diskettes are not supported.
Formats using logical skewing of sectors are not supported.
Physical skewing of sectors is supported.
c) CP/M-86 diskettes formatted with the IBM PC distribution copy of
CP/M-86 are readable, but formats from other machines may not be.
d) 96 tpi drives are supported only in that 96 tpi diskettes may be
read. 48 tpi diskettes are not readable on 96 tpi drives with this
software. Of course, 96 tpi diskettes are not readable with a 48 tpi
drive, although since often track 0 is readable, it may be logged in.
e) The copying is done by CP/M allocation blocks of 1k or 2k. Hence some
text files may have excess " junk" at the end when viewed with some
MSDOS editors. Find a sequence of left arrows ( the screen
repesentation of acsii ^Z or hex 1A ) for the true end of file.
f) Although some provision is made for accomodating non-Heath
formats, this requires a detailed understanding of the Heath track 0,
sector 1 system of disk labels. With this understanding, such a label
can be written to a disk to be logged, and then the actual disk used
subsequently. Alternatively, a ascii file containing the parameters can
be created. See the listing of the Heath 2.20X BIOS for details about
the disk label.
Logging in of Heath-Zenith CP/M diskettes:
Heath-Zenith diskettes formatted under CP/M 2.20X or CP/M-85
with a "label" on track 0 sector 1 will be logged automatically.
CP/M-86 single or double sided diskettes will be logged if formatted
by the IBM PC version of CP/M-86.
Logging of other diskettes:
If the label from track 0 sector 1 does not checksum correctly,
the user is given the option of logging a similar disk, reading
parameters from a file, or using the default parameters. The default
parameters must be set using a "G" command. The file could be created
with the "S" command, or by hand from an editor.
Caution - use of the wrong parameters can result in garbled directory
listings or garbled transferred files. The specification of a wrong sector
size will result in a long delay and some bell sounds. Consult the CP/M
bios listings and a reference such as "MASTERING CP/M" by Alan R. Miller
(Sybex, 1983) for an explanation of the disk parameter tables.
CP/M-86 diskettes are detected by 512 byte sectors and the appropriate
bytes on bytes 0 and 511 of track 0 sector 1. If the sectors are 512 bytes
but the test bytes are not correct, the user is allowed to specify SS or DS
CP/M-86 format, or specify other defaults.
READCPM.DOC page 2
* CP/M is a trademark of Digital Research Incorporated