minimal/www/emulator/index.html
2016-05-15 00:02:44 +03:00

38 lines
1.2 KiB
HTML

<!doctype html>
<title>Minimal Linux Live - PC emulator</title>
<script src="libv86.js"></script>
<script>
"use strict";
window.onload = function()
{
var image_name = "minimal_linux_live_03-Apr-2016_32-bit.iso";
var cdrom_full = "../download/" + image_name;
var emulator = window.emulator = new V86Starter({
memory_size: 64 * 1024 * 1024,
vga_memory_size: 8 * 1024 * 1024,
screen_container: document.getElementById("screen_container"),
bios: {
url: "seabios.bin",
},
vga_bios: {
url: "vgabios.bin",
},
cdrom: {
url: cdrom_full,
},
autostart: true,
});
}
</script>
<div id="title" style="white-space: pre; font: 20px monospace;"> Minimal Linux Live (version 03-Apr-2016)</div>
<br />
<div id="screen_container">
<div style="white-space: pre; font: 20px monospace; line-height: 22px"></div>
<canvas style="display: none"></canvas>
</div>
<div id="title" style="white-space: pre; font: 12px monospace;">
This is JavaScript based PC emulator which works entirely in your browser and some OS features may not behave properly in it.
</div>