Show HN:我的从零开始的运行DOOM的操作系统内核
Show HN: My from-scratch OS kernel that runs DOOM

原始链接: https://github.com/UnmappedStack/TacOS

我的操作系统TacOS是一个从零开始用C语言和汇编语言编写的类Unix内核,能够运行DOOM以及其他一些较小的用户空间程序。它包含虚拟文件系统(VFS)、调度器、TempFS、设备驱动、上下文切换、虚拟内存管理、物理页面帧分配以及DOOM移植版本。它可以在真实硬件(在我的笔记本电脑上测试过)和Qemu模拟器上运行。请注意,TacOS是一个业余爱好项目,尚不完善,无法用于实际应用,并且存在多个已知的bug。要构建和运行TacOS,只需在你的shell中运行以下命令:git clone https://github.com/UnmappedStack/TacOS cd TacOS make 你需要安装Qemu、NASM和Clang。它会自动在Qemu模拟器中运行。TacOS 使用 Mozilla Public License 2.0 许可证。更多信息请参见LICENSE。

UnmappedStack 宣布了 TacOS,一个从零开始的、具有类 UNIX 概念的操作系统内核,它现在可以使用定制的 libc 运行 Doom 的修改版移植。该项目在 Hacker News 上引起了极大的关注。 该讨论线程讨论了操作系统的各个方面以及裸机编程。一些用户询问如何在他们的笔记本电脑上运行它,并寻求学习资源。另一些人则质疑使用 Doom 作为里程碑的理由,考虑到它的裸机功能。讨论涉及 GPU 驱动程序开发的挑战以及进程隔离和调度的复杂性。 评论者将 TacOS 与其他操作系统项目(如 Hurd)进行了比较,引发了关于 Hurd 当前功能的争论。“TacOS”这个名字受到了好评,并且有人建议使用相关的项目名称,例如“Burritos”。总的来说,该项目受到了热烈的欢迎,许多人赞扬了这项努力,并表达了对学习更多关于操作系统开发的兴趣。
相关文章
  • (评论) 2024-02-27
  • (评论) 2024-04-22
  • (评论) 2024-07-16
  • 折叠操作系统 2025-03-26
  • 用大约一个月的时间编写一个 Unix 克隆 2024-05-26

  • 原文

    My from-scratch OS with it's own kernel written in C and assembly

    TacOS is a UNIX-like kernel which is able to run DOOM, among various other smaller userspace programs. It has things like a VFS, scheduler, TempFS, devices, context switching, virtual memory management, physical page frame allocation, and a port of Doom. It runs both on real hardware (tested on my laptop) and in the Qemu emulator.

    A screenshot of TacOS's shell A screenshot of TacOS running DOOM

    Please note that TacOS is a hobby toy OS and is not complete enough for real usage. It has multiple known bugs.

    To build and run TacOS, simply run in your shell:

    git clone https://github.com/UnmappedStack/TacOS
    cd TacOS
    make
    

    You'll need to have Qemu, NASM, and Clang installed. It will automatically run in the Qemu emulator.

    TacOS is under the Mozilla Public License 2.0. See LICENSE for more information.

    联系我们 contact @ memedata.com