Important: The information in this document is obsolete and should not be used for new development.
DisableIdle
You can use theDisableIdleprocedure to disable the idle state.
PROCEDURE DisableIdle;DESCRIPTION
TheDisableIdleprocedure disables the idle state, even if the user has used the Portable or PowerBook control panel to enable the idle state. Every call to theDisableIdleprocedure must be balanced by a call to theEnableIdleprocedure before the idle state is reenabled.ASSEMBLY-LANGUAGE INFORMATION
The MPW development system provides an assembly-language macro to execute theDisableIdleroutine. That macro calls the_IdleStatetrap. To call the_IdleStatetrap 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.
 
  
  
 