www. O S N E W S .com
News Features Interviews
BlogContact Editorials

MPW, Carbon and building Classic Mac OS apps in OS X
By Thom Holwerda on 2015-01-24 23:17:30

Steven Troughton-Smith:

Just to provide an example for this post, I put together a trivial drawing app called BitPaint. It isn't very interesting, but it should illustrate a few things:

  1. What's involved in bringing a trivial classic Mac app to Carbon
  2. How the Classic Mac OS build process works
  3. How much source compatibility exists between 1984's Toolbox and Carbon today

The answer to the third question is surprising: a lot. In fact, Steven managed to build an application that runs on every version of Mac OS/OS X, all the way from System 1.0 to today's OS X 10.10 Yosemite. I've been following Steven's progress (and by following I mean 'looked at pretty screenshots' because I don't understand the developer stuff), and it's quite incredible to see a single codebase run on such a long string of Mac OS/OS X releases.

A crucial aspect in this whole endeavour has been mpw, "an m68k binary translator/emulator whose sole purpose is to try and emulate enough of Classic Mac OS to run MPW's [note the caps!] own tools directly on OS X".

I am incredibly psyched about mpw. Its developer, ksherlock, has been very responsive to everything I've come up against as I stress test it against various tools and projects.

Right now it's a fully usable tool that makes Classic Mac OS compilation possible and easy to do on modern versions of OS X, without requiring emulators or ancient IDEs or the like. To my knowledge, this is the first time this has been possible (excluding legacy versions of CodeWarrior).

This entire post is a must-read.

13  Comments - Printer friendly - Related stories
Recent related stories
- "We need to document macOS" - 2017-08-13
- Building the XNU kernel on Mac OS X Sierra - 2017-07-13
- Apple showcases macOS High Sierra - 2017-06-05
- Hackintoshes show that Apple should just build a Mac tower - 2017-05-01
- Darwin 0.1 and Rhapsody DR 2 booted - 2017-04-24
- More related articles
 

Tell a friend
Your full name:
Your email address:
Your friend's email:
Anti-spam measure:
5+2=

News Features Interviews
BlogContact Editorials


WAP site - RSS feed
© OSNews LLC 1997-2007. All Rights Reserved.
The readers' comments are owned and a responsibility of whoever posted them.
Prefer the desktop version of OSNews?