diff --git a/webv86/makeit.sh b/webv86/makeit.sh new file mode 100644 index 0000000..6956c3e --- /dev/null +++ b/webv86/makeit.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +mkdir web +wget https://github.com/copy/v86/releases/download/latest/libv86.js \ + --directory-prefix web +wget https://github.com/copy/v86/releases/download/latest/v86.wasm \ + --directory-prefix web +wget https://github.com/copy/v86/releases/download/latest/v86-fallback.wasm \ + --directory-prefix web +wget https://github.com/copy/v86/archive/refs/tags/latest.tar.gz \ + --output-document - \ +| tar -xz --strip-components 2 --directory web \ + v86-latest/bios/seabios.bin \ + v86-latest/bios/vgabios.bin + +cat >web/index.html < + +Emulator + + +
+
+ +
+ + + +EOF +