JPH0573023A - Display controller - Google Patents

Display controller

Info

Publication number
JPH0573023A
JPH0573023A JP3235056A JP23505691A JPH0573023A JP H0573023 A JPH0573023 A JP H0573023A JP 3235056 A JP3235056 A JP 3235056A JP 23505691 A JP23505691 A JP 23505691A JP H0573023 A JPH0573023 A JP H0573023A
Authority
JP
Japan
Prior art keywords
display
lines
line
register
starting
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.)
Pending
Application number
JP3235056A
Other languages
Japanese (ja)
Inventor
Akira Kobayashi
晃 小林
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3235056A priority Critical patent/JPH0573023A/en
Publication of JPH0573023A publication Critical patent/JPH0573023A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make a display controller comply with centering processing in accordance with the number of lines automatically or by the use of a program even in the case of display having optional resolution by varying the number of display starting lines. CONSTITUTION:This controller is provided with a display starting line register 1 for setting the number of display starting lines, an application soft display line number register 2 which stores the number of lines actually displayed, a screen vertical direction counter 4 which counts the number of vertical lines, a display line starting control circuit (display starting line calculation part) 7 which decides the display starting line based on output from the register and the counter, and a comparator 6 which compares the display line starting value of the circuit 7 with the counted value in the vertical direction of the counter 4 and outputs a display starting signal, and constructed so that the display starting line is not fixed but variably set. Namely, centering processing is executed automatically or by the use of the program even in the display having the optional number of lines.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、特にパーソナルコン
ピュータに用いて好適な表示制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display controller suitable for use in a personal computer.

【0002】[0002]

【従来の技術】近年半導体技術の進歩により、マイクロ
プロセッサ、周辺制御用LSI、メモリLSI等が非常
に安価に供給されるようになり、これらを適宜組み合わ
せることにより比較的高性能なパーソナルコンピュータ
を構築できるようになった。また、パーソナルコンピュ
ータの分野では従来のディスクトップタイプに代わっ
て、小型、軽量、携帯に便利なラップトップタイプが普
及してきた。ラップトップタイプが持つ表示装置には、
液晶ディスプレイ、プラズマディスプレイ等のフラット
パネルディスプレイが多用される。マンマシンインタフ
ェースの中核となる表示装置には益々高度な機能が要求
され、高解像度、多色表示等がその代表例である。従っ
て、これを実現するのは勿論のこと、それを制御するコ
ントローラチップも多機能なものが要求される。解像度
を例示すれば640*200から始まって、640*3
50、640*400、640*480と拡大の傾向に
ある。
2. Description of the Related Art Recent advances in semiconductor technology have made it possible to supply microprocessors, peripheral control LSIs, memory LSIs, etc. at a very low cost. I can do it. Further, in the field of personal computers, a laptop type, which is small, lightweight, and convenient for carrying, has been in widespread use in place of the conventional desktop type. The display device that the laptop type has,
Flat panel displays such as liquid crystal displays and plasma displays are often used. The display device which is the core of the man-machine interface is required to have more and more advanced functions, and high resolution and multicolor display are typical examples. Therefore, not only this but also a controller chip for controlling it is required to be multifunctional. For example, the resolution starts from 640 * 200 and ends at 640 * 3.
50, 640 * 400, 640 * 480 and the tendency of expansion.

【0003】通常、アプリケーションプログラムが実行
されると、そのソフトウェアの実行環境に適した表示ラ
イン数が表示コントローラ内蔵の所定のレジスタに設定
され、ディスプレイの表示ライン数が決定する。今、4
00ライン(640*400)表示のプラズマディスプ
レイに350ライン(640*350)表示に対応した
ソフトウェアを動作させる場合、50ライン分多くなる
が、その50ラインをブランキング領域にし、400ラ
イン表示ディスプレイでも350ラインしか表示をしな
いことで対応させることが出来る。また、その他の限ら
れたライン数の組み合わせ(400→480,350→
480)でも同様にすることで対応出来る。但し、表示
ライン数の大きいものから小さいものに対応させた場合
(上記の組み合わせの逆)、画面の最初のラインが表示
開始ラインとなり、最大ライン数を越えた表示ラインは
表示しない。上記の方法を採用し、表示領域を画面中央
に表示させるためには、新たにブランキングとして設定
された領域を画面上下に等配分することで行われる。こ
れらの方式はセンタリング処理方式と呼ばれる。
Normally, when an application program is executed, the number of display lines suitable for the execution environment of the software is set in a predetermined register incorporated in the display controller, and the number of display lines on the display is determined. Now 4
When operating software compatible with 350 line (640 * 350) display on a plasma display of 00 line (640 * 400) display, the number of lines increases by 50 lines. This can be handled by displaying only 350 lines. Also, other limited combinations of lines (400 → 480, 350 →
480) can be handled by doing the same. However, when the number of display lines is changed from the largest to the smallest (the reverse of the above combination), the first line of the screen becomes the display start line, and the display lines exceeding the maximum number of lines are not displayed. In order to display the display area in the center of the screen by using the above method, the area newly set as blanking is equally distributed to the top and bottom of the screen. These methods are called centering processing methods.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のセンタ
リング処理は、350、400、480ラインの様な限
られた表示ラインしか対応できず、これ以上の表示ライ
ン数に対応できないといった融通性、柔軟性に欠けてい
た。
The above-described conventional centering processing is flexible and flexible in that it can handle only a limited number of display lines such as 350, 400, and 480 lines, and cannot handle a larger number of display lines. I lacked sex.

【0005】この発明は上記事情に鑑みてなされたもの
であり、従来のセンタリング処理が限られたライン数を
持つディスプレイにしか行うことが出来なかったのに対
し、表示開始ライン数を可変することで、任意解像度を
持つディスプレイにも、ライン数に応じたセンタリング
処理を、自動あるいはプログラム等で対応できるように
し、更に、手動の場合は表示領域を画面のブランク領域
と設定したライン数だけ画面移動できるような表示制御
装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and the conventional centering process can be performed only for a display having a limited number of lines, whereas the number of display start lines is variable. With this function, centering processing according to the number of lines can be handled automatically or by a program even for displays with arbitrary resolution, and in the case of manual operation, the display area is moved to the blank area of the screen by the set number of lines. An object of the present invention is to provide such a display control device.

【0006】[0006]

【課題を解決するための手段】本発明の表示制御装置
は、ディスプレイを構成する画面垂直方向のライン数を
カウントするカウンタと、アプリケーションプログラム
によってパラメータ設定され、画面表示領域の表示開始
ライン値が設定されるレジスタと、このレジスタ値なら
びにカウンタ値を逐次比較する比較器と、この比較器に
よる一致検出により表示動作を開始し、任意の解像度を
持つディスプレイに任意のライン位置から表示を開始す
るセンタリング処理回路とを具備することを特徴とす
る。また、ディスプレイを構成する画面垂直方向のライ
ン数を数えるカウントするカウンタと、アプリケーショ
ンプログラムによって設定される表示ライン数を示すレ
ジスタと、ディスプレイが持つ表示可能な全ライン数を
示すレジスタと、上記2つのレジスタが示す値により、
アプリケーションプログラムが設定する表示ライン数に
相当する画面領域がディスプレイの中央に表示されるよ
うに表示開始ライン値を算出する演算回路と、この回路
で算出されたライン数と上記カウンタ値とを比較する比
較器と、この比較器にて一致を検出することで任意解像
度を持つディスプレイに対し、アプリケーションプログ
ラムが設定する表示ライン数により、任意のライン位置
にセンタリング処理を行うセンタリング回路とを具備す
ることも特徴とする。この場合、演算回路は、アプリケ
ーションプログラムが設定するライン数Nとディスプレ
イが表示可能な全ライン数Lとにより、(LーN)÷2
を算出出力する。
A display control device according to the present invention is set with a counter that counts the number of lines in the vertical direction of a screen that configures a display and a parameter set by an application program to set a display start line value of a screen display area. Centering process that starts the display operation by a register that is compared with a register that sequentially compares the register value and the counter value, and the match detection by this comparator, and starts the display from an arbitrary line position on a display having an arbitrary resolution. And a circuit. Further, a counter for counting the number of lines in the vertical direction of the screen which configures the display, a register for indicating the number of display lines set by the application program, a register for indicating the total number of lines that the display can display, and the above two Depending on the value indicated by the register,
An arithmetic circuit for calculating the display start line value so that a screen area corresponding to the number of display lines set by the application program is displayed in the center of the display, and the number of lines calculated by this circuit is compared with the counter value. A comparator and a centering circuit that performs centering processing on an arbitrary line position according to the number of display lines set by an application program for a display having an arbitrary resolution by detecting a match with this comparator may be provided. Characterize. In this case, the arithmetic circuit calculates (L−N) / 2 based on the number of lines N set by the application program and the total number of lines L that can be displayed on the display.
Is calculated and output.

【0007】[0007]

【作用】本発明は、上述したように、レジスタもしくは
ピンに表示開始ライン数を設定し、更に、実際に表示す
るライン数を格納するレジスタまたはピンと、垂直ライ
ン数をカウントするカウンタと、それらにより表示開始
ラインを決定する表示ライン開始制御回路と、その信号
を受けて表示を行う表示回路により、従来のセンタリン
グ処理が表示開始ラインが固定になっているのに対し、
これを可変に設定でき、任意のライン数のディスプレイ
でも、センタリング処理を自動またはプログラム等で行
うことを実現し、更に、手動処理の場合には、画面上に
ブランキング領域と設定されたらライン数だけ表示領域
を画面内で移動させることを実現できる。自動センタリ
ング処理とは、任意のディスプレイに対し、表示領域を
画面中央に設定するために表示開始ラインを自動算出
し、画面に表示領域を設定する処理であり、手動の場合
は、レジスタに表示開始ラインを書き込み表示開始ライ
ンを直接設定する。
According to the present invention, as described above, the number of display start lines is set in the register or pin, the register or pin for storing the number of lines to be actually displayed, and the counter for counting the number of vertical lines are provided. While the display start line is fixed in the conventional centering process by the display line start control circuit that determines the display start line and the display circuit that receives the signal and performs display,
This can be set variably, and even if the display has an arbitrary number of lines, the centering process can be performed automatically or by a program, and in the case of manual processing, the number of lines is set if a blanking area is set on the screen. Only the display area can be moved within the screen. The automatic centering process is the process of automatically calculating the display start line to set the display area in the center of the screen for any display and setting the display area on the screen.In the case of manual operation, the display starts in the register. Write line and set display start line directly.

【0008】このことにより、従来、センタリング処理
が、特定のライン間(350から400、400から4
80)の処理しか出来なかったものを、本発明では、任
意のライン間でもセンタリング処理を実現でき、更に、
ブランキング領域として設定されたライン数だけ自由に
移動できる。
As a result, conventionally, the centering process is performed in a specific line interval (350 to 400, 400 to 4).
According to the present invention, centering processing can be realized even between arbitrary lines, while the processing of only 80) can be performed.
It is possible to move freely by the number of lines set as the blanking area.

【0009】[0009]

【実施例】図1は本発明の実施例を示すブロック図であ
る。
1 is a block diagram showing an embodiment of the present invention.

【0010】図において、符号1は表示開始ラインが記
憶されるレジスタ、符号2は実際に表示するライン数が
記憶されるレジスタであり、それぞれアプリケーション
プログラムにより設定される。符号3はフラットパネル
ディスプレイが持つ表示可能ライン数が設定記憶される
レジスタである。符号4は画面垂直方向のライン数をカ
ウントするカウンタである。
In the figure, reference numeral 1 is a register for storing a display start line, and reference numeral 2 is a register for storing the number of lines to be actually displayed, which are set by an application program. Reference numeral 3 is a register in which the number of displayable lines of the flat panel display is set and stored. Reference numeral 4 is a counter for counting the number of lines in the vertical direction of the screen.

【0011】符号5はマルチプレクサであり、後述する
比較回路6の入力がレジスタ1,2のどちらを入力する
のか選択する。ここでは自動、手動のいずれによっても
実現でき、いずれかによって選択する。
Reference numeral 5 is a multiplexer, and selects which of the registers 1 and 2 is input to the comparator circuit 6 described later. Here, it can be realized either automatically or manually, and any one is selected.

【0012】符号6は比較回路であり、表示ライン開始
値と垂直方向カウンタ値を比較し、表示開始信号を出力
する。符号7は表示開始ライン算出回路であり、ソフト
ウェアが設定したライン値とディスプレイのライン値と
から表示開始ライン値を算出する。図2は本発明実施例
の動作を説明するために引用した図であり、画面のライ
ン数と表示ラインの対応を示す図である。
Reference numeral 6 is a comparison circuit, which compares the display line start value with the vertical counter value and outputs a display start signal. Reference numeral 7 is a display start line calculation circuit, which calculates the display start line value from the line value set by the software and the display line value. FIG. 2 is a diagram cited to explain the operation of the embodiment of the present invention, and is a diagram showing the correspondence between the number of lines on the screen and the display lines.

【0013】以下、本発明実施例の動作について詳細に
説明する。図1に示した実施例は、任意のライン数を持
つディスプレイモニタに対し、自動あるいはプログラム
等により、表示開始のライン値を信号として生成し、セ
ンタリング処理回路に出力することでセンタリング処理
を行わせるものである。以下に、表示開始ライン制御を
プログラム処理、自動処理各々について説明する。ま
ず、プログラム等の処理による場合を説明する。画面垂
直方向ライン数を表すカウンタ4が示す値とマルチプレ
クサ5によってプログラムにより設定時に選択される表
示開始ラインレジスタ1の値とが比較器6で比較され、
その比較結果を表示開始信号センタリング処理回路(図
示せず)に送ることで、任意のライン位置から表示を開
始することができる。このことは、上記のセンタリング
処理によって、新たにブランキングとして設定されたラ
イン数分だけ画面中で表示領域を移動することも可能と
なる。 次に自動処理の場合を説明する。レジスタ2で
示される、実際に表示するライン数が格納される表示ラ
イン数レジスタの値とフラットディスプレイのライン数
を格納するフラットディスプレイレジスタ3の値とを基
に、表示開始ライン算出回路7により、表示開始ライン
が算出され、その値がマルチプレクサ5により、“自
動”に選択され、画面垂直方向をカウントするカウンタ
4の値と比較器6により比較される。その比較器6によ
る比較に従い表示開始信号が生成され、センタリング処
理が行なわれる。また、表示開始ライン算出回路7は、
画面の最初のラインから、[表示開始ライン−1]まで
のライン数(以下、上側ブランク領域と書く)と[表示
終了ライン+1]から最終ラインまでのライン数を以下
のように調整する機能を持つ。即ち、ブランキングライ
ン数をLとし、画面のライン数をW、表示ライン数をN
とした場合、L=(W−N)/2である。手動処理の場
合、Lは任意となる。このことは、表示を開始すべきラ
インアドレスを任意の位置に設定できることを示し、画
面移動の際、表示領域が最大ライン数をオーバーするこ
とを防ぐ。
The operation of the embodiment of the present invention will be described in detail below. The embodiment shown in FIG. 1 causes a display monitor having an arbitrary number of lines to perform a centering process by automatically generating a line value of a display start as a signal by a program or the like and outputting the signal to a centering processing circuit. It is a thing. The display start line control will be described below for each of the program processing and the automatic processing. First, the case of processing by a program or the like will be described. The value indicated by the counter 4 indicating the number of lines in the vertical direction of the screen and the value of the display start line register 1 selected at the time of setting by the program by the multiplexer 5 are compared by the comparator 6.
By sending the comparison result to the display start signal centering processing circuit (not shown), the display can be started from an arbitrary line position. This makes it possible to move the display area in the screen by the number of lines newly set as blanking by the above centering processing. Next, the case of automatic processing will be described. Based on the value of the display line number register that stores the number of lines to be actually displayed, which is indicated by the register 2, and the value of the flat display register 3 that stores the number of lines of the flat display, the display start line calculation circuit 7 The display start line is calculated, the value is selected as “automatic” by the multiplexer 5, and the value is compared with the value of the counter 4 for counting the vertical direction of the screen by the comparator 6. A display start signal is generated according to the comparison by the comparator 6, and a centering process is performed. Further, the display start line calculation circuit 7
A function to adjust the number of lines from the first line of the screen to the [display start line -1] (hereinafter referred to as the upper blank area) and the number of lines from the [display end line +1] to the last line as follows: To have. That is, the number of blanking lines is L, the number of screen lines is W, and the number of display lines is N.
, L = (W−N) / 2. In the case of manual processing, L is arbitrary. This means that the line address at which display should be started can be set at an arbitrary position, and the display area is prevented from exceeding the maximum number of lines when the screen is moved.

【0014】[0014]

【発明の効果】以上説明のように、今まで、センタリン
グ処理は、特定のライン間(350から400、400
から480)の処理しか出来なかったものが、上述した
本発明の機能構成により、任意のライン間でもセンタリ
ング処理を行うことができ、更に、ブランキング領域と
して設定されたライン数だけ、自由に移動できる。この
ことにより、拡張性、柔軟性に富むシステム構築を実現
することができる。
As described above, until now, the centering processing has been performed in a specific line interval (350 to 400, 400).
To 480), the centering process can be performed between arbitrary lines by the above-described functional configuration of the present invention, and the line can be freely moved by the number of lines set as the blanking area. it can. As a result, it is possible to realize a system construction that is highly expandable and flexible.

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

【図1】本発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明実施例の動作を説明するために引用し
た、画面のライン数と表示ラインの対応を示す図。
FIG. 2 is a diagram showing the correspondence between the number of lines on the screen and the display lines, which is cited for explaining the operation of the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,2,3…レジスタ、4…カウンタ、5…マルチプレ
クサ、6…比較器、7…表示開始ライン制御回路。
1, 2, 3 ... Register, 4 ... Counter, 5 ... Multiplexer, 6 ... Comparator, 7 ... Display start line control circuit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ディスプレイを構成する画面垂直方向の
ライン数をカウントするカウンタと、アプリケーション
プログラムによってパラメータ設定され、画面表示領域
の表示開始ライン値が設定されるレジスタと、このレジ
スタ値ならびにカウンタ値を逐次比較する比較器と、こ
の比較器による一致検出により表示動作を開始し、任意
の解像度を持つディスプレイに任意のライン位置から表
示を開始するセンタリング処理回路とを具備することを
特徴とする表示制御装置。
1. A counter for counting the number of lines in the vertical direction of a screen which configures a display, a register for setting a display start line value of a screen display area by a parameter set by an application program, and the register value and the counter value. Display control characterized by comprising a comparator for successive comparison, and a centering processing circuit for starting display operation by detection of coincidence by the comparator and starting display on an arbitrary line position on a display having an arbitrary resolution apparatus.
【請求項2】 ディスプレイを構成する画面垂直方向の
ライン数を数えるカウントするカウンタと、アプリケー
ションプログラムによって設定される表示ライン数を示
すレジスタと、ディスプレイが持つ表示可能な全ライン
数を示すレジスタと、上記2つのレジスタが示す値によ
り、アプリケーションプログラムが設定する表示ライン
数に相当する画面領域がディスプレイの中央に表示され
るように表示開始ライン値を算出する演算回路と、この
演算回路で算出されたライン数と上記カウンタ値とを比
較する比較器と、この比較器の一致検出に従い任意解像
度を持つディスプレイに対し、アプリケーションプログ
ラムが設定する表示ライン数により、任意のライン位置
にセンタリング処理を行うセンタリング回路とを具備す
ることを特徴とする表示制御装置。
2. A counter for counting the number of lines in the vertical direction of the screen, which constitutes a display, a register for indicating the number of display lines set by an application program, and a register for indicating the total number of lines that the display can display. An arithmetic circuit for calculating the display start line value so that a screen area corresponding to the number of display lines set by the application program is displayed in the center of the display by the values indicated by the above two registers, and the arithmetic circuit A comparator that compares the number of lines with the counter value, and a centering circuit that performs centering processing at an arbitrary line position according to the number of display lines set by an application program for a display having an arbitrary resolution according to the detection of coincidence by the comparator. And comprising Display controller.
【請求項3】 上記演算回路は、アプリケーションプロ
グラムが設定するライン数Nとディスプレイが表示可能
な全ライン数Lとにより、(LーN)÷2を算出出力す
ることを特徴とする請求項2記載の表示制御装置。
3. The arithmetic circuit calculates and outputs (L−N) / 2 based on the number of lines N set by an application program and the total number of lines L that can be displayed on a display. The display control device described.
JP3235056A 1991-09-13 1991-09-13 Display controller Pending JPH0573023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3235056A JPH0573023A (en) 1991-09-13 1991-09-13 Display controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3235056A JPH0573023A (en) 1991-09-13 1991-09-13 Display controller

Publications (1)

Publication Number Publication Date
JPH0573023A true JPH0573023A (en) 1993-03-26

Family

ID=16980434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3235056A Pending JPH0573023A (en) 1991-09-13 1991-09-13 Display controller

Country Status (1)

Country Link
JP (1) JPH0573023A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0607778A1 (en) * 1993-01-05 1994-07-27 Nec Corporation Apparatus for driving liquid crystal display panel for small size image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0607778A1 (en) * 1993-01-05 1994-07-27 Nec Corporation Apparatus for driving liquid crystal display panel for small size image

Similar Documents

Publication Publication Date Title
US10579236B2 (en) Responding to user input including providing user feedback
JPH09231006A (en) Portable information processor
JPH02310586A (en) Display controller
JPH0573023A (en) Display controller
JPS63282524A (en) Cursor display device for information processor
JPH08297476A (en) Display resolution control system
JPH0981323A (en) Analog-to-digital conversion processor and data processor
KR0183167B1 (en) Screen converting method of a portable information terminal system
JPH05108300A (en) Mouse cursor display system
US7006115B2 (en) Supporting variable line length in digital display timing controllers using data enable signal
JPH09179991A (en) Graph display device
JPH076017A (en) Output control system for hard copy
JP2001195187A (en) Information processor
JPH04222019A (en) Storage device
JP2000181599A5 (en) Display device and its display control method and program
JPS62256004A (en) Programmable controller
JP2876759B2 (en) Digital measuring instrument
JPS6341977A (en) Table form data display system
CN117149679A (en) DMA communication device and DMA communication circuit
JPH01147712A (en) Conversation type operating device
WO2016042920A1 (en) Information processing device, and control method and control program therefor
JPH0614460A (en) Setting value storing method
JP2001034357A (en) Clock frequency controller
JPH07129142A (en) Brightness control device
JPH05204547A (en) Cursor position controller