Infocom's own Unix z-code terp running

Had some fun today getting the Unix terp (phg_zip.c) working.
z3 only, but it was still satisfying to see it in action.

Here it is running in Windows 11 PowerShell and Ubuntu

14 Likes

I compiled this against Cosmopolitan Libc, so this executable runs on a bunch of systems, not just Windows and its cousins (WSL).

I’ll prefer compiling against standard GNU glibc, I dislike binaries containing references to closed-source libraries, albeit unused (this (unused code) alone is not precisely good coding…)

Best regards from Italy,
dott. Piergiorgio.

Anyway, looking at that overlooked code in my if/terp/INFOCOM; for sure is full of archaisms (but surprisingly, don’t use gets…), kudos for the modernisation work !

Best regards from Italy,
dott. Piergiorgio.

Cosmopolitan libc is MIT-licensed (technically ISC but that’s isomorphic). Infocom’s source code is the part that isn’t!

1 Like

Exactly!
(:crossed_fingers: come on MS, throw us a bone!)

Yeah, that’s not likely.