minimal/docs/www/emulator/index.html
2018-01-06 23:54:01 +02:00

49 lines
1.7 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 bios uefi" />
<meta name="author" content="Ivan Davidov - davidov (dot) i [at] gmail {dot} com" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="../assets/img/favicon.ico" />
<title>Minimal Linux Live in JavaScript PC emulator</title>
</head>
<body>
<div id="title" style="white-space: pre; font: 20px monospace;">
Minimal Linux Live (version 28-Jan-2018)
</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_28-Jan-2018_32-bit_bios.iso';
var cdrom_full = '../download/2018/' + 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>