cbmconvert: create, extract and convert 8-bit Commodore binary archives
cbmconvert
extracts files from most known archive file formats that are used on 8-bit Commodore computer platforms and writes them to several different formats, including some formats used by some emulators.
Examples
To convert Lynx archive files (*.lnx
) into 1541 disk image(s):
cbmconvert -D4 image.d64 -l *.lnx
To extract the individual files of a number of 1541 disk images, you could execute the following commands in the Bourne Again shell:
for i in *.d64
do
mkdir "${i%.d64}"
cd "${i%.d64}"
cbmconvert -d ../"$i"
cd ..
done
Motivation
There are many archiving programs for the Commodore 64 and other 8-bit Commodore computers, most of which are incompatible with archiving programs on other systems.
It is faster and more convenient to convert files with native code running on a 32-bit or 64-bit processor than by 8-bit 6502 code running in an old computer or an emulator.
Requirements
- CMake 3.0.2 or later
- At least 32-bit C compiler, compliant to to ISO/IEC 9899:1990 (C90) or later
- A POSIX-like operating system (including Microsoft Windows)
Installation
You can build, test, and install the code as follows:
mkdir build
cd build
cmake ..
cmake --build .
ctest
cmake --install .
For more information, see cbmconvert.html and the manual pages:
man cbmconvert
man zip2disk
man disk2zip