Scroll to navigation

C1541(1) General Commands Manual C1541(1)

NAME

c1541 - a stand alone disk image maintenance program

SYNOPSIS

c1541 [options] [image]

DESCRIPTION

c1541 is a stand alone program that can be used for D64, D71, D81, X64 and G64 disk image file maintenance. It is part of the VICE emulator.

c1541 can be used both in interactive and batch mode. It will start in interactive mode if no images and no options are specified or if one image is specified; when started in interactive mode, command line editing and command history are available.

Each command line option for use in batch mode has an interactive mode counterpart, that is shown in parenthesis.

-@ command
execute CBM DOS command
attach image for use. All consequent commands in interactive mode will refer to this image.
show bam bitmap of an imagem optionally specifying unit and/or a slice of the tracks using track-min and track-max.
copy a block to another block. When not using the optional unit numbers, the block is copied among the current unit. If one unit (src_unit) is specified that unit is used for both source and destination. Using both unit number allows copying blocks between different units.
fill a block with a single value.
show disk blocks in hex format.
poke data into a block. The data list should be at least a single byte. Multiple prefixes for the data are supported: 0x/$ for hex, 0b/% for binary, & for octal and unadorned for plain decimal.
read a block from the disk image at (track,sector) and write it to the host file system as filename.
write a block from filename on the host file system to a disk image at (track,sector).
show block chain starting at (track,sector). The last number shown is the number of bytes in the final block.
concatenate oldname1, oldname2... into newname on image (can be used to copy files).
delete files from image
list directory. See the list command for details.
extract all files from image.
format the disk image image with the specified label. image is created if it does not exist.
extract all the files to the file system and GEOS Convert them.
read GEOS source from the disk image and copy it as a Convert file into destination in the file system. If destination is not specified, copy it into a file with the same name as source. Please note that since GEOS files are stored in ASCII, violating CBMDOS conventions, the filename should be given in inverted case.
write GEOS Convert file source from the file system on a disk image.
show help on all commands or more detailed help on a specific command
show information about image (format, geometry, error-block, write-protect)
list directory. The optional pattern accepts the usual CBM DOS wildcards (* and ?) and also supports file type selection with '=X', where X is one of S, P, U or R. Multiple sub patterns can be specified by using comma's.
set diskname and optionally id.
save P00 files to the file system.
extract 1541name from the disk image into fsname (1541name by default) from image.
rename files. The files must be on the same drive.
show license or warranty information.
transfer files from tapeimage to image (default is all files).
dissolve Lynx archive.
validate mage.
set verbose mode. Output extra logging information, disable with verbose off.
write fsname to image as 1541name (fsname by default). (works with P00 files as well).
create an X64 disk image from four Zipcoded files named 1!zipname through 4!zipname.

When more than one command is specified in batch mode, all of them are executed in the same order they have on the command line.

If you use - as a file name, it stands for stdin or stdout.

Exit interactive mode with either exit or quit.

SEE ALSO

vice(1), cartconv(1), petcat(1)

AUTHORS

Teemu Rantanen <tvr@cs.hut.fi>
Ettore Perazzoli <ettore@comm2000.it>
Andreas Boose <boose@linux.rz.fh-hannover.de>
Jouko Valta <jopi@stekt.oulu.fi>

with improvements by

Olaf Seibert <rhialto@mbfys.kun.nl>
Gerhard Wesp <gwesp@cosy.sbg.ac.at>
Bas Wassink <b.wassink@ziggo.nl>

May 2018 VICE