Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Mac OS Runtime Architectures /


Chapter 6 - The Mixed Mode Manager

In certain cases, your CFM-based application or shared library may need to call routines written in classic 68K code or vice versa. For example, a PowerPC runtime program may need to call a system software routine that runs as emulated classic 68K code. The Mixed Mode Manager allows you to make such routine calls transparently.

You should read this chapter if you have any of the following concerns:

This chapter assumes you have general programming knowledge of both the CFM-based runtime architecture and the classic 68K runtime architecture.


Chapter Contents
Overview
Universal Procedure Pointers and Routine Descriptors
CFM-Based Code Originates the Call
Classic 68K Code Originates the Call
Mixed Mode Manager Performance Issues
Mode Switching Implementations
Calling PowerPC Code From Classic 68K Code
Calling Classic 68K Code From PowerPC Code
Calling CFM-68K Code From Classic 68K Code
Calling Classic 68K Code From CFM-68K Code

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997