This article details the process of running Zork 1, a classic text adventure game, within a CP/M environment emulated on Linux using z80pack. The choice of Zork 1 serves as a non-trivial example of a text-based program, avoiding the complexities of terminal-related issues that might arise with other applications like WordStar.
The primary motivation for this exercise is not practical gameplay, as Zork 1 is available through more modern means. Instead, the tutorial aims to provide familiarity with CP/M for those interested in retro computing, particularly for building Z80-based systems.
Zork is an early example of interactive fiction, known as a 'text adventure,' which accepts simple commands like 'take axe' or 'look at box' to solve puzzles. CP/M is an early operating system originally designed for 8080 microprocessors but gained wider use with the Z80. It was foundational for early microcomputers and influenced later operating systems like MS-DOS.
To run CP/M on Linux, using a Z80 emulator like z80pack is a straightforward approach. The article outlines how to obtain and build z80pack and its associated CP/M tools for a Linux system. This involves downloading the source code, unpacking it, and compiling the core emulator and supporting tools using provided Makefiles.
The tutorial assumes familiarity with Linux command-line tools and a basic understanding of CP/M concepts. After compilation, a basic functional test involves starting CP/M 3 within the emulated environment.
z80pack is typically not available in standard Linux repositories, requiring users to download and build it from source. The process involves unpacking the source code into a chosen directory (e.g., $HOME/lib/z80pack-1.37).
Compilation is done by navigating to the respective source directories for the core emulator (cpmsim/srcsim) and supporting tools (cpmsim/srctools) and executing 'make -f Makefile.linux' in each. A basic test of the installation involves running './cpm3' from the cpmsim directory.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
This article provides a tutorial on how to set up and use the z80pack Z80 emulator to run CP/M on a Linux system, specifically demonstrating how to execute the text adventure game Zork 1 within the emulated environment. The guide covers obtaining and building z80pack, configuring virtual disks, and launching Zork 1 from the CP/M command prompt. The primary purpose is to familiarize users with CP/M for retro computing interests rather than practical gameplay.