JPS61103235A - Magnetic disk controller - Google Patents

Magnetic disk controller

Info

Publication number
JPS61103235A
JPS61103235A JP59225362A JP22536284A JPS61103235A JP S61103235 A JPS61103235 A JP S61103235A JP 59225362 A JP59225362 A JP 59225362A JP 22536284 A JP22536284 A JP 22536284A JP S61103235 A JPS61103235 A JP S61103235A
Authority
JP
Japan
Prior art keywords
magnetic disk
data
controller
memory
disk device
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
JP59225362A
Other languages
Japanese (ja)
Inventor
Iwao Arimori
有森 巌
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59225362A priority Critical patent/JPS61103235A/en
Publication of JPS61103235A publication Critical patent/JPS61103235A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve greatly the throughput of a system CPU board by connecting a magnetic disk controller between a double port memory and a magnetic disk and controlling the data access between said memory and disk device. CONSTITUTION:A system CPU1 sets a parameter to a double port memory 7 set on a magnetic disk controller 6 and also the data in a write mode when it is required to read and write data to and on a magnetic disk device 5. Then the CPU1 sets a command and starts a controller 8. Hereafter the CPU1 can use freely a system memory 4 and a bus 2 to give access to the data when necessary access is needed to the device 5 even in case the controller 8 is writing the data of the memory 7 to the device 5 or setting a parameter to the memory 7.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明にマイクロコンピュータシステムにおける磁気
ディスクコントロール装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk control device in a microcomputer system.

〔従来の技術〕[Conventional technology]

従来の磁気ディスクコントロール装置として例えば、米
国のインテル社より発行さn*”OEMSystems
 Handbook、 1984年度版、(Order
Number: 210941−002)、”第7−8
頁〜第7−12頁に記載さ几ている米インテル社の”S
ingleBoard Computer”シリーズで
構成L[ffイク。
As a conventional magnetic disk control device, for example, n*” OEMS Systems published by Intel Corporation in the United States
Handbook, 1984 edition, (Order
Number: 210941-002), “No. 7-8
Intel Corporation's "S" described on pages 7-12
Consisting of "ingleBoard Computer" series.

コンピュータシステムのものがあり、その概要を第2図
に示す。第21忙おいて、1にシステムCPU(中央処
理装置(ボード)、2にシステム共AO/(ス、31!
磁気ディスクコントロール装置(ボード)% 4はシ2
ステムメモリ(ボード)、5は磁気ディスク装置、Gc
Ln磁気ディスクコントロール装置3と磁気ディスク装
置5とを結ぶバスである。
There is a computer system, an overview of which is shown in Figure 2. On the 21st day, 1 is the system CPU (central processing unit (board)), 2 is the system AO/(S, 31!
Magnetic disk control device (board) % 4 is system 2
stem memory (board), 5 is a magnetic disk device, Gc
This is a bus that connects the Ln magnetic disk control device 3 and the magnetic disk device 5.

矢に動作について説明する。磁気ディスクコントロール
装置3に、システムCPU 1によって磁気ディスタ装
置5に対するデータのリード又はラ   −イト(読み
出し又は書き込み)要ぶさf′L7′c7=cめ。
Explain the action to the arrow. The system CPU 1 requires the magnetic disk control device 3 to read or write data to the magnetic disk device 5 (f'L7'c7=c).

まずシステムCPU I K対してバス2の制@l (
、!を請求し、この制御権を獲得しt後にデータのIJ
 +ドであnば磁気ディスク装置5のデータを7ステム
メモリ4へ転送し、データのライトであnばシステムメ
モリ4のデータを磁気ディスク装置5へ転送する。磁気
ディスクコントロール装置3にシステムCPt11の要
求を処理し終えた上でバス2の制御権をシステムCPU
1へ返却する。
First, control of bus 2 @l (
,! After obtaining this control right, IJ of the data is requested.
If the + code is negative, the data in the magnetic disk device 5 is transferred to the 7-stem memory 4, and if the data write is negative, the data in the system memory 4 is transferred to the magnetic disk device 5. After the magnetic disk control device 3 finishes processing the request from the system CPt11, control of the bus 2 is transferred to the system CPU.
Return to 1.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の磁気ディスクコントロール装置は以上のように構
成さnでいるので、磁気ディスク装置に対してデータの
リード又はライトを実行する場合にシステムCPLIに
システムバスの制御権を放棄させてその制御権を得る必
要があるので、システムCPUのスルーグツトを著しく
低下させるという問題点があった。
Since the conventional magnetic disk control device is configured as described above, when reading or writing data to the magnetic disk device, the system CPLI is forced to relinquish control of the system bus and take over the control right. This has caused a problem in that the throughput of the system CPU is significantly reduced.

この発明に上記のような問題点を解消するためになさf
′したちので、システムCPUに対してバスの制御権を
請xすることなく、システムCPUとi4.、    
並列動作で磁気ディスク装置に対してデータのリード又
にライトを実行できる磁気ディスクコントロール装置を
得ることを目的とする。
This invention was made to solve the above problems.
' Therefore, the system CPU and i4. ,
An object of the present invention is to obtain a magnetic disk control device that can read or write data to a magnetic disk device in parallel operation.

〔問題点を解決する九めの手段〕[Ninth way to solve the problem]

この発明に係る磁気ディスクコントロール装置は、シス
テムメモリの一部として機能し、システムCPUと磁気
ディスク装置とからのデータを同時にアクセスできる2
ポートメモリと、上記磁気ディスク装置と上記2ポート
メモリとの間に接続され、両者間におけるデータのアク
セスを制御するコントローラとを備えたものである。
A magnetic disk control device according to the present invention functions as a part of system memory and can access data from a system CPU and a magnetic disk device simultaneously.
The device includes a port memory and a controller connected between the magnetic disk device and the two-port memory to control data access between the two.

〔作用〕[Effect]

コノ発明における磁気ディスクコントロール装置にシス
テムCPUの動作に伺ら影響を与えることなく、即ちシ
ステムCPUと並行動作で磁気ディスクf装置へのデー
タのリード又はライトを実行する。
To read or write data to a magnetic disk f device in a magnetic disk control device according to the present invention without affecting the operation of a system CPU, that is, in parallel operation with the system CPU.

〔発明の実施例〕 ・ 以下この発明の一実施例を図について説明する。[Embodiments of the invention]・ An embodiment of the present invention will be described below with reference to the drawings.

第1図において、第3図と同一符号に同一部分を示し、
6にこの発明の磁気ディスクコントロール  i装置で
、2よ一、メ%177a、デー、のア、ヤニ □をコン
トロールするコントローラ8とをWfる。
In Fig. 1, the same parts are indicated by the same reference numerals as in Fig. 3,
6. In the magnetic disk control device of the present invention, the controller 8 that controls the 2, 1, 177a, 1, 1, 1, and 177a, 1, 2, 1, 1, and 177a, is Wf.

2ポートメモリ7にシステムcrt+ i及びコントロ
ーラ8を同時にアクセスすることのできる機能を有する
。9に2ボー°トメモリ7とコントローラ8とを結ぶロ
ーカルバスである。
It has a function that allows the system crt+i and controller 8 to access the 2-port memory 7 at the same time. A local bus 9 connects the two-board memory 7 and the controller 8.

仄に第2図に示す流n図について動作を説明する。The operation will be briefly explained with reference to the flow n diagram shown in FIG.

、システムCPU1i、磁気ディスク装置5に対するデ
ータのリード又はライトの必要が生じたとha<ステッ
プ81)、磁気ディスクコントロール装置6上の2ポー
トメモリ7ヘパラメータ、−万ライト動作であnば書き
込むべきデータtセクトシ(ステップS2)、最後にコ
マンドを送ってコントローラ8を起動させる(ステップ
83)。
, the system CPU 1i determines that there is a need to read or write data to the magnetic disk device 5 (ha<step 81), and sends the parameters to the 2-port memory 7 on the magnetic disk control device 6, and if there is no write operation, the data to be written. tsec (step S2), and finally sends a command to start the controller 8 (step 83).

するとコントローラ8はこのコマンドを認識し、パラメ
ータを2ポートメモリTより取込み(ステラグC1)、
仄に磁気ディスク装置5へのチータライトであ几ば(ス
テップC2)、2ポートメモリ7にあるデータを磁只デ
ィスク装#5へ送り(ステップC3)、−万、このコマ
ンドが磁気ディスク装置5からのデータのリードであ几
ば、コントローラ8に磁気ディスク装置5より読取った
データを2ポートメモリ7にセットしくステップC4)
、終了インタラブトをシステムCPUIに送る(ステッ
プC5)。ステップS3でコマンドをセットしt後は、
システムCPU1i磁気デイスク装置5をアクセスする
必要があり、:ffントローラ8が2ポートメモリ7の
データを磁気ディスク装置5にライト、又は磁気ディス
ク装置5のパラメータ(又はデータ)を2ポートメモリ
7ヘセツトしているときでも他に処理する必要があ几ば
(ステップ84)、システムメモリ4及びバス2を自由
に使ってデータのアクセスをすることができ、そうでた
け几は停止命令を実行しくステップS 5)、コントロ
ーラ8の動作の影響を受けずにその処理′を実行するこ
とができる。
Then, the controller 8 recognizes this command, takes in the parameters from the 2-port memory T (Stellag C1),
If the cheetah light is sent to the magnetic disk device 5 (step C2), the data in the 2-port memory 7 is sent to the magnetic disk device #5 (step C3). If the data read from the magnetic disk drive 5 is successful, the controller 8 sets the data read from the magnetic disk device 5 into the 2-port memory 7 (step C4).
, sends an end interrupt to the system CPUI (step C5). After setting the command in step S3,
The system CPU 1i needs to access the magnetic disk device 5, and the :ff controller 8 writes the data of the 2-port memory 7 to the magnetic disk device 5, or sets the parameters (or data) of the magnetic disk device 5 to the 2-port memory 7. If there is a need for other processing (step 84), the system memory 4 and bus 2 can be freely used to access the data. 5) The process' can be executed without being affected by the operation of the controller 8.

なお、上記実施例では単に磁気ディスク装置へのデータ
のリード及びライト動作についてのみ説明し九が、磁気
ディスクコントロール装置にさらに多くの機能を付加さ
せることができ、例えばトラックのフォーマツティング
や、その不良シリンダのオハタネイト操作及びその管理
、さらには7アイルの管理を行わせてもでき、システム
CPUのプログラム自体を大幅に縮少させることも可能
である。
Note that in the above embodiment, only data read and write operations to the magnetic disk device will be explained; however, it is possible to add more functions to the magnetic disk control device, such as track formatting, etc. It is also possible to perform alternate operation and management of defective cylinders, as well as to manage seven aisles, and it is also possible to significantly reduce the size of the system CPU program itself.

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

以上のようにこの発明によ几ば磁気ディスクコントロー
ル装置を2ポートメモリによってシステムバスから切り
離したので、システムCPLIボードのスループットを
大幅に向上させることができる。
As described above, according to the present invention, since the magnetic disk control device is separated from the system bus by the two-port memory, the throughput of the system CPLI board can be greatly improved.

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

第1図はこの発明の一実施例による磁気ディスクコント
ロール装置のブロック図、第2図は第1図に示す磁気デ
ィスクコントロール装置の動作の流几図、第3図に従来
の磁気ディスクコントロール装置のブロック図である。 1にシステムcpu (中央処理装置)、5は磁気ディ
スク装置、7H2ポートメモリ、8ばコントローラ。な
お1図中同一符号に同一部分を示す。 特許出願人  三菱電機株式会社 第3図
FIG. 1 is a block diagram of a magnetic disk control device according to an embodiment of the present invention, FIG. 2 is a flow diagram of the operation of the magnetic disk control device shown in FIG. 1, and FIG. 3 is a block diagram of a conventional magnetic disk control device. It is a block diagram. 1 is a system CPU (central processing unit), 5 is a magnetic disk device, 7H2 port memory, and 8 is a controller. Note that the same parts are indicated by the same reference numerals in Figure 1. Patent applicant Mitsubishi Electric Corporation Figure 3

Claims (1)

【特許請求の範囲】[Claims] 磁気ディスク装置とデータの読み出し又は書き込みのた
めのアクセスを制御するように上記磁気ディスク装置に
接続されたコントローラと、このコントローラにデータ
のアクセスを要素するシステム中央処理装置と上記コン
トローラとの間に接続され、上記システム中央処理装置
と上記コントローラとから並列動作でデータのアクセス
を許容する2ポートメモリとを備えた磁気ディスクコン
トロール装置。
A controller connected to the magnetic disk device to control access for reading or writing data to the magnetic disk device, and a connection between the controller and a system central processing unit that controls data access to the controller. and a two-port memory that allows data access from the system central processing unit and the controller in parallel operation.
JP59225362A 1984-10-26 1984-10-26 Magnetic disk controller Pending JPS61103235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59225362A JPS61103235A (en) 1984-10-26 1984-10-26 Magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59225362A JPS61103235A (en) 1984-10-26 1984-10-26 Magnetic disk controller

Publications (1)

Publication Number Publication Date
JPS61103235A true JPS61103235A (en) 1986-05-21

Family

ID=16828151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59225362A Pending JPS61103235A (en) 1984-10-26 1984-10-26 Magnetic disk controller

Country Status (1)

Country Link
JP (1) JPS61103235A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0210446A (en) * 1988-06-28 1990-01-16 Hitachi Ltd Buffer storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0210446A (en) * 1988-06-28 1990-01-16 Hitachi Ltd Buffer storage device

Similar Documents

Publication Publication Date Title
JPH03160534A (en) Access control system for shared file
JPS61103235A (en) Magnetic disk controller
JPS62168497A (en) Data base processing system for exchange-processing program
JPH0222748A (en) Non-volatile memory control circuit
JPS6146552A (en) Information processor
JPH0724009B2 (en) Double data writing method by disk controller
JPS6254322A (en) Data file input/output system
JP2594673B2 (en) Data processing method
JPS60263395A (en) Microprocessor
JPS61165172A (en) Memory access controlling system
JPS6069759A (en) Control system for disk cache memory
JP2501393B2 (en) Direct memory access device
JPS58129525A (en) Data input and output controlling method of data processing system
JPH02304616A (en) File control system
JPS6024663A (en) Memory access controlling system
JPS6286425A (en) Magnetic disc control device
JPS60129835A (en) Instruction controlling system
JPS62127962A (en) Microcomputer
JPS59189433A (en) Data erasing system by direct memory access
JPH04367044A (en) Cache memory
JPH02219144A (en) Cache memory with shortened write-back access time
JPS6022784B2 (en) Duplicate data integrity maintenance method
JPS6232554A (en) Extended memory controlling system
JPS61118858A (en) Channel controlling system
JPS6175942A (en) Disk cache control system