JPS63213888A - Display information processing system - Google Patents

Display information processing system

Info

Publication number
JPS63213888A
JPS63213888A JP62048188A JP4818887A JPS63213888A JP S63213888 A JPS63213888 A JP S63213888A JP 62048188 A JP62048188 A JP 62048188A JP 4818887 A JP4818887 A JP 4818887A JP S63213888 A JPS63213888 A JP S63213888A
Authority
JP
Japan
Prior art keywords
display
area
address
register
horizontal
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
JP62048188A
Other languages
Japanese (ja)
Other versions
JPH0814753B2 (en
Inventor
嶌田 康平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric 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 NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP62048188A priority Critical patent/JPH0814753B2/en
Publication of JPS63213888A publication Critical patent/JPS63213888A/en
Publication of JPH0814753B2 publication Critical patent/JPH0814753B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はビデオメモリ中の表示データを任をの形で表示
するための表示情報処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a display information processing device for displaying display data in a video memory in an arbitrary format.

(従来の技術〕 ラスクスキャン方式の表示装置で文字や図形を表示する
場合には、ビデオメモリ(以下ビデオRAMと呼ぶ)内
に蓄えられた表示データを順次読み出してCRT(F3
極線管)等に送り、表示データに対応した輝度や色のビ
ームスポットを作りながら走査を行ないあたかも、ビデ
オメモリ中の表示器に割りふられて表示を行なうような
方式(ビットマツプ方式と呼ばれる)が一般的である。
(Prior Art) When displaying characters or graphics on a display device using the Rask scan method, display data stored in a video memory (hereinafter referred to as video RAM) is sequentially read out and displayed on a CRT (F3
A method in which the data is sent to a polar ray tube) and scanned while creating a beam spot of brightness and color corresponding to the display data, as if it were allocated to a display device in video memory and displayed (called the bitmap method). is common.

この様な表示装置の構成図を第4図に示す。A block diagram of such a display device is shown in FIG.

7XSJ図は第5図と共に従来技術による表示情報処理
5jJ glを構成する。lは中央処理5iHrt(C
P U)、2はビデオRAM13はバス切換器、4はバ
ス切換制御回路、5は表示アドレス発生回路、6はタイ
ミング信号発生回路、7はデジタルアナログ変換器、8
は表示装置、9はアドレスバス、10はデータバス、!
1はCPU停止信号、12はビデオRAMデータバス、
13はビデオRAMアドレスバス、14はバス切換信号
、15は表示データバス、16は表示アドレスバス、1
7はバス切換タイミング信号、18は表示クロック信号
、19は水平帰線期間信号、20は垂直帰線期間信号、
21は表示信号である。
7XSJ together with FIG. 5 constitutes the display information processing 5jJ gl according to the prior art. l is central processing 5iHrt(C
PU), 2 is the video RAM 13 is a bus switch, 4 is a bus switching control circuit, 5 is a display address generation circuit, 6 is a timing signal generation circuit, 7 is a digital-to-analog converter, 8
is a display device, 9 is an address bus, 10 is a data bus, !
1 is a CPU stop signal, 12 is a video RAM data bus,
13 is a video RAM address bus, 14 is a bus switching signal, 15 is a display data bus, 16 is a display address bus, 1
7 is a bus switching timing signal, 18 is a display clock signal, 19 is a horizontal blanking period signal, 20 is a vertical blanking period signal,
21 is a display signal.

また第5図は、第4図中の表示アドレス発生回路5の内
部構成図である。
Further, FIG. 5 is an internal configuration diagram of the display address generation circuit 5 in FIG. 4.

5−1は表示開始アドレスレジスタ、5−2はフレーム
バブファ横幅レジスタ、5−3は加算22.5−4はマ
ルチプレクサ、5−5はレジスタ、5−6は表示アドレ
スカウンタである。
5-1 is a display start address register, 5-2 is a frame buffer width register, 5-3 is an addition 22, 5-4 is a multiplexer, 5-5 is a register, and 5-6 is a display address counter.

以上の回路は次の様に動作する。The above circuit operates as follows.

中央処理装置1(以下CPUと呼ぶ)はアドレス9、デ
ータバス10によって表示データをビデオRAM2に書
き込む、この時、バス切換制御回路4はアドレスバス9
によって、CPUIの動作を監視しており、バス切換信
号14をバス切換器3に送り、ビデオRAM2のビデオ
RAMデータバス12とビデオRAMアドレスバス13
を、それぞれデータバス10とアドレスバス9に接続す
る動作を行う。
The central processing unit 1 (hereinafter referred to as CPU) writes display data to the video RAM 2 using the address 9 and data bus 10. At this time, the bus switching control circuit 4 writes the display data to the video RAM 2 using the address bus 9.
monitors the operation of the CPU, sends a bus switching signal 14 to the bus switching device 3, and switches the video RAM data bus 12 and video RAM address bus 13 of the video RAM 2.
are connected to the data bus 10 and address bus 9, respectively.

表示アドレス発生回路5は、タイミング信号発生回路6
から表示クロツク信号18.水平帰腺り、表示アドレス
バス16によって表示データをビデオRAM2.から読
み出し、表示データバス15を通じてデジタル−アナロ
グ変換器7に人力され、表示信号21として表示装置8
に出力し、表示を行なう。
The display address generation circuit 5 is connected to a timing signal generation circuit 6.
Display clock signal 18. Horizontally, the display address bus 16 transfers the display data to the video RAM 2. is input to the digital-to-analog converter 7 through the display data bus 15 and sent to the display device 8 as a display signal 21.
Output to and display.

また、タイミング信号発生回路6は、バス切換タイミン
グ信号17をバス切換制御回路4に送り、バス切換器3
を切換えてお(ことによって表示アドレスがビデオRA
M2に供給され、表示データがデジタル/アナログ変換
器7に供給されるようにしてお(。このタイミングで、
もし、CPUIがビデオRAM2に対して読み吉きを行
おうとすると、バス切換fliIIr8回路4はCPU
Iに対してCPU停止信号11を送り、CPUIを停止
させ表示データの読み出しが終了したのち、CPUの読
み書きを実行させる。
Further, the timing signal generation circuit 6 sends a bus switching timing signal 17 to the bus switching control circuit 4 and
(by switching the display address to the video RA
M2, and the display data is supplied to the digital/analog converter 7 (at this timing,
If the CPU attempts to read the video RAM 2, the bus switching fliIIr8 circuit 4
A CPU stop signal 11 is sent to I, the CPU is stopped, and reading and writing by the CPU is executed after reading of display data is completed.

また、第5図の表示アドレス発生回路5は以下の様に動
作する。
Further, the display address generation circuit 5 shown in FIG. 5 operates as follows.

表示タイミングが垂直帰線期間の場合には、表示開始ア
ドレスレジスタ5−1の内容は、マルチプレクサ5−4
によってレジスタ5−5に供給されており、水平帰線期
間信号19によってレジスタ5−5に書き込まれる。こ
の時のレジスタ5−5の内容は、表示開始アドレスレジ
スタ5−1の内容である値D S A (D +5pl
ay S tart A ddress)が設定されて
いるものとする。
When the display timing is during the vertical retrace period, the contents of the display start address register 5-1 are transferred to the multiplexer 5-4.
is supplied to the register 5-5 by the horizontal retrace period signal 19, and is written to the register 5-5 by the horizontal retrace period signal 19. The contents of the register 5-5 at this time are the values DS A (D +5pl
ay Start Address) is set.

また、このレジスタ5−5の出力は表示アドレスカウン
タ5−6に接続されており、水平fi腺期間信号19に
よってレジスタ5−5の値がロードされるようにI5っ
ている。このため、レジスタ5−5と同様に垂直帰線期
間中はDSAの値となっている。
Further, the output of this register 5-5 is connected to a display address counter 5-6, and the value of the register 5-5 is loaded in accordance with the horizontal fi period signal 19. Therefore, like the register 5-5, the value is DSA during the vertical retrace period.

次に表示期間になると、表示クロック18が表示アドレ
スカラ/り5−6に入力され、表示クロック18に従っ
てDSA,DSA+1,DSA+2、・・・とインクリ
メントされる。この表示アドレスカウンタ5−6の出力
は、表示アドレスバス10によってビデオRAM2に入
力され、この表示アドレスの表示データが読み出され表
示装置に送られる。このようにして、最初の水平表示期
間の表示が続けられ、次に水平帰線期間に入る。このト
キには、マルチプレクサ5−4は垂直*a!!;!期間
信号20によってすでに切換えられており、加算器5−
3の出力がレジスタ5−5に人力されているので、水平
帰線期間信号19によってレジスタs−sの内容DsA
と、フレームバブファ横幅レジスタ5−2の内容である
F R W ( F rame B ufte「W蓋d
th)が、加算された値“DSA+FI3W”がレジス
タ5−5表示アドレスカウンタ5−6にロードされる。
Next, in the display period, the display clock 18 is input to the display address color/receiver 5-6, and the display clock 18 is incremented as DSA, DSA+1, DSA+2, . . . . The output of the display address counter 5-6 is input to the video RAM 2 via the display address bus 10, and display data at this display address is read out and sent to the display device. In this way, the display continues for the first horizontal display period, and then enters the horizontal retrace period. In this case, multiplexer 5-4 is vertical *a! ! ;! Already switched by the period signal 20, the adder 5-
3 is input to the register 5-5, the horizontal retrace period signal 19 changes the contents of the register s-s DsA
, the contents of the frame buffer width register 5-2, FRW
th), the added value "DSA+FI3W" is loaded into the register 5-5 display address counter 5-6.

こうして次の水平表示期間に入ると、表示アドレスカウ
ンタ5−6は,DSA+FnW,DSA+FnW+1,
・・・とインクリメントされビデオRAM2の内容が表
示される。この吠況を第6図に示す。すなわち、表示の
水平方向には表示アドレスが順に増加してゆき、垂直方
向にはフレームバッファの横幅(FnW)ずつ増加して
ゆく。こうして表示装置8にビデオRAM2の内容を表
示することができる。
In this way, when the next horizontal display period begins, the display address counter 5-6 will display DSA+FnW, DSA+FnW+1,
. . , and the contents of the video RAM 2 are displayed. This barking situation is shown in Figure 6. That is, the display address increases in sequence in the horizontal direction of the display, and increases by the width (FnW) of the frame buffer in the vertical direction. In this way, the contents of the video RAM 2 can be displayed on the display device 8.

また、表示開始アドレスレジスタ5−1の内容は、CP
UIによって書き換えることができるのでビデオRAM
2の任なの領域を表示可能で、水Tや垂直方向に表示内
容を移動(スクロール)させたり、フレームバッファ横
幅レジスタ5−2を任倉の値に設定することによって、
表示画面上で何ベージ分かに対応する画面を用意してお
き、表示開始アドレスレジスタ5−1の内容を書き換え
ることにより、−瞬にして表示内容を切り換えることが
できる。
Furthermore, the contents of the display start address register 5-1 are CP
Video RAM can be rewritten using the UI.
By moving (scrolling) the displayed content in the water T or vertical direction, or by setting the frame buffer width register 5-2 to the desired value,
By preparing a screen corresponding to a number of pages on the display screen and rewriting the contents of the display start address register 5-1, the display contents can be switched in an instant.

〔発明が解決しようとする問題点1 以上に述べた表示装置で、表示画面の内容を水’T一方
向や垂直方向にスクロールさせると、次のような問題が
発生する。
[Problem to be Solved by the Invention 1] In the display device described above, when the contents of the display screen are scrolled in one direction or in the vertical direction, the following problem occurs.

第7図(a>はフレームバッファの横幅を表示装置によ
って表示される領域より大きく設定し、表示開始アドレ
スレジスタ5−1を適当に設定して、ビデオRAM2の
中で表示領域を左側にした表示を行なっている状態を示
したものである。
Figure 7 (a) shows a display in which the horizontal width of the frame buffer is set larger than the area displayed by the display device, the display start address register 5-1 is set appropriately, and the display area is on the left side in the video RAM 2. This shows the state in which this is being carried out.

次に表示装置8によって表示されていない領域Aの部分
に、スクロール後に表示装置8で見せるための表示デー
タをあらかじめ書き込んでおく。
Next, display data to be displayed on the display device 8 after scrolling is written in advance in a portion of the area A that is not displayed on the display device 8.

次に、第7図(b)の様に表示アドレスυ)1始レジス
タ5−1の内容を設定してDSAの値を増加させると、
表示装置8ではあたかも画面が左に動いたように見える
Next, as shown in FIG. 7(b), if the contents of the display address υ) 1 start register 5-1 are set and the value of DSA is increased,
On the display device 8, it appears as if the screen has moved to the left.

同様な手段によって、第7図(C)のようにDSAを設
定すると、画面がさらに左に動いた様に見えるが、この
状態よりさらにDSAを増加させつづけることはできな
い。
When the DSA is set as shown in FIG. 7(C) using similar means, the screen appears to move further to the left, but it is not possible to continue increasing the DSA beyond this state.

もし設定した場合には、第7図(d)に示す通り、水平
表示期間中の表示アドレスは連続して増加するため、X
アドレスの次はYアドレスの内容でなく、Zアドレスの
内容を表示する。すなわちビデオRAM2のフレームバ
フ71から表示領域をはみ出すような設定を行なった場
合には、はみ出した部分の表示はFIlW分のアドレス
が増加した領域の内容となってしまう。このために、(
I)スクロール先の非表示領域に表示データを11′<
  。
If set, as shown in FIG. 7(d), since the display address during the horizontal display period increases continuously,
After the address, the contents of the Z address are displayed instead of the contents of the Y address. That is, if settings are made such that the display area protrudes from the frame buff 71 of the video RAM 2, the display of the protruding portion will be the content of the area in which the address has been increased by FIlW. For this,(
I) Display data in the scroll destination non-display area 11'<
.

1)表示間蛤アドレス(DSA)を増加させて表示させ
る。
1) Increase and display the display address (DSA).

という繰り返しで、横スクロールを続けると表示f、1
7 Mがフレームバフ1の垂直方向に移動し、ついには
表示領域がビデオRAM2から出てしまう不具合が発生
する。
By repeating this, if you continue horizontal scrolling, the display f, 1
7 M moves in the vertical direction of the frame buff 1, and a problem occurs in which the display area eventually moves out of the video RAM 2.

そこで、第7図(a)→(b)→(c)とスクロールし
た後は(c)の表示領域の内容を(a)の表示領域へ転
送して、また同じ動作を繰り返すことになる。
Therefore, after scrolling from (a) to (b) to (c) in FIG. 7, the contents of the display area in (c) are transferred to the display area in (a), and the same operation is repeated again.

これは、第7図の(a )、(b )で行なうスクロー
ル動作に必要な作業の量が、スクロール後に現われるフ
レームバッフア領域に表示データを書き、DSA値を増
加させる作業と比較すると、(C)から(a)のスクロ
ールの為にはほぼ1表示画面分の表示データを転送しな
ければならない為に時間が多くかかり、この時だけ画面
のスクロール動作が遅くなる。したがって、スクロール
動作がスムーズでな(見にくいので、(a)から(b)
、(b)から(C)とスクロールする場合にも待ち時間
を設け、(C)から(a)のスクロールと同じ時間にす
る必要があり、結局、DSAの値は固定して全画面の表
示データを転送してスクロールさせた場合と、性能的な
差はないことになる。また、これは、垂直方向にスクロ
ールを行なう場合にも全く同様なことが起こる。
This means that the amount of work required for the scrolling operations in Figure 7 (a) and (b) is compared to the work of writing display data to the frame buffer area that appears after scrolling and increasing the DSA value. In order to scroll from C) to (a), display data for approximately one display screen must be transferred, which takes a lot of time, and only at this time the screen scrolling operation becomes slow. Therefore, the scrolling operation is not smooth (it is difficult to see, so the steps from (a) to (b)
, it is necessary to set a waiting time when scrolling from (b) to (C), and make it the same time as scrolling from (C) to (a). In the end, the DSA value is fixed and the entire screen is displayed. There is no difference in performance compared to when data is transferred and scrolled. The same thing also happens when scrolling in the vertical direction.

さらに問題なのは、表示中のビデオRA Mの内容を転
送すると、垂直表示期間中に画面の一部がスクロールさ
れた状態で見えるので、絵のうねりやちらつきとなって
見えるために表示画面がスムーズに動く印象が薄れてし
まうので、ちらつきのないスクロールを行なうためには
、第8図のようにビデオRAM中に2画面分の表示デー
タを作り、領域lを表示領域と設定し、領域2の表示デ
ータをCPUによって転送し、表示データを移動した後
に、第8図(b)のように表示領域を領域2の側に切り
換え、今度は領域1の側の表示デ−夕を転送する。この
作業の操り返しによって、ちらつきのないスクロールを
行なうことが可能となるが2M面分の領域のビデオRA
Mが必要となる。
A further problem is that when the contents of the video RAM being displayed are transferred, a part of the screen appears scrolled during the vertical display period, causing the picture to undulate or flicker, making the display screen smoother. The impression of movement will fade, so in order to scroll without flickering, create display data for two screens in the video RAM as shown in Figure 8, set area 1 as the display area, and set area 2's display data as the display area. After the data is transferred by the CPU and the display data is moved, the display area is switched to the area 2 side as shown in FIG. 8(b), and the display data on the area 1 side is then transferred. By repeating this process, it is possible to scroll without flickering, but the video RA of the 2M screen area is
M is required.

すなわち、従来の方式の表示装置でスクロールを行なう
場合には、余分なビデオRAMの領域が必要であったり
、スクロールの性能が低いという欠点があった。
That is, when performing scrolling on a conventional display device, there are disadvantages in that an extra video RAM area is required and the scrolling performance is low.

これらは表示アドレスが連続的に生成されるため、表示
領域をラップアラウンド・・・ベルトコンベアーのベル
トのように、同じ場mで回して動作することができない
為である。
This is because display addresses are generated continuously, so it is not possible to wrap around the display area...like a conveyor belt, and rotate the display area at the same time.

また従来の方式の表示装置の中に水平、垂直方向にラッ
プアラウンドを行なうことが可能なものでも、実際には
フレームバッファの水平、垂直方向の大きさが固定であ
るため、表示状歯によって最適で最少のフレームバッフ
ァを設定できない。
Furthermore, even if some conventional display devices are capable of wrapping around in the horizontal and vertical directions, the horizontal and vertical sizes of the frame buffer are actually fixed, so the display shape is optimal. Unable to set minimum framebuffer in .

すなわち、使用上の柔軟性に欠けるという欠点があった
In other words, it has the disadvantage of lacking flexibility in use.

本発明の目的は、ビデオRAMの使用量が少ない場合で
も、スクロールを高速に行なえる表示設定の柔軟性の高
い廉価な表示装置を提供することにある。
An object of the present invention is to provide an inexpensive display device with high flexibility in display settings that allows high-speed scrolling even when the amount of video RAM used is small.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の制御方式は、表示データを作成する中央処理部
とこの作成された表示データを格能するメモリから表示
データを読み出す回路とを少なくとも備えた表示情報処
理装置において、上記メモリ内部の指定されたある領域
を第一の領域として設定し、この第一の領域内部におけ
るある領域を第二の領域として指定して、これを読み出
すことにより表示器に表示データとしと出力し、上記読
み出しに際して、上記メモリ内部−ににおける第一の領
域から突出した第二の領域に対して、所定のアドレスを
設定して読み出すことにより、上記表示器の表示状歯に
合わせて最小限度の表示メモリを書き換えるだけでラッ
プのアラウンド会スクロールを可能とする。
The control method of the present invention provides a display information processing device that includes at least a central processing unit that creates display data and a circuit that reads display data from a memory that reads the created display data. A certain area is set as a first area, a certain area inside this first area is designated as a second area, and this is read out and output as display data to a display device, and upon reading out, By setting and reading a predetermined address for the second area protruding from the first area inside the memory, the minimum display memory can be rewritten to match the display shape of the display unit. Enables you to scroll around the wrap.

〔作用〕[Effect]

本発明は、フレームバッフ7の先頭アドレス(F S 
A :  F rage Buyer  S tart
  A ddress)とフレームバッファの横[(F
BW)と、フレームバッフ1の縦幅(F B L : 
F rage  B user Length)をCP
Uが設定値を可変できるレジスタによって、表示領域と
は別にビデオRAM中の2次元領域をフレームバッフ1
として指定し、このフレームバッファ内で表示開始アド
レス(DSA)と、フレームバッフ1の先頭アドレス(
FSA)からのXオフセット(OF X : OF r
set−X )と、Xオフセット(OF Y : OF
 rset−Y )の、それぞれCI’Uが設定値を可
変できるレジスタによって、表示装置に表示する領域を
指定し、このフレームバッファの領域からはむ出した表
示領域を水平方向は”FI3W−OFX” !r!f1
方向は”FDL−OFY”の設定値から検出し、フレー
ムバッフ1領域から水平方向にはみ出した表示領域の先
頭アドレスを“DSA−OFX”とし、同じく垂直方向
にはみ出した表示領域の先頭アドレスを“FSA+OF
X”とし、また水平と垂直方向に同時にはみ出した表示
領域の先頭アドレスを“FSA”とする手段を有してい
る。
In the present invention, the start address of the frame buffer 7 (F S
A: Frage Buyer Start
address) and next to the frame buffer [(F
BW) and the vertical width of frame buffer 1 (FBL:
CP
U uses a register whose setting value can be changed to store a two-dimensional area in the video RAM in addition to the display area as frame buffer 1.
In this frame buffer, specify the display start address (DSA) and the start address of frame buffer 1 (
X offset (OF X : OF r
set-X) and X offset (OF Y: OF
The area to be displayed on the display device is specified by the registers of rset-Y) whose setting values can be varied by CI'U, and the display area outside the frame buffer area is set horizontally as "FI3W-OFX"! r! f1
The direction is detected from the setting value of "FDL-OFY", and the start address of the display area that protrudes horizontally from the frame buffer 1 area is set as "DSA-OFX", and the start address of the display area that also protrudes vertically from the frame buffer 1 area is set as "DSA-OFX". FSA+OF
It has means for setting the start address of the display area that protrudes simultaneously in the horizontal and vertical directions as "FSA".

以上の構成により、ラップアラウンドスクロールが可能
となり最少限の表示メモリを書き換えるだけでスクロー
ルを行うことができ、表示状歯に合わせてフレームバッ
ファの吠面を設定可能なため、低コストで高性能で柔軟
性の高い表示情報処理装置を実現することができる。
The above configuration enables wrap-around scrolling, which allows scrolling to be performed by simply rewriting the minimum amount of display memory, and allows the frame buffer surface to be set according to the displayed tooth, resulting in low cost and high performance. A highly flexible display information processing device can be realized.

〔実施例〕〔Example〕

第1図、第2図は、本発明の実施例である。 1 and 2 are examples of the present invention.

第1図、第2図は表示アドレス発生回路5の詳細図であ
り、2−1はフレームバッフ1の横幅レジスタ(FBW
)、2−2は表示開始アドレスレジスタ(DSA>、2
−3はXオフセットレジスタ(OFX)、2−4はフレ
ームバッフ7の開始アドレスレジスタ(FSA)、2−
5は減算器、2−6.2−7.2−8.2−9.2−1
0は加算器、2−11.2−12.2−13.2−14
はマルチプレクサ、2−15はレジスタ1.2−16は
レジスタ2,2−17はレジスタ3.2−18はレジス
タ4である。
1 and 2 are detailed diagrams of the display address generation circuit 5, and 2-1 is a horizontal width register (FBW) of the frame buffer 1.
), 2-2 is the display start address register (DSA>, 2
-3 is the X offset register (OFX), 2-4 is the start address register (FSA) of frame buffer 7, 2-
5 is a subtractor, 2-6.2-7.2-8.2-9.2-1
0 is adder, 2-11.2-12.2-13.2-14
is a multiplexer, 2-15 is register 1, 2-16 is register 2, 2-17 is register 3, and 2-18 is register 4.

第2図3−1はフレームバッファの横幅レジスタ(FD
W)、3−2はXオフセットレジスタ(OFX)、3−
3はフレームバッファの縦幅レジスタ(FBL)、3−
4はXオフセットレジスタ(01’Y)、3−6.3−
7の減算器、3−8は水平カウンタ、3−0は垂直カウ
ンタ、3−10はマルチプレクサ、3−11は表示アド
レスカラ/りである。
Figure 2 3-1 shows the frame buffer width register (FD
W), 3-2 is the X offset register (OFX), 3-
3 is the vertical width register (FBL) of the frame buffer, 3-
4 is the X offset register (01'Y), 3-6.3-
7 is a subtracter, 3-8 is a horizontal counter, 3-0 is a vertical counter, 3-10 is a multiplexer, and 3-11 is a display address color.

これらは、次のような動作を行なう。These perform the following operations.

まず、垂直線期間中には、第2図のマルチプレクサ2−
11.2−12はそれぞれ表示スタートアドレス(DS
A)、(表示アドレス)−(Xオフセブ))(DSA−
OFX)の表示アドレスを選択しており、レジスタ1.
2−15とレジスタ2.2−16にそれぞれのアドレス
がロードされている。
First, during the vertical line period, multiplexer 2-
11.2-12 are display start addresses (DS
A), (display address) - (X Off Cebu)) (DSA-
OFX) is selected, and register 1.
2-15 and register 2.2-16 are loaded with their respective addresses.

また、第2図のフレームバッファ横幅レジスタ(FDW
>3−1からXオフセットレジスタ(OFX )3−2
の内容が減算器3−6で減算され水平カラ/り3−8に
水平帰線期間信号19によってロードされている。この
水平カウンタ3−8は表示クロック18が入る毎にディ
クリメントされ、内容が″On以外の時は信号Aにθ″
が、内容が0″の時に信号Aに“1nを出力するように
構成されている。
Also, the frame buffer width register (FDW) in Figure 2
>3-1 to X offset register (OFX)3-2
is subtracted by the subtractor 3-6 and loaded into the horizontal color register 3-8 by the horizontal retrace signal 19. This horizontal counter 3-8 is decremented every time the display clock 18 is input, and when the content is other than "On", the signal A is set to θ".
is configured to output "1n" as the signal A when the content is "0".

また、フレームバッファの縦幅レジスタ(FBL)3−
3から、Xオフセットレジスタ(OF Y )3−4の
内容が減算器3−7で減算され、垂直カウンタ3−9に
垂直帰線期間信号20によってロードされている。この
垂直カウンタ3−9は水平カウンタ3−8と同様に、水
平帰線期間信号19によってディクリメントされ、内容
が″ON以外の時は信号Bに“0”が、内容が“0”の
時に信号Bに“1”を出力するように構成されている。
Also, frame buffer vertical width register (FBL) 3-
3, the contents of the X offset register (OF Y ) 3-4 are subtracted by the subtractor 3-7 and loaded into the vertical counter 3-9 by the vertical retrace signal 20. Like the horizontal counter 3-8, this vertical counter 3-9 is decremented by the horizontal blanking period signal 19, and when the content is other than "ON", the signal B is "0", and when the content is "0", the signal B is "0". It is configured to output "1" to signal B.

次に表示期間に入るとまず、マルチプレクサ3−10に
入力されている信号A、Ilは水平カウンタ3−8.垂
直カウンタ3−0の内容がいずれも“01′でないので
、それぞれ0″となっていると仮定する。この場合、マ
ルチプレクサ3−10は信号1すなわち、レジスタ1,
2−5に設定されている表示スタートアドレス(DSA
)を選択し、表示アドレスカウンタ3−11にロードさ
れ表示クロック18に従ってDSA、DSA+1゜DS
A+2.・・・と表示アドレスを出力する。
Next, when the display period begins, the signals A and Il input to the multiplexer 3-10 are sent to the horizontal counter 3-8. Since none of the contents of the vertical counters 3-0 are "01", it is assumed that they are each "0". In this case, multiplexer 3-10 outputs signal 1, i.e. register 1,
Display start address (DSA) set in 2-5
) is loaded into the display address counter 3-11, and according to the display clock 18, DSA, DSA+1°DS
A+2. ...and outputs the display address.

表示領域の設定が第3図(a>のように表示領域がフレ
ームバッフ7の横幅(F[3W)とフレームバッファの
縦幅(FBL)の領域から水平方向にはみ出さない設定
であれば、水平表示期間中、水平カウンタ3−8の内容
は“0”にならず信号Aは“0″のままであり、マルチ
プレクサ3−10は信号rlJを選択しつづける。この
ため、表示カウンタ3−11は第4図に示す従来の表示
アドレス発生回路5と同様に、1水平表示期間中、連続
した表示アドレスを出力し続ける。
If the display area is set so that it does not protrude horizontally from the area of the width (F[3W) of the frame buffer 7 and the vertical width (FBL) of the frame buffer 7, as shown in Figure 3 (a>), During the horizontal display period, the content of the horizontal counter 3-8 does not become "0" and the signal A remains "0", and the multiplexer 3-10 continues to select the signal rlJ. Similarly to the conventional display address generation circuit 5 shown in FIG. 4, the circuit continues to output continuous display addresses during one horizontal display period.

表示領域の設定が、第3図(b)の様に水平方向にはる
出す場合には、水平表示期間中に水平カウンタ3−8の
内容が0”となり、信号Aは”1”に変化し、マルチプ
レクサ3−10は信号「2」を選択し、表示アドレスカ
ウンタ3−11にレジスタ2.2−16の内容(DSA
−OFX)をロードする。このアドレスは従来の方式の
表示アドレスとは異なり、第3図(b)のようにビデオ
RAMのマツピング上でDSAと同じ水平座標線上にあ
る表示アドレスであることがわかる。
If the setting of the display area extends horizontally as shown in Figure 3(b), the content of the horizontal counter 3-8 becomes 0'' during the horizontal display period, and the signal A changes to 1. Then, the multiplexer 3-10 selects the signal "2" and displays the contents of the register 2.2-16 (DSA) on the display address counter 3-11.
-OFX). It can be seen that this address is different from the display address of the conventional system, and is a display address located on the same horizontal coordinate line as the DSA on the mapping of the video RAM, as shown in FIG. 3(b).

すなわち、表示gA@がフレームバフフッ領域内で水平
にラップアラウンドしたことになる。このようにして表
示アドレスカウンタ3−11は、DSA−OFXアドレ
スからインクリメントを続は水平帰線期間に入る。する
と、マルチプレクサ2−11および2−12は、レジス
タ1.2−15とレジスタ2.2−16の内容に7レー
ムバツフ1の、横幅(FI3W)を加算した値の側を選
択しているので、レジスタ1.2−15にはD S A
 + FDW、レジスタ2.2−1(3にはDSA−O
FX+FIIWの値がそれぞれロードされる。このよう
にしてまた、水平表示期間の間、表示が行なわれレジス
タ1.2−15、レジスタ2−16の内容は、水平帰線
期間に入る毎にFIIWを加算させることになり、垂直
方向にもDSA系とDSA−OFX系の表示アドレスが
生成され、垂直帰線期間まで表示が行なわれ、またもと
のV、態にもどる。
In other words, the display gA@ has horizontally wrapped around within the frame buff area. In this way, the display address counter 3-11 increments from the DSA-OFX address and then enters the horizontal retrace period. Then, multiplexers 2-11 and 2-12 select the side of the value obtained by adding the width (FI3W) of 7 frame buffer 1 to the contents of registers 1.2-15 and 2.2-16, so Registers 1.2-15 contain DSA
+ FDW, register 2.2-1 (3 has DSA-O
The values of FX+FIIW are loaded respectively. In this way, display is performed during the horizontal display period, and the contents of registers 1.2-15 and 2-16 are changed in the vertical direction by adding FIIW every time the horizontal retrace period begins. Also, display addresses for the DSA system and DSA-OFX system are generated, and display is performed until the vertical retrace period, and the state returns to the original V state.

次に第3図(e)のように、フレームバッファ領域から
表示領域が垂直方向にはみ出ず場合を説明する。この時
には、水平表示期間中には水平カウンタ3−8はk Q
 +lとならず、信号Aは“0″のままとなる。垂直カ
ウンタ3−9は“0”となっていないので、信号Bはl
IO”となっている。このため、マルチプレクサ3−1
0はレジスタ1.2−15のDSA系のアドレスを選択
し、表示アドレスを生成する。さらに、水平表示期間を
繰り返すうちに、垂直カラ/り3−9の内容がディクリ
メントされ、′0#になると信号Bが“1”になる。す
ると、マルチプレクサ3−10は信号「3」を選択し、
レジスタ3.2−17の内容を表示アドレスカウンタ3
−11にロードする。レジスタ3.2−17およびレジ
スタ4.2−18はそれぞれFSA+OFX、FSAの
イaがマルチプレクサ2−13.2−14を通じてロー
ドされており、信号Bが1”になってレジスタ3.2−
17とレジスタ4.2−18の出力に、それぞれPI)
Wを加算した値の側に切り換えられる。
Next, a case where the display area does not protrude from the frame buffer area in the vertical direction as shown in FIG. 3(e) will be described. At this time, the horizontal counter 3-8 is kQ during the horizontal display period.
+l does not occur, and the signal A remains at "0". Since the vertical counter 3-9 is not “0”, the signal B is
IO”. Therefore, multiplexer 3-1
0 selects the DSA system address in registers 1.2-15 and generates a display address. Further, as the horizontal display period is repeated, the contents of the vertical color/reference signal 3-9 are decremented, and when it becomes '0#, the signal B becomes "1". Then, multiplexer 3-10 selects signal "3",
Display contents of register 3.2-17 Address counter 3
-11. Register 3.2-17 and register 4.2-18 are respectively loaded with FSA+OFX and FSA a through multiplexer 2-13.2-14, and signal B becomes 1'', register 3.2-18.
17 and the outputs of registers 4.2-18, respectively)
It is switched to the side of the value obtained by adding W.

このため、次の水平帰線期間ではそれぞれFSA+OF
X+F[lW、FSA+FBW(1)値がa−ドされる
。また、レジスタ3.2−17にロードされたFSA+
OFXの値はフレームバフフッ領域上で、同じ垂直座標
上になる表示アドレスであり、すなわち垂直にラップア
ラウンドしたことになる。こうして次の水平表示期間の
表示アドレスを生成し、水平帰線期間ごとにFt3Wを
加算しつづけ、垂直帰線期間に入り元の接菌にもどる。
Therefore, in the next horizontal retrace period, each FSA+OF
X+F[lW, FSA+FBW (1) value is a-coded. Also, the FSA+ loaded in register 3.2-17
The value of OFX is a display address on the same vertical coordinate on the frame buffing area, that is, vertical wrap-around. In this way, the display address for the next horizontal display period is generated, and Ft3W is continued to be added every horizontal retrace period, and the program enters the vertical retrace period and returns to the original inoculation.

全(同様にして、第3図(d)の水平、垂直ラップアラ
ウンドする場合、最初の水平表示期間では、レジスタ1
.2−15のDSAアドレスが使用される。水平表示期
間の途中で水平カウンタ3−8が11O”となり、信号
Aが“1”となってマルチプレクサ3−10はレジスタ
2.2−18のDSA−OFXアドレスを表示カウンタ
3−11にロードして、表示アドレスを発生ずる。
(Similarly, in the case of horizontal and vertical wraparound in FIG. 3(d), in the first horizontal display period, register 1
.. 2-15 DSA addresses are used. In the middle of the horizontal display period, the horizontal counter 3-8 becomes "11O", the signal A becomes "1", and the multiplexer 3-10 loads the DSA-OFX address of the register 2.2-18 into the display counter 3-11. to generate the display address.

次に、レジスタ1,2−15. レジスタ2.2−16
の内容が、水平帰線期間ごとにFIIW加算しながら表
示を行ない、垂直カウンタ3−9の内容がディクリメン
トされて、“0′となると信号Bが“1″になる。この
時、水平カウンタ3−8は再度F BW−OF Xをロ
ードするため、信号Aは#0”となる。次の水平表示期
間が始まった後には、FSA+OFXの値を表示アドレ
スカウンタ3−11に寡ゴードされているので、この表
示アドレスから順に表示される。水平カウンタの内容が
“θ″になると、信号Aは“1”となるのでマルチプレ
クサ3−10は、信号「4」のレジスタ4.2−18を
選択し、FSAを表示アドレスカッ゛/夕3−11にロ
ードして表示を行なう。
Next, registers 1, 2-15. Register 2.2-16
The content of the vertical counter 3-9 is decremented and becomes "0", and the signal B becomes "1". At this time, the horizontal counter 3-8 loads the F BW-OF X again, so the signal A becomes #0''. After the next horizontal display period starts, since the value of FSA+OFX is stored in the display address counter 3-11, the display addresses are displayed in order from this display address. When the content of the horizontal counter becomes "θ", the signal A becomes "1", so the multiplexer 3-10 selects the register 4.2-18 of the signal "4", and displays the FSA in the display address column 3. -11 and display it.

以上のようにして、表示領域が水平、垂直にラップアラ
ウンドした表示を行なうことができる。
In the manner described above, display can be performed in which the display area wraps around horizontally and vertically.

前記の実施例中で表示開示アドレス(DSA)はCPU
が設定するレジスタとして説明したが、DSA=FSA
+OFX+FBWXOFYの関係式からDSAを自動的
に算出する回路構成であっても構わない。
In the above embodiment, the display disclosure address (DSA) is the CPU
Although it was explained as a register set by DSA=FSA
The circuit configuration may be such that the DSA is automatically calculated from the relational expression +OFX+FBWXOFY.

また、DSA、FSA、OFXに対するFI13Wの加
算やFBW−OFX、FIIL−OFL、C3A−0F
X、FSA+OFX等の演算はマイクロプログラムやソ
フトウェアによって算出して各レジスタ、カウンタに直
接与える構成でも構わない。
Also, addition of FI13W to DSA, FSA, OFX, FBW-OFX, FIIL-OFL, C3A-0F
Operations such as X, FSA+OFX, etc. may be calculated by a microprogram or software and provided directly to each register or counter.

〔発明の作用〕[Action of the invention]

以上のような構成で表示アドレスを生成するため、従来
の回路で水平クロールを行なう場合の第8図(a)、(
b)のように2画面分の表示メモリを切換えながらスク
ロールを行なわなくても、第7図(b)の伏信でフレー
ムバッファ領域からはみ出した部分がi!!続アドアド
レスく、ラップアラウンドした領域であるために、 (I)スクロール先の非表示部分に表示データをでIく
、 (n)表示開示アドレス(DSA)とXオフセット(O
PX)を増加した値を設定するが、もしOFXがFBW
より大きくなれば、その水平表示アドレスの最初のアド
レスをDSAとしてOFXを“0呼とする、 という手順を繰り返すだけで、水平ラップアラウンドを
行うことができる。これは、垂直方向にスフ[1−ルを
行なう場合にも全く同様で、DSAとOFYをI” B
 Lの領域の内で制御すればよい。このようにすれば、
最少限のメモリ領域の書き換えでスクロールを実現でき
る。従って、表示メモリであっても高速で表示状態の柔
軟性の高い表示情報処理装置を実現できる。
In order to generate display addresses with the above configuration, the conventional circuit performs horizontal crawling in Figures 8(a) and 8(a).
Even if you do not scroll while switching the display memory for two screens as shown in b), the portion that protrudes from the frame buffer area due to the secret in FIG. 7(b) is i! ! Since this is a wrap-around area, (I) displays display data in the non-display area at the scroll destination, (n) display disclosure address (DSA) and X offset (O
PX), but if OFX is FBW
If it becomes larger, horizontal wraparound can be performed by simply repeating the procedure of setting the first address of the horizontal display address as DSA and setting OFX as "0 call." It is exactly the same when performing the DSA and OFY.
It is sufficient to control within the region of L. If you do this,
Scrolling can be achieved by rewriting the minimum memory area. Therefore, even with a display memory, it is possible to realize a display information processing device that is fast and has high flexibility in display states.

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

第1図は、本発明の一実施例の表示アドレス発生回路を
示す回路図、第2図は一実施例表示アドレス発生回路の
要部回路図、第3図は本発明の一実施例のラップ・アラ
ウンド状態を示す図、第4図は従来の表示アドレス発生
回路全体を示す回路図、第5図は従来の表示アドレス発
生回路の要部回路図、第6図は従来方式の表示タイミン
グと表示アドレスの説明図、第7図は従来方式の表示タ
イミングの説明図、第8図は他の従来方式による水平ス
クロール方法の一例を示す図である。 1 中央処理装置(CPU)   2  ビデオRAM
3 バス切換器  4 バス切換制御回路5 表示アド
レス発生回路 6 タイミング信号発生回路 7 ディジタル・アナログ変換器  8 表示装置9 
アドレスバス  10 ダークバス11CPU停上信号 12 ビデオRA Mデータバス 13 ビデオRAMアドレスバス 14 バス切換信号  15 表示データバス16 表
示アドレスバス I7 バス切換タイミング 18 表示クロック信号 10 水平帰線期間信号20
 垂1[!帰線期間信号 21 表示信号2−1 フレ
ームバッファの横幅レジスタ2−2 表示開始アドレス
レジスタ 2−3 Xオフセットレジスタ 2−4 フレームバッフ1開始アドレスレジスク2−5
 減算器 2−6.2−7.2−8.2−9.2−10  加算器
2−11.2−12.2−13.2−14マルチプレク
サ  2−15 レジスタ12−16 レジスタ2  
2−17  レジスタ32−18 レジスタ4 3−1 フレームバッファの横幅レジスタ3−2 Xオ
フセットレジスタ 3−37レ一ムバブフア縦幅レジスタ 3−4 Yオフセットレジスタ 3 6.3−7  減算機 3−8 水平カウンタ  3−9 垂直カウンタ3−1
0 マルチプレクサ
FIG. 1 is a circuit diagram showing a display address generation circuit according to an embodiment of the present invention, FIG. 2 is a circuit diagram of a main part of a display address generation circuit according to an embodiment, and FIG. 3 is a circuit diagram showing a display address generation circuit according to an embodiment of the present invention.・A diagram showing the around state, Figure 4 is a circuit diagram showing the entire conventional display address generation circuit, Figure 5 is a circuit diagram of the main part of the conventional display address generation circuit, and Figure 6 is the display timing and display of the conventional method. FIG. 7 is an explanatory diagram of addresses, FIG. 7 is an explanatory diagram of display timing in a conventional method, and FIG. 8 is a diagram showing an example of a horizontal scrolling method according to another conventional method. 1 Central processing unit (CPU) 2 Video RAM
3 Bus switching device 4 Bus switching control circuit 5 Display address generation circuit 6 Timing signal generation circuit 7 Digital-to-analog converter 8 Display device 9
Address bus 10 Dark bus 11 CPU stop signal 12 Video RAM M data bus 13 Video RAM address bus 14 Bus switching signal 15 Display data bus 16 Display address bus I7 Bus switching timing 18 Display clock signal 10 Horizontal retrace period signal 20
Tare 1 [! Blank line period signal 21 Display signal 2-1 Frame buffer width register 2-2 Display start address register 2-3 X offset register 2-4 Frame buffer 1 start address register 2-5
Subtractor 2-6.2-7.2-8.2-9.2-10 Adder 2-11.2-12.2-13.2-14 Multiplexer 2-15 Register 12-16 Register 2
2-17 Register 32-18 Register 4 3-1 Frame buffer width register 3-2 X offset register 3-37 Frame buffer vertical width register 3-4 Y offset register 3 6.3-7 Subtractor 3-8 Horizontal Counter 3-9 Vertical counter 3-1
0 multiplexer

Claims (1)

【特許請求の範囲】 表示データを作成する中央処理部と、前記作成された表
示データを格納するメモリと、このメモリから表示デー
タを読み出す回路とを少なくとも備えた表示情報処理装
置において、 前記メモリ内部の指定されたある領域を第一の領域とし
て設定し、前記第一の領域内部におけるある領域を第二
の領域として指定して、これを読み出すことにより表示
器に表示データとして出力し、前記読み出しに際して、
前記メモリ内部上における前記第一の領域から突出した
第二の領域に対して、所定のアドレスを設定して読み出
すことにより、前記表示器の表示状態に合わせて最少限
度の表示メモリを書き換えるだけでラップ・アラウンド
・スクロールを可能としたことを特徴とする表示情報処
理方式。
[Scope of Claim] A display information processing device comprising at least a central processing unit that creates display data, a memory that stores the created display data, and a circuit that reads display data from this memory, comprising: A specified area is set as the first area, a certain area inside the first area is specified as the second area, and this is read out to output as display data to the display, and the readout is performed. On the occasion of
By setting and reading a predetermined address to a second area protruding from the first area on the inside of the memory, the minimum display memory can be simply rewritten according to the display state of the display. A display information processing method characterized by enabling wrap-around scrolling.
JP62048188A 1987-03-03 1987-03-03 Display information processing method Expired - Lifetime JPH0814753B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62048188A JPH0814753B2 (en) 1987-03-03 1987-03-03 Display information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62048188A JPH0814753B2 (en) 1987-03-03 1987-03-03 Display information processing method

Publications (2)

Publication Number Publication Date
JPS63213888A true JPS63213888A (en) 1988-09-06
JPH0814753B2 JPH0814753B2 (en) 1996-02-14

Family

ID=12796410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62048188A Expired - Lifetime JPH0814753B2 (en) 1987-03-03 1987-03-03 Display information processing method

Country Status (1)

Country Link
JP (1) JPH0814753B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03142542A (en) * 1989-10-27 1991-06-18 V M Technol Kk Address generating device for microprocessor
JP2004341149A (en) * 2003-05-15 2004-12-02 Sony Corp Image display device and image display method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177486A (en) * 1985-02-04 1986-08-09 株式会社日立製作所 Display controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61177486A (en) * 1985-02-04 1986-08-09 株式会社日立製作所 Display controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03142542A (en) * 1989-10-27 1991-06-18 V M Technol Kk Address generating device for microprocessor
JP2004341149A (en) * 2003-05-15 2004-12-02 Sony Corp Image display device and image display method

Also Published As

Publication number Publication date
JPH0814753B2 (en) 1996-02-14

Similar Documents

Publication Publication Date Title
US4862154A (en) Image display processor for graphics workstation
KR900006288B1 (en) Controller for display
US5388207A (en) Architecutre for a window-based graphics system
JPH056197B2 (en)
JPH09245179A (en) Computer graphic device
JP2004280125A (en) Video/graphic memory system
JPS5960480A (en) Display unit
JPS6191777A (en) Video image forming apparatus
JPH10207446A (en) Programmable display device
JPS63213888A (en) Display information processing system
JPH04174497A (en) Display controlling device
JPS61295594A (en) Control system for display unit
JP2508544B2 (en) Graphic display device
AU3063792A (en) Method and apparatus for updating a clut during horizontal blanking
JPH05324840A (en) High-resolution image processor
JPH0527745A (en) Image processing method
JPS5919342B2 (en) Luminance modulation linear generation method and device
JP3196848B2 (en) Partial scroll device
JP3226939B2 (en) Image display device
JPH036510B2 (en)
JP2613951B2 (en) Display device
JPH06110432A (en) Display control method for display system utilizing two-screen composition
JP2000098996A (en) Image display device
JPS61209481A (en) Character display unit
JPS5918989A (en) Image information control circuit