Mac OS 9 Lives
Mac OS 9 Discussion => Development & Programming => Topic started by: meow_mx on February 19, 2024, 02:41:08 PM
-
I'm fussing a bit with later (R200-compatible) ATI drivers on System 7.6.1, and the primary obstacle seems to be that the ATI Resource Manger 3.0.8+ for those cards fails to resolve some important symbol at load time.
It looks like PEF Explorer would be a good help in understanding what the 3.0.8+ versions of ATI Resource Manager want that 3.0.5 doesn't. I've seen the tool referenced in a few old posts but no luck at all finding a copy of it.
Anybody got it?
-
I don't think I have PEF Explorer.
You could use the DumpPEF command from MPW.
You can run MPW on modern macOS using https://github.com/ksherlock/mpw
I have ATI Resource Manager 2.7.3, 3.1.4, 3.2, and 3.2.1 on my hackintosh. I've attached some dumps.
-
Ahem.. what about IDA? ;)
-
searched it, but it is not in my archives either.
https://www.ghidra-sre.org/
https://github.com/DBJ314/dePEF-and-disasm by @Daniel
-
I read the docs for the PEF container, and realized I could "parse" the import lists for a given fragment by eyeballing it in a hex dump and doing a bunch of regular expression surgery in vi :-D
-
I don't think I have PEF Explorer.
You could use the DumpPEF command from MPW.
You can run MPW on modern macOS using https://github.com/ksherlock/mpw
I have ATI Resource Manager 2.7.3, 3.1.4, 3.2, and 3.2.1 on my hackintosh. I've attached some dumps.
Thanks, the next thing I was wondering about was if any of the imports have version specifications... which none of these have in any meaningful way.
And know I know that DumpPEF is awesome, and it looks like I'm probably going to be installing MPW again for the first time in 20 years pretty soon!
-
This is the first time I hear of "PEF Explorer". I see we don't have it in the Garden at all, so we will want to keep an eye out for it, and archive it there.
-
It just occured to me that maybe meow_mx ment PEF Viewer and not PEF Explorer?
If so, there are two versions - one for OS9 and another one for OSX.
The OS9 version I don't remember where I got it from, the OSX version is part of early XCode tools.
The OS9 version works standalone as is. The OSX version installs additional Powerplant framework into System -> Private frameworks.
I hate when something from the old system is installed into newer system, so I made my own standalone version of it by moving the Powerplant framework inside the PEF Viewer app and patching both executables with install_name_tool. Tested and working on Intel with Rosetta and on PPC Leopard.
If someone needs these, I can put them up.
-
It just occured to me that maybe meow_mx ment PEF Viewer and not PEF Explorer?
that would explain why google and archive-org do not know anything about it.
hehe, thereĀ“s a document on HI which mentions it. :)
https://cdn.preterhuman.net/texts/computing/macintosh/PPC_Cracking_Bible_v1.0.2.pdf
so it is a disassembler but you can not edit and save?
-
so it is a disassembler but you can not edit and save?
It is a bit more than that. For example, it told me that our beloved ATI driver for Mac Mini is screwed and its data fork is corrupt. Sloppy hackers ;)
It shows nicely exports and imports and some other parts that IDA knows nothing about, but as PPC disassembler as such it sucks.
-
Garden also seem to lack "PEF Viewer". Is there somewhere we can still find it?
-
It's included on the Apple Developer Connection CDs.
Make sure to look at the "Tool Chest" CD.
https://macintoshgarden.org/apps/apple-developer-connection-2001 (https://macintoshgarden.org/apps/apple-developer-connection-2001)
-
It's included on the Apple Developer Connection CDs.
Make sure to look at the "Tool Chest" CD.
https://macintoshgarden.org/apps/apple-developer-connection-2001 (https://macintoshgarden.org/apps/apple-developer-connection-2001)
Thank you! :)
-
PEF Viewer 1.0d5 and 1.0d8 available here :
https://www.mediafire.com/file/xnyxwrjl1bhy8f8/PEF_Viewer.zip/file