JPS5886645A - Input and output controlling system - Google Patents

Input and output controlling system

Info

Publication number
JPS5886645A
JPS5886645A JP18573381A JP18573381A JPS5886645A JP S5886645 A JPS5886645 A JP S5886645A JP 18573381 A JP18573381 A JP 18573381A JP 18573381 A JP18573381 A JP 18573381A JP S5886645 A JPS5886645 A JP S5886645A
Authority
JP
Japan
Prior art keywords
program
interrupt
input
processing
flip
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.)
Granted
Application number
JP18573381A
Other languages
Japanese (ja)
Other versions
JPH0136126B2 (en
Inventor
Hisashi Nishimoto
西本 久
Masanobu Tsuji
辻 正信
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.)
Usac Electronic Ind Co Ltd
Original Assignee
Usac Electronic Ind Co 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 Usac Electronic Ind Co Ltd filed Critical Usac Electronic Ind Co Ltd
Priority to JP18573381A priority Critical patent/JPS5886645A/en
Publication of JPS5886645A publication Critical patent/JPS5886645A/en
Publication of JPH0136126B2 publication Critical patent/JPH0136126B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To facilitate program control, to reduce program capacity, and to prevent an overrun, by providing a specific interruption level and controlling it by programs with other interruption levels. CONSTITUTION:A microprocessor 1 has interruption levels. In a memory space 2, an interface area 7, FPD (floppy disk) controlling program 8, display controlling program 9, printer controlling program 10, ending processing program 11, and other various programs 12 are stored. In an IO space 3, an FPD controlling register group 13, display controlling register 14, printer controlling register group 15, and flip-flop 16 controllable by a program are stored. The flip-flop 16 is set by interruption processing programs with other interruption levels.

Description

【発明の詳細な説明】 (11発明の技術分野 本発明は、入出力制御方式に係り1%km数の入出力装
置を単一のマイクロプロセッサによシ制御する入出力制
御方式に関するものである。
Detailed Description of the Invention (11) Technical Field of the Invention The present invention relates to an input/output control method, and relates to an input/output control method for controlling 1% km of input/output devices by a single microprocessor. .

(2)  従来技術と問題点 従来の入出力制御方式においては、各入出力装置のデー
タ転送の優先順位に基づいて割当てられ・た割込みレベ
ルで、入出力装置の起動処理やデータ転送処理、#!結
処理、非同期割込み処理を笑行していた。この種の従来
の入出力制御方式においては、上位のプログラムへの終
結報告や非同期割込み報告のための終結処理、非同期割
込み処理が各入出力装置毎に必要となり、ta、制御が
複雑となる欠点があった。さらに、高優先順位の入出力
装置の終結処理中は低優先順位の入出力装置のデータ転
送が実行で良ないため、オーバランが発生する可能性が
大きいという欠点かあった。
(2) Prior art and problems In the conventional input/output control method, the startup process of the input/output device, data transfer process, # ! The termination processing and asynchronous interrupt processing were being performed incorrectly. This type of conventional input/output control method requires completion processing for reporting completion to a higher-level program, reporting asynchronous interrupts, and asynchronous interrupt processing for each input/output device, making the control complex. was there. Furthermore, data transfer for low-priority input/output devices cannot be performed while high-priority input/output devices are being cleaned up, so there is a high possibility that an overrun will occur.

(3)発明の目的 本発明は、上記の欠点を除去するものであって。(3) Purpose of the invention The present invention obviates the above-mentioned drawbacks.

特定の割込みレベルを各入出力装置共通の終結処理や非
同期処理用として使用し、その割込みレベルへの割込み
袈因として他の割込レベルのプログラムによシ制御可能
なりリップ・フロップを設けることによシ、フログラム
制御の単純化およびフ″ログラム容量の減少を実現でき
ると共に、オーバランの発生を防止できるようにし″た
入出力制御方式を提供することを目的としている・ (4)発明の構成 そしてそのため1本発明の入出力制御方式は。
A specific interrupt level is used for finalization processing and asynchronous processing common to each input/output device, and a lip-flop is provided that can be controlled by programs at other interrupt levels as an interrupt source for that interrupt level. It is an object of the present invention to provide an input/output control method that can simplify program control, reduce program capacity, and prevent overruns. (4) Structure of the invention; Therefore, the input/output control method of the present invention is as follows.

複数の割込与レベルを具備したマイクロプロセッサを有
するデータ処理システムにおいて、特定の割込みレベル
の割込み要求信号を生成するフIJツブ・フロップを設
け、当該フリップ・フロッグを他の割込みしづルのプロ
グラムにより制−御できるようにしたことを特徴とする
ものである。
In a data processing system having a microprocessor with multiple interrupt levels, a flip-flop that generates an interrupt request signal of a specific interrupt level is provided, and the flip-flop is used by another interrupt program. It is characterized by being able to be controlled.

(5)発明の実施例 以下1本発明を図面を参照しつつ説明する。(5) Examples of the invention The present invention will be explained below with reference to the drawings.

第1図は本発明の1実施例のノ・−ドウエア構成を示す
図、第2図(イ)、(ロ)は本5#明の1実施例のソフ
トウェア構成の1例を示す図、第3図は従来の入出力処
理を示すタイムチャート、第4図は本発明による入出力
処理を示すタイムチャート、第5−図は本発明の第2実
施例の7・−ドウニア構gを示す図、第6図は本発明の
第2実施例のソフトウェア構成を示す図である。
FIG. 1 is a diagram showing a software configuration of an embodiment of the present invention, FIGS. FIG. 3 is a time chart showing conventional input/output processing, FIG. 4 is a time chart showing input/output processing according to the present invention, and FIG. , FIG. 6 is a diagram showing the software configuration of the second embodiment of the present invention.

第1図において、1はマイクロプロセッサ、2はメモリ
空間、3はIO窒間、4はフロッピィ・ディスク装置、
4はディスプレイ装置、6はプリンタ装置、7けインタ
フェース領域、8uFPD(フロッピィ・ディスク)制
御、プログラム、9けディスプレイ制御プログラム中ム
0け、プリンタ制御プログラム、11け終結処理1プロ
グラム、12は各種プUグラム、J 3FiPPD制御
レジスタ群。
In FIG. 1, 1 is a microprocessor, 2 is a memory space, 3 is an IO unit, 4 is a floppy disk device,
4 is a display device, 6 is a printer device, 7-digit interface area, 8uFPD (floppy disk) control, program, 9-digit display control program, printer control program, 11-digit final processing program, 12 is various programs. U-gram, J 3FiPPD control register group.

14はディスプレイ制御レジスタ、15はプリンタ制御
レジスタ群 ijFPD終結フラグ領域、18はディスプレイ終結フ
ラグ領域、19はプリンタ終結フラグ領域。
14 is a display control register, 15 is a printer control register group ijFPD termination flag area, 18 is a display termination flag area, and 19 is a printer termination flag area.

尤ないしTiは割込み要求信号線をそれぞれ示している
应 and Ti indicate interrupt request signal lines, respectively.

マイクロプロセラ−F1は複数の割込みレベルを有して
いる・メモリ空間2には、インタフェース領域7.PP
I)制御プログラム8.ディスプレイ制御プログラム9
.プリンタ制御プログラム10゜終結処理プログラム1
1およびその他の各種プログラム12が配置されている
。IO空間13には。
The microprocessor F1 has multiple interrupt levels.The memory space 2 includes an interface area 7. PP
I) Control program 8. Display control program 9
.. Printer control program 10゜Final processing program 1
1 and various other programs 12 are arranged. In IO space 13.

FPD制御レジしタ#13.ディスプレイ制御レジスタ
14.プリンタ制御レジスタ群15およびプログラムに
よって制御可能なフリップ・フロラ116が収容されて
いる。FPD制御制御レジスタ群上ディスプレイ制御レ
ジスタ群14お、よびプリンタ制御レジスタ群】5の各
レジスタ、4びにフリップ・フロップにはアドレスが付
されており。
FPD control register #13. Display control register 14. A group of printer control registers 15 and a programmable flip-flop 116 are accommodated. Addresses are assigned to each register of FPD control control register group, display control register group 14, and printer control register group 5, 4, and the flip-flop.

マイクロプロセッサ1はこれらの各種レジスタ】3およ
びフリップ・・フロップをアクセスすることが出来る。
Microprocessor 1 can access these various registers [3] and flip-flops.

FPD制御制御レジスタ群上3ロツブイ・ディスク装置
4を制御するためのものであり。
FPD control control register group upper 3 is for controlling the Rotsubui disk device 4.

ディスプレイ制御レジスタ群14はディスプレイ装置】
5を制御するためのものであり、プリンタmt+御tz
ジスタ群15はプリンタ装置6を制御するxめのもので
ある。マイクロプロセッサ1と複数の割込み要求フリッ
プ・フロップ(図示せず)のそれぞれの間には割込み要
求1号線為ないしTiか設けられている。また、フリッ
プ・フロップ16とマイクロプロセッサ1との間にも割
込み要求1g号線T1か設けられており、スリップ・フ
ロップ16がセットされると、信号線T、上の割込み要
求信号が論理rlJとなる。
The display control register group 14 is a display device]
5, and the printer mt+ control tz
The register group 15 is the xth register that controls the printer device 6. An interrupt request line 1 or Ti is provided between the microprocessor 1 and each of a plurality of interrupt request flip-flops (not shown). An interrupt request line T1 is also provided between the flip-flop 16 and the microprocessor 1, and when the slip-flop 16 is set, the interrupt request signal on the signal line T becomes logic rlJ. .

マイクロプロセッサlは、上記したように複数の割込み
レベルを有している。非割1込みレベルは通常のプログ
ラムの実行レベルである。最下位の割込みレベルは、各
入出力′装置の終結処理や非周期割込み処理のために割
当てられる。その他の割込みレベルは、各人、出力装置
のデータ転送の優先順位に基づいて割当てられている。
Microprocessor l has multiple interrupt levels as described above. The non-interrupt level is the normal program execution level. The lowest interrupt level is assigned for cleaning up each input/output device and handling aperiodic interrupts. Other interrupt levels are assigned based on the data transfer priority of each output device.

また、最下位レベルの割込み忙対する割込み要因として
フリップ・フロップ16が設けられている。このクリッ
プ・フロップ16は、他の割込みレベルの割込み処理プ
ログラムによってセット可能である。
Further, a flip-flop 16 is provided as an interrupt factor for the lowest level interrupt. This clip-flop 16 can be set by an interrupt processing program of another interrupt level.

第2図(イ)、(a)は本発明の1実施例のソフトウェ
ア構成の1例を示すものである1通常のプログラム中の
プリント指令がフェッチされると、プリント制御プログ
ラムの実行が開始される。プリント制御プログラムは下
記のような処理を行う。
Figures 2(a) and 2(a) show an example of the software configuration of one embodiment of the present invention.1 When a print command in a normal program is fetched, execution of the print control program is started. Ru. The print control program performs the following processing.

■ プリンタ動作可能であるか、否かを調べる。■ Check whether the printer is operable or not.

可能であれは■の処理を行い、不可能であれは■の処理
を行う。
If possible, process (■) is performed, and if it is not possible, process (2) is performed.

■ プリント指定をプリンタ装置6に指ボし。■ Write the print specification on the printer device 6.

通常のプログラムにリターンする。Return to normal program.

7’ rtンタ装置6から割込み要求が送られて来ると
7' When an interrupt request is sent from the rt computer device 6.

マイクロプロセッサlはこの割込み要求を受付は得るか
否かを調べ、受付は得る場合はプI)ンタ制御プログラ
ムの中の割込み処理ルーチンを実行する。この割込み処
理ルーチンによって下記のような処理が行われる。
The microprocessor 1 checks whether or not this interrupt request is accepted, and if it is accepted, it executes the interrupt processing routine in the printer control program. This interrupt processing routine performs the following processing.

■ プリント終了か否かを調べる。Yesであれは■の
処置を行い、Noであれは■の処理を行う。
■ Check whether printing has finished. If the answer is Yes, perform the process ``■'', and if the answer is No, perform the process ``■''.

■ 最終データか否η島を調べる*Yesであれは■の
も理を行い、Noであれは■の処理を行う。
■ Check the η island if it is the final data *If Yes, perform the process in ■; if No, perform the process in ■.

■ プリント・データをプリンタ装置6へ転送し、しか
る後に通常のプログラムにリターンする。
■ Transfer the print data to the printer device 6, and then return to the normal program.

■ 最終プリント・データをプリンタ装f6へ転送する
■ Transfer the final print data to printer f6.

■ プリンタ開始を指令し1通常のプログラムにリター
ンする。
■ Command the printer to start and return to the normal program.

■ 終了状態をメモ17 K格納する。■ Store the end status in memo 17K.

■ プリンタ終結フラグ領域19の終結フラグをONと
する。
(2) Turn on the termination flag in the printer termination flag area 19.

0 割込み要求信号りの要因となるフ17ツブ・フロッ
プ16をセットし1通常のプログラムにリターンする。
0 Sets the flip-flop 16 that causes the interrupt request signal; 1 Returns to the normal program.

なお1割込み要求信号ηとは。Furthermore, what is the 1-interrupt request signal η?

割込み要求信号線T1上の信号を意味している。This means the signal on the interrupt request signal line T1.

マイクロプロセッサ1け1割込み要求信号りが論理「1
」となったことを検出すると、これより割込みレベルd
高い割込み要求が存在するか否かを調べ、存在しない場
合には、終結処理プログラムを実行する。終結処理プ日
グラムの実行によって下記のような処理か行われる。
Microprocessor 1 interrupt request signal is logic “1”
”, interrupt level d is detected.
Check to see if there are high interrupt requests, and if not, run a cleanup program. The following processing is performed by executing the cleanup program.

■ 割込み要求信号T1の要因となるスリップ・フロッ
プ】6を0FFVct6゜ ■ デバイス(入出力装置′)毎の終了”フラグをON
[すル11 YesテあれFioの処理を行い、N。
■ Slip-flop that causes interrupt request signal T1] 6 to 0FFVct6゜ ■ Turn on the “end” flag for each device (input/output device)
[Suru 11 Yes, process Fio, then N.

であれにエラー報告を行う。Report any errors.

◎ 該当デバイスの終了フラグを0FF)(する。◎ Set the end flag of the corresponding device to 0FF.

O#x当タデバイス動作終了待ちの几めに侍ちとなりて
いるプログラムを一部させるための準備を行う。
While waiting for the O#x device to complete its operation, preparations are made to include part of the samurai program.

Oall’)デバイスの終了フラグがONであるか。Oall') Is the end flag of the device ON?

否かを調べる。Yesであれば[相]の処理を行い。Find out whether or not. If Yes, process [phase].

心であれは通常のプログラムにリターンする。The mind returns to its normal program.

0 割込み要求信号りの要因となるフリップ・70ツブ
16をONにする。
0 Turn on the flip 70 tube 16, which causes an interrupt request signal.

第3図は従来の入出力処理を示すタイムチセードである
。入出力処理は、起動処理、データ転送および終結処理
の順次で行われる0割込みレベルnの入出力装置に対す
る起動処理を実行しているときに1割込みレベルmから
データ転送の割込み要求が送られて来ると1割込みレベ
ルnの入出力装置に対する起動処理は中断され1割込み
レベルmの入出力装置に対するデータ転送が行われる。
FIG. 3 is a time chart showing conventional input/output processing. Input/output processing is performed in the order of startup processing, data transfer, and termination processing.When a data transfer interrupt request is sent from interrupt level 1 while executing startup processing for an input/output device at interrupt level 0 and n. When this occurs, the activation process for the input/output device of 1 interrupt level n is interrupted, and data transfer to the input/output device of 1 interrupt level m is performed.

割込みレベルmの入出力装置に対する終結処理をこの割
込み要求は直ちに受付けられず、この割込み要求は割込
みレベルmの終結処理が終了するまで待几される。
This interrupt request cannot be immediately accepted for termination processing for the input/output device of interrupt level m, but is deferred until the termination processing of interrupt level m is completed.

第4図は本発明による入出力処理を示すタイムチャート
である。本発明によれば終結処理の一部を最下位の割込
みレベルで実行している。このため最下位割込みレベル
の終結処理の実行中にデータ転送の割込み要求があった
場合、又は最下位割込みレベルの割込み要求とデータ転
送の割込み要求が競合した場合には、直ちにデータ転送
の割込み要求が受付けられ、データ転送が開始される。
FIG. 4 is a time chart showing input/output processing according to the present invention. According to the present invention, part of the finalization process is executed at the lowest interrupt level. Therefore, if a data transfer interrupt request is received while the lowest interrupt level finalization process is being executed, or if there is a conflict between the lowest interrupt level interrupt request and the data transfer interrupt request, the data transfer interrupt request is immediately issued. is accepted and data transfer begins.

第5図は本発明の第2実施例のハードウェア構成奮示す
図であ’)、 jl!6図は本発明の第2実施例のソフ
トウェア構成を示す図である。第5−にシいて、21は
マイク、ログロセッサ、22はメモリ空間、23はIO
空間、24#″tデイスプレイ装置、25はキーボード
、26はインタフェース領域、27はディスプレイ制御
プログラム、28はキーボード制御プログラム、29ハ
各楕プログラム、30はディスプレイ制御レジスタ、3
1線キ一ボード制御レジスタ群、32紘フリツプ・フロ
ップ、33はOR回路s TmとTrdd割込7:要i
r7.号融、34はDSP−KBイ:yタフエース領域
をそれぞれ示している。なお、1)SPはDispla
yの略であり、KBはKeyboardの略である。
FIG. 5 is a diagram showing the hardware configuration of the second embodiment of the present invention. FIG. 6 is a diagram showing the software configuration of the second embodiment of the present invention. In the fifth position, 21 is a microphone, a log processor, 22 is a memory space, and 23 is an IO
space, 24#"t display device, 25 keyboard, 26 interface area, 27 display control program, 28 keyboard control program, 29 each ellipse program, 30 display control register, 3
1-line keyboard control register group, 32 flip-flops, 33 is OR circuit s Tm and Trdd interrupt 7: required i
r7. No. 3 and 34 respectively indicate the DSP-KB i:y Tough Ace area. Note that 1) SP is Displa.
y is an abbreviation, and KB is an abbreviation for Keyboard.

第1実施例と同様に、マイクロプロセッサ21は複数の
割込みレベルを有しており、メモリ空間22にはインタ
フェース領域26.ディスプレイ制御プログラム27.
キーボード制御プログラム28および各種プロンラム2
9などか配置されており、IO空間23にはディスプレ
イ制御レジスタ群3】およびキーボード制御レジスタ群
などが配置されている。ディスプレイ制御レジスタ群3
0はディスプレイ装置24を制御するためのものであり
、キーボード制御レジスタ31は叡−ボード25を制御
するためのものである。ディスプレイ装置に起因する割
込み要求信号′は信号線T nJ: K送出される。O
R回路33の上側入力端子にはキーボード本来の割込み
要因(例えはキー人力による割込み要求信号)が人力さ
れ、OR回路32の下側入力端子KFiフリヴプ・フロ
ップ32の内容カ入力される。OR(ロ)路33の出力
は割込み胃求16号線脂上に送出される。ディスプレイ
装[24とキーボード25との関係は非常に複雑である
。例えは、グログラムによりディスプレイ画面に仮名フ
ィールドを設定しカーソルを仮名フィールドへ位置付け
ると、キーボード25を仮名モードに設定する必要があ
る。仮名モート°になって、オペレータが英字・仮名キ
ーを押下すると、仮名文字が自動的に入力される。即ち
、シフト・キーの操作を省略することが出来る。
As in the first embodiment, the microprocessor 21 has multiple interrupt levels, and the memory space 22 has an interface area 26 . Display control program 27.
Keyboard control program 28 and various programm 2
In the IO space 23, a display control register group 3], a keyboard control register group, etc. are arranged. Display control register group 3
0 is for controlling the display device 24, and the keyboard control register 31 is for controlling the keyboard 25. An interrupt request signal 'caused by the display device is sent out on the signal line TnJ:K. O
An interrupt factor inherent to the keyboard (for example, an interrupt request signal manually generated by a key) is input to the upper input terminal of the R circuit 33, and the contents of the KFi flip flop 32 are input to the lower input terminal of the OR circuit 32. The output of the OR (b) path 33 is sent onto the interrupt line 16. The relationship between the display device [24] and the keyboard 25 is very complicated. For example, when a kana field is set on the display screen using a gramogram and the cursor is positioned in the kana field, it is necessary to set the keyboard 25 to the kana mode. When the operator enters Kana mode and presses the alphabet/kana key, kana characters are automatically input. That is, the operation of the shift key can be omitted.

第6図/fi第2笑施例のン7トゥエア構成を示すもの
である。
FIG. 6/fi shows the configuration of the second embodiment of the second embodiment.

ディスプレイ制御プログラムが実行されると。When the display control program is executed.

下記のような処理が行われる。The following processing is performed.

■ データをディスプレイ画面上に表示する。■ Display the data on the display screen.

■ キーボードのモード設定が必要であるか。■ Is it necessary to set the keyboard mode?

否かを調べる。Yesであれは■の処理を行い。Find out whether or not. If Yes, process ■.

Noであれにエンドとする。なお、エンドはリターンと
同一意味をもつ。
If it's no, it's over. Note that end has the same meaning as return.

■ DSP−KBインタフェース領域にモード設定指定
を行う。
■ Specify the mode setting in the DSP-KB interface area.

■ キーボードの割込み要因となるフリップ・プロップ
32をONとし、しかるfKエンドとする。
■ Turn on the flip-prop 32, which causes a keyboard interrupt, and then set the fK end.

7リツプ・フロップ32がONとなると1割込み要求信
号線−上の割込み要求信号は論理「1」となる。この割
込み要求信号は割込みレベルmをもつものであ8る。割
込みレベルmけ劃込みレベルnよりも優先順位が高い。
When the 7th rip-flop 32 is turned on, the interrupt request signal on the 1st interrupt request signal line becomes logic "1". This interrupt request signal has an interrupt level m8. Interrupt level m has a higher priority than interrupt level n.

マイクロプロセッサ1は割込み要求信号Tmが論理「1
」となると、これより高い割込み要求が存在しないこと
を条件としてキーボード制御プログラムの中の割込み処
理ルーチンを実行する。この割込み処理ルーチンによっ
て下記のような処理か行われる。
The microprocessor 1 has an interrupt request signal Tm of logic "1".
'', the interrupt handling routine in the keyboard control program is executed on the condition that there is no higher interrupt request. This interrupt processing routine performs the following processing.

■ キー人力による割込みか、否か調べる。Yesであ
れは@の処理を行い、Noであれは■の処理を行う。
■ Check whether the key was manually interrupted or not. If Yes, the process of @ is performed, and if the result is No, the process of ■ is performed.

■ 割込み要因のフリップ・フロップ32をOFFにす
る。
■ Turn off the flip-flop 32 that causes the interrupt.

■ DSP−KBインタフェース狽域をIJ−卜する・ ■ DSP−KBインタフェース領域にモード設定の指
定があるか否か調べる。Yesの場合にけ@の処理を行
い、Noであれは■の処理を行う。
■ IJ-view the DSP-KB interface area. ■ Check whether there is a mode setting specification in the DSP-KB interface area. If Yes, perform the @ process, and if No, perform the ■ process.

■ キーモードのモード設定以外の処理を行う。■ Perform processing other than key mode mode settings.

@  DSP−KBインタ→エース領域をクリアし。@ DSP-KB Inter → Clear the ace area.

エンドとする。End.

■ キーモードのモード設定を行い1次に0の処理を行
う。
■ Set the key mode and perform the primary 0 processing.

■ キー人力処理を行い、しかる後にエンドとする。■ Perform key manual processing and then end.

第2実施例によれは1割込みレベルmのキーボード制御
プログラムへのエン) IJが割込要求信号Tmによる
割込みに限られると共に1割込みレベル間の複雑な制御
が解消され、プログラムを単純化する効果′がある。
According to the second embodiment, IJ is limited to interrupts caused by the interrupt request signal Tm, and complicated control between interrupt levels is eliminated, which simplifies the program. ′ is there.

(6)  発明の効果 以上の説明から明ら〃為なように1本発明によれは1割
込みレベル間の複雑な制御が解消されること、並びに制
御の工、ントリが限定されるのでプログラム制御が単純
化訃よび共通化できること等の効果が得られる。さらに
は、従来は高位の優先順位のもとで実行されていた処理
が低位の優先順位のもとで処理することが出来るので、
オーバランを防止することも出来る。
(6) Effects of the Invention As is clear from the above explanation, according to the present invention, complicated control between one interrupt level is eliminated, and the control effort and input are limited, so program control is possible. Effects such as simplification and commonization can be obtained. Furthermore, processes that were previously executed with a high priority can now be processed with a low priority.
It is also possible to prevent overruns.

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

第1図は本発明の1笑施例のハードウェア構成を示す図
、第2図(イ)、(ロ)は本発明の1笑施例のソフトウ
ェア構成の1例を示す図、第3図は従来の入出力処理を
示すタイムチャート、第4図は本発明による入出力処理
を示すタイムチャート、菓5図は本発明の第2実施例の
ハードウェア構成を示す図、第6図は本発明の第2笑施
例のソフトウェア構成を示す図である。 1・・・マイクロプロセッサ、2・・・メモリ空間。 3・・・■0空間、4・・・フロッピィ・ディスク装置
。 5・・・ディスプレイ装置、6・・・プリンタ装置、7
・・・インタフェース領域、8・・・FPD(70ツビ
イ・ディスク)制御プログラム、9・・・ディスプレイ
制御プログラム、10・・・プリンタ制御プログラム。 11・・・終結処理プログラム、12・・・各種プログ
ラム、13・・・F P D III御レジしタ群、1
4・・・ディスプレイ制御レジスタ、15・・・プリン
タ制御レジスタ% 16・・・フリップ・フロ′ツブ、
17・・・FPDi結フラタフラグ領域・・・ディスプ
レイ終結フラグ領域、19・・・プ2ノンタ終結フラグ
領域、T、ないしTi・・・割込み要求信号線%21−
・・・マイクロプロセッサ、22・・・メモリ空間、2
3・・・IO空間、24・・・ディスプレイ装置、25
・・・キーボード、26・・・インタフェース領域、2
7・・・ディスプレイ制御プログラム、28・・・キー
ボード制御プログラム、29・・・各権プログラム、3
0・・・ディスプレイ制御レジスタ、31・・・キーボ
ード制御レジスタ群、32・・・スリップ争フロップ、
33・・・OR回路、TmとTn・・・割込み要求信号
線、34・・・DSP−KBインタフェース領域。 特許出願人 ユーザツク電子工業株式会社鵠人弁理士 
京谷 四 部 外1名 ヤ1図
FIG. 1 is a diagram showing a hardware configuration of a first embodiment of the present invention, FIGS. 2(A) and (B) are diagrams showing an example of a software configuration of a first embodiment of the present invention, and FIG. 4 is a time chart showing conventional input/output processing, FIG. 4 is a time chart showing input/output processing according to the present invention, FIG. 5 is a diagram showing the hardware configuration of the second embodiment of the present invention, and FIG. FIG. 3 is a diagram showing a software configuration of a second embodiment of the invention. 1...Microprocessor, 2...Memory space. 3... ■0 space, 4... Floppy disk device. 5... Display device, 6... Printer device, 7
. . . Interface area, 8 . . FPD (70-tube disk) control program, 9 . DESCRIPTION OF SYMBOLS 11... Final processing program, 12... Various programs, 13... FPD III control register group, 1
4...Display control register, 15...Printer control register% 16...Flip flow'tub,
17...FPDi connection flutter flag area...Display termination flag area, 19...P2 nonta termination flag area, T or Ti...Interrupt request signal line %21-
...Microprocessor, 22...Memory space, 2
3... IO space, 24... Display device, 25
...Keyboard, 26...Interface area, 2
7... Display control program, 28... Keyboard control program, 29... Rights program, 3
0...Display control register, 31...Keyboard control register group, 32...Slip contest flop,
33...OR circuit, Tm and Tn...interrupt request signal line, 34...DSP-KB interface area. Patent applicant: Uzutsuk Electronics Industry Co., Ltd. Kuto, patent attorney
Kyotani 4 parts 1 person and 1 figure

Claims (1)

【特許請求の範囲】[Claims] 複数の割込みレベルを具備したマイクロプロセッサを有
するデータ処理システムにおいテ、特定の割込みレベル
の割込み要求信号を生成するフリップ・フロップを設け
、轟該7リツプ・フロップを他の割込みレベルの10グ
ラムにより制御できるようkしたことを特徴とする入出
力制御方式。
In a data processing system having a microprocessor with multiple interrupt levels, a flip-flop is provided to generate an interrupt request signal for a particular interrupt level, and the seven flip-flops are controlled by the other interrupt level. This is an input/output control method that is characterized by being able to perform the following functions.
JP18573381A 1981-11-18 1981-11-18 Input and output controlling system Granted JPS5886645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18573381A JPS5886645A (en) 1981-11-18 1981-11-18 Input and output controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18573381A JPS5886645A (en) 1981-11-18 1981-11-18 Input and output controlling system

Publications (2)

Publication Number Publication Date
JPS5886645A true JPS5886645A (en) 1983-05-24
JPH0136126B2 JPH0136126B2 (en) 1989-07-28

Family

ID=16175903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18573381A Granted JPS5886645A (en) 1981-11-18 1981-11-18 Input and output controlling system

Country Status (1)

Country Link
JP (1) JPS5886645A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS526435A (en) * 1975-06-30 1977-01-18 Honeywell Inf Systems Interruption processor
JPS533137A (en) * 1976-06-30 1978-01-12 Toshiba Corp Interruption control system
JPS56129931A (en) * 1980-03-17 1981-10-12 Fujitsu Ltd Interruption controlling system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS526435A (en) * 1975-06-30 1977-01-18 Honeywell Inf Systems Interruption processor
JPS533137A (en) * 1976-06-30 1978-01-12 Toshiba Corp Interruption control system
JPS56129931A (en) * 1980-03-17 1981-10-12 Fujitsu Ltd Interruption controlling system

Also Published As

Publication number Publication date
JPH0136126B2 (en) 1989-07-28

Similar Documents

Publication Publication Date Title
US4272819A (en) Inter-subsystem direct transfer system
US4090238A (en) Priority vectored interrupt using direct memory access
JPS646488B2 (en)
JP3093293B2 (en) Information processing device interrupt method
EP0272821B1 (en) Method and apparatus for computation stack recovery in a calculator
US4972312A (en) Multiprocess computer and method for operating same having context switching in response to a peripheral interrupt
US5938745A (en) Arbitrator for modem in a system without shared process space that passes a duplicate handle to a first listening application with matching identification string
US4885714A (en) Calculator having a user-accessible object stack for the uniform application of mathematical functions and logical operations to a multiplicity of object types
JPH03196225A (en) Programmable interrupt controller
JPS5886645A (en) Input and output controlling system
US4740910A (en) Multiprocessor system
EP0059758A1 (en) Numerical control unit
Feinroth et al. Telecommunications using a front-end minicomputer
JP2944093B2 (en) Multiprocessor type information processing device
JPS6148741B2 (en)
Soop DOLL, the on-line measurement system for heavy-liquid bubble-chamber photographs
KR100482316B1 (en) Console server method on operating system and apparatus thereof
Raffi Remote terminal communication with RSX-11M
JPS6335141B2 (en)
JPS58112125A (en) Channel controlling system
JPS60186939A (en) Timer mechanism
JPS61121153A (en) Inter-processor communication control system
JPH0264886A (en) Job processing device with ic card controlling function
JPH0273447A (en) Log-on method for local cpu
JPH03257609A (en) Processor system