15

I have a few old programs/games which I'd like to run today. As there is Wine for running Windows programs, I wondered if there is a compatibility layer for CP/M. Obviously it would need to implement some kind of Z80 emulation too. Output would ideally be to the console so something like a ZX Spectrum emulator is not what I'm looking for.

I have a computer running a recent Linux. Happy to compile the thing myself if need be.

Omar and Lorraine
  • 38,883
  • 14
  • 134
  • 274

4 Answers4

13

jhallen/cpm is pretty close to a compatibility layer via emulation. It runs in a terminal and maps the current CP/M drive to the current Linux directory.

scruss
  • 21,585
  • 1
  • 45
  • 113
10

There are numerous Z80 simulators out there. The Z80 simulator community is robust and mature.

Z80Pack is a solid first one stop shopping place to get started, but there are lots of others.

Will Hartung
  • 12,276
  • 1
  • 27
  • 53
6

You can take a look at my project RunCPM. Just go to https://github.com/MockbaTheBorg/RunCPM It builds on Windows, Linux, Mac, Arduino (DUE), etc. It doesn't require a disk image, keeping all the files on the host operating system filesystem, which makes things easier, I believe. Feel free to give it a try. I would love to hear back with test results.

5

Because you're running code for a different CPU family (8080/Z80) as opposed to running code compatible with the CPU you are actually running, a compatibility layer will not do. You need to emulate.

Depending on your primary operating system, there are several different CP/M emulators available. This answer on another Stack site discusses a good choice if you want to run under Linux, for example.

Jim MacKenzie
  • 1,632
  • 1
  • 12
  • 31