mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
Adapt path
This commit is contained in:
parent
0b2628e22a
commit
3fdfd79500
12 changed files with 59 additions and 50 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<title>Lua interpreter</title>
|
||||
|
||||
<script src="../../build/libv86.js"></script>
|
||||
<script src="../build/libv86.js"></script>
|
||||
<script>
|
||||
"use strict";
|
||||
|
||||
|
|
@ -15,13 +15,13 @@ window.onload = function()
|
|||
//screen_container: document.getElementById("screen_container"),
|
||||
|
||||
bios: {
|
||||
url: "../../bios/seabios.bin",
|
||||
url: "../bios/seabios.bin",
|
||||
},
|
||||
vga_bios: {
|
||||
url: "../../bios/vgabios.bin",
|
||||
url: "../bios/vgabios.bin",
|
||||
},
|
||||
cdrom: {
|
||||
url: "../../images/linux.iso",
|
||||
url: "../images/linux.iso",
|
||||
},
|
||||
autostart: true,
|
||||
disable_keyboard: true,
|
||||
|
|
@ -52,9 +52,9 @@ window.onload = function()
|
|||
emulator.add_listener("serial0-output-line", function(line)
|
||||
{
|
||||
// filter noise
|
||||
if(!line.startsWith("/root% lua -e") &&
|
||||
if(!line.startsWith("/root% lua -e") &&
|
||||
!line.startsWith("> ") &&
|
||||
line.indexOf("Welcome to Buildroot") === -1 &&
|
||||
line.indexOf("Welcome to Buildroot") === -1 &&
|
||||
line.indexOf("login:") === -1 &&
|
||||
line.trim() !== "")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue