Emulating a Z80 and CP/M on Ubuntu Linux

Here is how to emulate a Z-80 processor running CP/M on Ubuntu Linux.

This method is very easy and achieves an excellent, easy to use and understand system. Essentially, the trick is to use a DOS-based emulator that works really well in a DOS emulator under Linux. I haven’t found a good Z80 emulator that runs directory under Linux.

To begin though, a mystery must be told. There, apparently was a fellow named Simon Cran in Australia who wrote a lovely CP/M Z-80 emulator for DOS. If you Google his name and “CPM” you can delve into the mysterious Simon Cran who created MyZ80 as shareware in the early nineties and then, seemingly vanished into ‘net anonymity.

I found that MyZ80 works well run in the dosemu DOS Emulator on Linux. I used to use this setup when I used Suse and it also works well on Ubuntu.

Install DOS Emulator

Install DOS Emulator:

sudo aptitude install dosemu

On my system dosemu has the equivalent of a DOS C: drive inside ~/.dosemu/drive_c/.

I have DOS in a Box installed as well as dosemu. When I run dosemu, it opens this window…seems to work fine.

Install MyZ80

Download MyZ80 from http://www.gaby.de/edownl.htm and unzip it into ~/.dosemu/drive_c/myz80/ – as illustrated, above. An easy way to do this is to plop the ZIP into ~/.dosemu/drive_c/ and then right-click myz80.zip and select Extract here.

Run MyZ80

In a Terminal, run:


Then run MyZ80:

cd myz80

You will be greeted with this friendly text:

A couple of return key presses will then show how to import and export data into the files that Simon Cran uses for the CP/M drives:

The command to exit MyZ80 is exit. The command to exit dosemu is exitemu.

I have run Wordstar and Turbo Pascal using MyZ80, re-living my experience with my Kaypro 10…a machine I miss very much!

Some useful links


Have fun!

Be Sociable, Share!

2 thoughts on “Emulating a Z80 and CP/M on Ubuntu Linux

  1. MyZ80 has, in my opinion, always been the best and most sophisticated of the CP/M emulators. Of course, to call it a CP/M emulator does it a bit of a disservice. It’s really a 280 emulator (the most complete and faithful Z80 emulator available) on which you can load and run any z80-compatible OS (CP/M3, ZP/M, ZS-DOS, . My favorite of the CP/M derivatives was NZCOM, the autoloading, modular CP/M, with advanced features MS-DOS never achieved.

Comments are closed.