Dec 182017
 
Yet another park utility w source.
File YAPARK.ZIP from The Programmer’s Corner in
Category HD Utilities
Yet another park utility w source.
File Name File Size Zip Size Zip Type
PARK.ASM 5904 2320 deflated
PARK.DOC 3892 1793 deflated
PARK.EXE 1003 443 deflated
TPCREAD.ME 199 165 deflated

Download File YAPARK.ZIP Here

Contents of the PARK.DOC file


PARK - A Fixed Disk Head Parking Routine V 1.00

------------
INTRODUCTION
------------
Yet another fixed disk head parking routine! YES!

Everyone should know by now that you should park the head on your fixed disks
everytime you shutdown your computer so that the heads will not damage valuable
data when they come to rest on the spinning disks.

So why did I write one when one comes with the DOS with my machine. Well, it
like so many other versions of SHIP.COM freeze the system so the computer must
be physically turned off. How many times did I forget to save that last file
in a RAM disk. OH WELL!

There are many public domain parking routines! Why not one of them? All these
routines work and usually do not halt the computer as the DOS-supplied version.
Unfortunately, they leave several questions in my mind when I use them just
like the commercial versions above. Did it park both my hard disks? Did it
park them in the correct place?

To solve these problems is why I wrote this head parking routine. PARK reports
it actions as it does it. Parks tells you which fixed disk it is parking and
at which cylinder it is placing the heads.

PARK starts with fixed disk number 0. (while usually this is drive C:, due to
differences possible, PARK uses 0, 1, 2, etc. to designate the fixed disk
drives.) PARK uses a ROM-BIOS service to request the number of cylinders
available on the fixed disk. It increments this cylinder number by one and
seeks the head of the fixed disk to this "parking" cylinder. Then it reports
the fixed disk drive number and the "parking" cylinder number.

PARK continues this process until an error is returned from the ROM-BIOS
service which indicates that there is not any valid drive present. This
condition stops the program.

---
USE
---
park (you may change the name to pk.exe so that it can be evoked by just
typing the shorted pk to the DOS prompt.)

------------
REQUIREMENTS
------------
DOS 2.0+

--------
CAUTIONS
--------
This routine will only work for fixed disks which use ROM-BIOS calls and for
which the landing zone is the next cylinder above the highest valid cylinder.
Some fixed disks use the first cylinder. PLEASE read your fixed disk
manufacturer's manual.

-----------------
PROGRAMMING NOTES
-----------------
The assembly-language source is included. It was assembled with version 5.1
of Microsoft's MASM. It is not compatible with earlier versions.

---------------------
USER RESPONSIBILITIES
---------------------
- All users are granted to make as many copies of this program as
required.
- Copies may be distributed to others as long as the following
requirements are met:
-- All three files, PARK.DOC, PARK.ASM, and PARK.EXE, are transfered
as a whole.
-- These programs are distributed free of cost. Only the cost of
the media (eg. diskette) can be charged.
-- The files are not modified in any way.
- The source code is distributed with the program to encourage user
modification to meet individual needs, but in no case will any of
these modifications be incorporated and distributed.
- The author encourages comments. Please leave comments, suggestions,
or suggested modifications in a message on Andy Smith's RBBS
(301)-956-3396.

------------------------------------------------------
DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITIES
------------------------------------------------------
The author has taken due care in writting this program, and the
program is supplied as is. The author makes no expressed or implied
warranty of any kind with regard to this program. In no event shall
the author be liable for incidental or consequential damages in
connection with or arising out of the use of this program.

20 May 88Raymond Moon



 December 18, 2017  Add comments

Leave a Reply