Public community profile
Daniel McCarthy's profile photo

Daniel McCarthy

@nibblebitsDragonZap administrator

Best selling author in kernel development fields, I build C compilers and kernel modules frequently. I love teaching and helping the OSDEV community

Joined August 2026 Active 2 days ago dragonzap.com
20Reputation
1Questions
1Answers
13Articles
0Approved edits

Articles

Guides written by Daniel McCarthy.

Published article · Operating Systems

From ELF File to Running Process: Building an ELF64 Loader for Your Kernel

From ELF File to Running Process: Building an ELF64 Loader for Your Kernel Your kernel boots. Paging works. The scheduler can switch between task...

00
Published article · Operating Systems

Kernel Development Roadmap: From First Boot to a Graphical x86-64 OS

Kernel Development Roadmap: From First Boot to a Graphical x86-64 OS Kernel development becomes manageable when you stop treating an operating sy...

00
Published article · Operating Systems

From Timer Tick to Task Switch: A Preemptive x86-64 Kernel Scheduler

From Timer Tick to Task Switch: A Preemptive x86-64 Kernel Scheduler A kernel becomes much more interesting when two tasks can make progress with...

00
Published article · Operating Systems

Building an Intel Dual-Band Wi-Fi Driver: Firmware, DMA, and Rings

Writing a driver for an Intel dual-band wireless adapter is very different from bringing up a simple Ethernet controller. The host does not direc...

00
Published article · Operating Systems

Build a Kernel Heap from Scratch: The Block Table Method

A kernel heap does not have to begin with balanced trees, boundary tags, or dozens of size classes. You can build a useful first allocator from t...

00
Published article · Operating Systems

Designing Memory Management for a Kernel That Can Grow

Memory management often begins as a handful of functions and ends up influencing nearly every kernel subsystem. The early version may only need t...

00
Published article · Compilers & Toolchains

Build a GCC Cross-Compiler for Kernel Development

Your everyday compiler is built to create programs for your everyday operating system. It expects that system's ABI, headers, libraries, startup...

00
Published article · Operating Systems

Paging for Beginners: How Your Kernel Controls Memory

Paging often looks intimidating because it introduces several new ideas at once: virtual addresses, physical addresses, page tables, mappings, pe...

00
Published article · Project Showcases

PeachOS 64-Bit

Checkout my 64-bit operating system I wrote from scratch here: https://github.com/nibblebits/PeachOS64BitModuleTwo/tree/main PeachOS64 — Build...

00
Published article · Operating Systems

Protected Mode In OSDEV

Protected Mode Protected Mode is an operating mode available on x86 processors beginning with the Intel 80286. The 80286 introduced a 16-bit form...

00