Everything below was written from scratch in RISC-V assembly. No libraries, no reference implementations adapted. Every line understood, every instruction justified.
Keel — Font Rasterizer
Complete TrueType outline rasterizer. Build-time TTF parsing, boot-time Bezier flattening, 8x vertical antialiasing, alpha-blended rendering.
1,560 lines
Quarterdeck — GPU Driver
VirtIO GPU driver: resource creation, backing attachment, scanout, 2D transfer, hardware cursor, dirty-rectangle tracking.
1,840 lines
Porthole — Window Manager
WinMap per-pixel ownership, z-order, click dispatch, drag-to-move, drag-to-resize, minimize/maximize/shade, window tabs, Braun-style chrome.
4,627 lines
Chart — Filesystem
Flat item table in RAM. Decks for workspace isolation. Sealing, veiling (ChaCha20 encryption), auto-grow, atomic persistence.
1,679 lines
Cipher — Cryptography
ChaCha20 stream cipher and SHA-256 hash, both implemented from FIPS/RFC specs in assembly. Veiled items, Strongroom full-disk encryption.
822 lines
Tonnage — Allocator
Nine-tier block allocator. Pool sizes from detected RAM. Every claim returns a pre-carved block. O(1) claim and release. No fragmentation.
562 lines
Anchor — Persistence
Crash-safe filesystem persistence. Versioned on-disk format (v1-v4). Superblock-last write ordering. Strongroom encrypts every sector.
838 lines
Quill — Text Editor
Full-screen editor with text selection, mouse click-to-cursor, Shift+Arrow selection, CUA keys, multi-buffer tabs, Chart I/O.
1,767 lines
Gangway — Module System
12 ports x 8 slots jump table. Kernel and user programs call through the Gangway. Swap hardware drivers without touching callers.
442 lines
Gunwale — Navigation Bar
Top bar with zone-based hover hit testing. Brand, navigation items, minimized window titles, light/dark mode toggle.
577 lines
Fitting — Widgets
Pool-based UI widgets: Cleat (button), Pennant (label), Latch (checkbox), Taffrail (scrollbar). 128 widget slots.
1,151 lines
Manifest — Menus
Menu bar (File, Edit, View) with dropdown panels. Per-porthole registration. Click-to-open, click-to-select, click-outside-to-dismiss.
1,196 lines
Lantern — Theme System
Light/dark mode with runtime palette swap. 27-color theme tables. Toggle recolors all active portholes and redraws desktop.
201 lines
Tiller — Input Driver
VirtIO tablet device driver. Absolute-to-cursor coordinate translation. Hardware cursor via GPU resource. PLIC interrupt-driven.
791 lines
Hold — Block Storage
VirtIO MMIO legacy block driver with command queuing (5 in-flight), batched multi-sector I/O, interrupt-driven completion.
590 lines
Survey — Static Analyzer
Binary verification at boot. Checks: bounded loops, no recursion, function length, assertion density, memory bounds.
Kernel-integrated
Helm — Recovery Shell
UART console with 20+ commands. Line editing, command history, pipelines, I/O redirection. NATO phonetic flag system.
6,651 lines (with bootloader)
.draft — Image Format
Custom graphics format: 12-byte header, raw BGRX, RLE compressed, or palette+bit-packed. Transparency via color key. ~50 instruction decoder.
Native format