Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice