	IFND ALF_DEVICE_I
ALF_DEVICE_I SET 1

*                        _                 ____    ___
*                       / \      |        |           |
*                      /___\     |        |--      ---
*                     /     \ o  |____ o  |  o    |___
*
*                           Amiga Loads Faster 2
*
*                     §name:ALF.device.i§
*                     §date:05 Aug 1989§
*                     §time:16:18:58§
*
*              copyright 1989 Elaborate Bytes, Oliver Kastl


	IFND ALF_I
	INCLUDE "ALF.i"
	ENDC
	IFND ALFDISK_I
	INCLUDE "ALFDisk.i"
	ENDC


********************************************************************************

; Some SoftSCSIs support additional commands. These are mainly required for non
; SCSIs to emulate SCSI. The command SSD_SETCHAR can be used to set the drive
; characteristics for a XTC. This is needed if the drive doesn't contain proper
; RDSK information yet but needs to be accessed. After the command has been
; completed the drive should be accessible. The command takes a pointer to a
; PhysDriveChar structure in IO_DATA and sizeof(PhysDriveChar) in IO_LENGTH.
; Look here:

SSD_SETCHAR EQU 32

	STRUCTURE PhysDriveChar,0
		ULONG pdc_Cylinders
		ULONG pdc_Sectors
		ULONG pdc_Heads
		ULONG pdc_Interleave
		ULONG pdc_Park
		STRUCT pdc_Reserved2,3*4
		ULONG pdc_WritePreComp
		ULONG pdc_ReducedWrite
		ULONG pdc_StepRate
		STRUCT pdc_Reserved3,5*4
		LABEL pdc_SIZEOF

; Another command used by XTC SoftSCSIs is actually a possibility to access the
; XTC directly. You supply a SCSICmd structure with the following entries:
; scsi_Data points to your data area; scsi_Length should contain the size of the
; data area; scsi_Command points to your XTC CDB; scsi_CmdLength should contain
; the size of the CDB. scsi_Status takes the XTC status byte. All other fields
; respectively.

SSD_XTCCMD EQU 33

	ENDC
