FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual

OUT: CMDRAM Offset Size o 2 4 8 12 14 Meaning W W L L W W Status/Error return code Unused/reserved Unused/reserved Unused/reserved Unused/reserved Reserved for interprocessor' communi- cation POSSIBLE RETURN CODES: 8000, 9000 = Successful, no error 8002, 9002 = Address error 8006, 9006 = Missing or invalid parameter EXAMPLE: To set the ISCSI-l ID to 6, the interfacing sector size to 256 bytes and the string delimiter to '$'.

MAININIT LEA.L LEA.L MOVE.W MOVE.B MOVE.L MOVE.W TST.W BPL.S XEXT SCSI+CMDRAM,A0 SCSI+IOBUFl,Al ;GET COMMAND RAM ADDRESS ;GET I/O BUFFER #1 ;DEFINITIONS #$0600, (AI) # ' $ , ,2 (AI) #IOBUFl,4{A0) #$000D, (A0) ;POINTER TO DEFINITIONS ; COMMAND ;WAIT UNTIL READY @002 (A0) @002 ;DONE * * END 3-18