Index
[']
'alis' resource type
'APPL' file type
'CDEF' resources
'cfrg' resource type [1] [2]
'LDEF' resources
'MDEF' resources
'shlb' file type [1] [2]
'WDEF' resources
'XCMD' resources
32-bit clean
680x0 applications [1]
porting to PowerPC [1] [2] [3] [4]
structure of
680x0 compatibility issues. See 68LC040 Emulator
680x0 context block
680x0 registers
.See also A0 register, A5 register, A6 register, A7 register
unsupported results
680x0 run-time environment [1]
data alignment [1]
68851 paged memory-management unit
68881 floating-point unit
68882 floating-point unit
68LC040 Emulator [1] [2]
.See also Mixed Mode Manager
address error exceptions
bus error exceptions
byte smearing
dynamic bus sizing
floating-point instructions
instruction cache
instruction timings
NOP instruction
PMMU
reserved fields
unavailable instructions
undefined results
virutal memory
A
A-line instructions
A-traps. See A-line instructions
A0 register
and the Vertical Retrace Manager
A5 register
setting and restoring [1]
A5 world [1]
and table of contents
A6 register
A7 register
accelerated resources [1] [2]
and main symbols
and termination routines
calling at interrupt time
data section in
limitations on [1]
using global data in [1]
action procedures. See control action procedures
address error exceptions
Emulator compatibility issues
alert boxes, displayed by PowerPC applications
alias resources
alignment. See data alignment
ANSI-compliant source code [1] [2]
APDA
AppleShare servers
application extensions
.See also fragments
defined
application global variables
application parameters
application partitions
automatic resizing of
applications
.See also fragments
file type
length of fragment
location of fragment
specifying instruction set architecture
specifying library directory
specifying stack size [1] [2]
ApplLimit global variable
B
backing volume. See paging devices
backing-store file
BCLR instruction
binding
bit numbering conventions
block headers
BlockMove procedure
BSET instruction
BuildFatRoutineDescriptor macro
BuildRoutineDescriptor macro [1]
bus error exceptions
Emulator compatibility issues
bus sizing. See dynamic bus sizing
byte smearing
Emulator compatibility issues
C
CAAR. See Cache Address Register
cache
Emulator compatibility issues
Cache Address Register (CAAR), Emulator compatibility issues
Cache Control Register (CACR), Emulator compatibility issues
CACR. See Cache Control Register
calling conventions [1]
.See also procedure information
680x0 [1]
C routines [1] [2]
Operating System routines
Pascal routines [1] [2]
PowerPC [1]
register-based routines
selector-based C routines
selector-based Pascal routines
special cases. See special case routines
specifying [1]
THINK C routines
CALLM instruction
CallOSTrapUniversalProc function [1] [2]
CallUniversalProc function [1] [2] [3]
CCR. See Condition Code Register
CloseConnection function [1] [2]
closing resource forks
code fragment information records [1]
Code Fragment Loader
Code Fragment Manager [1] [2]
data structures [1]
reading code fragment resources
resources [1]
routines [1]
code fragment resources [1] [2]
code fragments. See fragments
code patches. See patches
code resources. See executable resources
code sections
code types. See instruction set architectures
code, self-modifying
compact discs
compatibility issues. See68LC040 Emulator
compile-time libraries. See definition libraries
completion routines
Condition Code Register (CCR)
during mode switches
specifying in procedure information
Condition Register (CR)
connection IDs
connections
containers
defined [1] [2]
specifying location of
context blocks. See 680x0 context blocks
contexts
control action procedures [1] [2]
control definition functions [1] [2]
control panels
Memory
cooperative multitasking environment
coprocessors [1]
counting symbols [1]
CountSymbols function [1] [2]
CR. See Condition Register
cross-mode call
See explicit cross-mode call, implicit cross-mode call
D
data alignment [1]
data forks [1] [2]
data instantiation
global
per-context
per-load
data sections
and accelerated resources
defined
data, exchanging between PowerPC and 680x0 environments [1]
data, global. See global data
Debugger routine
calling within an exception handler
DebugStr routine
calling within an exception handler
default stack size [1] [2]
definition procedures. See control definition functions, list definition procedures, menu definition procedures, window definition functions
definition versions
detaching resources
DetachResource procedure
device drivers
and the 68LC040 Emulator [1]
disk location records [1]
DiskFragment data type
DisposeHandle procedure
DisposePtr procedure
DisposeRoutineDescriptor function [1] [2] [3]
disposing of memory blocks
disposing of pictures
draw hook routines, specifying calling conventions of
drop-ins. See application extensions
dynamic bus sizing
Emulator compatibility issues
dynamically linked libraries. See import libraries
E
emulator. See 68LC040 Emulator
epilog code
event filter functions
exception codes. See exceptions, types of
exception contexts
exception frames
created by 68LC040 Emulator
exception handlers
and the Red Zone
defined
installing [1] [2]
limitations on
removing
writing [1]
exception information records [1] [2]
Exception Manager [1] [2]
application-defined routines in [1]
constants in [1]
data structures in [1]
routines in [1]
ExceptionInformation data type
exceptions
680x0 bus error [1]
defined
types of [1]
exchanging data between PowerPC and 680x0 environments [1]
executable resources [1]
.See also accelerated resources, private resources
ExitToShell function
ExitToShell procedure
explicit cross-mode calls
exported symbols. See exports
exports [1] [2]
getting information about [1]
Extended Common Object File Format (XCOFF)
Extensions folder
extensions. See application extensions and system extensions
external code [1]
F
F-line instructions
fake definition resources. See stub definition resources
fake handles
fake pointers
fat applications [1]
fat patches [1] [2]
fat resources [1] [2]
fat routine descriptors
file and directory registry [1]
file forks. See data forks, resource forks
file mapping [1]
file types
'APPL'
'shlb' [1] [2]
finding symbols [1] [2]
FindSymbol function [1] [2]
floating-point data types
floating-point exceptions
handling
floating-point information records
floating-point instructions
Emulator compatibility issues
floating-point parameters
floating-point registers [1] [2] [3] [4]
Floating-Point Status and Control Register (FPSCR) [1]
floppy disks
flushing caches
forks. See data forks, resource forks
FP. See frame pointer
FPSCR. See Floating-Point Status and Control Register
FPUInformation data type
fragment initialization blocks [1]
fragment location records [1]
FragmentLocator data type
fragments [1] [2]
defined [1] [2]
finding symbols in [1]
kinds of
loading [1]
special routines in [1] [2]
specifying names of
specifying size of
storing [1]
structure of [1]
unloading [1]
frame pointer
frames. See stack frames or switch frames
free blocks
function prototypes [1] [2]
G
general-purpose registers [1] [2] [3] [4] [5] [6]
Gestalt function
Get1Resource function
GetApplLimit function [1] [2]
GetCurrentISA function [1]
GetDiskFragment function [1]
GetIndSymbol function [1] [2]
GetMemFragment function [1] [2]
GetNextEvent filter procedures, specifying calling conventions of
GetPicture function
GetSharedLibrary function [1] [2]
global data
in accelerated resources [1]
global instantiation
global variables. See application global variables, QuickDraw global variables, and system global variables
grow-zone functions
specifying procedure information for [1]
H
handles, fake
head patches
header files. See universal interface files
hit test hook routines, specifying calling conventions of
hybrid environment. See mixed environment
HyperCard extensions
I
I/O. See input/output
implementation versions
implicit cross-mode calls
import libraries [1]
.See also fragments
advantages of
checking versions [1]
data instantiation [1]
defined
definition version
file and directory registry [1]
file type [1] [2]
implementation version
length of fragment
load directories
location of fragment
ROM registry
search order [1]
specifying definition version
specifying implementation version
specifying instruction set architecture
specifying update levels
imported symbols. See imports
imports [1] [2]
imports. See also soft imports
in-place data instantiation
InitBlock data type
InitGraf procedure
initialization blocks. See fragment initialization blocks
initialization routines [1]
defined
input/output, accessing memory-mapped locations [1]
Inside Macintosh
bit numbering conventions [1]
chapter format
format conventions [1]
format of parameter blocks [1]
InstallExceptionHandler function [1]
instantiation. See global instantiation, per-context instantiation, and per-load instantiation
instruction cache [1] [2]
instruction set architectures
constants for
defined
determining [1]
specifying for an application
specifying for an import library
instruction timings
interface files. See universal interface files
interrupt time
calling accelerated resources
calling Memory Manager
interrupts. See exceptions
J, K
jump tables
KillPicture procedure
L
leaf procedures
libraries. See import libraries
library directories
line-start recalculation routines, specifying calling conventions of
Link Register
linkage area
list definition procedures [1] [2]
LMGetCurDirStore function
load directories
loading code fragments [1]
location records. See fragment location records
low-memory global variables. See system global variables
LR. See Link Register
M
machine information records [1] [2]
MachineInformation data type [1] [2]
Macintosh Programmer's Workshop [1] [2] [3]
main routines
and accelerated resources
defined
main symbols
and accelerated resources
defined
MakePEF tool
MemFragment data type
memory
organization of [1]
memory blocks
disposing of
Memory control panel
memory exception records [1]
memory location records [1]
Memory Manager [1] [2]
at interrupt time
disposing of blocks
private data structures
memory operations
types of [1]
memory reference codes
MemoryExceptionInformation data type
menu bar hook routines, specifying calling conventions of
menu definition procedures [1] [2]
mini-A5 world
mixed environment
Mixed Mode Manager [1] [2] [3]
.See also mixed environment, routine descriptors
constants in [1]
data structures in [1]
defined [1] [2]
introduced
limitations of
routines in [1]
See also 68LC040 Emulator
See also mode switches
mode switches [1]
defined
in patches
overhead
MOVE instruction
MPW. See Macintosh Programmer's Workshop
N
nanokernel
NewControlActionProc function
NewFatRoutineDescriptor function [1] [2]
NewPtr function
NewRoutineDescriptor function [1] [2]
NOP instruction
Emulator compatibility issues
NSetTrapAddress procedure
null events [1]
O, P
opcodes. See operation codes
operation codes
paged memory management unit
Emulator compatibility issues
paging devices
parameter area
parameter blocks
format of [1]
parameter lists, variable
parameter passing [1]
patches [1] [2]
fat [1]
head
tail
patching
selector-based traps
PC. See program counter
PEF. See Preferred Executable Format
per-context instantiation
per-load instantiation
performance [1]
avoiding mode switches [1]
passing parameters [1]
using fat resources
pictures
disposing of
PMMU. See paged memory-managment unit
pointer-based function calls
pointers, fake
porting 680x0 applications to PowerPC. See680x0 applications, porting to PowerPC
PowerPC applications
structure of [1]
PowerPC microprocessor [1] [2]
floating-point registers [1] [2] [3]
general-purpose registers [1] [2] [3] [4] [5] [6]
special-purpose registers [1] [2] [3] [4]
PowerPC run-time environment [1]
application partitions [1]
data alignment [1]
organization of memory in [1]
system partition [1]
PowerPC. See PowerPC microprocessor
pragma statements
Preferred Executable Format (PEF)
prepare
private resources [1] [2]
procedure information
constants for [1]
defined [1] [2]
number of specifiable parameters
specifying [1]
procedure pointers [1]
Process Manager
reading code fragment resources
ProcInfoType. See procedure information
ProcPtr. See procedure pointer
program counter [1] [2]
prolog code
protocol handlers, specifying calling conventions of
prototypes. See function prototypes
Q, R
QDGlobals data type
QuickDraw global variables [1]
Red Zone [1]
reentrancy
in exception handlers
register information records [1]
RegisterInformation data type [1] [2]
registers. See PowerPC microprocessor, 680x0 registers
ReleaseResource procedure
resource forks [1]
closing
resource types
'alis'
'CDEF'
'cfrg' [1] [2]
'LDEF'
'MDEF'
'WDEF'
'XCMD'
resource-based code
executing [1]
See also fat resources
resources
accelerated. See accelerated resources
detaching
fat
private. See private resources
stub. See stub definition resources
Rez [1] [2] [3]
ROM registry
routine descriptor flags [1]
routine descriptors [1] [2]
creating [1]
defined [1] [2]
disposing of [1] [2]
executing code with [1]
fat
global [1]
local [1]
See also universal procedure pointers
static [1]
routine records [1] [2]
RoutineDescriptor data type [1]
RoutineRecord data type
RTE instruction
RTM instruction
RTOC. See Table of Contents Register
run-time environment
defined
run-time environment. See PowerPC run-time environment and 680x0 run-time environment
run-time libraries. See implementation libraries
S
SANE. See Standard Apple Numerics Environment
saved registers area
sections
See also code sections and data sections
segment location records [1]
Segment Manager
SegmentedFragment data type
selector-based traps
self-modifying code
SetA5 function [1]
SetApplLimit function
SetApplLimit procedure [1] [2]
SetCurrentA5 function
SetGrowZone procedure
SetOSTrapAddress procedure
SetToolTrapAddress procedure
SetTrapAddress procedure
shared libraries. See import libraries
smearing. See byte smearing
socket listeners, specifying calling conventions of
soft imports [1]
SP. See stack pointer
special case routines [1]
Special Status Word (SSW)
special-purpose registers [1] [2] [3] [4]
split traps
SSW. See Special Status Word
stack frames [1] [2]
parameter area
See switch frames
stack pointer [1] [2]
stack, specifying minimum size of [1] [2]
stale instructions
Standard Apple Numerics Environment (SANE)
stub definition resources
switch frames
680x0-to-PowerPC [1]
PowerPC-to-680x0 [1]
switches. See mode switches
symbols
counting [1] [2]
finding [1] [2] [3]
System 7.1
system extensions
defined
system global variables [1] [2]
system partition [1]
system software
for PowerPC processor-based Macintosh computers [1]
patching [1]
T
table of contents [1]
defined
maximum size of
Table of Contents Register (RTOC) [1] [2]
tail patches
temporary memory
termination routines [1]
and accelerated resources
defined
text display routines, specifying calling conventions of
text width hook routines, specifying calling conventions of
THINK C calling conventions
Time Manager tasks
TOC. See table of contents
tools. See application extensions
TrackControl procedure [1]
transition vectors [1]
and exception handlers
defined [1] [2]
trap patches. See patches
traps
selector-based
split
U
universal interface files [1] [2] [3] [4]
universal procedure pointers [1] [2] [3]
.See also routine descriptors
and accelerated resources [1] [2]
and fat patches
and universal interface files
defined
executing code with [1]
used in stub definition functions
using [1]
unloading code fragments [1]
UnloadSeg procedure
update levels
specifying for an import library
USESROUTINEDESCRIPTORS compiler variable
V
variable parameter lists
VBL tasks [1] [2]
vectors. See transition vectors
versions
of import libraries [1]
of routine descriptor
Vertical Retrace Manager [1]
virtual memory [1]
Emulator support for
Virtual Memory Manager
W
WaitNextEvent function
weak imports. See soft imports
width hook routines, specifying calling conventions of
window definition functions
word sizes [1] [2]
X, Y, Z
XCOFF. See Extended Common Object File Format
zone headers
'cfrg' resource type