• We've made some quality of life improvements to the Trading Post. More info here.

DingusPPC: A more accurate PowerPC Mac emulator

One does need to be careful with benchmarks vis-a-vis real world performance since it depends a lot on the particular test's working set. If it's all in internal L1 caches, it'll show a huge improvement, but if you're spending a lot of time poking RAM, not as much....
Yes, I realise that, although some tasks are also small and repetitive. Different things are different, so a consistent workload, nicely broken down like in System Info can be informative regarding the strengths and weaknesses of a system and helps comparing.
Yeah, per Micromac it's a 16 bit RAM bus on those accelerators, reinforced by it permitting SIMMs to be installed in pairs. A strange choice for sure.
That's a bit daft. If you're going to put four slots on a 32bit bussed processor. Weird to hobble your accelerator when you need to compete with other vendors.
 
Last edited:
That's a bit daft. If you're going to put four slots on a 32bit bussed processor. Weird to hobble your accelerator when you need to compete with other vendors.
Yeah; I suspect it was a case of "we're moving to NuBus; let's just toss some extra capacity on our existing boards and tweak them for the last of our PDS offerings" thing. It didn't take long for Sonnet to eat up the market with their newer, superior designs. I just bought my accelerator a few months too soon :)
 
We've updated the emulator a little bit and now Mac OS X Public Beta can run. Just remember to set the date before May 14, 2001.
I had a go! I was able to run it on a Beige G3 in 64MB. It's fairly unstable. I kept crashing TextEdit just by changing font sizes and/or making text bold. Nano and Python are missing (for all I know they only appeared in Mac OS X 10.1).

MacOSX10_0Beta.jpg
Still, pretty cool.
 
Your screenshot once again reminds me that I'm very glad Apple didn't stick to that menu bar design. The centered, ornamental Apple menu icon feels very un-Mac like, and would have been profoundly confusing.

c
 
This emulator has been discussed in the Infinite Mac topic already, but I figured it deserves its own topic.

I've been working on this emulator for some time with a few other people. It's far from complete, but it's being actively developed.

DingusPPC's source code repository is here.

Releases for the emulator can be downloaded here.
Excited to see this. A very niche thing I'd still be curious to see is whether it can run any of the prerelease versions of since-abandoned Copland.
 
Excited to see this. A very niche thing I'd still be curious to see is whether it can run any of the prerelease versions of since-abandoned Copland.
Someone did try running an old version of Copland (D7E1) using the Power Mac 6100 emulation a while ago. They reached the point where the NuKernel loaded, but no further. You'll probably need to mess around with the kernel with a debugger if you have any hope of getting to the desktop, never mind making it usable.
 
Last edited:
As far as I know Copland requires two machines, you have to use one to debug the other over serial once NuKernel loads.
 
As far as I know Copland requires two machines, you have to use one to debug the other over serial once NuKernel loads.
Yep, that's correct. Ideally, you could emulate both. But the requirements for the machine running Copland are also pretty narrow. So much so that I've never gotten it to work, in spite of having some computers that theoretically should support it.

But if I start messing around with physical hardware for this again, I'll post a separate thread or look in existing ones. It's just something that would be neat to see in DingusPPC. But I get that it would be extremely niche.
 
As far as I know Copland requires two machines, you have to use one to debug the other over serial once NuKernel loads.
Is this true even for the DP0 Nodebug image? I thought that one worked on a single machine?
These days, to run the other Copland builds, I generally use two emulators; it's too crashy to run on actual hardware. I remember when the developer previews first came out, getting really frustrated because I could never get the guest system to stay functional for more than about 8 minutes; definitely not long enough to actually test anything on it.
 
I saw a video of someone booting it and it honestly seemed too fragile to bother with, but I certainly get the historical value.
 
You know, I bet an LLM could possibly figure the mess out and make it work somehow.

Copland's source code was never made public, and there's doubt that it even exists anymore, but I'm sure someone using Claude or some such could disassemble pieces of it and make something go.

Not that it would matter any, although for fun it might be neat to get something going that's functionally close to what Copland was meant to be, versus what it ended up being, because Mac OS 8 as it was released to the public was little more than Mac OS 7.6 dressed up in Copland's clothing, perhaps with some bugfixes and minor new features sprinkled in. No protected memory, no preemptive multitasking (though a limited and very low level form of such was introduced in 8.6).

c
 
I can't deny reconstructing the Copland source code would be interesting. I don't think it would be wise to rely on LLMs, though. I think some of the early builds also have not only debug symbols, but assertion messages.

Bringing it back to the topic of the emulator - We're currently trying to get some work in on the cached interpreter. This will be important if we want to make any further progress.
 
I can't deny reconstructing the Copland source code would be interesting. I don't think it would be wise to rely on LLMs, though. I think some of the early builds also have not only debug symbols, but assertion messages.
Ah, I see, so if I understand correctly, this means that a reasonably experienced programmer can, with some time and effort, deduce what's going on based on those debug symbols and assertion messages and reconstruct the source code (or a reasonable facsimile), yes?

c
 
Ah, I see, so if I understand correctly, this means that a reasonably experienced programmer can, with some time and effort, deduce what's going on based on those debug symbols and assertion messages and reconstruct the source code (or a reasonable facsimile), yes?

c
In short, yes. Probably not 1-1, but a reasonable facsimile.

Anyhow, I've been discussing about how to go about implementing the cached interpreter for a while.

There are several other bugs, missing features and what not we'll need to look into too.
 
In short, yes. Probably not 1-1, but a reasonable facsimile.

Anyhow, I've been discussing about how to go about implementing the cached interpreter for a while.

There are several other bugs, missing features and what not we'll need to look into too.
OK. A reasonable facsimile will probably be more reliable than a 1-1 copy, I would think (Copland is probably one of the buggiest, most broken pieces of software Apple ever released publicly).

EDIT: I just realized after re reading about Copland a bit that it was cancelled in August 1996... 30 years ago this month!

c
 
Last edited:
OK. A reasonable facsimile will probably be more reliable than a 1-1 copy, I would think (Copland is probably one of the buggiest, most broken pieces of software Apple ever released publicly).

EDIT: I just realized after re reading about Copland a bit that it was cancelled in August 1996... 30 years ago this month!

c
Apple never did release Copland publicly, AFAIK. Not even as a beta (or alpha) release. It was released to select developers under strict NDAs, and leaked.
 
Apple never did release Copland publicly, AFAIK. Not even as a beta (or alpha) release. It was released to select developers under strict NDAs, and leaked.
I remember having to sign a basic NDA, but I also remember it being really easy to do to get the developer previews. I just contacted Apple via my university email address, put "educational development" or something like that as the reason to request access, and they sent it. They didn't include it in the Developer CDs; they had a note saying it was available on request.

I only requested one DP though, and disposed of it pretty promptly, as I couldn't get it to actually do anything useful long enough to test my code. I figured I'd wait for a stable developer release to test further, and that never came.
 
This thread is about Dingusppc, but I do want to share a bit about what I've seen with Copland, as it may be useful to others.

The "non-debug" builds don't technically require a 2nd machine, but they still will crash, so one is desirable. The debug builds will constantly call the debugger with warnings and possible problems, so one is required.

Since all of the Copland's we have were unfinished, they all have serious bugs, such as corrupting their own file systems over time, for a start. There are a lot of things that were half-implemented or never completed, so thosel cause errors or crashes on purpose, to notify the apple developers that something still needed to be worked on.

The result is a "usable" system, to at least some extent, for as long as we keep in mind what it really is. Because of the constant crashes and debugger calls for the developers, it is a "bleeding edge", not even alpha quality, or at at was, at the time.

I've been able to use it enough to run a version of CodeWarrior, and build "new Copland applications", but personally think it is a high cost low benefit situation. Compared to Windows 95, Apple was only halfway there, and only would have gotten there with Gershwin, apon which work never even started.

----

The threading model is nice, for that day and age, but we ended up getting most of what it gave with multiprocessing services in MacOS 8.5+. I haven't looked, but have heard Apple even recycled the api's. Memory protection and virtual memory are, in theory, much more sophisticated than the classic MacOS we did get, but pales in comparison with even Windows 95.

The "blue box", same name but not the same as "classic" in MacOS X, is stuck in a single thread, and because they didn't have time to reimplement the toolbox and factor it out to be thread and memory safe, all "blue" tasks, which mean anything using the toolbox, is stuck in a single address space. Like MacOS 8.5+ you launch threads, but they can't call the toolbox. Memory is "protected", but all toolbox using apps will still happily stomp all over each other's heaps.

In the Copland documentation, as a selling point, they state in these cases solely the "blue box" would need to be restarted, so a "crash" wouldn't bring the system to a halt. It would just be a hiccup, not unlike restarting Classic in MacOS X. If this is possible in the builds we have, I do not see it doing that, so it may have just been on their TODO list.

----

So, what do you get? If you're writing "new code", unless you refactor your UI to use the new Human Interface SOM-based api, you are using "legacy" toolbox calls, which are identical (that was the point) to System 7.5, other than bells and whistles like themes and navigation services, which we ended up getting with MacOS 8.5+ anyway.

You get a very interesting kernel, from a technical standpoint (the io subsystem is a neat design....in theory), you get all the toolboxes split out so they are explicit shared libraries, and no longer a monolithic mystery. You get a lot of things, from a developer standpoint, that we ended up getting in 8.5+. Then there's the new SOM Human Interface, which is unlikely anyone will ever write code for.

----

In conclusion, in a fantasy (or maybe reality...these days...sigh...eh?) world where we used AI to "fix all the bugs", we'd still need to finish many missing parts (I haven't even looked at the state of networking). What we would have would arguably be "better" than MacOS 9, in many ways, but still inefficient and primitive compared to any modern system. The threading, virtual memory, protection, io and more ,were quite advanced, but only for that time

I'm still going to "poke at it", because it is a very interesting Apple cultural artifact, and "technically" interesting, but I am realistic about what this beast really is.
 
Back
Top