JP2565581B2 - CRT display circuit - Google Patents

CRT display circuit

Info

Publication number
JP2565581B2
JP2565581B2 JP2113429A JP11342990A JP2565581B2 JP 2565581 B2 JP2565581 B2 JP 2565581B2 JP 2113429 A JP2113429 A JP 2113429A JP 11342990 A JP11342990 A JP 11342990A JP 2565581 B2 JP2565581 B2 JP 2565581B2
Authority
JP
Japan
Prior art keywords
display
vertical
start position
display start
signal
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 - Lifetime
Application number
JP2113429A
Other languages
Japanese (ja)
Other versions
JPH049999A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2113429A priority Critical patent/JP2565581B2/en
Publication of JPH049999A publication Critical patent/JPH049999A/en
Application granted granted Critical
Publication of JP2565581B2 publication Critical patent/JP2565581B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、CRTディスプレイ装置の画面上にマイク
ロコンピュータ等から与えられる数字,文字等のキャラ
クタを複数行にわたって整列表示させるためのCRT表示
用回路に関するものである。
The present invention relates to a CRT display circuit for displaying characters such as numbers and letters provided by a microcomputer on a screen of a CRT display device over a plurality of lines. It is about.

〔従来の技術〕[Conventional technology]

第3図はCRTディスプレイ装置の画面上にキャラクタ
を表示させるCRT表示用回路の従来例を示している。第
3図において、CRT表示用回路1は、画面上にキャラク
タを表示させるために、CRTディスプレイ装置(図示せ
ず)にラスタ走査方式の信号を供給する。制御用マイク
ロコンピュータ2は、CRT表示用回路1の各種動作を制
御するために設けてあり、例えば画面上に表示させるキ
ャラクタを指定したり、キャラクタの水平方向および垂
直方向の表示位置等を指定する。
FIG. 3 shows a conventional example of a CRT display circuit for displaying a character on the screen of a CRT display device. In FIG. 3, a CRT display circuit 1 supplies a raster scanning signal to a CRT display device (not shown) in order to display a character on the screen. The control microcomputer 2 is provided to control various operations of the CRT display circuit 1, and specifies, for example, a character to be displayed on the screen, a horizontal and vertical display position of the character, and the like. .

CRT表示用回路1内において、インタフェース3は制
御用マイクロコンピュータ2とCRT表示用回路1の内部
回路との整合をとる。タイミング発生器4はドットクロ
ック12,水平同期信号13および垂直同期信号14を入力と
して画面表示のための各種タイミング信号を発生する。
水平方向表示開始位置制御回路5は画面上の各表示行の
各キャラクタの水平方向表示開始位置を制御する。垂直
方向表示開始位置制御回路6Aは画面上の各表示行のキャ
ラクタの垂直方向表示開始位置を制御する。
In the CRT display circuit 1, the interface 3 matches the control microcomputer 2 with the internal circuit of the CRT display circuit 1. The timing generator 4 receives the dot clock 12, the horizontal synchronizing signal 13 and the vertical synchronizing signal 14 and generates various timing signals for screen display.
The horizontal display start position control circuit 5 controls the horizontal display start position of each character on each display line on the screen. The vertical display start position control circuit 6A controls the vertical display start position of the character on each display line on the screen.

ビデオRAM7は画面上に表示すべきキャラクタを画面と
対応させて記憶する。ビデオRAM制御回路8はビデオRAM
7の書込,読出を制御する。キャラクタROM10はキャラク
タの形状を示すデータを格納していて、ビデオRAM7の読
出データでアクセスされる。シフトレジスタ11はキャラ
クタROM10の出力を順次シリアルに転送して時系列信号
とする。CRT表示用出力回路9はCRT表示用信号25を出力
する。
The video RAM 7 stores the character to be displayed on the screen in association with the screen. The video RAM control circuit 8 is a video RAM
Controls writing and reading of 7. The character ROM 10 stores data indicating the shape of the character and is accessed by the read data of the video RAM 7. The shift register 11 sequentially transfers the output of the character ROM 10 serially to generate a time series signal. The CRT display output circuit 9 outputs a CRT display signal 25.

以上のような構成のCRT表示用回路1は、制御用マイ
クロコンピュータ2から表示制御のための各種データが
インタフェース3を通してタイミング発生器4,水平方向
表示開始位置制御回路5,垂直方向表示開始位置制御回路
6A,ビデオRAM7およびCRT表示用出力回路9に送られる。
In the CRT display circuit 1 having the above-described configuration, various data for display control is supplied from the control microcomputer 2 through the interface 3 to the timing generator 4, the horizontal display start position control circuit 5, and the vertical display start position control. circuit
6A, video RAM 7 and output circuit 9 for CRT display.

タイミング発生器4には、画面への文字表示に先立っ
て、インタフェース3を通じて制御用マイクロコンピュ
ータ2からキャラクタの表示サイズ等のデータが与えら
れる。同様に、水平方向表示開始位置制御回路5には、
各キャラクタの水平方向表示開始位置を示すデータが与
えられる。また、垂直方向表示開始位置制御回路6Aに
は、各キャラクタの垂直方向表示開始位置を示すデータ
が与えられる。ビデオRAM7には、画面上に表示すべきキ
ャラクタの種類を示すデータが画面と1対1に対応させ
て与えられる。CRT表示用出力回路9には、キャラクタ
の表示色等のデータが与えられる。
Prior to displaying characters on the screen, the timing generator 4 is supplied with data such as the display size of characters from the control microcomputer 2 through the interface 3. Similarly, in the horizontal display start position control circuit 5,
Data indicating the horizontal display start position of each character is given. Further, the vertical display start position control circuit 6A is supplied with data indicating the vertical display start position of each character. Data indicating the type of character to be displayed on the screen is given to the video RAM 7 in one-to-one correspondence with the screen. The CRT display output circuit 9 is supplied with data such as the display color of the character.

以上のような各種データが制御用マイクロコンピュー
タ2からCRT表示用回路1へ送られると、タイミング発
生器4が画面に表示するのに要する各種タイミングパル
ス(例えば、水平方向ドットクロック,垂直方向ドット
クロック,ビデオRAMプリチャージ,ROMプリチャージ,
ビデオRAMからシフトレジスタへのデータロード信号
等)を発生して水平方向表示開始位置制御回路5,垂直方
向表示開始位置制御回路6A,ビデオRAM制御回路8,シフト
レジスタ11に供給する。
When various kinds of data as described above are sent from the control microcomputer 2 to the CRT display circuit 1, various kinds of timing pulses required for the timing generator 4 to display on the screen (for example, horizontal dot clock, vertical dot clock). , Video RAM precharge, ROM precharge,
A data load signal from the video RAM to the shift register is generated and supplied to the horizontal display start position control circuit 5, the vertical display start position control circuit 6A, the video RAM control circuit 8 and the shift register 11.

水平方向表示開始位置制御回路5は、タイミング発生
器4からのタイミングパルスと水平同期信号13とに基づ
いて、画面に表示すべき各キャラクタの水平方向表示開
始位置を示す信号を作成し、これをCRT表示用出力回路
9に送る。また、垂直方向表示開始位置制御回路6Aは、
タイミング発生器4からのタイミングパルスと水平同期
信号12と垂直同期信号14とに基づいて、画面に表示すべ
き各表示行のキャラクタの垂直方向表示開始位置を示す
信号を作成し、これをCRT表示用出力回路9に送る。
The horizontal display start position control circuit 5 creates a signal indicating the horizontal display start position of each character to be displayed on the screen based on the timing pulse from the timing generator 4 and the horizontal synchronizing signal 13, and outputs the signal. It is sent to the CRT display output circuit 9. Further, the vertical display start position control circuit 6A is
Based on the timing pulse from the timing generator 4, the horizontal synchronizing signal 12 and the vertical synchronizing signal 14, a signal indicating the vertical display start position of the character of each display line to be displayed on the screen is created and displayed on the CRT. For output to the output circuit 9.

一方、ビデオRAM制御回路8は、タイミング発生器4
から送られるタイミングパルスにしたがって、ビデオRA
M7に格納した表示用データを順次読み出してキャラクタ
ROM10へ送る。キャラクタROM10は、ビデオRAM7から送ら
れたデータをアドレスとして読み出し動作を行い、デー
タをシフトレジスタ11へ送る。
On the other hand, the video RAM control circuit 8 includes the timing generator 4
Video RA according to the timing pulse sent from
The display data stored in M7 is read out sequentially
Send to ROM10. The character ROM 10 performs a read operation by using the data sent from the video RAM 7 as an address, and sends the data to the shift register 11.

シフトレジスタ11では、タイミング発生器4のタイミ
ングパルスと水平方向表示開始位置制御回路5から与え
られるキャラクタの水平方向表示開始位置を示す信号に
基づいてキャラクタROM10の出力データを時系列データ
としてCRT表示用出力回路9に送る。
In the shift register 11, the output data of the character ROM 10 is displayed as time series data for CRT display based on the timing pulse of the timing generator 4 and the signal indicating the horizontal display start position of the character given from the horizontal display start position control circuit 5. It is sent to the output circuit 9.

この結果、CRT表示用出力回路9では、画面上のラス
タ走査に対応した信号が作成され、それがCRTディスプ
レイ装置(図示せず)へ送られ、画面にビデオRAM7に格
納したキャラクタが水平方向表示開始位置制御回路5お
よび垂直方向表示開始位置制御回路6Aで規定される位置
に背景とともに表示されることになる。
As a result, in the CRT display output circuit 9, a signal corresponding to the raster scan on the screen is created and sent to the CRT display device (not shown), and the character stored in the video RAM 7 is horizontally displayed on the screen. It is displayed together with the background at the position defined by the start position control circuit 5 and the vertical display start position control circuit 6A.

第4図は第3図のCRT表示用回路の中の垂直方向表示
開始位置制御回路6Aの具体構成を示している。第4図に
おいて、計数回路15は水平同期信号13をクロック(CK)
入力とし、垂直同期信号14をリセット入力とし、垂直同
期信号14のパルスの後縁を起算点として水平同期信号13
のパルス数をカウントして画面上の現在走査中の水平走
査線位置を検出する機能を有する。
FIG. 4 shows a specific structure of the vertical display start position control circuit 6A in the CRT display circuit shown in FIG. In FIG. 4, the counting circuit 15 clocks the horizontal synchronization signal 13 (CK).
The vertical sync signal 14 is used as the reset input, and the horizontal sync signal 13 is set with the trailing edge of the pulse of the vertical sync signal 14 as the starting point.
It has a function of counting the number of pulses of the horizontal scanning line and detecting the position of the horizontal scanning line currently being scanned on the screen.

レジスタ19は、N個の格納エリアを有し、画面上に表
示するキャラクタの第1行ないし第N行の各表示行の垂
直方向表示開始位置を示す垂直方向表示開始位置データ
を、垂直同期信号14のパルスの後縁を起算点としてそれ
ぞれ第1行ないし第N行の各表示行の上端までの水平同
期信号13の発生パルス数で記憶している。具体的には、
レジスタ19は、第5図に示すように、画面Pに第1行な
いし第N行の表示行L1〜LNがある場合において、画面P
の上端(垂直同期信号14のパルスの後縁に対応する)か
ら各表示行L1〜LNの上端までの間に含まれる水平走査線
の本数、つまり垂直同期信号14のパルスの後縁を起算点
として各表示行L1〜LNの上端までの水平同期信号13のパ
ルス数に相当する垂直方向表示開始位置データVP1〜VPN
をそれぞれ記憶していることになる。
The register 19 has N storage areas and stores vertical display start position data indicating the vertical display start position of each of the first to Nth display lines of the character to be displayed on the screen. The number of pulses of the horizontal synchronizing signal 13 generated from the trailing edge of the 14th pulse to the upper end of each of the first to Nth display rows is stored as the starting point. In particular,
As shown in FIG. 5, the register 19 displays the screen P when the screen P has the first to Nth display lines L 1 to L N.
The number of horizontal scanning lines included between the upper end of the line (corresponding to the trailing edge of the pulse of the vertical synchronizing signal 14) and the upper edge of each display row L 1 to L N , that is, the trailing edge of the pulse of the vertical synchronizing signal 14 vertical display start position corresponding to the number of pulses of the horizontal synchronizing signal 13 to the upper end of each display line L 1 ~L N as starting point data VP 1 ~VP N
Will be remembered respectively.

マルチプレクサ18は、レジスタ19に記憶した第1行な
いし第N行の各表示行L1〜LNの垂直表示開始位置データ
VP1〜VPNの何れか一つを行番号データ20に従って選択し
て出力する。データ比較器16は、計数回路15の出力値と
マルチプレクサ18の出力値とを比較し両者が一致したと
きに一致信号24を出力する。ラッチからなる垂直方向表
示開始信号発生回路17は、データ比較器16から出力され
る一致信号24を受けて垂直方向表示開始信号24の出力を
開始し、行表示完了信号21を受けて垂直方向表示開始信
号24の出力を停止する。
The multiplexer 18 stores the vertical display start position data of each of the first to Nth display rows L 1 to L N stored in the register 19.
VP 1 ~VP any one of N and selected according to the line number data 20 output. The data comparator 16 compares the output value of the counting circuit 15 with the output value of the multiplexer 18 and outputs a coincidence signal 24 when they coincide with each other. The vertical display start signal generating circuit 17 including a latch receives the coincidence signal 24 output from the data comparator 16 and starts outputting the vertical display start signal 24, and receives the row display completion signal 21 to display the vertical display. The output of the start signal 24 is stopped.

つぎに、この垂直方向表示開始位置制御回路6Aの垂直
方向表示開始位置制御動作を説明する。この垂直方向表
示開始位置制御回路6Aでは、垂直同期信号14で計数回路
15がリセットされた後、計数回路15は水平同期信号13の
パルスをカウントし、水平同期信号13毎に順次出力値を
増加させる。一方、マルチプレクサ18は、行番号データ
に従ってレジスタ19の垂直方向表示開始位置データVP1
〜VPNのいずれかを選択してデータ比較器16へ送る。
Next, the vertical display start position control operation of the vertical display start position control circuit 6A will be described. In this vertical display start position control circuit 6A, the counter circuit
After 15 is reset, the counting circuit 15 counts the pulses of the horizontal synchronizing signal 13 and sequentially increases the output value for each horizontal synchronizing signal 13. On the other hand, the multiplexer 18 determines the vertical display start position data VP 1 of the register 19 according to the line number data.
Select one of ~VP N send to the data comparator 16.

垂直同期信号14のパルスの後縁の直後は、行番号デー
タ20が第1行(先頭行)の表示行L1を示し、第1行の表
示行L1の垂直方向表示開始位置データVP1をデータ比較
器16に送るので、計数回路15の出力値が垂直方向表示開
始位置データVP1と一致した時に一致信号24が発生し、
垂直方向表示開始信号発生回路17から垂直方向表示開始
信号22の出力を開始する。そして、この垂直方向表示開
始信号22がビデオRAM制御回路8およびCRT表示用出力回
路9(第3図参照)に送られ、表示行L1のキャラクタの
表示が開始する。その後、タイミング発生器4(第3図
参照)から与えられる行表示完了信号21が垂直方向表示
開始信号発生回路17に入力されると、垂直方向表示開始
信号22の出力が停止し、表示行L1のキャラクタの表示を
完了する。
Immediately after the trailing edge of the pulse of the vertical synchronization signal 14, the line number data 20 is the first row shows the display lines L 1 of the (first line), the vertical display start position data VP 1 display line L 1 of the first row Is sent to the data comparator 16, a match signal 24 is generated when the output value of the counting circuit 15 matches the vertical display start position data VP 1 .
The vertical display start signal generation circuit 17 starts outputting the vertical display start signal 22. Then, the vertical display start signal 22 is sent to the video RAM control circuit 8 and the CRT display output circuit 9 (see FIG. 3), and the display of the character in the display row L 1 is started. After that, when the row display completion signal 21 given from the timing generator 4 (see FIG. 3) is input to the vertical display start signal generation circuit 17, the output of the vertical display start signal 22 is stopped and the display row L Complete the display of character 1 .

つづいて、行番号データ20が第2行の表示行L2を示す
データに変更され、第2行の表示行L2の垂直方向表示開
始位置データVP1がデータ比較器16へ送られるので、今
度は垂直方向表示開始位置データVP2に対応する位置か
ら表示行L2のキャラクタの表示が行われる。
Then, the line number data 20 is changed to the data indicating the display lines L 2 of the second row, since the vertical display start position data VP 1 display line L 2 of the second row is sent to the data comparator 16, This time, the character on the display line L 2 is displayed from the position corresponding to the vertical display start position data VP 2 .

その後、行番号データ20が順次変更され、第3行ない
し第N行の各表示行L3〜LNのキャラクタが順次垂直方向
表示開始位置データVP3〜VPNに対応する位置から順次表
示される。
Thereafter, the line number data 20 are sequentially changed, is sequentially displayed from the third line to each display line L 3 ~L N characters sequentially vertical display start position data VP 3 positions corresponding to the ~VP N of the N-th row It

以上の動作は各フレーム毎に繰り返し行われ、ビデオ
RAM7の内容の変更がなければ、画面P上に、複数フレー
ムにわたって同じキャラクタが表示されることになる。
The above operation is repeated for each frame
Unless the contents of the RAM 7 are changed, the same character is displayed on the screen P over a plurality of frames.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

しかし、このような構成によると、画面P上で垂直方
向スクロールを行う場合のように、画面P上の全表示行
L1〜LNの垂直方向表示開始位置の変更を必要とするとき
に、CRT表示用回路1を制御する制御用マイクロコンピ
ュータ2は全表示行L1〜LN分の垂直方向表示開始位置デ
ータVP1〜VPNをCRT表示用回路1に転送しなくてはなら
ない。この転送は、前記垂直方向スクロールの場合、表
示画面の1フレーム毎に1回必要であり、前記制御用マ
イクロコンピュータ2の負担が大きいという問題があっ
た。
However, according to such a configuration, as in the case of vertically scrolling on the screen P, all the display lines on the screen P are displayed.
When it is necessary to change the vertical display start position of L 1 to L N , the control microcomputer 2 that controls the CRT display circuit 1 displays the vertical display start position data for all the display rows L 1 to L N. without transferring the VP 1 ~VP N to CRT display circuit 1 not. In the case of the vertical scroll, this transfer is required once for each frame of the display screen, and there is a problem that the control microcomputer 2 has a heavy load.

したがって、この発明の目的は、例えば垂直スクロー
ルを行う場合のように、画面上で全表示行の垂直方向表
示開始位置を均等に変更する場合の垂直方向表示開始位
置データ書き替えの際の制御用マイクロコンピュータの
負担を軽減することができるCRT表示用回路を提供する
ことである。
Therefore, an object of the present invention is to control the vertical display start position data when rewriting the vertical display start position of all display lines on the screen evenly, for example, when performing vertical scrolling. It is an object of the present invention to provide a CRT display circuit that can reduce the load on a microcomputer.

〔課題を解決するための手段〕[Means for solving the problem]

この発明のCRT表示用回路は、CRT画面上に複数の文
字,記号,数字のキャラクタからなる文字列を表示する
もので、 第1行の表示行の垂直方向表示開始位置データを、垂
直同期信号を起点として、垂直方向表示開始位置までに
含まれる水平同期信号のパルス数に相当する値で記憶
し、 第2行以降の各表示行の垂直方向表示開始位置データ
を、一つ前の表示行の一定の位置を起算点として、当該
表示行の垂直方向表示開始位置までに含まれる水平同期
信号のパルス数に相当する値で記憶したレジスタと、 各起算点でリセットされて水平同期信号のパルス数を
計数する計数回路と、 計数回路の出力値とレジスタに記憶した当該表示行に
対応する垂直方向表示開始位置データとを比較するデー
タ比較器と、 データ比較器の一致信号の発生に応答して当該表示行
の垂直方向表示開始信号を発生する垂直方向表示開始信
号発生回路とで構成した垂直方向表示開始位置制御回路
を備えている。
The CRT display circuit according to the present invention displays a character string composed of a plurality of characters, symbols and numerals on a CRT screen. The vertical display start position data of the first display line is converted into a vertical synchronization signal. Is stored as a value corresponding to the number of pulses of the horizontal synchronizing signal included in the vertical direction display start position, and the vertical direction display start position data of each display line after the second line is stored as the previous display line. Starting from a fixed position of, the register that stores the value corresponding to the number of pulses of the horizontal synchronization signal included in the vertical display start position of the display row, and the pulse of the horizontal synchronization signal that is reset at each starting point A counting circuit for counting the number, a data comparator for comparing the output value of the counting circuit with the vertical display start position data corresponding to the display row stored in the register, and in response to the generation of the coincidence signal of the data comparator. And a vertical display start position control circuit which is constituted by a vertical display start signal generation circuit for generating a vertical display start signal for the display line.

〔作用〕[Action]

この発明の構成によれば、画面上で垂直方向スクロー
ルを行う場合のように、全ての表示行の垂直方向位置を
均等に変更することが必要なときに、従来の方式のよう
に、制御用マイクロコンピュータから各表示行の垂直方
向表示開始位置データを記憶するレジスタに全ての表示
行分の垂直表示開始位置データを転送する必要はなく、
第1行の垂直方向表示開始位置データのみを転送するだ
けで全表示行の垂直方向表示位置の均等変更が可能とな
り、例えば画面上で垂直スクロールを行う場合の垂直方
向表示開始位置データ書き替えの際の制御用マイクロコ
ンピュータの負担を著しく軽減することができる。
According to the configuration of the present invention, when it is necessary to uniformly change the vertical position of all display lines, as in the case of performing vertical scrolling on the screen, the control It is not necessary to transfer the vertical display start position data for all the display lines from the microcomputer to the register that stores the vertical display start position data for each display line,
By only transferring the vertical display start position data of the first line, the vertical display positions of all the display lines can be changed evenly. For example, when the vertical scroll start position data is rewritten when vertical scrolling is performed on the screen. It is possible to remarkably reduce the load on the control microcomputer.

〔実 施 例〕〔Example〕

この発明の一実施例を第1図および第3図に基づいて
説明する。このCRT表示用回路は、第4図の垂直方向表
示開始位置制御回路6Aに代えて、第1図に示した垂直方
向表示開始位置制御回路6Bを用いたもので、全体構成は
従来例の第3図と同様である。
An embodiment of the present invention will be described with reference to FIGS. 1 and 3. This CRT display circuit uses the vertical display start position control circuit 6B shown in FIG. 1 in place of the vertical display start position control circuit 6A shown in FIG. It is similar to FIG.

第1図において、計数回路15は水平同期信号13をクロ
ック(CK)入力とし、垂直同期信号14と行表示完了信号
21のオア回路23による論理和信号をリセット入力とし、
垂直同期信号14のパルスの後縁および第1行ないし第N
−1行の各表示行L1〜LN-1の下端をそれぞれ起算点とし
て、第1行ないし第N行の各表示行L1〜LNの上端までの
水平同期信号13の数をカウントして画面上の現在走査中
の水平走査線位置(垂直同期信号14のパルスの後縁もし
くは前行の下端を基準とする位置)を検出する機能を有
する。
In FIG. 1, the counting circuit 15 uses the horizontal synchronizing signal 13 as a clock (CK) input, and the vertical synchronizing signal 14 and the row display completion signal.
The OR signal from the OR circuit 23 of 21 is used as the reset input,
The trailing edge of the pulse of the vertical synchronizing signal 14 and the first to Nth rows
-Counting the number of horizontal synchronization signals 13 from the lower end of each of the display rows L 1 to L N-1 of the 1st row to the upper end of each of the display rows L 1 to L N of the 1st to Nth rows Then, it has a function of detecting the horizontal scanning line position (the position with respect to the trailing edge of the pulse of the vertical synchronizing signal 14 or the lower end of the preceding line as a reference) during the current scanning on the screen.

レジスタ19は、N個の格納エリアを有し、画面上に表
示するキャラクタの第1行ないし第N行の各表示行L1
LNの垂直方向表示開始位置を示す垂直方向表示開始位置
データを、第1行の表示行L1については垂直同期信号14
のパルスの後縁を起算点として表示行L1の上端までの水
平同期信号13の発生パルス数で記憶し、第2行ないし第
N行の各表示行L2〜LNについては各々前行の下端を起算
点として各表示行L2〜LNまでの水平同期信号13の発生パ
ルス数で記憶している。具体的には、レジスタ19は、第
2図に示すように、画面Pに第1行ないし第N行のキャ
ラクタの表示行L1〜LNがある場合において、画面Pの上
端(垂直同期信号14のパルスの後縁に対応する)を起算
点として第1行の表示行L1の上端までの間に含まれる水
平走査線の本数、つまり垂直同期信号14のパルスの後縁
から起算した水平同期信号13のパルス数に相当する垂直
方向表示開始位置データVP1を記憶し、さらに第1行な
いし第N−1行の表示行L1〜LN-1の下端を起算点として
第2行ないし第N行の各表示行L2〜LNの上端までの間に
含まれる水平走査線の本数、つまり表示行L1〜LN-1の下
端から起算した水平同期信号13のパルス数に相当する垂
直方向表示開始位置データVQ2〜VQNをそれぞれ記憶して
いることになる。
The register 19 has N storage areas, and each of the display lines L 1 to N 1 to N of the character to be displayed on the screen is displayed.
The vertical display start position data indicating the vertical display start position of L N is displayed on the vertical synchronization signal 14 for the first display line L 1.
The number of pulses of the horizontal synchronizing signal 13 up to the upper end of the display row L 1 is stored starting from the trailing edge of the pulse of the above pulse, and each of the second to Nth display rows L 2 to L N is stored in the preceding row. The number of pulses of the horizontal synchronizing signal 13 in each of the display lines L 2 to L N is stored as the starting point at the lower end of. Specifically, as shown in FIG. 2, the register 19 controls the upper end of the screen P (vertical sync signal when the screen P has display lines L 1 to L N of the first to Nth characters). (Corresponding to the trailing edge of 14 pulses) from the trailing edge of the pulse of the vertical synchronizing signal 14, that is, the number of horizontal scanning lines included up to the upper end of the first display line L 1 The vertical display start position data VP 1 corresponding to the number of pulses of the synchronization signal 13 is stored, and the second row is started from the lower end of the first to N− 1th display rows L 1 to L N-1. To the number of horizontal scanning lines included between the upper ends of the display rows L 2 to L N of the Nth row, that is, the number of pulses of the horizontal synchronizing signal 13 calculated from the lower ends of the display rows L 1 to L N-1. The corresponding vertical display start position data VQ 2 to VQ N are stored respectively.

マルチプレクサ18は、レジスタ19に記憶した第1行な
いし第N行の各表示行L1〜LNの垂直表示開始位置データ
VP1,VQ2〜VQNの何れか一つを行番号データ20に従って選
択して出力する。データ比較器16は、計数回路15の出力
値とマルチプレクサ18の出力値とを比較し両者が一致し
たときに一致信号24を出力する。ラッチからなる垂直方
向表示開始信号発生回路17は、データ比較器16から出力
される一致信号24を受けて垂直方向表示開始信号24の出
力を開始し、行表示完了信号21を受けて垂直方向表示開
始信号24の出力を停止する。
The multiplexer 18 stores the vertical display start position data of each of the first to Nth display rows L 1 to L N stored in the register 19.
Any one of VP 1 and VQ 2 to VQ N is selected and output according to the row number data 20. The data comparator 16 compares the output value of the counting circuit 15 with the output value of the multiplexer 18 and outputs a coincidence signal 24 when they coincide with each other. The vertical display start signal generating circuit 17 including a latch receives the coincidence signal 24 output from the data comparator 16 and starts outputting the vertical display start signal 24, and receives the row display completion signal 21 to display the vertical display. The output of the start signal 24 is stopped.

つぎに、この垂直方向表示開始位置制御回路6Bの垂直
方向表示開始位置制御動作を説明する。この垂直方向表
示開始位置制御回路6Bでは、垂直同期信号14で計数回路
15がリセットされた後、計数回路15は水平同期信号13の
パルスをカウントし、水平同期信号13毎に順次出力値を
増加させ、その出力値は、行表示完了信号21毎にもリセ
ットされる。一方、マルチプレクサ18は、行番号データ
に従ってレジスタ19の垂直方向表示開始位置データVP1,
VQ2〜VQNのいずれかを選択してデータ比較器16へ送る。
Next, the vertical display start position control operation of the vertical display start position control circuit 6B will be described. In this vertical display start position control circuit 6B, the counter circuit
After 15 is reset, the counting circuit 15 counts the pulses of the horizontal synchronizing signal 13 and sequentially increases the output value for each horizontal synchronizing signal 13, and the output value is also reset for each row display completion signal 21. . On the other hand, the multiplexer 18 determines the vertical display start position data VP 1 ,
Any one of VQ 2 to VQ N is selected and sent to the data comparator 16.

垂直同期信号14のパルスの後縁の直後は、行番号デー
タ20が第1行の表示行L1を示し、表示行L1の垂直方向表
示開始位置データVP1をデータ比較器16に送るので、計
数回路15の出力値が垂直方向表示開始位置データVP1
一致した時に一致信号24が発生し、垂直方向表示開始信
号発生回路17から垂直方向表示開始信号22の出力を開始
し、この垂直方向表示開始信号22がビデオRAM制御回路
8およびCRT表示用出力回路9(第3図参照)に送ら
れ、表示行L1のキャラクタの表示が開始する。そして、
タイミング表示器4(第3図参照)から与えられる行表
示完了信号21が垂直方向表示開始信号発生回路17に入力
されると、垂直方向表示開始信号22の出力が停止し、表
示行L1のキャラクタの表示を完了する。
Immediately after the trailing edge of the pulse of the vertical synchronization signal 14, the line number data 20 indicates a display line L 1 of the first row, since sending a vertical display start position data VP 1 display line L 1 to the data comparator 16 When the output value of the counting circuit 15 matches the vertical display start position data VP 1 , a match signal 24 is generated, and the vertical display start signal generating circuit 17 starts outputting the vertical display start signal 22. The direction display start signal 22 is sent to the video RAM control circuit 8 and the CRT display output circuit 9 (see FIG. 3) to start displaying the character on the display row L 1 . And
When the row display completion signal 21 given from the timing indicator 4 (see FIG. 3) is input to the vertical display start signal generating circuit 17, the output of the vertical display start signal 22 is stopped and the display row L 1 Complete the display of the character.

つづいて、行番号データ20が第2行の表示行L2を示す
データに変更され、表示行L2の垂直方向表示開始位置デ
ータVQ2がデータ比較器16へ送られるので、計数回路15
の出力値が垂直方向表示開始位置データVQ2と一致した
時に一致信号24が発生し、垂直方向表示開始信号発生回
路17から垂直方向表示開始信号22の出力を開始し、この
垂直方向表示開始信号22がビデオRAM制御回路8およびC
RT表示用出力回路9(第3図参照)に送られ、走行行L2
のキャラクタの表示が開始する。そして、タイミング発
生器4(第3図参照)から与えられる行表示完了信号21
が垂直方向表示開始信号発生回路17に入力されると、垂
直方向表示開始信号22の出力が停止し、表示行L1のキャ
ラクタの表示を完了する。その後、行番号データ20が順
次変更され、第3行ないし第N行の各表示行L3〜LNのキ
ャラクタが順次垂直方向表示開始位置データVQ3〜VQN
対応する位置から表示が行われる。
Subsequently, the line number data 20 is changed to the data indicating the display lines L 2 of the second row, since the vertical display start position data VQ 2 display line L 2 is sent to the data comparator 16, the counting circuit 15
When the output value of is coincident with the vertical display start position data VQ 2 , the coincidence signal 24 is generated, the vertical display start signal generating circuit 17 starts outputting the vertical display start signal 22, and the vertical display start signal is generated. 22 is a video RAM control circuit 8 and C
It is sent to the output circuit 9 for RT display (see Fig. 3), and travels L 2
The display of the character starts. Then, the row display completion signal 21 provided from the timing generator 4 (see FIG. 3)
Is input to the vertical display start signal generation circuit 17, the output of the vertical display start signal 22 is stopped, and the display of the character in the display row L 1 is completed. After that, the line number data 20 is sequentially changed so that the characters of the third to Nth display lines L 3 to L N are sequentially displayed from the positions corresponding to the vertical display start position data VQ 3 to VQ N. Be seen.

以上の動作は各フレーム毎に繰り返し行われ、ビデオ
RAM7の内容の変更がなければ、画面P上に、複数フレー
ムにわたって同じキャラクタが表示されることになる。
The above operation is repeated for each frame
Unless the contents of the RAM 7 are changed, the same character is displayed on the screen P over a plurality of frames.

また、レジスタ19の第1行の表示行L1の垂直方向表示
開始位置データVP1を各フレーム毎に変更することによ
り、画面上でキャラクタ表示の垂直スクロールを行った
り、行間隔を変更しないで各行のキャラクタを均等に垂
直方向に移動させることができる。
Also, by changing the vertical display start position data VP 1 of the first display line L 1 of the register 19 for each frame, vertical scrolling of the character display on the screen is not performed and the line spacing is not changed. The characters in each line can be evenly moved in the vertical direction.

なお、垂直方向表示開始位置制御回路6Bに対して制御
用マイクロコンピュータ2からインタフェース3を通じ
て予めデータ転送は完了しているものとする。
It is assumed that the data transfer from the control microcomputer 2 to the vertical display start position control circuit 6B is completed in advance through the interface 3.

以上のように、第1図のCRT表示用回路1に垂直同期
信号14が入力されると、第1行ないし第N行の各表示行
L1〜LN毎に表示スタートを許可する垂直方向表示開始信
号22が出力される。各表示行L1〜LN毎に発生する垂直方
向表示開始信号22は、前記したように、CRT表示用出力
回路9およびVRAM制御回路8(第3図参照)の動作を開
始させ、ドット・クロック12,水平同期信号13および垂
直同期信号14によってタイミング発生器4が発生するタ
イミング信号に従ってビデオRAM7に記憶した表示キャラ
クタ・コードがキャラクタROM10をアクセスする。キャ
ラクタROM10の出力は、シフトレジスタ11により水平同
期信号13に同期した時系列データとなってCRT表示用出
力回路9に入力される。CRT表示用出力回路9は、垂直
同期信号14および水平同期信号13に同期したCRT表示用
信号を出力し、これがCRTディスプレイ装置に供給さ
れ、画面上にキャラクタが表示されることになる。
As described above, when the vertical synchronizing signal 14 is input to the CRT display circuit 1 of FIG. 1, each of the first to Nth display rows is displayed.
A vertical display start signal 22 that permits display start is output for each of L 1 to L N. The vertical display start signal 22 generated for each of the display rows L 1 to L N starts the operation of the CRT display output circuit 9 and the VRAM control circuit 8 (see FIG. 3) as described above, and The display character code stored in the video RAM 7 accesses the character ROM 10 according to the timing signal generated by the timing generator 4 by the clock 12, the horizontal synchronizing signal 13 and the vertical synchronizing signal 14. The output of the character ROM 10 becomes time series data synchronized with the horizontal synchronizing signal 13 by the shift register 11 and is input to the CRT display output circuit 9. The CRT display output circuit 9 outputs a CRT display signal synchronized with the vertical synchronizing signal 14 and the horizontal synchronizing signal 13, and this is supplied to the CRT display device, so that the character is displayed on the screen.

なお、上記の実施例では、行表示完了信号21で計数回
路15をリセットする構成とすることで、一つ前の表示行
の下端を当該表示行の垂直方向表示位置を決めるための
起算点としたが、一つ前の表示行の一定の位置、例えば
上端で発生する信号作成し、この信号で計数回路15をリ
セットする構成とすれば、一つ前の表示行の上端を起算
点とすることができる。すなわち、各表示行の垂直方向
表示位置を決めるための起算点は各々一つ前の表示行に
関して一定の位置であればよい。
In the above embodiment, the row display completion signal 21 is used to reset the counting circuit 15, so that the lower end of the previous display row is the starting point for determining the vertical display position of the display row. However, if the signal generated at a certain position of the previous display line, for example, the upper end is created and the counting circuit 15 is reset by this signal, the upper end of the previous display line is set as the starting point. be able to. That is, the starting point for determining the vertical display position of each display line may be a fixed position with respect to the immediately preceding display line.

〔発明の効果〕〔The invention's effect〕

この発明のCRT表示用回路によれば、画面上の第1行
の表示行の垂直方向表示開始位置データを変更するだけ
で、画面上の全表示行を均等に移動させることができ、
画面上で垂直方向スクロールを行う場合のように、全て
の表示行の垂直方向表示開始位置を均等に変更すること
が必要なときに問題となる大量のデータ転送を著しく低
減することが可能で、例えば画面上で垂直スクロールを
行う場合のように全表示行の垂直方向表示開始位置を均
等に変化させる場合の垂直方向表示開始位置データ書き
替えの際の制御用マイクロコンピュータの負担を著しく
軽減することができる。
According to the CRT display circuit of the present invention, all display lines on the screen can be moved uniformly by only changing the vertical display start position data of the first display line on the screen.
It is possible to significantly reduce the large amount of data transfer that becomes a problem when it is necessary to uniformly change the vertical display start position of all display lines, such as when performing vertical scroll on the screen. To remarkably reduce the load on the control microcomputer when rewriting the vertical display start position data when the vertical display start position of all display lines is changed evenly, for example, when vertically scrolling on the screen. You can

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

第1図はこの発明の一実施例のCRT表示用回路内の垂直
方向表示開始位置制御回路の構成を示すブロック図、第
2図は第1図の構成において垂直方向表示開始位置デー
タの概念を画面上に示した概念図、第3図は従来のCRT
表示用回路の構成を示すブロック図、第4図は第3図の
CRT表示用回路内の垂直方向表示開始位置制御回路の構
成を示すブロック図、第5図は従来の垂直方向表示開始
位置制御回路の垂直方向表示開始位置データの概念を画
面上に示した概念図である。 1……CRT表示用回路、2……制御用マイクロコンピュ
ータ、3……インタフェース、4……タイミング発生
器、5……水平方向表示開始位置制御回路、6B……垂直
方向表示開始位置制御回路、7……ビデオRAM、8……
ビデオRAM制御回路、9……CRT表示用出力回路、10……
キャラクタROM、11……シフトレジスタ、12……ドット
クロック、13……水平同期信号、14……垂直同期信号、
15……計数回路、16……データ比較器、17……垂直方向
表示開始信号発生回路、18……マルチプレクサ、19……
レジスタ、20……行番号データ、21……行表示完了信
号、22……垂直方向表示開始信号、23……オア回路、24
……一致信号、 25……CRT表示用信号
FIG. 1 is a block diagram showing the configuration of a vertical direction display start position control circuit in a CRT display circuit according to an embodiment of the present invention, and FIG. 2 shows the concept of vertical direction display start position data in the configuration of FIG. The conceptual diagram shown on the screen and Fig. 3 are conventional CRTs.
FIG. 4 is a block diagram showing the configuration of the display circuit, and FIG.
FIG. 5 is a block diagram showing the configuration of the vertical display start position control circuit in the CRT display circuit. FIG. 5 is a conceptual diagram showing on the screen the concept of vertical display start position data of the conventional vertical display start position control circuit. Is. 1 ... CRT display circuit, 2 ... control microcomputer, 3 ... interface, 4 ... timing generator, 5 ... horizontal display start position control circuit, 6B ... vertical display start position control circuit, 7 ... Video RAM, 8 ...
Video RAM control circuit, 9 …… CRT display output circuit, 10 ……
Character ROM, 11 …… Shift register, 12 …… Dot clock, 13 …… Horizontal sync signal, 14 …… Vertical sync signal,
15 …… Counter circuit, 16 …… Data comparator, 17 …… Vertical display start signal generating circuit, 18 …… Multiplexer, 19 ……
Register, 20 ... Line number data, 21 ... Line display completion signal, 22 ... Vertical display start signal, 23 ... OR circuit, 24
…… Match signal, 25 …… CRT display signal

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】CRT画面上に複数の文字,記号,数字のキ
ャラクタからなる文字列を表示するCRT表示用回路であ
って、 第1行の表示行の垂直方向表示開始位置データを、垂直
同期信号を起点として、前記垂直方向表示開始位置まで
に含まれる水平同期信号のパルス数に相当する値で記憶
し、 第2行以降の各表示行の垂直方向表示開始位置データ
を、一つ前の表示行の一定の位置を起算点として、当該
表示行の垂直方向表示開始位置までに含まれる水平同期
信号のパルス数に相当する値で記憶したレジスタと、 前記各起算点でリセットされて水平同期信号のパルス数
を計数する計数回路と、 前記計数回路の出力値と前記レジスタに記憶した前記当
該表示行に対応する垂直方向表示開始位置データとを比
較するデータ比較器と、 前記データ比較器の一致信号の発生に応答して前記当該
表示行の垂直方向表示開始信号を発生する垂直方向表示
開始信号発生回路とで構成した垂直方向表示開始位置制
御回路を備えたCRT表示用回路。
1. A CRT display circuit for displaying a character string consisting of a plurality of characters, symbols and numbers on a CRT screen, wherein vertical display start position data of a first display line is vertically synchronized. The signal is used as a starting point and is stored as a value corresponding to the number of pulses of the horizontal synchronizing signal included up to the vertical display start position, and the vertical display start position data of each display row from the second row onward is stored. A register that is stored with a value corresponding to the number of pulses of the horizontal synchronizing signal included in the display row at a certain position as a starting point and up to the vertical display start position of the display row, and is reset at each starting point to perform horizontal synchronization. A counting circuit for counting the number of signal pulses, a data comparator for comparing the output value of the counting circuit with vertical display start position data corresponding to the display row stored in the register, and the data comparator. CRT display circuit having a vertical display start position control circuit which is constituted by a vertical display start signal generation circuit for generating a vertical display start signal of the corresponding display line in response to the generation of the match signal.
JP2113429A 1990-04-27 1990-04-27 CRT display circuit Expired - Lifetime JP2565581B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2113429A JP2565581B2 (en) 1990-04-27 1990-04-27 CRT display circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2113429A JP2565581B2 (en) 1990-04-27 1990-04-27 CRT display circuit

Publications (2)

Publication Number Publication Date
JPH049999A JPH049999A (en) 1992-01-14
JP2565581B2 true JP2565581B2 (en) 1996-12-18

Family

ID=14612006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2113429A Expired - Lifetime JP2565581B2 (en) 1990-04-27 1990-04-27 CRT display circuit

Country Status (1)

Country Link
JP (1) JP2565581B2 (en)

Also Published As

Publication number Publication date
JPH049999A (en) 1992-01-14

Similar Documents

Publication Publication Date Title
US4855728A (en) Method and apparatus for converting display data form
US4714919A (en) Video display with improved smooth scrolling
US4668947A (en) Method and apparatus for generating cursors for a raster graphic display
JPS6049391A (en) Raster scan display system
US4011556A (en) Graphic display device
US4720803A (en) Display control apparatus for performing multicolor display by tiling display
JP2565581B2 (en) CRT display circuit
JPH0614273B2 (en) Video display controller
JPS632116B2 (en)
JP2623541B2 (en) Image processing device
JP3354725B2 (en) Display device
JPH0769674B2 (en) Address circuit for multiple panel display
JP2911301B2 (en) Screen display device
JP2863561B2 (en) Memory read control circuit of CRT display device
JPS6228473B2 (en)
JPH0717011Y2 (en) Waveform display device
JPH0327695A (en) Equipment and method of economizing memory for displaying raster test pattern
EP0159589A2 (en) Display system for a measuring instrument
JP2959486B2 (en) Multi-window display control memory
JP3074378B2 (en) Display control method and device
JPH01277890A (en) Display control system
JPH06161409A (en) Look-up table memory rewriting method and display device with look-up table memory
JPH0744151A (en) Video display device
JPH0654428B2 (en) Memory Address Generation Method for Bit-Map Display Device
JPS61212892A (en) Control of character display unit