Kevin Boone has written up how to run the 1980 text adventure Zork 1 on Linux, by way of CP/M running on an emulated Z80 processor. The post is on his site, kevinboone.me.
CP/M was the operating system for early microcomputers with floppy drives, and it inspired MS-DOS. Zork was picked for the example because it’s a real program that only uses plain text in and out, so it avoids the terminal problems that screen-based software like WordStar brings.
The emulator is z80pack , built from source. Disk images are handled with cpmtools , which lists the contents of CP/M disk images and copies files in and out. The emulator looks for images in a disks directory and supports four floppy drives plus two hard disks. Booting CP/M 3 takes one image for drive A:, and the write-up also covers making a 4MB hard disk image.
The CP/M build of Zork 1 is two files, ZORK1.COM and the z-machine data file ZORK1.DAT, copied into the same image.…