JPS6029788A - Image memory writing circuit - Google Patents

Image memory writing circuit

Info

Publication number
JPS6029788A
JPS6029788A JP58138272A JP13827283A JPS6029788A JP S6029788 A JPS6029788 A JP S6029788A JP 58138272 A JP58138272 A JP 58138272A JP 13827283 A JP13827283 A JP 13827283A JP S6029788 A JPS6029788 A JP S6029788A
Authority
JP
Japan
Prior art keywords
units
circuit
image memory
writing
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.)
Granted
Application number
JP58138272A
Other languages
Japanese (ja)
Other versions
JPH0219467B2 (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.)
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 JP58138272A priority Critical patent/JPS6029788A/en
Publication of JPS6029788A publication Critical patent/JPS6029788A/en
Publication of JPH0219467B2 publication Critical patent/JPH0219467B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 (a)発明の技術分野 本発明は図形を表示するta能を持つディスプレイ装置
や図形を印刷する機能を持つ印刷装置等の図形処理装置
に係り、特に表示図形や印刷図形を複数のビット単位(
例えば語単位又はハイド単位)及び−ピント単位に書込
み可能な画像メモリを持ち、該画像゛メモリに書込まれ
た図形の塗りつぶし等の処理を高速に実施する画像メモ
リ書込み回路に関する。
Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to a graphic processing device such as a display device having the function of displaying a figure or a printing device having the function of printing a figure, and particularly relates to Shapes multiple bits (
The present invention relates to an image memory writing circuit that has an image memory that can write data in units of words (for example, units of words or hides) and units of focus, and that performs processing such as filling in figures written in the image memory at high speed.

(b)従来技術と問題点 表示又は印刷する図形を記憶する画像メモリと該画像メ
モリに図形を描画する手段を持つ図形処理装置に於いて
、従来は前記画像メモリに図形を書込む場合、ビット単
位で書込んでおり、前記図形が塗りつぶし等の処理を必
要とする場合、斜線の多い図形と異なり書込むべき対象
が面である為、ピント単位で書込んでいては処理速度が
遅くなる。
(b) Prior Art and Problems In a graphic processing device having an image memory for storing a graphic to be displayed or printed, and a means for drawing a graphic in the image memory, conventionally, when writing a graphic to the image memory, bit If the figure is written in units and requires processing such as filling, unlike figures with many diagonal lines, the object to be written is a surface, so writing in units of focus will slow down the processing speed.

即ち一般に前記画像メモリはラスク走査により図形を書
込み又は読出しする一次元メモリが用いられる為、横方
向の線及び面に対しては語単位又はパイ1位で書込み又
は読出しすれば処理速度が向上する。しかし図形では斜
線が多く、語単位やバイト単位では処理出来ず総てビッ
ト単位で書込み又は読出しをしている。従って面で処理
すべき塗りつぶし等の処理は効率が低下する欠点がある
That is, since the image memory is generally a one-dimensional memory in which figures are written or read by rask scanning, processing speed can be improved by writing or reading horizontal lines and planes in units of words or in pie units. . However, graphics often have diagonal lines, and cannot be processed word by word or byte, and all data is written or read bit by bit. Therefore, processing such as filling that should be performed on a surface has a drawback that efficiency is reduced.

(C)発明の目的 本発明の目的は上記欠点を除く為、−ビット単位及び複
数ビット単位にアクセス可能な画像メモリに格納された
図形に対して同時に複数ビットを書込むことで図形塗り
つぶし処理等を行う場合に、図形の書込みを図形を表す
線分が格納された画像メモリ上でメモリ境界(語単位又
はバイト単位でアクセスするメモリ上の境界)外に書込
まれる部分はピント単位で書込み、メモリ境界内に書込
まれる部分は語単位又はハイド単位で書込むことにより
、図形塗りつぶし処理等の速度の向上を計る画像メモリ
書込み回路を提供することにある。
(C) Object of the Invention The object of the present invention is to eliminate the above-mentioned drawbacks. When writing a figure, the part written outside the memory boundary (the boundary on the memory that is accessed in units of words or bytes) on the image memory where the line segment representing the figure is stored is written in units of focus, The object of the present invention is to provide an image memory writing circuit that improves the speed of figure filling processing by writing the portion written within the memory boundary in units of words or units of hides.

(d)発明の構成 本発明の構成は図形を複数のピント単位及び−ビット単
位に書込み可能な画像メモリに対して、ごの図形に同時
に複数ビットの書込み処理を行う画像メモリ書込み回路
であって、この画像メモリへビット単位で書込む回路と
、複数ピント単位で書込む回路と、前記図形の領域内で
ピント単位で書込む領域か複数ビット単位で書込む領域
かを判定する手段と、この判定手段の判定結果に基づい
て前記ビット単位で書込む回路と前記複数ビ/1一単位
で書込む回路を選択的に動作さセる切替回路とを備えた
ものである。
(d) Structure of the Invention The structure of the present invention is an image memory writing circuit that simultaneously writes multiple bits to each figure in an image memory capable of writing figures in multiple focus units and -bit units. , a circuit for writing into the image memory in bit units, a circuit for writing in multiple focus units, means for determining whether the area of the figure is to be written in focus units or multiple bit units; It is provided with a switching circuit that selectively operates the circuit for writing in units of bits and the circuit for writing in units of plural bits/1 based on the determination result of the determining means.

(e)発明の実施例 第1図は本発明の詳細な説明する図である。画像メモリ
1に三角形のイメージデータ2が格納されるものとする
。画像メモリ1のa、b、cで示ず点線の範囲はメモリ
境界の範囲で例えば語単位ならば16ビツトの間隔を持
つ。今うスク走査線3がイメージデータ2を走査中であ
るとすると、イメージデータ2の始点fから画像メモリ
1のメモリ境界gに達する迄の間、即ちaで示す範囲に
含まれるイメージデータ2のデータ量は1語分無い為、
■ピントづつ書込むこととなる。メモリ境界に達した後
、即ちbで示す範囲は総て語単位で書込む。Cで示す範
囲に入ると又イメージデータ2のデータ量は1語分に満
たない為ビット単位で書込むこととなる。上記の如き動
作をイメージデータ2のd点よりe点迄繰り返すことに
より、イメージデータ2を総て塗りつぶすことが出来る
(e) Embodiment of the invention FIG. 1 is a diagram for explaining the invention in detail. It is assumed that triangular image data 2 is stored in the image memory 1. The ranges a, b, and c of the image memory 1 indicated by dotted lines are the memory boundary ranges, and have, for example, 16-bit intervals in word units. Assuming that the screen scanning line 3 is currently scanning the image data 2, the period from the starting point f of the image data 2 until it reaches the memory boundary g of the image memory 1, that is, the image data 2 included in the range indicated by a. Since the amount of data is not enough for one word,
■You will be writing in focus. After reaching the memory boundary, that is, the range indicated by b is written in word units. Once within the range indicated by C, the amount of image data 2 is less than one word, so it must be written in bits. By repeating the above operations from point d to point e of image data 2, it is possible to completely fill in image data 2.

塗りつぶしには総て“1”を書込む場合と奇遇ごとに“
1”0”を書込む等の処理がある。
When filling in “1” for all cases and “1” for each coincidence
There is processing such as writing 1"0".

第2図は本発明の一実施例を示す回路のブロック図であ
る。マイクロプロセッサ5からカウンタ6にはイメージ
データ2を走査する各ラスク走査線毎に第1図fで示す
始点アドレスがセントされ、カウンタ7には該始点アド
レスの下位4ビツトがセットされる。そしてカウンタ6
にセントされた該始点アドレスは画像メモリ1にイメー
ジデータ2の書込み開始アドレスとして送出される。カ
ウンタ7にセントされた前記始点アドレスの下位4ビツ
トはメモリ境界を検出するために用いられる。
FIG. 2 is a block diagram of a circuit showing one embodiment of the present invention. The starting point address shown in FIG. and counter 6
The starting point address written in is sent to the image memory 1 as the writing start address of the image data 2. The lower 4 bits of the starting point address written to the counter 7 are used to detect memory boundaries.

マイクロプロセッサ5はイメージデータ2のメモリ境界
から始点迄のビット数を計算して下位4ビツトをセット
する為、データを1ピッl−書込む毎にカウンタ7の数
値を加算すれば該カウンタ7の値が総て“1”となった
時、アドレスが画像メモリ1の第1図gで示すメモリ境
界に達したことを示す。カウンタ7は計数値が総て“1
”になると、キャリー信号をフリップフロップ12に送
出する。′従ってフリップフロップ12は前記キャリー
信号でセソ1−される。
The microprocessor 5 calculates the number of bits from the memory boundary to the start point of the image data 2 and sets the lower 4 bits. Therefore, if the value of the counter 7 is added every time one bit of data is written, the value of the counter 7 is When all the values become "1", it indicates that the address has reached the memory boundary of the image memory 1 shown in FIG. 1g. All counts of counter 7 are “1”
'', a carry signal is sent to the flip-flop 12.'Therefore, the flip-flop 12 is set to 1 by the carry signal.

マイクロプロセッサ5は画像メモリ1に書込むデータを
ビット単位書込み回路14と語単位書込み回路15に送
出する。ビット単位書込み回路14はフリップフロップ
12がセットされる迄はNOT回路13の出力がa1″
の為、前記マイクロプロセッサ5から指示された書込み
データを画像メモリ1に1ビツトづつ送出し、画像メモ
リIの書込み開始アドレスから順次1ビツトづつ書込む
The microprocessor 5 sends data to be written into the image memory 1 to a bit-by-bit write circuit 14 and a word-by-word write circuit 15. In the bit unit write circuit 14, the output of the NOT circuit 13 is a1'' until the flip-flop 12 is set.
Therefore, the write data instructed by the microprocessor 5 is sent to the image memory 1 one bit at a time, and is sequentially written one bit at a time from the write start address of the image memory I.

語単位書込み回路15はフリップフロップ12の出力が
“θ″のため動作しない。前記の如くフリップフロップ
12がセントされるとNOT回路13の出力は“0″と
なるためビット単位店込み回路14は動作を停止し、語
単位刊込み回路15が前記マイクロプロセッサ5から送
られた書込みデータを1語づつ画像メモリ1に送出し、
ビット単位書込み回路14が書込んだデータの続きに語
fli位で順次書込みデータを書込む。
The word unit write circuit 15 does not operate because the output of the flip-flop 12 is "θ". As mentioned above, when the flip-flop 12 is sent, the output of the NOT circuit 13 becomes "0", so the bit-by-bit storing circuit 14 stops operating, and the word-by-word storing circuit 15 receives the data sent from the microprocessor 5. Sends the write data word by word to the image memory 1,
After the data written by the bit-by-bit write circuit 14, write data is sequentially written at word fli.

マイクロプロセッサ5は第1図gで示す如き各ラスク走
査線の画像メモリ1の最初に遭遇するメモリ境界から、
各ラスク走査線のイメージデータ2の第1図りで示す如
き終点迄の長さ、即ちgからhまでの長さを、カウンタ
8と9に分けて七ノI・する。カウンタ8には下位4ビ
ツトを除く上位ビットを、カウンタ9には前記下位4ビ
ツトを夫々セントする。カウンタ8は各ラスク走査線が
語単位で画像メモリ1に書込める範囲を検出するのに用
いられる。カウンタ8は語単位置込み回路15が一語書
込む毎に減算する。カウンタ8の値が総て0”となると
OR回路10の出力は“0″となるためNOT回路11
の出力は“1″となりフリップフロップ12をリセット
する。従って語単位置込み回路15は停止し、NOT回
路13の出力が“′1″となるため、ビット単位書込み
回路14が動作可能となり、1ビット単位で書込みデー
タを画像メモリ1の語単位置込み回路15が書込んだデ
ータに続いて書込む。′カウンタ9は書込みデータが1
ビツトW込まれる毎に減算する。マイクロプロセッサ5
はカウンタ9が総°ζ“0″となると−ラスタ走査線上
のデータ書込みが完了したと判定して次の動作に入る。
The microprocessor 5 starts from the first encountered memory boundary of the image memory 1 for each rask scan line as shown in FIG. 1g.
The length of the image data 2 of each rask scanning line up to the end point as shown in the first diagram, that is, the length from g to h, is divided into counters 8 and 9 and multiplied by seven times. The upper bits excluding the lower 4 bits are sent to the counter 8, and the lower 4 bits are sent to the counter 9. The counter 8 is used to detect the range in which each rask scanning line can be written into the image memory 1 word by word. The counter 8 is decremented each time the word unit positioning circuit 15 writes one word. When the values of the counter 8 are all 0'', the output of the OR circuit 10 is 0, so the NOT circuit 11
The output becomes "1" and resets the flip-flop 12. Therefore, the word unit position write circuit 15 stops and the output of the NOT circuit 13 becomes "'1", so the bit unit write circuit 14 becomes operational and writes the write data in 1 bit units to the word unit position of the image memory 1. Data is written following the data written by the circuit 15. 'Counter 9 has write data of 1
Subtract each time bit W is input. microprocessor 5
When the counter 9 reaches a total of 0, it is determined that data writing on the raster scanning line has been completed and the next operation is started.

(f)発明の詳細 な説明した如く本発明はビット単位の7F込みと複数単
位の書込みとを切り替えて行う為、図形の塗りつぶし等
の処理を高速に実施することが出来る。
(f) Detailed Description of the Invention As described above, the present invention switches between bit-by-bit 7F writing and multiple-unit writing, so that processing such as filling in figures can be performed at high speed.

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

第1図は本発明の詳細な説明する図、第2図は本発明の
一実施例を示す回路のブロック図である。 1は画像メモリ、5はマイクロプロセッサ、6゜7.8
.9はカウンタ、12はフリノプフ1:1ノブ、14は
ピント単位書込み回路、15は語単位置込み回路である
FIG. 1 is a diagram explaining the present invention in detail, and FIG. 2 is a block diagram of a circuit showing one embodiment of the present invention. 1 is image memory, 5 is microprocessor, 6°7.8
.. 9 is a counter, 12 is a Flinopf 1:1 knob, 14 is a focus unit writing circuit, and 15 is a word unit position writing circuit.

Claims (1)

【特許請求の範囲】[Claims] 図形を複数のビット単位及び−ビット単位に書込み可能
な画像メモリに対して、この図形に同時に複数ビットの
書込み処理を行う画像メモリ書込み回路であって、この
画像メモリへピント単位で書込む回路と、複数ビット単
位で書込む回路と、前記図形の領域内でビット単位で書
込む領域か複数ビット単位で書込む領域かを判定する手
段と、この判定手段の判定結果に基づいて前記ビット単
位で書込む回路と前記複数ビット単位で書込む回路を選
択的に動作させる切替回路とを備えたことを特徴とする
画像メモリ書込み回路。
An image memory writing circuit that simultaneously writes multiple bits to an image memory capable of writing figures in units of multiple bits and units of -bits, the circuit writing to the image memory in units of focus. , a circuit for writing in units of multiple bits, a means for determining whether the area of the figure is to be written in units of bits or in units of multiple bits, and a circuit for writing in units of bits based on the determination result of this determining unit. An image memory write circuit comprising: a write circuit; and a switching circuit that selectively operates the write circuit in units of a plurality of bits.
JP58138272A 1983-07-28 1983-07-28 Image memory writing circuit Granted JPS6029788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58138272A JPS6029788A (en) 1983-07-28 1983-07-28 Image memory writing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58138272A JPS6029788A (en) 1983-07-28 1983-07-28 Image memory writing circuit

Publications (2)

Publication Number Publication Date
JPS6029788A true JPS6029788A (en) 1985-02-15
JPH0219467B2 JPH0219467B2 (en) 1990-05-01

Family

ID=15218039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58138272A Granted JPS6029788A (en) 1983-07-28 1983-07-28 Image memory writing circuit

Country Status (1)

Country Link
JP (1) JPS6029788A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01130188A (en) * 1987-11-16 1989-05-23 Yokogawa Electric Corp Waveform display device
US6607057B2 (en) 2000-04-06 2003-08-19 Avid Llc Fixed disc brake caliper with pad wear compensator
USRE42635E1 (en) 2000-03-20 2011-08-23 Shimano, Inc. Cable disc brake

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01130188A (en) * 1987-11-16 1989-05-23 Yokogawa Electric Corp Waveform display device
USRE42635E1 (en) 2000-03-20 2011-08-23 Shimano, Inc. Cable disc brake
US6607057B2 (en) 2000-04-06 2003-08-19 Avid Llc Fixed disc brake caliper with pad wear compensator

Also Published As

Publication number Publication date
JPH0219467B2 (en) 1990-05-01

Similar Documents

Publication Publication Date Title
US5291582A (en) Apparatus for performing direct memory access with stride
US4797809A (en) Direct memory access device for multidimensional data transfers
JPH01502142A (en) print engine drive interface
EP0200036B1 (en) Method and system for displaying images in adjacent display areas
EP0063144B1 (en) Method and apparatus for bufferring data
JPS6029788A (en) Image memory writing circuit
JPS594706B2 (en) Print pattern generator
JP2828643B2 (en) Straight line drawing device
EP0110180A1 (en) Storage apparatus for video data
JPS6067990A (en) Picture information processor having density converting function
JPH0611552B2 (en) Printer controller
JPS617769A (en) Image memory write control system
JP2903214B2 (en) Area designation device
JPH0729448B2 (en) Printer controller
JPH0516452A (en) Printer
JPS62206690A (en) Address control system for video memory
JPH0126073B2 (en)
JPH0729449B2 (en) Printer controller
JPS59224891A (en) Rotation control system for image data
JPS596043A (en) Ultrasonic diagnostic apparatus
JPS59172881A (en) Picture information processing system
JPS59219780A (en) Graphic memory access circuit
JPS5913282A (en) Character width control system
JPH08110943A (en) Address generator and image processor
JPH04163677A (en) Straight line plotter