1CC1541(1) cc1541 manual CC1541(1)
2
3
4
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
12 cc1541 [-niwfoVTPOlBMdtuxFsSeErbc45gqvh] image.[d64|d71|d81]
13
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 -f filename
26 Use filename as name when writing next file, use prefix # to
27 include arbitrary PETSCII characters (e.g. -f "START#a0,8,1").
28
29 -o
30 Do not overwrite if file with same name exists already.
31
32 -V
33 Do not modify image unless it is in valid CBM DOS format.
34
35 -T filetype
36 Filetype for next file, allowed parameters are PRG, SEQ, USR, REL
37 and DEL. For DEL, the input file is ignored. Default is PRG.
38
39 -P
40 Set write protect flag for next file.
41
42 -O
43 Set open flag for next file.
44
45 -l filename
46 Write loop file (an additional dir entry) to existing file to disk,
47 set filename with -f.
48
49 -B numblocks
50 Write the given value as file size in blocks to the directory for
51 the next file.
52
53 -M numchars
54 Hash computation maximum filename length, this must match loader
55 option FILENAME_MAXLENGTH in Krill’s Loader. Default is 16.
56
57 -m
58 Ignore filename hash collisions, without this switch a collision
59 results in an error.
60
61 -d track
62 Maintain a shadow directory (copy of the actual directory without a
63 valid BAM).
64
65 -t
66 Use dirtrack to also store files (makes -x useless) (default no).
67
68 -u numblocks
69 When using -t, amount of dir blocks to leave free (default=2).
70
71 -x
72 Don’t split files over dirtrack hole (default split files).
73
74 -F
75 Next file first sector on a new track (default=3). Any negative
76 value assumes aligned tracks and uses current sector + interleave.
77 After each file, the value falls back to the default. Not
78 applicable for D81.
79
80 -S value
81 Default sector interleave, default=10. At track end, reduces this
82 by 1 to accomodate large tail gap. If negative, no special
83 treatment of tail gap. Not applicable for D81.
84
85 -s value
86 Next file sector interleave, valid after each file. At track end,
87 reduces this by 1 to accomodate large tail gap. If negative, no
88 special treatment of tail gap. The interleave value falls back to
89 the default value set by -S after the first sector of the next
90 file. Not applicable for D81.
91
92 -e
93 Start next file on an empty track (default start sector is current
94 sector plus interleave).
95
96 -E
97 Try to fit file on a single track.
98
99 -r track
100 Restrict next file blocks to the specified track or higher.
101
102 -b sector
103 Set next file beginning sector to the specified value. Not
104 applicable for D81.
105
106 -c
107 Save next file cluster-optimized (d71 only).
108
109 -4
110 Use tracks 35-40 with SPEED DOS BAM formatting.
111
112 -5
113 Use tracks 35-40 with DOLPHIN DOS BAM formatting.
114
115 -g filename
116 Write additional g64 output file with given name.
117
118 -q
119 Be quiet.
120
121 -v
122 Be verbose.
123
124 -h
125 Print commandline help.
126
128 0
129 Success.
130
131 -1
132 Failure.
133
135 Project web site: https://bitbucket.org/PTV_Claus/cc1541/src
136
138 Please report bugs to:
139 https://bitbucket.org/PTV_Claus/cc1541/issues/new
140
142 Copyright © 2008-2019 JackAsser, Krill, Claus, Björn Esser.
143
144 Permission is hereby granted, free of charge, to any person obtaining a
145 copy of this software and associated documentation files (the
146 "Software"), to deal in the Software without restriction, including
147 without limitation the rights to use, copy, modify, merge, publish,
148 distribute, sublicense, and/or sell copies of the Software, and to
149 permit persons to whom the Software is furnished to do so, subject to
150 the following conditions:
151
152 The above copyright notice and this permission notice shall be included
153 in all copies or substantial portions of the Software.
154
155 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
156 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
157 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
158 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
159 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
160 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
161 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
162
164 Björn Esser <besser82@fedoraproject.org>
165 Author.
166
167
168
169cc1541 v3.1 01/28/2020 CC1541(1)