Important: The information in this document is obsolete and should not be used for new development.
DisableIdle
You can use theDisableIdle
procedure to disable the idle state.
PROCEDURE DisableIdle;DESCRIPTION
TheDisableIdle
procedure disables the idle state, even if the user has used the Portable or PowerBook control panel to enable the idle state. Every call to theDisableIdle
procedure must be balanced by a call to theEnableIdle
procedure before the idle state is reenabled.ASSEMBLY-LANGUAGE INFORMATION
The MPW development system provides an assembly-language macro to execute theDisableIdle
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. ForDisableIdle
, the routine selector can be any value that is greater than 0.SEE ALSO
See "Enabling or Disabling the Idle State," beginning on page 6-15, for more discussion ofDisableIdle
.