Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chanakya

macrumors newbie
Original poster
Sep 16, 2004
1
0
hi
can anybody tell me where can i find the source code of the mac OS 9?also name of the toolkit to develop device drivers for mac OS 9?
I also need to know the architectural differences between mac os 9 and mac os 10.
also can anybody tell the steps in driver development for mac os 9?
-Chanakya
 
chanakya said:
hi
can anybody tell me where can i find the source code of the mac OS 9?also name of the toolkit to develop device drivers for mac OS 9?
I also need to know the architectural differences between mac os 9 and mac os 10.
also can anybody tell the steps in driver development for mac os 9?
-Chanakya
MacOS 9 is the accumulation of about 20 years of proprietary code for the Motorola 680x0 and Apple/IBM/Motorola PPC families of processors. The source code is various parts 680x0 assembly language and C++. MacOS X is the accumulation of about 15 years of Mach-based BSD development beginning with NeXTstep in the late 1980's. Of course, BSD traces its roots to UNIX, which dates back to the mid-70's. The closest you can get to MacOS X is the opensource OpenSTEP clone, GNUstep.

This bit of advice: As practice for acquiring the source code for MacOS and MacOS X, take a trip to Atlanta, GA. Visit Coca-Cola headquarters and ask for the formula for Coca-Cola.
 
MisterMe said:
MacOS 9 is the accumulation of about 20 years of proprietary code for the Motorola 680x0 and Apple/IBM/Motorola PPC families of processors. The source code is various parts 680x0 assembly language and C++. MacOS X is the accumulation of about 15 years of Mach-based BSD development beginning with NeXTstep in the late 1980's. Of course, BSD traces its roots to UNIX, which dates back to the mid-70's. The closest you can get to MacOS X is the opensource OpenSTEP clone, GNUstep.

This bit of advice: As practice for acquiring the source code for MacOS and MacOS X, take a trip to Atlanta, GA. Visit Coca-Cola headquarters and ask for the formula for Coca-Cola.

but anyways apple will not disclose the os 9 (or any classic os) source code. Using a disassembler is the closest thing to it (although that is illegal).
 
No source, but there is ample sample code.

OS X device driver help should be here...

http://developer.apple.com/samplecode/DeviceDrivers/index.html

http://developer.apple.com/documentation/DeviceDrivers/DeviceDrivers.html

http://developer.apple.com/hardware/iokit/

If you want to write a OS 9 driver that'll work under OS X's classic you'll need to look at Carbon...

http://developer.apple.com/samplecode/Carbon/index.html

Edit -- Don't remember where they were talking about converting driver to work under classic, may need to search.

Booting into OS 9 will allow you direct access to hardware for a driver, but will not work under OS X's hardware abstraction layer and should be in the Legacy Technologies in the above links.

Edit -- Getting Getting Started With Device Drivers
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.