Os8088:一款为 IBM XT、286 和 386 设计的强大类 Mac 操作系统
Os8088: A powerful Mac-like OS for the IBM XT, 286, 386

原始链接: https://os8088.com/

os8088 从软盘的第一个扇区引导进入图形化桌面。其底层没有 DOS,也不包含任何命令行——512 字节的引导扇区会加载 40KB 的内核,内核识别机器的显示适配器并将其切换为图形模式,借用显卡自带的 8x8 字符集,并显示菜单栏。此后的所有界面都是你记忆中 1984 年 Macintosh 的样子:通过标题栏拖动窗口时会显示虚线框,菜单支持下拉和拖拽选择,包含关闭和最小化按钮,每个软驱都有对应的图标,底部停靠栏显示当前运行的程序。程序从第二张软盘加载,作为一等应用多任务运行。整个系统在 Intel 8086 或 8088(原版 IBM PC 和 PC/XT 的处理器)上只需 256K 内存。这是一个业余项目,其完成度已足以使用,源代码共 66,183 行 NASM 汇编,一个下午即可读完。

**Os8088** 是一个业余爱好项目,旨在利用 8086/8088 汇编语言,为传统的 IBM XT 级硬件重现一个类似“Mac 风格”的图形化操作系统。该系统由用户 *jggonz* 开发,具备抢占式多任务处理、图形用户界面(GUI)功能,并支持包括声霸卡(Sound Blaster)和软盘驱动器在内的真实硬件。 该项目在 Hacker News 上引发了关于人工智能在软件开发中作用的激烈辩论。尽管开发者最初因称项目为“纯手工编写”(后更正为“AI 辅助”)而受到批评,但支持者认为,人工智能使复杂的底层编程大众化,让爱好者仅需数天时间就能完成过去数月的工作。而批评者则认为,使用大语言模型生成代码和文档缺乏传统工艺的“魔力”,产生的“肤浅”成果削弱了智力劳动的价值。 尽管存在争议,该操作系统在与时代相符的硬件上确实能够运行,并作为一种现代实践,重现了 20 世纪 80 年代的系统架构风格。开发者坚持认为,该项目旨在娱乐和教育探索,而非用于商业实践;而另一些人则将其视为人工智能如何助力复兴和探索已过时计算历史的一个引人注目的例证。
相关文章

原文

os8088 boots from the first sector of a floppy into a graphical desktop. There is no DOS underneath it and no command line anywhere in it -- the 512-byte boot sector loads a 40KB kernel, the kernel works out which display adapter the machine has and switches it into graphics, borrows the video card's own 8x8 character set, and puts up a menu bar.

Everything after that is the interface you remember from a 1984 Macintosh: windows you drag by the title bar with a rubber-band outline, menus you pull down and drag through, a close box and a minimize box, icons for each floppy drive, and a dock along the bottom with one tile per running program. Programs load from a second floppy and run as first-class applications, several at a time.

The whole thing fits in 256K of RAM on an Intel 8086 or 8088 -- the processor in the original IBM PC and PC/XT. It is a hobby project, it is finished enough to use, and the source is 66,183 lines of NASM you can read in an afternoon.

联系我们 contact @ memedata.com