Browse Source

Windows 2000 (#390, #296, #377)

Fabian 3 years ago
parent
commit
2ef8f4b552
3 changed files with 26 additions and 0 deletions
  1. 1 0
      debug.html
  2. 2 0
      index.html
  3. 23 0
      src/browser/main.js

+ 1 - 0
debug.html

@@ -31,6 +31,7 @@
         <input type="button" value="Windows 98" id="start_windows98">
         <input type="button" value="Windows 98 (boot)" id="start_windows98-boot">
         <input type="button" value="Windows 2000" id="start_windows2000">
+        <input type="button" value="Windows 2000 (boot)" id="start_windows2000-boot">
         <input type="button" value="Windows Me" id="start_windowsme">
         <input type="button" value="Windows Me (2)" id="start_windowsme2">
         <br>

+ 2 - 0
index.html

@@ -21,6 +21,8 @@
 
             <tr id="start_reactos"><td><a href="?profile=reactos">ReactOS</a> <small>18 MB</small></td><td>
             Windows-compatible OS. Restored from snapshot</td></tr>
+            <tr id="start_windows2000"><td><a href="?profile=windows2000">Windows 2000</a> <small>24 MB</small></td><td>
+            Including Pinball and Internet Explorer with internet access. Additional sectors are loaded as needed.</td></tr>
             <tr id="start_windows98"><td><a href="?profile=windows98">Windows 98</a> <small>9.7 MB</small></td><td>
             Including Minesweeper and Internet Explorer with internet access. Additional sectors are loaded as needed.</td></tr>
             <tr id="start_windows95"><td><a href="?profile=windows95">Windows 95</a> <small>4.6 MB</small></td><td>

+ 23 - 0
src/browser/main.js

@@ -382,6 +382,29 @@
                 name: "Bootchess",
                 homepage: "http://www.pouet.net/prod.php?which=64962",
             },
+            {
+                id: "windows2000",
+                memory_size: 512 * 1024 * 1024,
+                hda: {
+                    "url": "images/windows2k.img",
+                    "async": true,
+                },
+                name: "Windows 2000",
+                state: {
+                    "url": HOST + "windows2k_state.bin.zst",
+                },
+                preserve_mac_from_state_image: true,
+            },
+            {
+                id: "windows2000-boot",
+                memory_size: 512 * 1024 * 1024,
+                hda: {
+                    "url": "images/windows2k.img",
+                    "async": true,
+                },
+                boot_order: 0x132,
+                name: "Windows 2000",
+            },
             {
                 id: "windows98",
                 memory_size: 128 * 1024 * 1024,