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       -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       -N
46           Force creation of a new directory entry, even if a file with the
47           same name exists already.
48
49       -l filename
50           Write loop file (an additional dir entry) to existing file to disk,
51           set filename with -f.
52
53       -B numblocks
54           Write the given value as file size in blocks to the directory for
55           the next file.
56
57       -M numchars
58           Hash computation maximum filename length, this must match loader
59           option FILENAME_MAXLENGTH in Krill’s Loader. Default is 16.
60
61       -m
62           Ignore filename hash collisions, without this switch a collision
63           results in an error.
64
65       -d track
66           Maintain a shadow directory (copy of the actual directory without a
67           valid BAM).
68
69       -t
70           Use dirtrack to also store files (makes -x useless) (default no).
71
72       -u numblocks
73           When using -t, amount of dir blocks to leave free (default=2).
74
75       -x
76           Don’t split files over dirtrack hole (default split files).
77
78       -F
79           Next file first sector on a new track (default=0). Any negative
80           value assumes aligned tracks and uses current sector + interleave.
81           After each file, the value falls back to the default. Not
82           applicable for D81.
83
84       -S value
85           Default sector interleave, default=10. At track end, reduces this
86           by 1 to accomodate large tail gap. If negative, no special
87           treatment of tail gap. Not applicable for D81.
88
89       -s value
90           Next file sector interleave, valid after each file. At track end,
91           reduces this by 1 to accomodate large tail gap. If negative, no
92           special treatment of tail gap. The interleave value falls back to
93           the default value set by -S after the first sector of the next
94           file. Not applicable for D81.
95
96       -e
97           Start next file on an empty track (default start sector is current
98           sector plus interleave).
99
100       -E
101           Try to fit file on a single track.
102
103       -r track
104           Restrict next file blocks to the specified track or higher.
105
106       -b sector
107           Set next file beginning sector to the specified value. Not
108           applicable for D81.
109
110       -c
111           Save next file cluster-optimized (d71 only).
112
113       -4
114           Use tracks 35-40 with SPEED DOS BAM formatting.
115
116       -5
117           Use tracks 35-40 with DOLPHIN DOS BAM formatting.
118
119       -g filename
120           Write additional g64 output file with given name.
121
122       -q
123           Be quiet.
124
125       -v
126           Be verbose.
127
128       -h
129           Print commandline help.
130

EXIT STATUS

132       0
133           Success.
134
135       -1
136           Failure.
137

RESOURCES

139       Project web site: https://bitbucket.org/PTV_Claus/cc1541/src
140

BUGS REPORTS

142       Please report bugs to:
143       https://bitbucket.org/PTV_Claus/cc1541/issues/new
144

LICENSE

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

AUTHOR

168       Björn Esser <besser82@fedoraproject.org>
169           Author.
170
171
172
173cc1541 v3.2                       10/09/2020                         CC1541(1)
Impressum