Wednesday, November 12, 2014

I just wrote this small application which works as a framework to execute old 8bit Z80 applications on Windows machines.
The objective is to allow old Z80-CP/M 2.2 based application to run on up-to-date environments like Windows 7 or Windows 8.1.

Most of the CP/M emulators I was finding online were compatible only with MS-DOS, or would require the files to be loaded onto clumsy disk images before running.

This one runs the CP/M 2.2 applications directly from their Windows folders, which is seen as "Drive A:" by the running application.

The application doesn't implement console compatibility, so, unfortunately, it won't be able to accurately run Wordstar for example..

So far I am able to run UCD Mumps and multiple versions of Basic 80, and some other applications will load but crash due to some missing BDOS/BIOS functionality.

The code is all standard C, so it should be easily modified to compile on Linux, OSX and other environments.

Anyone interested on the source code and on helping with the project, please feel free to contact me.

I will be keeping the source code updated at



  1. Good job Marcelo!

    I'm a proud user of an Amstrad PCW and a fan of CP/M.

    In fact, I was trying to find a good CP/M emulator for my new Windows 8 machine.

  2. Hi there.

    I never used an Amstrad myself, but had a lot of fun running CP/M on AppleII and TRS-80 clones.
    The emulator I used when writing my code is Z80emu ( It allowed me to run the apps and examine memory, serving as reference to build mine.
    This one runs nicely on Windows 8.1, but still require you to build disk images.
    Mine doesn't, you can just copy your .COM files to a folder a run "RunCPM .COM" ... it will load the CP/M executable and present it with an emulated "Drive A" which is in fact the folder itself.
    This way your CP/M application can read/write files directly from/to the folder, thinking it is drive A:

    The advantage is that you don't need to build disk images, and your files are readily available as you create them.
    Of course only applications that behave correctly using the BDOS and BIOS will be able to work, so it is not guaranteed that you can use every single CP/M app you have.