Mods, if this breaks any rules please let me know and I'll do what I can to fix the issues!
TL;DR: Spent the last few couple weeks making Claude work on Copland D11E4 to get it "usable" so people can play around with it and its code more easily.
Hi all, here recently I have been making an effort (with the use of Claude and and lightly modified DingusPPC emulation) to get Copland to be stable and "usable." The project work started with D11E4, and has been ongoing for roughly two weeks now, but as shown in the screenshot the work done has gotten the 68K environment (which in the D11E4 archive is *extremely* incomplete and unstable) to be able to run several 68K-only applications with protected memory so that their crashing (should it occur) doesn't bring down the entire OS.
Let me state here very clearly: I do not know how to code, I don't know C or C++, C99, Forth, or any of it. I am just someone who has been fascinated by Copland and its failure since I was a kid twenty years ago. My primary motivation in using Claude is that I think it'll be easier for people to fix slop code that works than "real" code that just doesn't, and I wanted to make my dream of people (myself included lol) being able to play with this operating system more fully come true. To that end, I've had The Machine (my nickname for Claude, because I do not like personifying these things) produce *copious* amounts of documentation that anyone interested can comb through and pick at.
There are a number of other changes that are being investigated (Addition of USB compatibility) or else have already successfully been made (RAM ceiling of 64MB has been broken to up to 256MB), however I urge limits to any excitement as this is all purely in emulation at the moment. I am also open to sharing a prototype patcher program with people who are interested in trying it out themselves. An expanatory list of terms is included at the end. The ten most major changes I can list at the moment are:
- Copland D11E4 runs in emulation: It boots to a working Finder desktop on DingusPPC, with a clean-room C99 PowerPC toolchain and a PEF converter (`elf2pef`, now v3.5) for building Copland-loadable code (Alpha A1–A4).
- The Finder was rebuilt and stabilized: through Beta B1 "Tidewater" and B2 "Outer Banks": the resource fork was rebuilt and the stability patches were promoted. A dedicated, always-connected external debugging machine is no longer required.
- The Beige G3 (`pmg3dt`) went from no boot to a full desktop: Failures F-08 to F-22 covered the Open Firmware shim, the Grackle PCI bus, Heathrow MESH SCSI, audio, the ATI display and RAM support up to 256 MB. Copland now runs on a second machine model.
- A standard adversarial stress suite and failure ledger exist: STRESS-01-13 and the B2-S matrix found and fixed F-01-F-06 (QuickDraw, Finder copy, Window Manager, Navigation, Dialogs), including an end-to-end QuickDraw GX disk write.
- The B3 Copland Stress Suite (CST-01 to 15) was built: in-guest C99/PPC/68K and Forth tests, with full passes on both machines.
- Native System 7.5.5 reference machines were set up: a Power Mac 7500 and a Quadra 800, both in emulation. Copland's 68K behavior can now be measured side by side against real Mac OS.
- The 68K Blue Box was made survivable (F-24): exception vectors restored, and a crashing classic app now ends with the native "unexpectedly quit" alert instead of killing itself through recursive faults.
- The 68K compatibility series (FBB-1 to 6 and D-items) fixed real programs: Pack7, MACEVersion, LayerDispatch, HyperCard menus, Navigation default locations, truncate-and-rewrite data loss and more. They're verified with a 7-program comparison runner.
- The golden image builder is reproducible: Images are rebuilt byte-for-byte from the original D11E4 media with no hidden steps. Today it gained F-22 (F-25 fix), so the Beige G3 golden boots at 256 MB again.
- Copland's own components are being rebuilt to Apple's ABI (B3 gates):
- PageAllocator (G1).
- Driver binding (G2), now verified at 256 MB.
- A D11E4-matching BlockStorageServer rebuild (G3). Today's A/B test: it boots and saves files exactly like Apple's original on both machines, while the minimal-fix version cannot boot. The last minimal-fix run on the Beige G3 is still in progress.
Explanation of terms:
Project stages and codenames:
- **Copland D11E4**: Copland was Apple's codename for the unreleased Mac OS 8 project (1994–96). D11E4 is the specific developer build this project reconstructs and runs.
- Alpha (A1–A4): the first phase. It got Copland booting in the DingusPPC emulator and set up the clean-room build toolchain.
- Beta milestones: the project's own internal milestone names. Each "Beta" stage has a codename:
- *B1 "Tidewater"*: Finder resource rebuild and the first Beige G3 boot shim.
- *B2 "Outer Banks"*: Finder stability patches (closed 2026-11-22).
- *B2-S*: the stress and Beige G3 bring-up extension of B2 (closed by decision 2026-11-30).
- *B3 "Piedmont"*: the current stage, focused on 68K compatibility and the stress suite.
- *B4*: the next stage. One of its exit gates is removing as much Python code as possible from the project. Unfortunately, due to the use of Ghidra and some of Claude's helper tools, the usage of Python is not entirely able to be phased out as of yet, but the hope is that by the end Python will have been replaced entirely by fully native languages that Copland itself can make use of.
- *Golden image*: the approved, promoted Copland disk image for each machine. Golden images are never edited in place. Changes go into staged or scratch copies and are promoted only after I test and approve them myself.
Failure numbering:
- F-Series (F-01, F-02, …): the numbered failures of the Beta stage. Each is a crash, hang or fault found in testing that gets dissected (root-caused) and cleared (fixed and verified live). Every cleared F-failure gets a technical deep-dive report and updates to five project documents. The series is Beta-only; a new series starts at the final stages.
- FBB (FBB-1, FBB-2, …): a sub-series for failures in the 68K runtime: classic Mac programs misbehaving under Copland's compatibility layer. Examples are FBB-1 (missing number-conversion routines that hung TattleTech) and FBB-5 (HyperCard showing no menus).
- D-items (D2, D3, …): unnumbered defects found by comparing Copland against the native System 7.5.5 machines. They are behavior differences, smaller than a numbered failure.
- Blue Box: the environment inside Copland that runs classic 68K Mac applications.
Test suites:
- STRESS-01 to 13: the B2-S adversarial stress tests.
- CST-01 to 15: the B3 Copland Stress Suite. It runs inside the guest and covers memory, windows, files, 68K exceptions and more.
- A-01 to A-10 / X-scenarios: the side-by-side comparison runs of real programs on Copland and the native 7.5.5 references. For example, A-01 is first launches of seven programs and X-RSV is a ClarisWorks re-save.
B3 closure gates:
These are three conditions that must be met before B3 can close, set in ADR-0008:
- G1: PageAllocator. The rebuilt memory page allocator must accept the arguments D11E4 actually passes. It now matches Apple's 8-argument calling convention.
- G2: driver binding. The in-guest USB driver must be loaded and bound by Copland's device manager. It now binds and probes the USB controller, verified up to 256 MB.
- G3: BlockStorageServer. The 64-bit argument mismatch in the storage server's exported I/O call must be resolved. It was first fixed minimally; today it was rebuilt fully to match D11E4.
Tools Used:
- "elf2pef": the project's converter from standard GCC output (ELF object files) into PEF, the executable format Copland's Code Fragment Manager loads. It handles the differences between GCC's calling convention and Apple's: entry thunks, stack arguments and imported variables. Version 3.5, added today, lets internal functions be handed to the kernel as task entry points.
- DingusPPC: the open-source PowerPC Mac emulator the project runs Copland on, with project patches.
- TLLNub: Copland's low-level debugger link, which the test harness listens to for crash and assert reports.
If you have any questions, please feel free to ask! I don't think that the Claude version is or can be the one that people turn to when they decide they want to mess with this abandoned OS, but I do hope that it will give people the drive and incentive to explore and mess with it on their own.