CPM‐86 ‐ How To - Maverick-Shark/retroGuru GitHub Wiki

CP/M-86

Create a hard disk image

  • Tools: PCem and cpm86-1.1-xt.img
  1. Create a new virtual pcxt [8088] IBM XT/4.77
  2. Create a 8Mb file (Power Shell):
        > fsutil file createnew cpm86-11_8Mb.img 8000000
  1. Start pcxt virtual machine selecting cpm86-1.1-xt.img at a: and the new 8Mb hdd file (cpm86-11_8Mb.img).
  2. PCXT boot with CP/M-86 v1.1
  3. Run hdmaint to create a CP/M partition (Remeber to mark as bootable).
  4. Install CP/M-86 to the CP/M partition.

Commands:

        PIP C:=A:*.*[rvw]

Links:

Step by step:

 1. Boot: PC-DOS from floppy
 2. SpeedStor: low level formatting (LLF) and MediaAnalysis
 3. Fdisk: create (only) 1st partition (4MB)
    · I use this partition for test purposes under DOS.
    · Later you only have to reset the boot flag with FDISK or HDMAINT!.
    ·  The boot manager XFDISK unfortunately only works with a 286 or higher.
 4. Format: format c: /s
 5. Boot: CP/M-86 (V1.10) from floppy
 6. Hdmaint: create 2nd partition (243 cyl, 8.192 KB); more is not supported by CP/M-86
 7. Boot: CP/M-86 (V1.10) from floppy
 8. Copy CPM.SYS to fixed disk with PIP
 9. Hdmaint: make 2nd partition bootable
10. Copy all files and programs to the fixed disk using ...
    .  . .. 22Disk on my (other) PC
    .  . .. serial file transfer

Install Digital Research Concurrent DOS 4.1

        sysdisk d:
        hdinstal
        pip p:=a:*.*[rvw]

Links-Software

THE CP/M-86 SOFTWARE ARCHIVES *****

CP/M-86

Other CP/M Software

Software made by Digital Research

CPMTOOLS (Win32) *****

DOS tools (22DISK) *****

Disk Info 360k - libdsk & cpmtools

        360k raw to imd: (368,640 bytes)
        BIN2IMD <image.img> <image.imd> DM=5 N=40 SS=512 SM=1-9 /2

Disks Definitions - DiskDefs

Disks

Disks - CPM Tools

The 720 means a disk with 720 KB capacity. Now this will give you an equation with three unknown variables:

       720 = t * s * sz

where z = tracks, s = sectors and sz = size of a sector.

The appropriate way to use mkfs.cpm and put it on an actual disk might be:

     > dd if=/dev/zero of=cpm.img bs=720k count=1
     > mkfs.cpm -f cpm86-720 cpm.img
     > dd if=cpm.img of=/dev/fd0D720 bs=16k
# IBM CP/M-86
# setfdprm /dev/fd1 sect=8 dtr=1 hd ssize=512 tpi=48
diskdef ibmpc-514ds
      seclen 512
      tracks 80
      sectrk 8
      blocksize 2048
      maxdir 64
      skew 0
      boottrk 2
      os 2.2
      libdsk:format ibm320
end

Guides

CP/M-86

CCPM-PCDOS

Emulation

PCem v17
vDos
> use d: c:\Warehouse

Notes

Retrowiki - CP/M and PCW

Exploring CP/M for the PC

  • #DOScember - Concurrent DOS, The Forgotten Multiuser / Multitasking DOS
⚠️ **GitHub.com Fallback** ⚠️