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


GetSCSIDiskModeAddress

You can use the GetSCSIDiskModeAddress function to find out the SCSI ID the computer uses in SCSI disk mode.

short GetSCSIDiskModeAddress();
DESCRIPTION
The GetSCSIDiskModeAddress function returns the SCSI ID that the computer uses when it is started up in SCSI disk mode. The returned value is in the range 1 to 6.

Note
When the computer is in SCSI disk mode, the computer appears as a hard disk to another computer.
ASSEMBLY-LANGUAGE INFORMATION
The trap is _PowerMgrDispatch ($A09E). The selector value for GetSCSIDiskModeAddress is 20 ($14) in the low word of register D0. The SCSI ID is returned in the low 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