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.

x86 Bare Metal Examples

513 pointsby Cieplakabout 6 years ago

9 comments

oldsklgdfthabout 6 years ago
Looking at the skills section on his webpage: <a href="http:&#x2F;&#x2F;www.cirosantilli.com&#x2F;skills&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cirosantilli.com&#x2F;skills&#x2F;</a><p>This seems like the most honest self-assessment I have seen of one&#x27;s skills.
评论 #19434734 未加载
评论 #19432295 未加载
评论 #19431433 未加载
评论 #19436097 未加载
emourkaiabout 6 years ago
I&#x27;m kind of curious who&#x27;s behind this Ciro Santili guy.<p>He(?) seems to be doing a ton of interesting github repos, a great deal of informative stackoverflow answers and who knows what else.<p>Also, some anti-CCP stuff in the profile?
评论 #19429024 未加载
评论 #19429210 未加载
评论 #19439425 未加载
评论 #19430805 未加载
_chiliconcarneabout 6 years ago
I&#x27;ll drop a question since I see Ciro Santilli is around. I want to start learning low level programming. Yet, I feel awfully overwhelmed every single time I try. Any recommendations you might have?
评论 #19432246 未加载
评论 #19469184 未加载
mammalutteabout 6 years ago
Do you have any hello-world examples of how to load a 64bit ELF kernel with a GRUB2 bootloader? I don&#x27;t mean Linux kernel, I literally mean a simple program that only prints &quot;hello world&quot;. Something like this [1] but in long mode.<p>[1] <a href="https:&#x2F;&#x2F;wiki.osdev.org&#x2F;Bare_Bones" rel="nofollow">https:&#x2F;&#x2F;wiki.osdev.org&#x2F;Bare_Bones</a>
self_awarenessabout 6 years ago
Using BIOS calls doesn&#x27;t seem to be really &quot;bare metal&quot;. One could use bios interrupt to read data from a disk, or also one could use memory mapping with a target device to write a device driver that could request the file. I find the second case a &quot;bare metal&quot; approach.<p>Fortunately most of the bios examples are using bios_* filenames. Rest of the files are very nice.
评论 #19429197 未加载
评论 #19429282 未加载
cyrusmgabout 6 years ago
What is the use-case in real life ?<p>Is it to run special lab&#x2F;factory equipment ? Anyone here who develops for bare metal - can you share any details?
评论 #19429044 未加载
评论 #19428949 未加载
评论 #19428990 未加载
cerebrumabout 6 years ago
<a href="http:&#x2F;&#x2F;menuetos.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;menuetos.net&#x2F;</a>
baybal2about 6 years ago
You can use efi text mode or framebuffer these days.
评论 #19429135 未加载
tempodoxabout 6 years ago
&quot;\n\r&quot; should be &quot;\r\n&quot; (0D, 0A -&gt; CR, LF).
评论 #19432398 未加载