123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- ## IMG.CFG: Example FlashFloppy Geometry Configuration File for Raw IMG Images
- # Supports tagged IMG/IMA raw image files with self-identifying geometry.
- # If you wish to use this feature, your IMG.CFG must be placed in the
- # root folder or FF/ subfolder of your USB drive.
- # NOTE: If FF/ exists, IMG.CFG must reside there, not the root folder.
- # Matching Rules:
- # 1. If tag 'tagname' is defined, this describes the geometry of
- # all IMG/IMA files of the form *.tagname.img and *.tagname.ima
- # 2. If tag 'default' is defined, this describes the geometry of
- # all IMG/IMA files that do not match any other defined tag.
- # This includes untagged files (ie. *.img and *.ima).
- # 3. If a file does not match any tag, and no default tag is defined,
- # FlashFloppy uses normal geometry auto-detection based on the
- # host= setting in FF.CFG.
- # A badly-defined tag (eg. undefined mandatory parameters) will result in
- # error 31 (Bad Image).
- # Tag name in square brackets.
- # 'default' matches any *.img or *.ima which are untagged, or do not
- # match any other defined tag.
- [default]
- # Mandatory: Number of cylinders (1-254).
- cyls = 80
- # Mandatory: Number of heads (1-2).
- heads = 2
- # Mandatory: Number of sectors per track (1-256).
- secs = 9
- # Mandatory: Bytes per sector (128, 256, 512, 1024, 2048, 4096, 8192).
- bps = 512
- # Optional: ID of first sector on each track (0-255[:0-255])
- # Default is 1.
- # Numbers may be expressed in hexadecimal with 0x prefix (eg. 0xab).
- # Format x:y allows specifying different ID (x, y) for each head/disk-side.
- # Format x specifies same ID (x) for both heads/sides of a double-sided disk.
- # id = 1
- # Optional: Recording mode (fm | mfm). Default is mfm.
- # mode = mfm
- # Optional: Sector interleave. Default is 1:1 (no interleave).
- # interleave = 1
- # Optional: Sector skew per cylinders. Default is 0 (no skew).
- # cskew = 0
- # Optional: Sector skew per head. Default is 0 (no skew).
- # hskew = 0
- # Optional: Rotational RPM. Default is 300.
- # rpm = 300
- # Optional: Post-Data Gap (0-255). Default is 0.
- # 0 = based on recording mode and sector size.
- # gap3 = 0
- # Optional: Index Address Mark (yes | no). Default is yes.
- # iam = yes
- # Optional: Data rate in kHz (kbit/s) (eg. MFM DD = 250). Default is 0.
- # 0 = based on recording mode and size of track.
- # rate = 0
- # Optional: Image file track layout. Default is "interleaved".
- # Comma-separated values:
- # sequential: Sequential cylinder ordering: all side 0, then side 1.
- # interleaved: Interleaved cylinder ordering: c0s0, c0s1, c1s0, c1s1, ...
- # reverse-sideN: Side-N cylinders are ordered from high to low (N=0,1).
- # sides-swapped: Sides 0 and 1 ordering is swapped in the image file.
- # eg. "sequential,reverse-side1"
- # file-layout = interleaved
- [640k]
- cyls = 80
- heads = 2
- secs = 16
- bps = 256
- mode = mfm
- iam = no
- file-layout = sequential
- [1001k]
- cyls = 77
- heads = 2
- secs = 26
- bps = 256
- mode = mfm
- iam = no
- rpm = 360
- file-layout = sequential
- [160k]
- cyls = 40
- heads = 1
- secs = 16
- bps = 256
- mode = mfm
- iam = no
- [320k]
- cyls = 40
- heads = 2
- secs = 16
- bps = 256
- mode = mfm
- iam = no
- [80k]
- cyls = 40
- heads = 1
- secs = 8
- bps = 256
- mode = fm
- iam = no
|