Skip to content

Pixelsuft/v86emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v86emu

Simple Virtual x86 frontend for NodeJS, Deno and Bun made with SDL3 and SDL3_ttf

Running

Download libv86.mjs and v86.wasm and put them into v86 folder.

NodeJS:

npm i
node src/index.js

Deno:

deno --allow-ffi --allow-env --allow-read --allow-write src/index.js

Bun:

bun src/index.js

Command-line argmunets

node 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=on

Shortcuts

  • F1 toggle pause
  • F2 reset emulator
  • Ctrl+Alt+Insert remaps into Ctrl+Alt+Delete

What is not supported?

  • Audio
  • Direct kernel booting
  • Graphical text mode
  • Networking
  • Serial
  • UI features (swapping disk images, exporting disk images, saving and loading a state)
  • 9P filesystem

About

Simple Virtual x86 frontend for NodeJS, Deno and Bun made with SDL3 and SDL3_ttf

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages