JPH07209448A - World clock - Google Patents
World clockInfo
- Publication number
- JPH07209448A JPH07209448A JP6023324A JP2332494A JPH07209448A JP H07209448 A JPH07209448 A JP H07209448A JP 6023324 A JP6023324 A JP 6023324A JP 2332494 A JP2332494 A JP 2332494A JP H07209448 A JPH07209448 A JP H07209448A
- Authority
- JP
- Japan
- Prior art keywords
- place name
- time
- data
- display
- displayed
- 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
- Electric Clocks (AREA)
Abstract
(57)【要約】
【目的】 世界時計において、小さいメモリ容量であっ
ても地域名を書き換えできるようにする。
【構成】 時計回路20と、地名及びこの地名の示す地
域における時刻を表示するディスプレイ41とを設け
る。時差のデータ及び地名のデータのテーブルを有する
ROM32と、書き換え可能なメモリ34とを設ける。
少なくとも1つの地名のデータをメモリ34に書き込む
とともに、テーブルにおいて書き込んだ地名のデータが
対応する位置を、メモリ34に記憶する。時計回路20
の計時する時刻を、時差のデータにより補正してからデ
ィスプレイ41に供給してその補正された時刻を表示す
る。メモリ34に記憶した位置にしたがって、テーブル
あるいはメモリ34から、地名のデータを取り出し、こ
の取りだした地名のデータをディスプレイ41に供給し
てその地名のデータの示す地名を表示する。
(57) [Abstract] [Purpose] In the world clock, it is possible to rewrite the region name even with a small memory capacity. [Structure] A clock circuit 20 and a display 41 for displaying a place name and a time in an area indicated by the place name are provided. A ROM 32 having a table of time difference data and place name data and a rewritable memory 34 are provided.
The data of at least one place name is written in the memory 34, and the position corresponding to the written place name data in the table is stored in the memory 34. Clock circuit 20
The time to be measured is corrected by the time difference data and then supplied to the display 41 to display the corrected time. The place name data is retrieved from the table or the memory 34 according to the position stored in the memory 34, and the place name data thus fetched is supplied to the display 41 to display the place name indicated by the place name data.
Description
【0001】[0001]
【産業上の利用分野】この発明は、世界各地の現地時刻
(地方標準時)を表示できるようにした世界時計に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a world clock capable of displaying local time (local standard time) in various parts of the world.
【0002】[0002]
【従来の技術】短波放送は世界各地で受信することがで
きるので、短波受信機に世界時計が組み込まれていれ
ば、放送局の所在地の現地時刻を知るときや、タイマ受
信(スタンバイ受信)のときなどに、便利である。ある
いは、海外の各国を行き来するビジネスマンが、短波受
信機を携帯するようなとき、世界時計が内蔵されていれ
ば、現地の放送や日本の放送を適切に聴くことができ
る。2. Description of the Related Art Short-wave broadcasting can be received all over the world. Therefore, if a short-wave receiver has a built-in world clock, it can be used when knowing the local time of the location of the broadcasting station or by timer reception (standby reception). It is convenient for occasions. Alternatively, when a business man who travels overseas and abroad carries a shortwave receiver with a built-in world clock, he can properly listen to local broadcasts and Japanese broadcasts.
【0003】そして、その世界時計として、時差の異な
る地域ごとに、その地域を代表する地名が用意され、操
作キーを押すと、その押すごとに、例えば「LONDO
N」、「PARIS」、「CAIRO」、…のように、
その用意されている地名が順に表示され、例えば、「T
OKYO」が表示されたとき、キー操作を終了すると、
以後、この地名「TOKYO」と、その現地時刻とが表
示されるようにした世界時計がある。As the world clock, for each region having a different time difference, a place name representative of the region is prepared. When the operation key is pressed, for example, "LONDO" is pressed each time the operation key is pressed.
"N", "PARIS", "CAIRO", ...
The prepared place names are displayed in order, for example, "T
When "OKYO" is displayed, when you finish the key operation,
After that, there is a world clock in which this place name "TOKYO" and its local time are displayed.
【0004】[0004]
【発明が解決しようとする課題】ところで、上記のよう
な地名は、その地名を示すデータをメモリに用意してお
く必要があるが、その地名データをROMに用意してお
くと、ユーザの希望する地名のない場合を生じ、トラブ
ルを招くことがある。By the way, for the place name as described above, it is necessary to prepare the data indicating the place name in the memory. However, if the place name data is prepared in the ROM, it is desired by the user. There is a case where there is no place name, which may cause trouble.
【0005】例えば、パリ、ベルリン、ローマなどは、
いずれも時差が1時間であるが、地名データとして「P
ARIS」を用意しておくと、受信機(世界時計)をロ
ーマで使用するときでも、地名を「PARIS」に合わ
せる必要があり、これでは、地名の選択を誤って現地時
刻の表示を誤ることがある。また、現地時刻と同時に、
その地名が表示されるようにしている場合には、ローマ
で使用しているのに、「PARIS」が表示されること
になり、不自然あるいは不適切な表示となってしまう。For example, in Paris, Berlin, Rome, etc.
In both cases, the time difference is 1 hour, but as the place name data, "P
If "ARIS" is prepared, even when the receiver (world clock) is used in Rome, it is necessary to match the place name with "PARIS". In this case, the place name is selected incorrectly and the local time is displayed incorrectly. There is. Also, at the same time as the local time,
When the place name is displayed, "PARIS" is displayed even though it is used in Rome, which is unnatural or inappropriate.
【0006】もちろん、ROMにたくさんの地名データ
を用意しておけば、そのようなトラブルを少なくするこ
とができるが、そのためには、大容量のROMが必要に
なり、好ましくない。特に、制御に、1チップマイコン
を使用している場合には、ROMの容量が制限されるの
で、たくさんの地名データを用意することは、無理であ
る。Of course, if a lot of place name data is prepared in the ROM, such troubles can be reduced, but for that purpose, a large capacity ROM is required, which is not preferable. Especially when a one-chip microcomputer is used for control, the capacity of the ROM is limited, so it is impossible to prepare a lot of place name data.
【0007】この発明は、以上のような問題点を解決し
ようとするものである。The present invention is intended to solve the above problems.
【0008】[0008]
【課題を解決するための手段】このため、この発明にお
いては、各部の参照符号を後述の実施例に対応させる
と、時計回路20と、地名及びこの地名の示す地域にお
ける時刻を表示するディスプレイ41と、時差のデータ
TMDF及び地名のデータCTYDのテーブルTDTBLを有するR
OM32と、書き換え可能なメモリ34とを設ける。そ
して、少なくとも1つの地名のデータをメモリ34に書
き込むとともに、テーブルTDTBLにおいて書き込んだ地
名のデータが対応する位置WLDPあるいはLCLPを、メモリ
34に記憶し、時計回路20の計時する時刻を、時差の
データTMDFにより補正してからディスプレイ41に供給
してその補正された時刻を表示するとともに、メモリ3
4に記憶した位置にしたがって、テーブルTDTBLあるい
はメモリ34から、地名のデータを取り出し、この取り
だした地名のデータをディスプレイ41に供給してその
地名のデータの示す地名を表示するようにしたものであ
る。For this reason, in the present invention, when the reference numerals of the respective parts correspond to the embodiments described later, the clock circuit 20 and the display 41 for displaying the place name and the time in the area indicated by the place name. And the time difference data
R with table TDTBL of TMDF and place name data CTYD
An OM 32 and a rewritable memory 34 are provided. Then, at least one place name data is written in the memory 34, and the position WLDP or LCLP corresponding to the place name data written in the table TDTBL is stored in the memory 34, and the time measured by the clock circuit 20 is set as the time difference data. It is corrected by TMDF and then supplied to the display 41 to display the corrected time and the memory 3
According to the position stored in 4, the place name data is taken out from the table TDTBL or the memory 34, and the place name data thus fetched is supplied to the display 41 to display the place name indicated by the place name data. .
【0009】[0009]
【作用】ROM32に用意されている地名のデータが、
見掛け上、書き換えられ、この書き換えられた地名のデ
ータにより、地名が表示される。Function: The data of the place name prepared in the ROM 32 is
The place name is apparently rewritten, and the place name is displayed by the rewritten place name data.
【0010】[0010]
【実施例】図1に示す例においては、世界時計がラジオ
受信機に一体化されている場合である。また、以下の説
明においては、 ローカル時刻:この世界時計を使用する地域の地方標準時(現地時刻) ワールド時刻:任意の別の地域の地方標準時 時 差 :UTC時刻(協定世界時、いわゆるグリニッジ標準時) に対する時差 とする。DESCRIPTION OF THE PREFERRED EMBODIMENTS In the example shown in FIG. 1, a world clock is integrated with a radio receiver. In the following description, local time: local standard time (local time) of the area that uses this world clock world time: local standard time of another arbitrary area: UTC time (Coordinated Universal Time, so-called Greenwich Mean Time) It is the time difference from.
【0011】そして、図1において、10はアンテナ入
力回路からスピーカまでを有する受信回路を示す。この
受信回路10はシンセサイザ方式に構成され、そのPL
L(図示せず)の可変分周回路の分周比を変更すること
により中波放送及び短波放送の放送波信号を選局できる
ようにされている。In FIG. 1, reference numeral 10 denotes a receiving circuit having an antenna input circuit and a speaker. The receiving circuit 10 is constructed in a synthesizer system, and its PL
By changing the frequency division ratio of the variable frequency dividing circuit of L (not shown), it is possible to select the broadcast wave signals of medium-wave broadcasting and short-wave broadcasting.
【0012】また、20は時計回路を示し、この時計回
路20は例えばUTC時刻により計時を行っている。Reference numeral 20 indicates a clock circuit, and this clock circuit 20 keeps time by, for example, UTC time.
【0013】さらに、30はシステムコントロール用の
マイクロコンピュータを示し、31はそのCPU、32
は各種の処理ルーチンが書き込まれているROM、33
はワークエリア用のRAM、34は各種のデータを記憶
するためのメモリで、これらメモリ32〜34はシステ
ムバス39を通じてCPU31に接続されている。Further, 30 is a microcomputer for system control, 31 is its CPU, 32
Is a ROM in which various processing routines are written, 33
Is a work area RAM, 34 is a memory for storing various data, and these memories 32 to 34 are connected to the CPU 31 through a system bus 39.
【0014】この場合、ROM32には、例えば図2に
示す時差テーブルTDTBLが用意される。この時差テーブ
ルTDTBLは、代表的な地域の名前と、その地域における
時差との対応表である。すなわち、図2の例において
は、テーブルTDTBLは、1時間ごとの時差に対応して24
のデータ欄を有し、このデータ欄には「0」〜「23」の
地名番号CNUMが割り当てられている。そして、CNUM=0
〜12の各欄には、時差が0〜+12時間であることを示す
時差データTMDFがそれぞれ用意されるとともに、CNUM=
13〜23の各欄には、時差が−11〜−1時間であることを
示す時差データTMDFがそれぞれ用意されている。さら
に、CNUM=0〜23の各欄には、その欄の時差が該当する
代表的な地域を示す地名データCTYDも用意されている。In this case, the time difference table TDTBL shown in FIG. 2, for example, is prepared in the ROM 32. The time difference table TDTBL is a correspondence table between the names of representative areas and the time differences in the areas. That is, in the example of FIG. 2, the table TDTBL corresponds to the time difference of every 24 hours.
Data field, and the place name number CNUM of "0" to "23" is assigned to this data field. And CNUM = 0
In each column of ~ 12, time difference data TMDF indicating that the time difference is 0 to +12 hours is prepared, and CNUM =
In each of columns 13 to 23, time difference data TMDF indicating that the time difference is -11 to -1 hour is prepared. Further, in each column of CNUM = 0 to 23, place name data CTYD showing a representative area to which the time difference of the column corresponds is also prepared.
【0015】例えば、CNUM=9の欄においては、TMDF=
+9、CTYD=TOKYOであるが、これは、地名番号CN
UMが「9番」の地域においては、時差(時差データTMD
F)が「+9時間」であり、該当する地名(地名データC
TYD)が「TOKYO」であることを示している。な
お、1つの地名データCTYDにより表示できる地名は、例
えば6文字である。For example, in the column of CNUM = 9, TMDF =
+9, CTYD = TOKYO, but this is the place name number CN
In the area where UM is "9", the time difference (time difference data TMD
F) is "+9 hours" and the corresponding place name (place name data C
TYD) is "TOKYO". The place name that can be displayed by one place name data CTYD is, for example, 6 characters.
【0016】また、時差テーブルTDTBLのデータのう
ち、どのデータを、ローカル時刻の表示及びワールド時
刻の表示に使用しているかを示すローカル時刻ポインタ
LCLP及びワールド時刻WLDPが用意される。図2において
は、ポインタWLDPが、WLDP=0であって、ワールド時刻
の表示に地名番号CTYNO=0のデータを使用することを
示し、ポインタLCLPが、LCLP=9であって、ローカル時
刻の表示に地名番号CTYNO=9のデータを使用すること
を示している。A local time pointer indicating which data of the data of the time difference table TDTBL is used for displaying the local time and the world time.
LCLP and World Time WLDP are prepared. In FIG. 2, the pointer WLDP indicates that WLDP = 0 and the data of the place name number CTYNO = 0 is used to display the world time, and the pointer LCLP indicates LCLP = 9 and the local time is displayed. Indicates that the data of place name number CTYNO = 9 is used.
【0017】なお、テーブルTDTBLの右側に示した「地
域名など」は、以上のデータCNUM、TMDF、CTYDが対応す
る地域の地域名を参考のために示すもので、データテー
ブルTDTBLには含まれない。The "region name, etc." shown on the right side of the table TDTBL indicates the region name of the region corresponding to the above data CNUM, TMDF, CTYD for reference, and is not included in the data table TDTBL. Absent.
【0018】さらに、ROM32には、処理ルーチンの
一部として、例えば図4〜図6に示すルーチン100〜
140、200、300が用意される。Further, in the ROM 32, as a part of the processing routine, for example, the routines 100 to 100 shown in FIGS.
140, 200 and 300 are prepared.
【0019】また、メモリ34は、データの消去及び書
き込みを電気的に行うことのできるROMとされ、ある
いは、図示はしないが、電池によりバックアップされた
RAMとされ、すなわち、メモリ34は不揮発性メモリ
とされ、電源をオフにしたときでも、書き込まれたデー
タを保持できるようにされている。The memory 34 is a ROM capable of electrically erasing and writing data, or a RAM backed up by a battery (not shown), that is, the memory 34 is a non-volatile memory. The written data can be held even when the power is turned off.
【0020】そして、メモリ34には、例えば図3に示
すように、地名バッファCTYBUFと、地域番号バッファCT
YBUFと、書き換えフラグWRTFと、表示フラグDSPFとが用
意される。この場合、地名バッファCTYBUFは、書き換え
後の地名データCTYDを記憶しておくためのものであり、
その容量は地名データCTYDの1つ分、すなわち、6文字
分である。また、地域番号バッファNUMBUFは、書き換え
られた地名データCTYDの地域番号CNUMを記憶しておくた
めのものである。Then, in the memory 34, as shown in FIG. 3, for example, a place name buffer CTYBUF and a region number buffer CT
A YBUF, a rewrite flag WRTF, and a display flag DSPF are prepared. In this case, the place name buffer CTYBUF is for storing the place name data CTYD after rewriting,
The capacity is one place name data CTYD, that is, six characters. The area number buffer NUMBUF is for storing the area number CNUM of the rewritten place name data CTYD.
【0021】さらに、書き換えフラグWRTFは、地名デー
タCTYDの書き換えが行われたかどうかを示すフラグであ
り、このフラグWRTFは、地名データCTYDのどれかが書き
換えられているとき、“1”にセットされている。ま
た、表示フラグDSPFは、ローカル時刻と、ワールド時刻
とのどちらを表示しているかを示すフラグであり、DSPF
=“0”のときワールド時刻、DSPF=“1”のときロー
カル時刻が表示される。なお、上記したポインタLCLP、
WLDPの値も、メモリ34に保持される。Further, the rewriting flag WRTF is a flag indicating whether or not the place name data CTYD has been rewritten. This flag WRTF is set to "1" when any of the place name data CTYD is rewritten. ing. The display flag DSPF is a flag indicating whether the local time or world time is displayed.
The world time is displayed when = "0" and the local time is displayed when DSPF = "1". Note that the above pointer LCLP,
The value of WLDP is also held in the memory 34.
【0022】さらに、図1において、35は出力ポー
ト、36は入力ポート、37はキーインターフェイス回
路で、これら回路35〜37はシステムバス39を通じ
てCPU31に接続される。そして、受信回路10にお
ける選局時、CPU31からポート35を通じて受信回
路のPLLの可変分周回路に、その分周比がセットさ
れ、目的とする周波数の放送が選局される。また、受信
回路10からは受信中の放送波信号の受信レベルを検出
した信号が出力され、この検出信号がポート36を通じ
てCPU31に取り込まれる。さらに、インターフェイ
ス回路37には、各種の操作キーKTS〜K9が接続され
る。なお、これらキーKTS〜K9は、いずれもノンロッ
クタイプのプッシュスイッチにより構成される。Further, in FIG. 1, 35 is an output port, 36 is an input port, 37 is a key interface circuit, and these circuits 35 to 37 are connected to the CPU 31 through a system bus 39. Then, at the time of tuning in the receiving circuit 10, the frequency dividing ratio is set from the CPU 31 to the variable frequency dividing circuit of the PLL of the receiving circuit through the port 35, and the broadcasting of the target frequency is selected. In addition, the reception circuit 10 outputs a signal in which the reception level of the broadcast wave signal being received is detected, and this detection signal is taken into the CPU 31 through the port 36. Further, various operation keys KTS to K9 are connected to the interface circuit 37. Each of these keys KTS to K9 is composed of a non-lock type push switch.
【0023】また、41は受信周波数や時刻などをデジ
タル表示するためのディスプレイを示し、この例におい
ては、LCDとされている。そして、例えば図7に示す
ように、このLCD41は、その表示エリアが3つの表
示エリア41A〜41Cに分割され、時刻の表示時に
は、エリア41Aに地名データCTYDに基づく地名が表示
され、エリア41Bに時差などが表示され、エリア41
Cにワールド時刻あるいはローカル時刻が表示される。Reference numeral 41 denotes a display for digitally displaying the reception frequency, time and the like, which is an LCD in this example. Then, for example, as shown in FIG. 7, the display area of the LCD 41 is divided into three display areas 41A to 41C, and at the time of time display, a place name based on the place name data CTYD is displayed in the area 41A and an area 41B is displayed. Area 41 is displayed, such as time difference
World time or local time is displayed in C.
【0024】そして、このLCD41は、ディスプレイ
コントローラ42を通じてシステムバス39に接続され
るとともに、コントローラ42には表示用メモリ43が
接続されている。そして、このメモリ43に書き込まれ
た表示データが、コントローラ42により所定の周期で
繰り返し読み出されてLCD41に供給され、LCD4
1には、メモリ43に書き込まれている表示データに対
応した時刻や受信周波数などがデジタル表示される。The LCD 41 is connected to the system bus 39 through the display controller 42 and the display memory 43 is connected to the controller 42. Then, the display data written in the memory 43 is repeatedly read by the controller 42 at a predetermined cycle and supplied to the LCD 41.
In 1, the time and the reception frequency corresponding to the display data written in the memory 43 are digitally displayed.
【0025】なお、この例においては、電源スイッチ
(図示せず)がオフのときには、受信回路10の電源が
オフとなり、LCD41には、時刻が表示され、電源ス
イッチがオンのときには、受信回路10の電源がオンと
なり、放送の受信が行われるとともに、その受信周波数
がLCD41に表示されるものである。In this example, when the power switch (not shown) is off, the power of the receiving circuit 10 is turned off, the time is displayed on the LCD 41, and when the power switch is on, the receiving circuit 10 is turned on. The power is turned on, the broadcast is received, and the received frequency is displayed on the LCD 41.
【0026】このような構成において、それぞれの処理
あるいは動作は、例えば、以下のように行われる。In such a configuration, each processing or operation is performed as follows, for example.
【0027】〈ローカル時刻あるいはワールド時刻の表
示動作〉ここでは、何もキー操作をしていないときの、
時刻の表示動作について、説明する。すなわち、キー入
力がないときには、時計回路20によりCPU31に1
分ごとに割り込みがかかり、割り込みがかかると、CP
U31の処理が、ルーチン100のステップ101から
スタートし、次にステップ102において、表示処理ル
ーチン300が実行される。<Display operation of local time or world time> Here, when no keys are operated,
The time display operation will be described. That is, when there is no key input, the clock circuit 20 causes the CPU 31 to
Interrupted every minute, and when interrupted, CP
The processing of U31 starts from step 101 of the routine 100, and then in step 102, the display processing routine 300 is executed.
【0028】この表示処理ルーチン300の詳細は後述
するが、このルーチン300においては、メモリ34に
記憶されている各データにしたがって、目的とする地域
の地名データCTYDが、時差テーブルTDTBLあるいはメモ
リ34の地名バッファCTYBUFから読み出され、この読み
出された地名データCTYDが、表示データに変換されてか
らコントローラ42に供給されてメモリ43に書き込ま
れる。Although details of the display processing routine 300 will be described later, in this routine 300, the place name data CTYD of the target area is stored in the time difference table TDTBL or the memory 34 according to each data stored in the memory 34. The place name buffer CTYBUF is read out, and the read place name data CTYD is converted into display data and then supplied to the controller 42 and written in the memory 43.
【0029】さらに、ステップ102(ルーチン30
0)においては、時計回路20の計時しているUTC時
刻のデータが取り出され、この取り出された時刻データ
が、メモリ34に記憶されている各データにしたがっ
て、目的とするローカル時刻あるいはワールド時刻の時
刻データに補正され、この補正された時刻データが、表
示データに変換されてからコントローラ42に供給され
てメモリ43に書き込まれる。Further, step 102 (routine 30
In 0), the UTC time data measured by the clock circuit 20 is extracted, and the extracted time data corresponds to the target local time or world time according to each data stored in the memory 34. The time data is corrected, and the corrected time data is converted into display data and then supplied to the controller 42 and written in the memory 43.
【0030】そして、その後、CPU31の処理はステ
ップ103に進み、このルーチン100を終了する。After that, the processing of the CPU 31 proceeds to step 103, and this routine 100 ends.
【0031】したがって、LCD41には、例えば図7
AあるいはBに示すように、メモリ34の各データにし
たがった地名と、その地名の地域におけるローカル時刻
あるいはワールド時刻とがデジタル表示される。Therefore, in the LCD 41, for example, FIG.
As shown in A or B, the place name according to each data of the memory 34 and the local time or world time in the area of the place name are digitally displayed.
【0032】〈ローカル時刻の表示とワールド時刻の表
示との切り換え〉これは、LCD41の時刻表示を、ロ
ーカル時刻からワールド時刻に、あるいは逆にワールド
時刻からローカル時刻に変更する場合である。<Switching between local time display and world time display> This is a case where the time display of the LCD 41 is changed from the local time to the world time, or conversely from the world time to the local time.
【0033】この場合には、上述の〈ローカル時刻ある
いはワールド時刻の表示動作〉が行われているとき、操
作キーKTS〜K9のうちの、表示切り換えキーKWTを押
す。すると、CPU31の処理がルーチン110のステ
ップ111からスタートし、次にステップ112におい
て、メモリ34の表示フラグDSPFが反転され、その後、
ステップ113において、表示処理ルーチン300が実
行され、ステップ114において、ルーチン110を終
了する。In this case, the display switching key KWT of the operation keys KTS to K9 is pressed while the above-mentioned <display operation of local time or world time> is being performed. Then, the processing of the CPU 31 starts from step 111 of the routine 110, then in step 112, the display flag DSPF of the memory 34 is inverted, and thereafter,
In step 113, the display processing routine 300 is executed, and in step 114, the routine 110 ends.
【0034】したがって、キーKWTを押すごとに、表示
フラグDSPFが、“0”あるいは“1”に交互に変化する
とともに、その結果に対応してルーチン300が実行さ
れるので、キーKWTを押すごとに、LCD41に表示さ
れる時刻は、例えば図7A及びBに示すように、ローカ
ル時刻とワールド時刻とに交互に切り換わる。Therefore, each time the key KWT is pressed, the display flag DSPF is alternately changed to "0" or "1", and the routine 300 is executed in accordance with the result, so that each time the key KWT is pressed. The time displayed on the LCD 41 alternates between the local time and the world time, as shown in FIGS. 7A and 7B, for example.
【0035】〈表示されるローカル時刻の切り換え〉こ
れは、LCD41に表示されるローカル時刻及びその地
名を、時差テーブルTDTBLのデータ順あるいはその逆順
に変更し、表示されるローカル時刻及びその地名を、任
意の地域のローカル時刻及びその地名に切り換える場合
である。<Switching of Local Time Displayed> This is to change the local time displayed on the LCD 41 and its place name to the data order of the time difference table TDTBL or its reverse order, and to change the displayed local time and its place name. This is a case of switching to the local time and the place name of an arbitrary area.
【0036】そして、これは、操作キーKTS〜K9のう
ちの時刻セットキーKTSを押しながら、アップキーKUP
あるいはダウンキーKDWNを押すことにより行う。すな
わち、時刻セットキーKTSを押しながらキーKUPあるい
はKDWNを押すと、CPU31の処理がルーチン120
のステップ121からスタートし、次にステップ122
において、DSPF=“1”(ローカル時刻の表示)に変更
され、続いてステップ123において、ローカル時刻ポ
インタLCLPが、操作されたキーKUPあるいはKDWNに対
応して「1」だけインクリメントあるいはディクリメン
トされる。While pressing the time setting key KTS among the operation keys KTS to K9, the up key KUP
Alternatively, the down key KDWN is pressed. That is, if the key KUP or KDWN is pressed while pressing the time setting key KTS, the processing of the CPU 31 is executed by the routine 120.
Starting from step 121, then step 122
In step 123, DSPF is changed to "1" (display of local time), and then in step 123, the local time pointer LCLP is incremented or decremented by "1" corresponding to the operated key KUP or KDWN. .
【0037】そして、その後、処理はステップ124に
進み、このステップ124において、ルーチン300が
実行され、ステップ125において、このルーチン12
0を終了する。Then, the process proceeds to step 124, in which the routine 300 is executed, and in step 125, the routine 12 is executed.
0 ends.
【0038】したがって、時刻セットキーKTSを押しな
がらキーKUPあるいはKDWNを、一度押すと、LCD4
1の表示は、それまでの表示にかかわらずローカル時刻
及びその地名に切り換えられるとともに、そのローカル
時刻及びその地名から、時差テーブルTDTBLにおける次
あるいは前の地域のローカル時刻及び地名に変更され
る。Therefore, if the key KUP or KDWN is pressed once while pressing the time set key KTS, the LCD 4
The display of 1 is switched to the local time and its place name regardless of the display until then, and the local time and its place name are changed to the local time and place name of the next or previous region in the time difference table TDTBL.
【0039】そして、さらに、時刻セットキーKTSを押
しながら、キーKUPあるいはKDWNを押すと、ルーチン
120の処理が繰り返されるので、LCD41に表示さ
れる地名及びその地名の地域のローカル時刻が、時差テ
ーブルTDTBLの地名データCTYD及び時差データTMDFにし
たがって、上昇方向あるいは下降方向に変更されてい
く。Further, if the key KUP or KDWN is pressed while pressing the time set key KTS, the processing of the routine 120 is repeated, so that the place name displayed on the LCD 41 and the local time of the place of the place name are displayed in the time difference table. According to the place name data CTYD of TDTBL and the time difference data TMDF, it is changed in the ascending direction or the descending direction.
【0040】したがって、時刻セットキーKTSを押しな
がらキーKUPあるいはKDWNを押すことにより、時差テ
ーブルTDTBLに用意されている地名及びその地名の地域
におけるローカル時刻を、選択してLCD41に表示す
ることができる。Therefore, by pressing the key KUP or KDWN while pressing the time set key KTS, the place name prepared in the time difference table TDTBL and the local time in the area of the place name can be selected and displayed on the LCD 41. .
【0041】〈表示されるワールド時刻の切り換え〉こ
れは、LCD41に表示されるワールド時刻及びその地
名を、時差テーブルTDTBLのデータ順あるいはその逆順
に変更し、表示されるワールド時刻及びその地名を、任
意の地域のワールド時刻及びその地名に切り換える場合
である。<Switching of World Time Displayed> This is to change the world time displayed on the LCD 41 and its place name to the data order of the time difference table TDTBL or its reverse order, and to change the displayed world time and its place name. This is the case of switching to the world time and the place name of an arbitrary area.
【0042】そして、この場合には、まず、必要に応じ
て表示切り換えキーKWTを押すことにより、〈ローカル
時刻の表示とワールド時刻の表示との切り換え〉を実行
してLCD41の時刻表示を、ワールド時刻及びその地
名に設定し、次に、キーKUPあるいはKDWNを押す。す
ると、CPU31の処理がルーチン130のステップ1
31からスタートし、続くステップ132において、ワ
ールド時刻ポインタWLDPが、操作されたキーKUPあるい
はKDWNに対応して「1」だけインクリメントあるいは
ディクリメントされる。In this case, first, if necessary, the display switching key KWT is pressed to execute the <switching between local time display and world time display> to change the time display of the LCD 41 to the world display. Set the time and the place name, and then press the key KUP or KDWN. Then, the processing of the CPU 31 is step 1 of the routine 130.
In step 132, starting from 31, the world time pointer WLDP is incremented or decremented by "1" in response to the operated key KUP or KDWN.
【0043】続いて処理はステップ133に進み、この
ステップ133において、ルーチン300が実行され、
その後、ステップ134において、このルーチン130
を終了する。Subsequently, the process proceeds to step 133, in which the routine 300 is executed,
Then, in step 134, this routine 130
To finish.
【0044】したがって、ワールド時刻及びその地名が
表示されているとき、キーKUPあるいはKDWNを、一度
押すと、LCD41の表示は、それまで表示されていた
ワールド時刻及びその地名から、時差テーブルTDTBLに
おける次あるいは前の地域のワールド時刻及びその地名
に変更される。Therefore, when the world time and its place name are displayed, if the key KUP or KDWN is pressed once, the LCD 41 displays the next time in the time difference table TDTBL from the world time and its place name that have been displayed up to that point. Or it is changed to the world time and the place name of the previous area.
【0045】そして、さらに、キーKUPあるいはKDWN
を押すと、ルーチン130の処理が繰り返されるので、
LCD41に表示される地名及びその地名の地域のワー
ルド時刻が、時差テーブルTDTBLの地名データCTYD及び
時差データTMDFにしたがって、上昇方向あるいは下降方
向に変更されていく。Further, the key KUP or KDWN
When is pressed, the processing of routine 130 is repeated.
The place name and world time of the place name displayed on the LCD 41 are changed in the ascending direction or the descending direction according to the place name data CTYD and the time difference data TMDF of the time difference table TDTBL.
【0046】したがって、キーKUPあるいはKDWNを押
すことにより、時差テーブルTDTBLに用意されている地
名及びその地名の地域におけるワールド時刻を、選択し
てLCD41に表示することができる。Therefore, by pressing the key KUP or KDWN, the place name prepared in the time difference table TDTBL and the world time in the area of the place name can be selected and displayed on the LCD 41.
【0047】〈時刻の訂正(時計合わせ)〉これは、時
計回路41の時刻合わせであるが、操作キーKTS〜K9
のうちの、時刻セットキーKTSを押しながら、プラスキ
ーK+あるいはマイナスキーKーを押すことにより行う。<Correction of time (clock adjustment)> This is the time adjustment of the clock circuit 41. The operation keys KTS to K9
Of these, while pressing the time setting key KTS, press the plus key K + or the minus key K-.
【0048】すなわち、この場合には、まず、必要に応
じて表示切り換えキーKWTを押すことにより、〈ローカ
ル時刻の表示とワールド時刻の表示との切り換え〉を実
行してLCD41の時刻表示を、ローカル時刻及びその
地名に設定し、次に、キーKTSを押しながら、キーK+
あるいはK-を押す。すると、CPU31の処理がルー
チン140のステップ141からスタートし、続くステ
ップ142において、時計回路20の計時しているUT
C時刻が、キーK+あるいはKーに対応して1分だけイン
クリメントあるいはディクリメントされる。That is, in this case, first, if necessary, the display switching key KWT is pressed to execute the <switching between local time display and world time display> to change the time display of the LCD 41 to the local mode. Set the time and the place name, then hold down the key KTS and press the key K +
Or press K-. Then, the processing of the CPU 31 starts from step 141 of the routine 140, and in the following step 142, the UT which the clock circuit 20 is counting.
The C time is incremented or decremented by 1 minute corresponding to the key K + or K-.
【0049】続いて、処理はステップ143に進み、こ
のステップ143において、ルーチン300が実行さ
れ、その後、ステップ144において、このルーチン1
40を終了する。Subsequently, the process proceeds to step 143, in which the routine 300 is executed, and then in step 144, the routine 1 is executed.
40 ends.
【0050】したがって、時刻セットキーKTSを押しな
がら、キーK+あるいはKーを押すことにより、UTC時
刻を訂正することができ、すなわち、時計回路20の計
時している時刻を訂正することができる。Therefore, by pressing the key K + or K- while pressing the time set key KTS, the UTC time can be corrected, that is, the time measured by the clock circuit 20 can be corrected. .
【0051】〈地名データCTYDの書き換え〉これは、L
CD41のエリア41Aに表示される地名を、ユーザの
入力した地名に変更するために、ユーザが地名データCT
YDを書き換えるときの処理であり、書き換えルーチン2
00により実行される。<Rewriting of place name data CTYD> This is L
In order to change the place name displayed in the area 41A of the CD 41 to the place name input by the user, the place name data CT
This is the process when rewriting YD, and rewriting routine 2
00 is executed.
【0052】すなわち、この場合には、まず、上述した
〈ローカル時刻の表示とワールド時刻の表示との切り換
え〉を実行してLCD41の時刻表示を、ワールド時刻
及びその地名に設定し、次に、〈表示されるワールド時
刻の切り換え〉を実行してLCD41のエリア41A
に、これから書き換える地名を表示させる。例えば、
「TOKYO」の表示を、「JAPAN」に変更するの
であれば、ワールド時刻で「TOKYO」を表示させ
る。That is, in this case, first, the above-mentioned <switching between local time display and world time display> is executed to set the time display of the LCD 41 to the world time and its place name, and then Execute <Display World Time Switching> to display area 41A of LCD 41.
Displays the place name to be rewritten. For example,
If the display of "TOKYO" is changed to "JAPAN", "TOKYO" is displayed at the world time.
【0053】なお、このとき、メモリ34のワールド時
刻ポインタWLDPは、時差テーブルTDTBLのうち、書き換
え対象の地名データCTYDの記憶されている地名番号CNUM
を示している。すなわち、上記ように、ワールド時刻で
「TOKYO」を表示させたときには、WLDP=9(=CN
UM)である。At this time, the world time pointer WLDP of the memory 34 indicates the place name number CNUM in the time difference table TDTBL in which the place name data CTYD to be rewritten is stored.
Is shown. That is, as described above, when "TOKYO" is displayed at the world time, WLDP = 9 (= CN
UM).
【0054】そして、以上の準備状態にしたら、操作キ
ーKTS〜K9のうち、編集キーKEDTを押す。すると、C
PU31の処理は、書き換えルーチン200のステップ
201からスタートし、次にステップ202において、
書き換え後の地名の入力処理が実行される。この地名の
入力方法そのものは、この発明の要旨ではないので、詳
細は省略するが、キーKTS〜K9のうち、数字キーK0〜
K9が、アルファベット(数字、記号、空白を含む)の
入力キーとして動作し、キーKUP、KDWNが桁位置の移
動キー(書き換えの対象となる文字位置の指定キー)と
して動作するものである。Then, after the above-mentioned preparation state, the edit key KEDT among the operation keys KTS to K9 is pressed. Then C
The processing of the PU 31 starts from step 201 of the rewriting routine 200, and then at step 202,
The input processing of the rewritten place name is executed. The method of inputting the place name itself is not the gist of the present invention, so details thereof will be omitted. Among the keys KTS to K9, the numeric keys K0 to
K9 operates as an alphabet (including numbers, symbols, and blanks) input key, and keys KUP and KDWN operate as a digit position movement key (a key for specifying a character position to be rewritten).
【0055】例えば、第1桁目の書き換え時、キーK0
を押すと、LCD41Aの第1桁目に、文字「A」が表
示され、以後、キーK0を押すごとに、その表示が、
「B」→「C」→「0」→「A」→「B」→「C」→…
のように、文字「A、B、C、0」の間をサイクリック
に変化する。また、キーK1を押すと、LCD41Aの
第1桁目に、文字「D」が表示され、以後、キーK1を
押すごとに、その表示が、「E」→「F」→「1」→
「D」→「E」→「F」→…のように、文字「D、E、
F、1」の間をサイクリックに変化する。For example, when rewriting the first digit, the key K0
When is pressed, the character “A” is displayed in the first digit of LCD 41A, and thereafter, each time the key K0 is pressed, the display changes to
"B" → "C" → "0" → "A" → "B" → "C" → ...
As described above, the characters “A, B, C, 0” are cyclically changed. Further, when the key K1 is pressed, the character "D" is displayed in the first digit of the LCD 41A, and thereafter, every time the key K1 is pressed, the display is "E" → "F" → "1" →
The characters "D, E," like "D" → "E" → "F" → ...
It changes cyclically between F and 1 ”.
【0056】そして、希望する文字が表示されたとき、
キーKUPあるいはKDWNを押すと、それまで書き換えの
対象となっていた桁位置の文字が確定されるとともに、
書き換えの対象となる桁位置が左あるいは右に変化す
る。また、この書き換えには、RAM33がワークエリ
アとして使用され、書き換え中の文字のデータ、すなわ
ち、地名データCTYDが、RAM33に保持される。Then, when the desired character is displayed,
When you press the key KUP or KDWN, the character at the digit position that has been the target of rewriting is confirmed, and
The digit position to be rewritten changes to the left or right. Further, for this rewriting, the RAM 33 is used as a work area, and the character data being rewritten, that is, the place name data CTYD is held in the RAM 33.
【0057】こうして、目的とする地名を最後の文字ま
で入力すると、LCD41のエリア41Aには、その地
名が表示されているとともに、その書き換え後の新しい
地名データCTYDが、RAM33に保持されている。In this way, when the target place name is input up to the last character, the place name is displayed in the area 41A of the LCD 41, and the rewritten new place name data CTYD is held in the RAM 33.
【0058】そこで、目的とする地名を最後の文字まで
入力したら、操作キーKTS〜K9のうちの実行キーKEXE
を押す。Then, when the desired place name is input up to the last character, the execution key KEXE among the operation keys KTS to K9 is executed.
Press.
【0059】すると、処理はステップ202からステッ
プ211に進み、このステップ211において、RAM
33に保持されている地名データCTYDが、メモリ34の
地名バッファCTYBUFに転送され、次に、ステップ212
において、このとき、時差テーブルTDTBLのうち、ワー
ルド時刻ポインタWLDPの示している地名番号CNUMが、地
名番号バッファNUMBUFとして記憶される。例えば、上記
ように、ワールド時刻で「TOKYO」を表示させて地
名の変更を行ったときには、WLDP=9(=CNUM)である
から、NUMBUF=9(=WLDP)となる。Then, the process proceeds from step 202 to step 211, and in this step 211, the RAM
The place name data CTYD held in 33 is transferred to the place name buffer CTYBUF in the memory 34, and then step 212
At this time, in the time difference table TDTBL, the place name number CNUM indicated by the world time pointer WLDP is stored as the place name number buffer NUMBUF. For example, as described above, when "TOKYO" is displayed at the world time and the place name is changed, WLDP = 9 (= CNUM), so NUMBUF = 9 (= WLDP).
【0060】続いて、処理はステップ213に進み、こ
のステップ213において、書き換えフラグWRTFが
“1”にセットされて地名データCTYDの書き換えられた
ことが記憶され、その後、ステップ214によりこのル
ーチン200を終了する。Subsequently, the process proceeds to step 213, and in this step 213, it is stored that the rewriting flag WRTF is set to "1" and the place name data CTYD is rewritten, and then this routine 200 is executed at step 214. finish.
【0061】したがって、このルーチン200によれ
ば、地名の書き換えを行うと、その書き換え後の新し地
名の地名データCTYDが、メモリ34の地名バッファCTYB
UFに記憶されるとともに、その書き換えられた地名デー
タに対応する地名番号CNUMが、地名番号バッファNUMBUF
に記憶される。また、書き換えフラグWRTFもセットされ
る。Therefore, according to this routine 200, when the place name is rewritten, the place name data CTYD of the new place name after the rewriting is stored in the place name buffer CTYB of the memory 34.
The place name number CNUM stored in the UF and corresponding to the rewritten place name data is stored in the place name number buffer NUMBUF.
Memorized in. Further, the rewrite flag WRTF is also set.
【0062】こうして、この書き換えルーチン200に
よれば、時差テーブルTDTBLの地名データCTYDのうち、
任意の1つの地名データを、任意の地名データに書き換
えることができる。Thus, according to the rewriting routine 200, of the place name data CTYD of the time difference table TDTBL,
Any one place name data can be rewritten to any place name data.
【0063】〈表示処理ルーチン300の処理内容〉こ
のルーチン300は、上記のように、メモリ34に記憶
されている各データにしたがって、目的とする地域の地
名データCTYDを、時差テーブルTDTBLあるいはメモリ3
4の地名バッファCTYBUFから読み出し、この読み出した
地名データCTYDを、表示データに変換してからコントロ
ーラ42に供給してメモリ43に書き込むものである。<Processing Content of Display Processing Routine 300> In this routine 300, as described above, according to each data stored in the memory 34, the place name data CTYD of the target area is stored in the time difference table TDTBL or the memory 3.
4 is read from the place name buffer CTYBUF, the read place name data CTYD is converted into display data, which is supplied to the controller 42 and written in the memory 43.
【0064】そして、このルーチン300は、以下のと
おりである。すなわち、ルーチン300においては、C
PU31の処理はステップ301からスタートし、次に
ステップ302において、書き換えフラグWRTFがチェッ
クされ、WRTF=“0”のときには、地名データCTYDが書
き換えられていないので、処理はステップ302からス
テップ311に進む。The routine 300 is as follows. That is, in the routine 300, C
The processing of the PU 31 starts from step 301, then in step 302, the rewriting flag WRTF is checked, and when WRTF = "0", the place name data CTYD has not been rewritten, so the processing proceeds from step 302 to step 311. .
【0065】そして、このステップ311において、時
差テーブルTDTBLのうち、ポインタWLDPあるいはLCLPの
示す欄から、地名データCTYDが読み出される。すなわ
ち、表示フラグDSPFが“0”のときには(ワールド時刻
の表示のときには)、時差テーブルTDTBLのうち、ワー
ルド時刻ポインタWLDPの示す地名番号CNUM(CNUM=WLD
P)の欄から、地名データCTYDが読み出される。また、
表示フラグDSPFが“1”のときには(ローカル時刻の表
示のときには)、時差テーブルTDTBLのうち、ローカル
時刻ポインタLCLPの示す地名番号CNUM(CNUM=LCLP)の
欄から、地名データCTYDが読み出される。Then, in this step 311, the place name data CTYD is read from the column indicated by the pointer WLDP or LCLP in the time difference table TDTBL. That is, when the display flag DSPF is “0” (when displaying the world time), the place name number CNUM (CNUM = WLD) indicated by the world time pointer WLDP in the time difference table TDTBL.
The place name data CTYD is read from the column (P). Also,
When the display flag DSPF is "1" (when displaying the local time), the place name data CTYD is read from the place name number CNUM (CNUM = LCLP) column indicated by the local time pointer LCLP in the time difference table TDTBL.
【0066】続いて、処理はステップ331に進み、こ
のステップ331において、その読み出された地名デー
タCTYDが、表示データに変換されてからコントローラ4
2に供給されてメモリ43に書き込まれる。したがっ
て、以後、LCD41のエリア41Aには、この読み出
された地名データCTYDによる地名が表示される。Subsequently, the process proceeds to step 331, and in this step 331, the read place name data CTYD is converted into the display data, and then the controller 4
2 and is written in the memory 43. Therefore, thereafter, the place name based on the read place name data CTYD is displayed in the area 41A of the LCD 41.
【0067】次に、処理はステップ332に進み、この
ステップ332において、表示フラグDSPFが“0”のと
きには(ワールド時刻の表示のときには)、時差テーブ
ルTDTBLのうち、ワールド時刻ポインタWLDPの示す地名
番号CNUM(CNUM=WLDP)の欄から、時差データTMDFが読
み出され、表示フラグDSPFが“1”のときには(ローカ
ル時刻の表示のときには)、時差テーブルTDTBLのう
ち、ローカル時刻ポインタLCLPの示す地名番号CNUM(CN
UM=LCLP)の欄から、時差データTMDFが読み出される。Next, the process proceeds to step 332, and in step 332, when the display flag DSPF is "0" (when displaying the world time), the place name number indicated by the world time pointer WLDP in the time difference table TDTBL. When the time difference data TMDF is read from the CNUM (CNUM = WLDP) column and the display flag DSPF is "1" (when the local time is displayed), the place name number indicated by the local time pointer LCLP in the time difference table TDTBL CNUM (CN
The time difference data TMDF is read from the column of (UM = LCLP).
【0068】続いて、処理はステップ333に進み、こ
のステップ333において、時計回路20からUTC時
刻を示す時刻データが取り出され、次にステップ334
において、ステップ333で取り出されたUTC時刻の
時刻データが、ステップ332で読み出された時差デー
タTMDFにより、ワールド時刻あるいはローカル時刻の時
刻データに補正される。そして、この補正された時刻デ
ータが、ステップ335において、表示データに変換さ
れてからコントローラ42に供給されてメモリ43に書
き込まれる。したがって、以後、LCD41のエリア4
1Cには、ステップ333で取り出されるとともに、ス
テップ334で時差補正された時刻が、デジタル表示さ
れる。Subsequently, the process proceeds to step 333, in which the time data indicating the UTC time is taken out from the clock circuit 20, and then step 334.
In step 3, the time data of the UTC time extracted in step 333 is corrected to the time data of the world time or the local time by the time difference data TMDF read in step 332. Then, in step 335, the corrected time data is converted into display data and then supplied to the controller 42 and written in the memory 43. Therefore, after that, the area 4 of the LCD 41
In 1C, the time taken out in step 333 and corrected in time difference in step 334 is digitally displayed.
【0069】そして、その後、処理はステップ336に
進み、このルーチン300を終了する。Then, the process proceeds to step 336 to end the routine 300.
【0070】一方、ステップ302において、書き換え
フラグWRTFが“1”のときには、地名データCTYDが書き
換えられているので、処理はステップ302からステッ
プ321に進む。On the other hand, when the rewrite flag WRTF is "1" in step 302, the place name data CTYD has been rewritten, so the process proceeds from step 302 to step 321.
【0071】そして、このステップ321において、表
示フラグDSPFがチェックされ、DSPF=“0”のときに
は、処理はステップ321からステップ322に進み、
このステップ322において、ワールド時刻ポインタWL
DPと地名バッファNUMBUFとの関係がチェックされ、WLDP
≠NUMBUFのときには、書き換えられた地名データCTYDが
表示の対象ではないので、処理はステップ322からス
テップ311に進む。Then, in step 321, the display flag DSPF is checked, and when DSPF = "0", the process proceeds from step 321 to step 322.
In this step 322, the world time pointer WL
The relation between DP and place name buffer NUMBUF is checked, and WLDP
If ≠ NUMBUF, the rewritten place name data CTYD is not the display target, so the process proceeds from step 322 to step 311.
【0072】したがって、以後、ステップ311〜33
6が実行されるので、上述のように、時差テーブルTDTB
Lから読み出された地名データCTYDによる地名が、ワー
ルド時刻の地名として、LCD41のエリア41Aに表
示されるとともに、ワールド時刻が、LCD41のエリ
ア41Cにデジタル表示される。Therefore, thereafter, steps 311 to 33
Since 6 is executed, as described above, the time difference table TDTB
The place name based on the place name data CTYD read from L is displayed in the area 41A of the LCD 41 as the place name of the world time, and the world time is digitally displayed in the area 41C of the LCD 41.
【0073】しかし、ステップ322において、WLDP=
NUMBUFのときには、書き換えられた地名データCTYDの地
域が表示の対象なので、処理はステップ322からステ
ップ323に進み、このステップ323において、地名
バッファCTYBUFから、ここに書き込まれている地名デー
タCTYDが読み出され、その後、処理はステップ331に
進む。However, in step 322, WLDP =
In the case of NUMBUF, since the area of the rewritten place name data CTYD is the display target, the process proceeds from step 322 to step 323, and in this step 323, the place name data CTYD written here is read from the place name buffer CTYBUF. Then, the process proceeds to step 331.
【0074】したがって、ステップ331において、ス
テップ323で地名バッファCTYBUFから読み出された地
名データCTYDによる地名が、ワールド時刻の地名とし
て、LCD41のエリア41Aに表示されるとともに、
ワールド時刻が、LCD41のエリア41Cにデジタル
表示される。Therefore, in step 331, the place name based on the place name data CTYD read from the place name buffer CTYBUF in step 323 is displayed in the area 41A of the LCD 41 as the place name of the world time, and
The world time is digitally displayed in the area 41C of the LCD 41.
【0075】さらに、ステップ321において、DSPF=
“1”のときには、処理はステップ321からステップ
324に進み、このステップ324において、ローカル
時刻ポインタLCLPと地名バッファNUMBUFとの関係がチェ
ックされ、LCLP≠NUMBUFのときには、書き換えられた地
名データCTYDが表示の対象ではないので、処理はステッ
プ322からステップ311に進む。Further, in step 321, DSPF =
When "1", the process proceeds from step 321 to step 324. In this step 324, the relationship between the local time pointer LCLP and the place name buffer NUMBUF is checked, and when LCLP ≠ NUMBUF, the rewritten place name data CTYD is displayed. Since it is not the target of, the process proceeds from step 322 to step 311.
【0076】したがって、上述のように、時差テーブル
TDTBLから読み出された地名データCTYDによる地名が、
ローカル時刻の地名として、LCD41のエリア41A
に表示されるとともに、ローカル時刻が、LCD41の
エリア41Cにデジタル表示される。Therefore, as described above, the time difference table
Place name by place name data CTYD read from TDTBL
Area 41A of LCD 41 as a place name at the local time
And the local time is digitally displayed in the area 41C of the LCD 41.
【0077】しかし、ステップ324において、LCLP=
NUMBUFのときには、書き換えられた地名データCTYDの地
域が表示の対象なので、処理はステップ324からステ
ップ324に進み、このステップ324において、地名
バッファCTYBUFから、ここに書き込まれている地名デー
タCTYDが読み出され、その後、処理はステップ331に
進む。However, in step 324, LCLP =
In the case of NUMBUF, since the area of the rewritten place name data CTYD is the display target, the process proceeds from step 324 to step 324, and in this step 324, the place name data CTYD written here is read from the place name buffer CTYBUF. Then, the process proceeds to step 331.
【0078】したがって、ステップ331において、ス
テップ323で地名バッファCTYBUFから読み出された地
名データCTYDによる地名が、ローカル時刻の地名とし
て、LCD41のエリア41Aに表示されるとともに、
ローカル時刻が、LCD41のエリア41Cにデジタル
表示される。Therefore, in step 331, the place name based on the place name data CTYD read from the place name buffer CTYBUF in step 323 is displayed on the area 41A of the LCD 41 as the place name at the local time, and
The local time is digitally displayed in the area 41C of the LCD 41.
【0079】こうして、この表示処理ルーチン300に
よれば、ROM32に記憶されている地名以外の任意の
地名も、メモリ34の地名バッファCTYBUFに記憶されて
いる地名データCTYDを使用することにより、自由に表示
することができる。Thus, according to the display processing routine 300, any place name other than the place names stored in the ROM 32 can be freely used by using the place name data CTYD stored in the place name buffer CTYBUF of the memory 34. Can be displayed.
【0080】また、例えば、CNUM=9の地名データCTYD
である「TOKYO」を「JAPAN」に変更した場
合、その地名データCTYD「JAPAN」は、地名バッフ
ァCTYBUFに記憶されるが、次に、例えば、CNUM=1の地
名データCTYDである「C.EURO」を「PARIS」
に変更した場合、その「PARIS」の地名データCTYD
は、地名バッファCTYBUFに上書きされるので、CNUM=9
の地名データCTYDを使用して地名の表示を行うときに
は、地名として「TOKYO」が表示されることにな
る。したがって、地名データCTYDTをひんぱんに書き換
えても、時差データTMDFと、地名との関係が混乱した
り、でたらめになったりすることがない。Further, for example, place name data CTYD with CNUM = 9
When "TOKYO" is changed to "JAPAN", the place name data CTYD "JAPAN" is stored in the place name buffer CTYBUF. Next, for example, the place name data CTYD of CNUM = 1 "C.EURO" is stored. To "PARIS"
If you change to "PARIS" place name data CTYD
Is overwritten in the place name buffer CTYBUF, so CNUM = 9
When the place name is displayed using the place name data CTYD, "TOKYO" is displayed as the place name. Therefore, even if the place name data CTYDT is rewritten frequently, the relationship between the time difference data TMDF and the place name will not be confused or random.
【0081】《他の例》上述の例においては、時差テー
ブルTDTBLに用意されている地名データCTYDの地名のう
ち、1か所の地名を、ワールド時刻の地名及びローカル
時刻の地名に共通に変更して表示できる場合であるが、
以下の例においては、ワールド時刻の表示のときと、ロ
ーカル時刻の表示のときとで、それぞれ1か所ずつ地名
を変更して表示できるようにした場合である。<< Other Example >> In the above example, one place name among the place names of the place name data CTYD prepared in the time difference table TDTBL is commonly changed to the place name of world time and the place name of local time. If it can be displayed by
In the following example, the place name can be changed and displayed one place each when displaying the world time and when displaying the local time.
【0082】このため、図8に示すように、メモリ34
には、地名番号バッファNUMBUF及び地名バッファCTYBUF
に加えて、第2の地名番号バッファNUMBUF2及び地名バ
ッファCTYBUF2が用意される。また、書き換えルーチン
200は、例えば図9に示すように構成され、図5のル
ーチン200に対して、ステップ203、221、22
2が追加される。さらに、表示処理ルーチン300は、
例えば図10に示すように構成され、図6のルーチン3
00に対して、ステップ325が追加される。Therefore, as shown in FIG.
Includes the place name number buffer NUMBUF and the place name buffer CTYBUF.
In addition, a second place name number buffer NUMBUF2 and a place name buffer CTYBUF2 are prepared. Further, the rewriting routine 200 is configured, for example, as shown in FIG. 9, and steps 203, 221, 22 are different from the routine 200 of FIG.
2 is added. Further, the display processing routine 300
For example, the routine 3 shown in FIG.
Step 325 is added to 00.
【0083】そして、これらのルーチン200、300
が、CPU31により、以下のように実行される。Then, these routines 200 and 300
Is executed by the CPU 31 as follows.
【0084】〈地名データCTYDの書き換え〉この場合に
は、まず、〈ローカル時刻の表示とワールド時刻の表示
との切り換え〉を実行してLCD41の時刻表示を、ワ
ールド時刻と、ローカル時刻とのどちらかに設定し、次
に、〈表示されるワールド時刻の切り換え〉あるいは
〈表示されるローカル時刻の切り換え〉を実行してLC
D41のエリア41Aに、これから書き換える地名を表
示させる。<Rewriting of Place Name Data CTYD> In this case, first, <Switching between local time display and world time display> is executed to display the time display on the LCD 41 to either world time or local time. C, and then execute <Switch World Time Displayed> or <Switch Local Time Displayed> to execute LC
The place name to be rewritten is displayed in the area 41A of D41.
【0085】そして、以上の準備状態にしたら、編集キ
ーKEDTを押す。すると、CPU31の処理は、書き換
えルーチン200のステップ201からスタートし、ス
テップ202に続いてステップ203に進み、このステ
ップ203において、表示フラグDSPFをチェックするこ
とにより、時刻表示がワールド時刻であるかローカル時
刻であるかがチェックされ、DSPF=“0”(ワールド時
刻の表示)のときには、処理はステップ203からステ
ップ211に進む。Then, when the above-mentioned preparation state is set, the edit key KEDT is pressed. Then, the processing of the CPU 31 starts from step 201 of the rewriting routine 200, proceeds to step 203 after step 202, and checks the display flag DSPF in this step 203 to determine whether the time display is the world time or the local time. It is checked whether it is time, and when DSPF = "0" (display of world time), the process proceeds from step 203 to step 211.
【0086】したがって、ワールド時刻及びその地名が
表示されている場合には、書き換え後の新し地名の地名
データCTYDが、メモリ34の地名バッファCTYBUFに記憶
されるとともに、その書き換えられた地名データに対応
する地名番号CNUMが、地名番号バッファNUMBUFに記憶さ
れる。また、書き換えフラグWRTFもセットされる。Therefore, when the world time and its place name are displayed, the place name data CTYD of the new place name after rewriting is stored in the place name buffer CTYBUF of the memory 34, and the rewritten place name data is stored. The corresponding place name number CNUM is stored in the place name number buffer NUMBUF. Further, the rewrite flag WRTF is also set.
【0087】一方、ステップ203において、DSPF=
“1”(ローカル時刻の表示)のときには、処理はステ
ップ203からステップ221に進む。そして、このス
テップ221において、RAM33に保持されている地
名データCTYDが、メモリ34の第2の地名バッファCTYB
UF2に転送され、次に、ステップ222において、この
とき、時差テーブルTDTBLのうち、メモリ34のローカ
ル時刻ポインタLCLPの示している地名番号CNUMが、メモ
リ34の第2の地名番号バッファNUMBUF2として記憶さ
れる。On the other hand, in step 203, DSPF =
If it is “1” (display of local time), the process proceeds from step 203 to step 221. Then, in this step 221, the place name data CTYD held in the RAM 33 is converted into the second place name buffer CTYB in the memory 34.
Then, in step 222, the place name number CNUM indicated by the local time pointer LCLP of the memory 34 in the time difference table TDTBL is stored as the second place name number buffer NUMBUF2 of the memory 34 in step 222. It
【0088】続いて、処理はステップ213に進み、こ
のステップ213において、書き換えフラグWRTFが
“1”にセットされて地名データCTYDの書き換えられた
ことが記憶され、その後、ステップ214によりこのル
ーチン200を終了する。Subsequently, the process proceeds to step 213, and in this step 213, the fact that the rewriting flag WRTF is set to "1" and the rewriting of the place name data CTYD is stored, and then this routine 200 is executed at step 214. finish.
【0089】したがって、ローカル時刻及びその地名が
表示されている場合には、書き換え後の新し地名の地名
データCTYDが、メモリ34の第2の地名バッファCTYBUF
2に記憶されるとともに、その書き換えられた地名デー
タに対応する地名番号CNUMが、第2の地名番号バッファ
NUMBUFに記憶される。また、書き換えフラグWRTFもセッ
トされる。Therefore, when the local time and the place name are displayed, the place name data CTYD of the new place name after rewriting is stored in the second place name buffer CTYBUF of the memory 34.
The place name number CNUM stored in 2 and corresponding to the rewritten place name data is stored in the second place name number buffer.
Stored in NUMBUF. Further, the rewrite flag WRTF is also set.
【0090】こうして、この書き換えルーチン200に
よれば、時差テーブルTDTBLの地名データCTYDのうち、
ワールド時刻の表示時における地名の地名データと、ロ
ーカル時刻の表示時における地名の地名データとを、そ
れぞれ任意の地名の地名データに書き換えることができ
る。Thus, according to the rewriting routine 200, of the place name data CTYD of the time difference table TDTBL,
The place name data of the place name at the time of displaying the world time and the place name data of the place name at the time of displaying the local time can be rewritten to the place name data of any place name.
【0091】〈表示処理ルーチン300の処理内容〉図
10の表示処理ルーチン300においても、図6の表示
処理ルーチン300と同様、地名データCTYDが書き換え
られていない地名及びその地域の時刻の表示を行ってい
るときには、処理はステップ302からステップ311
に進み、時差テーブルTDTBLの地名データCTYDにより、
その地名の表示が実行される。<Processing Content of Display Processing Routine 300> In the display processing routine 300 of FIG. 10 as well, similar to the display processing routine 300 of FIG. 6, the display of the place name where the place name data CTYD is not rewritten and the time of the region is displayed. If so, the process proceeds from step 302 to step 311.
Proceed to, by the place name data CTYD of the time difference table TDTBL,
The display of the place name is executed.
【0092】また、ワールド時刻を表示している場合に
は、処理はステップ321からステップ322に進み、
このステップ322において、LCLP≠NUMBUF2のときに
は、書き換えられた地名データCTYDが表示の対象ではな
いので、処理はステップ322からステップ311に進
む。If the world time is displayed, the process proceeds from step 321 to step 322.
In this step 322, when LCLP ≠ NUMBUF2, the rewritten place name data CTYD is not the display target, so the process proceeds from step 322 to step 311.
【0093】しかし、WLDP=NUMBUFのときには、書き換
えられている地名及びその地域のワールド時刻が表示の
対象なので、処理はステップ322からステップ323
に進み、ワールド時刻の地名データCTYDが地名バッファ
CTYBUFから読み出され、その後、処理はステップ331
に進む。したがって、地名バッファCTYBUFから読み出さ
れた地名データCTYDによる地名が、ワールド時刻の地名
としてLCD41のエリア41Aに表示されるととも
に、ワールド時刻が、LCD41のエリア41Cにデジ
タル表示される。However, when WLDP = NUMBUF, the rewritten place name and the world time of the region are the objects to be displayed, and therefore the processing is from step 322 to step 323.
To the place name buffer CTYD of world time
It is read from CTYBUF, and then the process is step 331.
Proceed to. Therefore, the place name based on the place name data CTYD read from the place name buffer CTYBUF is displayed in the area 41A of the LCD 41 as the place name of the world time, and the world time is digitally displayed in the area 41C of the LCD 41.
【0094】さらに、ローカル時刻を表示している場合
には、処理はステップ321からステップ324に進む
が、このステップ324において、ローカル時刻ポイン
タLCLPと第2の地名バッファNUMBUF2との関係がチェッ
クされ、LCLP≠NUMBUF2のときには、書き換えられた地
名データCTYDが表示の対象ではないので、処理はステッ
プ324からステップ311に進む。Further, when the local time is displayed, the process proceeds from step 321 to step 324. In this step 324, the relationship between the local time pointer LCLP and the second place name buffer NUMBUF2 is checked, When LCLP ≠ NUMBUF2, the rewritten place name data CTYD is not the display target, so the process proceeds from step 324 to step 311.
【0095】しかし、ステップ324において、LCLP=
NUMBUF2のときには、書き換えられている地名及びその
地域のローカル時刻が表示の対象なので、処理はステッ
プ324からステップ325に進む。そして、このステ
ップ325において、第2の地名バッファCTYBUF2か
ら、ここに書き込まれている地名データCTYDが読み出さ
れ、その後、処理はステップ331に進む。However, in step 324, LCLP =
In the case of NUMBUF2, since the rewritten place name and the local time of the area are targets for display, the process proceeds from step 324 to step 325. Then, in this step 325, the place name data CTYD written therein is read from the second place name buffer CTYBUF2, and then the process proceeds to step 331.
【0096】したがって、ステップ331において、ス
テップ325で地名バッファCTYBUF2から読み出された
地名データCTYDによる地名が、ローカル時刻の地名とし
てLCD41のエリア41Aに表示されるとともに、ロ
ーカル時刻が、LCD41のエリア41Cにデジタル表
示される。Therefore, in step 331, the place name based on the place name data CTYD read from the place name buffer CTYBUF2 in step 325 is displayed in the area 41A of the LCD 41 as the place name of the local time, and the local time is displayed in the area 41C of the LCD 41. Is displayed digitally.
【0097】こうして、この表示処理ルーチン300に
よれば、ROM32に記憶されている地名以外の地名で
あっても、ワールド時刻の表示の場合、及びローカル時
刻の表示の場合、メモリ34の地名バッファCTYBUF、CT
YBUF2に記憶されている地名データCTYD、CTYDを使用す
ることにより、自由に表示することができる。Thus, according to the display processing routine 300, even if the place names other than the place names stored in the ROM 32 are displayed in the world time and the local time, the place name buffer CTYBUF of the memory 34 is displayed. , CT
By using the place name data CTYD, CTYD stored in YBUF2, it is possible to display freely.
【0098】[0098]
【発明の効果】この発明によれば、ROM32の時差テ
ーブルTDTBLの地名データCTYD以外に、メモリ34を用
意し、このメモリ34に記憶した地名データCTYDも使用
して地名を表示しているので、メモリ34の地名データ
CTYDを書き換えることにより、任意の地名を表示するこ
とができる。According to the present invention, in addition to the place name data CTYD of the time difference table TDTBL of the ROM 32, the memory 34 is prepared and the place name data CTYD stored in this memory 34 is also used to display the place name. Place name data in memory 34
By rewriting CTYD, you can display any place name.
【0099】また、ROM32あるいはメモリ34とし
て大容量のものを必要とすることもなく、マイコン30
として、1チップマイコンを使用している場合でも、問
題がない。Further, it is not necessary to use a large capacity ROM 32 or memory 34, and the microcomputer 30
As a result, there is no problem even when using a one-chip microcomputer.
【0100】さらに、ROM32にデフォルトの地名デ
ータCTYDが用意されているので、地名データCTYDをひん
ぱんに書き換えても、ROM32の地名データCTYDに戻
すことができ、時差データTMDFと、地名との関係がでた
らめになることがない。Further, since the default place name data CTYD is prepared in the ROM 32, the place name data CTYD can be returned to the place name data CTYD in the ROM 32 even if the place name data CTYD is frequently rewritten, and the relationship between the time difference data TMDF and the place name is shown. There is no randomness.
【図1】この発明の一例を示す系統図である。FIG. 1 is a system diagram showing an example of the present invention.
【図2】データテーブルの一例を示す図である。FIG. 2 is a diagram showing an example of a data table.
【図3】メモリの内容の一例を示す図である。FIG. 3 is a diagram showing an example of contents of a memory.
【図4】表示ルーチンを使用する処理ルーチンの各例を
示すフローチャートである。FIG. 4 is a flowchart showing each example of a processing routine using a display routine.
【図5】書き換えルーチンの一例を示すフローチャート
である。FIG. 5 is a flowchart showing an example of a rewriting routine.
【図6】表示ルーチンの一例を示すフローチャートであ
る。FIG. 6 is a flowchart showing an example of a display routine.
【図7】表示例を示す図である。FIG. 7 is a diagram showing a display example.
【図8】メモリの内容の他の例を示す図である。FIG. 8 is a diagram showing another example of the contents of the memory.
【図9】書き換えルーチンの他の例を示すフローチャー
トである。FIG. 9 is a flowchart showing another example of the rewriting routine.
【図10】表示ルーチンの他の例を示すフローチャート
である。FIG. 10 is a flowchart showing another example of the display routine.
10 受信回路 20 時計回路 30 マイクロコンピュータ 31 CPU 32 ROM 34 メモリ 37 キーインターフェイス回路 41 LCD 42 ディスプレイコントローラ 200 書き換えルーチン 300 表示処理ルーチン KTS〜K9 操作キー 10 receiving circuit 20 clock circuit 30 microcomputer 31 CPU 32 ROM 34 memory 37 key interface circuit 41 LCD 42 display controller 200 rewriting routine 300 display processing routine KTS to K9 operation keys
Claims (1)
ィスプレイと、 時差のデータ及び上記地名のデータのテーブルを有する
ROMと、 書き換え可能なメモリとを有し、 少なくとも1つの地名のデータを上記メモリに書き込む
とともに、 上記テーブルにおいて上記書き込んだ地名のデータが対
応する位置を、上記メモリに記憶し、 上記時計回路の計時する時刻を、上記時差のデータによ
り補正してから上記ディスプレイに供給してその補正さ
れた時刻を表示するとともに、 上記メモリに記憶した位置にしたがって、上記テーブル
あるいは上記メモリから、上記地名のデータを取り出
し、 この取りだした地名のデータを上記ディスプレイに供給
してその地名のデータの示す地名を表示するようにした
世界時計。1. A clock circuit, a display for displaying a place name and a time in the area indicated by the place name, a ROM having a table of time difference data and the place name data, and a rewritable memory. Data of one place name is written in the memory, the position corresponding to the place name data written in the table is stored in the memory, and the time measured by the clock circuit is corrected by the time difference data. The data of the place name is supplied from the table or the memory according to the position stored in the memory and supplied to the display to display the corrected time, and the extracted place name data is supplied to the display. And the world clock that displayed the place name indicated by the data of that place name
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6023324A JPH07209448A (en) | 1994-01-24 | 1994-01-24 | World clock |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6023324A JPH07209448A (en) | 1994-01-24 | 1994-01-24 | World clock |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07209448A true JPH07209448A (en) | 1995-08-11 |
Family
ID=12107415
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6023324A Pending JPH07209448A (en) | 1994-01-24 | 1994-01-24 | World clock |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07209448A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022024912A1 (en) * | 2020-07-29 | 2022-02-03 | ヤンマーホールディングス株式会社 | Display device and work vehicle provided with display device |
-
1994
- 1994-01-24 JP JP6023324A patent/JPH07209448A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022024912A1 (en) * | 2020-07-29 | 2022-02-03 | ヤンマーホールディングス株式会社 | Display device and work vehicle provided with display device |
| JP2022025445A (en) * | 2020-07-29 | 2022-02-10 | ヤンマーホールディングス株式会社 | Display device and work vehicle equipped with a display device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0455821B1 (en) | Receiver | |
| JP3435254B2 (en) | Radio receiver | |
| JPH07312536A (en) | Shortwave receiver | |
| JP3287375B2 (en) | Synthesizer receiver | |
| JP2930084B2 (en) | Radio receiver | |
| JPH04314222A (en) | Radio selective calling receiver | |
| JP3111503B2 (en) | Selective call receiver | |
| JPH07209448A (en) | World clock | |
| JPH01311728A (en) | Radio receiver | |
| JPH05164857A (en) | Clock device | |
| JP3551567B2 (en) | Time data receiving device | |
| JP3109536B2 (en) | Radio receiver | |
| JP3389566B2 (en) | Radio receiver | |
| JPH07209450A (en) | Receiver with timer | |
| JPH0430811Y2 (en) | ||
| JPH02131612A (en) | Electronic tuner | |
| JPH0434577Y2 (en) | ||
| JPH09121141A (en) | Receiving machine | |
| JP3095034B2 (en) | Radio receiver | |
| JP2727804B2 (en) | Radio selective call receiver and method of setting incoming call information display order | |
| JPH089986Y2 (en) | Communication device with message receiving function | |
| JPH1155136A (en) | Information receiver | |
| JPH06334487A (en) | Synthesizer receiver | |
| JPS62131621A (en) | On-vehicle automatic preset reception equipment | |
| JPH07336194A (en) | Radio receiver |