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 9 - CFM-68K Application and Shared Library Structure


CFM-68K Application Structure

Although CFM-68K runtime shared libraries are virtually identical to their PowerPC counterparts, CFM-68K runtime applications are hybrids that retain the segmented form of classic 68K applications.

CFM-68K runtime applications use some classic 68K structures ('CODE' resources, for example), but many of these structures have been modified for the CFM-based architecture. CFM-68K applications have different segment headers and jump tables, as well as a new table for transition vectors. The %A5Init segment does not exist in CFM-68K applications, and the 'CODE'0 resource does not hold the jump table. The following sections describe the CFM-68K application structure in detail.

Note
If you are not familiar with the structure of classic 68K applications, you may want to refer to Chapter 10, "Classic 68K Runtime Architecture," as you read this section.

Subtopics
The Segment Header
The Jump Table
Transition Vectors and the Transition Vector Table
The 'CODE' 0 Resource
The 'CODE' 6 Resource
The 'rseg' 0 Resource
The 'rseg' 1 Resource

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 MARCH 1997