SCSI Registers
4-59
Once the chip has stopped transferring data, these bits
are stable.
The
register counts the number of
bytes transferred between the DMA core and the SCSI
core. The
register counts the
number of bytes transferred across the host bus. The
difference between these two counters represents the
number of bytes remaining in the DMA FIFO.
The following steps determine how many bytes are left in
the DMA FIFO when an error occurs, regardless of the
transfer direction:
If the DFS bit (bit 5,
) is set:
1.
Subtract the ten least significant bits of the
register from the 10-bit value of
the DFBOC. The DFBOC consists of the
register, bits 1 and 0 and the
register, bits [7:0].
2.
AND the result with 0x3FF for a byte count between
zero and 944.
If the DFS bit (bit 5,
) is cleared:
1.
Subtract the seven least significant bits of the
register from the seven bit value
of the DFBOC which is made up of the
register, bits [6:0].
2.
AND the result with 0x7F for a byte count between
zero and 112.
Note:
If trying to calculate the total number of bytes in both the
DMA FIFO and SCSI Logic, see
in
Summary of Contents for LSI53C895A
Page 6: ...vi Preface...
Page 16: ...xvi Contents...
Page 222: ...4 114 Registers...
Page 260: ...5 38 SCSI SCRIPTS Instruction Set...
Page 298: ...6 38 Electrical Specifications This page intentionally left blank...
Page 302: ...6 42 Electrical Specifications This page intentionally left blank...
Page 330: ...6 70 Electrical Specifications This page intentionally left blank...