Add path to wasm module to examples
This commit is contained in:
parent
6abb23cb69
commit
a172304f8d
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue