JPH049999A - CRT display circuit - Google Patents

CRT display circuit

Info

Publication number
JPH049999A
JPH049999A JP2113429A JP11342990A JPH049999A JP H049999 A JPH049999 A JP H049999A JP 2113429 A JP2113429 A JP 2113429A JP 11342990 A JP11342990 A JP 11342990A JP H049999 A JPH049999 A JP H049999A
Authority
JP
Japan
Prior art keywords
display
vertical
display start
start position
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.)
Granted
Application number
JP2113429A
Other languages
Japanese (ja)
Other versions
JP2565581B2 (en
Inventor
Tetsuya Kimura
哲也 木村
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

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

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

〔従 来 の 技 術〕[Traditional techniques]

第3回はCRTデイスプレィ装置の画面上にキャラクタ
を表示させるCRT表示用回路の従来例を示している。
Part 3 shows a conventional example of a CRT display circuit for displaying characters on the screen of a CRT display device.

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

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

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

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

タイミング発生器4には、画面への文字表示に先立って
、インタフェース3を通して制御用マイクロコンピュー
タ2からキャラクタの表示すイズ等のデータが与えられ
る。同様に、水平方向表示開始位置制御回路5には、各
キャラクタの水平方向表示開始位置を示すデータが与え
られる。また、垂直方向表示開始位置制御回路6Aには
、各キャラクタの垂直方向表示開始位置を示すデータが
与えられる。ビデオRAM7には、画面上に表示すべき
キャラクタの種類を示すデータが画面と1文11に対応
させて与えられる。CR7表示用出力回路9には、キャ
ラクタの表示色等のデータが与えられる。
The timing generator 4 is supplied with data such as character display size from the control microcomputer 2 through the interface 3 prior to character display on the screen. Similarly, the horizontal display start position control circuit 5 is supplied with data indicating the horizontal display start position of each character. Further, data indicating the vertical display start position of each character is given to the vertical display start position control circuit 6A. Data indicating the type of character to be displayed on the screen is provided to the video RAM 7 in correspondence with the screen and one sentence 11. The CR7 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 the various data described above are sent from the control microcomputer 2 to the CRT display circuit 1, the timing generator 4 generates various timing pulses (for example, horizontal dot clock, vertical dot clock) necessary for displaying on the screen. , video RAM precharge, ROM precharge, data load signal from video RAM to shift register, etc.) to control the horizontal display start position control circuit 5.
.. Vertical direction display start position control circuit 6A, video RAM
Control circuit 8. The signal is supplied to the shift register 11.

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

一方、ビデオRAM制御回路8は、タイミング発生器4
から送られるタイミングパルスにしたがって、ビデオR
AM7に格納した表示用データを順次読み出してキャラ
クタROMl0へ送る。キャラクタROMl0は、ビデ
オRAM7がら送られたデータをアドレスとして読み出
し動作を行い、データをシフトレジスタ11へ送る。
On the other hand, the video RAM control circuit 8 uses the timing generator 4
According to the timing pulse sent from the video R
The display data stored in AM7 is sequentially read out and sent to character ROM10. The character ROM 10 performs a read operation 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の出力データを時系列デ
ータとしてCR7表示用出力回路9に送る。
The soft register 11 converts the output data of the character ROM 10 into time-series data for CR7 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デイス
プレィ装置(図示せず)へ送られ、画面にビデオRAM
7に格納したキャラクタが水平方向表示開始位置制御回
路5および垂直方向表示開始位置制御回路6Aで規定さ
れる位置に背景とともに表示されることになる。
As a result, the CRT display display output circuit 9 creates a signal corresponding to the rask scan on the screen, sends it to the CRT display device (not shown), and displays the video RAM on the screen.
The character stored in 7 is displayed together with the background at a position defined by the horizontal display 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 configuration of the vertical display start position control circuit 6A in the CRT display circuit shown in FIG. In FIG. 4, a counting circuit 15 uses the horizontal synchronization signal 13 as a clock (CK) input, the vertical synchronization signal 14 as a reset input, and counts the number of pulses of the horizontal synchronization signal 13 from the trailing edge of the pulse of the vertical synchronization signal 14 as a starting point. It has a function to count and detect 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〜LHがある場合におい
て、画面Pの上端(垂直同期信号14のパルスの後縁に
対応する)から各表示行L + −L Nの上端までの
間に含まれる水平走査線の本数、つまり垂直同期信号1
4のパルスの後縁を起算点として各表示行L1〜LNの
上端までの水平同期信号13のパルス数に相当する垂直
方向表示開始位置データ■P、〜vPNをそれぞれ記憶
していることになる。
The register 19 has N storage areas, and receives vertical display start position data indicating the vertical display start position of each of the first to Nth display lines of characters to be displayed on the screen using a vertical synchronization signal. The number of generated pulses of the horizontal synchronizing signal 13 up to the upper end of each display line from the first to the Nth line is stored with the trailing edge of the 14 pulses as a starting point. Specifically, as shown in FIG. The number of horizontal scanning lines included between the trailing edge (corresponding to the trailing edge) and the top of each display line L + -LN, that is, the vertical synchronization signal 1
Vertical direction display start position data ■P, ~vPN corresponding to the number of pulses of the horizontal synchronizing signal 13 from the trailing edge of the pulse No. 4 to the top of each display line L1 to LN are stored respectively. .

マルチプレクサ18は、レジスタ19に記憶した第1行
ないし第N行の各表示行り、〜L、の垂直表示開始位置
データVP、〜VPNの何れか一つを行番号データ20
に従って選択して出力する。
The multiplexer 18 converts any one of the vertical display start position data VP, ~VPN of each of the first to Nth display lines, ~L, stored in the register 19 into the line number data 20.
Select and output according to the following.

データ比較器16は、計数回路15の出力値とマルチプ
レクサ18の出力値とを比較し両者が一致したときに一
致信号24を出力する。ラッチからなる垂直方向表示開
始信号発生回路17は、データ比較器16から出力され
る一致信号24を受けて垂直方向表示開始信号24の出
力を開始し、行表示完了信号21を受けて垂直方向表示
開始信号24の出力を停止する。
The data comparator 16 compares the output value of the counting circuit 15 and the output value of the multiplexer 18, and outputs a match signal 24 when the two match. A vertical display start signal generation circuit 17 consisting of a latch starts outputting a vertical display start signal 24 in response to a coincidence signal 24 output from the data comparator 16, and starts outputting a vertical display start signal 24 in response to a row display completion signal 21. The output of the start signal 24 is stopped.

つぎに、この垂直方向表示開始位置制御回路6Aの垂直
方向表示開始位置制御動作を説明する。
Next, the vertical direction display start position control operation of this vertical direction display start position control circuit 6A will be explained.

この垂直方向表示開始位置制御回路6Aでは、垂直同期
信号14で計数回路15がリセットされた後、計数回路
15は水平同期信号13のパルスをカウントし、水平同
期信号13毎に順次出力値を増加させる。一方、マルチ
プレクサ18は、行番号データに従ってレジスタ19の
垂直方向表示開始位置データ■P1〜VPNのいずれか
を選択してデータ比較器16へ送る。
In this vertical display start position control circuit 6A, after the counter circuit 15 is reset by the vertical synchronization signal 14, the counter circuit 15 counts the pulses of the horizontal synchronization signal 13, and increases the output value sequentially for each horizontal synchronization signal 13. let On the other hand, the multiplexer 18 selects any one of the vertical direction display start position data P1 to VPN in the register 19 according to the row number data and sends it to the data comparator 16.

垂直同期信号14のパルスの後縁の直後は、行番号デー
タ20が第1行(先頭行)の表示行りを示し、第1行の
表示行L1の垂直方向表示開始位置データVP、をデー
タ比較器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 row number data 20 indicates the display row of the first row (first row), and the vertical direction display start position data VP of the display row L1 of the first row is data. Since the signal is sent to the comparator 16, a match signal 24 is generated when the output value of the counting circuit 15 matches the vertical display start position data vP1, and the vertical display start signal 22 is output from the vertical display start signal generation circuit 17. Start. This vertical display start signal 22 is then sent to the video RAM control circuit 8 and the CRT display output circuit 9 (see FIG. 3), and the display of the gear clutter in the display row L1 is started. Thereafter, when the row display completion signal 21 given from the timing generator 4 (see FIG. 3) is input to the vertical direction display start signal generation circuit 17, the output of the vertical direction display start signal 22 is stopped, and the display row L1 Complete the display of the character.

つづいて、行番号データ20が第2行の表示行L2を示
すデータに変更され、第2行の表示行L2の垂直方向表
示開始位置データVP、がデータ比較器16へ送られる
ので、今度は垂直方向表示開始位置データV P 2に
対応する位置から表示行L2のキャラクタの表示が行わ
れる。
Next, the line number data 20 is changed to data indicating the second display line L2, and the vertical display start position data VP of the second display line L2 is sent to the data comparator 16. The characters in the display line L2 are displayed from the position corresponding to the vertical direction display start position data V P 2.

その後、行番号データ20が順次変更され、第3行ない
し第N行の各表示行L3〜Lsのキャラクタが順次垂直
方向表示開始位置データvP3〜VP、4こ対応する位
置から順次表示される。
Thereafter, the line number data 20 is sequentially changed, and the characters in each display line L3 to Ls of the third to Nth lines are sequentially displayed from the position corresponding to the vertical display start position data vP3 to VP4.

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

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、このような構成によると、画面P上で垂直方向
スクロールを行う場合のように、画面P上の全表示行L
1〜L8の垂直方向表示開始位置の変更を必要とすると
きに、CR7表示用回路1を制御する制御用マイクロコ
ンピュータ2は全表示行り、−LH分の垂直方向表示開
始位置データV P + 〜vP8をCR7表示用回路
1に転送しなくてはならない。この転送は、前記垂直方
向スクロールの場合、表示画面の1フレーム毎に1回必
要であり、前記制御用マイクロコンピュータ2の負担が
大きいという問題があった。
However, according to such a configuration, as in the case of performing vertical scrolling on the screen P, all display lines L on the screen P
When it is necessary to change the vertical display start position of 1 to L8, the control microcomputer 2 that controls the CR7 display circuit 1 performs full display and outputs -LH vertical display start position data V P + ~vP8 must be transferred to the CR7 display circuit 1. In the case of vertical scrolling, this transfer is required once for each frame of the display screen, which poses a problem in that it places a heavy burden on the control microcomputer 2.

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

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

この発明のCRT表示用回路は、画面上の先頭の表示行
の垂直方向表示開始位置データとして垂直同期信号を起
算点として前記先頭の表示行の垂直方向表示開始位置ま
での水平同期信号のパルス数に相当する値を記憶し、第
2行以降の各表示行の垂直方向表示開始位置データとし
て一つ前の表示行の一定の位置を起算点として当該表示
行の垂直方向表示開始位置までの水平同期信号のパルス
数に相当する値を記憶したレジスタと、前記各起算点で
リセットされて水平同期信号のパルス数を計数する計数
回路と、 前記計数回路の出力値と前記レジスタに記憶した前記当
該表示行に対応する垂直方向表示開始位置データとを比
較するデータ比較器と、前記データ比較器の一致信号の
発生に応答して前記当該表示行の垂直方向表示開始信号
を発生する垂直方向表示開始信号発生回路とで構成した
垂直方向表示開始位置制御回路を備えている。
The CRT display circuit of the present invention provides the number of pulses of a horizontal synchronization signal from a vertical synchronization signal as a starting point to the vertical display start position of the first display row on the screen as vertical display start position data of the first display row on the screen. The value corresponding to the vertical direction display start position data of each display line from the second line onward is stored, and the horizontal direction from the fixed position of the previous display line as the starting point to the vertical display start position of the relevant display line is stored. a register that stores a value corresponding to the number of pulses of the synchronizing signal; a counting circuit that is reset at each starting point and counts the number of pulses of the horizontal synchronizing signal; and an output value of the counting circuit and the corresponding value stored in the register. a data comparator that compares vertical display start position data corresponding to a display row; and a vertical display start that generates a vertical display start signal for the display row in response to generation of a match signal from the data comparator. The vertical direction display start position control circuit is comprised of a signal generation circuit.

〔作   用〕[For production]

この発明の構成によれば、画面上で垂直方向スクロール
を行う場合のように、全ての表示行の垂直方向表示位置
を均等に変更することが必要なときに、従来の方式のよ
うに、制御用マイクロコンピュータから各表示行の垂直
方向表示開始位置データを記憶するレジスタに全ての表
示行骨の垂直表示開始位置データを転送する必要はなく
、先頭行の垂直方向表示開始位置データのみを転送する
だけで全表示行の垂直方向表示位置の均等変更が可能と
なり、例えば画面上で垂直スクロールを行う場合の垂直
方向表示開始位置データ書き替えの際の制御用マイクロ
コンピュータの負担を著しく軽減することができる。
According to the configuration of the present invention, when it is necessary to change the vertical display position of all display lines equally, such as when performing vertical scrolling on the screen, the control is not performed as in the conventional method. It is not necessary to transfer the vertical display start position data of all display row bones from the microcomputer to the register that stores the vertical display start position data of each display line, but only the vertical display start position data of the first row is transferred. This makes it possible to uniformly change the vertical display position of all display lines by simply changing the vertical display position. For example, when performing vertical scrolling on the screen, the burden on the control microcomputer can be significantly reduced when rewriting vertical display start position data. can.

〔実 施 例〕〔Example〕

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

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

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

マルチプレクサ18は、レジスタ19に記憶した第1行
ないし第N行の各表示行L I−L Nの垂直表示開始
位置データVP、、VQ、〜vQNの何れか一つを行番
号データ20に従って選択して出力する。データ比較器
16は、計数回路15の出力値とマルチプレクサ18の
出力値とを比較し両者が一致したときに一致信号24を
出力する。
The multiplexer 18 selects one of the vertical display start position data VP, , VQ, ~vQN of each of the first to Nth display lines LI-LN stored in the register 19 according to the line number data 20. and output it. The data comparator 16 compares the output value of the counting circuit 15 and the output value of the multiplexer 18, and outputs a match signal 24 when the two match.

ランチからなる垂直方向表示開始信号発生回路17は、
データ比較器16から出力される一致信号24を受けて
垂直方向表示開始信号24の出力を開始し、行表示完了
信号21を受けて垂直方向表示開始信号24の出力を停
止する。
The vertical direction display start signal generation circuit 17 consisting of lunch is
In response to the match signal 24 output from the data comparator 16, output of the vertical direction display start signal 24 is started, and in response to the row display completion signal 21, output of the vertical direction display start signal 24 is stopped.

つぎに、この垂直方向表示開始位置制御回路6Bの垂直
方向表示開始位置制御動作を説明する。
Next, the vertical direction display start position control operation of this vertical direction display start position control circuit 6B will be explained.

この垂直方向表示開始位置制御回路6Bでは、垂直同期
信号14で計数回路15がリセットされた後、計数回路
15は水平同期信号13のパルスをカウントし、水平同
期信号13毎に順次出力値を増加させ、その出力値は、
行表示完了信号21毎にもリセットされる。一方、マル
チプレクサ18は、行番号データに従ってレジスタ19
の垂直方向表示開始位置データV P + 、  V 
Q t〜vQNのいずれかを選択してデータ比較器16
へ送る。
In this vertical direction display start position control circuit 6B, after the counter circuit 15 is reset by the vertical synchronization signal 14, the counter circuit 15 counts the pulses of the horizontal synchronization signal 13, and increases the output value sequentially for each horizontal synchronization signal 13. and its output value is
It is also reset every row display completion signal 21. On the other hand, the multiplexer 18 controls the register 19 according to the row number data.
Vertical direction display start position data V P + , V
Select one of Q t to vQN and use the data comparator 16
send to

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

つづいて、行番号データ2oが第2行の表示行L2を示
すデータに変更され、表示行L2の垂直方向表示開始位
置データVQ、がデータ比較器16へ送られるので、計
数回路15の出力値が垂直方向表示開始位置データVQ
、と一致した時に一致信号24が発生し、垂直方向表示
開始信号発生回路17から垂直方向表示開始信号22の
出力を開始し、この垂直方向表示開始信号22がビデ、
t RA M′#ArB@B8 オヨヒCRT表示用出
力図m9 (第3M参照)に送られ、表示行Ltのキャ
ラクタの表示が開始する。そして、タイミング発生器4
(第3図参照)から与えられる行表示完了信号21が垂
直方向表示開始信号発生回路17に入力されると、垂直
方向表示開始信号22の出力が停止し、表示行り、のキ
ャラクタの表示を完了する。その後、行番号データ20
が順次変更され、第3行ないし第N行の各表示行L3〜
LHのキャラクタが順次垂直方向表示開始位置データV
Q。
Subsequently, the line number data 2o is changed to data indicating the second display line L2, and the vertical display start position data VQ of the display line L2 is sent to the data comparator 16, so that the output value of the counting circuit 15 is vertical display start position data VQ
, a match signal 24 is generated, and the vertical display start signal generation circuit 17 starts outputting the vertical display start signal 22, and this vertical display start signal 22 is transmitted to the bidet,
t RA M'#ArB@B8 The signal is sent to the Oyohi CRT display output diagram m9 (see 3rd M), and the display of the characters on the display line Lt begins. And timing generator 4
When the line display completion signal 21 given from (see FIG. 3) is input to the vertical direction display start signal generation circuit 17, the output of the vertical direction display start signal 22 is stopped, and the display of the character in the display line is stopped. Complete. After that, line number data 20
are changed sequentially, and each display line L3~ of the 3rd line to the Nth line
LH characters are sequentially vertically displayed starting position data V
Q.

〜■QNに対応する位置から表示が行われる。~■Display is performed from the position corresponding to QN.

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

また、レジスタ19の第1行の表示行り、の垂直方向表
示開始位置データ■P、を各フレーム毎に変更すること
により、画面上でキャラクタ表示の垂直スクロールを行
ったり、行間隔を変更しないで各行のキャラクタを均等
に垂直方向に移動させることかできる。
In addition, by changing the vertical display start position data P in the first row of the register 19 for each frame, it is possible to prevent vertical scrolling of the character display on the screen or change the line spacing. You can move the characters on each line equally vertically with .

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

以上のように、第1図のCR7表示用回路1に垂直同期
信号14が入力されると、第1行ないし第N行の各表示
行L+〜L0毎に表示スタートを許可する垂直方向表示
開始信号22が出力される。
As described above, when the vertical synchronization signal 14 is input to the CR7 display circuit 1 in FIG. A signal 22 is output.

各表示行L l” L N毎に発生する垂直方向表示開
始信号22は、前記したように、CR7表示用出力回路
9およびVRAM制御回路8(第3図参照)の動作を開
始させ、ドツト・クロ・ツク12.水平同期信号13お
よび垂直同期信号14によってタイミング発生器4が発
生するタイミング信号に従ってビデオRAM7に記憶し
た表示キャラクタ・コードがキャラクタROMl0をア
クセスする。
As described above, the vertical display start signal 22 generated for each display row L1''LN starts the operation of the CR7 display output circuit 9 and the VRAM control circuit 8 (see FIG. 3), and CLOCK 12. The display character code stored in the video RAM 7 accesses the character ROM 10 in accordance with the timing signal generated by the timing generator 4 according to the horizontal synchronization signal 13 and the vertical synchronization signal 14.

キャラクタROMl0の出力は、シフトレジスタ11に
より水平同期信号13に同期した時系列データとなって
CR7表示用出力回路9に入力される。CR7表示用出
力回路9は、垂直同期信号14および水平同期信号13
に同期したCRT表示用信号を出力し、これがC,RT
デイスプレィ装置に供給され、画面上にキャラクタが表
示されることになる。
The output of the character ROM10 is converted into time series data synchronized with the horizontal synchronizing signal 13 by the shift register 11 and inputted to the CR7 display output circuit 9. The CR7 display output circuit 9 outputs a vertical synchronizing signal 14 and a horizontal synchronizing signal 13.
Outputs a CRT display signal synchronized with C, RT
The data will be supplied to a display device and characters will be displayed on the screen.

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

〔発 明 の 効 果〕〔Effect of the invention〕

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

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

第1図はこの発明の一実施例のCRT表示用回路内の垂
直方向表示開始位置制御回路の構成を示すブロック図、
第2図は第1図の構成において垂直方向表示開始位置デ
ータの概念を画面上に示した概念図、第3図は従来のC
RT表示用回路の構成を示すブロック図、第4図は第3
図のCRT表示用回路内の垂直方向表示開始位置制御回
路の構成を示すブロック図、第5図は従来の垂直方向表
示開始位置制御回路の垂直方向表示開始位置データの概
念を画面上に示した概念図である。 1・・・CRT表示用回路、2・・・制御用マイクロコ
ンピュータ、3・・・インタフェース、4・・・タイミ
ング発生器、5・・・水平方向表示開始位置制御回路、
6B・・・垂直方向表示開始位置制御回路、7・・・ビ
デオRAM、8・・・ビデオRAM制御回路、9・・・
CRT表示用出力回路、IO・・・キャラクタ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 display start position control circuit in a CRT display circuit according to an embodiment of the present invention;
Figure 2 is a conceptual diagram showing the concept of vertical display start position data on the screen in the configuration of Figure 1, and Figure 3 is a conceptual diagram of the conventional C
A block diagram showing the configuration of the RT display circuit, FIG.
5 is a block diagram showing the configuration of the vertical display start position control circuit in the CRT display circuit shown in FIG. 5. FIG. 5 shows the concept of vertical display start position data of the conventional vertical display start position control circuit on the screen. It is a conceptual diagram. DESCRIPTION OF SYMBOLS 1... CRT display circuit, 2... Control microcomputer, 3... Interface, 4... Timing generator, 5... Horizontal direction display start position control circuit,
6B... Vertical direction display start position control circuit, 7... Video RAM, 8... Video RAM control circuit, 9...
CRT display output circuit, IO...Character ROM,
11...Shift register, 12...Dot clock, 13...Horizontal synchronization signal, 14...Vertical synchronization signal,
15... Counting circuit, 16... Data comparator, 17.
...Vertical direction display start signal generation circuit, 18...Multiplexer, 19...Register, 20...Line number data, 21...Line display completion signal, 22...Vertical direction display start signal, 23 ...OR circuit, 24...-defeat signal, 25...CRT display signal diagram

Claims (1)

【特許請求の範囲】 画面上の先頭の表示行の垂直方向表示開始位置データと
して垂直同期信号を起算点として前記先頭の表示行の垂
直方向表示開始位置までの水平同期信号のパルス数に相
当する値を記憶し、第2行以降の各表示行の垂直方向表
示開始位置データとして一つ前の表示行の一定の位置を
起算点として当該表示行の垂直方向表示開始位置までの
水平同期信号のパルス数に相当する値を記憶したレジス
タと、 前記各起算点でリセットされて水平同期信号のパルス数
を計数する計数回路と、 前記計数回路の出力値と前記レジスタに記憶した前記当
該表示行に対応する垂直方向表示開始位置データとを比
較するデータ比較器と、 前記データ比較器の一致信号の発生に応答して前記当該
表示行の垂直方向表示開始信号を発生する垂直方向表示
開始信号発生回路とで構成した垂直方向表示開始位置制
御回路を備えたCRT表示用回路。
[Claims] Vertical display start position data of the first display line on the screen corresponds to the number of pulses of a horizontal synchronization signal from the vertical synchronization signal as a starting point to the vertical display start position of the first display line. The value is memorized, and the horizontal synchronization signal is used as the vertical display start position data for each display line from the second line onwards, starting from a certain position in the previous display line and ending at the vertical display start position of the relevant display line. a register storing a value corresponding to the number of pulses; a counting circuit that is reset at each starting point and counts the number of pulses of the horizontal synchronizing signal; and an output value of the counting circuit and the corresponding display line stored in the register. a data comparator that compares data with corresponding vertical display start position data; and a vertical display start signal generation circuit that generates a vertical display start signal for the display row in response to generation of a match signal from the data comparator. A CRT display circuit comprising a vertical display start position control circuit.
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 true JPH049999A (en) 1992-01-14
JP2565581B2 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
JP2565581B2 (en) 1996-12-18

Similar Documents

Publication Publication Date Title
KR900008068B1 (en) Method of converting display data and its device
JPS6049391A (en) Raster scan display system
US4011556A (en) Graphic display device
JPS62269989A (en) display control device
JPH05297827A (en) Liquid crystal display device
JPS6117190A (en) Graphic display
JPH049999A (en) CRT display circuit
JPS599059B2 (en) Display device character code extension method and device
JPS632116B2 (en)
JP2623541B2 (en) Image processing device
JPS58176683A (en) Display unit
JPS5937833B2 (en) Page information display method in character display device
JPS6374090A (en) Access system for character generator
JPS6228473B2 (en)
JP2002014663A (en) Image display preprocessing device and image display device
JPH0371716B2 (en)
JPH01233490A (en) Display control circuit
JPH041470U (en)
JPH0558199B2 (en)
JPS62150290A (en) character display device
JPH02170222A (en) Picture information display device
JPS63124084A (en) Character display device
JPS62272321A (en) Display system
JPH0799456B2 (en) Matrix display
JPH02273786A (en) Display controller