JPH06202608A - Electronic equipment - Google Patents
Electronic equipmentInfo
- Publication number
- JPH06202608A JPH06202608A JP5000518A JP51893A JPH06202608A JP H06202608 A JPH06202608 A JP H06202608A JP 5000518 A JP5000518 A JP 5000518A JP 51893 A JP51893 A JP 51893A JP H06202608 A JPH06202608 A JP H06202608A
- Authority
- JP
- Japan
- Prior art keywords
- character
- font
- data
- underline
- lcd
- 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
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、5*7ドットまたは5
*10ドットのドットマトリックスによるキャラクター
モードLCDに、安価にアンダーラインありのキャラク
ター表示ができるようにした電子機器に関するものであ
る。The present invention relates to 5 * 7 dots or 5 dots.
* It relates to an electronic device in which a character mode LCD with a dot matrix of 10 dots can display an underlined character at a low cost.
【0002】[0002]
【従来の技術】近年、キャラクターモードLCDを制御
する、安価なLCDコントローラが、多数市販されてい
る。しかし、これらのLCDコントローラにはアンダー
ラインを表示する機能がない。2. Description of the Related Art In recent years, many inexpensive LCD controllers for controlling a character mode LCD are commercially available. However, these LCD controllers do not have the ability to display underlines.
【0003】ここで、このキャラクターモードLCDを
使用してキャラクターにアンダーラインを表示しようと
するには、カーソル機能を使用することが考えられる。
しかし、カーソル機能を用いたのでは、一文字のみしか
アンダーラインが表示できず、実際的でない。また、連
続してアンダーラインを表示するには、LCDコントロ
ーラに内蔵されたRAMのうち、ユーザーに解放された
領域に、アンダーラインを付けたキャラクターをビット
展開して登録しておけば、不可能ではない。しかしなが
ら、この解放された領域は、例えば割り当て得る文字数
が8文字分など、非常に小さなものであり、この文字数
を越えて、アンダーラインを表示することは出来なかっ
た。Here, in order to display an underline on a character using this character mode LCD, it is conceivable to use a cursor function.
However, using the cursor function is not practical because only one character can be underlined. Also, in order to display underline continuously, it is impossible to register the underlined character with bit expansion in the area released to the user in the RAM built in the LCD controller. is not. However, the released area is very small, for example, the number of characters that can be allocated is eight, and it is impossible to display the underline beyond the number of characters.
【0004】[0004]
【発明が解決しようとする課題】そこで、従来キャラク
ターモードLCDを持つ電子機器において、アンダーラ
イン付きのキャラクターを表示しようとすると、キャラ
クターを登録するための第1のRAMと、それぞれのキ
ャラクターがアンダーラインを有するか否か情報を表す
ためのデータを登録する為の第2のRAMとを必要と
し、さらに第1、第2のRAMのデータからキャラクタ
ーをビット展開して合成し、表示一画面分の合成後のデ
ータを登録するための第3の表示用RAMを必要とし
た。Therefore, when an underlined character is displayed in an electronic device having a conventional character mode LCD, the first RAM for registering the character and each character underlined. Requires a second RAM for registering data for representing information as to whether or not the character has a character, and further, a character is bit-expanded from the data of the first and second RAMs and synthesized to display one screen. It required a third display RAM for registering the data after composition.
【0005】しかしながらこのような構成では、システ
ムが複雑になり小型化が困難になるし、コスト高になる
ので、携帯性を重視した低価格の電子機器には、採用し
づらいという問題点があった。However, with such a configuration, the system becomes complicated, downsizing becomes difficult, and the cost becomes high, so that there is a problem that it is difficult to adopt in a low-priced electronic device in which portability is important. It was
【0006】[0006]
【課題を解決するための手段】本発明は上記問題点を解
決するため、CGROMには、アンダーラインなしのキ
ャラクターフォントと、アンダーラインありのキャラク
ターフォントとが、対応付けて登録されており、アンダ
ーライン変換処理の指定情報を入力して、キャラクター
コードのうち、指定情報に係る部分をアンダーラインあ
りのキャラクターコードに変換するデータ変換処理部が
設けられている。In order to solve the above-mentioned problems, the present invention has a CGROM in which a character font without underlining and a character font with underlining are registered in association with each other. A data conversion processing unit is provided which inputs designation information for line conversion processing and transforms a portion of the character code relating to the designation information into a character code with underlining.
【0007】[0007]
【作用】上記構成により、まず入力されたキャラクター
コードが、データ登録部に記憶され、このキャラクター
コードを有するキャラクターフォント(アンダーライン
なし)が、キャラクターモードLCDに表示される。With the above construction, the input character code is first stored in the data registration section, and the character font (without underline) having this character code is displayed on the character mode LCD.
【0008】次いで、表示されたキャラクターフォント
のうち、アンダーラインを付すべき指定情報が入力され
ると、データ変換処理部が、キャラクターコードのうち
指定情報に係る部分をアンダーラインありのキャラクタ
ーコードに変換する。その結果、指定情報に係る部分に
ついて、CGROM内のアンダーラインありのキャラク
ターフォントが表示される。Next, when the designation information to be underlined is input from the displayed character font, the data conversion processing unit converts the portion of the character code relating to the designation information to the character code with underline. To do. As a result, the underlined character font in the CGROM is displayed for the portion related to the designation information.
【0009】ここで、LCDコントローラは、データ登
録部に記憶された、キャラクターコードを有するキャラ
クターフォントを、CGROMから表示用RAMに転送
すれば足りる。なお、これらCGROM、表示用RAM
は、ともにLCDコントローラに内蔵されているもので
よい。したがって、外部に設けられた表示用RAMを制
御可能なLCDコントローラや、キャラクターとアンダ
ーラインをビット展開して合成でき、しかも表示一画面
分のデータを登録するための表示用RAMを有するLC
Dコントローラなどは、必要でない。すなわち、一般に
市販されている安価で小型の、キャラクターモードLC
Dコントローラを採用しながら、アンダーラインが、あ
り又はなしのキャラクターを選択的に表示でき、小型で
携帯性が良く、しかも安価な電子機器が実現できる。Here, it is sufficient for the LCD controller to transfer the character font having the character code stored in the data registration section from the CGROM to the display RAM. In addition, these CGROM and display RAM
May both be built in the LCD controller. Therefore, an LCD controller capable of controlling an external display RAM and an LC having a display RAM for bit-expanding and combining a character and an underline and for registering data for one display screen
No D controller or the like is required. That is, a character mode LC that is generally commercially available and is inexpensive and small.
While adopting the D controller, a character with or without underline can be selectively displayed, and it is possible to realize an electronic device that is small, has good portability, and is inexpensive.
【0010】[0010]
【実施例】図1は本発明の一実施例におけるアンダーラ
インを表示する機能を持つキャラクターモードLCDを
備えた電子機器のブロック図であり、1はデータを入力
するための入力装置、2はCPU、3はROM、3ー1
はROM3内部のアンダーライン無しのキャラクターコ
ードをアンダーライン有りのキャラクターコードに変換
するデータ変換処理部、4はRAM、4ー2はRAM4
内部において入力装置1から入力されたテキストのデー
タ(キャラクターコード列)を記憶するデータ登録部、
4ー1はRAM4内部において前記データ登録部4−2
に記憶されているキャラクターコードのうち、アンダー
ラインを付すべき領域に関する指定情報を記憶する領域
登録部、5は小型で安価なLCDコントローラ、5ー1
はLCDコントローラ5内部においてCPU2からのデ
ータを登録するデータレジスタ、5ー2はLCDコント
ローラ5内部において表示データを登録する表示データ
RAM、5ー3はLCDコントローラ5内部において表
示するキャラクターフォントを登録するCGROM、6
はドライバー、7はLCDパネルである。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of an electronic device equipped with a character mode LCD having a function of displaying an underline according to an embodiment of the present invention, in which 1 is an input device for inputting data and 2 is a CPU. 3 is ROM, 3-1
Is a data conversion processing unit for converting a character code without underline in the ROM 3 into a character code with underline, 4 is RAM, 4-2 is RAM 4
A data registration unit that internally stores text data (character code string) input from the input device 1,
4-1 is the data registration unit 4-2 inside the RAM 4.
Of the character codes stored in, the area registration unit for storing the designation information on the area to be underlined, 5 is a small and inexpensive LCD controller, 5-1
Is a data register for registering data from the CPU 2 inside the LCD controller 5, 5-2 is a display data RAM for registering display data inside the LCD controller 5, and 5-3 is a character font to be displayed inside the LCD controller 5. CGROM, 6
Is a driver, and 7 is an LCD panel.
【0011】図2は本実施例における表示データの流れ
を示したフローチャートであり、(a)はキャラクター
入力のみを表したフローチャートで、(b)はアンダー
ライン有りの文字に変換する手段を表したフローチャー
トである。FIG. 2 is a flow chart showing the flow of display data in this embodiment. (A) is a flow chart showing only character input, and (b) shows means for converting into characters with underline. It is a flowchart.
【0012】図3は本実施例における図1のデータ登録
部4−2の内容を例示したもので、4ー21はアンダー
ライン変換処理前のキャラクターコード列を示し、4ー
22はアンダーライン変換処理後のキャラクターコード
列を示す。FIG. 3 shows an example of the contents of the data registration unit 4-2 of FIG. 1 in the present embodiment. 4-21 shows a character code string before underline conversion processing, and 422 shows underline conversion. The character code string after processing is shown.
【0013】図4は本実施例における表示するキャラク
ターフォントと同一キャラクターフォントにアンダーラ
インを追加したフォントを登録したCGROM5ー3の
データテーブルを示したもので、5ー31はCGROM
5ー3においてアンダーライン無しのキャラクターが登
録された領域、5ー32はCGROM5ー3においてア
ンダーライン有りのキャラクターが登録された領域であ
る。FIG. 4 shows a data table of the CGROM 5-3 in which a font in which an underline is added to the same character font as the character font to be displayed in this embodiment is registered. 5-31 is a CGROM.
An area in which characters without underlines are registered in 5-3 is an area in which characters with underlines are registered in CGROM 5-3.
【0014】以上のように構成された本実施例の小型の
キャラクターモードLCDにアンダーライン有りのキャ
ラクターを表示することのできる機能を備えた電子機器
について、以下図2を参照しながらその動作を説明す
る。なお図2において、破線内は、LCDコントローラ
5での処理である。The operation of an electronic device having a function of displaying an underlined character on the small character mode LCD of the present embodiment configured as described above will be described below with reference to FIG. To do. Note that, in FIG. 2, the processing in the LCD controller 5 is shown in a broken line.
【0015】まず、アンダーライン無しのキャラクタ
ー”ABCDEFGHIJK”をLCDパネル7のLC
D表示アドレス”00、01、02、03、04、0
5、06、07、08、09、0A”に表示する手順に
ついて説明する。入力装置1よりデータが入力され(ス
テップ1)、そのデータはCPU2により読みとられR
AM4のデータ登録部4ー2にキャラクターコード”4
1,42,43,44,45,46,47,48,4
9,4A,4B”が登録される(ステップ2)。この時
のデータ登録部4ー2の状態を図3の4ー21に示す。
データ登録部4ー2に登録されたキャラクターコード
は、CPU2によりLCDコントローラ5のデータレジ
スタ5ー1に書き込まれる(ステップ3)。書き込まれ
たキャラクターコードはLCDコントローラ5の機能に
より更に表示アドレス”00、01、02、03、0
4、05、06、07、08、09、0A”に対応した
表示データRAM5ー2に転送され(ステップ4)、C
GROM5ー3によりキャラクターデータにビット展開
された後(ステップ5)、ドライバー6を経由し、LC
Dパネル7に表示される(ステップ6)。First, the character "ABCDEFGHIJK" without underline is displayed on the LCD panel LC.
D display address "00, 01, 02, 03, 04, 0
5, 06, 07, 08, 09, 0A "will be described. Data is input from the input device 1 (step 1), and the data is read by the CPU 2 and read.
Character code "4" in the data registration section 4-2 of AM4
1, 42, 43, 44, 45, 46, 47, 48, 4
9, 4A, 4B "are registered (step 2). The state of the data registration section 4-2 at this time is shown by 4-2 in FIG.
The character code registered in the data registration unit 4-2 is written in the data register 5-1 of the LCD controller 5 by the CPU 2 (step 3). The written character code is further displayed at the display address “00, 01, 02, 03, 0 by the function of the LCD controller 5.
4, 05, 06, 07, 08, 09, 0A ”is transferred to the display data RAM 5-2 (step 4), C
After bit expansion into character data by GROM5-3 (step 5), LC is passed via driver 6.
It is displayed on the D panel 7 (step 6).
【0016】次に入力された”ABCDEFGHIJ
K”のうち”DEFGH”がアンダーライン有りのキャ
ラクターに変換されLCDパネル7に表示される手順に
ついて説明する。入力装置1より”DEFGH”につい
て、アンダーライン変換処理の指定情報(アンダーライ
ン有りのキャラクターに変換する指示)が入力される
(ステップ11)。その指示によりCPU2は、アンダ
ーライン変換領域”03、04、05、06、07”を
まず領域登録部4ー1に登録する(ステップ12)。次
に、ROM3のデータ変換処理部3ー1によってデータ
登録部4ー2のキャラクターコードのうち、領域登録部
4ー1の領域のキャラクターコードのみ特定の値”6
0”が加算され(ステップ13)、”A4,A5,A
6,A7,A8”にデータ登録部4ー2のキャラクター
コードが書き換えられる(ステップ14)。この時のデ
ータ登録部4ー2の状態を図3の4ー22に示す。デー
タ登録部4ー2にの書き換えられたキャラクターコード
は、CPU2によりLCDコントローラ5のデータレジ
スタ5ー1に書き込まれる(ステップ15)。書き込ま
れたキャラクターコードは更に表示アドレス”03、0
4、05、06、07”に対応した表示データRAM5
ー2に転送され(ステップ16)、CGROM5ー3に
よりビット展開されたキャラクターデータにされる(ス
テップ17)が、このときのキャラクターコードはもと
のアンダーライン無しのキャラクターにアンダーライン
のみが追加された表示データとなるような配置にCGR
OM5−3に登録されているので、ドライバー6を経由
し、LCDパネル7に表示されるキャラクターは”A,
B,C,D(アンダーラインあり),E(アンダーライ
ンあり),F(アンダーラインあり),G(アンダーラ
インあり),H(アンダーラインあり),I,J,K”
となる(ステップ18)。Next, the input "ABCDEFGHIJ"
The procedure of converting "DEFGH" of K "into an underlined character and displaying it on the LCD panel 7 will be described. The input information of the underline conversion process (characters with underline) for" DEFGH "from the input device 1. Is input (step 11), and the CPU 2 first registers the underline conversion area "03, 04, 05, 06, 07" in the area registration unit 4-1 (step 12). Next, among the character codes of the data registration section 4-2 by the data conversion processing section 3-1 of the ROM 3, only the character code of the area of the area registration section 4-1 has a specific value "6".
0 "is added (step 13), and" A4, A5, A
6, A7, A8 ", the character code of the data registration section 4-2 is rewritten (step 14). The state of the data registration section 4-2 at this time is shown in 4-22 of FIG. The rewritten character code of 2 is written in the data register 5-1 of the LCD controller 5 by the CPU 2 (step 15) The written character code is further displayed at the display address "03,0".
Display data RAM5 corresponding to 4, 05, 06, 07 "
-2 (step 16) and converted into character data bit-developed by the CGROM 5-3 (step 17), but the character code at this time is only the underline is added to the original character without underline. CGR in such an arrangement that the displayed data becomes
Since it is registered in OM5-3, the character displayed on the LCD panel 7 via the driver 6 is "A,
B, C, D (underlined), E (underlined), F (underlined), G (underlined), H (underlined), I, J, K "
(Step 18).
【0017】以上のように本実施例によれば、CGRO
M5ー3にアンダーライン有りのキャラクターフォント
とアンダーライン無しのキャラクターフォントを同時に
持つことにより、一般市販されている安価なLCDコン
トローラ5でアンダーライン有りのキャラクター表示が
できる小型の電子機器が実現できる。As described above, according to this embodiment, CGRO
By having a character font with underline and a character font without underline at the same time in M5-3, it is possible to realize a small electronic device capable of displaying a character with underline on a commercially available inexpensive LCD controller 5.
【0018】[0018]
【発明の効果】本発明に係る電子機器は、CGROM
に、アンダーラインなしのキャラクターフォントと、ア
ンダーラインありのキャラクターフォントとが、対応付
けて登録されており、アンダーライン変換処理の指定情
報を入力して、キャラクターコードのうち、指定情報に
係る部分をアンダーラインありのキャラクターコードに
変換するデータ変換処理部が設けられているので、一般
に市販されている安価なLCDコントローラを用いた、
小型で安価な電子機器において、アンダーラインあり又
はなしのキャラクター表示を選択的に行うことができ
る。The electronic device according to the present invention is a CGROM.
In, the character font without underline and the character font with underline are registered in association with each other.Enter the designation information of the underline conversion process, and enter the portion of the character code related to the designation information. Since a data conversion processing unit for converting into an underlined character code is provided, an inexpensive LCD controller which is generally commercially available is used.
In a small and inexpensive electronic device, character display with or without underline can be selectively performed.
【図1】本発明の一実施例におけるLCDを備えた電子
機器のブロック図FIG. 1 is a block diagram of an electronic device including an LCD according to an embodiment of the present invention.
【図2】(a) 本発明の一実施例におけるキャラクタ
ーの表示データの流れを示したフローチャート (b) 本発明の一実施例におけるアンダーライン文字
の表示データの流れを示したフローチャートFIG. 2A is a flowchart showing a flow of display data of a character in one embodiment of the present invention. FIG. 2B is a flowchart showing a flow of display data of an underline character in one embodiment of the present invention.
【図3】本発明の一実施例におけるデータ登録部のアン
ダーライン処理の内容を示す説明図FIG. 3 is an explanatory diagram showing the contents of underline processing of the data registration unit in the embodiment of the present invention.
【図4】本発明の一実施例におけるCGROMのデータ
テーブルの内容を示す図FIG. 4 is a diagram showing the contents of a data table of a CGROM according to an embodiment of the present invention.
1 入力装置 3ー1 データ変換処理部 4ー2 データ登録部 5 LCDコントローラ 5ー2 表示データRAM 5ー3 CGROM 7 LCDパネル 1 Input device 3-1 Data conversion processing unit 4-2 Data registration unit 5 LCD controller 5-2 Display data RAM 5-3 CGROM 7 LCD panel
Claims (2)
Mに、キャラクターフォントが登録され、データ登録部
に記憶されたキャラクターコードに基づいて、前記キャ
ラクターフォントを、前記LCDコントローラに内蔵さ
れた表示用RAMに転送し、キャラクターモードLCD
に表示する電子機器であって、 前記CGROMには、アンダーラインなしのキャラクタ
ーフォントと、アンダーラインありのキャラクターフォ
ントとが、対応付けて登録されており、 アンダーライン変換処理の指定情報を入力して、前記キ
ャラクターコードのうち、前記指定情報に係る部分をア
ンダーラインありのキャラクターコードに変換するデー
タ変換処理部が設けられていることを特徴とする電子機
器。1. A CGRO built in an LCD controller.
A character font is registered in M, and the character font is transferred to the display RAM built in the LCD controller based on the character code stored in the data registration unit, and the character mode LCD is displayed.
In the CGROM, a character font without underlining and a character font with underlining are registered in association with each other, and by inputting designation information of underline conversion processing. An electronic device comprising a data conversion processing unit for converting a portion of the character code related to the designation information into an underlined character code.
キャラクターフォントは、アンダーラインなしのキャラ
クターフォントのキャラクターコードに特定の値を加算
したキャラクターコードを有する請求項1記載の電子機
器。2. The electronic device according to claim 1, wherein the underlined character font in the CGROM has a character code obtained by adding a specific value to the character code of the underlined character font.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5000518A JPH06202608A (en) | 1993-01-06 | 1993-01-06 | Electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5000518A JPH06202608A (en) | 1993-01-06 | 1993-01-06 | Electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06202608A true JPH06202608A (en) | 1994-07-22 |
Family
ID=11475995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5000518A Pending JPH06202608A (en) | 1993-01-06 | 1993-01-06 | Electronic equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06202608A (en) |
-
1993
- 1993-01-06 JP JP5000518A patent/JPH06202608A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH06202608A (en) | Electronic equipment | |
JPH03279998A (en) | Font output controller | |
JPH0551943B2 (en) | ||
JP3814898B2 (en) | E-mail document conversion apparatus and e-mail document conversion method | |
JP2995630B2 (en) | Document data processing device | |
JPH01108625A (en) | Input device | |
JPH0573554A (en) | Document output device with writing order incorporated character pattern | |
JPH07141344A (en) | Document display method | |
JPS62246092A (en) | Full-angle cursor display unit | |
JPS62117059A (en) | Forming system for table of contents | |
JPH06103021A (en) | Data processor provided with display device | |
JPS60237570A (en) | Agate display system | |
JPS59195684A (en) | Input data processing system | |
JPS62295171A (en) | Handy word processor | |
JPS59220824A (en) | Document creating device | |
JPS61151595A (en) | Electronic appliance | |
JPH0256670A (en) | Document processing device | |
JPS59106032A (en) | Furigana (japanese syllabary attached to chinese character) adding system of text processor | |
JPH08287060A (en) | Character processor and its method | |
JPH076172A (en) | Word processor | |
JPH04238568A (en) | Character input device | |
JPH04352065A (en) | Word processor | |
JPS63106062A (en) | Electronic notebook device with tablet | |
JPH0887496A (en) | Data input device and data input system for newspaper production | |
JPS63313263A (en) | Document editer |