Claims
- 1. A data transfer apparatus for transferring data of at least one word using a DMA (direct memory access) transfer between external devices, comprising:
- a data bus;
- a DMA controller to control direct memory access using said data bus;
- a DMA control circuit for controlling a data transfer between said devices after having acquired a bus utility right from a processor;
- a plurality of data registers, in said DMA controller, for storing multi-word data to be transferred to one of said devices based on instructions from said DMA control circuit;
- an operation defining register for storing the source device type among said devices, the destination device type among said devices, and the transfer unit used to transfer multi-word data;
- a source address register for storing the address of a source device;
- a destination address register for storing the address of a destination device;
- a byte count register for storing the number of transferred bytes in a DMA transfer;
- a subtracter to decrease the value in said byte count register for every DMA transfer according to the control by said DMA control circuit; and
- at least two adders to increase the values in said source address register and said destination address register for every DMA transfer according to the control by said DMA control circuit.
- 2. The data transfer apparatus as claimed in claim 1, wherein said DMA control circuit includes a three-bit bus state register in which a first bus access state to output the addresses of said external devices accessed by the present data transfer apparatus, a second bus access state to transfer data corresponding to one word, and a third bus access state to indicate that the present data transfer apparatus is in an idle state, are stored, and further includes a data transfer byte count register for counting the byte number of data stored in said data registers.
- 3. The data transfer apparatus as claimed in claim 2, wherein said DMA control circuit determines the next state to change according to informations stored in said operation defining register, bus state register, and data transfer byte count register.
- 4. A data transfer apparatus for transferring data from a source storage to a destination storage in accordance with a direct memory access technique, comprising:
- a data bus;
- a DMA controller to control direct memory access using said data bus;
- a source address register for holding a first starting address of data stored in said source storage to be transferred to said destination storage;
- a destination address register for holding a second starting address of said destination storage for receiving the data;
- a byte count register for storing the number of bytes of the data to be transferred;
- a plurality of data registers, in said DMA controller, for temporarily storing the bytes of the data successively transferred to said source storage; and
- a control circuit connected to said source address register, said destination address register, said byte count register and said plurality of data registers for controlling the direct memory access.
- 5. A data transfer apparatus as claimed in claim 4, further comprising an operation defining register for storing a source device type, a destination device type, and a transfer unit identification.
- 6. A data transfer apparatus as claimed in claim 4, wherein the number of said data registers is at least four.
- 7. A data transfer apparatus as claimed in claim 4, further comprising an operation defining register containing a field indicating a port size of an external I/O device.
- 8. A data transfer apparatus for transferring data from a first memory location to a second memory location through a data bus having a bus width in accordance with a direct memory access technique, comprising:
- storage means for storing a plurality of data items each of which has a data length equal to the bus width of said data bus; and
- DMA transfer control means for transferring said data items from said first memory location to said second memory location in a high speed transfer mode in which a plurality of the data items are transferred from said first memory location to said second memory location within one memory read cycle and one memory write cycle.
Priority Claims (1)
Number |
Date |
Country |
Kind |
3-341222 |
Dec 1991 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 07/994,710, filed Dec. 22, 1992, now abandoned.
US Referenced Citations (6)
Continuations (1)
|
Number |
Date |
Country |
Parent |
994710 |
Dec 1992 |
|