Patched QEMU i386, SPARC, HPPA builds & OS4.2 drivers (incl mouse integration)

Started by Ostrich, Oct 23, 2026, 06:03 PM

Previous topic - Next topic

Ostrich

I've made available Linux, Windows, and macOS builds of QEMU that are compatible with OPENSTEP 4.2 for i386 and NEXTSTEP 3.3 for i386, SPARC, and HPPA:

GitHub: https://github.com/ostrich/openstep-qemu
Releases: https://github.com/ostrich/openstep-qemu/releases

I've only tested the Linux builds of the emulators. I don't have a Windows or macOS system to test those builds on.

HPPA includes Artist Color support. It's still experimental; visual artifacts are present and colors aren't perfect. The SPARC emulator should work with SPARC OS4.2 as well, but I haven't tested it.

Additionally, I've made drivers available for OS4.2 i386 that significantly improve user experience. They all require the patched QEMU:

GitHub: https://github.com/ostrich/openstep-drivers
Releases: https://github.com/ostrich/openstep-drivers/releases

I strongly recommend trying out especially the VMTablet and VMWareFB drivers. VMTablet provides mouse integration like a modern VM guest with an aligned host/guest pointer and natural mouse exit/re-entry. VMWareFB adds high resolution options and 2D acceleration.

TCPBuffers improves network throughput with any virtualized network card by increasing the default 4KB socket buffers to 32KB. EIDE 4.03 bus-master patch is a binary patched version of the extant EIDE 4.03 driver that enables bus mastering when selected in the driver rather than needing a helper. It's possible that these don't require the patched QEMU and will work in VirtualBox or on real hardware, but I haven't tested those scenarios.

The virtio drivers are stable and functional and do improve performance, but the advantages aren't as great as the other drivers. If using paravirtualization on your VMs pleases you as it does me, give them a try.

jade_nekotenshi

Oooh, this is really cool! Maybe we should combine our forks - it looks like you got HPPA working, and I put some significant enhancements into SPARC.

Ostrich

Definitely. Truthfully I've barely tested the SPARC and HPPA emulators. I've just been using them to test fat binaries I've been making with my (soon to be released) Linux-based GCC 16.1 cross compiler for NEXTSTEP toolchain.

jade_nekotenshi

My fork is here.

My main additions were:
24-bit modes for Turbo CX
SX/CG14
TGX+/CG6
SS4/SS5 audio (was already partly implemented, I just finished it)
SS10/SS20 DBRI audio (works for me, though it hasn't been banged on very hard)
SCSI timing fix (though mine is definitely a kluge - I suspect yours is probably better.)

jade_nekotenshi

I looked into the SCSI timing fix - it's kind of a horse a piece. Mine is a disgusting hack, yours is a lot cleaner, but mine allows throughput closer to 20MB/s - but doing that is less accurate.

It looks to me like all your i386 and HPPA changes would merge into my fork without a problem - we'd have to hash out the SPARC changes but you fixed a few things I'm pretty sure I didn't touch, and it'd be worth keeping those fixes. You've also got an actual build system and have binaries to distribute, which I don't. I think we'd definitely benefit from collaborating here.

Incidentally, the SPARC le (Lance) ethernet is supported at least under OPENSTEP 4.2 and works - I didn't have to monkey with it. I did add Sbus HME by reusing the PCI HME code, but that's mostly for Solaris/BSD/Linux. (I clanked up an OPENSTEP HME driver, but you don't really need it, it's just there for completeness.)