Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: eMac 2005 1.42 (ATI 9600) Progress!  (Read 124 times)

65a

  • 4 MB
  • **
  • Posts: 4
eMac 2005 1.42 (ATI 9600) Progress!
« on: Yesterday at 08:31:25 PM »

This device is not that different than the 2005 1.25ghz, the main difference is the GPU being a ATI 9600 (ATY,Apollo_A). I'm not expecting to get 3d acceleration, just resolution options.

Following the precedent and @ELN's excellent work, I looked for a NDRV pef from the previous OS X variants to parcel into the open firmware tree. The earliest is 10.3.8, and this appears to work! The machine boots up in full resolution, colors look better, etc.

The second the finder is about to launch, the screen turns gray. Cursor appears to keep working fine.

If I boot with extensions off, everything seems to go perfectly (but of course I can't use most stuff). I tried disabling all of the ATI extensions but that didn't help. Any tips or ideas? I can keep bisecting the extensions I guess, but wondering if there were other ideas...I assume getting all the way to finder load might be a good sign.

The ROM I am using is attached, added a .txt extension to avoid the filter, can just remove it and it's hqx.
« Last Edit: Today at 07:58:39 PM by 65a »
Logged

65a

  • 4 MB
  • **
  • Posts: 4
Re: eMac 2005 1.42 (ATI 9600) Progress!
« Reply #1 on: Today at 05:58:53 PM »

Some diagnostics:

1. No gray screen with extensions off (shift during boot)
2. Gray screen with everything disabled in extensions manager
3. Force quit works on gray screen if you position the cursor correctly, but doesn't help
4. Force quit immediately before the gray screen will be the finder in all my attempts
5. Trashing monitors prefs doesn't help

1 & 2 are surprisingly different results. Something different is happening with shift boot than removing extensions.

I suspect there might be a call in the NDRV (enable double buffering? mode set?) which had certain flags up until 10.3.7, and had different ones after 10.3.7. Alternatively, there is something the finder is doing which is triggering this, but not if the computer was shift-booted.
« Last Edit: Today at 07:58:54 PM by 65a »
Logged

65a

  • 4 MB
  • **
  • Posts: 4
Re: eMac 2005 1.42 (ATI 9600) Progress!
« Reply #2 on: Today at 07:58:25 PM »

Solved, and probably works for all "gray" NDRVs

After a few hours in ghidra, radare2 and other annoying places, I started to wonder about these strings:
"AAPL,gray-value" and "AAPL,gray-page".

The NDRV understands and reads certain values from OpenFirmware if they are present in its device node properties. These are not present in the devicetree of my emac.

I added them by travelling to the node and typing `" AAPL,gray-page" property ffffffff encode-int ` ``" AAPL,gray-value" property ffffffff encode-int ` and suddenly it works!

Looking at later hackintosh sites, it appears this are properties that are set in newer mac devicetrees, or something.

In any case, I have resolution support, which is what I wanted, but not acceration. The card is an rv351 if there's any hope the os9 drivers had any similar.

I'll try to put that patch into my emac rom, probably safe to include it in all OS9 roms.
Logged
Pages: [1]   Go Up

Recent Topics