JPH0821076B2 - Image data control device - Google Patents

Image data control device

Info

Publication number
JPH0821076B2
JPH0821076B2 JP59279528A JP27952884A JPH0821076B2 JP H0821076 B2 JPH0821076 B2 JP H0821076B2 JP 59279528 A JP59279528 A JP 59279528A JP 27952884 A JP27952884 A JP 27952884A JP H0821076 B2 JPH0821076 B2 JP H0821076B2
Authority
JP
Japan
Prior art keywords
address
image data
image
data
bits
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59279528A
Other languages
Japanese (ja)
Other versions
JPS61151690A (en
Inventor
清和 西尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59279528A priority Critical patent/JPH0821076B2/en
Publication of JPS61151690A publication Critical patent/JPS61151690A/en
Publication of JPH0821076B2 publication Critical patent/JPH0821076B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像を表示する表示装置に係り,特に画像の
一部を同一画像内の他の部分へ移動する画像データ制御
装置に関する。
The present invention relates to a display device for displaying an image, and more particularly to an image data control device for moving a part of an image to another part in the same image.

〔従来の技術〕[Conventional technology]

マイクロプロセッサの発展により,例えばパーソナル
コンピュータやオフィスコンピュータは表示部における
画像編集が可能となった。これらの画面編集の一つの機
能として表示画面の一部を同じ表示画面の他の部分へ移
動する画像移動処理がある。
With the development of microprocessors, for example, it has become possible to edit images on the display unit of personal computers and office computers. One function of these screen edits is an image moving process of moving a part of the display screen to another part of the same display screen.

従来,前述した画像移動処理はフレームメモリ(表示
画像を記憶するメモリ)の一部を読み出し他の位置(目
的の位置)へ書き込んでいた。すなわち,プログラムに
よって,画像移動処理を行っていた。
Conventionally, in the image moving process described above, a part of the frame memory (memory for storing a display image) is read and written to another position (target position). That is, the image movement processing was performed by the program.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

一般的に,マイクロプロセッサはバイトやワード単位
で処理を同時に行うので,その単位での処理は速いが,
ビット単位での処理は非常に遅くなる。前述した画像移
動処理はそのほとんどがビットイメージでの移動であ
る。例えば表示部における3バイト目の3ビットから5
バイト目の4ビットまでを,10バイト目の4ビットから1
2バイト目の5ビットまでに移動させる時には,読み出
しもビット単位,さらには書き込みもビット単位で行わ
なくてはならない。前述の場合には先ず3バイト目の3
ビットから8ビットまでの合計6ビットを読み出し,そ
の内の3ビットから7ビットまでを10バイト目の4ビッ
トから8ビットに書き込み,さらに残った1ビットを11
バイト目の1ビット目に書き込み,更に4バイト目の1
ビットから7ビット目までを11バイト目の残りのビット
に書き込む等ビットスライスでそれらを順次処理しなく
てはならない。又,1ラインとは限らず,特定のエリアを
移動させる時にはさらにその処理は多くなり,その合計
の処理時間が多くなる。
Generally, a microprocessor performs processing in byte or word units at the same time, so processing in that unit is fast, but
Bit-wise processing is very slow. Most of the above-described image moving processing is a bit image moving. For example, from the 3rd bit of the 3rd byte in the display section to 5
From the 4th bit of the byte, from the 4th bit of the 10th byte to 1
When moving to the 5th bit of the 2nd byte, reading must be performed in bit units, and further writing must be performed in bit units. In the above case, the 3rd byte is 3
Read a total of 6 bits from bit to 8 bits, and write 3 to 7 bits in them from 4th bit to 8th bit of the 10th byte, and the remaining 1 bit to 11 bits.
Write to the 1st bit of the byte, then 1 of the 4th byte
Bits 7 to 7 must be sequentially processed in bit slices such as writing to the remaining bits of the 11th byte. Further, the number of processes is not limited to one line, and when moving a specific area, the number of processes increases, and the total processing time increases.

このように,従来のマイクロプロセッサで行う画像移
動処理は多くの時間を有するという問題があった。
As described above, the image moving process performed by the conventional microprocessor has a problem that it takes a lot of time.

本発明の課題は、一連の画像データのビット単位での
移動処理を、極めて高速に、しかも簡単な構成により実
現することである。
An object of the present invention is to realize a moving process of a series of image data in bit units at an extremely high speed and with a simple configuration.

[課題を解決するための手段] 本発明の手段は次の通りである。[Means for Solving the Problems] Means of the present invention are as follows.

所定数ビットを1アドレス単位として、複数ビットの
画像データを複数アドレスに記憶する画像記憶手段と、
アドレス指定毎に順次更新されるソースアドレスを記憶
する第1のアドレス記憶手段と、アドレス指定毎に順次
更新されるデスティネーションアドレスを記憶する第2
のアドレス記憶手段と、上記第1、第2のアドレス記憶
手段からソースアドレス、及びデスティネーションアド
レスを交互に読み出すことにより、上記画像記憶手段内
のアドレス対応位置を交互にアドレス指定するアドレス
指定手段と、上記アドレス指定手段での上記ソースアド
レスによるアドレス指定の際に、この指定アドレス対応
位置に記憶された所定数ビットの画像データを1処理単
位として上記画像記憶手段から読み出してラッチする第
1のラッチ手段と、この第1のラッチ手段でラッチされ
た1処理単位の画像データを所定のシフト量だけビット
レベルでシフトする画像シフト手段と、上記画像シフト
手段によりシフトされた1処理単位の画像データから上
記シフト量に応じたビット数分だけ抽出し、この抽出さ
れた画像データを、上記画像シフト手段によりシフトさ
れた位置に合せて上記1アドレス単位のデータとしてラ
ッチする第2のラッチ手段と、上記アドレス指定手段で
の上記デスティネーションアドレスによるアドレス指定
の際に、上記画像記憶手段内のその指定アドレス対応位
置に、上記第2のラッチ手段にラッチされた画像データ
を書込む書込手段と、上記第1のラッチ手段、画像シフ
ト手段、第2のラッチ手段及び書込手段の各動作を上記
ソースアドレス及びデスティネーションアドレスの更新
毎に繰り返し制御する制御手段とを備え、上記第2のラ
ッチ手段は、2回目以降のラッチの際に、その直前に抽
出されなかった残りビット数分の画像データに、次にシ
フトされた次の1処理単位の画像データから新たに抽出
された上記シフト量に応じたビット数分の画像データ
を、上記シフトされた位置に合せて合成し、この合成さ
れた画像データを上記1アドレス単位のデータとしてラ
ッチするようにしたことを特徴とする。
Image storage means for storing a plurality of bits of image data in a plurality of addresses, with a predetermined number of bits as one address unit,
A first address storage unit that stores a source address that is sequentially updated for each address designation, and a second address storage unit that stores a destination address that is sequentially updated for each address designation.
Address storage means and address designating means for alternately addressing the address corresponding positions in the image storage means by alternately reading the source address and the destination address from the first and second address storage means. A first latch that reads out and latches a predetermined number of bits of image data stored in the designated address corresponding position from the image storage means as one processing unit when the source address is designated by the address designating means Means, image shift means for shifting the image data of one processing unit latched by the first latch means by a predetermined shift amount at a bit level, and image data of one processing unit shifted by the image shifting means. Extract only the number of bits corresponding to the above shift amount, and extract this extracted image data. Second latching means for latching as data in the unit of one address in accordance with the position shifted by the image shifting means, and in the image storing means when addressing by the destination address in the addressing means Each of the writing means for writing the image data latched in the second latch means, the first latch means, the image shift means, the second latch means and the write means at the position corresponding to the designated address of And a control means for repeatedly controlling the operation every time the source address and the destination address are updated, and the second latch means is used for the second and subsequent latches, and the number of remaining bits not extracted immediately before that is provided. Bit corresponding to the shift amount newly extracted from the image data of the next processing unit, which has been shifted next, to the image data of Minute image data, and synthesized in accordance with the position that is the shift, the combined image data is characterized by being configured to latch the data of the one address unit.

[作用] 本発明の手段の作用は次の通りである。[Operation] The operation of the means of the present invention is as follows.

一連の画像データを移動させる際に、アドレス指定手
段は、第1、第2のアドレス記憶手段からソースアドレ
ス、及びデスティネーションアドレスを交互に読み出す
ことにより、上記画像記憶手段内のアドレス対応位置を
交互にアドレス指定する。第1のラッチ手段は、アドレ
ス指定手段での上記ソースアドレスによるアドレス指定
の際に、この指定アドレス対応位置に記憶された所定数
ビットの画像データを1処理単位として上記画像記憶手
段から読み出してラッチし、このラッチされた1処理単
位の画像データは、画像シフト手段により、所定のシフ
ト量だけビットレベルでシフトされ、このシフトされた
1処理単位の画像データから上記シフト量に応じたビッ
ト数分だけ抽出し、この抽出された画像データを、上記
画像シフト手段によりシフトされた位置に合せて上記1
アドレス単位のデータとして第2のラッチ手段にラッチ
される。そして、デスティネーションによるアドレス指
定の際に、書込手段によって、上記画像記憶手段内のそ
の指定アドレス対応位置に、上記第2のラッチ手段にラ
ッチされた画像データが書込まれる。そして、この第1
のラッチ手段、画像シフト手段、第2のラッチ手段及び
書込手段の各動作が、制御手段によって、上記ソースア
ドレス及びデスティネーションアドレスの更新毎に繰り
返し制御される。この際、上記第2のラッチ手段は、2
回目以降のラッチの際に、その直前に抽出されなかった
残りビット数分の画像データに、次にシフトされた次の
1処理単位の画像データから新たに抽出された上記シフ
ト量に応じたビット数分の画像データを、上記シフトさ
れた位置に合せて合成し、この合成された画像データを
上記1アドレス単位のデータとしてラッチするようにし
ている。
When moving a series of image data, the address designating means alternately reads out the source address and the destination address from the first and second address storing means, thereby alternating the address corresponding positions in the image storing means. Address to. The first latch means reads out and latches a predetermined number of bits of image data stored in the designated address corresponding position from the image storage means as one processing unit when the address is designated by the source address in the addressing means. Then, the latched image data of one processing unit is shifted at a bit level by a predetermined shift amount by the image shift means, and the number of bits corresponding to the above shift amount is shifted from the shifted image data of one processing unit. Only, and the extracted image data is matched with the position shifted by the image shift means, and
It is latched by the second latch means as data in address units. Then, when the address is designated by the destination, the image data latched by the second latch means is written by the writing means at the position corresponding to the designated address in the image storage means. And this first
Each operation of the latch means, the image shift means, the second latch means and the writing means is repeatedly controlled by the control means every time the source address and the destination address are updated. At this time, the second latch means is
Bits corresponding to the shift amount newly extracted from the image data of the next one processing unit, which has been shifted next, in the image data of the remaining number of bits that was not extracted immediately before the subsequent latching. Image data of several minutes are combined in accordance with the shifted position, and the combined image data is latched as the data of one address unit.

従って、1アドレス単位での画像データの読み出し毎
に、ビットレベルでシフトされた画像データを画像記憶
手段内の書込み位置に逐次書込むことができ、画像デー
タの移動処理を高速に行うことができる。
Therefore, every time the image data is read in units of one address, the image data shifted at the bit level can be sequentially written in the writing position in the image storage means, and the moving process of the image data can be performed at high speed. .

[実施例] 以下,図面を用いて本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to the drawings.

第1図は本発明の実施例の回路構成図である。 FIG. 1 is a circuit configuration diagram of an embodiment of the present invention.

ソースアドレスジェネレータ1,ディストネーションア
ドレスジェネレータ2,マルチプレクサ3,ビットムーブコ
ントローラ4は,図示しないプロセッサ(CPU)の第1
のバスラインBUS1に接続され,プロセッサより加わる制
御信号によって動作する。ソースアドレスジェネレータ
1はフレームメモリ5内に格納されている移動すべき画
面データのアドレスを発生する回路である。ジェネレー
タ2は,移動するためにソースアドレスジェネレータ1
によって指定され,読み出されたデータを格納するフレ
ームメモリ5のアドレスを発生する回路である。本発明
の実施例においては移動すべきデータは画面上の指定範
囲(面)であるので,ソースアドレスジェネレータ1は
それらの全てのアドレスを順次演算して発生し,ディス
トネーションアドレスジェネレータ2は格納する全ての
アドレスを順次演算して発生する回路である。
The source address generator 1, the destination address generator 2, the multiplexer 3, and the bit move controller 4 are the first processor (CPU) not shown.
It is connected to the bus line BUS1 of and is operated by a control signal applied from the processor. The source address generator 1 is a circuit that generates an address of screen data to be moved, which is stored in the frame memory 5. Generator 2 is a source address generator 1 to move
Is a circuit for generating an address of the frame memory 5 for storing the data specified and read by the. In the embodiment of the present invention, since the data to be moved is the designated range (plane) on the screen, the source address generator 1 sequentially generates all the addresses and generates them, and the destination address generator 2 stores them. It is a circuit that sequentially calculates and generates all addresses.

ソースアドレスジェネレータ1,ディストネーションア
ドレスジェネレータ2のそれぞれの出力はマルチプレク
サ3に加わり,選択されてフレームメモリ5のアドレス
ADに入力する。後述するが,このマルチプレクサ3によ
るそれぞれの出力の選択はソースアドレスジェネレータ
1を先ず選択して出力をフレームメモリ5のアドレスに
加えフレームメモリのソース側をアクセスする。アクセ
スされた読み出されたデータはビット処理された後,デ
ィストネーションアドレスジェネレータ2の出力をマル
チプレクサ3によって選択してフレームメモリ5のアド
レスに加え,ディストネーション側をアクセスしてビッ
ト処理されたデータを格納する。
The outputs of the source address generator 1 and the destination address generator 2 are added to the multiplexer 3 and selected to select the address of the frame memory 5.
Input to AD. As will be described later, in the selection of each output by the multiplexer 3, the source address generator 1 is first selected, the output is added to the address of the frame memory 5, and the source side of the frame memory is accessed. After the accessed read data is bit-processed, the output of the destination address generator 2 is selected by the multiplexer 3 and added to the address of the frame memory 5, and the destination side is accessed to output the bit-processed data. Store.

インラッチ回路6,ビットシフト7,アウトラッチ回路8,
デコーダ11,アウトラッチロックコントローラ10は前述
したビット処理を行う回路であり,ビットムーブコント
ローラ4はクロックシフト量等を出力してそれらの回路
を制御する。
In-latch circuit 6, bit shift 7, out-latch circuit 8,
The decoder 11 and the out-latch lock controller 10 are circuits that perform the above-described bit processing, and the bit move controller 4 outputs a clock shift amount and the like to control those circuits.

マルチプレクサ3を介してソースアドレスジェネレー
タ1のアドレス値がフレームメモリ5に加わると,フレ
ームメモリ5はデータ出力端子DOUTより対応するアドレ
スのデータをインラッチ回路6に出力する。インラッチ
回路6はビットムーブコントローラより加わるクロック
のCLKによってそのデータを格納する。本発明の実施例
においてはフレームメモリ5は,アドレスを32ビット
(1ワード)としたメモリであり,1回のアクセスに対し
て32ビットを出力するので当然ながら以下に接続されて
いる回路を全て,32ビットで処理される。
When the address value of the source address generator 1 is applied to the frame memory 5 via the multiplexer 3, the frame memory 5 outputs the data of the corresponding address from the data output terminal D OUT to the in-latch circuit 6. The in-latch circuit 6 stores the data by CLK of the clock applied from the bit move controller. In the embodiment of the present invention, the frame memory 5 is a memory having an address of 32 bits (1 word), and outputs 32 bits for one access, so naturally all the circuits connected below are connected. , Processed in 32 bits.

ビットムーブコントローラ4はデコーダ11,アウトラ
ッチクロックコントローラ10にシフト量を表すデータを
出力する。シフト量とは1ワード内におけるシフト量を
表している(ドットすなわちビットイメージでの移動を
可能とするために必要である)。デコーダ11はこのデー
タをデコードして32ビットのデコードされたシフト量と
してビットシフタのシフト入力SHIETに加える。ビット
シフタ7は入力したシフト量に対応してインラッチ回路
6より入力DTに加わる32ビットのデータをシフトしてア
ウトラッチ回路8に出力する。ビットシフタ7における
シフトは例えば右シフトであり,シフトした事によって
32ビット内からシフト側にはみ出したビットは反対側よ
り入力するようになされている。例えばD0,D1,D2,D3
・・・・・D27,D28,D29,D30,D31がビットシフタ7
に加わり,シフト量が3ビットであった時には,D29,D
30,D31,D0,D1,D2,D3・・・・D28のようになる。本
発明の実施例においてはビットシフタは入力したデータ
をシフト量に対応してシフトするように構成されたゲー
ト回路である。この回路はデコーダ9をシフト量に対応
したクロックを発生する回路であるならばプリセッタブ
ルシフトレジスタとすることもできる。
The bit move controller 4 outputs data indicating the shift amount to the decoder 11 and the outlatch clock controller 10. The shift amount represents the shift amount within one word (necessary to enable movement in dots or bit images). The decoder 11 decodes this data and adds it to the shift input SHIET of the bit shifter as a 32-bit decoded shift amount. The bit shifter 7 shifts the 32-bit data added to the input DT from the in-latch circuit 6 according to the input shift amount and outputs it to the out-latch circuit 8. The shift in the bit shifter 7 is, for example, right shift.
Bits protruding from the 32 bits to the shift side are input from the opposite side. For example, D 0 , D 1 , D 2 , D 3
・ ・ ・ ・ ・ D 27 , D 28 , D 29 , D 30 , and D 31 are bit shifters 7
In addition, when the shift amount is 3 bits, D 29 , D
30 , D 31 , D 0 , D 1 , D 2 , D 3 ... D 28 . In the embodiment of the present invention, the bit shifter is a gate circuit configured to shift the input data according to the shift amount. This circuit may be a presettable shift register if the decoder 9 is a circuit for generating a clock corresponding to the shift amount.

アウトラッチ回路8はビットシフタ7によってシフト
したデータを取り込み格納する回路である。ビットシフ
タ7においてシフトしたデータを必要なデータとするよ
うに格納しなくてはならない。この格納の制御を行うの
がアウトラッチクロックコントローラ10である。アウト
ラッチクロックコントローラ10にはシフト量を指定する
データと取り込みを指示するクロックのφ1,φ2がビッ
トムーブコントローラ4より加わり,これらの信号によ
ってアウトラッチ回路8に加わる32ビットデータのどの
ビットをアウトラッチ回路8に格納する力を指示するク
ロック信号がデータビットに対応して加わる。
The outlatch circuit 8 is a circuit for fetching and storing the data shifted by the bit shifter 7. The data shifted in the bit shifter 7 must be stored so as to be required data. The outlatch clock controller 10 controls this storage. Phi 1 clock instructing data and capture that specifies the amount of shift in the out latch clock controller 10, phi 2 is applied from the bit move controller 4, which bits of the 32-bit data applied to the out latch circuit 8 by these signals A clock signal indicating a force to be stored in the out-latch circuit 8 is applied corresponding to the data bit.

第2図はアウトラッチクロックコントローラ10とアウ
トラッチ回路8をさらに詳細に表した回路図である。ビ
ットムーブコントローラ4よりデコーダ10−1にシフト
量を指示するデータ(5ビット)が加わり,デコーダ10
−1はそれをデコードしてインバータI0とナンドゲート
N1〜N31に加える。入力したデータが0の時にはデコー
ダの出力X0はローレベル(以下Lと呼ぶ)となり,他は
ハイレベル(以下Hと呼ぶ)となる。1の時には出力X1
がLとなり他はHとなる。すなわち入力したデータ値に
対応した出力ビットがLとなり他のビットはHとなるよ
うにデコーダ10−1は動作する。インバータI0にはデー
タX0が加わる。ナンドゲートN1にはデータX0,X1がナン
ドゲートN2にはデータX0,X1,X2が加わるように,順次
ナンドゲートにはデコーダの数に比例してゲートに加わ
る。当然ながらナンドゲートN1〜N31はその数に対応し
たゲートを有している。出力X0がL他がHすなわちシフ
ト量が0の時には、インバータI0にはLが加わるのでそ
の出力はHとなる。またナンドゲートN1〜N31には出力X
0のLが加わっているのでナンドゲートN1〜N31の出力は
Hとなる。すなわちシフト量が0の時にはインバータI1
とナンドゲートN1〜N31の出力は全てHとなる。他の場
合,例えば出力X2がLの時(シフト量が2)にはインバ
ータI0にはH,ナンドゲートN1の2個の入力にもHが加わ
るので,インバータI0の出力とナンドゲートN1の出力は
Lとなる。他のナンドゲートN2〜N32の1個の入力にL
が加わるので,その出力はHとなる。このような動作に
よってインバータI0とナンドゲートN2〜N32の出力はシ
フト量に比例した数のビットがLとなり,他はHとな
る。インバータI0とナンドゲートN1〜N31の出力はアン
ドゲートA00〜A031とインバータI1〜I32を介してアンド
ゲートA10〜A131にそれぞれ加わる。アンドゲートA00
A031の他方の入力にはクロックφ1が加わっており,ア
ンドゲートA10〜A131の他方の入力にはクロックφ2が加
わっている。例えばシフト量が2の時には,アンドゲー
トA00とA01にLが加わるので,アンドゲートA00,A01
オフとなってクロックφ1は出力されない。尚,アンド
ゲートA10,A11はオンであるので,φ2はンドゲート
A10,A11より出力される。一方,この時,アンドゲート
A02〜A031にはHが加わるので,このゲートがオンとな
り,クロックφ1が出力される。また,アンドゲートA12
〜A131はインバータI3〜I32によりLが加わるのでオフ
であるので,φ2はアンドゲートA12〜A131より出力され
ない。アンドゲートA10〜A131,A00〜A031の出力はオア
ゲートOR0〜OR31にそれぞれ加わっているので,その結
果としてクロックφ2はオアゲートOR0,OR1より,クロ
ックφ1はオアゲートOR2〜OR31よりそれぞれ出力され
る。シフト量が2の時について述べたが,これは他シフ
トの場合にも同様であり,シフト量に対応した数だけク
ロックφ1がオアゲートOR0〜OR31より出力され残りはク
ロックφ2が出力される。オアゲートOR0〜OR31の出力は
フリップフロップF0〜F31のクロック入力端子に加わっ
ており,データ入力Dには,ビットシフタ7の出力が入
力している。そして出力はフレームメモリ5に加わる。
シフト量に対応してクロックφ1,φ2が出力されるの
で,ビットシフタ7より加わるデータの必要なビットの
みを格納することがこの回路によって可能となる。第3,
4図はその動作を説明する画面の移動と,タイミングチ
ャート図である。第3図におけるソース画面Sをディス
トネーションエリアDに移動する場合を第4図のタイミ
ングチャート図を用いて説明する。
FIG. 2 is a circuit diagram showing the outlatch clock controller 10 and the outlatch circuit 8 in more detail. Data (5 bits) for instructing the shift amount is added to the decoder 10-1 from the bit move controller 4, and the decoder 10-1
-1 decodes it and inverter I 0 and NAND gate
Added to the N 1 ~N 31. When the input data is 0, the output X 0 of the decoder is low level (hereinafter referred to as L) and the other is high level (hereinafter referred to as H). Output 1 when 1
Becomes L and the other becomes H. That is, the decoder 10-1 operates so that the output bit corresponding to the input data value becomes L and the other bits become H. Data X 0 is added to the inverter I 0 . The data X 0 , X 1 is added to the NAND gate N 1 , and the data X 0 , X 1 , X 2 is added to the NAND gate N 2 , so that the NAND gate is sequentially added to the gate in proportion to the number of decoders. Naturally, the NAND gates N 1 to N 31 have gates corresponding to the number. When the output X 0 is L and the other is H, that is, when the shift amount is 0, L is added to the inverter I 0 , so that the output becomes H. Also, the output X is applied to the NAND gates N 1 to N 31.
Since L of 0 is added, the outputs of the NAND gates N 1 to N 31 become H. That is, when the shift amount is 0, the inverter I 1
And the outputs of the NAND gates N 1 to N 31 are all H. In other cases, for example, the output X 2 is the inverter I 0 when (shift amount is 2) L H, since H is applied to the two inputs of the NAND gate N 1, output and NAND gate N inverter I 0 The output of 1 becomes L. L to one input of other NAND gates N 2 to N 32
Is added, its output becomes H. By such an operation, the output of the inverter I 0 and the NAND gates N 2 to N 32 becomes L in the number of bits proportional to the shift amount and becomes H in the other bits. The outputs of the inverter I 0 and the NAND gates N 1 to N 31 are applied to the AND gates A 10 to A 131 via the AND gates A 00 to A 031 and the inverters I 1 to I 32 , respectively. AND GATE A 00 ~
The clock φ 1 is applied to the other input of A 031 , and the clock φ 2 is applied to the other inputs of the AND gates A 10 to A 131 . For example, when the shift amount is 2, so L is applied to the AND gate A 00 and A 01, the AND gate A 00, the clock phi 1 A 01 is turned off is not output. Since AND gates A 10 and A 11 are on, φ 2 is a NAND gate.
It is output from A 10 and A 11 . On the other hand, at this time, AND gate
Since H is added to A 02 to A 031 , this gate is turned on and the clock φ 1 is output. Also, AND gate A 12
To A 131 is because it is off since L is applied by the inverter I 3 ~I 32, φ 2 is not output from the AND gate A 12 to A 131. The outputs of the AND gates A 10 to A 131 and A 00 to A 031 are added to the OR gates OR 0 to OR 31 , respectively. As a result, the clock φ 2 is OR gate OR 0 and OR 1 , and the clock φ 1 is OR gate OR. Output from 2 to OR 31 respectively. The case where the shift amount is 2 has been described, but this is the same in the case of other shifts. Clock φ 1 is output from the OR gates OR 0 to OR 31 by the number corresponding to the shift amount and the remaining clock φ 2 is output. To be done. The outputs of the OR gates OR 0 to OR 31 are added to the clock input terminals of the flip-flops F 0 to F 31 , and the output of the bit shifter 7 is input to the data input D. The output is then added to the frame memory 5.
Since the clocks φ 1 and φ 2 are output corresponding to the shift amount, this circuit can store only the necessary bits of the data added by the bit shifter 7. number 3,
Figure 4 is a timing chart and the movement of the screen to explain the operation. The case of moving the source screen S in FIG. 3 to the destination area D will be described with reference to the timing chart of FIG.

先ず,ソース側の1ワードデータをフレームメモリよ
り読み出す。この読み出しには前述したソースアドレス
ジェネレータによって指定される。読み出されたデータ
はインラッチクロックCLKによってインラッチ回路6
に格納され,ビットシフタ7によってシフトされて,ア
ウトラッチ回路8に加わる。アウトラッチ回路8には前
述したようにシフト量に比例してフリップフロップF0
F31にクロックφ1,φ2が加わるが,まずはクロックφ1
が加わる。第4図に示したシフト量は30であり,上位2
ビットすなわち,インラッチ回路6に格納されたビット
D0,D1がクロックφ1によってフリップフロップF30,F
31に格納される。そして,アウトラッチ回路8より前述
の2ビットのデータはフレームメモリ5のデータ入力
DINに加わり,マルチプレクサ9より加わるライトタイ
ミングWTでディストネーションジェネレータより指定さ
れた位置にそれらの2ビットが書き込まれる。前述した
ソースアドレスジェネレータ1とディストネーションジ
ェネレータ2とをマルチプレクサ3によって切り換える
制御信号,並びにプロセッサCPUのライトタイミングと
ビットムーブコントローラより出力されるライトタイミ
ングとをマルチプレクサ9により切り換える制御信号は
全てビットムーブコントローラより出力される。尚,マ
ルチプレクサ3にはプロセッサCPUのバスラインBUS1が
加わっているが,画面の移動処理を行っていない時には
プロセッサより加わるアドレス信号がフレームメモリ5
に入力し,アドレス指定が行えるようになっている。尚
フレームメモリ5はデータ入力DIN,データ出力DOUTにそ
れぞれプロセッサCPUのデータ用のバスラインBUS3,BUS2
が接続され,このバスラインによって画面への書き込み
が可能となっている。さらにフレームメモリの出力はデ
ィスプレーCRTに加わるようになっており,バスラインB
US1によって順次走査されて表示される。
First, 1-word data on the source side is read from the frame memory. This reading is designated by the source address generator described above. The read data is transferred to the in-latch circuit 6 by the in-latch clock CLK.
Are added to the out-latch circuit 8 after being shifted by the bit shifter 7. In the outlatch circuit 8, as described above, the flip-flops F 0 to
Clocks φ 1 and φ 2 are added to F 31 , but first clock φ 1
Is added. The shift amount shown in FIG.
Bit, that is, the bit stored in the in-latch circuit 6
D 0 and D 1 are flip-flops F 30 and F according to clock φ 1 .
Stored in 31 . Then, the above-mentioned 2-bit data is input to the frame memory 5 from the outlatch circuit 8.
In addition to DIN, those 2 bits are written at the position designated by the destination generator at the write timing WT applied by the multiplexer 9. The control signal for switching the source address generator 1 and the destination generator 2 by the multiplexer 3 and the control signal for switching the write timing of the processor CPU and the write timing output from the bit move controller by the multiplexer 9 are all from the bit move controller. Is output. Although the bus line BUS1 of the processor CPU is added to the multiplexer 3, the address signal added by the processor is added to the frame memory 5 when the screen movement processing is not performed.
The address can be specified by inputting to. The frame memory 5 has bus lines BUS3 and BUS2 for data of the processor CPU for data input DIN and data output DOUT, respectively.
Is connected, and writing to the screen is possible with this bus line. Furthermore, the output of the frame memory is designed to be added to the display CRT, and the bus line B
It is sequentially scanned and displayed by US1.

さらに第4図に戻って説明する。2ビットのデータ
をフレームメモリに書き込んだ時には,インラッチ回路
にはのデータが格納され,ビットシフタに加わってい
るので,クロックφ2が加わることによってビットD2〜D
31がフリップフロップF0〜F29に格納される。次にビ
ットムーブコントローラ4の制御によってソースアドレ
スジェネレータの出力が選択され,フレームメモリ5の
アドレス入力ADに加わり,第2番目のデータ(ワード
)がデータ出力Doutに出力される。このデータが出力
された後インラッチクロックCLKがビットムーブコント
ローラ4よりインラッチ回路6に加わり,インラッチ回
路は第2番目のデータを格納する。そして必要なビッ
ト分ビットシフタ7によって30ビットシフトされてクロ
ックφ1でアウトラッチクロックに取込まれる。アウト
ラッチ回路のビットD2〜D31にはデータの一部(を
除いたデータ)が格納されており,データのビット
D0,D1,がφ1によって取り込まれたのでこの32ビッ
トには次に書き込むべきデータ,が格納されてい
る。このアウトラッチ回路8に格納されたデータはフレ
ームメモリ5に出力され,マルチプレクサ9より加わる
ライトタイミングでディストネーションアドレスジェネ
レータ2で指定されるアドレス位置に格納される。
Further, returning to FIG. 4, description will be made. When 2-bit data is written to the frame memory, since the data of is stored in the in-latch circuit and added to the bit shifter, the addition of clock φ 2 causes bits D 2 to D
31 is stored in the flip-flops F 0 to F 29 . Next, the output of the source address generator is selected by the control of the bit move controller 4, added to the address input AD of the frame memory 5, and the second data (word) is output to the data output D out . After this data is output, the in-latch clock CLK is applied to the in-latch circuit 6 from the bit move controller 4, and the in-latch circuit stores the second data. Then, the necessary bits are shifted by 30 bits by the bit shifter 7 and taken into the out latch clock at the clock φ 1 . The bit D 2 to D 31 out latch circuits are partially (data excluding) the storage of data, bit data
Since D 0 and D 1 are taken in by φ 1 , the data to be written next is stored in these 32 bits. The data stored in the outlatch circuit 8 is output to the frame memory 5 and stored at the address position designated by the destination address generator 2 at the write timing applied by the multiplexer 9.

前述した動作は表示画面の一走査単位で繰り返しさ
れ,特定エリアの移動がなされる。
The above-described operation is repeated for each scanning unit of the display screen to move the specific area.

以上の説明では,第1ワード目の移動においてはムー
ブに必要とするビットのみをフレームメモリに格納して
いるが,あらかじめディストメーションアドレスジェネ
レータ2より指定されたフレームメモリ内容を0ビット
シフトでビットシフタ7を介してアウトラッチ回路8に
格納しておくことによって,1ワード単位でのメモリの書
き込みが可能となる。さらに,第4図における実施例の
タイミング図ではソース画面がちょうど1ワードで区切
られたエリアであるが,これは説明を明確にするための
ものであり,同様の手順で行うことによってビット(ド
ット)イメージでの移動が可能となる。
In the above description, only the bits required for the move are stored in the frame memory when the first word is moved. However, the contents of the frame memory designated by the distortion address generator 2 in advance are shifted by 0 bit by the bit shifter 7 By storing the data in the outlatch circuit 8 via, it is possible to write the memory in units of one word. Further, in the timing diagram of the embodiment shown in FIG. 4, the source screen is an area divided by exactly one word, but this is for clarifying the description, and the bit (dot) ) It is possible to move by image.

〔発明の効果〕〔The invention's effect〕

本発明によれば、1アドレス単位での画像データの読
み出し毎に、ビットレベルでシフトされた画像データを
画像記憶手段内の書込み位置に逐次書込むことができ、
画像データの移動処理を高速に行うことができる。
According to the present invention, the image data shifted at the bit level can be sequentially written in the writing position in the image storage means every time the image data is read in units of one address.
The moving process of image data can be performed at high speed.

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

第1図は本発明の実施例の回路構成図,第2図は本発明
の実施例のアウトラッチクロックコントローラとアウト
ラッチ回路の詳細な回路図,第3図は画像の移動を表す
図,第4図は本発明の実施例のタイミングチャート図で
ある。 1……ソースアドレスジェネレータ,2……ディストネー
ションアドレスジェネレータ,3,9……マルチプレクサ,4
……ビットムーブコントローラ,5……フレームメモリ,6
……インラッチ回路,7……ビットシフタ,8……アウトラ
ッチ回路,10……アウトラッチクロックコントローラ,1
1,10−1……デコーダ,I0〜I32……インバータ,N1〜N
31……ナンドゲート,A10〜A131,A00〜A031……アンド
ゲート,OR0〜OR31……オアゲート,F0〜F31……フリッ
プフロップ.
FIG. 1 is a circuit configuration diagram of an embodiment of the present invention, FIG. 2 is a detailed circuit diagram of an outlatch clock controller and an outlatch circuit of an embodiment of the present invention, FIG. 3 is a diagram showing movement of an image, FIG. FIG. 4 is a timing chart of the embodiment of the present invention. 1 …… Source address generator, 2 …… Destination address generator, 3,9 …… Multiplexer, 4
…… Bit move controller, 5 …… Frame memory, 6
…… In-latch circuit, 7 …… Bit shifter, 8 …… Out-latch circuit, 10 …… Out-latch clock controller, 1
1,10-1 Decoder, I 0 to I 32 Inverter, N 1 to N
31 …… NAND gate, A 10 to A 131 , A 00 to A 031 …… AND gate, OR 0 to OR 31 …… OR gate, F 0 to F 31 …… Flip-flop.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】所定数ビットを1アドレス単位として、複
数ビットの画像データを複数アドレスに記憶する画像記
憶手段と、 アドレス指定毎に順次更新されるソースアドレスを記憶
する第1のアドレス記憶手段と、 アドレス指定毎に順次更新されるデスティネーションア
ドレスを記憶する第2のアドレス記憶手段と、 上記第1、第2のアドレス記憶手段からソースアドレ
ス、及びデスティネーションアドレスを交互に読み出す
ことにより、上記画像記憶手段内のアドレス対応位置を
交互にアドレス指定するアドレス指定手段と、 上記アドレス指定手段での上記ソースアドレスによるア
ドレス指定の際に、この指定アドレス対応位置に記憶さ
れた所定数ビットの画像データを1処理単位として上記
画像記憶手段から読み出してラッチする第1のラッチ手
段と、 この第1のラッチ手段でラッチされた1処理単位の画像
データを所定のシフト量だけビットレベルでシフトする
画像シフト手段と、 上記画像シフト手段によりシフトされた1処理単位の画
像データから上記シフト量に応じたビット数分だけ抽出
し、この抽出された画像データを、上記画像シフト手段
によりシフトされた位置に合せて上記1アドレス単位の
データとしてラッチする第2のラッチ手段と、 上記アドレス指定手段での上記デスティネーションアド
レスによるアドレス指定の際に、上記画像記憶手段内の
その指定アドレス対応位置に、上記第2のラッチ手段に
ラッチされた画像データを書込む書込手段と、 上記第1のラッチ手段、画像シフト手段、第2のラッチ
手段及び書込手段の各動作を上記ソースアドレス及びデ
スティネーションアドレスの更新毎に繰り返し制御する
制御手段と を備え、 上記第2のラッチ手段は、2回目以降のラッチの際に、
その直前に抽出されなかった残りビット数分の画像デー
タに、次にシフトされた次の1処理単位の画像データか
ら新たに抽出された上記シフト量に応じたビット数分の
画像データを、上記シフトされた位置に合せて合成し、
この合成された画像データを上記1アドレス単位のデー
タとしてラッチするようにした ことを特徴とする画像データ制御装置。
1. An image storage means for storing a plurality of bits of image data at a plurality of addresses, with a predetermined number of bits as one address unit, and a first address storage means for storing a source address that is sequentially updated for each address designation. , A second address storage unit that stores a destination address that is sequentially updated for each address designation, and a source address and a destination address that are alternately read from the first and second address storage units, whereby the image An address designating means for alternately designating address corresponding positions in the storage means, and a predetermined number of bits of image data stored in the designated address corresponding position when addressing by the source address in the address designating means. A first processing unit that reads out from the image storage means and latches as one processing unit Latch means, image shift means for shifting the image data of one processing unit latched by the first latch means by a predetermined shift amount at a bit level, and image data of one processing unit shifted by the image shifting means. Second latching means for extracting the number of bits corresponding to the shift amount from the image data, and latching the extracted image data as the data of one address unit in accordance with the position shifted by the image shifting means, A writing means for writing the image data latched by the second latch means at a position corresponding to the designated address in the image storage means when the address is designated by the destination address by the address designating means; The operations of the first latch means, the image shift means, the second latch means and the writing means are controlled by the source address and And a control means for repeatedly controlling each time the destination address is updated, wherein the second latch means is provided for latching the second time and thereafter.
Immediately before that, the image data for the number of remaining bits not extracted is replaced with the image data for the number of bits corresponding to the shift amount newly extracted from the image data of the next processing unit shifted next. Synthesize according to the shifted position,
An image data control device characterized in that the synthesized image data is latched as the data in units of one address.
JP59279528A 1984-12-26 1984-12-26 Image data control device Expired - Lifetime JPH0821076B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59279528A JPH0821076B2 (en) 1984-12-26 1984-12-26 Image data control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59279528A JPH0821076B2 (en) 1984-12-26 1984-12-26 Image data control device

Publications (2)

Publication Number Publication Date
JPS61151690A JPS61151690A (en) 1986-07-10
JPH0821076B2 true JPH0821076B2 (en) 1996-03-04

Family

ID=17612268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59279528A Expired - Lifetime JPH0821076B2 (en) 1984-12-26 1984-12-26 Image data control device

Country Status (1)

Country Link
JP (1) JPH0821076B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4892759B2 (en) * 2005-12-06 2012-03-07 株式会社東京洗染機械製作所 Grooving receiving plate for dehydrator

Also Published As

Publication number Publication date
JPS61151690A (en) 1986-07-10

Similar Documents

Publication Publication Date Title
KR940006348B1 (en) Terminal device in a bitmapped graphics workstation
KR950012080B1 (en) Display control unit
KR920003858B1 (en) Logic operation circuit
JPS5854472A (en) Picture processing apparatus and method
JPH0346850B2 (en)
US4839826A (en) Affine conversion apparatus using a raster generator to reduce cycle time
US4394735A (en) Data processor controlled by microprograms
JPH0821076B2 (en) Image data control device
JP2709356B2 (en) Image processing method
KR100355987B1 (en) Display driving circuit
JPH0795269B2 (en) Instruction code decoding device
JPS5947394B2 (en) Variable length two-dimensional register
GB2210760A (en) Image rotation circuit
JP2512945B2 (en) Image memory device
JPH026106B2 (en)
EP0242139A2 (en) Display controller
KR100195199B1 (en) Graphic controller using meta align mode destination addressing circuit
JPS60230687A (en) Crt display unit allowed to display half-quads character
JPH02231632A (en) Control storage loading memory for data processor
JPS6078481A (en) Character display
JPS61251930A (en) Processing circuit of digital data
JPS61190389A (en) Character display unit
JPS61262789A (en) Image memory access system
JPH03189727A (en) Control storage loading system
JPS60132243A (en) Template read-out circuit