Writing My Own Bootloader How PCs Boot Before the OS Even Exists @ncot_tech
Writing My Own Bootloader How PCs Boot Before the OS Even Exists  @ncot_tech
Uploaded September 2026 | Updated November 2026, 4 days ago
This video explains how a PC boots an operating system from a powered-off state, by writing and booting custom bootsector code instead of Windows, Linux, or macOS.

Join Patreon : patreon.com/ncot_tech
One time donation: ko-fi.com/ncot_tech
Website : ncot.uk

Ever wondered what an operating system actually is, or how a BIOS finds and loads a kernel from a hard drive with no operating system yet running? This video breaks down the CPU reset vector, the role of the legacy BIOS ROM chip, and how the boot sector — the first 512 bytes on a disk, ending in the magic bytes AA 55 — gets read into memory and executed with no filesystem knowledge required. We write our own bootsector programs in assembly and C, boot them in a VM, and even get a bootable Snake game running straight off a floppy disk image with no operating system underneath it. Along the way we cover why modern PCs still boot like it's 1981, and how UEFI replaced the old BIOS boot process.

Credits
-------
Music by Karl Casey @ White Bat Audio

## Keywords
#OperatingSystem, #BIOS, #BootSector, #Bootloader, #OSDev, #LowLevelProgramming, #Assembly, #Kernel, #UEFI, #RetroComputing
Writing My Own Bootloader How PCs Boot Before the OS Even ExistsWriting a game the hard way - from scratch using C. #1Everything In DOOM Is A Lie | The Genius Behind The LegendHow vintage joysticks tricked computers into workingHello World the hard way - Why Im learning x86 assemblyHow Programmers Created Hypnotic Visual Effects on 1990s PCsC programming a roguelike - the dungeon problemI Coded Conways Game of Life in Z80 AssemblyI Built a Game Engine in C and Made Something PlayableThe Mistake Every Programmer MakesRC2014 Z80 Assembly Programming TeaserExtreme restoration: bringing my Atari back to life
NCOT Technology |

Writing My Own Bootloader How PCs Boot Before the OS Even Exists

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER