home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
dskstruc
/
parkim10.arj
/
PARKIM.PDN
< prev
Wrap
Text File
|
1991-09-20
|
854b
|
24 lines
program: PARKIM.BAS
version: 1.00
by: Cornel Huth
date: 20-Sep-1991
function: park either or both hard drives at any cylinder
caller: COMMAND
use:
PARKIM 0:cyl,1:cyl (colon required after drive, comma between drives)
No parms - move drive(s) head-assembly to landing zone (LZ)
? - help on usage
0:[cyl] - move drive 0 to cylinder (or LZ if no cyl)
1:[cyl] - move drive 1 to cylinder (or LZ if no cyl)
For example:
C>parkim 1:821 - attempt to park second drive at cylinder 821
C>parkim 0: - park first drive at landing zone
C>parkim 1:,0: - park drive 1 then 0 at landing zone
C>parkim - park drive 0 then 1 at landing zone
NOTE: If [cyl] parameter > LZ then LZ is used instead of [cyl].
Source code in QuickBASIC included. Requires CALL INTERRUPT in QB.LIB.