JPH0452974B2 - - Google Patents
Info
- Publication number
- JPH0452974B2 JPH0452974B2 JP60086817A JP8681785A JPH0452974B2 JP H0452974 B2 JPH0452974 B2 JP H0452974B2 JP 60086817 A JP60086817 A JP 60086817A JP 8681785 A JP8681785 A JP 8681785A JP H0452974 B2 JPH0452974 B2 JP H0452974B2
- Authority
- JP
- Japan
- Prior art keywords
- basic system
- vector table
- basic
- rom
- 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.)
- Expired - Lifetime
Links
Description
【発明の詳細な説明】
〔概要〕
異なる基本システムのベクタテーブルを選択し
て動作させるベクタ選択方式であつて、基本シス
テムが格納されるROMに選択手段を備え、プロ
グラム、及びベクタテーブルがロードされる
RAMにロードされたプログラムの基本システム
を指定する指定フラグを格納しておき、選択手段
によつて指定フラグを参照して基本システムに必
要なベクタテーブルを選択指定することにより、
異なる基本システムの動作を可能とする。[Detailed Description of the Invention] [Summary] A vector selection method that selects and operates vector tables of different basic systems. Ru
By storing a specification flag specifying the basic system of the program loaded in RAM, and selecting and specifying the vector table necessary for the basic system by referring to the specification flag using the selection means,
Allows operation of different basic systems.
本発明は、ROMに基本システムが格納されて
いる装置に係り、特に異なる基本システムのベク
タテーブルを選択して動作させることができるベ
クタ選択方式に関するものである。
The present invention relates to a device in which a basic system is stored in a ROM, and more particularly to a vector selection method that can select and operate vector tables of different basic systems.
ROMに基本システムが格納されている装置で
異なる基本システム、或いは旧システムをROM
の交換等を行わないで動作させることができる方
法が望まれている。 A device with a basic system stored in ROM may have a different basic system or an old system stored in ROM.
There is a need for a method that can be operated without replacing the parts.
第3図に従来例としてROMに基本システムが
格納されている装置1のブロツク図を示す。
FIG. 3 shows a block diagram of a conventional device 1 in which a basic system is stored in a ROM.
図において、2aはROMで基本システムAが
格納されている。3aはRAMで基本システムA
に使用されるプログラムとベクタテーブルがロー
ドされている。ベクタテーブルはプログラムの格
納エリヤを指定するテーブルである。 In the figure, 2a is a ROM in which the basic system A is stored. 3a is RAM and basic system A
The program and vector table used are loaded. The vector table is a table that specifies a program storage area.
従つて基本システムAはRAM3aに格納され
たベクタテーブルの指定するエリヤのプログラム
によつて動作する。 Therefore, the basic system A operates according to the program in the area designated by the vector table stored in the RAM 3a.
上記従来方法によれば、この装置では1個の基
本システムに対して1個のベクタテーブルが存在
するのみである。従つて異なる基本システムを動
作させるためには、ROM2aを交換し、またそ
の基本システムに合わせたベクタテーブルを新た
に作成する必要があるという問題点がある。
According to the above conventional method, only one vector table exists for one basic system in this device. Therefore, in order to operate a different basic system, there is a problem that it is necessary to replace the ROM 2a and create a new vector table suitable for the basic system.
〔問題点を解決する為の手段〕 第1図は本発明の原理ブロツク図である。[Means for solving problems] FIG. 1 is a block diagram of the principle of the present invention.
図において、2は複数の基本システムを記憶
し、且つ基本システムに使用されるベクタテーブ
ルを選択する選択手段4を記憶する第1の記憶部
で、ROMで構成される。 In the figure, reference numeral 2 denotes a first storage unit which stores a plurality of basic systems and also stores selection means 4 for selecting a vector table used in the basic system, and is composed of a ROM.
3は基本システムに使用されるプログラム及び
ベクタテーブルがロードされると同時にプログラ
ムの基本システムが指定フラグ5に指定される第
2の記憶部で、RAMで構成される。 Reference numeral 3 denotes a second storage unit, which is composed of a RAM, into which the program and vector table used for the basic system are loaded and at the same time the basic system of the program is designated by the designation flag 5.
従つて選択手段4は指定フラグ5を参照して指
定フラグ5の指定する基本システムのベクタテー
ブルを選択するように構成されている。 Therefore, the selection means 4 is configured to refer to the designation flag 5 and select the vector table of the basic system designated by the designation flag 5.
複数の基本システムの何れかを使用する時に、
選択手段4は指定フラグ5を参照し、第2の記憶
部3の指定フラグ5の指定に基いて第2の記憶部
3の基本システムのベクタテーブルを選択するこ
とにより、異なる基本システムをROMの交換、
及びベクタテーブルの新たな作成なしに使用する
ことができる。
When using any of the multiple basic systems,
The selection means 4 refers to the designation flag 5 and selects the vector table of the basic system in the second storage unit 3 based on the designation of the designation flag 5 in the second storage unit 3, thereby selecting a different basic system from the ROM. exchange,
and can be used without creating a new vector table.
以下、本発明の一実施例を第2図のブロツク図
を参照して説明する。第1図及び第3図と同一符
号は同一対象物を示す。第2図で第1図に対応す
るものは1点鎖線で囲んで示している。
Hereinafter, one embodiment of the present invention will be described with reference to the block diagram of FIG. The same reference numerals as in FIGS. 1 and 3 indicate the same objects. In FIG. 2, parts corresponding to those in FIG. 1 are shown surrounded by a dashed line.
図において、装置1aはROM2b、及び
RAM3bを備えている。 In the figure, device 1a has ROM 2b and
Equipped with RAM3b.
ROM2bは、入力される初期プログラムロー
ド(Initial Program Load:以下IPLという)
をRAM3bにロードするローダ6、基本システ
ムA,B、及びベクタテーブル選択部4aが格納
されている。 ROM2b is the input initial program load (IPL)
A loader 6 for loading the data into the RAM 3b, basic systems A and B, and a vector table selection section 4a are stored.
RAM3bは、使用される基本システムのプロ
グラムがロードされると共に、そのプログラムの
基本システムA,Bの何れかが指定フラグ5aに
指定される。 The RAM 3b is loaded with the program of the basic system to be used, and either the basic system A or B of the program is specified in the designation flag 5a.
ベクタテーブル選択部4aは、ローダ6による
RAM3bへのIPLが終了すると起動し、RAM3
bの指定フラグ5aを参照して、指定フラグ5a
に指定された基本システムA,Bの何れかに必要
なベクタテーブルを選択する。またROM2b内
の基本システムがRAM3b上の所定エリヤにベ
クタテーブルが存在することを期待している場合
には、所定エリヤへベクタテーブルを移動する。
更に基本システムが起動した後も、RAM3bの
プログラムからの依頼により切換えが可能であ
る。 The vector table selection unit 4a is configured by the loader 6.
When IPL to RAM3b is completed, it starts and RAM3
With reference to the designated flag 5a of b, the designated flag 5a
Select the vector table required for either basic system A or B specified in . Furthermore, if the basic system in the ROM 2b expects the vector table to exist in a predetermined area on the RAM 3b, the vector table is moved to the predetermined area.
Furthermore, even after the basic system is started, switching is possible upon request from the program in the RAM 3b.
このような構成及び機能を有するので、使用さ
れる基本システムA,Bの何れかのIPLがRAM
3bにロードされ、その基本システムのベクタテ
ーブルが指定フラグ5aに指定されると、ベクタ
テーブル選択部4aは基本システムの起動前にベ
クタテーブル選択部4aは指定フラグ5aを参照
し、指定された基本システムA,Bの何れかのベ
クタテーブルを選択して起動させる。 With such a configuration and function, the IPL of either basic system A or B used is RAM
3b and the vector table of the basic system is specified in the specification flag 5a, the vector table selection unit 4a refers to the specification flag 5a and selects the specified basic system before starting the basic system. Select and start the vector table of either system A or B.
このようにして異なる基本システムを動作させ
ることができる。 In this way different basic systems can be operated.
また基本システム起動後でも、ROM2b内の
割込処理等を指定フラグ5aによつて切換えて使
用することができるので極めて有効である。 Furthermore, even after the basic system is started, the interrupt processing and the like in the ROM 2b can be switched and used by the designation flag 5a, which is extremely effective.
以上説明したように本発明によれば、
異なる基本システムをROMの交換、及びベ
クタテーブルの新たな作成をしないで使用する
ことができる。
As explained above, according to the present invention, a different basic system can be used without replacing the ROM or creating a new vector table.
基本システム起動後もROM内の割込処理等
を指定フラグによつて切換えて使用できる。 Even after the basic system is started, interrupt processing in the ROM can be switched and used using designated flags.
という効果がある。There is an effect.
第1図は本発明の原理ブロツク図、第2図は本
発明による実施例を示すブロツク図、第3図は従
来例を示すブロツク図である。
図において、2は第1の記憶部、2a,2bは
ROM、3は第2の記憶部、3a,3bはRAM、
4は選択手段、4aはベクタテーブル選択部、
5,5aは指定フラグ、6はローダ、A,Bは基
本システムを示す。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a block diagram showing a conventional example. In the figure, 2 is the first storage unit, 2a and 2b are
ROM, 3 is the second storage section, 3a, 3b are RAM,
4 is a selection means, 4a is a vector table selection unit,
5 and 5a are designation flags, 6 is a loader, and A and B are basic systems.
Claims (1)
ステムに使用されるベクタテーブルを選択する選
択手段4を記憶する第1の記憶部2と、 該基本システムに使用されるプログラム及びベ
クタテーブルがロードされると同時に該プログラ
ムの基本システムが指定フラグ5に指定される第
2の記憶部3とを備え、 該複数の基本システムの何れかを使用する時
に、前記選択手段4は前記指定フラグ5を参照
し、該指定フラグ5の指定に基いて該基本システ
ムに必要なベクタテーブルを選択することを特徴
とするベクタ選択方式。[Claims] 1. A first storage unit 2 that stores a plurality of basic systems and a selection means 4 that selects a vector table used in the basic system, and a program used in the basic system. and a second storage unit 3 in which the basic system of the program is designated by the designation flag 5 at the same time as the vector table is loaded, and when using any of the plurality of basic systems, the selection means 4 A vector selection method characterized in that the designation flag 5 is referred to and a vector table necessary for the basic system is selected based on the designation of the designation flag 5.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8681785A JPS61245237A (en) | 1985-04-23 | 1985-04-23 | Vector selecting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8681785A JPS61245237A (en) | 1985-04-23 | 1985-04-23 | Vector selecting system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61245237A JPS61245237A (en) | 1986-10-31 |
| JPH0452974B2 true JPH0452974B2 (en) | 1992-08-25 |
Family
ID=13897356
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8681785A Granted JPS61245237A (en) | 1985-04-23 | 1985-04-23 | Vector selecting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61245237A (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01195543A (en) * | 1988-01-29 | 1989-08-07 | Nec Corp | Multi-os system for switch of interruption vector table |
| JPH0686787B2 (en) * | 1988-06-10 | 1994-11-02 | 三和シヤッター工業株式会社 | Opening / closing control system for architectural shutter |
| JP2555920B2 (en) * | 1993-01-25 | 1996-11-20 | 日本電気株式会社 | Online real-time processor |
| EP0667573A1 (en) * | 1994-02-14 | 1995-08-16 | International Business Machines Corporation | Incorporation of services written in one operating system environment into another operating system environment |
| US7480755B2 (en) * | 2004-12-08 | 2009-01-20 | Hewlett-Packard Development Company, L.P. | Trap mode register |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5783848A (en) * | 1980-11-13 | 1982-05-25 | Usac Electronics Ind Co Ltd | System switching method |
-
1985
- 1985-04-23 JP JP8681785A patent/JPS61245237A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61245237A (en) | 1986-10-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2681929B2 (en) | Program start method | |
| JPH0452974B2 (en) | ||
| JPH0651989A (en) | Fast loading system of operating system in computer system | |
| JPH02105962A (en) | System starting device | |
| JPH023828A (en) | computer network system | |
| JPH04153735A (en) | Information processing system | |
| JPS61248137A (en) | System selecting system | |
| JPS6254334A (en) | Portable computer | |
| JPS62226357A (en) | Initial program loading system | |
| JP2790472B2 (en) | Multiple conversation processing control method | |
| JPH04148326A (en) | Application activating system | |
| JPS61289444A (en) | Data processing system | |
| JPH03240135A (en) | Ct device | |
| JPH01112423A (en) | Overlaying control system | |
| JP2989906B2 (en) | JCL automatic generation method | |
| JP2000035882A (en) | Method for dynamic change of function calling sequence | |
| JPH01251264A (en) | Command adding and deleting system for time sharing system | |
| JPS63196963A (en) | Program controlling system | |
| JPS61250741A (en) | Task control system | |
| JPH03257567A (en) | Link pack area control system | |
| JPS62257560A (en) | Saving system for content of main storage | |
| JPH02287731A (en) | character output device | |
| JPH01166240A (en) | Program load control system | |
| JPH0247749A (en) | Control program loading system | |
| JPH04153739A (en) | Information processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |