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


SetTimeout

You can use the SetTimeout procedure to set the timeout interval for the startup drive.

PROCEDURE SetTimeout (count: Integer);
count
Indicates the number of seconds that you want the system to wait for the startup drive to respond during the boot cycle. A value of 0 indicates the default timeout of 20 seconds. The maximum value is 31 seconds.
DESCRIPTION
The SetTimeout procedure sets the timeout interval for the startup drive. Timeout values increment in 1-second intervals, from 1 to a maximum of 31 seconds. Setting the count parameter to a value of 1 indicates 1 second.

ASSEMBLY LANGUAGE INFORMATION
The registers on entry for this routine are
Registers on entry
A0$0001

The _SetTimeout macro expands to invoke another trap macro, whose routine selector is passed in the A0 register:
Trap MacroSelector
_InternalWait$0001


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996