Creating CP/M Disk Images using CPMTOOLS

From GlassTTY
Jump to: navigation, search

This article describes how cpmtools (http://www.cpm8680.com/cpmtools/) can be used to create Apple II CP/M disks. For a somewhat more fun approach see Creating CP/M Disk Images using MAME, Socat and Kermit.

The method of installing cpmtools will be determined by the platform. In this article cpmtools was installed on OSX using the brew package manager.

   $ brew install cpmtools

Once installed, the individiual tools can be used to manipulate CP/M disk images. The following three, cpmls, cpmrm and cpmcp can be used to list, delete and copy files to/from a blank CP/M disk image. A suitable DOS ordered CP/M disk image is available below.

File:A2 CPM BLANK 0.DSK.zip

To list the files on an Apple II DOS ordered CP/M disk called AZTEC_C.DSK.

   cpmls -f apple-do -l AZTEC_C.DSK

To list the files on an Apple II ProDos ordered CP/M disk

   cpmls -f apple-po -l AZTEC_C.DSK

Deleting a file

   cpmrm -f apple-do AZTEC_C.DSK ker411.com

Copy a single file from the Aztec-C106d directory to the CP/M disk User 0:

   cpmcp -f apple-do AZTEC_C_1.DSK Aztec-C106d/AS.COM 0:

Copy multiple files from the Aztec-C106d directory to the CP/M disk User 0:

   cpmcp -f apple-do AZTEC_C_1.DSK Aztec-C106d/*.* 0: