feat: v86 9p server support

This commit is contained in:
ProgrammerIn-wonderland
2024-10-09 01:07:29 -04:00
committed by Eric Dubé
parent d449367db5
commit b145e30a90
3 changed files with 8 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
[toolchain]
channel = "nightly"
components = [ "rustc", "rust-std" ]
targets = [ "wasm32-unknown-unknown", "i686-unknown-linux-gnu" ]
profile = "minimal"
+2 -1
View File
@@ -287,10 +287,11 @@ window.onload = async function()
status.phase_progress = UPDATE_ONLY;
}, 200);
console.log("starting v86")
var emulator = window.emulator = new V86({
wasm_path: PATH_V86 + "/v86.wasm",
memory_size: 512 * 1024 * 1024,
filesystem: { fs: puter.fs },
vga_memory_size: 2 * 1024 * 1024,
screen_container: document.getElementById("screen_container"),
bios: {