Summary of CP/M Commands

Commands for File Information and Display

DIR {fileref}
STAT d:{ DSK: }
STAT fileref
TYPE fileref
PIP de
v:= fileref [options]
D
UMP fileref
Display files on a drive
Display disk information
Display file information
Display file at console
Send file to serial device
Display file in hex

Commands for File Alteration

ED fileref {d:}
ERA fileref
REN newref=oldref
STAT fileref $attribute

LOAD fileref
SAVE size fileref
PIP
PIP destination =so
urce[oplions]
PIP d
:= fileref [options]
Start editing session
Erase files
Rename existing file
Alter file attribute
Convert
.HEX to .COM file
Copy storage to
.COM file
Start P
IP session
Transfer single file
Transfer multiple files

Commands for Serial Devices

PIP dev:= fileref [options]
STAT
DEV:
STAT
VAL:
STAT logical
= physical
Send file to serial device
Display device assignments
Display STAT operands
Make device assignments

Commands for Building Programs

DDT {fileref}
LOAD fileref
SAVE size fileref
Start debugging session
Convert
.HEX to .COM file
Copy storage to
.COM file

Commands for System Information

STAT DEV:
STAT
USR:
STAT VAL:
Display device assignments
Display user-code status
Display STAT operands

Commands for System Control

STAT d:=R/0
STAT l
ogical=physical
SUBMIT
{d:}filename {parameters...}
USER code
XSUB
Make drive read-only
Make device assignments
Run command list in file
Set active user code (0-15)
Supply input from file

 

Commands for System Generation _,

MOVCPM size flag
SYSGEN
Build relocated CP/M
Copy CP/M image to disk

 

Excerpt from David E. Cortesi – Inside CP/M © 1982