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
/
ENTERPRS
/
CPM
/
UTILS
/
S
/
TRANSFER.ARK
/
TRANSFER.DOC
< prev
Wrap
Text File
|
1989-09-27
|
7KB
|
151 lines
**************************
* TRANSFER DOCUMENTATION *
* version 1.0 *
**************************
by
David Koski
P.O. Box 1078
Fort Bragg, CA 95437-1078
I. INTRODUCTION
TRANSFER is a utility that provides an easy method of transfering
files to and from MS/DOS compatable disks with a CP/M host
system. Written completely in Turbo Pascal, it includes these
features:
- Full Access of directory of MS/DOS with ambiguous
file reference
- Access to CP/M directory with ambiguous file
reference
- Display of MS/DOS FAT (File Allocation Table)
- FAT recovery from backup FAT (Careful!)
- File transfer to and from MS/DOS using PIP-like
ambiguous (wild card) file references
- Source code - - of course
II. INSTALLAtTION
After making a working copy of the distribution disk, with your
original disk in a safe place you should have the following
files:
TRANSFER.COM TRANS-01.INC TFR-INST.COM
TRANSFER.DOC TRANS-02.INC TFR-INST.MSG
TRANSFER.PAS TRANS-03.INC TFR-INST.DTA
TRANS-04.INC
TRANS-05.INC
For screen functions use TFR-INST, a GINST-made instalation
program. Install TRANSFER the same way you install TURBO PASCAL.
TFR-INST.MSG and TFR-INST.DTA are used by TFR-INST.COM.
Now the BIOS in your system must know that your MS-DOS disk is
"foreign". Many systems come with a utility to accomplish this.
Your BIOS usually not only must know the sector size of the MS-
DOS disk (usually 512) but the Density (Double). In short You
must "tell" your BIOS that the drive with the MS-DOS disk in it
is "IBM-PC DS" or something similar. For reasons mentioned above,
TRANSFER is system BIOS dependent. If that wasn't enough, each
different BIOS likes to do the BIOS function call Sectran it's
own way. Some systems need TRANSFER to call Sectran before each
sector read. Also, in some systems a sector bias needs to be
applied to each BIOS call from TRANSFER. These variations are
accomplished by patching the constants in the source TRANSFER.PAS
and recompiling. Some experimenting may be necessary. For
example some Kaypros need "SO = 4" to give a sector bias of 4.
This is because of 4 CP/M records (128 bytes) are in each 512
byte MS-DOS sector.
Many systems automaticly identify newly logged on disks. The
trouble is they usually come up with the wrong inentity for the
MS-DOS disk and often think it is single sided. If you are
unable to patch your BIOS to prevent this then you may be able to
use single sided MS-DOS disks only, or trick your system by
logging on to a standard double sided disk first. Then without
warmbooting, bring up TRANSFER. Systems with single sided drives
can of coarse only transfer single sided disks and TRANSFER may
need minor modification.
******************************************************************************
---------- Version 1.2C (for C-128) ----------
This is the Commodore 128 CP/M adaptation of original TRANSFER version 1.0.
It allows transfer of files between C-128 CP/M and MS-DOS disks. The four
different types of MS-DOS disks can be used: single/double sided, 8/9 sectors
per track.
The enhancements made are:
1) The new version can be used with a single C-1571 drive.
2) It can format MS-DOS disks.
3) It allows you to view a text file directly from a MS-DOS disk.
4) It can rename a file on MS-DOS disk.
Things to be aware of when using this program:
1) When C-128 displays a disk format selection at the bottom of the screen,
use the right/left arrow keys to make this format match the type of
MS-DOS disk in the drive. Valid choices are MSDOS-1 DS or MSDOS-1 SS
(the 8 sector/track formats from older MSDOS versions), and MSDOS-2 DS
or MSDOS-2 SS (the newer 9 sector/track formats). Do not choose
IBM-8 DS or IBM-8 SS as these are not MSDOS formats. When the correct
format is displayed, the return key should be pressed to continue with
the program.
2) Always use scratch disk as a "messenger disk" to carry files between
C-128 CP/M and a MS-DOS machine. Avoid allowing one disk to be written
to by two different host systems, although it may seem harmless most of
the time.
3) If you need to change disks, the best time to do it is when you see the
main selection menu displayed on the screen. After changing disks
(before starting a new File Transfer operation) it is suggested that
you execute a dummy Directory operation just to log onto the new disk.
Otherwise, you may get the TURBO PASCAL error message such as "I/O
Error F0, Disk Write Error". This is equivalent to the familiar CP/M
error message "BDOS Error, Read Only" caused by changing disks before
writing to it.
4) While transferring many files by using a wildcard file designation,
the <ESC> key can be used, if desired, to abort the operation.
5) Be careful with Menu Selection 7 (Restore FAT on MS-DOS). Avoid using
this option unless you are absolutely sure you know what you are doing.
It can destroy your disk instantly. What it does is restoring FAT area
number one using FAT area number two as the backup FAT. But it does not
restore Directory area. (This program modifies FAT area number one only,
and leaves the number two area untouched.) In case you need to use this
option, the FAT Size in Sectors is 1 for MSDOS-1 DS and MSDOS-1 SS, and
2 for MSDOS-2 DS and MSDOS-2 SS.
The present version (1.2C) employed techniques used by Frank Prindle in his
C programs RDMS233C.C and UNIDRIVE.C, both of which were written to be run
on C-128 with C-1571 drive.
B-J Lee
Nov 1987
[71171, 3260]
******************************************************************************