Dungbeetle

A tiny computer

by Marcel Garus · 2025-11-3
available at www.marcelgarus.dev/dungbeetle
Loading...

Some time ago, I created a tiny virtual machine called Dungbeetle. It has 256 bytes of memory, which you can modify directly. You can also store instructions in memory and tell the VM to run them.

Recently, I ported the terminal version to web assembly, so you play around with Dungbeetle directly on this website. Try it out!

arrow keysmove around
+ and -modify memory
spacerun a single instruction at the cursor position
tabrun instructions until halt
some other keysliteral input

The code is on GitHub.