
Putsect, version 1.3.
Copyright Svend Olaf Mikkelsen, 2000.

Usage: Putsect <disknumber> <cylinder> <head> <sector> <filename>
               <cylinders> <hash> [checkfile <checkfilename>]

Writes the content of the file <filename> to the sector.

The file must be 512 bytes long. <cylinders> is the number of
cylinders on the disk. <hash> is a hash value from the current
content of the sector.

If the ascii value of byte no. n is called a(n), the hash value used
is 1 * a(1)+ 2 * a(2) + ... + 512 * a(512). The result is written
as an 8 digit hexadecimal number. The hash value of a 512 bytes file
can be printed with the command: Putsect gethash <filename>

If checkfile is used, hash can be entered as 00000000
and the current sector content must match <checkfilename>.

Returns 0 if the sector is written.
