/cpmtools

Tools to access CP/M file systems (forked)

Primary LanguageCGNU General Public License v3.0GPL-3.0

Build status Build Status

cpmtools - Tools to access CP/M file systems

This package allows to access CP/M file systems similar to the well-known mtools package, which accesses MSDOS file systems. It can be used for file exchange with a Z80-PC simulator, but it works on floppy devices as well.

Currently it contains:

  • cpmls - list sorted directory with output similar to ls, DIR, P2DOS DIR and CP/M3 DIR
  • cpmcp - copy files from and to CP/M file systems
  • cpmrm - erase files from CP/M file systems
  • cpmchmod - change file permissions
  • cpmchattr - change file attributes
  • mkfs.cpm - make a CP/M file system
  • fsck.cpm - check and repair a CP/M file system
  • fsed.cpm - view CP/M file system
  • manual pages for everything including the CP/M file system format

All features of CP/M file systems are supported.

Compilation

Requirements

You will need an ANSI standard C compiler, prefered is the GNU CC. Optional you can build against the disk image library libdsk. You should by able to compile and work out of the box on each POSIX compliant system (Linux, BSD and MacOS). It can be additionally compiled for Win32 or Cygwin systems.

sudo apt-get install libncurses-dev

Only when you want to compile against the disk image library libdsk:

sudo apt-get install libdsk4-dev ### OR: libdsk5-dev

Get the Code

git clone https://github.com/lipro-cpm4l/cpmtools.git
cd cpmtools

Build and install the binary

./configure
make all
sudo make install

Documentation


This is an unofficial fork!

Original written by Michael Haardt michael@moria.de and John Elliott seasip.webmaster@gmail.com and distributed at first under the GNU General Public License version 2 (original) and now version 3.

Primary-site: http://www.moria.de/~michael/cpmtools/

License terms and liability

The author provides the software in accordance with the terms of the GNU-GPL. The use of the software is free of charge and is therefore only at your own risk! No warranty or liability!

Any guarantee and liability is excluded!

Authorship

Primary-site: http://www.moria.de/~michael/cpmtools/

Source code

Michael Haardt is the originator of the C source code and as well as the associated scripts, descriptions and help files. This part is released and distributed under the GNU General Public License (GNU-GPL) Version 3.

A few parts of the source code are based on the work of other authors:

  • John Elliott: LibDsk integration and bringing cpmtools to Windows.
  • Bill Buckels: Building cpmtools-2.9 in Windows XP, the Cygwin port.
  • David Schmidt, Udo Munk, Peter Dassow: For Cygwin feedback.
  • Stevo Tarkin, Volker Pohlers: For Msys feedback.
  • Rolf Harmann: For Linux feedback.
  • Richard Brady: who may or may not know watfor:)
  • Raoul Golan: Contributed code to read apple II disk images.

see: COPYING, README, README.win32.cygwin.txt, README.win32-libdsk