JPS60246464A - Data transferring system of buffer memory - Google Patents

Data transferring system of buffer memory

Info

Publication number
JPS60246464A
JPS60246464A JP10242384A JP10242384A JPS60246464A JP S60246464 A JPS60246464 A JP S60246464A JP 10242384 A JP10242384 A JP 10242384A JP 10242384 A JP10242384 A JP 10242384A JP S60246464 A JPS60246464 A JP S60246464A
Authority
JP
Japan
Prior art keywords
buffer memory
address
data
data transfer
mpu
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
JP10242384A
Other languages
Japanese (ja)
Inventor
Akihiko Inamoto
稲本 彰彦
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.)
Usac Electronic Ind Co Ltd
Original Assignee
Usac Electronic Ind Co 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 Usac Electronic Ind Co Ltd filed Critical Usac Electronic Ind Co Ltd
Priority to JP10242384A priority Critical patent/JPS60246464A/en
Publication of JPS60246464A publication Critical patent/JPS60246464A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To execute directly a transfer of data between an input/output port and a buffer memory without being inputted to a register of an MPU by outputting automatically a mode switching signal by using an address space of the buffer memory. CONSTITUTION:When it is supposed that an MPU2 has outputted a write instruction by designating an address having a data storing area 22, a buffer memory 3 which has received it knows that this address is a virtual address, namely, an extended mode, by its built-in decoder, and converts this logical address to a real address. Subsequently, an extended signal EXA1 is outputted, and a tri-state bus driver 6 is inhibited through an NOR circuit 9 and an NAND circuit 10. The MPU2 executes the write instruction, and stores directly data of an input port 1 onto the address of the buffer memory 3 without transferring it to a register.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は1バツフア・メモリのデータ転送方式。[Detailed description of the invention] [Technical field of invention] The present invention is a one-buffer memory data transfer method.

特に入出力ボートとバッファ・メモリとのデータの転送
をMPU内のレジスタを介さずに直接行うようにして、
データ転送処理時間を短縮したバッファ・メモリのデー
タ転送方式に関するものである。
In particular, data transfer between the input/output board and the buffer memory is performed directly without going through the registers in the MPU.
The present invention relates to a buffer memory data transfer method that reduces data transfer processing time.

〔発明の背景と問題点〕[Background of the invention and problems]

従来、入出力ボートとバッファ・メモリとの間のデータ
転送をMPUが行う場合、MPUが出すリード命令によ
りデータ・バスを介して一度当該MPUにデータを転送
し、さらにMPUが出すライト命令によってMPUに転
送されたデータをパン°ファ・メモリ又は出力ボートに
ライトしなければならず、2回分のバス・サイクルを要
していた。
Conventionally, when an MPU transfers data between an input/output board and a buffer memory, data is transferred to the MPU via a data bus by a read command issued by the MPU, and then transferred to the MPU by a write command issued by the MPU. The data transferred to the bus had to be written to the printer memory or output port, which required two bus cycles.

第3図は従来の方式に係る回路構成を示している。この
従来の方式によるデータの転送は次の如(である。すな
わち本体9から入力ポート1にデータが転送され、その
データをMPUがリードして、一旦当該MPtJ2のレ
ジスタにロードする。
FIG. 3 shows a circuit configuration according to a conventional system. The data transfer according to this conventional method is as follows (that is, data is transferred from the main body 9 to the input port 1, the MPU reads the data, and once loads it into the register of the MPtJ2).

このMPL12のレジスタにストアされたデータをバッ
ファ・メモリ3の指定されたアドレス上に格納する。こ
のようなサイクルを繰り返して人力ボート1のデータを
バッファ・メモリ3へ順次転送していた。そして例えば
印字する場合等において。
The data stored in the register of this MPL 12 is stored on the designated address of the buffer memory 3. Data from the human-powered boat 1 was sequentially transferred to the buffer memory 3 by repeating such a cycle. For example, when printing.

バッファ・メモリ3に格納されたデータを一旦MPU2
のレジスタにロードし、このMPU2のレジスタにロー
ドされたデータを印字用ドライバにつながっている出力
ポート4に転送するというサイクルを繰り返し5データ
の転送を行っていた。
The data stored in the buffer memory 3 is temporarily transferred to the MPU 2.
The data loaded into the register of the MPU 2 is then transferred to the output port 4 connected to the print driver, repeating the cycle to transfer 5 data.

このため前記説明した如くバッファ・メモリ3のデータ
転送にバス・サイクルを2回使っており。
Therefore, as explained above, two bus cycles are used for data transfer in the buffer memory 3.

データ転送が高速化されない欠点があった。There was a drawback that data transfer could not be made faster.

なお、第3図において符号5はROM、6はトライステ
ートバスドライバ、7はデータ・バス。
In FIG. 3, reference numeral 5 is a ROM, 6 is a tri-state bus driver, and 7 is a data bus.

8はアドレス・バスを表わしている。8 represents an address bus.

また第4図は従来のバッファ・メモリのアドレス・マツ
プの例が示されており、符号24はバッファ・メモリ・
エリア、25はプログラム・エリア、26は未使用エリ
アを表わしている。
Further, FIG. 4 shows an example of the address map of a conventional buffer memory, and reference numeral 24 indicates the address map of a conventional buffer memory.
Area 25 represents a program area, and 26 represents an unused area.

〔発明の目的と構成〕[Object and structure of the invention]

本発明は上記の欠点を解決することを目的としており、
従来の回路構成に簡単なハードを付加することにより、
データ転送がより効率よく実行されるバッファ・メモリ
のデータ転送方式を焚供することを目的としている。そ
してそのため本発明のバッファ・メモリのデータ転送方
式は1本体装置から送られてきたデータを受信する入力
ポート。
The present invention aims to solve the above-mentioned drawbacks,
By adding simple hardware to the conventional circuit configuration,
The purpose is to provide a buffer memory data transfer method that allows data transfer to be performed more efficiently. Therefore, the data transfer method of the buffer memory of the present invention has one input port that receives data sent from the main device.

そのデータを一時格納するバッファ・メモリ、該バッフ
ァ・メモリに格納されたデータを順にセットしてゆく出
力ポート及びデータの転送を制御するMPUを備え、入
力ポートのデータをバッファ・メモリを介して出力ポー
トへ転送するバッファ・メモリのデータ転送方式におい
て、MPUが仮想アドレスでバッファ・メモリをアクセ
スするとき、拡張モード信号を出ノjさせると共に、入
出力ボートとバッファ・メモリとのデータ転送を直接実
行させるモード切換回路を設け、上記拡張モード信号の
出現によりモード切換を行い、入出力ボートとバッファ
・メモリとのデータの転送を直接可能ならしめたことを
特徴としている。以下図面を参照しつつ説明する。
Equipped with a buffer memory that temporarily stores the data, an output port that sequentially sets the data stored in the buffer memory, and an MPU that controls data transfer, and outputs the data of the input port via the buffer memory. In the buffer memory data transfer method for transferring data to a port, when the MPU accesses the buffer memory using a virtual address, it outputs an extended mode signal and directly executes data transfer between the input/output port and the buffer memory. The present invention is characterized in that a mode switching circuit is provided to switch the mode in response to the appearance of the extended mode signal, thereby making it possible to directly transfer data between the input/output board and the buffer memory. This will be explained below with reference to the drawings.

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

第1図は本発明に係るバッファ・メモリのデータ転送方
式の一実施例回路構成、第2図は本発明に係るバッファ
・メモリのデータ転送方式におけるバッファ・メモリの
アドレス・マツプの一例を示している。
FIG. 1 shows a circuit configuration of an embodiment of the buffer memory data transfer method according to the present invention, and FIG. 2 shows an example of an address map of the buffer memory in the buffer memory data transfer method according to the present invention. There is.

第1図において符号1ないし8は前述した第3図のもの
に対応している。符号9は負論理のノア回路、10は負
論理のナンド回路、11は負論理のノア回路、12はイ
ンバータ回路、13は負論理のナンド回路を表わしてお
り、これらのゲート回路によって高速データ転送のモー
ド切換回路を構成し、以下に説明する拡張モード信号に
よってデータ転送の高速処理ができるようになる。
In FIG. 1, numerals 1 to 8 correspond to those in FIG. 3 described above. Reference numeral 9 represents a negative logic NAND circuit, 10 represents a negative logic NAND circuit, 11 represents a negative logic NOR circuit, 12 represents an inverter circuit, and 13 represents a negative logic NAND circuit. These gate circuits allow high-speed data transfer. The mode switching circuit is configured to enable high-speed data transfer processing using the extended mode signal described below.

次に第2図のアドレス・マツプを説明する。Next, the address map shown in FIG. 2 will be explained.

バッファ・メモリ3に関して図示のバッファ・メモリ・
エリア21の物理アドレス空間は8にハイドとし、更に
アドレス空間を拡げ1次の8にバイトをデータ格納用エ
リア22に割当て、またその次の8にバイトをデータ転
送用エリア23に割当てる。これらの拡張された論理ア
ドレス空間のデータ格納用エリア22を第1拡張エリア
(EXAl)、データ転送用エリア23を第2拡張エリ
ア(EXA2)と呼ぶ。これらの拡張された論理アドレ
ス空間はバッファ・メモリ3の仮想アドレス空間となる
The buffer memory shown with respect to buffer memory 3
The physical address space of the area 21 is set to hide 8, and the address space is further expanded to allocate the primary 8 bytes to the data storage area 22, and the next 8 bytes to the data transfer area 23. The data storage area 22 of these expanded logical address spaces is called a first extended area (EXAl), and the data transfer area 23 is called a second extended area (EXA2). These expanded logical address spaces become the virtual address spaces of the buffer memory 3.

なお26は未使用エリア、25はプログラム・エリアで
ある。
Note that 26 is an unused area, and 25 is a program area.

例えば2番目のデータ格納用エリア22の成るアドレス
(2000+α)を指定してMPU2がライト命令を出
したものとすると、当該アドレス<2000+α)ヲ受
取ったバッファ・メモη3は、内蔵されているデコーダ
によりこのアドレス(2000+α)が仮想アドレスで
あること、すなわち拡張モードであることを知り、この
論理アドレスを実アドレスαに変換すると共に、拡張信
号EXA 1を出力する。このEXA 1は負論理のノ
ア回路9及び負論理のナンド回路10に入力し。
For example, if the MPU 2 issues a write command by specifying the address (2000+α) of the second data storage area 22, the buffer memory η3 that received the address <2000+α) will be processed by the built-in decoder. Knowing that this address (2000+α) is a virtual address, that is, in extension mode, it converts this logical address into a real address α and outputs an extension signal EXA1. This EXA 1 is input to a negative logic NOR circuit 9 and a negative logic NAND circuit 10.

トライステートパストライバ6をインヒビノドにする。Set the tri-state path driver 6 to inhibit mode.

MPU2はライト命令を実行し、当該MPU2のレジス
タに入力ポート1のデータを転送することなくバッファ
・メモリ3のアドレスα(第2図図示のバッファ・メモ
リ・エリア21上のアドレスα)上に直接格納する。こ
のようにしてMPU2がデータ格納用エリア22内のア
ドレスでライト命令を実行するときには、バッファ・メ
モリ・エリア21のアドレスと異なるアドレス、すなわ
ち仮想アドレスによって拡張モード(この場合はデータ
格納)と判別され、EXAIの信号を出力することにな
り、入力ポート1のデータは直接バッファ・メモリ3へ
転送される。
The MPU 2 executes the write command and writes the data directly onto the address α of the buffer memory 3 (address α on the buffer memory area 21 shown in FIG. 2) without transferring the data of the input port 1 to the register of the MPU 2. Store. In this way, when the MPU 2 executes a write instruction at an address in the data storage area 22, the expansion mode (data storage in this case) is determined based on the address different from the address in the buffer memory area 21, that is, the virtual address. , EXAI signals are output, and data at input port 1 is directly transferred to buffer memory 3.

一方MPU2が第3番目のデータ転送用エリア23のあ
るアドレス(4000+α)を指定してリード命令を出
したものとすると、当該アドレス(4000+α)を受
取ったバッファ・メモリ3は、内蔵されているデコーダ
によりこのアドレス(4000+α)がやはり仮想アド
レスであること、すなわち拡張モードであることを知り
、この論理アドレスを実アドレスαに変換すると共に。
On the other hand, if the MPU 2 specifies a certain address (4000+α) in the third data transfer area 23 and issues a read command, the buffer memory 3 that received the address (4000+α) As a result, it knows that this address (4000+α) is also a virtual address, that is, it is in extended mode, and converts this logical address into a real address α.

拡張信号EXA2を出力する。このEXA2は負論理の
ノア回路9及び負論理のナンド回路10に入力する。M
PU2はリード命令を実行し、バッファ・メモリ3のア
ドレスα(第2図図示のバッファ・メモリ・エリア21
上のアドレスα)上のデータを読み出す。この読み出さ
れたデータは前記EXA2によって受入れ態勢となった
出力ポート4へ直接転送される。この時トライステート
バスドライバ6はインヒビノドの状態になっていないの
で、必要に応じてMPU2のレジスタにも格納される。
Outputs an extended signal EXA2. This EXA2 is input to a negative logic NOR circuit 9 and a negative logic NAND circuit 10. M
The PU2 executes the read command and reads the address α of the buffer memory 3 (buffer memory area 21 shown in FIG.
Read the data at address α) above. This read data is directly transferred by the EXA 2 to the output port 4 which has become ready to accept. At this time, since the tristate bus driver 6 is not in the inhibited state, the information is also stored in the register of the MPU 2 as required.

このようにしてMPU2がデータ転送用エリア23内の
アドレスでリード命令を実行する゛ときには、バッファ
・メモリ・エリア21のアドレスと異なるアドレス、す
なわち仮想アドレスによって拡張モード(この場合はデ
ータ転送)と判別され、EXA2の信号を出力すること
になり。
In this way, when the MPU 2 executes a read command at an address in the data transfer area 23, the extended mode (data transfer in this case) is determined based on an address different from the address in the buffer memory area 21, that is, a virtual address. The EXA2 signal will be output.

バッファ・メモリ3から読み出されたデータは直接出力
ボート4へ転送される。
Data read from buffer memory 3 is transferred directly to output port 4.

なお、MPU2がバッファ・メモリ・エリア21内の実
アドレスを指定してリードまたはライト命令を実行する
場合、データ格納用エリア22やデータ転送用エリア2
3の仮想アドレスに符号しないので、上記説明の拡張モ
ードにするEXAI。
Note that when the MPU 2 specifies a real address in the buffer memory area 21 and executes a read or write command, the data storage area 22 and the data transfer area 2
Since EXAI does not encode the virtual address of 3, it is set to the extended mode described above.

EXA2の信号が発生しない。従ってこの場合は。EXA2 signal is not generated. So in this case.

第3図図示の従来と全く同一のMPU2のレジスタに一
旦データが格納され、それから転送される通常モードと
なる。
A normal mode is entered in which data is temporarily stored in the register of the MPU 2, which is exactly the same as the conventional one shown in FIG. 3, and then transferred.

拡張モードに切換えるEXAI、EXA2の信号全上記
の説明ではバッファ・メモリ3のデコーダから出力する
ようにしているが、他の回路から発生させ、これにより
モード切換を行ってもよい。
In the above explanation, all of the EXAI and EXA2 signals for switching to the extended mode are output from the decoder of the buffer memory 3, but they may be generated from other circuits to effect mode switching.

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

以上説明した如く3本発明によれば簡単な回路を追加し
、バッファ・メモリのアドレス空間を用いてモード切換
の信号を自動的に出すことにより。
As explained above, according to the third invention, a simple circuit is added and a mode switching signal is automatically issued using the address space of the buffer memory.

入出力ボートとバッファ・メモリとのデータの転送がM
PUのレジスタに取り込まずに直接行えるようになった
ので、データ転送効率が良くなり。
Transfer of data between input/output board and buffer memory is M
Data transfer efficiency has improved because it can now be performed directly without importing it to the PU register.

データ転送処理時間が短縮する。Data transfer processing time is reduced.

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

第1図は本発明に係るバッファ・メモリのデータ転送方
式の一実施例回路構成、第2図は本発明に係るバッファ
・メモリのデータ転送方式をこおけるバッファ・メモリ
のアドレス・マツプ例、第3図は従来に係るバッファ・
メモリのデータ転送方式の構成例、第4図は従来に係る
バッファ・メモリのデータ転送方式におけるバッファ・
メモリのアドレス・マツプ例を示している。 図中、1は入力ボート、2はMPo、3はバッファ・メ
モリ、4は出力ボート、5はROM、6はトライステー
トバスドライバ、7はデータ・バズ、8はアドレス・バ
ス、9は負論理のノア回路。 10は負論理のナンド回路、11は負論理のノア回路、
12はインバータ回路、13は負論理のナンド回路、2
1はバッファ・メモリ・エリア、22はデータ格納用エ
リア、23はデータ転送用エリア、24はバッファ・メ
モリ・エリア、25はプログラム・エリア、26は未使
用エリアをそれぞれ表わしている。
FIG. 1 shows a circuit configuration of an embodiment of the buffer memory data transfer method according to the present invention, and FIG. 2 shows an example address map of the buffer memory in which the buffer memory data transfer method according to the present invention is applied. Figure 3 shows the conventional buffer
An example of a configuration of a memory data transfer method, FIG. 4 shows a buffer memory in a conventional buffer memory data transfer method.
An example of a memory address map is shown. In the figure, 1 is an input port, 2 is an MPo, 3 is a buffer memory, 4 is an output port, 5 is a ROM, 6 is a tri-state bus driver, 7 is a data buzz, 8 is an address bus, and 9 is a negative logic Noah circuit. 10 is a negative logic NAND circuit, 11 is a negative logic NOR circuit,
12 is an inverter circuit, 13 is a negative logic NAND circuit, 2
1 is a buffer memory area, 22 is a data storage area, 23 is a data transfer area, 24 is a buffer memory area, 25 is a program area, and 26 is an unused area.

Claims (1)

【特許請求の範囲】 本体装置から送られてきたデータを受信する入力ボート
、そのデータを一時格納するバ・ノファ・メモリ、該バ
ッファ・メモリに格納されたデータを順にセントしてゆ
く出力ボート及びデータの転送を制御するMPUを備え
、入力ポートのデータをバッファ・メモリを介して出力
ボートへ転送するバッファ・メモリのデータ転送方式に
おいて。 MPUが仮想アドレスでバッファ・メモリをアクセスす
るとき、拡張モード信号を出力させると共に、入出力ボ
ートとバッファ・メモリとのデータ転送を直接実行させ
るモード切換回路を設け9上記拡張モ一ド信号の出現に
よりモード切換を行い。 人出力ボートとバッファ・メモリとのデータの転送を直
接可能ならしめたことを特徴とするバッファ・メモリの
データ転送方式。
[Claims] An input port that receives data sent from the main unit, a buffer memory that temporarily stores the data, an output port that sequentially sends the data stored in the buffer memory, and In a buffer memory data transfer method that includes an MPU that controls data transfer and transfers data from an input port to an output port via a buffer memory. When the MPU accesses the buffer memory using a virtual address, a mode switching circuit is provided that outputs an expansion mode signal and directly executes data transfer between the input/output board and the buffer memory.9 The appearance of the expansion mode signal described above. The mode is switched by . A data transfer method for a buffer memory, characterized in that data can be transferred directly between a human output boat and the buffer memory.
JP10242384A 1984-05-21 1984-05-21 Data transferring system of buffer memory Pending JPS60246464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10242384A JPS60246464A (en) 1984-05-21 1984-05-21 Data transferring system of buffer memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10242384A JPS60246464A (en) 1984-05-21 1984-05-21 Data transferring system of buffer memory

Publications (1)

Publication Number Publication Date
JPS60246464A true JPS60246464A (en) 1985-12-06

Family

ID=14327040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10242384A Pending JPS60246464A (en) 1984-05-21 1984-05-21 Data transferring system of buffer memory

Country Status (1)

Country Link
JP (1) JPS60246464A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5972532A (en) * 1982-10-20 1984-04-24 Hitachi Ltd Data transfer control method
JPS5983685A (en) * 1982-11-05 1984-05-15 Usac Electronics Ind Co Ltd Printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5972532A (en) * 1982-10-20 1984-04-24 Hitachi Ltd Data transfer control method
JPS5983685A (en) * 1982-11-05 1984-05-15 Usac Electronics Ind Co Ltd Printer

Similar Documents

Publication Publication Date Title
US5109333A (en) Data transfer control method and apparatus for co-processor system
US4835684A (en) Microcomputer capable of transferring data from one location to another within a memory without an intermediary data bus
JPH0472255B2 (en)
US4344130A (en) Apparatus to execute DMA transfer between computing devices using a block move instruction
JPH0146946B2 (en)
US6134642A (en) Direct memory access (DMA) data transfer requiring no processor DMA support
JPS60246464A (en) Data transferring system of buffer memory
JPH05189360A (en) Data transfer and storage system
JP2534321B2 (en) Data transfer control method and apparatus
JPS59214977A (en) Data processing device
KR100252508B1 (en) Apparatus for interfacing rom to processor bus
JP3266610B2 (en) DMA transfer method
JPH06231032A (en) Access controller
JP2821176B2 (en) Information processing device
JP3255429B2 (en) Memory interface circuit
JPS61161560A (en) Memory device
JP3242474B2 (en) Data processing device
JPH04333950A (en) Information processing system
JPS5999522A (en) Input and output control system
JPS61256458A (en) Information transfer system
JP2000259492A (en) Data transfer system
JPH06332842A (en) Direct memory access control circuit
JPH0696006A (en) Dma controller
JPS6341106B2 (en)
JPH01126744A (en) Data processor