JPH0378843A - Program control system using extension memory - Google Patents
Program control system using extension memoryInfo
- Publication number
- JPH0378843A JPH0378843A JP1216231A JP21623189A JPH0378843A JP H0378843 A JPH0378843 A JP H0378843A JP 1216231 A JP1216231 A JP 1216231A JP 21623189 A JP21623189 A JP 21623189A JP H0378843 A JPH0378843 A JP H0378843A
- Authority
- JP
- Japan
- Prior art keywords
- program
- memory
- application program
- extended memory
- control
- 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
Links
- 238000000034 method Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 3
- 101150097474 emm6 gene Proteins 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は拡張メモリ上で動作するプログラムの制御方
式に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for a program running on an extended memory.
第3図は例えば日経パイ)、1988年811月号。 Figure 3 is from Nikkei Pi), November 1988 issue.
157頁〜162頁、「第2部メモリ管理EMSで64
0にの壁を乗り越える」に記載されたパーソナル・コン
ピュータのプログラム制御方式における拡張メモリ、の
動作説明図である。同図において、1は例えば0〜IM
バイトの主記憶空間を有する主記憶、2は例えば最大3
2Mバイトの拡張メモリ、3は主記憶1内のアドレスが
拡張メモリ2上に割り付けられるページフレームである
。このページフレーム3は論理ページをアクセスするた
めのウィンドウとして取られ、通常4ペ一ジ分(16に
バイトス4ページ−64にバイト)あり、640に超〜
IMバイトの範囲の主記憶1空間のどこかに取られる。Pages 157-162, “64 in Part 2 Memory Management EMS”
FIG. 2 is an explanatory diagram of the operation of an extended memory in the program control method of a personal computer described in ``Overcoming the Wall of 0''. In the figure, 1 is, for example, 0 to IM
Main memory with main memory space of bytes, 2 for example up to 3
A 2 Mbyte extended memory 3 is a page frame in which an address in the main memory 1 is allocated on the extended memory 2. This page frame 3 is taken as a window for accessing logical pages, and usually has one page of 4 pages (4 bytes on page 16 - bytes on 64), and has more than 640 pages.
It is taken somewhere in main memory 1 space within the range of IM bytes.
4はページフレーム3を構成し、先頭から順に0.1.
2.3の物理ページ番号が付けである物理ページ、5は
拡張メモリ2を分割構成する論理ページで、各々が連続
した領域の16にバイトで構成されている。10は物理
ページ4と論理ページ5を対応付ける物理ページマツプ
、11は各アプリケーション・プログラムが所有する論
環ページを管理する論理ページマツプ、6は拡張メモリ
2に関する管理を行なう拡張メモリ・マネジャ(Exp
anded Memory Manager ;以下
−EMMと略称する。)である。4 constitutes page frame 3, and 0.1 .
Physical pages 2.3 and 5 are logical pages that divide the extended memory 2, each consisting of 16 bytes in a continuous area. 10 is a physical page map that associates the physical page 4 with the logical page 5; 11 is a logical page map that manages the logical pages owned by each application program; and 6 is an extended memory manager (Exp) that manages the extended memory 2.
anded Memory Manager; hereinafter abbreviated as -EMM. ).
次に動作について説明する。拡張メモリ2を使用するア
プリケーション・プログラムは必要な論理ページ数をE
MM6へ要求する。EMM6は拡張メモリ2内から未使
用の論理ページ5を検索し、要求論理ページ数分獲得で
きたならば論理ページマツプ11へ獲得した各論理ペー
ジ5を登録した後、そのEMMハンドル番号をアプリケ
ーション・プログラムに通知し、また、要求論理ページ
数分獲得できなかった場合には、獲得失敗をアプリケー
ション・プログラムへ通知する。次いで、アプリケーシ
ョン・プログラムはEMMハンドル番号を指定してペー
ジフレーム3内の物理ページ4と前記の論理ページ5の
対応付けをEMM6に要求する。これにより、EMM6
は物理ページマツプ10へその対応関係を登録し、物理
ページアドレスを論理ページアドレスへ設定する。こう
して、各アプリケーション・プログラムはEMM6への
前記要求を行なうことにより、自己のデータやサブルー
チンを拡張メモリ2上へ設定する事が可能となる。Next, the operation will be explained. An application program that uses expanded memory 2 needs E
Request to MM6. The EMM 6 searches for unused logical pages 5 in the extended memory 2, and if the requested logical pages are acquired, registers each acquired logical page 5 in the logical page map 11, and then sends the EMM handle number to the application. If the number of requested logical pages cannot be acquired, the acquisition failure is notified to the application program. Next, the application program requests the EMM 6 to associate the physical page 4 in the page frame 3 with the logical page 5 by specifying the EMM handle number. This allows EMM6
registers the correspondence in the physical page map 10 and sets the physical page address to the logical page address. In this way, each application program can set its own data and subroutines on the extended memory 2 by making the above-mentioned request to the EMM 6.
従来の拡張メモリを用いたプログラム制御方式は以上の
ようなので、EMM6への要求をアプリケーション・プ
ログラムにより自ら行なわなければならず、また、拡張
メモリ2上にアプリケーション・スタックを設定する事
ができないためにアプリケージジン・プログラム全体を
拡張メモリ2へ設定する事が出来ないなどの課題があっ
た。As described above, the conventional program control method using extended memory requires the application program to make requests to the EMM 6 by itself, and also because the application stack cannot be set on the extended memory 2. There were problems such as the inability to set the entire application program to the extended memory 2.
この発明は上記のような課題を解決するためになされた
もので、スタックを含めたアプリケーション・プログラ
ム全体を拡張メモリ上に置き、複数のアプリケーション
・プログラムが拡張メモリ上で平行動作を行なえるよう
にした拡張メモリを用いたプログラム制御方式を得る事
を目的とする。This invention was made to solve the above-mentioned problems, and it is possible to place the entire application program including the stack on extended memory so that multiple application programs can operate in parallel on the extended memory. The purpose of this study is to obtain a program control method using extended memory.
この発明に係る拡張メモリを用いたプログラム制御方式
は、拡張メモリの制御を行なう拡張メモリ管理プログラ
ム手段と、拡張メモリ上のアプリケーション・プログラ
ムの実行を制御するプログラム管理モニタ手段を備え、
アプリケーション・プログラムに制御を移す時にプログ
ラム管理モニタ手段が主記憶と拡張メモリとの対応付け
を拡張メモリ管理プログラム手段に要求するようにした
ものである。A program control method using an extended memory according to the present invention includes an extended memory management program means for controlling the extended memory, and a program management monitor means for controlling the execution of an application program on the extended memory,
When transferring control to an application program, the program management monitor means requests the extended memory management program means to associate the main memory with the extended memory.
この発明におけるプログラム管理モニタ手段は、アプリ
ケーション・プログラムの実行を管理し、主記憶のペー
ジフレーム内の各物理ページを、次に動作させるアプリ
ケーション・プログラムが存在する拡張メモリ中の論理
ページに対応付けるように拡張メモリ管理プログラム手
段に要求する。The program management monitor means according to the present invention manages the execution of the application program and associates each physical page in the page frame of the main memory with the logical page in the extended memory in which the application program to be executed next exists. requests to the extended memory management program means.
以下、この発明の一実施例を図について説明する。第1
図において、第3図の従来例と同一、又は相当部分には
同符号1〜6を付し、その説明を省略する。各アプリケ
ーション・プログラムは、ページフレーム3の物理ペー
ジ数以下の論理ページ数から構成され、拡張メモリ2上
に置かれている。7は各アプリケーション・プログラム
の実行を管理し、物理ページ4と論理ページ5との対応
付けをEMM6へ依−1するプログラム管理モニタ、8
は主記憶1上に置かれたプログラム管理モニタ7が各ア
プリケーション・プログラムの管理に用いるためのプロ
グラム管理テーブル、9は主記憶1上に存在する割込み
ルーチンである。An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, the same or equivalent parts as in the conventional example shown in FIG. 3 are given the same reference numerals 1 to 6, and their explanation will be omitted. Each application program is composed of a number of logical pages that is less than the number of physical pages of the page frame 3, and is placed on the extended memory 2. 7 is a program management monitor that manages the execution of each application program and relies on the EMM 6 for the correspondence between the physical page 4 and the logical page 5;
is a program management table used by the program management monitor 7 placed in the main memory 1 to manage each application program; 9 is an interrupt routine existing in the main memory 1;
なお、プログラム管理モニタ7は、拡張メモリ2上の各
アプリケーション・プログラムを管理するためのプログ
ラム管理テーブル8を保持し、各アプリケージ日ソ・プ
ログラムの実行・停止を管理する。プログラム管理テー
ブル8には、各アプリケーション・プログラムが実行可
能かどうかを示す状態フラグ8aと、アプリケーション
・プログラムの実行を中断した時の各レジスタ値を保持
するコンテキスト8bと、各アプリケーション・プログ
ラムに対応するEMMハンドル番号8cと、各アプリケ
ーション・プログラムの所有する論理ページ数8dが記
載されている。The program management monitor 7 maintains a program management table 8 for managing each application program on the extended memory 2, and manages execution and termination of each application program. The program management table 8 includes a status flag 8a that indicates whether each application program is executable, a context 8b that holds each register value when execution of the application program is interrupted, and a context flag 8b that corresponds to each application program. An EMM handle number 8c and the number of logical pages 8d owned by each application program are listed.
第2図にプログラム管理モニタ7でアプリケーション・
プログラムの実行を切換えるディスパッチャ部分のフロ
ーチャートを示す。以下、主に第2図に従って本実施例
の動作について説明する。Figure 2 shows the application information on the program management monitor 7.
A flowchart of a dispatcher portion that switches program execution is shown. The operation of this embodiment will be described below mainly with reference to FIG.
まず(alでは、プログラム管理テーブル8内の状態フ
ラグ8aを検索し、次に実行させるアプリケーション・
プログラムを調べる。次に(blでは、前記プログラム
管理テーブル8内のEMMハンドル番号8cを指定し、
前記プログラム管理テーブル8内の論理ページ数8dだ
け、物理ページ4と論理ページ5の対応付けをEMM6
に対して要求する。First (al), search the status flag 8a in the program management table 8, and then select the application to be executed.
Examine the program. Next (in bl, specify the EMM handle number 8c in the program management table 8,
The EMM 6 associates physical pages 4 and logical pages 5 by the number of logical pages 8d in the program management table 8.
to request.
ここで、拡張メモリ2上にプログラム・スタックが存在
する事を考慮し、その物理ページと論理ページ間には、
物理ページ数≧前記論理ページ数なる関係が存在する。Considering that the program stack exists on extended memory 2, the space between the physical page and logical page is as follows:
A relationship exists where the number of physical pages≧the number of logical pages.
次に(C1にて、前記プログラム管理テーブル8内のコ
ンテキスト8bをリストアレ1次の(dlにて、アプリ
ケーション・プログラムに制御を移す、また、本方式に
おいては、割込みによるプログラムの実行切換えを考慮
し、割込みルーチンは主記憶1上に存在する。Next, in (C1), the context 8b in the program management table 8 is restored, and in (dl), control is transferred to the application program. However, the interrupt routine exists on the main memory 1.
以上のように、この発明によれば拡張メモリの制御を行
なう拡張メモリ管理プログラム手段に対する要求をプロ
グラム管理モニタ手段で一元管理とし、各アプリケーシ
ョン・プログラム全体を拡張メ1モリ上に置くように構
成したので、各アプリケーション・プログラムを平行に
動作させる事が可能になる効果がある。As described above, according to the present invention, requests to the extended memory management program means for controlling the extended memory are centrally managed by the program management monitor means, and each application program is configured to be placed entirely on one extended memory. Therefore, it is possible to run each application program in parallel.
第1図はこの発明の一実施例による拡張メモリを用いた
プログラム制御方式の動作原理図、第2図は前記一実施
例によるアプリケーション・プログラムの切換えを示す
フローチャート、第3図は従来例による制御方式の動作
原理図である。
図中、1・・・主記憶、2・・・拡張メモリ、3・・・
ページフレーム、4・・・物理ページ、5・・・論理ペ
ージ、6・・・EMM、?・・・プログラム管理モニタ
、8・・・プログラム管理テーブル。
なお、図中同一符号は同一、又は相当部分を示す。
第2図FIG. 1 is a diagram of the operating principle of a program control method using expanded memory according to an embodiment of the present invention, FIG. 2 is a flowchart showing application program switching according to the embodiment, and FIG. 3 is a control according to a conventional example. It is a diagram of the operating principle of the system. In the figure, 1...main memory, 2...extended memory, 3...
Page frame, 4...Physical page, 5...Logical page, 6...EMM,? ...Program management monitor, 8...Program management table. Note that the same reference numerals in the figures indicate the same or equivalent parts. Figure 2
Claims (1)
て、拡張メモリと、該拡張メモリの制御を行なう拡張メ
モリ管理プログラム手段と、前記拡張メモリ上の各アプ
リケーション・プログラムの実行を制御するプログラム
管理モニタ手段を備え、アプリケーション・プログラム
に制御を移す時に前記プログラム管理モニタ手段が、主
記憶と当該アプリケーション・プログラムが存在する前
記拡張メモリとの対応付けを前記拡張メモリ管理プログ
ラム手段に要求する事を特徴とする拡張メモリを用いた
プログラム制御方式。A program control system for a personal computer includes an extended memory, an extended memory management program means for controlling the extended memory, and a program management monitor means for controlling execution of each application program on the extended memory. The extended memory is characterized in that, when transferring control to a program, the program management monitor means requests the extended memory management program means to associate a main memory with the extended memory in which the application program exists. Program control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1216231A JPH0378843A (en) | 1989-08-23 | 1989-08-23 | Program control system using extension memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1216231A JPH0378843A (en) | 1989-08-23 | 1989-08-23 | Program control system using extension memory |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0378843A true JPH0378843A (en) | 1991-04-04 |
Family
ID=16685333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1216231A Pending JPH0378843A (en) | 1989-08-23 | 1989-08-23 | Program control system using extension memory |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0378843A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007092370A (en) * | 2005-09-28 | 2007-04-12 | Fujita Corp | Aseismatic reinforcing construction method of reinforced concrete existing building |
-
1989
- 1989-08-23 JP JP1216231A patent/JPH0378843A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007092370A (en) * | 2005-09-28 | 2007-04-12 | Fujita Corp | Aseismatic reinforcing construction method of reinforced concrete existing building |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5239647A (en) | Data storage hierarchy with shared storage level | |
US5842226A (en) | Virtual memory management for a microkernel system with multiple operating systems | |
US6714980B1 (en) | Backup and restore of data associated with a host in a dynamically changing virtual server farm without involvement of a server that uses an associated storage device | |
US20040083202A1 (en) | Techniques to control recalls in storage management applications | |
US7020760B2 (en) | Hybrid logical block virtualization system for a storage area network | |
JP2005056077A (en) | Database control method | |
JPH06110715A (en) | Dynamic allocating method for computer resources in virtual computer system | |
JPH01144152A (en) | Control of data processing system | |
JPH0378843A (en) | Program control system using extension memory | |
US5642507A (en) | Apparatus for collecting control data of a virtual machine and method of thereof | |
US5784701A (en) | Method and system for dynamically changing the size of a hardware system area | |
US6282672B1 (en) | System for simultaneously executing any one of plurality of applications that must be executed using static data not modified by another computer program | |
JPH06110717A (en) | Complex computer system | |
JPS62163154A (en) | Virtual logic volume system | |
JPH0417057A (en) | Job scheduling system for composite type system | |
JPS6327936A (en) | File management method | |
JPH08202602A (en) | File backup method | |
JP2968756B2 (en) | Internal resource matching method and apparatus in multiprocessor system | |
JPH0397029A (en) | On-line system start-up processing system | |
JPH0563824B2 (en) | ||
JPH02197948A (en) | File transfer system | |
JPS63149741A (en) | Descriptor table control system | |
JPH0696041A (en) | High-reliability decentralized processing system | |
JPH06266603A (en) | Object directing data base management system | |
JPH0922363A (en) | Task constituting system |