[go: up one dir, main page]

JPH01305453A - ROM card control method - Google Patents

ROM card control method

Info

Publication number
JPH01305453A
JPH01305453A JP63136050A JP13605088A JPH01305453A JP H01305453 A JPH01305453 A JP H01305453A JP 63136050 A JP63136050 A JP 63136050A JP 13605088 A JP13605088 A JP 13605088A JP H01305453 A JPH01305453 A JP H01305453A
Authority
JP
Japan
Prior art keywords
bus
rom card
rom
card
resistor
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
JP63136050A
Other languages
Japanese (ja)
Inventor
Yasuyuki Fukuda
福田 保之
Hideo Tanaka
英男 田中
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63136050A priority Critical patent/JPH01305453A/en
Publication of JPH01305453A publication Critical patent/JPH01305453A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [概要] 装置本体にROMカードを必要に応じて増設するシステ
ムにおけるROMカード制御方式に関し、CPU!J)
作中にROMカードが引抜かれた時でもCPUに暴走等
の異常動作が発生しないようにづることを目的とし、 CPUを含む装置本体と外部から装着されるROMカー
ドをバスを介して接続して記憶容量を増設するシステム
において、バスとROMカードとを接続するバスの間に
ROMカードが引抜かれた時、バス上に所定のオペコー
ドを設定する擬似オペコード作成回路を設けて構成する
[Detailed Description of the Invention] [Summary] Regarding the ROM card control method in a system in which ROM cards are added to the device body as necessary, CPU! J)
The purpose of this system is to prevent abnormal operations such as runaway in the CPU even if the ROM card is removed during a game, and the storage capacity is increased by connecting the device body including the CPU and the ROM card installed externally via a bus. In a system for adding a ROM card, a pseudo operation code generation circuit is provided to set a predetermined operation code on the bus when the ROM card is pulled out between the bus and the ROM card.

[産業上の利用分野] 本発明は装置本体にROMカードを必要に応じて増設す
るシステムにおけるROMカード制御方式に関する。
[Industrial Application Field] The present invention relates to a ROM card control method in a system in which ROM cards are added to a device main body as necessary.

ポータプルワードプロセッサ等のようにニブログラムが
ROM化され、またフロッピーディスクによりプログラ
ムを装置本体成内のRAMにロードして実行するシステ
ムのような構成にできない(RAM容量が必要量とれな
い、又は頓繁にフロツビーディスクをアクセスできない
)装置においては、機能を素子レベルで拡張できるRO
Mカードは、アクセス等の処理速度等の面からも有効で
ある。しかしながら、本体装置が動作中に引抜かれた場
合の対策については、十分な措冒が講じられていないの
が実状である。
It is not possible to configure a system such as a portable word processor in which the Niprogram is converted to ROM, or a system in which the program is loaded and executed by using a floppy disk into the internal RAM of the device (because the required amount of RAM cannot be obtained, or if the program is frequently used). For devices that cannot access Flotsbee disks, RO is available that can expand functionality at the element level.
The M card is also effective in terms of processing speed for access and the like. However, the reality is that sufficient measures have not been taken in the event that the main unit is pulled out during operation.

[従来の技術] 第4図は、従来のROMカード制御方式の構成を示す図
である。図において、1は装置本体で、その内部にCP
U1aや主記憶用のメモリ1bを含んでいる。装置本体
から外部に引出されたバス3には、必要に応じてROM
カード2が接続される。このようにバス3に接続された
ROMカードは、CPU1aから見ると内部素子と同様
に扱うことができ、記憶容量の増設又は削減が容易であ
る。
[Prior Art] FIG. 4 is a diagram showing the configuration of a conventional ROM card control system. In the figure, 1 is the main body of the device, and there is a CP inside it.
It includes U1a and memory 1b for main storage. The bus 3 pulled out from the main body of the device is equipped with ROM as necessary.
Card 2 is connected. The ROM card connected to the bus 3 in this manner can be treated in the same way as an internal element from the perspective of the CPU 1a, and the storage capacity can be easily increased or decreased.

[発明が解決しようとする課題] この種の装置では、CPU1aが動作中に80Mカード
が引1友かれるようなことがあると、装置が誤動作する
。特にROMカードがデータ格納用のものであった場合
は、それ程大きな被害は発生しないが、プログラムが格
納されたカードであった場合にはcpuiaが暴走して
しまうか停止してしまう可能性がある。このような場合
の対策として、全く対策を行わないか、又は不具合の発
生を防止するため、カードを挿入する部分の蓋を聞けた
時(この時はカードは電気的に接続された状態にある)
には、装置の電源を遮断するようになっていた。
[Problems to be Solved by the Invention] In this type of device, if the 80M card is removed while the CPU 1a is operating, the device will malfunction. Particularly if the ROM card is used to store data, there will not be much damage, but if the card is used to store programs, the CPU may run out of control or stop. . As a countermeasure in such a case, either do not take any measures at all, or, in order to prevent the occurrence of a malfunction, open the lid of the part where the card is inserted (at this time, the card is electrically connected). )
The system was supposed to shut off the power to the device.

本発明はこのような課題に鑑みてなされたものであって
、CPU動作中にROMカードが引抜かれた時でもCP
Uに暴走等の異常動作が発生しないROMカード制御方
式を提供することを目的としている。
The present invention was made in view of these problems, and even if the ROM card is removed while the CPU is operating, the CPU
The purpose of this invention is to provide a ROM card control system that does not cause abnormal operations such as runaway.

[課題を解決するための手段] 第1図は本発明の原理ブロック図である。第4図と同一
のものは、同一の符号を付して示す。図においで、4は
バス3とROMカード2とを接続するバスの間にROM
カード2が引抜かれた時、バス上に所定のオペコードを
設定する擬似オペコード作成回路である。
[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the present invention. Components that are the same as those in FIG. 4 are designated by the same reference numerals. In the figure, 4 indicates a ROM between the bus 3 and the ROM card 2.
This is a pseudo operation code generation circuit that sets a predetermined operation code on the bus when the card 2 is pulled out.

[作用] CPU1が動作中にROMカード2が引抜かれたものと
すると、擬似オペコード(オペレーションコードのこと
)作成回路4は、バス3上に擬似のオペコードを設定す
る。ここで、設定されるオペコードは、通常使用される
オペコードとは全く異なるもの(未定義コード)を用い
ることが条件となる。CPLJlaは、このオペコード
をマインサイクルで読込み、読込んだオペコードが通常
のオペコードと異なっていたことを確認すると、ROM
カードが引抜かれたものと判断し、それに応じた処理に
移行する。これにより、ROMカードが引抜かれても、
CPU1aが誤動作したり暴走したりするのを防止する
ことができる。
[Operation] Assuming that the ROM card 2 is removed while the CPU 1 is operating, the pseudo operation code (operation code) generation circuit 4 sets a pseudo operation code on the bus 3. Here, the condition is that the opcode to be set is completely different from the normally used opcode (undefined code). CPLJla reads this opcode using the mine cycle, and when it confirms that the read opcode is different from the normal opcode, it reads it from the ROM.
It is determined that the card has been withdrawn, and processing proceeds accordingly. As a result, even if the ROM card is removed,
It is possible to prevent the CPU 1a from malfunctioning or running out of control.

[実施例] 第2図は本発明の一実施例を示す要部構成図である。第
1図と同一のものは、同一の符号を付して示す。擬似オ
ペコード作成回路3は、抵抗Rが8個で構成されており
、これら抵抗の一端はそれぞれバスに、他の一端は電源
電圧5Vにそれぞれ接続されている。この抵抗回路は、
バスが8ビツトであることに対応して8細工qけられて
いるが、バスのピット数に応じて設けるようにすればよ
い。
[Embodiment] FIG. 2 is a block diagram of main parts showing an embodiment of the present invention. Components that are the same as those in FIG. 1 are designated by the same reference numerals. The pseudo-opcode generation circuit 3 includes eight resistors R, one end of which is connected to the bus, and the other end connected to a power supply voltage of 5V. This resistance circuit is
Although 8 bits are used to correspond to the fact that the bus has 8 bits, it is sufficient to provide them according to the number of pits of the bus.

一般にこのような抵抗回路は、同一の抵抗値をもつ抵抗
が複数個パッケージされた抵抗モジュールを用いて実現
することができる。10a、10bはそれぞれバス、R
OMカードに取付けられたコネクタである。I!1〜I
18はそれぞれバス3のラインである。
Generally, such a resistance circuit can be realized using a resistance module in which a plurality of resistances having the same resistance value are packaged. 10a and 10b are bus and R, respectively.
This is a connector attached to the OM card. I! 1-I
18 are lines of bus 3, respectively.

このように構成された装置において、コ)フタ10a、
10bとが接続されてCPU1aが当該ROMカード2
内をアクセスしながら動作しているものとする。この時
には、バスに接続されている抵抗回路はバス上にのった
データに影響は及ぼざない。つまり、バス上が1′′で
あったら“1師のままであり、バス上が“°0″であっ
たら0″のままである。例えば、ラインl!1が1″の
場合には、抵抗Rの両端はほぼ同電位となり、抵抗Rに
は電流は流れない。これに対し、ラインl!1が0″に
なると、抵抗Rの両端にはほぼ5vの電圧がかかり抵抗
Rに電流が流れライン11を11011に維持する。
In the device configured in this way, g) the lid 10a;
10b is connected and the CPU 1a is connected to the ROM card 2.
Assume that it is operating while accessing the inside. At this time, the resistor circuit connected to the bus does not affect the data on the bus. In other words, if the value on the bus is 1'', it remains at "1", and if the value on the bus is at "0", it remains at 0. For example, line l! When 1 is 1'', both ends of the resistor R have almost the same potential, and no current flows through the resistor R.On the other hand, when the line l!1 becomes 0'', there is approximately 5V across the resistor R. A voltage is applied and a current flows through the resistor R to maintain the line 11 at 11011.

ここで、ROMカード2が引抜かれたものとすると、そ
のままではライン!1〜I18は電位が定まらないこと
になる。その理由は以下のとおりである。つまり、当該
ROMカード2がセレクトされている時には、バス3に
はその他の素子は接続されていない。他の素子はその出
力がハイインピーダンスになってバス3から切り離され
ている。
Here, if we assume that ROM card 2 has been pulled out, it will be line! 1 to I18, the potential is not determined. The reason is as follows. That is, when the ROM card 2 is selected, no other elements are connected to the bus 3. The other elements have their outputs set to high impedance and are separated from the bus 3.

従って、唯一セレクトされていたROMカードが切り1
11されたら、接続されているものがなくなる。
Therefore, the only selected ROM card is cut 1.
11, nothing is connected.

故に、ライン!1〜18の電位は定まらないこととなる
のである。しかしながら、本発明によればライン!1〜
18は抵抗Rを介して5vと接続されているので、CP
U1aは16進で’ F F ”なるコードデータを取
込む。このコード゛’FF″が、通常は使用されないコ
ード(未定義コード)であるものとすると、CPU1a
はこのコードを読込むとROMカード2が引抜かれたと
いうことを認識することができる。ROMカードが引抜
かれたことを認識したら、それに応じたアラーム処理を
行うことができる。
Therefore, line! Therefore, the potentials of 1 to 18 are not determined. However, according to the present invention, the line! 1~
18 is connected to 5V via the resistor R, so CP
U1a takes in code data 'FF F' in hexadecimal. Assuming that this code 'FF' is a code that is not normally used (undefined code), CPU1a
By reading this code, the user can recognize that the ROM card 2 has been removed. Once it is recognized that the ROM card has been removed, alarm processing can be performed accordingly.

上述の説明では、未定義コードとして全てのラインを′
1”に設定した場合について説明した。
In the above explanation, all lines are treated as undefined code ′
The case where it is set to 1" has been explained.

しかしながら、本発明はこれに限るものではなく任意の
オペコードを用いることができる。その場合には、ライ
ンには抵抗を介して5vの電源ラインに接続されるもの
と、抵抗を介して接地されるものとが存在することにな
る。このようなコード設定の例を第3図に示す。ここで
は、未定義コードを“’ F F OO”に設定した場
合を示している。
However, the present invention is not limited to this, and any opcode can be used. In that case, there will be some lines that are connected to the 5V power supply line via a resistor and others that are grounded via a resistor. An example of such code settings is shown in FIG. Here, a case is shown in which the undefined code is set to "' F F OO".

また、バスのピット数も8ビツトに限る必要はなくそれ
以下、或いはそれ以上のビット数のバスを用いることが
できる。
Further, the number of bus pits is not limited to 8 bits, and a bus with a smaller or larger number of bits can be used.

また上述の説明では、バス上に擬似のオペコードを設定
するために抵抗回路を用いた場合を例にとったが、本発
明はこれに限るものではなく、その他の擬似オペコード
作成回路を用いることができる。例えば、デイツブスイ
ッチ等と抵抗を併用することにより、擬似コードを自由
に変えることができる擬似オペコード作成回路を実現す
ることができる。
Furthermore, in the above description, an example is given in which a resistor circuit is used to set a pseudo opcode on the bus, but the present invention is not limited to this, and other pseudo opcode creation circuits may be used. can. For example, by using a date switch or the like in combination with a resistor, it is possible to realize a pseudo opcode generation circuit that can freely change the pseudo code.

[発明の効果] 以上詳細に説明したように、本発明によればROMカー
ドとバスの闇に擬似のオペコードを設定することができ
る擬似オペコード作成回路を設けることにより、CPL
IvJ作中にROMカードが引抜かれた時でもCPUに
暴走等の異常動作が発生しないようにすることができる
ROMカード制御方式を提供することができる。
[Effects of the Invention] As explained in detail above, according to the present invention, by providing a pseudo-opcode creation circuit that can set a pseudo-opcode in the ROM card and the bus, CPL
It is possible to provide a ROM card control method that can prevent abnormal operations such as runaway in the CPU even when the ROM card is pulled out during IvJ work.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す要部構成図、第3図は
本発明の他の実施例を示す要部構成図、第4図は従来方
式の構成を示す図である。 第1図において 1は装置本体、 1aはCPLJ。 1bはメモリ、 2はROMカード、 3はバス、 4は擬似オペコード作成回路である。 特許出願人   富  士  通  株  式  会 
 礼式  理  人     弁理士   井  島 
 藤  冶外1名 第1図 角■2 区 第3図 角答4 巨く
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of main parts showing one embodiment of the invention, Fig. 3 is a block diagram of main parts showing another embodiment of the invention, and Fig. 4 is a block diagram of main parts showing an embodiment of the invention. FIG. 2 is a diagram showing the configuration of a conventional method. In Fig. 1, 1 is the main body of the device, and 1a is the CPLJ. 1b is a memory, 2 is a ROM card, 3 is a bus, and 4 is a pseudo-opcode generation circuit. Patent applicant: Fujitsu Limited
Ceremony Attorney Patent Attorney Ijima
Fuji Jigai 1 person 1st figure corner ■ 2 Ward 3rd figure corner answer 4 Huge

Claims (2)

【特許請求の範囲】[Claims] (1)CPU(1a)を含む装置本体(1)と外部から
装着されるROMカード(2)をバス(3)を介して接
続して記憶容量を増設するシステムにおいて、 バス(3)とROMカード(2)とを接続 するバスの間にROMカード(2)が引抜かれた時、バ
ス上に所定のオペコードを設定する擬似オペコード作成
回路(4)を設けたことを特徴とするROMカード制御
方式。
(1) In a system in which the storage capacity is increased by connecting the device body (1) including the CPU (1a) and the ROM card (2) installed from the outside via the bus (3), the bus (3) and the ROM ROM card control characterized in that a pseudo operation code creation circuit (4) is provided between the bus connecting the card (2) and the bus when the ROM card (2) is pulled out, and sets a predetermined operation code on the bus. method.
(2)前記擬似オペコード作成回路(4)として、抵抗
を電源電圧又は接地電位と接続する抵抗回路を用いたこ
とを特徴とする請求項第1項記載のROMカード制御方
式。
(2) The ROM card control system according to claim 1, characterized in that a resistor circuit connecting a resistor to a power supply voltage or a ground potential is used as the pseudo operation code generating circuit (4).
JP63136050A 1988-06-02 1988-06-02 ROM card control method Pending JPH01305453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63136050A JPH01305453A (en) 1988-06-02 1988-06-02 ROM card control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63136050A JPH01305453A (en) 1988-06-02 1988-06-02 ROM card control method

Publications (1)

Publication Number Publication Date
JPH01305453A true JPH01305453A (en) 1989-12-08

Family

ID=15166009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63136050A Pending JPH01305453A (en) 1988-06-02 1988-06-02 ROM card control method

Country Status (1)

Country Link
JP (1) JPH01305453A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5955974A (en) * 1997-09-11 1999-09-21 Fujitsu Limited Information processing apparatus with transfer or arrival precaution

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60225952A (en) * 1984-04-25 1985-11-11 Hitachi Ltd Computer malfunction prevention method
JPS61177545A (en) * 1985-02-01 1986-08-09 Nec Corp Data processor with auxiliary processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60225952A (en) * 1984-04-25 1985-11-11 Hitachi Ltd Computer malfunction prevention method
JPS61177545A (en) * 1985-02-01 1986-08-09 Nec Corp Data processor with auxiliary processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5955974A (en) * 1997-09-11 1999-09-21 Fujitsu Limited Information processing apparatus with transfer or arrival precaution

Similar Documents

Publication Publication Date Title
US6318965B1 (en) Intelligent internal fan controller
US5359728A (en) Data integrity assurance in a disk drive upon a power failure
KR100251381B1 (en) Apparatas and method for initializing of volatile memory
JPH04219823A (en) Method and apparatus for protecting rom data
JPH01305453A (en) ROM card control method
US5222232A (en) Apparatus and method for monitoring prom access in a microcomputer
Johnston Designing your own microcomputer: Constructing your own micro will give you experience, more power for your money, and a system that will do just what you want
JP2854609B2 (en) Portable electronic devices
JPH054039Y2 (en)
JP3138932B2 (en) Memory card
JP3098414B2 (en) Load module storage method
JPH0335386A (en) Portable electronic device
JP3465511B2 (en) Digital protection relay
JPS6157394A (en) Ic card
JPH0335383A (en) Portable electronic device
JPS6393059A (en) Memory card
JP3052882B2 (en) Programmable semiconductor integrated circuit device
JPH0335381A (en) Portable electronic device
JPH01118974A (en) Card module
CN109522241A (en) A kind of Write-protection method based on Flash, device and circuit
JPH05266270A (en) Memory card connector contact check method
JPS6214499A (en) Insertion and removal of hot wire for electronic circuit board
JPH0363783A (en) Ic memory card
JPH02112086A (en) Read/write device for memory card
JPS5856200B2 (en) data processing equipment