Important: The information in this document is obsolete and should not be used for new development.
AOnIgnoreModem
You can use theAOnIgnoreModem
procedure to turn on the power to serial port A but not to the internal modem.
PROCEDURE AOnIgnoreModem;DESCRIPTION
TheAOnIgnoreModem
procedure switches on power to the SCC, the -5 volt supply, and the serial driver chips. This procedure does not switch on power to the internal modem, even if the user has used the Portable or PowerBook control panel to select the modem.ASSEMBLY-LANGUAGE INFORMATION
The MPW development system provides an assembly-language macro to execute theAOnIgnoreModem
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. ForAOnIgnoreModem
, the routine selector is $5.