JP2589169B2 - Display circuit - Google Patents

Display circuit

Info

Publication number
JP2589169B2
JP2589169B2 JP63321075A JP32107588A JP2589169B2 JP 2589169 B2 JP2589169 B2 JP 2589169B2 JP 63321075 A JP63321075 A JP 63321075A JP 32107588 A JP32107588 A JP 32107588A JP 2589169 B2 JP2589169 B2 JP 2589169B2
Authority
JP
Japan
Prior art keywords
cursor
display
mode
circuit
character
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.)
Expired - Fee Related
Application number
JP63321075A
Other languages
Japanese (ja)
Other versions
JPH02165193A (en
Inventor
博 小山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Denki Co Ltd
Original Assignee
Sanyo Denki Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sanyo Denki Co Ltd filed Critical Sanyo Denki Co Ltd
Priority to JP63321075A priority Critical patent/JP2589169B2/en
Publication of JPH02165193A publication Critical patent/JPH02165193A/en
Application granted granted Critical
Publication of JP2589169B2 publication Critical patent/JP2589169B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Digital Computer Display Output (AREA)
  • Liquid Crystal Display Device Control (AREA)

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明はドットマトリクス表示装置に文字、数字、あ
るいは、記号等を表示するための表示回路に関し、特
に、ワンチップマイクロコンピュータに内蔵された表示
回路に関する。
The present invention relates to a display circuit for displaying characters, numbers, or symbols on a dot matrix display device, and more particularly, to a display circuit built in a one-chip microcomputer. It relates to a display circuit.

(ロ)従来の技術 従来、ワンチップマイクロコンピュータの付加機能の
一つとして、ドットマトリクス型の液晶表示装置を直接
駆動できる表示回路が内蔵されたものが開発されてい
る。
(B) Conventional technology Conventionally, as one of the additional functions of a one-chip microcomputer, a device incorporating a display circuit capable of directly driving a dot matrix type liquid crystal display device has been developed.

この表示回路は、文字、数字、あるいは、記号等を表
わすコードが記憶される表示RAMと、表示RAMから読み出
されたコードをアドレスとしてそのコードに応じた文
字、数字、あるいは記号を表示するためのドットパター
ンデータを発生するキャラクタジェネレータと、キャラ
クタジェネレータから出力されるドットパターンデータ
を表示駆動回路に送り出すシフトレジスタと、表示RAM
の読み出し及びキャラクタジェネレータの読み出しや表
示駆動回路の動作を制御する制御回路とから構成され
る。
This display circuit is used to display a character, a number, or a symbol corresponding to the display RAM in which a code representing a character, a number, or a symbol is stored, and a code read from the display RAM as an address. A character generator for generating dot pattern data of the same, a shift register for sending dot pattern data output from the character generator to a display drive circuit, and a display RAM
And a control circuit for controlling the reading of the character generator and the operation of the display driving circuit.

通常、ドットマトリクス型の液晶表示装置は、一文字
を5×7ドットで表示するようになっており、そのため
7本のコモンラインと7×N(Nは表示文字数)のセグ
メントラインが設けられている。従って、この液晶表示
装置を上記表示回路で駆動する場合には、選択するコモ
ンラインに表示するドットパターンデータを得るため
に、表示RAMをアクセスして、表示すべき文字、数字あ
るいは記号のコードを読み出し、そのコードでアクセス
されたキャラクタジェネレータから、選択するコモンラ
インに対応するドットパターンデータをシフトレジスタ
に出力し、シフトレジスタから液晶駆動回路に転送す
る。この動作を表示する文字数と同じだけ行うことによ
り、選択するコモンライン一行分のドットパターンが得
られる。更に、各ライン毎に同じ動作を繰り返すことに
より、表示が完成する。
Normally, a dot matrix type liquid crystal display device is designed to display one character by 5 × 7 dots. Therefore, seven common lines and 7 × N (N is the number of display characters) segment lines are provided. . Therefore, when this liquid crystal display device is driven by the display circuit, the display RAM is accessed to obtain the dot pattern data to be displayed on the selected common line, and the codes of the characters, numbers or symbols to be displayed are changed. The dot pattern data corresponding to the selected common line is output to the shift register from the character generator accessed by the readout code, and is transferred from the shift register to the liquid crystal driving circuit. By performing this operation as many times as the number of characters to be displayed, a dot pattern for one common line to be selected can be obtained. Further, the display is completed by repeating the same operation for each line.

(ハ)発明が解決しようとする課題 斯上の表示回路において、カーソル表示をしようとし
た場合、表示装置にはカーソルラインの設けられた8コ
モンラインの表示装置を用いる必要があるが、表示回路
は、8コモンラインの表示装置に応じて動作内容を変更
しなければならない。そのために、表示RAMやキャラク
タジェネレータの読み出しタイミングを制御する制御回
路を設計変更しなければならない。また、表示回路の動
作においても、カーソルを表示するコモンラインが選択
される際に、表示RAMの文字、数字あるいは記号等のコ
ードを書き替え、カーソルが表示される位置に相当する
アドレスにカーソルを示すコードを書き込まなければな
らない。あるいは、表示RAM内に表示する文字数に等し
い数で、カーソルを示すコードを記憶するアドレス領域
を設け、該アドレス領域のカーソル位置に対応するアド
レスにカーソルを示すコードを書き込む必要がある。ま
た、カーソルを表示するコモンラインが選択される際に
は、表示RAMからカーソルを示すコードを読み出し、キ
ャラクタジェネレータでカーソルを表示するドットパタ
ーンデータを得なければならない。
(C) Problems to be Solved by the Invention When trying to display a cursor in the above display circuit, it is necessary to use a display device having eight common lines provided with cursor lines as a display device. Must change the operation content according to the display device of 8 common lines. Therefore, the control circuit for controlling the read timing of the display RAM and the character generator must be redesigned. Also, in the operation of the display circuit, when the common line for displaying the cursor is selected, the code such as characters, numbers or symbols in the display RAM is rewritten, and the cursor is moved to the address corresponding to the position where the cursor is displayed. The code shown must be written. Alternatively, it is necessary to provide an address area for storing a code indicating the cursor in a number equal to the number of characters to be displayed in the display RAM, and write the code indicating the cursor at an address corresponding to the cursor position in the address area. When a common line for displaying the cursor is selected, a code indicating the cursor must be read from the display RAM, and dot pattern data for displaying the cursor must be obtained by the character generator.

従って、表示RAMのアドレス領域の拡張やキャラクタ
ジェネレータの拡張が必要となり、また、マイクロコン
ピュータのプログラム負担が増大する不都合があった。
Therefore, the address area of the display RAM and the character generator must be expanded, and 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 has a display RAM, an address counter that specifies an address of the display RAM, a character generator, and a shift register. In the display circuit, a cursor address register in which cursor address data indicating a position at which a cursor is displayed is set, a match detection circuit that detects that the value of the cursor address register matches the value of the address counter,
A mode control register for setting the display mode of the cursor, and inversion of the dot pattern data read from the character generator or predetermined dot pattern data based on the detection output of the coincidence detection circuit and the control signal of the mode control register. The cursor can be automatically displayed by providing a cursor generating circuit for generating the data and holding the data in the shift register.

(ホ)作用 上述の手段によれば、モード制御レジスタにカーソル
の種類を設定し、カーソルアドレスレジスタにカーソル
を表示する位置を示すデータを設定することにより、各
々コモンラインが選択される際に、アドレスカウンタが
表示RAMを順次アクセスし、読み出されたコードによっ
て選択されるコモンラインに対応するドットパターンデ
ータがキャラクタジェネレータから出力されるが、アド
レスカーソルとカーソルアドレスレジスタの内容が一致
すると一致検出回路の検出出力とモード制御レジスタの
出力に基いて、カーソル発生回路が制御される。特に、
文字を反転表示することでカーソル表示とするモードで
は、各コモンラインの選択時に、検出出力に従って、キ
ャラクタジェネレータから出力されるドットパターンデ
ータを反転してシフトレジスタに出力する。また、文字
の下にカーソルを表示するモードでは、そのコモンライ
ンが選択されたときに検出出力に基いてカーソルのドッ
トパターンデータをレジスタに出力する。
(E) Operation According to the above-described means, by setting the type of cursor in the mode control register and setting data indicating the position where the cursor is displayed in the cursor address register, when each common line is selected, The address counter sequentially accesses the display RAM, and the dot pattern data corresponding to the common line selected by the read code is output from the character generator. When the contents of the address cursor and the cursor address register match, the match detection circuit The cursor generation circuit is controlled on the basis of the detection output and the output of the mode control register. Especially,
In the mode in which the cursor is displayed by inverting the characters, 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 the mode in which the cursor is displayed below the character, when the common line is selected, the dot pattern data of the cursor is output to the register based on the detection output.

これにより、反転された文字、あるいは、文字の下に
表示されるラインによって、カーソル表示が行える。
Thus, the cursor can be displayed by the inverted character or the line displayed below the character.

(ヘ)実施例 第1図は本発明の実施例を示すブロック図である。図
において、(1)は40×8ビットのデュアルポートの表
示RAMであり、キャラクタモードではドットマトリクス
液晶表示装置(図示せず)に表示する文字、数字、ある
いは記号等のコードを最大40文字記憶可能であり、ま
た、グラフィックモードでは、ドットの点灯及び消灯を
指示する表示データを最大320ドット分記憶可能であ
る。表示RAM(1)の書き込み及び読み出しは、図示し
ないCPUによって行うことができる他に、読み出しはCPU
と独立して表示制御回路(2)によっても行える。
(3)は、表示RAM(1)から読み出されたデータを保
持する8ビットのラッチ回路である。(4)はキャラク
タジェネレータ用ROMであり、キャラクタモードの場
合、キャラクタジェネレータ用ROM(4)は、ラッチ回
路(3)に保持された文字、数字、あるいは記号等を示
すコードによってアドレス指定され、その文字、数字、
あるいは記号等を表示するためのドットパターンデータ
を出力する。このキャラクタジェネレータ用ROM(4)
に記憶される文字パターンは、マスクオプションによっ
てユーザーが設定可能であり、最大横5ドット×縦7ド
ットの文字フォントの任意パターンが160種類設定可能
である。(5)は切換ゲートであり、ラッチ回路(3)
の出力とキャラクタジェネレータ用ROM(4)の出力と
をモード選択信号C/Gによって選択出力する。(6)
は、キャラクタモード時にカーソルの種類に応じたドッ
トパターンデータを発生するカーソル表示回路である。
このカーソル表示回路(6)については後に詳述する。
(7)は、ドットパターンデータを図示しないドットマ
トリクス表示装置の駆動回路にシリアル転送するシフト
レジスタである。(8)は、モード制御レジスタであ
り、キャラクタモードとグラフィックモードを切換える
データ、カーソルの種類を示すデータが予めセットされ
る。
(F) Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, (1) is a 40 × 8-bit dual port display RAM, which stores a maximum of 40 characters, such as characters, numerals, or symbols, to be displayed on a dot matrix liquid crystal display device (not shown) in the character mode. In the graphic mode, display data for instructing lighting and extinguishing of dots can be stored for a maximum of 320 dots. Writing and reading of the display RAM (1) can be performed by a CPU (not shown).
Independently of the display control circuit (2).
(3) is an 8-bit latch circuit for holding data read from the display RAM (1). (4) is a character generator ROM. In the character mode, the character generator ROM (4) is addressed by a code indicating a character, a number, a symbol, or the like held in the latch circuit (3). Letters, numbers,
Alternatively, it outputs dot pattern data for displaying symbols and the like. ROM for this character generator (4)
Can be set by the user using a mask option, and 160 types of arbitrary character font patterns of a maximum of 5 horizontal dots × 7 vertical dots can be set. (5) is a switching gate, and a latch circuit (3)
And the output of the character generator ROM (4) are selectively output 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.
The cursor display circuit (6) will be described later in detail.
A shift register (7) serially transfers dot pattern data to a drive circuit of a dot matrix display device (not shown). (8) is a mode control register in which data for switching between the character mode and the 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)から計数値に
基いて出力される出力パルスHPC3〜HPC0が各回路の動作
タイミング信号として利用される。
The display control circuit (2) includes a counter (9) for counting the number of horizontal dots for one character, a counter (10) for counting the borrow signal of the counter (9), and counting the number of display characters for one line. The counter (10) counts the borrow signal and counts the number of vertical dots of one character (11), the counter (12) counts the number of drive lines of the dot matrix display device, and each counter (9) (10). ) Registers (13), (14), (15), (16) for holding predetermined values to set predetermined values in (11), (12), and counter (10)
And an address counter (17) of the display RAM (1), which counts up by the borrow signal. The counter (9) is provided with a shift clock CLK of the shift register (7).
And the output pulses HPC3 to HPCO output from the counter (9) based on the count value are used as operation timing signals of the respective circuits.

例えば、第2図に示される如く、一文字を横5×縦7
ドットでライン数8本のドットマトリクス表示装置に8
文字表示すると、レジスタ(13)に「5」、レジスタ
(14)に「8」、レジスタ(15)に「7」、レジスタ
(16)に「8」を予めCPUによってプリセットする。も
ちろん、アドレスカウンタ(17)はリセット状態にされ
る。即ち、この初期状態は、第2図のラインL1の表示を
行うための状態である。クロックパルスCLKが印加され
て、カウンタ(9)がカウントダウンしてゆき、計数値
が「4」となったときに信号HPC3が出力されると、アド
レスカウンタ(17)の内容によって指定される表示RAM
(1)のアドレス、即ち「0」番地がアクセスされる。
このアクセスによって読み出されたコードは、信号HPC3
の立ち下がりによってラッチ回路(3)にラッチされ
る、キャラクタモードの場合、カウンタ(9)から信号
HPC2が出力されると、キャラクタジェネレータ用ROM
(4)がラッチ回路(3)にラッチされたコードとカウ
ンタ(11)の内容をアドレスとしてアクセスされる。即
ち、コードが文字、数字、あるいは記号等を指定し、カ
ウンタ(11)がその文字、数字あるいは記号等のドット
パターンのラインを指定する。キャラクタジェネレータ
用ROM(4)から読み出されたドットパターンデータ
(今の場合はラインL1)は、切換ゲート(5)を介して
カーソル表示回路(6)に出力される。カーソル表示回
路(6)は、カーソル表示モードでない場合には、ドッ
トパターンデータをそのままシフトレジスタ(7)に転
送する。そして、カウンタ(9)の計数値が「0」とな
ってボロー信号、即ちHPC0が出力されると、HPC0によ
り、シフトレジスタ(7)にドットパターンデータで保
持され、このドットパターンデータは次の文字の読み出
し動作のクロックCLKによって順次表示駆動回路にシフ
トされる。また、前述のHPC0が発生すると、カウンタ
(10)がダウンカウントし、アドレスカウンタ(17)が
インクリメントされ、更に、カウンタ(9)にはレジス
タ(13)に保持された内容がプリセットされる。以後は
前述と同様の動作により、ラインL1のドットパターンデ
ータが読み出され、シフトレジスタ(7)から出力され
る。そして、一ラインの走査が終了するとカウンタ(1
0)から出力されるボロー信号により、アドレスカウン
タ(17)はリセットされ、カウンタ(10)にはレジスタ
(14)に保持された内容がプリセットされ、更に、カウ
ンタ(11)及び(12)はダウンカウントされる。即ち、
カウンタ(12)がダウンカウントすることにより、次の
ラインL2が走査されるのである。そして、ラインL7の走
査が終了すると、カウンタ(11)はカウントダウンされ
て計数値が「0」となり、この「0」を示す信号“0"が
出力されるとカウンタ(11)のカウント動作と表示RAM
(1)及びキャラクタジェネレータ用ROM(4)の読み
出し動作が禁止される。このとき、カウンタ(12)は
「1」、即ち、ラインL8を指定する内容であり、ライン
L8の走査時には、シフトレジスタ(7)から出力される
ドットパターンデータはすべて「0」となる。カウンタ
(12)からボロー信号が出力されると、レジスタ(15)
に保持された内容がカウンタ(11)にプリセットされ、
レジスタ(16)に保持された内容がカウンタ(12)にプ
リセットされ、ラインL1の初期状態に戻る。
For example, as shown in FIG.
8 dots on a dot matrix display device with 8 lines
When characters are displayed, the CPU presets “5” to the register (13), “8” to the register (14), “7” to the register (15), and “8” to the register (16). Of course, the address counter (17) is reset. That is, this initial state is a state for displaying the line L1 in FIG. When the clock pulse CLK is applied and the counter (9) counts down and the signal HPC3 is output when the count value becomes “4”, the display RAM specified by the contents of the address counter (17)
The address (1), that is, the address "0" is accessed.
The code read by this access is the signal HPC3
In the character mode, the signal is latched by the latch circuit (3) at the falling edge of the counter (9).
When HPC2 is output, ROM for character generator
(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 specifies a character, a number, a symbol, or the like, and the counter (11) specifies a dot pattern line of the character, number, or a symbol. The dot pattern data (in this case, line L1) read from the character generator ROM (4) is output to the cursor display circuit (6) via the switching gate (5). When the cursor display mode is not set, the cursor display circuit (6) transfers the dot pattern data to the shift register (7) as it is. Then, when the count value of the counter (9) becomes “0” and a borrow signal, that is, HPC0 is output, the shift register (7) holds the dot pattern data in the shift register (7) by HPC0. The data is sequentially shifted to the display drive circuit by the clock CLK of the character reading operation. When the aforementioned HPC0 occurs, the counter (10) counts down, the address counter (17) is incremented, and the counter (9) is preset with the contents held in the register (13). Thereafter, by the same operation as described above, the dot pattern data of the line L1 is read and output from the shift register (7). When scanning of one line is completed, the counter (1
The address counter (17) is reset by the borrow signal output from (0), the contents held in the register (14) are preset in the counter (10), and the counters (11) and (12) are down. Be counted. That is,
When the counter (12) counts down, the next line L2 is scanned. When the scanning of the line L7 is completed, the counter (11) counts down and the count value becomes "0". When the signal "0" indicating "0" is output, the counter (11) displays the count operation. RAM
The reading operation of (1) and the character generator ROM (4) is prohibited. At this time, the counter (12) is "1", that is, the content designating the line L8.
During the scanning of L8, the dot pattern data output from the shift register (7) is all "0". When the borrow signal is output from the counter (12), the register (15)
Is stored in the counter (11),
The contents held in the register (16) are preset in the counter (12), and return to the initial state of the line L1.

従って、表示制御回路(2)のレジスタ(13)(14)
(15)(16)に設定する内容をキャラクタジェネレータ
用ROM(4)の文字フォントに応じて変更することによ
り、各種のドットマトリクス表示装置に容易に対応する
ことができる。
Therefore, the registers (13) and (14) of the display control circuit (2)
(15) By changing the contents set in (16) according to the character font of the character generator ROM (4), it is possible to easily cope with various dot matrix display devices.

次に、カーソル表示回路(6)について説明する。カ
ーソル表示回路(6)は、カーソルの表示位置を示すデ
ータがプリセットされるカーソルアドレスレジスタ(1
8)と、該カーソルアドレスレジスタ(18)とアドレス
カウンタ(17)の内容が一致したことを検出する一致検
出回路(19)と、該一致検出回路(19)の検出出力Com
及びモード制御レジスタ(8)によって制御されるカー
ソル発生回路(20)とから構成されている。即ち、カー
ソルアドレスレジスタ(18)は、アドレスカウンタ(1
7)と同様に1〜40までの値が設定可能であり、カーソ
ルアドレスレジスタ(18)とアドレスカウンタ(17)が
一致するのは、各ラインL1〜L8において、1回である。
モード制御レジスタ(8)に設定されるカーソル表示の
種類は、表示された文字の下、即ち、ラインL8にアンダ
ーラインの表示を行うアンダーライン表示と、カーソル
位置の文字の反転を行う反転表示と、前記アンダーライ
ン表示を点滅させる点滅表示とがある。そのために、カ
ーソル発生回路(20)は、モード制御レジスタ(8)か
らアンダーライン表示を示す信号S1、検出出力Com、及
び、カウンタ(12)が「1」となったとき、即ちライン
L8が選択されるときの信号“1"が印加されたANDゲート
(21)と、モード制御レジスタ(8)の反転表示を示す
信号S2の検出出力Comが印加されたANDゲート(22)と、
アンダーラインの点滅を示す信号S3とその点滅周期とな
るパルスが印加され、出力がANDゲート(21)に印加さ
れるNANDゲート(23)と、切換ゲート(5)から出力さ
れる8ビットの各々のビットを入力し、ANDゲート(2
2)の出力で制御される8個のE−ORゲート(24)と、
各々のE−ORゲート(24)の出力を入力し、ANDゲート
(21)の出力で共通に制御され、各々の出力がシフトレ
ジスタ(7)に印加されるORゲート(25)とから構成さ
れる。
Next, the cursor display circuit (6) will be described. The cursor display circuit (6) includes a cursor address register (1) in which data indicating a cursor display position is preset.
8), a match detection circuit (19) for detecting that the contents of the cursor address register (18) and the address counter (17) match, and a detection output Com of the match detection circuit (19).
And a cursor generation circuit (20) controlled by a mode control register (8). That is, the cursor address register (18) stores the address counter (1
As in 7), values from 1 to 40 can be set, and the cursor address register (18) and the address counter (17) match once in each of the lines L1 to L8.
The types of cursor display set in the mode control register (8) include an underline display in which an underline is displayed below the displayed character, that is, a line L8, and an inverted display in which the character at the cursor position is inverted. And a blinking display for blinking the underline display. Therefore, cursor generating circuit (20) is signals S 1 indicating the underline display from the mode control register (8), the detection output Com, and, when the counter (12) becomes "1", i.e., the line
L8 is an AND gate which signal "1" is applied when the selected (21), AND gate detection output Com signal S 2 indicating a highlighted is applied in the mode control register (8) and (22) ,
A pulse is applied to the signal S 3 indicating a blinking underline its blinking period, the output is the NAND gate (23) applied to the AND gate (21), the 8-bit output from the switching gate (5) Input each bit, and AND gate (2
8 E-OR gates (24) controlled by the output of 2),
The output of each E-OR gate (24) is input, and is controlled in common by the output of the AND gate (21), and each output is composed of an OR gate (25) applied to the shift register (7). You.

このカーソル表示回路(6)において、反転表示が選
択されている場合信号S2は“1"レベルである。各ライン
L1〜L8に於いて、アドレスカウンタ(17)がカーソルア
ドレスレジスタ(18)に設定された内容と一致しない場
合には、ANDゲート(21)(22)の出力は“0"レベルで
あるため、キャラクタジェネレータ用ROM(4)から読
み出されたドットパターンデータは、そのままE−ORゲ
ート(24)及びORゲート(25)を介してシフトレジスタ
(7)に印加される。一方、アドレスカウンタ(17)が
カーソルアドレスレジスタ(18)の内容と一致する値に
なると、一致検出回路(19)の検出出力が“1"レベルと
なるため、ANDゲート(22)の出力が“1"レベルとな
る。これにより、キャラクタジェネレータ用ROM(5)
から読み出されたドットパターンデータはE−ORゲート
(24)において反転され、ORゲート(25)を介してシフ
トレジスタ(7)に印加される。従って、カーソルアド
レスレジスタ(18)に設定された表示位置の文字が反転
する。
In the cursor display circuit (6), the signal S 2 if the inversion display is selected is "1" level. Each line
If the address counter (17) does not match the contents set in the cursor address register (18) in L1 to L8, the outputs of the AND gates (21) and (22) are at the "0" level. The dot pattern data read from the character generator ROM (4) is directly applied to the shift register (7) via the E-OR gate (24) and the OR gate (25). On the other hand, when the value of the address counter (17) matches the content of the cursor address register (18), the detection output of the match detection circuit (19) becomes "1" level, so that the output of the AND gate (22) becomes "1". 1 "level. As a result, the character generator ROM (5)
The dot pattern data read out of the data is inverted in 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 inverted.

また、アンダーライン表示を指示する信号S1が“1"レ
ベルになった場合、ラインL1〜L7まではカウンタ(12)
の出力“1"は、“0"レベルであるためANDゲート(21)
の出力は“0"レベルにある。従って、ラインL1〜L7の走
査時には、一致検出回路(19)からの検出出力Comが
“1"レベルになっても、キャラクタジェネレータ用ROM
(4)から読み出されたドットパターンデータはそのま
まシフトレジスタ(7)に印加される。そして、ライン
L8が選択される状態になると、カウンタ(12)の出力
“1"が“1"レベルになるため、ANDゲート(21)の出力
が“1"レベルとなり、ORゲート(25)の出力はすべての
ビットで“1"レベルとなる。従って、ラインL8の選択時
には、カーソルレジスタ(18)に設定された表示位置の
ラインL8にアンダーラインが表示されることになる。
尚、この場合には、アンダーラインの点滅を指示する信
号S3が“0"レベルであるためNANDゲート(23)の出力は
“1"レベルとなっている。
Also, if the signals S 1 indicating the underline display is set to "1" level, until the line L1~L7 counter (12)
Output “1” is “0” level, so AND gate (21)
Is at the "0" level. Therefore, when scanning the lines L1 to L7, even if the detection output Com from the coincidence detection circuit (19) becomes "1" level, the character generator ROM
The dot pattern data read from (4) is directly applied to the shift register (7). And the line
When L8 is selected, the output “1” of the counter (12) goes to the “1” level, so the output of the AND gate (21) goes to the “1” level and all the outputs of the OR gate (25) Bit becomes “1” level. Therefore, when the line L8 is selected, an underline is displayed on the line L8 at the display position set in the cursor register (18).
In this case, the output of NAND gate for signal S 3 indicating the blinking underline is "0" level (23) is "1" level.

信号S1が“1"レベルにある状態において、アンダーラ
インの点滅を指示する信号S3を“1"レベルにするとNAND
ゲート(23)に入力される点滅周期信号の周期でNANDゲ
ート(23)の出力が“0"レベルと“1"レベルとなるた
め、アンダーラインの点滅が行われる。
In a state in which the signal S 1 is in the "1" level, the signal S 3 indicating the blinking underline "1" when the level NAND
Since the output of the NAND gate (23) becomes “0” level and “1” level in the cycle of the blink cycle signal input to the gate (23), the underline blinks.

カーソル表示が行わない場合には、モード制御レベル
(8)に設定される内容により、信号S1,S2,S3を“0"レ
ベルとすればよい。
When the cursor is not displayed, the signals S 1 , S 2 , and S 3 may be set to “0” level according to the contents set in the mode control level (8).

(ト)発明の効果 上述の如く本発明によれば、カーソルアドレスレジス
タ(18)にカーソルを表示する位置を示すデータをCPU
によってプリセットすると共に、モード制御レジスタ
(8)にカーソル表示の種類を設定することにより、プ
ログラム負担を減少することが可能となる。更に、表示
RAM(1)及びキャラクタジェネレータ用ROM(4)にカ
ーソル用のアドレス設定領域を設ける必要がなくなる利
点がある。
(G) Effects of the Invention As described above, according to the present invention, the data indicating the position at which the cursor is displayed in the cursor address register (18) is stored in the CPU.
By setting the mode and the type of cursor display in the mode control register (8), the program load can be reduced. In addition, display
There is an advantage that it is not necessary to provide a cursor address setting area in the RAM (1) and the character generator ROM (4).

【図面の簡単な説明】[Brief description of the drawings]

第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 of a dot matrix. (1) Display RAM, (2) Display control circuit, (3)
…… Latch circuit, (4) …… For character generator
ROM, (5) switching gate, (6) cursor display circuit, (7) shift register, (8) mode control register.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字、数字あるいは記号等を表すコードが
少なくとも記憶される表示RAMと、該表示RAMのアドレス
指定を行うアドレスカウンタと、前記表示RAMから読み
出されたコードをアドレスとしてそのコードに相当する
文字、数字あるいは記号などを表示するためのドットパ
ターンデータを発生するキャラクタジェネレータと、該
キャラクタジェネレータから出力されたドットパターン
を保持し表示装置の駆動回路へ出力するシフトレジスタ
を備えたドットマトリクス型表示装置のための表示回路
において、 カーソルを表示する位置を示すカーソルアドレスデータ
が設定されるカーソルアドレスレジスタと、 該カーソルアドレスレジスタと前記アドレスカウンタの
値が一致したことを検出する一致検出回路と、 前記カーソルの表示モードとして、文字を反転する第1
モードと、文字の下に設けられたカーソルラインにライ
ンを表示する第2モードが設定されるモード制御レジス
タと、 前記一致検出回路の検出出力と前記モード制御レジスタ
の制御信号に基づいて前記ドットパターンデータの反
転、あるいは、カーソルラインに表示するラインのドッ
トパターンデータの作成を行い前記シフトレジスタに保
持させるカーソル発生回路とを設け、カーソルラインの
無いドットマトリクス型表示装置とカーソルラインの設
けられたドットマトリクス型表示装置を駆動可能とした
表示回路。
A display RAM for storing at least a code representing a character, a number or a symbol; an address counter for specifying an address of the display RAM; and a code read from the display RAM as an address. A dot matrix including a character generator for generating dot pattern data for displaying corresponding characters, numbers or symbols, and a shift register for holding a dot pattern output from the character generator and outputting the same to a drive circuit of a display device A display circuit for a type display device, comprising: a cursor address register in which cursor address data indicating a position at which a cursor is displayed is set; and a coincidence detection circuit for detecting that the value of the cursor address register coincides with the value of the address counter. The cursor display mode and Te, the first to reverse the character
A mode control register for setting a mode and a second mode for displaying a line on a cursor line provided below a character; and the dot pattern based on a detection output of the match detection circuit and a control signal of the mode control register. A cursor generating circuit for inverting data or creating dot pattern data of a line to be displayed on a cursor line and holding the data in the shift register; a dot matrix type display device without a cursor line; and a dot provided with a cursor line. A display circuit that can drive a matrix display device.
【請求項2】前記カーソルの表示モードは、文字を反転
する第1モードと、文字の下にラインを表示する第2モ
ードの他に、文字の下に表示されたラインを点滅する第
3モードを備え、前記カウンタ発生回路は、前記第1モ
ードで制御され、ドットパターンデータを反転する第1
ゲート回路と、前記第2モードで制御され、所定データ
を発生する第2ゲート回路と、前記第3モードで制御さ
れ、所定の感覚で前記所定データの発生を禁止する第3
ゲート回路を設けた請求項第1項記載の表示回路。
2. The cursor display mode includes a first mode for inverting a character, a second mode for displaying a line below the character, and a third mode for blinking a line displayed below the character. Wherein the counter generation circuit is controlled in the first mode and has a first mode for inverting dot pattern data.
A gate circuit, a second gate circuit which is controlled in the second mode and generates predetermined data, and a third gate circuit which is controlled in the third mode and prohibits generation of the predetermined data with a predetermined feeling.
The display circuit according to claim 1, further comprising a gate circuit.
JP63321075A 1988-12-20 1988-12-20 Display circuit Expired - Fee Related JP2589169B2 (en)

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 JPH02165193A (en) 1990-06-26
JP2589169B2 true 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)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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
JPH02165193A (en) 1990-06-26

Similar Documents

Publication Publication Date Title
US4190835A (en) Editing display system with dual cursors
US4737782A (en) Liquid crystal display drive circuit with variable sequence of backplate scanning and variable duty factor
JP2589169B2 (en) Display circuit
US4755814A (en) Attribute control method and apparatus
JPH06118942A (en) Liquid crystal display controller and liquid crystal display system
US4504829A (en) Electronic equipment
JPH0150929B2 (en)
JPS6113276A (en) Typewriting practice apparatus
EP0957468A2 (en) Driving circuit for displaying characters on a display panel
KR920005607B1 (en) Character display apparatus
GB2090451A (en) Electronic display
JP2524130Y2 (en) Data input device
JPS6217833Y2 (en)
JP2639986B2 (en) Microcomputer display device
KR0150130B1 (en) Line unit display shift device in a lcd controller for charactor
JPS61110260A (en) Character processor
US5101196A (en) Display device for microcomputer
US5307448A (en) Electronic apparatus with display device
KR100237906B1 (en) Liquid crystal display system
JPS6245224Y2 (en)
JPH0378655B2 (en)
JPS599245Y2 (en) display device
JPS6337393A (en) Data display system
JPS585783A (en) Display control system for display unit
JPS6235139B2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees