Author Topic: iBook g4 1.42GHz 14 inch  (Read 1511 times)

Offline laylow

  • Member
  • *
  • Posts: 3
  • New Member
iBook g4 1.42GHz 14 inch
« on: December 28, 2017, 02:41:33 PM »
Anyone had luck booting OS 9 on this machine?

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #1 on: January 28, 2018, 01:16:37 PM »
Anyone had luck booting OS 9 on this machine?

PowerBook6,7. Says it supported by the iBook Mac OS ROM posted on these forums, but I have the 12" 1.33 Ghz one, and it's a no go.

It will boot the ROM, but bombs out during the loading screen, even with no extensions.

I'm assuming it has to do with the PMU/USB as ELN found with the Mini, as it seems to bomb out when OS 9 it trying to take control of the USB Pointer device( trac pad ) from Open Firmware.

I'm just assuming that ELN's Mini and our iBooks share roughly the same logicboard.

When ELN comes back to us from the real world, he maybe able to give us a few pointers on how to get this going.

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: iBook g4 1.42GHz 14 inch
« Reply #2 on: January 29, 2018, 08:24:52 AM »
Anyone had luck booting OS 9 on this machine?

PowerBook6,7. Says it supported by the iBook Mac OS ROM posted on these forums, but I have the 12" 1.33 Ghz one, and it's a no go.

It will boot the ROM, but bombs out during the loading screen, even with no extensions.

I'm assuming it has to do with the PMU/USB as ELN found with the Mini, as it seems to bomb out when OS 9 it trying to take control of the USB Pointer device( trac pad ) from Open Firmware.

I'm just assuming that ELN's Mini and our iBooks share roughly the same logicboard.

When ELN comes back to us from the real world, he maybe able to give us a few pointers on how to get this going.

Both these iBooks work.  and in OS 9 both of them have a track pad that is incredilby slow. Like it would probably take you a minute to get the pointer from one corner to the other.  An external mouse works fine.

I'm trying to remeber though what causes that crash. I think it was the Sound Manager as in the same problem in the iMac's.   It didn't have amything to do with USB.

Generally when I do installs on these problematic machines, I do it through target disc mode.  I put mine in target disc mode, ran a 9.2.2 installer and installed a regular system on to the iBook driver.  Removed the ROM form the iBook and replaced with the one I had hacked some time ago to get around OF booting issues so we could get on with other code related issues.
Reboot the iBook and it worked (with shitty track pad support).

This should be correct ROM to use.
There is a small possibility it won't work ( I may have restored an incorrect version when I moved/rebuilt that server).  I can't verify it at the moment.  I am not able to reformat my iBook to test this.    Worse cast, it won't boot.
https://gnerder.com/files/rom.sit


If it ain't broke, don't fix it, or break it so you can fix it!

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #3 on: January 31, 2018, 04:15:48 AM »
Still a no go with that ROM, but it does allow me to boot without the need for OF commands. I just bombs out at the same place it does with the iBook ROM.

These PVR 80030105 machines seem to be troublesome.

I haven't had any luck removing the Sound from the device tree, to see if that is the issue, the instructions in the thread return and error.


Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: iBook g4 1.42GHz 14 inch
« Reply #4 on: January 31, 2018, 07:55:42 AM »
Still a no go with that ROM, but it does allow me to boot without the need for OF commands. I just bombs out at the same place it does with the iBook ROM.

These PVR 80030105 machines seem to be troublesome.

I haven't had any luck removing the Sound from the device tree, to see if that is the issue, the instructions in the thread return and error.

The ROM i provided makes it just so you don't have to go into open firmware to get a boot.  The rest of it is fine.  The PVR shouldn't be causing a problem.

http://macos9lives.com/smforum/index.php/topic,2727.msg20797.html#msg20797
http://macos9lives.com/smforum/index.php/topic,2744.0.html
This explains the exact issue you have and I was able to work around it by fucking with the audio device.  It is what is causing your crash.

So what you would need to do is update the audio device in open firmware.  You would have to do that on everyboot, so you may want to add that to an nvram script.
The ROM I posted doesn't adjust the audio device.

In the end, the video driver things there is an external monitor so you have to do an openfirmware hack to at least get the 1024x768 resolution.
Audio will not work and the mouse is incredibly slow.

So all in all, here is what you need to do in open firmware

Code: [Select]

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

" screamer" encode-string " compatible" property

device-end

" /" select-dev

0 " graphic-options" get-my-property 2drop !

unselect
If it ain't broke, don't fix it, or break it so you can fix it!

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #5 on: February 10, 2018, 05:21:09 AM »
Still a no go with that ROM, but it does allow me to boot without the need for OF commands. I just bombs out at the same place it does with the iBook ROM.

These PVR 80030105 machines seem to be troublesome.

I haven't had any luck removing the Sound from the device tree, to see if that is the issue, the instructions in the thread return and error.





The ROM i provided makes it just so you don't have to go into open firmware to get a boot.  The rest of it is fine.  The PVR shouldn't be causing a problem.

http://macos9lives.com/smforum/index.php/topic,2727.msg20797.html#msg20797
http://macos9lives.com/smforum/index.php/topic,2744.0.html
This explains the exact issue you have and I was able to work around it by fucking with the audio device.  It is what is causing your crash.

So what you would need to do is update the audio device in open firmware.  You would have to do that on everyboot, so you may want to add that to an nvram script.
The ROM I posted doesn't adjust the audio device.

In the end, the video driver things there is an external monitor so you have to do an openfirmware hack to at least get the 1024x768 resolution.
Audio will not work and the mouse is incredibly slow.

So all in all, here is what you need to do in open firmware

Code: [Select]

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

" screamer" encode-string " compatible" property

device-end

" /" select-dev

0 " graphic-options" get-my-property 2drop !

unselect

Thanks, that did it.

We really need a FAQ on models that already work, and download links.

I though this iBook ( PowerBook6,7 ) had a Radeon 9200, but it's a Radeon 9550. I've done a little hacking, and got the LCD to display in Millions of colors, rather than just 256 colors.

Does anyone know how iMac edited the ATI drivers to add support for the 9200 NDRV?

Anyway, what works:

CD-RW/DVDROM with Disc Bruning
USB ( 1.1 mode )
OS 9 Base Extensions
Keyboard
Virtual Memory
Firewire

What doesn't work

Display stuck at 256 colors in 1024x768 mode, with ghost external display.
Sound, no input or output device, even with Apple Audio Extension 2.4
Ram Disk( you can turn it on in the memory control panel, but it doesn't partition the memory.
Airport ( no support for APE in OS 9 )
Trackpad( this is an odd beast, USB TracPad, works in Open Firmware mode( very slow tracking ) with all extension disabled, but using OS 9 Base Extension it doesn't work at all. Doesn't work with 10.4.0 install DVD either, so Apple didn't add the driver until 10.4.x )
Sleep ( no shock here without working display drivers )

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 713
Re: iBook g4 1.42GHz 14 inch
« Reply #6 on: February 10, 2018, 09:25:59 AM »
Sound, no input or output device, even with Apple Audio Extension 2.4
Sound won't work.  Haven't figured it out yet.  There are various sound issues with other unsupported machines.
First level of problem is the IO controller used is not used in any supported machines and only started being used with the OS X only machines.  It's based on the previous, but has some difference in communication that cause all sorts of fun issues.

A better way (sorry I didn't put this in there) to disable the audio.
Instead of
Code: [Select]
dev /pci@F2000000/mac-io/i2s/i2s-a

" screamer" encode-string " compatible" property

device-end

Use this
Code: [Select]
" /pci@f2000000/mac-io/i2s/i2s-a" find-package drop delete-node
This removes the device entirely so OS 9 won't know anything about it.
It is not permanent.  Just like the previous code is not permanent.

emory.
Airport ( no support for APE in OS 9 )
Trackpad( this is an odd beast, USB TracPad, works in Open Firmware mode( very slow tracking ) with all extension disabled, but using OS 9 Base Extension it doesn't work at all. Doesn't work with 10.4.0 install DVD either, so Apple didn't add the driver until 10.4.x )
Sleep ( no shock here without working display drivers )

Airport known to not work on any Mac using APE.
For the track pad I'm not sure what you mean by Open Firmware mode.
This iBook shipped with 10.4.2.  If you are trying to install from a DVD with a version lower than that, then all bets are off as to what may or may not work.

Sleep and any power management for that matter will be fucked.  Same issue with sound and the IO controller. Same issue in the Mini as well.
If it ain't broke, don't fix it, or break it so you can fix it!

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #7 on: February 13, 2018, 06:38:58 AM »
Working off the old thread at Think Classic I made a version of iMac's ATI Via Extension with the 'NDRV' for the Radeon 9550.

No more ghost display, and now all screen res and color/grey scale work in OS 9.

« Last Edit: February 13, 2018, 07:30:41 AM by darthnVader »

Offline MacOS Plus

  • Gold Member
  • *****
  • Posts: 418
  • The 9serve Lives!
Re: iBook g4 1.42GHz 14 inch
« Reply #8 on: February 13, 2018, 09:28:14 AM »
Working off the old thread at Think Classic I made a version of iMac's ATI Via Extension with the 'NDRV' for the Radeon 9550.

No more ghost display, and now all screen res and color/grey scale work in OS 9.

  Does this change replace another device entry or does it incrementally add it?  I'm hoping that we can eventually expand compatibility using one all-inclusive file rather than a number of exclusive customised variants.  Perhaps discussion of that deserves a development thread of its own.  Conceivably this method can be applied to some AGP cards in full-scale desktop machines also?

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #9 on: February 13, 2018, 12:31:35 PM »
Working off the old thread at Think Classic I made a version of iMac's ATI Via Extension with the 'NDRV' for the Radeon 9550.

No more ghost display, and now all screen res and color/grey scale work in OS 9.

  Does this change replace another device entry or does it incrementally add it?  I'm hoping that we can eventually expand compatibility using one all-inclusive file rather than a number of exclusive customised variants.  Perhaps discussion of that deserves a development thread of its own.  Conceivably this method can be applied to some AGP cards in full-scale desktop machines also?

I just replaced the 9200 'NDRV' with the 9550 'NDRV', but we should be able to add to the ATI Rom Extender ndrvs for any ATI/AMD cards that had OS X support. Just a little magic needs to be figured out about it.

Also, using the Mac OS Rom nanopico posted in this thread, we can get the brightness settings for the backlight.

Open the ROM in Hexedit and go to the address 0x20D4AD, swap ati with mnca, save and reboot.



« Last Edit: February 13, 2018, 12:49:45 PM by darthnVader »

Offline MacOS Plus

  • Gold Member
  • *****
  • Posts: 418
  • The 9serve Lives!
Re: iBook g4 1.42GHz 14 inch
« Reply #10 on: February 21, 2018, 11:17:11 AM »
Working off the old thread at Think Classic I made a version of iMac's ATI Via Extension with the 'NDRV' for the Radeon 9550.

No more ghost display, and now all screen res and color/grey scale work in OS 9.

  Does this change replace another device entry or does it incrementally add it?  I'm hoping that we can eventually expand compatibility using one all-inclusive file rather than a number of exclusive customised variants.  Perhaps discussion of that deserves a development thread of its own.  Conceivably this method can be applied to some AGP cards in full-scale desktop machines also?

I just replaced the 9200 'NDRV' with the 9550 'NDRV', but we should be able to add to the ATI Rom Extender ndrvs for any ATI/AMD cards that had OS X support. Just a little magic needs to be figured out about it.

Also, using the Mac OS Rom nanopico posted in this thread, we can get the brightness settings for the backlight.

Open the ROM in Hexedit and go to the address 0x20D4AD, swap ati with mnca, save and reboot.

  I'd like to be able to repeat this method when experimenting with other Radeon devices, but after reading the info here and at ThinkClassic I'm feeling a bit dumb about the exact procedure.  Perhaps you could expand a bit on your method?  The card I'm interested in trying at the moment is the 9800 Pro to see if I can get 2D acceleration.  I've read that the 9800 uses the 9700 driver in OS X.  Looking inside AtiRadeon9700.kext on a 10.4 drive I see an NDRV entry point, but the question I have is how much data from that point on do you copy and how much data do you replace?  What would be the starting and ending HEX addresses I should paste it at if I want to have it over-write the 9200 NDRV?  Also, is this sufficient without editing PCI device IDs elsewhere?

  If I can get this one right then I should be able to retrieve a number of other NDRVs and save them individually in temporary files for future experiments.  It would be nice to have a simple library like this at our fingertips.

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #11 on: February 21, 2018, 02:46:27 PM »
Ati's 'NDRV's' live in the Apple NDRV folder.

Code: [Select]
/System/Library/Extensions/AppleNDRV/ATIDriver.bundle/Contents/MacOS/ATIDriver
Open it with Hexedit, and search for the name of your display " compatible" property. Then for the last Joy!peffpwpc to the next Joy!preffpwpc, that is the ndrv for your card.

Copy and save it with Hexedit, then open it with resedit, and let resedit do a little magic on it. Then open the data fork and copy it.

Take the driver I posted and open it in resedit, replace the date fork with your's. Then find the resource that has ATY,Snowy and replace it with the " compatible" property of your display. Also fix the length of the data fork just above ATY,Snowy.

Save and exit, put the new file in the extension folder, and reboot.

This in no way will make the ATI Graphic's Accelerator work, for 2d, but it is a necessary step if your ATI card doesn't have a Rom based 'NDRV'.

The ATI Accelerator looks to be 68k code only, no data fork, and I haven't figured out how it loads and matches.

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #12 on: February 22, 2018, 09:35:19 AM »
I can verify that 2D/3D ATI support won't work on this Radeon 9550, and I don't expect it will work for any R3xx or greater GPU's.

I found how each of the drivers are loaded, the ROM Extender is loaded by the Display output's " compatible" property. Everything else is the Device ID, or it is called when the other ATI extensions load, such as the ATI Video Accelerator  or the ATI OpenGL extension.

OpenGL and Rave do load, and report as working, but opening a 3D game will just hang the game when it tries to render.

Fixing support for RV2xx such as the one's in some iBooks and the Mac Mini should be doable.

 

Offline MacOS Plus

  • Gold Member
  • *****
  • Posts: 418
  • The 9serve Lives!
Re: iBook g4 1.42GHz 14 inch
« Reply #13 on: February 22, 2018, 10:23:46 AM »
  Thank-you for your detailed response.  It's been very difficult to find anyone with this level of understanding of the Mac video stuff.  I now have a much better sense of how all these pieces of the puzzle relate.  I gather from what you're saying that if a card will work as a basic frame buffer on its own via the existing support files and/or it's ROM content then there's no need/point to copy NDRVs.  As such I guess there's no point in me screwing around with the 9800 any longer.  I should be happy it works at all.  I do have a G4 Mini in transit to me right now though, so I'll definitely still be interested in hacking files for it.

  I am interested though in having a few other later cards at least minimally work as a frame buffer in OS 9 so that I can have more dual-boot 9/X machines without having to remember which ones don't work in 9.  It would make all the hardware experiments/testing I'm doing, in the scope of this forum, far easier.  I'd also not need to keep so many different machines active at one time.

Offline darthnVader

  • Gold Member
  • *****
  • Posts: 384
  • New Member
Re: iBook g4 1.42GHz 14 inch
« Reply #14 on: February 22, 2018, 11:22:03 AM »
Likely no way to make ATI's 2D accelerator work with a 9800.

All we can really do is add 'NDRV' support for OS 9 if the card doesn't have it in Fcode Rom( Some PC Flashed cards and iBooks, Mini's, and Emac's that were OS X only ).

We could make our own Quickdraw driver for these cards, I'll have to look into it, but unless there is some great interest in it, and a few people with programing skills in OS 9 MPW or Code Warrior, I'm not really going to take the project on by myself.

I've got a Mini I've bid on, closes in about 45min., so if someone doesn't shark my bid, I'll soon have a Mini with Radeon 9200 and I should be able to get 2D/3D and maybe DVD acell working on it.

When I do the edits, I start a thread and post screen shots and a howto, so iBook and eMac owners will know how to edit the ATI Extension.

It's not really hard, just need to replace a few device ID's and know the " compatible" property of the card.

I.E.>

Code: [Select]
dev agp/@10/@0 .properties