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
/
MBUG017.ARC
/
DPP.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
3KB
|
72 lines
DOCUMENTATION FOR DPP v1.0 - Disk physical parameters
by Julian Loke, November 1985
One of the nice things about disk systems built around
floppy-disk controller (FDC) integrated circuits like the WD1793
series (Western Digital) is that only a few changes in software
are needed in order to read from and write to a number of
different CP/M disk formats. This feature has already been
implemented on the commercial disk systems available for the
Microbee.
There are a number of "Drive Redefinition" programs around
(mostly in the public domain) which list a number of different
disk formats for which a particular drive can be set up.
However, if you do not have access to some of these programs, or
if you need to use a disk format which is not currently
supported, then you (or a friend) will need to figure out the
disk parameters yourself.
One of the first (and easiest) tasks is to work out the
disk physical parameters. These are the rules which the hardware
uses to specify the way data is stored on a disk, for example
whether single density or double density recording is used.
DPP is a program written for the MicroBee 56k disk system.
It performs a few simple and non-destructive read tests on a disk
in order to determine a few physical parameters associated with
the way that the disk has been formatted.
To "measure" the physical parameters of a disk, use the DPP
command. There are no parameters (at present). All the numbers
displayed are in hexadecimal format.
Here is a sample run, performed on a "standard" Microbee disk:
A>dpp
Log (disk physical parameters) for MicroBee 56k disk system by J.Loke Nov 1985
No distribution for profit without author's express permission
Mount "foreign" disk in drive B, then press RETURN ?
Data recording density = Double
Physical sector length (bytes) = 0200
Physical sectors per track = 01..0A
Number of sectors per track = 0A
Track size (128 byte records) = 0028
Readable tracks on side 0 = 00..27
Readable tracks on side 1 = 28..4F
Number of sides per disk = 02
Number of readable tracks = 50
Total disk capacity (kilobytes) = 0190
Returning to system
A>_
As you can see, only a limited amount of information can be
"measured" by DPP, but this may prove very useful as a first
step.è
Unfortunately, there is not enough room here to explain how
to completely specify a disk format so that you can access a
"foreign" disk on your system. That remains the task for someone
with better skills at explaining things.
I hope that DPP is useful to someone. If you have any
comments, criticisms, or enquiries, please leave a message for me
on this bulletin board, RE: DPP.
Good Luck
Julian Loke