The m68k kernel analysis and reimplementation work for OPENSTEP 4.2 has complete

Started by onionmixer, Nov 09, 2026, 05:31 AM

Previous topic - Next topic

onionmixer

https://github.com/onionmixer/openstep-kernel-remade

It turns out the OPENSTEP m68k kernel doesn't include libobjc or DriverKit. Because all the drivers were packed directly into the kernel itself, analyzing it took quite a bit of time—much longer than I expected.

It took about a full month. With this, the analysis and reimplementation of both the x86 and m68k kernels are finally complete. (Since I was juggling other projects at the same time, I couldn't dedicate my AI token quota entirely to this.)

Please note that for a few sections of the m68k kernel code, it was extremely difficult to reproduce the exact behavior without keeping the raw assembly. For those parts, I used the disassembly output directly.

Personally... once the analysis across all platforms is wrapped up, I'm hoping to analyze the black hardware firmware, upgrade the SCSI driver code for the m68k kernel, and try attaching libobjc and DriverKit. But I'll make that call after finishing the SPARC kernel analysis.

That leaves mostly the SPARC code to tackle. Even if it takes a bit of time... thanks to the folks in the community working on qemu-sparc, I'm confident we can pull it off. The SPARC kernel actually includes libobjc and DriverKit, so it shares a lot more similarities with the x86 kernel.

Anyway, I hope these results prove helpful to everyone in the community. As for fully integrating the x86 and m68k kernels? That will probably have to wait until the SPARC analysis and reimplementation are complete.

ZombiePhysicist

Wow that's amazing progress. Thanks for taking on this amazing feat and for sharing your progress!

onionmixer

Quote from: ZombiePhysicist on Nov 09, 2026, 11:02 PMWow that's amazing progress. Thanks for taking on this amazing feat and for sharing your progress!

Now only SPARC is left... Though it'll still take some time :D

Rhetorica

This is fantastic work. I think it's time I gave you those 3.x sources, since they probably do contain the missing m68k-specific code. I'll send you a forum PM.
WARNING: preposterous time in Real Time Clock -- CHECK AND RESET THE DATE!