Commodore 128 Programmer's Reference Manual page 495

Hide thumbs Also See for 128:
Table of Contents

Advertisement

n
r
CP/M 3.0 ON THE COMMODORE 128
485
n
MAKING COPIES WITH A
SINGLE DISK DRIVE
You can copy the contents of a disk with a single Commodore disk drive (1541 or
1571). For example, use the following sequence of commands to create a bootable
CP/M system disk. First type:
A>FORMAT
and follow the instructions given on the screen. When the copy disk is formatted,
type:
A>PIP E: = A:CPM + .SYS
When the CPM + SYS file is copied, you type:
A>PIPE: = A:CCP.COM
To copy everything on a disk, use the following command sequence:
A>FORMAT
A>PIPE: = A:*.*
The system prompts the user to change disks as required.
Use drive A as the source drive and drive E as the destination drive. Drive E is
referred to as a virtual drive; that is, it does not exist as an actual piece of hardware—it is
strictly a logical drive.
MAKING COPIES WITH TWO DISK DRIVES
You can back up disks in CP/M by using two drives: drive A and drive B. The drives
can be named with other letters from A through D. To make a copy of your CP/M 3.0
system disk, first use the FORMAT utility to copy the operating system loader. Make
sure that the CP/M system disk is in drive A, the default drive, and the blank disk is in
drive B. Then enter the following command at the system prompt:
A>PIPB: =A:CPM+.SYS
When you have copied the CPM + .SYS file, use the PIP command to copy the
CCP.COM file. This provides a copy of the operating system only. To copy all of
the files from the system disk, enter the following PIP command:
A>PIPB: = A:*.*
This PIP command copies all the files on the disk in drive A to the disk in drive B. PIP
displays the message COPYING, followed by each filename as the copy operation
proceeds. When PIP finishes copying, the system prompt (A>) is displayed.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents