cc1541 - A tool for creating Commodore 1541 Floppy disk images in
D64, D71 or D81 format with custom sector interleaving etc. Also supports
extended tracks 35-40 using either SPEED DOS or DOLPHIN DOS
Disk name, default=cc1541.
Disk ID, default=00 2a.
Write local file to disk, if filename is not set then the
local name is used. After file written, the filename is unset.
Use filename as name when writing next file, use prefix
# to include arbitrary PETSCII characters (e.g. -f
Do not overwrite if file with same name exists
Do not modify image unless it is in valid CBM DOS
Filetype for next file, allowed parameters are PRG, SEQ,
USR, REL and DEL. For DEL, the input file is ignored. Default is PRG.
Set write protect flag for next file.
Set open flag for next file.
Force creation of a new directory entry, even if a file
with the same name exists already.
Write loop file (an additional dir entry) to existing
file to disk, set filename with -f.
Write the given value as file size in blocks to the
directory for the next file.
Hash computation maximum filename length, this must match
loader option FILENAME_MAXLENGTH in Krill’s Loader. Default is
Ignore filename hash collisions, without this switch a
collision results in an error.
Maintain a shadow directory (copy of the actual directory
without a valid BAM).
Use dirtrack to also store files (makes -x useless)
When using -t, amount of dir blocks to leave free
Don’t split files over dirtrack hole (default
Next file first sector on a new track (default=0). Any
negative value assumes aligned tracks and uses current sector + interleave.
After each file, the value falls back to the default. Not applicable for
Default sector interleave, default=10. At track end,
reduces this by 1 to accomodate large tail gap. If negative, no special
treatment of tail gap. Not applicable for D81.
Next file sector interleave, valid after each file. At
track end, reduces this by 1 to accomodate large tail gap. If negative, no
special treatment of tail gap. The interleave value falls back to the default
value set by -S after the first sector of the next file. Not applicable for
Start next file on an empty track (default start sector
is current sector plus interleave).
Try to fit file on a single track.
Restrict next file blocks to the specified track or
Set next file beginning sector to the specified value.
Not applicable for D81.
Save next file cluster-optimized (d71 only).
Use tracks 35-40 with SPEED DOS BAM formatting.
Use tracks 35-40 with DOLPHIN DOS BAM formatting.
Write additional g64 output file with given name.
Print commandline help.
Copyright © 2008-2019 JackAsser, Krill, Claus, Björn
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
Björn Esser <email@example.com>