Jump to content

What are the best resources for learning bare metal programming? (C, Assembly)

I just wanna play with making OSes to deepen my understanding.

Link to comment
Share on other sites

Link to post
Share on other sites

watch this, it's not gonna teach you but give some clues where to look and if you *really* wanna go that route 

 

 

 

its not bad at all, just a lot to learn.

The direction tells you... the direction

-Scott Manley, 2021

 

Softwares used:

Corsair Link (Anime Edition) 

MSI Afterburner 

OpenRGB

Lively Wallpaper 

OBS Studio

Shutter Encoder

Avidemux

FSResizer

Audacity 

VLC

WMP

GIMP

HWiNFO64

Paint

3D Paint

GitHub Desktop 

Superposition 

Prime95

Aida64

GPUZ

CPUZ

Generic Logviewer

 

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Mark Kaine said:

watch this, it's not gonna teach you but give some clues where to look and if you *really* wanna go that route 

 

 

 

its not bad at all, just a lot to learn.

thanks

Link to comment
Share on other sites

Link to post
Share on other sites

OSDev wiki is your best friend. It will not provide you a ton of code samples, but will provide a massive amount of depth that you cannot find anywhere else for specific baremetal routines like writing a soundblaster driver.
https://wiki.osdev.org/Expanded_Main_Page

 

Would also look at their pages about getting started and making sure you know what you're getting into
https://wiki.osdev.org/Required_Knowledge
https://wiki.osdev.org/What_Order_Should_I_Make_Things_In%3F


Depending on your use case, you might also enjoy starting with writing kernel modules in Linux because you will get a lot of nice things like memory management and functions to talk to hardware "for free"

https://medium.com/dvt-engineering/how-to-write-your-first-linux-kernel-module-cf284408beeb

 

Low Level Learning also has a pretty nice demo for the raspberry pi: 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×