View Full Version : Looking for a z machine interpreter for cp/m

January 1st, 2011, 04:59 AM
Hi I'm trying to track down a z machine interpreter for cp/m. Can anyone help, I believe there was an Infocom one but I can't seem to find a copy?


January 1st, 2011, 08:37 AM
Infocom games usually came as a pair of files, for example ZORK1.COM and ZORK1.DAT
The .COM file is the interpreter and the .DAT contains the Z-code data.

Without getting into nuances such as the different version of Z-machine,
one can generally just substitute a different data file to play a different game.
As for finding the files, suffice it to say, if you look, they're out there.


"You owe the Oracle a credit in your Retrochallenge entry."

January 1st, 2011, 03:15 PM
Thanks Andy, I have the Zork series for CP/M and each game does indeed consist of a .com and .dat file. So for instance the zork1.com file is the interpreter, I've had it all along, what a dufus? Am I write in thinking the interpreter needs .z3 files?


January 7th, 2011, 02:43 PM
Actaully this is a thing I still have to try ( I did not think at that simple solution ) in fact I did try to hack ZORK1 ( CPM ) to find out where it was loading the .dat and was thinking to just change the filename in there and see what happens.

As for the files .. well .. they are around .. you could find them all in a collection called "The Lost Treasures of Infocom" that can't remember where it was on sale.

Some of the last stuff anyway could contain an updated version of the Z-machine, I know that looking around there has to be various implementations ( in C ) of the Z-machine but I wonder if one could really manage to compile one of those using Hitec-C or so on a real CP/M machine ..

February 15th, 2011, 06:49 PM
Charlie, I guess you're too humble to post here so let me just say congratulations.

I'm playing the game and have made limited progress.
Don't know if I'm justing fighting the parser now.


March 19th, 2011, 08:11 AM
Thanks Andy, I've been busy with all sorts of stuff and simply hadn't checked back here.

I hope you didn't get too frustrated, if you're still stuck let me know.


April 11th, 2011, 02:49 AM
Just for interest there is another CP/M interpreter just called RUN.COM and will play any .z3 file simply by just typing, for example, RUN ZORK1. I have 20+ Infocom games running under CP/M on my Microbee this way.

But whats really needed is a CP/M .z5 interpreter, then the list of adventures that can be played would be almost endless.