JPS63288327A - Module table control system by input/output routine - Google Patents

Module table control system by input/output routine

Info

Publication number
JPS63288327A
JPS63288327A JP62124794A JP12479487A JPS63288327A JP S63288327 A JPS63288327 A JP S63288327A JP 62124794 A JP62124794 A JP 62124794A JP 12479487 A JP12479487 A JP 12479487A JP S63288327 A JPS63288327 A JP S63288327A
Authority
JP
Japan
Prior art keywords
memory
module
input
module table
output routine
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
JP62124794A
Other languages
Japanese (ja)
Inventor
Keisuke Okamoto
岡本 恵輔
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP62124794A priority Critical patent/JPS63288327A/en
Publication of JPS63288327A publication Critical patent/JPS63288327A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To facilitate a program generating work by updating and registering a memory size and a memory address of a module table by using an input/ output routine. CONSTITUTION:When a request is outputted from a user program 10, processings of registration (MDOPEN), write (MDPUT), and read-out (MDGET) of a module name to a memory corresponding to the contents of the request are executed by a memory file input/output routine 20. As for the processings by the routine 20 and a real file input/output routine 30, the contents of the memory are read out by an instruction of MDGET, and write is executed by a WRITE instruction corresponding to an MT 5, a floppy disk FD 6, and a hard disk HD 7. Subsequently, modules which have been stored in the MT 5, the FD 6 and the HD 7 are read out by the routine 20 and registered in the memory, and thereafter, answered to a user program.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入出力ルーチンによるモジュールテーブル制御
方式に関し、特にプログラム作成ならびにデバッグ作業
時におけるモジュールの効率的管理のために入出力ルー
チンを使用した、入出力ルーチンによるモジュールテー
ブル制御方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a module table control method using input/output routines, and in particular, a method using input/output routines for efficient management of modules during program creation and debugging. Concerning module table control method using input/output routines.

〔従来の技術〕[Conventional technology]

従来、この種のモジュールテーブル制御方式は、会話形
式で第5図に示すようなモジュールテーブル設定画面に
従ってキーボードからモジュール名、メモリサイズ、格
納メモリアドレス等を手作業入力しモジュールテーブル
に制定するのが一般的な方法となっている。
Conventionally, this type of module table control method involves manually inputting the module name, memory size, storage memory address, etc. from the keyboard in an interactive manner according to the module table setting screen shown in Figure 5, and establishing it in the module table. This is a common method.

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

上述した従来のキーボード入力によるモジュールテーブ
ル制御は、会話形式でメモリに設定する際にメモリ管理
図を使用してメモリサイズとメモリアドレスを決定して
いる。従って、モジュールが多数の場合にはモジュール
テーブル作成に時間がかかり、メモリサイズとメモリア
ドレスの設定誤りを生じやすいという欠点がある。
The above-described conventional module table control using keyboard input uses a memory management chart to determine the memory size and memory address when setting the memory in an interactive manner. Therefore, when there are a large number of modules, it takes time to create a module table, and there are disadvantages in that setting errors in memory size and memory address are likely to occur.

また、上述したメモリサイズとメモリアドレスの設定誤
りにより、メモリが小さい時はこれがメモリライトエラ
ーとなり、また、メモリサイズが大きいとメモリの効率
的な活用ができない、さらに、格納メモリアドレス誤り
により他のモジュール破壊を生じ、モジュール名の設定
誤りまたは未−設定の時に入出力ルーチンによりモジュ
ールをアクセスするとアクセスエラーとなり再度モジュ
ールテーブル設定作業を行なう必要があるといったさま
ざまな欠点がある。
In addition, due to the above-mentioned error in setting the memory size and memory address, if the memory is small, this will result in a memory write error, and if the memory size is large, the memory cannot be used efficiently.Furthermore, the error in the storage memory address may cause other errors. There are various drawbacks such as the module being destroyed, and if the module is accessed by an input/output routine when the module name is incorrectly set or unset, an access error occurs and it is necessary to set the module table again.

本発明の目的は従来の欠点を除去し、モジュールテーブ
ル設定作業を排除してプログラム作成、デパック作業を
著しく容易に行なうことができる入出力ルーチンによる
モジュールテーブル制御方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a module table control method using an input/output routine that eliminates the conventional drawbacks, eliminates module table setting work, and greatly facilitates program creation and depacking work.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の方式は、モジュールテーブルの制御方式におい
て、入出力ルーチンを使用してモジュールテーブルにモ
ジュール名およびメモリサイズならびにメモリアドレス
を登録および更新するとともにモジュールテーブルをサ
ーチすることによりメモリサイズならびにメモリアドレ
スの決定を可能とする手段を備えて構成される。
In the module table control method, the method of the present invention registers and updates the module name, memory size, and memory address in the module table using an input/output routine, and also registers and updates the memory size and memory address by searching the module table. The system is configured with means that enable the decision to be made.

〔実施例〕〔Example〕

次に図面を参照して本発明の詳細な説明する。 Next, the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例のブロック図であり、また第
2図は第1図の実施例の動作を示すフローチャートであ
る。以下、第2図のフローチャートを参照しながら第1
図の実施例の説明を行なう。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the embodiment of FIG. Below, while referring to the flowchart in Figure 2,
The embodiment shown in the figure will be explained.

本方式の構成としては1、中央処理袋[1、メモリ2、
キーボード3、ディスプレイ4のコンピュータ処理シス
テムのほかMT (Magne t 1cTape)5
、フロッピーディスク6およびハードディスク7等を備
えて構成される。いま、ユーザープログラムによりMT
5、フロッピーディスク6あるいはハードディスク7が
らメモリ2のファイルへのメモリ書込みの要求が発生す
ると、第2図に示す入出力ルーチンの受信(ステップ1
)を利用してモジュール名の決定(ステップ2)ができ
、その後はユーザプログラムの要求内容にもとづいて、
MDOPEN、MDPUT、MDGETのいずれかに対
応した処理フローが展開される。ここに、MDはメモリ
2.0PENはメモリ2に対する名前の割付けすなわち
登録、PUTはメモリ2への書込み、GETは読出しを
示し、またCLO3Eは完了処理をそれぞれあられす。
The configuration of this system is 1, central processing bag [1, memory 2,
In addition to the computer processing system of keyboard 3 and display 4, MT (Magnetic Tape) 5
, a floppy disk 6, a hard disk 7, etc. Now, the MT is set by the user program.
5. When a request for memory writing to a file in the memory 2 from the floppy disk 6 or hard disk 7 occurs, the input/output routine shown in FIG. 2 is received (step 1).
) can be used to determine the module name (step 2), and then based on the requirements of the user program,
A processing flow corresponding to one of MDOPEN, MDPUT, and MDGET is developed. Here, MD indicates memory 2.0, PEN indicates assignment or registration of a name to memory 2, PUT indicates writing to memory 2, GET indicates reading, and CLO3E indicates completion processing.

第3図は実ファイルおよびメモリファイルの入出力ルー
チン説明図である。
FIG. 3 is an explanatory diagram of the input/output routine for real files and memory files.

ユーザプログラム10から要求が出されると、メモリフ
ァイル入出力ルーチン20によって、要求内容に応じメ
モリ2に対するモジュール名の登録(MDOPEN) 
、書込み(MDPUT) 、、読出しくMDGET)の
書りフローのいずれかが実行されることとなる。ユーザ
プログラム10の要求に応答するためにメモリファイル
入出力ルーチン20および実フアイル入出力ルーチン3
0による処理は、MDGETの命令−でメモリ2の内容
が読出され、実ファイルのいずれか、たとえばMT5に
対して実フアイル入出力ルーチンでMTWRITEの命
令で書込まれる。第3図のMTはMT5、FDはフロッ
ピーディスク6、HDはハードディスク7をそれぞれ示
す、 ” さて、これらMT、FD、HDに格納されたモジュール
は次にメモリファイル入出力ルーチン20によって読出
されメモリ2に登録されたうえ、ユーザプログラムに応
答される。
When a request is issued from the user program 10, the memory file input/output routine 20 registers a module name in the memory 2 (MDOPEN) according to the request contents.
, write (MDPUT), or read (MDGET) will be executed. A memory file input/output routine 20 and a real file input/output routine 3 are executed to respond to requests from the user program 10.
In the processing by 0, the contents of the memory 2 are read by the MDGET command and written to any of the real files, for example MT5, by the MTWRITE command in the real file input/output routine. In FIG. 3, MT is the MT5, FD is the floppy disk 6, and HD is the hard disk 7.''Now, the modules stored in these MT, FD, and HD are then read out by the memory file input/output routine 20 and stored in the memory 2. It is registered in , and is responded to by the user program.

第2図において、ステップ2のあと、ユーザプログラム
の要求がMDOPENのときは新期登録であり、モジュ
ールテーブルをサーチしモジュール登録済か(ステップ
3)の判定を行ない、N。
In FIG. 2, after step 2, if the user program request is MDOPEN, it is a new registration, and the module table is searched to determine whether the module has been registered (step 3).

で新期のときは第4図によりモジュールテーブルチェイ
ン作成(ステップ4)を行ない、モジュールテーブルに
対しモジュール名・メモリアドレスの設定(ステップ5
)を行なう、モジュール登録済か(ステップ3)の判定
がYESのときは終了となる。
If it is a new term, create a module table chain (step 4) according to Figure 4, and set the module name and memory address for the module table (step 5).
), and if the determination as to whether the module has been registered (step 3) is YES, the process ends.

第4図はモジュールテーブルチェイン構成図である。第
4図では例として3個のモジュールテーブルの場合を示
している。第4図のモジュールテーブルはヘッド(HE
AD)アドレス、テール(TAIL)アドレス、モジュ
ール名、メモリサイズおよびメモリアドレスを含んで構
成され、実線矢印はこれらモジュールテーブルにわたっ
て形成されるアドレスチェインの順方向接続、点線矢印
は逆方向接続を示す。たとえばモジュールテーブルとし
て15ワード構成のアドレスを用意し、モジュールテー
ブル40〜60のそれぞれに対しヘッドアドレスからメ
モリアドレスまで@〜■、■〜■、[相]〜[相]のワ
ードを上位から下位に進むように第4図の如く設定した
とする。矢印の意味するところは順方向ではモジュール
テーブル40のヘッドアドレスΦの末尾がモジュールテ
ーブル50のヘッドアドレスの先頭と接続するというよ
うにアドレス関で接続して行き、チェイン構造を形成す
ることを示す。
FIG. 4 is a block diagram of the module table chain. FIG. 4 shows a case of three module tables as an example. The module table in Figure 4 is the head (HE)
AD) address, tail (TAIL) address, module name, memory size, and memory address, solid line arrows indicate forward connections of address chains formed across these module tables, and dotted line arrows indicate reverse connections. For example, prepare an address consisting of 15 words as a module table, and for each of module tables 40 to 60, from the head address to the memory address, write the words @~■, ■~■, [phase]~[phase] from upper to lower. Assume that the settings are made to proceed as shown in FIG. The arrows indicate that in the forward direction, the end of the head address Φ of the module table 40 is connected to the beginning of the head address of the module table 50, and the addresses are connected to form a chain structure.

ふたたび第2図に戻って実施例の説明を続行する。Returning again to FIG. 2, the description of the embodiment will be continued.

メモリファイルにモジュールを書込みときは、第2図の
MDPUTの処理フローに示す如く、モジュールテーブ
ルからメモリアドレスの決定(ステップ6)を行ない、
メモリライト(ステップ7)で書込み処理し、これが終
了してメモリサイズの決定(ステップ8)が行なわれ、
モジュール−テーブルの更新(ステップ11)となり終
了する。つまり、この処理フローはモジュールテーブル
の更新を要求する場合である。
When writing a module to a memory file, the memory address is determined from the module table (step 6) as shown in the MDPUT processing flow in FIG.
Write processing is performed in memory write (step 7), and after this is completed, the memory size is determined (step 8).
The module table is updated (step 11) and the process ends. In other words, this processing flow is for requesting update of the module table.

MDGETのときは、モジュールテーブルからメモリア
ドレスの決定(ステップ9)を行ない、メモリリード(
ステップ10)で読出しを実行する。
For MDGET, the memory address is determined from the module table (step 9) and the memory read (
Reading is performed in step 10).

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

以上説明したように本発明は、モジュールの格納メモリ
アドレス、メモリサイズを意識することなく入出力ルー
チンによってモジュールの登録、更新する手段を備える
ことにより、メモリの有効利用が図れるうえにモジュー
ルの破壊が排除できメモリ管理が著しく容易となり、従
ってプログラムの作成、デバッグも著しく簡単にできる
という効果がある。
As explained above, the present invention provides a means for registering and updating modules through input/output routines without being aware of module storage memory addresses and memory sizes, thereby making it possible to effectively utilize memory and prevent module destruction. This has the effect of making memory management much easier, and thus making program creation and debugging much easier.

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

第1図は本発明の一実施例のブロック図であり、また第
2図は第1図の実施例の動作を示すフローチャート、第
3図は実ファイルおよびメモリファイルの入出力ルーチ
ン説明図、第4図はモジュールテーブルチェイン構成図
、第5図は従来のモジュールテーブル設定画面図である
。 1・・・中央処理装置、2・・・メモリ、3・・・キー
ボード、4・・・ディスプレイ、5・・・MT、6・・
・フロッピーディスク、7・・・ハードディスク、10
・・・ユーザプログラム、20・・・メモリファイル入
出力ルーチン、30・・・実フアイル入出力ルーチン、
40〜60・・・モジュールテーブル。 代理人 弁理士  内 原  晋 4−;。 (、。 茅 /I!1 (α)モジュール石の設定  () (b) メモリ ザAスー/7 審に走   ()(C
)  イ各千内メモリアkLX/lんυし    C)
(d)リターン グ I 聞 $3rgJ 第 4 文
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the embodiment of FIG. FIG. 4 is a module table chain configuration diagram, and FIG. 5 is a conventional module table setting screen diagram. 1...Central processing unit, 2...Memory, 3...Keyboard, 4...Display, 5...MT, 6...
・Floppy disk, 7...Hard disk, 10
...User program, 20.Memory file input/output routine, 30.Actual file input/output routine,
40-60...Module table. Agent: Susumu Uchihara, Patent Attorney 4-;. (,. Kaya /I!1 (α) Setting the module stone () (b) Memory the A Sue / 7 Run to the judge () (C
) Each Senuchi Memoria kLX/lnυshi C)
(d) Returning I 弄3rgJ 4th sentence

Claims (1)

【特許請求の範囲】[Claims] モジュールテーブルの制御方式において、入出力ルーチ
ンを使用してモジュールテーブルにモジュール名および
メモリサイズならびにメモリアドレスを登録および更新
するとともにモジュールテーブルをサーチすることによ
りメモリサイズならびにメモリアドレスの決定を可能と
することを特徴とする入出力ルーチンによるモジュール
テーブル制御方式。
In a module table control method, the module name, memory size, and memory address are registered and updated in the module table using an input/output routine, and the memory size and memory address can be determined by searching the module table. A module table control method using input/output routines featuring:
JP62124794A 1987-05-20 1987-05-20 Module table control system by input/output routine Pending JPS63288327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62124794A JPS63288327A (en) 1987-05-20 1987-05-20 Module table control system by input/output routine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62124794A JPS63288327A (en) 1987-05-20 1987-05-20 Module table control system by input/output routine

Publications (1)

Publication Number Publication Date
JPS63288327A true JPS63288327A (en) 1988-11-25

Family

ID=14894286

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62124794A Pending JPS63288327A (en) 1987-05-20 1987-05-20 Module table control system by input/output routine

Country Status (1)

Country Link
JP (1) JPS63288327A (en)

Similar Documents

Publication Publication Date Title
US6341308B1 (en) Input/output device information management system for multi-computer system
GB2268292A (en) Error handling in a state-free system
JPS63288327A (en) Module table control system by input/output routine
JPS6312300B2 (en)
JP3130798B2 (en) Bus transfer device
JPS6359639A (en) System for controlling compatibility of file access
JPH0256666A (en) System for dynamically updating job network unitary control system generating information
KR100352500B1 (en) Method for automation of form controls generation
JPH02250166A (en) Information processor
JP3085309B2 (en) Debug system
JPH03255547A (en) Memory dump output system
JP2658097B2 (en) Secondary file creation method
JP2569899B2 (en) Distributed data editing method
JP2507399B2 (en) Database equipment
JP2001142772A (en) Management method by memory name, copying method, medium for recording management program by memory name and medium for recording copying program
JPH0498529A (en) Back-up system for preparation of program
JPS62290960A (en) Document editing device
JPH01188938A (en) Collective batch processing system
JPH0336670A (en) Write processing system for cell in copy processing
JPH023840A (en) Linkage editor of exchange system
JPH01158535A (en) Part adding system for object program
JPH038062A (en) Document converting device
JPH0217816B2 (en)
JPH0476744A (en) Computer system with shared memory table recovering function
JP2004013483A (en) Information processing method and control method thereof