Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ww2_1943

macrumors 6502
Original poster
Nov 25, 2021
441
292
North NJ
I was thinking about classic Mac OS and the transition to PowerPC. If I understand correctly, there was residual 68k code in Mac OS 9.

I hope this question doesn’t sound too ridiculous.

Does modern MacOS (or up to what version) still have any residual code from the PowerPC days? Left over universal binaries perhaps?
 
  • Like
Reactions: Amethyst1
I'm not a verified source on this, but I'd say with reasonable certainty that there's no PPC code in at least Catalina and onward, and that there's a high chance that it's been stripped as early as Lion. With the simplicity of OS X apps, it would have been fairly easy to dump PPC binaries out of the Mac OS.
 
I'm not a verified source on this, but I'd say with reasonable certainty that there's no PPC code in at least Catalina and onward, and that there's a high chance that it's been stripped as early as Lion. With the simplicity of OS X apps, it would have been fairly easy to dump PPC binaries out of the Mac OS.

10.7 is the latest to have had some documented evidence for remnants of PPC code, AFAIK. If only Jobs did a smart thing and stayed with IBM, employing Cell for laptops.
 
I was thinking about classic Mac OS and the transition to PowerPC. If I understand correctly, there was residual 68k code in Mac OS 9.

I hope this question doesn’t sound too ridiculous.

Does modern MacOS (or up to what version) still have any residual code from the PowerPC days? Left over universal binaries perhaps?
The classic MacOS had residual 68K code because that code had been written in 68K assembly and, for whatever reason (if I had to guess, because it was highly optimized code, other code depended on the quirks of the particular implementation/optimization, and the people who had originally written it, e.g. Andy Hertzfeld, were long gone), not yet rewritten for PPC. That's one of the reasons the 68K emulator was embedded so deep into the classic Mac OS...

OS X (and the NeXT operating systems) is written in higher-level languages (just like Linux or NT-based Windows). When you compile for x86 or x64 or ARM or whatever target you pick, that's... what you get. And then you can combine binaries for different architectures into so-called universal binaries. (And then you have an emulator that's... much less integrated into anything... than the 68K emulator was. Which is why Rosetta/Rosetta 2 is less flexible than the 68K emulator was)

And, while Microsoft may have had good reason to loosen their emphasis on portability in the late 1990s/early 2000s when every non-x86 NT platform died, I think NeXT/Apple have learned the opposite lessons over decades - having a portable code base, having your code secretly compiled for other architectures in a secret lab, having the ability to add more architectures easily, etc gives you options that you may badly need. (Honestly, we know OS X _always_ ran on x86... and when do we think they started compiling the full thing for iPhone/iPad ARM chips? I'd guess in the early 2010s, if not earlier. Certainly I would expect all the ARM/tvOS-based Apple TVs have always run full Mac OS X in a lab deep inside Apple somewhere but it probably started much earlier.)
 
  • Like
Reactions: Basic75 and Nermal
As I understand it, the OS itself is coded in higher level languages (like Objective C for example), so it could be plausible that there is code still present in MacOS that was written during the PPC era. It's only when it's complied that machine specific code is generated.
 
As I understand it, the OS itself is coded in higher level languages (like Objective C for example), so it could be plausible that there is code still present in MacOS that was written during the PPC era. It's only when it's complied that machine specific code is generated.
MacOS is almost guaranteed to be full of largely-unchanged code from the NeXT days, along with BSD... plus, of course, all the code written in the PPC era to establish some of the core functionalities like Quartz Extreme...
 
  • Like
Reactions: psingh01
I was thinking about classic Mac OS and the transition to PowerPC. If I understand correctly, there was residual 68k code in Mac OS 9.

I hope this question doesn’t sound too ridiculous.

Does modern MacOS (or up to what version) still have any residual code from the PowerPC days? Left over universal binaries perhaps?
Other than the Rosetta translation layer to run PPC code on Intel machines, there shouldn't be any.

One of the key points of Mac OS X was that it was cross-platform from the start. It was based on NextStep, which (like the Mac OS) started out life on Motorola 680x0; but unlike Mac OS, it was ported next to *INTEL*. So Mac OS X moving to Intel in 2006 was actually a "return" for the codebase. (NextStep was also ported to Sun's "SPARC" architecture and HP's "PA-RISC".)

In fact, the early Mac OS X developer releases were even available for Intel! You could run the early Mac OS X on a bone-stock ThinkPad (as Steve Jobs famously did until the PowerBook G4 came out, IIRC.)
 
Will this run only on specific hardware?
I have this somewhere. Ran it on my 9600 at the time. I believe it came with a disc that installed yellow box on windows NT. Or maybe that was part of WebObjects for NT. I don’t remember now.
 
On the topic of Rhapsody, I've been meaning to try OS X Server 1.2v3 on my old G3 just to see what it's like. The release notes say that you need to plug the mouse into the keyboard, but my third-party keyboard doesn't have a port for the mouse. Does anyone know whether there's a workaround for this?
 
On the topic of Rhapsody, I've been meaning to try OS X Server 1.2v3 on my old G3 just to see what it's like. The release notes say that you need to plug the mouse into the keyboard, but my third-party keyboard doesn't have a port for the mouse. Does anyone know whether there's a workaround for this?

KDX servers had some archaic documentation downloads, I believe. Might be worth checking.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.