nOSh Runtime
The nOSh runtime is the C/SDL2 orchestrator that owns the mission board, the economy (credits, reputation), the phase chain for multi-phase missions, the CIPHER voice (rendered on the CIPHER-LINE auxiliary display), and the Universal Deck State that persists across cartridges. It is the userland binary that boots into kiosk mode on the Pi Zero 2 W and is also the desktop SDL2 emulator on macOS / Linux. Both targets share the same C API, cartridge grammar, and .kn86 format.
Core references
Section titled “Core references” Capability Model The architecture: cartridges as capability modules, nOSh as orchestrator.
Mission Board, Phase Chain & Economy Multi-phase missions, credits, reputation, cross-cartridge contracts.
CIPHER Voice Grammar The CIPHER-LINE OLED meta-grammar plus cartridge-contributed fragments.
Character Set & Font Architecture Press Start 2P + CP437 box drawing; KN-86 Code Page; Unicode subset path.
Clip System Pre-rendered terminal animations for cutscenes, loaders, attract.
Coprocessor Protocol UART command link to the Pico 2 — PSG synthesis, OLED driver.
Prototype Architecture Top-level architecture for the prototype build.