CP M 2.2 Installation - sgersing73/RC2014 GitHub Wiki

Minimal CP/M 2.2 System installation on RC2014 by Dr. Scott M. Baker

CP/M on Wikipedia

  1. Hardware Configuration for RC2014

SIO/2, CompactFlash, and Banked RAM/ROM board installed

Monitor ROM installed

  1. Format the Flash Card

Boot to monitor

paste form64.hex into monitor

type “G8100”

(note: assumes smbaker’s changes that relocate from64 from 4100h to 8100h)

  1. Install CP/M

Boot to monitor

paste cpm22.hex

paste cbios64.hex

paste putsys.hex

type “G8100

(note: assumes smbaker’s changes that relocate putsys from 4100h to 8100h)

  1. Boot into CP/M the very first time

Boot into monitor

Press “X” (boot to CPM)

Press “Y” (confirm boot)

You’re now staring at the A> prompt

  1. Install Download.com

Press RC2014 reboot button while CPM is running. This will boot to the monitor.

Paste down8100.hex

(note: assumes smbaker’s change that relocates download.hex from 4100h to 8100h)

Type “GFFE8”. This will cause the monitor ROM to bank switch, and automatically copy down8100.hex from 8100h to 100h

You should be starting at the A> prompt again

Type “SAVE 2 DOWNLOAD.COM

This will cause the program that is currently located at 100h to be saved to disk under the name “DOWNLOAD.COM”

  1. Install XModem.com and Depkg.com

To complete the initialisation, there are 2 more programs which are very useful, xmodem and dekpg. Open the hex files modem.hex and depkg.hex in text editor and cut the hex code and paste it into the terminal window when in CP/M. The files will be transferred and save on the drive as XMODEM.COM and DEPKG.COM.

Paste DEPKG.COM and XMODEM.COM

Usage of XModem.com

Once XMODEM is installed, it’s a simple matter to upload additional software like this

type this: “xmodem filename.ext /R /X0” initiate an xmodem upload in your terminal

The /R instructs xmodem to operate in receive mode. The /X0 tells it to transfer using the CP/M console.

Usage of Depkg.com

depkg.com - Extract files from a Package created using pkgmaker.py

Why is this useful?

Although we can use xmodem to transfer a single file to your CPM machine, it is a time-consuming task to transfer software collections with large numbers of files.

Step 1: Using the "pkgmaker" script, we can combine many files into a single file called a package.

Step 2: We use xmodem to transfer the package into CPM.

Step 3: We use depkg.com to extract the original files.

Example: A:depkg infocom.pkg