JPH02165193A - Display circuit - Google Patents
Display circuitInfo
- Publication number
- JPH02165193A JPH02165193A JP63321075A JP32107588A JPH02165193A JP H02165193 A JPH02165193 A JP H02165193A JP 63321075 A JP63321075 A JP 63321075A JP 32107588 A JP32107588 A JP 32107588A JP H02165193 A JPH02165193 A JP H02165193A
- Authority
- JP
- Japan
- Prior art keywords
- cursor
- display
- circuit
- mode
- address
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 claims abstract description 18
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 239000011159 matrix material Substances 0.000 description 8
- 230000004397 blinking Effects 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 102100026681 Chromobox protein homolog 8 Human genes 0.000 description 2
- 101000910841 Homo sapiens Chromobox protein homolog 8 Proteins 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 102100027480 DNA-directed RNA polymerase III subunit RPC3 Human genes 0.000 description 1
- 101000650556 Homo sapiens DNA-directed RNA polymerase III subunit RPC3 Proteins 0.000 description 1
- 101000669028 Homo sapiens Zinc phosphodiesterase ELAC protein 2 Proteins 0.000 description 1
- 102100039877 Zinc phosphodiesterase ELAC protein 2 Human genes 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Digital Computer Display Output (AREA)
- Liquid Crystal Display Device Control (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
Description
【発明の詳細な説明】
(イ)産業上の利用分野
本発明はドツトマトリクス表示装置に文字、数字、ある
いは、記号等を表示するための表示回路に関し、特に、
ワンチップマイクロコンビコータに内蔵された表示回路
に関する。DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a display circuit for displaying characters, numbers, symbols, etc. on a dot matrix display device, and in particular,
Related to a display circuit built into a one-chip micro combi coater.
(ロ)従来の技術
従来、ワンチップマイクロコンピュータの付加機能の一
つとして、ドツトマトリクス型の液晶表示装置を直接駆
動できる表示回路が内蔵されたものが開発されている。(b) Prior Art Conventionally, one-chip microcomputers with a built-in display circuit capable of directly driving a dot matrix type liquid crystal display device have been developed as one of the additional functions of one-chip microcomputers.
この表示回路は、文字、数字、あるいは、記号等を表わ
すフードが記憶される表示RAMと、表示RAMから読
み出されたコードをアドレスとしてそのコードに応じた
文字、数字、あるいは記号を表示するためのドツトパタ
ーンデータを発生するキャラクタジェネレータと、キャ
ラクタジェネレータから出力されるドツトパターンデー
タを表示駆動回路に送り出すシフトしジスタと、表示R
AMの読み出し及びキャラクタジェネレータの読み出し
や表示駆動回路の動作を制御する制御回路とから構成さ
れる。This display circuit includes a display RAM in which a hood representing letters, numbers, or symbols, etc. is stored, and a code read from the display RAM as an address to display letters, numbers, or symbols according to the code. a character generator that generates dot pattern data, a shift register that sends the dot pattern data output from the character generator to a display drive circuit, and a display R
It is composed of a control circuit that controls AM readout, character generator readout, and operation of the display drive circuit.
通常、ドツトマトリクス型の液晶表示装置は、−文字を
5×7ドツトで表示するようになっており、そのため7
本のコモンラインと7XN(Nは表示文字数)のセグメ
ントラインが設けられている。従って、この液晶表示装
置を上記表示回路で駆動する場合には、選択するコモン
ラインに表示するドツトパターンデータを得るために、
表示RAMをアクセスして、表示すべき文字、数字ある
いは記号のコードを読み出し、そのコードでアクセスさ
れたキャラクタジェネレータから、選択するコモンライ
ンに対応するドツトパターンデータをシフトレジスタに
出力し、シフトレジスタから液晶駆動回路に転送する。Normally, a dot matrix type liquid crystal display device displays a - character with 5 x 7 dots, so 7
A common line for the book and 7XN (N is the number of displayed characters) segment lines are provided. Therefore, when driving this liquid crystal display device with the above display circuit, in order to obtain dot pattern data to be displayed on the selected common line,
The display RAM is accessed, the code of the character, number, or symbol to be displayed is read out, and the dot pattern data corresponding to the common line to be selected is output from the character generator accessed by the code to the shift register, and then the dot pattern data corresponding to the common line to be selected is output from the shift register. Transfer to the liquid crystal drive circuit.
この動作を表示する文字数と同じたけ行うことにより、
選択するコモンラインー行分のドツトパターンが得られ
る。更に、各ライン毎に同じ動作を繰り返すことにより
、表示が完成する。By performing this operation as many times as the number of characters to display,
A dot pattern for the common line to be selected is obtained. Furthermore, the display is completed by repeating the same operation for each line.
(八)発明が解決しようとする課題
斯上の表示回路において、カーソル表示をしようとした
場合、表示装置にはカーソルラインの設けられた8コモ
ンラインの表示装置を用いる必要があるが、表示回路は
、8コモンラインの表示装置に応じて動作内容を変更し
なければならない。(8) Problem to be solved by the invention When attempting to display a cursor in the above display circuit, it is necessary to use a display device with 8 common lines provided with a cursor line, but the display circuit The operation content must be changed depending on the 8 common line display device.
そのために、表示RAMやキャラクタジェネレータの読
み出しタイミングを制御する制御回路を設計変更しなけ
ればならない。また、表示回路の動作においても、カー
ソルを表示するコモンラインが選択される際に、表示R
AMの文字、数字あるいは記号等のコードを書き替え、
カーソルが表示される位置に相当するアドレスにカーソ
ルを示すコードを書き込まなければならない。あるいは
、表示RAM内に表示する文字数に等しい数で、カーソ
ルを示すコードを記憶するアドレス領域を設け、該アド
レス領域のカーソル位置に対応するアドレス番こカーソ
ルを示すコードを書き込む必要がある。また、カーソル
を表示するコモンラインが選択きれる際ぐは、表示RA
Mからカーソルを示すフードを読み出し、キャラクタジ
ェネレータでカーソルを表示するドツトパターンデータ
を得なければならない。Therefore, the design of the control circuit that controls the read timing of the display RAM and character generator must be changed. Also, in the operation of the display circuit, when the common line on which the cursor is displayed is selected, the display R
Rewrite the AM letters, numbers, symbols, etc. code,
You must write the code that indicates the cursor at the address that corresponds to the position where the cursor will be displayed. Alternatively, it is necessary to provide an address area for storing codes indicating a cursor in a number equal to the number of characters to be displayed in the display RAM, and write a code indicating an address number cursor corresponding to the cursor position in the address area. Also, when the common line to display the cursor is selected, the display RA
The hood indicating the cursor must be read from M, and the dot pattern data for displaying the cursor must be obtained from the character generator.
従って、表示RAMのアドレス領域の拡張やキャラクタ
ジェネレータの拡張が必要となり、また、マイクロコン
ピュータのプログラム負担が増大する不都合があった。Therefore, it is necessary to expand the address area of the display RAM and the character generator, and there is also the problem that the program load on the microcomputer increases.
(ニ)課題を解決するための手段
本発明は上述した点に鑑みて為されたものであり、表示
RAMと、表示RAMのアドレスを指定するアドレスカ
ウンタと、キャラクタジェネレータと、シフトレジスタ
を備えた表示回路において、カーソルを表示する位置を
示すカーソルアドレスデータが設定されるカーソルアド
レスレジスタと、該カーソルアドレスレジスタとアドレ
スカウンタの値が一致したことを検出する一致検出回路
と、カーソルの表示モードが設定されるモード制御レジ
スタと、一致検出回路の検出出力とモード制御レジスタ
の制御信号に基いて、キャラクタジェネレータから読み
出されたドツトパターンデータの反転、あるいは、所定
のドツトパターンデータの作成を行いシフトレジスタに
保持させるカーソル発生回路とを設けることにより、カ
ーソルを自動的に表示可能としたものである。(d) Means for Solving the Problems The present invention has been made in view of the above points, and includes a display RAM, an address counter for specifying an address of the display RAM, a character generator, and a shift register. In the display circuit, there is a cursor address register in which cursor address data indicating the position to display the cursor is set, a match detection circuit that detects when the values of the cursor address register and address counter match, and a cursor display mode is set. The dot pattern data read from the character generator is inverted or predetermined dot pattern data is created based on the mode control register, the detection output of the match detection circuit, and the control signal of the mode control register. The cursor can be automatically displayed by providing a cursor generating circuit for holding the cursor.
(*)作用
上述の手段によれば、モード制御レジスタにカーソルの
種類を設定し、カーソルアドレスレジスタにカーソルを
表示する位置を示すデータを設定することにより、各々
コモンラインが選択される際に、アドレスカウンタが表
示RAMを順次アクセスし、読み出されたフードによっ
て選択されるコモンラインに対応するドツトパターンデ
ータがキャラクタジェネレータから出力されるが、アド
レスカウンタとカーソルアドレスレジスタの内容が一致
すると一致検出回路の検出出力とモード制御レジスタの
出力に基いて、カーソル発生回路が制御される。特に、
文字を反転表示することで力−ンル表示とするモードで
は、各コモンラインの選択時に、検出出力に従って、キ
ャラクタジェネレータから出力されるドツトパターンデ
ータを反転してシフトレジスタに出力する。また、文字
の下にカーソルを表示するモードでは、そのコモンライ
ンが選択されたときに検出出力に基いてカーフルのドツ
トパターンデータをレジスタに出力する。(*) Effect According to the above means, by setting the type of cursor in the mode control register and setting data indicating the position to display the cursor in the cursor address register, when each common line is selected, The address counter sequentially accesses the display RAM, and the character generator outputs dot pattern data corresponding to the common line selected by the read hood, but when the contents of the address counter and the cursor address register match, the match detection circuit The cursor generation circuit is controlled based on the detection output of and the output of the mode control register. especially,
In a mode in which characters are displayed in a single line by inverting them, when each common line is selected, the dot pattern data output from the character generator is inverted and output to the shift register according to the detection output. In addition, in a mode in which a cursor is displayed below a character, when that common line is selected, dot pattern data of the cursor is output to the register based on the detection output.
これにより、反転された文字、あるいは、文字の下に表
示されるラインによって、カーソル表示が行える。As a result, a cursor can be displayed using the reversed characters or the line displayed below the characters.
(へ)実施例
第1図は本発明の実施例を示すブロック図である0図に
おいて、(1)は40×8ビツトのデュアルポートの表
示RAMであり、キャラクタモードではドツトマトリク
ス液晶表示装置(図示せず)に表示する文字、数字、あ
るいは記号等のコードを最大40文字記憶可能であり、
また、グラフィックモードでは、ドツトの点灯及び消灯
を指示する表示データを最大320ドツト分記憶可能で
ある0表示RAM(1)の書き込み及び読み出しは、図
示しないCPUによって行うことができる他に、読み出
しはCPUと独立して表示制御回路(2)によっても行
える。(3)は、表示RAM(1)から読み出されたデ
ータを保持する8ビツトのラッチ回路である。(4)は
キャラクタジェネレータ用ROMであり、キャラクタモ
ードの場合、キャラクタジェネレータ用ROM(4)は
、ラッチ回路(3)に保持された文字、数字、あるいは
記号等を示すフードによってアドレス指定され、その文
字、数字、あるいは記号等を表示するためのドツトパタ
ーンデータを出力する。このキャラクタジェネレータ用
ROM(4)に記憶される文字パターンは、マスクオプ
ションによってユーザーが設定可能であり、最大横5ド
ツト×縦7ドツトの文字フォントの任意パターンが16
0種類設定可能である。(5)は切換ゲートであり、ラ
ッチ回路(3)の出力とキャラクタジェネレータ用RO
M(4)の出力とをモード選択信号C/Gによって選択
出力する。(6)は、キャラクタモード時にカーソルの
種類に応じたドツトパターンデータを発生するカーソル
表示回路である。このカーソル表示回路(6)について
は後に詳述する。(7)は、ドツトパターンデータを図
示しないドツトマトリクス表示装置の駆動回路にシリア
ル転送するシフトレジスタである。〈8)は、モード制
御レジスタであり、キャラクタモードとグラフィックモ
ードを切換えるデータ、カーソルの種類を示すデータが
予めセットされる。(F) Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. (not shown) can store up to 40 characters of codes such as letters, numbers, or symbols.
In addition, in the graphic mode, writing and reading of the 0 display RAM (1), which can store up to 320 dots of display data for instructing dots to turn on and off, can be performed by a CPU (not shown); This can also be done by the display control circuit (2) independently of the CPU. (3) is an 8-bit latch circuit that holds data read out from the display RAM (1). (4) is a ROM for the character generator. In the case of character mode, the ROM (4) for the character generator is addressed by a hood indicating letters, numbers, or symbols held in the latch circuit (3). Outputs dot pattern data for displaying letters, numbers, symbols, etc. The character patterns stored in this character generator ROM (4) can be set by the user using mask options, and up to 16 arbitrary patterns of character fonts of 5 dots horizontally x 7 dots vertically can be set.
0 types can be set. (5) is a switching gate, which connects the output of the latch circuit (3) and the character generator RO
The output of M(4) is selected and outputted by the mode selection signal C/G. (6) is a cursor display circuit that generates dot pattern data according to the type of cursor in the character mode. This cursor display circuit (6) will be explained in detail later. (7) is a shift register that serially transfers dot pattern data to a drive circuit (not shown) of a dot matrix display device. <8) is a mode control register, in which data for switching between character mode and graphic mode and data indicating the type of cursor are set in advance.
表示制御回路(2)は、−文字分の横方向ドツト数を計
数するカウンタ(9)と、該カウンタ(9)のボロー信
号を計数し、−行分の表示文字数を計数するカウンタ(
10)と、該カウンタ(10)のボロー信号を計数し、
−文字の縦方向ドツト数を計数するカウンタ(11)及
びドツトマトリクス表示装置の駆動ライン数を計数する
カウンタ(12)と、各カウンタ(9)(10)(11
)<12>に予め定められた値をセットするためにその
値を保持するレジスタ(13)(14)(15)(16
)と、カウンタ(10)のボロー信号でカウントアツプ
する表示RAM(1)のアドレスカウンタ(17)とか
ら構成される。カウンタ(9)は、シフトレジスタ(7
)のシフトクロックCLKと同じクロックを計数し、カ
ウンタ(9)から計数値に基いて出力される出力パルス
RPC3〜HPCOが各回路の動作タイミング信号とし
て利用される。The display control circuit (2) includes a counter (9) that counts the number of horizontal dots for - characters, and a counter (9) that counts borrow signals of the counter (9) and counts the number of displayed characters for - lines.
10) and the borrow signal of the counter (10),
- A counter (11) that counts the number of dots in the vertical direction of characters, a counter (12) that counts the number of drive lines of the dot matrix display device, and each counter (9) (10) (11).
) Registers (13) (14) (15) (16) that hold the predetermined value in order to set the value in <12>.
) and an address counter (17) of the display RAM (1) that counts up in response to a borrow signal from the counter (10). The counter (9) is a shift register (7).
) are counted, and the output pulses RPC3 to HPCO output from the counter (9) based on the counted value are used as operation timing signals for each circuit.
例えば、第2図に示される如く、−文字を横5×縦7ド
ツトでライン数8本のドツトマトリクス表示装置に8文
字表示すると、レジスタ(13)に「5」、レジスタ(
14)に「81、レジスタ(15)に「7」、レジスタ
(16)に「8.を予めCPUによってプリセットする
。もちろん、アドレスカウンタ(17)はリセット状態
にされる。即ち、この初期状態は、第2図のラインL1
の表示を行うための状態である。クロックパルスCLK
が印加されて、カウンタ(9)がカウントダウンしてゆ
き、計数値がr4」となったときに信号HPC3が出力
きれると、アドレスカウンタ(17)の内容によって指
定される表示RAM<1)のアドレス、即ち「0」番地
がアクセスされる。このアクセスによって読み出された
コードは、信号HPC3の立ち下がりによってラッチ回
路(3)にラッチされる。キャラクタモードの場合、カ
ウンタ(9)から信号HPC2が出力されると、キャラ
クタジェネレータ用ROM(4)がラッチ回路(3)に
ラッチされたコードとカウンタ(11)の内容をアドレ
スとしてアクセスされる。即ち、コードが文字、数字、
あるいは記号等を指定し、カウンタ(11)がその文字
、数字あるいは記号等のドツトパターンのラインを指定
する。キャラクタジェネレータ用ROM(4)から読み
出されたドツトパターンデータ(今の場合はラインLl
)は、切換ゲート(5)を介してカーソル表示回路(6
)に出力される。カーソル表示回路(6)は、カーソル
表示モードでない場合には、ドツトパターンデータをそ
のままシフトレジスタ(7)に転送する。そして、カウ
ンタ(9)の計数値が「0」となってボロー信号、即ち
HPCOが出力されると、HPCOにより、シフトレジ
スタ(7)にドツトパターンデータで保持され、このド
ツトパターンデータは次の文字の読み出し動作のクロッ
クCLKによって順次表示駆動回路にシフトされる。ま
た、前述のHPCOが発生すると、カウンタ(10)が
ダウンカウントし、アドレスカウンタ(17)がインク
リメントきれ、更に、カウンタ(9〉にはレジスタ(1
3)に保持きれた内容がプリセットされる。以後は前述
と同様の動作により、ラインL1のドツトパターンデー
タが読み出きれ、シフトレジスタ(7)から出力される
。そして、−ラインの走査が終了するとカウンタ(10
)から出力されるボロー信号により、アドレスカウンタ
(17)はリセットされ、カウンタ(10)にはレジス
タ(14)に保持された内容がプリセットされ、更に、
カウンタ(11)及び(12)はダウンカウントきれる
。即ち、カウンタ(12)がダウンカウントすることに
より、次のう”インL2が走査されるのである。そして
、ラインL7の走査が終了すると、カウンタ(11〉は
カウントダウンきれて計数値が「0」となり、この「0
」を示す信号“O”が出力されるとカウンタ(11)の
カウント動作と表示RAM(1)及びキャラクタジェネ
レータ用ROM(4)の読み出し動作が禁止される。こ
のとき、カウンタ(12)は「1ハ即ち、ラインL8を
指定する内容であり、ラインL8の走査時には、シフト
レジスタ(7)から出力されるドツトパターンデータは
すべて「0」となる。カウンタ(12)からボロー信号
が出力されると、レジスタ(15)に保持された内容が
カウンタ(11〉にプリセットされ、レジスタ(16)
に保持きれた内容がカウンタ(12)にプリセットされ
、ラインL1の初期状態に戻る。For example, as shown in FIG. 2, when 8 characters are displayed on a dot matrix display device with 5 horizontal dots and 7 vertical dots and 8 lines, "5" is displayed in the register (13), and "5" is displayed in the register (13).
14), "81" in register (15), "7" in register (16), and "8." in register (16) are preset by the CPU in advance.Of course, the address counter (17) is reset. That is, this initial state is , line L1 in Fig. 2
This is the state for displaying. clock pulse CLK
is applied, the counter (9) counts down, and when the signal HPC3 is outputted when the count value reaches "r4", the address of the display RAM < 1) specified by the contents of the address counter (17) , that is, address "0" is accessed. The code read by this access is latched into the latch circuit (3) by the fall of the signal HPC3. In the character mode, when the signal HPC2 is output from the counter (9), the character generator ROM (4) is accessed using the code latched by the latch circuit (3) and the contents of the counter (11) as an address. That is, the code can be letters, numbers,
Alternatively, a symbol or the like is designated, and the counter (11) designates a dot pattern line of that letter, number, symbol, or the like. Dot pattern data read out from the character generator ROM (4) (in this case, line Ll)
) is connected to the cursor display circuit (6) via the switching gate (5).
) is output. When the cursor display circuit (6) is not in the cursor display mode, the cursor display circuit (6) transfers the dot pattern data as is to the shift register (7). Then, when the count value of the counter (9) becomes "0" and a borrow signal, that is, HPCO is output, the dot pattern data is held in the shift register (7) by the HPCO, and this dot pattern data is used for the next The signals are sequentially shifted to the display drive circuit by the clock CLK for the character read operation. Furthermore, when the above-mentioned HPCO occurs, the counter (10) counts down, the address counter (17) increments, and the register (1
3) The content that can be retained is preset. Thereafter, by the same operation as described above, the dot pattern data on line L1 is completely read out and output from the shift register (7). Then, when the scanning of the - line is completed, the counter (10
), the address counter (17) is reset, the counter (10) is preset with the contents held in the register (14), and further,
The counters (11) and (12) can count down. That is, as the counter (12) counts down, the next "in L2" is scanned. Then, when the scanning of the line L7 is completed, the counter (11) has finished counting down and the count value becomes "0". So, this “0
'', the counting operation of the counter (11) and the reading operation of the display RAM (1) and character generator ROM (4) are prohibited. At this time, the counter (12) is set to "1", that is, the content designates line L8, and when scanning line L8, all dot pattern data output from the shift register (7) becomes "0". When a borrow signal is output from the counter (12), the contents held in the register (15) are preset to the counter (11>) and the contents held in the register (16) are preset to the counter (11>).
The contents held in the counter (12) are preset to the counter (12), and the line L1 returns to its initial state.
従って、表示制御回路(2)のレジスタ(13)(14
)(15)(16)に設定する内容をキャラクタジェネ
レータ用ROM(4)の文字フォントに応じて変更する
ことにより、各種のドツトマトリクス表示装置に容易に
対応することができる。Therefore, the registers (13) (14) of the display control circuit (2)
) (15) and (16) can be easily adapted to various dot matrix display devices by changing the contents set in (16) according to the character font of the character generator ROM (4).
次に、カーソル表示回路(6)について説明する。カー
ソル表示回路(6)は、カーソルの表示位置を示すデー
タがプリセットされるカーソルアドレスレジスタ(tS
)と、該カーソルアドレスレジスタ(18)とアドレス
カウンタ(17)の内容が一致したことを検出する一致
検出回路(19)と、該一致検出回路(19)の検出出
力Cow及びモード制御レジスタ(8)によって制御さ
れるカーソル発生回路(20)とから構成されている。Next, the cursor display circuit (6) will be explained. The cursor display circuit (6) includes a cursor address register (tS) in which data indicating the display position of the cursor is preset.
), a coincidence detection circuit (19) that detects a coincidence between the contents of the cursor address register (18) and the address counter (17), a detection output Cow of the coincidence detection circuit (19), and a mode control register (8). ) and a cursor generation circuit (20) controlled by the cursor generating circuit (20).
即ち、カーソルアドレスレジスタ(18)は、アドレス
カウンタ(17)と同様に1〜40までの値が設定可能
であり、カーソルアドレスレジスタ(18)とアドレス
カウンタ(17)が一致するのは、各ラインL1〜L8
において、1回である、モード制御レジスタ(8)に設
定されるカーソル表示の種類は、表示された文字の下、
即ち、ラインL8にアンダーラインの表示を行うアンダ
ーライン表示と、カーソル位置の文字の反転を行う反転
表示と、前記アンダーライン表示を点滅きせる点滅表示
とがある。そのために、カーソル発生回路(20)は、
モード制御レジスタ(8)からアンダーライン表示を示
す信号S Is検出出力C。That is, the cursor address register (18), like the address counter (17), can be set to a value from 1 to 40, and the cursor address register (18) and address counter (17) match each line. L1~L8
, the type of cursor display set in the mode control register (8), which is once, is below the displayed character.
That is, there are underline display in which an underline is displayed on line L8, inversion display in which the character at the cursor position is inverted, and flashing display in which the underline display is blinked. For this purpose, the cursor generation circuit (20)
Signal S Is detection output C indicating underline display from mode control register (8).
ml及び、カウンタ(12)が「1」となったとき、即
ちラインL8が選択きれるときの信号“1”が印加され
たANDゲート(21)と、モード制御レジスタ(8)
の反転表示を示す信号S、と検出出力Cof11が印加
されたANDゲート(22)と、アンダーラインの点滅
を示す信号S、とその点滅周期となるパルスが印加され
、出力がANDゲート(21)に印加きれるNANDゲ
ート(23)と、切換ゲート(5)から出力される8ビ
ツトの各々のビットを入力し、ANDゲート(22)の
出力で制御される8個のE−ORゲート(24)と、各
々のE−ORゲート(24)の出力を入力し、ANDゲ
ート(21)の出力で共通に制御きれ、各々の出力がシ
フトレジスタ(7)に印加されるORゲート(25)と
から構成される。ml, an AND gate (21) to which a signal "1" is applied when the counter (12) becomes "1", that is, when line L8 is fully selected, and a mode control register (8).
An AND gate (22) to which a signal S indicating an inverted display of , and a detection output Cof11 are applied, a signal S indicating a blinking underline, and a pulse corresponding to the blinking period are applied, and the output is an AND gate (21). 8 E-OR gates (24) that input each bit of the 8 bits output from the switching gate (5) and are controlled by the output of the AND gate (22). and an OR gate (25) which inputs the output of each E-OR gate (24), can be commonly controlled by the output of the AND gate (21), and whose output is applied to the shift register (7). configured.
このカーソル表示回路(6)において、反転表示が選択
されている場合信号S、は“1″レベルである。各ライ
ンL1〜L8に於いて、アドレスカウンタ(17)がカ
ーソルアドレスレジスタ(18)に設定された内容と一
致しない場合には、ANDゲート(21)(22)の出
力は“0”レベルであるため、キャラクタジェネレータ
用ROM(4)から読み出されたドツトパターンデータ
は、そのままE−ORゲート(24)及びORゲート(
25)を介してシフトレジスタ(7)に印加される。一
方、アドレスカウンタ(17)がカーソルアドレスレジ
スタ(18)の内存と一致する値になると、−敷積出回
路(19)の検出出力が“1”レベルとなるため、AN
Dゲート(22)の出力がal”レベルとなる。これに
より、キャラクタジェネレータ用ROM(5)から読み
出されたドツトパターンデータはE−ORゲート(24
)において反転され、ORゲート(25)を介゛シてシ
フトレジスタ(7)に印加される。従って、カーソルア
ドレスレジスタ(18)に設定された表示位置の文字が
反転する。In this cursor display circuit (6), when inverted display is selected, the signal S is at the "1" level. In each line L1 to L8, if the address counter (17) does not match the contents set in the cursor address register (18), the outputs of the AND gates (21) and (22) are "0" level. Therefore, the dot pattern data read from the character generator ROM (4) is directly transmitted to the E-OR gate (24) and the OR gate (24).
25) to the shift register (7). On the other hand, when the address counter (17) reaches a value that matches the value stored in the cursor address register (18), the detection output of the negative output circuit (19) becomes "1" level, so the AN
The output of the D gate (22) becomes the "al" level. As a result, the dot pattern data read from the character generator ROM (5) is output to the E-OR gate (24).
) and applied to the shift register (7) via the OR gate (25). Therefore, the character at the display position set in the cursor address register (18) is reversed.
また、アンダーライン表示を指示する信号SIが1”レ
ベルになった場合、ラインL1〜L7まではカウンタ(
12)の出力“1”は、′0”レベルであるためAND
ゲート(21)の出力は0”レベルにある。従って、ラ
インL1〜L7の走査時には、−敷積出回路(19)か
らの検出出力Cowが1”レベルになっても、キャラク
タジェネレータ用ROM(4)から読み出されたドツト
パターンデータはそのままシフトレジスタ(7)に印加
される。そして、ラインL8が選択される状態になると
、カウンタ(12)の出力″1″が′1”レベルになる
ため、ANDゲート(21)の出力が“1”レベルとな
り、ORゲート(25)の出力はすべてのビットで“1
”レベルとなる。従って、ラインL8の選択時には、カ
ーソルレジスタ(18)に設定された表示位置のライン
L8にアンダーラインが表示されることになる。尚、こ
の場合には、アンダーラインの点滅を指示する信号S、
が“0”レベルであるためNANDゲート(23)の出
力は1”レベルとなっている。Additionally, when the signal SI that instructs underline display reaches the 1" level, the counters (
Since the output “1” of 12) is at the “0” level, the AND
The output of the gate (21) is at the 0" level. Therefore, when scanning lines L1 to L7, even if the detection output Cow from the output circuit (19) reaches the 1" level, the character generator ROM ( The dot pattern data read from 4) is directly applied to the shift register (7). Then, when the line L8 is selected, the output "1" of the counter (12) becomes the "1" level, so the output of the AND gate (21) becomes the "1" level, and the output of the OR gate (25) becomes the "1" level. Output is “1” in all bits
” level. Therefore, when line L8 is selected, an underline will be displayed on line L8 at the display position set in the cursor register (18). In this case, the underline will not blink. an instruction signal S,
is at the "0" level, so the output of the NAND gate (23) is at the "1" level.
信号SIが“1”レベルにある状態において、アンダー
ラインの点滅を指示する信号S、を“1”レベルにする
とNANDゲート(23)に入力される点滅周期信号の
周期でNANDゲート(23)の出方が″0″レベルと
41”レベルとなるため、アンダーラインの点滅が行わ
れる。When the signal S, which instructs the blinking of the underline, is set to the "1" level while the signal SI is at the "1" level, the NAND gate (23) is activated at the cycle of the blinking period signal input to the NAND gate (23). Since the output is at the "0" level and the 41" level, the underline blinks.
カーソル表示を行わない場合には、モード制御レジスタ
(8)に設定される内容により、信号sI。When the cursor is not displayed, the signal sI is set depending on the contents set in the mode control register (8).
S=、Ssを0”レベルとすればよい。S=, Ss may be set to 0'' level.
(ト)発明の効果
上述の如く本発明によれば、カーソルアドレスレジスタ
(18)にカーソルを表示する位置を示すデータをCP
Uによってプリセットすると共に、モード制御レジスタ
(8)にカーソル表示の種類を設定することにより、プ
ログラム負担を減少することが可能となる。更に、表示
RAM(1)及びキャラクタジェネレータ用ROM(4
>にカーソル用のアドレス設定領域を設ける必要がなく
なる利点がある。(G) Effects of the Invention As described above, according to the present invention, data indicating the position to display the cursor is stored in the cursor address register (18) by the CP.
By presetting by U and setting the type of cursor display in the mode control register (8), it is possible to reduce the program load. Furthermore, display RAM (1) and character generator ROM (4)
There is an advantage that there is no need to provide an address setting area for the cursor in >.
第1図は本発明の実施例を示すブロック図、第2図はド
ツトマトリクスのドツトを示す図である。
(1〉・・・表示RAM、 (2)・・・表示制御回路
、(3)・・・ラッチ回路、(4)・・・キャラクタジ
ェネレータ用ROM、 (5)・・・切換ゲート、(
6)・・・カーソル表示回路、(7)・・・シフトレジ
スタ、 (8)・・・モード制御レジスタ。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing dots in a dot matrix. (1>...Display RAM, (2)...Display control circuit, (3)...Latch circuit, (4)...Character generator ROM, (5)...Switching gate, (
6)...Cursor display circuit, (7)...Shift register, (8)...Mode control register.
Claims (2)
くとも記憶される表示RAMと、該表示RAMのアドレ
ス指定を行うアドレスカウンタと、前記表示RAMから
読み出されたコードをアドレスとしてそのコードに相当
する文字、数字あるいは記号等を表示するためのドット
パターンデータを発生するキャラクタジェネレータと、
該キャラクタジェネレータから出力されたドットパター
ンデータを保持し表示装置の駆動回路へ出力するシフト
レジスとを備えた表示回路において、 カーソルを表示する位置を示すカーソルアドレスデータ
が設定されるカーソルアドレスレジスタと、 該カーソルアドレスレジスタと前記アドレスカウンタの
値が一致したことを検出する一致検出回路と、 カーソルの表示モードが設定されるモード制御レジスタ
と、 前記一致検出回路の検出出力と前記モード制御レジスタ
の制御信号に基いて前記ドットパターンデータの反転、
あるいは、所定ドットパターンデータの作成を行い前記
シフトレジスタに保持させるカーソル発生回路とを設け
た表示回路。(1) A display RAM that stores at least a code representing a letter, number, symbol, etc., an address counter that specifies the address of the display RAM, and a code read from the display RAM that corresponds to the code as an address. a character generator that generates dot pattern data for displaying letters, numbers, symbols, etc.;
A display circuit including a shift register that holds dot pattern data output from the character generator and outputs it to a drive circuit of a display device, comprising: a cursor address register in which cursor address data indicating a position to display a cursor is set; a coincidence detection circuit that detects that the values of the cursor address register and the address counter match; a mode control register that sets a cursor display mode; and a detection output of the coincidence detection circuit and a control signal of the mode control register. Inverting the dot pattern data based on
Alternatively, the display circuit includes a cursor generation circuit that creates predetermined dot pattern data and causes the shift register to hold the data.
1モードと、文字の下にラインを表示する第2モードと
、文字の下に表示されたラインを点滅する第3モードと
を備え、前記カーソル発生回路は、前記第1モードで制
御され、ドットパターンデータを反転する第1ゲート回
路と、前記第2モードで制御され、所定データを発生す
る第2ゲート回路と、前記第3モードで制御され、所定
の間隔で前記所定データの発生を禁止する第3ゲート回
路を設けた請求項第1項記載の表示回路。(2) The display mode of the cursor includes a first mode in which characters are inverted, a second mode in which a line is displayed under the characters, and a third mode in which the line displayed under the characters is blinked, The cursor generation circuit includes a first gate circuit that is controlled in the first mode and inverts dot pattern data, a second gate circuit that is controlled in the second mode and generates predetermined data, and a second gate circuit that is controlled in the second mode and generates predetermined data. 2. The display circuit according to claim 1, further comprising a third gate circuit which is controlled and inhibits generation of the predetermined data at predetermined intervals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63321075A JP2589169B2 (en) | 1988-12-20 | 1988-12-20 | Display circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63321075A JP2589169B2 (en) | 1988-12-20 | 1988-12-20 | Display circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH02165193A true JPH02165193A (en) | 1990-06-26 |
JP2589169B2 JP2589169B2 (en) | 1997-03-12 |
Family
ID=18128529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63321075A Expired - Fee Related JP2589169B2 (en) | 1988-12-20 | 1988-12-20 | Display circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2589169B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6086592A (en) * | 1983-10-18 | 1985-05-16 | 株式会社リコー | Cursor display control system |
JPH0210399A (en) * | 1988-06-29 | 1990-01-16 | Fuji Electric Co Ltd | Cursor display device |
-
1988
- 1988-12-20 JP JP63321075A patent/JP2589169B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6086592A (en) * | 1983-10-18 | 1985-05-16 | 株式会社リコー | Cursor display control system |
JPH0210399A (en) * | 1988-06-29 | 1990-01-16 | Fuji Electric Co Ltd | Cursor display device |
Also Published As
Publication number | Publication date |
---|---|
JP2589169B2 (en) | 1997-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4737782A (en) | Liquid crystal display drive circuit with variable sequence of backplate scanning and variable duty factor | |
JPH02165193A (en) | Display circuit | |
KR940004362A (en) | LCD Display Controller | |
KR890002509B1 (en) | Color blinking system | |
US6246388B1 (en) | Display driving circuit for displaying character on display panel | |
JP4001659B2 (en) | Horizontal scrolling of display data | |
KR920005607B1 (en) | Character display apparatus | |
JP2639986B2 (en) | Microcomputer display device | |
JPS6116076B2 (en) | ||
JP2936417B2 (en) | Electronic cam switch device | |
JPS5995612A (en) | Control state display system | |
KR0150130B1 (en) | Line unit display shift device in a lcd controller for charactor | |
JPS6219930A (en) | Output method for display data of microcomputer | |
JPS599245Y2 (en) | display device | |
KR100195275B1 (en) | An expansion method of liquid crystal display segment pin | |
KR910000301B1 (en) | Udc input/output apparatus and method for computer | |
KR19990025536A (en) | LCD Graphics Driver with Embedded Fonts | |
JPH0122624B2 (en) | ||
JPH0990936A (en) | Display express device | |
JPH05134623A (en) | Display control device | |
JPS6235139B2 (en) | ||
JPH04297946A (en) | Display character address data transfer system | |
KR930008591A (en) | Horizontal and vertical display method and device by hardware | |
JPS62177590A (en) | Graphics blinker | |
JPH0588660A (en) | Graphic data plotting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |