Important: The information in this document is obsolete and should not be used for new development.
AOn
You can use theAOn
procedure to turn on the power to serial port A.
PROCEDURE AOn;DESCRIPTION
TheAOn
procedure switches on power to the SCC and the -5 volt supply. If the internal modem is installed and is connected to port A, theAOn
procedure also switches on power to the modem. If either of these conditions is not met, theAOn
procedure switches on power to the serial driver chips.ASSEMBLY-LANGUAGE INFORMATION
The MPW development system provides an assembly-language macro to execute the AOn 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. For AOn, the routine selector is $4.