JPH06149622A - Emulator - Google Patents

Emulator

Info

Publication number
JPH06149622A
JPH06149622A JP4294629A JP29462992A JPH06149622A JP H06149622 A JPH06149622 A JP H06149622A JP 4294629 A JP4294629 A JP 4294629A JP 29462992 A JP29462992 A JP 29462992A JP H06149622 A JPH06149622 A JP H06149622A
Authority
JP
Japan
Prior art keywords
handy terminal
program
function
emulator
file
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
JP4294629A
Other languages
Japanese (ja)
Inventor
Shigeki Sugiyama
茂樹 杉山
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.)
Fujikura Ltd
Original Assignee
Fujikura 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 Fujikura Ltd filed Critical Fujikura Ltd
Priority to JP4294629A priority Critical patent/JPH06149622A/en
Publication of JPH06149622A publication Critical patent/JPH06149622A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain an emulator capable of simulating the status of the display screen of a handy terminal on a developing machine. CONSTITUTION:A source file (sf) is compiled by a compiler CC to generate an object file (of). A reference function library SL and the emulator EM are linked with the object file (of). Thereby various functions inherent in the handy terminal which are called by a source program are filed in an execution file Ef so as to be driven by the developing machine. An application program filed in the execution file Ef is loaded to a main memory in the developing machine to emulate the operation of the handy terminal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、例えば、「ハンディ
ターミナル」と呼ばれる携帯可能なコンピュータ用のア
プリケーションプログラム開発に用いて好適なエミュレ
ータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an emulator suitable for use in developing an application program for a portable computer called a "handy terminal".

【0002】[0002]

【従来の技術】近年、「ハンディターミナル」と呼ばれ
る携帯可能なコンピュータが各種実用化されている。こ
の種のコンピュータは、ポータブルに構成されており、
携行先で種々のデータ処理が可能になるため、様々な分
野で使用されている。図8は、このようなハンディター
ミナル1の外観構成を示す平面図である。ハンディター
ミナル1の操作面には、テンキーやファンクション・キ
ー等から成る操作キー1e1 と、透明タッチパネル1e
2 を有するLCD(液晶表示素子)の表示画面TDとが
備えられる。そして、表示画面TDには、例えば図示の
ように、各種アプリケーションプログラムの選択メニュ
ー表示がなされる。
2. Description of the Related Art In recent years, various portable computers called "handy terminals" have been put into practical use. This type of computer is portable and
It is used in various fields because it enables various data processing at the carrying destination. FIG. 8 is a plan view showing an external configuration of such a handy terminal 1. On the operation surface of the handy terminal 1, operation keys 1e 1 including a numeric keypad and function keys, and a transparent touch panel 1e
A display screen TD of an LCD (liquid crystal display element) having 2 is provided. Then, on the display screen TD, a selection menu of various application programs is displayed as shown in the figure.

【0003】図9は、ハンディターミナル1の電気的構
成を示すブロック図である。この図において、1aはハ
ンディターミナル1の各部を制御するCPUである。1
bは、CPU1aの基本的な動作を制御するオペレーテ
ィングシステムプログラム(以下、これをOSと略す)
が記憶されるROMである。1cは対応業務用のアプリ
ケーションプログラムがロードされると共に、該プログ
ラムのワークエリアとして各種レジスタ値が一時記憶さ
れるRAMである。1dはLCDの表示回路であり、内
部バスを介してCPU1aから供給される各種データ等
を表示する。1eは、操作キー1e1 および透明タッチ
パネル1e2 の操作状態を検出する操作子であり、各操
作に応じた操作子信号を発生する。
FIG. 9 is a block diagram showing an electrical configuration of the handy terminal 1. In this figure, 1a is a CPU that controls each part of the handy terminal 1. 1
b is an operating system program (hereinafter, abbreviated as OS) that controls basic operations of the CPU 1a.
Is a ROM in which is stored. Reference numeral 1c is a RAM in which an application program for the corresponding business is loaded and various register values are temporarily stored as a work area of the program. 1d is a display circuit of the LCD, which displays various data and the like supplied from the CPU 1a via the internal bus. 1e is a operator for detecting the operation state of the operation keys 1e 1 and the transparent touch panel 1e 2, generates operator signals corresponding to each operation.

【0004】1fは、ハンディターミナル1本体の背面
に対し着脱自在に構成されるメモリカードである。この
メモリカード1fには、上述したアプリケーションプロ
グラム、あるいは当該プログラムによって参照される各
種データが記憶される。なお、メモリカード1fに記憶
されるデータは、図示されていない上位コンピュータか
らダウンロードされるものである。1gは、例えば、モ
デム等から構成され、シリアルデータ通信を制御する通
信制御回路である。なお、この図では示されないが、ハ
ンディターミナル1には、携行性が重視されるために、
動作電源として電池が用いられ、この電池は主電池と、
この主電池の交換時におけるバックアップ電源としての
副電池とに分かれている。メモリカード1fにも記憶内
容をバックアップするために、電池が使用されている。
Reference numeral 1f is a memory card which is detachably attached to the back surface of the main body of the handy terminal 1. The memory card 1f stores the above-mentioned application program or various data referred to by the program. The data stored in the memory card 1f is downloaded from a host computer (not shown). Reference numeral 1g is a communication control circuit which is composed of, for example, a modem and controls serial data communication. Although not shown in this figure, the handy terminal 1 emphasizes portability,
A battery is used as the operating power source, and this battery is the main battery and
It is divided into a secondary battery as a backup power source when replacing the main battery. A battery is also used to back up the stored contents in the memory card 1f.

【0005】このような構成によるハンディターミナル
1では、リセットによってダウンロードあるいはメモリ
カードからOSが立ち上がる。なお、ハンディターミナ
ル1は、電源をOFFにしてもリセットがかからない構
成となっており、通常は、次回の電源ON時に、電源O
FFした状態からリスタートするようになっている。そ
して、OSが立ち上がった後に、対応業務用のアプリケ
ーションプログラムがデータ処理を実行する。さらに、
表示画面TDに、図9に示すような選択メニュー画面の
表示がなされている場合には、プログラム名が表示され
ている表示画面TD(透明タッチパネル1e2 )の部分
を触れると、該プログラムが実行されるようになってい
る。
In the handy terminal 1 having such a configuration, the OS is booted from a download or a memory card by resetting. The handy terminal 1 is configured so that it will not be reset even if the power is turned off. Normally, when the power is turned on next time, the power is turned on.
It is designed to restart from the state of FF. Then, after the OS starts up, the corresponding application program for business executes data processing. further,
When a selection menu screen as shown in FIG. 9 is displayed on the display screen TD, the program is executed by touching the display screen TD (transparent touch panel 1e 2 ) where the program name is displayed. It is supposed to be done.

【0006】ところで、ハンディターミナル1で動作す
るアプリケーションプログラムは、「C言語」と呼ばれ
る構造化プログラミング言語で記述される場合が多い。
図10は、「C言語」によるプログラム開発手順を示す
図である。この図に示すように、プログラム開発は、コ
ーディング、コンパイルおよびリンクの各作業からな
り、実機デバッグを経て当該プログラムの動作が検証さ
れる。なお、このコーディング、コンパイルおよびリン
クの各作業は、通常、開発マシン(例えば、パーソナル
コンピュータ)上で行われる。
By the way, an application program operating on the handy terminal 1 is often described in a structured programming language called "C language".
FIG. 10 is a diagram showing a program development procedure in “C language”. As shown in this figure, program development consists of coding, compiling, and linking work, and the operation of the program is verified through actual machine debugging. The coding, compiling, and linking work is usually performed on a development machine (for example, a personal computer).

【0007】コーディングにおいては、予め定められた
システム仕様に基づき、ソースプログラムをC言語で記
述する。このソースプログラムは、ソースファイルsf
として開発マシン上に登録される。ソースファイルsf
は、コンパイラCCの入力ファイルとなる。コンパイラ
CCでは、C言語で記述されたソースプログラムを語彙
解析、構造解析および意味解析し、この結果をリロケー
タブルな中間コードで記述されたオブジェクトプログラ
ムに変換する。このオブジジェクトプログラムは、開発
マシン上でオブジェクトファイルofとして登録され
る。
In coding, a source program is described in C language based on a predetermined system specification. This source program is a source file sf
Is registered on the development machine as. Source file sf
Becomes an input file of the compiler CC. The compiler CC performs a lexical analysis, a structural analysis, and a semantic analysis on a source program described in C language, and converts the result into an object program described by relocatable intermediate code. This object program is registered as an object file of on the development machine.

【0008】リンカLKでは、オブジェクトファイルo
fに対し、標準関数ライブラリSLと、ターミナル専用
関数ライブラリTLとを結合させ、マシン語で記述され
た実行ファイルEfを生成する。ここで、標準関数ライ
ブラリSLは、C言語において定義される各種の制御関
数ルーチンプログラムから構成されている。また、ター
ミナル専用関数ライブラリTLは、ハンディターミナル
1のハードウェア環境で動作するように定義された専用
プログラム群から構成されるものである。
In the linker LK, the object file o
For f, the standard function library SL and the terminal-specific function library TL are combined to generate an execution file Ef described in machine language. Here, the standard function library SL is composed of various control function routine programs defined in C language. The terminal dedicated function library TL is composed of a dedicated program group defined to operate in the hardware environment of the handy terminal 1.

【0009】すなわち、リンカLKでは、オブジェクト
プログラムにおいてコールされる種々のルーチンプログ
ラムや専用プログラムが、上述した各ライブラリSL,
TLから引用され、これらをオブジェクトプログラムに
結合させる。これにより、リロケータブルな中間コード
で記述されたプログラムが実行形式に変換され、実行フ
ァイルEfとして生成される。このようにして生成され
る実行形式のアプリケーションプログラムは、絶対アド
レス上に展開可能な形態となる。
That is, in the linker LK, various routine programs and dedicated programs called in the object program are the above-mentioned libraries SL,
Quoted from TL, these are bound to the object program. As a result, the program described by the relocatable intermediate code is converted into the execution format and is generated as the execution file Ef. The executable application program generated in this manner is in a form that can be expanded on an absolute address.

【0010】次に、実行ファイルEfは、例えば、開発
マシンから通信により、CPU1aにダウンロードDL
される。これにより、ハンディターミナル1上で実機デ
バッグDG1が施される。実機デバッグDG1において
は、予め策定された検査項目に従ってアプリケーション
プログラムの動作を検証する。この実機デバッグDG1
でバグが露見した場合には、ソースプログラムの対応箇
所を修正する。そして、修正されたソースプログラム
は、再びコンパイル、リンク作業を経て実行ファイル化
されて実機デバッグDG1が繰り返される。
Next, the execution file Ef is downloaded DL to the CPU 1a by communication from the development machine, for example.
To be done. As a result, the actual machine debug DG1 is performed on the handy terminal 1. In the actual machine debug DG1, the operation of the application program is verified according to the inspection items that have been established in advance. This real machine debug DG1
If a bug is revealed in, correct the corresponding part of the source program. Then, the modified source program is recompiled and linked to become an execution file, and the actual machine debug DG1 is repeated.

【0011】[0011]

【発明が解決しようとする課題】さて、上述したプログ
ラム開発手順においては、ハンディターミナル1上でバ
グが露見する度毎に、当該バグに対応するソースプログ
ラム部分を修正し、これを再度実行ファイル化してハン
ディターミナル1にダウンロードしなければならない。
このため、実機デバッグDG1には多大な工数が費やさ
れ、結果的に開発コスト上昇を招致するという弊害があ
る。
In the program development procedure described above, every time a bug is revealed on the handy terminal 1, the source program part corresponding to the bug is corrected and converted into an execution file again. Must be downloaded to Handy Terminal 1.
Therefore, a large number of man-hours are spent on the actual machine debug DG1, resulting in an increase in development cost.

【0012】そこで、こうした弊害を解決するには、上
述したコーディング、コンパイル、リンクおよびデバッ
グからなる一連の作業を全て開発マシン上で行い、か
つ、デバッグ作業時には、特に、開発マシン上でハンデ
ィターミナル1の動作状態を全て把握できるようになる
ことが要求される。これを換言すれば、開発マシン上で
アプリケーションプログラムを実行し、ハンディターミ
ナル1の動作をエミュレートできれば、上述した欠点が
解消され、効率の良いプログラム開発が可能になる訳で
ある。
Therefore, in order to solve such an adverse effect, a series of operations including the above-mentioned coding, compiling, linking and debugging are all performed on the development machine, and at the time of debugging, the handy terminal 1 is used especially on the development machine. It is required to be able to comprehend all the operating states of. In other words, if the application program can be executed on the development machine and the operation of the handy terminal 1 can be emulated, the above-mentioned drawbacks can be solved and efficient program development can be performed.

【0013】ところで、ハンディターミナル1では、電
源OFFが、図8における操作キー1e1 の右上端キー
によって行なわれる場合もあれば、アプリケーションプ
ログラムによって行なわれる場合もある。後者には、電
源OFFの専用プログラム(例えば、オートパワーオフ
など)によって自動的に行なわれる場合や、電池の低電
圧状態(ローバッテリ状態)によって発生する異常動作
を防止する必要から、低電圧状態を自ら検出して行なわ
れる場合などがある。
In the handy terminal 1, the power may be turned off by the upper right end key of the operation key 1e 1 in FIG. 8 or by an application program. In the latter case, a low voltage state is required because it is automatically performed by a dedicated program for turning off the power (for example, auto power off), or it is necessary to prevent abnormal operation that occurs due to a low voltage state (low battery state) of the battery. There is a case where it is detected by itself.

【0014】しかしながら、開発マシンに用いられる商
用電源は、電池とは異なり、ローバッテリ状態になるこ
とはないので、開発マシン上では、ハンディターミナル
1のローバッテリ状態における電源OFFを模倣するこ
とができない。このため、従来では、ハンディターミナ
ル1にてローバッテリ状態となるのを待ち、ハンディタ
ーミナル1自身によって動作確認するという方法が採ら
れている。この方法では、所望のときにローバッテリ状
態を発生させることができないので、ハンディターミナ
ル1用のプログラム、特に、ローバッテリ状態になって
動作するプログラムの開発効率は極めて悪い、という問
題があった。
However, unlike the battery, the commercial power source used for the development machine does not enter the low battery state, and therefore the power off of the handy terminal 1 in the low battery state cannot be imitated on the development machine. . Therefore, conventionally, a method has been adopted in which the handy terminal 1 waits for a low battery state and then the handy terminal 1 itself confirms the operation. With this method, the low battery state cannot be generated at a desired time, so there is a problem that the development efficiency of the program for the handy terminal 1, particularly the program that operates in the low battery state, is extremely low.

【0015】この発明は上述した事情に鑑みてなされた
もので、その目的とするところは、開発マシン上で、ハ
ンディターミナル1のローバッテリ状態とともに、電源
ON/OFFの動作をエミュレートすることができるエ
ミュレータを提供することにある。
The present invention has been made in view of the above-described circumstances, and an object thereof is to emulate the power ON / OFF operation together with the low battery state of the handy terminal 1 on the development machine. It is to provide an emulator that can.

【0016】[0016]

【課題を解決するための手段】上記課題を解決するため
にこの発明は、互いにハードウェア構成が異なるコンピ
ュータの内、いずれか一方のコンピュータ用に作成した
プログラムを、他方のコンピュータ上で動作可能にする
エミュレータにおいて、前記プログラムがコールする複
数のルーチンから形成されるライブラリであって、前記
プログラムと同一の引数で定義された各関数ルーチン
が、それぞれ前記他方のコンピュータ側のハードウェア
構成に対応した各機能を模倣する模倣手段と、所定の入
力操作を検出する検出手段とを具備し、前記検出手段に
よって所定の入力操作が検出された場合に、前記模倣手
段が前記一方のコンピュータにおける終了動作を模倣す
ることを特徴としている。
In order to solve the above problems, the present invention enables a program created for any one of computers having different hardware configurations to operate on the other computer. In the emulator, a function routine defined by the same argument as the program, which is a library formed by a plurality of routines called by the program, corresponds to the hardware configuration of the other computer side. It includes imitation means for imitating a function and detection means for detecting a predetermined input operation, and when the detection means detects the predetermined input operation, the imitation means imitates an end operation in the one computer. It is characterized by doing.

【0017】[0017]

【作用】この発明によれば、互いにハードウェア構成が
異なるコンピュータ間において、一方のコンピュータ用
に作成されたプログラムを他方のコンピュータ上で動作
可能にする模倣手段が、検出手段による所定の入力操作
を検出することによって、一方のコンピュータにおける
電源OFF動作を、他方のコンピュータ上で模倣する。
According to the present invention, between computers having different hardware configurations, the mimicking means that enables a program created for one computer to operate on the other computer is used to perform a predetermined input operation by the detecting means. The detection mimics the power-off operation in one computer on the other computer.

【0018】[0018]

【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。図1はこの発明の一実施例を適用したプ
ログラム開発手順の概要を示す図である。この図におい
て、図10に示す各部と共通する部分には、同一の符号
を付し、その説明を省略する。図1に示す手順が図10
に示した従来例と異なる点は、ターミナル専用関数ライ
ブラリTL(図10参照)を後述するエミュレータEM
に置き換え、これにより、開発マシン(パーソナルコン
ピュータ)上でハンディターミナル1用に作成されたア
プリケーションプログラムのデバッグDG2を行うよう
にした点にある。すなわち、この実施例が意図するとこ
ろは、エミュレータEMを用いたことにより、従来必要
とされていた実行ファイルEfのダウンロードDLと、
これに応じてなされるハンディターミナル1上の実機デ
バッグDG1とを省略し、かつ、開発マシン上でハンデ
ィターミナル1のローバッテリ状態をシミュレートする
ようにした点にある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an outline of a program development procedure to which an embodiment of the present invention is applied. In this figure, parts common to the parts shown in FIG. 10 are assigned the same reference numerals and explanations thereof are omitted. The procedure shown in FIG. 1 is shown in FIG.
The difference from the conventional example shown in is that the terminal-dedicated function library TL (see FIG. 10) is an emulator EM described later.
In this way, the debug DG 2 of the application program created for the handy terminal 1 is performed on the development machine (personal computer). In other words, the intention of this embodiment is to use the emulator EM to download the download file Ef of the execution file Ef that has been conventionally required.
The actual machine debug DG1 on the handy terminal 1 which is made in response to this is omitted, and the low battery state of the handy terminal 1 is simulated on the development machine.

【0019】次に、図1のプログラム開発手順を実現す
るエミュレータEMの機能概要について説明する。ま
ず、エミュレータEMは、ハンディターミナル1のハー
ドウェア環境で動作するよう定義された各種関数を、開
発マシンのハードウェア環境で動作するように定義し直
したプログラム群から構成されている。
Next, the functional outline of the emulator EM for realizing the program development procedure of FIG. 1 will be described. First, the emulator EM is made up of a group of programs in which various functions defined to operate in the hardware environment of the handy terminal 1 are redefined to operate in the hardware environment of the development machine.

【0020】エミュレータEMの機能は、図2に示すよ
うに、ターミナル専用関数ライブラリTL(図10参
照)と同一である。つまり、このエミュレータEMで
は、ターミナル専用関数ライブラリTLと同様の引数で
各関数の外部仕様を規定し、かつ、各関数内部は、開発
マシン上でハンディターミナル1の動作をエミュレート
するよう定義し直している。
The function of the emulator EM is the same as that of the terminal-dedicated function library TL (see FIG. 10), as shown in FIG. In other words, in this emulator EM, the external specifications of each function are specified with the same arguments as the terminal dedicated function library TL, and the inside of each function is redefined to emulate the operation of the handy terminal 1 on the development machine. ing.

【0021】図2において、f1はエミュレータ初期化
機能である。このエミュレータ初期化機能f1は、ソー
スプログラムの先頭に「emu_start()」なる
関数が記述されている場合、エミュレータEMの初期設
定を行うものである。したがって、図1に示すように、
オブジェクトファイルofとエミュレータEMとをリン
クさせる場合には、この「emu_start()」な
る関数が必要になる。なお、この関数は、ターミナル専
用関数ライブラリTLとリンクする際には、何等実行に
影響されないものである。したがって、エミュレータ用
に作成されたソースファイルsfは、そのままハンディ
ターミナル1用の実行ファイルに変換可能になる。
In FIG. 2, f1 is an emulator initialization function. The emulator initialization function f1 is for initializing the emulator EM when the function "emu_start ()" is described at the beginning of the source program. Therefore, as shown in FIG.
When linking the object file of and the emulator EM, this function "emu_start ()" is required. Note that this function is not affected by execution when linked with the terminal-specific function library TL. Therefore, the source file sf created for the emulator can be directly converted into the execution file for the handy terminal 1.

【0022】次に、f2は画面表示制御機能である。こ
の画面表示制御機能f2では、ハンディターミナル1用
に定義された各関数、例えば、表示モードの設定、カー
ソル移動、カーソル形状あるいは表示文字のアトリビュ
ート設定等を行う各種の関数を、それぞれ開発マシンの
ハードウェア環境に対応して動作させる機能である。f
3はキー入力制御機能であり、ハンディターミナル1で
なされるタッチパネル入力やテンキー入力を、開発マシ
ン上におけるマウス入力やキー入力に置き換える機能で
ある。f4はエスケープシーケンス制御機能であり、カ
ーソル位置指定、全画面消去あるいはスクロールアップ
/ダウンなどを指定するコード出力関数を、開発マシン
のハードウェア環境に対応して動作させる機能である。
Next, f2 is a screen display control function. In the screen display control function f2, each function defined for the handy terminal 1, for example, various functions for setting a display mode, moving a cursor, setting an attribute of a cursor shape or a display character, etc., is executed by a hardware of a development machine. This is a function that operates according to the wear environment. f
Reference numeral 3 denotes a key input control function, which replaces the touch panel input and ten-key input made by the handy terminal 1 with mouse input and key input on the development machine. f4 is an escape sequence control function, and is a function for operating a code output function for designating a cursor position, erasing the entire screen, scrolling up / down, etc. in correspondence with the hardware environment of the development machine.

【0023】f5は、メインメモリ容量、ドライバ登録
情報、外字登録情報等のシステム情報を取得して出力す
る関数を開発マシンに対応させた機能である。f6は主
電源オフ制御や、ローバッテリ状態検出などの動作を開
発マシン上で表示させる電源制御機能である。f7は、
ハンディターミナル1用に定義されたシリアルデータ通
信制御を、開発マシン上でエミュレートさせる通信制御
機能である。f8はプリンタ制御機能であり、ハンディ
ターミナル1用に定義された印字フォント、改行ピッチ
などを開発マシン上で制御するものである。f9は、エ
ミュレータ終了機能であり、ソースプログラムの最後、
あるいは途中に「emu_exit(n)」なる関数が
記述されている場合、エミュレータEMを終了させる機
能である。
The function f5 corresponds to a development machine with a function for acquiring and outputting system information such as main memory capacity, driver registration information, and external character registration information. f6 is a power supply control function for displaying operations such as main power-off control and low battery state detection on the development machine. f7 is
This is a communication control function that emulates the serial data communication control defined for the handy terminal 1 on the development machine. f8 is a printer control function for controlling the print font, line feed pitch, etc. defined for the handy terminal 1 on the development machine. f9 is an emulator termination function, which is the end of the source program,
Alternatively, when a function "emu_exit (n)" is described in the middle, the function is to terminate the emulator EM.

【0024】次に、上記エミュレータEMを用いたプロ
グラム開発手順と、この手順に基づき作成されたアプリ
ケーションプログラムのエミュレート動作概要と、該エ
ミュレート動作とについてそれぞれ説明する。アプリケ
ーションプログラムを開発する際には、まず、コーディ
ング段階でソースプログラムの先頭に「emu_sta
rt()」なる関数を記述し、かつ、該プログラムの最
後に「emu_exit(n)」なる関数を記述してお
く。そして、図1に示すように、ソースファイルsfを
コンパイルccにかけ、オブジェクトファイルofを生
成する。
Next, a program development procedure using the emulator EM, an outline of an emulation operation of an application program created based on this procedure, and the emulation operation will be described. When developing an application program, first add "emu_sta" to the beginning of the source program at the coding stage.
The function "rt ()" is described, and the function "emu_exit (n)" is described at the end of the program. Then, as shown in FIG. 1, the source file sf is subjected to compilation cc to generate an object file of.

【0025】次に、このオブジェクトファイルofに対
して標準関数ライブラリSLおよびエミュレータEMを
リンクさせる。これにより、ソースプログラムでコール
されるハンディターミナル固有の各種関数が開発マシン
上で動作する形で実行ファイル化される。実行ファイル
化されたアプリケーションプログラムは、開発マシンの
主メモリ上にロードされてハンディターミナル1の動作
をエミュレートする。
Next, the standard function library SL and the emulator EM are linked to this object file of. As a result, various functions peculiar to the handy terminal that are called by the source program are converted into an executable file so that they will run on the development machine. The application file in the form of an executable file is loaded on the main memory of the development machine to emulate the operation of the handy terminal 1.

【0026】アプリケーションプログラムのエミュレ
ート動作 上記手順により作成されたアプリケーションプログラム
が起動すると、開発マシンの処理は、図3に示すステッ
プS1に進む。ステップS1では、プログラム先頭に定
義された「emu_start()」なる関数に基づ
き、上述したエミュレータ初期化機能f1が初期設定を
行う。この初期設定とは、ハンディターミナル1の起動
状態をエミュレートするものであり、例えば、バックラ
イトのオン/オフ状態、液晶パネルのコントラスト状態
あるいはスピーカ音量などを設定するものである。
Emulation Operation of Application Program When the application program created by the above procedure is activated, the processing of the development machine proceeds to step S1 shown in FIG. In step S1, the emulator initialization function f1 described above performs initialization based on the function "emu_start ()" defined at the beginning of the program. This initial setting emulates the startup state of the handy terminal 1, and sets, for example, the on / off state of the backlight, the contrast state of the liquid crystal panel, or the speaker volume.

【0027】こうして開発マシン上でハンディターミナ
ル1の初期状態がエミュレートされると、例えば、図4
に示すように、ディスプレイDSPには、ハンディター
ミナルの各種エミュレート状態が表示される。この図に
示すように、ディスプレイDSPは、表示エリアE1、
E2、E3に3分割されており、この内の表示エリアE
1には表示画面TDと同一の表示がなされる。さらに、
表示エリアE2には、ハンディターミナル1のタッチパ
ネルの分割状態が表示され、表示エリアE3には、ハン
ディターミナル1の動作状態が表示される。
Thus, when the initial state of the handy terminal 1 is emulated on the development machine, for example, as shown in FIG.
As shown in, various emulation states of the handy terminal are displayed on the display DSP. As shown in this figure, the display DSP has a display area E1,
The display area E is divided into three parts, E2 and E3.
1 has the same display as the display screen TD. further,
The display area E2 displays the split state of the touch panel of the handy terminal 1, and the display area E3 displays the operating state of the handy terminal 1.

【0028】次いで、このような初期設定がなされる
と、開発マシンの処理はステップS2に進む。ステップ
S2では、与えられたイベントに応じてアプリケーショ
ンプログラムが各関数を実行する。このステップS2に
おいては、ハンディターミナル1のタッチパネル入力を
マウス入力するようキー入力制御機能f3が動作してお
り、これに対応してマウスカーソルを移動させる割込処
理が実行される。
Next, when such initial settings are made, the processing of the development machine proceeds to step S2. In step S2, the application program executes each function according to the given event. In step S2, the key input control function f3 is operated to input the touch panel input of the handy terminal 1 with the mouse, and the interrupt process for moving the mouse cursor is executed correspondingly.

【0029】したがって、図4に示すように、実際のタ
ッチパネルをエミュレートした表示エリアE1上の所定
位置をクリックしてマウス入力を行なうと、この入力イ
ベントに対応したアプリケーションプログラムを開発マ
シンは実行し、該プログラム中で定義された関数が実行
される。これにより、ハンディターミナル1の動作が開
発マシン上でエミュレートされる。例えば、マウスカー
ソルMCが、図4に示すように、表示エリアE1上の
「印刷」の表示に置かれ、マウスクリックがなされる
と、該「印刷」処理が該開発マシン上でエミュレートさ
れる。
Therefore, as shown in FIG. 4, when a mouse is input by clicking a predetermined position on the display area E1 emulating an actual touch panel, the development machine executes the application program corresponding to this input event. , The function defined in the program is executed. This emulates the operation of the handy terminal 1 on the development machine. For example, when the mouse cursor MC is placed on the display of "print" in the display area E1 as shown in FIG. 4 and the mouse is clicked, the "print" process is emulated on the development machine. .

【0030】このように各種処理がエミュレートされ、
後述するように電源OFF処理ルーチンが起動され、リ
スタート指定がなされていない場合には、プログラム最
後に定義された「emu_exit(n)」なる関数に
基づき、エミュレート動作が終了する。
In this way, various processes are emulated,
As will be described later, when the power OFF processing routine is started and the restart is not designated, the emulation operation ends based on the function "emu_exit (n)" defined at the end of the program.

【0031】次に、図5を参照し、上記ステップS2に
おいてなされる実行される関数の1つである、ローバッ
テリ状態発生処理について説明する。なお、この動作説
明においては、前述したキー入力制御機能f3が起動さ
れてキー入力可能状態にあり、かつ、この機能f3がキ
ーバッファにセットされた文字列を、後述するローバッ
テリ状態発生ルーチンに引き渡すものとする。ここで、
ステップS2においてアプリケーションプログラムがキ
ー入力状態にある場合、図5に示すローバッテリ状態発
生ルーチンが、割込処理によって所定周期毎に起動さ
れ、キー入力状態をつねにチェックしている。
Next, with reference to FIG. 5, the low battery state generation processing, which is one of the functions executed in step S2, will be described. In the explanation of this operation, the key input control function f3 described above is activated and is ready for key input, and the character string in which this function f3 is set in the key buffer is passed to the low battery state generation routine described later. Shall be handed over. here,
When the application program is in the key input state in step S2, the low battery state generation routine shown in FIG. 5 is activated by the interrupt process at every predetermined cycle and always checks the key input state.

【0032】まず、ステップSP1では、現時点におい
て、キーバッファにデータが有るか否かが判別される。
データが存在しないときには、すなわち、なんらキー操
作がなされていない場合には、判別結果が「NO」とな
って、このルーチンにおける以後の処理が実行されるこ
となく、処理は直ちに終了する一方、データが存在する
ときには判別結果が「YES」となって、処理はステッ
プSP2に進み、キーバッファ内のデータがスキャンさ
れ、さらに、ステップSP3に進んで、スキャンされた
データが、ローバッテリ状態を発生すべき旨のキー操作
に相当するものであるか否かが判別される。
First, in step SP1, it is determined whether or not there is data in the key buffer at the present time.
When there is no data, that is, when no key operation is performed, the determination result is “NO”, and the processing immediately ends without executing the subsequent processing in this routine, while the data is processed. Is present, the determination result is “YES”, the process proceeds to step SP2, the data in the key buffer is scanned, and further the process proceeds to step SP3, where the scanned data causes a low battery state. It is determined whether or not the operation corresponds to the key operation to the effect.

【0033】ここで、ローバッテリ状態を発生すべき旨
のキー操作とは、予め決められた特定のキー操作方法を
いうものであり、この実施例では、例えば、「CTR
L」+「O」、「CTRL」+「B」、「CTRL」+
「L」のいずれかに相当している。これらキー操作のう
ち、「CTRL」+「O」は、ハンディターミナル1に
おける主電池のローバッテリ状態をエミュレートする場
合に用いられ、「CTRL」+「L」は、同副電池のロ
ーバッテリ状態をエミュレートする場合に用いられ、ま
た、「CTRL」+「B」は、メモリカード1fのロー
バッテリ状態をエミュレートする場合に用いられる。な
お、「CTRL」+「O」とは、「CTRL」(コント
ロール)キーと「O」キーとを同時に押下する操作を意
味しており、これらの操作は、ハンディターミナル1側
ではサポートされないものが用いられる。
Here, the key operation to generate the low battery state means a predetermined specific key operation method. In this embodiment, for example, "CTR
L ”+“ O ”,“ CTRL ”+“ B ”,“ CTRL ”+
Corresponds to either "L". Among these key operations, “CTRL” + “O” is used to emulate the low battery state of the main battery in the handy terminal 1, and “CTRL” + “L” is the low battery state of the sub battery. , And “CTRL” + “B” are used to emulate the low battery state of the memory card 1f. Note that "CTRL" + "O" means an operation of pressing the "CTRL" (control) key and the "O" key at the same time, and these operations are not supported on the handy terminal 1 side. Used.

【0034】ステップSP3の判別結果が「NO」であ
るならば、処理はステップSP6に進み、ステップSP
2においてスキャンしたデータをキーバッファに戻し、
このデータを他の処理にて用いるべくこのルーチンは終
了する一方、判別結果が「YES」であるならば、処理
はステップSP4に進み、状態フラグLB1〜LB3を
キー操作に対応してそれぞれオンにする。すなわち、押
下されたキーが「CTRL」+「O」であるならば、状
態フラグLB1がオンとなり、「CTRL」+「L」で
あるならば、状態フラグLB2がオンとなり、「CTR
L」+「B」であるならば、状態フラグLB3がオンと
なる。
If the determination result of step SP3 is "NO", the process proceeds to step SP6, and step SP6
Return the scanned data in 2 to the key buffer,
While this routine ends in order to use this data in another process, if the determination result is "YES", the process proceeds to step SP4 to turn on the state flags LB1 to LB3 in response to the key operation. To do. That is, if the pressed key is "CTRL" + "O", the state flag LB1 is turned on, and if it is "CTRL" + "L", the state flag LB2 is turned on, and "CTR" is turned on.
If "L" + "B", the state flag LB3 is turned on.

【0035】そして、図4に示す表示エリアE3の「電
源状態」の状態表示が「正常」からキー操作に対応する
「LB1」、「LB2」、「LB3」の内のいずれかに
変更され、ローバッテリ状態をエミュレートしている旨
の表示がなされて、このルーチンは終了する。このよう
に、ローバッテリ状態発生ルーチンでは、図3における
ステップS2のキー入力可能状態においてなされた所定
のキー操作に応じて、状態フラグLB1〜LB3のいず
れかがオンとなり、これに対応して、表示エリアE3に
該状態フラグの状態が表示される。
Then, the status display of the "power status" in the display area E3 shown in FIG. 4 is changed from "normal" to any of "LB1", "LB2", and "LB3" corresponding to the key operation, The display indicates that the low battery state is being emulated, and this routine ends. As described above, in the low battery state generation routine, any of the state flags LB1 to LB3 is turned on in response to a predetermined key operation performed in the key input enabled state of step S2 in FIG. 3, and correspondingly, The state of the state flag is displayed in the display area E3.

【0036】次に、図6を参照し、上記ルーチンで設定
された状態フラグLB1〜LB3を用いる関数例につい
て説明する。図7に示すルーチンはローバッテリ状態取
得関数の一例であり、所定のキー操作あるいは割込処理
によって実行される。まず、このルーチンが起動する
と、ステップSB1において、図5に示すルーチンによ
って設定された状態フラグLB1〜LB3が読み出さ
れ、ステップSB2において、この読み出したフラグの
内容が操作者に返される。このような関数を電源制御機
能f6(図3参照)が、開発マシンに対応させて動作さ
せることによって、ローバッテリ状態検出などの動作を
開発マシン上で表示することができる。これによって、
従来、直接的に動作状態を検証できなかったり、目視で
確認することができなかった、ローバッテリ状態におけ
るハンディターミナル1の動作が開発マシン上で一目瞭
然となる。
Next, an example of a function using the state flags LB1 to LB3 set in the above routine will be described with reference to FIG. The routine shown in FIG. 7 is an example of a low battery state acquisition function, and is executed by a predetermined key operation or interrupt processing. First, when this routine is started, the state flags LB1 to LB3 set by the routine shown in FIG. 5 are read in step SB1, and the contents of the read flags are returned to the operator in step SB2. When the power supply control function f6 (see FIG. 3) operates such a function corresponding to the development machine, operations such as low battery state detection can be displayed on the development machine. by this,
Conventionally, the operation state of the handy terminal 1 in a low battery state, which cannot be directly verified or visually confirmed, becomes apparent on the development machine.

【0037】また、上記状態フラグLB1がオンとなる
と、電源をOFFするというアプリケーションプログラ
ムを作成した場合、図7に示す電源OFF処理ルーチン
が実行される。まず、このルーチンが実行されると、処
理はステップSC1に進み、表示エリアE1に「電源が
OFFされました」という表示がなされる。続いて、ス
テップSC2において、この操作がリスタート指定であ
るか否かが判別される。ここで、リスタート指定とは、
この操作直前における状態から直ちにプログラムを再開
させる機能、いわゆるレジューム機能の指定をいう。こ
の指定がなされていない場合には、判別結果が「NO」
となり、処理は後述するステップSC5に進む一方、リ
スタート指定がなされている場合には、判別結果が「Y
ES」となり、処理は次のステップSC3に進む。
When the state flag LB1 is turned on, if an application program for turning off the power is created, the power off processing routine shown in FIG. 7 is executed. First, when this routine is executed, the process proceeds to step SC1, and the display area E1 displays "Power is turned off". Then, in step SC2, it is determined whether or not this operation is a restart designation. Here, the restart designation is
This is the designation of a function to resume the program immediately from the state immediately before this operation, that is, a so-called resume function. If this designation is not made, the determination result is "NO".
Therefore, while the process proceeds to step SC5 described later, if the restart is designated, the determination result is "Y.
ES ”, and the process proceeds to the next step SC3.

【0038】次に、ステップSC3では、表示エリアE
1に「スペースキーでエミュレーションに戻ります」と
いう表示が行なわれ、この状態において、次のステップ
SC4において、スペースキーの入力があるか否かの検
出が行なわれる。このとき、該スペースキーの入力がな
い場合には、判別結果が「NO」となり、処理は再びス
テップSC4に戻る一方、該スペースキーの入力があっ
た場合には、判別結果が「YES」となって、このルー
チンは終了して、ステップS2(図3参照)の処理が再
び行なわれる。この結果、リスタートの指定がなされて
いて、この電源OFFルーチンが起動した場合には、図
3に示すステップS2における各関数の実行が一時中断
されるようになっている。
Next, in step SC3, the display area E is displayed.
The message "Return to emulation with space key" is displayed in 1, and in this state, in the next step SC4, it is detected whether or not there is a space key input. At this time, if the space key is not input, the determination result is “NO”, and the process returns to step SC4, while if the space key is input, the determination result is “YES”. Then, this routine ends, and the process of step S2 (see FIG. 3) is performed again. As a result, when the restart is designated and the power OFF routine is activated, the execution of each function in step S2 shown in FIG. 3 is suspended.

【0039】一方、ステップSC2において、リスター
ト指定がなされていない場合には、判別結果が「NO」
となり、処理はステップSC5に進み、表示エリアE1
に「スペースキーで終了します」という表示が行なわ
れ、この状態において、次のステップSC6において、
スペースキーの入力があるか否かの検出が行なわれる。
このとき、該スペースキーの入力がない場合には、判別
結果が「NO」となり、処理は再びステップSC4に戻
って、該スペースキーの入力があるまで、処理が循環す
る。そして、該スペースキーの入力があると、判別結果
が「YES」となって、この電源OFF処理ルーチが終
了するとともに、ステップS2(図3参照)における各
関数の実行も終了して、このエミュレート動作が終了す
る。
On the other hand, in step SC2, when the restart is not designated, the determination result is "NO".
Then, the process proceeds to step SC5 to display area E1.
Is displayed on the screen, "End with space key" is displayed. In this state, in the next step SC6,
It is detected whether or not there is a space key input.
At this time, if the space key is not input, the determination result is “NO”, the process returns to step SC4, and the process is cycled until the space key is input. Then, when the space key is input, the determination result is “YES”, the power OFF processing routine is ended, and the execution of each function in step S2 (see FIG. 3) is also ended. The rate operation ends.

【0040】このように、電源をOFFするアプリケー
ションプログラムを作成した場合に、状態フラグLB1
がオンとなると、電源OFFをエミュレートする旨の関
数の実行がなされて、「電源がOFFされました」とい
う表示が行われる。この後、リスタート指定に応じて、
電源OFFがエミュレートされる。この際に、リスター
ト指定がなされている場合には、スペースキーの入力が
あるまで、処理が中断されて、開発マシン上でハンディ
ターミナルの電源OFF動作がエミュレートされる一
方、リスタート指定がなされていない場合には、スペー
スキーの入力によって、開発マシン上でのハンディター
ミナルのエミュレート動作が終了させられる。
In this way, when the application program for turning off the power is created, the status flag LB1
When is turned on, a function for emulating power off is executed, and a message "power is turned off" is displayed. After this, depending on the restart designation,
Power off is emulated. At this time, if restart is specified, the process is interrupted until the space key is input, and the power-off operation of the handy terminal on the development machine is emulated, while restart is specified. If not, the space key input terminates the emulation operation of the handy terminal on the development machine.

【0041】このように、エミュレータEMは、ハンデ
ィターミナル1のハードウェア環境に対応させた専用関
数ライブラリTLと同一の引数を備え、かつ各専用関数
の機能f1〜f9を開発マシンのハードウェア環境に対
応させている。このため、ソースプログラムにエミュレ
ータEMをリンクして、生成した実行ファイルEfを開
発マシンにロードすれば、該開発マシン上でハンディタ
ーミナル1の動作がエミュレートされることになる。さ
らに、このエミュレート動作では、ハンディターミナル
1の動作状態がディスプレイDSPに逐一表示されるた
ので、アプリケーションプログラムのデバッグ作業が極
めて効率良く行える。
In this way, the emulator EM has the same arguments as the dedicated function library TL corresponding to the hardware environment of the handy terminal 1, and the functions f1 to f9 of each dedicated function are set in the hardware environment of the development machine. Corresponding. Therefore, when the emulator EM is linked to the source program and the generated execution file Ef is loaded on the development machine, the operation of the handy terminal 1 is emulated on the development machine. Further, in this emulation operation, the operating state of the handy terminal 1 is displayed on the display DSP step by step, so that the debugging work of the application program can be performed very efficiently.

【0042】また、上記実施例によれば、エミュレータ
用に開発したソースプログラムがそのままハンディター
ミナル用のソースファイルとなり、完全互換性を備える
ので、プログラム開発がすべて同一のマシン上で行なう
ことが可能になる。この結果、従来必要とされる実行フ
ァイルEfのダウンロードDLと、これに応じてなされ
る実機デバッグDG1とが省略することができる。さら
に、開発マシンでは、通常では有り得ないローバッテリ
状態を、所定の操作でいつでも、エミュレートすること
が可能となる。これらによって、極めて効率の良いプロ
グラム開発が可能となる。これによって、開発マシン上
で、ハンディターミナル1における電源オフ動作を模倣
することができ、ハンディターミナル1の動作が開発マ
シン上で一目瞭然となる。
Further, according to the above-mentioned embodiment, the source program developed for the emulator becomes the source file for the handy terminal as it is, and it has complete compatibility. Therefore, all the program development can be performed on the same machine. Become. As a result, it is possible to omit the download DL of the execution file Ef, which is conventionally required, and the actual machine debug DG1 that is performed in response to the download DL. Furthermore, in the development machine, it is possible to emulate a low battery state, which is not normally possible, by a predetermined operation at any time. These enable extremely efficient program development. As a result, the power-off operation in the handy terminal 1 can be imitated on the development machine, and the operation of the handy terminal 1 becomes obvious on the development machine.

【0043】また、エミュレータEMは、ハンディター
ミナル1のハードウェア環境に対応させた専用関数ライ
ブラリTLと同一の引数を備え、かつ各専用関数の機能
f1〜f9を開発マシン(パーソナルコンピュータ)の
ハードウェア環境に対応させている。このため、ソース
プログラムにエミュレータEMをリンクして、生成した
実行ファイルEfをパーソナルコンピュータにロードす
れば、該コンピュータ上でハンディターミナル1の動作
がエミュレートされることになる。さらに、このエミュ
レート動作では、ハンディターミナル1の動作状態がデ
ィスプレイDSPに逐一表示されるたので、アプリケー
ションプログラムのデバッグ作業が極めて効率良く行え
る。
The emulator EM has the same arguments as the dedicated function library TL corresponding to the hardware environment of the handy terminal 1 and has the functions f1 to f9 of each dedicated function as hardware of the development machine (personal computer). It corresponds to the environment. Therefore, when the emulator EM is linked to the source program and the generated execution file Ef is loaded on the personal computer, the operation of the handy terminal 1 is emulated on the computer. Further, in this emulation operation, the operating state of the handy terminal 1 is displayed on the display DSP step by step, so that the debugging work of the application program can be performed very efficiently.

【0044】また、上記実施例によれば、エミュレータ
用に開発したソースプログラムがそのままハンディター
ミナル用のソースファイルとなり、完全互換性を備える
ので、プログラム開発がすべて同一のマシン上で行なう
ことが可能になる。この結果、従来必要とされる実行フ
ァイルEfのダウンロードDLと、これに応じてなされ
る実機デバッグDG1とが省略することができる。さら
に、パーソナルコンピュータでは、通常では有り得ない
ローバッテリ状態を、所定の操作でいつでも、エミュレ
ートすることが可能となる。これらによって、極めて効
率の良いプログラム開発が可能となる。
Further, according to the above embodiment, the source program developed for the emulator becomes the source file for the handy terminal as it is, and it has complete compatibility, so that the program development can be performed on the same machine. Become. As a result, it is possible to omit the download DL of the execution file Ef, which is conventionally required, and the actual machine debug DG1 that is performed in response to the download DL. Furthermore, in a personal computer, it is possible to emulate a low battery state, which is not normally possible, at any time by a predetermined operation. These enable extremely efficient program development.

【0045】[0045]

【発明の効果】以上説明したように、この発明によれ
ば、一方のコンピュータ用に作成したプログラムと同一
の引数で定義された各関数ルーチンから構成される模倣
手段が、予め一方のコンピュータの仕様に合わせて作成
された専用の関数に基づいて動作するので、一方のコン
ピュータ上で他方のコンピュータの動作をエミュレート
することができる。
As described above, according to the present invention, the mimicking means composed of each function routine defined with the same arguments as the program created for one computer is preliminarily specified for one computer. Since it operates based on a dedicated function created in accordance with, it is possible to emulate the operation of the other computer on one computer.

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

【図1】 この発明の一実施例を適用したプログラム開
発手順の概要を示す図である。
FIG. 1 is a diagram showing an outline of a program development procedure to which an embodiment of the present invention is applied.

【図2】 同実施例におけるエミュレータEMの機能構
成を示す図である。
FIG. 2 is a diagram showing a functional configuration of an emulator EM in the embodiment.

【図3】 同実施例により作成されたアプリケーション
プログラムの概略動作を示すフローチャートである。
FIG. 3 is a flowchart showing a schematic operation of an application program created by the embodiment.

【図4】 同実施例における表示エリアE1,E2,E
3の表示例を示す図である。
FIG. 4 shows display areas E1, E2, E in the embodiment.
It is a figure which shows the example of a display of 3.

【図5】 同実施例におけるローバッテリ状態発生ルー
チンの動作を示すフローチャートである。
FIG. 5 is a flowchart showing an operation of a low battery state generation routine in the embodiment.

【図6】 同実施例におけるローバッテリ状態取得関数
の動作を示すフローチャートである。
FIG. 6 is a flowchart showing the operation of a low battery state acquisition function in the same example.

【図7】 同実施例における電源OFF処理ルーチンの
動作を示すフローチャートである。
FIG. 7 is a flowchart showing an operation of a power OFF processing routine in the embodiment.

【図8】 ハンディターミナル1の外観構成を示す平面
図である。
FIG. 8 is a plan view showing an external configuration of the handy terminal 1.

【図9】 ハンディターミナル1の電気的構成の一例を
示すブロック図である。
FIG. 9 is a block diagram showing an example of an electrical configuration of the handy terminal 1.

【図10】 従来のプログラム開発手順を説明するため
の図である。
FIG. 10 is a diagram for explaining a conventional program development procedure.

【符号の説明】[Explanation of symbols]

sf……ソースファイル、cc……コンパイル、of…
…オブジェクトファイル、LK……リンカ、EM……エ
ミュレータ(模倣手段)、SL……標準関数ライブラ
リ、Ef……実行ファイル。
sf ... source file, cc ... compile, of ...
... object file, LK ... linker, EM ... emulator (mimicking means), SL ... standard function library, Ef ... execution file.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 互いにハードウェア構成が異なるコンピ
ュータの内、いずれか一方のコンピュータ用に作成した
プログラムを、他方のコンピュータ上で動作可能にする
エミュレータにおいて、 前記プログラムがコールする複数のルーチンから形成さ
れるライブラリであって、前記プログラムと同一の引数
で定義された各関数ルーチンが、それぞれ前記他方のコ
ンピュータ側のハードウェア構成に対応した各機能を模
倣する模倣手段と、 所定の入力操作を検出する検出手段とを具備し、 前記検出手段によって所定の入力操作が検出された場合
に、前記模倣手段が前記一方のコンピュータにおける終
了動作を模倣することを特徴とするエミュレータ。
1. An emulator that allows a program created for any one of computers having different hardware configurations to operate on the other computer is formed from a plurality of routines called by the program. Function library defined by the same arguments as the program, and imitating means for imitating each function corresponding to the hardware configuration of the other computer side, and detecting a predetermined input operation. An emulator comprising: a detecting unit, wherein the imitating unit imitates a termination operation in the one computer when a predetermined input operation is detected by the detecting unit.
JP4294629A 1992-11-02 1992-11-02 Emulator Pending JPH06149622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4294629A JPH06149622A (en) 1992-11-02 1992-11-02 Emulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4294629A JPH06149622A (en) 1992-11-02 1992-11-02 Emulator

Publications (1)

Publication Number Publication Date
JPH06149622A true JPH06149622A (en) 1994-05-31

Family

ID=17810236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4294629A Pending JPH06149622A (en) 1992-11-02 1992-11-02 Emulator

Country Status (1)

Country Link
JP (1) JPH06149622A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223577A (en) * 2008-03-14 2009-10-01 Ricoh Co Ltd User interface emulation device and user interface emulation program
JP2019109852A (en) * 2017-12-20 2019-07-04 ヤフー株式会社 Information processing device, information processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223577A (en) * 2008-03-14 2009-10-01 Ricoh Co Ltd User interface emulation device and user interface emulation program
JP2019109852A (en) * 2017-12-20 2019-07-04 ヤフー株式会社 Information processing device, information processing method, and program

Similar Documents

Publication Publication Date Title
JP2795244B2 (en) Program debugging system
US6185728B1 (en) Development system with methods for type-safe delegation of object events to event handlers of other objects
Duncan Advanced MS-DOS Programming
Mahmoud Learning wireless java
JPH06149622A (en) Emulator
JPH08314760A (en) Program development supporting device
JP2938272B2 (en) emulator
JPH06149591A (en) Emulator
JPH06103103A (en) Emulator
JP2939391B2 (en) emulator
JP3100463B2 (en) emulator
JP2939392B2 (en) emulator
JP3330979B2 (en) emulator
JP2939390B2 (en) emulator
JPH06149621A (en) Emulator
JP2959910B2 (en) emulator
CN101097457A (en) Electric wave bell application program development system
KR20020032256A (en) Integrated Embedded System and Method for Realizing thereof
EP1439464A2 (en) Java interface for accessing graphical user interface-based java tools
JPH06103086A (en) Emulator
JPH06103087A (en) Emulator
JP2000187595A (en) Portable information terminal, application execution system for portable information terminal and application executing method for portable information terminal
Burgess C programming tutorial
JP2924080B2 (en) Logic simulation support system
GUIDE intJ