Added basic linux emulator

This commit is contained in:
2021-04-25 11:55:55 +02:00
commit 01e4861d4a
7 changed files with 847 additions and 0 deletions

18
index.js Normal file
View File

@ -0,0 +1,18 @@
document.addEventListener("DOMContentLoaded", () => {
var emulator = new V86Starter({
wasm_path: "assets/v86.wasm",
memory_size: 512 * 1024 * 1024,
vga_memory_size: 100 * 1024 * 1024,
screen_container: document.getElementById("screen_container"),
bios: {
url: "images/seabios.bin",
},
vga_bios: {
url: "images/vgabios.bin",
},
cdrom: {
url: "images/os.iso",
},
autostart: true,
});
})