
 1. About

 IDECHECK measures speed of IDE hard disks. Unlike other such programs
 it may directly access the IDE controller, without using interrupt 13h.
 This is useful if the int 13h interface is unable to run the harddisk at
 full speed. IDECHECK just reads the hard disk until either all sectors 
 have been read or ESC has been pressed. For more details run IDECHECK -?.

 IDECHECK should work with both "legacy" and "native" IDE controllers.
 

 2. Requirements

 IDECHECK runs in true DOS only, not in Windows DOS boxes. It has been
 tested with MS-DOS and FreeDOS.
 
 As any 32-bit program, IDECHECK requires at least a 80386 cpu. 

 
 3. Usage

 To run IDECHECK, enter
 
 IDECHECK drive [ options ]
 
 <drive> is the number of the HD to test, 0 is the first
 <options> are:

  /I13 - use Interrupt 13h API (default)
  /PIO - access HD directly with PIO
  /DMA - access HD directly with DMA. This requires a PCI 2.0c BIOS and
         a PCI Busmaster DMA controller.
  
  /S:n - read n sectors per command. Default is 128, which is also the
         maximum for Int 13h and DMA. For PIO, it is 256.
  /M:n - set multiple sector (PIO only, default is current value)
  /B:n - start read at sector n
  /L:n - stop after n sectors
  /U:n - set UDMA mode (DMA only)
  /CHS - prefer to use CHS if LBA is available
  /IGN - continue on errors
  /16  - use 16bit INSW to read, not 32bit INSD (PIO only)
  /NOI - use polling, not IRQ (PIO/DMA only, /I:n ignored)
  /SGL - do not use multiple read (PIO only, /M:n ignored)
  /REP - always read the same block (stop with ESC)
  /RES - reboots machine after program termination
  /LF  - print LF after CR
  /P:n - set base port of IDE-controller (PIO/DMA only, defaults 1F0/170)
  /I:n - set irq-line of IDE-controller (PIO/DMA only, defaults 14/15)
  /D:vvvvdddd - set PCI vendor/device of Busmaster IDE controller to
         search for (DMA only). Usually not needed on modern systems, since
         this information is returned by the Int 13h EDD BIOS.
 
 If options /PIO or /DMA are used, IDECHECK should not be run on a system
 with a disk-cache installed, because the cache program might get confused. 
 Also, when using these modes, there should also no other TSR be installed
 which might access the HD in the background, since for security reasons 
 IDECHECK will disable Int 13h temporarily.

 For disks larger than 128 GB IDECHECK may not be able to access the part
 beyond the 128 GB boundary, since it uses the 28-bit LBA addressing mode
 only.
 
 If IDECHECKS "hangs" in /I13 mode (which is the default), try to decrease
 the number of sectors read in one block by adding option /S:127.
 

 4. History
 
 1.45: test added to ensure that IDE controller supports Busmaster DMA
       if /DMA switch is active.
 1.44: check for max sectors set with /S improved.
 1.43: /I13 is now the default access method.
       /D option changed to set the vendor/device ID.
       some more error checks added.
 1.42: Non-ATA disks refused only for /PIO and /DMA, not for /I13.
       bugfix: reading with CHS set sector no 0.
 1.41: the binary is now stand-alone, no need for HDPMI32.EXE anymore.
       Non-ATA disks will be refused.
 1.40: "native" IDE controllers are supported as well.
 1.32: option /U:x added.


 5. License

 IDECHECK is Freeware.

 Japheth
 
