JPH03225392A - text display device - Google Patents
text display deviceInfo
- Publication number
- JPH03225392A JPH03225392A JP2021656A JP2165690A JPH03225392A JP H03225392 A JPH03225392 A JP H03225392A JP 2021656 A JP2021656 A JP 2021656A JP 2165690 A JP2165690 A JP 2165690A JP H03225392 A JPH03225392 A JP H03225392A
- Authority
- JP
- Japan
- Prior art keywords
- character
- circuit
- display
- size setting
- dots
- 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
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/08—Cursor circuits
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は解像度が固定されている画面にテキスト表示を
行なうテキスト表示装置に関し、特に各種文字列データ
をカーソルとともに表示画面一杯にテキスト表示を行な
うことのできるテキスト表示装置に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a text display device that displays text on a screen with a fixed resolution, and in particular, the present invention relates to a text display device that displays text on a screen with a fixed resolution, and in particular, displays text on the entire display screen with various character string data together with a cursor. The present invention relates to a text display device capable of displaying text.
[従来の技術と発明が解決しようとする課題]近年、液
晶表示パネル、あるいはプラズマ表示パネルなどにおい
て表示解像度の向上、低価格化が進み、パーソナルコン
ピュータなどにおいても可搬タイプのものが開発されて
いる。[Prior art and problems to be solved by the invention] In recent years, the display resolution of liquid crystal display panels, plasma display panels, etc. has improved and prices have fallen, and portable types of personal computers have also been developed. There is.
ところで、パーソナルコンピュータに使用されるソフト
ウェアは過去開発されたものを含んで多数流通している
が、表示媒体の技術進歩に伴い、一般に以前に開発され
たソフトウェアに対応する表示画面の解像度は新しく開
発されたソフトウェアに対応する表示画面のそれに比べ
て低い。したがって、テキスト表示の場合も以前開発さ
れたソフトウェアに対応する表示文字サイズは新しく開
発されたソフトウェアに対応するそれに比べて小さく、
同じ行数の文字列を表示するテキスト画面でも複数の文
字サイズが存在することになる。このため、新しく開発
された表示パネルを用いて、この表示パネルの改造度よ
り低いテキスト表示画面を持つソフトウェアで作成した
テキストを表示した場合、表示される部分は表示パネル
の画面サイズよりも小さくなる。このため画面に非表示
部分ができてしまい、画面全体を有効に活用できないと
いう不都合が生ずる。第8図は非表示部分ができること
を説明するための図である。By the way, a large number of software used for personal computers is in circulation, including software developed in the past. However, as display media technology advances, the resolution of display screens that correspond to previously developed software generally has to be newly developed. The display screen is lower than that of the corresponding software. Therefore, even in the case of text display, the display font size corresponding to previously developed software is smaller than that corresponding to newly developed software.
Even on a text screen that displays character strings with the same number of lines, multiple character sizes will exist. Therefore, when using a newly developed display panel to display text created with software that has a text display screen that is lower than the degree of modification of this display panel, the displayed area will be smaller than the screen size of the display panel. . Therefore, a non-display portion is created on the screen, resulting in the inconvenience that the entire screen cannot be used effectively. FIG. 8 is a diagram for explaining that a hidden portion is created.
同図を参照して、新たに開発された640X480ドツ
ト(縦X横)の表示解像度を持つ表示パネルを用いて、
以前開発された640X200ドツトの表示パネルに対
応して設定されたテキスト1頁分(文字サイズ8X8ド
ツト、80X25行)を表示した場合には、表示面積は
全体の5/12と半分以下になり全体の7/12は非表
示となる。Referring to the figure, using a newly developed display panel with a display resolution of 640 x 480 dots (vertical x horizontal),
When displaying one page of text (font size 8 x 8 dots, 80 x 25 lines) set to correspond to the previously developed 640 x 200 dot display panel, the display area becomes 5/12 of the total, less than half of the total. 7/12 will be hidden.
このような不都合を解消するには、キャラクタジェネレ
ータに8×8ドツト以外の文字形状データ、たとえば8
×19ドツトを記憶させ、8X19ドツトの文字サイズ
を設定するプログラムを組むことが考えられる。To resolve this inconvenience, the character generator must be provided with character shape data other than 8x8 dots, such as 8x8 dots.
It is conceivable to create a program that stores x19 dots and sets a character size of 8 x 19 dots.
しかし、文字サイズの設定は表示パネルの解像度に対応
させて文字表示するための核パッケージ(以下、応用プ
ログラムと称する)によって行なわれており、この応用
プログラムは新しく開発された表示パネルの解像度に対
応させたものである。However, the setting of the font size is done by a core package (hereinafter referred to as the application program) for displaying characters in accordance with the resolution of the display panel, and this application program is compatible with the resolution of the newly developed display panel. This is what I did.
しかも汎用性を持たせたものであるため、一般にパソコ
ンメーカやワープロメーカなどのユーザサイドでは、書
換えることが不可能である。また、このプログラムは秘
密にされ開示されない性質のものである。Moreover, since it is designed to be versatile, it is generally impossible for users, such as personal computer manufacturers and word processor manufacturers, to rewrite it. Additionally, this program is of a confidential nature and will not be disclosed.
また、テキスト表示では、次の文字入力位置を示すカー
ソルを表示する。カーソルの表示位置は、応用プログラ
ムによってたとえば10行目の5文字目と、文字ボック
ス内でカーソルを表示すべきライン数(たとえば文字ボ
ックス内の最も下の8ライン目)とで指定される。In addition, in text display, a cursor indicating the next character input position is displayed. The display position of the cursor is specified by the application program using, for example, the 5th character on the 10th line and the number of lines in which the cursor should be displayed within the character box (for example, the 8th line at the bottom of the character box).
しかし、前述の文字サイズの変更に伴いカーソルの表示
位置を、たとえば文字ボックス内の最も下のラインであ
る19ライン目に変更する場合にも応用プログラムを回
収する必要がある。しかしながら、応用プログラムの改
修が不可能であるため、このままではカーソル表示位置
の変更も不可能である。However, it is also necessary to recover the application program when changing the display position of the cursor to, for example, the 19th line, which is the lowest line in the character box, due to the above-mentioned change in character size. However, since it is impossible to modify the application program, it is also impossible to change the cursor display position.
本発明は、上記問題に鑑みてなされたものであり、応用
プログラムの改修をすることなく、以前開発されたソフ
トウェアであってもテキストをカーソルとともに画面全
体に表示することのできるテキス表示装置を提供するこ
とを目的とする。The present invention has been made in view of the above problems, and provides a text display device that can display text along with a cursor on the entire screen even with previously developed software without modifying the application program. The purpose is to
[課題を解決するための手段]
上記目的を達成するための本発明のテキスト表示装置は
、
画面表示手段と、
画面表示手段の表示解像度に対応させた第1の文字サイ
ズ設定手段と、
画面表示手段の表示解像度に対応していない各種文字列
データを画面一杯に表示し得る文字サイズに設定するた
めの複数の第2の文字サイズ設定手段と、
文字列データの種類の応じて第1および第2の文字サイ
ズ設定手段のうち画面一杯に表示し得る文字サイズ設定
手段を選択する選択手段と、表示すべき文字列データを
記憶するリフレッシュメモリと、
複数サイズの文字形状データを記憶した文字発生手段と
、
上記リフレッシュメモリの文字列データに従って上記第
1または第2の文字サイズ設定手段により設定された文
字サイズの文字形状データを上記文字発生手段から読出
して画面表示手段に与える読出手段と、
第2の文字サイズ設定手段が選択された場合に第1の文
字サイズ設定手段により設定される文字サイズと、第2
の文字サイズ設定手段により設定される文字サイズとの
ドツト数差を検出し、このドツト数差に基づいてカーソ
ル位置を補正するカーソル位置補正手段と、
を有することを特徴とする。[Means for Solving the Problems] A text display device of the present invention for achieving the above object includes: a screen display means; a first font size setting means adapted to the display resolution of the screen display means; and a screen display. a plurality of second character size setting means for setting various character string data that does not correspond to the display resolution of the means to a character size that can be displayed on the entire screen; A selection means for selecting a font size setting means that can be displayed to fill the screen from among the font size setting means 2, a refresh memory for storing character string data to be displayed, and a character generation means for storing character shape data of a plurality of sizes. and reading means for reading character shape data of the character size set by the first or second character size setting means according to the character string data in the refresh memory from the character generation means and providing it to the screen display means; When the font size setting means is selected, the font size set by the first font size setting means and the second font size setting means are selected.
cursor position correction means for detecting the difference in the number of dots from the character size set by the character size setting means and correcting the cursor position based on this difference in the number of dots;
[発明の作用]
上記構成の本発明であれば、各種文字列データを画面一
杯に表示し得る文字サイズに設定するための複数の文字
サイズ設定手段を有する。すなわちこの文字サイズ設定
手段には応用プログラムが設定する文字サイズ設定手段
と表示パネルの解像度に合わせた文字サイズを設定する
文字サイズ設定手段とがある。画面表示手段に応用プロ
グラムが設定する文字サイズ以外でテキストを表示する
場合には、選択手段により画面表示手段の解像度に合わ
せた文字サイズ設定手段を選択し、読出手段においてこ
の選択された文字サイズ設定手段により設定された文字
サイズで、文字発生手段から所定の文字形状データを読
出す。この読出した文字形状データを画面表示手段に与
える。そして、カーソル位置補正手段は、第1の文字サ
イズ設定手段により選択される文字サイズと、第2文字
サイズ設定手段により設定される文字サイズとのドツト
数差を検出し、この差に基づいてカーソルライン数を補
正することにより、カーソルを表示パネルの表示解像度
に合わせた位置に設定する。このカーソル位置データも
画面表示手段に与えられる。画面表示手段において表示
画像度に対応した文字サイズおよびカーソルライン数で
テキスト表示を行なうことにより、表示されるテキスト
1頁分およびカーソルラインは表示画面一杯のサイズに
なる。[Operation of the Invention] The present invention having the above configuration includes a plurality of character size setting means for setting a character size that allows various character string data to be displayed on the entire screen. That is, the font size setting means includes a font size setting means set by an application program and a font size setting means setting a font size matching the resolution of the display panel. When displaying text in a font size other than that set by the application program on the screen display means, use the selection means to select a font size setting means that matches the resolution of the screen display means, and read out the selected font size setting in the reading means. Predetermined character shape data is read from the character generating means at the character size set by the means. This read character shape data is given to screen display means. Then, the cursor position correction means detects a difference in the number of dots between the character size selected by the first character size setting means and the character size set by the second character size setting means, and the cursor position correction means detects a difference in the number of dots between the character size selected by the first character size setting means and the character size set by the second character size setting means. By correcting the number of lines, the cursor is set at a position that matches the display resolution of the display panel. This cursor position data is also given to the screen display means. By displaying text on the screen display means with a character size and number of cursor lines corresponding to the display image resolution, one page of displayed text and cursor lines fill the entire display screen.
[実施例]
以下、本発明に係るテキスト表示装置を詳細に説明する
。[Example] Hereinafter, a text display device according to the present invention will be described in detail.
第1図はテキスト表示装置としてのパーソナルコンピュ
ータのブロック図であり、第2図、第3図、第4図、第
5図は各部の詳細を示すブロック図である。FIG. 1 is a block diagram of a personal computer as a text display device, and FIGS. 2, 3, 4, and 5 are block diagrams showing details of each part.
同図を参照して、入力源回路1には、アドレスバス2、
データバス3が接続され、アドレスバス2およびデータ
バス3の双方には、メモリアドレス設定回路4、第1文
字サイズ設定回路5、この第1文字サイズ設定回路5と
第2文字サイズ設定回路6とを選択的に有効にするセレ
クタ7、プロテクト回路8、カーソル発生回路9が接続
される。Referring to the figure, the input source circuit 1 includes an address bus 2,
A data bus 3 is connected, and both the address bus 2 and the data bus 3 are connected to a memory address setting circuit 4, a first character size setting circuit 5, and a first character size setting circuit 5 and a second character size setting circuit 6. A selector 7, a protect circuit 8, and a cursor generation circuit 9 are connected.
またアドレスバス2にはアドレスセレクタ10が接続さ
れ、データバス3にはリフレッシュメモリ11が接続さ
れる。Further, an address selector 10 is connected to the address bus 2, and a refresh memory 11 is connected to the data bus 3.
上記入力源回路1は第2図に示すごと<CPU1asテ
キスト表示を行なうための応用プログラムおよび表示パ
ネル16の表示解像度に応じてテキストを画面一杯に表
示するためのプログラムなどを記憶したメモリ1b、キ
ーボードICや時計、ディスクドライブ、ライトベンか
らの割込信号等を入出力するインターフェイス1dなど
からなる。As shown in FIG. 2, the input source circuit 1 consists of a memory 1b storing an application program for displaying text and a program for displaying text to fill the entire screen according to the display resolution of the display panel 16, and a keyboard. It consists of an IC, a clock, a disk drive, an interface 1d that inputs and outputs interrupt signals from the light ben, etc.
この入力源回路1はインターフェイス1dから読出した
テキスト1頁分の文字列のコード、アドレスをデータバ
ス3およびアドレスバス2を介してメモリアドレス発生
回路4、第1文字サイズ設定回路5、セレクタ7、プロ
テクト回路8に与える。This input source circuit 1 receives the code and address of a character string for one page of text read from an interface 1d via a data bus 3 and an address bus 2 to a memory address generation circuit 4, a first character size setting circuit 5, a selector 7, It is applied to the protection circuit 8.
また、アドレスがアドレスセレクタ9に与えられ、文字
コードがリフレッシュメモリ11に与えられる。Further, the address is given to the address selector 9, and the character code is given to the refresh memory 11.
メモリアドレス発生回路4は同期信号発生回路12から
の同期信号および表示タイミング発生回路13からの信
号を受け、入力源回路1から与えられるアドレスを表示
パネル16の表示位置に対応するアドレスに変換する。Memory address generation circuit 4 receives a synchronization signal from synchronization signal generation circuit 12 and a signal from display timing generation circuit 13, and converts the address given from input source circuit 1 into an address corresponding to a display position on display panel 16.
すなわち、ライン、コラムを指定するための表示用アド
レスを生成し、この表示用アドレスをアドレスセレクタ
10、および文字発生回路14に与える。That is, a display address for specifying a line or column is generated, and this display address is given to the address selector 10 and the character generation circuit 14.
アドレスセレクタ10は読出手段に対応し、入力源回路
1からの書込みあるいは読出しに応答して入力源回路1
からのアドレスを選択し、リフレッシュメモリ11に与
える。リフレッシュメモリ11はアドレスセレクタ10
から送られたアドレスにデータバス3を介して入力され
るテキスト1頁分のデータを書込む。また、文字表示す
る場合には、メモリアドレス発生回路4からの表示アド
レスを選択し、リフレッシュメモリ11、文字発生回路
14に与える。これにより、リフレッシュメモリ11は
格納している文字コードを文字発生器14に与える。す
なわちこの場合のコードは文字の種類を示すアドレスで
あり、このアドレスにより表示すべき文字の種類が設定
される。The address selector 10 corresponds to reading means, and responds to writing or reading from the input source circuit 1.
, and provides it to the refresh memory 11. Refresh memory 11 is address selector 10
The data for one page of text input via the data bus 3 is written to the address sent from. Further, when displaying characters, a display address from the memory address generation circuit 4 is selected and applied to the refresh memory 11 and the character generation circuit 14. As a result, the refresh memory 11 provides the stored character code to the character generator 14. That is, the code in this case is an address indicating the type of character, and the type of character to be displayed is set by this address.
プロテクト回路8は第3図に示されるごとくアドレスデ
コーダ8a、データデコーダ8b、シーケンス回路8c
SAND回路8dなどからなり、入力源回路1から解像
度に合わせた文字サイズが指定されたときのみに第2文
字サイズ設定回路6に文字サイズを書込可能にしている
る。さらに詳細に説明すれば、アドレスデコーダ8aの
出力は、入力源回路1からアドレスバス2を介してプロ
テクト回路8のアドレスおよび第2文字サイズ設定回路
6のアドレスが入力されたときにのみ“H”となり、そ
れ以外のときは“L”になる。データデコーダ8bの出
力は特定のデータが入力されたときにのみ“Hlになり
、それ以外のときは“Loになる。シーケンス回路8c
の出力はアドレスデコーダの出力が“Hoのときおよび
データデコーダ8bの出力が2回連続して“Hoになっ
た場合“H”となり、アドレスデコーダ8aの出力が“
Loになると、直ちに“L”になる。したがって、シー
ケンス回路8Cの出力は“H”の場合のみすなわちプロ
テクト回路8に連続して2回特定のデータを書込んだ直
後のみアドレスはAND回路8dの出力へ通過する。こ
れにより第2文字サイズ設定回路のアドレスが設定でき
、第2文字サイズ設定回路6にデータを書込むことがで
きる。As shown in FIG. 3, the protect circuit 8 includes an address decoder 8a, a data decoder 8b, and a sequence circuit 8c.
It consists of a SAND circuit 8d and the like, and allows writing of a character size in the second character size setting circuit 6 only when a character size matching the resolution is specified from the input source circuit 1. More specifically, the output of the address decoder 8a goes high only when the address of the protect circuit 8 and the address of the second character size setting circuit 6 are input from the input source circuit 1 via the address bus 2. In other cases, it becomes "L". The output of the data decoder 8b becomes "Hl" only when specific data is input, and becomes "Lo" otherwise. Sequence circuit 8c
The output becomes "H" when the output of the address decoder is "Ho" and when the output of the data decoder 8b becomes "Ho" twice in a row, and the output of the address decoder 8a becomes "H".
When it goes to Lo, it immediately goes to "L". Therefore, the address passes to the output of the AND circuit 8d only when the output of the sequence circuit 8C is "H", that is, only immediately after specific data is written into the protect circuit 8 twice in succession. As a result, the address of the second character size setting circuit can be set, and data can be written to the second character size setting circuit 6.
その後、プロテクト回路8あるいは第2文字サイズ設定
回路6以外のアドレスを設定すると、シーケンス回路8
Cの出力は“Loになり、第2文字サイズ設定回路6へ
の書込みはできなくなる。After that, if an address other than the protect circuit 8 or the second character size setting circuit 6 is set, the sequence circuit 8
The output of C becomes "Lo", and writing to the second character size setting circuit 6 becomes impossible.
なおデータデコーダ8bの出力は2回連続して“H”の
ときプロテクト回路8を解除するようにしているが、こ
れは応用プログラムがシステム立上げ時に第2文字サイ
ズ設定回路6にデータを書込むのを確実に防止するため
である。但し、確実性よりも迅速性をとる場合には、デ
ータデコーダ8bの出力は1回“H”のとき、プロテク
ト回路8を解除するようにしてもよい。Note that the protect circuit 8 is released when the output of the data decoder 8b is "H" twice in a row, but this is because the application program writes data to the second character size setting circuit 6 at system startup. This is to ensure that this is prevented. However, if speed is preferred over reliability, the protect circuit 8 may be released when the output of the data decoder 8b is "H" once.
第4図は第1文字サイズ設定回路5、第2文字サイズ設
定回路6と文字発生回路13との関係を示すブロック図
である。同図を参照して、第1文字サイズ設定回路5、
第2文字サイズ設定回路6はともにアドレスデコーダ5
a、6aおよび先頭アドレス設定レジスタ5b、6bを
有し、第1文字サイズ設定回路5のアドレスデコーダ5
aは入力源回路1からのアドレスを解読し、先頭アドレ
ス設定レジスタ5bに与える。先頭アドレス設定レジス
タ5bは、入力源回路1からのデータを書込む。このデ
ータは文字発生回路13に読出すべき文字の先頭アドレ
スとして文字発生回路13に与えられる。また、第2文
字サイズ設定回路6のアドレスデコーダ6aは、プロテ
クト回路8からのアドレスを解読し、先頭アドレス設定
レジスタ6bに与える。先頭アドレス設定レジスタ6b
は、プロテクト回路8を介して入力される入力源回路1
からのデータを書込む。このデータは文字発生回路13
に読出すべき文字の先頭アドレスAl11としてセレク
タ7を介して文字発生回路14に与えられる。すなわち
、第1文字サイズ設定回路5は入力源回路1の応用プロ
グラムによりテキスト1頁内の文字サイズが書込まれる
レジスタであり、第2文字サイズ設定回路は入力源回路
1がシステム立上げ時に動作し、表示パネル16の画面
一杯にテキスト1頁分を表示可能な文字サイズが書込ま
れるレジスタである。FIG. 4 is a block diagram showing the relationship between the first character size setting circuit 5, the second character size setting circuit 6, and the character generation circuit 13. Referring to the figure, first character size setting circuit 5,
Both the second character size setting circuit 6 and the address decoder 5
an address decoder 5 of the first character size setting circuit 5.
a decodes the address from the input source circuit 1 and supplies it to the start address setting register 5b. The data from the input source circuit 1 is written into the start address setting register 5b. This data is given to the character generation circuit 13 as the start address of the character to be read out. Further, the address decoder 6a of the second character size setting circuit 6 decodes the address from the protect circuit 8 and supplies it to the start address setting register 6b. Start address setting register 6b
is the input source circuit 1 which is input via the protect circuit 8
Write data from. This data is the character generation circuit 13
It is applied to the character generation circuit 14 via the selector 7 as the start address Al11 of the character to be read out. That is, the first character size setting circuit 5 is a register in which the character size in one page of text is written by the application program of the input source circuit 1, and the second character size setting circuit is activated when the input source circuit 1 starts up the system. This is a register in which the font size that allows one page of text to be displayed on the entire screen of the display panel 16 is written.
文字発生回路14は文字文字形状データ(ドツトパター
ン)を複数のサイズで記憶したROMであり、第1また
は第2文字サイズ設定回路5.6により先頭アドレス八
〇、A・□が設定され、次にリフレッシュメモリ10か
らの文字コードにより文字の種類が設定され、さらに、
メモリアドレス発生回路4からのアドレスによりライン
が設定される。同図中の0〜Nのアドレスは、上記リフ
レッシュメモリ10、およびメモリアドレス発生回路4
により指定されるアドレスである。以上の先頭アドレス
、文字の種類、行アドレスに従って記憶している文字形
状データをビデオ回路15に出力する。この文字発生回
路14に記憶されている内容をさらに具体的に説明する
。たとえば、8×8ドツトの文字フォント%8X19ト
ッドの文字フォントなどの各種サイズの文字パターンを
記憶しておき、8X8ドツトサイズは応用プログラムで
そのまま設定される文字サイズとする。また8X19ド
ツトの文字フォントは、以前開発された8×8ドツトの
文字フォント(640X200ドツトの表示解像度、1
頁80X25文字)を本装置の表示パネル16 (64
0X480ドツト)の画面一杯に表示させる場合に使用
する。これによれば、80X25文字のテキストを64
0X475ドツトで表示することができる。なお、上記
文字サイズは一例であり、各種のテキストに対応させて
その他の文字サイズを記憶させてもよい。The character generation circuit 14 is a ROM that stores character shape data (dot patterns) in a plurality of sizes, and the first or second character size setting circuit 5.6 sets the first address 80, A. The character type is set according to the character code from the refresh memory 10, and further,
A line is set by the address from the memory address generation circuit 4. Addresses 0 to N in the figure refer to the refresh memory 10 and the memory address generation circuit 4.
This is the address specified by . The stored character shape data is output to the video circuit 15 according to the above-mentioned start address, character type, and line address. The contents stored in this character generation circuit 14 will be explained in more detail. For example, character patterns of various sizes, such as a character font of 8x8 dots and a character font of %8x19 tod, are stored, and the 8x8 dot size is the character size set as is in the application program. In addition, the 8 x 19 dot character font is a previously developed 8 x 8 dot character font (640 x 200 dot display resolution, 1
page 80 x 25 characters) on the display panel 16 (64
(0x480 dots) is used to display the entire screen. According to this, 80 x 25 characters of text can be converted into 64 characters.
It can be displayed as 0x475 dots. Note that the above font size is an example, and other font sizes may be stored in correspondence with various types of text.
第5図はカーソル発生回路9の詳細を示すブロック図で
ある。同図を参照して、垂直方向ドツト数差検出回路9
aは、システム立上げ時に設定される第2文字サイズ設
定回路6の文字サイズと、応用プログラムにより設定さ
れる第1文字サイズ設定回路5の文字サイズとを比較し
、垂直方向のドツト数差を検出するものである。この検
出された垂直方向のドツト数差はライン数補正回路9e
に与えられる。カーソル表示位置設定レジスタ9bはど
の文字位置にカーソルを表示するか設定するレジスタで
あり、カーソル表示ライン数差設定レジスタ9Cはカー
ソルを文字ボックスの何ライン目に表示するかを設定す
るレジスタである。カーソル表示位置設定レジスタ9b
、カーソル表示ライン数設定レジスタ9Cには、アドレ
スバス2、データバス3を介して入力源回路1よりデー
タが書込まれる。カーソル表示位置設定レジスタ9bの
データ出力はアドレス比較回路9dに入力される。一方
アドレス比較回路9dはメモリアドレス発生回路4より
表示文字位置を示すアドレスが入力され、カーソル表示
位置設定レジスタ9bのデータが現在表示されている文
字位置と一致したとき出力が“Hルーベルになり、不一
致の場合は“L”レベルになる。一方、カーソル表示ラ
イン数似レジスタ9Cのデータ出力は、ライン数補正回
路9eに入力される。ライン数補正回路9eは、このデ
ータを垂直方向ドツト数差検出回路9aからのドツト数
差によりライン数を補正し、この補正したデータをライ
ン数比較回路9fに入力する。FIG. 5 is a block diagram showing details of the cursor generation circuit 9. Referring to the figure, the vertical dot number difference detection circuit 9
a compares the character size of the second character size setting circuit 6 set at system startup with the character size of the first character size setting circuit 5 set by the application program, and calculates the difference in the number of dots in the vertical direction. It is something to detect. This detected difference in the number of dots in the vertical direction is calculated by the line number correction circuit 9e.
given to. The cursor display position setting register 9b is a register for setting at which character position the cursor is to be displayed, and the cursor display line number difference setting register 9C is a register for setting at which line in the character box the cursor is to be displayed. Cursor display position setting register 9b
, data is written into the cursor display line number setting register 9C from the input source circuit 1 via the address bus 2 and data bus 3. The data output of the cursor display position setting register 9b is input to the address comparison circuit 9d. On the other hand, the address comparison circuit 9d receives the address indicating the display character position from the memory address generation circuit 4, and when the data in the cursor display position setting register 9b matches the currently displayed character position, the output becomes "H rubel". If there is a mismatch, the data output from the cursor display line number similar register 9C is input to the line number correction circuit 9e.The line number correction circuit 9e converts this data into a vertical dot number difference. The number of lines is corrected based on the difference in the number of dots from the detection circuit 9a, and the corrected data is input to the line number comparison circuit 9f.
また、ライン数比較回路9fにはメモリアドレス発生回
路4より表示ライン数を示すアドレスが入力され、ライ
ン数補正回路9eのデータが現在表示されているライン
数と一致したとき出力は“H。Further, the line number comparison circuit 9f receives an address indicating the number of display lines from the memory address generation circuit 4, and when the data of the line number correction circuit 9e matches the currently displayed line number, the output is "H".
レベルとなり、不一致の場合は″L″レベルとなる。ア
ドレス比較回路9dおよびライン数比較回路9fの出力
はアンドゲート9gに入力され、その出力はビデオ回路
15に入力される。したがって、アンドゲート9fの出
力はカーソルが位置されるべき文字位置における表示ラ
イン数のときだけ“H”レベルとなり、その他のときは
“L”レベルとなりカーソル表示の信号となる。If there is a mismatch, the level becomes "L". The outputs of the address comparison circuit 9d and the line number comparison circuit 9f are input to an AND gate 9g, and the output thereof is input to the video circuit 15. Therefore, the output of the AND gate 9f is at the "H" level only when the number of display lines at the character position where the cursor is to be placed is at the "L" level, and at other times it is at the "L" level and serves as a cursor display signal.
さらに具体的に説明すれば、たとえば応用プログラムが
第1文字サイズ設定回路5に8X8ドツト、カーソル表
示ライン数設定レジスタ9bに8ラインを設定した場合
、表示パネル16の表示解像度640ドツト×480ド
ツトに対して、システム立上げ時に第2文字サイズ設定
回路6に8×19ドツトが設定される。この場合垂直方
向ドツト数差検出回路7aは8ドツトと19ドツトの差
11ドツトを検出し、ライン数補正回路9eに11ドツ
トの補正データを入力する。一方カーソル表示ライン数
設定レジスタ9Cの出力は8ラインであるからライン数
補正回路9eの出力は8+11−19ラインとなる。し
たがって、テキスト表示およびカーソル表示は第6図の
(a)から(b)のように補正される。すなわち文字ボ
ックス8×8ドツトの内容(8×6ドツトの文字、8ラ
イン目のカーソル)が文字ボックス8X19ドツト内に
8×16ドツトの文字、19ライン目のカーソルで表示
される。More specifically, for example, if the application program sets 8x8 dots in the first character size setting circuit 5 and 8 lines in the cursor display line number setting register 9b, the display resolution of the display panel 16 is 640 dots x 480 dots. On the other hand, 8×19 dots are set in the second character size setting circuit 6 at the time of system startup. In this case, the vertical dot number difference detection circuit 7a detects a difference of 11 dots between 8 dots and 19 dots, and inputs correction data of 11 dots to the line number correction circuit 9e. On the other hand, since the output of the cursor display line number setting register 9C is 8 lines, the output of the line number correction circuit 9e is 8+11-19 lines. Therefore, the text display and cursor display are corrected as shown in FIGS. 6(a) to 6(b). That is, the contents of the 8x8 dot character box (8x6 dot characters, 8th line cursor) are displayed in the 8x19 dot character box with 8x16 dot characters and 19th line cursor.
ビデオ回路15は、文字発生回路14から出力される文
字形状データを、カーソル発生回路9により補正された
カーソル表示位置データとともに、同期信号により同期
されたタイミングで並/直変換し、これを表示パネル1
6に与える。The video circuit 15 performs parallel/direct conversion on the character shape data output from the character generation circuit 14 together with the cursor display position data corrected by the cursor generation circuit 9 at a timing synchronized by a synchronization signal, and converts the character shape data to the display panel. 1
Give to 6.
以下、第1図のテキスト表示装置の動作を第7図のフロ
ーチャートを参照して説明する。なお、本動作において
は表示解像度640X200ドツト、1文字8X8ドツ
ト、1頁80X25行のソフトウェアを640x480
ドツトの表示パネル16を用い、8×19ドツトで80
X25文字で表示する場合を例とする。まずステップS
1において、入力源回路1はテキスト1頁分を判読し、
8×8ドツトで表示すべきか、8X19ドツトサイズで
表示すべきかを判別する。8×8ドツトサイズで表示す
べきと判別した場合には、ステップS6において、応用
プログラムを呼出す。逆に8×19ドツトサイズで表示
すべきと判別した場合には、ステップS2において、第
2文字サイズ設定回路8を8×19ドツトに設定するた
めのデータをプロテクト回路8に出力、プロテクト回路
8を解除する。The operation of the text display device shown in FIG. 1 will be explained below with reference to the flowchart shown in FIG. In addition, in this operation, the display resolution of the software is 640 x 200 dots, 8 x 8 dots per character, and 80 x 25 lines per page.
Using the dot display panel 16, 80 × 19 dots
Let us take as an example the case of displaying with X25 characters. First step S
1, the input source circuit 1 reads one page of text,
It is determined whether the image should be displayed in 8×8 dot size or 8×19 dot size. If it is determined that the image should be displayed in 8×8 dot size, an application program is called in step S6. On the other hand, if it is determined that the character should be displayed in 8×19 dots size, in step S2, data for setting the second character size setting circuit 8 to 8×19 dots is output to the protect circuit 8, and the protect circuit 8 is unlock.
ステップS3において入力源回路1からの8×19ドツ
トサイズにするためのデータが第2文字サイズ設定回路
6に書込まれる。In step S3, data for setting the character size to 8×19 dots from the input source circuit 1 is written to the second character size setting circuit 6.
ステップS4において、第2文字サイズ設定回路6への
データが書込終了後、プロテクト回路8をセットし、第
2文字サイズ設定回路6へ書込みを禁止する。In step S4, after data has been written to the second character size setting circuit 6, the protect circuit 8 is set to prohibit writing to the second character size setting circuit 6.
ステップS5において、第1文字サイズ設定回路5と、
第2文字サイズ設定回路6の文字サイズとを比較し、垂
直方向のドツト数差に基づいてライン数を設定する。こ
れは、垂直方向ドツト数差検出回路9aと、ライン数補
正回路9eとを動作させることにより行なわれる。In step S5, the first character size setting circuit 5,
The character size is compared with that of the second character size setting circuit 6, and the number of lines is set based on the difference in the number of dots in the vertical direction. This is performed by operating the vertical dot number difference detection circuit 9a and the line number correction circuit 9e.
ステップS6において応用プログラムを呼出す。The application program is called in step S6.
ステップS7において、応用プログラムを動作させる。In step S7, the application program is operated.
すなわち、応用プログラムに従ってリフレッシュメモリ
11にテキスト1頁分のデータを書込み、この書込んだ
文字列データに従って8×19ドツトサイズの文字形状
データが読出される。That is, data for one page of text is written into the refresh memory 11 according to the application program, and character shape data of 8×19 dot size is read out in accordance with the written character string data.
またカーソル位置データ(19ライン目が読出される。Also, cursor position data (line 19 is read out).
上記応用プログラムは8×8ドツトサイズの文字形状デ
ータを読出すとともに、カーソル位置を8ライン目に設
定するプログラムであるが、ステップS3において第2
文字サイズ設定回路6が文字発生回路14から8×19
ドツトサイズの文字形状データを読出すべく先頭アドレ
スをA□に設定しているので、リフレッシュメモリ11
からのアドレス、およびメモリアドレス設定回路4から
のラインアドレスに従って読出される文字形状データは
8X19ドツトサイズとなる。また、カーソルライン数
がカーソル発生回路9により19番目に設定されている
ので、カーソル位置は文字ボックスの19ライン目に表
示される。この読出された文字形状データおよびカーソ
ル表示位置データはビデオ回路15に与えられる。The above application program is a program that reads character shape data of 8×8 dot size and sets the cursor position to the 8th line.
The character size setting circuit 6 is set to 8×19 from the character generation circuit 14.
Since the start address is set to A□ to read the dot-sized character shape data, the refresh memory 11
The character shape data read out according to the address from the memory address setting circuit 4 and the line address from the memory address setting circuit 4 has a size of 8×19 dots. Furthermore, since the cursor line number is set to the 19th by the cursor generation circuit 9, the cursor position is displayed on the 19th line of the character box. The read character shape data and cursor display position data are applied to the video circuit 15.
次に、ビデオ回路15は文字発生回路14から与えられ
る文字形状データおよびカーソル表示位置データを並/
直変換して1ラインごとに表示パネルに与える。表示パ
ネル25はビデオ回路14から与えられる信号に基づい
て1ラインごとに表示し、25ライン分を表示した時点
で1頁分を終了する。Next, the video circuit 15 converts the character shape data and cursor display position data provided from the character generation circuit 14 into
It is directly converted and provided to the display panel line by line. The display panel 25 displays one line at a time based on the signal supplied from the video circuit 14, and finishes displaying one page when 25 lines have been displayed.
以上のごとくして、640X480ドツトの表示解像度
の画面一杯に80X25文字のテキスト1頁分およびカ
ーソルを表示することができる。As described above, one page of 80x25 characters of text and a cursor can be displayed on the entire screen with a display resolution of 640x480 dots.
以上の実施例では文字サイズを縦方向(8ドツト→19
ドツト)について説明したが、横方向に文字サイズを拡
げる場合も有効である。たとえば、応用プログラムでは
8ドツト×8ドツトの文字パターンを水平方向に80文
字並べるとすると、水平方向の解像度は640ドツトで
あるが、使用する表示パネルの水平方向の解像度が72
0ドツトの場合、余りが80ドツト出てしまう。そこで
文字サイズ設定回路61;9ドツト×8ドツトのフォン
トサイズを設定すると、表示パネル上での文字表示は、
9ドツト×80文字−720ドツトとなリ、水平方向に
も表示パネル一杯となる。以上のように本発明では横方
向の文字サイズ拡大にも対応可能である。またこの文字
サイズの変更に伴いカーソルの長さも変更できることは
言うまでもない。In the above example, the font size is changed vertically (8 dots → 19 dots).
Although we have explained the method using dots, it is also effective to expand the font size horizontally. For example, in an application program, if a character pattern of 8 dots x 8 dots is arranged horizontally for 80 characters, the horizontal resolution is 640 dots, but the horizontal resolution of the display panel used is 72 dots.
In the case of 0 dots, a remainder of 80 dots will appear. Therefore, if the character size setting circuit 61 sets a font size of 9 dots x 8 dots, the characters displayed on the display panel will be
9 dots x 80 characters - 720 dots, which fills up the display panel in the horizontal direction as well. As described above, the present invention can also accommodate enlargement of character size in the horizontal direction. It goes without saying that the length of the cursor can also be changed as the font size is changed.
[発明の効果]
以上の本発明によれば、文字発生手段に複数サイズの文
字形状データを記憶させておき、画面表示手段の解像度
に合わせた文字サイズを設定する文字サイズ設定手段に
より、応用プログラムが設定する文字サイズ以外の文字
サイズを設定することにより、応用プログラムの汎用性
を損なうことなくテキストを画面表示手段の画面一杯に
表示することができる。また、文字サイズが変更された
場合には、第1の文字サイズ設定手段と第2の文字サイ
ズ設定手段とで設定される文字サイズのドツト数差を検
出し、このドツト数差に基づいてライン数を補正するこ
とにより、カーソル表示においても応用プログラムの汎
用性を損なうことなく文字サイズの変更に応じた位置に
表示することができる。[Effects of the Invention] According to the present invention, the character generation means stores character shape data of a plurality of sizes, and the character size setting means sets the character size in accordance with the resolution of the screen display means. By setting a font size other than the font size set by , text can be displayed to fill the entire screen of the screen display means without impairing the versatility of the application program. Furthermore, when the font size is changed, the difference in the number of dots between the font sizes set by the first font size setting means and the second font size setting means is detected, and the line is adjusted based on this difference in the number of dots. By correcting the number, the cursor can be displayed at a position corresponding to a change in character size without impairing the versatility of the application program.
第1図は本発明に係るテキスト表示装置の一実施例を示
すブロック図、第2図は入力源回路のブロック図、第3
図はプロテクト回路のブロック図、第4図は第1文字サ
イズ設定回路および第2文字サイズ設定回路と文字発生
回路との関係を説明するブロック図、第5図はカーソル
発生回路のプロ第7図は第1図のテキスト表示装置の動
作を説明するためのフローチャート、第8図は従来のテ
キスト表示装置において非表示部分が大きくなることを
説明するための図である。
図において1は入力源回路、4はメモリアドレス発生回
路、5は第1文字サイズ設定回路、6は第2文字サイズ
設定回路、7はセレクタ、8はプロテクト回路、9はカ
ーソル発生回路、10はアドレスセレクタ、11はリフ
レッシュメモリ、12は文字発生回路、16は表示パネ
ルである。
第2図
シもル出σれるチ―り
萬4図
ぐ
萬′7図
渠8図
手
続
補
正
書(自発)
平成3年4月22B
■。
事件の表示
特願平
2−21656
号
2゜
発明の名称
テキスト表示装置
3゜
補正をする者
事件との関係FIG. 1 is a block diagram showing an embodiment of a text display device according to the present invention, FIG. 2 is a block diagram of an input source circuit, and FIG.
The figure is a block diagram of the protect circuit, Figure 4 is a block diagram explaining the relationship between the first character size setting circuit, the second character size setting circuit, and the character generation circuit, and Figure 5 is the 7th diagram of the cursor generation circuit. 1 is a flowchart for explaining the operation of the text display device of FIG. 1, and FIG. 8 is a diagram for explaining that the non-display portion becomes large in the conventional text display device. In the figure, 1 is an input source circuit, 4 is a memory address generation circuit, 5 is a first character size setting circuit, 6 is a second character size setting circuit, 7 is a selector, 8 is a protect circuit, 9 is a cursor generation circuit, and 10 is a 11 is a refresh memory, 12 is a character generation circuit, and 16 is a display panel. Figure 2 also appears. Figure 4 Figure 4 Figure 8 Figure 8 Procedural Amendment (Voluntary) April 22B, 1991 ■. Indication of the case Patent application No. 2-21656 2゜ Title of invention text display device 3゜ Person making the amendment Relationship with the case
Claims (1)
ズ設定手段と、 画面表示手段の表示解像度に対応していない各種文字列
データを画面一杯に表示し得る文字サイズに設定するた
めの複数の第2の文字サイズ設定手段と、 文字列データの種類に応じて第1および第2の文字サイ
ズ設定手段のうち画面一杯に表示し得る文字サイズ設定
手段を選択する選択手段と、表示すべき文字列データを
記憶するリフレッシュメモリと、 複数サイズの文字形状データを記憶した文字発生手段と
、 上記リフレッシュメモリの文字列データに従って上記第
1または第2の文字サイズ設定手段により設定された文
字サイズの文字形状データを上記文字発生手段から読出
して画面表示手段に与える読出手段と、 第2の文字サイズ設定手段が選択された場合に第1の文
字サイズ設定手段により設定される文字サイズと、第2
の文字サイズ設定手段により設定される文字サイズとの
ドット数差を検出し、このドット数差に基づいてカーソ
ル位置を補正するカーソル位置補正手段と、を有するこ
とを特徴とするテキスト表示装置。[Scope of Claims] Screen display means; first character size setting means that corresponds to the display resolution of the screen display means; and displaying various character string data that does not correspond to the display resolution of the screen display means to fill the entire screen. a plurality of second font size setting means for setting possible font sizes, and a font size setting means that can display the font to fill the screen among the first and second font size setting means depending on the type of character string data. a refresh memory for storing character string data to be displayed; a character generating means for storing character shape data of a plurality of sizes; and a selection means for selecting the first or second character according to the character string data in the refresh memory. reading means for reading character shape data of the character size set by the size setting means from the character generation means and providing it to the screen display means; and a first character size setting means when the second character size setting means is selected. The font size set by
1. A text display device comprising: a cursor position correction means for detecting a difference in the number of dots from the character size set by the character size setting means, and correcting a cursor position based on the difference in the number of dots.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021656A JPH03225392A (en) | 1990-01-30 | 1990-01-30 | text display device |
| GB9101574A GB2241415B (en) | 1990-01-30 | 1991-01-24 | Text display apparatus and a method of displaying text |
| DE19914102733 DE4102733C2 (en) | 1990-01-30 | 1991-01-30 | Text display method and text display device |
| US07/936,715 US5227772A (en) | 1990-01-30 | 1992-08-31 | Text display apparatus and a method of displaying text |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021656A JPH03225392A (en) | 1990-01-30 | 1990-01-30 | text display device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03225392A true JPH03225392A (en) | 1991-10-04 |
Family
ID=12061093
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021656A Pending JPH03225392A (en) | 1990-01-30 | 1990-01-30 | text display device |
Country Status (3)
| Country | Link |
|---|---|
| JP (1) | JPH03225392A (en) |
| DE (1) | DE4102733C2 (en) |
| GB (1) | GB2241415B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04199190A (en) * | 1990-11-29 | 1992-07-20 | Toshiba Corp | Image processor |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS638789A (en) * | 1986-06-30 | 1988-01-14 | 株式会社明電舎 | Cursor display system for display unit |
| JPS6365486A (en) * | 1986-09-08 | 1988-03-24 | ミノルタ株式会社 | Display indication apparatus |
| JPS63129395A (en) * | 1986-11-19 | 1988-06-01 | 日本電気株式会社 | Display controller |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4193071A (en) * | 1976-10-21 | 1980-03-11 | Ricoh Company, Ltd. | Character display apparatus |
| US4156238A (en) * | 1977-11-25 | 1979-05-22 | Teletype Corporation | Display apparatus having variable text row formating |
| DE3610182A1 (en) * | 1986-03-26 | 1987-10-01 | Olympia Ag | Method and arrangement to display a section of text on a one-line or multiple-line display |
| EP0295692B1 (en) * | 1987-06-19 | 1994-11-23 | Kabushiki Kaisha Toshiba | crt/plasma display controller |
-
1990
- 1990-01-30 JP JP2021656A patent/JPH03225392A/en active Pending
-
1991
- 1991-01-24 GB GB9101574A patent/GB2241415B/en not_active Expired - Fee Related
- 1991-01-30 DE DE19914102733 patent/DE4102733C2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS638789A (en) * | 1986-06-30 | 1988-01-14 | 株式会社明電舎 | Cursor display system for display unit |
| JPS6365486A (en) * | 1986-09-08 | 1988-03-24 | ミノルタ株式会社 | Display indication apparatus |
| JPS63129395A (en) * | 1986-11-19 | 1988-06-01 | 日本電気株式会社 | Display controller |
Also Published As
| Publication number | Publication date |
|---|---|
| DE4102733A1 (en) | 1991-08-08 |
| GB2241415A (en) | 1991-08-28 |
| GB9101574D0 (en) | 1991-03-06 |
| GB2241415B (en) | 1994-04-20 |
| DE4102733C2 (en) | 2001-10-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05323281A (en) | Device and method for controlling display | |
| US5227772A (en) | Text display apparatus and a method of displaying text | |
| JPH03225393A (en) | text display device | |
| JPH03225392A (en) | text display device | |
| JP3110975B2 (en) | Display with character mask function | |
| JP3074378B2 (en) | Display control method and device | |
| JP2595045B2 (en) | Touch panel input device | |
| JP2642350B2 (en) | Display control device | |
| JP3355628B2 (en) | Information processing apparatus and information processing method | |
| KR950000540B1 (en) | Window generating method and apparatus therefor | |
| JPS61162084A (en) | Pattern display unit | |
| JPH0154727B2 (en) | ||
| JPS58194090A (en) | Display unit | |
| JPS60134284A (en) | Screen inversion display system | |
| KR0118775B1 (en) | Video Memory Access Detector of Personal Computer | |
| JP2612402B2 (en) | Display control method | |
| JPS63239488A (en) | Animation display controller | |
| JPH0728790A (en) | Document processing method and apparatus | |
| JPS59104691A (en) | Character display | |
| JPH0713913A (en) | Serial data transferring method | |
| JPS62219180A (en) | Pattern generating device | |
| JPS63269192A (en) | display device | |
| JPS58107589A (en) | Screen clearing system for display unit | |
| JPH08234908A (en) | Data input device | |
| JPH0344731A (en) | display device |