JPH0221328A - Purpose-based system forming method - Google Patents

Purpose-based system forming method

Info

Publication number
JPH0221328A
JPH0221328A JP17091688A JP17091688A JPH0221328A JP H0221328 A JPH0221328 A JP H0221328A JP 17091688 A JP17091688 A JP 17091688A JP 17091688 A JP17091688 A JP 17091688A JP H0221328 A JPH0221328 A JP H0221328A
Authority
JP
Japan
Prior art keywords
area
contents
routines
flag
flags
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
JP17091688A
Other languages
Japanese (ja)
Inventor
Takeshi Yamamoto
剛 山本
Naoki Sakurai
直樹 櫻井
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 JP17091688A priority Critical patent/JPH0221328A/en
Publication of JPH0221328A publication Critical patent/JPH0221328A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the effective use of a memory by deleting the routines of unnecessary system calls in accordance with each purpose of application and taking out only necessary parts for acquisition of a new system. CONSTITUTION:A process 7 is carried out to update the contents of a flag storing area 6 when a job is through with a system. Thus the flags corresponding to the interruption processing routines 2 so far used in the area 6 are set at 1 together with the flags corresponding the unused routines 2 set at 0 respectively. Thus the used and unused routines 2 can be known from the contents of the area 6 storing such flags. Then a new system disk (B drive) 9 is produced from the present system disk (A drive) 8 based on the contents of the area 6 and the process 7 where the unused routines 2 are not copied but only the necessary parts are taken out for copying. In such a way, many disks 9 are obtained in accordance with each purpose of application.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータのシステムに係り、特にメモリの
有効利用の要望の高いパーソナルコンピュータのシステ
ムディスクにおいて、システムにより取られるメモリ容
量を減少させ、ユーザがメモリの有効活用を可能にする
に好適な目的別システム構築方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer system, and in particular, in the system disk of a personal computer where there is a high demand for effective use of memory, it is possible to reduce the memory capacity taken up by the system, and to The present invention relates to a method for constructing a purpose-specific system suitable for making effective use of memory.

〔従来の技術〕[Conventional technology]

従来のコンピュータのシステムは、新たな機能を追加し
てシステムを大型化することにより、システムの機能を
向上させる方向にあった。しかしその半面でシステムの
不要な部分を取り除くという技術はなく、目的に合わせ
てシステムを小型化するということもなされていなかっ
た。このためシステムの機能は向上するが、ユーザが利
用できるメモリ空間は減少して、メモリの有効利用とい
う点では十分ではなかった。
In conventional computer systems, the trend has been to improve the functionality of the system by adding new functions and increasing the size of the system. However, on the other hand, there was no technology to remove unnecessary parts of the system, nor was there any way to miniaturize the system to suit the purpose. Although this improves the functionality of the system, the memory space available to the user is reduced, and the effective use of memory is not sufficient.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、使用目的に合わせてシステムを構築す
る場合には、新たな機能をもたせるためにルーチンを追
加するという方法を導入しており、この使用目的に合わ
せた機能は充実するが、不要な部分をシステム内に含ん
だままなので5システムにより取られるメモリ容量が増
大するのみであった。つまりユーザー側から見ると、機
能の充実によって使用勝手は向上するが、システム内に
プログラムを追加しているために、ユーザが使用できる
メモリ容量は減少する一方であった。このようにメモリ
のユーザエリアについての配慮がされておらず、ユーザ
のメモリの有効利用という点については問題があった。
The above conventional technology introduces a method of adding routines to provide new functions when building a system according to the purpose of use, and although the functions tailored to the purpose of use are enriched, they are unnecessary. The memory capacity taken up by the 5 system only increased because such parts were still included in the system. In other words, from the user's perspective, the enhancement of functionality improves usability, but as more programs are added to the system, the amount of memory available to the user continues to decrease. As described above, no consideration was given to the user area of the memory, and there was a problem in terms of effective use of the user's memory.

本発明の目的は、コンピュータのシステム内の不必要な
ルーチンを取り除いて、ユーザが自分の使用目的に合わ
せたシステムを構築可能にする目的別システム構築方法
を提供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for constructing a system for a specific purpose, which eliminates unnecessary routines within a computer system and enables a user to construct a system suited to his/her purpose of use.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、各システムコールに対応したフラグを保持
するワークエリアと、そのワークエリアのフラグを格納
するエリアと、その格納されているフラグとワークエリ
アのフラグの論理和をとって格納されているフラグの内
容を更新するプログラムを設けるとともに、あるシステ
ムコールが使用された場合にそのシステムコールに対応
するワークエリアのフラグを立てるプログラムと、格納
されているフラグの内容をもとに対応するフラグが立っ
ていないシステムコール、つまり使用されていないシス
テムコールのルーチンを取り除き。
The above purpose is to create a work area that holds flags corresponding to each system call, an area that stores the flags of that work area, and a logical OR of the stored flags and the flags of the work area. In addition to providing a program that updates the contents of a flag, there is also a program that sets a flag for the work area that corresponds to a certain system call when that system call is used, and a program that sets a flag for the work area that corresponds to the system call when that system call is used. Eliminate dead system call routines, that is, unused system call routines.

必要な部分のみを新たなディスクにコピーするプログラ
ムを具備した目的別システム構築方法により達成される
This is achieved by a purpose-specific system construction method that includes a program that copies only the necessary parts to a new disk.

〔作用〕[Effect]

上記の目的別システム構築方法は、ユーザがある目的で
システムを使用している場合に、システムコールが使用
されたときに、フラグを保持するワークエリア内のその
システムコールに対応するフラグを1にし、そしてユー
ザが使用を終了する前に、フラグを保持するワークエリ
アの内容とフラグを格納するエリアの内容との論理和を
とり、その結果をフラグを格納するエリアに格納するこ
とによってフラグの内容を更新し、このようにして同じ
使用目的で何度か使用すれば不要なシステムコールが限
定されてそのフラグが0のままなので判別することがで
き、こうして得たフラグを格納するエリアの内容をもと
に不要なシステムコールに関するルーチンを取り除き、
システムの必要な部分のみを取り出して新たなシステム
を作成するので、このような動作を行なうプログラムと
エリアを備えていることにより、ユーザがそれぞれの使
用目的に合わせてシステムを構築して使用することかで
きる。
In the purpose-based system construction method described above, when a system call is used when a user is using the system for a certain purpose, the flag corresponding to that system call in the work area that holds flags is set to 1. , and before the user finishes using it, the contents of the flag are determined by ORing the contents of the work area that holds the flag with the contents of the area that stores the flag, and stores the result in the area that stores the flag. If you update and use it several times for the same purpose in this way, unnecessary system calls will be limited and the flag will remain 0, so you can determine the contents of the area that stores the flag obtained in this way. Removed routines related to unnecessary system calls,
Since a new system is created by extracting only the necessary parts of the system, by providing programs and areas that perform such operations, users can build and use the system according to their own purposes. I can do it.

〔実施例〕〔Example〕

以下に本発明の一実施例を第1図により説明する。 An embodiment of the present invention will be described below with reference to FIG.

第1図は本発明による目的別システム構築方法の一実施
例を示す概念図である。第1図において。
FIG. 1 is a conceptual diagram showing an embodiment of a method for constructing a purpose-specific system according to the present invention. In FIG.

MS−DOSにおける実施例を示し、1は割込みベクタ
ーテーブル、2は割込み処理ルーチン、3はフラグを立
てるルーチン、4は割込みベクターテーブル1の内容を
取り込んでその内容をフラグを立てるルーチン3のエン
トリポイントに書きかえる処理、5はフラグを保持する
ワークエリア、6はフラグを格納するエリア、7はフラ
グを格納するエリア6の内容を更新する処理、8は現在
のシステムディスク(Aドライブ)、9は新たなシステ
ムディスク(Bドライブ)、10は必要な部分のみを取
り出してコピーする処理である。
An example is shown in MS-DOS, where 1 is an interrupt vector table, 2 is an interrupt processing routine, 3 is a flag setting routine, and 4 is an entry point of routine 3 that takes the contents of interrupt vector table 1 and flags the contents. 5 is a work area that holds flags, 6 is an area that stores flags, 7 is a process that updates the contents of area 6 that stores flags, 8 is the current system disk (A drive), 9 is The new system disk (B drive) 10 is a process of extracting and copying only the necessary parts.

まずフラグを立てるルーチン3と1割込みベクターテー
ブル1の内容を取り込み、その内容をフラグを立てるル
ーチン3に数え、割込みベクターテーブル1の内容をフ
ラグを立てるルーチン3のエントリポイントに書きかえ
る処理4とを設けることにより、割込みベクターテーブ
ル1による飛び先がフラグを立てるルーチン3になり、
そこから割込みルーチン2へと飛ぶようになる。つぎに
フラグを立てるルーチン3により操作されるフラグを保
持するワークエリア5と、そのフラグを保持するワーク
エリア5の内容を格納するエリア6とを設け、さらにフ
ラグを保持するワークエリア5とフラグを格納するエリ
ア6の論理和をとり、フラグを格納するエリア6の内容
を更新する処理7を設けることにより、まずフラグを立
てるルーチン3の働きによって、その割込み処理ルーチ
ン2が使用された時に、フラグを保持するワークエリア
5内のその割込み処理ルーチン2に対応するフラグが1
にセットされ、そしてそのシステムによる仕事が終了し
た後に、フラグを格納するエリア6の内容を更新する処
理7を実行することによって、フラグを格納するエリア
6の今までに使用した割込み処理ルーチン2に対応する
フラグが1となり、未使用の割込みルーチン2に対応す
るフラグがOとなる。こうして得たフラグを格納するエ
リア6の内容によって、各別込み処理ルーチン2の使用
・未使用を知ることができる。つぎにこのフラグを格納
するエリア6の内容をもとに、現在のシステムディスク
(Aドライブ)8から新たなシステムディスク(Bドラ
イブ)9を作ることができ、これには未使用の割込み処
理ルーチン2をコピーせず、必要な部分のみを取り出し
てコピーする処理7を設けることによって実現できる。
First, a routine 3 that sets a flag and a process 4 that takes in the contents of the interrupt vector table 1, counts the contents as the routine 3 that sets a flag, and rewrites the contents of the interrupt vector table 1 as the entry point of the routine 3 that sets a flag. By providing this, the jump destination according to interrupt vector table 1 becomes routine 3, which sets a flag, and
From there, the program jumps to interrupt routine 2. Next, a work area 5 that holds the flag operated by the flag setting routine 3 and an area 6 that stores the contents of the work area 5 that holds the flag are provided. By providing a process 7 that calculates the logical sum of the storage area 6 and updates the contents of the flag storage area 6, the flag is first set when the interrupt processing routine 2 is used by the function of the flag setting routine 3. The flag corresponding to the interrupt processing routine 2 in the work area 5 that holds
is set, and after the work by the system is completed, by executing process 7 that updates the contents of area 6 that stores flags, the interrupt handling routine 2 that has been used so far in area 6 that stores flags is updated. The corresponding flag becomes 1, and the flag corresponding to the unused interrupt routine 2 becomes O. Based on the contents of the area 6 that stores the flags obtained in this way, it is possible to know whether each separate processing routine 2 is used or not. Next, based on the contents of the area 6 that stores this flag, a new system disk (B drive) 9 can be created from the current system disk (A drive) 8, and an unused interrupt processing routine This can be realized by providing a process 7 that extracts and copies only the necessary part without copying the part 2.

ここでシステムの使用目的を限定すると、使用される割
込み処理ルーチン2もほぼ決まってくるという点に注目
して、新たなシステムディスク9を作ることになる。し
たがってユーザーが自分の使用目的に合わせて幾つもの
システムディスク9を作成し、使用することができるわ
けである0本来のメーカーによって提供されるシステム
ディスクというものは、汎用性があって様々な仕事がで
きるようになっているが、仕事を限定した場合を考える
と、必要の内削込み処理ルーチンまでもっているために
、メモリを必要以上に多くとってしまうのに対して、ユ
ーザーが目的に合わせたシステムディスク9を作成すれ
ば、そのような不具合いもなくなる。よってコンピュー
タの利用分野における大きな課題の1つであるメモリの
有効利用という点において有利であると考えられる。
A new system disk 9 is created by noting that if the purpose of use of the system is limited, the interrupt processing routine 2 to be used is also almost determined. Therefore, users can create and use multiple system disks 9 according to their own purposes. System disks provided by original manufacturers are versatile and can be used for a variety of tasks. However, considering the case where the work is limited, it takes up more memory than necessary because it includes the necessary internal processing routine. If you create the system disk 9, such problems will disappear. Therefore, it is considered to be advantageous in terms of effective use of memory, which is one of the major issues in the field of computer use.

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

本発明によれば、コンピュータのシステムコールにおい
て、使用目的に合わせて不必要なシステムコールのルー
チンを取り除き、必要な部分のみを取り出して新たなシ
ステムを構築できるので、システムにより取られるメモ
リ領域を最小限におさえることができ、ユーザーがメモ
リを有効に活用できる効果がある。
According to the present invention, unnecessary system call routines can be removed according to the purpose of use in computer system calls, and a new system can be constructed by extracting only the necessary parts, thereby minimizing the memory area taken up by the system. This has the effect of allowing the user to utilize memory effectively.

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

第1図は本発明による目的別システム構築方法の一実施
例を示す概念図である。 1・・・割込みベクターテーブル、2・・・割込み処理
ルーチン、3・・・フラグを立てるルーチン、4・・・
割込みベクターテーブル1の内容を取り込んでその内容
をフラグを立てるルーチン3のエントリポイントに書き
かえる処理、5・・・フラグを保持するワークエリア、
6・・・フラグを格納するエリア、7・・・フラグを格
納するエリア6の内容を更新する処理、8・・・現在の
システムディスク(Aドライブ)、9・・・新たなシス
テムディスク(Bドライブ)、1゜・・・必要な部分の
みを取り出してコピーする処理。 畢 1 図 AドラAフ− Bドライフ゛
FIG. 1 is a conceptual diagram showing an embodiment of a method for constructing a purpose-specific system according to the present invention. 1...Interrupt vector table, 2...Interrupt processing routine, 3...Flag setting routine, 4...
A process of fetching the contents of the interrupt vector table 1 and rewriting the contents into the entry point of the routine 3 that sets a flag, 5... a work area for holding the flag,
6... Area for storing flags, 7... Process for updating the contents of area 6 for storing flags, 8... Current system disk (A drive), 9... New system disk (B drive), 1゜... Process of extracting and copying only the necessary parts.红 1 Figure A Dryer A Food B Dry Life

Claims (1)

【特許請求の範囲】[Claims] 1、コンピュータのシステムの使用目的により使用する
システムコールが限定されることに注目し、不要なシス
テムコールのルーチンを取り除いて目的に合わせたシス
テムを作るためのシステム構築方法であって、各システ
ムコールに対応するフラグを設け、システムの使用に際
して使用したシステムコールに対応するフラグを操作す
ることにより、その使用目的における必要なシステムコ
ールと不要なシステムコールの情報をたくわえ、その結
果によりその使用目的におけるそのシステムの必要な部
分のみを取り出して、その使用目的に合わせた新たなシ
ステムを構築し、メモリを有効に利用することを特徴と
する目的別システム構築方法。
1. A system construction method that focuses on the fact that the system calls to be used are limited depending on the purpose of use of a computer system, and removes unnecessary system call routines to create a system tailored to the purpose. By manipulating the flags corresponding to the system calls used when using the system, information on necessary and unnecessary system calls for the purpose of use can be stored, and the results can be used to determine the system calls for the purpose of use. A purpose-specific system construction method that is characterized by extracting only the necessary parts of the system, constructing a new system tailored to the purpose of use, and effectively utilizing memory.
JP17091688A 1988-07-11 1988-07-11 Purpose-based system forming method Pending JPH0221328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17091688A JPH0221328A (en) 1988-07-11 1988-07-11 Purpose-based system forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17091688A JPH0221328A (en) 1988-07-11 1988-07-11 Purpose-based system forming method

Publications (1)

Publication Number Publication Date
JPH0221328A true JPH0221328A (en) 1990-01-24

Family

ID=15913723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17091688A Pending JPH0221328A (en) 1988-07-11 1988-07-11 Purpose-based system forming method

Country Status (1)

Country Link
JP (1) JPH0221328A (en)

Similar Documents

Publication Publication Date Title
JPH0221328A (en) Purpose-based system forming method
JPH02257224A (en) Linkage edition processor
JPS62154145A (en) Processing system for dynamic extension supervisor call interruption
JPH02173828A (en) Interruption process system
JPS633338A (en) Pipeline register
JPS63155338A (en) Control system for record of program executing history
JP2000242524A (en) Software simulator for processor
JPH0228857A (en) Electronic computer
JPH0418043Y2 (en)
JPS6254334A (en) Portable computer
JPH0353319A (en) Dynamic function loading/unloading type program editing system
JPS60214039A (en) Data processor
JPS54159835A (en) Multiple transfer instructing system
JP2003108390A (en) Rtos turning task argument into substitute of auto variable
JPH07262004A (en) Processor
JPH0477840A (en) Collection system for fault analysis system
JPH03246633A (en) Memory management system for interpreter type language processing processor
JPH0883188A (en) Multitask processing computer
JPH07306784A (en) Register management device
JPH05334249A (en) Nesting management system for catalog in interactive processing system
JPS608943A (en) Multi-branch controlling system
JPH04107605A (en) Control program language processor
JPS6027032A (en) Program starting method
JPS59119459A (en) Garbage collection system
JPH0259944A (en) Image processor