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: Operating System Utilities /
Chapter 9 - Start Manager / Start Manager Reference
Routines / Getting and Setting the Timeout Interval


GetTimeout

You can use the GetTimeout procedure to identify the current timeout interval set for the startup drive.

PROCEDURE GetTimeout (VAR count: Integer);
count
Indicates the number of seconds the system waits for the startup drive to respond during the boot cycle. A value of 0 indicates the default timeout of 20 seconds.
DESCRIPTION
The GetTimeout procedure identifies the current timeout interval set for the startup drive. Timeout values increment in 1-second intervals, from 1 to a maximum of 31 seconds. A count of 1 equals 1 second.

ASSEMBLY LANGUAGE INFORMATION
The register on exit from the routine is
Registers on exit
A0Value of count field

The _GetTimeout macro expands to invoke another trap macro, whose routine selector is passed in the A0 register.
Trap MacroSelector
_InternalWait$0000


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996