Skip to content

Repository files navigation

CP/M-86 CMD Tools

Synopsis

Simple tools collected to faciliate the cross development of executables running on CP/M-86

  • cmdinfo Details the structure of a .CMD file and can extract CODE, DATA and EXTRA segments
  • bin2cmd Converts a .COM/.BIN file (DOS .COM binary) to a .CMD
  • exe2cmd Converts a .EXE file (DOS .EXE binary) to a .CMD (Small Model)

bin2cmd and exe2cmd originate from John Elliot Code...

cmdinfo Usage

cmdinfo file.cmd [...]
     - displays CMD headers

cmdinfo -e file.cmd
     - extracts code segments  (c<index>-<base>.bin)
     - extracts data segments  (d<index>-<base>.bin)
     - extracts extra segments (e<index>-<base>.bin)

TODOs

  • Examples with MASM, RASM86, MS LINK, DR LINKEXE
  • Provide real DOS makefile
  • Regress test the submit script
  • Adjust exe2cmd to work with basic exes

Build Environment

For this cross development environment, please use (https://github.com/tsupplis/cpm86-crossdev). It comes with wrappers for all the tools necesary.

Test Environment

--

Companion projects

Project Description
cpm86-kernel CP/M-86 1.1 distribution rebuilt from patched and reconstituted sources
ccpm86-y2k CCP/M-86 3.1 distribution rebuilt from patched and reconstituted sources
cpm86-crossdev Unix CP/M-86 cross development project (compilers, emulation and tools)
cpm86-hacking CP/M-86 miscellaneous tools and PCE emulator helpers
cpm86-cmdtools CP/M-86 .cmd file manipulation tools
cpm86-ports CP/M-86 application ports in C and assembler
cpm86-vi STevie vi port for CP/M-86 and PC-DOS 1.1
pcdos11-hacking PC-DOS 1.1 distribution, tools and notes

About

CP/M-86 .cmd file tools

Topics

Resources

Stars

13 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages