Improve Debian build info (#696)
This commit is contained in:
parent
cbe5e63201
commit
558e0f9d7c
3 changed files with 53 additions and 8 deletions
26
examples/debian.html
Normal file
26
examples/debian.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<title>Debian</title>
|
||||
|
||||
<script src="../build/libv86.js"></script>
|
||||
<script>
|
||||
"use strict";
|
||||
|
||||
window.onload = function()
|
||||
{
|
||||
var emulator = new V86Starter({
|
||||
wasm_path: "../build/v86.wasm",
|
||||
memory_size: 512 * 1024 * 1024,
|
||||
vga_memory_size: 8 * 1024 * 1024,
|
||||
screen_container: document.getElementById("screen_container"),
|
||||
initial_state: { url: "../images/debian-state-base.bin" },
|
||||
filesystem: { baseurl: "../images/debian-9p-rootfs-flat/" },
|
||||
autostart: true,
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<!-- A minimal structure for the ScreenAdapter defined in browser/screen.js -->
|
||||
<div id="screen_container">
|
||||
<div style="white-space: pre; font: 14px monospace; line-height: 14px"></div>
|
||||
<canvas style="display: none"></canvas>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue