JPS5924344A - Overlay controlling system - Google Patents

Overlay controlling system

Info

Publication number
JPS5924344A
JPS5924344A JP13192782A JP13192782A JPS5924344A JP S5924344 A JPS5924344 A JP S5924344A JP 13192782 A JP13192782 A JP 13192782A JP 13192782 A JP13192782 A JP 13192782A JP S5924344 A JPS5924344 A JP S5924344A
Authority
JP
Japan
Prior art keywords
program
overlay
time
loading
loaded
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
JP13192782A
Other languages
Japanese (ja)
Inventor
Akiji Yamamoto
山本 章治
Masao Makino
牧野 正男
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 Ltd
Original Assignee
Hitachi 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 filed Critical Hitachi Ltd
Priority to JP13192782A priority Critical patent/JPS5924344A/en
Publication of JPS5924344A publication Critical patent/JPS5924344A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs

Abstract

PURPOSE:To increase the speed of an overlay control system, by saving a program to a save file when it is loaded to a main storage for the first time, and storing a loading address, then reading the program out of the save file at and after the second time to load it to the same address. CONSTITUTION:A program is loaded for the first time to a loading region 51 from a program library 5 to perform the reading of the text information and qualification information and the qualification of the program respectively. Then the qualified program is saved to a save file 52, and at the same time the address of the region 51 within a main storage to which the program is loaded is set to an overlay control table within the main storage. When an overlay request is given, the overlay control table is referred to. Then the program is read out of the file 52 at and after the second time, then loaded to the same address as the first time which is stored in the control table. Thus the processing time is reduced to realize a high-speed operation of an overlay controlling system.

Description

【発明の詳細な説明】 発明の対象 本発明は、オーバレイ手法を利用したオンライン・シス
テムにおけるオーバレイ制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention The present invention relates to an overlay control method in an online system using an overlay technique.

従来技術 一般にオンライン・システムでは、オーバレイ手法が利
用されてhる。しかし従来は、オーバレイ処理h′−頻
緊に行なわれると、その処理のために長時間を要し、シ
ステムの性能が著しく低下すると亀へり欠点があった。
BACKGROUND OF THE INVENTION Generally, online systems utilize overlay techniques. However, in the past, if the overlay processing h'--is performed frequently, it takes a long time for the processing, and the system performance deteriorates significantly.

これは、主記憶へロードしたことのあるプログラムに対
しても、要求が生じる度に、ロードしたことのないプロ
グラムと全く同じオーバレイ手法を繰り返すようになっ
ているからである。
This is because even for programs that have been loaded into main memory, the same overlay method as for programs that have never been loaded is repeated every time a request is made.

発明の目的 *発明の目的は、オーバレイ処理を高速化するためのオ
ーバレイ制御方式を提供することにある。
Purpose of the Invention *An object of the invention is to provide an overlay control method for speeding up overlay processing.

オーバレイ処理を高速化するには、プログラムのローデ
ィング時の入出力(Ilo)操作全削減する必要がある
。通常、プログラムのローディングは、ライブラリより
テキスト情報を読込み、更に修飾情報を読込みテキスト
中のアドレス定数(絶対番地)の解決を行なう。(これ
は、絶対番地はローディングするまで不明のため) しかして本発明は、プログラムのローディング領域を固
定とした場合、アドレス定数も固定となることに着目し
、1回目のローディング結果(修飾されたプログラム)
を退避ファイルに退避しておくとともに、そのローディ
ング領域のアドレスを記憶して分き、同一プログラムの
2回目以降のローディングは、退避ファイルよりそのプ
ログラムを読み出して1回目と同じローディング領域に
ロードすることにより、アドレス定数の解決のだめの処
理、I10操作(テキスト部の読込み、修飾情報の読込
み)を不要とし、以てオーバレイ処理の高速化、システ
ムの性能向上を達成するものである。
To speed up overlay processing, it is necessary to reduce all input/output (Ilo) operations during program loading. Normally, when loading a program, text information is read from a library, modification information is read in, and address constants (absolute addresses) in the text are resolved. (This is because the absolute address is unknown until loading.) However, the present invention focuses on the fact that when the loading area of a program is fixed, the address constant is also fixed. program)
In addition to saving the program to a save file, the address of the loading area should be memorized and divided, and when loading the same program for the second and subsequent times, the program should be read from the save file and loaded into the same loading area as the first time. This eliminates the need for processing to resolve address constants and I10 operations (reading text portions, reading modification information), thereby achieving faster overlay processing and improved system performance.

以下、図面を参照して本発明の一実施例について説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

発明の実施例 第1図はオーバレイ要求が生起したときの処理の流れを
略示する流れ図であり、第2図はその際のプログラムの
移動を説明するための図である。
Embodiment of the Invention FIG. 1 is a flowchart schematically showing the flow of processing when an overlay request occurs, and FIG. 2 is a diagram for explaining program movement at that time.

第1図および第2図において、プログラム・ライブラリ
50内のあるプログラムに対するオーバレイ要求が生起
すると、その要求がそのプログラムに対して最初のもの
か判定する(ステップl)。
In FIGS. 1 and 2, when an overlay request for a certain program in program library 50 occurs, it is determined whether the request is the first for that program (step l).

この判定は、後述するオーバレイ管理テーブルを参照す
ること喘二よって行なうことができる。
This determination can be made by referring to an overlay management table, which will be described later.

1回目のオーバレイ要求であれは、従来と同様のローデ
ィング処理が実行され、第2図に矢印aで示す如く、該
当のプログラムがプログラム・ライブラリ50より主記
憶のあるローディング領域51にロードされる(ステッ
プ2)。このステップ2は図示の8つのステップ2−1
. 2−2. 2−3からby、す、テキスト情報の読
込み、修飾情報の読込み、プログラムの修飾の各処理を
実行する。
If it is the first overlay request, the same loading process as before is executed, and the corresponding program is loaded from the program library 50 into the loading area 51 in the main memory, as shown by arrow a in FIG. Step 2). This step 2 consists of the eight steps 2-1 shown in the diagram.
.. 2-2. From 2-3, the processes of reading text information, reading modification information, and modifying the program are executed.

そして、ローディング結果、つまり修飾済みのプログラ
ムを、第2に矢印すで示す如く、退避ファイル52に退
避する(ステップ8)。この際、第8図に示すオーバレ
イ管理テーブル58の該当のプログラム名に対する退避
ファイルポインタをセットする。また、このステップ、
ある亀へはステップ20段階で、プログラムがロードさ
れた主記憶内のローディング領域51のアドレスがオー
バレイ管理テーブル58にセットされる。このオーバレ
イ管理テーブル58は、通常、主記憶内に作成される。
Then, the loading result, that is, the modified program, is saved in the save file 52 as shown by the second arrow (step 8). At this time, a save file pointer is set for the corresponding program name in the overlay management table 58 shown in FIG. Also, this step
For a certain turtle, in step 20, the address of the loading area 51 in the main memory into which the program is loaded is set in the overlay management table 58. This overlay management table 58 is normally created in main memory.

なお、前記のステップ1の判定は、オーバレイ管理テー
ブル5Bをプログラム名でサーチし、該当−のプログラ
ム名が存在すれはそのオーバレイ要求が2回目以降であ
ると判断するという方法で実行てきる。
Note that the determination in step 1 is performed by searching the overlay management table 5B by program name, and if the corresponding program name exists, it is determined that the overlay request is the second or subsequent time.

2回目以降のオーバレイ要求と判定された場合は、ステ
ップ4を実行する。すなわち、オーバレイ管理テーブル
58を参照し、該当のプログラムについての退避ファイ
ルポインタによって、そのプログラム(修飾済み)を退
避ファイル52より読み出しく第2図の矢印C)、それ
をオーバレイ管理テーブル5Bに記憶されているローデ
ィング領域アドレスにしたがって1回目と同じローディ
ング領域51にロードする。したがって、プログラムの
修飾処理、そのためのI10操作が不用となる。
If it is determined that this is the second or subsequent overlay request, step 4 is executed. That is, referring to the overlay management table 58, using the save file pointer for the program, read out the program (modified) from the save file 52 (arrow C in FIG. 2), and store it in the overlay management table 5B. Loading is performed in the same loading area 51 as the first time according to the loading area address. Therefore, program modification processing and the I10 operation for that purpose are unnecessary.

発明の効果 以上に詳述した如く、本発明によれは、同じプログラム
に対する2回目以降のオーバレイ処理が、従来の処理で
最低2回(2レコード)のIloを要していたのを1回
(lレコード)にできることにより、処理時間の短縮が
図れ1.またオーバレイに伴なうタスク、ローディング
領域およびファイルの占有時間の減少(二より、システ
ムの性能向上ベニ大きな効果がある。
Effects of the Invention As detailed above, according to the present invention, the second and subsequent overlay processing for the same program can be performed only once (2 records) instead of at least two times (2 records) in the conventional process. 1 record), the processing time can be shortened.1. In addition, the time occupied by tasks, loading areas, and files associated with overlays is reduced (secondarily, this has a significant effect on improving system performance).

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

第1図な一ヘし第8図は本発明の一実施例を説明するた
めの図であり、第1図はオーバレイ処理の概略流れ図、
第2図はプログラム・ライブラリ、主記憶、退避ファイ
ルの間のプログラムの移動を示す概念図、第3図はオー
バレイ管理テーブルの概念図である。 50・・・プログラム・ライブラリ、51・・・主記憶
内の1つのローディング領域、52・・・退避ファイル
、58・・・オーバレイ管理テーブル。 代理人弁理士  薄 1)利 幸
Figure 1 and Figure 8 are diagrams for explaining one embodiment of the present invention, and Figure 1 is a schematic flowchart of overlay processing;
FIG. 2 is a conceptual diagram showing the movement of programs between the program library, main memory, and save files, and FIG. 3 is a conceptual diagram of the overlay management table. 50... Program library, 51... One loading area in main memory, 52... Save file, 58... Overlay management table. Representative Patent Attorney Susuki 1) Toshiyuki

Claims (1)

【特許請求の範囲】[Claims] 0) オーバレイ手法を利用したオンライン・システム
に9かいて、プログラム・ライブラリからあるプログラ
ムを初めて主記憶ヘロードした際に、そのロードしたプ
ログラム(修飾済みプログラム)を退避ファイルへ退避
しておくとともに、そのプログラムの主記憶内のローデ
ィング領域のアドレスを記憶しておき、そのプログラム
の2回目以降の主記憶へのロード時は、退避ファイルか
らそのプログラムを読み出し、そのプログラムについて
記憶している上記のアドレスで示されるローディング領
域へロードすることを特徴とするオーバレイ制御方式。
0) When loading a program from a program library into main memory for the first time using an online system that uses an overlay method, save the loaded program (qualified program) to a save file, and The address of the loading area in the main memory of a program is memorized, and when loading that program into the main memory for the second time or later, the program is read from the save file and the above address stored for that program is used. An overlay control method characterized by loading to the indicated loading area.
JP13192782A 1982-07-30 1982-07-30 Overlay controlling system Pending JPS5924344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13192782A JPS5924344A (en) 1982-07-30 1982-07-30 Overlay controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13192782A JPS5924344A (en) 1982-07-30 1982-07-30 Overlay controlling system

Publications (1)

Publication Number Publication Date
JPS5924344A true JPS5924344A (en) 1984-02-08

Family

ID=15069454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13192782A Pending JPS5924344A (en) 1982-07-30 1982-07-30 Overlay controlling system

Country Status (1)

Country Link
JP (1) JPS5924344A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08241216A (en) * 1995-01-06 1996-09-17 Mitsubishi Electric Corp Computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08241216A (en) * 1995-01-06 1996-09-17 Mitsubishi Electric Corp Computer system

Similar Documents

Publication Publication Date Title
US5220667A (en) Computer system
US4831583A (en) System for saving previous format parameters and using the saved format parameters and changed format parameters to format data output
JPS5924344A (en) Overlay controlling system
US5170479A (en) File block managing system using next record header position data and delete history data from block header and record headers to locate requested record block
JPS60252973A (en) Dynamic loading control system
JPH02257349A (en) Network address setting system
JP2605476B2 (en) Dump collection processing method
JPS63276629A (en) Sorting system for record in file
JPH04353944A (en) Record additional system for index order formation file
JPS63177234A (en) File save loading method
JP2507399B2 (en) Database equipment
JPS583042A (en) Program execution system
JPS6191744A (en) Data control system
JPH0216651A (en) Disk cache control system
JPH05233305A (en) Program loading system
JPH0573390A (en) Deadlock handling process system for data base
JPH05143650A (en) File retrieval system
JPH03280136A (en) Record positioning system for sequentially programmed file
JPH06149647A (en) Multi-media file managing system
JPS62127955A (en) Page control system
JPH05158760A (en) Migration processing system
JPH0219924A (en) High-speed data access system
JPS6344240A (en) Program processing control system
JPH02157932A (en) Variable length data processor
JPH0222415B2 (en)