JPH11345110A - Information processor - Google Patents

Information processor

Info

Publication number
JPH11345110A
JPH11345110A JP10154171A JP15417198A JPH11345110A JP H11345110 A JPH11345110 A JP H11345110A JP 10154171 A JP10154171 A JP 10154171A JP 15417198 A JP15417198 A JP 15417198A JP H11345110 A JPH11345110 A JP H11345110A
Authority
JP
Japan
Prior art keywords
address
display
rectangular area
area
address conversion
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
JP10154171A
Other languages
Japanese (ja)
Inventor
Yasushi Nagai
靖 永井
Isao Takita
功 滝田
Toru Owada
徹 大和田
Tetsuo Takagi
徹夫 高木
Akira Kikuchi
明 菊地
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.)
Hitachi Ltd
Hitachi Micro Software Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Micro Software Systems Inc
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 Hitachi Ltd, Hitachi Micro Software Systems Inc filed Critical Hitachi Ltd
Priority to JP10154171A priority Critical patent/JPH11345110A/en
Publication of JPH11345110A publication Critical patent/JPH11345110A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce access to a video RAM accompanied with by change of a display content, and to quickly change a display screen by exchanging the addresses of two rectangular areas on the video RAM. SOLUTION: An address conversion circuit 0102 performs address conversion by referring to the contents of an address conversion data base 0101. The contents of the address conversion data base 0101 can be rewritten making reference to an address bus 9905 and a data bus 9907 by a CPU 9901 or the like. Also, the correspondence of the address supplied by the CPU 9901 or a display control part 9909 before being converted by the address conversion circuit 0102 with a display coordinate follows a memory map. At exchanging of the addresses of two rectangular areas which are not equipped with any common part for address conversion, the CPU 9901 writes the contents in the address conversion data base 0101, and the address conversion circuit 0102 calculates the output address from an input address.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、グラフィック表示
を行う情報処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus for performing graphic display.

【0002】[0002]

【従来の技術】従来の情報処理装置には、例えば特開昭
63−285592号広報に示す装置がある。この装置
は図99の様な構成となる。CPU_9901 はキーボードなど
のデータ入力装置_9902から入力されるデータをメモリ_
9903に格納されている描画処理ルーチンにしたがって処
理する。CPU_9901は描画データのビデオRAM_9904への書
き込み位置をアドレスバス_9905とアドレスセレクタ_99
06によって指定しつつ、データバス_9907とデータセレ
クタ_9908を介して書き込む。
2. Description of the Related Art As a conventional information processing apparatus, there is, for example, an apparatus disclosed in Japanese Patent Application Laid-Open No. 63-285592. This device has a configuration as shown in FIG. CPU_9901 stores data input from data input device such as keyboard_9902 in memory_
Processing is performed according to the drawing processing routine stored in 9903. The CPU_9901 sets the writing position of the drawing data to the video RAM_9904 by using the address bus_9905 and the address selector_99.
The data is written via the data bus_9907 and the data selector_9908 while being designated by 06.

【0003】このCPU_9901によるビデオRAM_9904へのデ
ータの書き込みと平行して、表示制御部_9909による表
示読み出しが行われる。すなわち、表示制御部_9909
は、内臓のクロック発生回路で発生された捜査用クロッ
ク信号に同期して内臓のアドレスカウンタをを歩進させ
つつ、これをアドレスセレクタ_9906を介してビデオRAM
_9904に供給する。この歩進アドレスにしたがって順次
かつ周期的にビデオRAM_9904から読み出されたデータは
表示制御部を介してディスプレイ_9910に供給される。
In parallel with the writing of data to the video RAM_9904 by the CPU_9901, the display control unit_9909 performs display reading. That is, the display control unit_9909
Synchronizes the built-in address counter in synchronization with the investigation clock signal generated by the built-in clock generation circuit, and transfers this to the video RAM via the address selector _9906.
Supply to _9904. The data read from the video RAM_9904 sequentially and periodically according to the step address is supplied to the display_9910 via the display control unit.

【0004】従って、CPU_9901によるランダムな表示デ
ータの書き込みと表示制御部_9909による表示データの
読み出しとの間でビデオRAM_9904に対するアクセスの競
合が生じる事になる。この競合を解決するため表示制御
部_9909は内臓クロックによって発生する表示タイミン
グ、表示制御部_9909の読み出しアドレスとCPU_9901か
らの描画位置を参照し、ビデオRAM_9904に対するアクセ
ス競合の無いタイミングをCPU_9901に通知する。
[0004] Therefore, contention for access to the video RAM_9904 occurs between the writing of random display data by the CPU_9901 and the reading of display data by the display control unit_9909. In order to resolve this conflict, the display control unit_9909 refers to the display timing generated by the built-in clock, the read address of the display control unit_9909 and the drawing position from the CPU_9901, and notifies the CPU_9901 of the timing when there is no access conflict with the video RAM_9904. I do.

【0005】[0005]

【発明が解決しようとする課題】近年、表示装置の大画
面化、複数画面化が進み、表示データ量が増加してきて
いる。また、更にグラフィカルユーザーインターフェー
スの発達に伴いアニメーションの表示やマルチウインド
ウ表示等、表示画面中の矩形部分の書き換えの頻度が高
まってきている。このため、表示内容の変更するために
毎回表示データを書き直す必要のある上記情報処理装置
では、表示画面の書き換えに長い時間を要する。特に、
画面の変化をスムーズに見せる必要のあるアニメーショ
ン、スクロールやパンニングなどは短時間に多量のデー
タ書き換える必要があり、これらの処理に時間がかかり
作業能率が低下するという問題がある。
In recent years, display devices have been increased in screen size and multiple screens, and the amount of display data has been increasing. Further, with the development of the graphical user interface, the frequency of rewriting rectangular portions in the display screen, such as animation display and multi-window display, has been increasing. For this reason, in the above-described information processing apparatus in which the display data needs to be rewritten every time to change the display content, it takes a long time to rewrite the display screen. Especially,
Animation, scrolling, panning, and the like, which require a smooth change in the screen, require a large amount of data to be rewritten in a short period of time, and there is a problem that these processes take a long time and work efficiency is reduced.

【0006】[0006]

【課題を解決するための手段】本発明の情報処理装置は
ビデオRAMと、このビデオRAM内に表示データを書き込む
描画手段と、このビデオRAMの内容を順次周期的に読み
出して表示装置に供給する表示制御部という既存の要素
に加え、ビデオRAMへ供給するアドレスを変換するアド
レス変換回路とアドレス変換のルールを保持するアドレ
ス変換データベースを備える。
An information processing apparatus according to the present invention comprises a video RAM, a drawing means for writing display data in the video RAM, and the contents of the video RAM sequentially and periodically read and supplied to a display device. In addition to an existing element called a display control unit, the display control unit includes an address conversion circuit for converting an address to be supplied to a video RAM and an address conversion database for holding an address conversion rule.

【0007】このアドレス変換回路により、ビデオRAM
上の二つの矩形領域のアドレスを入れ換える事により、
ビデオRAMの内容を書きかえる事無く表示位置を変更す
る。これにより、表示内容変更に伴うビデオRAMへのア
クセスを減らす事が可能となり、表示画面の変更が迅速
に行うことができる。
With this address conversion circuit, a video RAM
By swapping the addresses of the upper two rectangular areas,
Change the display position without rewriting the contents of the video RAM. This makes it possible to reduce the number of accesses to the video RAM due to the change of the display content, and to quickly change the display screen.

【0008】[0008]

【発明の実施の形態】本発明の一実施形態を図1から図7
を用いて説明する。図1は本発明の一実施例の情報処理
装置の構成を示すプロック図、図2はVRAMのアドレスと
表示座標の対応を示すメモリマップ、図3は交換を行う
二つの矩形領域の説明図、図4は矩形領域の交換に使用
するデータベース、図5は座標変換のフローチャート、
図6はアドレス変換を行わない時のアドレスと座標の対
応を示す図、図7はアドレス変換後のアドレスと座標と
の対応を示す図である。
1 to 7 show an embodiment of the present invention.
This will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of an information processing apparatus according to an embodiment of the present invention, FIG. 2 is a memory map showing the correspondence between VRAM addresses and display coordinates, FIG. 3 is an explanatory diagram of two rectangular areas to be exchanged, FIG. 4 is a database used for exchanging rectangular areas, FIG. 5 is a flowchart of coordinate conversion,
FIG. 6 is a diagram showing the correspondence between addresses and coordinates when address conversion is not performed, and FIG. 7 is a diagram showing the correspondence between addresses and coordinates after address conversion.

【0009】図1において図99と同一または相当する部
分は同一符号にて示している。よって、図99と相違する
部分の構成を説明すると、9904は表示用のリード、ライ
ト可能なメモリであるビデオRAMであり、アドレスバス_
9907または、表示制御部_9909からのアドレス信号はア
ドレスセレクタ9906を介した後、アドレス変換回路_010
2を介して供給されるよう接続される。
In FIG. 1, parts that are the same as or correspond to those in FIG. 99 are denoted by the same reference numerals. Accordingly, the configuration of a portion different from that of FIG. 99 will be described. Reference numeral 9904 denotes a video RAM which is a display readable and writable memory;
The address signal from the 9907 or the display control unit_9909 is passed through the address selector 9906, and then the address conversion circuit_010
Connected to be supplied via 2.

【0010】この、アドレス変換回路_0102はアドレス
変換データベース_0101を参照してアドレスの変換を行
う。このアドレス変換データベース_0101の内容はアド
レスバス_9905、データバス9907を介してCPU_9901など
によって書き換える事ができる。また、CPU_9901や表示
制御部_9909によって供給され、アドレス変換回路_0102
によって変換される前のアドレスと表示座標との対応は
図2に示すメモリマップに従う。つまり、1ピクセルあた
り1アドレスが割り当てられ、表示の開始アドレスを SA
表示の幅を W ピクセル、 高さを H ピクセルとし、表
示の左上の角を原点 (0,0)とし、x座標を右方向にy座
標を下方向にとる。この時、あるピクセルから1ピクセ
ル右へ移動したピクセルのアドレスは元のピクセルのア
ドレスに1加えたものとなる。また、1ピクセル下へ移
動したピクセルのアドレスは元のピクセルのアドレスに
W を加えたものとなる。よって、座標(x,y)のピクセル
のアドレス A は式(1)に従い用意に求める事ができる。
The address conversion circuit_0102 performs address conversion with reference to the address conversion database_0101. The contents of the address conversion database_0101 can be rewritten by the CPU_9901 or the like via the address bus_9905 and the data bus 9907. The address conversion circuit_0102 is supplied by the CPU_9901 and the display control unit_9909.
The correspondence between the address before the conversion and the display coordinates follows the memory map shown in FIG. In other words, one address is assigned per pixel, and the display start address is set to SA
The width of the display is W pixels, the height is H pixels, the upper left corner of the display is the origin (0,0), the x coordinate is to the right, and the y coordinate is down. At this time, the address of the pixel moved one pixel to the right from a certain pixel is obtained by adding one to the address of the original pixel. Also, the address of the pixel moved one pixel down is changed to the address of the original pixel.
W is added. Therefore, the address A of the pixel at the coordinates (x, y) can be easily obtained according to the equation (1).

【0011】A = SA + x + (W * y) ・・・(1) 例えば、(0,0)のアドレスは SA、(W-1,0)のアドレスは
SA+W-1、(W-1,H-1)のアドレスは SA+(W-1)+W*(H-
1)= SA + W * H - 1 と求める事ができる。
A = SA + x + (W * y) (1) For example, the address of (0,0) is SA, and the address of (W-1,0) is
The address of SA + W-1, (W-1, H-1) is SA + (W-1) + W * (H-
1) = SA + W * H-1

【0012】また、逆にアドレス A から対応する唯一
の座標 (x,y)は次の式(2),(3)より求める事もでき
る。
Conversely, the only coordinate (x, y) corresponding from the address A can be obtained from the following equations (2) and (3).

【0013】x = (A-SA) % W ・・・(2) y = (A-SA) / W ・・・(3) xは A-SA を W で割った余り、yは A-SA を W で割った
商となる。
X = (A-SA)% W (2) y = (A-SA) / W (3) x is the remainder of A-SA divided by W, and y is A-SA Divided by W.

【0014】この様な、構成のビデオRAM_9904 から表
示データを読み込む表示制御部_9909は SA から SA + H
*W - 1 までのアドレスを周期的に順次発生し、そのア
ドレスのビデオRAM_9904の内容を読み込み、表示信号を
ディスプレイ_9910へ供給する事によって表示を行う。C
PU_9901はメモリ_9903に格納された描画ルーチンに従
い。アドレス SA から SA+H*W-1 の間のアドレスにライ
トを行う事で表示画面を変化させる。これらのCPU_990
1、表示制御部_9909の発生するアドレスをアドレス変換
回路_0102は変換してビデオRAM_9907へ供給する。
The display control unit _9909 for reading display data from the video RAM_9904 having such a configuration is operated by SA to SA + H.
Addresses up to * W-1 are periodically generated sequentially, the contents of the video RAM_9904 at that address are read, and a display signal is supplied to the display_9910 for display. C
PU_9901 follows the drawing routine stored in memory_9903. The display screen is changed by writing to the address between address SA and SA + H * W-1. These CPU_990
1. The address conversion circuit _0102 converts the address generated by the display control unit _9909 and supplies it to the video RAM_9907.

【0015】そのアドレスの変換は、図3に示す様に、
共通部分を持たない二つの矩形 P、Qの入れ換えを行う
とき、CPU_9901はアドレス変換データベース_0101に図4
に示す内容を書き込みアドレス変換回路_0102は入力ア
ドレス AIN を図5に示すフローチャートに従って出力ア
ドレス AOUTを算出する。図3に示す、矩形 P は左上角
の座標を(px,py)とし、幅 pqw、高さpqhの矩形であり、
矩形 Q は左上角の座標を(qx,qy)とし、幅 pqw、高さpq
hの矩形である。図4に示すアドレス変換データベースの
内容は、アドレスと座標との対応を求めるのに必要とな
る表示スタートアドレス SA、表示画面サイズ(幅 W、
高さ H) と 交換を行う二つの矩形の位置(矩形 P の左
上角の座標 (px,py)、 矩形 Q の左上角の座標(qx,q
y))、交換する矩形のサイズ(幅 pqw、高さpqh)と二
つの矩形のアドレスの交換を行うか行わないかを表すフ
ラグ F である。
The conversion of the address is as shown in FIG.
When swapping two rectangles P and Q that do not have a common part, CPU_9901 stores the address translation database_0101 in FIG.
The address conversion circuit_0102 calculates the output address AOUT from the input address AIN according to the flowchart shown in FIG. The rectangle P shown in FIG. 3 is a rectangle having a width pqw and a height pqh, where the coordinates of the upper left corner are (px, py),
The rectangle Q has the coordinates of the upper left corner as (qx, qy), width pqw, height pq
h is a rectangle. The contents of the address conversion database shown in FIG. 4 include the display start address SA, display screen size (width W,
Height H) and the positions of the two rectangles to be exchanged (the coordinates of the upper left corner of the rectangle P (px, py) and the coordinates of the upper left corner of the rectangle Q (qx, q
y)), the size of the rectangle to be exchanged (width pqw, height pqh) and a flag F indicating whether or not to exchange the addresses of the two rectangles.

【0016】アドレス変換回路_0102はフラグ F が変換
を行うとなっている時、座標変換データベース_0101の
内容を参照し、入力アドレス AINから出力アドレス AOU
Tへ変換を行う。このアドレス変換の手順を図5に示すフ
ローチャートを用いて説明する。まず、ステップ_0501
において式(2),(3)を用いて入力アドレス AIN に対応す
る座標を算出する。次にステップ_0502において、ステ
ップ_0501で算出した座標がビデオRAM上のどの領域に含
まれるかを判定する。矩形領域 P に含まれる場合つま
り、式(4)が成り立つ場合ステップ_0503に進み AOUT を
式(5)に従い算出する。
The address conversion circuit _0102 refers to the contents of the coordinate conversion database _0101 when the flag F indicates conversion, and changes the input address AIN to the output address AOU.
Convert to T. The procedure of the address conversion will be described with reference to the flowchart shown in FIG. First, step_0501
In the above, the coordinates corresponding to the input address AIN are calculated using the equations (2) and (3). Next, in Step_0502, it is determined which area on the video RAM contains the coordinates calculated in Step_0501. If it is included in the rectangular area P, that is, if the equation (4) is satisfied, the process proceeds to step_0503 to calculate AOUT according to the equation (5).

【0017】 (px≦x<px+pqw) and (py≦y<py+pqh)・・・(4) AOUT=AIN+[(qx-px)+(qy-py)*W]・・・(5) この式(5)の第2項 +[(qx-px)+(qy-py)*W] は矩形 P か
ら 矩形 Q へ移動するときのアドレスの変化量であり、
この式(5)によるアドレス変換を行うだけで矩形 P の内
容を矩形 Q の位置へ移動する事ができる。
(Px ≦ x <px + pqw) and (py ≦ y <py + pqh) ・ ・ ・ (4) AOUT = AIN + [(qx-px) + (qy-py) * W] ・ ・ ・ ( 5) The second term of this equation (5) + [(qx-px) + (qy-py) * W] is the amount of address change when moving from rectangle P to rectangle Q.
The contents of the rectangle P can be moved to the position of the rectangle Q only by performing the address conversion according to the equation (5).

【0018】また、ステップ_0502において、ステップ_
0501で算出した座標が矩形領域 Qに含まれる場合つま
り、式(6)が成り立つ場合、ステップ_0504に進み AOUT
を次式(7)に従い算出する。
Also, in step_0502, step_
When the coordinates calculated in 0501 are included in the rectangular area Q, that is, when Expression (6) is satisfied, the process proceeds to step _0504.
Is calculated according to the following equation (7).

【0019】 (qx≦x<qx+pqw) and (qy≦y<qy+pqh)・・・(6) AOUT=AIN-[(qx-px)+(qy-py)*W]・・・(7) この式(7)の第2項-[(qx-px)+(qy-py)*W] は矩形 Q か
ら 矩形 P へ移動するときのアドレスの変化量であり、
この式(7)によるアドレス変換を行うだけで矩形 Q の内
容を矩形 P の位置へ移動する事ができる。
(Qx ≦ x <qx + pqw) and (qy ≦ y <qy + pqh) (6) AOUT = AIN-[(qx-px) + (qy-py) * W] (7) The second term of this equation (7),-[(qx-px) + (qy-py) * W], is the amount of address change when moving from rectangle Q to rectangle P.
The contents of the rectangle Q can be moved to the position of the rectangle P only by performing the address conversion according to the equation (7).

【0020】その他に、ステップ_0502において、ステ
ップ_0501で算出した座標が矩形領域P,Q に含まれるな
い場合、つまり式(4),式(6)共に成り立たない場合はス
テップ_0505に進み AOUT を次式(8)に従い算出する。
In addition, in Step_0502, when the coordinates calculated in Step_0501 are not included in the rectangular areas P and Q, that is, when both Equations (4) and (6) do not hold, the process proceeds to Step_0505. AOUT is calculated according to the following equation (8).

【0021】AOUT=AIN・・・(8) 以上の様にステップ_0503,0504 または 0505 のいずれ
かのステップによってAOUT を算出する事によって、矩
形 P と 矩形 Q の位置を入れ換えることができる。
AOUT = AIN (8) As described above, the position of the rectangle P and the rectangle Q can be exchanged by calculating AOUT by any one of the steps _0503,0504 and 0505.

【0022】次に例として、表示先頭アドレス SA=00,
表示幅 W=5, 表示高さ H=5の表示を行っているとき、左
上角の座標(0,2)、幅 2、高さ 2 の矩形と 左上角の座
標(3,0)、幅 2、高さ 2 の矩形を入れ換える場合の従来
の情報処理装置と本発明の情報処理装置の動作について
説明する。
Next, as an example, the display start address SA = 00,
When displaying with display width W = 5 and display height H = 5, the upper left corner coordinates (0,2), width 2, height 2 rectangle and upper left corner coordinates (3,0), width 2. Operations of the conventional information processing apparatus and the information processing apparatus of the present invention in the case of replacing a rectangle having a height of 2 will be described.

【0023】図99に示す様な従来の情報処理装置ではCP
U_9901は二つの矩形のデータを読み込み、そしてそのア
ドレスを入れ換えて二つの矩形のデータを書き込む。こ
の様な表示を行うときのアドレスと座標との対応は式
(1)、(2)、(3)より図6の様になり、二つの矩形の交換を
行うときのデータのリード、ライトは例えば次の様な手
順で行われる。
In the conventional information processing apparatus as shown in FIG.
U_9901 reads two rectangles of data, then swaps their addresses and writes two rectangles of data. The correspondence between addresses and coordinates when performing such a display is expressed by the formula
FIG. 6 is obtained from (1), (2), and (3). Reading and writing of data when exchanging two rectangles are performed, for example, in the following procedure.

【0024】 (1) アドレス 03 のデータを読み込む。 (2) アドレス 15 のデータを読み込み、そのデータをア
ドレス 03 に書き込む。 (3) アドレス 03 から読み込んだデータをアドレス 15
に書き込む。 (4) アドレス 04 のデータを読み込む。 (5) アドレス 16 のデータを読み込み、そのデータをア
ドレス 04 に書き込む。 (6) アドレス 04 から読み込んだデータをアドレス 16
に書き込む。 (7) アドレス 08 のデータを読み込む。 (8) アドレス 20 のデータを読み込み、そのデータをア
ドレス 08 に書き込む。 (9) アドレス 08 から読み込んだデータをアドレス 20
に書き込む。 (10) アドレス 09 のデータを読み込む。 (11) アドレス 21 のデータを読み込み、そのデータを
アドレス 09 に書き込む。 (12) アドレス 09 から読み込んだデータをアドレス 21
に書き込む。
(1) The data at address 03 is read. (2) Read the data at address 15 and write the data to address 03. (3) Transfer the data read from address 03 to address 15
Write to. (4) Read the data at address 04. (5) Read the data at address 16 and write the data to address 04. (6) Transfer the data read from address 04 to address 16
Write to. (7) Read the data at address 08. (8) Read the data at address 20 and write the data to address 08. (9) Read the data read from address 08 to address 20
Write to. (10) Read the data at address 09. (11) Read the data at address 21 and write the data to address 09. (12) Read the data read from address 09 to address 21
Write to.

【0025】この様に、従来の情報処理装置ではCPU_99
01による 8 ピクセル分のビデオRAMからのリードと 8
ピクセル分のビデオRAMへのライトが発生する。この、
ビデオRAMのリードライトの回数は交換する矩形のサイ
ズが大きくなればなるほど増加する。
As described above, in the conventional information processing apparatus, the CPU_99
Read 8 pixels of video RAM from 01 and 8
Writes to the video RAM for pixels occur. this,
The number of video RAM read / writes increases as the size of the rectangle to be replaced increases.

【0026】これに対し、本発明の情報処理装置では、
CPU_9901がわずかなアドレス変換データベースを書き換
えるのみでアドレス変換回路_0102がアドレスの変換を
行いアドレスと座標との対応を図6アドレス変換を行わ
ない時のアドレスと座標の対応から図7に示すアドレス
変換後のアドレスと座標の対応に変える。
On the other hand, in the information processing apparatus of the present invention,
CPU_9901 only rewrites a small address conversion database and the address conversion circuit _0102 performs address conversion and determines the correspondence between addresses and coordinates. Figure 6 The address conversion shown in Figure 7 based on the correspondence between addresses and coordinates when address conversion is not performed. Change to the correspondence between the later address and coordinates.

【0027】アドレス変換データベースの内容は矩形 P
を左上角の座標(0,3)、幅 2、高さ2 の矩形、 矩形 Q
を左上角の座標 (3,0)、幅 2、高さ 2 の矩形とする
と、次の様になる。
The contents of the address conversion database are rectangle P
Is the rectangle in the upper left corner (0,3), width 2 and height 2, rectangle Q
If is a rectangle with coordinates (3,0) in the upper left corner, width 2 and height 2, then:

【0028】 (1) 表示先頭アドレス = 00 (2) 表示幅 = 5 (3) 表示高さ = 5 (4) 矩形 P の左上角の座標 = (0,3) (5) 矩形 Q の左上角の座標 = (3,0) (6) 交換する矩形の幅 = 2 (7) 交換する矩形の高さ = 2 (8) アドレス変換フラグ = 変換を行う この時、アドレス変換回路_0102への入力アドレスが 00
とすると、ステップ_0501において、アドレス00に対応
する座標は(0,0)と求まる。(0,0)は矩形領域 P,Qに含ま
れないのでステップ_0502の判定により、ステップ_0505
に進み、出力アドレスを算出する。その結果出力アドレ
スは 00と求まる。入力のアドレスが 01、02の場合も同
様にステップ_0505に進み、出力アドレスは 01,02とな
る。入力アドレスが 03 である場合は矩形領域 Q に含
まれるので、ステップ_0504に進み出力アドレスは式(7)
より AOUT = 03 - [(3-0)+(0-3)*5] = 15 と求められ 15 となる。以下同様に、4 から 24 までの
アドレスを入力したときの出力アドレスを算出し、入力
前のアドレスに対応する座標にそのアドレスを書き込む
と図7に示すアドレス変換後の座標とアドレスの対応を
得る事ができる。
(1) Display start address = 00 (2) Display width = 5 (3) Display height = 5 (4) Coordinate of upper left corner of rectangle P = (0,3) (5) Upper left corner of rectangle Q (3,0) (6) Width of rectangle to be exchanged = 2 (7) Height of rectangle to be exchanged = 2 (8) Address conversion flag = Perform conversion At this time, input to address conversion circuit_0102 Address is 00
Then, in Step_0501, the coordinates corresponding to the address 00 are obtained as (0, 0). Since (0,0) is not included in the rectangular areas P and Q, it is determined in step _0502 that step _0505
To calculate the output address. As a result, the output address is obtained as 00. When the input address is 01 or 02, the process similarly proceeds to step_0505, and the output address becomes 01 or 02. If the input address is 03, it is included in the rectangular area Q, so go to step _0504 and the output address is calculated by equation (7)
Therefore, AOUT = 03-[(3-0) + (0-3) * 5] = 15 is obtained, which is 15. Similarly, an output address when an address from 4 to 24 is input is calculated, and when the address is written to the coordinate corresponding to the address before input, the correspondence between the coordinate after the address conversion and the address shown in FIG. 7 is obtained. Can do things.

【0029】表示制御部_9909はこの5*5の表示を行うた
めに図6のアドレス変換前のアドレスマップに従い 00か
ら24のアドレスを発生し対応する座標のデータとして表
示を行う。つまり座標(0,0)、(1,0)、(2,0)、(3,0)・・・
のデータを読み出すためにアドレス 00、01、02、03 ・・
・を発生する。これらのアドレスはアドレス変換回路_99
09によって 00、01、02、15・・・と変換されるので、表示
制御部は座標(3,0)データとしてアドレス 15 のデータ
を読み出し表示する。また CPU_9901 によって座標(3,
0)にデータを書き込む場合式(1)によって対応するアド
レスは 03と算出され、CPU_9901はアドレスバス_9905に
アドレス 03 を供給するこのアドレス03 は上記と同様
にアドレス変換回路_0102によって アドレス 15に 変換
されデータは アドレス 15に書き込まれる。このよう
に、本発明の情報処理装置は、わずか 8 項目の、アド
レス変換用データベースの内容を書きかえる事により、
ビデオRAMのアドレスと座標との対応を図7に示す様に二
つの矩形のアドレスを交換した状態にする。この、アド
レスの交換により非常に処理時間のかかるCPU_9901等に
よるビデオRAMのリード、ライトを行う事無く矩形の入
れ換えを行うことができる。
The display control unit_9909 generates addresses from 00 to 24 in accordance with the address map before the address conversion shown in FIG. 6 and displays the data as corresponding coordinate data in order to perform the display of 5 * 5. That is, coordinates (0,0), (1,0), (2,0), (3,0) ...
00, 01, 02, 03
・ Produces These addresses correspond to the address conversion circuit_99
Are converted to 00, 01, 02, 15... By 09, the display control unit reads out the data at the address 15 as the coordinate (3, 0) data and displays it. Also, coordinates (3,
When writing data to (0), the corresponding address is calculated as 03 according to equation (1), and CPU_9901 supplies address 03 to address bus _9905.This address 03 is converted to address 15 by address conversion circuit _0102 in the same manner as above. The converted data is written to address 15. Thus, the information processing apparatus of the present invention rewrites the contents of the address conversion database of only eight items,
The correspondence between the address of the video RAM and the coordinates is such that two rectangular addresses are exchanged as shown in FIG. The exchange of the rectangles can be performed without reading or writing the video RAM by the CPU_9901 or the like, which requires a very long processing time due to the address exchange.

【0030】以上の例では、ビデオRAMのすべての内容
が表示されていたが、図8に示す様にビデオRAMに非表示
範囲がある場合同様の処理で非表示領域にある矩形領域
を取り扱う事ができる。
In the above example, all the contents of the video RAM are displayed. However, when there is a non-display range in the video RAM as shown in FIG. Can be.

【0031】図8では、メモリはアドレス 00 から 24
の25ピクセル分存在するが、表示範囲は アドレス 00か
ら14 の15ピクセル分で表示サイズは 幅 5ピクセル、高
さ 3ピクセルで表示の先頭アドレスは 00 である。この
時、座標とアドレスとの対応は表示範囲だけでなく非表
示範囲も含めて式(1)、(2)、(3)によって対応づける事
ができ非表示範囲の矩形も表示範囲内の矩形と同様に座
標によって位置を指定する事ができる。
In FIG. 8, the memories are addresses 00 to 24.
The display range is 15 pixels from address 00 to 14, the display size is 5 pixels wide and 3 pixels high, and the start address of the display is 00. At this time, the correspondence between the coordinates and the address can be associated not only with the display range but also with the non-display range using the formulas (1), (2), and (3). The position can be specified by the coordinates in the same way as.

【0032】図8において非表示範囲は 3≦yの領域で
あるが、この領域に含まれる左上角の座標(0,3) 、高さ
2、幅 2 の矩形と表示領域内に含まれる左上角の座標
(3,0)、高さ 2、幅 2 の矩形のアドレスの交換を行うと
非表示領域の無い場合と同様に図9の非表示領域を持つV
RAMのアドレス変換後の座標とアドレスの対応の様にな
る。この様に本発明の情報処理装置は表示領域、非表示
領域に関わらず、任意の二つの異なる矩形領域を交換す
る事ができる。
In FIG. 8, the non-display range is an area of 3 ≦ y, and the coordinates (0, 3) of the upper left corner and the height
2, the coordinates of the upper left corner included in the rectangle of width 2 and the display area
When a rectangular address having a height of (3,0) and a width of 2 is exchanged, a V having a non-display area in FIG.
It becomes like the correspondence between the coordinates after the address conversion of the RAM and the address. Thus, the information processing apparatus of the present invention can exchange any two different rectangular areas regardless of the display area and the non-display area.

【0033】特に、非表示領域と表示領域の矩形のアド
レスを交換すると表示としては新たに矩形データを書き
込んだように見える。このことを利用すると、従来の情
報処理装置ではビデオRAMのリード・ライトが多く処理時
間が長かったアニメーション、スクローリング、パンニ
ング等の表示を行うとき、ビデオRAMへのアクセス回数
を減少させる事ができる。
In particular, if the rectangular addresses of the non-display area and the display area are exchanged, the display looks as if new rectangular data has been written. By utilizing this fact, the number of accesses to the video RAM can be reduced when performing display such as animation, scrolling, panning, and the like, in which the processing time is long in the conventional information processing device because the read / write of the video RAM is long. .

【0034】本発明の情報処理装置でアニメーション表
示を行う場合の例として、グラフィカルユーザーインタ
ーフェース表示で良く利用されるボタン押下アニメーシ
ョンについて図10、図11を用いて説明する。図10におい
て、9904はビデオRAMであり、このビデオRAM9904は表示
領域1001と非表示領域1002の二つの領域に分割され、表
示装置9910にはビデオRAM9904中の表示領域1001(先頭
アドレス SA、表示幅W、高さ H)が表示される。このビ
デオRAM9904の表示領域1001内の左上角の座標(px,py)、
幅 pqw、高さ pqhの矩形領域1003に通常時のボタンの絵
を描き、非表示領域1002内の左上角の座標(qx,qy)、幅
pqw、高さ pqhの矩形領域1004に押下状態のボタンの絵
を描くと、表示装置9910には通常状態のボタンの絵が表
示される。
As an example of displaying an animation in the information processing apparatus of the present invention, a button pressing animation frequently used in a graphical user interface display will be described with reference to FIGS. In FIG. 10, reference numeral 9904 denotes a video RAM. This video RAM 9904 is divided into a display area 1001 and a non-display area 1002, and the display device 9910 has a display area 1001 (start address SA, display width, display width) in the video RAM 9904. W, height H) are displayed. The coordinates (px, py) of the upper left corner in the display area 1001 of this video RAM 9904,
Draw a normal button picture in a rectangular area 1003 with width pqw and height pqh, and coordinates (qx, qy) of upper left corner in the non-display area 1002, width
When a picture of a button in a pressed state is drawn in a rectangular area 1004 having a height of pqw and a height of pqh, a picture of a button in a normal state is displayed on the display device 9910.

【0035】つぎに、ボタンの表示を押下状態に変化さ
せるには、アドレス変換データベース_0101の表示先頭
アドレスに SA、表示幅に W、表示高さに Hを登録し、
矩形Pの左上の座標に矩形領域1003の左上角の座標(px,p
y)、矩形Qの左上の座標に矩形領域1004の左上角の座標
(qx,qy)、交換する矩形の幅に矩形領域1003と矩形領域1
004の幅 pqw、交換する矩形の高さに矩形領域1003と矩
形領域1004の高さ pqhを登録し、アドレス変換フラグを
変換を行う状態にする。以上の様に登録されたアドレス
変換データベースに従い、アドレス変換回路は矩形領域
1003のアドレスを矩形領域1004のアドレスに変換し、矩
形領域1004のアドレスを矩形領域1003のアドレスに変換
する。よって、図11に示す様矩形領域1003と矩形領域10
04の表示内容が交換され、矩形領域1003の表示データは
押下状態のボタンの絵となり、表示装置9910には押下状
態のボタンの絵が表示される。
Next, in order to change the display of the button to the pressed state, SA is registered as the display start address, W is displayed as the display width, and H is displayed as the display height of the address conversion database_0101,
The coordinates of the upper left corner of the rectangular area 1003 (px, p
y), the coordinates of the upper left corner of the rectangular area 1004 at the upper left coordinates of the rectangle Q
(qx, qy), rectangular area 1003 and rectangular area 1
The height pqh of the rectangular area 1003 and the height pqh of the rectangular area 1004 are registered in the width pqw of 004 and the height of the rectangle to be exchanged, and the address conversion flag is set to a state where the conversion is performed. According to the address conversion database registered as described above, the address conversion circuit
The address of the rectangular area 1004 is converted to the address of the rectangular area 1003, and the address of the rectangular area 1004 is converted to the address of the rectangular area 1003. Therefore, as shown in FIG.
The display contents of 04 are exchanged, and the display data of the rectangular area 1003 becomes the picture of the pressed button, and the display device 9910 displays the picture of the pressed button.

【0036】更に、ボタンの絵を通常状態のものに戻す
には、アドレスの変換を中止すればよい。つまり、アド
レス変換フラグを変換を行わない状態に書き換えればよ
い。
Further, in order to return the picture of the button to the normal state, the address conversion may be stopped. In other words, the address conversion flag may be rewritten so as not to perform the conversion.

【0037】従来の情報処理装置ではボタンを押した状
態に変えるには矩形領域1003に押下状態のボタンの絵の
データを描き込む必要がある。更に、通常状態に戻すに
は再び矩形領域1003に通常状態のボタンの絵のデータを
描き込む必要がある。このように従来の情報処理装置で
は、ボタンを押す、離すという操作が行われたとき、矩
形領域1003に2回描画データを描き込む必要があった。
それに対し、本発明の情報処理装置ではあらかじめ非表
示領域1002内の矩形領域1004に押下状態のボタンの描画
データを1度描き込めばその後は、ボタンを押す、離す
という操作が何度行われたとしてもアドレスの変換の有
効、無効を切り替えるだけで、描画データを9904に描き
込む必要が無く、ボタンの状態を変化させる事ができ
る。
In the conventional information processing apparatus, it is necessary to draw picture data of the pressed button in the rectangular area 1003 in order to change the button to the pressed state. Furthermore, to return to the normal state, it is necessary to draw the picture data of the button in the normal state again in the rectangular area 1003. As described above, in the conventional information processing apparatus, when the operation of pressing and releasing the button is performed, it is necessary to draw the drawing data twice in the rectangular area 1003.
On the other hand, in the information processing apparatus of the present invention, once the drawing data of the pressed button is drawn once in the rectangular area 1004 in the non-display area 1002, thereafter, the operation of pressing and releasing the button is performed several times. Even just by switching between valid and invalid address conversions, there is no need to draw the drawing data on the 9904, and the state of the button can be changed.

【0038】上記の例は2枚の表示データを入れ換える
事でアニメーションを行う場合について説明したが、2
枚以上の絵を切り換えて行うアニメーション表示も本発
明の情報処理装置により効率よく行う事ができることに
ついて図12から図16を用いて説明する。図12において99
04はビデオRAMであり、このビデオRAM9904は表示領域10
01と非表示領域1002の二つの領域に分割される。この表
示領域1001の先頭アドレスは SA、表示幅は W、表示の
高さは H とする。この時、表示装置9910にはビデオRAM
9904中の表示領域1001が表示される。この時、図12中の
矩形領域1201,1202,1203,1204,1205に描かれた絵を順に
表示装置_9910に表示し、アニメーションを行うとす
る。矩形領域1201,12021203,1204,1205の左上角の座標
はそれぞれ (px,py)、(qx1,qy1)、(qx2,qy2)、(qx3,qy
3)、(qx4,qy4)であり、幅、高さはすべて pqw,pqhであ
る。
In the above example, the animation is performed by exchanging two pieces of display data.
With reference to FIGS. 12 to 16, a description will be given of how the information processing apparatus of the present invention can efficiently perform an animation display in which more than one picture is switched. In FIG. 12, 99
04 is a video RAM, and the video RAM 9904 has a display area of 10
It is divided into two areas, 01 and a non-display area 1002. The start address of the display area 1001 is SA, the display width is W, and the display height is H. At this time, the display device 9910 has video RAM
A display area 1001 in 9904 is displayed. At this time, it is assumed that the pictures drawn in the rectangular areas 1201, 1202, 1203, 1204, and 1205 in FIG. 12 are sequentially displayed on the display device_9910 to perform animation. The coordinates of the upper left corner of the rectangular regions 1201, 12021 203, 1204, 1205 are (px, py), (qx1, qy1), (qx2, qy2), (qx3, qy
3), (qx4, qy4), and the width and height are all pqw and pqh.

【0039】まず、元々矩形領域1201に描かれた絵を表
示装置9910に表示するには、アドレスの変換を行う必要
が無いので、アドレス変換データベースのアドレス変換
フラグに変換を行わない状態を書き込む。次に、矩形領
域1202を表示するためには矩形領域1201と矩形領域1202
のアドレスを交換すれば良いのでアドレス変換データベ
ース_0101に以下の内容を書き込めば良い。
First, in order to display the picture originally drawn in the rectangular area 1201 on the display device 9910, it is not necessary to perform address conversion. Therefore, a state in which no conversion is performed is written in the address conversion flag of the address conversion database. Next, in order to display the rectangular area 1202, the rectangular area 1201 and the rectangular area 1202 are displayed.
It is sufficient to write the following content in the address conversion database_0101 because the address of the address is exchanged.

【0040】 (1) 表示先頭アドレス = SA (2) 表示幅 = H (3) 表示高さ = W (4) 矩形 P の左上角の座標 = (px,py) (5) 矩形 Q の左上角の座標 = (qx1,qy1) (6) 交換する矩形の幅 = pqw (7) 交換する矩形の高さ = pqh (8) アドレス変換フラグ = 変換を行う アドレス変換回路_0102は以上の内容の書き込まれたア
ドレス変換データベース_0101に従い、矩形領域1201と
矩形領域12002のアドレスを交換するため、図13に示す
様に図12において矩形領域1202に描かれていた絵が表示
装置9910に表示される。
(1) Display start address = SA (2) Display width = H (3) Display height = W (4) Coordinate of upper left corner of rectangle P = (px, py) (5) Upper left corner of rectangle Q Coordinates = (qx1, qy1) (6) Width of rectangle to be replaced = pqw (7) Height of rectangle to be replaced = pqh (8) Address conversion flag = Perform conversion Address conversion circuit_0102 writes the above contents In order to exchange the addresses of the rectangular area 1201 and the rectangular area 12002 in accordance with the obtained address conversion database_0101, the picture drawn in the rectangular area 1202 in FIG. 12 is displayed on the display device 9910 as shown in FIG.

【0041】この表示を図12において矩形領域_1203に
描かれていた絵に変えるにはアドレス変換データベース
_0101の矩形 Q の左上角の座標を(qx2,qy2)に書き換え
れば良い。これにより、今までアドレスの変換が行われ
ていた矩形領域_1202のアドレスは変換されなくなり、
代わりに矩形領域_1203のアドレスが矩形領域_1201のア
ドレスと交換されるようになる。よって、図14に示す様
に、表示装置_9910には図12において矩形領域_1203に描
かれていた絵が表示される。同様に、図12において矩形
領域1204に描かれていた絵を表示装置_9910に表示する
には矩形 Q の左上角の座標を(qx3,qx3)に書き換えれば
良く、その結果は図15に示す様になる。更に、図16に示
す様に、図12において矩形領域_1205に描かれていた絵
を表示装置_9910に表示するには、矩形 Q の左上角の座
標を (qx4,qy4)に書き換えれば良い。また、図12の表示
状態に戻すにはアドレス変換フラグを変換を行わないよ
うに書き換えれば良い。更にもう一度図12から図16まで
のアニメーションを行うにはアドレス変換データベース
_0101の矩形 Q の左上角の座標を書き換えるだけで行え
る。
To change this display to the picture drawn in the rectangular area_1203 in FIG. 12, an address conversion database
The coordinates of the upper left corner of the rectangle Q of _0101 can be rewritten to (qx2, qy2). As a result, the address of the rectangular area_1202 whose address has been converted is no longer converted,
Instead, the address of the rectangular area_1203 is exchanged with the address of the rectangular area_1201. Therefore, as shown in FIG. 14, the display device_9910 displays the picture drawn in the rectangular area_1203 in FIG. Similarly, in order to display the picture drawn in the rectangular area 1204 in FIG. 12 on the display device_9910, the coordinates of the upper left corner of the rectangle Q may be rewritten to (qx3, qx3), and the result is shown in FIG. Looks like Further, as shown in FIG. 16, in order to display the picture drawn in the rectangular area_1205 in FIG. 12 on the display device_9910, the coordinates of the upper left corner of the rectangle Q may be rewritten to (qx4, qy4) . In order to return to the display state of FIG. 12, the address conversion flag may be rewritten so as not to perform conversion. To perform the animation from Fig. 12 to Fig. 16 again, the address conversion database
This can be done simply by rewriting the coordinates of the upper left corner of the rectangle Q of _0101.

【0042】以上のアニメーションを従来の表示装置で
行うには順に図12の矩形領域_1201,1202,1203,1204,120
5,1201,1202,1203,1204,1205の内容を矩形領域_1201に
書き込む必要があり、pqw*pqh*10ピクセル分のビデオRA
Mへのアクセスが必要となる。それに対し、本発明の情
報処理装置によるビデオRAMへのアクセスはあらかじめ
行われる矩形領域_1201,1202,1203,1204,1205へ一度だ
けの書き込みのみで、pqw*pqh*5ピクセル分ですむ。
In order to perform the above-mentioned animation on a conventional display device, rectangular regions — 1201, 1202, 1203, 1204, 120 in FIG.
It is necessary to write the contents of 5,1201,1202,1203,1204,1205 to the rectangular area_1201, and the video RA of pqw * pqh * 10 pixels
Access to M is required. On the other hand, the access to the video RAM by the information processing apparatus of the present invention is performed only once in the rectangular areas _1201, 1202, 1203, 1204, and 1205, and requires only pqw * pqh * 5 pixels.

【0043】以上で説明したように、本発明の情報処理
装置は繰り返しの多いアニメーション処理を非常に少な
いビデオRAMへのアクセスで行う事ができる。アニメー
ション表示の他に表示内容の書き換えの多い処理として
はスクローリング、パンニングなどがあるが、これらの
処理も本発明の情報処理装置においてビデオRAMの非表
示領域を有効に利用する事でビデオRAMへのアクセスを
減らす事ができる。
As described above, the information processing apparatus of the present invention can perform animation processing with many repetitions by accessing very few video RAMs. Scrolling, panning, etc. are processing that frequently rewrites display contents in addition to animation display. These processings can also be performed on the video RAM by effectively using the non-display area of the video RAM in the information processing device of the present invention. Access can be reduced.

【0044】以下、スクローリング、パンニングを行う
場合の例について、図17から図22を用いて説明する。図
17において、9904ビデオRAMであり、このビデオRAM_990
4はスタートアドレス SA,幅 W、高さ H の表示領域_100
1と表示領域以外の非表示領域_1002に分割され、表示領
域_1001の内容が表示装置_9910に表示される。この表示
領域_1001中の幅 pqw、高さ pqh で左上角の座標が (p
x,py)である矩形領域_1701に田の字状に「あいうえ」と
描かれた左上角の座標が(qx,qy)である矩形領域_1702の
一部を表示する。まず、矩形領域_1702の左上の位置の
「あ」と描かれた矩形領域である、左上角の座標が(qx,q
y)で幅が pqw、高さが pqh である矩形領域_1703の内容
を表示するには、アドレス変換データベース_0101に以
下の内容を書き込めば良い。
An example of scrolling and panning will be described below with reference to FIGS. 17 to 22. Figure
17 is 9904 video RAM, and this video RAM_990
4 is the display area_100 of start address SA, width W, height H
1 and a non-display area_1002 other than the display area, and the contents of the display area_1001 are displayed on the display device_9910. In the display area_1001, the coordinates of the upper left corner with the width pqw and height pqh are (p
A part of the rectangular area_1702 whose upper left corner is (qx, qy) drawn in a cross-shaped “Aie” is displayed in the rectangular area_1701 of (x, py). First, the coordinates of the upper left corner of the rectangular area drawn as “A” at the upper left position of the rectangular area_1702 are (qx, q
In order to display the contents of the rectangular area_1703 having a width of pqw and a height of pqh in y), the following contents may be written in the address conversion database_0101.

【0045】 (1) 表示先頭アドレス = SA (2) 表示幅 = H (3) 表示高さ = W (4) 矩形 P の左上角の座標 = (px,py) (5) 矩形 Q の左上角の座標 = (qx,qy) (6) 交換する矩形の幅 = pqw (7) 交換する矩形の高さ = pqh (8) アドレス変換フラグ = 変換を行う アドレス変換回路_0102は以上の内容の書き込まれたア
ドレス変換データベース_0101に従い、矩形領域_1701と
矩形領域_1703のアドレスを交換し、図18に示す様に、
図17において矩形領域_1703に描かれていた内容が表示
される。
(1) Display start address = SA (2) Display width = H (3) Display height = W (4) Coordinate of upper left corner of rectangle P = (px, py) (5) Upper left corner of rectangle Q Coordinate = (qx, qy) (6) Width of rectangle to be replaced = pqw (7) Height of rectangle to be replaced = pqh (8) Address conversion flag = Perform conversion Address conversion circuit_0102 writes the above contents According to the address conversion database _0101, the addresses of the rectangular area_1701 and the rectangular area_1703 are exchanged, and as shown in FIG.
The content drawn in the rectangular area_1703 in FIG. 17 is displayed.

【0046】次に、図19に示す様に、矩形領域_1703か
ら5ピクセル下に移動した矩形領域1901を表示するため
には、アドレス変換データベース_0101の矩形 Q の左上
角の座標を (px,qy+5) に書き換えれば良い。これによ
り、矩形領域_1701と矩形領域_1703のアドレス交換は行
われなくなり、代わりに矩形領域_1701と矩形領域_1901
のアドレスの交換が行われ、図20に示す様、図19におけ
る矩形領域_1901の内容が表示装置_9910に表示される。
更に5ピクセル下に移動した領域を表示を行うことは矩
形 Q の左上角の座標 を (qx,qy+5+5)に書き換えること
で可能である。この様に下方向に移動した絵の内容を表
示するには移動したいピクセル数だけ矩形Q の左上角の
座標の y座標に加算すれば良い。また反対に上方向に移
動した絵の内容を表示したい場合は移動したいピクセル
数だけ矩形 Q の左上角の座標のy座標から減ずれば良
い。この様に表示の内容を上下移動するスクローリング
を行うことは矩形 Q の左上角の座標の y座標に移動量
を加減することで可能であるが、同様に左右方向に表示
の内容を移動するパンニングを行うには矩形 Q の左上
角の座標の x座標に移動量を加減すればよい。
Next, as shown in FIG. 19, in order to display the rectangular area 1901 moved 5 pixels below the rectangular area_1703, the coordinates of the upper left corner of the rectangle Q in the address conversion database_0101 must be changed to (px , qy + 5). As a result, the address exchange between the rectangular area_1701 and the rectangular area_1703 is not performed, and instead, the rectangular area_1701 and the rectangular area_1901 are replaced.
Are exchanged, and as shown in FIG. 20, the content of the rectangular area_1901 in FIG. 19 is displayed on the display device_9910.
Further display of the area moved 5 pixels down is possible by rewriting the coordinates of the upper left corner of the rectangle Q to (qx, qy + 5 + 5). In order to display the contents of the picture moved downward in this manner, the number of pixels to be moved may be added to the y coordinate of the coordinate of the upper left corner of the rectangle Q. Conversely, if you want to display the contents of the picture that has moved upward, you only need to subtract the number of pixels you want to move from the y coordinate of the upper left corner of the rectangle Q. Scrolling the display contents up and down in this way is possible by adjusting the amount of movement to the y coordinate of the upper left corner of the rectangle Q, but similarly moving the display contents in the left and right direction Panning is performed by adding or subtracting the amount of movement to the x coordinate of the upper left corner of the rectangle Q.

【0047】例として、図18に示すように、矩形領域_1
701 を矩形 P、矩形領域_1703 を矩形 Q とし、この二
つの矩形領域のアドレスを交換することによって、図17
の矩形領域_1703に表示されていた内容が表示されてい
る状態から右に10ピクセル移動した領域を表示すること
を考える。図21に示すように、矩形領域_1703 から右へ
10ピクセル移動した矩形領域_2101を表示するには、矩
形領域_1701 と矩形領域_2101のアドレスを交換するよ
うにアドレス変換データベースの内容を書き換えればよ
い。つまり、矩形 Q の左上角の座標の x座標に 10 を
加えれば、図22に示す様に図22に示す様にアドレス変換
前に矩形領域_2101 に描かれていた内容が表示装置_990
1 に表示される。
As an example, as shown in FIG.
701 is defined as a rectangle P, and the rectangle area_1703 is defined as a rectangle Q. By exchanging the addresses of these two rectangle areas, FIG.
Consider displaying an area that is shifted 10 pixels to the right from the state where the content displayed in the rectangular area_1703 is displayed. As shown in FIG. 21, from the rectangular area_1703 to the right
To display the rectangular area_2101 shifted by 10 pixels, the contents of the address conversion database may be rewritten so that the addresses of the rectangular area_1701 and the rectangular area_2101 are exchanged. That is, if 10 is added to the x coordinate of the coordinate of the upper left corner of the rectangle Q, the contents drawn in the rectangular area_2101 before the address conversion as shown in FIG.
Appears on 1.

【0048】以上で説明したように、矩形 Q の左上角
の座標の y座標、x座標をそれぞれ単独で変化させる
と、スクローリング、パンニングができる。さらに、矩
形 Q の左上角の座標の y座標、x座標を同時に変化させ
ると、斜め方向への表示内容の移動もできる。例えば、
図18に示すように、矩形領域_1701 を矩形 P、矩形領域
_1703 を矩形 Q とし、この二つの矩形領域のアドレス
を交換することによって、図17の矩形領域_1703に表示
されていた内容が表示されている状態から右に10ピクセ
ル、下に5ピクセル移動した領域を表示するとする。図2
3に示すように、矩形領域_1703 から右へ10ピクセル、
下へ5ピクセル移動した矩形領域_2301を表示するには、
矩形領域_1701 と矩形領域_2301のアドレスを交換する
ようにアドレス変換データベースの内容を書き換えれば
よい。つまり、矩形 Q の左上角の座標の x座標に 10
を加え、y座標に 5を加えれば、図24に示す様に図23の
アドレス変換前の矩形領域_2301 に描かれていた内容が
表示装置_9901 に表示される。この様に、本発明の情報
処理装置によればビデオRAM_9904の内容を変更すること
なく表示画面のある一部矩形領域の表示内容を任意の方
向へ移動表示することが可能である。このため、CPU_99
01等によるビデオRAM_9904へのアクセス回数を減らすこ
とができ、スムーズな表示の変更を行いつつ、通信など
の他の処理を効率良く行うことができる。
As described above, scrolling and panning can be performed by independently changing the y coordinate and the x coordinate of the coordinates of the upper left corner of the rectangle Q. Further, by simultaneously changing the y coordinate and the x coordinate of the coordinates of the upper left corner of the rectangle Q, the display contents can be moved in an oblique direction. For example,
As shown in FIG. 18, a rectangular area_1701 is a rectangular P, a rectangular area
By changing the address of these two rectangular areas by replacing _1703 with a rectangle Q, the contents displayed in the rectangular area _1703 in FIG. 17 were moved 10 pixels to the right and 5 pixels down from the state displayed. Suppose you want to display an area. Figure 2
As shown in 3, 10 pixels to the right from the rectangular area_1703,
To display the rectangular area _2301 moved 5 pixels down,
What is necessary is just to rewrite the contents of the address conversion database so that the addresses of the rectangular area_1701 and the rectangular area_2301 are exchanged. That is, the x coordinate of the upper left corner of the rectangle Q is 10
, And adding 5 to the y-coordinate, the contents drawn in the rectangular area_2301 before the address conversion in FIG. 23 are displayed on the display device_9901 as shown in FIG. As described above, according to the information processing apparatus of the present invention, it is possible to move and display the display content of a partial rectangular area on the display screen in an arbitrary direction without changing the content of the video RAM_9904. Therefore, CPU_99
The number of accesses to the video RAM_9904 by 01 or the like can be reduced, and other processes such as communication can be efficiently performed while smoothly changing the display.

【0049】以上の例では、表示領域の一部分の矩形領
域おけるアニメーション、スクローリング、パンニン
グ、斜め方向への移動表示について説明したが、交換す
る矩形領域を表示領域全域とすれば全表示画面のアニメ
ーション、スクローリング、パンニング、斜め方向への
移動表示も可能である。
In the above example, animation, scrolling, panning, and moving display in a diagonal direction in a rectangular area of a part of the display area have been described. , Scrolling, panning, and moving display in an oblique direction are also possible.

【0050】また、表示領域の一部矩形領域へのウイン
ドウの表示、消去や移動表示も効率良く行える。図25に
示すように、表示領域_1001にある背景表示の内容が書
き込まれ、非表示領域_1002内の矩形領域_2502 にウイ
ンドウが描かれているとする。この時、表示領域_1001
内の矩形領域_2501 に矩形領域_2502 に描かれたウイン
ドウを表示するには、矩形領域_2501 と矩形領域_2502
のアドレスの交換を行うようアドレス変換データベース
_0101の内容を書き換えればよい。この様に矩形の交換
を行えば、図26に示すよう、表示領域_1001中の矩形領
域_2501 にウインドウの表示内容が移り、このウインド
ウによって隠れてしまう、背景の表示データは失われる
ことなく、非表示領域_1002中の矩形領域_2502へ移る。
このため、この矩形領域_2501に表示されたウインドウ
を閉じるする場合、この矩形領域_2501に背景の内容を
描き直す必要はなく、矩形領_2501と矩形領域_2502のア
ドレス交換を行わないようアドレス変換データベース_0
101の内容を書き換えればよい。この様にすると、ビデ
オRAMの内容と座標の対応は図25の状態に戻り、元々表
示されていた背景が表示されるようになる。
Further, the display, deletion, and moving display of the window in a rectangular area of the display area can be performed efficiently. As shown in FIG. 25, it is assumed that the content of the background display in the display area_1001 is written, and a window is drawn in the rectangular area_2502 in the non-display area_11002. At this time, the display area_1001
To display the window drawn in the rectangular area_2502 in the rectangular area_2501 inside the rectangular area_2501 and the rectangular area_2502
Address conversion database to exchange addresses
What is necessary is just to rewrite the content of _0101. When the rectangles are exchanged in this manner, as shown in FIG. 26, the display contents of the window are moved to the rectangular area_2501 in the display area_1001, and the display data of the background is hidden without being lost by this window. To the rectangular area_2502 in the non-display area_1002.
For this reason, when closing the window displayed in this rectangular area_2501, there is no need to redraw the contents of the background in this rectangular area_2501, and do not exchange addresses between the rectangular area_2501 and the rectangular area_2502. Address translation database_0
What is necessary is just to rewrite the content of 101. In this way, the correspondence between the contents of the video RAM and the coordinates returns to the state shown in FIG. 25, and the originally displayed background is displayed.

【0051】ウインドウの移動も同様にアドレス変換デ
ータベースの書き換えによって行うことができる。図27
に示す表示領域_1001中の矩形領域_2501にウインドウの
表示を行った後そのウインドウを矩形領域_2701に移動
するとする。まず、矩形領域_2501 と矩形領域_2502 の
アドレスの交換を行うようアドレス変換データベースに
登録すると図26に示すように矩形領域_2501にウインド
ウの表示データを移すことができる。次に、アドレス変
換データベースを矩形領域_2701と矩形領域_2502の交換
を行うよう書き換えると、矩形領域_2501と矩形領域250
2の交換は行われなくなるので、矩形領域_2501には元々
表示されていた背景が表示され、矩形領域_2701にはウ
インドウが表示され、図28に示すような状態に変化す
る。この様に、ウインドウの移動を行えばウインドウの
表示されている矩形領域の背景の内容が矩形領域_2502
に保持されているので、ウインドウの移動を行った後で
も、アドレス変換を行わないようアドレス変換データベ
ースを書き直すだけで、容易にウインドウを閉じること
ができる。
Similarly, the window can be moved by rewriting the address conversion database. Figure 27
Assume that a window is displayed in the rectangular area_2501 in the display area_1001 and then the window is moved to the rectangular area_2701. First, if the addresses of the rectangular area_2501 and the rectangular area_2502 are registered in the address conversion database so as to be exchanged, the display data of the window can be moved to the rectangular area_2501 as shown in FIG. Next, when the address conversion database is rewritten to exchange the rectangular area_2701 and the rectangular area_2502, the rectangular area_2501 and the rectangular area 250
Since the exchange of 2 is not performed, the background that was originally displayed is displayed in the rectangular area_2501, and a window is displayed in the rectangular area_2701, and the state changes as shown in FIG. In this way, if the window is moved, the background content of the rectangular area in which the window is displayed becomes rectangular area_2502.
Therefore, even after the window is moved, the window can be easily closed simply by rewriting the address conversion database so as not to perform the address conversion.

【0052】以上の例では、一組の共通領域を持たない
矩形領域のアドレスの交換を行う装置について説明した
が、この装置を複数組みの共通領域を持たない矩形領域
のアドレスの交換を行えるよう拡張できる。例えば、3
組みの矩形領域 (P1 と Q1)、(P2 と Q2)、(P3 と Q3)
のアドレスの交換を行うようにするには、アドレス変換
データベース_0101を図29に示す内容を書き込める拡張
し、アドレス変換回路_0102を図30のフローチャートに
したがってアドレスの変換を行うよう変更すればよい。
図29に示すアドレス変換データベースの内容は、アドレ
スと座標との対応を求めるのに必要となる表示スタート
アドレス SA、表示画面の幅 W、高さ H、と交換を行う
3組みの矩形の左上角の座標(px1,py1), (qx1,qy1), (p
x2,py2), (qx2,qy2), (px3,py3), (qx3,qy3)とそれぞれ
の組みの矩形領域の幅 pqw1, pqw2, pqw3、高さ pqh1,
pqh2, pqh3 と指定の矩形の組みの矩形領域のアドレ
スの交換を行うかどうかを表すアドレス変換フラグ F1,
F2, F3 である。
In the above example, an apparatus for exchanging addresses of a rectangular area having no set of common areas has been described. However, this apparatus can exchange addresses of a rectangular area having no sets of common areas. Can be extended. For example, 3
Set of rectangular areas (P1 and Q1), (P2 and Q2), (P3 and Q3)
In order to perform the address exchange, the address conversion database _0101 may be expanded so that the contents shown in FIG. 29 can be written, and the address conversion circuit _0102 may be changed to perform the address conversion according to the flowchart of FIG. .
The contents of the address conversion database shown in FIG. 29 are exchanged with the display start address SA, the display screen width W, and the display screen width H required to obtain the correspondence between the address and the coordinates.
The coordinates of the upper left corner of the three pairs of rectangles (px1, py1), (qx1, qy1), (p
x2, py2), (qx2, qy2), (px3, py3), (qx3, qy3) and the width pqw1, pqw2, pqw3, height pqh1,
Address conversion flag F1, which indicates whether to exchange the address of the rectangular area of the specified rectangular group with pqh2, pqh3
F2 and F3.

【0053】アドレス変換回路_0102 は図29に示すアド
レス変換データベース_0101の内容を参照し、アドレス
の変換を行う。この手順を図30のフローチャートを用い
て説明する。まず、ステップ_3001 において、アドレス
変換フラグ1 が変換を行うとなっていれば行う変換は
(px1,py1)を(px,py)、(qx1,qy1)を(qx,qy)、pqw1をpq
w、pqh1をpqhに対応させ図5のフローチャートにしたが
ってアドレスの変換を行う。ステップ_3002において
は、アドレス変換フラグ2が変換を行うとなっていれ
ば、(px2,py2)を(px,py)、(qx2,qy2)を(qx,qy)、pqw2を
pqw、pqh2をpqhに対応させ図5のフローチャートにした
がってステップ_3001で変換したアドレスを更に変換す
る。ステップ_3003においては、アドレス変換フラグ3が
変換を行うとなっていれば、(px3,py3)を(px,py)、(qx
3,qy3)を(qx,qy)、pqw3をpqw、pqh3をpqhに対応させ図5
のフローチャートにしたがってステップ_3002で変換し
たアドレスを更に変換する。以上の様に、アドレス変換
回路_0102はステップ_3001からステップ_3003によって
三段階変換されたアドレスを出力する。
The address conversion circuit_0102 performs address conversion with reference to the contents of the address conversion database_0101 shown in FIG. This procedure will be described with reference to the flowchart in FIG. First, in step _3001, if the address conversion flag 1 is set to perform conversion, the conversion to be performed is
(px1, py1) is (px, py), (qx1, qy1) is (qx, qy), pqw1 is pq
Address conversion is performed according to the flowchart of FIG. 5 by making w and pqh1 correspond to pqh. In step _3002, if the address conversion flag 2 is to perform conversion, (px2, py2) is (px, py), (qx2, qy2) is (qx, qy), and pqw2 is
pqw and pqh2 are made to correspond to pqh, and the address converted in step_3001 is further converted according to the flowchart of FIG. In step _3003, if the address conversion flag 3 indicates that conversion is to be performed, (px3, py3) is changed to (px, py), (qx
(3, qy3) corresponds to (qx, qy), pqw3 corresponds to pqw, and pqh3 corresponds to pqh.
The address converted in step_3002 is further converted according to the flowchart of FIG. As described above, the address conversion circuit_0102 outputs the address that has been converted in three steps by Step_3001 to Step_3003.

【0054】この様に、3組の矩形領域のアドレスの交
換を行える情報処理装置では3つのウインドウのオーバ
ーラップ表示、そのウインドウの消去や移動をビデオRA
Mの非表示領域を有効に利用することで、ビデオRAMにア
クセスすることなく行うことができる。以下、図31から
図34を用いてオーバーラップウインドウの表示について
説明する。図31において、9904ビデオRAMであり、この
ビデオRAM_9904はスタートアドレス SA,幅 W、高さ H
の表示領域_1001と表示領域以外の非表示領域_1002に分
割され、表示領域_1001の内容が表示装置_9910に表示さ
れる。非表示領域_1002中の矩形領域_3101、矩形領域_3
102、矩形領域_3103にはこれから、表示を行う3つのウ
インドウの表示データが書き込まれているとする。この
時、まず矩形領域3101に描かれているウインドウ1を矩
形領域_3104に表示するために、矩形領域_3101、矩形領
域_3104を矩形 P1、Q1として、矩形 P1の左上角の座標
に矩形領域_3101の左上角の座標、矩形 Q1 の左上角の
座標に矩形領域_3104の左上角の座標、交換する矩形の
幅1と高さ1にウインドウ1のデータの描き込まれている
矩形領域_3101の幅と高さを書き込み、アドレス変換フ
ラグ1をアドレスの変換を行うとすると、図32に示す様
にウインドウ1の表示データが矩形領域_3104に移りウイ
ンドウ1が表示される。つぎに、矩形領域_3102に描かれ
たウインドウ2をウインドウ1の表示されている領域_310
4と共通部分を持つ矩形領域_3105に表示する。この時、
ウインドウ2はウインドウ1の上に重なるように表示を行
う。矩形領域_3102、矩形領域_3105を矩形 P2、Q2とし
て、矩形 P2の左上角の座標に矩形領域_3102の左上角の
座標、矩形 Q2 の左上角の座標に矩形領域_3105の左上
角の座標、交換する矩形の幅2と高さ2にウインドウ2の
データの描き込まれている矩形領域_3102の幅と高さを
書き込み、アドレス変換フラグ2をアドレスの変換を行
うとすると、図33に示す様にウインドウ2の表示データ
が矩形領域_3105に移りウインドウ2が表示される。更
に、矩形領域_3103に描かれているウインドウ3をその上
に重なるように矩形領域_3106に表示するには、矩形領
域_3103、矩形領域_3106を矩形 P3、Q3として、矩形 P3
の左上角の座標に矩形領域_3103の左上角の座標、矩形
Q3 の左上角の座標に矩形領域_3106の左上角の座標、交
換する矩形の幅3と高さ3にウインドウ2のデータの描き
込まれている矩形領域_3103の幅と高さを書き込み、ア
ドレス変換フラグ3をアドレスの変換を行うとすると、
図34に示す様にウインドウ3の表示データが矩形領域_31
06に移りウインドウ3が表示される。
As described above, in the information processing apparatus capable of exchanging the addresses of three sets of rectangular areas, the overlapping display of three windows and the erasing and moving of the windows are performed by the video RA.
By effectively using the non-display area of M, it can be performed without accessing the video RAM. Hereinafter, the display of the overlap window will be described with reference to FIGS. In FIG. 31, 9904 is a video RAM, which has a start address SA, a width W, and a height H.
Is divided into a display area_1001 and a non-display area_1002 other than the display area, and the contents of the display area_1001 are displayed on the display device_9910. Rectangular area_3101 in non-display area_1002, rectangular area_3
It is assumed that display data of three windows to be displayed has been written in the rectangular area_3103 from now on. At this time, first, in order to display the window 1 drawn in the rectangular area 3101 in the rectangular area_3104, the rectangular area_3101 and the rectangular area_3104 are defined as rectangles P1 and Q1, and the rectangle is set at the coordinates of the upper left corner of the rectangle P1. The coordinates of the upper left corner of area_3101, the coordinates of the upper left corner of rectangle Q1 in the upper left corner, and the coordinates of the upper left corner of rectangle area_3104, and the rectangular area in which the data of window 1 is drawn in width 1 and height 1 of the rectangle to be exchanged When the width and height of _3101 are written and the address conversion flag 1 is used to convert the address, the display data of window 1 moves to the rectangular area _3104 and window 1 is displayed as shown in FIG. Next, the window 2 drawn in the rectangular area_3102 is changed to the area_310 where the window 1 is displayed.
It is displayed in the rectangular area_3105 having the common part with 4. At this time,
Window 2 is displayed so as to overlap window 1. The rectangular area_3102 and the rectangular area_3105 are defined as rectangles P2 and Q2, and the coordinates of the upper left corner of the rectangular area_3102 are defined as the coordinates of the upper left corner of the rectangle P2, and the upper left corner of the rectangular area_3105 are defined as the coordinates of the upper left corner of the rectangle Q2. Assuming that the coordinates and the width and height of the rectangular area_3102 in which the data of the window 2 is drawn are written in the width 2 and height 2 of the rectangle to be exchanged, and the address conversion flag 2 is used to convert the address, FIG. The display data of the window 2 is moved to the rectangular area_3105 as shown in FIG. Further, in order to display the window 3 drawn in the rectangular area_3103 in the rectangular area_3106 so as to be superimposed thereon, the rectangular area_3103 and the rectangular area_3106 are defined as rectangles P3 and Q3, and the rectangle P3
The coordinates of the upper left corner of the rectangular area_3103 to the coordinates of the upper left corner of the rectangle
Write the coordinates of the upper left corner of the rectangular area _3106 in the coordinates of the upper left corner of Q3, and the width and height of the rectangular area _3103 in which the data of window 2 is drawn in the width 3 and height 3 of the rectangle to be exchanged, If the address conversion flag 3 is used to perform address conversion,
As shown in FIG. 34, the display data of window 3 is rectangular area_31.
The window moves to 06 and window 3 is displayed.

【0055】ウインドウ3がウインドウ1,2の上に重な
り、ウインドウ2がウインドウ1の上に重なるように表示
されるのはアドレスの変換が図30に示すフローチャート
に従い、矩形P1と矩形Q1を交換するアドレス変換を行っ
た結果に対して更に、矩形 P2と矩形 Q2を交換し、更に
その結果に対して矩形 P3 と Q3の交換をするアドレス
変換を行っているためである。もし、ウインドウ1の表
示を矩形 P2 と Q2 の交換によって行い、ウインドウ2
の表示を矩形 P1とQ1の交換によって行うようにアドレ
ス変換のテーブルを書きかえると、ウインドウ1がウイ
ンドウ2の上に重なるように表示される。ウインドウ3は
矩形 P3,Q3の交換によって表示されたままであるので、
ウインドウ1,2の上に重なるように表示される。この様
に、ウインドウ表示の上下関係はアドレス変換の順序を
変えるだけで変える事が出来る。
The window 3 is displayed so as to overlap the windows 1 and 2 and the window 2 is displayed so as to overlap the window 1. The address conversion is performed by exchanging the rectangle P1 and the rectangle Q1 according to the flowchart shown in FIG. This is because rectangles P2 and Q2 are further exchanged for the result of the address translation, and rectangles P3 and Q3 are further exchanged for the result. If window 1 is displayed by exchanging rectangles P2 and Q2,
When the address conversion table is rewritten so that the display of “1” is performed by exchanging the rectangles P1 and Q1, window 1 is displayed so as to overlap window 2. Window 3 remains displayed due to the exchange of rectangles P3 and Q3,
It is displayed so as to overlap windows 1 and 2. In this way, the vertical relationship of the window display can be changed only by changing the address conversion order.

【0056】以上、3組の共通領域を持たない矩形領域
のアドレスの交換を行う情報処理装置について説明した
が、更に、n(正の整数)組の矩形領域のアドレスの交換
を行うように拡張できる。例えば、n組みの矩形領域 (P
1 と Q1)、(P2 と Q2)、・・・、(Pn と Qn)のアドレスの
交換を行うようにするには、アドレス変換データベース
_0101を図35に示す内容を書き込める拡張し、アドレス
変換回路_0102を図36のフローチャートにしたがってア
ドレスの変換を行うよう変更すればよい。図35に示すア
ドレス変換データベースの内容は、アドレスと座標との
対応を求めるのに必要となる表示スタートアドレス S
A、表示画面の幅 W、高さ H、と交換を行うn組みの矩
形の左上角の座標(px1,py1), (qx1,qy1), (px2,py2),
(qx2,qy2), ・・・, (pxn,pyn), (qxn,qyn)とそれぞれの組
みの矩形領域の幅 pqw1, pqw2, ・・・, pqwn、高さ pqh1,
pqh2, ・・・, pqhn と指定の矩形の組みの矩形領域のア
ドレスの交換を行うかどうかを表すアドレス変換フラグ
F1, F2, ・・・, Fn である。
The information processing apparatus for exchanging addresses of rectangular areas not having three sets of common areas has been described above. However, the information processing apparatus is further extended to exchange addresses of n (positive integers) rectangular areas. it can. For example, n sets of rectangular areas (P
1 and Q1), (P2 and Q2), ..., (Pn and Qn)
_0101 may be expanded so that the contents shown in FIG. 35 can be written, and the address conversion circuit _0102 may be changed to perform address conversion according to the flowchart of FIG. The contents of the address conversion database shown in FIG. 35 are the display start address S required to obtain the correspondence between the address and the coordinates.
A, the width W of the display screen, the height H, and the coordinates of the upper left corner of the n pairs of rectangles to be exchanged (px1, py1), (qx1, qy1), (px2, py2),
(qx2, qy2), ..., (pxn, pyn), (qxn, qyn) and the width pqw1, pqw2, ..., pqwn, height pqh1,
Address conversion flag that indicates whether to exchange the address of the rectangular area of the set of pqh2, ..., pqhn and the specified rectangle
F1, F2, ..., Fn.

【0057】アドレス変換回路_0102 は図35に示すアド
レス変換データベース_0101の内容を参照し、アドレス
の変換を行う。この手順を図36のフローチャートを用い
て説明する。まず、ステップ_3601 において、アドレス
変換フラグ1 が変換を行うとなっていれば行う変換は
(px1,py1)を(px,py)、(qx1,qy1)を(qx,qy)、pqw1をpq
w、pqh1をpqhに対応させ図5のフローチャートにしたが
ってアドレスの変換を行う。ステップ_3602において
は、アドレス変換フラグ2が変換を行うとなっていれ
ば、(px2,py2)を(px,py)、(qx2,qy2)を(qx,qy)、pqw2を
pqw、pqh2をpqhに対応させ図5のフローチャートにした
がってステップ_3601で変換したアドレスを更に変換す
る。この様に、各ステップで変換したアドレスを更に次
のステップで変換するという処理を順に行いステップ_3
60nにおいては、アドレス変換フラグnが変換を行うとな
っていれば、(pxn,pyn)を(px,py)、(qxn,qyn)を(qx,q
y)、pqwnをpqw、pqhnをpqhに対応させ図5のフローチャ
ートにしたがってステップ_360n-1で変換したアドレス
を更に変換する。以上の様にアドレス変換回路_0102は
ステップ_3601からステップ_360nによってn段階変換さ
れたアドレスを出力する。
The address conversion circuit _0102 performs address conversion with reference to the contents of the address conversion database _0101 shown in FIG. This procedure will be described with reference to the flowchart in FIG. First, in step _3601, if the address conversion flag 1 indicates that conversion is to be performed,
(px1, py1) is (px, py), (qx1, qy1) is (qx, qy), pqw1 is pq
Address conversion is performed according to the flowchart of FIG. 5 by making w and pqh1 correspond to pqh. In step _3602, if the address conversion flag 2 is to perform conversion, (px2, py2) is (px, py), (qx2, qy2) is (qx, qy), and pqw2 is
pqw and pqh2 are made to correspond to pqh, and the address converted in step_3601 is further converted according to the flowchart of FIG. In this way, the address converted in each step is further converted in the next step, and the processing is sequentially performed in step_3.
In 60n, if the address conversion flag n is set to perform conversion, (pxn, pyn) is set to (px, py), and (qxn, qyn) is set to (qx, q
y), pqwn corresponds to pqw, pqhn corresponds to pqh, and the address converted in step_360n-1 is further converted according to the flowchart of FIG. As described above, the address conversion circuit_0102 outputs an address that has been converted by n stages in steps 3601 to 360n.

【0058】この、n組の矩形領域のアドレスの交換を
行う装置は、1組の矩形領域のアドレスの交換を行う装
置と同様にアドレス変換のデータベースを書きかえるだ
けで、ビデオRAMの非表示領域を有効に利用する事によ
って、アニメーション、スクローリング、パンニング、
斜め方向への表示内容の移動、ウインドウの表示、消
去、移動などが行え、3組の矩形領域のアドレスの交換
を行う装置と同様に n枚のウインドウのオーバーラップ
表示の制御を行える。
The device for exchanging the addresses of the n sets of rectangular areas, like the apparatus for exchanging the addresses of one set of rectangular areas, simply rewrites the database for address conversion, and only converts the non-display area of the video RAM. Animation, scrolling, panning,
The display contents can be moved in an oblique direction, windows can be displayed, erased, moved, etc., and overlap display of n windows can be controlled in the same way as a device that exchanges addresses of three rectangular areas.

【0059】以上で説明した、装置では共通部分を持つ
矩形領域の交換はできなかったが、共通部分を持つ場合
もアドレスの変換を行えるよう拡張した例について図
4、図5、図37から図45を用いて説明する。図37に示す様
に、共通部分を持つ二つの矩形P,Qの入れ換えを行う
時、その入れ換えは図4に示すアドレス変換データベー
ス_0101の内容を参照して行う。矩形 P,Qが共通部分を
持たない場合はこれまでに説明したように図5のフロー
チャートに従ってアドレスの変換を行い、共通部分を持
っている場合は図38に示す様、矩形 P,Qの共通部分は
矩形 Pに含まれるものとして従来どおり矩形 Q の位置
に移動し、共通部分以外の矩形 Q に含まれる点は共通
部分以外の矩形 Pの部分に移動するように行う。図38に
示す様な移動は、図39に示すフローチャートに従ったア
ドレス変換で実現される。
As described above, the apparatus cannot exchange a rectangular area having a common part, but an example in which an address can be converted even when the apparatus has a common part is shown in FIG.
This will be described with reference to FIGS. 4, 5, and 37 to 45. As shown in FIG. 37, when two rectangles P and Q having a common part are exchanged, the exchange is performed with reference to the contents of the address translation database_0101 shown in FIG. If rectangles P and Q do not have a common part, address conversion is performed according to the flowchart of FIG. 5 as described above, and if rectangles P and Q have a common part, as shown in FIG. Part
Move to the position of the rectangle Q as included in the rectangle P as before, and move the points included in the rectangle Q other than the common part to the part of the rectangle P other than the common part. The movement as shown in FIG. 38 is realized by address conversion according to the flowchart shown in FIG.

【0060】図37に示す3701はビデオRAMとし、ビデオR
AM_3701上の矩形 P は左上角の座標を (px,py)とし、幅
pqw、高さ pqhの矩形であり、矩形 Q は左上角の座標
を (qx,qy)とし、幅 pqw、高さ pqhの矩形である。図38
に示す3801はアドレス変換後のビデオRAMのイメージを
表している。まず、アドレス変換前のビデオRAM_3701を
図38に示すように、矩形 P,Qによって以下の5つの領域
の分割して考える。
A video RAM 3701 shown in FIG.
The rectangle P on AM_3701 has the coordinates of the upper left corner as (px, py), and the width is
It is a rectangle with pqw and height pqh, and rectangle Q is a rectangle with width pqw and height pqh, where the coordinates of the upper left corner are (qx, qy). Figure 38
Numeral 3801 shown in the figure indicates an image of the video RAM after the address conversion. First, the video RAM_3701 before address conversion is divided into the following five areas by rectangles P and Q as shown in FIG.

【0061】 (1) P :矩形 P の領域 (2) QX:P,Qの共通部分に含まれない Q の領域のうち、
P の上下方向に位置する領域 (3) QY:P,Qの共通部分に含まれない Q の領域のうち、
P の左右方向に位置する領域 (4) QXY:P,Qの共通部分に含まれない Q の領域のう
ち、QX,QYに含まれない領域 (5) 矩形 P,Qに含まれない領域 アドレス変換後ビデオRAM_3801も矩形 P,Qによって以下
の5つの領域に分割する。
(1) P: area of rectangular P (2) QX: of area of Q not included in the common part of P and Q,
Area located in the vertical direction of P (3) QY: Of the area of Q not included in the common part of P and Q,
Area located in the left and right direction of P (4) QXY: Area of Q not included in the common part of P and Q but not included in QX and QY (5) Area not included in rectangles P and Q Address The converted video RAM_3801 is also divided into the following five areas by rectangles P and Q.

【0062】 (1) Q :矩形 Q の領域 (2) PX:P,Qの共通部分に含まれない P の領域のうち、
Q の上下方向に位置する領域 (3) PY:P,Qの共通部分に含まれない P の領域のうち、
Q の左右方向に位置する領域 (4) PXY:P,Qの共通部分に含まれない P の領域のう
ち、PX,PYに含まれない領域 (5) 矩形 P,Qに含まれない領域 アドレスの変換は図38に示す様、以下の様に行われる。
(1) Q: Area of rectangular Q (2) PX: Of areas of P not included in the common part of P and Q,
Areas located in the vertical direction of Q (3) PY: Of the areas of P that are not included in the common part of P and Q,
Area located in the left and right direction of Q (4) PXY: Area of P not included in the common part of P and Q but not included in PX and PY (5) Area not included in rectangle P and Q Address Is performed as follows, as shown in FIG.

【0063】 (1)領域 P のアドレスは 領域 Q のアドレスに変換 (2)領域 QX のアドレスは 領域 PX のアドレスに変換 (3)領域 QY のアドレスは 領域 PY のアドレスに変換 (4)領域 QXY のアドレスは 領域 PXY のアドレスに変換 (5)矩形 P,Qに含まれない領域は アドレスの変換を行わ
ない アドレス変換回路_0102はアドレス変換フラグが変換を
行うとなっている時、座標変換データベース_0101を参
照し、入力アドレス AIN を出力アドレス AOUTへ変換を
行う。このアドレス変換の手順を図39に示すフローチャ
ートを用いて説明する。まず、ステップ_3901において
式(2)、(3)を用いて入力アドレス AIN に対応する座標
(x,y)を算出する。次に、ステップ_3902においてステッ
プ_3901で算出した座標 (x,y)がビデオRAM上のどの領域
に含まれるかを判定する。
(1) The address of area P is converted to the address of area Q. (2) The address of area QX is converted to the address of area PX. (3) The address of area QY is converted to the address of area PY. (4) The area QXY Address is converted to the address of area PXY (5) Areas not included in rectangles P and Q do not perform address conversion The address conversion circuit_0102 performs coordinate conversion when the address conversion flag is set to perform conversion. Convert input address AIN to output address AOUT by referring to _0101. The procedure of the address conversion will be described with reference to the flowchart shown in FIG. First, in step _3901, the coordinates corresponding to the input address AIN are calculated using equations (2) and (3).
Calculate (x, y). Next, in step_3902, it is determined in which area on the video RAM the coordinates (x, y) calculated in step_3901 are included.

【0064】矩形領域 P に含まれる場合、つまり、式
(9)が成り立つ場合、ステップ_3903に進み AOUT を式(1
0)に従い算出する。
In the case of being included in the rectangular area P, that is,
If (9) is satisfied, proceed to step _3903 to convert AOUT into equation (1
0).

【0065】 (px≦x<px+pqw) and (py≦y<py+pqh)・・・(9) AOUT=SA+(x+(qx-px))+(y+(qy-py))*W・・・(10) この式(10)の第2項目中の qx-px は矩形 P から 矩形 Q
へ移動する時の x座標の変化量であり、第3項目中の q
y-py は矩形 P から 矩形 Q へ 移動する時のy座標の変
化量を表しており、移動先の座標は (x+(px-qy), y+(qy
-py))であり、これを式(1)によりアドレスに変換して移
動先のアドレスを算出している。
(Px ≦ x <px + pqw) and (py ≦ y <py + pqh) (9) AOUT = SA + (x + (qx-px)) + (y + (qy-py)) * W ... (10) qx-px in the second item of this equation (10) is from rectangle P to rectangle Q
Is the amount of change in the x coordinate when moving to, and q in the third item
y-py represents the amount of change in the y coordinate when moving from rectangle P to rectangle Q, and the coordinates of the destination are (x + (px-qy), y + (qy
-py)), which is converted into an address by equation (1) to calculate the destination address.

【0066】また、ステップ_3901で算出した座標 (x,
y)が矩形領域 QX に含まれる場合、すなわち次式(11)が
成り立つ場合には、ステップ_3904に進み AOUT を 式(1
2)に従って算出する。
Also, the coordinates (x,
y) is included in the rectangular area QX, that is, when the following equation (11) is satisfied, the process proceeds to step _3904, and AOUT is calculated by the equation (1).
Calculate according to 2).

【0067】 max(py,qy)≦y<min(py+pqh,py+pqh) and [(qx≦x<px) or (px+pqw≦x<px+pqw )]・・・(11) AOUT=SA+x+(y+sign(py-qy)*pqh)*W・・・(12) 式(11)中 max(a,b)は a,b 大きいほうの値を表し、 min
(a,b)は a,b のうち小さいほうの値を表す。また、式(1
2)中の sgn(a)は aの符号を表し a が正の場合は 1、負
の場合は -1、0 の場合は 0 の値をとる。
Max (py, qy) ≦ y <min (py + pqh, py + pqh) and [(qx ≦ x <px) or (px + pqw ≦ x <px + pqw)] (11) AOUT = SA + x + (y + sign (py-qy) * pqh) * W ・ ・ ・ (12) In equation (11), max (a, b) represents the larger value of a and b, and min
(a, b) represents the smaller value of a and b. Equation (1)
Sgn (a) in 2) indicates the sign of a, and takes the value 1 if a is positive, -1 if it is negative, and 0 if it is 0.

【0068】その他に、ステップ_3901において算出し
た座標 (x,y)が 矩形領域 QY に含まれる場合、つま
り、式(13)が成り立つ場合、ステップ_3905に進み AOUT
を式(14)に従い算出する。
In addition, when the coordinates (x, y) calculated in step_3901 are included in the rectangular area QY, that is, when the equation (13) is satisfied, the process proceeds to step_3905 and AOUT
Is calculated according to equation (14).

【0069】 max(px,qx)≦x<min(px+pqw,qx+pqw) and [(qy≦y<py) or (py+pqh≦y<qy+pqh )]・・・(13) AOUT=SA+(x+sgn(px-qx)*pqw)+y*W・・・(14) 矩形領域 QXY にステップ_3901で算出した座標(x,y)が
含まれる場合、つまり、式(15)が成り立つ場合には、ス
テップ_3906に進み 式(16)に従い AOUT を算出する。
Max (px, qx) ≦ x <min (px + pqw, qx + pqw) and [(qy ≦ y <py) or (py + pqh ≦ y <qy + pqh)] (13) AOUT = SA + (x + sgn (px-qx) * pqw) + y * W (14) When the rectangular area QXY contains the coordinates (x, y) calculated in step _3901, If 15) holds, the process proceeds to step_3906 to calculate AOUT according to equation (16).

【0070】 [(qx≦x<px) or (px+pqw≦x<qx+pqw)] and [(qy≦y<py) or (py+pqh≦y<qy+p qh)]・・・(15) AOUT=SA+(x+sgn(px-qx)*pqw)+(y+sgn(py-qy)*pqh)*W・・・(16) そして、矩形領域 P,Q のどちらにも含まれない場合
は、ステップ_3907に進み、次式(17)に従い AOUT を算
出する。
[(Qx ≦ x <px) or (px + pqw ≦ x <qx + pqw)] and [(qy ≦ y <py) or (py + pqh ≦ y <qy + p qh)] (15) AOUT = SA + (x + sgn (px-qx) * pqw) + (y + sgn (py-qy) * pqh) * W ... (16) And both rectangular areas P and Q If not included, the process proceeds to step_3907 to calculate AOUT according to the following equation (17).

【0071】AOUT=AIN・・・(17) 以上の様にステップ_3903、ステップ_3904、ステップ_3
905、ステップ_3906、ステップ_3907のいずれかのステ
ップによって AOUT を算出する事により、図38に示す、
共通部分を持つ矩形領域 P,Qのアドレスの交換を行うこ
とができる。
AOUT = AIN (17) As described above, step_3903, step_3904, step_3
By calculating AOUT by any one of the steps 905, 3906, and 3907, as shown in FIG.
The addresses of rectangular areas P and Q having a common part can be exchanged.

【0072】この様に共通部分を持つ矩形のアドレスの
交換を可能としたことで、ビデオRAMの非表示領域を用
いずにウインドウ表示の移動などの処理にかかわる、ビ
デオRAMへのアクセスの回数を減らすことができる。図4
0に示すようにビデオRAM_4001上の(px,py)を左上角の座
標とし、幅 pqw、高さ pqhの矩形領域_4002を(qx,qy)
に描かれているウインドウの絵を(qx,qy)を左上角の座
標とする_4003に移動する場合を考える。この様な処理
を行う場合、従来の情報処理装置では矩形領域_4002に
ウインドウによって隠れていた絵を書き込み、矩形領域
_4003には矩形領域_4002に描かれていたウインドウの絵
を描きこむ必要があり、2*pqw*pqhピクセル分のデータ
をビデオRAM_4001に描きこむ必要があった。
Since the exchange of the rectangular address having the common part is made possible, the number of accesses to the video RAM related to the processing such as the movement of the window display without using the non-display area of the video RAM can be reduced. Can be reduced. Figure 4
As shown in 0, (px, py) on the video RAM_4001 is the coordinate of the upper left corner, and the rectangular area _4002 with width pqw and height pqh is (qx, qy)
Is moved to _4003, where (qx, qy) is the upper left corner coordinate of the window picture drawn in. When such processing is performed, a picture hidden by a window is written in the rectangular area_4002 in the conventional information processing apparatus, and the rectangular area_4002 is written.
In _4003, it was necessary to draw a picture of the window drawn in the rectangular area _4002, and it was necessary to draw data for 2 * pqw * pqh pixels in the video RAM_4001.

【0073】これに対し、本発明の情報処理装置ではア
ドレス変換回路により図41に示すように矩形領域_4002
と矩形領域_4003のアドレスを入れ換えることができる
ので、図42に示すように、矩形領域_4002の内容を元々
ウインドウで隠れていた背景_4201を書き込めばよい。
この様に本発明の情報処理装置ではビデオRAM_4001へ描
きこむデータは本情報処理装置を用いない場合の半分の
pqw*pqhピクセル分ですむ。
On the other hand, in the information processing apparatus of the present invention, the address conversion circuit uses the rectangular area_4002 as shown in FIG.
Since the address of the rectangular area_4003 can be replaced with the address of the rectangular area_4003, the background_4201 in which the contents of the rectangular area_4002 were originally hidden by the window may be written as shown in FIG.
As described above, in the information processing apparatus of the present invention, the data to be drawn in the video RAM_4001 is a half of that when the information processing apparatus is not used.
Only pqw * pqh pixels are needed.

【0074】ウインドウの移動を考えた場合、図40から
図42を用いて説明したように移動元のウインドウの絵の
描かれている矩形領域と移動先の矩形領域が共通領域を
持たない場合だけではなく図43に示すように共通領域を
持つ場合もある。ウインドウの絵はビデオRAM_4301上の
(px,py)を左上角の座標とし、幅 pqw、高さ pqh の矩形
領域_4302に描かれたウインドウの絵を矩形領域_4302と
共通部分を持つ矩形領域_4303(左上の座標 (qx,qy))へ
移動する場合を考える。この場合、従来の情報処理装置
では、矩形領域_4303にウインドウの絵を描きこみ、矩
形領域_4302のうち矩形領域_4303に含まれない部分に移
動前のウインドウに隠れていた背景の絵を描きこむ必要
があった。
When the movement of the window is considered, only when the rectangular area where the picture of the source window is drawn and the destination rectangular area do not have a common area as described with reference to FIGS. Instead, they may have a common area as shown in FIG. Window picture is on video RAM_4301
Let (px, py) be the coordinates of the upper left corner, and draw the picture of the window drawn in the rectangular area _4302 with width pqw and height pqh as the rectangular area _4302 and the rectangular area _4303 (the upper left coordinate (qx , qy)). In this case, in the conventional information processing apparatus, the picture of the window is drawn in the rectangular area_4303, and the background picture hidden in the window before moving is moved to a part of the rectangular area_4302 that is not included in the rectangular area_4303. I needed to paint.

【0075】しかし、本発明の情報処理装置ではアドレ
ス変換回路により図44に示すように矩形領域_4302を矩
形領域_4303に移動させ、矩形領域_4303中の矩形領域_4
304を矩形領域_4401へ、矩形領域_4305を矩形領域_4402
へ、矩形領域_4306を矩形領域_4403へ移動させることが
できる。このため、ビデオRAM_4301へ描きこむ必要のあ
るのは図45に示すよう、矩形領域_4302中矩形領域_4303
に含まれない領域、矩形領域_4401、矩形領域_4402、矩
形領域_4403に描きこむ元々ウインドウの絵によって隠
れていた背景_4501のデータだけですむ。
However, in the information processing apparatus of the present invention, the rectangular area_4302 is moved to the rectangular area_4303 by the address conversion circuit as shown in FIG. 44, and the rectangular area_4 in the rectangular area_4303 is moved.
304 to rectangular area_4401, rectangular area_4305 to rectangular area_4402
The rectangular area_4306 can be moved to the rectangular area_4403. For this reason, it is necessary to draw in the video RAM_4301 as shown in FIG.
Only the data of the background_4501 that is not included in the image, the rectangular area_4401, the rectangular area_4402, and the rectangular area_4403 that were originally hidden by the picture of the window drawn in the rectangular area_4403.

【0076】以上では、任意の1組の矩形領域のアドレ
スの交換を行う装置について説明したが、この装置を複
数組みの矩形領域のアドレスを交換できるよう拡張でき
る。例えば、n(正の整数)組みの矩形領域 (P1 と Q1)、
(P2 と Q2)、・・・、(Pn と Qn)のアドレスの交換を行う
ようにするには、アドレス変換データベース_0101を図3
5に示す内容を書き込める拡張し、アドレス変換回路_01
02を図36のフローチャートにしたがってアドレスの変換
を行う。図35に示すアドレス変換データベースの内容
は、アドレスと座標との対応を求めるのに必要となる表
示スタートアドレス SA、表示画面の幅 W、高さ H、と
交換を行う n組みの矩形の左上角の座標(px1,py1), (qx
1,qy1), (px2,py2), (qx2,qy2), ・・・, (pxn,pyn), (qx
n,qyn) とそれぞれの組みの矩形領域の幅 pqw1, pqw2,
・・・, pqwn、高さ pqh1, pqh2, ・・・,pqhn と指定の矩形
の組みの矩形領域のアドレスの交換を行うかどうかを表
すアドレス変換フラグ F1, F2, ・・・,Fn である。
In the above, an apparatus for exchanging addresses of an arbitrary set of rectangular areas has been described. However, this apparatus can be extended so that addresses of a plurality of sets of rectangular areas can be exchanged. For example, n (positive integer) pairs of rectangular areas (P1 and Q1),
(P2 and Q2), ..., (Pn and Qn)
The address conversion circuit_01 which can write the contents shown in 5
02 is converted according to the flowchart of FIG. The contents of the address conversion database shown in FIG. 35 are the display start address SA, the display screen width W, the height H, and the upper left corner of n sets of rectangles to be exchanged for obtaining the correspondence between the address and the coordinates. Coordinates (px1, py1), (qx
1, qy1), (px2, py2), (qx2, qy2), ・ ・ ・, (pxn, pyn), (qx
n, qyn) and the width pqw1, pqw2,
, Pqwn, height pqh1, pqh2, ..., pqhn and address conversion flags F1, F2, ..., Fn indicating whether or not to exchange addresses of a rectangular area of a specified rectangular group. .

【0077】アドレス変換回路_0102 は図35に示すアド
レス変換データベース_0101の内容を参照し、アドレス
の変換を行う。この手順を図36のフローチャートを用い
て説明する。まず、ステップ_3601 において、アドレス
変換フラグ1 が変換を行うとなっていれば行う変換は
(px1,py1)を(px,py)、(qx1,qy1)を(qx,qy)、pqw1をpq
w、pqh1をpqhに対応させ、 P1 と Q1 が共通部分を持
たなければ図5のフローチャートに従い、共通部分を持
つ場合は図39 のフローチャートにしたがってアドレス
の変換を行う。ステップ_3002においては、アドレス変
換フラグ2が変換を行うとなっていれば、(px2,py2)を(p
x,py)、(qx2,qy2)を(qx,qy)、pqw2をpqw、pqh2をpqhに
対応させ、P1 と Q1 が共通部分を持たなければ図5の
フローチャートに従い、共通部分を持つ場合は図39 の
フローチャートにしたがってステップ_3601で変換した
アドレスを更に変換する。この様に、各ステップで変換
したアドレスを更に次のステップで変換するという処理
を順に行いステップ_360nにおいては、アドレス変換フ
ラグnが変換を行うとなっていれば、(pxn,pyn)を(px,p
y)、(qxn,qyn)を(qx,qy)、pqwnをpqw、pqhnをpqhに対応
させ、Pn とQn が共通部分を持たなければ図5のフロー
チャートに従い、共通部分を持つ場合は図39 のフロー
チャートにしたがってステップ_360n-1で変換したアド
レスを更に変換する。以上の様に、アドレス変換回路_0
102はステップ_3601からステップ_360nによってn段階変
換されたアドレスを出力する。
The address conversion circuit_0102 performs address conversion with reference to the contents of the address conversion database_0101 shown in FIG. This procedure will be described with reference to the flowchart in FIG. First, in step _3601, if the address conversion flag 1 indicates that conversion is to be performed,
(px1, py1) is (px, py), (qx1, qy1) is (qx, qy), pqw1 is pq
w and pqh1 are made to correspond to pqh, and if P1 and Q1 do not have a common part, address conversion is performed according to the flowchart of FIG. 5, and if P1 and Q1 have a common part, address conversion is performed according to the flowchart of FIG. In step _3002, if the address conversion flag 2 indicates that conversion is to be performed, (px2, py2) is set to (p
x, py), (qx2, qy2) to (qx, qy), pqw2 to pqw, pqh2 to pqh.If P1 and Q1 do not have a common part, follow the flowchart in FIG. According to the flowchart of FIG. 39, the address converted in step_3601 is further converted. In this way, the address converted in each step is further converted in the next step in order.In step _360n, if the address conversion flag n indicates that the conversion is to be performed, (pxn, pyn) is changed to ( px, p
y), (qxn, qyn) correspond to (qx, qy), pqwn corresponds to pqw, pqhn corresponds to pqh, and if Pn and Qn do not have a common part, follow the flowchart of FIG. The address converted in step_360n-1 is further converted according to the flowchart of FIG. As described above, the address conversion circuit_0
102 outputs an address that has been converted by n stages in steps 3601 to 360n.

【0078】これまで、矩形間のアドレスを交換を行う
装置について説明してきたが、図46に示すように、ある
矩形内のアドレスを y 方向に循環移動する様に変換す
る装置について、図46から図53を用いて、次に説明す
る。図46において4601はアドレス変換前のビデオRAMの
イメージを表し、4603はアドレス変換後のイメージを表
している。ビデオRAM上の(px,py)を左上角の座標とし、
幅 pw、高さ ph の矩形P 内のアドレスを y方向へ sy(0
≦sy<ph) ピクセル分循環移動させる。この循環移動は
アドレス変換前の矩形領域_4602を上側の高さ ph-syの
矩形領域 PAと下側の高さ sy の矩形領域 PB に分け、
アドレス変換後の矩形領域_4602を上側の高さ sy の矩
形領域_4603と下側の高さ ph-syの矩形領域_て考える
と、矩形領域 PA のアドレスを形領域_4605ドレスに変
換し、矩形領域 PBのアドレスを矩形領域_4604のアドレ
スに変換する。
The apparatus for exchanging addresses between rectangles has been described so far. As shown in FIG. 46, an apparatus for converting addresses in a certain rectangle so as to move in a circular direction in the y direction will be described with reference to FIG. This will be described next with reference to FIG. In FIG. 46, reference numeral 4601 denotes an image of the video RAM before the address conversion, and reference numeral 4603 denotes an image after the address conversion. Let (px, py) on the video RAM be the coordinates of the upper left corner,
Address the address in the rectangle P of width pw and height ph in the y direction sy (0
≤sy <ph) Move circularly by pixels. This cyclic movement divides the rectangular area _4602 before address conversion into a rectangular area PA with an upper height ph-sy and a rectangular area PB with a lower height sy,
Considering the rectangular area _4602 after the address conversion as a rectangular area _4603 with an upper height of sy and a rectangular area _ with a lower height of ph-sy, the address of the rectangular area PA is converted into a shape area _4605 address. The address of the rectangular area PB is converted to the address of the rectangular area_4604.

【0079】この変換はアドレス変換回路_0102が図47
の内容の書き込まれたアドレス変換データベース_0101
を参照し、図48のフローチャートに従ってアドレスを変
換することによって実現する。図47に示すアドレス変換
データベースの内容は、アドレスと座標との対応を求め
るのに必要となる表示スタートアドレス SA、表示画面
の幅 W、高さ H、と縦方向の循環移動を行う矩形領域 P
の左上角の座標 (px,py)と矩形領域 P の高さph、幅 p
w、y方向への移動量 sy である。これらの値を参照しア
ドレス変換回路_0102がアドレスの変換を行う手順を図4
8のフローチャートを用いて説明する。まずステップ_48
01において、式(2)、(3)を用いて入力アドレス AINに対
応する座標を算出する。次にステップ_4802において、
ステップ_4801で算出した座標がビデオRAM上のどの領域
に含まれるかを判定する。
This conversion is performed by the address conversion circuit_0102 shown in FIG.
Address translation database _0101 with the contents of
And converting the address according to the flowchart of FIG. 48. The contents of the address conversion database shown in FIG. 47 include a display start address SA, a display screen width W, a height H, and a rectangular area P for performing cyclic movement in the vertical direction, which are necessary for obtaining a correspondence between an address and a coordinate.
Coordinates (px, py) of the upper left corner of the rectangle and height ph and width p of the rectangular area P
The amount of movement sy in the w and y directions. FIG. 4 shows a procedure in which the address conversion circuit_0102 performs address conversion by referring to these values.
This will be described with reference to the flowchart of FIG. First step_48
In 01, the coordinates corresponding to the input address AIN are calculated using equations (2) and (3). Next, in step _4802,
It is determined in which area on the video RAM the coordinates calculated in step_4801 are included.

【0080】矩形領域 PB に含まれる場合、つまり、式
(18)が成り立つ場合、式(19)に従い出力アドレス AOUT
を算出する。
In the case of being included in the rectangular area PB,
If (18) holds, the output address AOUT
Is calculated.

【0081】 (px≦x<px+pw) and (py+ph-sy≦y<py+ph)・・・(18) AOUT=SA+x+(y+ph-sy)・・・(19) また、矩形領域 PA に含まれる場合、式(20)が成り立つ
場合、式(21)にしたがって出力アドレス AOUT を算出す
る。
(Px ≦ x <px + pw) and (py + ph-sy ≦ y <py + ph) ・ ・ ・ (18) AOUT = SA + x + (y + ph-sy) ・ ・ ・ (19) Further, when the area is included in the rectangular area PA and the equation (20) is satisfied, the output address AOUT is calculated according to the equation (21).

【0082】 (px≦x<px+pw) and (py≦y<py+ph-sy)・・・(20) AOUT=SA+x+(y+sy)*W・・・(21) 矩形 PA,PBに含まれない場合は、次式(22)により出力ア
ドレス AOUT を算出する。
(Px ≦ x <px + pw) and (py ≦ y <py + ph-sy) ・ ・ ・ (20) AOUT = SA + x + (y + sy) * W ・ ・ ・ (21) Rectangular PA , PB, the output address AOUT is calculated by the following equation (22).

【0083】AOUT=AIN・・・(22) 次に、以上の様にある矩形内のアドレスを縦方向に循環
移動するアドレス変換回路を用いてスクローリングを行
う例について図49、図50、図51を用いて説明する。図49
において、4901はビデオRAMであり、その表示先頭アド
レスを SA、表示の幅を W、高さを H とし、ビデオRAM
上の(px,py)を左上角の座標とし、幅 pw、高さ phの矩
形領域_4905に 4902に示す縦に「あい」と描かれたイメ
ージの一部を矩形領域を表示するとする。図49では
「あ」と描かれた領域_4903の内容を矩形領域_4905に表
示している。次に縦に sy ピクセルスクロールして
「あ」と描かれた矩形領域_4903の下側 ph-syライン分
の領域と更にその下側の「い」と描かれた矩形領域_490
4の上側 ph-syライン分の領域が表されるようにする。
まず、アドレス変換データベースの内容を以下の様に設
定すると矩形領域_4905 表示は図50に示すよう sy 分循
環移動し、矩形領域_4905の下側syライン分の矩形領域_
5001には「あ」の上側 sy ライン分が表示される。
AOUT = AIN (22) Next, an example in which scrolling is performed by using an address conversion circuit that circulates and moves addresses in a certain rectangle in the vertical direction as described above will be described with reference to FIGS. This will be described using 51. Fig. 49
, 4901 is a video RAM, the display start address of which is SA, the display width is W, the height is H, and the video RAM is
The upper (px, py) is set to the coordinates of the upper left corner, and a part of the image vertically drawn as “A” shown in 4902 in a rectangular area — 4905 having a width pw and a height ph is displayed as a rectangular area. In FIG. 49, the contents of the area_4903 drawn as “A” are displayed in the rectangular area_4905. Next, a rectangular area _4903 that is scrolled vertically by sy pixels and is drawn as "A" The lower ph-sy line area and the lower rectangular area _490
The area for the upper ph-sy line of 4 is displayed.
First, when the contents of the address conversion database are set as follows, the rectangular area_4905 display is circulated by sy as shown in FIG.
5001 shows the upper sy line of "A".

【0084】 (1) 表示先頭アドレス SA (2) 表示幅 W (3) 表示高さ H (4) 矩形 P の左上角の座標 (px,py) (5) 矩形 P の高さ ph (6) 矩形 P の幅 pw (7) y方向への移動量 sy 次に、図51に示すように、表示イメージ_4902中「い」
と描かれた領域_4904の上側 sy ライン分の領域_5101の
内容を矩形領域_5001に描き込めば目的の表示を得る事
ができる。
(1) Display start address SA (2) Display width W (3) Display height H (4) Upper left corner coordinates of rectangle P (px, py) (5) Height ph of rectangle P (6) The width of the rectangle P pw (7) The amount of movement in the y direction sy Next, as shown in FIG.
The target display can be obtained by drawing the contents of the area_5101 for the sy lines above the area_4904 drawn in the rectangular area_5001.

【0085】これに対し、従来の情報処理装置によって
この様な表示の変更を行う場合、矩形領域_4905すべて
を書き直す必要があった。
On the other hand, when such a display change is performed by a conventional information processing apparatus, it is necessary to rewrite all of the rectangular area_4905.

【0086】任意の1つの矩形領域のアドレスのy方向へ
の循環移動を行う装置について説明したが、この装置を
複数個の矩形領域のアドレス循環できるよう拡張でき
る。例えば、m(正の整数)組みの矩形領域 (P1 と Q1)、
(P2 と Q2)、・・・、(Pm とQm)のアドレスの交換を行うよ
うにするには、アドレス変換データベース_0101を図52
に示す内容を書き込める拡張し、アドレス変換回路_010
2を図53のフローチャートにしたがってアドレスの変換
を行う様にする。図52に示すアドレス変換データベース
の内容は、アドレスと座標との対応を求めるのに必要と
なる表示スタートアドレス SA、表示画面の幅 W、高さ
H、と交換を行う m個の矩形の左上角の座標(px1,py
1),(px2,py2),・・・,(pxm,pym)とそれぞれの組みの矩形領
域の幅 pw1,pw2,・・・,pwm、高さ ph1, ph2,・・・,phm と指
定の矩形領域のy方向への循環移動の移動量sy1,sy2,・・
・,symである。
Although the apparatus for circulating the address of any one rectangular area in the y direction has been described, this apparatus can be extended to circulate the addresses of a plurality of rectangular areas. For example, m (positive integer) pairs of rectangular areas (P1 and Q1),
(P2 and Q2), ..., (Pm and Qm)
The address conversion circuit_010 that can write the contents shown in
2 is performed so that the address is converted according to the flowchart of FIG. The contents of the address conversion database shown in FIG. 52 include the display start address SA, the width W of the display screen, and the height required for obtaining the correspondence between the address and the coordinates.
H, the coordinates of the upper left corner of the m rectangles (px1, py
1), (px2, py2), ..., (pxm, pym) and the width of the rectangular area of each set pw1, pw2, ..., pwm, and height ph1, ph2, ..., phm Of the circular movement of the rectangular area in the y direction
・, Sym.

【0087】アドレス変換回路_0102 は図52に示すアド
レス変換データベース_0101の内容を参照し、アドレス
の変換を行う。この手順を図53のフローチャートを用い
て説明する。まず、ステップ_5301 において、(px1,py
1)を(px,py)、pw1をpw、ph1をphに対応させ、図48 のフ
ローチャートにしたがってアドレスの変換を行う。ステ
ップ_5302においては、(px2,py2)を(px,py)、pw2をpw、
ph2をpqhに対応させ、図48 のフローチャートにしたが
ってステップ_5301で変換したアドレスを更に変換す
る。この様に、各ステップで変換したアドレスを更に次
のステップで変換するという処理を順に行いステップ_5
30mにおいては、(pxm,pym)を(px,py)、pwmをpw、phmをp
hに対応させ、図48 のフローチャートにしたがってステ
ップ_530m-1で変換したアドレスを更に変換する。以上
の様にアドレス変換回路_0102はステップ_5301からステ
ップ_530mによってm段階変換されたアドレスを出力す
る。
The address conversion circuit_0102 performs address conversion by referring to the contents of the address conversion database_0101 shown in FIG. This procedure will be described with reference to the flowchart in FIG. First, in step _5301, (px1, py
1) is made to correspond to (px, py), pw1 is made to correspond to pw, and ph1 is made to correspond to ph, and address conversion is performed according to the flowchart of FIG. In step _5302, (px2, py2) is (px, py), pw2 is pw,
ph2 is made to correspond to pqh, and the address converted in step_5301 is further converted according to the flowchart of FIG. In this way, the address converted in each step is further converted in the next step, and the process is performed in order.
At 30m, (pxm, pym) is (px, py), pwm is pw, phm is p
In accordance with h, the address converted in step_530m-1 is further converted according to the flowchart of FIG. As described above, the address conversion circuit_0102 outputs an address that has been converted by m stages from step_5301 to step_530m.

【0088】以上では、矩形領域内のアドレスを縦方向
に循環移動する装置について説明したが、図54に示すよ
うに、ある矩形内のアドレスをx 方向に循環移動する様
に変換する装置について、図54から図61を用いて説明す
る。図54において5401はアドレス変換前のビデオRAMの
イメージを表し、5403はアドレス変換後のイメージを表
している。このビデオRAM上の(px,py)を左上角の座標と
し、幅 pw、高さ phの矩形P 内のアドレスをx方向へsx
(0≦sy<pw) ピクセル分循環移動させる。この循環移動
はアドレス変換前の矩形領域_5402を左側の幅pw-sxの矩
形領域PLと右側の幅sx の矩形領域PR に分け、アドレス
変換後の矩形領域_5402を左側の幅sx の矩形領域_5405
と右側の幅pw-sxの矩形領域_5404を考えると、矩形領域
PL のアドレスを形領域_5404のアドレスに変換し、矩形
領域PRのアドレスを矩形領域_5405のアドレスに変換す
る。アドレス変換回路_0102は図55の内容の書き込まれ
たアドレス変換データベース_0101を参照し、図56のフ
ローチャートに従ってアドレスを変換する。図55に示す
アドレス変換データベースの内容は、アドレスと座標と
の対応を求めるのに必要となる表示スタートアドレス S
A、表示画面の幅 W、高さ H、と縦方向の循環移動を行
う矩形領域 P の左上角の座標 (px,py)と矩形領域 P の
高さph、幅 pw、x方向への移動量sx である。これらの
値を参照しアドレス変換回路_0102がアドレスの変換を
行う手順を図56のフローチャートを用いて説明する。ま
ずステップ_5601において、式(2)、(3)を用いて入力ア
ドレス AINに対応する座標を算出する。次にステップ_5
602において、ステップ_5601で算出した座標がビデオRA
M上のどの領域に含まれるかを判定する。
In the above, an apparatus for circulating an address in a rectangular area in the vertical direction has been described. However, as shown in FIG. 54, an apparatus for converting an address in a certain rectangle to circulate in the x direction is described. This will be described with reference to FIGS. 54 to 61. In FIG. 54, reference numeral 5401 denotes an image of the video RAM before the address conversion, and reference numeral 5403 denotes an image after the address conversion. Let (px, py) on this video RAM be the coordinates of the upper left corner, and write the address in the rectangle P of width pw and height ph in the x direction sx
(0 ≦ sy <pw) Move circularly by pixels. This circular movement divides the rectangular area _5402 before address conversion into a rectangular area PL with a width pw-sx on the left and a rectangular area PR with a width sx on the right, and divides the rectangular area _5402 after the address conversion into a rectangle with a left width sx Area_5405
And rectangular area _5404 with width pw-sx on the right side,
The address of the PL is converted into the address of the rectangular area_5404, and the address of the rectangular area PR is converted into the address of the rectangular area_5405. The address translation circuit _0102 refers to the address translation database _0101 in which the content of FIG. 55 is written, and translates the address according to the flowchart of FIG. The contents of the address conversion database shown in FIG. 55 include the display start address S required to obtain the correspondence between the address and the coordinates.
A, width W and height H of the display screen, coordinates (px, py) of the upper left corner of the rectangular area P that performs cyclic movement in the vertical direction, and height ph, width pw, and movement of the rectangular area P in the x direction The quantity sx. A procedure in which the address conversion circuit_0102 performs address conversion with reference to these values will be described with reference to the flowchart in FIG. First, in step_5601, coordinates corresponding to the input address AIN are calculated using equations (2) and (3). Next step_5
In 602, the coordinates calculated in step_5601 are
It is determined which area on M is included.

【0089】矩形領域PL に含まれる場合、つまり、式
(23)が成り立つ場合、ステップ5604に進み、式(24)に従
い出力アドレス AOUTを算出する。
In the case of being included in the rectangular area PL,
If (23) is satisfied, the flow advances to step 5604 to calculate the output address AOUT according to the equation (24).

【0090】 (px≦x<px+pw-sx) and (py≦y<py+ph)・・・(23) AOUT=SA+(x+sx)+y*W・・・(24) また、矩形領域 PR に含まれる場合、式(25)が成り立つ
場合、ステップ_5603に進み、式(26)にしたがって出力
アドレス AOUT を算出する。
(Px ≦ x <px + pw-sx) and (py ≦ y <py + ph) (23) AOUT = SA + (x + sx) + y * W (24) If it is included in the rectangular area PR and the equation (25) is satisfied, the process proceeds to step_5603 to calculate the output address AOUT according to the equation (26).

【0091】 (px+pw-sx≦x<px+pw) and (py≦y<py+ph)・・・(25) AOUT=SA+(x-pw+sx)+y*W・・・(26) 矩形PL,PRに含まれない場合は、ステップ_5605に進み、
次式(27)により出力アドレス AOUT を算出する。
(Px + pw-sx ≦ x <px + pw) and (py ≦ y <py + ph) ・ ・ ・ (25) AOUT = SA + (x-pw + sx) + y * W ・ ・ ・ ( 26) If not included in rectangles PL and PR, proceed to step _5605,
The output address AOUT is calculated by the following equation (27).

【0092】AOUT=AIN・・・(27) 次に、以上の様にある矩形内のアドレスを横方向に循環
移動するアドレス変換回路を用いてパンニングを行う例
について図57、図58、図59を用いて説明する。図57にお
いて、5701はビデオRAMであり、その表示先頭アドレス
を SA、表示の幅を W、高さを H とし、ビデオRAM上の
(px,py)を左上角の座標とし、幅 pw、高さphの矩形領域
_5705に5702に示す横に「あい」と描かれたイメージの
一部を矩形領域_5705に表示するとする。図57では
「あ」と描かれた領域_5703の内容を矩形領域_5705に表
示している。次に横にsx ピクセル分パンニングして
「あ」と描かれた矩形領域_5703の右側pw-sxライン分の
領域と更にその右側の「い」と描かれた矩形領域_5704
の左側pw-sxライン分の領域が表されるようにすること
を考える。まず、アドレス変換データベースの内容を以
下の様に設定すると矩形領域_5705の表示は図58に示す
ようsx 分循環移動し、矩形領域_5705の右側sxライン分
の矩形領域_5801には「あ」の左側sx ライン分が表示さ
れる。
AOUT = AIN (27) Next, FIGS. 57, 58, and 59 show an example in which panning is performed using an address conversion circuit that circularly moves addresses in a certain rectangle as described above. This will be described with reference to FIG. In FIG. 57, reference numeral 5701 denotes a video RAM, the display start address of which is SA, the display width is W, and the height is H.
(px, py) is the coordinates of the upper left corner, and a rectangular area of width pw and height ph
Suppose that a part of the image drawn with “Ai” beside 5702 in _5705 is displayed in the rectangular area _5705. In FIG. 57, the contents of the area_5703 drawn as “A” are displayed in the rectangular area_5705. Next, the area for the right pw-sx line of the rectangular area _5703 that is panned by sx pixels horizontally and drawn as “A”, and the rectangular area _5704 further drawn to the right of “i”
Consider that a region for the left pw-sx line of is displayed. First, when the contents of the address conversion database are set as follows, the display of the rectangular area_5705 is cyclically moved by sx as shown in FIG. 58, and the rectangular area_5801 for the right sx line of the rectangular area_5705 is displayed as “A”. Is displayed for the left sx line.

【0093】 (1) 表示先頭アドレス SA (2) 表示幅 W (3) 表示高さ H (4) 矩形 P の左上角の座標 (px,py) (5) 矩形 P の高さ ph (6) 矩形 P の幅 pw (7) x方向への移動量 sx 次に、図59に示すように、表示イメージ_5702中「い」
と描かれた領域_5704の左側sx ライン分の領域_5901の
内容を矩形領域_5801に描き込めば目的の表示を得る事
ができる。
(1) Display start address SA (2) Display width W (3) Display height H (4) Coordinate of upper left corner of rectangle P (px, py) (5) Height ph of rectangle P (6) The width of the rectangle P pw (7) The amount of movement in the x direction sx Next, as shown in FIG.
By drawing the contents of the area _5901 for sx lines on the left side of the area _5704 drawn in the rectangular area _5801, the intended display can be obtained.

【0094】これに対し、従来の情報処理装置によって
この様な表示の変更を行う場合、矩形領域_5705すべて
を書き直す必要があった。
On the other hand, when such a display change is performed by the conventional information processing apparatus, it is necessary to rewrite all of the rectangular area_5705.

【0095】任意の1つの矩形領域のアドレスのx方向へ
の循環移動を行う装置について説明したが、この装置を
複数個の矩形領域のアドレス循環できるよう拡張でき
る。例えば、m(正の整数)組みの矩形領域 P1、P2、・・
・、Pmのアドレスを循環移動するようにするには、アド
レス変換データベース_0101を図60に示す内容を書き込
める拡張し、アドレス変換回路_0102を図61のフローチ
ャートにしたがってアドレスの変換を行う様にする。図
60に示すアドレス変換データベースの内容は、アドレス
と座標との対応を求めるのに必要となる表示スタートア
ドレス SA、表示画面の幅 W、高さ H、と交換を行う
m個の矩形の左上角の座標(px1,py1),(px2,py2),・・・,(p
xm,pym)とそれぞれの矩形領域の幅 pw1,pw2,・・・,pwm、
高さ ph1, ph2,・・・,phm と指定の矩形領域のx方向への
循環移動の移動量sx1,sx2,・・・,sxmである。
The apparatus for circulating the address of an arbitrary rectangular area in the x direction has been described. However, this apparatus can be extended to circulate the addresses of a plurality of rectangular areas. For example, m (positive integer) pairs of rectangular areas P1, P2, ...
In order to move the address of Pm cyclically, the address conversion database _0101 is extended so that the contents shown in FIG. 60 can be written, and the address conversion circuit _0102 performs the address conversion according to the flowchart of FIG. I do. Figure
The contents of the address conversion database shown in 60 are exchanged with the display start address SA, display screen width W, height H required to find the correspondence between addresses and coordinates.
The coordinates of the upper left corner of the m rectangles (px1, py1), (px2, py2), ..., (p
xm, pym) and the width of each rectangular area pw1, pw2, ..., pwm,
The heights ph1, ph2, ..., phm and the movement amounts sx1, sx2, ..., sxm of the circular movement in the x direction of the specified rectangular area.

【0096】アドレス変換回路_0102 は図60に示すアド
レス変換データベース_0101の内容を参照し、アドレス
の変換を行う。この手順を図61のフローチャートを用い
て説明する。まず、ステップ_6101 において、(px1,py
1)を(px,py)、pw1をpw、ph1をphに対応させ、図56 のフ
ローチャートにしたがってアドレスの変換を行う。ステ
ップ_6102においては、(px2,py2)を(px,py)、pw2をpw、
ph2をpqhに対応させ、図56 のフローチャートにしたが
ってステップ_6101で変換したアドレスを更に変換す
る。この様に、各ステップで変換したアドレスを更に次
のステップで変換するという処理を順に行いステップ_6
10mにおいては、(pxm,pym)を(px,py)、pwmをpw、phmをp
h、sxmをsxに対応させ、図56 のフローチャートにした
がってステップ_610m-1で変換したアドレスを更に変換
する。以上の様にアドレス変換回路_0102はステップ_61
01からステップ_610mによってm段階変換されたアドレス
を出力する。
The address conversion circuit_0102 performs address conversion with reference to the contents of the address conversion database_0101 shown in FIG. This procedure will be described with reference to the flowchart in FIG. First, in step _6101, (px1, py
Address conversion is performed according to the flowchart of FIG. 56 by associating (1) with (px, py), pw1 with pw, and ph1 with ph. In step _6102, (px2, py2) is (px, py), pw2 is pw,
ph2 is made to correspond to pqh, and the address converted in step_6101 is further converted according to the flowchart of FIG. In this way, the address converted in each step is further converted in the next step, and the processing is sequentially performed in step _6.
At 10m, (pxm, pym) is (px, py), pwm is pw, phm is p
h and sxm are made to correspond to sx, and the address converted in step_610m-1 is further converted according to the flowchart of FIG. As described above, the address conversion circuit_0102
From 01, the address converted by m steps in step_610m is output.

【0097】以上では、矩形領域内のアドレスを横方向
または縦方向に循環移動する装置について説明したが、
図62に示すように、ある矩形内のアドレスを斜め方向に
循環移動する様に変換する装置について、図62から図67
を用いて説明する。図62において6201はアドレス変換前
のビデオRAMのイメージを表し、6203はアドレス変換後
のイメージを表している。このビデオRAM上の(px,py)を
左上角の座標とし、幅pw、高さ ph の矩形_6202内のア
ドレスをx方向へsx(0≦sx<pw) ピクセル分、y方向へsy
(0≦sy<ph) ピクセル分循環移動させる。この循環移動
はアドレス変換前の矩形領域_6202を左上側の幅pw-sx、
高さph-syの矩形領域PALと左下側の高さsy、幅pw-sx の
矩形領域PBL、右上側の幅sx、高さph-syの矩形領域PA
R、右下側の幅sx、高さsyの矩形領域PBR に分け、アド
レス変換後の矩形領域_6202を右下側の幅pw-sx、高さph
-sy の矩形領域_6204と右上側の幅pw-sx、高さsyの矩形
領域_6205、左下側の幅sx、高さ、ph-syの矩形領域_620
6、左上側の幅sx、高さsyの矩形領域_6207を考えると、
矩形領域PAL のアドレスを形領域_6204のアドレスに変
換し、矩形領域PBLのアドレスを矩形領域_6405のアドレ
スに変換し、矩形領域PAR のアドレスを形領域_6206の
アドレスに変換し、矩形領域PBRのアドレスを矩形領域_
6407のアドレスに変換する。アドレス変換回路_0102は
図63の内容の書き込まれたアドレス変換データベース_0
101を参照し、図64のフローチャートに従ってアドレス
を変換する。図63に示すアドレス変換データベースの内
容は、アドレスと座標との対応を求めるのに必要となる
表示スタートアドレス SA、表示画面の幅 W、高さ H、
と縦方向の循環移動を行う矩形領域 P の左上角の座標
(px,py)と矩形領域 P の高さph、幅 pw、y方向への移動
量sy、x方向への移動量sx である。これらの値を参照し
アドレス変換回路_0102がアドレスの変換を行う手順を
図64のフローチャートを用いて説明する。まずステップ
_6401において、式(2)、(3)を用いて入力アドレス AIN
に対応する座標を算出する。次にステップ_6402におい
て、ステップ_6401で算出した座標がビデオRAM上のどの
領域に含まれるかを判定する。
In the above, the device for circulating the address in the rectangular area in the horizontal or vertical direction has been described.
As shown in FIG. 62, a device for converting an address in a certain rectangle so as to circulate in an oblique direction is described with reference to FIGS.
This will be described with reference to FIG. In FIG. 62, reference numeral 6201 denotes an image of the video RAM before the address conversion, and reference numeral 6203 denotes an image after the address conversion. Let (px, py) on this video RAM be the coordinates of the upper left corner, and set the address in the rectangle _6202 of width pw and height ph by sx (0 ≦ sx <pw) pixels in the x direction and sy in the y direction.
(0 ≦ sy <ph) The pixel is circulated and moved by pixels. This circular movement converts the rectangular area _6202 before address conversion to the upper left width pw-sx,
A rectangular area PAL having a height ph-sy, a rectangular area PBL having a height sy and a width pw-sx on the lower left side, and a rectangular area PA having a width sx and a height ph-sy on the upper right side
R, rectangular area PBR with lower right side width sx and height sy, and rectangular area _6202 after address conversion is converted to lower right side width pw-sx and height ph
-sy rectangular area_6204, upper right width pw-sx, height sy rectangular area_6205, lower left width sx, height, ph-sy rectangular area_620
6, Given a rectangular area _6207 with width sx and height sy on the upper left,
The address of the rectangular area PAL is converted into the address of the rectangular area_6204, the address of the rectangular area PBL is converted into the address of the rectangular area_6405, the address of the rectangular area PAR is converted into the address of the rectangular area_6206, and the rectangular area is converted. PBR address in rectangular area_
Translated to 6407 address. The address conversion circuit _0102 is the address conversion database _0 in which the contents of FIG. 63 are written.
Referring to 101, the address is converted according to the flowchart of FIG. The contents of the address translation database shown in FIG. 63 include a display start address SA, a display screen width W, a height H,
And the coordinates of the upper left corner of the rectangular area P that moves cyclically in the vertical direction
(px, py) and the height ph, width pw, movement amount sy in the y direction, and movement amount sx in the x direction of the rectangular area P. A procedure in which the address conversion circuit_0102 performs address conversion with reference to these values will be described with reference to the flowchart in FIG. First steps
In _6401, the input address AIN is calculated using equations (2) and (3).
Is calculated. Next, in step_6402, it is determined which area on the video RAM contains the coordinates calculated in step_6401.

【0098】矩形領域PAL に含まれる場合、つまり、式
(28)が成り立つ場合、ステップ6403に進み、式(29)に従
い出力アドレス AOUTを算出する。
When the area is included in the rectangular area PAL, that is, the expression
If (28) is satisfied, the process proceeds to step 6403, and the output address AOUT is calculated according to the equation (29).

【0099】 (px≦x<px+pw-sx) and (py≦y<py+ph-sx)・・・(28) AOUT=SA+(x+sx)+(y+sy)*W・・・(29) また、矩形領域PBL に含まれる場合、式(30)が成り立つ
場合、ステップ_6404に進み、式(31)にしたがって出力
アドレス AOUT を算出する。
(Px ≦ x <px + pw-sx) and (py ≦ y <py + ph-sx) ・ ・ ・ (28) AOUT = SA + (x + sx) + (y + sy) * W (29) If the expression is included in the rectangular area PBL and Expression (30) is satisfied, the process proceeds to Step_6404, and the output address AOUT is calculated according to Expression (31).

【0100】 (px≦x<px+pw-sx) and (py+ph-sy≦y<py+ph)・・・(30) AOUT=SA+(x+sx)+(y+ph-sy)*W・・・(31) 矩形領域PAR に含まれる場合、つまり、式(32)が成り立
つ場合、ステップ6405に進み、式(33)に従い出力アドレ
ス AOUTを算出する。
(Px ≦ x <px + pw-sx) and (py + ph-sy ≦ y <py + ph) ・ ・ ・ (30) AOUT = SA + (x + sx) + (y + ph-sy) * W (31) If the area is included in the rectangular area PAR, that is, if the equation (32) holds, the process proceeds to step 6405, and the output address AOUT is calculated according to the equation (33).

【0101】 (px+pw-sx≦x<px+pw) and (py+ph-sy≦y<py+ph)・・・(32) AOUT=SA+(x-pw+sx)+(y+sy)*W・・・(33) また、矩形領域PBR に含まれる場合、式(34)が成り立つ
場合、ステップ_6406に進み、式(35)にしたがって出力
アドレス AOUT を算出する。
(Px + pw-sx ≦ x <px + pw) and (py + ph-sy ≦ y <py + ph) ・ ・ ・ (32) AOUT = SA + (x-pw + sx) + (y + sy) * W (33) If the expression (34) is satisfied if it is included in the rectangular area PBR, the flow advances to step_6406 to calculate the output address AOUT according to the expression (35).

【0102】 (px+pw-sx≦x<px+pw) and (py+ph-sy≦y<py+p
h)・・・(34) AOUT=SA+(x−pw+sx)+(y+ph−s
y)*W・・・(35) 矩形PAL,PBL,PAR,PBRに含まれない場合
は、ステップ_6407に進み、次式(36)により出力アドレ
ス AOUT を算出する。
(Px + pw-sx ≦ x <px + pw) and (py + ph-sy ≦ y <py + p
h) (34) AOUT = SA + (x-pw + sx) + (y + ph-s)
y) * W (35) If it is not included in the rectangles PAL, PBL, PAR, and PBR, the process proceeds to step_6407 to calculate the output address AOUT by the following equation (36).

【0103】AOUT=AIN・・・(36) この図65のフローチャートに従ったアドレス変換は、図
64のデータベースの内容において、特に、x方向への移
動量を0とすれば縦方向の循環移動を行い、y方向への移
動量を0とすれば横方向への循環移動を行う。
AOUT = AIN (36) Address conversion in accordance with the flow chart of FIG.
In the contents of the 64 databases, in particular, if the movement amount in the x direction is set to 0, cyclic movement is performed in the vertical direction, and if the movement amount in the y direction is set to 0, cyclic movement is performed in the horizontal direction.

【0104】次に、ある矩形内のアドレスを斜め方向に
循環移動するアドレス変換回路を用いて斜め方向へのス
クロールを行う例について図65、図66、図67を用いて説
明する。図65において、6501はビデオRAMであり、その
表示先頭アドレスを SA、表示の幅を W、高さを H と
し、ビデオRAM上の(px,py)を左上角の座標とし、幅 p
w、高さ phの矩形領域_6502に6503に示す田の字状に
「あいうえ」と描かれたイメージの一部を矩形領域_650
2に表示するとする。図65では「あ」と描かれた領域_65
04の内容を矩形領域_6502に表示している。次に横にsx
ピクセル分、縦にsyピクセル分スクロールして「あ」と
描かれた矩形領域_6504の右下側の横 pw-sx、縦ph-pwラ
イン分の領域と更にその下側の「う」と描かれた矩形領
域_6505の右上側の幅pw-sx、高さ syライン分の領域と
右側の「い」と描かれた矩形領域_6506の左下側の幅 s
x、高さph-syライン分の領域と右斜め下側の「え」と描
かれた矩形領域_6507の右上側の幅sx、高さsyライン分
の領域が表示されるようにすることを考える。
Next, an example in which an address in a certain rectangle is scrolled in an oblique direction by using an address conversion circuit that circulates in an oblique direction will be described with reference to FIGS. 65, 66 and 67. In FIG. 65, reference numeral 6501 denotes a video RAM, whose display start address is SA, display width is W, height is H, (px, py) on the video RAM is coordinates of the upper left corner, and width p is
w, height ph rectangular area _6502, a part of the image drawn in the shape of a rice paddle "aiue" shown in 6503, rectangular area _650
Suppose that it is displayed in 2. In Fig. 65, the area _65 drawn as "A"
04 is displayed in the rectangular area_6502. Then sx sideways
A horizontal pw-sx and a vertical ph-pw line area on the lower right side of the rectangular area _6504 drawn by scrolling pix pixels by sy pixels vertically The width pw-sx and height sy lines on the upper right side of the drawn rectangular area _6505 and the width s on the lower left side of the rectangular area _6506 drawn on the right as "i"
The area for x, height ph-sy lines and the rectangular area _6507 drawn diagonally to the lower right with "e" on the upper right side should be displayed for the area of sx, height sy lines think of.

【0105】まず、アドレス変換データベースの内容を
以下の様に設定すると矩形領域_6502 表示は図66に示す
ようx方向にsx 分、y方向にsy分循環移動し、矩形領域_
6502の右上側の幅sx、高さph-syライン分の矩形領域_66
01には「あ」の左下側幅sx、高さph-sy ライン分が表示
され、矩形領域_6502の左下側の幅pw-sx、高さsxライン
分の矩形領域_6602には「あ」の右上側幅pw-sx、高さsy
ライン分が表示され、矩形領域_6502の右下側の幅sx、
高さsyライン分の矩形領域_6603には、「あ」の左上側
の幅sx、高さsyライン分が表示される。
First, when the contents of the address conversion database are set as follows, the display of the rectangular area_6502 circulates by sx in the x direction and sy in the y direction as shown in FIG.
Rectangular area _66 of width sx and height ph-sy lines on the upper right side of 6502
01 displays the lower left width sx and height ph-sy lines of “A”, and the lower left width pw-sx and height sx lines of rectangular area_6502 of rectangular area_6502 Upper right side width pw-sx, height sy
The line is displayed, and the width sx on the lower right side of the rectangular area_6502,
In the rectangular area_6603 for the height sy line, the upper left width sx and the height sy line of “A” are displayed.

【0106】 (1) 表示先頭アドレス SA (2) 表示幅 W (3) 表示高さ H (4) 矩形 P の左上角の座標 (px,py) (5) 矩形 P の高さ ph (6) 矩形 P の幅 pw (7) y方向への移動量 sy (8) x方向への移動量 sx 次に、図67に示すように、表示イメージ_6503中「い」
と描かれた領域_6506の左下側幅sx、高さph-sy ライン
分の領域_6701の内容を矩形領域_6601に描き込み、表示
イメージ_6503中「う」と描かれた領域_6505の右上側幅
ph-sx、高さsy ライン分の領域_6702の内容を矩形領域_
6602に描き込み、表示イメージ_6503中「え」と描かれ
た領域_6507の左上側幅sx、高さ sy ライン分の領域_67
03の内容を矩形領域_6603に描き込めば目的の表示を得
る事ができる。
(1) Display start address SA (2) Display width W (3) Display height H (4) Coordinates of upper left corner of rectangle P (px, py) (5) Height ph of rectangle P (6) The width of the rectangle P pw (7) The amount of movement in the y direction sy (8) The amount of movement in the x direction sx Next, as shown in FIG. 67, “I” in the display image_6503
The area _6701 for the lower left width sx and height ph-sy lines of the area _6506 is drawn in the rectangular area _6601 and the area _6505 drawn as “U” in the display image _6503 Upper right width
ph-sx, height sy lines area_6702 contents of rectangular area_
Area drawn with 6602 and displayed as _ in the display image _6503_Area _67 for the upper left width sx and height sy lines_6507 of the area _67
If you draw the contents of 03 in the rectangular area_6603, you can get the desired display.

【0107】これに対し、従来の情報処理装置によって
この様な表示の変更を行う場合、矩形領域_6502すべて
を書き直す必要があった。
On the other hand, when such a display change is performed by a conventional information processing apparatus, it is necessary to rewrite all of the rectangular area_6502.

【0108】以上では、任意の1つの矩形領域のアドレ
スの斜め方向への循環移動を行う装置について説明した
が、この装置を複数個の矩形領域のアドレス循環できる
よう拡張できる。例えば、m(正の整数)個の矩形領域 P
1、P2、・・・、Pmのアドレス循環移動するようにするに
は、アドレス変換データベース_0101を図68に示す内容
を書き込める様に拡張し、アドレス変換回路_0102を図6
9のフローチャートにしたがってアドレスの変換を行う
様にする。図68に示すアドレス変換データベースの内容
は、アドレスと座標との対応を求めるのに必要となる表
示スタートアドレス SA、表示画面の幅 W、高さ H、と
アドレス変換を行う m個の矩形の左上角の座標(px1,py
1),(px2,py2),・・・,(pxm,pym)とそれぞれの矩形領域の幅
pw1,pw2,・・・,pwm、高さ ph1, ph2,・・・,phm と指定の矩
形領域のy方向への循環移動の移動量sy1,sy2,・・・,sym、
x方向への循環移動の移動量sx1,sx2,・・・,sxmである。
In the above, a device for circulating the address of an arbitrary rectangular area in an oblique direction has been described. However, this apparatus can be extended to circulate the address of a plurality of rectangular areas. For example, m (positive integer) rectangular areas P
The address translation database_0101 is extended so that the contents shown in FIG. 68 can be written, and the address translation circuit_0102 is changed to FIG.
Address conversion is performed according to the flowchart of 9. The contents of the address conversion database shown in FIG. 68 include a display start address SA, a display screen width W, a height H, and an address conversion required for obtaining a correspondence between an address and a coordinate. Corner coordinates (px1, py
1), (px2, py2), ..., (pxm, pym) and the width of each rectangular area
pw1, pw2, ..., pwm, height ph1, ph2, ..., phm and the movement amount sy1, sy2, ..., sym of the circular movement in the y direction of the specified rectangular area
The movement amounts sx1, sx2,..., sxm of the circulating movement in the x direction.

【0109】アドレス変換回路_0102 は図68に示すアド
レス変換データベース_0101の内容を参照し、アドレス
の変換を行う。この手順を図69のフローチャートを用い
て説明する。まず、ステップ_6901 において、(px1,py
1)を(px,py)、pw1をpw、ph1をph、sy1をsy、sx1をsxに
対応させ、図64 のフローチャートにしたがってアドレ
スの変換を行う。ステップ_6902においては、(px2,py2)
を(px,py)、pw2をpw、ph2をpqh、sy2をsy、sx2をsxに対
応させ、図64 のフローチャートにしたがってステップ_
6901で変換したアドレスを更に変換する。この様に、各
ステップで変換したアドレスを更に次のステップで変換
するという処理を順に行いステップ_690mにおいては、
(pxm,pym)を(px,py)、pwmをpw、phmをph、symをsy、sxm
をsxに対応させ、図64 のフローチャートにしたがって
ステップ_690m-1で変換したアドレスを更に変換する。
以上の様にアドレス変換回路_0102はステップ_6901から
ステップ_690mによってm段階変換されたアドレスを出力
する。
The address conversion circuit_0102 performs address conversion by referring to the contents of the address conversion database_0101 shown in FIG. This procedure will be described with reference to the flowchart in FIG. First, in step _6901, (px1, py
1) is associated with (px, py), pw1 is associated with pw, ph1 is associated with ph, sy1 is associated with sy, and sx1 is associated with sx, and address conversion is performed according to the flowchart of FIG. In step _6902, (px2, py2)
(Px, py), pw2 corresponds to pw, ph2 corresponds to pqh, sy2 corresponds to sy, and sx2 corresponds to sx.
The address converted in 6901 is further converted. In this way, the process of converting the address converted in each step in the next step is sequentially performed, and in step _690m,
(pxm, pym) is (px, py), pwm is pw, phm is ph, sym is sy, sxm
Is made to correspond to sx, and the address converted in step_690m-1 is further converted according to the flowchart of FIG.
As described above, the address conversion circuit_0102 outputs an address that has been converted by m stages in steps _6901 to _690m.

【0110】[0110]

【発明の効果】本発明の情報装置ではビデオRAM内のデ
ータの移動を行うとき、移動させる画像データのアドレ
スを移動先のアドレスと交換する手段を備えたので、従
来の様に画像データを移動するのにビデオRAMの内容を
書きかえる必要が無い。これにより、マルチウインドウ
表示、ウインドウ内の表示データのスクローリング、パ
ンニング、再描画、アニメーション表示、ウインドウの
移動等のグラフィカルユーザインターフェース表示で多
用される表示位置変更に伴うビデオRAMへのアクセスを
減らす事が可能となり、高速に画像データの表示位置、
表示内容を変更する事ができる。
According to the information apparatus of the present invention, when data in the video RAM is moved, there is provided a means for exchanging the address of the image data to be moved with the destination address. There is no need to rewrite the contents of the video RAM to do so. This reduces access to the video RAM due to multi-window display, scrolling, panning, redrawing, animation display, moving the window, and other changes in the display position that are frequently used in graphical user interface displays. It is possible to display image data at high speed,
Display contents can be changed.

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

【図1】本発明の実施例の情報処理装置の構成を示すブ
ロック図。
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to an embodiment of the present invention.

【図2】VRAMのアドレスと表示座標との対応を示すメモ
リマップ。
FIG. 2 is a memory map showing the correspondence between VRAM addresses and display coordinates.

【図3】交換を行う共通部分を持たない二つの矩形領域
の説明図。
FIG. 3 is an explanatory diagram of two rectangular areas having no common part to be exchanged.

【図4】共通部分を持たない二つの矩形領域のアドレス
交換に使用するデータベース。
FIG. 4 is a database used for exchanging addresses of two rectangular areas having no common part.

【図5】共通部分を持たない二つの矩形領域のアドレス
交換のフローチャート。
FIG. 5 is a flowchart of address exchange of two rectangular areas having no common part.

【図6】アドレス変換を行わないときのアドレスと座標
の対応を示す図。
FIG. 6 is a diagram showing correspondence between addresses and coordinates when address conversion is not performed.

【図7】アドレス交換後のアドレスと座標の対応を示す
図。
FIG. 7 is a diagram showing the correspondence between addresses and coordinates after address exchange.

【図8】非表示領域を持つVRAMのアドレス変換前のアド
レスと座標の対応を示す図。
FIG. 8 is a diagram showing correspondence between addresses and coordinates of a VRAM having a non-display area before address conversion.

【図9】非表示領域を持つVRAMのアドレス変換後のアド
レスと座標の対応を示す図。
FIG. 9 is a diagram showing correspondence between addresses and coordinates after address conversion of a VRAM having a non-display area.

【図10】非表示領域を利用した矩形領域交換によるボ
タン押下アニメーション説明図(通常状態)。
FIG. 10 is an explanatory diagram of a button press animation by replacing a rectangular area using a non-display area (normal state).

【図11】非表示領域を利用した矩形領域交換によるボ
タン押下アニメーション説明図(押下状態)。
FIG. 11 is an explanatory diagram of a button press animation by a rectangular area exchange using a non-display area (pressed state).

【図12】非表示領域を利用した矩形領域交換によるア
ニメーション説明図1。
FIG. 12 is an explanatory diagram 1 of an animation by rectangular area exchange using a non-display area.

【図13】非表示領域を利用した矩形領域交換によるア
ニメーション説明図2。
FIG. 13 is an explanatory diagram of animation by rectangular area exchange using a non-display area.

【図14】非表示領域を利用した矩形領域交換によるア
ニメーション説明図3。
FIG. 14 is a diagram illustrating an animation by exchanging a rectangular area using a non-display area.

【図15】非表示領域を利用した矩形領域交換によるア
ニメーション説明図4。
FIG. 15 is an explanatory diagram 4 of an animation by rectangular area exchange using a non-display area.

【図16】非表示領域を利用した矩形領域交換によるア
ニメーション説明図5。
FIG. 16 is an explanatory diagram 5 of an animation by rectangular area exchange using a non-display area.

【図17】非表示領域を利用した矩形領域交換によるス
クローリング説明図1。
FIG. 17 is an explanatory diagram 1 of scrolling by rectangular area exchange using a non-display area.

【図18】非表示領域を利用した矩形領域交換によるス
クローリング説明図2。
FIG. 18 is a diagram illustrating scrolling by rectangular area exchange using a non-display area.

【図19】非表示領域を利用した矩形領域交換によるス
クローリング説明図3。
FIG. 19 is a diagram illustrating scrolling by rectangular area exchange using a non-display area.

【図20】非表示領域を利用した矩形領域交換によるス
クローリング説明図4。
FIG. 20 is an explanatory view of scrolling by rectangular area exchange using a non-display area.

【図21】非表示領域を利用した矩形領域交換によるパ
ンニング説明図1。
FIG. 21 is an explanatory diagram 1 of panning by exchanging a rectangular area using a non-display area.

【図22】非表示領域を利用した矩形領域交換によるパ
ンニング説明図2。
FIG. 22 is an explanatory diagram 2 of panning by exchanging a rectangular area using a non-display area.

【図23】非表示領域を利用した矩形領域交換による斜
め方向へのスクローリング説明図1。
FIG. 23 is a diagram illustrating scrolling in an oblique direction by exchanging a rectangular area using a non-display area.

【図24】非表示領域を利用した矩形領域交換による斜
め方向へのスクローリング説明図2。
FIG. 24 is a diagram illustrating scrolling in a diagonal direction by exchanging a rectangular area using a non-display area.

【図25】非表示領域を利用した矩形領域交換によるウ
インドウの描画、消去の説明図1。
FIG. 25 is an explanatory view 1 of drawing and erasing a window by exchanging a rectangular area using a non-display area.

【図26】非表示領域を利用した矩形領域交換によるウ
インドウの描画、消去の説明図2。
FIG. 26 is an explanatory diagram 2 of drawing and erasing a window by exchanging a rectangular area using a non-display area.

【図27】非表示領域を利用した矩形領域交換によるウ
インドウ移動の説明図1。
FIG. 27 is an explanatory diagram of window movement by rectangular area exchange using a non-display area.

【図28】非表示領域を利用した矩形領域交換によるウ
インドウ移動の説明図2。
FIG. 28 is an explanatory diagram of window movement by rectangular area exchange using a non-display area.

【図29】3組の矩形領域のアドレス交換に使用するデ
ータベース。
FIG. 29 is a database used for exchanging addresses of three sets of rectangular areas.

【図30】3組の矩形領域のアドレス交換のフローチャ
ート。
FIG. 30 is a flowchart of address exchange of three sets of rectangular areas.

【図31】非表示領域を利用した矩形領域交換によるマ
ルチウインドウ表示の説明図1。
FIG. 31 is an explanatory diagram 1 of a multi-window display by exchanging a rectangular area using a non-display area.

【図32】非表示領域を利用した矩形領域交換によるマ
ルチウインドウ表示の説明図2。
FIG. 32 is an explanatory view of a multi-window display by exchanging a rectangular area using a non-display area.

【図33】非表示領域を利用した矩形領域交換によるマ
ルチウインドウ表示の説明図3。
FIG. 33 is an explanatory view 3 of a multi-window display by exchanging a rectangular area using a non-display area.

【図34】非表示領域を利用した矩形領域交換によるマ
ルチウインドウ表示の説明図4。
FIG. 34 is an explanatory view 4 of a multi-window display by exchanging a rectangular area using a non-display area.

【図35】n(正の整数)組の矩形領域のアドレス交換に
使用するデータベース。
FIG. 35 is a database used for exchanging addresses of n (positive integer) sets of rectangular areas.

【図36】n(正の整数)組の矩形領域のアドレス交換の
フローチャート。
FIG. 36 is a flowchart of address exchange of n (positive integer) sets of rectangular areas.

【図37】交換を行う共通部分を持つ二つの矩形領域の
説明図。
FIG. 37 is an explanatory diagram of two rectangular areas having a common part to be exchanged.

【図38】共通部分を持つ矩形領域のアドレス交換の説
明図。
FIG. 38 is an explanatory diagram of address exchange of a rectangular area having a common part.

【図39】共通部分を持つ矩形領域のアドレス交換のフ
ローチャート。
FIG. 39 is a flowchart of address exchange of a rectangular area having a common part.

【図40】非表示領域を利用しない矩形領域交換による
ウインドウ移動の説明図1。
FIG. 40 is an explanatory diagram 1 of window movement by rectangular area exchange without using a non-display area.

【図41】非表示領域を利用しない矩形領域交換による
ウインドウ移動の説明図2。
FIG. 41 is an explanatory diagram of window movement by rectangular area exchange without using a non-display area.

【図42】非表示領域を利用しない矩形領域交換による
ウインドウ移動の説明図3。
FIG. 42 is an explanatory diagram of window movement by rectangular area exchange without using a non-display area.

【図43】非表示領域を利用しない矩形領域交換による
ウインドウ移動の説明図4。
FIG. 43 is an explanatory diagram of window movement by rectangular area exchange without using a non-display area.

【図44】非表示領域を利用しない矩形領域交換による
ウインドウ移動の説明図5。
FIG. 44 is an explanatory diagram of window movement by rectangular area exchange without using a non-display area.

【図45】非表示領域を利用しない矩形領域交換による
ウインドウ移動の説明図6。
FIG. 45 is an explanatory diagram of window movement by rectangular area exchange without using a non-display area.

【図46】矩形領域内のアドレスの縦方向への循環移動
説明図。
FIG. 46 is an explanatory diagram of cyclic movement of addresses in a rectangular area in the vertical direction.

【図47】矩形領域内のアドレスの縦方向への循環移動
に使用するデータベース。
FIG. 47 is a database used for cyclically moving addresses in a rectangular area in the vertical direction.

【図48】矩形領域内のアドレスを縦方向へ循環移動す
るフローチャート。
FIG. 48 is a flowchart for circulating addresses in a rectangular area in the vertical direction.

【図49】非表示領域を利用しない矩形領域の循環移動
によるスクローリング説明図1。
FIG. 49 is an explanatory diagram 1 of scrolling by circulating a rectangular area without using a non-display area.

【図50】非表示領域を利用しない矩形領域の循環移動
によるスクローリング説明図2。
FIG. 50 is an explanatory diagram 2 of scrolling by circulating a rectangular area that does not use a non-display area.

【図51】非表示領域を利用しない矩形領域の循環移動
によるスクローリング説明図3。
FIG. 51 is an explanatory diagram 3 of scrolling by circular movement of a rectangular area not using a non-display area.

【図52】m(正の整数)個の矩形領域のアドレスの縦方
向への循環移動に使用するデータベース。
FIG. 52 is a database used for vertically circulating the addresses of m (positive integers) rectangular areas;

【図53】m(正の整数)個の矩形領域のアドレスを縦方
向へ循環移動するフローチャート。
FIG. 53 is a flowchart of circulating addresses of m (positive integer) rectangular areas in the vertical direction.

【図54】矩形領域内のアドレスの横方向への循環移動
説明図。
FIG. 54 is an explanatory diagram of a circular movement of addresses in a rectangular area in the horizontal direction.

【図55】矩形領域内のアドレスの横方向への循環移動
に使用するデータベース。
FIG. 55 is a database used for circulating addresses in a rectangular area in the horizontal direction.

【図56】矩形領域内のアドレスを横方向へ循環移動す
るフローチャート。
FIG. 56 is a flowchart of circulating addresses in a rectangular area in the horizontal direction.

【図57】非表示領域を利用しない矩形領域の循環移動
によるパンニング説明図1。
FIG. 57 is an explanatory diagram 1 of panning by circulating a rectangular area that does not use a non-display area.

【図58】非表示領域を利用しない矩形領域の循環移動
によるパンニング説明図2。
FIG. 58 is an explanatory diagram of panning by circulating a rectangular area that does not use a non-display area.

【図59】非表示領域を利用しない矩形領域の循環移動
によるパンニング説明図3。
FIG. 59 is an explanatory diagram 3 of panning by circulating a rectangular area that does not use a non-display area.

【図60】m(正の整数)個の矩形領域のアドレスの横方
向への循環移動に使用するデータベース。
FIG. 60 is a database used for horizontally circulating addresses of m (positive integer) rectangular areas;

【図61】m(正の整数)個の矩形領域のアドレスを横方
向へ循環移動するフローチャート。
FIG. 61 is a flowchart of circulating the addresses of m (positive integer) rectangular areas in the horizontal direction.

【図62】矩形領域内のアドレスの斜め方向への循環移
動説明図。
FIG. 62 is an explanatory diagram of circular movement of addresses in a rectangular area in an oblique direction.

【図63】矩形領域内のアドレスの斜め方向への循環移
動に使用するデータベース。
FIG. 63 is a database used for circularly moving addresses in a rectangular area in an oblique direction.

【図64】矩形領域内のアドレスを斜め方向へ循環移動
するフローチャート。
FIG. 64 is a flowchart of circulating addresses in a rectangular area in an oblique direction.

【図65】非表示領域を利用しない矩形領域の循環移動
による斜め方向へのスクロール説明図1。
FIG. 65 is an explanatory diagram 1 of scrolling in a diagonal direction by circulating a rectangular area that does not use a non-display area.

【図66】非表示領域を利用しない矩形領域の循環移動
による斜め方向へのスクロール説明図2。
FIG. 66 is a diagram illustrating scrolling in a diagonal direction by circulating a rectangular area that does not use a non-display area.

【図67】非表示領域を利用しない矩形領域の循環移動
による斜め方向へのスクロール説明図3。
FIG. 67 is an explanatory view 3 of a scroll in a diagonal direction by circulating a rectangular area that does not use a non-display area.

【図68】m(正の整数)個の矩形領域のアドレスの斜め
方向への循環移動に使用するデータベース。
FIG. 68 is a database used for circularly moving addresses of m (positive integer) rectangular areas in an oblique direction;

【図69】m(正の整数)個の矩形領域のアドレスを斜め
方向へ循環移動するフローチャート。
FIG. 69 is a flowchart of circulating and moving diagonally the addresses of m (positive integers) rectangular areas;

【図70】n(正の整数)組の矩形領域のアドレス交換とm
(正の整数)個の矩形領域のアドレスの任意方向への循環
移動に使用するデータベース。
FIG. 70: Address exchange of n (positive integer) pairs of rectangular areas and m
Database used to move the addresses of (positive integer) rectangular areas in any direction.

【図71】n(正の整数)組の矩形領域のアドレス交換を
行い、m(正の整数)個の矩形領域のアドレスを任意方向
へ循環移動するフローチャート。
FIG. 71 is a flowchart of exchanging addresses of n (positive integer) sets of rectangular areas and circulating addresses of m (positive integers) of rectangular areas in an arbitrary direction;

【図72】従来の情報処理装置の構成を示すブロック
図。
FIG. 72 is a block diagram showing a configuration of a conventional information processing apparatus.

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

9901・・・CPU 9902・・・データ入力部 9903・・・メモリ 9904・・・ビデオRAM 9905・・・アドレスバス 9906・・・アドレスセレクタ 9907・・・データバス 9908・・・データセレクタ 9909・・・表示制御部 9910・・・ディスプレイ 0101・・・アドレス変換データベース 0102・・・アドレス変換回路 9901 ・ ・ ・ CPU 9902 ・ ・ ・ Data input section 9903 ・ ・ ・ Memory 9904 ・ ・ ・ Video RAM 9905 ・ ・ ・ Address bus 9906 ・ ・ ・ Address selector 9907 ・ ・ ・ Data bus 9908 ・ ・ ・ Data selector 9909 ... Display control unit 9910 Display 0101 Address conversion database 0102 Address conversion circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G09G 5/36 530 G09G 5/36 530G 5/38 5/38 A (72)発明者 滝田 功 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 大和田 徹 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 高木 徹夫 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立マイクロウェアシステムズ (72)発明者 菊地 明 東京都小平市上水本町五丁目20番1号 株 式会社日立製作所半導体事業部────────────────────────────────────────────────── ─── Continued on the front page (51) Int.Cl. 6 Identification code FI G09G 5/36 530 G09G 5/36 530G 5/38 5/38 A (72) Inventor Isao Takida 1099 Ozenji Ozenji, Aso-ku, Kawasaki City, Kanagawa Prefecture Address: Hitachi, Ltd., System Development Laboratory (72) Inventor Toru Owada 1099, Ozenji, Aso-ku, Kawasaki, Kanagawa Prefecture, Japan Hitachi, Ltd. System Development Laboratory (72) Inventor, Tetsuo Takagi Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa 292 Hitachi Microware Systems Co., Ltd. (72) Inventor Akira Kikuchi 5-2-1, Kamimizuhonmachi, Kodaira-shi, Tokyo Semiconductor Company, Hitachi, Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】データを記憶するメモリと、 前記メモリに表示データを書き込む描画手段と、 前記メモリに書き込まれた表示データを順次周期的に読
み出して、表示装置に供給する表示制御部と、 メモリへ供給するアドレスを変換するアドレス変換回路
と、 アドレス変換のルールを保持するアドレス変換データベ
ースを備え、 前記アドレス変換回路が、前記メモリの表示データ中の
複数の矩形領域のアドレスを変更することにより、矩形
データの表示位置を移動することを特徴とする情報処理
装置。
1. A memory for storing data, a drawing unit for writing display data to the memory, a display control unit for sequentially and periodically reading the display data written to the memory, and supplying the display data to a display device; An address translation circuit that translates addresses supplied to the memory, and an address translation database that holds an address translation rule, wherein the address translation circuit changes addresses of a plurality of rectangular areas in the display data of the memory. An information processing apparatus for moving a display position of rectangular data.
【請求項2】請求項1に記載の情報処理装置において、 前記アドレス変換回路における前記複数の矩形領域のア
ドレスの変更とは、各矩形領域におけるアドレスを入れ
換えることであることを特徴とする情報処理装置。
2. The information processing apparatus according to claim 1, wherein the changing of the addresses of the plurality of rectangular areas in the address conversion circuit is replacing the addresses of the respective rectangular areas. apparatus.
【請求項3】請求項2に記載の情報処理装置において、 前記アドレス変換回路における前記複数の矩形領域のア
ドレスを入れ替えることとは、前記アドレスを所定方向
に循環移動するように入れ換えることであることを特徴
とする情報処理装置。
3. The information processing apparatus according to claim 2, wherein exchanging the addresses of the plurality of rectangular areas in the address conversion circuit is exchanging the addresses so as to circulate in a predetermined direction. An information processing apparatus characterized by the above-mentioned.
【請求項4】請求項1に記載の情報処理装置において、 前記アドレス変換回路における前記複数の矩形領域のア
ドレスの変更とは、前記アドレスを入れ換えると共に、
アドレスを所定方向に循環移動するように入れ換えるこ
とを特長とする情報処理装置。
4. The information processing apparatus according to claim 1, wherein changing the addresses of the plurality of rectangular areas in the address conversion circuit includes replacing the addresses and
An information processing apparatus characterized in that addresses are exchanged so as to circulate in a predetermined direction.
JP10154171A 1998-06-03 1998-06-03 Information processor Pending JPH11345110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10154171A JPH11345110A (en) 1998-06-03 1998-06-03 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10154171A JPH11345110A (en) 1998-06-03 1998-06-03 Information processor

Publications (1)

Publication Number Publication Date
JPH11345110A true JPH11345110A (en) 1999-12-14

Family

ID=15578395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10154171A Pending JPH11345110A (en) 1998-06-03 1998-06-03 Information processor

Country Status (1)

Country Link
JP (1) JPH11345110A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100392637B1 (en) * 2001-10-19 2003-07-25 삼성전자주식회사 Multi-display system and a method using the same
JP2004318125A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device
JP2004318124A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100392637B1 (en) * 2001-10-19 2003-07-25 삼성전자주식회사 Multi-display system and a method using the same
JP2004318125A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device
JP2004318124A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device

Similar Documents

Publication Publication Date Title
US6911983B2 (en) Double-buffering of pixel data using copy-on-write semantics
JPH02186389A (en) Flat panel display system
JP2002118738A5 (en) Image display device and method, and storage medium
JPH09245179A (en) Computer graphic device
JPS6141185A (en) Display window control
US20060203002A1 (en) Display controller enabling superposed display
US4940970A (en) CRT display device with a picture-shifting circuit
JPH11345110A (en) Information processor
US10923081B2 (en) Timing controller, display apparatus, and operation method thereof
JP3268029B2 (en) Handwriting input device
JPS5965886A (en) False display control system
JPH07234773A (en) Display controller
JPS63181074A (en) Form depicting method
JP2002182639A (en) Image processor
JPH08314428A (en) Display device with character masking function
JP2917684B2 (en) Window display
JP3264941B2 (en) Image display control method and apparatus
JP2760522B2 (en) Display control device
JPH11282454A (en) Display control device and picture display device
JPS62109182A (en) High-speed drawing system for straight line
JPS62256175A (en) Picture editing processor
JPH05313644A (en) Image memory
JPH10274974A (en) Image display controller
JPH04354069A (en) Picture processor
JPH0453991A (en) Liquid crystal display controller