68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Pointers for writing a PPC extension
Posted by: rlawson on 2007-10-20 18:28:24
All,

I am writing a utility to allow owners of older machines to change their monitor resolution as there are often res's that a video card supports but are not shown in the built-in control panel. I have the shared lib and the gui done and it works fine (altho is PPC only at the moment). The trouble now is I need to write an INIT which will set the display at boot. But I can't find any examples of compiling and linking a PPC INIT *with* MPW. Can anyone on this list point me in the right direction (or better yet send me a makefile) ? I have googled for 3 days with no luck.

Thanks,

Rick

Posted by: Kallikak on 2007-10-20 18:45:02
Take a look at the PowerPC System Software Inside Macintosh book. It's online, here's the section on using the code fragment manager for system extensions etc: -http://developer.apple.com/DOCUMENTATION/mac/PPCSoftware/PPCSoftware-40.html#HEADING40-0

And for System Extensions generally there's: http://developer.apple.com/documentation/mac/OSUtilities/OSUtilities-192.html

What version of MPW are you using?

Your project sounds interesting - I can help you if you like.

1