gitmyhub

flash-linux0.11-talk

HTML ★ 22k updated 1y ago

你管这破玩意叫操作系统源码 — 像小说一样品读 Linux 0.11 核心代码

A story-like walkthrough of Linux 0.11 kernel source code, breaking down how an early operating system boots, manages memory, schedules processes, and runs programs.

Linux 0.11CAssemblyHTMLsetup: moderatecomplexity 4/5

flash-linux0.11-talk is a Chinese-language learning project that walks readers through the source code of Linux 0.11, the early version of the Linux kernel, in the style of reading a novel. Its stated goal is to help people "chew through" the core code of Linux 0.11 together with the design ideas behind operating systems, instead of treating the kernel as a black box.

The repository itself is not a piece of software you run; it is essentially a long table of contents. Each chapter links out to a separately published article (hosted on WeChat) by the author, who also publishes the same series on Bilibili and on a WeChat public account. The chapters are grouped into parts that follow the kernel's own startup path: a first part covering the work before entering the kernel (the first lines of code, moving the system into protected mode, setting up the IDT and GDT, segmentation and paging, and the final jump into the main function), a second part on initialization (memory, interrupts, block devices, the console, the clock, the scheduler, buffers, the hard disk), a third on the birth of a new process and how fork works, a fourth on the arrival of the shell program, and a fifth that traces what happens when a single command is executed. The series has also been collected into a printed book called "Linux 源码趣读."

You would use this project if you are a programmer or computer-science student who wants to understand how a real, small, complete operating system actually starts up and runs, and you prefer a guided, story-like walkthrough of the source code rather than a textbook. The repository is plain HTML and Markdown around external article links.

Where it fits