JPH01291353A - Data transfer controller - Google Patents

Data transfer controller

Info

Publication number
JPH01291353A
JPH01291353A JP12042088A JP12042088A JPH01291353A JP H01291353 A JPH01291353 A JP H01291353A JP 12042088 A JP12042088 A JP 12042088A JP 12042088 A JP12042088 A JP 12042088A JP H01291353 A JPH01291353 A JP H01291353A
Authority
JP
Japan
Prior art keywords
data
output
input
dma
buffer memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP12042088A
Other languages
Japanese (ja)
Inventor
Takao Miyanaga
隆雄 宮永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP12042088A priority Critical patent/JPH01291353A/en
Publication of JPH01291353A publication Critical patent/JPH01291353A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To execute the processing of other data even if an input/output device is inputting or outputting the data by providing a buffer memory and executing a data transfer by a DMA and a hand-shake method between the buffer memory and a main CPU and between the buffer memory and the input/output device, respectively. CONSTITUTION:With respect to a DMA control means 14, a data transfer is executed between a main memory 12 and a buffer memory 13, and when a DMA transfer is ended, an input/output control means 16 executes a control of the data transfer by a hand-shake method between the buffer memory 13 and the input/output part 17, and the input/output part 17 inputs and outputs the data. When read or write of all the data of the buffer memory 13 is ended, the input/output control means 16 outputs a signal of a data end to the DMA control means 14. Accordingly, the DMA processing is started again, and the data transfer is executed between the main memory 12 and the buffer memory 13. In such a way, even if an input/output device 15 is inputting or outputting the data, a main CPU 11 can execute the processing of other data without being awaited.

Description

【発明の詳細な説明】 〔概   要〕 入出力装置専用のメモリを設け、メインCPUとの間で
はDMAによりデータ転送を行い、入出力装置制御用の
専用LSIとの間ではハンドシェーク方式によりデータ
転送を行うデータ転送■;制御装置に関し、 プリンタなどの入出力装置においζ、データ入出力中で
あってもメインCPUが他のデータ処理ができるデータ
の転送制御装置を提供することを目的とし、 メインCPUの制御のもとに入出力データを格納するメ
インメモリと、入出力専用のバッフアノモリと、前記メ
インメモリと、バッファメモリとの間のデータを前記メ
インCPUを介さずに、直接にデータ転送の制御を行う
DMA制御手段と、前記バッファメモリと入出力装置と
の間のデータ転送をハンドシェーク方式で行い、該バッ
ファメモリのデータを全て読み終わったか又は書き終わ
ったとき、前記DMA制御手段にDMAによるデ−夕転
送の要求信号を出力する入出力制御手段とを有するよう
に構成する。
[Detailed description of the invention] [Summary] A memory dedicated to input/output devices is provided, data is transferred with the main CPU using DMA, and data is transferred with a dedicated LSI for controlling the input/output devices using a handshake method. Regarding data transfer controllers that perform A main memory that stores input/output data under the control of a CPU, a buffer anomaly dedicated to input/output, and data transfer between the main memory and the buffer memory directly without going through the main CPU. Data transfer between the DMA control means that performs control, the buffer memory and the input/output device is performed by a handshake method, and when all the data in the buffer memory has been read or written, the DMA control means performs the data transfer using the DMA. and input/output control means for outputting a request signal for data transfer.

〔産業上の利用分野〕[Industrial application field]

本発明は、データの転送制御装置に係り、より、II細
には、入出力装置専用のメモリを設け、メインCPUと
の間ではDMAによりデータ転送を行い、入出力装置制
御用の専用LSIとの間ではハンドシェーク方式により
データ転送を行うデータ転送制御装置に関する。
The present invention relates to a data transfer control device, and more specifically, a memory dedicated to input/output devices is provided, data is transferred to and from a main CPU by DMA, and a dedicated LSI for controlling input/output devices is provided. The present invention relates to a data transfer control device that transfers data using a handshake method.

〔従来の技術〕[Conventional technology]

従来、マイクロコンピュータ等の出力装置として、例え
ばプリンタはワンチップCPUなどの専用LSI(大規
模集積回路)を備えているものが多い。このような出力
装置において、メインCPUからのデータ転送の制御は
ハンドシェーク方式のインターフェイスとなっている。
Conventionally, many output devices such as microcomputers, such as printers, are equipped with a dedicated LSI (Large Scale Integrated Circuit) such as a one-chip CPU. In such an output device, data transfer control from the main CPU is performed using a handshake interface.

第5図は、従来のプリンタの構成を示すブロック図であ
る。同図において、メインCPUIは、印字データ、そ
の他のデータを格納する1ンへMなどからなるメインメ
モリ2と、プリンタ制御用のワンチップC))Uなどの
専用LSI3とに、データ及び制御パスラインを介して
接続されている。
FIG. 5 is a block diagram showing the configuration of a conventional printer. In the same figure, the main CPU has data and control paths connected to a main memory 2 consisting of a memory 2 that stores print data and other data, and a dedicated LSI 3 such as a one-chip C)) U for printer control. connected via line.

ごの専用LS’I3は、ハントシェーク方式でデータ転
送を行い、プリンタの印字装置(メカ部分)4を制御す
る。
The dedicated LS'I 3 transfers data using a hunt shake method and controls the printing device (mechanical part) 4 of the printer.

このようなプリンタのデータ転送におりるハントシェー
ク方式を構成する制御信号は、メインCPtJ1から専
用1− S l 3へ与えられるノ、1・1コ一プ信号
(STI3信号)と、専用LSI3からメインCI) 
U 1に与えられろ確認信号(八CK信号)などである
The control signals that make up the hunt shake method for data transfer in the printer are the 1-1 copy signal (STI3 signal) given from the main CPtJ1 to the dedicated 1-S13, and the dedicated LSI3. main CI)
This is a confirmation signal (8CK signal) given to U1.

第6図は上記ハンドシェーク方式のデータ転送のタイミ
ングチャー1である。まず、メインCPU 14;J、
データバス上に印字データを出ずとSTB信号をローレ
ベルからハイレベルにして、データを送り出したことを
専用LSI3に知らせる。
FIG. 6 is a timing chart 1 of data transfer using the handshake method. First, the main CPU 14;
Without outputting print data onto the data bus, the STB signal is changed from low level to high level to notify the dedicated LSI 3 that data has been sent.

専用LSI3は、ごのSTB信号によりデータバス上の
データを取り込む。データを受は取った専]−41L 
S I 3は、へCK信号をローレベルからハイレベル
にして、データを受は取ったことをメインCI) U 
1に知らせる。メインCPUIは、ACK信号により出
力データをリセットし、1回分の印字データの転送が終
了する。印字装置4は、専用LSI3の制御のもとに印
字動作を行う。
The dedicated LSI 3 takes in data on the data bus using each STB signal. The person who received the data] -41L
SI 3 changes the CK signal from low level to high level and indicates that data has been received (main CI) U
Let 1 know. The main CPUI resets the output data in response to the ACK signal, and one print data transfer is completed. The printing device 4 performs printing operations under the control of the dedicated LSI 3.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、従来のプリンタなどの出力装置では、データ転
送の方式がハンドシェーク方式のインターフェイスとな
っており、メインCPU1ではデータ転送時に印字装置
4が印字を終了するまで待たされζいた。従って、メイ
ンCPU1は、その間に他のデータ処理などができなか
った。
However, in conventional output devices such as printers, the data transfer method is a handshake type interface, and the main CPU 1 has to wait until the printing device 4 finishes printing when data is transferred. Therefore, the main CPU 1 could not perform other data processing during that time.

そこで、本発明は、プリンタなどの入出力装置において
、データ入出力中であってもツインCPUが他のデータ
処理ができるデータの転送制御装置を提供することを目
的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a data transfer control device in an input/output device such as a printer, in which a twin CPU can process other data even while data is being input/output.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明のデータの転送制御装置の原理を説明す
るブロック図である。同図において、11はメインCP
U(中央制御装置)、12はハスラインを介し°ζメイ
ンCPUIIに接続され、出力データ、その他のデータ
を格納するRAMなどからなるメインメモリ、13は入
出力専用のデータを格納するバッファメモリ、14はメ
インメモリ12とバッファメモリ13との間のデータ転
送を、メインCPUI 1を介さずに直接行うDMA(
Direct Memory Access)制御手段
、15は入出力装置、16は入出力装置15を構成する
バッファメモリ13と入出力部17とのデータ転送をハ
ントシェーク方式で入出力制御し、このバッファメモリ
13を監視し、全てのデータを読み終わったか又は書き
込み終わったとき、DM八へ御手段14にDMAによる
データ転送の要求信号を出力する入出力部ill 手段
である。
FIG. 1 is a block diagram illustrating the principle of a data transfer control device according to the present invention. In the same figure, 11 is the main CP
U (central control unit), 12 is connected to °ζ main CPU II via a lot line, and is a main memory consisting of a RAM etc. for storing output data and other data; 13 is a buffer memory for storing input/output-only data; 14 is a DMA (DMA) that directly transfers data between the main memory 12 and the buffer memory 13 without going through the main CPU 1.
Direct Memory Access) control means, 15 is an input/output device, 16 is an input/output control means for controlling data transfer between the buffer memory 13 and the input/output section 17 constituting the input/output device 15 using a hunt shake method, and monitors this buffer memory 13. The input/output section ill means outputs a data transfer request signal by DMA to the control means 14 to the DM8 when all the data has been read or written.

6一 〔作   用〕 本発明のデータ転送制御装置では、まず、メインCPU
I 1の制御のもとにDMA制御手段14に対してDM
A処理の起動がかLJられると、メインメ゛εす12と
バッファメモリ13との間でデータ転送が行われる。D
MA転送が終了すると、入出力制御子8段16は、バッ
ファメモリ13と入出力部17との間において、ハンド
シェーク方式でデータ転送の1lil制御を行う。入出
力部17はデータの入出力を行う。入出力制御手段16
は、バッファメモリ13のデータが全て読み終わるか又
は書き込み終わるとデータ終了の信号をDMA制御手段
14に出力する。これにより再びDMA処理の起動がか
番ノられ、ツインメモリ12とバッファメモリ13との
間でデータ転送が行われる。従って、入出力装置15が
データ入出力中であっても・メインCPU11は待たさ
れることな(、伯のデータ処理ができるようになる。
61 [Function] In the data transfer control device of the present invention, first, the main CPU
DM to the DMA control means 14 under the control of I1.
When the A process is started, data is transferred between the main memory 12 and the buffer memory 13. D
When the MA transfer is completed, the 8-stage input/output controller 16 performs 1lil control of data transfer between the buffer memory 13 and the input/output unit 17 using a handshake method. The input/output unit 17 inputs and outputs data. Input/output control means 16
When all the data in the buffer memory 13 has been read or written, it outputs a data end signal to the DMA control means 14. As a result, the DMA processing is restarted, and data transfer is performed between the twin memory 12 and the buffer memory 13. Therefore, even if the input/output device 15 is inputting/outputting data, the main CPU 11 can process data without having to wait.

〔実  施  例〕〔Example〕

以下、本発明の一実施例について、図面に即して説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第2図は、本発明実施例のデータ転送制御装置の構成を
示すブロック図である。この実施例は出力装置としてプ
リンタを例にしたものである。なお、第1図に対応する
部分は同一の符号を記す。
FIG. 2 is a block diagram showing the configuration of the data transfer control device according to the embodiment of the present invention. This embodiment uses a printer as an example of an output device. Note that parts corresponding to those in FIG. 1 are denoted by the same reference numerals.

同図において、11はメインCPU、12はデータ及び
制御用のハスラインを介してメインCPU11に接続さ
れ、出力データ、その他のデータを格納するRAMなど
からなるメインメモリ、13ば出力専用のデータを格納
するバッファメモリ、14はツインメモリ12のデータ
をメインCPU11を介さずに直接バッファメモリ13
にデータ転送の制御を行うDMA制御手段、■5はプリ
ンタである。このプリンタ15は切替回路21と、専用
LSIなどから成るプリンタ制御部22と、信号制御部
23と、機械的な部分から成る印字部24などとから構
成される。切替回路21は、制御f言号に基づきバッフ
ァメモリ13から読み出されるデータを制御信号に基づ
き切替える回路である。プリンタ制御部22は、制御信
号に基づき印字部24を制御する部分である。信号制御
部23は、プリンタ制御部22との間においてハンドシ
ェーク制御信号を送受するとともに、バッファメモリ1
3を監視し、全てのデータが読み終わったとき、読み出
し終了信号をDMA制御手段14に出す部分である。こ
の読み出し終了信号がDMA制御手段14へのデータ転
送の要求信号となる。
In the figure, 11 is a main CPU, 12 is a main memory connected to the main CPU 11 via a lot line for data and control, and includes a RAM for storing output data and other data, and 13 is a main memory for storing output-only data. A buffer memory 14 stores data in the twin memory 12 directly to the buffer memory 13 without going through the main CPU 11.
DMA control means for controlling data transfer; 5 is a printer; The printer 15 includes a switching circuit 21, a printer control section 22 consisting of a dedicated LSI, a signal control section 23, a printing section 24 consisting of mechanical parts, and the like. The switching circuit 21 is a circuit that switches data read from the buffer memory 13 based on a control signal based on a control f word. The printer control section 22 is a section that controls the printing section 24 based on control signals. The signal control unit 23 sends and receives handshake control signals to and from the printer control unit 22, and also sends and receives handshake control signals to and from the buffer memory 1.
3 and outputs a read end signal to the DMA control means 14 when all data has been read. This read end signal becomes a data transfer request signal to the DMA control means 14.

第3図は、ブリンクの制御部分の一部を構成する具体的
回路図である。同図において、リセット・セソ1−(R
3)フリップフロップ31のセット入力端子にはプリン
タ制御部22からデータ送り信号(Rr)Y信号)が与
えられ、リセット入力端子にはデータ転送の要求信号(
E’MP信号)が与えられている。また、他のRSフリ
ップフロップ32の七ノド入力端子にはハンドシェーク
信号を構成するS T B信号がインバータ33を介し
て与えられ、リセット入力端子にはデータ確認信号(A
CK(g号)がインハーク34を介して与えられている
。上記RSフリップフロップ31.32のそれぞれの出
力(Q、η)は、アントゲ−1・35に与えられ、この
アンドゲート35の出力ば、カウンタ36の計数を可能
にするカウントイネーブル端子に与えられている。ずな
わち、このカウンタ36ばRDY信号、ACK信号、E
MP信号により計数の開始と終了が制御される。そして
、ごのカウンタ36は、例えば4ピッ1−のカウンタで
あり、各出力は4人力オアゲー1−37と4人力ナント
ゲート 38にそれぞれ与えられ°ζいる。
FIG. 3 is a specific circuit diagram configuring a part of the blink control section. In the same figure, reset seso 1-(R
3) The set input terminal of the flip-flop 31 is supplied with a data transfer signal (Rr, Y signal) from the printer control unit 22, and the reset input terminal is supplied with a data transfer request signal (
E'MP signal) is given. Further, the STB signal constituting the handshake signal is applied to the seven-node input terminal of the other RS flip-flop 32 via the inverter 33, and the data confirmation signal (A) is applied to the reset input terminal.
CK (number g) is given via in-hark 34. The respective outputs (Q, η) of the RS flip-flops 31 and 32 are applied to an AND gate 1.35, and the output of this AND gate 35 is applied to a count enable terminal that enables the counter 36 to perform counting. There is. That is, this counter 36 receives the RDY signal, the ACK signal, and the E
The start and end of counting is controlled by the MP signal. The counter 36 is, for example, a 4-pitch counter, and each output is given to a 4-man power or game 1-37 and a 4-man power Nantes gate 38, respectively.

オアゲー1−37の出力及びナントゲート38の出力は
それぞれRSフリップフロップ39のセソI・入力α1
111子及びリセソ1へ入力端子に与えられている。す
なわちRSフリップフロップ39ば、カウンタ36の出
力がr 0OOOJ以外のときセットされ、r 0OO
OJのときりセットされる。このRSフリップフロップ
39の出力は、ゲー)・回路40のゲート端子に与えら
れ、ゲートの開閉が制御される。
The output of the OR game 1-37 and the output of the Nants gate 38 are the seso I and input α1 of the RS flip-flop 39, respectively.
111 and the input terminal to the recessor 1. That is, the RS flip-flop 39 is set when the output of the counter 36 is other than r0OOJ, and r0OO
It is set when OJ is used. The output of this RS flip-flop 39 is applied to a gate terminal of a gate circuit 40, and opening/closing of the gate is controlled.

このゲート回路40のデータ入力端子には、ハソファメ
七り13からデータバスを介してデータが与えられ、ゲ
ート回路40の出力は印字データとして印字部24など
に送られる。また、上記カウンタ36の出力はインバー
タ41,42.43を介して4人カアンドゲート44に
与えられている。
Data is applied to the data input terminal of the gate circuit 40 from the Hasofame Shichiri 13 via a data bus, and the output of the gate circuit 40 is sent to the printing unit 24 or the like as print data. Further, the output of the counter 36 is applied to a four-man AND gate 44 via inverters 41, 42, and 43.

このテンドゲート44は、カウンタ36の出力がr 0
OIOJのときのみハイレベルのストローブ信号(ST
B信号)を出力するようインバータ41゜42.43が
接続されている。このSTB信号は、プリンタ制御部2
2などに与えられるとともに、カウンタ45のカウント
入力端子に与えられている。このカウンタ45の出力は
、読み出し用のアドレスデータとして、バッファメモリ
13に与えられる。また、上記力うンタ45の出力は、
比較回路46の一方の入力端子に与えられており、この
比較回路46の他方の入力端子にはバッファメモリ13
に格納されるセットデータの数が予め与えられている。
In this tend gate 44, the output of the counter 36 is r 0
A high level strobe signal (ST
Inverters 41, 42, and 43 are connected to output the signal B). This STB signal is transmitted to the printer control unit 2.
2, etc., and also to the count input terminal of the counter 45. The output of this counter 45 is given to the buffer memory 13 as read address data. In addition, the output of the force holder 45 is as follows:
The buffer memory 13 is supplied to one input terminal of the comparator circuit 46, and the buffer memory 13 is supplied to the other input terminal of the comparator circuit 46.
The number of set data stored in is given in advance.

この比較回路46は、カウンタ45の出力がセントデー
タの数に等しくなったとき、読み出しが終了したことを
知らせるデータ転送の要求信号(EMP信号)をDMA
制御手段14に出力する。
When the output of the counter 45 becomes equal to the number of cent data, the comparison circuit 46 sends a data transfer request signal (EMP signal) to the DMA to notify that the reading has been completed.
It is output to the control means 14.

第4図は、DMA制御手段14の信号制御部分の一部を
構成する回路図である。同図においで、DMA要求信号
は、インバータ47を介してRSフリップフロップ48
のセン1−入力端子に与えられ、メインCI)Ullか
らのDMA確認信号(心−MAAC′T信号)はそのリ
セノI・入力端子に与えられている。ごのRSフリップ
フロップ48の出力信号は、DMA要求信号(DMAR
Q信号)として、メインCPUIIに与えられる。
FIG. 4 is a circuit diagram configuring a part of the signal control section of the DMA control means 14. In the figure, the DMA request signal is passed through an inverter 47 to an RS flip-flop 48.
The DMA confirmation signal (heart-MAAC'T signal) from the main CI) Ull is applied to the sensor I input terminal of the main CI. The output signal of each RS flip-flop 48 is a DMA request signal (DMAR
Q signal) is given to the main CPU II.

上記構成のデータ転送制御装置の動作について説明する
。まず、DMA転送の動作について説明する。メインC
PUIIは、所定の初期化プログラムによってDMA制
御手段14中の図示しないレジスタなどにメモリの転送
開始番地、転送語数、データ入出力などの情報をセット
する。次に、DMA制御手段14は、レジスタなどにセ
ットされた情報によってDMA要求信号を出す。このD
MA要求信号がメインCPUIIによって受付られると
、DMA確認信号がDMA制御手段14に戻され、以後
メインメモリ12からバッファメモリ13に印字データ
の転送が行われる。所定のデータ転送が終了すると、ツ
インCPUIIに割り込め信号が入り、DMA転送は終
了する。
The operation of the data transfer control device having the above configuration will be explained. First, the operation of DMA transfer will be explained. Main C
The PUII sets information such as a memory transfer start address, number of transferred words, data input/output, etc. in a register (not shown) in the DMA control means 14 using a predetermined initialization program. Next, the DMA control means 14 issues a DMA request signal based on information set in a register or the like. This D
When the MA request signal is accepted by the main CPU II, a DMA confirmation signal is returned to the DMA control means 14, and thereafter print data is transferred from the main memory 12 to the buffer memory 13. When a predetermined data transfer is completed, an interrupt signal is input to the twin CPU II, and the DMA transfer is completed.

次に、プリンタ側の動作について説明する。まず、DM
A転送が終了して印字の起動を行うと、プリンタ制御部
22は転送開始信号をRSフリップフロップ31に与え
、オアゲート37とナントゲート38によりカウンタ3
6の計数中に、ゲート回路40に与えられたバッファメ
モリ13からの印字データがパスラインに出力される。
Next, the operation on the printer side will be explained. First, DM
When the A transfer is completed and printing is started, the printer control unit 22 gives a transfer start signal to the RS flip-flop 31, and the OR gate 37 and the Nant gate 38 output the counter 3.
During the counting of 6, print data from the buffer memory 13 applied to the gate circuit 40 is output to the pass line.

また、このときカウンタ36の出力がrooloJとな
ったときのみ、STB信号がアンドゲート44から出力
される。このSTB信号は、カウンタ45により計数さ
れ、S ’T’ B信号が出される度に読み出しのアド
レスデータが歩進されバッファメモリ13に与えられる
。ずなわぢ、プリンタ制御部22からの転送開始信号に
よりバッファメモリ13内の印字データが順次6h a
出される。そして、バッファメモリ13の読み出し最終
アドレスに達したとき、比較回路45により予めセント
されたデータ数と一致し、この比較回路45から読め出
し終了の信号(EMP信号)がDMA制御平段14に出
力される。この読み出し終了の信号は、インパーク47
を介してRSフリップフロップ48にりえられ、]) 
M A要求信号がツインCPUIIに出力され、再び上
記と同様の動作によりDMA転送が行われる。
Further, at this time, the STB signal is output from the AND gate 44 only when the output of the counter 36 becomes roloJ. This STB signal is counted by a counter 45, and each time the S'T'B signal is output, the read address data is incremented and provided to the buffer memory 13. Zunawaji, the print data in the buffer memory 13 is sequentially transferred for 6 hours by the transfer start signal from the printer control unit 22.
Served. When the final read address of the buffer memory 13 is reached, it matches the number of data sent in advance by the comparator circuit 45, and a read end signal (EMP signal) is output from the comparator circuit 45 to the DMA control stage 14. be done. This reading end signal is sent to the impark 47
])
The MA request signal is output to the twin CPU II, and DMA transfer is performed again by the same operation as above.

従って、プリンタが印字動作をしている間、メインCP
UIIば他のデータ処理をすることができる。
Therefore, while the printer is printing, the main CP
UII can perform other data processing.

なお、上記実施例においては、プリンタを例に説明した
が、所定のデータ入力装置などから入力するデータをへ
ソファメモリに順次書き込の、全部書き込んだときにメ
インメモリにDMA転送するようにしてもよく、少なく
ともハンドシェーク方式で入出力装置とデータ転送を行
うものに適用される。
Although the above embodiment has been explained using a printer as an example, the data inputted from a predetermined data input device is sequentially written to the sofa memory, and when all data is written, it is transferred to the main memory by DMA. It is also applicable to devices that transfer data with input/output devices using at least a handshake method.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように、本発明によれば入出力装置
専用のバッファメモリを設け、メインCPUとの間では
DMAによりデータ転送を行い、入出力専用の制御装置
との間ではハンドシェーク方式でデータ転送を行うこと
により、入出力装置がデータ入出力中であっても、メイ
ンCPUは待たされることなく、他のデータ処理ができ
る。
As explained in detail above, according to the present invention, a buffer memory dedicated to input/output devices is provided, data is transferred with the main CPU using DMA, and data is transferred with a control device dedicated to input/output using a handshake method. By performing the transfer, even if the input/output device is inputting/outputting data, the main CPU can process other data without having to wait.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明のデータ転送制御装置の原理を説明する
ブロック図、 第2図は本発明実施例のデータ転送制御装置の構成を示
すブロック図、 第3図はプリンタの制御部分の具体的回路図、第4図は
DMA制゛御手段の信号制御部分の回路図、 第5図は従来のプリンタの構成を示すブロック図、 第6図は従来のハンドシェーク方式のデータ転送のタイ
ミングチャー1−である。 11・・・7420丁)Ul 12・・・メインメモリ、 13・・・バッファメモリ、 14・・・DM八へ御手段、 15・・・入出力装置、 16・・・入出力制御手段、 17・・・入出力部、 21・・・切替回路、 22・・・プリンタ制御部、 23・・・信号制御部、 24・・・印字部。 特許出願人  冨士通殿電株式会社
Fig. 1 is a block diagram explaining the principle of the data transfer control device of the present invention, Fig. 2 is a block diagram showing the configuration of the data transfer control device of the embodiment of the present invention, and Fig. 3 is a concrete diagram of the control portion of the printer. 4 is a circuit diagram of the signal control portion of the DMA control means, FIG. 5 is a block diagram showing the configuration of a conventional printer, and FIG. 6 is a timing diagram of data transfer using the conventional handshake method. It is. 11...7420 copies) Ul 12... Main memory, 13... Buffer memory, 14... Control means for DM8, 15... Input/output device, 16... Input/output control means, 17 ... input/output section, 21... switching circuit, 22... printer control section, 23... signal control section, 24... printing section. Patent applicant Fujitsu Toden Co., Ltd.

Claims (1)

【特許請求の範囲】 メインCPU(11)の制御のもとに入出力データを格
納するメインメモリ(12)と、 入出力専用のバッファメモリ(13)と、 前記メインメモリ(12)と、バッファメモリ(13)
との間のデータを前記メインCPU(11)を介さずに
、直接にデータ転送の制御を行うDMA制御手段(14
)と、 前記バッファメモリ(13)と入出力装置(15)との
間のデータ転送をハンドシェーク方式で行い、該バッフ
ァメモリ(13)のデータを全て読み終わったか又は書
き終わったとき、前記DMA制御手段(14)にDMA
によるデータ転送の要求信号を出力する入出力制御手段
(16)と、を有することを特徴とするデータ転送制御
装置。
[Claims] A main memory (12) that stores input/output data under the control of a main CPU (11), a buffer memory (13) dedicated to input/output, the main memory (12), and a buffer. Memory (13)
A DMA control means (14) directly controls data transfer between the main CPU (11) and the main CPU (11).
), the data transfer between the buffer memory (13) and the input/output device (15) is performed using a handshake method, and when all the data in the buffer memory (13) has been read or written, the DMA control DMA in means (14)
1. A data transfer control device comprising: input/output control means (16) for outputting a data transfer request signal.
JP12042088A 1988-05-19 1988-05-19 Data transfer controller Pending JPH01291353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12042088A JPH01291353A (en) 1988-05-19 1988-05-19 Data transfer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12042088A JPH01291353A (en) 1988-05-19 1988-05-19 Data transfer controller

Publications (1)

Publication Number Publication Date
JPH01291353A true JPH01291353A (en) 1989-11-22

Family

ID=14785783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12042088A Pending JPH01291353A (en) 1988-05-19 1988-05-19 Data transfer controller

Country Status (1)

Country Link
JP (1) JPH01291353A (en)

Similar Documents

Publication Publication Date Title
JPS5943456A (en) Information processor
JP4829408B2 (en) Image processing method and image processing apparatus
JPH01291353A (en) Data transfer controller
JP2007188434A (en) Image processor
JP3728641B2 (en) Image forming apparatus
JPS62282322A (en) Printer control circuit
JP2679440B2 (en) Information processing device
JPH10198524A (en) Hard disk controller
JP2884620B2 (en) Digital image processing device
JPH0445067Y2 (en)
JPH11110334A (en) Data processing circuit and image forming device provided with the circuit
JPH02207363A (en) Data transfer system, device controller, and memory controller
JPS6162158A (en) Data delivering and receiving system
JPH01205312A (en) Bus conversion device
JPH04306754A (en) Dma controller
JP2594673B2 (en) Data processing method
JPS59123987A (en) Print data developing method of image memory
JPH07182272A (en) Dma controller circuit
JPH05120201A (en) Data processor
JPH05159042A (en) Picture processor
JPH07175729A (en) Bus connection system
JPH05298239A (en) Direct memory access control circuit
JPH01175656A (en) High speed data transferring system
JPS61175817A (en) Printer
JPH01292451A (en) Information processor