Nothing Special   »   [go: up one dir, main page]

JPS6020269A - Microcomputer system - Google Patents

Microcomputer system

Info

Publication number
JPS6020269A
JPS6020269A JP12767283A JP12767283A JPS6020269A JP S6020269 A JPS6020269 A JP S6020269A JP 12767283 A JP12767283 A JP 12767283A JP 12767283 A JP12767283 A JP 12767283A JP S6020269 A JPS6020269 A JP S6020269A
Authority
JP
Japan
Prior art keywords
data
bus
control circuit
transfer
signal
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
JP12767283A
Other languages
Japanese (ja)
Inventor
Tsuneo Funabashi
船橋 恒男
Noboru Yamaguchi
昇 山口
Kazuhiko Iwasaki
一彦 岩崎
Jiyunichi Tatezaki
舘崎 順一
Takanori Shimura
隆則 志村
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 JP12767283A priority Critical patent/JPS6020269A/en
Publication of JPS6020269A publication Critical patent/JPS6020269A/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 make it possible to DMA-transfer only a part of data of a certain sector in the external memory to the main memory by installing a data buffer, address counter, mu (micronistruction) control circuit and a stack register at the external memory control circuit. CONSTITUTION:The floppy disk control circuit 103 has the input/output processing circuit 108 which responds to the command from the MPU (microcomputer), data processing unit 109, buffers 110A and 110B which store data from the floppy disk, and counters 111A and 111B which supply the address to these buffers. The data processing unit 108 includes the stack register 207, mu control circuit 208 and decoder 304. The mu control circuit 208 responds to the command from the CPU, and controls counters 111A and 111B, buffers 110A and 110B, etc., by utilizing microinstruction.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は外部記憶装置の制御回路を有するマイクロコン
ピュータシスチムニ関スル。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a microcomputer system having a control circuit for an external storage device.

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

従来、フロッピディスクからデータを読み出し、マイク
ロコンピュータ(MPU)が利用するランダムアクセス
メモリ(RAM)にこのデータを格納するために、フロ
ッピディスクの制御回路にバッファを設け、このバッフ
ァにディスクから読出したデータを格納した後、RAM
に転送していた。
Conventionally, in order to read data from a floppy disk and store this data in a random access memory (RAM) used by a microcomputer (MPU), a buffer is provided in the control circuit of the floppy disk, and the data read from the disk is stored in this buffer. After storing the RAM
was being transferred to.

MPUではこのデータを利用したデータ処理を実行した
り、あるいはこの一部のデータを書きかえ、再びバッフ
ァを介してフロッピディスクに格納していた。
The MPU performs data processing using this data, or rewrites some of the data and stores it again on the floppy disk via a buffer.

従来、ディスクからのデータの読み出しはセクタと呼ば
れる一つの領域ごとになされていた。したがって、バッ
ファは1セクタ分またはこれの整数倍の容量を有してい
た。従来技術では、 MpUが70ツピデイスク内の一
つのセクタ内の一部のデータを利用するときでも、その
セクタ全体の内容をバッファに読出した後、これをさら
にRAMにすべて転送していた。したがって、利用しな
いデータも転送されるため、データバスが不必要なデー
タ転送のために占有されることになる。
Conventionally, data was read from a disk in units of areas called sectors. Therefore, the buffer had a capacity of one sector or an integral multiple thereof. In the prior art, even when an MpU uses part of the data in one sector in a 70-tup disk, it reads out the entire contents of that sector into a buffer and then transfers it all to the RAM. Therefore, since unused data is also transferred, the data bus is occupied for unnecessary data transfer.

また、MPUが1つのセクタのある特定のデータを書き
かえるときでも、そのセクタの全体のデータがRAMに
バッファから転送され、転送後、MPUがRAMをアク
セスして、データの書きかえを行っていた。その後、修
正されたデータを含む一つのセクタ全体のデータが再び
バッファを介して、ディスクに格納されていた。このた
め、賽きかえを要しないデータもRAMに転送されると
いう無駄な処理がなされていた。
Furthermore, even when the MPU rewrites specific data in one sector, the entire data in that sector is transferred from the buffer to the RAM, and after the transfer, the MPU accesses the RAM and rewrites the data. Ta. Then, one entire sector's data including the modified data was stored on the disk again via the buffer. For this reason, data that does not need to be changed is also transferred to the RAM, which is a wasteful process.

以上の事実から、外部記憶制御回路に設けられたバッフ
ァ内のデータの内、所望のデータのみをRAMに転送す
るようにシステムを構成することが望ましい。また、バ
ッファ内のデータを書きかえる場合、バッファを直接M
PUがアクセスして、書きかえられるようにすることが
望ましい。この際、外部記憶制御回路を集積回路にて構
成するためには、従来のマイクロコンピュータで用いら
れている信号線を出来るだけそのまま用いて、上記要望
を実現できることが、外部記憶制御回路の必要なピン数
を増大させないために望ましい。
From the above facts, it is desirable to configure the system so that only desired data among the data in the buffer provided in the external storage control circuit is transferred to the RAM. Also, if you want to rewrite the data in the buffer, you can directly write the buffer to M
It is desirable that the PU be able to access and rewrite it. In this case, in order to configure the external storage control circuit with an integrated circuit, it is necessary to use the signal lines used in conventional microcomputers as much as possible to achieve the above requirements. This is desirable in order not to increase the number of pins.

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

したがって1本発明の目的は、外部記憶制御回路に設け
られたバッファ内の所望のデータを選択的にRAMに転
送できるようにしたマイクロコンピュータシステムを提
供することである。
Therefore, one object of the present invention is to provide a microcomputer system in which desired data in a buffer provided in an external storage control circuit can be selectively transferred to a RAM.

さらに本発明の目的は、従来のマイクロコンピュータシ
ステムで用いられている信号線をできるだけそのまま用
いて、上記バッファ内のデータの選択的転送を可能とす
るマイクロコンピュータシステムを提供するととである
A further object of the present invention is to provide a microcomputer system that allows selective transfer of data in the buffer by using signal lines used in conventional microcomputer systems as much as possible.

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

このため2本発明では、外部記憶制御回路内に、MPU
より与えられる転送コマンドに応答して、このコマンド
につづけて指定される転送開始アドレスを、バッファに
対するアドレスを与えるカウンタセットし、バッファの
出力をMPUとRAMに接続された共通バスに転送する
回路と、その後、ダイレクトメモリアクセス制御回路か
ら入力される転送許可信号に応答して上記カウンタをカ
ウントアツプするように制御する回路とを設けた。
Therefore, in the present invention, an MPU is included in the external storage control circuit.
A circuit that responds to a transfer command given by a transfer command, sets a transfer start address specified following the command to a counter giving an address for the buffer, and transfers the output of the buffer to a common bus connected to the MPU and the RAM. , and a circuit that controls the counter to count up in response to a transfer permission signal input from the direct memory access control circuit.

また、バッファ内データをRAMに転送しないで書きか
えるために、MPUから入力される書きかえコマンドに
関連して、MPUからさらに与えられる書きかえアドレ
スをノくツファのアドレスを与えるカウンタにセットす
る回路と、該セット後、MPUから書きかえデータが与
えられるごとに、バッファに書き込み信号を与える回路
とを設けた。
In addition, in order to rewrite the data in the buffer without transferring it to RAM, in connection with the rewrite command input from the MPU, a circuit that sets the rewrite address further given from the MPU to a counter that gives the address of the node. and a circuit that provides a write signal to the buffer every time rewritten data is provided from the MPU after the setting.

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

以下、本発明の実施例を第1図と第2図を用いて説明す
る。第1図は本発明によるマイクロコンピュータシステ
ムの全体構成図である。第1図にオイテ、マイクロコン
ピュータ(MPU) 101は、ランダムアクセスメモ
リ(RAM)102と、ダイレクトメモリアクセス(D
MA)制御回路106と、フロッピーディスク(FD)
107の制御回路103とに、アドレスバス104、デ
ータバス105、制御バス114からなる共通/くス1
0により接続され%FD制御回路103は、MPU又は
DMA制御回路106からの信号に応答して、フロッピ
ディスク107へのアクセスを制御する。FD制御回路
103は、MPUからのコマンドに応答してFD制御回
路103の動作を制御する入出力処理回路(IOPU)
108とフロッピディスク107からのデータのエラー
チェックその他を行うデータ処理ユニツ) (DPU)
109と、フロッピディスク107からのデータを格納
するバッファ(A)110Aとバッファ[F]〕110
Bと、これらのバッファに対するアドレスを与えるカウ
ンタ(A)IIIA%カウンタ(B)IIIBとを有す
る。バッファ(4)、■はフロッピディスク107の1
セクタ分の容量をそれぞれ有する。DMA制御回路10
6は共通バス10に接続され、信号線100.115を
それぞれ介してMPUl0I。
Embodiments of the present invention will be described below with reference to FIGS. 1 and 2. FIG. 1 is an overall configuration diagram of a microcomputer system according to the present invention. In FIG. 1, a microcomputer (MPU) 101 includes a random access memory (RAM) 102 and a direct memory access (D
MA) control circuit 106 and floppy disk (FD)
107 and a common bus 1 consisting of an address bus 104, a data bus 105, and a control bus 114.
0, the %FD control circuit 103 controls access to the floppy disk 107 in response to a signal from the MPU or DMA control circuit 106. The FD control circuit 103 is an input/output processing circuit (IOPU) that controls the operation of the FD control circuit 103 in response to commands from the MPU.
108 and floppy disk 107, and other data processing units) (DPU)
109, a buffer (A) 110A for storing data from the floppy disk 107, and a buffer [F]] 110
B, and a counter (A) IIIA and a % counter (B) IIIB giving addresses to these buffers. Buffer (4), ■ is 1 of floppy disk 107
Each has a capacity for a sector. DMA control circuit 10
6 are connected to the common bus 10 through signal lines 100 and 115, respectively.

l0PU10Bに接続され、公知のDMA制御回路から
なる。すなわち、DMA制御回路106は、MPUI 
01にかかり、FD制御回路103とRAM102間の
データ転送を制御するものである。
It is connected to l0PU10B and consists of a known DMA control circuit. That is, the DMA control circuit 106
01 and controls data transfer between the FD control circuit 103 and the RAM 102.

第2図には、l0PU108とDPU109の内、本発
明に関連する部分を示す。外部デコーダ303は、バス
104上のアドレスがl0PUに割りあてられたものか
否かを解読し、結果が肯定的ならばチップセレクト信号
C8を出力する。
FIG. 2 shows portions of the 10PU 108 and DPU 109 that are relevant to the present invention. External decoder 303 decodes whether the address on bus 104 is assigned to l0PU, and if the result is positive, outputs chip select signal C8.

l0P0108は、外部デコーダ303、データバス1
05、制御バス114と信号線115に接続され、単一
の集積回路よりなる。内部デコーダ304は、チップセ
レクト信号C81バス114から与えられる書き込み/
読み出し信号R/W。
l0P0108 is external decoder 303, data bus 1
05, is connected to the control bus 114 and the signal line 115, and consists of a single integrated circuit. The internal decoder 304 receives a write/write signal from the chip select signal C81 bus 114.
Read signal R/W.

線115に介してDMA制御回路106より与えられる
DMA転送許可信号ACKに応答して、バスドライバ2
22によるデータ転送方向あるいはレジスタスタック2
07に対するデータのセット等を制御するものである。
In response to the DMA transfer permission signal ACK applied from the DMA control circuit 106 via the line 115, the bus driver 2
22 data transfer direction or register stack 2
This controls the setting of data for 07.

すなわち、信号C8およびR,/Wがともに論理1のと
きあるいは、信号ACKが論理1で信号R/Wが論理0
のときに、バスドライバ222を送信状態に制御する。
That is, when signals C8, R, /W are both logic 1, or signal ACK is logic 1 and signal R/W is logic 0.
At this time, the bus driver 222 is controlled to be in the transmitting state.

一方、信号C8が論理1で信号R/Wが論理Oのとき、
あるいは、信号ACK。
On the other hand, when signal C8 is logic 1 and signal R/W is logic O,
Or signal ACK.

R/ Wがともに論理1のときにバスドライバ222を
受信状態に制御する。レジスタスタック207はバス1
05.ドライバ222を介してM P Ulolから与
えられるコマンドあるいはコマンド実行のためのデータ
をストアするもので、データを格納すべきレジスタ番号
全指示するスタックポインタ(図示せず)を内蔵してい
る。
When both R/W are logic 1, the bus driver 222 is controlled to receive state. Register stack 207 is bus 1
05. It stores commands given from MP Ulol via the driver 222 or data for command execution, and includes a stack pointer (not shown) that indicates all register numbers in which data should be stored.

マイクロ命令制御回路(以下、μ制御回路と呼ぶ)20
8は、このコマンドに応答して、カウンタ(8)、G3
)、バッファ(5)、CB)などをマイクロ命令を利用
して制御するもので、マイクロ命令記憶装置400、演
算回路402%内部レジスタ群404等を有し、公知の
マイクロプログラム制御のマイクロコンピュータにて実
現される。
Microinstruction control circuit (hereinafter referred to as μ control circuit) 20
In response to this command, counter (8), G3
), buffer (5), CB), etc. using microinstructions, and has a microinstruction storage device 400, an arithmetic circuit 402%, an internal register group 404, etc., and is compatible with a known microprogram-controlled microcomputer. This will be realized.

DPU109は、707ビデイスク107から読み出さ
れたデータが線202を介してシリアルに入力される8
ビツトのシフトレジスタ205を有し、このシフトレジ
スタ205のデータは、パラレルにディスクバス113
を介してバッファ(5)又は[F])に入力される。ま
た、バッファA又はBのデータをフロッピディスク10
7に格納するときには、ディスクバス113を介してデ
ータがシフトレジスタ205にバッファA又はBからパ
ラレルに転送され、線201を介してフロッピディスク
107に転送される。スイッチSWB、8WCはそれぞ
れバッファA、Bをディスクバス113又は内部バス1
12に接続するためのものである。
The DPU 109 receives data read from the 707 video disk 107 serially via a line 202.
It has a bit shift register 205, and the data in this shift register 205 is transferred to the disk bus 113 in parallel.
is input to the buffer (5) or [F]) via the buffer (5) or [F]). Also, the data in buffer A or B can be transferred to the floppy disk 10.
7, data is transferred in parallel from buffer A or B to shift register 205 via disk bus 113 and transferred to floppy disk 107 via line 201. Switches SWB and 8WC respectively connect buffers A and B to disk bus 113 or internal bus 1.
This is for connecting to 12.

なお、回路206は、フロッピディスク107から与え
られる読出しクロック203又は書き込みクロック20
4を8分の−に分周する回路である。
Note that the circuit 206 receives the read clock 203 or the write clock 20 given from the floppy disk 107.
This is a circuit that divides 4 into -8.

この回路の出力はカウンタ111A又は111Bを更新
するのに用いられる。スイッチSWD。
The output of this circuit is used to update counter 111A or 111B. Switch SWD.

SWEは、それぞれカウンタA、Hに対して供給すべき
クロックを選択するためのものである。
SWE is for selecting the clock to be supplied to counters A and H, respectively.

以下、具体的に装置動作を説明する。The operation of the device will be specifically explained below.

(1)ディスクからバッファへのデータの読出しモード
MPUl0Iは、FD制御回路103にディスクからの
データの読出しを指示する第1のコマンドおよびこのコ
マンド実行に必要なデータをFD制御回路103に順次
書込む。第1コマンド実行に必要なデータには、70ツ
ピデイスク107からの読出し開始すべきセクタ全指定
するためのセクタ識別番号IDと、読出されたデータ金
格納開始するバッファがバッファA、Hのいずれである
かを示すバッファ番号BNと、フロッピディスクから読
出すべきセクタの数SN等が含まれる。なお、セクタ数
8Nは2以下とする。MPUは、FD制御回路108に
割りあてられたアドレスと、第1のコマンドを表わすデ
ータとを有するストア命令を実行する。
(1) Read mode of data from disk to buffer MPUl0I sequentially writes the first command instructing the FD control circuit 103 to read data from the disk and the data necessary for executing this command to the FD control circuit 103. . The data required to execute the first command includes a sector identification number ID for specifying all sectors to start reading from the 70-tup disk 107, and whether the buffer to start storing the read data is buffer A or H. The buffer number BN indicating the number of sectors to be read from the floppy disk, the number SN of sectors to be read from the floppy disk, etc. are included. Note that the number of sectors 8N is 2 or less. The MPU executes a store instruction having an address assigned to the FD control circuit 108 and data representing the first command.

MPUはこのストア命令の実行によりバス104にFD
制御回路103のアドレスを出力し、バス105には第
1コマンドを出力し、バス114上の信号R/Wを論理
Oとする。デコーダ303がこのアドレスを解読して、
チップセレクタ信号cst出力する。デコーダ304は
、このチップセレクト信号C8と論理0の信号R,/W
に応答して、バスドライバ222?、バス105からデ
ータを受信する状態に制御する信号aを線305に出力
する。
The MPU stores the FD on the bus 104 by executing this store instruction.
The address of the control circuit 103 is output, the first command is output to the bus 105, and the signal R/W on the bus 114 is set to logic O. The decoder 303 decodes this address and
Chip selector signal cst is output. The decoder 304 uses this chip select signal C8 and logic 0 signals R and /W.
In response to the bus driver 222? , outputs a signal a to line 305 to control the state of receiving data from bus 105.

さらにデコーダ304は線305を介してスタック20
7に、内部バス112上のデータをセットすべきことを
示す信号すを入力する。こうして、レジスタスタック2
07に、MPUから出力された第1のコマンドがセット
される。デコーダ304からの信号すはμ制御回路20
8にも入力される。
Furthermore, the decoder 304 connects the stack 20 via line 305.
7, a signal indicating that data on the internal bus 112 should be set is input. Thus, register stack 2
07, the first command output from the MPU is set. The signal from the decoder 304 is μ control circuit 20
8 is also input.

この回路は、コマンド入力待ちに通常保持されており、
この状態で信号すが入力されると、スタック207の先
頭データをアクセスするようにプログラムされている。
This circuit is normally held waiting for command input,
When a signal is input in this state, it is programmed to access the top data of the stack 207.

また、このアクセス全可能にするため、スタック207
内の任意のレジスタがμ制御回路208によりアクセス
可能に構成されている。μ制御回路208はこの先頭デ
ータを線312を介して受け取り、これがどのコマンド
に対するものかを解読するプログラムルーチンを実行す
る。解読後、現在の第1のコマンド実行のための第1の
マイクロ命令ルーチン全実行する。コマンドごとに、そ
の実行に必要なデータがあらかじめ定められていること
を利用して、このルーチンの初めでは解読したコマンド
実行に必要なデータがすべてスタック207に格納され
たがどうがチェックされる。MPUは第1コマンドのス
トア命令を実行後、このコマンド実行に必要な上述のデ
ータを順次FD制御回路103に書込むための複数のス
トア命令を所定の順序で実行し、スタック207にこれ
らのデータが順次ストアされる。
Also, in order to make this access possible, the stack 207
Any register within is configured to be accessible by μ control circuit 208. μ control circuit 208 receives this leading data via line 312 and executes a program routine to decode which command it corresponds to. After decoding, the first microinstruction routine for executing the current first command is fully executed. Utilizing the fact that the data necessary for the execution of each command is determined in advance, it is checked at the beginning of this routine whether all the data necessary for the execution of the decoded command has been stored in the stack 207. After executing the store instruction of the first command, the MPU executes a plurality of store instructions in a predetermined order to sequentially write the above-mentioned data necessary for executing this command to the FD control circuit 103, and stores these data in the stack 207. are stored sequentially.

このとき、スタックポインタ(図示せず)の更新は信号
すにより行なわれる。μ制御回路108は、スタック2
07への一つのデータの格納ごとに入力される信号すの
入力回数により、必要なデータがすべてスタック207
にセットされたことを知ることができる。その後第1マ
イクロ命令ルーチンにより次の動作を行う。
At this time, the stack pointer (not shown) is updated by a signal. The μ control circuit 108 controls the stack 2
Depending on the number of times the signal is input each time one piece of data is stored in the stack 207, all the necessary data can be stored in the stack 207.
You can see that it has been set to . Thereafter, the next operation is performed by the first microinstruction routine.

まず、μ制御回路208はフロッピディスク107とD
PUに起動信号を線314を介して出力する。このとき
セクタ識別番号IDと、セクタ数SNとを、スタック2
07がら読出し、線310を介して、DPUに送出する
。DPUはフロッピディスク107から読出されたデー
タの内、これらのデータID、SNにより指定されるデ
ータのみを選択して線202に転送する回路を有する。
First, the μ control circuit 208 connects the floppy disk 107 and D
An activation signal is output to the PU via line 314. At this time, the sector identification number ID and the number of sectors SN are stored in the stack 2.
07 and sends it to the DPU via line 310. The DPU has a circuit that selects only the data specified by these data ID and SN from among the data read from the floppy disk 107 and transfers it to the line 202.

次に、μ制御回路208は、スタック207にあるバッ
ファ番号BNを線312を介して訣み出し、これにより
指定されるバッファA又はBをディスクバス113に接
続するようにスイッチSWB又はSWCを制御し、さら
にこのバッファA又はBに対応するカウンタA又はB’
にクリアする信号CLRA又はCLRB を線210の
一つに出力する。
Next, the μ control circuit 208 extracts the buffer number BN from the stack 207 via the line 312 and controls the switch SWB or SWC to connect the designated buffer A or B to the disk bus 113. Furthermore, the counter A or B' corresponding to this buffer A or B
A signal CLRA or CLRB is output on one of the lines 210 to clear the signal CLRA or CLRB.

さらにスイッチSWD又はSWEを分周回路206の出
力線側に切換える。また、スイッチSWA全線203側
に切りかえる。
Furthermore, the switch SWD or SWE is switched to the output line side of the frequency dividing circuit 206. Further, the switch SWA is switched to the entire line 203 side.

DPUでは、読出しデータ202に同期して、読出しク
ロック203が発生され、このクロック信号に基づき、
このデータがシフトレジスタ205にシリアルに書込ま
れる。分周回路206は、このクロックを8分の1に分
周したクロックを線209に出力する。したがって、8
ビツトの容量のシフトレジスタ205に8ピツトのデー
タがシフトインされるごとにクロック209が出力され
る。μ制御回路208はこのクロック209に応答して
、MPUから指定されたバッファA又はBに対する書込
み信号WBA又はWEBを線210に出力する。こうし
て、カウンタA又はBにて示されるアドレスに、フロッ
ピディスク1o7がら読出されたデータがストアされる
。この後、カウンタA又はBはクロック209により+
1される。
In the DPU, a read clock 203 is generated in synchronization with the read data 202, and based on this clock signal,
This data is serially written into shift register 205. The frequency divider circuit 206 divides this clock into 1/8 and outputs a clock to a line 209. Therefore, 8
A clock 209 is output every time 8 pits of data are shifted into the bit capacity shift register 205. In response to this clock 209, the μ control circuit 208 outputs a write signal WBA or WEB to a buffer A or B designated by the MPU to a line 210. In this way, the data read from the floppy disk 1o7 is stored at the address indicated by the counter A or B. After this, counter A or B is set to + by clock 209.
1 will be given.

以後、同じようにして、フロッピディスク107から読
出されたデータが順次1バイトづつバッファA又はBに
ストアされる。このとき、μ制御回路208は、バッフ
ァA又はBに書込むごとに、書込みずみバイト数を演算
回路402とレジスタ404を用いてカウントし、バッ
ファA又1dB(7)最終アドレスまで書込んだが否が
をチェックする。
Thereafter, in the same manner, data read from the floppy disk 107 is stored in buffer A or B sequentially one byte at a time. At this time, the μ control circuit 208 counts the number of written bytes using the arithmetic circuit 402 and the register 404 each time it writes to buffer A or B, and writes up to the final address of buffer A or 1 dB (7). Check.

このチェック結果が肯定的のときに、スタック207に
ある。MPUより指定されたセクタ数SNが1か2かが
チェックされる。セクタ数SNが1のときには、データ
読み取りが終了する。セクタ数SNが2のときには、μ
制御回路208は、カウンタBをクリアし、スイッチs
wc又はSWB全制御して、シフトレジスタ205をバ
ッファB又はAに接続し、スイッチ8WE又はSWDを
クロック209側にセットする。この後、バッファA又
はBへの書込みと全く同様に、データが格納される。
When the result of this check is positive, it is on the stack 207. It is checked whether the number of sectors SN specified by the MPU is 1 or 2. When the number of sectors SN is 1, data reading ends. When the number of sectors SN is 2, μ
Control circuit 208 clears counter B and switches s
Fully control wc or SWB, connect shift register 205 to buffer B or A, and set switch 8WE or SWD to the clock 209 side. After this, the data is stored just like writing to buffer A or B.

こうして、一つ又は二つのセクタのデータがノ(ソファ
A又はBに格納されると、μ制御回路208は、線11
4に割込み要求IREQ、を出力し、MPUにデータの
読出しが終了したことを知らせるとともに、スタックポ
インタ(図示せず)その他の回路を初期状態に戻す。
Thus, when one or two sectors of data have been stored in either A or B, the μ control circuit 208
4, an interrupt request IREQ is output to inform the MPU that data reading has been completed, and the stack pointer (not shown) and other circuits are returned to their initial states.

(2)バッファからRAMへの転送モードMPUは、バ
ッファA又はBにストアされたデータ全RAMに転送し
たい場合、DMA制御回路106をイニシアライズする
Jなわち、ストア命令を実行して、DMA制御回路10
6に、転送すべきデータを格納するR、 A M内の領
域の先頭アドレス等をセットする。
(2) Transfer mode from buffer to RAM When the MPU wants to transfer data stored in buffer A or B to all RAM, it initializes the DMA control circuit 106, that is, executes a store instruction, and performs DMA control. circuit 10
6, set the start address of the area in R and AM in which the data to be transferred is stored.

その後MPUは、バッファA又はBからの読出しを指示
する第2のコマンドをl0PU108にストアする命令
を実行し、このコマンドがスタック207にストアされ
る。さらに%MPUはl0PU108をイニシアライズ
する。すなわち、読出し開始すべきバッファの番号BN
と、読出すべきデータのバイト数WNと、読出し開始す
べきノ(ソファアドレスBAとを指示する複数のストア
命令を実行し、前述したのと同じように、スタック20
7にこれらのデータをストアする。μ制御回路208は
、スタック207に新たにストアされた第2のコマンド
に応答してバッファアドレスBAt−スタック207か
ら読出し1、内部バス112に送出する。さらに、スタ
ック207からバッファ番号BNを読出し、これに対応
するカウンタA又はBにセット信号5ETA又は5ET
Bを出力する。こうして、カウンタA又はBがプリセッ
トされた後、スイッチSWB又はSWCを内部バス11
2側にセットする。この結果、カウンタA又はBで示さ
れるアドレスを持つ領域に格納されているデータが内部
バス112に読出される。さらに、スイッチSWD又は
SWEを線115A側にセットする。
Thereafter, the MPU executes an instruction to store a second command instructing reading from buffer A or B to l0PU 108, and this command is stored in stack 207. Furthermore, %MPU initializes l0PU108. That is, the number BN of the buffer to start reading from.
, the number of bytes WN of the data to be read, and the address (sofa address BA) to start reading.
Store these data in 7. In response to the second command newly stored in the stack 207, the μ control circuit 208 reads 1 from the buffer address BAt-stack 207 and sends it to the internal bus 112. Furthermore, the buffer number BN is read from the stack 207 and a set signal 5ETA or 5ET is sent to the corresponding counter A or B.
Output B. In this way, after counter A or B is preset, switch SWB or SWC is connected to internal bus 11.
Set it on the 2nd side. As a result, the data stored in the area having the address indicated by counter A or B is read onto internal bus 112. Further, switch SWD or SWE is set to the line 115A side.

その後、μ制御回路208は線115B上にI)MA転
送要求DR,EQをセットし、線115Aを介してDM
A制御回路106から転送許可信号ACKが入力される
のを待つ。すなわち、DMA制御回路106は、信号D
REQの立上がりに応答して、第1図の線100を介し
てMPUにバス使用要求を出力し、MPUからバス使用
許可信号が線100を介して転送されたときに、バス1
04にあらかじめMPUより入力された転送開始アドレ
スを出力し、バス114上の信号R/Wを論理Oにセッ
トする。デコーダ304は信号ACKと論理Oの信号R
/Wに応答してバスドライバ222にこれを送信状態に
する信号Cを出力するとともに、μ制御回路208に、
これを示す信号dを出力する。
After that, the μ control circuit 208 sets I) MA transfer requests DR and EQ on the line 115B, and sends the DM transfer request via the line 115A.
It waits for the transfer permission signal ACK to be input from the A control circuit 106. That is, the DMA control circuit 106 receives the signal D
In response to the rising edge of REQ, a bus use request is output to the MPU via line 100 in FIG.
04, the transfer start address previously input from the MPU is output, and the signal R/W on the bus 114 is set to logic O. The decoder 304 has a signal ACK and a logic O signal R.
/W, it outputs a signal C to the bus driver 222 to put it in a transmission state, and also outputs a signal C to the μ control circuit 208.
A signal d indicating this is output.

一方、内部バス112には、カウンタA又はBの更新前
のアドレスで示されるデータがすでにバッファA又はB
から読出されており、バスドライバ222が送信状態に
なったことより、このデータがバス105に転送される
。RAMは、バス114上の信号R/Wの論理Oと、バ
ス104上のアドレスとに応答して、バス105上のデ
ータをストアする。一方、線115A上のACK信号は
、スイッチSWD又はEを介して、カウンタA又はBを
カウントアツプさせ、次の番地にあるデータが内部バス
112に読み出される。また、μ制御回路208は、デ
コーダ304からの信号Cに応答して、バス104′″
への転送ずみデータのバイト数をカウントするようにプ
ログラムされており、このカウント値がスタック207
にある転送バイト数WNに一致したか否かを検出する。
On the other hand, data indicated by the address before counter A or B is already stored in buffer A or B on internal bus 112.
Since the bus driver 222 has entered the transmission state, this data is transferred to the bus 105. The RAM stores data on bus 105 in response to a logic O on signal R/W on bus 114 and an address on bus 104 . On the other hand, the ACK signal on line 115A causes counter A or B to count up via switch SWD or E, and the data at the next address is read onto internal bus 112. Further, the μ control circuit 208 responds to the signal C from the decoder 304 to
The stack 207 is programmed to count the number of bytes of data transferred to the stack 207.
It is detected whether or not the number of transferred bytes matches the number of transferred bytes WN.

この検出結果が否定的のときには、μ制御回路208は
、線115B上のDMA転送要求DREQをそのまま保
持する。一方、DMA制御回路106は、転送許可信号
ACKをl0PUに送出したあと、信号D R,E Q
が1か否かをチェックし、このチェック結果が肯定的な
ときには、R,AMへのデータのストアが終了したタイ
ミングに再び線115A上に信号ACKを出力する。信
号R/Wは論理0のままである。さらに、バス104に
出力するRAMアドレスを前のアドレスより1つ大きな
値にする。
When this detection result is negative, μ control circuit 208 holds the DMA transfer request DREQ on line 115B as is. On the other hand, after sending the transfer permission signal ACK to l0PU, the DMA control circuit 106 transmits the signals D R, E Q
If the result of this check is positive, the signal ACK is outputted onto the line 115A again at the timing when data storage to R and AM is completed. Signal R/W remains at logic zero. Furthermore, the RAM address output to bus 104 is set to a value one larger than the previous address.

この後、次の番地のデータが同じようにしてバッファA
又はBからRAMに書き込まれる。以後同じようにして
、バッファからRAMに、MPUにてあらかじめ指定さ
れたバイト数のデータが転送される。
After this, the data at the next address is transferred to buffer A in the same way.
Or it is written from B to RAM. Thereafter, data of the number of bytes specified in advance by the MPU is transferred from the buffer to the RAM in the same manner.

なお、この転送動作の途中において、μ制御回路208
はデコーダ304から信号Cが入力されるごとに、バッ
ファA又はBの最後のアドレスを持ったデータが転送ず
みか否かをチェックする。
Note that during this transfer operation, the μ control circuit 208
Each time signal C is input from the decoder 304, it is checked whether the data having the last address in buffer A or B has been transferred.

このため、μ制御回路208は、スタック207にある
バッファアドレスを読み出し、信号Cが入力されるごと
にこの値を更新した値を内部に保持するようにプログラ
ムされている。
For this reason, the μ control circuit 208 is programmed to read the buffer address in the stack 207 and internally hold an updated value each time the signal C is input.

この最終データ転送チェックが肯定的のときには、μ制
御回路208は、カウンタB又はAをクリアし、スイッ
チSWC又はSWBを内部バス112側に切り換え、ス
イッチSWB又はSWCをディスクバス113側に切り
換え、さらに、スイッチS W’ E又はSWDを線1
15A側に切り換え、スイッチSWD又はSWEを線2
09側に切りかえる。こうして、以後はバッファB又は
A側からデータをよみ出しRAMに転送する動作が行な
われる。
When this final data transfer check is positive, the μ control circuit 208 clears the counter B or A, switches the switch SWC or SWB to the internal bus 112 side, switches the switch SWB or SWC to the disk bus 113 side, and further , switch SW' E or SWD to line 1
Switch to 15A side and connect switch SWD or SWE to line 2.
Switch to the 09 side. In this way, from now on, the operation of reading data from the buffer B or A side and transferring it to the RAM is performed.

以上のようにして、転送ずみデータのバイト数がMPU
により指定された値に達すると、μ制御回路208は、
線115B上の信号DltEQを論理0にし、線114
に割込み信号II(、EQ、全出力する。
As described above, the number of bytes of transferred data is
When the value specified by is reached, the μ control circuit 208
The signal DltEQ on line 115B is set to logic 0 and line 114
Interrupt signal II (, EQ, all outputs).

DMA制御回路106は、信号り几EQが0になったこ
とに応答して次の転送を許可する信号ACKの送出を止
める。MPUは信号IREQ、により、データ転送の終
了を知ることができる。
The DMA control circuit 106 stops sending the signal ACK, which permits the next transfer, in response to the signal EQ becoming 0. The MPU can know the end of data transfer by the signal IREQ.

以上のごとくにして、MPUは、バッファの任意のアド
レスから始まる任意の長さのデータをRAMに転送する
ことができる。
As described above, the MPU can transfer data of any length starting from any address in the buffer to the RAM.

(3)バッファ白データの書きかえ MPUがバッファA又はB内のデータを書きかえるとき
には、MPUは複数のストア命令を実行して、スタック
207に、書きかえ全指示する第3のコマンドと、書き
かえるべきバッファ番号BN%書きかえるべきデータの
先頭バッファアドレスBA、書きかえるべきデータのバ
イト数WNを順次前述の手順と同じようにして書き込む
。μ制御回路208はこの第3コマンドがスタック20
7にセットされたことに応答して、スタック207かも
内部バス112にバッファアドレスBAを読出し、スタ
ック207内にあるバッファ番号BNに対応するカウン
タA又はBに、このアドレスをセットすることを指示す
る信号5BTA又は5ETB 全送出する。さらに、こ
のカウンタA又はBに対応するスイッチSWD又はSW
Eを線316側にセットする。さらにバッファ番号BN
に対応するスイッチSWB又はSWCを内部バス側にセ
ットする。MPUはその後、FD制御回路103に対す
るアドレスを有し、バッファに書込むべきデータを有す
るストア命令を実行する。この結果、線104,105
には、FD制御回路103のアドレスと、書込むべきデ
ータが出力され、線114上の信号R/Wが0となる。
(3) Rewriting buffer white data When the MPU rewrites the data in buffer A or B, the MPU executes multiple store commands and sends a third command to the stack 207 that instructs all rewriting, and The buffer number BN% to be changed, the start buffer address BA of the data to be rewritten, and the number of bytes WN of the data to be rewritten are sequentially written in the same manner as described above. The μ control circuit 208 receives this third command from the stack 200.
In response to being set to 7, the stack 207 also reads the buffer address BA onto the internal bus 112 and instructs counter A or B in the stack 207 corresponding to the buffer number BN to be set to this address. Send all signals 5BTA or 5ETB. Furthermore, a switch SWD or SW corresponding to this counter A or B
Set E on the line 316 side. Furthermore, buffer number BN
Set the corresponding switch SWB or SWC to the internal bus side. The MPU then executes a store instruction that has the address for the FD control circuit 103 and has the data to be written to the buffer. As a result, lines 104 and 105
The address of the FD control circuit 103 and the data to be written are output to the line 114, and the signal R/W on the line 114 becomes 0.

この結果、このデータがバスドライバ222を介して内
部パス112に転送される。一方、μ制御回路108は
、デコーダ304の出力すに応答してスタック207に
あるバッファ番号BNに対応するバッファA又はBに書
込み信号WEA又はWEB全出力する。こうして、MP
Uからの書込みデータがMPUにより指示されたバッフ
ァA又はBにストアされる。μ制御回路208は、その
後、線316にカウンタA又はBをカウントアツプする
信号UP’に出力する。以後、MPUが順次具なるデー
タについてストア命令を実行すれば、スタック207に
あらかじめセットされているバッファアドレスBAから
順次バッファA又はBに新た寿データを書込むことがで
きる。μ制御回路は書込み信号WEA又はWEBを出力
するごとに、書込みずみデータ数がスタック207にセ
ットされているバイト数WNに一致したか否かをチェッ
クするようになっており、このチェックの結果が肯定的
のときに、FD制御回路103をコマンド待ち状態に戻
す。
As a result, this data is transferred to internal path 112 via bus driver 222. On the other hand, the μ control circuit 108 outputs the entire write signal WEA or WEB to the buffer A or B corresponding to the buffer number BN in the stack 207 in response to the output of the decoder 304. In this way, M.P.
Write data from U is stored in buffer A or B designated by the MPU. The μ control circuit 208 then outputs a signal UP' on line 316 that causes the counter A or B to count up. Thereafter, if the MPU sequentially executes store commands for specific data, new life data can be sequentially written into buffer A or B from buffer address BA preset in stack 207. Every time the μ control circuit outputs the write signal WEA or WEB, it checks whether the number of written data matches the number of bytes WN set in the stack 207, and the result of this check is When affirmative, the FD control circuit 103 is returned to a command waiting state.

(4)ディスクからRAMへの連続転送モード本実施例
によれば、第4のコマンドを用いて、ディスクから読出
したデータをバッファにストアした後、ただちにRAM
にこれを転送することが可能となる。さらにこの転送は
、複数のセクタにわたるデータについてはバッファA、
Bを繰り返し用いることにより連続的に行うことができ
る。
(4) Continuous transfer mode from disk to RAM According to this embodiment, the fourth command is used to store the data read from the disk in the buffer, and then immediately transfer the data to the RAM.
It is possible to transfer this to . Furthermore, this transfer is performed by buffer A for data spanning multiple sectors.
It can be carried out continuously by repeatedly using B.

このときの動作は、前述した、ディスクからバッファへ
の読出しモードとバッファからRAMへの転送モードと
並行して行うことにより実現できる。
The operation at this time can be realized by performing the read mode from the disk to the buffer and the transfer mode from the buffer to the RAM in parallel.

このような転送モードは一つのコマンドでのみ実現でき
る。
Such a transfer mode can only be achieved with one command.

(5)バッファからディスクへの書込みモードこの場合
、書込み時のクロック204がDPUで発生され、これ
がクロック203にかえてスイッチSWAで選択される
。スイッチSWB又はSWCを選択して、バッファ八又
はBeディスクバス113に接続した状態でシフトレジ
スタ205へのデータの書込みをμ制御回路208によ
り行えによい。
(5) Write mode from buffer to disk In this case, the writing clock 204 is generated by the DPU and is selected by the switch SWA instead of the clock 203. It is preferable that the μ control circuit 208 write data to the shift register 205 by selecting the switch SWB or SWC and connecting it to the buffer 8 or the Be disk bus 113.

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

以上、本発明によればデータバッファ、アドレスカウン
タ、μ制御回路、スタックレジスタを外部記憶制御回路
に設けることにより、外部記憶装置内のあるセクタの1
部のデータのみをメインメモリにDMA転送することが
可能になった。さらに上記構成により、マイクロコンピ
ュータがデータバッファ内の外部記憶装置よりとりこま
れたデータを一部書換えた後、μ制御回路がデータバッ
ファ内のデータを外部記憶装置に再度書きこむことが可
能になった。これらの効果は従来のシステムに比してマ
イクロコンピュータのデータバス占有時間を著しく低減
している。
As described above, according to the present invention, by providing a data buffer, an address counter, a μ control circuit, and a stack register in an external storage control circuit, one sector in an external storage device can be
It became possible to DMA transfer only the data of the section to the main memory. Furthermore, the above configuration makes it possible for the μ control circuit to rewrite the data in the data buffer to the external storage device after the microcomputer rewrites some of the data imported from the external storage device in the data buffer. . These effects significantly reduce the time the microcomputer occupies the data bus compared to conventional systems.

さらに、データバッファを外部記憶制御回路内に設けた
ことによる制御信号線の増加はなく、従来のマイクロコ
ンピュータシステムに接続可能となっている。
Furthermore, since the data buffer is provided in the external storage control circuit, there is no increase in the number of control signal lines, making it possible to connect to a conventional microcomputer system.

【図面の簡単な説明】 第1図は本発明によるマイクロコンピュータシステムの
全体構成図であり、第2図は第1図におけZ、入出力処
理回路主要部の詳細構成図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an overall configuration diagram of a microcomputer system according to the present invention, and FIG. 2 is a detailed configuration diagram of the main part of the input/output processing circuit indicated by Z in FIG.

Claims (1)

【特許請求の範囲】 1、 マイクロコンピュータとランダムアクセスメモリ
(RAM)と、ダイレクトメモリアクセス(DMA)制
御回路と、これらを接続する共通バスと、外部記憶装置
と、該外部記憶装置と該RAMとの間のデータ転送を制
御する外部記憶制御回路とからなるマイクロコンピュー
タシステムであって、該外部記憶制御回路は、内部デー
タバスと、カウンタと、該外部記憶装置から読出された
データを格納するバッファであって、該バッファ内の格
納済みのデータのうち該カウンタにより指示されるアド
レスを有するデータを該内部データバスに出力する手段
と、該内部データバスと該共通バス間に挿入され、該共
通バス上のマイクロコンピュータが発したアドレスと読
出し/書込み指示信号と該DMA制御回路からの転送許
可信号とに応答してデータ転送方向に切りかえるデータ
転送手段と、該共通ノくスから該内部バスに該転送手段
により転送されり該マイクロコンピュータが発した所定
のコマンドに応答する制御手段であって、該内部バス上
の該所定のコマンドに関連して該マイクロコンピュータ
の該バッファに対する読み出し開始アドレスを該カウン
タにセットする手段と、該DMA制御回路に転送要求を
出力する手段と、該DMA制御回路からの転送許可信号
に応答して該カウンタを更新する手段と、該所定のコマ
ンドに関連して該内部バスに転送される転送データ数だ
けのデータ転送後、該共通バス上に該マイクロコンピュ
ータに対する転送終了を通知する信号を送出する手段と
を有するものとからナルマイクロコンピュータシステム
。 2、該制御手段は、該内部バスに接続された複数のレジ
スタであって、該データ転送手段が該共通バスからのデ
ータを受信する動作をするごとに、該内部バス上のデー
タが該レジスタの内の異なるものにセットされるものを
有し、該読み出し開始アドレスセット手段は該レジスタ
の−つから該開始アドレスを読み出し、該内部バスに送
出するとともに該カウンタにセット信号を送出する手段
からなり該転送終了通知信号送出手段は、該カウンタの
更新回数全計数し、該レジスタの一つにセットされた転
送データ数と該計数値とを比較し、該比較結果に応じて
該通知信号を送出するものである特許請求の範囲第1項
のマイクロコンピュータシステム。 3、該データ転送手段は、該共通バスと該内部バス間に
挿入されたバスドライバと、該共通バスのアドレスが該
外部記憶制御回路にあらかじめ割りあてられたアドレス
のときにチップセレクト信号を出力する第1のデコーダ
と、該チップセレクト信号が出力されている状態で該読
み出し/1込み指示信号が第1の値を示しているときに
は該バスドライバを、該共通バス上のデータを受信して
該内部バスに転送する状態にし、該読み出し/書込み指
示信号が第1の値を示し、かつ該転送許可信号が該DM
A制御回路から出力されているときに該内部バス上のデ
ータを該共通バスに送出する状態に該バスドライバを制
御する第2のデコーダとからなる特許請求の範囲第1項
又は第2項のマイクロコンピュータシステム。 4、 マイクロコンピュータと、ランダムアクセスメモ
リ(RAM)と、ダイレクトメモリアクセス(DMA)
制御回路と、これらを接続する共通バスと、外部記憶装
置と、該外部記憶装置と該RAMとの間のデータ転送を
制御する外部記憶制御回路とからなるマイクロコンピュ
ータシステムであって、該外部記憶制御回路は、内部デ
ータバスと、カウンタと、該マイクロコンピュータの該
外部記憶装置への書込みデータを格納するバッファであ
って、該カウンタにより指示されるアドレス位置に献内
部バス上のデータを書き込み信号に応答して書き込む手
段と、該内部データバスと該共通バス間に挿入され、該
共通バス上のマイクロコンピュータが発したアドレスと
、読出し/書込み指示信号と、該DMA制御回路からの
転送許可信号に応答してデータ転送方向を切りかえるデ
ータ転送手段と、該共通バスから該内部バスに該転送手
段により転送された該マイクロコンピュータが発した所
定のコマンドに応答する制御手段であって、該内部バス
上の該所定のコマンドに関連した該マイクロコンピュー
タの該バッファに対する書キ込ミ開始アドレスを該カウ
ンタにセットする手段と、該セット後、該マイクロコン
ピュータから書込みデータが該内部バスに供給されるご
とに該バッファに書き込み信号を送出する手段とを有す
るものと、からなるマイクロコンピュータシステム。 5、該制御手段はさらに、該書き込み信号を送出するご
とに該カウンタを更新する手段を有する特許請求の範囲
第4項のマイクロコンピュータシステム。
[Claims] 1. A microcomputer, a random access memory (RAM), a direct memory access (DMA) control circuit, a common bus connecting these, an external storage device, and the external storage device and the RAM. A microcomputer system comprising an external storage control circuit that controls data transfer between the internal and external storage devices, the external storage control circuit comprising an internal data bus, a counter, and a buffer that stores data read from the external storage device. means for outputting data having an address indicated by the counter out of the stored data in the buffer to the internal data bus; data transfer means that switches to a data transfer direction in response to an address and a read/write instruction signal issued by a microcomputer on the bus and a transfer permission signal from the DMA control circuit; A control means responsive to a predetermined command transferred by the transfer means and issued by the microcomputer, the control means controlling a read start address of the microcomputer to the buffer in response to the predetermined command on the internal bus. means for setting the counter; means for outputting a transfer request to the DMA control circuit; means for updating the counter in response to a transfer permission signal from the DMA control circuit; A null microcomputer system comprising: means for transmitting a signal on the common bus to notify the microcomputer of the completion of the transfer after data transfer equal to the number of transfer data to be transferred to the internal bus. 2. The control means is a plurality of registers connected to the internal bus, and each time the data transfer means performs an operation of receiving data from the common bus, the data on the internal bus is transferred to the registers. The read start address setting means reads the start address from one of the registers, sends it to the internal bus, and sends a set signal to the counter. The transfer end notification signal sending means counts the total number of updates of the counter, compares the number of transferred data set in one of the registers with the counted value, and sends the notification signal according to the comparison result. 1. A microcomputer system according to claim 1, which is transmitted. 3. The data transfer means outputs a chip select signal when the address of the common bus is an address assigned in advance to the external storage control circuit with a bus driver inserted between the common bus and the internal bus. a first decoder that receives data on the common bus; and a first decoder that receives data on the common bus when the chip select signal is being output and the read/input instruction signal indicates a first value. transfer to the internal bus, the read/write instruction signal indicates the first value, and the transfer permission signal indicates the DM
and a second decoder that controls the bus driver to send data on the internal bus to the common bus when the data is being output from the A control circuit. microcomputer system. 4. Microcomputers, random access memory (RAM), and direct memory access (DMA)
A microcomputer system comprising a control circuit, a common bus connecting these, an external storage device, and an external storage control circuit that controls data transfer between the external storage device and the RAM, the external storage The control circuit includes an internal data bus, a counter, and a buffer for storing write data of the microcomputer to the external storage device, and sends a write signal to write data on the internal bus to an address location indicated by the counter. a writing means inserted between the internal data bus and the common bus, an address issued by the microcomputer on the common bus, a read/write instruction signal, and a transfer permission signal from the DMA control circuit; a data transfer means for switching the data transfer direction in response to the internal bus; and a control means for responding to a predetermined command issued by the microcomputer transferred from the common bus to the internal bus by the transfer means, means for setting in the counter a write start address for the buffer of the microcomputer related to the predetermined command; and after the setting, each time write data is supplied from the microcomputer to the internal bus; and means for sending a write signal to the buffer. 5. The microcomputer system according to claim 4, wherein said control means further comprises means for updating said counter every time said write signal is sent.
JP12767283A 1983-07-15 1983-07-15 Microcomputer system Pending JPS6020269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12767283A JPS6020269A (en) 1983-07-15 1983-07-15 Microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12767283A JPS6020269A (en) 1983-07-15 1983-07-15 Microcomputer system

Publications (1)

Publication Number Publication Date
JPS6020269A true JPS6020269A (en) 1985-02-01

Family

ID=14965859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12767283A Pending JPS6020269A (en) 1983-07-15 1983-07-15 Microcomputer system

Country Status (1)

Country Link
JP (1) JPS6020269A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS575740B2 (en) * 1978-07-04 1982-02-01
JPS57120144A (en) * 1981-01-16 1982-07-27 Toshiba Corp Data transfer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS575740B2 (en) * 1978-07-04 1982-02-01
JPS57120144A (en) * 1981-01-16 1982-07-27 Toshiba Corp Data transfer system

Similar Documents

Publication Publication Date Title
US5613162A (en) Method and apparatus for performing efficient direct memory access data transfers
KR880001167B1 (en) Microcomputer system with buffer in peripheral storage control
EP0055623B1 (en) Direct memory-access mode for a high-speed memory system
US6282144B1 (en) Multi-ported memory with asynchronous and synchronous protocol
JPH0221619B2 (en)
JPS6020269A (en) Microcomputer system
JP2689523B2 (en) DMA transfer device
JP2522412B2 (en) Communication method between programmable controller and input / output device
JPH0962610A (en) Dma controller
JP2826780B2 (en) Data transfer method
JP3259095B2 (en) Data transfer method
JP2555580B2 (en) Storage device control system
JPH07319840A (en) Multi-cpu device
JPH0380470A (en) Storage controller
JPS6336021B2 (en)
JPH0236454A (en) Control system for bus between main storage controllers
JPH0426744B2 (en)
JP2007200025A (en) Data processing system, access control method, device therefor and program therefor
JPH07120309B2 (en) Page data transfer control method between storage devices
JPH0425581B2 (en)
JPH0424733B2 (en)
JPH04106624A (en) Microprogram storing system
JPH04239954A (en) Input/output control device
JPH0378661B2 (en)
JPS61131152A (en) Dma buffer control system