From fb91940f200b3e5bf3192552f17a1cc17a73062c Mon Sep 17 00:00:00 2001
From: sbosse <sbosse@uni-bremen.de>
Date: Sun, 20 Oct 2024 15:09:39 +0200
Subject: [PATCH] Sun 20 Oct 15:08:44 CEST 2024

---
 webv86/web/README | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 webv86/web/README

diff --git a/webv86/web/README b/webv86/web/README
new file mode 100644
index 0000000..e1b6bb7
--- /dev/null
+++ b/webv86/web/README
@@ -0,0 +1,32 @@
+# V86 - Basekernel
+
+This distribution starts the basekernel.iso in the Web browser with an virtual HDD (buffer).
+
+# browser vm86.html
+
+> automount
+
+> list
+
+...
+
+# VM Setup
+
+```
+var emulator = new V86Starter({
+    wasm_path        : "v86.wasm",
+    memory_size      : 64 * 1024 * 1024,  // 64 MB memory ought to be enough for anyone
+    vga_memory_size  : 2 * 1024 * 1024,
+    screen_container : screen_container,
+    bios             : {url: "seabios.bin"},
+    vga_bios         : {url: "vgabios.bin"},
+    cdrom            : {url: "basekernel.iso"},
+    hda              : {
+      buffer: new Uint8Array(16*1024*1024).buffer
+    },
+    boot_order       : 0x123,
+    autostart        : true
+})
+```
+
+