Computers Overview
Commodore PET
Sinclair ZX80
Sinclair ZX81
BBC Micro
Commodore 64
Sinclair ZXSpectrum
Memotech MTX
Memotech CP/M
  CP/M About
  CP/M Commands
  CP/M Cookbook
  CP/M Emulation
  CP/M Structure
  Custom FDX CP/M 
  Documents
  Software
Tatung Einstein
Atari ST
PDAs
DEC 3000 AXP
OpenVMS
Raspberry Pi

 

 
 

The Memotech MTX Series

 

CP/M Console Command Processor Instructions

 

The Console Command Processor was responsible for accepting input from the console (keyboard) and sending the results back to the console (screen). Once the system booted, the CCP would display the logged on drive, typically "A>", and a flashing cursor as it waited for user input.

The CCP took the user input and acted on it by executing one of a limited number of internal commands or by calling an external program, referred to as transient commands. Application programs were also referred to as transient commands.

A brief overview of the CCP commands can be found on this page, a complete description of the commands is available on a host of internet sites, for example, the Micro Vibe page here.

 

Command (Internal) Function
COPY There isn't one! - See PIP below
DIR <filespec> Produces a list of files matching the <filespec>, if no filespec is entered, the result is the same as *.*, i.e., all files on the currently logged disk. The command accepts similar wildcards as DOS.

Note, CP/M 2.2 has no concept of directories, all files are in the "root" area of the disk. Other target disks can be selected, e.g., DIR C:*.* will list all files on drive C:

System files are not shown by the DIR command. (See STAT).

ERA <filespec> Deletes the file(s) specified by <filespec>. Wildcards are allowed.
REN <new> = <old> Renames the <old> filespec to the <new>. Wildcards are allowed.
SAVE <pages> <file> Saves a copy of memory to file. <pages> is the number of 256 byte pages starting at address 100(h) to save and <file> is the filename to save the data to.
TYPE <filename> Copies the named text file to the console (screen)
USER <area> The system has "user areas" numbered from 0 to 15. On start-up, the User area is set to "0". The DIR command displays files in the current user area and only programs in the current user area can be executed. The USER command is used to select another User area.

 

Executable (.COM) Programs

 

In addition to its internal commands, CP/M distributions included a number of executable programs which were required to perform basic operations such as copying files as well as editing, assembling and linking files to create new programs.

 

Program (Transient Command) Function / Description
DDT.com

Dynamic Debugging Tool

 - the full manual is on my CP/M Documents page.

 

Courtesy of Oscar Vermeulen, here is a condensed list of DDT sub-commands

ED.com Text File Editor, just say "NO", there are far better editors available
PIP.com

Usage pip <dest> = <src>

e.g. PIP A:=B:*.COM

Peripheral Interchange Program, used for, e.g., copying files

Copies the source file(s) to the destination

Copies all .COM files on B: to A:

STAT.com The STAT program can be used to display and change serial device, disk and file settings.
   

 

CP/M Related Links

Information on CP/M is freely available on the internet - just put "CP/M" into Google ! A selection is listed below :-

Obsolescence Guaranteed  The CP/M Internals page from Oscar Vermeulen's Obsolescence Guaranteed website
www.digitalresearch.biz  Information on the history of CP/M and Digital Research
Tim Olmstead Memorial Library  Manuals for Digital Research software
The Unofficial CP/M Website  Good source for CP/M software and documentation
Gaby's CP/M Centre  More resources and links to CP/M
Micro Vibe Some useful information on CP/M and hints on using it.

There are some very helpful descriptions of BIOS, BDOS and the CCP on that site.

Wikipedia  CP/M Entry on Wikipedia

 

 

mailto: Webmaster

 Terms & Conditions