TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Creating a Bare Bones Bootloader

133 pointsby joesavageabout 11 years ago

6 comments

heywireabout 11 years ago
If this type of thing interests you, check out <a href="http://wiki.osdev.org" rel="nofollow">http:&#x2F;&#x2F;wiki.osdev.org</a>. I cannot recommend this site enough for someone who is interested in writing their own toy OS.
评论 #7599535 未加载
charlesapabout 11 years ago
You can go all the way to protected mode, enable paging, and then page in the rest of your kernel in just 512 bytes, and without touching the BIOS: <a href="https://github.com/charlesap/bootpager/blob/master/oiuboot.asm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;charlesap&#x2F;bootpager&#x2F;blob&#x2F;master&#x2F;oiuboot.a...</a>
评论 #7600836 未加载
CocaKoalaabout 11 years ago
I&#x27;m really digging the systems posts that have been cropping up on HN recently; this and the toy OS post that was floating around are both really interesting.
评论 #7599381 未加载
mmastracabout 11 years ago
This brings back memories of reading through Norton&#x27;s programmer&#x27;s guide to the PC, figuring out how all the various interrupts worked. It was always faster to write to b800:0000 than use int 10h (assuming a color display of course!).
评论 #7599265 未加载
taikiabout 11 years ago
What about for EFI? Does this guide hold up the same?
评论 #7598279 未加载
good_guyabout 11 years ago
Similar guide to write a small kernel <a href="https://news.ycombinator.com/item?id=7588205" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7588205</a>