Add SerenityOS

This commit is contained in:
Fabian 2022-01-14 17:23:25 -06:00
parent 18ab3e8a81
commit 0199a44a0e
4 changed files with 39 additions and 2 deletions

View file

@ -80,7 +80,7 @@ Here's an overview of the operating systems supported in v86:
- OpenBSD works with a specific boot configuration. At the `boot>` prompt type
`boot -c`, then at the `UKC>` prompt `disable mpbios` and `exit`.
- NetBSD works only with a custom kernel, see [#350](https://github.com/copy/v86/issues/350).
- SerenityOS doesn't work due to missing PAE support.
- Older versions of SerenityOS work (1.0.gc460f4a is a known working version).
You can get some infos on the disk images here: https://github.com/copy/images.

View file

@ -43,7 +43,10 @@
<tr id="start_9front"><td><a href="?profile=9front">9front</a> <small>4.4 MB</small></td><td>
A Plan 9 fork.</td></tr>
<tr id="start_haiku"><td><a href="?profile=haiku">Haiku</a> <small>46 MB</small></td><td>
Restored from snapshot. Includes network support.</td></tr>
An open-source operating system inspired by BeOS. Restored from snapshot. Includes network support.</td></tr>
<tr id="start_serenity"><td><a href="?profile=serenity">SerenityOS</a> <small>4.4 MB</small></td><td>
A graphical Unix-like operating system. Restored from snapshot.</td></tr>
<tr id="start_oberon"><td><a href="?profile=oberon">Oberon</a> <small>1.2 MB</small></td><td>
Native Oberon 2.3.6</td></tr>

View file

@ -223,6 +223,31 @@
].join(" "),
bzimage_initrd_from_filesystem: true,
},
{
id: "serenity",
name: "SerenityOS",
hda: {
"url": host + "serenity.img",
"async": true,
"size": 876 * 1024 * 1024,
use_parts: !ON_LOCALHOST,
},
memory_size: 512 * 1024 * 1024,
state: { url: host + "serenity_state.bin.zst", },
homepage: "https://serenityos.org/",
},
{
id: "serenity-boot",
name: "SerenityOS",
hda: {
"url": host + "serenity.img",
"async": true,
"size": 876 * 1024 * 1024,
use_parts: !ON_LOCALHOST,
},
memory_size: 512 * 1024 * 1024,
homepage: "https://serenityos.org/",
},
{
id: "haiku",
memory_size: 512 * 1024 * 1024,

View file

@ -635,6 +635,15 @@ if(cluster.isMaster)
},
],
},
{
name: "SerenityOS",
skip_if_disk_image_missing: true,
timeout: 2 * 60,
hda: root_path + "/images/serenity.img",
expect_graphical_mode: true,
expect_graphical_size: [1024, 768],
expect_mouse_registered: true,
},
{
name: "Tiny Core 11 CD",
skip_if_disk_image_missing: 1,