diff --git a/examples/arch.html b/examples/arch.html index 5aa9a1dd..0272907e 100644 --- a/examples/arch.html +++ b/examples/arch.html @@ -8,6 +8,7 @@ window.onload = function() { var emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", memory_size: 128 * 1024 * 1024, vga_memory_size: 8 * 1024 * 1024, screen_container: document.getElementById("screen_container"), diff --git a/examples/async_load.html b/examples/async_load.html index f75cbd95..5608d2e1 100644 --- a/examples/async_load.html +++ b/examples/async_load.html @@ -14,6 +14,7 @@ window.onload = function() // is required if the server is on a different host var emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", memory_size: 64 * 1024 * 1024, vga_memory_size: 2 * 1024 * 1024, screen_container: document.getElementById("screen_container"), diff --git a/examples/basic.html b/examples/basic.html index fe6de398..9c3e92bd 100644 --- a/examples/basic.html +++ b/examples/basic.html @@ -8,6 +8,7 @@ window.onload = function() { var emulator = window.emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", memory_size: 32 * 1024 * 1024, vga_memory_size: 2 * 1024 * 1024, screen_container: document.getElementById("screen_container"), diff --git a/examples/lang.html b/examples/lang.html index e8e4b87d..cb16fa3f 100644 --- a/examples/lang.html +++ b/examples/lang.html @@ -15,6 +15,7 @@ window.onload = function() }, 999); var emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", memory_size: 128 * 1024 * 1024, vga_memory_size: 8 * 1024 * 1024, screen_container: document.getElementById("screen_container"), diff --git a/examples/lang2.html b/examples/lang2.html index fd6a55eb..22fa7f9e 100644 --- a/examples/lang2.html +++ b/examples/lang2.html @@ -26,6 +26,7 @@ window.onload = function() } var emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", memory_size: 128 * 1024 * 1024, vga_memory_size: 8 * 1024 * 1024, screen_container: document.getElementById("screen_container"), diff --git a/examples/lua.html b/examples/lua.html index 6fc8a111..277f400c 100644 --- a/examples/lua.html +++ b/examples/lua.html @@ -8,6 +8,7 @@ window.onload = function() { var emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", memory_size: 32 * 1024 * 1024, vga_memory_size: 2 * 1024 * 1024, diff --git a/examples/save_restore.html b/examples/save_restore.html index 43506dff..afaec34e 100644 --- a/examples/save_restore.html +++ b/examples/save_restore.html @@ -8,6 +8,7 @@ window.onload = function() { var emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", memory_size: 32 * 1024 * 1024, vga_memory_size: 2 * 1024 * 1024, screen_container: document.getElementById("screen_container"), diff --git a/examples/serial.html b/examples/serial.html index 42991fa3..3dd0c5b4 100644 --- a/examples/serial.html +++ b/examples/serial.html @@ -8,6 +8,8 @@ window.onload = function() { var emulator = new V86Starter({ + wasm_path: "../build/v86.wasm", + // Uncomment to see what's going on //screen_container: document.getElementById("screen_container"), diff --git a/examples/two_instances.html b/examples/two_instances.html index c668d347..198e6cef 100644 --- a/examples/two_instances.html +++ b/examples/two_instances.html @@ -11,6 +11,7 @@ window.onload = function() var container2 = document.getElementById("screen_container2"); var emulator1 = new V86Starter({ + wasm_path: "../build/v86.wasm", screen_container: container1, bios: { url: "../bios/seabios.bin", @@ -25,6 +26,7 @@ window.onload = function() }); var emulator2 = new V86Starter({ + wasm_path: "../build/v86.wasm", screen_container: container2, bios: { url: "../bios/seabios.bin",