certifications

1 October, 2021 · 1 min · kris

x86 bootloaders

This post is a dive into understanding how the boot process on an x86-based CPU works, however there might still be some holes in my knowledge and stuff that I’ve misunderstood. All of the boot code was tested using Bochs. Real Mode - 16-bit When the CPU is powered, it will initialise itself into a known good state and begin executing instructions at the default starting address of 0xFFFFFFF0. This exists within the portion of memory which is mapped to a ROM - specifically the one which contains the BIOS (Intel, 2021, chapter 9....

16 August, 2021 · 15 min · kris