Difference between revisions of "Shell Commands/HDRead"

From MorphOS Library

< Shell Commands

(Created page with "'''HDRead''' - Reads sector(s) from device/unit and dumps them to shell DEVICE/A, UNIT/A/N, SECTOR/A/N, COUNT/A/N, SECTORSIZE/N <nowiki> DEVICE - Device name from where...")
 
 
Line 8: Line 8:
 
COUNT      - Number of sectors to read
 
COUNT      - Number of sectors to read
 
SECTORSIZE - Optional: sector size</nowiki>
 
SECTORSIZE - Optional: sector size</nowiki>
 +
 +
Example:
 +
HDRead ide.device 0 0 64 512 ram:rdb_dump.bin
 +
 
See also: HDTest command.
 
See also: HDTest command.

Latest revision as of 19:00, 9 April 2022

HDRead - Reads sector(s) from device/unit and dumps them to shell

DEVICE/A, UNIT/A/N, SECTOR/A/N, COUNT/A/N, SECTORSIZE/N

DEVICE     - Device name from where to read                                    
UNIT       - Device unit to use
SECTOR     - Start sector to dump
COUNT      - Number of sectors to read
SECTORSIZE - Optional: sector size

Example:

HDRead ide.device 0 0 64 512 ram:rdb_dump.bin

See also: HDTest command.