JPH0310957B2 - - Google Patents

Info

Publication number
JPH0310957B2
JPH0310957B2 JP60171328A JP17132885A JPH0310957B2 JP H0310957 B2 JPH0310957 B2 JP H0310957B2 JP 60171328 A JP60171328 A JP 60171328A JP 17132885 A JP17132885 A JP 17132885A JP H0310957 B2 JPH0310957 B2 JP H0310957B2
Authority
JP
Japan
Prior art keywords
word
address
data
rectangular area
area
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
Application number
JP60171328A
Other languages
Japanese (ja)
Other versions
JPS6231892A (en
Inventor
Hisao Kobayashi
Hidemi Murata
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60171328A priority Critical patent/JPS6231892A/en
Publication of JPS6231892A publication Critical patent/JPS6231892A/en
Publication of JPH0310957B2 publication Critical patent/JPH0310957B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔概 要〕 本発明はビツトマツプメモリ上の矩形領域内の
ビツトデータを、ワード単位に移動せしめるビツ
トマツプメモリ操作回路であつて 各々ワード操作ごとに指定の矩形領域内を歩進
する移動元矩形領域のワードアドレスおよび目的
領域のワードアドレスとを読出し/書込み指令で
切替えるとともに、読取つたワードデータをシフ
ト手段により目的領域の移動先ワードに整列せし
め、書込禁止領域をマスクして上記データを書込
む操作回路を提供する。
[Detailed Description of the Invention] [Summary] The present invention is a bit map memory operation circuit that moves bit data within a rectangular area on a bit map memory word by word. The word address of the source rectangular area to be incremented and the word address of the destination area are switched by a read/write command, and the read word data is aligned with the destination word of the destination area by a shift means, and the write-prohibited area is An operation circuit for writing the above data with masking is provided.

〔産業上の利用分野〕[Industrial application field]

本発明はビツトマツプメモリ操作回路に関す
る。
The present invention relates to a bitmap memory manipulation circuit.

ビツトマツプメモリに基づき出力する表示装置
等では、表示画面上のデータの移動とか複写等の
ため、ビツトマツプメモリ上でデータの読出し/
書込み操作が行われる。
In display devices that output data based on bitmap memory, data can be read/written on the bitmap memory in order to move or copy data on the display screen.
A write operation is performed.

この移動、複写等の操作は矩形領域単位で行わ
れ、移動元(以下ソースと称する)矩形領域の位
置、長さ等と、移動先(以下目的:デイステイネ
ーシヨンと称する)矩形領域の位置等のパラメー
タが指定される。
These operations such as movement and copying are performed in units of rectangular areas, and the position, length, etc. of the rectangular area from which to move (hereinafter referred to as source) and the position of the rectangular area to which to move (hereinafter referred to as destination) rectangular area. etc. parameters are specified.

この矩形領域データの読出し/書込み処理をビ
ツト単位に行うと操作回数即ち処理時間が長くな
り、またソフトウエアでワードまたはバイト単位
に読出し/書込みを行うと移動元と移動先とのワ
ード整列処理のため、やはり処理時間が長くなる
という問題点がある。
If this rectangular area data is read/written in units of bits, the number of operations, that is, the processing time will be longer, and if the software is used to read/write in units of words or bytes, it will be difficult to align the words between the source and destination. Therefore, there is still a problem that the processing time becomes long.

そのため上記問題点を解決するビツトマツプメ
モリ操作回路が求められている。
Therefore, there is a need for a bitmap memory manipulation circuit that solves the above problems.

〔従来の技術〕[Conventional technology]

以下ソフトウエアによるビツトマツプメモリ操
作処理例を示す。
An example of bitmap memory operation processing using software is shown below.

第3図aは表示装置のブロツク図であつて、 30はワード処理可能なマイクロプロセツサ
(MPU)、 31はホストコンピユータより表示データ等を
送受するインタフエース、 32はプログラム、データ等を格納するメモ
リ、 33はビツトマツプメモリで、表示画面に対応
して図示したもの、 34はマルチプレクサであつて、ビツトマツプ
メモリ33の操作をMPU30と駆動部35とで
切替えるもの、 35は駆動部であつて、ビツトマツプメモリ3
3を繰り返し読取るとともに陰極線管(CRT)
表示部36を駆動するもの、 である。
FIG. 3a is a block diagram of the display device, in which 30 is a microprocessor (MPU) capable of word processing, 31 is an interface for transmitting and receiving display data, etc. from the host computer, and 32 is for storing programs, data, etc. Memory: 33 is a bitmap memory, which is shown corresponding to the display screen; 34 is a multiplexer, which switches the operation of the bitmap memory 33 between the MPU 30 and the drive unit 35; 35 is a drive unit; , bit map memory 3
Repeat reading 3 and Cathode Ray Tube (CRT)
This is what drives the display section 36.

表示画面上、X方向に16ドツト単位にワードが
構成され、ビツトマツプメモリ33のワードアド
レスと、上記表示画面上のホームポジシヨン
〔0,0〕からX→Y方向のワードとを対応せし
めている。
On the display screen, a word is formed in units of 16 dots in the X direction, and the word address of the bitmap memory 33 is made to correspond to the word in the X→Y direction from the home position [0,0] on the display screen. There is.

先頭アドレスSP、長さLx,Lyで表される矩形
領域Sのデータを、先頭アドレスDPで表される
領域Dに移動せしめる操作は以下のように行われ
る。〔第3図b動作図参照〕 (1) ワード1を読取り、メモリ3に格納、 (2) SP−DPを演算しその値をシフト量としてメ
モリ3内で右回転シフト操作、 (3) 上記シフトデータをワード3にM1部をマス
クして書込み、続いてワード4にM2部をマス
クして書込む。
The operation of moving the data in the rectangular area S represented by the start address SP and the lengths Lx and Ly to the area D represented by the start address DP is performed as follows. [Refer to the operation diagram in Figure 3b] (1) Read word 1 and store it in memory 3. (2) Calculate SP-DP and use the value as the shift amount to perform clockwise shift operation in memory 3. (3) Above Shift data is written into word 3 with the M1 part masked, and then written into word 4 with the M2 part masked.

(4) 上記操作を矩形領域S内の各ワードについて
行う。
(4) Perform the above operation for each word in the rectangular area S.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記説明したように、ビツトマツプメモリのソ
フトウエア操作はワード操作回数が多く、特に矩
形領域が大きいと処理結果の表示が遅くなるとと
もに、他の処理に影響するという問題点があつ
た。
As explained above, the software operation of the bitmap memory requires a large number of word operations, and especially when the rectangular area is large, the display of the processing result becomes slow and there is a problem in that it affects other processing.

上記問題点に鑑み、本発明はワード単位にダイ
レクトメモリアクセス(DMA)によるビツトマ
ツプメモリ操作回路を提供することを目的とする
ものである。
In view of the above problems, it is an object of the present invention to provide a bitmap memory manipulation circuit using direct memory access (DMA) on a word-by-word basis.

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

上記目的のため、本発明のビツトマツプメモリ
操作回路は第1図原理説明図に示すように、 ビツトマツプメモリをワード指定するととも
に、上記矩形領域内のワードアドレスと対応する
目的領域のワードアドレスとをそれぞれ指定する
第1および第2のアドレスカウンタ1,2と、 前記矩形領域の長さに基づきXおよびY方向の
読取りおよび書込みを行うワード操作の回数を計
数する計数手段4を設け、第1および第2のアド
レスカウンタをワード操作ごとに歩進せしめると
ともに前記計数手段により該矩形領域内をアドレ
スせしめるアドレス制御手段3と、 読取指令および書込指令によりアドレス指定を
それぞれ第1および第2のアドレスカウンタに切
替える切替手段5と、 該矩形領域のワードデータを目的領域のワード
データに整列せしめるシフト手段7と、 目的領域の書込禁止領域を指定するマスク手段
8と、 読取指令を送出して該矩形領域のワードデータ
を読取り、前記シフト手段によりシフトせしめる
とともにシフトした該ワードデータを書込指令と
ともに書込禁止領域を指定して書込む操作手段6
と、 を備える。
For the above purpose, the bit map memory operation circuit of the present invention, as shown in the principle explanatory diagram of FIG. first and second address counters 1 and 2 for specifying the length of the rectangular area, respectively; and counting means 4 for counting the number of word operations for reading and writing in the X and Y directions based on the length of the rectangular area; and address control means 3 which increments a second address counter for each word operation and causes the counting means to address within the rectangular area; A switching means 5 for switching to a counter, a shifting means 7 for aligning word data in the rectangular area with word data in a target area, a masking means 8 for specifying a write-prohibited area in the target area, and a masking means 8 for specifying a write-prohibited area in the target area; Operating means 6 for reading word data in a rectangular area, shifting it by the shifting means, and writing the shifted word data together with a write command while specifying a write-prohibited area;
and .

〔作 用〕[Effect]

即ち、第1、第2のアドレスカウンタにそれぞ
れ移動元の先頭ワードアドレス、移動先の先頭ワ
ードアドレスとをセツトし、第1のアドレスカウ
ンタに切替えてビツトマツプメモリの該当ワード
を読取るとともに、シフト手段により移動先ワー
ドに整列せしめる。
That is, the first and second address counters are set with the first word address of the source and the first word address of the destination, respectively, the first address counter is switched to read the corresponding word in the bitmap memory, and the shift means to align it to the destination word.

続いて第2のアドレスカウンタに切替え、書込
禁止領域をマスクして書込む。
Then, switching to the second address counter, masking the write-inhibited area and writing.

第1、第2のアドレスカウンタは指定された矩
形領域内で歩進され、上記動作が繰返される。
The first and second address counters are incremented within the designated rectangular area, and the above operation is repeated.

上記ビツトマツプメモリ操作回路により、マイ
クロプロセツサMPUは移動元、移動先を指定す
るパラメータをセツトするのみで、以後DMAで
操作が行われる。
By using the bitmap memory manipulation circuit described above, the microprocessor MPU only needs to set parameters specifying the migration source and migration destination, and subsequent operations are performed using DMA.

〔実施例〕〔Example〕

本発明の詳細を第2図に示す実施例に従つて説
明する。
The details of the present invention will be explained according to the embodiment shown in FIG.

(ワードアドレスの説明) 第2図aはXおよびY軸がそれぞれ4096ビツト
で構成されたビツトマツプメモリのワードアドレ
ス説明図である。
(Explanation of Word Addresses) FIG. 2a is an explanatory diagram of word addresses of a bitmap memory in which the X and Y axes each consist of 4096 bits.

即ち表示画面は原点(0,0)よりX方向に16
ビツト(ワード)ごとにワードアドレスが付さ
れ、1ライン256ワードが終了すると次のライン
(Y=1)に進んで連続番号が付される。
In other words, the display screen is 16 in the X direction from the origin (0,0).
A word address is assigned to each bit (word), and when one line of 256 words is completed, the next line (Y=1) is assigned a consecutive number.

このようなワードアドレスは、第2図aに示す
ようにX座標のアドレス12ビツトの上位8ビツト
とY座標のアドレス12ビツトとの合成で得られ、
X座標のアドレス下位4ビツトはワード内アドレ
スを示す。
Such a word address is obtained by combining the upper 8 bits of the 12 bits of the address of the X coordinate and the 12 bits of the address of the Y coordinate, as shown in Figure 2a.
The lower 4 bits of the address of the X coordinate indicate the intra-word address.

以上のごとく表示画面とビツトマツプメモリと
が対応してビツトマツプメモリの操作が行われ
る。
As described above, the bitmap memory is operated in correspondence with the display screen and the bitmap memory.

(構 成) 第2図bは実施例のビツトマツプメモリ操作回
路ブロツク図であつて、図中、 10はマイクロプロセツサMPU、 28はビツトマツプメモリでマスク回路28a
を備えるもの、 であり、本発明のビツトマツプメモリ操作回路は
以下の回路より構成される。
(Configuration) FIG. 2b is a block diagram of the bitmap memory operation circuit of the embodiment, in which 10 is a microprocessor MPU, 28 is a bitmap memory, and a mask circuit 28a is shown.
The bitmap memory operation circuit of the present invention is comprised of the following circuits.

「アドレス回路」 12はソース領域の先頭位置SPのX座標アド
レスをセツトする12ビツトのレジスタSXP−
Reg、 13はSXP−Reg12の上位8ビツトがセツト
され、ワード処理ごとにカウントアツプされるア
ドレスカウンタSXP−Cnt、 14はソース領域の先頭位置SPのY座標アド
レス12ビツトがセツトされ、X方向のワード処理
終了ごとにカウントアツプされるアドレスカウン
タSYP−Cntで、SXP−Cnt13とともに第2図
aに示したソース領域のワードアドレスを指定す
るもの、 15はデイステイネーシヨンの先頭位置DPの
X座標アドレスをセツトする12ビツトのレジスタ
DXP−Reg、 16はDXP−Reg15の上位8ビツトがセツ
トされ、ワード処理ごとにカウントアツプされる
アドレスカウンタDXP−Cnt、 17は先頭位置DPのY座標のアドレス12ビツ
トがセツトされ、SYP−Cnt14とともにカウン
トアツプされるアドレスカウンタDYP−Cntで、
DXP−Cnt16とともにデイステイネーシヨンの
ワードアドレスを設定するもの、 18はビツト数で表されるX方向の長さLxが
セツトされるレジスタDXL−Reg、 19はDXL−Reg18の下位4ビツトを除外
した上位ビツトがセツト(X方向のワード数−
1)され、ワード処理ごとにカウントダウンされ
るDXL−Cnt、 20はビツト数で表されるY方向の長さLyが
セツトされ、X方向の処理終了ごとにカウントダ
ウンされるDYL−Cnt、 21はマルチプレクサで、主制御部11の送出
する読取/書込指令により、SXP−Cnt13,
SYP−Cnt14のソースアドレス出力とDXP−
Cnt16,DYP−Cnt17のデイステイネーシヨ
ンアドレス出力とを切替えるもの、 より構成されている。
"Address circuit" 12 is a 12-bit register SXP- which sets the X coordinate address of the starting position SP of the source area.
Reg, 13 is an address counter SXP-Cnt in which the upper 8 bits of SXP-Reg12 are set, and is incremented each time a word is processed; 14 is an address counter 12 bits of the Y coordinate address of the starting position SP of the source area is set; The address counter SYP-Cnt is incremented each time word processing is completed, and together with SXP-Cnt13, it specifies the word address of the source area shown in Figure 2a. 15 is the X coordinate of the start position DP of the destination. 12-bit register to set address
DXP-Reg, 16 is an address counter DXP-Cnt in which the upper 8 bits of DXP-Reg15 are set and counted up every time a word is processed, 17 is an address counter 12 bits of the Y coordinate of the start position DP is set, and SYP-Cnt14 The address counter DYP-Cnt is counted up with the
Together with DXP-Cnt16, the word address of the destination is set. 18 is the register DXL-Reg where the length Lx in the X direction expressed in bits is set. 19 excludes the lower 4 bits of DXL-Reg18. The upper bits are set (the number of words in the X direction -
1) DXL-Cnt, which is counted down each time word processing is performed; 20 is DYL-Cnt, in which the length Ly in the Y direction expressed in bits is set, and which is counted down each time processing in the X direction is completed; 21 is a multiplexer; Then, according to the read/write command sent by the main control unit 11, the SXP-Cnt13,
SYP-Cnt14 source address output and DXP-
It consists of a device that switches between Cnt16 and DYP-Cnt17 destination address output.

「シフト回路」 25,26は処理ワード順に交互に読取データ
をセツトするレジスタL−Reg,R−Reg、 24は2ワード幅を持ち、シフト制御部22の
指令により右または左方向に所定量シフトし、シ
フト結果を2ワード並列に出力するシフタ、 23は上記シフタ24の右または左1ワードを
選択出力するマルチプレクサ、 より構成されている。
"Shift circuit" 25 and 26 are registers L-Reg and R-Reg, which set read data alternately in the order of processing words; 24 has a width of 2 words, and is shifted by a predetermined amount to the right or left according to a command from the shift control section 22. The shifter 23 outputs two words of the shift result in parallel, and the multiplexer 23 selectively outputs one word to the right or left of the shifter 24.

「マスクデータ発生回路」 デイステイネーシヨンのX方向の先頭ワードお
よび最終ワードの書込みにおける書込み禁止デー
タを発生するもの、 である。
``Mask Data Generation Circuit'' This circuit generates write-inhibited data for writing the first word and last word of destination in the X direction.

上記ビツトマツプメモリ操作回路は、ビツトマ
ツプメモリ28と1ワード(16)のデータ線10
0、20本のアドレス線101の他、読出し/書込
み信号線等の制御線(図示せず)より構成されて
いる。
The bitmap memory operation circuit has a bitmap memory 28 and a data line 10 of one word (16).
In addition to 0 and 20 address lines 101, the control line includes control lines (not shown) such as read/write signal lines.

(動作説明) 以下動作を説明する。(Operation explanation) The operation will be explained below.

(1) マイクロプロセツサMPU10はソース領域
のパラメータ、即ち先頭位置SPのX,Yアド
レス、X,Y方向の長さLx,Ly、およびデイ
ステイネーシヨンの先頭位置DPのX,Yアド
レスをそれぞれのレジスタにセツトするととも
に、主制御部11を起動する。
(1) The microprocessor MPU 10 inputs the parameters of the source area, that is, the X and Y addresses of the start position SP, the lengths Lx and Ly in the X and Y directions, and the X and Y addresses of the start position DP of the destination. At the same time, the main control section 11 is activated.

(2) 主制御部11はマルチプレクサ21をソース
側のアドレス即ちSXP−Cnt13,SYP−Cnt
14(ソース側)を選択せしめ、ビツトマツプ
メモリ28に読取信号を送出すると、データ線
100にソース領域の先頭ワードのデータが出
力され、このデータをL−Reg25に格納す
る。
(2) The main control unit 11 sets the multiplexer 21 to the source side address, that is, SXP-Cnt13, SYP-Cnt
14 (source side) and sends a read signal to the bitmap memory 28, data of the first word of the source area is output to the data line 100, and this data is stored in the L-Reg 25.

(3) シフト制御部22はSXP−Reg12および
DXP−Reg15の下位4ビツトを比較演算し、
右(または左)シフト指令とシフト量とをシフ
タ24に送出し、マルチプレクサ23に右(ま
たは左)1ワードを選択出力せしめる。
(3) The shift control unit 22 has SXP-Reg12 and
Compare and calculate the lower 4 bits of DXP-Reg15,
A right (or left) shift command and a shift amount are sent to the shifter 24, and the multiplexer 23 is made to selectively output one right (or left) word.

(4) 続いて主制御部11はマルチプレクサ21に
よりアドレス信号線101にDXP−Cnt16お
よびDYP−Cnt17(デイステイネーシヨン
側)を出力するとともに、書込み信号とマスク
データとをビツトマツプメモリ28に送出し、
シフトした上記データ(マルチプレクサ23の
出力)を書込む。
(4) Next, the main control unit 11 outputs DXP-Cnt16 and DYP-Cnt17 (destination side) to the address signal line 101 using the multiplexer 21, and also sends the write signal and mask data to the bitmap memory 28. death,
The shifted data (output of multiplexer 23) is written.

以上の読取/書込み操作が終了すると主制御
部11はソースとデイステイネーシヨンのXア
ドレスを歩進、即ちSXP−Cnt13およびDXP
−Cnt16とをカウントアツプし、DXL−Cnt
19をカウントダウンして前記読取/書込み操
作を繰り返す。
When the above read/write operations are completed, the main control unit 11 increments the source and destination X addresses, that is, SXP-Cnt13 and DXP
-Cnt16 and DXL-Cnt
Count down to 19 and repeat the read/write operation.

(5) X方向の最終ワード処理時にDXL−Cnt19
のキヤリー信号が発生し、このワード処理終了
後主制御部11はSXP−Cnt13,DXP−Cnt
16,DXL−Cnt19とにそれぞれ初期値をセ
ツトし、SYP−Cnt14,DYP−Cnt17を歩
進して次のラインのワード操作を行う。
(5) DXL-Cnt19 when processing the final word in the X direction
A carry signal is generated, and after this word processing is completed, the main control unit 11
16 and DXL-Cnt19, respectively, and increments SYP-Cnt14 and DYP-Cnt17 to perform word operations on the next line.

(6) ラインが更新されるごとにDYL−Cut20が
カウントダウンされ、キヤリー出力後全操作を
終了する。
(6) DYL-Cut20 counts down every time the line is updated, and the entire operation ends after the carry output.

上記シフト動作の詳細を第2図cのシフト動作
図を参照しつつ説明する。(右シフト動作) 先頭ワードの読取データがL−Reg25に格納
され、シフタ24により所定量右シフトされる。
The details of the above shift operation will be explained with reference to the shift operation diagram shown in FIG. 2c. (Right Shift Operation) The read data of the first word is stored in the L-Reg 25, and is shifted to the right by a predetermined amount by the shifter 24.

上記シフタ24の図面上左1ワードをマルチプ
レクサ23により選択して書込む。(第2図c−
(1)) 次のワードが選択され読取られたデータはR−
Reg26に格納され、L−Reg25に格納されて
いる先頭ワードデータとともにシフタ24でシフ
トされ、マルチプレクサ23により、右1ワード
が選択されて書込まれる。(第2図c−(2)) 以上のごとくL−Reg25,R−Reg26に交
互に読取データを格納してシフトすることによ
り、デイステイネーシヨンのワードに整列せしめ
ることができる。
One word on the left side of the shifter 24 in the drawing is selected by the multiplexer 23 and written. (Figure 2 c-
(1)) The next word is selected and the data read is R-
The data is stored in Reg 26 and shifted by shifter 24 together with the first word data stored in L-Reg 25, and one word on the right is selected and written by multiplexer 23. (FIG. 2c-(2)) By alternately storing read data in the L-Reg 25 and R-Reg 26 and shifting the read data as described above, it is possible to align the data to the destination word.

なおマスクデータはX方向の先頭ワード処理の
ときはDXP−Reg15の下位4ビツトより生成、
出力され、最終ワード処理のときはDXP−Reg
15およびDXL−Reg18の下位4ビツトより
生成、出力され、そのマスクデータに基づきマス
ク回路28aで該当ビツトがマスクされる。
When processing the first word in the X direction, mask data is generated from the lower 4 bits of DXP-Reg15.
output, and DXP-Reg during final word processing
15 and the lower four bits of DXL-Reg 18, and the corresponding bits are masked by the mask circuit 28a based on the mask data.

以上のごとく、ソースおよびデイステイネーシ
ヨンのワードアドレスが矩形領域内のXおよびY
方向に歩進しつつ、ワードごとに読取データがシ
フトされて書込まれる。
As mentioned above, the source and destination word addresses are X and Y within the rectangular area.
The read data is shifted and written word by word while stepping in the direction.

上記のごとくMPU10はパラメータをセツト
するのみで以後主制御部11によるDMAで高速
に処理される。
As described above, the MPU 10 only needs to set the parameters, and thereafter the main control section 11 performs high-speed processing using DMA.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明はソースとデイス
テイネーシヨンのワードアドレスを発生するとと
もに、シフト量を演算して読取/書込み操作を行
うビツトマツプメモリ操作回路を提供するもの
で、高速の演算処理が達成できるとともにマイク
ロプロセツサ等の処理を軽減する効果がある。
As explained above, the present invention provides a bitmap memory operation circuit that generates source and destination word addresses, calculates shift amounts, and performs read/write operations. This has the effect of reducing the amount of processing required by a microprocessor, etc.

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

第1図は本発明の原理説明図、第2図aはワー
ドアドレス説明図、第2図bは実施例のビツトマ
ツプメモリ操作回路ブロツク図、第2図cはシフ
ト動作図、第3図aは従来の表示装置ブロツク
図、第3図bは操作説明図である。 図中、1は第1のアドレスカウンタ、2は第2
のアドレスカウンタ、3はアドレス制御手段、4
は計数手段、5は切替手段、6は操作手段、7は
シフト手段、8はマスク手段、10はマイクロプ
ロセツサMPU、11は主制御部、12はSXP−
Reg、13はSXP−Cnt、14はSYP−Cnt、1
5はDXP−Reg、16はDXP−Cnt、17は
DYP−Cnt、18はDXL−Reg、19はDXL−
Cnt、20はDYL−Cnt、21はマルチプレクサ、
22はシフト制御部、23はマルチプレクサ、2
4はシフタ、25はL−Reg、26はR−Reg、
27はマスクデータ発生部、28はビツトマツプ
メモリ、28aはマスク回路、30はマイクロプ
ロセツサMPU、31はインタフエース、32は
メモリ、33はビツトマツプメモリ、34はマル
チプレクサ、35は駆動部、36はCRT表示部、
である。
FIG. 1 is a diagram explaining the principle of the present invention, FIG. 2a is a diagram explaining the word address, FIG. 2b is a block diagram of the bitmap memory operation circuit of the embodiment, FIG. 2c is a shift operation diagram, and FIG. 3a 3 is a block diagram of a conventional display device, and FIG. 3b is an operation explanatory diagram. In the figure, 1 is the first address counter and 2 is the second address counter.
3 is an address control means; 4 is an address counter;
5 is a counting means, 5 is a switching means, 6 is an operation means, 7 is a shift means, 8 is a masking means, 10 is a microprocessor MPU, 11 is a main control section, 12 is an SXP-
Reg, 13 is SXP-Cnt, 14 is SYP-Cnt, 1
5 is DXP-Reg, 16 is DXP-Cnt, 17 is
DYP-Cnt, 18 is DXL-Reg, 19 is DXL-
Cnt, 20 is DYL-Cnt, 21 is multiplexer,
22 is a shift control unit, 23 is a multiplexer, 2
4 is shifter, 25 is L-Reg, 26 is R-Reg,
27 is a mask data generation section, 28 is a bitmap memory, 28a is a mask circuit, 30 is a microprocessor MPU, 31 is an interface, 32 is a memory, 33 is a bitmap memory, 34 is a multiplexer, 35 is a drive section, 36 is the CRT display section,
It is.

Claims (1)

【特許請求の範囲】 1 先頭アドレスとXおよびY方向の長さ情報で
指定された矩形領域内のデータを目的領域にワー
ド単位で移動せしめるビツトマツプメモリ操作回
路であつて、 ビツトマツプメモリをワード指定するととも
に、上記矩形領域内のワードアドレスと対応する
目的領域のワードアドレスとをそれぞれ指定する
第1および第2のアドレスカウンタ1,2と、 前記矩形領域の長さに基づきXおよびY方向の
読取りおよび書込みを行うワード操作の回数を計
数する計数手段4を設け、第1および第2のアド
レスカウンタをワード操作ごとに歩進せしめると
ともに前記計数手段により該矩形領域内をアドレ
スせしめるアドレス制御手段3と、 読取指令および書込指令によりアドレス指定を
それぞれ第1および第2のアドレスカウンタに切
替える切替手段5と、 該矩形領域のワードデータを目的領域のワード
データに整列せしめるシフト手段7と、 目的領域の書込禁止領域を指定するマスク手段
8と、 読取指令を送出して該矩形領域のワードデータ
を読取り、前記シフト手段によりシフトせしめる
とともにシフトした該ワードデータを書込指令と
ともに書込禁止領域を指定して書込む操作手段6
と、 を備えることを特徴とするビツトマツプメモリ操
作回路。
[Scope of Claims] 1. A bitmap memory operation circuit that moves data in a rectangular area specified by a start address and length information in the X and Y directions to a target area in units of words, first and second address counters 1 and 2 for specifying a word address within the rectangular area and a corresponding word address of the target area, respectively; Address control means 3 includes a counting means 4 for counting the number of word operations for reading and writing, increments first and second address counters for each word operation, and causes the counting means to address within the rectangular area. a switching means 5 for switching the address designation to the first and second address counters, respectively, in response to a read command and a write command; a shifting means 7 for aligning the word data of the rectangular area with the word data of the target area; and a target area. a masking means 8 for specifying a write-prohibited area of the rectangular area; a read command is sent to read the word data of the rectangular area; the shift means shifts the word data; Operation means 6 for specifying and writing
A bit map memory operation circuit comprising: and.
JP60171328A 1985-08-02 1985-08-02 Bit map memory operation circuit Granted JPS6231892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60171328A JPS6231892A (en) 1985-08-02 1985-08-02 Bit map memory operation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60171328A JPS6231892A (en) 1985-08-02 1985-08-02 Bit map memory operation circuit

Publications (2)

Publication Number Publication Date
JPS6231892A JPS6231892A (en) 1987-02-10
JPH0310957B2 true JPH0310957B2 (en) 1991-02-14

Family

ID=15921195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60171328A Granted JPS6231892A (en) 1985-08-02 1985-08-02 Bit map memory operation circuit

Country Status (1)

Country Link
JP (1) JPS6231892A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02131291A (en) * 1988-11-11 1990-05-21 Nec Home Electron Ltd Bit block transfer device

Also Published As

Publication number Publication date
JPS6231892A (en) 1987-02-10

Similar Documents

Publication Publication Date Title
KR100301223B1 (en) Draw processor for high performance 3D graphic accelerators
JPS58209784A (en) Memory system
KR100301222B1 (en) Command preprocessor for high performance 3D graphic accelerator
JPH0355832B2 (en)
US4706213A (en) Graphic memory system for interarea transfer of X-Y coordinate data
JPH0640259B2 (en) Data processing device
JPH0310957B2 (en)
JPS59162588A (en) Display unit
JPS61276049A (en) Direct memory access control system
JP2699482B2 (en) Data transfer control device
JPS5968779A (en) Coordinate input system
SU911576A2 (en) Symbol generator
JPH0145662B2 (en)
JPS61170870A (en) Ellipse describing system
JP2740197B2 (en) Bitmap drawing device
JPS628275A (en) Vector drawing system
JPS61214047A (en) Memory data transfer circuit
JPH0690606B2 (en) Memory control method
JPS6165372A (en) Vector developing system
JPH05324793A (en) Cursor display system for graphic processing system
JPH0766349B2 (en) Shifter circuit
JPH04333952A (en) Dma control lsi
JPS60260994A (en) Graphic display unit
JPH0290274A (en) Raster operation device
JPS6186791A (en) Drawing pattern burying circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees