JPH0260016B2 - - Google Patents
Info
- Publication number
- JPH0260016B2 JPH0260016B2 JP60294517A JP29451785A JPH0260016B2 JP H0260016 B2 JPH0260016 B2 JP H0260016B2 JP 60294517 A JP60294517 A JP 60294517A JP 29451785 A JP29451785 A JP 29451785A JP H0260016 B2 JPH0260016 B2 JP H0260016B2
- Authority
- JP
- Japan
- Prior art keywords
- section
- interrupt
- application program
- information
- input
- 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.)
- Expired - Lifetime
Links
Description
〔概要〕
複数の入出力装置(端末機を含む)が接続され
るデータ処理システムにおいて、入出力装置の追
加接続の際、割込みレベルを自由に設定しうるよ
うに図つた情報設定方式である。
〔産業上の利用分野〕
本発明は入出力装置の接続に伴う割込みレベル
を設定する情報設定方式の改良に関する。
入出力装置の接続に伴うハードウエア割込みを
容易とする対策の実現が望まれている。
〔従来の技術〕
従来例を図によつて説明する。第3図は従来例
を説明するブロツク図である。
処理装置1に入出力装置(以下I/O装置と呼
ぶ)2を接続する手段として、I/Oカード(接
続カード)3を、I/Oスロツト(挿入部)4に
挿入する接続・稼動方法がある。この方法では、
I/Oカード3を、I/Oスロツト4に挿入する
と、割込情報9が割込処理部5へ送られる。この
ハードウエア割込みにより、制御プログラム6
は、挿入されたI/Oカード3のI/O装置に応
じた応用プログラム7による処理開始を可能とす
る。例えばI/O装置AのI/Oカード3をI/
Oスロツト4に挿入すると、記憶部8の応用プロ
グラムaの処理開始が可能となる。
なお従来方式では、各I/O装置(A,B,C
及びD)毎に、それぞれ応用プログラム7(即ち
a,b,c及びd)が設けられていた。
〔発明が解決しようとする問題点〕
以上で明らかなように従来方式では、I/O装
置2と応用プログラム7とは、1対1に対応して
いると共に、割込レベルが固定しているため、割
込レベルを変更したいときには、応用プログラム
の変更を必要とするという問題点があつた。
〔問題点が解決するための手段〕
区分けされた挿入部4に、入出力装置2に結ば
れた接続カード3を挿入したとき、割込処理部5
が該挿入による割込み発生を制御プログラム6に
通知し、制御プログラム6は接続された入出力装
置2に応じた応用プログラム7を作動せしめる処
理システムにおいて、
割込みの優先順位を示す割込レベル情報、応用
プログラム7の識別コード及び応用プログラム7
のアドレス情報が設定される不揮発性の記憶部1
3と、
記憶部13に情報を設定する手段及び制御プロ
グラム6へ通報する手段を有する設定処理部14
と、
記憶部13を参照する手段を有する制御プログ
ラム6と、
入力部10
とを備えている。
〔作用〕
入力部10により記憶部13に割込レベル情報
及び応用プログラム7のアドレス情報を設定した
のち、接続カード3を挿入部4に挿入した際、割
込処理部5からの該挿入に関わる情報及び入力部
10からの識別コードを受けた設定処理部14
は、該識別コードを、接続カード3が挿入された
挿入部4に割付けられた記憶部13の所定部に書
込んだのち、制御プログラム6に、該挿入による
割込み発生を通知する。
〔実施例〕
以下、本発明を図面によつて説明する。第2図
は本発明の一実施例を説明するブロツク図であ
る。
I/O装置2のうち、A,B及びCのI/Oカ
ード3A,3B及び3CをI/Oスロツト(挿入
部)4に挿入したとき、オペレータは、入力部1
0から設定情報11、即ち割込レベル情報(I1,
I2,I2,I4)、プログラムの識別コード(a,b,
c)及びそのアドレス情報(Fa,Fb,Fc)を入
力する。
これを受けた前処理部12は、記憶部(不揮発
性メモリ)13に、図示の如く情報を設定する。
即ち割込レベルI1及びI2には応用プログラムaの
アドレスFaを、また割込レベルI3には応用プログ
ラムbのアドレスFbを、そして割込レベルI4には
応用プログラムcのアドレスFcを割付けたのち、
各応用プログラムの識別コードa,b及びcを設
定する。なお割込レベルI1〜I4は、それぞれI/
Oスロツトi1〜i4に対応するものとする。
上記の前処理を終えたのち、システムを稼動さ
せると、制御プログラム6は、記憶部13の設定
情報に基いて、各I/O装置の妥当性をチエツク
し、各I/O装置に応じたそれぞれの応用プログ
ラムを作動せしめる。
上記の状態において、新たにI/O装置A′を
増設する必要を生じた場合、オペレータはI/O
カード3A′を、I/Oスロツトi2に挿入すると共
に、入力部10から、割込レベル情報I2及び応用
プログラムの識別コードaを入力する。これを受
けた設定処理部14は、記憶部13のe欄に、応
用プログラムの識別コードaを設定したのち、制
御プログラム6を起動せしめる。
制御プログラム6は、記憶部13内の設定情報
に基いて、応用プログラムbを起動させて、割込
み処理を行う。
上記のように本発明は、割込みレベルを記憶部
13に自由に設定できるので、割込レベルの変更
が容易であると共に、記憶部13は不揮発性メモ
リなので、該記憶部への情報設定は、変更を生じ
たときのみでよい。
〔発明の効果〕
本発明は処理システムにおける入出力装置、端
末機等の追加設定及び割込レベルの設定を容易と
する効果をもたらす利点を有する。
[Overview] This is an information setting method that allows interrupt levels to be freely set when additional input/output devices are connected in a data processing system to which multiple input/output devices (including terminals) are connected. [Industrial Application Field] The present invention relates to an improvement in an information setting method for setting an interrupt level associated with connection of an input/output device. It is desired to realize a countermeasure that facilitates hardware interrupts associated with the connection of input/output devices. [Prior Art] A conventional example will be explained with reference to the drawings. FIG. 3 is a block diagram illustrating a conventional example. A connection/operation method in which an I/O card (connection card) 3 is inserted into an I/O slot (insertion section) 4 as a means for connecting an input/output device (hereinafter referred to as an I/O device) 2 to a processing device 1. There is. in this way,
When the I/O card 3 is inserted into the I/O slot 4, interrupt information 9 is sent to the interrupt processing section 5. This hardware interrupt causes the control program 6 to
This enables the application program 7 to start processing according to the I/O device of the inserted I/O card 3. For example, I/O card 3 of I/O device A
When inserted into the O slot 4, the application program a in the storage section 8 can start processing. Note that in the conventional method, each I/O device (A, B, C
and D), an application program 7 (ie, a, b, c, and d) was provided, respectively. [Problems to be solved by the invention] As is clear from the above, in the conventional system, the I/O device 2 and the application program 7 have a one-to-one correspondence, and the interrupt level is fixed. Therefore, there was a problem in that when it was desired to change the interrupt level, it was necessary to change the application program. [Means for solving the problem] When the connection card 3 connected to the input/output device 2 is inserted into the divided insertion section 4, the interrupt processing section 5
notifies the control program 6 of the occurrence of an interrupt due to the insertion, and the control program 6 operates the application program 7 according to the connected input/output device 2. In the processing system, the control program 6 receives interrupt level information indicating the priority of the interrupt, and the application program. Identification code of program 7 and application program 7
non-volatile storage unit 1 in which address information is set;
3, and a setting processing section 14 having means for setting information in the storage section 13 and means for notifying the control program 6.
, a control program 6 having means for referencing the storage section 13 , and an input section 10 . [Operation] After setting the interrupt level information and the address information of the application program 7 in the storage unit 13 by the input unit 10, when the connection card 3 is inserted into the insertion unit 4, the interrupt processing unit 5 sends information related to the insertion. Setting processing unit 14 receives information and identification code from input unit 10
writes the identification code in a predetermined section of the storage section 13 allocated to the insertion section 4 into which the connection card 3 is inserted, and then notifies the control program 6 of the occurrence of an interrupt due to the insertion. [Example] The present invention will be explained below with reference to the drawings. FIG. 2 is a block diagram illustrating one embodiment of the present invention. When inserting I/O cards 3A, 3B, and 3C of A, B, and C of the I/O device 2 into the I/O slot (insertion section) 4, the operator
0 to setting information 11, that is, interrupt level information (I 1 ,
I 2 , I 2 , I 4 ), program identification code (a, b,
c) and its address information (Fa, Fb, Fc). The preprocessing unit 12 that receives this sets information in the storage unit (nonvolatile memory) 13 as shown in the figure.
That is, the address Fa of application program a is assigned to interrupt levels I 1 and I 2 , the address Fb of application program b is assigned to interrupt level I 3 , and the address Fc of application program c is assigned to interrupt level I 4 . After assigning,
Set identification codes a, b, and c for each application program. Note that interrupt levels I 1 to I 4 are respectively I/
It corresponds to O slots i1 to i4 . When the system is started after completing the above preprocessing, the control program 6 checks the validity of each I/O device based on the setting information in the storage section 13, and performs a Activate each application program. In the above situation, if it becomes necessary to add a new I/O device A', the operator must
The card 3A' is inserted into the I/O slot i2 , and the interrupt level information I2 and application program identification code a are inputted from the input section 10. Upon receiving this, the setting processing unit 14 sets the identification code a of the application program in the e column of the storage unit 13, and then starts the control program 6. The control program 6 starts the application program b based on the setting information in the storage section 13 and performs interrupt processing. As described above, according to the present invention, since the interrupt level can be set freely in the storage section 13, it is easy to change the interrupt level, and since the storage section 13 is a non-volatile memory, information setting in the storage section is as follows. Only when a change occurs. [Effects of the Invention] The present invention has the advantage of facilitating the additional setting of input/output devices, terminals, etc. and the setting of interrupt levels in a processing system.
第1図は本発明の原理ブロツク図、第2図は本
発明の一実施例を説明するブロツク図、第3図は
従来例を説明するブロツク図。
図において、1は処理装置、2は入出力装置
(I/O装置)、3,3A,3A′,3B,3Cは
I/Oカード又は接続カード、4は挿入部又は
I/Oスロツト、5は割込処理部、6は制御プロ
グラム、7は応用プログラム、8は記憶部、9は
割込情報、10は入力部、11は設定情報、12
は前処理部、13は不揮発性の記憶部、14は設
定処理部を示す。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram illustrating an embodiment of the present invention, and FIG. 3 is a block diagram illustrating a conventional example. In the figure, 1 is a processing device, 2 is an input/output device (I/O device), 3, 3A, 3A', 3B, 3C are I/O cards or connection cards, 4 is an insertion section or I/O slot, 5 1 is an interrupt processing unit, 6 is a control program, 7 is an application program, 8 is a storage unit, 9 is interrupt information, 10 is an input unit, 11 is setting information, 12
13 indicates a preprocessing section, 13 a nonvolatile storage section, and 14 a setting processing section.
Claims (1)
ばれた接続カード3を挿入したとき、割込処理部
5が、該挿入による割込みを制御プログラム6に
通知し、制御プログラム6は、接続された入出力
装置2に応じた応用プログラム7を作動せしめる
処理システムにおいて、 割込みの優先順位を示す割込レベル情報、応用
プログラム7の識別コード及び応用プログラム7
のアドレス情報が設定される不揮発性の記憶部1
3と、 記憶部13の情報を設定する手段及び制御プロ
グラム6へ通報する手段を有する設定処理部14
と、 記憶部13を参照する手段を有する制御プログ
ラム6と、 入力部10とを備え、 入力部10により記憶部13に割込レベル情報
及び応用プログラム7のアドレス情報を設定した
のち、接続カード3を挿入部4に挿入した際、割
込処理部5からの該挿入に関わる情報及び入力部
10からの識別コードを受けた設定処理部14
は、該識別コードを、接続カード3が挿入された
挿入部4に割付けられた記憶部13の所定部に書
込んだのち、制御プログラム6に、該挿入による
割込み発生を通知することを特徴とする情報設定
方式。[Claims] 1. When the connection card 3 connected to the input/output device 2 is inserted into the divided insertion section 4, the interrupt processing section 5 notifies the control program 6 of an interrupt caused by the insertion, The control program 6 is a processing system that operates an application program 7 according to the connected input/output device 2, and includes interrupt level information indicating the priority of interrupts, an identification code of the application program 7, and the application program 7.
non-volatile storage unit 1 in which address information is set;
3, and a setting processing section 14 having means for setting information in the storage section 13 and means for notifying the control program 6.
, a control program 6 having means for referencing the storage section 13 , and an input section 10 , and after setting the interrupt level information and the address information of the application program 7 in the storage section 13 by the input section 10 , the connection card 3 When inserted into the insertion section 4, the setting processing section 14 receives information related to the insertion from the interrupt processing section 5 and an identification code from the input section 10.
is characterized in that, after writing the identification code in a predetermined part of the storage unit 13 allocated to the insertion unit 4 into which the connection card 3 is inserted, the control program 6 is notified of the occurrence of an interrupt due to the insertion. Information setting method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60294517A JPS62154044A (en) | 1985-12-26 | 1985-12-26 | Information setting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60294517A JPS62154044A (en) | 1985-12-26 | 1985-12-26 | Information setting system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62154044A JPS62154044A (en) | 1987-07-09 |
| JPH0260016B2 true JPH0260016B2 (en) | 1990-12-14 |
Family
ID=17808800
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60294517A Granted JPS62154044A (en) | 1985-12-26 | 1985-12-26 | Information setting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS62154044A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5233817B2 (en) * | 2009-04-23 | 2013-07-10 | 富士通株式会社 | Driver program, device management method, and computer apparatus |
-
1985
- 1985-12-26 JP JP60294517A patent/JPS62154044A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62154044A (en) | 1987-07-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3015377B2 (en) | IC card | |
| US5371892A (en) | Method for configuring a computer bus adapter circuit board without the use of jumpers or switches | |
| EP0486304B1 (en) | Initialising computer systems | |
| JP3028815B2 (en) | Transmission method of portable electronic device and portable electronic device | |
| JPS6392473A (en) | Printer | |
| JP3110035B2 (en) | Portable electronic devices | |
| US5285200A (en) | Portable electronic device and a method for processing data therefore | |
| EP0335812B1 (en) | Secondary processor initialization scheme | |
| JPS63116258A (en) | Data processing system | |
| JPH0260016B2 (en) | ||
| EP0285634B1 (en) | Method to execute two instruction sequences in an order determined in advance | |
| JP3923546B2 (en) | IC card | |
| JP2930259B2 (en) | Portable electronic devices | |
| JP7501808B2 (en) | IC chip | |
| US6314482B1 (en) | Method and system for indexing adapters within a data processing system | |
| JP2537200B2 (en) | Portable electronic devices | |
| EP0488720A1 (en) | A portable electronic device and a method for processing data therefor | |
| JP2598056B2 (en) | Portable electronic devices | |
| JP3005379B2 (en) | Communication system between programmable controllers | |
| JP2794043B2 (en) | Portable electronic devices | |
| JP2798957B2 (en) | Portable electronic devices | |
| JP4026796B2 (en) | IC card with command distribution function | |
| EP0292237A2 (en) | IC card and IC card information processing system using the IC card | |
| EP3144905B1 (en) | Ic card and ic module | |
| JPH08241264A (en) | Optional device and information processing device to which it is connected |