-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
33 lines (32 loc) · 1.16 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>wtux v86 tester</title>
<script src="./v86/libv86.js"></script>
</head>
<body>
<div id="screen_container">
<div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
<canvas style="display: none"></canvas>
</div>
<script>
var emulator = new V86({
network_relay_url: `wss://apptron-cf113d9c8cb4.herokuapp.com/net`,
wasm_path: "./v86/v86.wasm",
screen_container: document.getElementById("screen_container"),
memory_size: 512 * 1024 * 1024,
vga_memory_size: 8 * 1024 * 1024,
bios: { url: "./v86/seabios.bin" },
vga_bios: { url: "./v86/vgabios.bin" },
bzimage: { url: "./output/bzImage" },
initrd: { url: "./output/initramfs.gz" },
net_device_type: "virtio",
cmdline: "tsc=reliable mitigations=off random.trust_cpu=on modules=virtio_pci wtux=debug9p",
testfs: true,
autostart: true,
});
</script>
</body>
</html>