Important: The information in this document is obsolete and should not be used for new development.
EnableIdle
You can use theEnableIdle
procedure to enable the idle state.
PROCEDURE EnableIdle;DESCRIPTION
TheEnableIdle
procedure cancels the effect of a call to theDisableIdle
procedure. A call to theEnableIdle
procedure enables the idle state only if the user has not used the Portable or PowerBook control panel to disable the idle state and if every call to theDisableIdle
procedure has been balanced by a call to theEnableIdle
procedure.ASSEMBLY-LANGUAGE INFORMATION
The MPW development system provides an assembly-language macro to execute theEnableIdle
routine. That macro calls the_IdleState
trap. To call the_IdleState
trap directly, you must first put a longword routine selector in the D0 register. ForEnableIdle
, the routine selector is 0.SEE ALSO
See "Enabling or Disabling the Idle State," beginning on page 6-15, for more discussion ofEnableIdle
.