All Databases
Inside Mac - Basic Toolbox
SetA5
SetA5
Set the current value of A5
#include <
OSUtils.h
>
Memory Manager
long
SetA5
(newA5
);
long
newA5;
the address specified as newA5
returns
Error Code
; 0=no error
Use the
SetA5
function to set the A5 register to the application's A5.
Calling
SetA5
performs two tasks: It sets the A5 register to the address
specified as newA5, and it returns the address that is in register A5 before the
SetA5
is called.
Referenced by (35):
ASYNCHRONOUS I/O
Dividing Memory Among Multiple Applications
InsTime
PurgeMemSys
RestoreA5
SetGrowZone
SetTrapAddress
SetUpA5
Setting and Restoring the A5 Register
Using Application Global Variables in Tasks
Using the Memory Manager
VInstall
Memory Mgr (Inside Mac - Index)
Using Quickdraw Globals in an INIT (Inside Mac - Index)
Utilities, Operating System (Inside Mac - Index)
ASYNCHRONOUS I/O (Inside Mac - Basic Toolbox)
Dividing Memory Among Multiple Applications (Inside Mac - Basic Toolbox)
InsTime (Inside Mac - Basic Toolbox)
PurgeMemSys (Inside Mac - Basic Toolbox)
RestoreA5 (Inside Mac - Basic Toolbox)
SetGrowZone (Inside Mac - Basic Toolbox)
SetTrapAddress (Inside Mac - Basic Toolbox)
SetUpA5 (Inside Mac - Basic Toolbox)
Setting and Restoring the A5 Register (Inside Mac - Basic Toolbox)
Using Application Global Variables in Tasks (Inside Mac - Basic Toolbox)
Using the Memory Manager (Inside Mac - Basic Toolbox)
VInstall (Inside Mac - Basic Toolbox)
Using the High-Level Interface (Inside Mac - DAM-Ed-PPC-Slot)
Specifying Callback Routines (Inside Mac - Sound Mgr)
MIDI Tool Set (MacTech Vol 05-1989)
Jun 91 Letters (MacTech Vol 07-1991)
Aug 92 Tips (MacTech Vol 08-1992)
Color Animation (MacTech Vol 09-1993)
March 93 - MACINTOSH DEBUGGING: THE BELLY OF THE BEAST REVISITED (develop - 1993)
December 95 - The New Device Drivers: Memory Matters (develop - 1995)