minimal/www/emulator/index.html

55 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Minimal Linux Live">
<meta name="keywords" content="minimal minimalistic tiny linux live tutorial howto kernel busybox cd usb iso image"/>
<meta name="author" content="Ivan Davidov - davidov (dot) i [at] gmail {dot} com">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Minimal Linux Live - PC emulator</title>
<link rel="icon" type="image/x-icon" href="../assets/img/favicon.ico" />
</head>
<body>
<div id="title" style="white-space: pre; font: 20px monospace;">
Minimal Linux Live (version 20-Jan-2017)
</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 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. All CPU instructions are emulated via JavaScript and the boot process may take 10-20 minutes.
</div>
<script src="libv86.min.js"></script>
<script>
"use strict";
window.onload = function () {
var image_name = "minimal_linux_live_20-Jan-2017_32-bit.iso";
var cdrom_full = "../download/" + image_name;
var emulator = window.emulator = new V86Starter({
memory_size: 256 * 1024 * 1024,
vga_memory_size: 16 * 1024 * 1024,
screen_container: document.getElementById("screen_container"),
bios: {
url: "seabios.bin"
},
vga_bios: {
url: "vgabios.bin"
},
cdrom: {
url: cdrom_full
},
autostart: true
});
}
</script>
</body>
</html>