JPH03216738A - Data terminal device - Google Patents
Data terminal deviceInfo
- Publication number
- JPH03216738A JPH03216738A JP2012311A JP1231190A JPH03216738A JP H03216738 A JPH03216738 A JP H03216738A JP 2012311 A JP2012311 A JP 2012311A JP 1231190 A JP1231190 A JP 1231190A JP H03216738 A JPH03216738 A JP H03216738A
- Authority
- JP
- Japan
- Prior art keywords
- program
- unloading
- switch unit
- loaded
- loading
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
本発明は、ハンディデータターミナル等のデータ端末装
置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data terminal device such as a handy data terminal.
[従来の技術コ
ハンディデータターミナル等のデータ端末装置の記憶装
置にシステムプログラム等をロードする、データ端末装
置からシステムプログラム等をアンロードする技術とし
て、従来から、外部のパソコンからRS−232Cイン
タフェースを介してロード又はアンロードする、又は、
ハンディデータターミナルに装備されているメモリカー
ドインタフェースを介してメモリカードにロード又はア
ンロードする技術が知られている。[Conventional technology] As a technology for loading system programs, etc. into the storage device of a data terminal device such as a handy data terminal, and unloading a system program, etc. from the data terminal device, the RS-232C interface has been used from an external personal computer. load or unload via, or
A technique is known in which data is loaded onto or unloaded from a memory card via a memory card interface provided in a handy data terminal.
このような従来技術によりシステムプログラム等のプロ
グラムのロードやアンロードを行う場合、全てのプログ
ラムを一括してロード又はアンロードするか、又はロー
ド又はアンロードすべきプログラムのアドレスをオペレ
ータが一々指定することによりメモリ領域等の設定をし
ていた。When loading or unloading programs such as system programs using such conventional technology, all programs are loaded or unloaded at once, or the operator specifies the addresses of the programs to be loaded or unloaded one by one. By doing so, I was setting the memory area, etc.
[発明が解決しようとする課題]
このような従来の技術によると、一部のシステムプログ
ラムだけロードすればよい場合にもプログラム全体をロ
ードして冗長な時間を要してしまう不都合があり、また
一部のシステムプログラムについてアドレス指定により
ロードすべきメモリ領域の設定を行う場合には、誤操作
により対象外領域を更新してしまう恐れがあった。[Problems to be Solved by the Invention] According to such conventional technology, there is a problem in that even when only a part of the system program needs to be loaded, the entire program is loaded, which takes a long time. When setting a memory area to be loaded by specifying an address for some system programs, there is a risk that a non-target area may be updated due to an erroneous operation.
従って本発明の目的は、プログラムのロード又はアンロ
ードを行う場合に、所要時間の短縮化及び操作の簡略化
を図ることのできるデータ端末装置を提供することにあ
る。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a data terminal device that can shorten the time required and simplify operations when loading or unloading a program.
[課題を解決するための手段コ
上述の目的は本発明によれば、プログラムのロード及び
アンロードのうちの一方を指定すると共にロード又はア
ンロードすべきプログラムの種類を任意にあらかじめ指
定可能なシステムスイッチユニットと、該システムスイ
ッチユニットによって指定された種類のプログラムのロ
ード又はアンロードを行うプロセッサとを備えたことに
よって達成される。[Means for Solving the Problems] According to the present invention, the above-mentioned object is to provide a system in which one of loading and unloading of a program can be specified, and the type of program to be loaded or unloaded can be arbitrarily specified in advance. This is achieved by comprising a switch unit and a processor that loads or unloads the type of program specified by the system switch unit.
[作用]
システムスイッチユニットによりプログラムをロードす
るのかあるいはアンロードするのかを指定すると、マイ
クロプロセッサはプログラムのロード時にあっては、そ
のロードされるプログラムの種類をそのシステムスイッ
チユニットから検出して記憶装置の所定のメモリ領域に
、そのプログラムをロードする。プログラムのアンロー
ド時には、システムスイッチユニットに従ってアンロー
ドを行うプログラムの種類を判別し、そのプログラムを
対応する記憶装置内のメモリ領域からアンロードする。[Function] When the system switch unit specifies whether a program is to be loaded or unloaded, the microprocessor detects the type of program to be loaded from the system switch unit and loads it into the storage device. Load the program into a predetermined memory area. When unloading a program, the type of program to be unloaded is determined according to the system switch unit, and the program is unloaded from the corresponding memory area in the storage device.
[実施例] 以下本発明の実施例について図面を用いて説明する。[Example] Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例としてハンディデータターミ
ナルを概略的に示すブロック図である。FIG. 1 is a block diagram schematically showing a handy data terminal as an embodiment of the present invention.
同図において、11は最初にロードされるイニシアルプ
ログラムを備えたイニシアルプログラムロード用ROM
,12は漢字メモリ、13はメモリカードインタフェー
ス14を介してプログラムのロード又はアンロードが必
要時に行われるメモリカード、l5は出力表示用の液晶
ディスプレイである。In the same figure, 11 is an initial program loading ROM equipped with an initial program to be loaded first.
, 12 is a Kanji character memory, 13 is a memory card through which programs are loaded or unloaded when necessary via a memory card interface 14, and l5 is a liquid crystal display for output display.
さらに同図において、l6はメモリ領域にプログラムの
ロード又はアンロードが行われるRAM,l7はキーボ
ード、l8はパックアップバッテリ、19は外部パソコ
ン20からRS−232C用ケーブル2lを介してデー
タやプログラムの入力を行うRS−232Cインタフェ
ース、22はこれらを接続するバス、23は外部パソコ
ン20、メモリカード13等に対してプログラムのロー
ド及びアンロードを制御するプロセッサである。Furthermore, in the same figure, l6 is a RAM in which programs are loaded or unloaded into the memory area, l7 is a keyboard, l8 is a backup battery, and 19 is data and programs that are transferred from an external personal computer 20 to an RS-232C cable 2l. An RS-232C interface performs input, 22 is a bus connecting these, and 23 is a processor that controls loading and unloading of programs to and from the external personal computer 20, memory card 13, and the like.
バス22には、システムスイッチユニット24が接続さ
れている。このシステムスイッチユニット24は、複数
のスイッチを備えており、ロードモード又はアンロード
モードの設定、ロードされるプログラムの種類の設定、
アンロードすべきプログラムの種類の設定等を行う。A system switch unit 24 is connected to the bus 22 . This system switch unit 24 is equipped with a plurality of switches, and includes settings for load mode or unload mode, settings for the type of program to be loaded,
Configure the type of program to be unloaded, etc.
次に、このような構成のハンディデータターミナルの特
にロード及びアンロード処理動作を、第2図のフローチ
ャートに従って説明する。Next, the load and unload processing operations of the handy data terminal having such a configuration will be explained with reference to the flowchart shown in FIG.
まず、ハンディデータターミナルについてプログラムの
ロード又はアンロードを行う場合には、そのシステムス
イッチユニット24の各スイッチをあらかじめ切換え操
作しておく。これにより、プログラムのロード又はアン
ロードの指定、ロード又はアンロードすべきプログラム
の種類の指定が行われる。First, when loading or unloading a program on a handy data terminal, each switch of the system switch unit 24 is switched in advance. This allows designation of loading or unloading of a program and designation of the type of program to be loaded or unloaded.
ハンディデータターミナルの電源が投入されると、ステ
ップSlにおいて、マイクロプロセッサ23はそのシス
テムスイッチユニット24の切換え状態を検出する。次
いで、ステップS2において、この検出したシステムス
イッチユニット24の状態から、ロードモード又はアン
ロードモードのいずれが指定されているかを判定する。When the handy data terminal is powered on, the microprocessor 23 detects the switching state of its system switch unit 24 in step Sl. Next, in step S2, it is determined from the detected state of the system switch unit 24 whether the load mode or the unload mode is designated.
プログラムのロードモードが指定されていると判定した
場合には、ステップS3へ進み、ロードされるプログラ
ムがアプリケーションプログラムか否かをシステムスイ
ッチユニット24の状態から調べる。If it is determined that the program load mode is designated, the process advances to step S3, and it is checked from the state of the system switch unit 24 whether the program to be loaded is an application program.
アプリケーションプログラムである場合には、ステップ
S4へ進んでRAMI6のメモリ領域を設定する。続い
てステップS5において、このメモリ領域へのアプリケ
ーションプログラムのロード処理を行う。If it is an application program, the process advances to step S4 to set the memory area of RAMI6. Subsequently, in step S5, the application program is loaded into this memory area.
このロードを終了した後又はステップS3で、ロードさ
れるプログラムがアプリケーションプログラムでないと
判定された場合は、ステップS6へ進み、ロードされる
プログラムがシステムプログラムか否かをシステムスイ
ッチユニット24の状態から調べる。After this loading is finished, or if it is determined in step S3 that the program to be loaded is not an application program, the process advances to step S6, and it is checked from the state of the system switch unit 24 whether or not the program to be loaded is a system program. .
システムプログラムのロードであると判定された場合は
、ステップS7においてRAM16のメモリ領域の割当
てを行う。続いてステップS8において、このメモリ領
域へのシステムプログラムのロードを行う。If it is determined that the system program is to be loaded, a memory area of the RAM 16 is allocated in step S7. Subsequently, in step S8, the system program is loaded into this memory area.
このロードを終了した後又はステップS6にて、ロード
されるプログラムがシステムプログラムでないと判定さ
れた場合は、ステップS9へ進み、ロードされる対象が
マスタデー夕か否かをシステムスイッチユニット24の
状態から調べる。After finishing this loading or if it is determined in step S6 that the program to be loaded is not a system program, the process advances to step S9, and it is determined from the state of the system switch unit 24 whether or not the target to be loaded is the master data. investigate.
マスタデー夕であると判定された場合は、ステップSI
Gにおいてメモリ領域の割当てを行う。続いてステップ
Sllにおいて、このメモリ領域へのマスタデー夕のロ
ードを行う。これによって、このプログラム処理を終了
する。If it is determined that it is master data evening, step SI
Memory area allocation is performed in G. Subsequently, in step Sll, master data is loaded into this memory area. This ends the program processing.
上述したように、プログラムのロードモードにおいては
、ロードされるプログラムの種類をシステムスイッチユ
ニット24の状態から検出し、この検出されたプログラ
ムをあらかじめ割り当てられたメモリ領域にロードする
。As described above, in the program load mode, the type of program to be loaded is detected from the state of the system switch unit 24, and the detected program is loaded into a pre-allocated memory area.
一方、ステップS2において、検出したシステムスイッ
チユニット24の状態から、プログラムのアンロードモ
ードが指定されていると判定した場合には、ステップ3
12へ進み、アンロードされるプログラムがシステムプ
ログラムであるか否かをシステムスイッチユニット24
の状態から調べる。On the other hand, if it is determined in step S2 that the program unload mode is designated based on the detected state of the system switch unit 24, step S3
12, the system switch unit 24 determines whether the program to be unloaded is a system program.
Check the condition.
システムプログラムである場合は、ステップS13へ進
み、RAM16の所定のメモリ領域よりそのシステムプ
ログラムをアンロードする。If it is a system program, the process advances to step S13 and the system program is unloaded from a predetermined memory area of the RAM 16.
ステップS12にてシステムプログラムのアンロードで
ないと判定された場合は、ステップ814へ進み、アプ
リケーションプログラムのアンロードであるか否かをシ
ステムスイッチユニット24の状態から調べる。If it is determined in step S12 that the system program is not being unloaded, the process advances to step 814, and it is checked from the state of the system switch unit 24 whether or not the application program is being unloaded.
アプリケーションプログラムである場合は、ステップS
15へ進み、RAM16の所定のメモリ領域からそのア
プリケーションプログラムをアンロ−ドする。If it is an application program, step S
15, the application program is unloaded from a predetermined memory area of the RAM 16.
ステップS14にてアプリケーションプログラムのアン
ロードでないと判定された場合は、ステップS16へ進
み、メモリカード13からのアンロードであるか否かを
判定する。If it is determined in step S14 that the application program is not unloaded, the process advances to step S16, and it is determined whether or not the unloading is from the memory card 13.
メモリカードl3からのアンロードであるならば、ステ
ップS17でそのアンロードを実行し、そうでないなら
ばステップ318へ進む。If the unloading is from the memory card l3, the unloading is executed in step S17; otherwise, the process advances to step 318.
ステップS18では、RAM16の全領域についてアン
ロードし、処理を終了する。In step S18, the entire area of the RAM 16 is unloaded, and the process ends.
上述したように、プログラムのアンロードを行う場合に
は、アンロードしようとするプログラムの種類に従って
、システムスイッチユニット24をシステムプログラム
、アプリケーションプログラム、メモリカード、又は全
RAMの各モードに設定するだけで、必要とするメモリ
領域のプログラムのみをアンロードすることができる。As mentioned above, when unloading a program, simply set the system switch unit 24 to system program, application program, memory card, or all RAM mode, depending on the type of program to be unloaded. , you can unload only the program in the memory area you need.
[発明の効果]
以上詳細に説明したように本発明によれば、プログラム
のロード及びアンロードのうちの一方を指定すると共に
ロード又はアンロードすべきプログラムの種類を任意に
あらかじめ指定可能なシステムスイッチユニットと、該
システムスイッチユニットによって指定された種類のプ
ログラムのロード又はアンロードを行うプロセッサとを
備えているため、プログラムのロード又はアンロードを
行う場合に、所要時間の短縮化及び操作の簡略化を図る
ことができる。操作の簡略化が図れることから、アドレ
ス指定時のオペレータの誤操作や対象外領域の更新等を
防止することができる。[Effects of the Invention] As described in detail above, according to the present invention, there is provided a system switch that can specify one of loading and unloading of a program and arbitrarily specify in advance the type of program to be loaded or unloaded. unit and a processor that loads or unloads the type of program specified by the system switch unit, reducing the time required and simplifying operations when loading or unloading programs. can be achieved. Since the operation can be simplified, it is possible to prevent an operator's erroneous operation when specifying an address, update of a non-target area, etc.
第1図は本発明の一実施例によるハンディデータターミ
ナルを示すブロック図、第2図は第1図の実施例におけ
るプログラムのロード及びアンロードの処理手順を示す
フローチャートである。
16・・・・・・RAM,19・・・・・・RS−23
2Cインタフェース、20・・・・・・外部パソコン、
23・・・・・・プロセッサ、24・・・・・・システ
ムスイッチユニット。FIG. 1 is a block diagram showing a handy data terminal according to an embodiment of the present invention, and FIG. 2 is a flowchart showing a procedure for loading and unloading a program in the embodiment of FIG. 16...RAM, 19...RS-23
2C interface, 20...external computer,
23... Processor, 24... System switch unit.
Claims (1)
すると共にロード又はアンロードすべきプログラムの種
類を任意にあらかじめ指定可能なシステムスイッチユニ
ットと、該システムスイッチユニットによって指定され
た種類のプログラムのロード又はアンロードを行うプロ
セッサとを備えたことを特徴とするデータ端末装置。A system switch unit capable of specifying either loading or unloading of a program and arbitrarily specifying the type of program to be loaded or unloaded in advance, and loading or unloading of the program of the type specified by the system switch unit. A data terminal device comprising a processor that performs loading.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012311A JPH03216738A (en) | 1990-01-22 | 1990-01-22 | Data terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012311A JPH03216738A (en) | 1990-01-22 | 1990-01-22 | Data terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03216738A true JPH03216738A (en) | 1991-09-24 |
Family
ID=11801775
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012311A Pending JPH03216738A (en) | 1990-01-22 | 1990-01-22 | Data terminal device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03216738A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6188352A (en) * | 1984-10-05 | 1986-05-06 | Sharp Corp | Initial program load system of data i/o terminal |
| JPS62295155A (en) * | 1986-04-28 | 1987-12-22 | Sanyo Electric Co Ltd | Initial program load system |
| JPS63196963A (en) * | 1987-02-10 | 1988-08-15 | Nec Corp | Program controlling system |
-
1990
- 1990-01-22 JP JP2012311A patent/JPH03216738A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6188352A (en) * | 1984-10-05 | 1986-05-06 | Sharp Corp | Initial program load system of data i/o terminal |
| JPS62295155A (en) * | 1986-04-28 | 1987-12-22 | Sanyo Electric Co Ltd | Initial program load system |
| JPS63196963A (en) * | 1987-02-10 | 1988-08-15 | Nec Corp | Program controlling system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60136833A (en) | Operating system switching method | |
| JPH02156334A (en) | Information processor | |
| US6184904B1 (en) | Central processing unit for a process control system | |
| JPH03216738A (en) | Data terminal device | |
| US6256781B1 (en) | External reset and data transfer method and apparatus for a portable electronic device | |
| JPH02105962A (en) | System starting device | |
| JPH04156615A (en) | System rising system | |
| JPH0452974B2 (en) | ||
| JPS62125444A (en) | Memory shared area control method | |
| KR200264006Y1 (en) | Microcomputer with test circuit | |
| JPS6228842A (en) | Hardware test system | |
| JPH04273531A (en) | Computer having memory card | |
| JPH04191927A (en) | Operating system switching device | |
| JPH05233479A (en) | Panel monitor system | |
| JPS6188352A (en) | Initial program load system of data i/o terminal | |
| JPH0224725A (en) | Electronic computer | |
| EP0381140A2 (en) | Data processing apparatus | |
| JPS6037505B2 (en) | Initial program load method | |
| JPH0659901A (en) | Program loading system | |
| JPS6277660A (en) | Arithmetic device | |
| JPH02292640A (en) | Memory dump extracting system | |
| JPS63282853A (en) | information processing equipment | |
| JPH01224849A (en) | Microcomputer | |
| JPS62278657A (en) | Loading system for operating system | |
| JPH0276036A (en) | Information processor |