./ccc — compiled to wasm32-freestandingEnter · try
ls /bin ·
cat /etc/motd ·
echo hi > /tmp/x ·
edit /etc/motd ·
^C cancel ·
exit to halt
Backspace delete ·
^S save ·
^X exit
— note: use Ctrl (not Cmd on macOS, which the browser keeps for itself).
shell-fs.img
— the same binary that runs on the CLI via zig build kernel-fs.
W A S D move ·
Space start ·
Q quit
This page fetched ccc.wasm (~50 KB of WebAssembly — just
the emulator core), then fetches the selected RISC-V program
(hello.elf, snake.elf, ...) on demand. The
worker copies the ELF bytes into wasm linear memory and runs the
emulator in chunks via runStart() / runStep().
UART output is captured into a buffer inside wasm linear memory; the
worker copies it out via outputPtr() and
consumeOutput() and posts it to this page for ANSI
rendering. Drop a new .elf next to this page to add a
program — no recompile.