1CC1541(1)                        cc1541 manual                       CC1541(1)
2
3
4

NAME

6       cc1541 - A tool for creating Commodore 1541 Floppy disk images in D64,
7       D71 or D81 format with custom sector interleaving etc. Also supports
8       extended tracks 35-40 using either SPEED DOS or DOLPHIN DOS
9       BAM-formatting.
10

SYNOPSIS

12       cc1541 [-niwfoVTPOlBMdtuxFsSeErbc45gqvh] image.[d64|d71|d81]
13

OPTIONS

15       -n diskname
16           Disk name, default=cc1541.
17
18       -i id
19           Disk ID, default=00 2a.
20
21       -w localname
22           Write local file to disk, if filename is not set then the local
23           name is used. After file written, the filename is unset.
24
25       -W localname
26           Like -w, but encode file in Transwarp format.
27
28       -K key
29           Set an encryption key for Transwarp files, a string of up to 29
30           characters.
31
32       -f filename
33           Use filename as name when writing next file, use prefix # to
34           include arbitrary PETSCII characters (e.g. -f "START#a0,8,1").
35
36       -o
37           Do not overwrite if file with same name exists already.
38
39       -V
40           Do not modify image unless it is in valid CBM DOS format.
41
42       -T filetype
43           Filetype for next file, allowed parameters are PRG, SEQ, USR, REL
44           and DEL. For DEL, the input file is ignored. Default is PRG.
45
46       -P
47           Set write protect flag for next file.
48
49       -O
50           Set open flag for next file.
51
52       -N
53           Force creation of a new directory entry, even if a file with the
54           same name exists already.
55
56       -l filename
57           Write loop file (an additional dir entry) to existing file to disk,
58           set filename with -f.
59
60       -B numblocks
61           Write the given value as file size in blocks to the directory for
62           the next file.
63
64       -M numchars
65           Hash computation maximum filename length, this must match loader
66           option FILENAME_MAXLENGTH in Krill’s Loader. Default is 16.
67
68       -m
69           Ignore filename hash collisions, without this switch a collision
70           results in an error.
71
72       -d track
73           Maintain a shadow directory (copy of the actual directory without a
74           valid BAM).
75
76       -t
77           Use dirtrack to also store files (makes -x useless) (default no).
78
79       -u numblocks
80           When using -t, amount of dir blocks to leave free (default=2).
81
82       -x
83           Don’t split files over dirtrack hole (default split files).
84
85       -F
86           Next file first sector on a new track (default=0). Any negative
87           value assumes aligned tracks and uses current sector + interleave.
88           After each file, the value falls back to the default. Not
89           applicable for D81.
90
91       -S value
92           Default sector interleave, default=10. At track end, reduces this
93           by 1 to accomodate large tail gap. If negative, no special
94           treatment of tail gap. Not applicable for D81.
95
96       -s value
97           Next file sector interleave, valid after each file. At track end,
98           reduces this by 1 to accomodate large tail gap. If negative, no
99           special treatment of tail gap. The interleave value falls back to
100           the default value set by -S after the first sector of the next
101           file. Not applicable for D81.
102
103       -e
104           Start next file on an empty track (default start sector is current
105           sector plus interleave).
106
107       -E
108           Try to fit file on a single track.
109
110       -r track
111           Restrict next file blocks to the specified track or higher.
112
113       -b sector
114           Set next file beginning sector to the specified value. Not
115           applicable for D81.
116
117       -c
118           Save next file cluster-optimized (d71 only).
119
120       -4
121           Use tracks 35-40 with SPEED DOS BAM formatting.
122
123       -5
124           Use tracks 35-40 with DOLPHIN DOS BAM formatting.
125
126       -g filename
127           Write additional g64 output file with given name.
128
129       -U mapping
130           Print PETSCII as Unicode (requires Unicode 13.0 font, e.g. UNSCII).
131           Use mapping 0 for ASCII output, 1 for upper case, 2 for lower case,
132           default is 0.
133
134       -q
135           Be quiet.
136
137       -v
138           Be verbose.
139
140       -h
141           Print commandline help.
142

EXIT STATUS

144       0
145           Success.
146
147       -1
148           Failure.
149

RESOURCES

151       Project web site: https://bitbucket.org/PTV_Claus/cc1541/src
152

BUG REPORTS

154       Please report bugs to:
155       https://bitbucket.org/PTV_Claus/cc1541/issues/new
156

LICENSE

158       Copyright © 2008-2021 JackAsser, Krill, Claus, Björn Esser.
159
160       Permission is hereby granted, free of charge, to any person obtaining a
161       copy of this software and associated documentation files (the
162       "Software"), to deal in the Software without restriction, including
163       without limitation the rights to use, copy, modify, merge, publish,
164       distribute, sublicense, and/or sell copies of the Software, and to
165       permit persons to whom the Software is furnished to do so, subject to
166       the following conditions:
167
168       The above copyright notice and this permission notice shall be included
169       in all copies or substantial portions of the Software.
170
171       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
172       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
173       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
174       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
175       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
176       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
177       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
178

AUTHOR

180       Björn Esser <besser82@fedoraproject.org>
181           Author.
182
183
184
185cc1541 v3.3                       10/04/2021                         CC1541(1)
Impressum