JPH0833720B2 - Display controller - Google Patents
Display controllerInfo
- Publication number
- JPH0833720B2 JPH0833720B2 JP62185916A JP18591687A JPH0833720B2 JP H0833720 B2 JPH0833720 B2 JP H0833720B2 JP 62185916 A JP62185916 A JP 62185916A JP 18591687 A JP18591687 A JP 18591687A JP H0833720 B2 JPH0833720 B2 JP H0833720B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- cursor
- address
- character
- control flag
- 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
Links
- 238000000034 method Methods 0.000 claims description 13
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 11
- 230000004397 blinking Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 5
- 230000008033 biological extinction Effects 0.000 description 4
- 230000008034 disappearance Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000004043 responsiveness Effects 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像表示装置に関し、特に、表示画面にカー
ソルを表示する表示制御装置に関する。Description: TECHNICAL FIELD The present invention relates to an image display device, and more particularly to a display control device that displays a cursor on a display screen.
CRTディスプレイを表示機器として使用し、メモリ
(例えばダイナミックメモリを用いたリフレッシュメモ
リ)に格納された文章(以下テキストと呼ぶ)、図形・
画像(以下グラフィックと呼ぶ)等の情報を表示する機
能は、表示処理装置の重要な機能の1つである。Using a CRT display as a display device, text (hereinafter referred to as text) stored in a memory (for example, a refresh memory using dynamic memory), graphics,
A function of displaying information such as an image (hereinafter referred to as a graphic) is one of important functions of the display processing device.
最近では、パーソナルコンピュータ、ワードプロセッ
サおよびキャプテンシステムを始めとするニューメディ
ア関連機器が一般家庭へ普及し、さらに、OA機器等ビジ
ネスに関連した分野も含めて、マンマシンインタフェー
スとしての表示処理の重要性がますます高まってきてお
り、また同時に画面表示形態も多様化してきている。Recently, new media-related devices such as personal computers, word processors and captain systems have spread to general households, and the importance of display processing as a man-machine interface is increasing, including in fields related to business such as office automation equipment. It is increasing more and more, and at the same time, screen display forms are diversifying.
従来、この種の表示装置では、テキスト、グラフィッ
クなどの画面上に表示すべき情報をリフレッシュメモリ
に格納しておき、それをCRTの走査タイミングに同期し
て順次読み出して映像信号に変換しCRTに供給すること
により表示する方法が採られている。Conventionally, in this type of display device, information to be displayed on the screen, such as text and graphics, is stored in a refresh memory, which is sequentially read out in synchronization with the scanning timing of the CRT, converted into a video signal, and converted into a video signal. A method of displaying by supplying is adopted.
特に、多様化しつつある画面表示形態のなかで、前述
のテキスト画面やグラフィック画面を複数の領域に分割
して表示することは、テキスト画面とグラフィック画面
を混在させて同時に表示したり、1台のコンソールで複
数のタスクを実行させる等の応用で不可欠の機能となっ
ており、より見易くかつ操作性の良い画面表示が望まれ
ている。In particular, in the diversifying screen display modes, dividing the text screen or the graphic screen into a plurality of areas to display the text screen and the graphic screen allows the text screen and the graphic screen to be mixed and displayed at the same time. It is an indispensable function in applications such as executing multiple tasks on a console, and there is a demand for screen displays that are easier to see and have better operability.
このような表示画面の表示情報に対して、キーボード
等から挿入、削除や変更といった編集を行なう時には、
表示画面上にカーソルを表示して、ポインティング・デ
バイスとして使用するのが一般的である。さらに、単に
カーソルパターンをそのまま表示するだけでなく、本来
の表示情報と明確に区別させる手法として、一定時間間
隔でパターンを点滅(以下ブリンクと呼ぶ)させる方式
が一般に採用されている。When editing, such as inserting, deleting, or changing the display information on the display screen using a keyboard or the like,
It is common to display a cursor on a display screen and use it as a pointing device. Further, as a method of not only displaying the cursor pattern as it is, but also clearly distinguishing it from the original display information, a method of blinking the pattern at a fixed time interval (hereinafter referred to as blink) is generally adopted.
第9図は上述した従来の表示装置の一例を示すブロッ
ク図である。FIG. 9 is a block diagram showing an example of the conventional display device described above.
第9図の装置では、マイクロプロセッサ101はシステ
ムバス102を経由してシステム全体の動作を制御し、メ
インメモリ103にマイクロプロセッサ101が実行するプロ
グラムや処理データを記憶させ、周辺制御回路106を介
してキーボード107や外部記憶のディスク装置108にイン
タフェースし、表示制御回路105を介してリフレッシュ
メモリ104の表示データを操作して所望のCRT表示を行な
い、各種の処理機能を実現している。表示制御回路105
は、自身で発生する表示タイミングに同期してリフレッ
シュメモリ104に対するアドレスを発生する。読み出し
た表示データは、ビデオ信号発生回路109で並列−直列
変換して直列映像信号を発生してCRT110に供給してい
る。In the device of FIG. 9, the microprocessor 101 controls the operation of the entire system via the system bus 102, causes the main memory 103 to store the programs and processing data executed by the microprocessor 101, and the peripheral control circuit 106. Interface with a keyboard 107 or a disk device 108 for external storage, and manipulates the display data of the refresh memory 104 via the display control circuit 105 to perform a desired CRT display, thereby realizing various processing functions. Display control circuit 105
Generates an address for the refresh memory 104 in synchronization with the display timing generated by itself. The read display data is subjected to parallel-serial conversion by the video signal generation circuit 109 to generate a serial video signal and supplied to the CRT 110.
第10図は従来の表示制御装置におけるカーソル表示回
路を示すブロック図である。FIG. 10 is a block diagram showing a cursor display circuit in a conventional display control device.
カーソルアドレスレジスタ201は、マイクロプロセッ
サ101から書込み可能で、カーソルを表示すべき位置に
ある表示データのメモリ格納アドレスを記憶する。表示
アドレス生成回路202は、第9図の表示制御回路105が発
生する表示タイミング情報に基づいて第9図のリフレッ
シュメモリ104の表示アドレスを生成する。カーソルア
ドレスレジスタ201と表示アドレス生成回路202の出力は
比較回路203に入力され、両者が一致したタイミングに
カーソル発生タイミング信号208を発生する。また、カ
ーソルオン期間指定レジスタ204とカーソルオフ期間指
定レジスタ205は、マイクロプロセッサ101から書込み可
能で、カーソルのブリンク動作における点灯時間間隔と
消滅時間間隔をそれぞれ記憶する。カーソル表示タイミ
ング生成回路206は、カーソルオン期間指定レジスタ204
とカーソルオフ期間指定レジシタ205の設定データに基
づいて時間カウント動作を行なうとともに、カーソル表
示信号209を制御してカーソルパターン発生回路207を駆
動する。カーソルパターン発生回路207から出力された
カーソル表示パターンは、第9図のビデオ信号発生回路
109で表示データと合成され、CRT110に出力される。The cursor address register 201 stores a memory storage address of display data at a position where a cursor can be displayed, which can be written from the microprocessor 101. The display address generation circuit 202 generates the display address of the refresh memory 104 of FIG. 9 based on the display timing information generated by the display control circuit 105 of FIG. The outputs of the cursor address register 201 and the display address generation circuit 202 are input to the comparison circuit 203, and the cursor generation timing signal 208 is generated at the timing when the two coincide. The cursor-on period designation register 204 and the cursor-off period designation register 205 are writable by the microprocessor 101, and store the lighting time interval and the extinction time interval in the blinking operation of the cursor, respectively. The cursor display timing generation circuit 206 uses the cursor-on period designation register 204.
The time counting operation is performed based on the setting data of the cursor off period designation register 205 and the cursor display signal 209 is controlled to drive the cursor pattern generation circuit 207. The cursor display pattern output from the cursor pattern generation circuit 207 is the video signal generation circuit of FIG.
It is combined with the display data in 109 and output to the CRT 110.
上述した従来の表示制御装置は、以下のような欠点が
ある。The conventional display control device described above has the following disadvantages.
(1)前述のような分割画面表示時に、分割された画面
の個々にわたって一様な形態のカーソルを1個しか表示
できないため、例えば、似たような複数の画面を同時に
表示させてキーボードから表示データの編集を行なおう
とした場合にこれらの画面の判別をしたり、データを書
き込むことができない画面領域にカーソルを移動させた
場合の警告などの面で操作性が悪いものとなっていた。(1) When displaying a split screen as described above, since only one cursor having a uniform shape can be displayed over each of the split screens, for example, a plurality of similar screens can be simultaneously displayed and displayed from the keyboard. The operability is poor in terms of distinguishing these screens when trying to edit data, and warnings when the cursor is moved to a screen area where data cannot be written.
(2)一方、カーソル表示を分割された画面の個々に対
応させて制御するためには、表示領域判別のための専用
の複雑なハードウエアが必要であり、システム全体が大
規模になり経済的でない。また、汎用のマイクロプロセ
ッサによりこのような分割画面におけるカーソル表示の
制御を行なわせようとすると、分割画面における個々の
画面の表示アドレスや表示領域の管理のための複雑な処
理が必要であり、マイクロプロセッサの負担が増大する
とともに画面応答速度が低下してしまう。(2) On the other hand, in order to control the cursor display in correspondence with each of the divided screens, dedicated complicated hardware for determining the display area is required, and the entire system becomes large-scale and economical. Not. Further, if an attempt is made to control the cursor display in such a split screen by a general-purpose microprocessor, complicated processing for managing the display address and display area of each screen in the split screen is required. The load on the processor increases and the screen response speed decreases.
本発明の目的は、このような分割画面表示時のカーソ
ル表示の操作性を改善し、表示システム全体の性能を向
上させ、マイクロプロセッサの負担を最小にしながら、
応答性が良く、また経済性のよい表示制御装置を提供す
ることにある。An object of the present invention is to improve the operability of cursor display during such split screen display, improve the performance of the entire display system, and minimize the load on the microprocessor.
It is an object of the present invention to provide a display control device with good responsiveness and good economy.
本発明の表示制御装置は、 キャラクタコードデータが格納されているリフレッシ
ュメモリと、 該リフレッシュメモリのアドレスおよびCRTディスプ
レイの同期信号を出力し、また、キャラクタ行のラスタ
アドレスをカウントして出力するとともに、該カウント
の桁上りを割込み信号として出力するラスタカウンタを
含むタイミング制御回路と、 キャラクタパターンを記憶し、前記リフレッシュメモ
リから読出されたキャラクタコードデータおよび前記ラ
スタアドレスに基づいて前記キャラクタパターンが読出
されるキャラクタジェネレータと、 カーソルの表示形態を記憶する書き変え可能な制御フ
ラグと、 カーソルのCRTにおける表示位置情報を記憶するカー
ソルアドレスレジスタと、前記タイミング制御回路から
出力された表示アドレス情報と前記カーソルアドレスレ
ジスタの表示位置情報とを比較し、両者が一致するとカ
ーソル発生タイミング信号を出力する比較回路と、 該カーソル発生タイミング信号を出力され、かつ前記
制御フラグが所定の状態のときにカーソル表示パターン
を発生するカーソル表示回路と、 前記キャラクタパターンと前記カーソル表示パターン
とを入力し合成してビデオ信号としてCRTディスプレイ
に送出するビデオ信号発生回路と、 前記タイミング制御回路からの割込み信号が入力する
と、所定のキャラクタ行において、前記制御フラグの内
容を書き換える割込み処理を行うマイクロプロセッサ
と、 該マイクロプロセッサが実行する前記割込み処理のプ
ログラムが格納されるプログラムメモリとを有する。The display control device of the present invention outputs a refresh memory in which character code data is stored, an address of the refresh memory and a sync signal of a CRT display, and counts and outputs a raster address of a character row, A timing control circuit including a raster counter that outputs the carry of the count as an interrupt signal; a character pattern is stored; and the character pattern is read based on the character code data and the raster address read from the refresh memory. A character generator, a rewritable control flag that stores the display form of the cursor, a cursor address register that stores display position information on the CRT of the cursor, and display address information that is output from the timing control circuit. And a display position information of the cursor address register, and outputs a cursor generation timing signal when the two coincide with each other, and a cursor when the cursor generation timing signal is output and the control flag is in a predetermined state. A cursor display circuit for generating a display pattern, a video signal generation circuit for inputting and combining the character pattern and the cursor display pattern and sending out as a video signal to a CRT display, and when an interrupt signal from the timing control circuit is input. In a predetermined character line, a microprocessor that performs interrupt processing for rewriting the contents of the control flag, and a program memory that stores the interrupt processing program executed by the microprocessor are included.
本発明は、カーソルの表示形態を指定する情報を記憶
する制御フラグを設け、表示タイミングに同期して起動
されるプログラムにより、所望の表示領域において前記
制御フラグの内容を書き換える処理を実行するだけで、
従来のハードウエアを大幅に削減しながら容易に高機能
なカーソル表示制御を実現できるようにしたものであ
る。The present invention provides a control flag for storing information designating a display form of a cursor, and by executing a process of rewriting the content of the control flag in a desired display area by a program activated in synchronization with display timing. ,
This is to make it possible to easily realize high-performance cursor display control while significantly reducing the conventional hardware.
次に、本発明の実施例について図面を参照して説明す
る。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の表示制御装置の第1の実施例のブロ
ック図である。FIG. 1 is a block diagram of a first embodiment of the display control device of the present invention.
第1図の装置は、システム全体の動作をマイクロプロ
セッサ1で制御し、プログラムメモリ2にマイクロプロ
セッサ1が実行するプログラムを、データメモリ3にマ
イクロプロセッサ1の処理データを記憶させ、マルチプ
レクサ6を介してリフレッシュメモリ7の表示データを
操作して所望のCRT表示を実現している。リフレッシュ
メモリ7には、表示情報としてキャラクタコードデータ
が格納されている。タイミング制御回路5は自身で発生
する表示タイミングに同期して、リフレッシュメモリ7
に対する表示アドレス510と、キャラクタジェネレータ
8に対するラスタアドレス58と、ビデオ信号発生回路9
に対する表示タイミング信号と、CRT10に対する同期信
号511とを発生する。リフレッシュメモリ7から読み出
されたキャラクタコードデータ701はキャラクタジェネ
レータ8に供給され、キャラクタジェネレータ8から前
記ラスタアドレス58に基づいて文字などのキャラクタパ
ターン801が読み出される。このキャラクタパターン801
はビデオ信号発生回路9に供給され、ビデオ信号901と
して前記同期信号511と共にCRT10に送出される。アドレ
スデコーダ4は、マイクロプロセッサ1が後述するライ
ンカウンタ55、制御フラグ13の内容を読み書きする際に
それぞれストローブ信号41、42を出力する。マルチプレ
クサ6は同期信号511のブランキング期間中にはリフレ
ッシュメモリ7のアドレスをマイクロプロセッサ1のア
ドレスバス11に切り換え、リフレッシュメモリ7のデー
タを書き換え可能にする。ブランキング期間以外ならば
タイミング発生回路5からの表示アドレス510の出力が
接続される。データメモリ3にはプログラムで処理する
変数として、キーボード入力等によって得た、カーソル
表示の有無を指定する制御フラグ13の内容を示すブリン
クビットBL、カーソルのブリンク周期のうち点灯時間を
示すオンカウント数ONCと消滅時間を示すオフカウント
数OFFC、カーソルのブリンク同期時間のカウント数を記
憶するフィールドカウント数FC、分割画面におけるカー
ソルのブリンク有効領域を示すブリンク開始ライン位置
BSPとブリンク終了ライン位置BEP、一画面フィールドの
総行数を示すトータルライン数TNが割りつけられてい
る。1 controls the operation of the entire system by a microprocessor 1, stores a program to be executed by the microprocessor 1 in a program memory 2, a processing data of the microprocessor 1 in a data memory 3, and outputs the data through a multiplexer 6. By operating the display data of the refresh memory 7, a desired CRT display is realized. Character code data is stored in the refresh memory 7 as display information. The timing control circuit 5 synchronizes with the display timing generated by itself and refresh memory 7
Display address 510 for the character generator 8, raster address 58 for the character generator 8, and the video signal generation circuit 9
And a sync signal 511 for the CRT 10 are generated. The character code data 701 read from the refresh memory 7 is supplied to the character generator 8, and a character pattern 801 such as a character is read from the character generator 8 based on the raster address 58. This character pattern 801
Is supplied to the video signal generating circuit 9 and is sent to the CRT 10 as the video signal 901 together with the synchronizing signal 511. The address decoder 4 outputs strobe signals 41 and 42, respectively, when the microprocessor 1 reads and writes the contents of a line counter 55 and a control flag 13 described later. During the blanking period of the synchronizing signal 511, the multiplexer 6 switches the address of the refresh memory 7 to the address bus 11 of the microprocessor 1 so that the data in the refresh memory 7 can be rewritten. If it is not during the blanking period, the output of the display address 510 from the timing generation circuit 5 is connected. As a variable to be processed by the program in the data memory 3, a blink bit BL indicating the content of the control flag 13 for designating the presence / absence of cursor display, obtained by keyboard input, etc., and an on-count number indicating the lighting time of the blink cycle of the cursor. ONC and OFF count number OFFC that indicates disappearance time, field count number FC that stores the count number of cursor blink synchronization time, blink start line position that indicates the blink effective area of the cursor in the split screen
BSP, blink end line position BEP, and total line number TN indicating the total number of lines in one screen field are assigned.
第2図は第1図に示したタイミング制御回路5の詳細
なブロック図である。OSC51はキャラクタパターンをCRT
10にシリアルに送出するためのドットクロック57を発生
し、ドットカウンタ52はドットクロック57に基づいて1
キャラクタの横ドット数をカウントする。キャラクタカ
ウンタ53はドットカウンタ52の桁上がりに基づいて1水
平走査線中のキャラクタ数をカウントする。ラスタカウ
ンタ54はキャラクタカウンタ53の桁上がりに基づいて1
キャラクタ行のラスタアドレスをカウントする。ラスタ
カウンタ54の桁上がり出力は割り込み信号59としてマイ
クロプロセッサ1に供給される。ラインカウンタ55はラ
スタカウンタ54の桁上がりに基づいて1表示画面のキャ
ラクタ行数をカウントし、またストローブ信号41により
選択されマイクロプロセッサ1から読み出し可能であ
る。アドレス生成回路56はキャラクタカウンタ53とライ
ンカウンタ55の出力より表示アドレス510を生成してリ
フレッシュメモリ7と後述するカーソル表示回路20に供
給する。また、ラスタカウンタ54の出力はラスタアドレ
ス58としてキャラクタジェネレータ8に供給される。同
期信号発生回路512は、ドットクロック57に基づいて水
平走査、垂直走査の同期信号510を生成してCRT10に供給
する。FIG. 2 is a detailed block diagram of the timing control circuit 5 shown in FIG. OSC51 CRT character pattern
A dot clock 57 for serial transmission to 10 is generated, and the dot counter 52 generates 1 based on the dot clock 57.
Count the number of horizontal dots of the character. The character counter 53 counts the number of characters in one horizontal scanning line based on the carry of the dot counter 52. The raster counter 54 is 1 based on the carry of the character counter 53.
Count the raster address of a character line. The carry output of the raster counter 54 is supplied to the microprocessor 1 as an interrupt signal 59. The line counter 55 counts the number of character lines on one display screen based on the carry of the raster counter 54, and is selected by the strobe signal 41 and can be read from the microprocessor 1. The address generation circuit 56 generates a display address 510 from the outputs of the character counter 53 and the line counter 55 and supplies it to the refresh memory 7 and a cursor display circuit 20 described later. The output of the raster counter 54 is supplied to the character generator 8 as a raster address 58. The synchronizing signal generation circuit 512 generates a synchronizing signal 510 for horizontal scanning and vertical scanning based on the dot clock 57 and supplies it to the CRT 10.
第3図は第1図に示した制御フラグ13、カーソル表示
回路20の詳細なブロック図である。制御フラグ13は1ビ
ットのレジスタで、カーソル表示の有無の状態を格納す
る。また、マイクロプロセッサ1から書き込み可能でス
トローブ信号42により選択される。カーソルアドレスレ
ジスタ21は、マイクロプロセッサ1から書込み可能で、
カーソルを表示すべき位置にある表示データのリフレッ
シュメモリ7における格納アドレスを記憶する。カーソ
ルアドレスレジスタ21の出力は、アドレス生成回路56か
らのリフレッシュメモリ7の表示アドレス510の出力と
ともに比較回路22に入力され、両者が一致したタイミン
グにカーソル発生タイミング信号23をアクティブにす
る。カーソル発生タイミング信号23は、アンド回路24に
よる制御フラグ13の出力とのアンド論理の結果、カーソ
ル表示信号25となり、カーソル表示信号25がアクティブ
のタイミングにカーソルパターン発生回路26を駆動す
る。カーソルパターン発生回路26から出力された矩形、
下線などのカーソル表示パターン27は、第1図のビデオ
信号発生回路9でキャラクタパターン801と合成され、C
RT10に出力される。FIG. 3 is a detailed block diagram of the control flag 13 and the cursor display circuit 20 shown in FIG. The control flag 13 is a 1-bit register that stores the status of cursor display. It is writable by the microprocessor 1 and is selected by the strobe signal 42. The cursor address register 21 is writable by the microprocessor 1,
The storage address in the refresh memory 7 of the display data at the position where the cursor should be displayed is stored. The output of the cursor address register 21 is input to the comparison circuit 22 together with the output of the display address 510 of the refresh memory 7 from the address generation circuit 56, and activates the cursor generation timing signal 23 when they match. The cursor generation timing signal 23 becomes a cursor display signal 25 as a result of AND logic with the output of the control flag 13 by the AND circuit 24, and drives the cursor pattern generation circuit 26 at the timing when the cursor display signal 25 is active. The rectangle output from the cursor pattern generation circuit 26,
The cursor display pattern 27 such as an underline is combined with the character pattern 801 by the video signal generation circuit 9 in FIG.
Output to RT10.
第4図はラスタカウンタ54からの割込み信号59によっ
て1行毎に起動されるマイクロプロセッサ1の割込みプ
ログラム処理のフローチャートである。第4図により1
個のカーソルをブリンクして表示するための制御フラグ
13の更新の処理について説明する。FIG. 4 is a flow chart of the interrupt program processing of the microprocessor 1 activated for each row by the interrupt signal 59 from the raster counter 54. 1 according to FIG.
Control flag for blinking and displaying 4 cursors
The update process of 13 will be described.
まず、ラインカウンタ55の内容を読み出し、一画面のト
ータルライン数TNと比較して(ステップ61)、一致して
いるかどうか判定し(ステップ62)一致していなけれ
ば、続いてラインカウンタ55のラインカウント値とブリ
ンク開始ライン位置BSPおよびブリンク終了ライン位置B
EPとの比較を行ない(ステップ63)、ブリンク有効領域
か否かを判別する(ステップ64)。ブリンク有効領域で
なければ、制御フラグ13をセットし(ステップ65)、ブ
リンク有効領域ならば、ブリンクビットBLの内容を制御
フラグ13へ設定(ステップ66)した後割込みプログラム
処理を終了し、メインプログラム処理に復帰する。一
方、ラインカウンタ55の内容とトータルライン数TNとが
一致していれば、フィールドカウント数FCを−1デクリ
メントする(ステップ67)。フィールドカウント数FCが
ゼロかどうか判定し(ステップ68)、ゼロでなければブ
リンクビットBLの内容を制御フラグ13へ設定した後(ス
テップ66)、割込みプログラム処理を終了し、メインプ
ログラム処理に復帰する。また、フィールドカウント数
FCがゼロならば、ブリンクビットBLの状態をチェックす
る(ステップ69)。ブリンクビットBLがリセット状態か
どうか判定し(ステップ70)、セット状態ならばフィー
ルドカウント数FCにオフカウント数OFFCを設定し(ステ
ップ71)、ブリンクビットBLをリセットした後(ステッ
プ72)、ブリンクビットBLの内容を制御フラグ13へ設定
(ステップ66)して割込みプログラム処理を終了し、メ
インプログラム処理に復帰する。一方、ブリンクビット
BLがリセット状態ならば、フィールドカウント数FCにオ
ンカウント数ONCを設定し(ステップ73)、ブリンクビ
ットBLをセットした後(ステップ74)ブリンクビットBL
の内容を制御フラグ13へ設定(ステップ66)して割込み
プログラム処理を終了し、メインプログラム処理に復帰
する。First, the contents of the line counter 55 are read out and compared with the total number of lines TN in one screen (step 61), and it is judged whether they match (step 62). If they do not match, the line of the line counter 55 continues. Count value and blink start line position BSP and blink end line position B
A comparison is made with the EP (step 63), and it is determined whether or not it is a blink effective area (step 64). If it is not the blink valid area, the control flag 13 is set (step 65). If it is the blink valid area, the contents of the blink bit BL are set to the control flag 13 (step 66), and then the interrupt program processing is terminated and the main program is finished. Return to processing. On the other hand, if the contents of the line counter 55 and the total line number TN match, the field count number FC is decremented by -1 (step 67). It is determined whether the field count FC is zero (step 68), and if it is not zero, the contents of the blink bit BL are set in the control flag 13 (step 66), the interrupt program processing is terminated, and the main program processing is resumed. . Also, the field count
If FC is zero, the state of the blink bit BL is checked (step 69). It is determined whether the blink bit BL is in the reset state (step 70), and if it is in the set state, the field count number FC is set to the off count number OFFC (step 71), the blink bit BL is reset (step 72), and then the blink bit is set. The contents of BL are set in the control flag 13 (step 66), the interrupt program processing is terminated, and the processing returns to the main program processing. Meanwhile, blink bit
If BL is in the reset state, set the on-count number ONC to the field count number FC (step 73) and set the blink bit BL (step 74).
Is set in the control flag 13 (step 66), the interrupt program process is terminated, and the process returns to the main program process.
以上の一連の処理により、第5図に示すように、複数
の分割画面の中の現在編集操作を行なっている画面(以
下アクティブ画面と呼ぶ)の表示位置に応じたブリンク
開始ライン位置BSPおよびブリンク終了ライン位置BEPを
設定するだけで、カーソルがアクティブ画面領域内に存
在する時にのみブリンク動作し、アクティブ画面領域以
外ならば点灯状態に固定されて表示するようになる。Through the series of processes described above, as shown in FIG. 5, the blink start line position BSP and the blink start line position BSP according to the display position of the screen (hereinafter referred to as the active screen) currently being edited out of the plurality of split screens. Only by setting the end line position BEP, the blinking operation is performed only when the cursor is in the active screen area, and when the cursor is not in the active screen area, the blinking operation is fixed and displayed.
また、第6図に示すように、オンカウント数ONCとオ
フカウント数OFFCにそれぞれ適当な値を設定することに
よりブリンク動作の周期および点灯時間と消滅時間との
比を任意に変更してカーソルを表示させることができ
る。Further, as shown in FIG. 6, by setting appropriate values to the on-count number ONC and the off-count number OFFC, the blinking cycle and the ratio of the lighting time to the extinction time can be arbitrarily changed to move the cursor. Can be displayed.
この際のマイクロプロセッサ1の処理としては、割込
みによる単純な比較、演算、転送のみであり、処理時間
は極めて短い。At this time, the processing of the microprocessor 1 is only simple comparison, calculation, and transfer by interruption, and the processing time is extremely short.
次に、本発明の第2の実施例について説明する。 Next, a second embodiment of the present invention will be described.
第2の実施例の表示制御装置のブロック図は、第1
図、第2図および第3図に示した第1の実施例のブロッ
ク図と同じであり、その動作については第1の実施例と
同じであるのでその詳細な説明は省略する。The block diagram of the display control device of the second embodiment is the same as the first embodiment.
This is the same as the block diagram of the first embodiment shown in FIGS. 2, 2 and 3, and its operation is the same as that of the first embodiment, so its detailed description is omitted.
データメモリ3にはプログラムで処理する変数とし
て、キーボード入力等によって得たカーソル表示の有無
を指定する制御フラグ13の内容を分割画面A、分割画面
B、分割画面Cの表示領域に応じてそれぞれ示すブリン
クビットBLA、BLB、BLC、カーソルのブリンク周期のう
ちそれぞれの点灯時間を示すオンカウント数ONCA、ONC
B、ONCCとそれぞれの消滅時間を示すオフカウント数OFF
CA、OFFCB、OFFCC、カーソルのブリンク周期時間のそれ
ぞれのカウント数を記憶するフィールドカウント数FC
A、FCB、FCC、分割画面A、分割画面B、分割画面C毎
に表示するカーソルの表示メモリアドレス位置をそれぞ
れ示すカーソルA表示アドレスCDA、カーソルB表示ア
ドレスCDB、カーソルC表示アドレスCDC、分割画面A、
分割画面B、分割画面Cそれぞれの表示開始行位置を示
す画面A開始位置SPA、画面B開始位置SPB、画面C開始
位置SPC、一画面フィールドの総行数を示すトータルラ
イン数TNが割りつけられている。As the variables to be processed by the program in the data memory 3, the contents of the control flag 13 for designating the presence / absence of cursor display obtained by keyboard input or the like are shown in accordance with the display areas of the split screen A, split screen B, and split screen C, respectively. Blink bit BLA, BLB, BLC, ON count number that indicates lighting time of each blink cycle of cursor ONCA, ONC
B, ONCC and OFF count number OFF indicating the disappearance time of each
Field count number FC that stores each count number of CA, OFFCB, OFFCC, and blink cycle time of cursor
Cursor A display address CDA, cursor B display address CDB, cursor C display address CDC, split screen that indicates the display memory address position of the cursor displayed for each of A, FCB, FCC, split screen A, split screen B, and split screen C A,
The screen A start position SPA indicating the display start line position of each of the split screens B and C, the screen B start position SPB, the screen C start position SPC, and the total line number TN indicating the total line number of one screen field are allocated. ing.
第7図はラスタカウンタ54からの割込み信号59によっ
て1行毎に起動されるマイクロプロセッサ1の割込みプ
ログラム処理のフローチャートである。第7図により、
複数のカーソルをブリンクして表示するための制御フラ
グ13とカーソルアドレスレジスタ21の更新の処理につい
て説明する。FIG. 7 is a flow chart of the interrupt program process of the microprocessor 1 which is activated line by line by the interrupt signal 59 from the raster counter 54. According to FIG.
A process of updating the control flag 13 and the cursor address register 21 for blinking and displaying a plurality of cursors will be described.
まず、ラインカウンタ55の内容を読み出し、一画面の
トータルライン数TNと比較し(ステップ81)、一致して
いるかどうか判定し(ステップ82)、一致していなけれ
ばラインカウンタ55のラインカウント値と画面A開始位
置SPA、画面B開始位置SPB、画面C開始位置SPCとの比
較を行ない(ステップ83)、現在の行が画面A表示領域
か画面B表示領域か画面C表示領域かを判別する(ステ
ップ84)。画面A表示領域ならば、カーソルアドレスレ
ジスタ21にカーソルA表示アドレスCDAを設定し(ステ
ップ85)、制御フラグ13にブリンクビットBLAの内容を
設定した(ステップ86)後割込みプログラム処理を終了
し、メインプログラム処理に復帰する。画面B表示領域
ならば、カーソルアドレスレジスタ21にカーソルB表示
アドレスCDBを設定し(ステップ87)、制御フラグ13に
ブリンクビットBLBの内容を設定した(ステップ88)後
割込みプログラム処理を終了し、メインプログラム処理
に復帰する。画面C表示領域ならば、カーソルアドレス
レジスタ21にカーソルC表示アドレスCDCを設定し(ス
テップ89)、制御フラグ13にブリンクビットBLCの内容
を設定した(ステップ90)後割込みプログラム処理を終
了し、メインプログラム処理に復帰する。一方、ステッ
プ82でラインカウンタ55の内容とトータルライン数TNと
が一致していれば、カーソルA、B、Cそれぞれについ
てブリンクビットBLA、BLB、BLCの更新の処理を行なう
が、個々のカーソルについての処理内容は、処理変数名
が3種のカーソルでそれぞれ異なることを除いては、第
4図に示した第1の実施例の割込みプログラム処理のフ
ローチャートにおけるステップ67からステップ74までの
一連の手続きと同様であるので、ここではカーソルA、
B、CそれぞれについてカーソルAブリンク処理(ステ
ップ91)、カーソルBブリンク処理(ステップ92)、カ
ーソルCブリンク処理(ステップ93)と示すことにして
その詳細な説明は省略する。カーソルAブリンク処理
(ステップ91)、カーソルBブリンク処理(ステップ9
2)、カーソルCブリンク処理(ステップ93)によりブ
リンクビットBLA、BLB、BLCの更新の処理を行なった後
割込みプログラム処理を終了し、メインプログラム処理
に復帰する。First, the content of the line counter 55 is read and compared with the total number of lines TN in one screen (step 81), and it is determined whether they match (step 82). If they do not match, the line count value of the line counter 55 is used. The screen A start position SPA, the screen B start position SPB, and the screen C start position SPC are compared (step 83) to determine whether the current line is the screen A display area, the screen B display area, or the screen C display area ( Step 84). If it is the screen A display area, the cursor A display address CDA is set in the cursor address register 21 (step 85), the content of the blink bit BLA is set in the control flag 13 (step 86), and then the interrupt program processing is terminated, and the main Return to program processing. If it is the screen B display area, the cursor B display address CDB is set in the cursor address register 21 (step 87), the content of the blink bit BLB is set in the control flag 13 (step 88), and then the interrupt program processing is terminated, and the main Return to program processing. If it is the screen C display area, the cursor C display address CDC is set in the cursor address register 21 (step 89), the content of the blink bit BLC is set in the control flag 13 (step 90), and then the interrupt program processing is terminated, and the main Return to program processing. On the other hand, if the contents of the line counter 55 and the total number of lines TN match in step 82, the blink bits BLA, BLB, BLC are updated for each of the cursors A, B, C, but for each cursor. Except that the processing variable names differ among the three types of cursors, a series of procedures from step 67 to step 74 in the flowchart of the interrupt program processing of the first embodiment shown in FIG. Since it is the same as,
The cursor A blink processing (step 91), the cursor B blink processing (step 92), and the cursor C blink processing (step 93) will be referred to for each of B and C, and detailed description thereof will be omitted. Cursor A blink process (step 91), Cursor B blink process (step 9)
2) After the blinking of the blink bits BLA, BLB, BLC by the cursor C blink processing (step 93), the interrupt program processing is terminated and the main program processing is resumed.
以上の一連の処理により、表示画面上に複数の分割画
面が存在する時に、個々の分割画面にカーソルを1個ず
つそれぞれ1対1に対応させて同時に表示させるととも
に、それぞれのカーソルについて独立してブリンク動作
の周期および点灯時間と消滅時間との比を制御して表示
させる。By the above series of processing, when there are a plurality of split screens on the display screen, one cursor is displayed on each split screen at a time in a one-to-one correspondence, and the cursors are independently displayed. The blinking cycle and the ratio of lighting time to extinction time are controlled and displayed.
第8図は3種類のカーソルについてそれぞれブリンク
動作の周期および点灯時間と消滅時間との比を異なる条
件で指定した時のカーソルブリンク動作のタイミング図
である。FIG. 8 is a timing chart of the cursor blink operation when the blink operation cycle and the ratio of the lighting time to the extinction time are specified under different conditions for each of the three types of cursors.
上述の実施例では、分割されたデキスト画面における
1個あるいは複数個のカーソルのブリンク動作について
示したが、カーソルのカラー表示やグラフィック画面に
おけるグラフィックカーソルの表示についても、本発明
の装置を用いれば簡単に同様の制御が実現できることは
容易に類推できるところである。Although the blinking operation of one or a plurality of cursors in the divided text screen is shown in the above-mentioned embodiment, the color display of the cursor and the display of the graphic cursor in the graphic screen can be easily performed by using the device of the present invention. It can be easily inferred that the same control can be realized.
以上説明したように本発明は、分割画面表示時のカー
ソル表示の操作性を改善し、また高度なカーソル制御機
能を備えた表示制御装置を提供することができ、また、
マイクロプロセッサによる簡単な処理により、高度な表
示処理もそのための特別な専用ハードウエアを必要とせ
ずに実現できる等、ハードウエアを共用化し、最小限の
ハードウエアで安価な融通性の高い表示制御装置を提供
することができる効果もある。As described above, the present invention can improve the operability of cursor display during split screen display, and can provide a display control device having an advanced cursor control function.
Highly flexible display control device with minimal hardware, such as simple processing by a microprocessor that enables advanced display processing without the need for special dedicated hardware. There is also an effect that can be provided.
第1図は本発明の表示制御装置の第1の実施例のブロッ
ク図、第2図は第1図のタイミング制御回路5の詳細な
ブロック図、第3図は第1図の制御フラグ13とカーソル
表示回路20の詳細なブロック図、第4図は第1の実施例
の割込みプログラム処理のフローチャート、第5図は第
1の実施例における表示例の図、第6図は第1の実施例
におけるカーソルブリンク動作のタイミング図、第7図
は本発明の第2の実施例の割込みプログラム処理のフロ
ーチャート、第8図は第7図の実施例におけるカーソル
ブリンク動作のタイミング図、第9図は従来の表示制御
装置の構成図、第10図は従来の表示装置におけるカーソ
ル表示回路のブロック図である。 1……マイクロプロセッサ、2……プログラムメモリ、
3……データメモリ、4……アドレスデコーダ、5……
タイミング制御回路、6……マルチプレクサ、7……リ
フレッシュメモリ、8……キャラクタジェネレータ、9
……ビデオ信号発生回路、10……CRT、11……アドレス
バス、12……データバス、13……制御フラグ、20……カ
ーソル表示回路、21……カーソルアドレスレジスタ、22
……比較回路、23……カーソル発生タイミング信号、24
……アンド回路、25……カーソル表示信号、26……カー
ソルパターン発生回路、27……カーソル表示パターン、
41,42……ストローブ信号、51……OSC、52……ドットカ
ウンタ、53……キャラクタカウンタ、54……ラスタカウ
ンタ、55……ラインカウンタ、56……アドレス生成回
路、57……ドットクロック、58……ラスタアドレス、59
……割込み信号。 510……表示アドレス、511……同期信号、512……同期
信号発生回路、701……キャラクタコードデータ、801…
…キャラクタパターン、901……ビデオ信号。FIG. 1 is a block diagram of a first embodiment of the display control device of the present invention, FIG. 2 is a detailed block diagram of the timing control circuit 5 of FIG. 1, and FIG. 3 is a control flag 13 of FIG. FIG. 4 is a detailed block diagram of the cursor display circuit 20, FIG. 4 is a flowchart of the interrupt program processing of the first embodiment, FIG. 5 is a display example of the first embodiment, and FIG. 6 is the first embodiment. FIG. 7 is a timing chart of the cursor blink operation in FIG. 7, FIG. 7 is a flowchart of the interrupt program processing of the second embodiment of the present invention, FIG. 8 is a timing chart of the cursor blink operation in the embodiment of FIG. 7, and FIG. FIG. 10 is a block diagram of a cursor display circuit in a conventional display device. 1... Microprocessor, 2... Program memory,
3 ... data memory, 4 ... address decoder, 5 ...
Timing control circuit, 6 ... Multiplexer, 7 ... Refresh memory, 8 ... Character generator, 9
...... Video signal generation circuit, 10 ...... CRT, 11 ...... Address bus, 12 ...... Data bus, 13 ...... Control flag, 20 ...... Cursor display circuit, 21 ...... Cursor address register, 22
…… Comparison circuit, 23 …… Cursor generation timing signal, 24
...... AND circuit, 25 ...... Cursor display signal, 26 ...... Cursor pattern generation circuit, 27 ...... Cursor display pattern,
41,42 …… Strobe signal, 51 …… OSC, 52 …… Dot counter, 53 …… Character counter, 54 …… Raster counter, 55 …… Line counter, 56 …… Address generation circuit, 57 …… Dot clock, 58 …… Raster address, 59
…… Interrupt signal. 510 ... display address, 511 ... sync signal, 512 ... sync signal generation circuit, 701 ... character code data, 801 ...
… Character pattern, 901… Video signal.
Claims (2)
リフレッシュメモリと、 該リフレッシュメモリのアドレスおよびCRTディスプレ
イの同期信号を出力し、また、キャラクタ行のラスタア
ドレスをカウントして出力するとともに、該カウントの
桁上りを割込み信号として出力するラスタカウンタを含
むタイミング制御回路と、 キャラクタパターンを記憶し、前記リフレッシュメモリ
から読み出されたキャラクタコードデータおよび前記ラ
スタアドレスに基づいて前記キャラクタパターンが読出
されるキャラクタジェネレータと、 カーソルの表示形態を記憶する書き変え可能な制御フラ
グと、 カーソルのCRTにおける表示位置情報を記憶するカーソ
ルアドレスレジスタと、前記タイミング制御回路から出
力された表示アドレス情報と前記カーソルアドレスレジ
スタの表示位置情報とを比較し、両者が一致するとカー
ソル発生タイミング信号を出力する比較回路と、 該カーソル発生タイミング信号が出力され、かつ前記制
御フラグが所定の状態のときにカーソル表示パターンを
発生するカーソル表示回路と、 前記キャラクタパターンと前記カーソル表示パターンと
を入力し合成してビデオ信号としてCRTディスプレイに
送出するビデオ信号発生回路と、 前記タイミング制御回路からの割込み信号が入力する
と、所定のキャラクタ行において、前記制御フラグの内
容を書き換える割込み処理を行うマイクロプロセッサ
と、 該マイクロプロセッサが実行する前記割込み処理のプロ
グラムが格納されるプログラムメモリとを有する表示制
御装置。1. A refresh memory in which character code data is stored, an address of the refresh memory and a sync signal of a CRT display are output, and a raster address of a character row is counted and output. A timing control circuit that includes a raster counter that outputs a carry as an interrupt signal, and a character generator that stores a character pattern and that reads the character pattern based on the character code data and the raster address read from the refresh memory. A rewritable control flag for storing the display form of the cursor, a cursor address register for storing display position information on the CRT of the cursor, the display address information output from the timing control circuit and the car A comparison circuit that compares the display position information of the sol address register and outputs a cursor generation timing signal when the two match, and a cursor display pattern when the cursor generation timing signal is output and the control flag is in a predetermined state. , A video signal generation circuit for inputting and combining the character pattern and the cursor display pattern and sending them as a video signal to a CRT display, and when an interrupt signal from the timing control circuit is input, a predetermined In the character line, a display control device having a microprocessor for performing an interrupt process for rewriting the contents of the control flag, and a program memory for storing a program for the interrupt process executed by the microprocessor.
込み処理により前記制御フラグは第1の論理状態または
第2の論理状態に書き換えられ、前記カーソル表示回路
は前記カーソル発生タイミング信号が出力されかつ前記
制御フラグが第1の論理状態のときにはカーソル表示パ
ターンを発生し、前記制御フラグが第2の論理状態のと
きには前記カーソル表示パターンを発生しないことを特
徴とする特許請求の範囲第1項記載の表示制御回路。2. The control flag is 1 bit, the control flag is rewritten to a first logic state or a second logic state by the interrupt processing, and the cursor display circuit outputs the cursor generation timing signal. The cursor display pattern is generated when the control flag is in the first logic state, and the cursor display pattern is not generated when the control flag is in the second logic state. Display control circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62185916A JPH0833720B2 (en) | 1987-07-24 | 1987-07-24 | Display controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62185916A JPH0833720B2 (en) | 1987-07-24 | 1987-07-24 | Display controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6429896A JPS6429896A (en) | 1989-01-31 |
| JPH0833720B2 true JPH0833720B2 (en) | 1996-03-29 |
Family
ID=16179122
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62185916A Expired - Lifetime JPH0833720B2 (en) | 1987-07-24 | 1987-07-24 | Display controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0833720B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5953739A (en) * | 1982-09-22 | 1984-03-28 | 帝人株式会社 | Stretch fabric |
| JP2623592B2 (en) * | 1987-08-06 | 1997-06-25 | 日本電気株式会社 | Display control device |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS53136438A (en) * | 1977-05-02 | 1978-11-29 | Sharp Corp | Display unit |
| JPS57200089A (en) * | 1981-06-02 | 1982-12-08 | Tokyo Shibaura Electric Co | Crt cursor indication system |
| JPS61190390A (en) * | 1985-02-20 | 1986-08-25 | 富士通株式会社 | Cursor display system for display unit |
-
1987
- 1987-07-24 JP JP62185916A patent/JPH0833720B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6429896A (en) | 1989-01-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2659598B2 (en) | Display cursor pattern generator | |
| JPH07181941A (en) | Frame buffer device provided with high-speed copying means and execution method of double-buffered animation using said device | |
| JPH0514312B2 (en) | ||
| JP2797435B2 (en) | Display controller | |
| JP2697800B2 (en) | Display system | |
| US5321805A (en) | Raster graphics engine for producing graphics on a display | |
| EP0312720A2 (en) | Double buffered graphics design system | |
| US5319786A (en) | Apparatus for controlling a scanning type video display to be divided into plural display regions | |
| US5459485A (en) | Image and sound processing apparatus | |
| JPH0259473B2 (en) | ||
| JPH0833720B2 (en) | Display controller | |
| JP2623592B2 (en) | Display control device | |
| JP2821121B2 (en) | Display control device | |
| JP2954589B2 (en) | Information processing device | |
| JPS5835592A (en) | display screen splitting device | |
| JPH0443594B2 (en) | ||
| JPS648337B2 (en) | ||
| JP3312699B2 (en) | Screen display method using virtual VRAM | |
| JPS6213690B2 (en) | ||
| JPS5946681A (en) | Pattern writing device to user-defined RAM | |
| JPH0443595B2 (en) | ||
| JPS5960482A (en) | CRT device | |
| JPS6147984A (en) | Image display unit | |
| JPH0664450B2 (en) | Display controller | |
| JPH04114238A (en) | information processing equipment |