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

Learning about ISO-9660

When working on a project, there are times where you do not want to rely on some piece of software that a person wrote years ago and since has been deprecated - this was pretty much the case when I took up a project with some others at university. The goal was to write some software that would take a compiled assembly file and convert it into a bootable ISO file....

23 June, 2021 · 6 min · kris