TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Roll your own Unix

159 点作者 fogus超过 13 年前

12 条评论

enneff超过 13 年前
Also see xv6, "a simple Unix-like teaching operating system": <a href="http://pdos.csail.mit.edu/6.828/2011/xv6.html" rel="nofollow">http://pdos.csail.mit.edu/6.828/2011/xv6.html</a> and its textbook: <a href="http://pdos.csail.mit.edu/6.828/2011/xv6/book-rev6.pdf" rel="nofollow">http://pdos.csail.mit.edu/6.828/2011/xv6/book-rev6.pdf</a>
评论 #3432868 未加载
exDM69超过 13 年前
This is a quite nice tutorial. There's a quite bit of half-chewed reference material in the osdev wiki. It's quite x86 centric, but that's what makes it especially valuable to me. I already have OS books that I read in Uni courses: <a href="http://wiki.osdev.org/" rel="nofollow">http://wiki.osdev.org/</a><p>Writing your own hobby operating system is a very nice project to learn about your computer's internals and hone your low level programming skills. Here's the start of my hobby OS: <a href="https://github.com/rikusalminen/danjeros" rel="nofollow">https://github.com/rikusalminen/danjeros</a><p>Also, don't be fooled to thinking that you won't need the skills professionally, because Linux/Windows/*BSD already exists. In fact, at work we have an original in-house small "toy" operating system, but it's not a toy. It's actually used for testing new system on chips when they roll out the factory as well as doing some special purpose tasks on actual devices that are shipped to millions of customers. It's only a few thousand lines of code and looks a lot like one of these schoolbook/hobby operating systems. Unfortunately, I cannot tell you anything more about it.
stephen_g超过 13 年前
I'm not sure if he updated it on the site linked above (it's not loading for me), but as I remember James was working on a better code base for his tutorials. The theory on this website was good but the code had problems. The updated code was hosted at Google code - <a href="http://code.google.com/p/jamesm-tutorials/source/browse/" rel="nofollow">http://code.google.com/p/jamesm-tutorials/source/browse/</a>
dhoe超过 13 年前
Is anybody aware of similar projects that target databases instead of operating systems?
评论 #3433912 未加载
ams6110超过 13 年前
Andrew Tanenbaum's <i>Operating Systems Design and Implementation</i>, in which he uses MINIX as the teaching OS, is also good.
loeg超过 13 年前
Server seems severely overloaded -- here's the latest archive.org mirror: <a href="http://web.archive.org/web/20101017092822/http://www.jamesmolloy.co.uk/tutorial_html/" rel="nofollow">http://web.archive.org/web/20101017092822/http://www.jamesmo...</a>
wtracy超过 13 年前
I'm aware that ARM is not a single, monolithic target like x86. That said, are there any articles that discuss ARM targeted at newbie OS developers?
buster超过 13 年前
Wow.. that brings back memories of old days, text mode, directly writing into the graphic cards memory... :)
akg超过 13 年前
An interesting take on Operating System design is the Synthesis Kernel that makes use of techniques like lockless data structures and run-time code synthesis:<p><a href="http://valerieaurora.org/synthesis/SynthesisOS/" rel="nofollow">http://valerieaurora.org/synthesis/SynthesisOS/</a>
a3_nm超过 13 年前
Note that this tutorial is intended for the x86 architecture and for older versions of Bochs. If you're running an amd64 system or using a recent Bochs, you will need to tweak stuff in the Makefile and in bochsrc.txt.
xd超过 13 年前
If you go down this path, and I highly recommend every coder gives writing their own OS a go, be sure to bookmark: <a href="http://nondot.org/sabre/os/articles" rel="nofollow">http://nondot.org/sabre/os/articles</a>
chjj超过 13 年前
The only working mirror I could find:<p><a href="http://web.archive.org/web/20101019051118/http://www.jamesmolloy.co.uk/tutorial_html/index.html" rel="nofollow">http://web.archive.org/web/20101019051118/http://www.jamesmo...</a>