1createhdf(1)                       Emulators                      createhdf(1)
2
3
4

NAME

6       createhdf - Create a blank IDE hard disk image in .hdf format
7

SYNOPSIS

9       createhdf [ -c ] [ -s ] cylinders heads sectors file

DESCRIPTION

11       createhdf  creates a blank image of an IDE hard disk in .hdf format for
12       use with Sinclair ZX Spectrum emulators.
13

OPTIONS

15       -c     specifies that the .hdf image should  be  created  in  `compact'
16              mode,  where  only  the  low byte of every word is stored in the
17              image. This is useful for saving space if the hard disk image is
18              for  use  with  an interface which accesses only the low byte of
19              every word.
20
21       -s     specifies that the .hdf image should not be created as a  sparse
22              file.  Normally,  createhdf will attempt to create the hard disk
23              image as a `sparse file', where the operating system knows  that
24              the  file consists mostly of zero bytes and fills those in with‐
25              out using any space in the  file.  This  option  disables  this.
26              (There's  nothing  `magic' about this: if data is written to the
27              file, it will take up space just like any other data; it's  only
28              empty space which is synthesised by the operating system).
29
30       -v version
31              specifies  the version of .hdf image to be created. Valid values
32              are `1.0' for a version 1.0 file and `1.1'  for  a  version  1.1
33              file. Defaults to creating version 1.1 files.
34
35       cylinders
36              specifies the number of cylinders in the image.
37
38       heads  specifies the number of heads in the image.
39
40       sectors
41              specifies the number of sectors in the image.
42
43       file   specifies the file to which the image should be written.
44

BUGS

46       None known.
47

SEE ALSO

49       fuse(1), fuse-utils(1), libspectrum(3)
50
51       The .hdf format specification, at
52       http://www.ramsoft.bbk.org/hdfform.html.
53
54       The comp.sys.sinclair Spectrum FAQ, at
55       http://www.worldofspectrum.org/faq/index.html.
56

AUTHOR

58       Philip Kendall (philip-fuse@shadowmagic.org.uk).
59
60
61
62Version 1.0.0                 16th December, 2010                 createhdf(1)
Impressum