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 [options] 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, or a decimal number between 0 and 255. 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       -L
61           Add dir entry without writing file (track and sector will be 0),
62           requires a filename given with -f.
63
64       -B numblocks
65           Write the given value as file size in blocks to the directory for
66           the next file.
67
68       -M numchars
69           Hash computation maximum filename length, this must match loader
70           option FILENAME_MAXLENGTH in Krill’s Loader. Default is 16.
71
72       -m
73           Ignore filename hash collisions, without this switch a collision
74           results in an error.
75
76       -d track
77           Maintain a shadow directory (copy of the actual directory without a
78           valid BAM).
79
80       -t
81           Use directory track to also store files (makes -x useless) (default
82           no).
83
84       -u numblocks
85           When using -t, amount of dir blocks to leave free (default=2).
86
87       -x
88           Don’t split files over directory track hole (default split files).
89
90       -F
91           Next file first sector on a new track (default=0). Any negative
92           value assumes aligned tracks and uses current sector + interleave.
93           After each file, the value falls back to the default. Not
94           applicable for D81.
95
96       -S value
97           Default sector interleave, default=10. At track end, reduces this
98           by 1 to accommodate large tail gap. If negative, no special
99           treatment of tail gap. Not applicable for D81.
100
101       -s value
102           Next file sector interleave, valid after each file. At track end,
103           reduces this by 1 to accommodate large tail gap. If negative, no
104           special treatment of tail gap. The interleave value falls back to
105           the default value set by -S after the first sector of the next
106           file. Not applicable for D81.
107
108       -e
109           Start next file on an empty track (default start sector is current
110           sector plus interleave).
111
112       -E
113           Try to fit file on a single track.
114
115       -r track
116           Restrict next file blocks to the specified track or higher.
117
118       -b sector
119           Set next file beginning sector to the specified value. Not
120           applicable for D81.
121
122       -c
123           Save next file cluster-optimized (d71 only).
124
125       -4
126           Use tracks 35-40 with SPEED DOS BAM formatting.
127
128       -5
129           Use tracks 35-40 with DOLPHIN DOS BAM formatting.
130
131       -R level
132           Try to restore deleted and formatted files. level 0: Only restore
133           all dir entries without touching any t/s links. level 1: Fix dir
134           entries for files with valid t/s chains. level 2: Also add wild
135           sector chains with valid t/s chains. level 3: Also fix dir entries
136           with invalid t/s chains. level 4: Also add and fix wild invalid t/s
137           chains. level 5: Also add reasonable wild single blocks.
138
139       -g filename
140           Write additional g64 output file with given name.
141
142       -a
143           Print command line options that would create the same directory as
144           the one in the given image (for directory art import).
145
146       -U mapping
147           Print PETSCII as Unicode (requires Unicode 13.0 font, e.g. UNSCII).
148           Use mapping 0 for ASCII output, 1 for upper case, 2 for lower case,
149           default is 0.
150
151       -q
152           Be quiet.
153
154       -v
155           Be verbose.
156
157       -h
158           Print command line help.
159

EXIT STATUS

161       0
162           Success.
163
164       -1
165           Failure.
166

RESOURCES

168       Project web site: https://bitbucket.org/PTV_Claus/cc1541/src
169

BUG REPORTS

171       Please report bugs to:
172       https://bitbucket.org/PTV_Claus/cc1541/issues/new
173

LICENSE

175       Copyright © 2008-2021 JackAsser, Krill, Claus, Björn Esser.
176
177       Permission is hereby granted, free of charge, to any person obtaining a
178       copy of this software and associated documentation files (the
179       "Software"), to deal in the Software without restriction, including
180       without limitation the rights to use, copy, modify, merge, publish,
181       distribute, sublicense, and/or sell copies of the Software, and to
182       permit persons to whom the Software is furnished to do so, subject to
183       the following conditions:
184
185       The above copyright notice and this permission notice shall be included
186       in all copies or substantial portions of the Software.
187
188       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
189       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
190       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
191       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
192       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
193       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
194       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
195

AUTHOR

197       Björn Esser <besser82@fedoraproject.org>
198           Author.
199
200
201
202cc1541 v3.4                       03/09/2022                         CC1541(1)
Impressum