Author Topic: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz  (Read 1693 times)

Offline Greystash

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 84
  • Too many Macs..
    • Mac Classic, Mac Attic
Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« on: January 02, 2019, 04:22:46 PM »
I managed to get Mac OS 9 installed on my PowerBook with the help of some posts I've stumbled across (nanopico, iMic, and others) and the CD image located at http://macos9lives.com/smforum/index.php/topic,2143.0.html.

First you need to boot into open Firmware and enter the following:

Code: [Select]
nvedit

dev /cpus/PowerPC,G4@0

80010201 encode-int " cpu-version" property

dev /pci@F2000000/mac-io/i2s/i2s-a

" screamer" encode-string " compatible" property

device-end

Now press Ctrl + C to exit the nvram editor.

Next type the following:

Code: [Select]
nvstore

setenv use-nvramrc? true

reset-all

The computer will now restart and you can either boot from the CD image listed above, or Mac OS 9 if it's been installed on your HD from the same image.

Installation
After restoring the HD image from the CD you must remove the following from the Extensions folder (within System Folder).
  • All ATI extensions
  • HID Library
  • The MultiProcessing folder

Now you will be able to boot OS9.

If these extensions remain in the system folder Mac OS 9 will not boot. The HID Library disables use of the trackpad. The ATI drivers are incompatible as the machine has an ATI Mobility Radeon 9700 (64MB) which was not supported by the OS.

When the system boots it says that there is software is missing for the Apple Keyboard/Trackpad. The keyboard works fine but the trackpad is incredibly slow, I used a mouse instead.

The screen will also be set to a ~800x600 resolution rather than 1280x854px. You can fix this by changing the monitor arrangement in the Monitors control panel. I got multiple resolutions + all colour ranges working using a modified Jasper driver (from darthnVader) here: http://macos9lives.com/smforum/index.php/topic,4593.msg33157.html#msg33157. If this driver is used the backlight will be turned completely off after the next reboot, so you will need to use a torch or something to light the screen, then go to the monitors control panel and change the brightness setting to zero (it has been reversed, most likey because this driver is for another GPU). It still appears that this is half the brightness of what the screen should be.

Sound also doesn't work (due to the screamer fix). The on-board audio doesn't appear to be supported by the Mac OS ROM.

In summary:
- The system boots and is usable with a mouse, and by either having no GPU drivers installed, or the fixed one listed above.
- Sound doesn't work
- Function keys don't work
- No Airport
- Haven't tested FireWire yet but everything else is functional!

If we can somehow get the correct GPU, trackpad and sound drivers this system would be amazing and super usable on OS9!! I have no idea how to do this but I'll do some research.
« Last Edit: January 02, 2019, 10:43:42 PM by Greystash »

Offline FdB

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 545
  • And then...
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #1 on: January 02, 2019, 06:24:13 PM »
Dare I think that maybe a slightly brighter glimmer of hope now exists
for this beautiful 1.5 GHz G4 PowerBook 5,5 to not simply sit around
looking pretty… but instead to possibly & finally run OS 9? Greystash,
I’ve bookmarked this and your Andrea Fabrizi, Fan Control post too.

You have been busy. Thanks. (Hats off to nano, et al. too!)
This Must Be The Place

Offline GaryN

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 1012
  • active member
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #2 on: January 02, 2019, 09:26:17 PM »
Congrats and thanks to Greystash! You not only have pretty much gotten OS9 working there but you've also, for perhaps the first time here on the Forum, managed to explain the process in language the rest of us non code–monkey types can actually understand!!

I'll be wishing you luck for any more progress reports!

Offline darthnVader

  • Gold Member (200+ Posts)
  • *****
  • Posts: 496
  • New Member
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #3 on: January 03, 2019, 04:59:31 AM »
I managed to get Mac OS 9 installed on my PowerBook with the help of some posts I've stumbled across (nanopico, iMic, and others) and the CD image located at http://macos9lives.com/smforum/index.php/topic,2143.0.html.

First you need to boot into open Firmware and enter the following:

Code: [Select]
nvedit

dev /cpus/PowerPC,G4@0

80010201 encode-int " cpu-version" property

dev /pci@F2000000/mac-io/i2s/i2s-a

" screamer" encode-string " compatible" property

device-end

Now press Ctrl + C to exit the nvram editor.

Next type the following:

Code: [Select]
nvstore

setenv use-nvramrc? true

reset-all

The computer will now restart and you can either boot from the CD image listed above, or Mac OS 9 if it's been installed on your HD from the same image.

Installation
After restoring the HD image from the CD you must remove the following from the Extensions folder (within System Folder).
  • All ATI extensions
  • HID Library
  • The MultiProcessing folder

Now you will be able to boot OS9.

If these extensions remain in the system folder Mac OS 9 will not boot. The HID Library disables use of the trackpad. The ATI drivers are incompatible as the machine has an ATI Mobility Radeon 9700 (64MB) which was not supported by the OS.

When the system boots it says that there is software is missing for the Apple Keyboard/Trackpad. The keyboard works fine but the trackpad is incredibly slow, I used a mouse instead.

The screen will also be set to a ~800x600 resolution rather than 1280x854px. You can fix this by changing the monitor arrangement in the Monitors control panel. I got multiple resolutions + all colour ranges working using a modified Jasper driver (from darthnVader) here: http://macos9lives.com/smforum/index.php/topic,4593.msg33157.html#msg33157. If this driver is used the backlight will be turned completely off after the next reboot, so you will need to use a torch or something to light the screen, then go to the monitors control panel and change the brightness setting to zero (it has been reversed, most likey because this driver is for another GPU). It still appears that this is half the brightness of what the screen should be.

Sound also doesn't work (due to the screamer fix). The on-board audio doesn't appear to be supported by the Mac OS ROM.

In summary:
- The system boots and is usable with a mouse, and by either having no GPU drivers installed, or the fixed one listed above.
- Sound doesn't work
- Function keys don't work
- No Airport
- Haven't tested FireWire yet but everything else is functional!

If we can somehow get the correct GPU, trackpad and sound drivers this system would be amazing and super usable on OS9!! I have no idea how to do this but I'll do some research.

Cool, MOAL( Mother of all laptops ).

I've run into the inverted backlight before, may have something to do with the Mac OS ROM. For me pressing fn+brightness down worked, but if the function keys are not working, that can be troublesome.

Odd the ATY,Jasper driver works, I was thinking I made that for the Radeon 9600 Mobility.....

Offline Greystash

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 84
  • Too many Macs..
    • Mac Classic, Mac Attic
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #4 on: January 06, 2019, 02:32:30 PM »
I've been looking into creating/editing drivers for the GPU and Trackpad but keep hitting roadblocks. There seems to be very little/no information out there anymore for OS9 development..

If anyone could point me in the right direction, or give me some examples on how this has been done previously I would greatly appreciate it.

This would be a very usable OS9 machine if those two components worked correctly. It just needs the back-light boosted by ~50%, and trackpad compatibility. There are workarounds for sound so that's not a big issue.

Offline darthnVader

  • Gold Member (200+ Posts)
  • *****
  • Posts: 496
  • New Member
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #5 on: January 07, 2019, 05:46:55 AM »
I've been looking into creating/editing drivers for the GPU and Trackpad but keep hitting roadblocks. There seems to be very little/no information out there anymore for OS9 development..

If anyone could point me in the right direction, or give me some examples on how this has been done previously I would greatly appreciate it.

This would be a very usable OS9 machine if those two components worked correctly. It just needs the back-light boosted by ~50%, and trackpad compatibility. There are workarounds for sound so that's not a big issue.

I spent a few hours working on the Trackpad issue, without any luck, I tried the HID and USB drivers from OS 9.1 (v1.4.6) and they didn't work any better.

I also tried USB Overdrive>use custom driver, but the mouse overdrive driver doesn't load for the trackpad.

I also removed the usb trackpad from the device tree in Open Firmware, but OS 9 probes the USB bus and finds it anyway, and it doesn't work any better doing it that way.

It's just a non-standard USB HID device, and OS 9 nor USB Overdrive know how to handle it.

Offline darthnVader

  • Gold Member (200+ Posts)
  • *****
  • Posts: 496
  • New Member
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #6 on: January 07, 2019, 06:02:38 AM »

Offline Greystash

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 84
  • Too many Macs..
    • Mac Classic, Mac Attic
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #7 on: January 09, 2019, 11:25:32 PM »
Thanks for trying darthnVader! I'll keep hunting around and see if I can find anything useful regarding the trackpad. Will also have a play around with OF and the backlight.

Thanks!

Offline anthonybisset

  • Member
  • Posts: 1
  • New Member
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #8 on: February 26, 2019, 01:43:10 AM »
I'm about to try the unsupported 9.2.2 disk this on a Powerbook G4, 1.5ghz (boot rom 4.8.6f0)

What i'm curious about is:

Has anyone had success with getting the PCMCIA controller to work on these more recent machines?  I have a Korg Oasys PCI in a Magma chassis and have spent 8 or 9 hours trying to get it to run under Classic in 10.3.9 (tried Apple MIDI Manager and OMS.) Seems OMS cannot access the hardware via the OASYS PCI driver (which I believe is how the Synthkit application talks to the hardware when a *run* command is given.) So it seems I must go 100% native OS9 for this to work, however I've seen several reports that PCMCIA controllers aren't working on these later unsupported powerbooks.

Maybe the Magma pcmcia can work without the full pci controller implementation?


Gathering info before I rabbit hole.  Synthkit remains a very good platform for making physical models, hopefully I can get it working on this 1440x900 screen to make programming enjoyable (and laptops are typically quieter, so better in the studio.)
cheers,
A

« Last Edit: February 26, 2019, 06:30:31 AM by anthonybisset »

Offline Astroman

  • Veteran Member (100+ Posts)
  • ****
  • Posts: 197
  • new to the forums
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #9 on: February 26, 2019, 07:28:46 AM »
Gathering info before I rabbit hole.  Synthkit remains a very good platform for making physical models, hopefully I can get it working on this 1440x900 screen to make programming enjoyable (and laptops are typically quieter, so better in the studio.)
I agree on the equisite character of Synthkit (which fortunately opens even without a Korg card installed), but it easily filled my 1952x1200 desktop screen and I never enjoyed that Powerbook's keyboard.
A tower G4 Mac will be more quiet anyway... once the Powerbook's fan gets engaged.
You can replace the Mac's drive by a SSD and disengage some of the internal fans or drive them at lower voltage. I often use the 5V line instead of the regular 12V for fans, but take care the fan starts (some won't do at 5V).
Of course I carefully check components temperature with such reduced power settings.
(my G3/450 B/W with 2 Digidesign cards is a fairly quiet box, and I'm picky regarding noise)

Offline IIO

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 2163
  • new to the forums
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #10 on: February 26, 2019, 11:20:26 AM »
A tower G4 Mac will be more quiet anyway...

yeah, when you turn it off mb. :)

"It is true that the "pre-emptive multitasking" advantage present in OS X can be illustrated by downloading CD-ROM ISOs and rendering chaos theory formulas while simultaneously instant messaging and posting on FaceBook what you ate... but in reality, what did you create?"
- DieHard, random forum troll at macos9lives.com

Offline S. Pupp

  • Member
  • Posts: 1
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #11 on: April 17, 2019, 08:34:54 AM »
I tried this on a PowerBook G4 5,7 1.67GHz 17" with no luck.
Now, holding down the Option key during startup to select an external FW drive, I have trouble moving the cursor with the trackpad.
How can I "undo" the Open Firmware changes?

Offline Greystash

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 84
  • Too many Macs..
    • Mac Classic, Mac Attic
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #12 on: April 17, 2019, 02:33:21 PM »
Boot into Open Firmware and pass the following commands:
Code: [Select]
reset-nvram
reset-all

Offline franklin_m

  • Active Member
  • *
  • Posts: 7
  • New Member
Re: Working - Mac OS 9 on PowerBook G4 5,6 1.67Ghz
« Reply #13 on: April 20, 2019, 05:23:57 PM »
I tried this on a PowerBook G4 5,7 1.67GHz 17" with no luck.
Now, holding down the Option key during startup to select an external FW drive, I have trouble moving the cursor with the trackpad.
How can I "undo" the Open Firmware changes?

S. Pupp, the trackpad is really slow in OpenFirmware. You need to wait 10-30 seconds, and then you can use the arrow keys to select the drive, and hit return to boot.

I got this to work using the images in the download part of the forum. OpenFirmware can be confusing, happy to help.