5 entries logged

BLOG.

Deep dives, investigations, and things I figured out the hard way.

ASSEMBLY

Writing a 16-bit Real Mode Bootloader in x86 Assembly

The first 512 bytes that run when your machine powers on. A walkthrough of x86 real mode, the BIOS interrupt interface, segment:offset addressing, and what it takes to load a second stage.

NETWORKING

Building a Software TCP/IP Stack from Scratch in C

A deep dive into implementing a functional TCP/IP stack entirely in software — covering Ethernet framing, ARP, IP routing, TCP state machines, and the painful lessons learned along the way.