JPH09169150A - Developing circuit - Google Patents

Developing circuit

Info

Publication number
JPH09169150A
JPH09169150A JP8270705A JP27070596A JPH09169150A JP H09169150 A JPH09169150 A JP H09169150A JP 8270705 A JP8270705 A JP 8270705A JP 27070596 A JP27070596 A JP 27070596A JP H09169150 A JPH09169150 A JP H09169150A
Authority
JP
Japan
Prior art keywords
data
destination
register
stored
raster
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
JP8270705A
Other languages
Japanese (ja)
Inventor
Mikio Shiyou
幹夫 尚
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data Corp
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 Oki Data Corp filed Critical Oki Data Corp
Priority to JP8270705A priority Critical patent/JPH09169150A/en
Publication of JPH09169150A publication Critical patent/JPH09169150A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a developing circuit that increases time resource of a microprocessor. SOLUTION: Destination data stored in a destination register 26 and a calculation result (raster data) of a calculator 28 are compared with each other. A comparator 30 that outputs a signal of (1) as a conformity signal to a bus- control circuit 23 when the destination data and the raster data are in conformity with each other and the bus control circuit 23 that stops the execution of a write cycle for transferring the raster data to an image memory when receiving the signal of (1) as the conformity signal and advances into the next operation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ペ−ジプリンタ等
で使用される展開回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a developing circuit used in a page printer or the like.

【0002】[0002]

【従来の技術】従来、プリンタにおいては、デスティネ
−ションデ−タ(印刷位置に既に存在するデ−タ)とソ
−スデ−タとを組み合わせてラスタデ−タ(最終的に印
刷される画像デ−タ)を作成している。これは、既存す
る印刷デ−タと、該既存する印刷デ−タに対する重ね印
刷を行うために必要な処理である。デスティネ−ション
デ−タとソ−スデ−タとを組み合わせてラスタデ−タを
作成する機能を有するペ−ジプリンタ等のプリンタにつ
いて説明する。
2. Description of the Related Art Conventionally, a printer combines raster data (finally printed image data) by combining destination data (data already existing at a print position) and source data. -Ta) is being created. This is a process necessary for performing existing print data and overprinting on the existing print data. A printer such as a page printer having a function of creating raster data by combining the destination data and the source data will be described.

【0003】ペ−ジプリンタには、プリンタ内部の部材
を制御するマイクロプロセッサが設けられている。この
マイクロプロセッサには、DRAMが接続されている。
このDRAMは、マイクロプロセッサの作業用デ−タを
一時的に保管するワ−キングメモリと、印刷位置に対す
る印刷デ−タを格納する画像メモリとから成る。このD
RAMの画像メモリには、印刷位置に対する印刷デ−タ
がフォントROMから転送されてくる。なお、画像メモ
リは初めは空の状態であるが、印刷位置に対するデ−タ
を格納すると、該デ−タは印刷位置に既に存在するデ−
タとなる。この印刷位置に既に存在するデ−タを以下デ
スティネ−ションデ−タとする。
The page printer is provided with a microprocessor for controlling the members inside the printer. DRAM is connected to the microprocessor.
This DRAM comprises a working memory for temporarily storing the working data of the microprocessor and an image memory for storing the printing data for the printing position. This D
The print data for the print position is transferred from the font ROM to the image memory of the RAM. Although the image memory is initially empty, when data for a print position is stored, the data already exists at the print position.
Become The data already existing at this printing position will be referred to as destination data hereinafter.

【0004】デスティネ−ションデ−タは、その後、D
RAMのワ−ド幅毎にグラフィックコントロ−ラのデス
ティネ−ションレジスタに転送され、そこで、演算のた
めに一時格納される。
The destination data is then D
Each word width of the RAM is transferred to the destination register of the graphic controller, and temporarily stored there for calculation.

【0005】ラスタデ−タを作成する場合、グラフィッ
クコントロ−ラにおいて、まず、グラフィックコントロ
−ラ内に保持されているソ−スデ−タとマスクデ−タと
の間で演算を実行し、更にこの演算結果と、デスティネ
−ションレジスタに格納されているデスティネ−ション
デ−タとの間で演算を行う。この演算結果は、グラフィ
ックコントロ−ラ内のラスタデ−タレジスタに格納され
る。
When creating raster data, the graphic controller first executes an operation between the source data held in the graphic controller and the mask data, and further An operation is performed between the operation result and the destination data stored in the destination register. The result of this operation is stored in the raster data register in the graphic controller.

【0006】その後、ラスタデ−タを画像メモリに書き
戻すためのライトサイクルが発生し、ラスタデ−タレジ
スタに格納された演算結果は、ラスタデ−タとして再び
画像メモリに戻され、グラフィックコントロ−ラに送出
する前のデスティネ−ションデ−タが格納されていた所
に書かれる。すなわち、画像メモリに格納されていたデ
スティネ−ションデ−タは、グラフィックコントロ−ラ
に転送され、演算された後、再び画像メモリに戻ってき
て、同じ位置に書き戻される。なお、以上の一連の動作
を「展開」と呼び、「展開」を行う回路を「展開回路」
とする。
After that, a write cycle for writing back the raster data to the image memory occurs, and the operation result stored in the raster data register is returned to the image memory as raster data again and sent to the graphic controller. It is written in the place where the destination data before storing was stored. That is, the destination data stored in the image memory is transferred to the graphic controller, is operated, and then returns to the image memory again to be written back to the same position. The above series of operations is called "expansion", and the circuit that performs "expansion" is the "expansion circuit".
And

【0007】[0007]

【発明が解決しようとする課題】上記従来の展開回路に
おいては、グラフィックコントロ−ラに転送される前に
画像メモリに格納されているデスティネ−ションデ−タ
と、グラフィックコントロ−ラで演算され、画像メモリ
に戻されるラスタデ−タとが同一デ−タであっても、無
条件に、ラスタデ−タを画像メモリに書き戻すためのラ
イトサイクルが発生する。従って、ライトサイクルを発
生させる時間だけ無駄にマイクロプロセッサの処理時間
を消費してしまうという問題点があった。
In the above conventional expansion circuit, the destination data stored in the image memory before being transferred to the graphic controller and the image data calculated by the graphic controller are used. Even if the raster data returned to the memory is the same data, a write cycle for unconditionally writing the raster data back to the image memory occurs. Therefore, there is a problem that the processing time of the microprocessor is unnecessarily consumed for the time for generating the write cycle.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に本発明で設けた解決手段は、記憶部に格納されている
デ−タを呼び出し、所定の演算を行い、演算前に前記デ
−タが格納されていた位置に、演算後のデ−タを書き戻
す展開回路において、演算前のデ−タと、演算後のデ−
タとを比較し、演算前のデ−タと、演算後のデ−タとが
等しいか否かの比較結果を出力する比較手段と、該比較
手段の比較結果により、演算前のデ−タと、演算後のデ
−タとが等しい場合には、演算前のデ−タが格納されて
いた位置に演算後のデ−タを書き込む動作を停止する制
御手段とを設けたものである。
In order to solve the above-mentioned problems, the solving means provided by the present invention calls the data stored in the storage unit, performs a predetermined calculation, and executes the above-mentioned data before the calculation. In the expansion circuit that writes back the data after the operation to the position where the data was stored, the data before the operation and the data after the operation are
Comparing the data before calculation with the data before calculation and outputting the comparison result of whether or not the data after calculation is equal, and the comparison result of the comparison means, the data before calculation When the calculated data is equal to the calculated data, a control means for stopping the operation of writing the calculated data to the position where the pre-calculation data was stored is provided.

【0009】演算後、演算前のデ−タと演算後のデ−タ
とを比較し、一致しない場合には、制御手段は、演算前
のデ−タが格納されていた位置に演算後のデ−タを書き
込む。
After the operation, the pre-operation data is compared with the post-operation data. If they do not match, the control means sets the post-operation data at the position where the pre-operation data was stored. Write the data.

【0010】一方、演算後、演算前のデ−タと演算後の
デ−タとを比較し、一致する場合には、制御手段は、演
算前のデ−タが格納されていた位置に演算後のデ−タを
書き込む動作を停止する。
On the other hand, after the calculation, the data before the calculation and the data after the calculation are compared, and if they match, the control means calculates at the position where the data before the calculation was stored. The operation of writing the subsequent data is stopped.

【0011】[0011]

【発明の実施の形態】本発明の実施の形態について図面
を参照しながら説明する。なお、各図面に共通な要素に
は同一の符号を付す。
Embodiments of the present invention will be described with reference to the drawings. Elements common to the drawings are denoted by the same reference numerals.

【0012】図1は発明の実施の形態におけるグラフィ
ックコントロ−ラの構成を示すブロック図、図2は発明
の実施の形態におけるペ−ジプリンタの制御系を示すブ
ロック図、図3は発明の実施の形態における演算指定レ
ジスタを示す説明図、図4は発明の実施の形態における
演算器と比較器の構成を示す説明図、図5は発明の実施
の形態におけるビットマップのイメ−ジを示す説明図で
ある。
FIG. 1 is a block diagram showing a configuration of a graphic controller according to an embodiment of the invention, FIG. 2 is a block diagram showing a control system of a page printer according to the embodiment of the invention, and FIG. 3 is an embodiment of the invention. FIG. 4 is an explanatory view showing an operation designation register in the embodiment of the present invention, FIG. 4 is an explanatory view showing configurations of an arithmetic unit and a comparator in the embodiment of the invention, and FIG. 5 is an explanation showing an image of a bitmap in the embodiment of the invention. It is a figure.

【0013】まず初めにペ−ジプリンタの制御系につい
て説明する。図2において、1点鎖線で示す制御部1に
は、マイクロプロセッサ3が内蔵されており、このマイ
クロプロセッサ3はプリンタ全体を制御する。マイクロ
プロセッサ3にはデ−タバス4とアドレスバス5とが接
続されている。制御部1にはまた、フォントが格納され
ているフォントROM6と、DRAM7と、マイクロプ
ロセッサ3からの要求により演算を実行し、結果をDR
AM7上に書き込むグラフィックコントロ−ラ8と、図
示せぬホストコンピュ−タからのデ−タを受け取るホス
トインタ−フェ−ス11とが設けられている。なお、上
記DRAM7の内部は、作業用デ−タを一時的に保管す
る機能を有するワ−キングメモリ7aと、印刷位置に対
する印刷デ−タを格納する画像メモリ7bとから成る。
なお、画像メモリ7bは初めは空の状態であるが、印刷
位置に対するデ−タを格納すると、該デ−タは印刷位置
に既に存在するデ−タとなる。この印刷位置に既に存在
するデ−タを以下デスティネ−ションデ−タとする。
First, the control system of the page printer will be described. In FIG. 2, a microprocessor 3 is built in the control unit 1 shown by a one-dot chain line, and the microprocessor 3 controls the entire printer. A data bus 4 and an address bus 5 are connected to the microprocessor 3. The control unit 1 also executes a calculation according to a request from a font ROM 6 in which fonts are stored, a DRAM 7, and a microprocessor 3, and a result is DR.
A graphic controller 8 for writing on the AM 7 and a host interface 11 for receiving data from a host computer (not shown) are provided. The inside of the DRAM 7 is composed of a working memory 7a having a function of temporarily storing work data, and an image memory 7b for storing print data for a printing position.
Although the image memory 7b is initially empty, when the data for the printing position is stored, the data becomes the data already existing at the printing position. The data already existing at this printing position will be referred to as destination data hereinafter.

【0014】また、フォントROM6はフォントROM
バス12aでデ−タバス4と接続されると共に、フォン
トROMバス12bでアドレスバス5と接続されてい
る。DRAM7はDRAMバス13、グラフィックコン
トロ−ラ8はグラフィックコントロ−ラバス14、ホス
トインタ−フェ−ス11はホストインタフェ−スバス1
5によりそれぞれデ−タバス4と接続されている。
The font ROM 6 is a font ROM.
The bus 12a is connected to the data bus 4, and the font ROM bus 12b is connected to the address bus 5. The DRAM 7 is the DRAM bus 13, the graphic controller 8 is the graphic controller bus 14, and the host interface 11 is the host interface bus 1.
5 are connected to the data bus 4 respectively.

【0015】なお、DRAM7とデ−タバス4との間に
はゲ−ト10が設けられており、ゲ−ト10により、D
RAM7とデ−タバス4とは切り離し可能となってい
る。また、DRAM7とグラフィックコントロ−ラ8と
はDRAMバス13及びDRAM・グラフィックコント
ロ−ラバス16とで接続されている。
A gate 10 is provided between the DRAM 7 and the data bus 4, and the gate 10 causes D
The RAM 7 and the data bus 4 can be separated. The DRAM 7 and the graphic controller 8 are connected by a DRAM bus 13 and a DRAM / graphic controller bus 16.

【0016】DRAMコントロ−ラ9は制御信号線17
によりアドレスバス5と接続され、また、制御信号線1
8によりDRAM7と接続されている。DRAMコント
ロ−ラ9とグラフィックコントロ−ラ8とは制御信号線
19で接続されており、それにより、グラフィックコン
トロ−ラ8は直接DRAM7をアクセスすることができ
る。
The DRAM controller 9 has a control signal line 17
Connected to the address bus 5 by the control signal line 1
8 is connected to the DRAM 7. The DRAM controller 9 and the graphic controller 8 are connected by a control signal line 19 so that the graphic controller 8 can directly access the DRAM 7.

【0017】グラフィックコントロ−ラ8はアドレスバ
ス5に制御信号線20で接続されており、この制御信号
線20の信号により、グラフィックコントロ−ラ8はマ
イクロプロセッサ3からバス権を獲得し、フォントRO
M6に直接アクセスすることが可能となる。
The graphic controller 8 is connected to the address bus 5 by a control signal line 20, and the signal of the control signal line 20 causes the graphic controller 8 to acquire the bus right from the microprocessor 3 and to set the font RO.
It becomes possible to directly access M6.

【0018】次に上記グラフィックコントロ−ラ8の内
部について説明する。図1において、グラフィックコン
トロ−ラ8には、ソ−スアドレスレジスタ21と、書き
込みアドレスレジスタ22とが設けられており、ソ−ス
アドレスレジスタ21は、フォントROM6やDRAM
7に存在するビットマップデ−タ(以下ソ−スデ−タと
する)が格納されているアドレスをマイクロプロセッサ
3から受けとり格納する。書き込みアドレスレジスタ2
2は、デ−タの印刷開始位置をマイクロプロセッサ3か
ら受けとり、格納する。ソ−スアドレスレジスタ21と
書き込みアドレスレジスタ22とでバス制御回路23が
構成され、ソ−スアドレスレジスタ21のアドレスと書
き込みアドレスレジスタ22のアドレスに従って、マイ
クロプロセッサ3からバス権を獲得し、フォントROM
6やDRAM7に対するデ−タのリ−ド・ライトを実行
する。
Next, the inside of the graphic controller 8 will be described. In FIG. 1, the graphic controller 8 is provided with a source address register 21 and a write address register 22, and the source address register 21 includes a font ROM 6 and a DRAM.
The address where the bit map data existing in 7 (hereinafter referred to as source data) is stored from the microprocessor 3 is stored. Write address register 2
2 receives the print start position of data from the microprocessor 3 and stores it. A bus control circuit 23 is configured by the source address register 21 and the write address register 22. The bus right is acquired from the microprocessor 3 according to the address of the source address register 21 and the address of the write address register 22, and the font ROM
6 and data read / write to the DRAM 7 are executed.

【0019】グラフィックコントロ−ラ8にはまた、ソ
−スデ−タレジスタ24と、マスクレジスタ25と、デ
スティネ−ションレジスタ26と、演算指定レジスタ2
7とが設けられており、ソ−スデ−タレジスタ24は、
ソ−スアドレスレジスタ21に示されている、例えばフ
ォントROM6のアドレスをバス制御回路23でアクセ
スして得られたソ−スデ−タを演算のために一時的に格
納する。マスクレジスタ25は、網かけや塗りつぶしの
効果のためのマスクパタ−ン(以下マスクデ−タとす
る)をマイクロプロセッサ3から受けとり、演算のため
に一時的に格納する。
The graphic controller 8 also includes a source data register 24, a mask register 25, a destination register 26, and an operation designation register 2
7 are provided, and the source data register 24 is
For example, the source data obtained by accessing the address of the font ROM 6 shown in the source address register 21 by the bus control circuit 23 is temporarily stored for calculation. The mask register 25 receives a mask pattern (hereinafter referred to as mask data) for the effect of shading and painting from the microprocessor 3 and temporarily stores it for calculation.

【0020】デスティネ−ションレジスタ26は、書き
込みアドレスレジスタ22で指定されているアドレスの
デスティネ−ションデ−タを、バス制御回路23により
DRAM7上の画像メモリ7bから直接読み込んで、演
算のために一時的に格納する。演算指定レジスタ27
は、ソ−スデ−タ、マスクデ−タとデスティネ−ション
デ−タ間の演算指定デ−タをマイクロプロセッサ3から
受けとり、格納しておく。
The destination register 26 directly reads the destination data of the address specified by the write address register 22 from the image memory 7b on the DRAM 7 by the bus control circuit 23 and temporarily stores it for calculation. To store. Calculation specification register 27
Receives the operation data between the source data, the mask data and the destination data from the microprocessor 3 and stores them.

【0021】グラフィックコントロ−ラ8には更に、演
算器28と、ラスタデ−タレジスタ29と、比較器30
とが設けられており、演算器28は、ソ−スデ−タレジ
スタ24とマスクレジスタ25とデスティネ−ションレ
ジスタ26との間で、演算指定レジスタ27により指定
された演算を実行する。そして、この演算結果は、ラス
タデ−タレジスタ29に格納されると共に、後述する比
較器30の比較結果に応じてラスタデ−タレジスタバス
36とDRAM・グラフィックコントロ−ラバス16と
DRAMバス13を介して画像メモリ7bへ格納され
る。
The graphic controller 8 further includes an arithmetic unit 28, a raster data register 29, and a comparator 30.
And the arithmetic unit 28 executes the arithmetic operation specified by the operation specifying register 27 among the source data register 24, the mask register 25, and the destination register 26. The result of this operation is stored in the raster data register 29, and the image is sent via the raster data register bus 36, the DRAM / graphic controller bus 16 and the DRAM bus 13 in accordance with the comparison result of the comparator 30 described later. It is stored in the memory 7b.

【0022】比較器30は、デスティネ−ションレジス
タ26の内容と演算器28の演算結果(ラスタデ−タ)
とを比較し、デスティネ−ションレジスタ26の内容と
ラスタデ−タとが一致した場合には、一致信号「C」と
して「1」が制御信号線31を通ってバス制御回路23
へ出力される。
The comparator 30 stores the contents of the destination register 26 and the calculation result of the calculator 28 (raster data).
When the contents of the destination register 26 and the raster data match, "1" as the match signal "C" passes through the control signal line 31 and the bus control circuit 23.
Output to

【0023】図3は演算指定レジスタ27の一例を示し
たものであり、最下位3ビット(A0、A1、A2)は
ソ−スデ−タレジスタ24に格納されているソ−スデ−
タを、書き込みアドレスの先頭ビットから右に何ビット
シフトして展開するかを指定し、次の2ビット(A3、
A4)はソ−スデ−タとマスクデ−タ間の演算を指定
し、更に次の2ビット(A5、A6)は、ソ−スデ−タ
とマスクデ−タ間の演算結果とデスティネ−ションデ−
タ間の演算を指定する。最上位1ビット(A7)は、使
用されない。なお、図3においては、ソ−スデ−タを書
き込みアドレスの先頭ビットから右に4ビットシフトし
て展開することを指定しており、ソ−スデ−タとマスク
デ−タ間の演算はAND演算、また、ソ−スデ−タとマ
スクデ−タ間の演算結果とデスティネ−ションデ−タ間
の演算はOR演算であることを指定している。
FIG. 3 shows an example of the operation designation register 27. The least significant 3 bits (A0, A1, A2) are stored in the source data register 24.
Data is specified by shifting the number of bits to the right from the first bit of the write address and expanded, and the next 2 bits (A3,
A4) specifies the operation between the source data and the mask data, and the next 2 bits (A5, A6) are the operation result and the destination data between the source data and the mask data. −
Specify the calculation between data. The most significant 1 bit (A7) is not used. In FIG. 3, it is specified that the source data is expanded by shifting it by 4 bits to the right from the first bit of the write address, and the operation between the source data and the mask data is performed. It is specified that the AND operation, the operation result between the source data and the mask data, and the operation between the destination data are OR operations.

【0024】次に演算器28と比較器30の内部構成に
ついて説明する。
Next, the internal structure of the arithmetic unit 28 and the comparator 30 will be described.

【0025】図4において、演算器28には各ビット毎
に演算器が設けられている。本実施の形態においては、
展開を8ビット単位で実行しているので、28aから2
8hまで8個の演算器がある。それ故、展開を16ビッ
ト単位で実行する場合は16個の演算器が必要になる。
In FIG. 4, the arithmetic unit 28 is provided with an arithmetic unit for each bit. In the present embodiment,
Since the expansion is executed in 8-bit units, 28a to 2
There are 8 arithmetic units up to 8h. Therefore, if the expansion is executed in 16-bit units, 16 arithmetic units are required.

【0026】SSn(n=0、1、・・・7)はソ−ス
デ−タを演算指定レジスタ27のシフト量で指定した分
だけシフトした結果の各ビットを表わし、Mn(n=
0、1、・・・7)はマスクレジスタ25の各ビットを
表わし、Dn(n=0、1、・・・7)はデスティネ−
ションレジスタ26の各ビットを表わしている。上記演
算器28は28aから28hまで8個設けられている
が、演算器28の内部構成は演算器28aから28hま
で全て同じであるので、演算器28aを使用して演算器
28の内部について説明する。
SSn (n = 0, 1, ... 7) represents each bit of the result obtained by shifting the source data by the amount designated by the shift amount of the operation designation register 27, and Mn (n = n
0, 1, ... 7) represents each bit of the mask register 25, and Dn (n = 0, 1, ... 7) is a destination.
Each bit of the option register 26 is represented. Although the eight computing units 28 are provided from 28a to 28h, the internal configuration of the computing unit 28 is the same for all computing units 28a to 28h. To do.

【0027】この演算器28aは、ソ−スビットSS0
をソ−スデ−タレジスタ24から図示せぬシフト演算器
により演算指定レジスタ27のビットA0、A1、A2
によって指定されたビット数だけシフトした結果を受信
し、マスクビットM0をマスクレジスタ25から受信
し、デスティネ−ションビットD0をデスティネ−ショ
ンレジスタ26から受信する。また、演算器28aは、
ビットA3、A4、A5、A6を演算指定レジスタ27
から受信する。ビットSS0とM0はANDゲ−ト44
aと、ORゲ−ト45aと、イクスクル−シブORゲ−
ト46aとに入力される。上記ANDゲ−ト44a、O
Rゲ−ト45a、イクスクル−シブORゲ−ト46aそ
れぞれの出力端子は、第1のセレクタ47aのそれぞれ
の入力端子A、B、Cに接続されており、第1のセレク
タ47aは、入力端子A、B、Cの中から1つを選択す
る。この選択は、上記演算指定レジスタ27のビットA
3、A4の値に応じて決定される。本実施の形態におい
ては、演算指定レジスタ27のビットA3、A4はAN
D演算を指定するものなので、第1のセレクタ47aに
はANDゲ−ト44aからの出力が入力され、そして、
演算結果がソ−スマスクビットSM0として出力され
る。
The arithmetic unit 28a has a source bit SS0.
From the source data register 24 by a shift calculator (not shown) to bits A0, A1, A2 of the calculation designation register 27.
The result obtained by shifting by the number of bits designated by is received, the mask bit M0 is received from the mask register 25, and the destination bit D0 is received from the destination register 26. In addition, the computing unit 28a is
Bits A3, A4, A5, and A6 are assigned to the operation designation register 27
To receive from. Bits SS0 and M0 are AND gates 44
a, an OR gate 45a, and an EXCLUSIVE OR gate
46a. The AND gate 44a, O
The output terminals of the R gate 45a and the exclusive OR gate 46a are connected to the respective input terminals A, B, C of the first selector 47a, and the first selector 47a has its input terminal. Select one from A, B, and C. This selection is made by bit A of the operation designation register 27.
3, determined according to the value of A4. In the present embodiment, bits A3 and A4 of the operation designation register 27 are AN
Since the D operation is designated, the output from the AND gate 44a is input to the first selector 47a, and
The calculation result is output as the source mask bit SM0.

【0028】ソ−スマスクビットSM0とデスティネ−
ションビットD0はANDゲ−ト48aと、ORゲ−ト
49aと、イクスクル−シブORゲ−ト50aとに入力
される。上記ANDゲ−ト48a、ORゲ−ト49a、
イクスクル−シブORゲ−ト50aそれぞれの出力端子
は、第2のセレクタ51aのそれぞれの入力端子A、
B、Cに接続されており、第2のセレクタ51aは、入
力端子A、B、Cの中から1つを選択する。この選択
は、上記演算指定レジスタ27のビットA5、A6の値
に応じて決定される。本実施の形態においては、演算指
定レジスタ27のビットA5、S6はOR演算を指定す
るものなので、第2のセレクタ51aにはORゲ−ト4
9aからの出力が入力され、そして、演算結果がラスタ
ビットR0として出力される。また、デスティネ−ショ
ンビットD0も演算器28aから出力される。
Source mask bit SM0 and destination
The transition bit D0 is inputted to the AND gate 48a, the OR gate 49a, and the exclusive OR gate 50a. The AND gate 48a, OR gate 49a,
The output terminals of the exclusive OR gate 50a are respectively the input terminals A of the second selector 51a,
The second selector 51a, which is connected to B and C, selects one of the input terminals A, B, and C. This selection is determined according to the values of the bits A5 and A6 of the calculation designation register 27. In the present embodiment, the bits A5 and S6 of the operation specifying register 27 specify the OR operation, so that the second selector 51a has the OR gate 4
The output from 9a is input, and the operation result is output as raster bit R0. Further, the destination bit D0 is also output from the calculator 28a.

【0029】なお、演算指定レジスタ27のA3、A
4、A5、A6の各ビットの値を変えることにより、上
記各ゲ−トを切り替えることができる。
A3 and A of the calculation designation register 27
The gates can be switched by changing the value of each bit of 4, A5 and A6.

【0030】演算器28(28a、28b、・・・28
h)は、ラスタデ−タレジスタ29と比較器30とに接
続されており、各第2のセレクタ51a、51b、・・
・51hからの出力(ラスタビットR0、R1、・・・
R7)は、ラスタデ−タレジスタ29に入力されると共
に、8個設けられている比較器30のイクスクル−シブ
NORゲ−ト35a、35b・・・35hにそれぞれ入
力される。このイクスクル−シブNORゲ−ト35a、
35b、・・・35hにはまた、各演算器28a、28
b、・・・28hからのデスティネ−ションビットD
0、D1、・・・D7も入力される。
Operation unit 28 (28a, 28b, ... 28)
h) is connected to the raster data register 29 and the comparator 30, and each of the second selectors 51a, 51b, ...
Output from 51h (raster bits R0, R1, ...
R7) is input to the raster data register 29, and is also input to the eight exclusive NOR gates 35a, 35b ... 35h of the eight comparators 30, respectively. This EXCLUSIVE NOR gate 35a,
35b, ..., 35h also include respective computing units 28a, 28
b, ... Destination bit D from 28h
0, D1, ... D7 are also input.

【0031】そして、このイクスクル−シブNORゲ−
ト35a、35b、・・・35hの出力端子は、AND
ゲ−ト37に接続されている。そして、デスティネ−シ
ョンビットD0、D1、・・・D7とラスタビットR
0、R1、・・・R7とが全て一致すれば、イクスクル
−シブNORゲ−ト35からANDゲ−ト37へと出力
される比較結果デ−タは、「0xFF」であり、デステ
ィネ−ションビットD0、D1、・・・D7とラスタビ
ットR0、R1、・・・R7とがで1つでも一致しない
ビットがあれば、イクスクル−シブNORゲ−ト35か
ら出力される比較結果デ−タは「0xFF」以外であ
る。
And, this eckle-sive NOR game
35a, 35b, ... 35h output terminals are AND
It is connected to the gate 37. The destination bits D0, D1, ... D7 and the raster bit R
If 0, R1, ..., R7 all match, the comparison result data output from the exclusive-NOR gate 35 to the AND gate 37 is "0xFF", and the destination is If any of the bits D0, D1, ... D7 does not match the raster bits R0, R1, ... R7, the comparison result data output from the exclusive NOR gate 35. Is other than "0xFF".

【0032】上記ANDゲ−ト37は、一致信号Cを出
力するものであり、ANDゲ−ト37に入力されたイク
スクル−シブNORゲ−ト35a、35b、・・・35
hからの演算ビットC0、C1・・・C7が全て「1」
であったならば、ANDゲ−ト37からの一致信号Cは
HIGH(「1」)であり、1つまたはそれ以上のイク
スクル−シブNORゲ−ト35a、35b、・・・35
hからの演算ビットC0、C1、・・・C7に「1」以
外が存在すると、ANDゲ−ト37からの一致信号Cは
LOW(「0」)となる。
The AND gate 37 outputs the coincidence signal C, and the exclusive NOR gates 35a, 35b, ... 35 input to the AND gate 37.
Operation bits C0, C1 ... C7 from h are all "1"
, The coincidence signal C from the AND gate 37 is HIGH ("1"), and one or more exclusive NOR gates 35a, 35b, ... 35.
When there is a value other than "1" in the operation bits C0, C1, ... C7 from h, the coincidence signal C from the AND gate 37 becomes LOW ("0").

【0033】なお、比較器30は、デスティネ−ション
デ−タを図4においては演算器28から受信するように
記載してあり、また、図1においては、デスティネ−シ
ョンレジスタ26から受信している。しかし、これは記
載上の便利性からであり、比較器30は演算器28から
デスティネ−ションデ−タを受信するのである。
The comparator 30 is described as receiving the destination data from the arithmetic unit 28 in FIG. 4, and is also received from the destination register 26 in FIG. . However, this is for convenience of description, and the comparator 30 receives the destination data from the arithmetic unit 28.

【0034】なお、ソ−スデ−タをシフトさせる理由
は、文字はフォントROM6の中では左詰めになってい
るので、所定量だけシフトさせて所望の位置に位置付け
るためである。それ故、このシフト量は、決まっていな
い。
The reason for shifting the source data is that the characters are left-justified in the font ROM 6 and are shifted by a predetermined amount to be positioned at a desired position. Therefore, this shift amount is not fixed.

【0035】次にラスタデ−タを作成する処理を数式
(1)に示す。
Next, the processing for creating the raster data is shown in equation (1).

【0036】 R={(S>>4)&M}:D・・・(1) なお、上記数式(1)において、「>>」はシフトを表
わし、「&」は論理積を、「:」は論理和をそれぞれ表
わしている。
R = {(S >> 4) & M}: D (1) In the above mathematical expression (1), “>>” represents a shift, “&” represents a logical product, and “:”. ] Represents the logical sum.

【0037】表1はソ−スデ−タ、マスクデ−タ、デス
ティネ−ションデ−タ、ラスタデ−タをそれぞれ図5に
示すものとした場合にデ−タ演算を各行毎にまとめたも
ので、各行の先頭の1から8までの数字はソ−スデ−
タ、マスクデ−タ、デスティネ−ションデ−タの行数を
表わし、各列の先頭の「S」、「M」、「D」、
「R」、「C」はそれぞれソ−スデ−タ「S」、マスク
デ−タ「M」、デスティネ−ションデ−タ「D」、ラス
タデ−タ「R」、一致信号「C」を表わしている。な
お、図5はグラフィックコントロ−ラ8の各レジスタに
読み込まれるビットマップのイメ−ジ及び演算後のビッ
トマップのイメ−ジを説明のためにそれぞれを8×8の
矩形領域で表わしたもので、ソ−スデ−タを「S」、マ
スクデ−タを「M」、デスティネ−ションデ−タを
「D」、演算結果であるラスタデ−タを「R」としてい
る。
Table 1 summarizes the data operation for each row when the source data, the mask data, the destination data, and the raster data are shown in FIG. 5, respectively. The numbers 1 to 8 at the beginning of each line are the source data.
The number of rows of data, mask data, and destination data is represented, and "S", "M", "D" at the beginning of each column,
"R" and "C" respectively represent source data "S", mask data "M", destination data "D", raster data "R", and coincidence signal "C". There is. Note that FIG. 5 shows the image of the bitmap read into each register of the graphic controller 8 and the image of the bitmap after the operation in the form of an 8 × 8 rectangular area for the purpose of explanation. , The source data is "S", the mask data is "M", the destination data is "D", and the raster data which is the operation result is "R".

【0038】また、この例では、ソ−スデ−タを右に4
ドットシフトしたものとマスクデ−タの論理積を、デス
ティネ−ションデ−タと論理和をとりラスタデ−タとし
ている。
Also, in this example, the source data is moved to the right by 4
The logical product of the dot-shifted data and the mask data is logically summed with the destination data to obtain raster data.

【0039】次に表1について第1行目、第2行目を例
として説明する。
Next, Table 1 will be described by taking the first and second rows as an example.

【0040】[0040]

【表1】 [Table 1]

【0041】第1行目、ソ−スデ−タは「0x42」、
マスクデ−タは「0x55」、デスティネ−ションデ−
タは「0x11」であるので、まずソ−スデ−タを4ビ
ットシフトすると「0x04」となり、これとマスクデ
−タとでAND演算を行う。すると、結果は「0x0
4」となる。この結果とデスティネ−ションデ−タ「0
x11」とでOR演算を行う。すると、結果は「0x1
5」となり、ラスタデ−タレジスタ29に格納される。
この時、「D」と「R」とは等しくないので、一致信号
「C」は「0」となる。
In the first line, the source data is "0x42",
Mask data is "0x55", destination data
Since the data is "0x11", first the source data is shifted by 4 bits to become "0x04", and an AND operation is performed with this and the mask data. Then, the result is "0x0
4 ”. This result and the destination data "0
x11 ”and OR operation. Then, the result is "0x1
5 ”and stored in the raster data register 29.
At this time, since "D" and "R" are not equal, the coincidence signal "C" becomes "0".

【0042】第2行目、ソ−スデ−タは「0x44」、
マスクデ−タは「0xaa」、デスティネ−ションデ−
タは「0x22」であるので、第1行目と同様に計算を
行うと、演算結果は「0x22」となり、ラスタデ−タ
レジスタ29に格納される。この時、「D」と「R」と
は等しいので、一致信号「C」は「1」となる。以下、
同様に、各行の演算結果は「R」の列に、一致信号
「C」は「C」の列に示されている。
In the second line, the source data is "0x44",
Mask data is "0xaa", destination data
Since the data is "0x22", the calculation result is "0x22" and is stored in the raster data register 29 when the calculation is performed in the same manner as in the first row. At this time, since "D" and "R" are equal, the coincidence signal "C" becomes "1". Less than,
Similarly, the calculation result of each row is shown in the “R” column, and the coincidence signal “C” is shown in the “C” column.

【0043】なお、マイクロプロセッサ3はグラフィッ
クコントロ−ラ8を使ってソ−スデ−タとマスクデ−タ
との間で演算を実行し、デスティネ−ションデ−タとの
間でも各種の演算を実行し、その結果のラスタデ−タを
再び元の位置のアドレスに書き戻すという動作を行う
が、以上の一連の動作を「展開」と呼び、「展開」を行
う回路を「展開回路」とする。
The microprocessor 3 uses the graphic controller 8 to execute operations between the source data and the mask data, and also execute various operations between the destination data and the destination data. Then, the operation of writing back the resulting raster data to the address of the original position again is performed. The above series of operations is called "expansion", and the circuit for "expansion" is called "expansion circuit".

【0044】次に上記構成におけるデ−タの展開動作に
ついて図1、図2を参照して説明する。まず初め、電源
が投入されると、マイクロプロセッサ3が、マイクロプ
ロセッサ3の作業用デ−タを、DRAMバス13を介し
てワ−キングメモリ7aに送信する。その後、マイクロ
プロセッサ3は、図示せぬホストからのデ−タを待って
いる。
Next, the data expanding operation in the above configuration will be described with reference to FIGS. First, when the power is turned on, the microprocessor 3 sends the working data of the microprocessor 3 to the working memory 7a via the DRAM bus 13. After that, the microprocessor 3 waits for data from a host (not shown).

【0045】そして、ホストインタフェ−ス11を介し
て、ホストから印刷すべき文字コ−ド(この場合文字
「K」とする)とマスクデ−タとがマイクロプロセッサ
3へ転送されてくる。すると、マイクロプロセッサ3
は、フォントROM6から文字「K」が格納されている
場所を見つけ、文字「K」のデ−タに基づきソ−スアド
レスレジスタ21のアドレスを設定する。
Then, the character code to be printed (in this case, character "K") and the mask data are transferred from the host to the microprocessor 3 via the host interface 11. Then, the microprocessor 3
Finds a place where the character "K" is stored in the font ROM 6 and sets the address of the source address register 21 based on the data of the character "K".

【0046】また、マイクロプロセッサ3は、ホストか
ら転送されてきたマスクデ−タをマスクレジスタ25へ
格納する。更に、マイクロプロセッサ3は、ホストから
の指示に基づき、用紙のどの位置に印刷を行うのか決定
し、書き込みアドレスレジスタ22へ印刷開始位置のア
ドレスを設定する。
Further, the microprocessor 3 stores the mask data transferred from the host in the mask register 25. Further, the microprocessor 3 determines where to print on the paper based on an instruction from the host, and sets the address of the print start position in the write address register 22.

【0047】ここで、ソ−スアドレスレジスタ21、書
き込みアドレスレジスタ22にそれぞれアドレスが設定
されたので、バス制御回路23がマイクロプロセッサ3
に代わって制御を行うことになる。以下、バス制御回路
23の行う展開動作について表1及び図1、図2、図
3、図4、図5を参照して図6に示すフロ−チャ−ト及
び図7に示すタイムチャ−トに従って説明する。図6は
発明の実施の形態における展開動作を示すフロ−チャ−
ト、図7は発明の実施の形態における展開動作を示すタ
イムチャ−トである。
Since the addresses have been set in the source address register 21 and the write address register 22, the bus control circuit 23 causes the microprocessor 3 to operate.
Control will be performed instead of. The expansion operation performed by the bus control circuit 23 will be described below with reference to Table 1 and FIGS. 1, 2, 3, 4, and 5 according to the flow chart shown in FIG. 6 and the time chart shown in FIG. explain. FIG. 6 is a flowchart showing the expanding operation in the embodiment of the invention.
FIG. 7 is a time chart showing the expansion operation in the embodiment of the invention.

【0048】なお、本実施の形態においては、第4行
目、第5行目を例として説明する。また、電源投入後、
印刷位置に対するデ−タが格納されるまで、DRAM7
の画像メモリ7bは空であるので、画像メモリ7bから
転送されてくるデ−タは全て印刷される場所に何もない
ことを示すデ−タである。しかし、この場合は「K」を
印刷する位置に既に図5に示すデスティネ−ションデ−
タが存在していることとする。
In the present embodiment, the fourth and fifth lines will be described as an example. Also, after turning on the power,
The DRAM 7 is stored until the data for the print position is stored.
Since the image memory 7b is empty, all the data transferred from the image memory 7b indicates that there is nothing in the place to be printed. However, in this case, the destination data shown in FIG.
Data exists.

【0049】ステップS1でバス制御回路23は、リ−
ドサイクル1においてフォントROM6から探した文字
「K」のソ−スデ−タの第4行目をアクセスし、「0x
50」をソ−スデ−タレジスタ24に転送し、格納す
る。またそれと共に、バス制御回路23は、デスティネ
−ションデ−タ、この場合「0x88」を画像メモリ7
bから制御信号線18、19及びDRAMバス13、D
RAM・グラフィックコントロ−ラバス16を介して、
DRAM7のワ−ド幅毎にデスティネ−ションレジスタ
26へ転送し、格納する。
In step S1, the bus control circuit 23 returns
In cycle 1, access the 4th line of the source data of the character "K" searched from the font ROM 6 and select "0x
50 "is transferred to and stored in the source data register 24. At the same time, the bus control circuit 23 sends the destination data, in this case "0x88", to the image memory 7.
b to control signal lines 18 and 19 and DRAM buses 13 and D
Via RAM / Graphics controller 16
The data is transferred to and stored in the destination register 26 for each word width of the DRAM 7.

【0050】ステップS2でバス制御回路23が演算指
定レジスタ27にソ−スデ−タ、マスクデ−タとデステ
ィネ−ションデ−タ間の演算指定デ−タ「0x0C」を
格納する。ここで既にマスクデ−タはマイクロプロセッ
サ3により、マスクレジスタ25へ格納されている。ス
テップS3で演算判定サイクル1が実行され、バス制御
回路23は演算を行う。この演算は、演算指定レジスタ
27により上記数式(1)に基づき演算器28で行われ
る。
In step S2, the bus control circuit 23 stores the operation specification data "0x0C" in the operation specification register 27 between the source data, the mask data and the destination data. Here, the mask data has already been stored in the mask register 25 by the microprocessor 3. In step S3, the operation determination cycle 1 is executed and the bus control circuit 23 performs the operation. This arithmetic operation is performed by the arithmetic operation unit 28 by the arithmetic operation designation register 27 based on the above equation (1).

【0051】ソ−スデ−タ「0x50」、マスクデ−タ
「0xaa」、デスティネ−ションデ−タ「0x88」
を上記数式(1)に当てはめると、ソ−スデ−タは右に
4ビットシフトされ、ソ−スデ−タは「0x05」とな
り、ソ−スデ−タとマスクデ−タの演算指定はAND演
算であるのでソ−スマスクデ−タは「0x00」とな
る。また、デスティネ−ション演算指定はOR演算であ
るのでラスタデ−タは、ソ−スマスクデ−タとデスティ
ネ−ションデ−タのOR演算の結果、「0x88」とな
る。ステップS4で、「0x88」はラスタデ−タレジ
スタ29へ格納される。
Source data "0x50", mask data "0xaa", destination data "0x88".
When the above equation (1) is applied, the source data is shifted to the right by 4 bits, the source data becomes "0x05", and the operation designation of the source data and the mask data is Since it is an AND operation, the source mask data is "0x00". Since the destination operation designation is an OR operation, the raster data is "0x88" as a result of the OR operation of the source mask data and the destination data. In step S4, "0x88" is stored in the raster data register 29.

【0052】ステップS5で比較器30はデスティネ−
ションデ−タとラスタデ−タの各ビットを比較する。比
較はまず、デスティネ−ションデ−タとラスタデ−タと
でイクスクル−シブNOR演算を行う。そしてこの演算
結果(比較結果デ−タ)をANDゲ−ト37によりAN
D演算する。ステップS6で、ANDゲ−ト37から一
致信号Cとして「1」が制御信号線31を介してバス制
御回路23に出力されたか否かが判断される。この場
合、デスティネ−ションデ−タとラスタデ−タとは全て
のビットが一致するので、演算結果デ−タは「CxF
F」となり、一致信号Cとして「1」がバス制御回路2
3へ出力される。この信号によってバス制御回路23は
ライトサイクル1の実行を停止し、ステップS7で1文
字分の展開動作が終了したか否かを判断し、「否」なの
で、ステップS9に進み、次の行をアクセスするため
に、ソ−スデ−タアドレスとデスティネ−ションデ−タ
アドレスを変更する。
In step S5, the comparator 30 sets the destination
Each bit of the motion data and the raster data is compared. For comparison, first, exclusive-NOR operation is performed on the destination data and the raster data. Then, the result of this calculation (comparison result data) is set to the AN by the AND gate 37.
Calculate D. In step S6, it is determined whether "1" is output from the AND gate 37 as the coincidence signal C to the bus control circuit 23 via the control signal line 31. In this case, since all bits of the destination data and the raster data match, the operation result data is "CxF".
F ", and" 1 "as the coincidence signal C is the bus control circuit 2
3 is output. The bus control circuit 23 stops the execution of the write cycle 1 by this signal, and judges whether or not the expansion operation for one character is completed in step S7. Since it is "no", the process proceeds to step S9 and the next line The source data address and the destination data address are changed for access.

【0053】そして、ステップS1に戻り、直ちにリ−
ドサイクル2によって第5行目のソ−スデ−タとデステ
ィネ−ションデ−タのアクセスを実行する。
Then, the process returns to step S1 and immediately returns.
In cycle 2, the source data and the destination data on the fifth line are accessed.

【0054】第5行目ではデスティネ−ションデ−タが
「0x10」、ラスタデ−タが「0x15」となるが、
デスティネ−ションビットD0とラスタビットR0、デ
スティネ−ションビットD2とラスタビットR2とがそ
れぞれ等しくないので、比較結果デ−タは「0xFA」
となり、演算・判定サイクル2では比較器30は一致信
号Cとして「1」をバス制御回路23へ出力しないの
で、ステップS6からステップS8に進む。ステップS
8でバス制御回路23はライトサイクル2を実行し、ラ
スタデ−タ「0x15」を書き込みアドレスレジスタ2
2に書き込む。すると、制御信号線18、19によりラ
スタデ−タ「0x15」の画像メモリ7bへの書き込み
位置が指定され、また、ラスタデ−タレジスタバス3
6、DRAM・グラフィックコントロ−ラバス16、D
RAMバス13を介してラスタデ−タ「0x15」が画
像メモリ7bの指定された位置へ転送され、格納され
る。
In the fifth line, the destination data is "0x10" and the raster data is "0x15".
Since the destination bit D0 is not equal to the raster bit R0 and the destination bit D2 is not equal to the raster bit R2, the comparison result data is "0xFA".
Since the comparator 30 does not output "1" as the coincidence signal C to the bus control circuit 23 in the calculation / judgment cycle 2, the process proceeds from step S6 to step S8. Step S
At 8, the bus control circuit 23 executes the write cycle 2 and writes the raster data “0x15” to the write address register 2
Write to 2. Then, the write position of the raster data "0x15" to the image memory 7b is designated by the control signal lines 18 and 19, and the raster data register bus 3 is also designated.
6, DRAM, graphic controller bus 16, D
The raster data "0x15" is transferred to the designated position in the image memory 7b via the RAM bus 13 and stored therein.

【0055】上記動作を繰り返し行い、第8行目まで上
記展開動作が終了すると、ステップS7で1文字分の展
開動作が終了したことになる。
When the above operation is repeated and the expanding operation is completed up to the eighth line, the expanding operation for one character is completed in step S7.

【0056】また、上記実施の形態において、ソ−スデ
−タはグラフィックコントロ−ラ8が独自に取り込んで
いるが、マイクロプロセッサ3によって直接ソ−スデ−
タレジスタ24に書き込んでもよい。
Further, in the above-described embodiment, the source data is originally incorporated by the graphic controller 8, but the microprocessor 3 directly supplies the source data.
It may be written in the data register 24.

【0057】図7のクロック信号で示すように、4行目
は3クロックサイクル必要である。最初の2クロックサ
イクル61、62はリ−ドサイクル1であり、フォント
ROM6からソ−スデ−タが読み出されると共に、画像
メモリ7bからデスティネ−ションデ−タが読み出され
る。次の1クロックサイクル63は演算・判定サイクル
であり、ラスタデ−タが作られ、ラスタデ−タとデステ
ィネ−ションデ−タとが一致するか否かの判定が行われ
る。4行目は、ラスタデ−タとデスティネ−ションデ−
タとが一致するので、一致信号Cとして「1」が出力さ
れ、ライトサイクル1は発生しない。従って、3クロッ
クサイクルで展開動作が終了となる。
As shown by the clock signal in FIG. 7, the fourth row requires 3 clock cycles. The first two clock cycles 61 and 62 are read cycle 1, in which the source data is read from the font ROM 6 and the destination data is read from the image memory 7b. The next one clock cycle 63 is a calculation / judgment cycle, in which raster data is created and it is judged whether or not the raster data and the destination data match. The fourth line is raster data and destination data.
Since "1" is output as the coincidence signal C, the write cycle 1 does not occur. Therefore, the expansion operation is completed in 3 clock cycles.

【0058】5行目は5クロックサイクル必要である。
最初の2クロックサイクル64、65はリ−ドサイクル
2であり、次の1クロックサイクル66は演算・判定サ
イクル2である。演算・判定サイクル2において、ラス
タデ−タとデスティネ−ションデ−タとが一致しなの
で、次の2クロックサイクル66、67がライトサイク
ル2となる。このライトサイクル2において、ラスタデ
−タが画像メモリ7bに格納される。
The fifth row requires 5 clock cycles.
The first two clock cycles 64 and 65 are the read cycle 2, and the next one clock cycle 66 is the operation / judgment cycle 2. In the calculation / judgment cycle 2, since the raster data and the destination data match, the next two clock cycles 66 and 67 become the write cycle 2. In this write cycle 2, raster data is stored in the image memory 7b.

【0059】なお、上記比較器30において、イクスク
ル−シブNORゲ−ト35をexclusibe−OR
ゲ−トとし、それと共にANDゲ−ト35をNORゲ−
トとしてもよい。
In the comparator 30, the exclusive-NOR gate 35 is excluded-ORed.
A gate, and the AND gate 35 is also a NOR gate.
May be used.

【0060】上記実施の形態においては、印刷位置に既
に存在するデスティネ−ションデ−タと新たにデスティ
ネ−ション上に書き込もうとするラスタデ−タとが一致
する場合には、ラスタデ−タを画像メモリ7bへ転送す
るライトサイクルが発生されず、次の展開動作を行わせ
るリ−ドサイクルが発生する。それにより、重ね印刷を
行う場合において、処理時間を短縮することができ、マ
イクロプロセッサの時間資源が増加する。
In the above embodiment, when the destination data already existing at the print position matches the raster data to be newly written on the destination, the raster data is stored in the image memory 7b. There is no write cycle for transfer to the read cycle, and a read cycle for performing the next expansion operation. As a result, the processing time can be shortened and the time resources of the microprocessor are increased when performing overprinting.

【0061】また、デスティネ−ションデ−タとラスタ
デ−タとを比較する単位は、バス制御回路23が画像メ
モリ7bを1回のアクセスでアクセスする単位、すなわ
ち1回デ−タの読み出し及び書き込みを行うのに1番短
時間で行うことのできる単位(この場合8ビット)とす
ることにより、効率良く処理を行うことができる。
The unit for comparing the destination data and the raster data is the unit in which the bus control circuit 23 accesses the image memory 7b by one access, that is, the reading and writing of the data once. By setting the unit (8 bits in this case) that can be performed in the shortest time, the processing can be performed efficiently.

【0062】[0062]

【発明の効果】本発明は、以上説明したように構成され
ているので以下に記載される効果を奏する。演算前のデ
−タと、演算後のデ−タとを比較し、演算前のデ−タ
と、演算後のデ−タとが等しいか否かの比較結果を出力
する比較手段と、該比較手段の比較結果により、演算前
のデ−タと、演算後のデ−タとが等しい場合には、演算
前のデ−タが格納されていた位置に演算後のデ−タを書
き込む動作を停止する制御手段とを設けたことにより、
既存する印刷デ−タと、該既存する印刷デ−タに対する
重ね印刷を行う場合において、処理時間を短縮すること
ができ、マイクロプロセッサの時間資源が増加する。
Since the present invention is configured as described above, it has the following effects. Comparing means for comparing the pre-computation data with the post-computation data, and outputting a comparison result as to whether the pre-computation data and the post-computation data are equal to each other; According to the comparison result of the comparing means, when the pre-computation data and the post-computation data are equal to each other, the post-computation data is written in the position where the pre-computation data was stored. By providing the control means for stopping
When performing overprinting on existing print data and the existing print data, the processing time can be shortened and the time resource of the microprocessor increases.

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

【図1】発明の実施の形態におけるグラフィックコント
ロ−ラの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a graphic controller according to an embodiment of the invention.

【図2】発明の実施の形態におけるペ−ジプリンタの制
御系を示すブロック図である。
FIG. 2 is a block diagram showing a control system of the page printer according to the embodiment of the invention.

【図3】発明の実施の形態における演算指定レジスタを
示す説明図である。
FIG. 3 is an explanatory diagram showing an operation designation register according to the embodiment of the invention.

【図4】発明の実施の形態における演算器と比較器の構
成を示す説明図である。
FIG. 4 is an explanatory diagram showing a configuration of an arithmetic unit and a comparator according to the embodiment of the invention.

【図5】発明の実施の形態におけるビットマップのイメ
−ジを示す説明図である。
FIG. 5 is an explanatory diagram showing an image of a bitmap according to the embodiment of the invention.

【図6】発明の実施の形態における展開動作を示すフロ
−チャ−トである。
FIG. 6 is a flowchart showing a developing operation in the embodiment of the invention.

【図7】発明の実施の形態における展開動作を示すタイ
ムチャ−トである。
FIG. 7 is a time chart showing a developing operation in the embodiment of the invention.

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

1 制御部 7 DRAM 7a ワ−キングメモリ 7b 画像メモリ 8 グラフィックコントロ−ラ 28 演算器 30 比較器 1 Control Section 7 DRAM 7a Working Memory 7b Image Memory 8 Graphic Controller 28 Operation Unit 30 Comparator

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 記憶部に格納されているデ−タを呼び出
し、所定の演算を行い、演算前に前記デ−タが格納され
ていた位置に、演算後のデ−タを書き戻す展開回路にお
いて、 演算前のデ−タと、演算後のデ−タとを比較し、演算前
のデ−タと、演算後のデ−タとが等しいか否かの比較結
果を出力する比較手段と、 該比較手段の比較結果により、演算前のデ−タと、演算
後のデ−タとが等しい場合には、演算前のデ−タが格納
されていた位置に演算後のデ−タを書き込む動作を停止
する制御手段とを設けたことを特徴とする展開回路。
1. An expansion circuit for recalling data stored in a storage unit, performing a predetermined operation, and writing back the data after the operation to a position where the data was stored before the operation. And a comparison means for comparing the pre-computation data with the post-computation data and outputting a comparison result as to whether the pre-computation data is equal to the post-computation data. If the pre-computation data and the post-computation data are equal according to the comparison result of the comparison means, the post-computation data is stored at the position where the pre-computation data was stored. And a control means for stopping the writing operation.
【請求項2】 演算前のデ−タと、演算後のデ−タとの
比較は、1回のアクセスでアクセスできるビット数毎に
行う請求項1記載の展開回路。
2. The expansion circuit according to claim 1, wherein the data before the operation is compared with the data after the operation for each number of bits that can be accessed by one access.
JP8270705A 1995-10-16 1996-10-14 Developing circuit Pending JPH09169150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8270705A JPH09169150A (en) 1995-10-16 1996-10-14 Developing circuit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-266584 1995-10-16
JP26658495 1995-10-16
JP8270705A JPH09169150A (en) 1995-10-16 1996-10-14 Developing circuit

Publications (1)

Publication Number Publication Date
JPH09169150A true JPH09169150A (en) 1997-06-30

Family

ID=26547496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8270705A Pending JPH09169150A (en) 1995-10-16 1996-10-14 Developing circuit

Country Status (1)

Country Link
JP (1) JPH09169150A (en)

Similar Documents

Publication Publication Date Title
US4979096A (en) Multiprocessor system
US5414448A (en) Character/pattern generator and information processing system
US5016001A (en) Pattern data generating system
US5847715A (en) Graphics display system including parallel graphics processors executing Bresenham's algorithm
JPS61159686A (en) Image display unit
JPH0378651B2 (en)
US4879666A (en) Information output device having data buffer for performing both character positioning and character expansion/compression
EP0230352A2 (en) Graphic and data display system
JPH09169150A (en) Developing circuit
JPS6057593B2 (en) Character pattern processing method
JP2001154910A (en) Memory access system
JPS6019258A (en) Memory
JPH04205678A (en) Image information processor
JPH08167038A (en) Pattern drawing system
JPH0193868A (en) Data processor
JP2808105B2 (en) Font drawing device
JPH10111680A (en) Data order determining device
JPH1021384A (en) Rendering processor
JPH01239584A (en) Character pattern plotting device and its manufacture
JPH04117582A (en) Graphic plotting device
JPH0433172A (en) Image generation device with pattern memory
JPH04365096A (en) Character pattern generator
JPS62138970A (en) Data processor
JPS62290936A (en) Address control circuit
JPS63217477A (en) Graphic memory controller for display device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051027

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060912

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20061025

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A072

Effective date: 20070313