JPS59188719A - System starting system - Google Patents

System starting system

Info

Publication number
JPS59188719A
JPS59188719A JP6211783A JP6211783A JPS59188719A JP S59188719 A JPS59188719 A JP S59188719A JP 6211783 A JP6211783 A JP 6211783A JP 6211783 A JP6211783 A JP 6211783A JP S59188719 A JPS59188719 A JP S59188719A
Authority
JP
Japan
Prior art keywords
identification mark
program
floppy disk
sector
disk
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
JP6211783A
Other languages
Japanese (ja)
Inventor
Kenji Miyoshi
三好 健児
Tamio Kanatsu
金津 民雄
Isamu Mochizuki
勇 望月
Kazuhiko Honma
和彦 本間
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 Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering 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, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP6211783A priority Critical patent/JPS59188719A/en
Publication of JPS59188719A publication Critical patent/JPS59188719A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a program from being out of order, by writing a prescribed identification mark in a sector of the bootstrap loader section of a system disk and judging the presence of absence of the identification mark at the time of system starting. CONSTITUTION:A sector of a bootstrap section is designated by a floppy disk controlling program written in the ROM of a microcomputer and the presence or absence of an identification mark in the sector is judged. When the identification mark exists, a system program is taken-in in accordance with its bootstrap loader and the system is started. When the indentification mark does not exist as in the case where another floppy disk is wrongly inserted into a disk driving device 3, error processing to its effect is performed and starting of the system is inhibited.

Description

【発明の詳細な説明】 〔技術分野〕 この発明は、システム起動方式に関するもので、例えば
、フロンピーディスクに書込まれているシステムプログ
ラムの起動方式に有効な技術に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a system startup method, and, for example, to a technique effective for the startup method of a system program written on a floppy disk.

〔背景技術〕[Background technology]

例えば、比較的大きなステップ数を占める高級言語のよ
うなシステムプログラムは、通常フロッピーディスクに
書込まれているので、それをRAM(ランダム・アクセ
ス・メモリフに取り込む必要がある。従来は、そのシス
テム起動時において、イニシャライズプログラムにより
、フロッピーディスク駆動装置に挿入されたフロッピー
ディスクのブートストラップ部(固定セクタ)を読み出
して無条件に起動をかけるものであった。
For example, system programs such as high-level languages that take up a relatively large number of steps are usually written on floppy disks, so they must be loaded into RAM (random access memory). At the time, an initialization program read the bootstrap section (fixed sector) of a floppy disk inserted into a floppy disk drive and started it up unconditionally.

しかし、誤って上記システムプログラムが書込まれてい
ないディスクを挿入すると、無意味な情報をプログラム
として取り扱うこととなるため、プログラムが暴走して
主記憶装置、そのフロンビーディスクその他に記憶され
ていた情報が破壊されてしまうとう問題が生じる。
However, if you accidentally insert a disk that does not have the system program written on it, meaningless information will be treated as a program, and the program will run out of control and be stored in the main memory, its Frembie disk, etc. A problem arises when information is destroyed.

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

この発明の目的は、上述のようなシステム起動時の誤操
作によるプログラムの暴走を防止したシステムディスク
起動方式を提供することにある。
An object of the present invention is to provide a system disk startup method that prevents a program from running out of control due to an erroneous operation at system startup as described above.

この発明の前記ならびにその他の目的と新規な特徴は、
この明細書の記述および添付図面から明らかになるであ
ろう。
The above and other objects and novel features of this invention include:
It will become clear from the description of this specification and the accompanying drawings.

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

本願において開示される発明のうち代表的なものの概要
を簡単に説明すれば、下記の通りである。
A brief overview of typical inventions disclosed in this application is as follows.

すなわち、システムディスクのブートストラップローダ
部のセクタに所定の識別マークを書込を書込んで置き、
システム起動時において上記識別マークの有無を判定す
ることによって、不所望なプログラムの暴走を防止する
ものである。
That is, write a predetermined identification mark in the sector of the bootstrap loader section of the system disk, and
By determining the presence or absence of the identification mark at the time of system startup, it is possible to prevent an undesired program from running out of control.

〔実施例〕〔Example〕

第1図には、この発明が適用されたマイクロコンピュー
タシステムの一実施例のブロック図が示されている。
FIG. 1 shows a block diagram of an embodiment of a microcomputer system to which the present invention is applied.

同図において、1はマイクロコンピュータであり、中央
処理装置(マイクロプロセッサ) 、RAM等の各種装
置から成っている。このようなマイクロコンピュータは
公知であるのでその詳細な説明を省略する。
In the figure, 1 is a microcomputer, which is comprised of various devices such as a central processing unit (microprocessor) and a RAM. Since such a microcomputer is well known, detailed explanation thereof will be omitted.

2はフロッピーディスク制御装置であり、上記マイクロ
コンピュータからの制御信号に従ってフロッピーディス
ク駆動装置3の各種制御信号を形成する。
A floppy disk control device 2 forms various control signals for the floppy disk drive device 3 in accordance with control signals from the microcomputer.

第2図には、システムディスクとしてのフロンピーディ
スクの記憶構成図が示されている。この実施例では、特
に制限されないが、トラック数が0〜76の77トラツ
クからなり、各トランクはセクタO〜26の27セクタ
が割当られる。
FIG. 2 shows a storage configuration diagram of a floppy disk as a system disk. In this embodiment, although not particularly limited, the number of tracks consists of 77 tracks from 0 to 76, and 27 sectors from sectors O to 26 are allocated to each trunk.

この実施例では、特に制限されないが、oトラックの2
6セクタに斜線で示したような所定の識別マークが書込
まれている。
In this embodiment, although not particularly limited, two o-tracks are used.
Predetermined identification marks as shown by diagonal lines are written in six sectors.

したがって、このシステムディスクを上記フロッピーデ
ィスク駆動装置に挿入した場合において、第3図のフロ
ーチャート図に示すようにマイクロコンピュータのRO
M (リード・オンリー・メモリ)等に書込まれている
フロッピーディスク制御プログラム、言い換えれば、イ
ニシャライズプログラムにより、ブートストラップ部の
セクタ(トラック01セクタ26)を指定して、その中
に識別マークの有無を判定する。もし、識別マークが有
れば(YES) 、そのブートストラップローダに従っ
てシステムプログラムの取込み、言い換えれば、システ
ム起動を行う。
Therefore, when this system disk is inserted into the floppy disk drive, the microcomputer's RO
The floppy disk control program, in other words, the initialization program, written in M (read-only memory) etc. specifies the sector of the bootstrap section (track 01 sector 26) and checks whether or not there is an identification mark in it. Determine. If there is an identification mark (YES), the system program is loaded according to the bootstrap loader, in other words, the system is started.

上記のようなシステムフロッピーと異なり、別のフロピ
ーディスクを誤ってディスク駆動装置3に挿入した時の
ように、もし上記識別マークが無ければ(No) 、そ
の旨のエラー処理を行い、上記システム起動を禁止する
Unlike the system floppy disk described above, if there is no identification mark (No), as is the case when another floppy disk is inserted into the disk drive device 3 by mistake, an error process to that effect is performed and the system Prohibit startup.

〔効 果〕〔effect〕

(1)上記識別マークの挿入と、その判定プログラムを
追加することによって、上記のようなプログラムの暴走
を確実に防止することができるという効果が得られる。
(1) By inserting the identification mark and adding a determination program therefor, it is possible to reliably prevent the program from running out of control as described above.

(2)上記(1)により、プログラムの暴走が防止でき
るから、そのフロッピーディスク又は他の記憶装置に書
込まれいてる情報が破壊されてしまうことが防止できる
という効果が得られる。
(2) Since the above (1) prevents the program from running out of control, it is possible to prevent the information written on the floppy disk or other storage device from being destroyed.

(3)上記エラー処理により、その旨の表示を行うので
、誤った操作直ちに補正させることができるという効果
が得られる。
(3) Since the error processing described above displays a message to that effect, it is possible to immediately correct an erroneous operation.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、この発明は上記実施例に限定される
ものではなく、その要旨を逸脱しない範囲で種々変更可
能であることはいうまでもない。
Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that this invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor.

〔利用分野〕[Application field]

以上の説明では主として本願発明者によってなされた発
明をその背景となったシステムディスクを用いたシステ
ム起動に適用した場合について説明したが、それに限定
されるものではなく、交換可能な記憶媒体を用いた場合
には上記のような問題が生じるので、例えばEPROM
 (エレクトリカリ・プログラマブル・ROM)による
ファームウェアの検出等にも適用できる。また、磁気デ
ィスク、磁気テープ、バルブメモリ又は磁気ドラム等に
も同様に利用できるものである。
In the above explanation, the invention made by the inventor of the present application is mainly applied to system startup using a system disk, which is the background of the invention, but the invention is not limited to this, and the invention is not limited to this. In some cases, the above problem occurs, so for example, if the EPROM
It can also be applied to detecting firmware using (electrically programmable ROM). Further, it can be similarly used for magnetic disks, magnetic tapes, valve memories, magnetic drums, etc.

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

第1図は、この発明の一実施例を示すマイクロコンピュ
ータシステムのブロック図、 第2図は、システムディスクの一実施例を示す記憶構成
図、 第3図は、この発明の一実施例を示すフローチャート図
である。 1・・マイクロコンピュータ、2・・フロッピーディス
ク制御装置、3・・フロンピーディスク駆動袋装置 第  1  図 策2図 101− 第  3 図
FIG. 1 is a block diagram of a microcomputer system showing an embodiment of the present invention. FIG. 2 is a storage configuration diagram showing an embodiment of a system disk. FIG. 3 is a block diagram of a microcomputer system showing an embodiment of the invention. It is a flowchart figure. 1. Microcomputer, 2. Floppy disk control device, 3. Floppy disk drive bag device No. 1 Strategy 2 Figure 101 - Figure 3

Claims (1)

【特許請求の範囲】 1、交換可能な記憶媒体に書込まれたシステムプログラ
ムのブートストラップローダ部に所定の識別マークを書
込み、システム起動時において上記識別マーク検出プロ
グラムを設けて、識別マークが有る場合のみシステム起
動プログラムを実行することを゛特徴とするシステム起
動方式。 2、上記記憶媒体は、フロッピーディスクであることを
特徴とする特許請求の範囲第1項記載のシステム起動方
式。 3、上記検出プログラムにより識別マークが無いとされ
た時には、その旨の表示を行うものであることを特徴と
する特許請求の範囲第1項記載のシステム起動方式。
[Scope of Claims] 1. A predetermined identification mark is written in the bootstrap loader section of a system program written in a replaceable storage medium, and the identification mark detection program is provided at the time of system startup to detect the identification mark. A system startup method characterized by executing a system startup program only when the system starts. 2. The system startup method according to claim 1, wherein the storage medium is a floppy disk. 3. The system startup method according to claim 1, wherein when the detection program determines that there is no identification mark, a display to that effect is displayed.
JP6211783A 1983-04-11 1983-04-11 System starting system Pending JPS59188719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6211783A JPS59188719A (en) 1983-04-11 1983-04-11 System starting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6211783A JPS59188719A (en) 1983-04-11 1983-04-11 System starting system

Publications (1)

Publication Number Publication Date
JPS59188719A true JPS59188719A (en) 1984-10-26

Family

ID=13190788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6211783A Pending JPS59188719A (en) 1983-04-11 1983-04-11 System starting system

Country Status (1)

Country Link
JP (1) JPS59188719A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0419005A2 (en) * 1989-08-25 1991-03-27 International Business Machines Corporation Loading method and apparatus for computer system
JPH05204653A (en) * 1990-12-06 1993-08-13 Tandberg Data As Device and method of storing data
JPH06150524A (en) * 1992-10-30 1994-05-31 Fujitsu Ltd Small optical disk automatic discriminating and starting system
EP1155918A2 (en) 2000-05-19 2001-11-21 Emhart Inc. Molding fastening assembly
WO2002061567A1 (en) * 2000-12-27 2002-08-08 Tdk Corporation Method of recording data, recording medium and recording device
JP2003178530A (en) * 2002-10-21 2003-06-27 Fujitsu Ltd Electronic device, controller and processing control method
CN100370422C (en) * 2005-10-13 2008-02-20 华为技术有限公司 Starting method of device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57161957A (en) * 1981-03-30 1982-10-05 Fujitsu Ltd Flexible disc with mechanism for detection of erroneous insertion

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57161957A (en) * 1981-03-30 1982-10-05 Fujitsu Ltd Flexible disc with mechanism for detection of erroneous insertion

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0419005A2 (en) * 1989-08-25 1991-03-27 International Business Machines Corporation Loading method and apparatus for computer system
JPH05204653A (en) * 1990-12-06 1993-08-13 Tandberg Data As Device and method of storing data
JPH06150524A (en) * 1992-10-30 1994-05-31 Fujitsu Ltd Small optical disk automatic discriminating and starting system
EP1155918A2 (en) 2000-05-19 2001-11-21 Emhart Inc. Molding fastening assembly
WO2002061567A1 (en) * 2000-12-27 2002-08-08 Tdk Corporation Method of recording data, recording medium and recording device
JP2003178530A (en) * 2002-10-21 2003-06-27 Fujitsu Ltd Electronic device, controller and processing control method
CN100370422C (en) * 2005-10-13 2008-02-20 华为技术有限公司 Starting method of device

Similar Documents

Publication Publication Date Title
JP2771808B2 (en) recoding media
KR100884003B1 (en) Method for preventing write fault and Hard Disk Drive thereof
KR860008534A (en) Information writing control method on the rotating information recording medium
JPH10172234A (en) Method for controlling copying of information memory medium and apparatus for copying information memory medium
JPS59188719A (en) System starting system
JPH0316712B2 (en)
JPS60113361A (en) Discrimination system of magnetic disk format
JPS6378211A (en) Power failure handling device for disk recording and reproducing device in microcomputer
JPS6320770A (en) Optical disk
JPS62150564A (en) Optical information recording and reproducing device
KR970007994A (en) Defect processing method in hard disk drive servo system
JP2601247B2 (en) Recording medium copy inhibiting method and reproducing apparatus
JPS6240556A (en) Information processor
JP2950685B2 (en) Channel device for optical disk
JPS58165163A (en) Controlling system of unrewritable storage device
JPH02206062A (en) Magnetic disk controller
JPH0423342B2 (en)
JP2595316B2 (en) Alternate assignment processing method
JPS58211257A (en) Write controlling system of magnetic disk device
JPH09231018A (en) Data recording method
JPH02179965A (en) Magnetic disk controller
JPS5971560A (en) Disc controller
JPH08241251A (en) Method generating copy-prevented storage medium and the storage medium
JP2644862B2 (en) Optical disk drive
JPS62168241A (en) Microprogram controller