ChipsProcessorsFantasy & virtual CPUs › Uxn CPU

Uxn CPU

2021

A tiny stack-based virtual CPU by Hundred Rabbits, designed as a minimal, portable target for the Varvara computing ecosystem.

Uxn CPU Online Emulator

Play Uxn CPU using JavaScript directly in your browser.

Configurations

ConfigurationEmulatorMachineOSLegal
Varvara demoUxnUxnopenOpen ⛶

Downloads - ROMs & software

TitleTypeSize (bytes)Legal
Varvara colour + sprite demodemo98openDownload ↓

Machines

Emulators

EmulatorTypeLicenseSite
UxnonlineMITWebsite ↗
Uxn32downloadableMITWebsite ↗
Uxn5onlineMITWebsite ↗
buxndownloadableBSD-2-ClauseWebsite ↗
uxn11downloadableMITWebsite ↗
uxnemudownloadableMITWebsite ↗

Reference & documentation

External technical references for programming Uxn CPU and for writing emulators.

ResourceTypeNotes
XXIIVV - Uxntal Opcodes ↗Instruction setAll 256 opcodes, stack effects, short/keep/return modes
XXIIVV - Varvara Devices ↗Interrupt listDevice vectors; CPU is non-interruptible model
XXIIVV - Varvara Devices ↗Memory mapDevice page: 16 ports each at fixed addresses
compudanzas - Uxn Tutorial ↗ProgrammingSeven-day comprehensive Varvara/Uxntal programming guide
XXIIVV - Uxntal ↗ProgrammingIntro to the concatenative Uxntal assembly language
Uxn/Varvara Implementation Guide ↗ReferenceHow to implement the VM (note: dated 2022)
A WebAssembly Core for Uxn ↗ReferenceOpcode codegen, dispatch, and coverage-based conformance
XXIIVV - Uxntal Stacking ↗ReferencePermutation lookup table for stack opcode combinations
Raven - a Uxn/Varvara emulator in Rust ↗SourceFast safe-Rust CPU core; per-opcode dispatch design
Uxn Instruction Tests ↗Test suiteTAL opcode tests with expected reference hexdumps
awesome-uxn ↗ToolCurated emulators, assemblers, disassemblers, and tools