Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuhdo/sample-os
A sample OS as demonstrated in the book Operating System: From 0 to 1
https://github.com/tuhdo/sample-os
Last synced: 15 days ago
JSON representation
A sample OS as demonstrated in the book Operating System: From 0 to 1
- Host: GitHub
- URL: https://github.com/tuhdo/sample-os
- Owner: tuhdo
- Created: 2017-02-14T07:07:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-12T04:54:16.000Z (about 7 years ago)
- Last Synced: 2024-07-31T15:02:57.543Z (4 months ago)
- Language: Assembly
- Size: 91.8 KB
- Stars: 575
- Watchers: 45
- Forks: 73
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - sample-os - A sample OS as demonstrated in the book Operating System: From 0 to 1 (Assembly)
README
# Sample Operating System
A sample OS as demonstrated in the book Operating System: From 0 to 1This is the initial OS version I wrote for demonstration of the book "Operating System: From 0 to 1". Not the most stellar C code, but you can refer to it for checking the correctness of your code. That's also the reason why I want you to write your own code using guidelines from the book, and it is also one important goal of the book.
The code covers 10 chapters of the "System Programming Guide" (Intel Manual Volume 3), along with a simple keyboard and video driver for input and output. However, at the moment, only the following features are implmeneted:
- Protected mode.
- Creating and managing processes with TSS (Task State Structure).
- Interrupts
- LAPIC.Paging and I/O are not yet implemented. I will try to implement it as the book progresses.