Skip to content

Latest commit

 

History

History
187 lines (109 loc) · 8.32 KB

compatibility.md

File metadata and controls

187 lines (109 loc) · 8.32 KB

Compatibility

Most operating systems work fine with the default configuration (32 MB RAM, no floppy drive, APIC/PCI/ACPI enabled). However, you might need to increase the RAM size or enable floppy drives.

Note that some operating systems won't work in the browser version because support for disks larger than 4 GB haven't been implemented yet. Theoretically, this should be possible without much modification (blocks are indexed using 256K chunks, which allows for a theoretical maximum size of 2^50 bytes, or 1 TB),

BIOS

The ones below work fine. I haven't tried any others.

Bochs BIOS (bios.bin)

Works well, except a disk drive write delay bug. Patch is in docs/rombios.patch. This repository contains the patched ROM.

LGPL'ed VGABIOS (vgabios.bin)

Works well. Every operating system besides Buildroot can detect VESA

LGPL'ed VGABIOS

SeaBIOS

Works with latest commits. Use with SeaVGABIOS for maximum compatibility (remember to enable PCIVGA).

SeaBIOS

CD-ROM boots don't work yet because of bugs in the ATAPI emulation.

ET4000 ROM

Appears to work. Use in conjunction with Bochs BIOS.

ET4000

S3 Trio64 ROM ('86c764x1.bin')

Works as a generic VGA BIOS. Use in conjunction with Bochs BIOS.

DOS

All versions should work, although they might not boot from floppy disks due to unimplemented commands. Installing must be done on DOSBox or Bochs because swapping floppy disks is not supported.

Windows

Windows 1.01

Boots from floppy disk image.

Windows 2.02

Boots from floppy disk image.

Windows 3.1

Boots from a 10 MB hard disk image. Mouse is laggy because it doesn't use HLT.

Windows 95

Boots from a 250 MB hard disk image. Works very well

Windows 98 SE

Boots from a 300 MB hard disk image.

Windows ME

Boots and runs.

Windows NT 4.0

Installs, boots, and runs. Very stable. Can self-virtualize if SP6 is installed.

During install, DON'T let the installer auto-detect the video device! Manually change the VGA option by opening the following menu:

nt1

Pick the Standard VGA option.

nt2

The emulated video card is based on the ET4000, so that's what it detects. Currently, none of the SVGA extensions are implemented, and Windows gets confused and switches the screen off.

Disable Pentium 4 and Core Duo support in src/cpu/ops/misc.c. There's a well-known CPU detection bug that causes NT to triple fault during installation. You can re-enable higher-level CPU emulation after installation.

Works well in browser too. Don't forget to set up the disk configuration exactly as it was during installation or else you're going to get a INACCESSIBLE_BOOT_DEVICE error during startup.

Windows 2000

Boots and runs.

Windows XP

Installs, boots, and runs. Very stable. I recommend running with 128 MB RAM, although 32 MB works fine too.

Boots in browser, but takes a little bit of time. My installation transfers ~70 MB of data during boot.

Windows Vista

Takes forever to boot with the Pentium 4 CPU configuration. Set IPS to around 50,000,000 to get the nice Aero theme. Run with 512 MB of RAM.

Windows 7

The disk image I created requires a Pentium 4 or better to boot (it hangs on a #UD exception on FXSAVE). Boots to desktop and is somewhat usable. Can't use CDs because not all commands are implemented. Run with 512 MB of RAM.

Windows 8

BSODs with a KERNEL_DATA_INPAGE_ERROR. Probably a device problem. To test, enable the Core Duo emulation support.

See this issue.

Windows 10

Boots to desktop. Some stability problems because some SSE instructions cause #GP(0) exceptions when they aren't supposed to. Haven't really tested it.

OS/2

1, 2

Haven't tested. May not boot since floppy drive controller is completely inaccurate.

Warp 3

During boot, OS/2 will complain about how it can't load VCOM.SYS (but it will still boot). This is because we don't emulate serial ports. Edit the lines out of CONFIG.SYS.

Warp 4.5

Don't jiggle the mouse during boot. It confuses the keyboard controller, which then confuses OS/2. Otherwise, it boots fine and is very stable.

Linux

A recurring theme here is that the mouse and/or keyboard is not detected by the Linux kernel. I'm pretty sure that it's a hardware issue. Fixed in this commit.

ISO Linux

Boots from CD and runs.

Damn Small Linux

Boots from CD and runs. Slightly longer boot time than Windows XP. On the browser, run with the fast option to speed up boot.

Debian

Haven't tested with the new PAE improvements because I accidentally deleted my disk image.

TinyCore Linux

Boots fine. Run with 64 MB of RAM.

Red Star OS 2

Boots fine. Slightly laggy, but usable. Installed using QEMU.

Buildroot

Boots fine, no graphics (No displays found!). Most likely due to problems in VGA BIOS -- graphics don't work on Bochs either.

Mandrake Linux

Tried 5.1, fails to install (accessing sectors at end of file), otherwise boots fine when installed on different VM.

Kernel panic during install with 512 MB of RAM, PCIVGA, and SeaBIOS. No kernel panic during install with 32 MB of RAM, no PCIVGA, and Bochs BIOS.

Ubuntu

Tried 16.04 LiveCD, fails with a kernel panic. Interestingly, the same kernel panic occurs in Bochs 2.6.10. I have yet to find out why because I can't find a way to scroll up in the text mode console.

However, installing Ubuntu to a hard disk on QEMU and booting in Halfix works fine. Very, very slow, and complains that an internal exception has occurred (probably a SSE alignment exception gone wrong) but otherwise works. Run with the Core Duo emulation.

Due to bugs in IDE emulation, don't try running the OS with a CD-ROM inserted.

I have not tried versions besides 16.04.

Alpine Linux

Boots on native and browser, although it takes a while.

ReactOS

Works fine, from the LiveCD. though. Icons don't render when booted with VGA. However, they do render fine when VESA is enabled (remember to enable PCI VGA).

I have not tried versions besides 0.4.12.

9Front

Boots fine. Keyboard is a bit laggy, but works. Tested with 512 MB RAM, Bochs BIOS.

MenuetOS

Boots and runs. I chose 800x600 24 BPP, no MTRR accleration, PS/2 mouse, and floppy disk.

NeXTSTEP

Installed on Bochs. Follow directions here during install. Works well.

Tested version 3.3.

Software

Most programs that come pre-installed with various operating systems will work fine. In general, if the operating system boots to desktop, then most applications will work.

Windows

I've tested most versions of Internet Explorer, from versions 3.0 (Win95) to 9 (Win7). Notepad, WordPad, command prompts, etc. all seem to work perfectly fine. Many pre-bundled games work as well. I've tried Space Cadet Pinball on WinXP (and despite the timing issues, it's playable), Minesweeper on Win95 (playable, though I'm not very good at it), and a few other apps, and they work fine. Command prompt works fine too.

DOS-based applications work, both on Win9x and via NTVDM on WinNT.

Third-party applications work great, too. CPU-Z works. Halfix itself will run on anything newer than WinNT 4 SP6. A number of older browsers, including Netscape and Firefox, work very well. I use my WinXP VM to test untrusted executables that I download, and they work fine.

Microsoft Bob installed without a hitch.

OS/2

Tested a bunch of applications on Warp 4. Klondike Solitaire works well. So do many apps on Win-OS/2. I installed DeScribe 5 using this method from the readme, and it's usable, though it complains that it can't detect any non-existent printers. I don't have many OS/2-based apps to test with, then please let me know.

Linux

All standard utilities should work perfectly. Whether the X server will start or not is really up in the air -- some will (TinyCore, DSL, Ubuntu), others will not due to one reason or another. Regardless, rm -rf / works as expected. The latest release of node.js appears to work -- I can type in code into the prompt, require certain modules, etc. (though it may be a bit unstable because of buggy #GP SSE alignment faults).