From 080482da89f4ff9c52a14bd60f29e4afdf716389 Mon Sep 17 00:00:00 2001 From: Fabian Date: Thu, 14 Sep 2023 11:50:16 -0500 Subject: [PATCH] s/V86Starter/V86 --- Readme.md | 2 +- docs/archlinux.md | 4 +- docs/windows-xp.md | 2 +- examples/arch.html | 2 +- examples/async_load.html | 2 +- examples/basic.html | 2 +- examples/debian.html | 2 +- examples/destroy.html | 2 +- examples/lang.html | 2 +- examples/lua.html | 2 +- examples/nodejs.js | 4 +- examples/nodejs_state.js | 4 +- examples/save_restore.html | 2 +- examples/serial.html | 2 +- examples/two_instances.html | 4 +- examples/worker.js | 2 +- src/browser/main.js | 4 +- src/browser/starter.js | 86 ++++++++++++++++++------------------- tests/manual/gc.html | 2 +- 19 files changed, 66 insertions(+), 66 deletions(-) diff --git a/Readme.md b/Readme.md index 2308386c..fc765106 100644 --- a/Readme.md +++ b/Readme.md @@ -153,7 +153,7 @@ See [tests/Readme.md](tests/Readme.md) for more infos. Using v86 for your own purposes is as easy as: ```javascript -var emulator = new V86Starter({ +var emulator = new V86({ screen_container: document.getElementById("screen_container"), bios: { url: "../../bios/seabios.bin", diff --git a/docs/archlinux.md b/docs/archlinux.md index e2e62c48..7ea67946 100644 --- a/docs/archlinux.md +++ b/docs/archlinux.md @@ -430,7 +430,7 @@ wget https://raw.githubusercontent.com/smgoller/rangehttpserver/master/RangeHTTP python2 RangeHTTPServer.py ``` -Now that the webserver is running, point your browser to `http://localhost:8000/examples/arch.html`. Wait for the Linux to boot. When the system is up, click 'Save state to file'. Your browser will download a `v86state.bin` file. Copy that file to `/your/v86/dir/images`. You can then edit `examples/arch.html` again and add a 'state' key to the `V86Starter` array. +Now that the webserver is running, point your browser to `http://localhost:8000/examples/arch.html`. Wait for the Linux to boot. When the system is up, click 'Save state to file'. Your browser will download a `v86state.bin` file. Copy that file to `/your/v86/dir/images`. You can then edit `examples/arch.html` again and add a 'state' key to the `V86` array. ```sh initial_state: { @@ -442,7 +442,7 @@ If you refresh `http://localhost:8000/examples/arch.html` you will see that the ### Networking -The emulator can emulate a network card. For more information [look at the networking documentation](https://github.com/copy/v86/blob/master/docs/networking.md). To set up networking in the VM, add the following item to the `V86Starter` array in the `examples/arch.html` file: +The emulator can emulate a network card. For more information [look at the networking documentation](https://github.com/copy/v86/blob/master/docs/networking.md). To set up networking in the VM, add the following item to the `V86` array in the `examples/arch.html` file: ```sh network_relay_url: "ws://localhost:8080/", ``` diff --git a/docs/windows-xp.md b/docs/windows-xp.md index 40771fa4..2e4fb536 100644 --- a/docs/windows-xp.md +++ b/docs/windows-xp.md @@ -35,7 +35,7 @@ Create `winxp.htm` with this content (assuming all the files are in the same fol