Reverted to the old JS logic. Minor text alignment updates.
This commit is contained in:
parent
40bf9a2b13
commit
03d5b8d46c
@ -24,8 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="white-space: pre; font: 12px monospace;">
|
<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
|
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.
|
||||||
properly in it. All CPU instructions are emulated via JavaScript and the boot process may take 10-20 minutes.
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="libv86.min.js"></script>
|
<script src="libv86.min.js"></script>
|
||||||
@ -34,10 +33,6 @@
|
|||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
var image_name = 'minimal_linux_live_20-Jan-2017_32-bit.iso';
|
var image_name = 'minimal_linux_live_20-Jan-2017_32-bit.iso';
|
||||||
var cdrom_full = '../download/' + image_name;
|
var cdrom_full = '../download/' + image_name;
|
||||||
var hostname = window.location.hostname;
|
|
||||||
if(hostname = 'ivandavidov.github.io') {
|
|
||||||
cdrom_full = 'https://github.com/ivandavidov/minimal/releases/download/20-Jan-2017/' + image_name
|
|
||||||
}
|
|
||||||
var emulator = window.emulator = new V86Starter({
|
var emulator = window.emulator = new V86Starter({
|
||||||
memory_size: 256 * 1024 * 1024,
|
memory_size: 256 * 1024 * 1024,
|
||||||
vga_memory_size: 16 * 1024 * 1024,
|
vga_memory_size: 16 * 1024 * 1024,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user