Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 6 - Power Manager / Power Manager Reference
Power Manager Dispatch Routines / Getting and Setting the SCSI ID


SetSCSIDiskModeAddress

You can use the SetSCSIDiskModeAddress function to set the SCSI ID for the computer to use in SCSI disk mode.

void SetSCSIDiskModeAddress(short scsiAddress);
scsiAddress
The SCSI ID that the computer uses if it is started up in SCSI disk mode. You must specify a value in the range of 1 to 6.
DESCRIPTION
The SetSCSIDiskModeAddress function sets the SCSI ID that the computer will use if it is started up in SCSI disk mode.

The value of scsiAddress must be in the range of 1 to 6. If any other value is given, the software sets the SCSI ID for SCSI disk mode to 2.

ASSEMBLY-LANGUAGE INFORMATION
The trap is _PowerMgrDispatch ($A09E). The selector value for SetSCSIDiskModeAddress is 21 ($15) in the low word of register D0. The SCSI ID to set is passed in the high word of register D0.

SEE ALSO
You can use the PMFeatures function (page 6-41) to determine whether the computer supports SCSI disk mode.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996