百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

TacOS

> 编程语言
开源

我从头开始构建的 x86_64 UNIX 类型操作系统的镜像。

399 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

我从头开始构建的 x86_64 UNIX 类型操作系统的镜像。

TacOS

My from-scratch OS with its 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.

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

I have a Discord server for TacOS where I will share most updates, and you can also get help with your own OSDev project or just have a chat. You can join here.

Quickstart

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

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

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

The build system has a few primary commands which you can use:

  • make run: Builds TacOS and runs it in Qemu
  • make qemu: Runs TacOS in Qemu, assuming it's already built (see below command)
  • make disk: Builds the full disk image of TacOS as tacos.iso
  • make kernel: Builds the TacOS kernel, the core of the system
  • make libc: Build the standard library
  • make userspace: Builds the userspace applications
  • make initrd: Creates the initial ramdisk that the system will boot from
  • make lint: Runs linter rules on the kernel
  • make qemu-gdb: Runs TacOS in Qemu with GDB attached (see below)

Debugging TacOS

To attach GDB when testing TacOS, run make qemu-gdb, then in another terminal, run the following:

$ gdb -q
(gdb) target remote :1234
Remote debugging using :1234
warning: No executable has been specified and target does not support
determining executable automatically.  Try using the "file" command.
0x000000000000fff0 in ?? ()
(gdb) file kernel/bin/tacos # if you're debugging the kernel
(gdb) file initrd/usr/bin/ # if you're debugging a userspace program
(gdb) continue

License & Contributions

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

I'm open to contributions, however I have some simple ground rules and conventions:

  • Please open an issue before opening a pull request, and wait for me to assign you the change.
  • I will not merge any pull requests with a simple typo or grammar mistake! Open an issue if it is a problem.
  • Commit messages should be in the following format: [component] change, where component is the general area of the project you have changed.
  • Break down your commits and pull requests. I will not even bother reviewing a huge pull request with one single massive commit with thousands of lines changed in completely unrelated components.

Issues· 4 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言