30 Days make OS
Free-> [YOS](https://github.com/yourtion/YOS) @[Yannik](https://yannik520.github.io/)
FreeFree tier
About 30 Days make OS
30天自制操作系统 (30 Days to Make an Operating System) is a Chinese translation and source code implementation of the book '30天自制操作系统' (also known as OSASK). This open-source project provides a complete, day-by-day guide to building an operating system from scratch, covering topics such as assembly language, C programming, bootloaders, memory management, multitasking, and GUI development. The repository includes thoroughly annotated source code, a tool set (tolset), and supports emulation via QEMU. It is designed for learners and hobbyists who want to understand OS internals through hands-on practice.
Key Features
Complete source code for a 30-day operating system development course
Chinese annotations and comments throughout the code
Includes a tool set (tolset) for building and running the OS
Supports QEMU emulation for testing without physical hardware
Covers both assembly language and C programming
Topics include bootloader, GDT/IDT, memory management, multitasking, windowing, and API
30 releases corresponding to each day's progress
Open-source with permissive license
Pros & Cons
Pros
- Structured day-by-day progression makes complex topics approachable
- Chinese annotations help Chinese-speaking learners understand code
- Includes a working tool set and emulation environment
- Covers both theoretical and practical aspects of OS construction
- Large community with 6.4k stars and active releases
Cons
- Comments and documentation are primarily in Chinese, limiting accessibility for non-Chinese speakers
- Last release was in 2016, so some tools or techniques may be outdated
- Requires prior knowledge of assembly and C programming
- May not cover modern hardware features like UEFI or 64-bit mode
Best For
Learning operating system development from basics to advanced conceptsTeaching OS design in educational settings (Chinese-language)Hobbyist OS development reference and experimentationUnderstanding low-level hardware interaction and system programming
FAQ
What is 30天自制操作系统?
It is the Chinese source code and translation of the book '30 Days to Make an Operating System', providing a step-by-step implementation of a simple OS called OSASK.
How do I run the code?
Copy the code into the 'run' folder within the tolset directory, then run the appropriate batch file (e.g., !cons_**.bat) for your system. Usually 'make run' is used, or 'make run_full' from day 27 onward.
What tools are needed?
The repository includes a tool set (tolset) with compilers and utilities. For emulation, QEMU is used. The code can be built on Windows, Linux, or macOS.
Is this project still active?
The last release was in 2016, but the repository is archived and no longer actively maintained. However, the source code remains a valuable learning resource.