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       -H message
22           Hidden BAM message. Only for D64 (up to 85 chars) or SPEED DOS (up
23           to 20 chars).
24
25       -w localname
26           Write local file to disk, if filename is not set then the local
27           name is used. After file written, the filename is unset.
28
29       -W localname
30           Like -w, but encode file in Transwarp format.
31
32       -K key
33           Set an encryption key for Transwarp files, a string of up to 29
34           characters.
35
36       -f filename
37           Use filename as name when writing next file, use prefix # to
38           include arbitrary PETSCII characters (e.g. -f "START#a0,8,1").
39
40       -o
41           Do not overwrite if file with same name exists already.
42
43       -V
44           Do not modify image unless it is in valid CBM DOS format.
45
46       -T filetype
47           Filetype for next file, allowed parameters are PRG, SEQ, USR, REL
48           and DEL, or a decimal number between 0 and 255. Default is PRG.
49
50       -P
51           Set write protect flag for next file.
52
53       -O
54           Set open flag for next file.
55
56       -N
57           Force creation of a new directory entry, even if a file with the
58           same name exists already.
59
60       -l filename
61           Write loop file (an additional dir entry) to existing file to disk,
62           set filename with -f.
63
64       -L
65           Add dir entry without writing file (track and sector will be 0),
66           requires a filename given with -f.
67
68       -B numblocks
69           Write the given value as file size in blocks to the directory for
70           the next file.
71
72       -M numchars
73           Hash computation maximum filename length, this must match loader
74           option FILENAME_MAXLENGTH in Krill’s loader. Default is 16.
75
76       -m
77           Ignore filename hash collisions, without this switch a collision
78           results in an error.
79
80       -d track
81           Maintain a shadow directory (copy of the actual directory without a
82           valid BAM).
83
84       -t
85           Use directory track to also store files (makes -x useless) (default
86           no).
87
88       -u numblocks
89           When using -t, amount of dir blocks to leave free (default=2).
90
91       -x
92           Don’t split files over directory track hole (default split files).
93
94       -F
95           Next file first sector on a new track (default=0). Any negative
96           value assumes aligned tracks and uses current sector + interleave -
97           value. After each file, the value falls back to the default. Not
98           applicable for D81.
99
100       -S value
101           Default sector interleave, default=10. Not applicable for D81.
102
103       -s value
104           Next file sector interleave, valid after each file. The interleave
105           value falls back to the default value set by -S after the first
106           sector of the next 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 v4.0                       08/17/2022                         CC1541(1)
Impressum