All Databases
Inside Mac - Basic Toolbox
SetCurrentA5
SetCurrentA5
Get the current value of A5.
#include <
OSUtils.h
>
Memory Manager
long
SetCurrentA5
(void
);
returns
Error Code
; 0=no error
Use
SetCurrentA5
to get the current value of the system global variable
CurrentA5
.
The
SetCurrentA5
function does two things: First, it gets your application's
A5 and returns it to your application. Second,
SetCurrentA5
sets register A5
to the value of the application's low-memory global variable
CurrentA5
.
Referenced by (31):
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)
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)
Jun 91 Letters (MacTech Vol 07-1991)
Aug 92 Tips (MacTech Vol 08-1992)
Winter 91 - MACINTOSH Q & A (develop - 1991)