JPS61216064A - Automatic memory mapping system - Google Patents

Automatic memory mapping system

Info

Publication number
JPS61216064A
JPS61216064A JP2971885A JP2971885A JPS61216064A JP S61216064 A JPS61216064 A JP S61216064A JP 2971885 A JP2971885 A JP 2971885A JP 2971885 A JP2971885 A JP 2971885A JP S61216064 A JPS61216064 A JP S61216064A
Authority
JP
Japan
Prior art keywords
stored
program
address
program module
section
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
JP2971885A
Other languages
Japanese (ja)
Inventor
Hiroshi 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 JP2971885A priority Critical patent/JPS61216064A/en
Publication of JPS61216064A publication Critical patent/JPS61216064A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent an erroneous calculation and to improve work efficiency by providing plural memory parts where size data on a program module is stored and a means for calculating an address at which the program module is stored. CONSTITUTION:The modules P1-Pn of a system program are stored on a file 1, and are loaded in the program area 3 of a main memory part 2 at initial loading. In a memory 8 a processing program 9 (utility) is stored, and is activated when an operator inputs an activation command ST through a system console 6. With the execution of the program 9, a processor 5 takes member names M1, M2 and Mn out of a control table 7, whereby segment sizes S1-Sn of the modules P1-Pn are taken out of an interface part 10. On the basis of the size data the address at which the modules P1-Pn are stored is calculated. Thus the address calculation can be done without man power, and accordingly a calculation error can be prevented and the work efficiency can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、処理システムにおいて、初期ロード(IPL
)の際、ファイルから取出されたモジ為−ルが主記憶に
a−ドされるメモリアドレスを、自動的に割付ける自動
メモリミツピング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention provides an initial load (IPL) in a processing system.
), the present invention relates to an automatic memory sourcing method that automatically allocates a memory address at which a module extracted from a file is loaded into main memory.

処理システムにおいて、システムプログラムの生成時に
必須となるメモリマツピング作業の自動化が望まれてい
る。
In processing systems, it is desired to automate the memory mapping work that is essential when generating system programs.

〔従来の技術〕[Conventional technology]

最近、処理装置を内蔵する制御装置、例えば端末機が畳
屋している。このような端末機においては、内蔵の処理
装置によって実行されるプログラムモジュール群は、外
記記憶装置、例えばフclッピイディスクに格納されて
いる。従って端末機の利用に先立ち、IPLを行うこと
により、該70ジ為−ルが、処理装置によって実行され
ること(より端末機の制御(処理〕が行われる。
Recently, control devices with built-in processing devices, such as terminals, have become popular. In such a terminal, a group of program modules executed by a built-in processing device are stored in an external storage device, for example, a floppy disk. Therefore, by performing IPL before using the terminal, the 70 cards are executed by the processing device (and the terminal is controlled (processed)).

上記のIPL時に、プログラムモジュール群を主メモリ
(CI−ドするためには、各プログラムモジュールが主
メモリにロードされるそれぞれのアドレスを、予かしめ
決定しておく必要がある。これなメモリマツピングと呼
ぶ。
In order to load a group of program modules into the main memory (CI) during the above IPL, it is necessary to determine in advance the respective addresses at which each program module is loaded into the main memory. It is called.

従来は、このメモリマツピングを人手作業に頼ってきた
。即ちシステム管理者は、各プログラムコンポネント(
モジェールンに関する資料から、その大きさを確認し、
主メモリKO−ドすべきアドレスを計算し、このを手作
業により、処理システムに、マツピングアドレスを設定
する作業を行っていた。
Conventionally, this memory mapping has been done manually. That is, the system administrator must manage each program component (
Confirm its size from the materials related to Mojerun,
The address to be loaded into the main memory was calculated and the mapping address was manually set in the processing system.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来方式では、アドレス決定は、人手による机、上計算
のため、計算誤りが生じ易く、殊に端末機の場合にはユ
ーザ別に1システムプログラムを作成せねばならないの
で、作業効率を向上し得ないという問題点があった。
In the conventional method, address determination is done manually, on a desk, and calculation errors are likely to occur.Especially in the case of terminals, one system program must be created for each user, which does not improve work efficiency. There was a problem.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

上記の問題点は、プログラムモジュールが格納されたフ
ァイルと、処理部と、主記憶部と、入力部とを有し、該
入力部からの指令によりファイル内のプログラムモジ為
−ルな主記憶部にロードする処理システムにおいて、前
記プログラムモジュールのサイズデータが格納されたi
!lの記憶部と、WL2の記憶部と、該1[2の記憶部
に前記プログラムモジ為−ル名及びアドレスデータを格
納する手段と、該プログラムモジュールが格納されるア
ドレスを前記サイズデータな基に3I出する手段とを備
え、前記入力部から前記プログラムモジ為−ル名が入力
された際、該プログラムモジ為−ルに対応するサイズデ
ータVc基いて、前記アドレスを算出し、得られたアド
レスデータを前記第2の記憶部に格納、せしめ、次いで
前記入力部から前記指令が入力されたとき、前記第2の
記憶部の情報に基いて、前記ファイル内のプログラムモ
ジュールを前記主記憶部(ロードせしめる本願発明の自
動メモリマツピング方式によって解決される。
The above problem is that the program module has a file in which the program module is stored, a processing section, a main memory section, and an input section, and the program module in the file is stored in the main memory section according to instructions from the input section. In a processing system for loading the program module into i, the size data of the program module is stored.
! means for storing the program module name and address data in the storage section of WL2, the storage section of WL2, and the storage section of WL2; when the program module name is input from the input section, the address is calculated based on the size data Vc corresponding to the program module name, and the obtained address is Address data is stored in the second storage section, and when the command is input from the input section, the program module in the file is stored in the main storage section based on the information in the second storage section. (This is solved by the automatic memory mapping method of the present invention that causes loading.

〔作用〕[Effect]

以上の如く本発明は、マツピング処flIK人手作業を
不要とする。このため人為ミスを防止しつるのみでなく
作業効率を向上することが可能となる。
As described above, the present invention eliminates the need for manual mapping processing. This makes it possible to prevent human errors and improve work efficiency as well.

〔笑施例〕[lol example]

以下、本発明を図面によって説明する。第1図は本発明
の一実施例を説明するプaツク図、第2図は本願間の一
実施例を説明するフローチャートである。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram for explaining one embodiment of the present invention, and FIG. 2 is a flowchart for explaining one embodiment of the present invention.

gl11図において、ファイルIKはシステム プログ
ラムのモジエールP、〜Pnが格納されており、初期ロ
ード(IPL)の際、所要のモジュールを王妃ダ憶部2
のプログラム領域3にロードせしめる。なおモジュール
P1〜Pnは、ファイルlの管理s4のメンバ御名C1
j&別コード) M+ −M nによって管理される。
In the gl11 diagram, the file IK stores the system program modules P, ~Pn, and at the time of initial loading (IPL), the required modules are transferred to the queen data memory section 2.
Load it into program area 3 of . In addition, modules P1 to Pn are member names C1 of management s4 of file l.
j & another code) Managed by M+ -M n.

またインターフェイス部lOには、各モジ、−ルのセグ
メントサイ〆s1〜Snが格納されている。
In addition, the segment size s1 to Sn of each module is stored in the interface section IO.

このように処理装置1115を内蔵する端末機では、ユ
ーザ別に、システムプログラムの生成を行う。
In this manner, the terminal device incorporating the processing device 1115 generates a system program for each user.

このとき作業者は、ロードすべきモジ為−ル名、例えば
モジエールP*、P鵞及びPnのメンバー塩M 鳳+ 
Mt 及ヒM n  を、システムコンソール6から入
力する。この入力されたメンバー塩(Mt9Mt及びM
 n )は、処理袋flt15によって制御テーブル7
にセットされる。
At this time, the operator selects the name of the module to be loaded, such as module name P*, Pn, and member of Pn.
Mt and Mn are input from the system console 6. This input member salt (Mt9Mt and M
n) is controlled by the processing bag flt15 in the control table 7.
is set to

次に作業者が、システムコンソール6から、起動指令S
Tを入力し、メモリ8内の処理プログラム(ニーテリテ
ィ)9を起動せしめる。第2図は処理プログラム9の処
理概要を示すフローチャートであり、以下の制御動作は
、このフローチャートの手順に従って説明する。
Next, the operator issues a startup command S from the system console 6.
Input T to start the processing program (neuterity) 9 in the memory 8. FIG. 2 is a flowchart showing an outline of the processing of the processing program 9, and the following control operations will be explained according to the procedures of this flowchart.

@1図及び第2図において、処理プログラム9の実行く
より、処理装置15は、 ■ 制御テーブル7からメンバー塩RL−Mt及びMn
を堰出す。
@ In Figures 1 and 2, by executing the processing program 9, the processing device 15:
Weir.

■ 終了の判定処理 ■ ファイルlの管理部4のメンバ名M* 9Mz及び
Mnにより、制御テーブル7からのメンバー塩を確認す
る。
■ Completion Judgment Process ■ Check the member name from the control table 7 using the member name M*9 Mz and Mn of the management section 4 of the file l.

■ インターフェイス部lOから当該メンバ名、M19
Mt及びMn即ちモジエールPI−PI及びPnのセグ
メントサイズS*、8m及びSnを取出す。
■ From the interface section IO to the member name, M19
Take out the segment sizes S*, 8m and Sn of Mt and Mn, that is, Mosier PI-PI and Pn.

■ 主記憶部2にオ6けるプログラム領域3の先頭アド
レスA6を基準として、モジー−ルPr−Pa及びPn
が格納されるべきアドレスを、それぞれのセグメントサ
イズS1.St及びSnを用いて算出する。
■ Based on the start address A6 of the program area 3 in the main memory 2, the modules Pr-Pa and Pn
are stored at the address where each segment size S1. Calculated using St and Sn.

■ 求められたアドレスデータAo、A+及びAnを制
御テーブル7に格納する。
(2) Store the obtained address data Ao, A+, and An in the control table 7.

以上の処理が行われたのち、作業者がシステムコンソー
ル6の制御釦11を押下すると、処理装置5が起動され
る。
After the above processing is performed, when the operator presses the control button 11 of the system console 6, the processing device 5 is activated.

処理装置5は、制御テーブル7を参照し、モジュールP
+、Pn及びPnのメンバー塩M* 9Mt及びMnの
アドレスデータAe、At及びAn を求めフチイル1
内のモジュールP*= P宜及びPnを順次取出し、こ
れらを、主記憶部2のアドレスA・。
The processing device 5 refers to the control table 7 and selects the module P.
+, Pn and Pn member salt M* 9 Find address data Ae, At and An of Mt and Mn
Modules P*=P and Pn are sequentially taken out and stored at address A in the main memory section 2.

A、及びAnの位置に格納して、初期ロード(工PL)
を完了する。
Store in locations A and An and initial load (engineering PL)
complete.

〔発明の効果〕〔Effect of the invention〕

本発明はモジニールをロードすべき、主記憶部、のアド
レス計算を人手作業に独らないので、計算誤りを防止し
うると共に、作業効率が向上する効果をもたらす利点を
有する0
Since the present invention does not rely solely on manual calculation of the address of the main memory section into which the module is to be loaded, it has the advantage of preventing calculation errors and improving work efficiency.

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

11図は本発明の一実施例を説明するブロック図、 k211!lは本発明の一実施例を説明するフローチャ
ートロ、 図において、lはファイル、2は主記憶部、3はプログ
ラム領域、4は管理部、5は処理装置、6はシステムコ
ンソール、7は制御テーブル、8はメモリ、9は処理プ
ログラム(ニーテリティ〕、1θはインターフェイス部
、11は制御釦を示す。 代理人 弁坤士  松 岡 宏四tyj;T 、’ ”
T”7’゛’、−、、、。
Figure 11 is a block diagram explaining one embodiment of the present invention, k211! 1 is a flowchart explaining an embodiment of the present invention. In the figure, 1 is a file, 2 is a main storage unit, 3 is a program area, 4 is a management unit, 5 is a processing unit, 6 is a system console, and 7 is a control unit. 8 is a memory, 9 is a processing program (neuterity), 1θ is an interface section, and 11 is a control button. Agent: Hiroshi Matsuoka
T"7'゛', -,,,.

Claims (1)

【特許請求の範囲】[Claims] プログラムモジュールが格納されたファイルと、処理部
と、主記憶部と、入力部とを有し、該入力部からの指令
によりファイル内のプログラムモジュールを主記憶部に
ロードする処理システムにおいて、前記プログラムモジ
ュールのサイズデータが格納された第1の記憶部と、第
2の記憶部と、該第2の記憶部に前記プログラムモジュ
ール名及びアドレスデータを格納する手段と、該プログ
ラムモジュールが格納されるアドレスを前記サイズデー
タを基に算出する手段とを備え、前記入力部から前記プ
ログラムモジュール名が入力された際、該プログラムモ
ジュールに対応するサイズデータに基いて、前記アドレ
スを算出し、得られたアドレスデータを前記第2の記憶
部に格納せしめ、次いで前記入力部から前記指令が入力
されたとき、前記第2の記憶部の情報に基いて、前記フ
ァイル内のプログラムモジュールを前記主記憶部にロー
ドせしめることを特徴とする自動メモリマッピング方式
In a processing system that includes a file in which a program module is stored, a processing section, a main storage section, and an input section, the program module in the file is loaded into the main storage section according to a command from the input section. a first storage section storing module size data; a second storage section; means for storing the program module name and address data in the second storage section; and an address at which the program module is stored. and means for calculating the address based on the size data, when the program module name is input from the input section, calculating the address based on the size data corresponding to the program module, and calculating the obtained address. data is stored in the second storage section, and then, when the command is input from the input section, a program module in the file is loaded into the main storage section based on information in the second storage section. An automatic memory mapping method that is characterized by
JP2971885A 1985-02-18 1985-02-18 Automatic memory mapping system Pending JPS61216064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2971885A JPS61216064A (en) 1985-02-18 1985-02-18 Automatic memory mapping system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2971885A JPS61216064A (en) 1985-02-18 1985-02-18 Automatic memory mapping system

Publications (1)

Publication Number Publication Date
JPS61216064A true JPS61216064A (en) 1986-09-25

Family

ID=12283888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2971885A Pending JPS61216064A (en) 1985-02-18 1985-02-18 Automatic memory mapping system

Country Status (1)

Country Link
JP (1) JPS61216064A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6476326A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Output processing system for diagnosis message

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5789147A (en) * 1980-11-25 1982-06-03 Nec Corp Method for planting and controlling micro-program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5789147A (en) * 1980-11-25 1982-06-03 Nec Corp Method for planting and controlling micro-program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6476326A (en) * 1987-09-18 1989-03-22 Fujitsu Ltd Output processing system for diagnosis message

Similar Documents

Publication Publication Date Title
JPS61216064A (en) Automatic memory mapping system
JPS5856039A (en) Overlay control system for microprogram
JP3011751B2 (en) System startup method
JPS5854418A (en) Interruption processing system
JP3263987B2 (en) Automatic IPL initial setting processing method
JPS58168121A (en) Processing system of power failure restoration
JPS59178543A (en) Communication controlling device which can execute relative-address-formed program
JPH05120024A (en) System raising device
JP2989906B2 (en) JCL automatic generation method
JPH0785226B2 (en) Information processing equipment
JPH0651990A (en) System initial loading system of operating system in computer system
JPH02292640A (en) Memory dump extracting system
JPH0229833A (en) Maintenance diagnostic system
Pordes et al. Standard Software Routines for FASTBUS
JPS62204321A (en) Program restart system
JPS6048559A (en) Initial program loading processor
JPH0273447A (en) Log-on method for local cpu
JPH04148427A (en) Program patch system
JPS6091468A (en) Terminal equipment of information processor
JPH08235029A (en) Storage method for system fault information
JPH01295337A (en) Monitor routine control shift system
JPS5994288A (en) Automatic page size selecting system
JPS63201740A (en) Data editing system for service processor
JPS62257559A (en) Error processing system
JPH0520089A (en) Assembly system