Projects & Experiments
Hands-on side projects, virtual processor & hardware emulation journeys, custom game engines, and low-level memory-layout experiments.
Filtering projects & experiments by label: 16-Bit Emulation
Clear filter
Emu16Bit — 16-Bit WebAssembly Emulator
Last modified:
My journey learning Rust—building on the low-level memory layout and machine-instruction experiments in my HPC Recursive DFS Series—sparked a deep dive into 16-bit CPU opcodes, instruction dispatching, and virtual processor design, turning into a 16-bit WebAssembly emulator.
- Steps through 16-bit 65C816 opcodes using fast table-driven instruction dispatching
- Stores RAM, video memory, and banked buses in flat, contiguous Rust arrays
- Acts like a virtual processor—fetching, decoding, and running guest bytecode
- Compiles to sandboxed WebAssembly binary code that stays safe and hard to reverse engineer