JPS62180452A - Data transfer circuit - Google Patents

Data transfer circuit

Info

Publication number
JPS62180452A
JPS62180452A JP2190986A JP2190986A JPS62180452A JP S62180452 A JPS62180452 A JP S62180452A JP 2190986 A JP2190986 A JP 2190986A JP 2190986 A JP2190986 A JP 2190986A JP S62180452 A JPS62180452 A JP S62180452A
Authority
JP
Japan
Prior art keywords
data
graph data
dma
transfer
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
JP2190986A
Other languages
Japanese (ja)
Inventor
Tsuneo Ido
井戸 恒夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2190986A priority Critical patent/JPS62180452A/en
Publication of JPS62180452A publication Critical patent/JPS62180452A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Abstract

PURPOSE:To shorten the receiving time of data by transferring only the graph data part excluding a blank part in case the lateral length of the graph data is less than a printable area. CONSTITUTION:In case the graph data is transferred, the graph data receiving area F of a memory 203 is cleared previously to zero. While a lower processor 201 sets a graph data reception start address A2 to a DMA control part 202 as a reception address of the graph data together with the lateral byte number l1 of the graph data as the reception byte number respectively. Then the data on a hatched part E is loaded to a memory 203 after a split DMA flag 208 and then a DMA start flag 207 are set. The part 202 receives data equivalent to a line and produces an interruption to the processor 201 by the DMA end report interruption signal (t) as long as the flag 208 is set.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、処理装置間のデータ転送回路に係φ、特に複
数のブロックに分かれたデータを一度にDMA転送する
場合、転送先にてブロックごとに異なるメモリエリアに
受信できるデータ転送回路に関る。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a data transfer circuit between processing devices. In particular, when data divided into a plurality of blocks is transferred by DMA at once, each block is transferred at a transfer destination. relates to a data transfer circuit that can receive data into different memory areas.

〔発明の背景〕[Background of the invention]

ては、特開昭59−62960号に記載のように、転送
方向、転送メモリ開始アドレス、転送バイト数を指定し
て、データ転送を開始し、データ転送の終了を割込によ
り知らせる方法が知られている。この方法によれば、デ
ータ転送に使用できるメモリエリアが固定のため、転送
したデータを受信側でデータ転送領域以外のメモリエリ
アに転送する、もしくは転送したデータが不必要になら
ない限り、次のデータを転送することが出来ない。また
、複数に分かれたデータを転送する場合には、分割され
た回数分の転送起動が必要となるなどの問題があった。
As described in Japanese Patent Application Laid-Open No. 59-62960, there is a method to start data transfer by specifying the transfer direction, transfer memory start address, and number of transfer bytes, and to notify the end of data transfer by an interrupt. It is being According to this method, the memory area that can be used for data transfer is fixed, so unless the receiving side transfers the transferred data to a memory area other than the data transfer area or the transferred data becomes unnecessary, the next data can be transferred. cannot be transferred. Further, when transferring data divided into a plurality of pieces, there is a problem that transfer activation is required for the number of times of division.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記開−を解決し、複数に分割された
データを転送元のオーバヘッドの増加無しで、転送先の
複数のメモリエリアにデータを転送することができるデ
ータ転送回路を提供することにある。
An object of the present invention is to solve the above-mentioned problem and provide a data transfer circuit that can transfer data divided into a plurality of parts to a plurality of memory areas of a transfer destination without increasing the overhead of the transfer source. There is a particular thing.

〔発明の概要〕[Summary of the invention]

が、転送元のメモリエリアに連続して格納されているこ
とと、分割されたそれぞれのデータ長が転送先で分って
いることを利用し、転送元が1回のデータ転送起動する
と、データ転送先にて分割されたデータ長単位でデータ
受信起動を行い、データ転送元のデータ転送に係るオー
バヘヅドを減少させるものである。
is stored contiguously in the memory area of the transfer source, and the length of each divided data is known at the transfer destination. When the transfer source starts one data transfer, the data Data reception is activated in divided data length units at the transfer destination, thereby reducing overhead related to data transfer at the data transfer source.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図〜第4図により説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 4.

第1図は、プリンタ制御装置の概略ブロック図であり、
上位プロセッサ101はグラフデータを7’ IIンタ
制御装置へ転送する場合、メモリ103上のグラフデー
タの開始アドレス、転送バイト数、転送モードをDMA
制御部102ヘセツトしグラフデータ転送要求コマンド
をコマンドレジスタ204にセットするとコマンド受信
割込み信号ωにより下位プロセッサ201に割込みが発
生する。なお、第3図に示す印字用紙幅W1、印刷面部
幅W2、左方向余白W3、グラフデータ横方向幅W4、
グラフデータ縦方向幅w5、上方向余白W6けプリンタ
制御装置で既に分かってbるものとする。
FIG. 1 is a schematic block diagram of a printer control device;
When transferring graph data to the 7' II interface control device, the host processor 101 uses DMA to set the start address, number of transfer bytes, and transfer mode of the graph data on the memory 103.
When the graph data transfer request command is set in the control unit 102 and the command register 204, an interrupt is generated in the lower processor 201 by the command reception interrupt signal ω. Note that the printing paper width W1, printing surface width W2, left margin W3, graph data horizontal width W4,
It is assumed that the vertical width of the graph data W5 and the upper margin W6 are already known by the printer control device.

下位プロセッサ201は、コマンド受信割込が発生する
とコマンドレジスタ204の内容を読み取り、受信する
データの釉別を認識する。転送されるデータがグラフデ
ータの場合、メモリ2o・3のグラフデータ受信領域F
は、前もってゼロクリアしておく。下位プロセッサ20
1はグラフデータの受信アドレスとして第4図に示すグ
ラフデータ受信開始アドレスA2を、受信バイト数とし
てグラフデータ横方向バイト数t1をDMA制御部20
2にセットし、分割DMAフラグ20Bをセードした後
、DMA開始フラグ207をセットすることにより第4
図に示す斜線部Eのデータをメモリ203にロードする
。DMA制御部202は1行分のデータを受信し、分割
DMAフラグがセットされているとDMA終了報告割込
信号lにより下位プロセッサ201に割込みを発生させ
る。下位プロセッサは、DMA終了割込みが発生すると
グラフデータの受信アドレスとして第4図に示すグラフ
データ受信開始アドレスA2に1行分のデータ長t2を
加えたアドレスをグラフデータ横方向バイト数t1をD
MA制御部202にセットする。以上のシーケンスによ
りグラフデータ受信領域Fに印刷出力に必要なグラフデ
ータDのみを受信した後、印字制御部212によりプリ
ンタ装置213に印刷出力する。
When a command reception interrupt occurs, the lower processor 201 reads the contents of the command register 204 and recognizes the glaze type of the received data. If the data to be transferred is graph data, the graph data receiving area F of memory 2o/3
Clear to zero in advance. Lower processor 20
1 is the graph data reception start address A2 shown in FIG. 4 as the graph data reception address, and the graph data horizontal byte number t1 is the reception byte number in the DMA control unit 20.
2, and after shading the divided DMA flag 20B, the fourth DMA start flag 207 is set.
The data in the shaded area E shown in the figure is loaded into the memory 203. The DMA control unit 202 receives one row of data, and if the divided DMA flag is set, generates an interrupt to the lower processor 201 using a DMA end report interrupt signal l. When a DMA end interrupt occurs, the lower processor sets the graph data reception start address A2 shown in FIG.
Set in the MA control unit 202. After receiving only the graph data D necessary for printout in the graph data reception area F through the above sequence, the print control unit 212 prints out the graph data to the printer device 213 .

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

本発明によれば、グラフデータの印字出力において、グ
ラフデータの横方向のデータ長が印刷可能領域より小さ
騒場合、余白部分を除すてグラフデータ部分のみを転送
させることにょ)データの受信時間の短縮が計れ、印字
性能が向上できる。
According to the present invention, when printing out graph data, if the data length in the horizontal direction of the graph data is smaller than the printable area, only the graph data portion is transferred, excluding the margin portion.) Data reception time It is possible to shorten the time and improve printing performance.

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

第1図は本発明の一実施例のプリンタ制御部の概略プロ
9り図、第2図は下位プロセッサと上位プロセッサのD
〜IA転送シーケンス図、第3図はグラフデータのプリ
ンタ用紙上への出力例の説明図、第4図は下位プロセヴ
サ内メモリのグラフデータ受信領域の説明図である。 101・・・上位プロセッサ、 103・・・上位プロセッサメモリ、 201・・・下位プロセッサ、 204・・・コマンドレジスタ、 207・・・DMA開始フラグ、 208・・・分割DMAフラグ、 209・・・DMA終了割込用ORゲート、210・・
・通常モードDMA終了割込用ANDゲート、 211・・・分割モードDMA終了割入用ANDゲート
、 212・・・印字制御部、 213・・・プリンタ装置。
FIG. 1 is a schematic diagram of a printer control unit according to an embodiment of the present invention, and FIG. 2 is a diagram of a lower processor and an upper processor.
-IA transfer sequence diagram, FIG. 3 is an explanatory diagram of an example of outputting graph data onto printer paper, and FIG. 4 is an explanatory diagram of the graph data receiving area of the memory in the lower processor. DESCRIPTION OF SYMBOLS 101... Upper processor, 103... Upper processor memory, 201... Lower processor, 204... Command register, 207... DMA start flag, 208... Division DMA flag, 209... DMA OR gate for end interrupt, 210...
- AND gate for normal mode DMA end interrupt, 211...AND gate for split mode DMA end interrupt, 212...print control unit, 213...printer device.

Claims (1)

【特許請求の範囲】[Claims] 1、少なくとも2つの処理装置と、その処理装置のプロ
グラム、データを格納するメモリ、処理装置間のデータ
転送制御用のDMAコントローラを有するデータ処理シ
ステムにおいて、複数のブロックに分かれたデータを一
度にDMA転送する場合に、転送先にてブロックごとに
異なるメモリエリアにデータを受信できることを特徴と
したデータ転送回路。
1. In a data processing system that has at least two processing devices, a program for the processing devices, a memory for storing data, and a DMA controller for controlling data transfer between the processing devices, data divided into multiple blocks can be DMAed at once. A data transfer circuit characterized in that when data is transferred, data can be received in different memory areas for each block at the transfer destination.
JP2190986A 1986-02-05 1986-02-05 Data transfer circuit Pending JPS62180452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2190986A JPS62180452A (en) 1986-02-05 1986-02-05 Data transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2190986A JPS62180452A (en) 1986-02-05 1986-02-05 Data transfer circuit

Publications (1)

Publication Number Publication Date
JPS62180452A true JPS62180452A (en) 1987-08-07

Family

ID=12068219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2190986A Pending JPS62180452A (en) 1986-02-05 1986-02-05 Data transfer circuit

Country Status (1)

Country Link
JP (1) JPS62180452A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007226330A (en) * 2006-02-21 2007-09-06 Ricoh Co Ltd Image processor, image processing method, and program for making computer execute the same method
JP2007249564A (en) * 2006-03-15 2007-09-27 Ricoh Co Ltd Image processor and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007226330A (en) * 2006-02-21 2007-09-06 Ricoh Co Ltd Image processor, image processing method, and program for making computer execute the same method
JP2007249564A (en) * 2006-03-15 2007-09-27 Ricoh Co Ltd Image processor and image processing method

Similar Documents

Publication Publication Date Title
US5079764A (en) Operation mode settable lan interconnecting apparatus
EP0340972A2 (en) Page printer
JPS62180452A (en) Data transfer circuit
JPH0664522B2 (en) Data transfer method
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JPS5981778A (en) Print control system
JP2527335B2 (en) High-speed transfer method
JPH01103466A (en) Control in page-type printer device
JPS58195278A (en) Controller for printer
JP3143118B2 (en) Printer and print image pattern development method
JPS60559A (en) Buffer controlling system
JPS58212976A (en) Printing device
JPH0561617A (en) Printing control system
JPS62278052A (en) Dot image data input system for printer
JPS58172745A (en) Printing control system for plural media
JPS60200353A (en) Control system of input and output device
JPS62152040A (en) Data transfer system for serial printer
JPS61133461A (en) Dma transfer control system
JPH04343125A (en) Printer device
JPS6371766A (en) Buffer transferring system
JPH09169140A (en) Printer
JPS5935966A (en) Printing speed control system
JPH0651920A (en) Control method for printer
JPH02149049A (en) Communication control system
JPH07121055B2 (en) Data transfer method to IC head in facsimile equipment