rcousins.com/pub › TurboDOS and CP/M

TurboDOS and CP/M

TurboDOS was a multi-user, networked operating system for Z80 machines, sold by Software 2000 from the early 1980s. It ran CP/M programs unchanged, but behind that it shared disks, printers and files among many users across a network of processor boards. This section holds the book that reconstructs TurboDOS 1.43 from its object code, and the tools written along the way. They are portable C for Linux and FreeBSD, not CP/M programs: an assembler, a linker and a disassembler for the old object formats, and a library that reads and writes CP/M and TurboDOS disk images.

The packages build on one another. REL_tools handles the Microsoft REL object format that both CP/M and TurboDOS were built from. turbotools adds the programs that need to know about TurboDOS itself. libcpmfs works with the disks.

turbodosturbodos-1.0
libcpmfslibcpmfs-1.0.0
turbotoolsturbotools-1.4
REL_toolsREL_tools-1.7

TurboDOS 1.43 — the book

TurboDOS: The Internals of an Historic Network Operating System is a reconstruction of TurboDOS release 1.43 from its object code, with a commentary on how the system works. The errata are posted now. The reconstructed source and its tarballs will follow.

libcpmfs new

Reads and writes the files inside disk images from CP/M 2.2, CP/M 3, P2DOS and TurboDOS machines. It works from a C program, from the cpmfs command, or as an ordinary directory through the FUSE mount cpmfs-mount. It lists, copies, deletes, renames and sets attributes, and it handles all 32 user areas and exact file sizes. Its fsck checks an image and repairs it only when asked. It can make new images and convert ImageDisk (.IMD) files. It has all of TurboDOS 1.43's floppy formats built in, and also reads cpmtools diskdefs files.

turbotools

Three programs for TurboDOS object code that need no CP/M emulator: gen links a TurboDOS system as Software 2000's GEN does; disasm is a Z80 disassembler that understands relocation; and serial stamps serial numbers and absolute symbols into REL files. It needs REL_tools.

Earlier versions: turbotools-1.3, turbotools-1.2, turbotools-1.0

REL_tools

A library and eight programs for the Microsoft REL object format, which MACRO-80, LINK-80 and LIB-80 used on CP/M:

Earlier separate releases of librel, mz80 and mlink are in the archive.

Earlier versions: REL_tools-1.6, REL_tools-1.5, REL_tools-1.3, REL_tools-1.2

← all sections