JPS6059463A - Data transfer processing system of terminal controller - Google Patents

Data transfer processing system of terminal controller

Info

Publication number
JPS6059463A
JPS6059463A JP16661183A JP16661183A JPS6059463A JP S6059463 A JPS6059463 A JP S6059463A JP 16661183 A JP16661183 A JP 16661183A JP 16661183 A JP16661183 A JP 16661183A JP S6059463 A JPS6059463 A JP S6059463A
Authority
JP
Japan
Prior art keywords
data
unit
memory
data transfer
dma
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
JP16661183A
Other languages
Japanese (ja)
Inventor
Hideo Watanabe
英夫 渡辺
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 JP16661183A priority Critical patent/JPS6059463A/en
Publication of JPS6059463A publication Critical patent/JPS6059463A/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 decrease the memory operations and to shorten the data transfer time by selecting a DMA control part or a PIO control part according to the contents of data and performing the transfer of data between a memory part and a central processor equipment. CONSTITUTION:A WRITE system command delivered from a central processor equipment 5 is read out of an interface control part 8 by a main control part 9. Then the part 9 indicates an interruption to a PIO control part 12. This interruption is reported to a microprocessor control part 2, and a program stored in a memory part 3 is executed. Therefore the data transfer method of PIO or DMA, etc. is set to a register part 11. Then the part 9 indicates the read of the data following a command and fetches data from the processor equipment 5 to set it to the part 11. Then the DMA is indicated to a DMA control part 13 in case the data transfer method is defined to the DMA. The data given from the processor equipment 5 is stored to the part 3.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、種々の端末装置を制御する端末制御装置にお
いて、該端末制御装置と中央処理装置間のデータ転送処
理時間を短縮するのに好適なデータ転送処理方式に関す
る。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention is a terminal control device that controls various terminal devices, and is suitable for shortening the data transfer processing time between the terminal control device and a central processing unit. Regarding data transfer processing method.

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

従来、端末制御装置と中央処理装置間でのデータのやり
取りはDMA(D j recL M emory A
 ccass)方式もしくはP I O(Progra
+nmed I npu(。
Conventionally, data exchange between a terminal control device and a central processing unit is performed using DMA (Dj recL M emory A).
ccass) method or PIO (Progra
+nmed I npu(.

Qut;out) 方式のいず才しかの方式によってい
る。
(Qut; out) Depending on which method is best.

DMA方式は、転送データ・アドレスと転送データ・カ
ラン1〜数が指定されて連続的にデータを転送する方式
であり、PIO方式は、中央処理′jAtPfの入出力
命令(P I O命令)により、データ裂例えば1又は
2バイ1〜単位に転送する方式である。
The DMA method is a method in which data is transferred continuously by specifying the transfer data address and transfer data callan 1 to number, and the PIO method is a method in which data is transferred continuously by specifying the transfer data address and transfer data callan 1 to number. This is a method of transferring data in units of 1 or 2 bytes, for example.

ここて、■つMΔ方式はP I C)方式より高速化で
き、しかも転送データ景が多い場合に適している。
Here, the MΔ method can be faster than the PIC) method, and is suitable for cases where there are many data scenes to be transferred.

しかし端末装置が例えばビデオ装置の場合、莢文字と漢
字が化性している場合には莢字−漢字なとのコード変更
文字の挿入、また画面制御用の特殊文字コー1−の挿入
などがあり、D lvl A方式により連続してデータ
転送すると、端末制御装置内のメモリに格納さ4tたテ
ークについて前記のコート変更文字などを検出する処理
及びその後の漢字ツー1〜処理などを行わなトづればな
らず、メモリ上で操作する処理時間が人山に増加するこ
ととなり、処理性能を低下させることになる。一方、す
べてのデータについてFI J O方式とすると、■デ
ータ単位ことにP10命令を発行する必要があることか
ら、そのデータ■からいってもI) M A方式より更
に処理性能を低ドさせることになる。
However, if the terminal device is, for example, a video device, and the kanji and kanji are mixed, it is necessary to insert a code change character such as kanji - kanji, or insert a special character code 1 for screen control. Yes, if data is transferred continuously using the D lvl A method, the process of detecting the coat change character, etc. described above and the subsequent Kanji 2 1 process etc. will not be performed on the 4t take stored in the memory in the terminal control device. Naturally, the processing time for performing operations on the memory increases dramatically, which reduces processing performance. On the other hand, if the FI J O method is used for all data, it is necessary to issue a P10 instruction for each data unit, which means that processing performance will be lowered even more than the I) M A method even from the point of view of the data. become.

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

本発明のL1的は、」二記ビデオ装置のデータのように
、特殊な制御文字が入っているデータの転送を従来に比
ノ\て処理性能を低下さ仕ずにfiうことをiiJ能に
したデータ転送処理方式を提供することにある。
The L1 objective of the present invention is to enable the transfer of data containing special control characters, such as data from a video device, without reducing processing performance compared to conventional methods. The purpose of the present invention is to provide a data transfer processing method that provides the following advantages.

〔発明の概要」 本発明の要点は、端末制御装置にあ2)メモリを直接ア
クセスする1、) M A制御部と同端末制御装置にあ
るマ〜rクロゾロセノーリ″制御部を介してやりとりな
行うI)10制御部の両方を用意して、1)MΔ転送と
した方が良いデータはDMΔ方式てPIO転送とした方
が良いデータはP II O方式でそれぞれテーク転送
することにより、ビテ71装置のようなデータ転送処理
のプログラムによるメモリ上での操作を極力減らし、デ
ータ転送処理+1ii”間を短縮するようにしたもので
ある。
[Summary of the Invention] The main points of the present invention are that the terminal control device 2) directly accesses the memory; ) 10 control units, and 1) take and transfer data that is better to use MΔ transfer using the DM∆ method and data that is better to use PIO transfer using the P II O method. This is designed to reduce the number of operations performed on the memory by the program for data transfer processing as much as possible, thereby shortening the time required for data transfer processing +1ii''.

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

第1図は本発明の一実施例のフI」ツタ図である。 FIG. 1 is a cross-sectional diagram of an embodiment of the present invention.

第1図において、端末制御装置1は、マイクロプロセッ
サ部2、メモリ部3および人出力制御部/lを其備し、
これらはシステム制御線6どア1へ1ノス/データ線7
で接続されている。人出力制御部11は中央処理装置5
との接続インタフェースを処理する部分て、インタフェ
ース制御部8、主制σ11部9、レジスタ部11、PI
○制御部12およびIJ M A制御部13よりなる。
In FIG. 1, a terminal control device 1 includes a microprocessor section 2, a memory section 3, and a human output control section /l,
These are the system control line 6 to the 1 node/data line 7.
connected with. The human output control unit 11 is the central processing unit 5
The parts that process the connection interface with the
○ Consists of a control section 12 and an IJMA control section 13.

なお、端末制御装置1には端末装置(ビデオ装置など)
との接続インタフェースを処理するアダプタがあるか、
第1図では省1118しである。
Note that the terminal control device 1 includes a terminal device (such as a video device).
Is there an adapter that handles the connection interface with
In FIG. 1, it is omitted 1118.

例えは、中央処理装置5か1ら端末制御装置1にテーク
をΦl:送する場合、以上のようにンJ・る。
For example, when sending a take from the central processing unit 5 to the terminal control device 1, the process is as described above.

中央処理装置5がVJ RI l”E系コマンドを発行
ずろと、−rシタフェース制御部8が該コマン1−を受
(Jて主制御部【J・、泪告する。’112 f’jを
うけた主制御511部)]はコマニア1−などをインタ
フェース制御部8から内部ハス10を介して読み出し、
割込み情報をfi成してレジスタ部11にセラ1へしだ
後、+3IO制御部12/\割込J)ヲ指示する。
When the central processing unit 5 issues a VJ RI l"E command, the -r interface control unit 8 receives the command 1- (J and the main control unit [J. complains.'112 f'j The received main control unit 511) reads Comania 1- etc. from the interface control unit 8 via the internal lotus 10,
After creating the interrupt information fi and sending it to the register section 11 to the cell 1, +3 IO control section 12/\interrupt J) is instructed.

割込みはl’ I O制御部12を介しシス)1ム制御
線(jによってマイν19ロブロセラ°制御部2に報告
さ、1151./ −(,1711Jjuヒノリ・制御
部2は、メモリ部:3に1()納さ、Itてい9.)ノ
°ロタラ11を実fjJ−ることにより、1″記11−
j込み11冒・11をもどにI’ I O又はD lv
lΔなどのヲ1−=タ転送力演k]・ジスタ部11にセ
ットする。
The interrupt is reported to the control unit 2 via l'IO control unit 12 via the system)1 control line (j, 1151./-(,1711Jju), and the control unit 2 is sent to the memory unit:3. 1 ( ), it is 9.) By executing Norotara 11, 1'' mark 11-
I' I O or D lv
lΔ etc. wo1−=ta transfer force k]・Set in the register section 11.

1、制御部9はレジスタ部11をスギA・ンして才iす
1. The control section 9 controls the register section 11.

1、記データ・1jノ:送力法がセットさ]1.たこと
を検出すると、コマンドにit>1L<テークの読、7
7込、7ノを−rンタフェース制御部8に指爪して中火
処理2!21:ゴ5がらのテークを取り込み、L/シス
タ部11にセラ1、l−る4この後、データ転送方法が
II) IV4Δの場合には、主制御部9かIJM八制
へ部1;3に刻して1.’) M△指;j′。
1. Data 1j: Feeding force method is set] 1. When it detects that the
7 included and 7 into the -r interface control unit 8 and process over medium heat 2! 21: Take in the take of Go 5 and transfer Cera 1 to L/sister part 11 and L - 4 After this, data transfer If the method is II) IV4Δ, enter 1. ') M△ finger; j'.

(この場合はl) M A −V、’ RI ’]”1
ら)を行えは、1)1νIA制御部I3により中火処理
装置5からのデータがメモリ部3に格納される。このデ
ータ4し;送をMJり返して行うことでビデオ装置など
に出力するデータがメモリ部j3に全て格納H”5 ;
11.7−6端末制御装置1から中央処理)’4E i
i 5にテークを転送する揚(目よ、中央処理装置9−
、から1.! I’:△1)系コマン1〜が元tjされ
、端末制御゛持直1内σ)ウー2−タ転送方向がメモリ
部:3→レジスタ部11→イ>9フ工−ス制御部8どな
って中央処理11j7置1)に転送づるよう主制御部9
が処理することな除(Jは、−1−記と同様の動11と
なる。
(In this case l) M A -V,'RI']”1
1) Data from the medium heat processing device 5 is stored in the memory section 3 by the 1νIA control section I3. By repeating this data transfer, all the data to be output to a video device etc. is stored in the memory section j3.
11.7-6 From terminal control device 1 to central processing)'4E i
i Transfer the take to 5 (eyes, central processing unit 9-
, to 1. ! I': △1) System commands 1 to 1 are source tj, terminal control (within 1 σ) output direction is memory section: 3 -> register section 11 -> I > 9 - base control section 8 The main control unit 9 sends the message to the central processing unit 11j7 (1).
The division that is not processed by (J becomes the movement 11 similar to -1-).

次に、端末制御装置1か1)中央処理装置5へ、漢字コ
ーI−の含まれている子−9pφノ、送する場合を例に
とってJY細に説明する− メモリ部3上のデータを中央IJI(、JIIl装置5
I−転Jz’iするj易な、第2図のように、1・:口
く二: +−,+ + +< ]−l−の途中にlFA
宇コーI−か含まれて(偶:・どラータ内容か変化する
ため、漢字識別コー1−の、1:うな1゛1゛殊」−ド
をデータ中に挿入して転送する必要がある。
Next, JY will be explained in detail by taking as an example the case where a child -9pφノ containing the kanji ko I- is sent to the terminal control device 1 or 1) central processing unit 5. IJI (, JIIl device 5
As shown in Figure 2, it is easy to make an I- turn.
Since the content of the kanji identification code 1- is changed, it is necessary to insert the kanji identification code 1-, 1: una 1゛1゛special'' into the data and transfer it. .

この場合、通常に処理すれはメモリ3上で漢字識別コー
1〜を挿入する処理を行うことになるが、こうするとメ
モリ3−F、でデータ全体の操作が必要となり、処理時
間が大11]に増加する。本発明では、これを以下のよ
うにして行う。
In this case, the normal processing would be to insert the kanji identification code 1~ in memory 3, but this would require the entire data to be manipulated in memory 3-F, which would take a long time to process. increases to In the present invention, this is done as follows.

第3図は本発明によるデータ転送処理方式のフロー図で
あり、第4図は第1図の各部に持っているレジスタの一
例である。
FIG. 3 is a flow diagram of the data transfer processing method according to the present invention, and FIG. 4 is an example of registers included in each part of FIG.

先ず漢字コードの転送を行う場合、マイタロプロセッサ
制御部2はPIO命令よって漢字識別コードのMバイ1
−をレジスタ部11の転送データバツアファレジスタに
、Mバイ1−の数値を転送チータバソファカウン1へレ
ジスタに、漢字コードが格納されているメモリ・ア1−
レスをIBMΔ制御部13内の1)MΔア1−レス・レ
ジスタに、漢字コードNバイ″1−のNをD M Aカ
ラン1−レジスタにそれぞれセソ1〜し、最後にレジス
タ部11の転送制御レジスタのl) I O/ 1.)
 MΔ転送フラグ、データ出力動作フラグを立ててセノ
1−する。
First, when transferring a kanji code, the Mytalo processor control unit 2 uses the PIO command to transfer the kanji identification code M by 1.
- is transferred to the data buffer register of the register section 11, and the value of Mbye 1- is transferred to the cheater bath counter 1.
The response is sent to the 1) MΔ address register in the IBMΔ control unit 13, and the N of the kanji code N by "1- is sent to the DMA callan 1 register, and finally the transfer to the register unit 11 is performed. Control register l) I O/1.)
Set the MΔ transfer flag and data output operation flag and perform seno 1-.

主制御部9はレジスタ部11の転送制御レジスタの動作
指示フラグをスキャンしており、データ出力動作フラグ
を検出するとデータ・1云送指示のチェックを行い、P
 IO/DMA転送フラグが)LっていればPIOの後
DMA転送と判断する7この場合、先ずPIO制御部1
2に指示して、レジスタ部11にあるP 1.0分の転
送データバッファレジスタの内容(漢字識別コード)を
転iAデータ・バッファ・カウント・レジスタに示され
るデータ数(Mバイト)だけインタフェース制御部8の
出力レジスタを介して中央処理装置5へ転送し、次にl
’l M /〜制御部13に指示して、DMAアドレス
・レジスタによってメモリ部3のデータを読み出し、レ
ジスタ部11のIBMΔレジスタにセソ1−する。この
l)MAレジスタの内容(漢字コー1〜)をインタフェ
ース制御部8の出力レジスタ1内部バス1(〕を介して
セットし、中央処理送置5へ転送するが、この動作をD
MAカウン1−・レジスタの内容(Nバイ1へ)だけ繰
り返すことで、メモリ部、3のデータを全で中央処理装
置5へ転送する。このデータ転送髪繰す返す間、各カウ
ントレジスタの減算、各アドレスレジスタの加算がそれ
ぞれ行われる。
The main control unit 9 scans the operation instruction flag of the transfer control register of the register unit 11, and when detecting the data output operation flag, checks the data 1 transfer instruction, and
If the IO/DMA transfer flag is )L, it is determined that DMA transfer is to be performed after PIO.7 In this case, first, the PIO control unit 1
2, transfer the contents of the P 1.0 minute transfer data buffer register (kanji identification code) in the register unit 11 by the number of data (M bytes) indicated in the iA data buffer count register and control the interface. It is transferred to the central processing unit 5 via the output register of the unit 8, and then
'l M /~ Instructs the control unit 13 to read the data in the memory unit 3 using the DMA address register, and sets it to the IBMΔ register in the register unit 11. This l) The contents of the MA register (Kanji ko 1 ~) are set via the output register 1 internal bus 1 ( ) of the interface control unit 8 and transferred to the central processing station 5, but this operation is
By repeating the contents of the MA counter 1 register (to N by 1), all data in the memory section 3 is transferred to the central processing unit 5. While this data transfer is repeated, each count register is subtracted and each address register is added.

なお、一連のレジスタで、転送データバッファ及びL)
 M Aに開するものを1クループとし、このグループ
化したものを二重、三重にもって、このグループ化した
ものを接続して処理する方式にした場合でも1本発明は
通用可能である。
In addition, a series of registers is used for transfer data buffer and L)
The present invention can also be applied to a method in which the items opened to MA are set as one group, and the grouped items are double or tripled, and the grouped items are connected and processed.

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

以」二説明した如く、本発明によれは、データ内容によ
ってPIOとDMAのいずれかのデータ転送力式を自由
に選択できるのため、データ転送時、メ士り」−の操作
を少くすることができ、データ転送外ノ1旧1−+f間
の力1縮1ヒがもたらされる。
As explained below, according to the present invention, either PIO or DMA data transfer force type can be freely selected depending on the data content, so that it is possible to reduce the number of manual operations during data transfer. is created, and the force 1 reduction 1 h between the data transfer outside 1 old 1 - + f is brought about.

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

第1図は本発明の−・実施例の全体構成図、第2図はl
Iv:送データの・例を示す図、第3図は本発明による
データ転送の概略処理フロー図、第4図は第1図におけ
る各部が具備しているレジスタの一例を示す図である。 1一端末制御装置、2・・マイクロプロセッサ制御部、
3・・・メモリ部、4・人出力制御部、5中央処理装置
、6・・・システム制御線、7 アドレス・データ線、
8・・インタフェース制御線、9・・・主制御部、10
・・内部ハス、11 レジスタ部、12・・PIO制御
部、13・・・DM八副制御部オ・3 図
Fig. 1 is an overall configuration diagram of an embodiment of the present invention, and Fig. 2 is a l
FIG. 3 is a schematic processing flow diagram of data transfer according to the present invention, and FIG. 4 is a diagram showing an example of registers included in each part in FIG. 1. 1 - terminal control device, 2... microprocessor control unit,
3...Memory section, 4.Human output control section, 5 Central processing unit, 6...System control line, 7 Address/data line,
8...Interface control line, 9...Main control section, 10
... Internal lotus, 11 Register section, 12... PIO control section, 13... DM 8 sub control section O.3 Figure

Claims (1)

【特許請求の範囲】 (+)プロセッサ部と、プログラムおよびデータが格納
されるメモリ部と、中央処理装置との間でデータのやり
取りを行う入出力制御部とを具備し。 種々の端末装置を制御する端末制御装置において、1)
「記入出力制御部に前記メモリ部を直接アクセスする直
接メモリ・アクセス制御部(以下1.) M A制御部
と称す)と前記プロセッサ部を介し入出力命令(1)■
○命令)により前記メモリ部とやり取りすl)1’ I
 O制御部とを設け、データの内容によって前記1)M
Δ制御部、P I○制御部のいずれかを11jt 11
< 1/て1jij記メモウメモリ央処理′!A置間の
データ転送を処理することを特徴とする端末制御装置の
データ転送処理方式。
[Claims] (+) A processor unit, a memory unit in which programs and data are stored, and an input/output control unit that exchanges data with a central processing unit. In a terminal control device that controls various terminal devices, 1)
``Direct memory access control unit (hereinafter referred to as 1.) MA control unit) that directly accesses the memory unit to the input/output control unit and input/output commands (1) through the processor unit
○ command) to communicate with the memory section l) 1' I
O control unit is provided, and depending on the content of the data, the above 1) M
11jt either the Δ control section or the PI○ control section.
<1/te1jij memo memory central processing'! A data transfer processing method for a terminal control device, characterized in that it processes data transfer between A and A.
JP16661183A 1983-09-12 1983-09-12 Data transfer processing system of terminal controller Pending JPS6059463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16661183A JPS6059463A (en) 1983-09-12 1983-09-12 Data transfer processing system of terminal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16661183A JPS6059463A (en) 1983-09-12 1983-09-12 Data transfer processing system of terminal controller

Publications (1)

Publication Number Publication Date
JPS6059463A true JPS6059463A (en) 1985-04-05

Family

ID=15834513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16661183A Pending JPS6059463A (en) 1983-09-12 1983-09-12 Data transfer processing system of terminal controller

Country Status (1)

Country Link
JP (1) JPS6059463A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02150948A (en) * 1988-12-01 1990-06-11 Matsushita Electric Ind Co Ltd Microcomputer
JPH0320851A (en) * 1989-03-30 1991-01-29 Mitsubishi Electric Corp Data processor
JPH04250764A (en) * 1991-01-26 1992-09-07 Nisca Corp Picture processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02150948A (en) * 1988-12-01 1990-06-11 Matsushita Electric Ind Co Ltd Microcomputer
JPH0320851A (en) * 1989-03-30 1991-01-29 Mitsubishi Electric Corp Data processor
JPH04250764A (en) * 1991-01-26 1992-09-07 Nisca Corp Picture processor

Similar Documents

Publication Publication Date Title
JPH0195354A (en) Application program interface and operation of information processing system
JPS6059463A (en) Data transfer processing system of terminal controller
CN104636280B (en) Circuit and method for pipe arbitration
JPS6160459B2 (en)
JPS5831439A (en) Updating system for firmware
JPS62231367A (en) Dma data transfer system
EP0127830B1 (en) Microprocessor system with a multibyte system bus
EP0324662A2 (en) Crossbar system for controlled data transfer
JPS6045862A (en) Shared memory device
JPH02118865A (en) Message control system for on-line system
JP2719280B2 (en) Computer system and high-speed I / O data transfer method
JPS60150139A (en) Data flow processor
JPH05210500A (en) Data processor
JPH02272666A (en) Dma transfer control circuit
JP3228575B2 (en) Data communication method
JPH04192048A (en) Control method for disk cache memory
JPS59119456A (en) Access system of segmented memory
JPH04205158A (en) Data transfer control system
JPH0354632A (en) Arithmetic instruction processor
JPS6129964A (en) Data transfer control system
JPS61170830A (en) Register reference control system
JPS60108958A (en) Inter-processor information transfer control system
JPS61242194A (en) Copying system for external file memory
JPS62217795A (en) Selective connection system
JPS63288379A (en) Reader/writer for memory card