peachykeen32: Bare-Metal ARM Userspace Programming

peachykeen32 is a bare-metal ARM32 userspace runtime — no libc, no crt, no linker scripts. Everything runs directly on top of the Linux kernel through syscalls. What started as a curiosity about what the minimum viable userspace looks like turned into a toolkit with a handful of genuinely useful commands.

[]

gb-emu: Building a Game Boy CPU Emulator

gb-emu is an emulator for the original Game Boy that implements the LR35902 CPU and memory bus but stops short of the PPU. The PPU is the hardest component in the system — everyone gets stuck there — and I wanted to write up what did work rather than waiting until the whole thing is finished. A working CPU with a cycle-accurate memory bus is already enough to load, decode, and step through commercial ROMs up to the point they start asking for video memory.

[]

comfy-lang: A Compiler Pipeline for ARM32

comfy-lang is a small compiled language targeting ARM32 Linux. The front-end produces an AST, the middle-end lowers it through a series of tree rewrites, and the back-end emits ARM32 machine code directly — no assembler, no linker. The compiler is about 2000 lines of C and the interesting parts that actually work are the ARM32 code generator and the syscall wrappers.

[]

NetMoon: Raw Sockets and Network Monitoring

NetMoon is a network monitoring tool built on Linux raw sockets. It captures packets, parses TCP headers, and presents connection-level metrics in real time. The implementation is about 700 lines of C and demonstrates how far you can get with nothing more than a well-chosen syscall and a couple of struct definitions.

[]

MilkyLogger: A Minimalist Logging Mechanism

MilkyLogger is a logging library built around a single idea: a lock-free ring buffer shared between a producer (the application) and a consumer (a dedicated writer thread). There is no format string parsing at the call site, no dynamic allocation in the hot path, and no configuration files. The mechanism is the interesting part, not the feature set.

[]

CompanionCube32: DLL Injection, VTable Hooking, and a Custom Overlay

CompanionCube32 is a game overlay companion that injects into a running process and renders custom UI on top of its output. It uses three techniques that build on each other: DLL injection to get code running inside the target process, virtual table hooking to intercept rendering calls, and a custom overlay drawn via DirectX.

[]

The Segfault Garden

Lu

frgmntedflower@linux.com