2 |
CUSTOM SCSI PACKETS
*****************************COMMAND TABLE FOR THE WRITE COMMAND**************
CT2 | DC.B %01000000 |
*X LINK FLAG OFF
*X PARITY CHECKING ENABLED
*X DMA ENABLED
*X CUSTOM SEQ. FLAG=> FIRMWARE CHECKS STATUS
*X FIRMWARE USES SCSI RULES (RESELECT, ETC.)
*X RESERVED.
XNO SCATTER/GATHER X ASYNC SCSI TRANSFER
DC.B 0 | RETRY COUNT=0 | ||
DC.L 0 | NO LINK ADDRESS PROVIDED. | ||
DC.W 6 | COMMAND LENGTH = 6 (GROUP 0 COMMAND) | ||
DC.B $0A WRITE COMMAND | |||
DC.B $00 | LUN=0, BLOCK ADDR MSB=0 | ||
DC.B $00 | BLOCK ADDR | ||
DC.B $86 | (FULL BLOCK ADDR=$00086) | ||
DC.B $04 | 4 BLOCKS REQUESTED | ||
DC.B $00 | CONTROL BYTE: FLAG BIT=0, LINK BIT=0. | ||
DC.B 00 | DON’T CARE | ||
DC.B 00 | DON’T CARE | ||
DC.B 00 | DON’T CARE | ||
DC.B 00 | DON’T CARE | ||
DC.B 00 | DON’T CARE | ||
DC.B 00 | DON’T CARE | ||
DS.B 01 | USER’S STATUS BYTE IS STORED HERE | ||
DC.B 07 | SCSI INITIATOR ADDRESS = $07 | ||
DC.L $400 | 4 BLOCKS * $100 BYTES/BLOCK= $400 BYTES | ||
DC.L BUFF | DATA BUFFER ADDRESS | ||
DC.W 1 | MESSAGE IN AREA ALLOCATION= 1 BYTE | ||
DC.L MSIN2 | MESSAGE IN AREA POINTER | ||
DC.W 1 | MESSAGE OUT AREA ALLOCATION = 1 BYTE | ||
DC.L MSOUT2 | MESSAGE OUT AREA POINTER | ||
DS.B 342 | REMAINING OF THE 384 BYTE COMMAND TABLE | ||
MSIN2 | DS.B 1 |
| MESSAGE IN AREA FOR COMMAND TABLE #1 |
MSOUT2 | DC.B $00 | NO MESSAGE OUT PHASE FOR THE SECOND |
COMMAND.