####### ##### ### ##### ### # # # # # # # # # # ## ## # # # # # # # # # # # # ##### # # ##### ##### # # # # # # # # # # # # # # # # # # # # # # # ####### ##### ### ##### ### # #
Introduction:z80pack is a Z80 cross development package for UNIX and Windows systems distributed with all sources under a BSD style license. Included are:
So instead an emulation of a virtual complete computer system capable of runnning CP/M 1, CP/M 2, CP/M 3 and MP/M 2 has been build, as an example for what can be done with this software. The Z80 cross assembler was used to bootstrap CP/M 2.2 on the system, for CP/M 3 and MP/M 2 the loader BIOS's were written on an UNIX host, final work then was done under CP/M 2.2 running on the emulated system.
This virtual computer system has been used then to rebuild CP/M 1, CP/M 2, CP/M 3 and MP/M 2 completely from the sources. Also example implementations of CP/NET have been build, to network the virtual systems with this very early form of RPC (remote procedure calls). Additional disk images with all sources, tools and build scripts are available for download.
The system also runs the UCSD p-System Versions I.4, I.5, II.0 and IV.0. Disk images for a ready-to-run system as well as sources to rebuild the Z80 version are available in the download section.
Features of this virtual cpmsim computer system:
The Z80 core then was used together with John Kichury's front panel library, to build exact emulations of the Altair 8800 and IMSA 8080 computer systems, that can be fully operated via the front panel identical to the original machines. The IMSAI 3D computer model build by John is really stunning, see the screenshots at the link below.
For seeing the machinery in action here are some screenshots showing the emulated systems.
The Z80 and I/O emulations are written in ANSI C, the front panel emulation in C++, for POSIX compatible Open Systems. Systems on which the sources are known to compile without any changes are:
Other native ports to Microsoft Windows have been done, links are in the download section.
Home page of Digital Research where everything began.
All Digital Research CP/M material included was taken from
The Unofficial CP/M Web site,
the license for this material can be read there.
Other commercial CP/M material included was taken from CP/M Commercial Software Archive.
Some user written tools were taken from the Oak CP/M archive.
Various programs from the Walnut Creek CP/M CD-ROM have been used too, an online copy is available here.
The UCSD p-System on 8" disk images is available at Bitsavers.
For documentation and software of the old machines you should visit Bitsavers anyway.
Quickstart to run the Digital Research OS's:
diskdef ibm-3740 seclen 128 tracks 77 sectrk 26 blocksize 1024 maxdir 64 skew 6 boottrk 2 os p2dos endPlease note that the data tracks have a skew of 6, but the system tracks have a skew of 1, because I never implemented skews in the UNIX putsys programs. Using the correct skew made sense with Shugart floppy disk drives from 1976. Nowadays with SSD's used in personal computers transferring 500 MB/s and more the skew is only used for compatibility reasons.
To access the 4 MB harddisk image of z80pack verify the following disk
definition in /usr/local/share/diskdefs:
diskdef z80pack-hd seclen 128 tracks 255 sectrk 128 blocksize 2048 maxdir 1024 skew 0 boottrk 0 os 2.2 endTo access the 512 MB harddisk image verify this disk definition in /usr/local/share/diskdefs:
diskdef z80pack-hdb seclen 128 tracks 256 sectrk 16384 blocksize 16384 maxdir 8192 skew 0 boottrk 0 os 2.2 endThis definitions are included nowadys, if they are missing you need to add them. To access the 4 MB harddisk image (drives I: and J:) from the UNIX host always use the option -f z80pack-hd as in this example: cpmls -f z80pack-hd disks/drivei.cpm. Do not forget to use it, specially when copying files to the disk, without this option the harddisk image will be destroyed. You did make backups of the disks, did you?
Same with the 512 MB drive P:, always use the option -f z80pack-hdb to access this drive file.
Quickstart to run UCSD p-System:
|UNIX host programs|
|Z80 CPU simulation, Z80 cross assembler, CP/M system simulation including boot disk images with CP/M 2.2, CP/M 3, MP/M 2 and a harddisk image with many CP/M tools, language compilers etc., simulations of the Altair and IMSAI systems||Download|
|UNIX tools to access CP/M disk images, highly recommended||Link|
|UNIX tools to access UCSD p-System disk images, highly recommended||Link|
|Intel PL/M-80 Cross Compiler 2.0 setup for UNIX systems. Requires GNU Fortran 77 (f77) or GNU Fortran 95 (gfortran) compiler||Download|
|The Intel 8080 Macro Assembler Version 3.0 Fortran sources were recovered from an old Mainframe computer. I have ported the software to UNIX systems with GNU Fortran 77 (f77) or GNU Fortran 95 (gfortran) compiler.|
|The Intel Software Simulation of the MCS-8 8080 CPU and Memory Version 2.2 sources were recovered from an old Mainframe computer. I have ported the software to UNIX systems with GNU Fortran 77 (f77) or GNU Fortran 95 (gfortran) compiler.|
|Microsoft Windows host programs|
|Ready to run binary distribution of the Altair and IMSAI emulations, runs under Windows XP and later, and doesn't require any UNIX knowledge. This Windows package is based on the Windows port of the frontpanel library, which was contributed by Stefano Bodrato. The package includes bootable CP/M disk images for both machines.||Download|
|Roger Ivie's Windows 2K port of z80pack||Link|
|Disk images with Digital Research OS sources|
|CP/M 2.0 source disk images with build scripts to build a bootable disk||Download|
|CP/M 2.2 source disk images with build scripts to build a bootable disk||Download|
|Contents of the above disk images in a zip archive as requested||Download|
|CP/M 2.2 source disk image with some of the official Digital Research patches applied to the sources. This download contains the harddisk image and shell script for Z80SIM to mount disks. The original source images need to be installed first to get the tool disks too.||Download|
|All the sources from the disk image above in a zip archive||Download|
|CP/M 3 source disk images with build scripts||Download|
|All the files from the disk images above in a zip archive||Download|
|MP/M 2 source disk images with build scripts||Download|
|All the files from the disk images above in a zip archive||Download|
|Bootable disk images with Digital Research CP/NET client and server|
|Disk images with pre-configured CP/NET 1.1 MP/M server including customized sources||Download|
|Disk images with pre-configured CP/NET 1.1 CP/M 2.2 client including customized sources||Download|
|Disk images with pre-configured CP/NET 1.2 MP/M server including customized sources||Download|
|Disk images with pre-configured CP/NET 1.2 CP/M 2.2 client including customized sources||Download|
|Bootable disk images with older Digital Research CP/M versions|
|Bootable disk image with the 1975 CP/M version, sources see below||Download|
|Bootable disk image with CP/M 1.3, includes boot loader and BIOS sources||Download|
|Bootable disk image with CP/M 1.4, includes boot loader and BIOS sources||Download|
|Zip archive with the files from above CP/M 1.4 disk image. Please note, that the files BYE.COM (leaves Z80 CP/M emulation) and CLS.COM (clear screen of ANSI terminals), were added by me and are not part of a DRI CP/M distribution.||Download|
|Disk images with UCSD p-System for Z80|
|CP/M 2.2 disk image with all sources required to build a boot record for UCSD p-System I.4, I.5 and II.0. Do not use this for IV.0.||Download|
|Disk image with the UCSD p-System I.4 Z80 system disk, ready to boot under cpmsim. The boot code build with the disk above is written to system disk 1 already. The system is pre-configured to work with VT-100 and ANSI compatible terminals||Download|
|Two disk images with the UCSD p-System I.5 Z80 system disks, ready to boot under cpmsim. The boot code build with the disk above is written to system disk 1 already. The system is pre-configured to work with VT-100 and ANSI compatible terminals||Download|
|Two disk images with the UCSD p-System II.0 Z80 system disks, ready to boot under cpmsim. The boot code build with the disk above is written to system disk 1 already. The system is pre-configured to work with VT-100 and ANSI compatible terminals||Download|
|Two disk images with the UCSD p-System IV.0 Z80 system disks, ready to boot under cpmsim. The system is pre-configured to work with VT-100 and ANSI compatible terminals||Download|
|8" disk images with UCSD p-System I.5 for Z80, this disks have been used to build the system for Z80SIM.||Download|
|Disk image with the modified I.5 p-code interpreter sources, used to build the system disks for z80pack||Download|
|8" disk images with UCSD p-System II.0 for Z80, this disks have been used to build the system for Z80SIM. Please note that the disk images U132.A_PASCAL_COMPILER_SOURCE.raw and U128_L2_YALOE_SOURCE.raw at bitsavers are incomplete. This archive includes repaired images.||Download|
|Disk image with the modified II.0 p-code interpreter sources, used to build the system disks for z80pack||Download|
|Disk image with the linkable IV.0 p-code interpreter objects, used to build the system disks for z80pack||Download|
|Other 8080/Z80 operating systems|
|CP/M 2.2 with ZCPR1 replacement for CCP, includes all sources and documentation||Download|
|CP/M 2.2 with ZSDOS/ZCPR1 replacement for BDOS/CCP, inludes ZSDOS source and documentation. Build based on disk above.||Download|
|Pre-configured NZ-COM Z-System with ZSDOS/ZCPR3.4 for CP/M 2.2, includes documentation||Download|
|CP/M 2.2 with Z80CCP replacement for CCP, includes source||Download|
|QP/M, a Z80 CP/M 2.2 clone with advanced features, BIOS with clock support available here||Link|
|QP/M disk ready to boot, for those who don't wish to build themself||Download|
|DOS+, a Z80 CP/M 2.2 clone with advanced features, BIOS with clock support available here||Link|
|DOS+ disk ready to boot, for those who don't wish to build themself||Download|
|Harddisk image with pre-installed ConIX shareware system for CP/M 2.2||Download|
|Disk image with MicroShell, UNIX shell features for CP/M. A PDF manual is available too below under Documentation.||Download|
|Harddisk image with Microtools and other UNIX-like utilities for CP/M. A PDF manual is available too below.||Download|
|Disk images with CP/M application software|
|Disk image with Word-Master 1.07 original files, as well as assembler patch sources for various terminals. Includes patch source for ANSI terminal that I am using and documentation also is available below.||Download|
|Disk image with Vedit 1.34. Includes configured binary for usage with ANSI terminal and a keymap that allows to use the cursor keys. All documentation is included on the disk.||Download|
|Disk images with more complete ISIS tools and submit script to compile PL/M programs||Download|
|Harddisk image with Gordon Eubanks BASIC-E compiler sources, build scripts and BASIC example programs. Requires ISIS tools to build from sources, precompiled executables included.||Download|
|Disk image with LLL Basic interpreter, published by Dr. Dobbs 1977. Disk includes sources, executable and example program.||Download|
|Disk image with ALGOL-M compiler for CP/M written by Gary Kildalls students at Naval Postgraduate School||Download|
|Disk image with John A. Starkweathers 8080 Pilot interpreter, published by Dr. Dobbs 1977, adapted to CP/M. Disk includes sources, executable and example program.||Download|
|Disk image with Comal-80 Rev. 2.10 for CP/M, preconfigured for VT-100/ANSI terminals||Download|
|Disk image with Z80MR, a Public Domain Z80 macro assembler for CP/M||Download|
|Disk images with figFORTH 1.1 and 1.3 for 8080 and screens with editor and 8080 assembler. The sources are a little bit modified, original sources see below.||Download|
|Harddisk image with CP/M FORTH implementations using the filesystem as block device. A readme file in user area 0 lists which FORTH systems are in the various user areas.||Download|
|Disk image with Turbo Pascal 3.01A pre-configured for ANSI terminal emulations||Download|
|Disk image with Q/C C compiler version 3.1a for Z80||Download|
|Disk image with C/80 C compiler version 3.1 for 8080||Download|
|Harddisk image with Z80 Hitech-C compiler V3.09 for CP/M. The compiler is configured to be used from harddisk J: and an additional make utility for CP/M 3 with example is included also.||Download|
|Disk image with Microsoft Fortran-80 compiler version 3.44||Download|
|Harddisk image with Kermit 4.11 build for Z80SIM TCP/IP UART||Download|
|Harddisk image with CP/M 3 system extensions like multiline command history.The disk includes all sources as the RSX's as well, this software requires CP/M 3.||Download|
|Harddisk image with the CP/M help system based on help version 2.0. The help program is configured to use drive J: as default. Help files for frequently used programs are included, as well as the source for the help program.||Download|
|Disk image with Colossal Cave adventure, version A02, 350 points||Download|
|Disk image with Colossal Cave adventure, version B00, 550 points. Requires Z80 CPU.||Download|
|Disk image with Colossal Cave adventure, version B01, 550 points. Identical with B00 but runs on the 8080 CPU.||Download|
|Disk image with Colossal Cave adventure, version B03, 580 points||Download|
|Disk image with games Rogue 1.7 and Wanderer 2.2. The disk includes QTERM patch source for the VT-100 terminal and patched executables to run with VT-100 or other ANSI compatible terminals.||Download|
|Disk images with UCSD p-System application software|
|Two disk images with sources and ready to run program of Colossal Cave adventure, 500 points. Compiled and tested with II.0.||Download|
|Disk image with Startrek game. Some procedure is to large for the I.5 and II.0 compiler, so compiled and tested with IV.0.||Download|
|Disk image with games Blackjack, Othello and Chase. Compiled and tested with II.0.||Download|
|Two disk images with sources, documentation and compiled programs (II.0 was used) of Prof. Ken Bowles Database Homework Project. This partially completed database starter project shows, how the p-System was used in the 80's at UCSD, to teach students the fine art of computer programming.||Download|
|Software and Operation Manuals for front panel machines|
|Manuals and software for the Altair 8800 computer system||Download|
|Manuals and software for the IMSAI 8080 computer system||Download|
|Source files with tools and examples for various programming languages|
|CP/M utilities written in PL/M-80 for the Intel PL/M-80 cross compiler||Download|
|PASCAL examples for playing with UCSD Pascal||Download|
|PASCAL examples for playing with Turbo Pascal||Download|
|BASIC sources for BASIC-E compiler||Download|
|Other sources||The 1975 CP/M sources found on CPMUG disk Vol 5. Original sources from the disk, as well as overworked versions to be used on Z80SIM.||Download|
|8080 figFORTH 1.1 original source||Download|
8080 figFORTH 1.3 original source
(the block management for block size 1024 is broken, I doubt that this is an original F.I.G release)
|CP/M simulator related documentation|
|Understanding disk images for the CP/M emulation||Read|
|The printer device under CP/M emulation||Read|
|The auxiliary device under CP/M emulation||Read|
|Recompiling CP/M 2.0 from the sources||Read|
|Recompiling CP/M 2.2 from the sources||Read|
|Recompiling CP/M 3 from the sources||Read|
|Recompiling MP/M 2 from the sources||Read|
|Using the ISIS environment under CP/M 2.2||Read|
|Using CP/NET with Z80SIM||Read|
|The UCSD p-System for Z80SIM||Read|
|Z80 simulator related documentation|
|Installation and Test||Read|
|Z80 cross assembler related documentation|
|Installation and Test||Read|
|Digital Research Documentation|
|CP/M 2.2 Operating System Manual||Read||CP/NET Network Operating System Reference Manual||Read|
|Link-80 Operator's Guide||Read|
|UCSD p-System Documentation|
|UCSD Pascal System I.4 Manual (PDF)||Read|
|UCSD Pascal System I.5 Manual (PDF)||Read|
UCSD Pascal System II.0 User's Manual (PDF)
Also check Bitsavers for more manuals.
|Adaptable p-System IV Installation Guide (PDF)||Read|
|PL/M-80 Language Summary||Read|
|PL/M-80 Programming Manual for the ISIS system (PDF)||Read|
|ISIS-II User's Guide (PDF)||Read|
|ISIS Internals, a collection of computer magazine articles and notes about the inner workings of the ISIS system (PDF)||Read|
|Manuals for MicroPro Word-Master (PDF)||Read|
|figFORTH release 1.1 for 8080 Assembly Source Listing (PDF)||Read|
|figFORTH Installation Manual||Read|
|Q/C Users's Manual, Version 3.2 (PDF)||Read|
|Microshell, UNIX Features for CP/M, User's Manual Version 2.0 (PDF)||Read|
|Microshell Newsletter, usage hints and patches for problems (PDF)||Read|
|Microtools, UNIX-like utilities for CP/M, User's Manual (PDF)||Read|
Support:This is an Open Source spare time project and there is no official support. If you can't help your self, a good place to discuss technical issues or ask about help is Usenet newsgroup comp.os.cpm.
Copyright, License and all that stuff:I often get asked: may I do ... with Z80SIM?
Bibliography:I still have Z80 data sheets from Zilog, Mostek and Hitachi and I also still have my CP/M 2, CP/M 3 and MP/M manuals and a bunch of other related books. All this material was used as reference to write this software. Unfortunately all this manuals are out of print, so it won't help anyone to reference it here. Instead I'm trying to provide links to online documentations, which will help you understanding this software.
Other Z80 hardware and software related links:News & Pointers: S-100, CP/M and related sites
Links to informations about the UCSD p-System:UCSD Pascal Wikipedia
Some other projects based on z80pack:iPhone Z80 Engine
Some other UNIX Z80 emulations:YAZE-AG - Yet Another Z80 Emulator by AG
Some links to informations about the Altair 8800:The Virtual Altair Museum
Some links to informations about the IMSAI 8080:The Official IMSAI Web Site