121 points · by todsacerdoti · 1y ago · 20 comments
But, if you've loaded Emm386, it already has the machine in protected mode with its kernel in ring 0.
GEMMIS allows switching out the kernel, and later switching back.
In my case (for a custom hypervisor for a sadly cancelled project) it wasn't a problem because the hypervisor quit itself in early guest boot, which is single CPU only.
Fortunately, we won't have to suffer x86 much longer.
AMD and Intel have no reason to leave x86. ARM is certainly crowding into their markets, but this isn't the first time, and there's room for multiple architectures.
Either way there is definitely room for multiple architectures for a long while. Even if one believes ARM or RISC-V or whatever will be the end of x86 it would still take a decade to stop seeing new x86 CPU designs come out just from the momentum.
x86 will probably get at least a similar lifetime beyond the point where it's clearly dead. And then those systems will likely last another ten years. Maybe there will be retro builds for even longer (Intel Quark was more or less an OG pentium, 20 years later)
The design is basically an overextension of the 8008 processer, which assumed 64k of memory and manually programmed in assembly. We've expanded that design for 40 years, and the whole software design philosophy below it has changed. Every design will suffer in these conditions.
Meanwhile, almost all info about it is in the open. Culture has closed a lot, even including stuff like RISC V.