Playing Zork 1 on a CP/M emulator on Linux (2021)
Hacker News 热议:Playing Zork 1 on a CP/M emulator on Linux (2021)(20 赞 / 11 评论,来源 kevinboone.me)
一句话概要
In the last few years there has been a revival of interest in 8-bit microcomputers from the 70s and 80s. Many of these were based on the Zilog Z80, and many ran CP/M. This article about getting started with CP/M using an emulator on Linux.
原文开头节选
This article is about using the z80pack Z80 emulator to run CP/M on Linux, and then using the CP/M implementation to run Zork 1. I’ve chosen Zork 1 for this example because it’s a non-trivial program that, nonetheless, uses only plain text input and output. Running something like WordStar might be more illustrative, but it raises terminal-related problems that I don’t want to get into in this simple example. However, I will discuss this subject at the end of the article.
Zork is an early example of what these days is called “interactive fiction”, but was know as a “text adventure” back in the days when all computing was text-based. Zork accepts simple instructions like “take axe” and “look at box” as input to what is essentially a puzzle-solving exercise. CP/M is an early operating system, originally for microcomputers with floppy drives, but eventually for early hard drives. Almost nobody under the age of 50 remembers using CP/M when it was the latest and greatest, but its legacy lives on in MS-DOS, which it inspired.
(以上为原文节选,完整内容见下方”原文来源”)
这条动态今日登上 Hacker News 首页(20 赞 / 11 评论,来源 kevinboone.me)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。
原文来源: Hacker News