Update operating systems
This commit is contained in:
parent
44b3562067
commit
6c82b0495f
|
@ -10,9 +10,13 @@
|
|||
<div>
|
||||
<div id="boot_options">
|
||||
<h4>Quickstart</h4>
|
||||
<input type="button" value="Windows 95 (12.0 MB)" id="start_windows95">
|
||||
- Restored from snapshot<br>
|
||||
<input type="button" value="FreeBSD (13.0 MB)" id="start_freebsd">
|
||||
- Restored from snapshot<br>
|
||||
<input type="button" value="Oberon (16.0 MB)" id="start_oberon">
|
||||
- Native Oberon 2.3.6 (<a href="https://lists.inf.ethz.ch/pipermail/oberon/2013/006844.html">via</a>)<br>
|
||||
<input type="button" value="Windows 98 (16.0 MB)" id="start_windows98">
|
||||
<input type="button" value="Windows 98 (12.0 MB)" id="start_windows98">
|
||||
- Including Minesweeper, additional sectors are loaded as needed<br>
|
||||
<input type="button" value="Arch Linux (10.1 MB)" id="start_archlinux">
|
||||
- A complete Arch Linux restored from a snapshot, additional files are loaded as needed<br>
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
/** @const */
|
||||
var HOST = ON_LOCALHOST ? "" : "//i.copy.sh/";
|
||||
|
||||
/** @const */
|
||||
var OTHER_HOST = ON_LOCALHOST ? "" : "//j.copy.sh:8880/";
|
||||
|
||||
function dump_file(ab, name)
|
||||
{
|
||||
if(!(ab instanceof Array))
|
||||
|
@ -29,7 +32,8 @@
|
|||
if(document.createEvent)
|
||||
{
|
||||
var ev = document.createEvent("MouseEvent");
|
||||
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||
ev.initMouseEvent("click", true, true, window,
|
||||
0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
||||
a.dispatchEvent(ev);
|
||||
}
|
||||
else
|
||||
|
@ -154,7 +158,8 @@
|
|||
{
|
||||
if(!("responseType" in new XMLHttpRequest))
|
||||
{
|
||||
alert("Your browser is not supported because it doesn't have XMLHttpRequest.responseType");
|
||||
alert("Your browser is not supported " +
|
||||
"because it doesn't have XMLHttpRequest.responseType");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -358,445 +363,15 @@
|
|||
"size": 142924774,
|
||||
},
|
||||
hda: {
|
||||
"url": "../v86-images/os/freebsd3.img",
|
||||
"url": ON_LOCALHOST ? "../v86-images/os/freebsd3.img" :
|
||||
OTHER_HOST + "images/freebsd3.img",
|
||||
"size": 17179869184,
|
||||
"async": true,
|
||||
},
|
||||
name: "FreeBSD",
|
||||
},
|
||||
{
|
||||
id: "archlinux2",
|
||||
name: "Arch Linux",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
vga_memory_size: 8 * 1024 * 1024,
|
||||
boot_order: 0x132,
|
||||
|
||||
hda: {
|
||||
url: "http://localhost/v86-images/arch3.img",
|
||||
size: 16 * 1024 * 1024 * 1024,
|
||||
async: true,
|
||||
},
|
||||
|
||||
filesystem: {
|
||||
"basefs": {
|
||||
"url": HOST + "images/fs.json",
|
||||
"size": 7510249
|
||||
},
|
||||
"baseurl": HOST + "arch/",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
DEBUG && oses.push.apply(oses, [
|
||||
{
|
||||
id: "freebsd_boot",
|
||||
boot_order: 0x132,
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/freebsd.img",
|
||||
"size": 17179869184,
|
||||
"async": true,
|
||||
},
|
||||
name: "FreeBSD",
|
||||
},
|
||||
{
|
||||
id: "windowsme",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/windows/Windows Me/windowsme.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows ME",
|
||||
},
|
||||
{
|
||||
id: "windowsme2",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/winme.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows ME",
|
||||
},
|
||||
{
|
||||
id: "archlinux_cd",
|
||||
name: "Arch Linux",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
vga_memory_size: 1 * 1024 * 1024,
|
||||
cdrom: {
|
||||
//url: "/v86-images/os/archlinux-2016.07.01-dual.iso",
|
||||
url: "/v86-images/os/archlinux-2016.10.01-dual.iso",
|
||||
size: 830472192,
|
||||
async: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "archlinux_cd_state",
|
||||
name: "Arch Linux",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
vga_memory_size: 8 * 1024 * 1024,
|
||||
cdrom: {
|
||||
url: "/v86-images/os/archlinux-2016.07.01-dual.iso",
|
||||
size: 785383424,
|
||||
async: true,
|
||||
},
|
||||
state: {
|
||||
"url": "http://localhost/v86-images/os/state_arch.bin",
|
||||
},
|
||||
},
|
||||
//{
|
||||
// id: "dsl",
|
||||
// cdrom: {
|
||||
// "url": "https://dl.dropboxusercontent.com/u/61029208/dsl-4.11.rc2.iso",
|
||||
// "async": true,
|
||||
// },
|
||||
// name: "Damn Small Linux",
|
||||
//},
|
||||
{
|
||||
id: "dsl",
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/dsl-4.11.rc2.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "Damn Small Linux",
|
||||
},
|
||||
{
|
||||
id: "tinycore",
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/TinyCore-current.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "Tinycore",
|
||||
},
|
||||
{
|
||||
id: "ttylinux",
|
||||
cdrom: {
|
||||
"url": "images/ttylinux-pc_i486-2015.01.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "ttylinux",
|
||||
},
|
||||
{
|
||||
id: "9pboot",
|
||||
cdrom: {
|
||||
"url": "images/9pboot.iso",
|
||||
"async": false,
|
||||
},
|
||||
name: "9p Linux image",
|
||||
filesystem: {
|
||||
"basefs": {
|
||||
"url": "http://localhost/v86-images/fs.json",
|
||||
"size": 7510249,
|
||||
},
|
||||
"baseurl": "http://localhost/v86-images/arch/",
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "windows95_boot",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/W95.IMG",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows 95",
|
||||
boot_order: 0x132,
|
||||
},
|
||||
{
|
||||
id: "windows98_boot",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "images/windows98.img",
|
||||
//"url": "http://joey/v86/images/windows98.img",
|
||||
"async": true,
|
||||
"size": 300 * 1024 * 1024,
|
||||
},
|
||||
//cdrom: {
|
||||
// "url": "../v86-images/os/windows98.img",
|
||||
// "async": false,
|
||||
//},
|
||||
name: "Windows 98",
|
||||
boot_order: 0x132,
|
||||
},
|
||||
{
|
||||
id: "windows31",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/windows31.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows 3.1",
|
||||
},
|
||||
{
|
||||
id: "windows30",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/Win30.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows 3.0",
|
||||
},
|
||||
{
|
||||
id: "windows30_quick",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/Win30.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows 3.0",
|
||||
state: {
|
||||
"url": "http://localhost/v86-images/state-windows30.bin",
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "windowsxp",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/windows/xp.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows XP",
|
||||
},
|
||||
{
|
||||
id: "windows2000",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/windows/windows_2000_server/win2000.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows 2000",
|
||||
},
|
||||
{
|
||||
id: "windows7",
|
||||
memory_size: 512 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/windows7.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows 7",
|
||||
},
|
||||
{
|
||||
id: "fdgame",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/fdgame135_HD.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "FreeDOS games",
|
||||
},
|
||||
{
|
||||
id: "reactos_hd",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
hda: {
|
||||
//"url": "../v86-images/os/reactos-latest.img",
|
||||
//"url": "../v86-images/os/ReactOS.img",
|
||||
"url": "../v86-images/os/react-0.4.2-installed.img",
|
||||
"async": true,
|
||||
},
|
||||
//state: {
|
||||
// "url": "../v86-images/os/reactos-state.bin",
|
||||
//},
|
||||
name: "React OS",
|
||||
},
|
||||
{
|
||||
id: "reactos2",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/reactos-livecd-66712-dbg.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "React OS",
|
||||
},
|
||||
{
|
||||
id: "reactos3",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/livecd-72079-dbg.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "React OS",
|
||||
},
|
||||
{
|
||||
id: "reactos3_state",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/livecd-72079-dbg.iso",
|
||||
"async": true,
|
||||
},
|
||||
state: {
|
||||
"url": "../v86-images/os/reactos-state3.bin",
|
||||
},
|
||||
name: "React OS",
|
||||
},
|
||||
{
|
||||
id: "reactos",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/reactos-livecd-compiled.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "React OS",
|
||||
},
|
||||
{
|
||||
id: "reactos_installation",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/ReactOS-0.4.2.iso",
|
||||
"async": true,
|
||||
},
|
||||
name: "React OS",
|
||||
},
|
||||
{
|
||||
id: "winnt",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/nt.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows NT",
|
||||
},
|
||||
{
|
||||
id: "windowsme",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/windows/Windows Me/windowsme.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows ME",
|
||||
},
|
||||
{
|
||||
id: "windowsme2",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/winme.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "Windows ME",
|
||||
},
|
||||
{
|
||||
id: "openbsd_hd",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/openbsd.img",
|
||||
"async": true,
|
||||
"size": 8589934592,
|
||||
},
|
||||
name: "OpenBSD",
|
||||
},
|
||||
{
|
||||
id: "netbsd",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/netbsd-boot.iso",
|
||||
"size": 6731776,
|
||||
"async": true,
|
||||
},
|
||||
name: "NetBSD",
|
||||
},
|
||||
{
|
||||
id: "haiku",
|
||||
memory_size: 256 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/haiku-nightly-anyboot.image",
|
||||
"async": true,
|
||||
},
|
||||
name: "Haiku",
|
||||
},
|
||||
{
|
||||
id: "haiku_cdrom",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/haiku.iso",
|
||||
"size": 615106560,
|
||||
"async": true,
|
||||
},
|
||||
name: "Haiku",
|
||||
},
|
||||
{
|
||||
id: "android",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/android-x86-1.6-r2.iso",
|
||||
"size": 54661120,
|
||||
"async": true,
|
||||
},
|
||||
name: "Android",
|
||||
},
|
||||
{
|
||||
id: "ubuntu5",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/ubuntu-5.10-live-i386.iso",
|
||||
"size": 657975296,
|
||||
"async": true,
|
||||
},
|
||||
name: "Ubuntu 5.10",
|
||||
},
|
||||
{
|
||||
id: "nodeos",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/nodeos/rootfs.iso",
|
||||
"async": true,
|
||||
},
|
||||
hda: {
|
||||
"url": "../v86-images/os/nodeos/usersfs.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "NodeOS",
|
||||
},
|
||||
{
|
||||
id: "qbasic",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
fda: {
|
||||
"url": "../v86-images/os/qbasic.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "FreeDOS + qbasic",
|
||||
},
|
||||
{
|
||||
id: "os2_3",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/os2/3/disk.img",
|
||||
"async": true,
|
||||
},
|
||||
name: "OS/2 3",
|
||||
},
|
||||
{
|
||||
id: "os2_4",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
hda: {
|
||||
"url": "../v86-images/os/os2_4.img",
|
||||
"async": true,
|
||||
},
|
||||
boot_order: 0x132,
|
||||
name: "OS/2 4",
|
||||
},
|
||||
{
|
||||
id: "helenos",
|
||||
memory_size: 128 * 1024 * 1024,
|
||||
cdrom: {
|
||||
"url": "../v86-images/os/HelenOS-0.5.0-ia32.iso",
|
||||
"async": false,
|
||||
},
|
||||
name: "HelenOS",
|
||||
},
|
||||
{
|
||||
id: "noboot",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
name: "No bootable device",
|
||||
},
|
||||
{
|
||||
id: "404",
|
||||
memory_size: 64 * 1024 * 1024,
|
||||
name: "No bootable device",
|
||||
cdrom: {
|
||||
"url": "<NULL>",
|
||||
"size": 657975296,
|
||||
"async": false,
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
var query_args = get_query_arguments();
|
||||
var profile = query_args["profile"];
|
||||
|
||||
|
@ -1630,7 +1205,8 @@
|
|||
var debug = emulator.v86.cpu.debug;
|
||||
|
||||
var debug_infos = $("debug_infos");
|
||||
debug_infos.textContent += " | logging ops: " + (debug.step_mode || debug.trace_all ? "yes" : "no");
|
||||
debug_infos.textContent += " | logging ops: " +
|
||||
(debug.step_mode || debug.trace_all ? "yes" : "no");
|
||||
|
||||
$("step").onclick = debug.step.bind(debug);
|
||||
$("run_until").onclick = debug.run_until.bind(debug);
|
||||
|
|
Loading…
Reference in a new issue