Normal Users Don’t Code On Their Mac, But Apple Keeps Trying

Most people use their computer to run pre-packaged programs: usually a web browser, games, or office applications. Whether the machine is a PC or a Mac, they don’t generally write their own software. For them, the computer is an appliance, and they do what their computer allows them to do.

It shouldn’t have to be that way, if only programming were easier. The Eclectic Light Company has a fascinating article looking at the various attempts that Apple has made to lure their users into creative programming.

Probably the most familiar of them all is AppleScript, with its origins in late 1993. Or maybe you’re thinking of Hypertalk, the scripting component of 1987’s Hypercard. That would go on to be a mainstay of mid-1990s multimedia software, but while it’s fallen by the wayside it’s AppleScript which still has support in the latest MacOS.

The biggest surprise for us lies in the forgotten products. 1989’s Prograph graphical language looks amazing. Was it simply before its time? In the modern era, Apple describes the reach of Shortcuts diplomatically: “its impact has so far been limited”.

Maybe the most forward-thinking line on programming from Apple came in 2007, even if it wasn’t recognized as such. The original iPhone didn’t have any third-party apps, and instead developers were supposed to write web apps to take advantage of the always-connected device. Would that be such a bad piece of advice to give a non-developer writing software for their Mac today?

Adding Power Over Ethernet Support To A Mac Mini

Wiring up a Mac Mini's new PoE module. (Credit: Ivan Kuleshov)
Wiring up a Mac Mini’s new PoE module. (Credit: Ivan Kuleshov)

Despite all the fancy features on modern Apple Mac systems like USB-C and Thunderbolt, they have one glaring omission: the absolute lack of any form of Power-over-Ethernet (PoE). This is an issue that [Ivan Kuleshov] sought to rectify with some delicate board-level surgery. Since the original Ethernet jack on the lucky vic^Wrecipient M1 Mac Mini does not have integrated magnetics (magjack), tapping into the appropriate lines would have been rather awkward, with questionable results on the side of the PCB traces that would suddenly be used for PoE purposes they were never designed for.

Rather than choosing this level of experimentation, [Ivan] decided to patch in the Silvertel AG5412 PoE module with plentiful patch wires. This involved removing the Ethernet jack and bypassing the PCB and the magnetics module completely for the new PoE functionality, instead using the magnetics pilfered from a magjack and routing from there back to the mainboard as well as to the PoE module’s inputs. Continue reading “Adding Power Over Ethernet Support To A Mac Mini”

How To Install Mac OS On The Nintendo Wii

What if you could run Mac OS on a Nintendo Wii game console? That’s probably not a thought that has occurred to many Wii owners or Mac OS users, but that is no excuse not to give it a try, as [Michael] handily demonstrates in a recent video by running Mac OS 9 on a Nintendo’s legendary console. The first major issue is what anyone who has ever tried to put a Hackintosh together knows: just because a target system runs the same CPU architecture can you necessarily install Mac OS (or OS X) for Intel x86 on any Intel x86 system. The same is true for the Wii with its PowerPC CPU and running Mac OS 9 for PowerPC on it.

In order to make this work, a workaround is employed, which uses the fossilized Mac-on-Linux project to run PowerPC Mac OS essentially on Linux for the Wii. This is a kernel module which allows Mac OS to run at basically native speeds on Linux, but it being a Linux kernel module, it meant that [Michael] had to hunt down the correct kernel to go with it. After creating an SD card with a functioning bootloader, he was able to boot into Wii Linux with MoL enabled, and try to install Mac OS.

OS X didn’t work for some reason, but Mac OS 9 did work, albeit with severe font rendering and audio glitches. All of which seems to come down to that while it is possible to get Mac OS running on the Wii, doing so is definitely more for the challenge and experience. By the way, if all this sounds a bit familiar, it’s because [Michael] referenced the Mac-on-Wii work that [Dandu] did last year to make this latest iteration happen.

Continue reading “How To Install Mac OS On The Nintendo Wii”

Apple Never Gave Them USB. Now, They’re Getting It For Themselves

These days we use USB as a default for everything from low-speed serial ports to high-capacity storage, and the ubiquitous connector has evolved into a truly multi-purpose interface. It’s difficult to believe then, that the first Apple Mac to be designed with a USB interface was shipped without it; but that’s the case with 1997’s grey Power Mac G3.

On the personality board are all the footprints for a single USB 1.1 port, but USB-hungry Apple fanboys had to wait for the translucent iMac and later G3 before they had a machine with the parts fitted. [Croissantking] is righting that particular wrong, by piecing together the missing Apple circuit using parts from contemporary cards for PCs. Over a long forum thread there are a few teething problems, but it certainly seems as though grey G3 owners will soon be able to have reliable USB upgrades.

If omitting USB from a 1997 Mac seems unexpected, it’s as well to remember how slow the first USB versions were. At the time SCSI was king in the high-speed peripheral world, and USB seemed more appropriate as a replacement for Apple Desktop Bus and the serial port. Even when they embraced USB they were reluctant to follow the standards of the PC world, as we remember finding out when for curiosity’s sake we tried swapping the mice and keyboards between an iMac and a Windows PC. We have USB’s success to thank for releasing Mac users from a world of hugely overpriced proprietary peripherals.

If you fancy hacking a ’90s PowerMac, make sure you get one that works.

Thanks [Doug] for the tip.

Customizing The Start-Up Chime On A 1999 G3 IMac

The start-up chime on Macs is probably as recognizable as the default Nokia ringtone in this day and age. Yet much like a ringtone, so too one might want to change the start-up chime on a Mac. This is something which [Doug Brown] has done in the past already on a Power Mac G3 in 2012, which made him instantly an expert on the topic in the eyes of a reader who wanted to know how to change the chime on a 1999 iMac. While the firmware on both these systems is written in Forth, it did take a bit of sleuthing to figure out where the chime was hiding in the firmware image, and how to change it.

The target iMac is somewhat unique in that it has a G4 PPC CPU rather than the more common G3. The firmware is similar enough that it was a snap to simply search the newer iMac’s firmware for the signature of the chime sound data. This turned out to be the identical QuickTime IMA ADPCM format-encoded data, yet what was different was how this data was integrated into the firmware image. Key is finding the area in the firmware where not only the address of the chime data’s start is defined, but also its length. Finally, the checksums in the firmware image have to be updated so that it matches the patched data.

Reverse-engineering the checksum calculation in the Forth code turned out to be fairly straightforward, but getting the new firmware on the iMac turned out to be the biggest struggle, as [Doug] didn’t want to inflict running a manual firmware update onto this reader he was doing all this work for. This led [Doug] to do some more reverse-engineering using Ghidra to enable the use of the automatic updater like a regular firmware update.

In the end it all worked out great, and now another iMac no longer has the Mac chime on start-up.

MorphOS: A Modern Operating System For PowerPC

When it comes to modern operating systems for PowerPC-based systems like pre-Intel Macs, or other PowerPC-based systems like older or newer AmigaOS-compatible systems, there is an increasing lack of options. For 32-bit PPC, official Linux support has been dropped already, leaving only unofficial builds and of course AmigaOS as well as AmigaOS-like operating systems. So what do you do if you have a PPC-based Mac system lying around which you do not simply want to run the same old, unsupported copy of MacOS on? In a recent video, [Michael MJD] decided to give MorphOS 3.17 a shot on a Mac G4 Cube.

Originally created for the now-defunct Pegasos PPC-based series of computers and PPC accelerator cards for Amiga systems, MorphOS is based on the proprietary Quark microkernel, In its current release, it supports a range of G4 and G5-based Apple systems, as well as the AmigaOne 500 and X5000, with some asterisks. In addition to its own applications it supports AmigaOS applications, including those targeting the m68k architecture, via its JIT emulator.

A cursory look at the community shows that MorphOS finds use for being a fast and relatively up to date alternative OS for especially PPC-based Macs. The price tag of €79 per system (transferable to a new system) should offer some guarantee of continued development, which includes e.g. the Wayfarer browser for MorphOS, which is based on Webkit, but optimized for e.g. Altivec.

Although installing MorphOS went relatively smoothly for [Michael] (with just a monitor-related glitch), he did not try too much beyond an initial impression of the GUI and preinstalled applications. There is also a 30-minute timer on the trial version (resettable via reboot) that ended [Michael]’s look at this OS.

What do you run on your PPC-based machines, and have you used MorphOS? What are your thoughts on this OS?

Continue reading “MorphOS: A Modern Operating System For PowerPC”

Swap The Clock Chip On The Mac SE/30 With An ATTiny85

As [Phil Greenland] explains in the first part of his excellent write-up, the lithium battery used to keep the real-time clock (RTC) going on the Macintosh SE/30 has a nasty habit of exploding and leaking its corrosive innards all over the board. Looking to both repair the damage on a system that’s already had a battery popped and avoid the issue altogether on pristine boards, he started researching how he could replace the battery with something a bit more modern.

Damage from a ruptured RTC battery.

It turns out, the ATtiny85 is pin-compatible with the Mac’s original RTC chip, and indeed, [Andrew Makousky] had already written some code that would allow the microcontroller to emulate it. This is actually a bit more complex than you might realize, as the original RTC chip was doing double-duty: it also held 256 bytes of parameter random access memory (PRAM), which is where the machine stored assorted bits of info like which drive to boot from and the mouse cursor speed.

But after getting the mod installed, the computer refused to start. It turns out the project targeted earlier machines like the Macintosh Plus and SE, and not his higher-performance SE/30. Thanks to community resources like this KiCad recreation of the SE/30’s motherboard, contemporary technical documents, and his trusty logic analyzer, [Phil] was able to figure out that the timing was off — the code was simply struggling to respond to the faster machine. Continue reading “Swap The Clock Chip On The Mac SE/30 With An ATTiny85”