home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dskstruc / parkim10.arj / PARKIM.PDN < prev   
Text File  |  1991-09-20  |  854b  |  24 lines

  1.  program:     PARKIM.BAS
  2.  version:     1.00
  3.       by:     Cornel Huth
  4.     date:     20-Sep-1991
  5. function:     park either or both hard drives at any cylinder
  6.   caller:     COMMAND
  7.      use:
  8.  
  9. PARKIM 0:cyl,1:cyl (colon required after drive, comma between drives)
  10. No parms - move drive(s) head-assembly to landing zone (LZ)
  11.        ? - help on usage
  12.  0:[cyl] - move drive 0 to cylinder (or LZ if no cyl)
  13.  1:[cyl] - move drive 1 to cylinder (or LZ if no cyl)
  14.  
  15. For example:
  16.   C>parkim 1:821 - attempt to park second drive at cylinder 821
  17.   C>parkim 0:    - park first drive at landing zone
  18.   C>parkim 1:,0: - park drive 1 then 0 at landing zone
  19.   C>parkim       - park drive 0 then 1 at landing zone
  20.  
  21. NOTE: If [cyl] parameter > LZ then LZ is used instead of [cyl].
  22.  
  23. Source code in QuickBASIC included. Requires CALL INTERRUPT in QB.LIB.
  24.