'\" t .\" Title: cc1541 .\" Author: Björn Esser .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 02/07/2021 .\" Manual: cc1541 manual .\" Source: cc1541 v3.2 .\" Language: English .\" .TH "CC1541" "1" "02/07/2021" "cc1541 v3\&.2" "cc1541 manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" 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 BAM\-formatting\&. .SH "SYNOPSIS" .sp \fBcc1541\fR [\fI\-niwfoVTPOlBMdtuxFsSeErbc45gqvh\fR] image\&.[\fId64|d71|d81\fR] .SH "OPTIONS" .PP \fB\-n diskname\fR .RS 4 Disk name, default=\fIcc1541\fR\&. .RE .PP \fB\-i id\fR .RS 4 Disk ID, default=\fI00 2a\fR\&. .RE .PP \fB\-w localname\fR .RS 4 Write local file to disk, if filename is not set then the local name is used\&. After file written, the filename is unset\&. .RE .PP \fB\-f filename\fR .RS 4 Use filename as name when writing next file, use prefix \fI#\fR to include arbitrary PETSCII characters (e\&.g\&. \-f "START#a0,8,1")\&. .RE .PP \fB\-o\fR .RS 4 Do not overwrite if file with same name exists already\&. .RE .PP \fB\-V\fR .RS 4 Do not modify image unless it is in valid CBM DOS format\&. .RE .PP \fB\-T filetype\fR .RS 4 Filetype for next file, allowed parameters are PRG, SEQ, USR, REL and DEL\&. For DEL, the input file is ignored\&. Default is PRG\&. .RE .PP \fB\-P\fR .RS 4 Set write protect flag for next file\&. .RE .PP \fB\-O\fR .RS 4 Set open flag for next file\&. .RE .PP \fB\-N\fR .RS 4 Force creation of a new directory entry, even if a file with the same name exists already\&. .RE .PP \fB\-l filename\fR .RS 4 Write loop file (an additional dir entry) to existing file to disk, set filename with \-f\&. .RE .PP \fB\-B numblocks\fR .RS 4 Write the given value as file size in blocks to the directory for the next file\&. .RE .PP \fB\-M numchars\fR .RS 4 Hash computation maximum filename length, this must match loader option FILENAME_MAXLENGTH in Krill\(cqs Loader\&. Default is 16\&. .RE .PP \fB\-m\fR .RS 4 Ignore filename hash collisions, without this switch a collision results in an error\&. .RE .PP \fB\-d track\fR .RS 4 Maintain a shadow directory (copy of the actual directory without a valid BAM)\&. .RE .PP \fB\-t\fR .RS 4 Use dirtrack to also store files (makes \-x useless) (default no)\&. .RE .PP \fB\-u numblocks\fR .RS 4 When using \-t, amount of dir blocks to leave free (default=2)\&. .RE .PP \fB\-x\fR .RS 4 Don\(cqt split files over dirtrack hole (default split files)\&. .RE .PP \fB\-F\fR .RS 4 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 D81\&. .RE .PP \fB\-S value\fR .RS 4 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\&. .RE .PP \fB\-s value\fR .RS 4 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 D81\&. .RE .PP \fB\-e\fR .RS 4 Start next file on an empty track (default start sector is current sector plus interleave)\&. .RE .PP \fB\-E\fR .RS 4 Try to fit file on a single track\&. .RE .PP \fB\-r track\fR .RS 4 Restrict next file blocks to the specified track or higher\&. .RE .PP \fB\-b sector\fR .RS 4 Set next file beginning sector to the specified value\&. Not applicable for D81\&. .RE .PP \fB\-c\fR .RS 4 Save next file cluster\-optimized (d71 only)\&. .RE .PP \fB\-4\fR .RS 4 Use tracks 35\-40 with SPEED DOS BAM formatting\&. .RE .PP \fB\-5\fR .RS 4 Use tracks 35\-40 with DOLPHIN DOS BAM formatting\&. .RE .PP \fB\-g filename\fR .RS 4 Write additional g64 output file with given name\&. .RE .PP \fB\-q\fR .RS 4 Be quiet\&. .RE .PP \fB\-v\fR .RS 4 Be verbose\&. .RE .PP \fB\-h\fR .RS 4 Print commandline help\&. .RE .SH "EXIT STATUS" .PP \fB0\fR .RS 4 Success\&. .RE .PP \fB\-1\fR .RS 4 Failure\&. .RE .SH "RESOURCES" .sp Project web site: https://bitbucket\&.org/PTV_Claus/cc1541/src .SH "BUGS REPORTS" .sp Please report bugs to: https://bitbucket\&.org/PTV_Claus/cc1541/issues/new .SH "LICENSE" .sp Copyright \(co 2008\-2019 JackAsser, Krill, Claus, Björn Esser\&. .sp 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 following conditions: .sp The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software\&. .sp 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\&. .SH "AUTHOR" .PP \fBBjörn Esser\fR <\&besser82@fedoraproject\&.org\&> .RS 4 Author. .RE