JPS6339048A - Executing system for diagnosis program - Google Patents

Executing system for diagnosis program

Info

Publication number
JPS6339048A
JPS6339048A JP61182428A JP18242886A JPS6339048A JP S6339048 A JPS6339048 A JP S6339048A JP 61182428 A JP61182428 A JP 61182428A JP 18242886 A JP18242886 A JP 18242886A JP S6339048 A JPS6339048 A JP S6339048A
Authority
JP
Japan
Prior art keywords
keyboard
data
input
output means
pointer
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
JP61182428A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Hirashima
平島 光裕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61182428A priority Critical patent/JPS6339048A/en
Publication of JPS6339048A publication Critical patent/JPS6339048A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To perform the test of an information processor despite a defect of a keyboard or the absence of the keyboard by providing a means to discriminate whether the keyboard is connected or not to the information processor. CONSTITUTION:A diagnosis program executes an initialization command via a keyboard 6 and a discriminating means 1 acquires the information on connection of the keyboard 6 according to whether or not an answer is received from the keyboard 6. Then the means 1 stores the presence or absence of connection of the keyboard 6 in a keyboard memory part 8 to complete its processing and delivers the control to a switching means 2. The means 2 extracts the data out of the part 8 via the means 1 to discriminate the start of an input/ output device 3 or an output device 4. Then either one of both devices 3 and 4 is started. In a connection mode of the keyboard 6, the data received from the keyboard 6 are stored in a keyboard data memory part 7 and the control is shifted to an executing means 5. While the means 2 starts the means 4 if the keyboard 6 is not connected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置の装置試験の診断プログラムの実
行方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an execution method of a diagnostic program for testing an information processing device.

〔従来の技術〕[Conventional technology]

従来、キーボードを有する装置の診断プログラムは、キ
ーボードの接続状態に無関係に診断プログラムの実行に
際し、操作者によるキーボードからのデータ入力が必ず
必要となっていた。
Conventionally, a diagnostic program for a device having a keyboard always requires an operator to input data from the keyboard when executing the diagnostic program, regardless of the connection state of the keyboard.

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

上述した従来の診断プログラムの実行は、キーボードの
接続状態に無関係に必ず操作者によるキーボードからの
データ入力が必要となっているので、キーボード自体の
不良やキーボードがない場合、診断プログラムが実行で
きず装置のハードウェア機能の試験が実行できない欠点
がある。
Executing the conventional diagnostic program described above always requires the operator to input data from the keyboard, regardless of the keyboard connection status, so if the keyboard itself is defective or there is no keyboard, the diagnostic program cannot be executed. It has the disadvantage that it is not possible to test the hardware functionality of the device.

本発明の目的は、キーボード接続状態を格納することに
よってキーボードが未接続の時でも診断プログラムの実
行を可能とする診断プログラムの実行方式を提供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for executing a diagnostic program that stores the keyboard connection state so that the diagnostic program can be executed even when the keyboard is not connected.

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

本発明の診断プログラム実行方式の横或は、情報処理装
置にキーボードが接続されているか否かを判別する判別
手段と、この判別手段の接続情報を記憶するキーボード
記憶部と、前記接続情報を入力し前記キーボード接続も
しくは未接続の切換情報を出力する切換手段と、この切
換手段の前記キーボード接続の切換情報を入力し前記キ
ーボードからデータを入出力する入出力手段と、この入
出力手段の出力データを格納するキーボードデータ記憶
部と、あらかじめ前記キーボードデータとして格納する
テーブルと、このテーブルの記憶先を示すテーブルボ、
インクを格納するポインタレジスタと、前記切換手段の
前記キーボード未接続の切換情報を入力し前記テーブル
レジスタに格納されているテーブルポインタを入力しこ
のテーブルポインタを基に前記テーブル上の前記キーボ
ードデータを取出し前記入出力手段が格納する前記キー
ボードデータ記憶部に記憶し前記テーブルポインタを更
進する出力手段と、この出力手段または前記入出力手段
により前記キーボードデータがらのデータもしくは前記
テーブルから前記ポインタにより指定し取出したデータ
を基に前記情報処理装置の試験を実行する実行手段とを
含むことを特徴とする。
Next to the diagnostic program execution method of the present invention, a determining means for determining whether or not a keyboard is connected to the information processing apparatus, a keyboard storage section for storing connection information of the determining means, and inputting the connection information. a switching means for outputting switching information of the keyboard connection or non-connection, an input/output means for inputting switching information of the keyboard connection of the switching means and inputting/outputting data from the keyboard, and output data of the input/output means. a keyboard data storage section for storing the keyboard data, a table for storing the keyboard data in advance, and a table board for indicating a storage location of the table;
A pointer register for storing ink and switching information of the switching means for the keyboard not being connected are input, a table pointer stored in the table register is input, and the keyboard data on the table is retrieved based on the table pointer. output means for storing data in the keyboard data storage section stored in the input/output means and advancing the table pointer; The information processing apparatus is characterized in that it includes an execution means for executing a test of the information processing apparatus based on the retrieved data.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図、第2〜6図は
第1図の1〜5の各手段の実行フローチャートである。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIGS. 2 to 6 are execution flowcharts of each means 1 to 5 in FIG. 1.

第1図を参照すると本発明の実施例は、判別手段1、切
替え手段2、入出力手段3、出方手段4、実行手段5、
キーボード6、キーボードデータ記憶部7、キーボード
記憶部8、テーブルレジスタ9、テーブル(キーボード
データ)10がら構成されている。
Referring to FIG. 1, the embodiment of the present invention includes a determining means 1, a switching means 2, an input/output means 3, an output means 4, an execution means 5,
It is composed of a keyboard 6, a keyboard data storage section 7, a keyboard storage section 8, a table register 9, and a table (keyboard data) 10.

次に、本発明について、図面を参照して説明する。Next, the present invention will be explained with reference to the drawings.

まず、診断プログラムは、キーボードに初期化コマンド
を実行しキーボード6がら応答があるがどうかにより、
判別手段1はキーボード接続の情報を入手(第2図ステ
ップ21)し、キーボード接続の有無をキーボード記憶
部8に記憶(第2図ステップ22)し、処理を終了し切
替え手段2に制御を渡す。
First, the diagnostic program executes an initialization command to the keyboard, and depending on whether there is a response from the keyboard 6,
The determining means 1 obtains the information on the keyboard connection (step 21 in FIG. 2), stores the presence or absence of the keyboard connection in the keyboard storage section 8 (step 22 in FIG. 2), completes the process, and passes control to the switching means 2. .

切替え手段2は判別手段1によりキーボード記憶部8に
記憶したデータを取出し、入出力手段3を起動する(第
1図A′)が、出力手段4を起動する(第1図B′)が
を判別(第3図ステップ31)し、入出力手段3か出力
手段4がのどちらが一方を起動する(第3図ステップ3
2)。
The switching means 2 retrieves the data stored in the keyboard storage section 8 by the determining means 1 and activates the input/output means 3 (FIG. 1A'), but does not activate the output means 4 (FIG. 1B'). It is determined whether the input/output means 3 or the output means 4 is activated (step 31 in FIG. 3).
2).

キーボード6が接続された状態(第1図Aに接続)にお
いて、切換手段2により起動をかけられた入出力手段3
は(第1図A′>操作者がキーボード6に入力したデー
タを入手(第3図ステップ41)し、キーボードからの
データをキーボードデータ記憶部7に記憶(第3図ステ
・ツブ42)し、実行手段5に制御を渡す。
When the keyboard 6 is connected (connected to A in FIG. 1), the input/output means 3 is activated by the switching means 2.
(A' in Figure 1) Obtains the data entered by the operator on the keyboard 6 (Step 41 in Figure 3), and stores the data from the keyboard in the keyboard data storage section 7 (Step 42 in Figure 3). , transfers control to the execution means 5.

一方、キーボード6が未接続であった場合(第1図Bに
接続)切換手段2は、出力手段5を起動する(第1図B
’)。起動をかけられた出力手段5は、キーボード6の
データとして予めテーブルレジスタ9に格納されている
テーブルの記憶先を示すテーブルポインタを取出しく第
5図ステ・ツブ51)、その取出したテーブルポインタ
を基にテーブル10上のキーボードデータを入手し、入
手したキーボードデータを入出力手段3が記憶する同じ
キーボードデータ記憶部7に記憶(第5図ステップ53
)する。
On the other hand, if the keyboard 6 is not connected (connected to B in Fig. 1), the switching means 2 activates the output means 5 (B in Fig. 1).
'). The activated output means 5 retrieves the table pointer indicating the storage location of the table stored in advance in the table register 9 as the data of the keyboard 6 (FIG. 5 STEP 51), and outputs the retrieved table pointer. Based on this, the keyboard data on the table 10 is obtained, and the obtained keyboard data is stored in the same keyboard data storage section 7 where the input/output means 3 stores (step 53 in FIG.
)do.

テーブル上のデータを使用したので、次のキーボードデ
ータが記憶されている所にポインタを更新(第5図ステ
ップ54)し、新ポインタをテーブルレジスタ9に記憶
(第5図ステップ55)し、実行手段5に制御を渡す。
Since the data on the table has been used, update the pointer to the location where the next keyboard data is stored (step 54 in Figure 5), store the new pointer in table register 9 (step 55 in Figure 5), and execute Control is passed to means 5.

入出力手段3又は出力手段4から制御を渡された実行手
段5は、キーボードデータ記憶部7に記憶されているキ
ーボード6からのデータか、予めテーブル10に格納さ
れていたデータかを意識せずに、キーボード6からのデ
ータとして、データを取出しく第6図ステップ61)、
そのデータを基に装置の診断を実行して行く(第6図ス
テップ62)。もし、装置試験実行(第6図ステップ6
2)において、複数のキーデータを必要とする時は、切
替え手段2以降の処理を繰返し行い装置の診断を実行し
て行く。
The execution means 5, which has been given control from the input/output means 3 or the output means 4, is unaware of whether the data is from the keyboard 6 stored in the keyboard data storage section 7 or the data stored in the table 10 in advance. In step 61) of FIG. 6, the data is retrieved as data from the keyboard 6.
Based on the data, a diagnosis of the device is performed (step 62 in FIG. 6). If the device test is executed (Step 6 in Figure 6),
In step 2), when a plurality of key data are required, the processing after the switching means 2 is repeated to diagnose the device.

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

以上説明したように本発明は、キーボードが接続されて
いるかの情報を先ず調べ、キーボードが接続されている
時は、操作者によるキーボード入力によって得たデータ
を基に装置のvS@を行ない、キーボードが未接続であ
る時は、操作者の介入なしに予め定めたデータを基に装
置の試験を行う様に、試験プログラムが実行されるので
、キーボードの不良やキーボードがない場合でも、装置
の試験を実行できる効果がある。
As explained above, the present invention first checks the information as to whether a keyboard is connected, and if the keyboard is connected, performs vS@ of the device based on the data obtained from the keyboard input by the operator. is not connected, the test program runs to test the device based on predetermined data without operator intervention, so even if the keyboard is defective or there is no keyboard, the device can be tested. It has the effect of being able to carry out.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図中の判別手段1の詳細フローチャート、第3図は第1
図中の切替え手段2の詳細フローチャート、第4図は第
1図中の入出力手段3の詳細フローチャート、第5図は
第1図中の出力手段4の詳細フローチャート、第6図は
第1図中の実行手段5の詳細フローチャー1・である。 1・・判別手段、2・・・切替え手段、3・・・入出力
手段、4・・・出力手段、5・・・実行手段、6・・・
キーボード、7・・・キーホードデータ記憶部、8・・
・キーボード記憶部、9・・・テーブルボイ〉′夕、1
0・・・テープ代理人弁理士内W  (M)県・パ 〜、−1,ノ゛ 第 プ Pン1
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
Detailed flowchart of determination means 1 in the figure, FIG.
4 is a detailed flowchart of the input/output means 3 in FIG. 1, FIG. 5 is a detailed flowchart of the output means 4 in FIG. 1, and FIG. 6 is a detailed flowchart of the output means 4 in FIG. 1. This is a detailed flowchart 1 of the execution means 5 in the figure. 1... Discrimination means, 2... Switching means, 3... Input/output means, 4... Output means, 5... Execution means, 6...
Keyboard, 7... Keyboard data storage section, 8...
・Keyboard storage section, 9...Table Boy〉'Evening, 1
0... Tape agent patent attorney W (M) Prefecture/Pa~, -1, No. 1 P1

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置にキーボードが接続されているか否かを判
別する判別手段と、この判別手段の接続情報を記憶する
キーボード記憶部と、前記接続情報を入力し前記キーボ
ード接続もしくは未接続の切換情報を出力する切換手段
と、この切換手段の前記キーボード接続の切換情報を入
力し前記キーボードからデータを入出力する入出力手段
と、この入出力手段の出力データを格納するキーボード
データ記憶部と、あらかじめ前記キーボードデータとし
て格納するテーブルと、このテーブルの記憶先を示すテ
ーブルポインタを格納するポインタレジスタと、前記切
換手段の前記キーボード未接続の切換情報を入力し前記
テーブルレジスタに格納されているテーブルポインタを
入力しこのテーブルポインタを基に前記テーブル上の前
記キーボードデータを取出し前記入出力手段が格納する
前記キーボードデータ記憶部に記憶し前記テーブルポイ
ンタを更進する出力手段と、この出力手段または前記入
出力手段により前記キーボードデータからのデータもし
くは前記テーブルから前記ポインタにより指定し取出し
たデータを基に前記情報処理装置の試験を実行する実行
手段とを含むことを特徴とする診断プログラム実行方式
a determining means for determining whether or not a keyboard is connected to the information processing device; a keyboard storage section for storing connection information of the determining means; and inputting the connection information and outputting switching information indicating whether the keyboard is connected or not. an input/output means for inputting switching information of the keyboard connection of the switching means and inputting/outputting data from the keyboard; a keyboard data storage section for storing output data of the input/output means; Input a table to be stored as data, a pointer register to store a table pointer indicating the storage destination of this table, switching information of the switching means for which the keyboard is not connected, and input the table pointer stored in the table register. output means for extracting the keyboard data on the table based on the table pointer, storing it in the keyboard data storage section stored by the input/output means, and advancing the table pointer; A diagnostic program execution method comprising: an execution means for executing a test of the information processing apparatus based on data from the keyboard data or data specified and retrieved from the table by the pointer.
JP61182428A 1986-08-01 1986-08-01 Executing system for diagnosis program Pending JPS6339048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61182428A JPS6339048A (en) 1986-08-01 1986-08-01 Executing system for diagnosis program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61182428A JPS6339048A (en) 1986-08-01 1986-08-01 Executing system for diagnosis program

Publications (1)

Publication Number Publication Date
JPS6339048A true JPS6339048A (en) 1988-02-19

Family

ID=16118102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61182428A Pending JPS6339048A (en) 1986-08-01 1986-08-01 Executing system for diagnosis program

Country Status (1)

Country Link
JP (1) JPS6339048A (en)

Similar Documents

Publication Publication Date Title
JPS6339048A (en) Executing system for diagnosis program
JP2796041B2 (en) I / O device diagnostic method
JPH01155452A (en) System for confirming connection of data processing system
JP2708471B2 (en) Processing device control method
JPS58121459A (en) Service processor of electronic computer
JPH01134539A (en) Trace system for microprogram
JPS59229651A (en) Device for developing system
JPH0472257B2 (en)
JP2000122892A (en) Emulator device
JPH08335212A (en) Program starting method of decentralized computer system
JPH02294740A (en) Inspection system for computer
JPH0328936A (en) Diagnostic test system for information processor
JPH03241436A (en) Testing device and memory writing method for information processor
JPH0358254A (en) Data transfer testing system for channel
JPH04268657A (en) Test and diagnosis system for input/output channel
JPH0196742A (en) On-line test system
JPH01120644A (en) Trace system for microprogram
JPS61170847A (en) Automatic testing equipment of peripheral device
JPH04316140A (en) Program tracing device
JPH02294849A (en) Program debugging system
JPS60171546A (en) Debug system of input and output device
JPS5966716A (en) Sequence program debugging device
JPS62293445A (en) Testing system for input/output device
JPS6276756A (en) Semiconductor device with self-inspecting circuit
JPS61233842A (en) Test system for data processing unit