1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
|
= cc1541(1)
Björn Esser
:doctype: manpage
:Author: JackAsser, Krill, Claus, Björn Esser
:Email: besser82@fedoraproject.org
:manvolnum: 1
:manversion: v@@VERSION@@
:manmanual: cc1541 manual
:mansource: cc1541
:man-linkstyle: pass:[blue R < >]
== Name
cc1541 - A tool for creating Commodore 1541 Floppy disk images
in D64, D71 or D81 format with custom sector interleaving etc.
Also supports extended tracks 35-40 using either SPEED DOS or
DOLPHIN DOS BAM-formatting.
== Synopsis
*cc1541* [_options_] image.[_d64|d71|d81_]
== Options
*-n diskname*::
Disk name, default='cc1541'.
*-i id*::
Disk ID, default='00 2a'.
*-H message*::
Hidden BAM message. Only for D64 (up to 85 chars) or SPEED DOS
(up to 20 chars).
*-w localname*::
Write local file to disk, if filename is not set then the local
name is used. After file written, the filename is unset.
*-W localname*::
Like -w, but encode file in Transwarp format.
*-K key*::
Set an encryption key for Transwarp files, a string of up to 29
characters.
*-f filename*::
Use filename as name when writing next file, use prefix _#_ to
include arbitrary PETSCII characters (e.g. -f "START#a0,8,1").
*-o*::
Do not overwrite if file with same name exists already.
*-V*::
Do not modify image unless it is in valid CBM DOS format.
*-T filetype*::
Filetype for next file, allowed parameters are PRG, SEQ, USR, REL
and DEL, or a decimal number between 0 and 255. Default is PRG.
*-P*::
Set write protect flag for next file.
*-O*::
Set open flag for next file.
*-N*::
Force creation of a new directory entry, even if a file with the
same name exists already.
*-l filename*::
Write loop file (an additional dir entry) to existing file to disk,
set filename with -f.
*-L*::
Add dir entry without writing file (track and sector will be 0),
requires a filename given with -f.
*-B numblocks*::
Write the given value as file size in blocks to the directory for
the next file.
*-M numchars*::
Hash computation maximum filename length, this must match loader
option FILENAME_MAXLENGTH in Krill's loader. Default is 16.
*-m*::
Ignore filename hash collisions, without this switch a collision
results in an error.
*-d track*::
Maintain a shadow directory (copy of the actual directory without a
valid BAM).
*-t*::
Use directory track to also store files (makes -x useless) (default no).
*-u numblocks*::
When using -t, amount of dir blocks to leave free (default=2).
*-x*::
Don't split files over directory track hole (default split files).
*-F*::
Next file first sector on a new track (default=0). Any negative
value assumes aligned tracks and uses current sector + interleave - value.
After each file, the value falls back to the default. Not applicable
for D81.
*-S value*::
Default sector interleave, default=10. Not applicable for D81.
*-s value*::
Next file sector interleave, valid after each file. The interleave value
falls back to the default value set by -S after the first sector of the
next file. Not applicable for D81.
*-e*::
Start next file on an empty track (default start sector is current
sector plus interleave).
*-E*::
Try to fit file on a single track.
*-r track*::
Restrict next file blocks to the specified track or higher.
*-b sector*::
Set next file beginning sector to the specified value. Not
applicable for D81.
*-c*::
Save next file cluster-optimized (d71 only).
*-4*::
Use tracks 35-40 with SPEED DOS BAM formatting.
*-5*::
Use tracks 35-40 with DOLPHIN DOS BAM formatting.
*-R level*::
Try to restore deleted and formatted files.
level 0: Only restore all dir entries without touching any t/s links.
level 1: Fix dir entries for files with valid t/s chains.
level 2: Also add wild sector chains with valid t/s chains.
level 3: Also fix dir entries with invalid t/s chains.
level 4: Also add and fix wild invalid t/s chains.
level 5: Also add reasonable wild single blocks.
*-g filename*::
Write additional g64 output file with given name.
*-a*::
Print command line options that would create the same directory as the
one in the given image (for directory art import).
*-U mapping*::
Print PETSCII as Unicode (requires Unicode 13.0 font, e.g. UNSCII).
Use mapping 0 for ASCII output, 1 for upper case, 2 for lower case,
default is 0.
*-q*::
Be quiet.
*-v*::
Be verbose.
*-h*::
Print command line help.
== Exit status
*0*::
Success.
*-1*::
Failure.
== Resources
Project web site: https://bitbucket.org/PTV_Claus/cc1541/src
== Bug Reports
Please report bugs to:
https://bitbucket.org/PTV_Claus/cc1541/issues/new
== License
Copyright (C) 2008-2021 {author}. +
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
|