Simple Virtual x86 frontend for NodeJS, Deno and Bun made with SDL3 and SDL3_ttf
Download libv86.mjs and v86.wasm and put them into v86 folder.
NodeJS:
npm i
node src/index.jsDeno:
deno --allow-ffi --allow-env --allow-read --allow-write src/index.jsBun:
bun src/index.jsnode src/index.js -acpi/-no-acpi -boot menu=off,order=acd -cpu cpuid-level=2,jit=true -device virtio-balloon-pci -display sdl3,renderer=opengl,scale=1 -m 128m -mouse sensitivity=0.6666 -name "Test VM" -text dummy/stdio/ttf -ttf liberationmonob.ttf,size=15,dpi=72,cw=9,ch=16,precise=false -vmem 16m -vgabios vgabios.bin -wasm v86.wasm -fda/-fdb/-hda/-hdb/-hdc/-hdd disk.img,native=on,writeback=on,async=on -cdrom mydisk.iso,native=on,async=onF1toggle pauseF2reset emulatorCtrl+Alt+Insertremaps intoCtrl+Alt+Delete
- Audio
- Direct kernel booting
- Graphical text mode
- Networking
- Serial
- UI features (swapping disk images, exporting disk images, saving and loading a state)
- 9P filesystem