diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..1f4e5028 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "nightly" +components = [ "rustc", "rust-std" ] +targets = [ "wasm32-unknown-unknown", "i686-unknown-linux-gnu" ] +profile = "minimal" diff --git a/src/emulator/src/main.js b/src/emulator/src/main.js index 74921b17..09cd932f 100644 --- a/src/emulator/src/main.js +++ b/src/emulator/src/main.js @@ -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: { diff --git a/submodules/v86 b/submodules/v86 index 1afc297f..e4da3306 160000 --- a/submodules/v86 +++ b/submodules/v86 @@ -1 +1 @@ -Subproject commit 1afc297f8b61704716c6eb9bfb281d57036bd588 +Subproject commit e4da3306727b59de0879fa111e8b6e963bcc0c82