×

Method and apparatus for controlling data transfers through multiple buffers

  • US 4,843,544 A
  • Filed: 09/25/1987
  • Issued: 06/27/1989
  • Est. Priority Date: 09/25/1987
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for controlling the transfer of data between a SCSI bus and a disk memory using a finite state machine and a plurality of data buffers comprising the steps of:

  • a. initializing the finite state machine to a pause state indicating there is no data to be transferred;

    b. determining if an input command to send data to the SCSI bus has occurred and if it has not then returning to step a;

    c. resetting the finite state machine from the pause state indicating that the data transfer is occurring and starting the data transfer;

    d. determining if a disk-data-in-buffer input command has occurred and if it has not, then advancing to step n;

    e. transferring from the SCSI bus to a first counter the number of blocks of data to be transferred and transferring to a second counter the number of bytes in each block to be transferred to a first of the plurality of data buffers;

    f. decrementing the byte count in the second counter by one;

    g. determining if a subsystem error has occurred on the SCSI bus, and if the subsystem error has occurred, returning to step a;

    h. determining if a SCSI bus request has occurred, and if the SCSI bus request has not occurred returning to step g;

    i. writing a byte of data from the SCSI bus to the first data buffer;

    j. determining if the number of bytes remaining to be transferred in the block of data is equal to zero, and if the number of bytes in the block remaining to be transferred is not equal to zero returning to step f;

    k. decrementing the block count in the first counter;

View all claims
  • 11 Assignments
Timeline View
Assignment View
    ×
    ×