Description of HDAT2's program

HDAT2 is program for test or diagnostics of ATA/ATAPI/SATA, SSD and SCSI/USB devices.
It will not execute in a DOS session under Windows. You should make a DOS boot floppy disk or CD-ROM and boot your system for it and execute this program from that floppy disk or CD-ROM.

HDAT2 program has 2 levels:

  • Drive level testing

    - main function is testing and repair (to regenerate) bad sectors for detected devices
    - you get many information about detected devices

  • File level testing

    - read/find/check items (MBR, boot, directories, etc.) of file system FAT12/16/32
    - check/remove (regenerates) bad sectors records, flags in FAT table


Features:

  • fully implemented commands: SET MAX, SET SECURITY, Device Configuration Overlay
  • device access with interrupt 13h, direct via ATA ports, with ASPI drivers
  • detects ATA/ATAPI/SATA devices with on-board and add-on controllers
  • detects USB devices via USB ASPI driver only
  • detects SCSI hard drives via INT13h or ASPI drivers
  • other SCSI devices are detected via ASPI drivers only (must be loaded before);
    with ASPI drivers you will get more information about SCSI devices
  • test and repair device for bad sectors
  • many different test-functions for hard drives
  • resize hard drives which supports SET MAX ADDRESS/EXT
    (supports 28/48-bits LBA addressing modes)
  • drive lock detection via security feature (Security Menu)
  • S.M.A.R.T. functions for ATA/SATA and SCSI drives only
  • information about devices (ATA/ATAPI, INT13h, ASPI)
  • sector viewer for devices (also for USB, ZIP, CD-data discs)
  • to access ATA/SATA CD-ROM drive you don't need any driver or MSCDEX
  • enable/disable some features for direct-access devices
  • Device Configuration Overlay (DCO) feature set
    (you can restore a full capacity or allow/disallow some feature sets of hard drive)

Freeware License Agreement:

Program HDAT2 is freeware.

  • You are allowed to use this program on one or more machines at a time.
  • You are allowed to distribute this program as long as you do it without profit and without modifications to this license (you may not charge a licensing fee for the program).
  • You may redistribute this program included as a support tool for your programs, as long as you notify me by e-mail.
  • The software and related documentation are provided "as is", without warranty of any kind.


Minimal configuration:

  • CPU 386/486 with co-processor or higher
  • RAM 1 MB or more
  • some DOS boot system


Program notice

HDAT2 is running in protected mode and is compiled with a free 32-bits Free Pascal compiler.

USED FPC COMPILER VERSION: FPC v1.0.11 18.05.2004

Both program's level ('drive' and 'file') are integrated into one program.


DEMO Protected mode comments

File HDAT2DEM.BIX hold basic information for some devices (ATA, SATA, ATAPI, SCSI, and USB) and must be in the same directory with program HDAT2DEM.EXE.

Why demo ? You can try this program in Windows without rebooting to pure DOS.
For example you can see:

- SMART information with some error logs
- Device Configuration Overlay data

This demo version is running only with 'Drive level' ('File level' is not available) and almost all commands will be aborted. All conflicts are simulated only: locked state, reduced size of hard drive, etc.

This demo version is running under Windows and DOS also.