JPH02201625A - Automatic hard disk deciding mechanism - Google Patents
Automatic hard disk deciding mechanismInfo
- Publication number
- JPH02201625A JPH02201625A JP2107389A JP2107389A JPH02201625A JP H02201625 A JPH02201625 A JP H02201625A JP 2107389 A JP2107389 A JP 2107389A JP 2107389 A JP2107389 A JP 2107389A JP H02201625 A JPH02201625 A JP H02201625A
- Authority
- JP
- Japan
- Prior art keywords
- hard disk
- control
- information
- hdd
- program
- 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
Links
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 101150065817 ROM2 gene Proteins 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[発明の目的コ
(産業上の利用分野)
この発明はパーソナルコンピュータに搭載されるハード
ディスクの自動判定機構に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Field of Industrial Application) This invention relates to an automatic determination mechanism for a hard disk installed in a personal computer.
(従来の技術)
従来、パーソナルコンピュータの外部記憶装置として、
フロッピーディスクあるいはハードディスク等が使用さ
れている。ハードディスクの容量は年々増大される傾向
にあり、1個のパーソナルコンピュータにおいても搭載
されるハードディスクの容量が異なる場合があり、例え
ば20MBモデル、40MBモデルというようにモデル
分けをしていることが多い。(Prior Art) Conventionally, as an external storage device for a personal computer,
A floppy disk or hard disk is used. The capacity of hard disks tends to increase year by year, and the capacities of the hard disks installed in a single personal computer may vary, and the models are often divided into, for example, a 20 MB model and a 40 MB model.
ところが、この異った容量のハードディスクでは、当然
シリン少数、セクタ数、ヘッド数等に相違があるので、
ハードディスクを制御するプログラムはそれぞれ容量別
に別々に作成するが、又はそのハードディスクの容量を
デイツプスイッチ等により何らかのハードウェア情報と
して得、異なる容量のハードディスクでも同一のプログ
ラムで制御を行っていた。However, since hard disks with different capacities naturally have different numbers of cylinders, sectors, heads, etc.
Programs to control hard disks are created separately for each capacity, or the capacity of the hard disk is obtained as some hardware information using a dip switch or the like, and hard disks of different capacities are controlled by the same program.
(発明か解決しようとする課題)
上記従来例では、前者はソフトウェアプログラマの負担
が大きく、後者はデイツプスイッチの設定がまちかって
いた場合は正常に動作せず信頼性に乏しい。又、デイツ
ブスツチを実装するスペスがない場合は別々のプログラ
ムを用意しなければならないといった欠点を有していた
。(Problems to be Solved by the Invention) In the above conventional example, the former places a heavy burden on the software programmer, and the latter does not operate normally if the dip switch is incorrectly set, resulting in poor reliability. Another disadvantage is that if you do not have the space to implement a database, you must prepare a separate program.
この発明は上記欠点に鑑みてなされたものであり、デイ
ツブスイッチ等によるノ\−1−ウェアの情報によらず
異った容量のノ\−ドディスクを1つの制御プログラム
で実現するノ\−ドディスク自動判定機構を提供するこ
とを目的とする。This invention was made in view of the above-mentioned drawbacks, and provides a method for realizing node disks of different capacities with a single control program, regardless of the information of the hardware such as a date switch. - The purpose of the present invention is to provide an automatic disc determination mechanism.
[発明の構成]
(課題を解決するための手段)
本発明のハードディスク自動判定機構は、異なる属性を
持つノ\−ドディスク装置が搭載され、本体内蔵の基本
入出力制御システム(BiO2)により制御されるパー
ソナルコンピュータ(こお(1て、上記ハードディスク
装置内蔵のメモリにあらかじめそのl\−ドディスク装
置か持つ属性情報を記憶しておき、システムの初期化時
上記BIOSがその情報を読みたし、この読みたされた
情報1こ従い接続される〕1−ドディスク装置の属性を
認識し、それに合った仕様で制御することを特徴とする
。[Structure of the Invention] (Means for Solving the Problems) The automatic hard disk determination mechanism of the present invention is equipped with node disk devices having different attributes, and is controlled by the basic input/output control system (BiO2) built into the main body. (1) Store the attribute information of the hard disk device in the built-in memory of the hard disk device in advance, so that the BIOS reads that information when the system is initialized. According to this read information, the attributes of the connected disk drive are recognized, and control is performed according to the specifications.
(作 用)
本発明は上述したようにノ\−ドディスクに/S−ドデ
ィスク自身のシリンダ数、へ・ンド数、セクタ数等ハー
ドディスクを制御するのに必要な情報を持たせ、その情
報を71−Fディスクを制御するプログラムから読み出
せるようにし、ノ\−トディスクを制御するプログラム
はノ\−=ドディスクの制御を行う前にこの情報を読み
出し、それに従ってハードディスクの制御を行うように
する。(Function) As described above, the present invention allows the node disk to have information necessary to control the hard disk, such as the number of cylinders, the number of heads, and the number of sectors of the node disk itself. The program that controls the 71-F disk can read this information, and the program that controls the node disk reads this information before controlling the node disk and controls the hard disk accordingly. Make it.
このことにより、デイツプスイ・ソチ等を設ける必要が
なく、従って設定ミスによるトラブル防]1−がはかれ
、また、1゛3来、新しい容量のノ\−ドディスクが実
装されても制御するプログラムを変更する必要がない。As a result, there is no need to install a deep disk drive, etc., and troubles caused by setting errors are prevented. There is no need to change.
(実施例)
以下、図面を使用して本発明実施例について詳細に説明
する。(Example) Hereinafter, an example of the present invention will be described in detail using the drawings.
第1図は本発明の実施例を示すプロ・ツク図−Cある。FIG. 1 is a block diagram illustrating an embodiment of the present invention.
図において、符号1はCPUてあり、制御中枢となる。In the figure, reference numeral 1 is a CPU, which serves as the control center.
?〕号2はROMであり、パーソナルコンピュータの入
出力を制御するプログラム(BiO9)か格納されてい
る。第2図に示すフローチャートがプログラム形式にて
記憶される。? ] No. 2 is a ROM, which stores a program (BiO9) for controlling input and output of the personal computer. The flowchart shown in FIG. 2 is stored in program format.
符号3はRAMであり、このパーソナルコンピュータを
制御するプログラムの他各種データが格納されている。Reference numeral 3 denotes a RAM, which stores programs for controlling this personal computer and various other data.
符号4はDMA (Direct McmoryAcc
ess)コントローラであり、DMAを制御する市販の
LSIである。符号5は割込みコンI・ロラ(P I
C)であり、ノ\−ドウエアの割り込みを制御する市販
のLSIである。符号6はタイマ(PIT)であり、タ
イマーを制御する市販のLSIである。符号7は実時間
クロック(RTC)てあり、1]付、時刻等を記憶する
市販のLSIである。Code 4 is DMA (Direct McMoryAcc
ESS) controller, which is a commercially available LSI that controls DMA. Code 5 is the interrupt controller I Lola (P I
C), which is a commercially available LSI that controls node-ware interrupts. Reference numeral 6 is a timer (PIT), which is a commercially available LSI that controls the timer. Reference numeral 7 denotes a real time clock (RTC), which is a commercially available LSI that stores time and other information.
符号8はハードディスクコントローラ(IDC)であり
ハードディスクドライブ(HDD)を制御する市販のL
S Iである。71号9はHDDてありプログラム、
データ等を格納する外部記憶装置である。符号10はフ
ロッピーディスクコントローラ(F D C)であり、
フロッピーディスクドライブ(F D D ]−1,)
を制御する市販のLSIである。Reference numeral 8 is a hard disk controller (IDC), which is a commercially available L controller that controls a hard disk drive (HDD).
It is SI. No. 71 No. 9 is a program with HDD,
This is an external storage device that stores data, etc. Reference numeral 10 is a floppy disk controller (FDC),
Floppy disk drive (FDD]-1,)
This is a commercially available LSI that controls the
符号11はFDDで(ト1すHDD9と同じくプログラ
ム、データ等が記憶される外部記憶装置である。Reference numeral 11 denotes an FDD, which, like the HDD 9, is an external storage device in which programs, data, etc. are stored.
符号]2はプリンタコントローラ(PRTC)でありプ
リンタを制御する回路である。71号]3はシリアル入
出力回路(SIO)であり通偵を制御する市販のLSI
である。符号14はキーボドコンi・ローラ(K B
C’)でありキーボード(KB15)を制御する回路で
ある。符号15はキーボードでありオペレータ等による
キー人力を受つける。符号]6は表示制御回路(PDP
C)でありプラズマデイスプレィ]9を制御する回路で
ある。初号17はVRAMでありプラズマデイスプレィ
19に表示される内容が格納されるメモリである。初号
18は漢字ROMであり、漢字を表示するとき、この漢
字ROM18からデータか読み出され、プラズマデイス
プレィ19に表示される。2 is a printer controller (PRTC), which is a circuit that controls the printer. No. 71] 3 is a serial input/output circuit (SIO), which is a commercially available LSI that controls the detective.
It is. Reference numeral 14 is a keyboard controller i-roller (KB
C') and is a circuit that controls the keyboard (KB15). Reference numeral 15 is a keyboard which accepts key input by an operator or the like. Code] 6 is a display control circuit (PDP
C) is a circuit that controls the plasma display]9. The first number 17 is a VRAM, which is a memory in which the contents displayed on the plasma display 19 are stored. The first number 18 is a kanji ROM, and when displaying kanji, data is read from this kanji ROM 18 and displayed on the plasma display 19.
以下、第2図に示すフローチャートを参照して本発明実
施例の動作について説明する。The operation of the embodiment of the present invention will be described below with reference to the flowchart shown in FIG.
第2図はROM2内蔵のBIO5(基本入出力制御シス
テム)のうち、HDDを制御するハードディスク制御プ
ログラムのみ抽出して示しである。FIG. 2 shows only the hard disk control program for controlling the HDD extracted from the BIO5 (basic input/output control system) built into the ROM2.
まず、システムに電源が投入されるとROM2内蔵のプ
ログラムが起動され、このパーソナルシステムか正常に
動作するかどうかチエツクされる。First, when the power is turned on to the system, a program built in the ROM 2 is activated to check whether or not this personal system operates normally.
その後、ハードディスクが実装されているならばハード
ディスクの容量等をチエツクする為、第2図にフローチ
ャートで示す手順にてプログラムが実行される。即ち、
ステップ■にてHDC8に対してI DENT I F
Yコマンドが発行され、このコマンに従い読み出された
情報によってその後のハードディスクの制御を行う。H
DD9はこのコマンドを受信するとHDC8に対して自
身で持つ属性情報を送るものである。そしてシステム(
BIO8)はHDC8からの割り込みを持ち、割り込み
が発生するとステップ■か動作する。ステップ■はHD
C8の制御に必要な情報を読み出すステップである。ス
テップ■ではステップ■で読み出した情報をHDDII
を制御するプログラムに必要なように加工する。Thereafter, if a hard disk is installed, the program is executed according to the procedure shown in the flowchart of FIG. 2 in order to check the capacity of the hard disk. That is,
I DENT IF for HDC8 in step ■
A Y command is issued, and the hard disk is subsequently controlled based on the information read according to this command. H
When the DD9 receives this command, it sends its own attribute information to the HDC8. and the system (
The BIO8) has an interrupt from the HDC8, and when an interrupt occurs, step 2 is executed. Step ■ is HD
This is a step of reading information necessary for controlling C8. In step ■, the information read in step ■ is transferred to the HDDI
Process it as required by the program that controls it.
[発明の効果]
以上説明のように本発明によれば以下に列挙す・る効果
が得られる。[Effects of the Invention] As explained above, according to the present invention, the following effects can be obtained.
(1)デイツプスイッチ等を設ける必要がなくなるため
価格の低減化がはかれる。(1) Since there is no need to provide a dip switch or the like, the price can be reduced.
(2)デイツプスイッチ等の設定ミスによるトラブルが
防止できる。(2) Troubles caused by incorrect settings of dip switches, etc. can be prevented.
(3)将来、新しい容量のハードディスクが実装されて
も制御するプログラムを変更する必要がなくなる。(3) Even if a hard disk with a new capacity is installed in the future, there will be no need to change the control program.
第1図は本発明が実施されるパーソナルコンピュータの
構成例を示す図、第2図は本発明実施例の動作を示すフ
ローチャートである。
1・・・CPU、2・・・ROM、8・・ハードディス
クコントローラ(HDC) 、9・・・ハードディスク
(HDD)。
ニ■ネ119
第
図FIG. 1 is a diagram showing an example of the configuration of a personal computer on which the present invention is implemented, and FIG. 2 is a flowchart showing the operation of the embodiment of the present invention. 1... CPU, 2... ROM, 8... Hard disk controller (HDC), 9... Hard disk (HDD). Figure 119
Claims (1)
)により制御されるパーソナルコンピュータにおいて、
上記ハードディスク装置内蔵のメモリにあらかじめその
ハードディスク装置が持つ属性情報を記憶しておき、シ
ステムの初期化時上記BIOSがその情報を読みだし、
この読みだされた情報に従い接続されるハードディスク
装置の属性を認識し、それに合った仕様で制御すること
を特徴とするハードディスク自動判定機構。[Claims] Hard disk devices with different attributes are installed, and the basic input/output control system (BIOS) built into the main unit is installed.
) in a personal computer controlled by
The attribute information of the hard disk device is stored in advance in the built-in memory of the hard disk device, and the BIOS reads that information when the system is initialized.
An automatic hard disk determination mechanism is characterized in that it recognizes the attributes of a connected hard disk device according to the read information and controls the hard disk device according to the specifications.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2107389A JPH02201625A (en) | 1989-01-31 | 1989-01-31 | Automatic hard disk deciding mechanism |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2107389A JPH02201625A (en) | 1989-01-31 | 1989-01-31 | Automatic hard disk deciding mechanism |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02201625A true JPH02201625A (en) | 1990-08-09 |
Family
ID=12044715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2107389A Pending JPH02201625A (en) | 1989-01-31 | 1989-01-31 | Automatic hard disk deciding mechanism |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02201625A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7447708B2 (en) | 1994-05-06 | 2008-11-04 | Hitachi, Ltd. | Data processing apparatus and network system that outputs quality of service information to a user |
-
1989
- 1989-01-31 JP JP2107389A patent/JPH02201625A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7447708B2 (en) | 1994-05-06 | 2008-11-04 | Hitachi, Ltd. | Data processing apparatus and network system that outputs quality of service information to a user |
US7711817B2 (en) | 1994-05-06 | 2010-05-04 | Hitachi, Ltd. | Data processing apparatus and network system that outputs quality of service information to a user |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5666540A (en) | Information processing system | |
EP0658843A1 (en) | Method for hibernation file creation | |
JP2688164B2 (en) | Information processing system | |
JPH0784848A (en) | Information processing system | |
JPH02201625A (en) | Automatic hard disk deciding mechanism | |
KR930005807B1 (en) | Automatic setting apparatus for hdd and method therefor | |
US6965949B1 (en) | Computing system and method for accessing a computer-readable medium device | |
EP0636982B1 (en) | Information processing system and method | |
JP2829957B2 (en) | Information processing device | |
JPH0744438A (en) | Apparatus and method for creation of hibernation file | |
JP2664168B2 (en) | Starting method of information processing device | |
JPH08212077A (en) | Computer | |
JP2829098B2 (en) | Computer system | |
JP2584001B2 (en) | Information processing device | |
JP3210511B2 (en) | Handwriting input method and device | |
JPH06236223A (en) | Device and method for controlling cpu | |
JPH05324205A (en) | Floppy disk control system | |
JPH0749732A (en) | Method for controlling computer system and its peripheral device | |
JPS62131360A (en) | Device discriminating system | |
JPH0289119A (en) | Data processor | |
JPH09282147A (en) | Information processor having automatic connecting function for peripheral equipment and automatic connecting method for peripheral equipment | |
JPS61128311A (en) | Starting method of information processor | |
JPH04167015A (en) | Computer system | |
JPH05341820A (en) | Arithmetic processing method for programmable controller | |
JPS62212969A (en) | Information processor |