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 keys | move around |
| + and - | modify memory |
| space | run a single instruction at the cursor position |
| tab | run instructions until halt |
| some other keys | literal input |
The code is on GitHub.