From e69804f971a5e5c1f13723b17d773cef6254b5fc Mon Sep 17 00:00:00 2001 From: sbosse Date: Sun, 20 Oct 2024 15:09:45 +0200 Subject: [PATCH] Sun 20 Oct 15:08:44 CEST 2024 --- webv86/makeit.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 webv86/makeit.sh 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 +