JPH0658640B2 - Control method of electronic computer - Google Patents

Control method of electronic computer

Info

Publication number
JPH0658640B2
JPH0658640B2 JP13833092A JP13833092A JPH0658640B2 JP H0658640 B2 JPH0658640 B2 JP H0658640B2 JP 13833092 A JP13833092 A JP 13833092A JP 13833092 A JP13833092 A JP 13833092A JP H0658640 B2 JPH0658640 B2 JP H0658640B2
Authority
JP
Japan
Prior art keywords
data
address
data field
information
main memory
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.)
Expired - Lifetime
Application number
JP13833092A
Other languages
Japanese (ja)
Other versions
JPH05165656A (en
Inventor
啓二 桑原
啓一 中根
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 JP13833092A priority Critical patent/JPH0658640B2/en
Publication of JPH05165656A publication Critical patent/JPH05165656A/en
Publication of JPH0658640B2 publication Critical patent/JPH0658640B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、電子計算機の制御方
法、特にオペレーティングシステムの管理テーブル制御
方法に関する。 【0002】 【従来の技術】一般に、ユーザプログラムは、計算機内
においては、タスクと呼ばれる仕事の単位で動作するの
が普通である。すなわちタスクとは、プログラムに付随
するデータを基に、中央処理装置や周辺装置等の資源を
利用して行なわれる仕事の最小単位である。オペレーテ
ィングシステムでは、このタスクに優先順位を与え、資
源を効率より割当てたり、タスクの実行状態を管理して
効率のよいスケジューリングを行なうために、各タスク
毎にTCB(Task Control Block)と呼ぶ管理テーブル
を設けている。 【0003】図1にこのTCBの構成図を示す。主メモ
リ1上のオペレーティングシステム10内のTCB10
0は、タスク番号=1用のTCB110、タスク番号=
2用のTCB115、というように、タスク番号=ma
x用のTCB120まで、各TCB同一容量、同一フォ
ーマットで、シーケンシャルに並んでおり、同じくオペ
レーティングシステム10内の固定番地50により先頭
アドレスが示されている。ここでタスク番号とは、オペ
レーティングシステムが、各々のタスクを識別するため
にタスクにつけた一貫番号であり、ユーザプログラムを
タスクとして生成する時に与えられる。次にTCBの詳
細構成を説明する。200は、各種資源待ちポインタで
あり、該タスクが必要とする資源が他のタスクに使われ
ている時、このポインタを使用して待ち行列につながれ
る。205は、タスクの状態(実行中,資源空き待ち
中,一時休止中,等)を示すフラグ類である。その内、
255および260は、主メモリと補助記憶メモリから
成るシステム形態(以下、DISC付きシステムと呼
ぶ)において使用されるフラグである。215は、本タ
スク起動時の起動要因を記憶するエリアである。210
および220は、システム形態が複数のコンピュータか
らなるシステム(以下マルチコンピュータシステムと呼
ぶ)において必要となる情報でコンピュータ間のリンケ
ージをとるためのエリアとして使用される。225は、
タスクの属性(タスク種別,優先順位番号,等)を記憶
しているエリアであり、その内265は、DISC付き
システムの場合のみに使用されるエリアである。230
は、タスクのワークエリアの位置を示す情報であり、そ
のタスクのストアエリアの先頭からの相対バイトアドレ
スの形でそのワークエリアの上下限アドレスが格納され
ている。235は、本タスク動作時の主メモリ上先頭ア
ドレスを示している。240は、その他の本タスクを制
御する為に必要とする情報であり、その内270は、D
ISC付きシステムの場合のみに必要な情報であり、ま
た250は、マルチコンピュータシステムの場合のみに
必要な情報である。各TCBは、以上のような構成とな
っており各々の容量は37バイトである。 【0004】ここで、このTCBの各情報をながめてみ
ると計算機のシステム形態によっては、不要な情報があ
る。210,220,250はマルチコンピュータシス
テム形態の時のみに必要な情報であり、それ以外のシス
テム形態時には不要である。更に、255,260,2
65,270は、DISC付きシステム形態の時のみ必
要な情報であり、主メモリのみで成るシステム形態(以
下、主メモリオンリーシステムと呼ぶ)では不要であ
る。すなわち、システム形態が、DISC付きシステ
ム、マルチコンピュータシステム、主メモリオンリ
ーシステムと違いがあっても、TCBは、どのシステム
形態であっても同一構成をしている。この理由を次に説
明する。 【0005】図2は、図1のTCB110の内、1バイ
トのデータ245をレジスタ10(R10)に取出す場
合の従来のプログラム例を示す。プログラム300にて
用いられる命令を簡単に説明しておく。LDR;主メモ
リからデータを1語(32ビット)読出して指定された
レジスタに設定する。LD;主メモリから1語読出して
Accレジスタに設定する。M;Accレジスタの内容とメ
モリの内容との積をAccレジスタに設定する。TTR;
Accレジスタの内容を指定されたレジスタに設定する。
AND;Accレジスタの内容とメモリの内容との論理積
をとり、結果をAccレジスタに設定する。SR;Accレ
ジスタの内容を指定ビット分だけ右へシフトする。 【0006】プログラム300では、下記の手続きを要
している。 【0007】ステップ305;TCB100の先頭アド
レスをR5レジスタに設定する。 【0008】ステップ310〜320;TCB100を
構成するタスク番号ごとのTCBのバイト数37と、デ
ータ245を含むTCB110のケース番号(1)とか
ら、TCB100におけるTCB110の相対アドレス
を求めIXR1レジスタに設定する。 【0009】ステップ325;データ245を含む1
語、すなわちTCB110の9語目を主メモリからAcc
レジスタに読出す。 【0010】ステップ330〜335;取出したAccの
内容からデータ245を切り出す。 【0011】ステップ340;切出したデータ245を
R10レジスタに設定する。 【0012】ここで、TCBの構成をシステム形態ごと
に変更し、そのシステム形態に必要な情報のみを格納し
た構成とした場合を考えてみると、図2にて示した、1
バイトのデータ245を取出すプログラム300は、T
CB110の容量が変わること、およびデータ245を
含む1語(32ビット)の位置が変わることにより、少
なくともステップ315,325,330,335の4
箇所を変更する必要がある。 【0013】 【発明が解決しようとする課題】このように従来は、T
CBの構成をシステム形態ごとに違わせた場合、それを
アクセスする全てのプログラムを変更する必要が生じ
る。いいかえれば、同一データをアクセスするプログラ
ムをシステム形態毎に作る必要があり、それを避けるた
めTCBは、どのシステム形態であっても同一の構成と
なっていた。したがって、ある形態のシステムにおいて
は、TCBの容量、すなわち、主メモリを占めるオペレ
ーティングシステムの容量が不要に増大するという問題
があった。 【0014】本発明の目的は、前記の問題点を解決する
ため、主メモリに実存するTCBはシステム形態毎に違
わせ必要な情報のみを格納した構成となっているが、ア
クセスするプログラムからは、同一の構成を持つ仮想の
TCBとして見え、システム形態が変わっても、プログ
ラム変更が不要となる電子計算機の制御方法を提供する
ことにある。 【0015】 【課題を解決するための手段】プログラムの変更を要す
る原因は、プログラム自身が、アクセスしようとするデ
ータの配置アドレス,サイズを直接意識している点にあ
る。本発明は、この点に注目し、従来のTCB構成にお
いてデータ1つ1つに番号をつけ、その番号単位に対応
するデータの配置アドレス,サイズを記憶した制御テー
ブルを設け、プログラムには、その番号のみを指定して
データをアクセスできる命令を提供する。 【0016】 【作用】システム形態ごとにTCB構成を変更しても、
アドレスおよびサイズを記憶した制御テーブルをシステ
ム形態ごとに用意するだけで、プログラム本体の変更を
不要とする。 【0017】 【実施例】以下、本発明の実施例を図3以降を用いて説
明する。主メモリ1上のオペレーティングシステム10
内に、システム形態ごとに構成の異なったTCB100
と、TCB内データに1番からの一貫番号をつけ、その
番号単位に対応するデータの配置アドレス,サイズ等を
記憶した制御テーブル:FDSCR600と、TCB1
00およびFDSCR600の先頭アドレス、TCBの
1ケースの容量等を記憶している制御テーブル:TDS
CR500を設け、固定番地400により、TDSCR
500の先頭アドレスを指す。ここで、FDSCR60
0は、データにつけた番号(フィールド番号と呼ぶ)=
1のFDSCR605、フィールド番号=2用のFDS
CR610、フィールド番号=max用のFDSCR6
15というようにフィールド番号順にシーケンシャルに
配置し、TDSCR500は、本発明を適用するオペレ
ーティングシステムの管理テーブルにつけた1番からの
一貫番号(テーブル番号と呼ぶ)=1用のTDSCR5
05、テーブル番号=2用のTDSCR510、テーブ
ル番号=max用のTDSCR515というようにテー
ブル番号順にシーケンシャルに配置する。TCBのテー
ブル番号は1番と決めておく。 【0018】処理装置6015は、レジスタ群6045
や、演算器6050から成る演算機構6030と、制御
機構6035と、制御メモリ6040と、メモリインタ
ーフェイス機構(メモリアドレスレジスタ:MAR60
20、メモリデータレジスタ:MDR6025)とから
構成される。処理装置6015の動作は従来と同様に概
ね以下の如きである。 【0019】制御機構6035の指令によって、次に実
行すべき命令のアドレスが演算機構6030を経由して
MAR6020に設定され、主メモリ1にアクセス要求
が出されることによって、主メモリ1から次に実行すべ
き命令が取出され、MDR6025に設定される。MD
R6025に設定された命令は、直ちに制御機構603
5に送られ、そこで解読されて、制御メモリ6040に
格納されているところの、その命令を実行するマイクロ
プログラムに制御が移される。マイクロプログラムは、
制御機構6035によって逐次、制御メモリ6040か
ら読出され、解読される。制御機構6035は、それに
基づいて演算機構6030や、メモリインターフェイ
ス、メモリ制御機構6010を制御する。 【0020】本発明に係るデータ操作命令は、マイクロ
プログラム700,800で実施し、制御メモリ604
0の中に格納する。 【0021】図4にTDSCRの詳細を示す。550
は、制御対象とする管理テーブルの先頭アドレス、56
0は、制御対象とする管理テーブルのデータアドレスお
よびサイズを記憶しているFDSCRテーブルの先頭ア
ドレス、565は、制御対象とする管理テーブル1ケー
スの容量(バイト数)、および570は制御対象とする
管理テーブルのケース数を示す。 【0022】図5にFDSCRの詳細を示す。650
は、該データがビットデータか、バイトデータかを示す
情報、660は、該データのサイズ(ビットデータの時
は、ビット数、バイトデータの時はバイト数)、670
は、該データのテーブル先頭(各ケースの先頭)からの
相対アドレス(ビットデータの場合はビットアドレス、
バイトデータの場合はバイトアドレス)を示す。 【0023】このような制御テーブルにより、アクセス
するデータを番号により管理し、一方、プログラムに対
しては、図6〜図10に示すような命令を提供する。 【0024】図6は、アクセスするデータが存在するテ
ーブルのアドレスを知るための命令;GETERの命令
フォーマット700を示す。705は、上記機能を果た
す命令であることを示すオペレーションコード(OPC
D)、710は、アクセスするデータが存在するテーブ
ルのテーブル番号(TBLN)、715はアクセスする
データが指定テーブルの何ケース目であるかを指示する
ケース番号(CSEN)、720は、求めたアドレスを
格納するレジスタの番号(REGN)を示す。 【0025】図7は、データを実際にテーブルから読出
したり、テーブルに格納する命令;LDTF/STTF
の命令フォーマット800を示す。805は、上記機能
を果たす命令であることを示すオペレーションコード
(OPCD)、810は、該データが存在するテーブル
のテーブル番号(TBLN)、815は、読出したり格
納したりするデータのフィールド番号(FLDN)、8
20は、該データが存在するテーブルのアドレス(GE
TAR命令で求めたアドレス)を格納しているレジスタ
の番号(REGN)、および825は、データを読出す
(LDTF)場合は、読出したデータを格納するレジス
タの番号、データを格納する(STTF)場合は、格納
するデータを格納しているレジスタの番号(REGN)
を示す。 【0026】図8〜図10にGETAR,LDTF,S
TTF命令の処理内容を示す。 【0027】図8(a)に、LDTF命令の処理流れ図
を、また、図8(b)に、LDTF命令におけるデータ
操作内容を示す。以下、図8(a)および図8(b)に
従って、LDTF命令の処理流れを、図3のHARD機
構と関連させ説明する。 【0028】その他の命令;STTF,GETARにつ
いては、本LDTF命令の説明から類推できるため、単
に処理流れを説明するだけとする。 【0029】図8(b)におけるA(×××)は、××
×のアドレスを示す。 【0030】ブロック1005;制御機構6035によ
り、取出された命令TBLN810と、メモリ制御機構
6010を通して得られたTDSCR500の先頭アド
レスが演算機構6030により計算され、得られた該当
TDSCRのアドレス55をレジスタ群6045のRE
Gi に格納する。51,52,53,54,55 ブロック1010;制御機構6035は、レジスタ群6
045のREGi の内容、すなわち該当TDSCRのア
ドレスをメモリ制御機構6010を経由してアクセス
し、TDSCR500のTPFDS560によりFDS
CR600の先頭アドレスを求める。ブロック101
5;制御機構6035により、取出された命令フィール
ドFLDN815と、先に得られたFDSCR600の
先頭アドレスが演算機構6030により計算され、該当
FDSCRのアドレス59を得る。得られたアドレス5
9は、レジスタ群6045のREGj に格納する。5
6,57,58,59 ブロック1020;制御機構6035は、レジスタ群6
045のREGj の内容、すなわち該当FDSCRのア
ドレス59をメモリ制御機構6010を経由してアクセ
スし、FDSCR600内のDATATYPE650に
より、該フィールドデータが、バイトデータであるの
か、ビットデータであるのかを判定する。 【0031】ブロック1025;該フィールドデータB
150がバイトデータである場合、制御機構6035に
より取出された命令フィールドREGN820が示す該
当テーブル本体100の主メモリアドレスと、REGj
が示す該当FDSCR内のDATAADDR670が演
算機構6030により加えられ、該当フィールドデータ
B150の主メモリアドレス61を得る。得られたアド
レス61は、レジスタ群6045内のREGkに格納す
る。60,61 ブロック1030,REGkにて示される該フィールド
データB150の主メモリ上アドレス以降、FDSCR
600内のDATASIZE660のバイト分のデータ
をメモリ制御機構6010を経由してアクセスし、当該
フィールドデータB150を得る。62,63 ブロック1035;得られた該データB63を、制御機
構6035により取出された命令フィールドREGD8
25に格納し処理を終了する。(REGDはレジスタ群
6045の1レジスタ)64,65 ブロック1040;該フィールドデータA160がビッ
トデータの場合は、まず、レジスタ群6045のREG
i が示す該FDSCRのアドレス59の内、DATAA
DDR部670の内容をメモリアクセス機構6010を
経由して得、演算機構6030により1/8倍すること
により、該フィールドデータA160のバイトアドレス
を求め、制御機構6035により取出された命令フィー
ルドREGN820が示す該当テーブル本体100の主
メモリアドレスとが、更に演算機構6030により加え
られ、該当フィールドデータA160の主メモリアドレ
ス61を得る。得られたアドレス61は、レジスタ群6
045内のREGkに格納する。60,61 ブロック1045;REGkにて示される該フィールド
データA160の主メモリ上アドレス61以降4バイト
分のデータをメモリ制御機構6010を経由してアクセ
スし、該当フィールドデータA160を含む4バイトの
データ67を得る。66,67 ブロック1050;REGj が示す該FDSCRのアド
レス59の内、DATAADDR部670の内容をメモ
リアクセス機構6010を経由して得、演算機構603
0により1/8倍することにより求めた該フィールドデ
ータA160のビットアドレス(1/8倍した余りがビ
ットアドレスとなる)と、FDSCR内のDATASI
ZE660(ビットデータの場合はビットサイズ)によ
り、先に求めた該データAを含む4バイトのデータ67
の内、データA160のみを、演算機構6030により
切出す。68 ブロック1055;得られた該データA160を演算機
構6030により右シフトし、(右づめ)制御機構60
35により取出された命令フィールドREGD825に
格納し、処理を終了する。(REGDは、レジスタ群6
045の1レジスタ)69,70 図9は、GETAR命令の処理流れ図である。まず指定
されたTBLNに対応するTDSCRの先頭アドレスを
求める(ステップ905)。次に求めたTDSCR内の
SIZEと指定されたCSENより該テーブルの先頭か
ら指定されたケースまでの相対アドレスを計算する(S
IZEX(CASE−1)で求まる)(ステップ91
0)。次に上記にて求めた相対アドレスとTDSCR内
のテーブル先頭アドレスを加算し、指定ケース目の絶対
アドレスを求める(ステップ915)。以上により指定
テーブルの指定ケース目の絶対アドレスが求まり、指定
されたレジスタに格納する(ステップ920)ことによ
り処理を完了する。 【0032】図10は、STTE命令の処理流れ図であ
る。1105〜1120は、LDTF命令と同様の手順
にて該データがビットデータかバイトデータかを判定す
る。バイトデータならば、指定されたテーブルのアドレ
ス(REGNの内容)と、FDSCR内のDATAAD
DRを加え、該データのバイトアドレスを求める112
5。REGDにて指定された情報をFDSCR内DAT
ASIZEにて規定されているバイト数分、上記にて求
めた該データのアドレス以降に格納し1130、処理を
終了する。ビットデータの場合は、FDSCR内のDA
TAADDR(ビット表示)より、バイトアドレス部を
求め、REGNにて示されるアドレスを加え、該データ
のバイトアドレスを求める1135。上記にて求めたバ
イトアドレス以降、4バイトの情報を一旦命令内のワー
クエリアに読出す。FDSCR内のDATAADDRと
DATASIZEにより、該データのビット位置を求
め、読出した情報から該データ部分を消去する114
5。REGDにて指定された書込みデータを上記にて消
去した部分に埋め込む1150。得られた4バイトのデ
ータを読出した時のバイトアドレス以降に再格納し11
55、処理を終了する。 【0033】以上のようにアクセスするデータ番号をつ
け、データのアドレス、サイズを記憶した制御テーブル
を設け、番号を指定してデータをアクセスする命令を設
けることにより、図2により示した図1の1バイトのデ
ータを読出す従来のプログラム300は、図11に示す
プログラム6000となる。ここで、図1のバイトのデ
ータの位置およびサイズが変更になっても、該データ用
のFDSCR内のDATASIZEおよびDATAAD
DRを変更するだけで、図11のプログラム6000本
体は変更することなく、同一のデータをアクセスするこ
とが可能となる。 【0034】さて、以上のような基本のしかけを作り、
TCBは次のような構成にする。 【0035】図12は、アクセスするプログラムから見
るTCB1500の構成を示している。図1にて示した
従来のTCB構成110において、TCB内のデータ1
つ1つに1番から44番までのフィールドをつける。こ
こで図1にて説明したように255(フィールド番号=
8,12〜17)および260(フィールド番号=2
0)および265(フィールド番号=24〜30,3
1,33,34)および270(フィールド番号=4
0)は、DISC付きシステム形態の時のみ必要な情報
であり、210(フィールド番号=18)および220
(フィールド番号=22)および250(フィールド番
号=44)は、マルチコンピュータシステム形態の時の
みに必要な情報である。このようにアクセスするプログ
ラムから見えるTCBは、システム形態にかかわらず同
一としておく。このTCB1500は、主メモリには実
存せず、仮想TCB(VTCB)と呼ぶ。 【0036】図13〜図15に主メモリに実存するTC
B(このTCBをRTCBと呼ぶ)の構成を示す。 【0037】図13はDISC付きシステム形態時のR
TCB構成を示す。図12のVTCBより、マルチコン
ピュータシステム形態のみに必要な情報(フィールド番
号=18,22,44)を取除き1ケース32バイトの
構成とする。 【0038】図14はマルチコンピュータシステム形態
時のRTCB構成を示しており、本RTCBはVTCB
と同一構成とする。 【0039】図15は主メモリオンリシステム形態時の
RTCB構成3000を示しており、VTCBよりDI
SC付システム形態およびマルチコンピュータシステム
形態時のみに必要な情報(フィールド番号=8,12〜
17,20,24〜30,31,33,34,40,1
8,22,44)を取除き1ケース26バイトの構成と
する。 【0040】FDSCRは、各々のRTCB毎に作成す
る。 【0041】図16にDISC付きシステム形態時のF
DSCRを示す。フィールド番号(FLDN)=1用の
FDSCR3005、=2用のFDSCR3010とい
うように=44用のFDSCR3050まで順に作成
し、各々のFDSCR内容はRTCB・TYPE1(図
13)を表わすように作成する。例えばFLDN=42
のFDSCR3040は、データ種別(DATATYP
E)がバイトデータ、サイズ(DATASIZE)が1
バイト、アドレス(DATAADDR)が、29バイト
目というように作成する。VTCB上には有って、この
RTCB・TYPE1には無いデータ(FLDN=1
8,22,44)に対するFLDN3020,303
0,3050は、内容を“0”としておき、該FLDN
に対するデータは本RTCBには無いことを明示する。 【0042】図17はマルチコンピュータシステム形態
時用のFDSCR3100を示す。RTCB・TYPE
1(図16)と同様にFLDN=1用3105からFL
DN=44用3120まで順に作成し、各々の内容はR
TCB・TYPE2(図14)を表わすように作成す
る。 【0043】図18は主メモリオンリシステム形態時用
のFDSCR3200を示す。前者と同様にFLDN=
1用3205からFLDN=44用3325まで作成
し、各々の内容はRTCB・TYPE3(図15)を表
わすように作成する。例えばFLDN=42用のFDS
CR3320は、DATATYPEとDATASIZE
は、前者と同じであるがDATAADDRは、23バイ
ト目となる。VTCB上には有って、本RTCB・TY
PE3には無いデータ(FLDN=8,12〜18,2
0,22,24〜31,33,34,40,44)に対
するFDSCR3215,3220〜3250,325
5,3260,3265〜3300,3305,331
0,3315,3325は、内容を“0”としておき、
該FLDNに対するデータは本RTCBには無いことを
明示する。 【0044】図19はシステム形態ごとのFDSCRと
RTCBの関係を示す。TCB用のTDSCR505内
のTCB先頭アドレス(TPTCB)4000は、シス
テム形態によってRTCB・TYPE1を指すか400
5、RTCB・TYPE2を指すか4010、またはR
TCB・TYPE3を指すか4015、をシステムジェ
ネレーション時に選択する。同じくTDSCR505内
のTPFDS5000も、システム形態により、500
5か5010か5015かをシステムジェネレーション
時に選択する。TDSCR505内のSIZE565
は、RTCB・TYPE1を選択した場合は、32の値
を、TYPE2を選択した場合は37の値を、TYPE
3を選択した場合は26の値を、同じくシステムジェネ
レーション時に埋め込む。 【0045】以上のようにシステム形態毎にFDSCR
を作成し、システムジェネレーション時にシステム形態
に合ったFDSCRとRTCBを選択し、アクセスする
プログラムはあくまでもVTCB構成のみを意識するこ
とにより、プログラムの変更無しに、TCBの構成を変
更することが可能となる。 【0046】本実施例においては、最小のRTCBであ
る主メモリオンリシステムの場合、TCB容量は、従来
のTCB容量に比べて1タスクにつき11バイトを削減
できることになる。 【0047】 【発明の効果】本発明による効果を下記に示す。 【0048】1)タスクを管理するオペレーティングシ
ステム内のTCBの構成をアクセスプログラムへの影響
無しに変更することが可能となった。 【0049】2)これに伴い、システム形態によっては
不要に増大していたTCBの容量、ひいては主メモリを
占めるオペレーティングシステムの容量増加を抑止する
ことができ、ユーザの使用可能な主メモリ範囲を広げる
ことが可能となった。(システム形態によって最大1タ
スクにつき11バイト削減することができ、従来のタス
ク数の最大値255個の場合で、2805バイトの容量
を削減できる)
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of controlling an electronic computer.
Law, especially operating system control table control
Regarding the method. Generally, a user program is stored in a computer.
In, it works in units of work called tasks
Is normal. That is, a task is associated with a program
Resources such as central processing unit and peripheral devices based on the data
It is the smallest unit of work that can be performed. Operate
The loading system gives priority to this task and
Allocate resources more efficiently and manage the task execution state
Each task for efficient scheduling
Management table called TCB (Task Control Block) for each
Is provided. FIG. 1 is a block diagram of this TCB. Main memo
TCB10 in operating system 10 on R1
0 is TCB110 for task number = 1, task number =
TCB115 for 2 and so on, task number = ma
Up to TCB 120 for x, each TCB has the same capacity and
-Mat, lined up in a sequential manner,
Start with fixed address 50 in rating system 10
The address is shown. Here, the task number is the operation
The rating system identifies each task
It is a consistent number assigned to the task in the
It is given when it is created as a task. Next, the details of TCB
The detailed configuration will be described. 200 is a pointer for waiting for various resources
Yes, the resources required by the task are used for other tasks.
While waiting, use this pointer to enqueue
It 205 is a task status (running, waiting for resource availability)
Flags indicating "medium, paused, etc." Among them,
255 and 260 are from main memory and auxiliary memory
System configuration (hereinafter referred to as DISC-equipped system)
This is a flag used in (b). 215 is a book
This is an area for storing the activation factor when the disc is activated. 210
And 220 are computers having a plurality of system configurations
System (hereinafter referred to as multi-computer system)
Link between computers with the information needed in
It is used as an area for taking up the charge. 225 is
Stores task attributes (task type, priority number, etc.)
265 of them are with DISC
This is an area used only for the system. 230
Is information that indicates the position of the task work area.
Relative byte address from the beginning of the store area of the task
The upper and lower limit addresses of the work area are stored in the form of
ing. 235 is the head address in the main memory when this task is operating.
Shows the dress. 240 controls other tasks
This is the information needed to control, 270 of which is D
This information is required only for systems with ISC.
250 is only for multi-computer system
Required information. Each TCB has the above configuration.
The capacity of each is 37 bytes. Here, looking at each information of this TCB
Then, depending on the computer system configuration, unnecessary information may be present.
It 210, 220, 250 are multi-computer systems
This information is required only when the
It is not necessary in the system form. Furthermore, 255, 260, 2
65 and 270 are required only in the system configuration with DISC.
This is important information and is a system configuration consisting of only main memory (below.
It is unnecessary in the main memory only system below)
It That is, the system form is a system with DISC.
System, multi-computer system, main memory only
-Which is different from the system, TCB is
Even in the form, they have the same configuration. The reason for this is explained next
Reveal. FIG. 2 shows one of the TCB 110 shown in FIG.
To extract the data 245 of the register into the register 10 (R10)
The following is an example of a conventional program. In program 300
The instructions used are briefly described. LDR; main memo
Specified by reading one word (32 bits) from the memory
Set in register. LD: Read one word from main memory
Set to Acc register. M: Acc register contents and contents
The product of the contents of the memory is set in the Acc register. TTR;
Sets the contents of the Acc register to the specified register.
AND; Logical product of Acc register contents and memory contents
And the result is set in the Acc register. SR; Acc
Shifts the contents of the register to the right by the specified number of bits. The program 300 requires the following procedures.
is doing. Step 305: Top add of TCB100
Set the address in the R5 register. Steps 310-320; TCB100
37 bytes of TCB for each task number
Case number (1) of TCB 110 including data 245
Et al., Relative address of TCB110 in TCB100
Is set to the IXR1 register. Step 325; 1 containing data 245
Word, ie the 9th word of TCB110 from main memory Acc
Read to register. Steps 330-335; of the extracted Acc
The data 245 is cut out from the content. Step 340: Cut out the data 245
Set in R10 register. Here, the configuration of the TCB is changed for each system form.
And store only the information needed for that system configuration.
Considering the case of the different configuration, as shown in FIG.
The program 300 for fetching byte data 245 is T
The capacity of the CB 110 changes, and the data 245
Because the position of the included 1 word (32 bits) changes,
4 of steps 315, 325, 330, 335
It is necessary to change the place. As described above, according to the conventional technique, the T
If the CB configuration is different for each system type,
You have to change every program that you access
It In other words, a program that accesses the same data
It is necessary to create a system for each system form and avoid it.
Therefore, TCB has the same configuration regardless of the system form.
Was becoming. Therefore, in some form of system
Is the capacity of the TCB, that is, the operation that occupies the main memory.
The problem of unnecessarily increasing the capacity of the operating system
was there. The object of the present invention is to solve the above-mentioned problems.
Therefore, the TCB that actually exists in the main memory differs depending on the system configuration.
It is configured to store only the necessary information.
From the access program, the virtual
Even if it looks like TCB and the system form changes,
Provide a computer control method that eliminates the need to change the RAM
Especially. Means for Solving the Problems A program change is required.
The cause is that the program itself is trying to access
The point is that we are directly aware of the layout address and size of the data.
It The present invention pays attention to this point and adopts the conventional TCB configuration.
Each data is assigned a number, and it corresponds to that number unit
Control data that stores the allocation address and size of the data to be stored.
Bull, and specify only that number in the program
Provide instructions to access the data. [Operation] Even if the TCB configuration is changed for each system form,
A control table that stores addresses and sizes is stored in the system.
Change the program body simply by preparing for each
Unnecessary. Embodiments of the present invention will be described below with reference to FIG.
Reveal. Operating system 10 on main memory 1
The TCB100 has a different configuration depending on the system configuration.
And, the consistent number from 1 is given to the data in TCB, and the
Data allocation address, size, etc. corresponding to the number unit
Stored control table: FDSCR600 and TCB1
00 and FDSCR600 start address, TCB
Control table that stores the capacity of 1 case: TDS
CR500 is provided and TDSCR is made possible by fixed address 400
Indicates the start address of 500. Where FDSCR60
0 is the number assigned to the data (called the field number) =
FDSCR605 of 1, FDS for field number = 2
CR610, FDSCR6 for field number = max
Sequentially in the order of field numbers such as 15
The TDSCR500 is an operating system to which the present invention is applied.
From the number 1 attached to the management table of the operating system
TDSCR5 for consistent number (called table number) = 1
05, TDSCR510 for table number = 2, table
For example, TDSCR515 for number = max
Bulls are sequentially arranged in order. TCB
Bull number is set to 1. The processor 6015 has a register group 6045.
And an arithmetic unit 6030 including an arithmetic unit 6050 and control
Mechanism 6035, control memory 6040, memory interface
Interface mechanism (memory address register: MAR60
20, memory data register: MDR6025)
Composed. The operation of the processing device 6015 is similar to the conventional one.
It is as follows. Next, according to a command from the control mechanism 6035,
The address of the instruction to be executed is via the arithmetic unit 6030
Access request to main memory 1 set in MAR6020
Is issued, the next execution from main memory 1
Command is fetched and set in MDR6025. MD
The instruction set in R6025 immediately returns to the control mechanism 603.
5, decoded there, and stored in the control memory 6040.
Where it is stored, the micro that executes the instruction
Control is transferred to the program. The micro program is
Control memory 6040 sequentially by control mechanism 6035
Read out and decrypted. The control mechanism 6035 has
Based on the calculation mechanism 6030 and the memory interface.
The memory control mechanism 6010. The data operation instruction according to the present invention is a micro
Implemented by programs 700 and 800, control memory 604
Store in 0. FIG. 4 shows details of TDSCR. 550
Is the start address of the management table to be controlled, 56
0 is the data address of the management table to be controlled.
And the size of the FDSCR table that stores the size
Dress 565 is one management table case to be controlled.
Capacity (number of bytes) and 570 are control targets
Indicates the number of cases in the management table. FIG. 5 shows details of the FDSCR. 650
Indicates whether the data is bit data or byte data
Information, 660 is the size of the data (when it is bit data
Is the number of bits, the number of bytes for byte data), 670
From the table top of the data (top of each case)
Relative address (bit address for bit data,
In the case of byte data, it indicates the byte address). Access is made by such a control table.
Data to be managed by numbers, while
Then, the instructions as shown in FIGS. 6 to 10 are provided. FIG. 6 shows a table in which data to be accessed exists.
To know the address of the table; GETER's command
A format 700 is shown. 705 fulfills the above function
Operation code (OPC)
D) and 710 are tables in which data to be accessed exists.
Table number (TBLN), 715 to access
Indicate how many cases the data is in the specified table
Case number (CSEN), 720 is the calculated address
Indicates the register number (REGN) to store. FIG. 7 shows the actual reading of data from the table.
To store or store in table; LDTF / STTF
Shows an instruction format 800 of. 805 is the above function
Operation code indicating that the instruction fulfills
(OPCD), 810 is a table in which the data exists
Table number (TBLN), 815 is read or
Field number (FLDN) of data to be stored, 8
20 is the address (GE) of the table in which the data exists.
Register that stores the address obtained by the TAR instruction)
Number (REGN), and 825 read data
If (LDTF), the register that stores the read data
Data number and data to store (STTF), store
Number of the register that stores the data to be stored (REGN)
Indicates. 8 to 10 show GETAR, LDTF, S
The processing contents of the TTF instruction are shown. FIG. 8A shows a processing flow chart of the LDTF instruction.
8B, the data in the LDTF instruction
Indicates the operation content. Below, in FIG. 8 (a) and FIG. 8 (b),
Therefore, the processing flow of the LDTF instruction is changed to that of the HARD machine of FIG.
It will be explained in relation to the structure. Other instructions; STTF, GETAR
However, since it can be inferred from the explanation of this LDTF instruction,
The process flow will be explained only. A (xxxxx) in FIG. 8B is xx
Indicates an address of ×. Block 1005; by control mechanism 6035
And fetched instruction TBLN810 and memory control mechanism
Top add of TDSCR500 obtained through 6010
Res is calculated by the arithmetic unit 6030 and obtained
Address 55 of TDSCR to RE of register group 6045
Store in Gi. 51, 52, 53, 54, 55 Block 1010; Control mechanism 6035 uses register group 6
045 REGi contents, that is, the corresponding TDSCR address
Accessing the dress via the memory control mechanism 6010
FDS by TPFDS560 of TDSCR500
Find the start address of CR600. Block 101
5; Command field fetched by the control mechanism 6035
De FLDN815 and the previously obtained FDSCR600
The start address is calculated by the arithmetic unit 6030 and
Get the address 59 of the FDSCR. Obtained address 5
9 is stored in REGj of the register group 6045. 5
6, 57, 58, 59 block 1020; control mechanism 6035 uses register group 6
The contents of REGj of 045, that is, the address of the corresponding FDSCR
The dress 59 is accessed via the memory control mechanism 6010.
To the DATATYPE 650 in the FDSCR600.
Therefore, the field data is byte data.
Or bit data is determined. Block 1025; the field data B
If 150 is byte data,
The instruction field REGN820 extracted from
Main memory address of this table body 100 and REGj
Performed by DATAADDR670 in the applicable FDSCR
Applicable field data added by arithmetic unit 6030
Obtain the main memory address 61 of B150. Obtained ad
The address 61 is stored in REGk in the register group 6045.
It 60, 61 Block 1030, the field indicated by REGk
After the address in the main memory of data B150, FDSCR
Data for DATASIZE660 in 600
Is accessed via the memory control mechanism 6010,
The field data B150 is obtained. 62, 63 block 1035; the obtained data B63 is used as a controller
Command field REGD8 fetched by structure 6035
25, and the process ends. (REGD is a register group
1 register 6045) 64, 65 block 1040; the field data A160 is a bit
In the case of automatic data, first, REG of the register group 6045
DATAA out of the address 59 of the FDSCR indicated by i
The contents of the DDR unit 670 are stored in the memory access mechanism 6010.
Obtained via and multiplied by 1/8 by the arithmetic unit 6030
The byte address of the field data A160
For the instruction fee fetched by the control mechanism 6035.
The main of the relevant table body 100 indicated by the REGN 820
The memory address is added by the arithmetic unit 6030.
And the main memory address of the corresponding field data A160.
You get the 61. The obtained address 61 is the register group 6
Store in REGk in 045. 60, 61 block 1045; the field indicated by REGk
4 bytes after address 61 in main memory of data A160
Minute data is accessed via the memory control mechanism 6010.
4 bytes including the corresponding field data A160
Data 67 is obtained. 66, 67 Block 1050; Add of the FDSCR indicated by REGj
Make a note of the contents of DATA ADDR section 670
Obtained via the re-access mechanism 6010, the arithmetic mechanism 603
The field data obtained by multiplying by 1/8 by 0
Data A160 bit address (1/8 times the remainder is
Address) and DATASI in FDSCR
According to ZE660 (bit size for bit data)
The 4-byte data 67 including the data A previously obtained
Of the data, only the data A160 is calculated by the arithmetic unit 6030.
Cut out. 68 block 1055; computing the obtained data A160
Shift right by the structure 6030, and (right right) control mechanism 60
35 into the instruction field REGD825 fetched by
Store and end the process. (REGD is register group 6
1 register 045) 69, 70 FIG. 9 is a processing flow chart of the GETAR instruction. First specify
The start address of the TDSCR corresponding to the specified TBLN
Ask (step 905). In the TDSCR
Is the head of the table from CSEN specified as SIZE
Calculate the relative address from the specified case to the specified case (S
Calculated by IZEX (CASE-1)) (Step 91
0). Next, the relative address obtained above and the TDSCR
Table head address of
Obtain the address (step 915). Designated by the above
Specify and specify the absolute address of the specified case in the table
Stored in the registered register (step 920)
Processing is completed. FIG. 10 is a processing flow chart of the STTE instruction.
It 1105 to 1120 are the same procedures as the LDTF instruction
Determines whether the data is bit data or byte data
It If it is byte data, the address of the specified table
Data (content of REGN) and DATAAD in FDSCR
Add DR and obtain the byte address of the data 112
5. DAT in FDSCR with information specified by REGD
Find the number of bytes specified by ASIZE above
The data is stored after the address of the data 1130, and the processing is performed.
finish. For bit data, DA in FDSCR
From TAADDR (bit display), specify the byte address
Calculate and add the address indicated by REGN
1135 for the byte address of the. The value obtained above
4 bytes of information after the right address
Read to querier. DATA ADDR in FDSCR and
Obtain the bit position of the data by DATASIZE
Therefore, the data portion is erased from the read information 114
5. Delete the write data specified by REGD above.
1150 to embed in the left part. The obtained 4-byte data
Re-store the data after the byte address when the data was read 11
55, the processing is ended. The data numbers to be accessed are
Control table that stores data, address and size of data
And set the instruction to access the data by specifying the number.
1 byte of the data of FIG. 1 shown in FIG.
A conventional program 300 for reading data is shown in FIG.
Program 6000. Here, the byte data in Figure 1
Even if the position and size of the data changes,
DATASIZE and DATAAD in FDSCR
6000 programs in Figure 11 just by changing the DR
You can access the same data without changing your body.
And are possible. Now, by making the above basic motives,
The TCB has the following configuration. FIG. 12 is a view from the accessing program.
2 shows the configuration of the TCB 1500 according to the present invention. Shown in Figure 1
Data 1 in the TCB in the conventional TCB configuration 110
Add fields 1 to 44 to each one. This
As described in FIG. 1, 255 (field number =
8, 12 to 17) and 260 (field number = 2)
0) and 265 (field number = 24 to 30,3)
1, 33, 34) and 270 (field number = 4)
0) is the information required only in the system configuration with DISC
And 210 (field number = 18) and 220
(Field number = 22) and 250 (Field number
No. = 44) in the multi-computer system form
This information is necessary only for you. A program that accesses like this
The TCB seen from the ram is the same regardless of the system configuration.
I will keep it as one. This TCB1500 does not actually exist in main memory.
It does not exist and is called a virtual TCB (VTCB). FIGS. 13 to 15 show TCs which actually exist in the main memory.
The structure of B (this TCB is called RTCB) is shown. FIG. 13 shows R in the system configuration with DISC.
The TCB configuration is shown. From VTCB in Fig. 12, multicon
Information required only for computer system form (field number
No. = 18,22,44)
The configuration. FIG. 14 shows a multi-computer system form.
The RTCB structure at this time is shown. This RTCB is VTCB.
Same configuration as. FIG. 15 shows the main memory only system configuration.
Shows RTCB configuration 3000, DI from VTCB
System form with SC and multi-computer system
Information necessary only for form (field number = 8, 12 ~
17, 20, 24-30, 31, 33, 34, 40, 1
(8,22,44) is removed and one case is composed of 26 bytes
To do. FDSCR is created for each RTCB.
It FIG. 16 shows F in the system configuration with DISC.
Indicates a DSCR. For field number (FLDN) = 1
FDSCR3005, = 2 for FDSCR3010
To make FDSCR3050 for 44
However, the contents of each FDSCR are RTCB ・ TYPE1 (Fig.
13) is created. For example, FLDN = 42
FDSCR3040 has a data type (DATATYPE
E) is byte data, size (DATASIZE) is 1
Byte, address (DATAADDR) is 29 bytes
Create it like an eye. There is on VTCB,
Data not found in RTCB / TYPE1 (FLDN = 1
8,22,44) FLDN3020,303
0, 3050 sets the content as “0” and sets the FLDN
It is clearly stated that there is no data for this RTCB. FIG. 17 shows a multi-computer system form.
8 shows an hourly FDSCR 3100. RTCB ・ TYPE
FLDN = 1 for 3105 to FL as in 1 (FIG. 16)
Created up to 3120 for DN = 44, and the contents of each are R
Created to represent TCB / TYPE2 (Fig. 14)
It FIG. 18 is for the main memory only system mode
FDSCR3200 of FIG. FLDN = same as the former
Created from 3205 for 1 to 3325 for FLDN = 44
The contents of each are shown in RTCB ・ TYPE3 (Fig. 15).
Create to forget. For example, FDS for FLDN = 42
CR3320 is DATATYPE and DATASIZE
Is the same as the former, but DATA ADDR is 23
It becomes the eye. It is on VTCB, this RTCB / TY
Data not found in PE3 (FLDN = 8, 12-18, 2
0, 22, 24 to 31, 33, 34, 40, 44)
FDSCR3215, 3220-3250, 325
5,3260,3265-3300,3305,331
0, 3315, and 3325 have the content set to “0”,
There is no data for this RTCB in this RTCB.
Be explicit. FIG. 19 shows the FDSCR for each system form.
The relationship of RTCB is shown. In TDSCR505 for TCB
TCB start address (TPTCB) 4000 of
400 or RTCB / TYPE1 depending on the system type
5, pointing to RTCB / TYPE2 or 4010, or R
TCB / TYPE3 or 4015
Select when narrating. Also in TDSCR505
The TPFDS5000 of 500 is also 500 depending on the system configuration.
5 or 5010 or 5015 system generation
Select at times. SIZE565 in TDSCR505
Is a value of 32 when RTCB / TYPE1 is selected
If you select TYPE2, set the value of 37 to TYPE.
When 3 is selected, the value of 26 is also set.
Embed at the time of translation. As described above, the FDSCR for each system type
Create the system form during system generation
Select and access the FDSCR and RTCB that match
The program should be aware of only the VTCB structure.
Changes the TCB configuration without changing the program.
It is possible to change. In this embodiment, the minimum RTCB is used.
In the case of the main memory only system, the TCB capacity is
11 bytes per task compared to the TCB capacity of
You can do it. The effects of the present invention are shown below. 1) Operating system for managing tasks
The effect of the TCB configuration in the system on the access program
It is possible to change without. 2) Accordingly, depending on the system configuration,
Unnecessarily increasing the capacity of TCB, and eventually the main memory
Control the increase in operating system capacity
Can increase the main memory range available to the user
It has become possible. (Maximum of 1
You can reduce 11 bytes per disk,
2805 bytes capacity when the maximum number of packs is 255
Can be reduced)

【図面の簡単な説明】 【図1】従来のTCB構成図である。 【図2】従来のTCBデータアクセスプログラム例を示
す図である。 【図3】本発明に関し設けるテーブルの全体図である。 【図4】図3の詳細を示す図である。 【図5】図3の詳細を示す図である。 【図6】図3の詳細を示す図である。 【図7】図3の詳細を示す図である。 【図8】命令の処理流れ図である。 【図9】命令の処理流れ図である。 【図10】命令の処理流れ図である。 【図11】本発明によるTCBデータアクセスプログラ
ム例を示す図である。 【図12】本発明により変更したTCBの構成図であ
る。 【図13】本発明により変更したTCBの構成図であ
る。 【図14】本発明により変更したTCBの構成図であ
る。 【図15】本発明により変更したTCBの構成図であ
る。 【図16】本発明に関して設けるテーブルの実施例図で
ある。 【図17】本発明に関して設けるテーブルの実施例図で
ある。 【図18】本発明に関して設けるテーブルの実施例図で
ある。 【図19】本発明に関して設けるテーブルの実施例図で
ある。 【符号の説明】 500…TDSCR、 600…FDSCR、 700…GETAR命令、 800…LDTF/STTF命令、 1500…仮想TCB、 2000…RTCB・TYPE1、 2100…RTCB・TYPE2、 2200…RTCB・TYPE3、 3000…FDSCR・TYPE1、 3100…FDSCR・TYPE2、 3200…FDSCR・TYPE3。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a conventional TCB configuration diagram. FIG. 2 is a diagram showing an example of a conventional TCB data access program. FIG. 3 is an overall view of a table provided according to the present invention. FIG. 4 is a diagram showing details of FIG. FIG. 5 is a diagram showing details of FIG. FIG. 6 is a diagram showing details of FIG. 3; FIG. 7 is a diagram showing details of FIG. 3; FIG. 8 is a processing flow chart of instructions. FIG. 9 is a flow chart of processing an instruction. FIG. 10 is a flow chart of processing an instruction. FIG. 11 is a diagram showing an example of a TCB data access program according to the present invention. FIG. 12 is a configuration diagram of a TCB modified according to the present invention. FIG. 13 is a configuration diagram of a TCB modified according to the present invention. FIG. 14 is a configuration diagram of a TCB modified according to the present invention. FIG. 15 is a configuration diagram of a TCB modified according to the present invention. FIG. 16 is an example diagram of a table provided in connection with the present invention. FIG. 17 is an example diagram of a table provided in connection with the present invention. FIG. 18 is an example diagram of a table provided according to the present invention. FIG. 19 is an example diagram of a table provided according to the present invention. [Explanation of Codes] 500 ... TDSCR, 600 ... FDSCR, 700 ... GETAR instruction, 800 ... LDTF / STTF instruction, 1500 ... Virtual TCB, 2000 ... RTCB / TYPE1, 2100 ... RTCB / TYPE2, 2200 ... RTCB / TYPE3, 3000 ... FDSCR / TYPE1, 3100 ... FDSCR / TYPE2, 3200 ... FDSCR / TYPE3.

Claims (1)

【特許請求の範囲】 1.ユーザプログラムから生成される仕事の単位である
ところの複数のタスクを主メモリに記憶し、該タスクを
演算処理装置上で動作させる電子計算機の制御方法にお
いて、 前記タスク各々の制御に必要な複数のデータをそれぞれ
複数のデータフィールドに格納し、かつ、格納する該複
数のデータの種類の類型にそれぞれ応じたデータフィー
ルド構成を持つタスク管理テーブルを、前記複数のタス
ク毎に複数個、前記主メモリに記憶し、 前記複数のデータ毎の前記種類の識別情報を、前記デー
タフィールド構成とは別に予め規定された仮想データフ
ィールド構成のデータフィールド情報として格納し、か
つ、該データフィールド情報各々について、当該データ
を格納する各タクス管理テーブル内でのデータフィール
ドの第1の配置情報を格納する第1の制御テーブル、及
び前記複数のタスク管理テーブル各々について、当該タ
スク管理テーブルの前記主メモリ内での第2の配置情報
を格納する第2の制御テーブルを前記主メモリに記憶
し、 前記演算処理装置は、前記複数のタスク管理テーブルの
うち1を指定して前記第2の制御テーブルを用いること
により、指定した前記タスク管理テーブルの前記第2の
配置情報を得る第1の命令、及び、特定の前記データフ
ィールド情報を指定して前記第1の制御テーブルを用い
ることにより、該特定のデータフィールド情報に係る前
記第1の配置情報を得、さらに、前記第2の配置情報を
用いて、対応する前記データの読出、書込を行う第2の
命令を実行することを特徴とする電子計算機の制御方
法。 2.前記第1の配置情報は、前記データフィールドのデ
ータ形式、配置アドレス及びサイズであり、前記第2の
命令では、当該データ形式に従って当該配置アドレス、
当該サイズの前記データを読み出す請求項1記載の電子
計算機の制御方法。 3.前記第2の配置情報は、前記複数のタスク管理テー
ブル各々について、先頭アドレス、1ケースのテーブル
サイズ、総ケース数、及び前記第1の制御テーブルの先
頭アドレスである請求項1記載の電子計算機の制御方
法。 4.前記主メモリの固定アドレス領域に前記第2の制御
テーブルの先頭アドレスを記憶するとともに、前記第1
の命令では、前記固定アドレス領域の先頭アドレスをさ
らに用いて、前記指定したタクス管理テーブルの対応す
るケースの先頭アドレスを得る請求項3記載の電子計算
機の制御方法。 5.前記第1の制御テーブルは、複数種の前記データフ
ィールド構成毎に複数個記憶されるとともに、前記演算
処理装置は、システムジェネレーション時にその時のシ
ステム形態に応じて前記複数のデータフィールド構成の
うち1を選択し、選択されたデータフィールド構成に対
応して前記第2の制御テーブルの内容を設定する請求項
1記載の電子計算機の制御方法。
[Claims] 1. In a computer control method for storing a plurality of tasks, which are units of work generated from a user program, in a main memory and operating the tasks on an arithmetic processing unit, a plurality of tasks necessary for controlling each of the tasks are stored. A plurality of task management tables, each of which stores data in a plurality of data fields and has a data field configuration according to the type of the plurality of stored data, are provided in the main memory for each of the plurality of tasks. Storing the identification information of each of the plurality of data as data field information of a virtual data field configuration defined in advance separately from the data field configuration, and for each of the data field information, the relevant data Stores the first allocation information of the data field in each tax management table that stores For each of the first control table and each of the plurality of task management tables, a second control table storing second allocation information of the task management table in the main memory is stored in the main memory, and the calculation is performed. The processing device designates one of the plurality of task management tables and uses the second control table to obtain the second placement information of the designated task management table, and By specifying the specific data field information and using the first control table, the first arrangement information relating to the specific data field information is obtained, and further, by using the second arrangement information, A control method for an electronic computer, characterized by executing a second instruction for reading and writing the corresponding data. 2. The first layout information is a data format, a layout address, and a size of the data field, and the second instruction has the layout address according to the data format,
The method of controlling an electronic computer according to claim 1, wherein the data of the size is read. 3. 2. The computer according to claim 1, wherein the second allocation information is, for each of the plurality of task management tables, a start address, a table size of one case, a total number of cases, and a start address of the first control table. Control method. 4. The first address of the second control table is stored in the fixed address area of the main memory, and the first address is stored.
4. The method of controlling an electronic computer according to claim 3, wherein in the instruction, the start address of the fixed address area is further used to obtain the start address of the corresponding case of the specified tax management table. 5. A plurality of the first control tables are stored for each of a plurality of types of the data field configurations, and the arithmetic processing unit sets one of the plurality of data field configurations according to the system configuration at the time of system generation. 2. The method of controlling an electronic computer according to claim 1, wherein the content of the second control table is set according to the selected data field configuration.
JP13833092A 1992-05-29 1992-05-29 Control method of electronic computer Expired - Lifetime JPH0658640B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13833092A JPH0658640B2 (en) 1992-05-29 1992-05-29 Control method of electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13833092A JPH0658640B2 (en) 1992-05-29 1992-05-29 Control method of electronic computer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP7121482A Division JPS58189741A (en) 1982-04-30 1982-04-30 Virtual control system of task control table

Publications (2)

Publication Number Publication Date
JPH05165656A JPH05165656A (en) 1993-07-02
JPH0658640B2 true JPH0658640B2 (en) 1994-08-03

Family

ID=15219385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13833092A Expired - Lifetime JPH0658640B2 (en) 1992-05-29 1992-05-29 Control method of electronic computer

Country Status (1)

Country Link
JP (1) JPH0658640B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100996576B1 (en) 2003-05-09 2010-11-24 주식회사 탑 엔지니어링 Liquid crystal dispensing system and method of dispensing liquid crystal material using thereof

Also Published As

Publication number Publication date
JPH05165656A (en) 1993-07-02

Similar Documents

Publication Publication Date Title
CA2047696C (en) Method of reading and writing files on non-erasable storage media
JP3041528B2 (en) File system module
EP0474395A2 (en) Data storage hierarchy with shared storage level
JPH0820990B2 (en) Storage management system that spans different file systems
JPH04297934A (en) Data processing system
JPWO2002056179A1 (en) Method for regenerating partition using virtual drive, data processing device, and data storage device
JPH04213129A (en) Memory control system and memory control method
US5113509A (en) Method of changing data on disk
JPH0622015B2 (en) Data processing system control method
JPH0658640B2 (en) Control method of electronic computer
JP3138575B2 (en) File copy transfer method
JPH11120044A (en) Data processor, data processing method, data processing system and recording medium
JPH10161915A (en) Data inheriting method for realizing exclusive control giving priority to subsequent job
JP4624702B2 (en) Virtual tape device control system and control program
JP2856003B2 (en) Asynchronous data input / output method
JPH02151944A (en) Data processor
JPH04148225A (en) System and device for controlling filing access
JPH03214335A (en) Computer system
JPH0474744B2 (en)
JPH0337748A (en) External storage accessing system utilizing main storage
JP2735400B2 (en) Asynchronous I / O control method
JPH04260141A (en) Data shared processor
JPS61276040A (en) File access system
JPH11184753A (en) Hierarchy storage system and method therefor
JPH0789338B2 (en) File processing method on external storage device