Nanolinux (experimental)
This commit is contained in:
parent
95e7ab23bb
commit
ba9f781cd1
|
@ -12,6 +12,7 @@
|
|||
<h4>Debugger</h4>
|
||||
<input type="button" value="KolibriOS" id="start_koli">
|
||||
<input type="button" value="Linux 2.6" id="start_linux">
|
||||
<input type="button" value="Nanolinux" id="start_nanolinux">
|
||||
<input type="button" value="Windows 1.01" id="start_win101">
|
||||
<input type="button" value="FreeDOS" id="start_freedos">
|
||||
<input type="button" value="OpenBSD" id="start_bsd">
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
- Graphical OS, takes about 60 seconds to boot<br>
|
||||
<input type="button" value="Linux 2.6 (5.4 MB)" id="start_linux">
|
||||
- With busybox, lua interpreter and test cases, takes about 20 seconds to boot<br>
|
||||
<!--<input type="button" value="Nanolinux (13.7 MB)" id="start_nanolinux">
|
||||
- Graphical Linux with a 3.0 kernel, takes about 5 minutes to boot<br>-->
|
||||
<input type="button" value="Windows 1.01 (1.4 MB)" id="start_win101">
|
||||
- Takes 1 second to boot<br>
|
||||
<input type="button" value="FreeDOS (0.7 MB)" id="start_freedos">
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
log_element.scrollTop = 1e9;
|
||||
}
|
||||
|
||||
|
||||
function dump_text(text)
|
||||
{
|
||||
var box = document.createElement("textarea");
|
||||
|
@ -632,12 +631,25 @@
|
|||
settings.cdrom = new SyncBuffer(buffer);
|
||||
set_title("Linux");
|
||||
init(settings);
|
||||
}, show_progress.bind(this, { msg: "Downloading image", total: 5632000 }));
|
||||
}, show_progress.bind(this, { msg: "Downloading image", total: 5666816 }));
|
||||
|
||||
$("start_linux").blur();
|
||||
$("boot_options").style.display = "none";
|
||||
};
|
||||
|
||||
//$("start_nanolinux").onclick = function()
|
||||
//{
|
||||
// load_file("images/nanolinux-1.2.iso", function(buffer)
|
||||
// {
|
||||
// settings.cdrom = new SyncBuffer(buffer);
|
||||
// set_title("Nanolinux");
|
||||
// init(settings);
|
||||
// }, show_progress.bind(this, { msg: "Downloading image", total: 14047232 }));
|
||||
|
||||
// $("start_linux").blur();
|
||||
// $("boot_options").style.display = "none";
|
||||
//};
|
||||
|
||||
$("start_koli").onclick = function()
|
||||
{
|
||||
load_file("images/kolibri.img", function(buffer)
|
||||
|
@ -826,7 +838,7 @@
|
|||
var have_serial = true;
|
||||
|
||||
var cpu = new v86(),
|
||||
screen_adapter = new ScreenAdapter();
|
||||
screen_adapter = new ScreenAdapter($("screen_container"));
|
||||
|
||||
$("boot_options").style.display = "none";
|
||||
$("loading").style.display = "none";
|
||||
|
|
Loading…
Reference in a new issue