egos-2000
A teaching operating system written in exactly 2000 lines of code so students can read all of it. It runs on QEMU and RISC-V boards and comes with course projects.
Share on XCustom license (see repository)
Overview
egos-2000 is a teaching operating system written in exactly 2000 lines of code, so a student can read every line. It covers the parts an educational OS needs and runs on QEMU and on RISC-V boards. Its name comes from a three-layer design of earth, grass and application layers. The EGOS book provides 9 course projects built on the code, making it suitable for operating systems courses.
Key features
- Complete teaching OS in exactly 2000 lines, mostly C
- Runs on QEMU and RISC-V boards
- Earth layer handles hardware, grass layer handles processes and system calls
- Application layer holds the file system, shell and user programs
- EGOS book supplies 9 course projects
Best for
Students and instructors who want an operating system small enough to read in full and to use in course projects. It is a learning tool, not a general purpose OS.
- Upstream
- yhzhang0128/egos-2000
- Fork on GitHub
- Guo-astro/egos-2000
- Upstream stars
- 3.6k
- Category
- Hardware, OS and embedded
- License
- Custom license (see repository)
- Forked
- 2026-08-20
- Sync status
- In syncLast synced 2026-10-10
More in Hardware, OS and embedded
Jumper is the AI toolkit for a 22-DoF crab robot, covering appearance, motion, and scene creation for practical robot design work.
Forked 2026-10-07Last synced 2026-10-10License: Apache-2.0Hardware, OS and embeddedGitHub
A macOS shell script that sets up a working vPhone environment for iOS 26.1, with downloads, checksums, and VNC access for local use.
Forked 2026-10-05Last synced 2026-10-10No license declaredHardware, OS and embeddedGitHub
WiFi Duck is an open-source BadUSB platform for emulating USB keyboards over WiFi. It lets users write, save, and run scripts from a browser on supported Arduino and ESP8266 boards.
Forked 2026-10-03Last synced 2026-10-10License: MITHardware, OS and embeddedGitHub
The original Apollo 11 Guidance Computer source code for the command and lunar modules, published for reading and historical study.
Forked 2026-08-31Last synced 2026-10-10Custom license (see repository)Hardware, OS and embeddedGitHub