OS development 101 - How to make a bootloader part 1 - Hello World

Опубликовано: 05 Октябрь 2024
на канале: screeck
64,545
3k

I made a discord server for everyone interested in low level programming and malware.
Check it out:
▶  / discord  

Welcome to the first video in my new mini-series about bootloader development.
I’m planning to make 3 videos in total (maybe more, we’ll see how it goes).
Topics that will be covered in the series:
Real Mode
Protected Mode
BIOS
Global Descriptor Table
CHS
Loading Kernel

Enojy!

🖤 SUBSCRIBE 🖤
Twitter/X:
▶   / _screeck  
My github:
▶ https://github.com/screeck/YouTube/tr...
OSDEV
▶https://wiki.osdev.org/Expanded_Main_...

Timestamps:

0:00 What happens at PC startup?
1:30 Real Mode
2:53 Setting up the project
5:20 Writting bootable code
13:00 Makefile and testing








How to write a bootloader from scratch
What happens during a PC boot sequence
Understanding the Power-On Self Test (POST)
How does the BIOS or UEFI work during boot
What is real mode in computing
How to write bootable code for a PC
Steps to create a simple bootloader
How does a BIOS initialize hardware components
What is the Master Boot Record (MBR)
Difference between MBR and GPT
How to load a 32-bit kernel with a bootloader
What are the first 512 bytes of a boot device
How does memory work in real mode
Writing a bootloader with a "Hello World" message
What are the last two bytes of the MBR
How does the boot order affect the boot process
What is the role of the PSU in the boot sequence
How does the BIOS/UEFI transfer control to the kernel
What is the purpose of the Power-On Self Test
Steps to load a kernel using a bootloader