ForthOS — Full architecture overview

Five-layer bare-metal Forth-83 OS: from x86 hardware through bootloader, kernel, vocabulary/UBT layer, up to metacompiler and 9 multi-architecture targets across 3 tiers.

ForthOS full architecture overview Five-layer architecture from bare metal hardware through bootloader, Forth-83 kernel, vocabulary and UBT layer, to metacompiler with multi-arch targets. Bare metal hardwarex86 CPU · ATA PIO · PCI · VGA · UART · RTL8168 · AHCI · xHCI Bootloader (boot.asm)Real mode → protected mode · loads kernel · PXE boot (dnsmasq + tftpd) Forth-83 kernel (forth.asm · ~55 KB)178-word dictionary · DTC interpreter (ESI=IP, EBP=rstack)VGA · keyboard · ATA PIO · PCI · 1 KB block storageVocabulary search order · ONLY ALSO PREVIOUS Vocabularies + UBT pipeline Free (public)HARDWARE · PORT-MAPPER · ECHOPORT Tiers 1–3 (private)AHCI · NTFS · FAT32 · RTL8168 Tier 4 — UBT pipeline (private).sys → PE loader → UIR → Forth codegen 15 free block vocabs AUTO-DETECT · SURVEYOR 18 real-world drivers analyzed Metacompiler — forthos-vocabularies (private)85 host words · T-IMAGE flat 32-bit model · FORWARD/RESOLVET-IF T-THEN T-BEGIN T-UNTIL T-DO T-LOOP · self-hosting proven66,048-byte standalone bootable kernel · 151/151 tests green Tier 1: x86 · ARM64 · RISC-V Tier 2: Cortex-M33 · SPARC · PowerPC Tier 3: MIPS · AVR · ESP32 · x64 ForthOS — bare-metal Forth-83 OS with UBT + metacompiler bare-metal-forth (public) · forthos-vocabularies (private)