←back to thread

156 points ChristopherDrum | 1 comments | | HN request time: 0s | source

I recently brought Infocom's original UNIX z-machine source code back to life on modern systems. The modified source code, instructions on usage, a build of the z-machine, and examples of embedded game executables are available.

There is also a detailed write-up about the state of the original source code, the porting process, and the invaluable role Justine Tunney's Cosmpolitan project played in bringing the Zork trilogy (and more) to Windows/Mac/Linux/bsd for arm/x86 machines over the course of a lazy Sunday.

Show context
gamache ◴[] No.43681625[source]
Cool project! But one nitpick.

K&R C has no concept of THEN. That's a peculiarity of the ZIP source code, defined as a pure no-op:

    #define THEN
https://github.com/ChristopherDrum/pez/blob/main/zip/infocom...
replies(2): >>43684674 #>>43687131 #
1. pcwalton ◴[] No.43684674[source]
It's Bournegol [1]!

[1]: https://oldhome.schmorp.de/marc/bournegol.html