Important: The information in this document is obsolete and should not be used for new development.
AOff
You can use theAOff
procedure to turn off the power to serial port A and to the internal modem.
PROCEDURE AOff;DESCRIPTION
TheAOff
procedure always switches off power to the SCC and the -5 volt supply if serial port B is not in use. If the internal modem is installed, connected to port A, and switched on, this procedure switches off power to the modem. If any of these conditions are not met, it switches off power to the serial driver chips, unless they are being used by port B.ASSEMBLY-LANGUAGE INFORMATION
The MPW development system provides an assembly-language macro to execute theAOff
routine. That macro calls the_SerialPower
trap. To call the_SerialPower
trap directly, you must first put a longword routine selector in the D0 register. ForAOff
, the routine selector is $84.