JPS62219295A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JPS62219295A
JPS62219295A JP5930886A JP5930886A JPS62219295A JP S62219295 A JPS62219295 A JP S62219295A JP 5930886 A JP5930886 A JP 5930886A JP 5930886 A JP5930886 A JP 5930886A JP S62219295 A JPS62219295 A JP S62219295A
Authority
JP
Japan
Prior art keywords
data
memory
address
mode
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.)
Pending
Application number
JP5930886A
Other languages
Japanese (ja)
Inventor
Wataru Sakagami
坂上 渉
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP5930886A priority Critical patent/JPS62219295A/en
Publication of JPS62219295A publication Critical patent/JPS62219295A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To provide direct memory access type memory control with a complicate function by providing an output means which outputs a refresh pulse in case a volatile memory is occupied by a control which lasts beyond a specified length of time. CONSTITUTION:A master MPU 3 sets a start address in an address counter 41 and an address for discriminating an area in a bank register 414, and also sets the length of data to be processed in a length counter 412 and a command data for specifying the operation of a memory control circuit 4 in a command register 413 at the time of a memory control circuit 4 is started. The memory control circuit 4 decodes the contents of the command register 413 by an instruction decoder 430 based on a synchronizing signal from a microsequence 440 to convert data while controlling a memory 5 and synchronizing a host CPU 1 and the master MPU 3 with each other through a bus arbiter 450.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、メモリを制御するメモリ制御回路に関するも
のである。特に、画像処理装置のメモリ制御回路に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory control circuit that controls a memory. In particular, it relates to a memory control circuit of an image processing device.

[従来の技術] マイクロコンピュータ(以下、MPUと略)により制御
されているカラー記録装置等の画像処理装置に於いては
高精細出力の要望が非常に高まり、それに伴いカラー記
録装置の印字ヘッドも高解像度になって来た。その反面
、−画面当りの情報量が非常に多くなっている。そのた
め記録速度を速くせざるを得ないためにホストCPUか
らのデータの取り込み及びY(イエロー)1M(マゼン
タ)、C(シアン)データからのBK(ブラック)デー
タの生成のための処理時間とが量も長く多くなってきて
いる。特に、縦に一列に複数個の印字素子を持ち、媒体
に対して水平方向に操作しつつ印字を実行する、いわゆ
るシルアルプリンタでラスク情報を高速で印字可能にす
る事が望まれている。
[Prior Art] In image processing devices such as color recording devices controlled by microcomputers (hereinafter abbreviated as MPU), the demand for high-definition output has increased significantly, and with this, the print heads of color recording devices have also improved. It has become high resolution. On the other hand, the amount of information per screen has increased significantly. Therefore, in order to increase the recording speed, the processing time for importing data from the host CPU and generating BK (black) data from Y (yellow), 1M (magenta), and C (cyan) data is increased. The amount has been increasing for a long time. In particular, it is desired to be able to print rask information at high speed with a so-called serial printer, which has a plurality of printing elements arranged vertically in a line and performs printing while operating horizontally with respect to the medium.

そのためには、送られて来たラスク情報を一旦メモリ内
に記憶させ、必要量だけのラスク情報を受信後にソフト
ウェア等の制御でヘッド構造に合わせたデータ変換すな
わち縦横変換を行う必要がある。しかしソフトウェアに
よるデータ受信、変換では、ヘッドのエレメント数が少
ない場合には処理時間も短いので問題は少ないが、エレ
メント数が増加し、特にカラーデータの場合には通常R
(赤)、G(緑)、B(青)とモノクロームデータの3
倍のデータ量となるためデータ処理時間が非常に長くな
り、更に印字ヘッドのインク色はY、M、C,BKであ
るので、RGBデータからYMCデータへ変換せねがな
らないため処理時間がさらに長くなるという欠点を有し
ていた。
To do this, it is necessary to temporarily store the sent rask information in a memory, and after receiving the required amount of rask information, perform data conversion, that is, vertical/horizontal conversion, in accordance with the head structure under the control of software or the like. However, when receiving and converting data using software, the processing time is short when the number of elements in the head is small, so there is no problem, but the number of elements increases, and especially in the case of color data, it is usually
(red), G (green), B (blue) and monochrome data.
Since the amount of data is doubled, the data processing time becomes extremely long.Furthermore, since the ink colors of the print head are Y, M, C, and BK, the processing time is further increased because the RGB data must be converted to YMC data. It had the disadvantage of being long.

[発明が解決しようとする問題点] 本発明は上記の欠点に鑑みて成されたもので、水平デー
タの垂直データへの変換機能と、入力カラーデータから
対応するカラーデータへの変換機能と、縦nバイトのイ
メージデータをヘッドに構造−に対応させるフォーマッ
ト変換機能と、メモリクリア機能と、印字可能範囲を超
える入力データを捨てる機能と、対象メモリシステムが
ダイナミックRAMで構成されているときのためのオー
トリフレッシュ機能とを高速で実行する画像処理装置の
メそす制御回路を提供するものである。
[Problems to be Solved by the Invention] The present invention has been made in view of the above drawbacks, and includes a function of converting horizontal data to vertical data, a function of converting input color data to corresponding color data, A format conversion function that matches vertical n-byte image data to the head structure, a memory clear function, a function to discard input data that exceeds the printable range, and a function for when the target memory system is composed of dynamic RAM. The present invention provides a method control circuit for an image processing apparatus that executes an auto-refresh function at high speed.

[問題点を解決するための手段] この問題点を解決する一手段として、第1図に示すカラ
ー記録装置2は、ホストCPUIとインターフェースケ
ーブル16で接続されていて、かつインターフェースデ
ータ幅は8ビツト又は16ビツトで構成されている。カ
ラー記録装置2はマスタMPU3と、キャリッジモータ
10と、紙送りモータ9と、サブMPU7と、印字ヘッ
ド8と、メモリ5と、インターフェースユニット6と、
メモリ制御回路4とを備える。
[Means for Solving the Problem] As a means for solving this problem, the color recording device 2 shown in FIG. 1 is connected to the host CPU by an interface cable 16, and the interface data width is 8 bits. Or it is composed of 16 bits. The color recording device 2 includes a master MPU 3, a carriage motor 10, a paper feed motor 9, a sub MPU 7, a print head 8, a memory 5, an interface unit 6,
and a memory control circuit 4.

第2図に示すメモリ制御回路4は、アドレスカウンタ4
15と、バンクレジスタ414と、バンクセレクタ41
7と、レングスカウンタ412と、データ格納レジスタ
410,411と、インバータロジック416と、アン
ドロジック418と、コマンドレジスタ413と、イン
ストラクションデコーダ430と、バスアービタ450
と、マイクロシーケンサ440と、並直変換回路420
と、ビットチェンジ419と、ビットカウンタ421と
を備える。
The memory control circuit 4 shown in FIG.
15, bank register 414, and bank selector 41
7, length counter 412, data storage registers 410, 411, inverter logic 416, AND logic 418, command register 413, instruction decoder 430, and bus arbiter 450.
, a micro sequencer 440, and a parallel-to-serial conversion circuit 420
, a bit change 419, and a bit counter 421.

更に、アドレスカウンタ415とレングスカウンタ41
2とには、前段にラッチが置かれている。
Furthermore, an address counter 415 and a length counter 41
2, a latch is placed in the front stage.

[作用] かかる構成において、ホストCPUIからインターフェ
ースケーブル16を通して、インターフェースユニット
6に送信されたデータ幅が8ビツト又は16ビツトの画
像データは、メモリ制御回路4に制御されてメモリ5に
格納される。カラー記録装置2はマスタMPU3に制御
されて、水平データの垂直データへの変換機能と、入力
カラーデータから対応するカラーデータへの変換機能と
、縦nバイトのイメージデータをヘッドに構造に対応さ
せるフォーマット変換機能と、メモリクリア機能と、印
字可能範囲を超える入力データを捨てる機能と、対象メ
モリシステムがダイナミックRAMで構成されていると
きのためのオートリフレッシュ機能を持つメモリ制御回
路4によってメモリへの格納前後で入力データを印字デ
ータに変換し、印字ヘッド8に出力する。一方、サブM
PU7によりキャリッジモータ10と紙送りモータ9と
を制御する。
[Operation] In this configuration, image data having a data width of 8 bits or 16 bits transmitted from the host CPU to the interface cable 16 to the interface unit 6 is stored in the memory 5 under the control of the memory control circuit 4. The color recording device 2 is controlled by the master MPU 3 and has a function of converting horizontal data to vertical data, a function of converting input color data to corresponding color data, and making the image data of vertical n bytes correspond to the structure of the head. The memory control circuit 4 has a format conversion function, a memory clear function, a function to discard input data exceeding the printable range, and an auto refresh function when the target memory system is configured with dynamic RAM. Before and after storage, the input data is converted into print data and output to the print head 8. On the other hand, sub M
The carriage motor 10 and paper feed motor 9 are controlled by the PU 7.

マスクMPυ3はメモリ制御回路4の起動時に、アドレ
スカウンタ415にスタートアドレスをセットシ、バン
クレジスタ414に領域を判別するためのアドレスをセ
ットし、レングスカウンタ412に処理するデータ長を
セットし、コマンドレジスタ413にメモリ制御回路4
による動作を指定するコマンドデータをセットする。メ
モリ制御回路4は、マイクロシーケンサ440による同
期信号を基に、コマンドレジスタ413の内容をインス
トラクションデコーダ430でデコードし、パスアービ
タ450を通してメモリ5の制御、あるいはホストCP
UI、マスタMPU3との同期をとる一方、データ格納
レジスタ41o。
When the memory control circuit 4 is activated, the mask MPυ3 sets the start address in the address counter 415, sets the address for determining the area in the bank register 414, sets the data length to be processed in the length counter 412, and sets the data length in the command register 413. memory control circuit 4
Sets command data that specifies the operation. The memory control circuit 4 decodes the contents of the command register 413 with an instruction decoder 430 based on the synchronization signal from the microsequencer 440, and controls the memory 5 through the path arbiter 450 or the host CPU.
While synchronizing with the UI and the master MPU 3, the data storage register 41o.

データ格納レジスタ411.インバータロジック416
、アンドロジック418.並直変換回路420、ピット
チェンジ419.ビットカウンタ421とを使って、デ
ータの変換を行う。
Data storage register 411. inverter logic 416
, ANDLogic 418. Parallel to serial conversion circuit 420, pit change 419. Data is converted using the bit counter 421.

更に、アドレスカウンタ415とレングスカウンタ41
2との前段のラッチは、メモリ制御回路4が繰り換えし
同じアドレスから同じデータ長の処理をする場合に使用
される。
Furthermore, an address counter 415 and a length counter 41
The latch in the preceding stage with 2 is used when the memory control circuit 4 repeatedly processes the same data length from the same address.

[実施例] 以下、本発明の一実施例を図面に従って詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を適用したカラー記録装置の
ブロック図で、カラー記録装置・はホストCPUIとイ
ンターフェースケーブル16で接続されていて、かつイ
ンターフェースデータ幅は8ビツト又は16ビツトで構
成されている。カラー記録装置2は全体を司どるマスク
MPU3 (以下MMPU3)はキャリッジモータ10
及び紙送りモータ9を制御するサブMPU7 (以下S
MPU7)と通線12で密に結合している。さらにMM
PU3は印字ヘッド8.メモリ5.インターフェースユ
ニット6及びメモリ制御回路4(以下MC4)をi!l
I#する。印字ヘッド8は本実施例ではヘッド当り24
ドツトエレメントのものを対象としている。
FIG. 1 is a block diagram of a color recording device to which an embodiment of the present invention is applied. The color recording device is connected to a host CPU via an interface cable 16, and the interface data width is configured to be 8 bits or 16 bits. has been done. The color recording device 2 has a mask MPU 3 (hereinafter referred to as MMPU 3) that controls the entire carriage motor 10.
and a sub MPU 7 (hereinafter referred to as S) that controls the paper feed motor 9.
It is tightly connected to the MPU 7) through a wire 12. Furthermore, MM
PU3 is the print head 8. Memory 5. The interface unit 6 and memory control circuit 4 (hereinafter referred to as MC4) are connected to i! l
Do I#. In this embodiment, the print head 8 has 24 print heads per head.
Targeted for dot elements.

第2図は本実施例の骨子となるMC4のブロック図で、
概略を説明すると、データ転送先を決定するアドレスカ
ウンタ415(以下ADRC415)と、第8図で示さ
れるメモリ構成で色メモリを指定するためのバンクレジ
スタ414(以下BR414)と、前記BR414を選
択するバンクセレクタ41フ(以下BSEL417)と
、データ転送数を指定するレングスカウンタ412(以
下LC412)と、内部作業用のデータ格納レジスタ4
10(以下DR410)、411 (以下DR411)
と、データを反転するためのインバータロジック416
(以下INV416)と、前記DR410とDR411
との論理積演算をするアンドロジック418(以下AN
D418)と、動作モードを設定するためのコマンドレ
ジスタ413(以下C0MR413)と、コマンドを解
析するためのインストラクションデコーダ430(以下
It)430)と、外部装置との制御信号の同期をとる
パスアービタ450(以下BA450)と、実行処理に
必要な内部タイミングを生成するマイクロシーケンサ4
40(以下MS440)と、水平−垂直変換を実行する
並直変換回路420(以下PS420)、ビットチェン
ジ419(以下BC419)、ビットカウンタ421(
以下BCNR421)等から構成されている。
FIG. 2 is a block diagram of MC4, which is the gist of this embodiment.
Briefly, an address counter 415 (hereinafter referred to as ADRC415) determines a data transfer destination, a bank register 414 (hereinafter referred to as BR414) for specifying a color memory in the memory configuration shown in FIG. 8, and selects the BR414. A bank selector 41 (hereinafter referred to as BSEL417), a length counter 412 (hereinafter referred to as LC412) that specifies the number of data transfers, and a data storage register 4 for internal work.
10 (hereinafter referred to as DR410), 411 (hereinafter referred to as DR411)
and inverter logic 416 for inverting the data.
(hereinafter referred to as INV416), the DR410 and DR411
AND logic 418 (hereinafter referred to as AN
D418), a command register 413 (hereinafter referred to as C0MR413) for setting the operation mode, an instruction decoder 430 (hereinafter referred to as It) 430) for analyzing commands, and a path arbiter 450 (hereinafter referred to as It) for synchronizing control signals with external devices. BA450) and a microsequencer 4 that generates the internal timing necessary for execution processing.
40 (hereinafter referred to as MS440), a parallel-to-serial conversion circuit 420 (hereinafter referred to as PS420) that performs horizontal-vertical conversion, a bit change 419 (hereinafter referred to as BC419), and a bit counter 421 (hereinafter referred to as BC419).
BCNR421) etc. below.

又、MMPU3は16ビツトのMPUでデータが16ビ
ツト、アドレスは23ビツトで構成されているので、メ
モリ5も同様にデータ16ビツト幅である。しかし、イ
ンターフェースユニット6の出力データ15はホストC
PUIとの兼ね合いで8ビツト又は16ビツトの両方が
MC4への設定で選択可能である。
Furthermore, since the MMPU 3 is a 16-bit MPU with 16 bits of data and 23 bits of address, the memory 5 also has a data width of 16 bits. However, the output data 15 of the interface unit 6 is
Depending on the PUI, both 8 bits and 16 bits can be selected by setting the MC4.

MCJ内の詳細な説明をする前に、MC4の外部仕様及
びカラー記録装置2の概略仕様を説明する。
Before providing a detailed explanation of the inside of the MCJ, the external specifications of the MC4 and the general specifications of the color recording device 2 will be explained.

くカラー記録装置2の仕様〉 1、ヘッド構成・・・縦24ドツト/ヘツド、Y、M、
C,BKの4ヘツド 2、入力データフォーマット ・・・ラスクイメージフォーマット ・・・縦8ビツトイメージフオーマツト・・・縦24ビ
ツトイメージフオーマツト3、色指定フォーマット −RG  B ・・−RGBBK …YMC ・・−MMCBに 上記2及び3については、第16図〜第19図で説明す
るが、説明を簡単にするために入力データは8ビツト幅
の一色についての結果に限定している。
Specifications of the color recording device 2> 1. Head configuration... 24 vertical dots/head, Y, M,
C, BK 4 heads 2, Input data format... Rask image format... Vertical 8-bit image format... Vertical 24-bit image format 3, Color specification format -RGB...-RGBBK...YMC ・- MMCB The above 2 and 3 will be explained with reference to FIGS. 16 to 19, but in order to simplify the explanation, the input data is limited to the results for one color with an 8-bit width.

第16図はラスクイメークフォーマット時の入力データ
と出力結果を比較した図で、縦8ビツトの人力データが
バイト毎の直列データとみなして出力する。本フォーマ
ット時の制御は、[縦横変換(HVモード)]の項で詳
細な説明をする。
FIG. 16 is a diagram comparing the input data and the output result in the rask image format, in which vertical 8-bit human data is output as serial data in bytes. Control during this format will be explained in detail in the section [Vertical/horizontal conversion (HV mode)].

第17図は縦8ビツトイメージフオーマツトの入力デー
タと出力結果の関係を示した図で、入力データはヘッド
のドツト1〜8の部分のみで印字される。これは1人力
データが入力の度に必ずドツト1〜8を使用して印字す
るのではなく、通常3つの入力データブロックを受信し
てから印字する。すなわち、最初の入力データブロック
がドツト1〜8に、2番目の入力データブロックがドツ
ト9〜16に、3番目の入力データブロックがドツト1
7〜24に対応して印字される。
FIG. 17 is a diagram showing the relationship between input data and output results in a vertical 8-bit image format, and the input data is printed only on dots 1 to 8 of the head. This means that dots 1 to 8 are not always printed each time data is input by one person, but usually three blocks of input data are received and then printed. That is, the first input data block corresponds to dots 1 to 8, the second input data block corresponds to dots 9 to 16, and the third input data block corresponds to dots 1.
7 to 24 are printed.

第18図は縦24ビツトイメージフオーマツトの入力デ
ータと出力結果の関係で、入力データがバイトシリアル
なフォーマットとして解釈され、3バイト毎に出力結果
の縦1ラインに対応する。
FIG. 18 shows the relationship between input data and output results in a vertical 24-bit image format, where the input data is interpreted as a byte serial format, and every 3 bytes corresponds to one vertical line of the output results.

第19図(A)〜(D)は色指定フォーマットの例であ
り、第19図(A)はRGBフォーマットで、Nバイト
毎に色データ(第16〜第18図の入力データに対応す
る)が変更される。同様に第19図CB)はRGBBK
、第19図(C)はMMC,第19図(D)はYMCB
Kフォーマットである。印字ヘッドのインク色はYM′
CBKであるため、第19図(D)以外のフォーマット
は色変換を行う必要性がある。これを説明するのが第2
0図で、■のRGBフォーマットは、まずRGBをMM
Cに変換し、次にMMCからBK及び新しいMMCを生
成する。この新しいYMCを生成する理由を次に述べる
。BKデータはY−M=C=1であるので、黒を表現す
る場合入力データそのままのY、M、Cを使うと黒はB
K。
Figures 19 (A) to (D) are examples of color specification formats, and Figure 19 (A) is an RGB format, where color data is provided every N bytes (corresponding to the input data in Figures 16 to 18). is changed. Similarly, Fig. 19 CB) is RGBBK
, Fig. 19(C) is MMC, Fig. 19(D) is YMCB
It is in K format. The ink color of the print head is YM'
Since it is CBK, formats other than those shown in FIG. 19(D) require color conversion. The second thing to explain this is
In Figure 0, the RGB format shown in ■ is first converted from RGB to MM.
Convert to C, then generate BK and new MMC from MMC. The reason for creating this new YMC will be described below. BK data is Y-M=C=1, so to express black, if you use Y, M, and C as input data, black will be B.
K.

Y、M、C全てのインクで印字されてしまうため、BK
で印字されるドツトの部分のY、M、Cは削除しなけれ
ばならない。
Since it is printed with all Y, M, and C inks, BK
The Y, M, and C portions of the dots that are printed must be deleted.

■のRGBBKフォーマットはBKデータが付加されて
いるのでRGBのみをYMCに変換すれば良い。
Since BK data is added to the RGBBK format (2), only RGB needs to be converted to YMC.

■のMMCフォーマットはBKデータと新しいMMCを
生成するのみで良い。
For the MMC format (2), it is only necessary to generate BK data and a new MMC.

以上説明した様に、3種類のデータフォーマットと4f
f!類の色指定モードをサポートする事により各種のシ
ステムに対応可能になった。
As explained above, there are three types of data formats and 4f
f! By supporting various color specification modes, it has become compatible with various systems.

<MC4の機能〉 MC4はD M A C(Direct Memory
 Access Controller)  としての
機能を持ちインターフェースデータ14のリード及びそ
れのメモリ5への書き込み、縦横変換9色変換を実行す
る機能を有する。以下に機能の概要を列記する。
<Functions of MC4> MC4 uses DMAC (Direct Memory).
It has the function of reading the interface data 14, writing it to the memory 5, and executing vertical/horizontal conversion and nine-color conversion. An overview of the functions is listed below.

IFRモード・・・インターフェースデータのメモリへ
の書き込み CCモード・・・色変換を実行する (YMC→BK) HVモード・・・インターフェースデータをリードし、
即、縦横変換する DDモード・・・インターフェースデータをリードし、
メモリには書き込まない CDモード・・−MCJ内の固定データをメモリに書き
込む CDHVモード・・・MC4内の固定データを縦横変換
する IFRIモード・・・インターフェースデータを反転し
たデータをメモリに書き 込む HVIモード・・・インターフェースデータを反転した
データを縦横変換する 等があり、各モードについては後で詳細に説明する。
IFR mode...Writes interface data to memory CC mode...Executes color conversion (YMC→BK) HV mode...Reads interface data,
Immediately, DD mode for vertical/horizontal conversion...reads the interface data,
CD mode that does not write to memory - CDHV mode that writes fixed data in MCJ to memory - IFRI mode that converts fixed data in MC4 vertically and horizontally - HVI mode that writes inverted interface data to memory ...The data obtained by inverting the interface data is converted vertically and horizontally, and each mode will be explained in detail later.

<MC4内部の説明〉 MC4は前述した様にDMAC機能を持っている。これ
は第2図のBA450により実行され、MMPU3の動
作を停止させる機能である。これはMC4が動作を開始
するためには必ず行われなければならない動作であり、
又以下の説明及びタイミングチャートではほとんど省略
されている機能である。以下にBA450の動作を詳述
する。
<Description of inside of MC4> As mentioned above, MC4 has a DMAC function. This is a function executed by BA450 in FIG. 2, and stops the operation of MMPU3. This is an operation that must be performed in order for MC4 to start operating.
Furthermore, this function is mostly omitted in the following explanation and timing charts. The operation of BA450 will be explained in detail below.

本実施例のMC4がインターフェースユニット6からの
データをメモリ5に書き込む、又はその他の各種メモリ
データのリードライトを実行する際に、MMPU3を停
止状態にして第1図のアドレスバス14b及びデータバ
ス14をフリーな状態(トライステート状態)にしなけ
ればならない。
When the MC 4 of this embodiment writes data from the interface unit 6 to the memory 5 or reads/writes various other types of memory data, the MMPU 3 is stopped and the address bus 14b and data bus 14 of FIG. must be brought into a free state (tristate state).

そのための手段としてモトローラ社製16ビツトMPU
 (M68000)を使用した本カラー記録装置では、
第3図で示される方法により前記状態を得る事が可能で
ある。MC4が動作可能状態にある時、動作開始は図示
しないインターフェースユニット6からの割り込み、又
はMMPU3からのC0MR413へのコマンドの書き
込みによる。第3図に於いて、例えばコマンドの書き込
みによりMC4の動作が開始すると、MC4はまず*B
RをLOWにしてMMPU3からの応答信号である*B
RJ(LOWになるのを待つ、*BRがLOWになれば
アドレスバス14bとデータバス14は解放されるので
、アドレス、データ共にMC4の管理下に置かれる。従
って、MC4は動作実行中を示す*BGAをLOWにす
ると同時に動作開始する。動作を終了すればMC4は*
BGAをHIGHにして、アドレス、データバスの管理
をMMPU3に渡す。
As a means of achieving this, we use a 16-bit MPU manufactured by Motorola.
(M68000), this color recording device uses
It is possible to obtain said state by the method shown in FIG. When the MC4 is ready for operation, the operation is started by an interrupt from the interface unit 6 (not shown) or by writing a command from the MMPU3 to the C0MR413. In FIG. 3, for example, when the MC4 starts operating by writing a command, the MC4 first writes *B.
*B is a response signal from MMPU3 with R set to LOW.
RJ (wait for it to go LOW. *When BR goes LOW, the address bus 14b and data bus 14 are released, so both the address and data are under the control of MC4. Therefore, MC4 indicates that the operation is being executed. *Starts operation at the same time as turning BGA LOW.When the operation is finished, MC4 *
Set BGA to HIGH and pass address and data bus management to MMPU3.

[ADRC4t 5・・・アドレスカウンタ]第2図の
ADRC415は、対象メモリのアドレスを指定するも
ので、16ビツトのカウンタから構成されアドレスA1
〜A1Bを持つすなわち64にワードの可変範囲を持つ
。メモリ5が16ビツトデータ幅なので、第27図で示
される如く、最下位アドレスAOは通常必要としないが
、MC4の内部にはAo用のカウンタを具備している。
[ADRC4t5...Address counter] The ADRC415 in FIG. 2 specifies the address of the target memory, and is composed of a 16-bit counter.
~A1B, ie, has a variable range of 64 words. Since the memory 5 has a data width of 16 bits, the lowest address AO is not normally required as shown in FIG. 27, but the MC 4 is provided with a counter for the Ao.

ADRC415は、MMPU3からの設定によりインク
リメント量が可変であり、一番大きな特徴は+3のイン
クリメント量を設定出来る事とインターフェースデータ
幅が8又は16ビツトの両方の制御を可能にするため、
同じインクリメント量であってもADRC415のイン
クリメント量が異なる点である。
The ADRC415 has a variable increment amount depending on the settings from the MMPU3, and its biggest feature is that it can set an increment amount of +3 and can control both 8 and 16 bit interface data widths.
The difference is that even if the increment amount is the same, the increment amount of ADRC 415 is different.

インターフェースバス幅が8ビツトの場合で入力データ
フォーマットが縦24ビツトの場合の、入力データのメ
モリ5への格納方法を第21図。
FIG. 21 shows a method of storing input data in the memory 5 when the interface bus width is 8 bits and the input data format is 24 bits vertically.

第23図で示すと、第17図からも解る様に人力データ
は順番にメモリ5に格納するのが印字の際の制御を含め
て一番処理しやすい形態であるので、ADRC415の
インクリメント量を+1に設定すると、アドレスの変化
は初期にnと設定されていれば、n、n+1.n+2.
n+3・・・どなる。一方、入力データフォーマットが
縦24ビツトの例だと第21図の入力データに対してメ
モリ5には第22図の様に飛び飛びに格納される。その
ためにはADRC415のインクリメント量を+3にす
れば、出力アドレスは、n、n+3゜n+6・・・とな
り、結果として第22図と同じになる。ADRC415
のインクリメント量を+1に設定した時にインターフェ
ースバス幅が8ビツトの時と16ビツトの時を比較する
と、8ビツトの時は第21図の入力データと第23図の
メモリ結果の関係となり、16ビツトの時は第24図の
入力データと第25図のメモリ結果となり、第25図か
ら解る様にADRC415のアドレス出力は、n 、 
 n + 2 、  n + 4 ”・どなる。
As shown in FIG. 23, as can be seen from FIG. 17, storing manual data in order in the memory 5 is the easiest form to process, including control during printing, so the increment amount of ADRC 415 is If set to +1, the change in address will be n, n+1 . . . if n is initially set. n+2.
n+3... yell. On the other hand, if the input data format is 24 bits vertically, the input data shown in FIG. 21 is stored in the memory 5 intermittently as shown in FIG. To do this, if the increment amount of the ADRC 415 is set to +3, the output address will be n, n+3°n+6, . . . , and the result will be the same as in FIG. 22. ADRC415
If we compare the case when the interface bus width is 8 bits and 16 bits when the increment amount of In the case of , the input data shown in Fig. 24 and the memory result shown in Fig. 25 are obtained.As can be seen from Fig. 25, the address output of ADRC415 is n,
n + 2, n + 4” - roar.

前記説明以外のインクリメント量+2.+4・・・は、
装置の使用ヘッドのエレメント数が変化した時に対応可
能とするためである。なお、+3インクリメントは8ビ
ツトインターフエースのときのみ有効で、16ビツトバ
ス幅の時は自動的に+1インクリメント量になる様に構
成されている。
Increment amount other than the above description +2. +4...is...
This is to be able to cope with changes in the number of elements in the head used in the device. Note that +3 increments are effective only when using an 8-bit interface, and the configuration is such that when the bus width is 16 bits, the amount is automatically increased by +1 increments.

以上の動作を第26図で説明する。The above operation will be explained with reference to FIG.

PT810はインクリメント量が+3の時″1″で、そ
れ以外では“0”、PO312はインクリメント量が+
1の時“1”で、それ以外の時“O”、BW811はイ
ンターフェースバス幅を示す信号で、8ビツトの時“1
”、16ビツトの時“0”になる信号である。802,
803はそれぞれ2進カウンタ。801は3進カウンタ
であるが、通常の3進カウンタと異り、0→1→2→0
→1・・・と変化するのではなく、0→3→2→1→0
→・・・と変化し、図示しないキャリ信号をO→3以外
のカウントアツプ時には必ず図示しない上位カウンタに
供給する。このことにより下位3ビツトアドレスの変化
は初期値が0の場合は、0→3→6→9・・・となり、
初期値が1の場合は、1−4−7− A−・・となり、
初期値が2の場合は、2→5→8→B・・・となる。今
、インターフェースバス幅が8ビツトで変化量が+3の
とき、PT=1.BW=1であるからアンドゲート81
6の出力816aは“1″となり、アドレス信号Ao8
14.A1815には3進カウンタ801の出力801
a、801bが出力される。もし変化量が+3のときに
インターフェースバス幅が16ビツトの時はBW−0で
あるから、アンドゲート816は禁止されるので、81
6aは“O”となり、アンドゲート813からは802
a、803aが出力814,815に出力される。又、
PO312冨Oであるが、PT=1であるためアンドゲ
ート808がイネーブルになり、2進カウンタ803は
インクリメントされる。このことにより+3の変化量の
ときはインターフェースバス幅が16ビツトであるとき
、自動的に+1しかもアドレス信号Ao 814は全く
変化しないモードになる。
PT810 is "1" when the increment amount is +3, otherwise it is "0", and PO312 is "1" when the increment amount is +3.
BW811 is a signal indicating the interface bus width, and is “1” when it is 8 bits.
”, is a signal that becomes “0” when it is 16 bits.802,
803 are binary counters. 801 is a ternary counter, but unlike a normal ternary counter, it reads 0 → 1 → 2 → 0.
Instead of changing as →1..., 0 → 3 → 2 → 1 → 0
→..., and a carry signal (not shown) is always supplied to a higher-order counter (not shown) when counting up other than O→3. As a result, if the initial value is 0, the lower 3-bit address changes from 0 → 3 → 6 → 9, etc.
If the initial value is 1, it becomes 1-4-7- A-...,
When the initial value is 2, the order becomes 2→5→8→B... Now, when the interface bus width is 8 bits and the amount of change is +3, PT=1. Since BW=1, AND gate 81
The output 816a of Ao8 becomes "1", and the address signal Ao8
14. A1815 has the output 801 of the ternary counter 801.
a, 801b are output. If the amount of change is +3 and the interface bus width is 16 bits, it is BW-0, and the AND gate 816 is prohibited.
6a becomes “O”, and from AND gate 813 becomes 802
a, 803a are output to outputs 814, 815. or,
PO312 is zero, but since PT=1, AND gate 808 is enabled and binary counter 803 is incremented. As a result, when the amount of change is +3 and the interface bus width is 16 bits, the mode is automatically set to +1 and the address signal Ao 814 does not change at all.

次に+1の変化量の時、PT810=Oであるから、イ
ンターフェースバス幅に関係なくアンドオアゲート81
3は802a、803aをセレクトする。2進カウンタ
802,803の動作はインターフェースバス幅が8ビ
ツトのとkBW811=1であるので、2進カウンタ8
02がインクリメントされ、アンドゲート806は2進
カウンタ803のキャリー人力信号であるから、802
aが“1”のとき2進カウンタ802がインクリメント
すると2進カウンタ803も同時にインクリメントされ
る。BW811=Oのとき、すなわち16ビツト幅のと
きは、アンドゲート805は禁止されているので、2進
カウンタ802は変化しないかわりアンドゲート807
がイネーブルになるので2進カウンタ803がインクリ
メントされ、結果として、n、n+2.・・・が得られ
る。
Next, when the amount of change is +1, since PT810=O, the AND-OR gate 81
3 selects 802a and 803a. Since the interface bus width is 8 bits and KBW811=1, the operation of the binary counters 802 and 803 is as follows.
02 is incremented and AND gate 806 is the carry signal of binary counter 803, so 802
When the binary counter 802 is incremented when a is "1", the binary counter 803 is also incremented at the same time. When BW811=O, that is, when the width is 16 bits, the AND gate 805 is prohibited, so the binary counter 802 does not change, but the AND gate 807
is enabled, so the binary counter 803 is incremented, resulting in n, n+2 . ...is obtained.

<BK414・・・バンクレジスタ〉 カラー記録装置はブロック分けされた色メモリを持って
いる。第8図がその説明図で、各色はアドレス信号A、
7−A23により区切られている。第2図のBR414
は7ビツトのレジスタ4木で構成され、それぞれ独立に
設定可能である。
<BK414...Bank register> The color recording device has color memory divided into blocks. FIG. 8 is an explanatory diagram thereof, and each color is an address signal A,
7-A23. BR414 in Figure 2
consists of four trees of 7-bit registers, each of which can be set independently.

但し、Y用のバンクは#1に、Mは#2に、Cは#3に
、BKは#4に設定しなければいけない。
However, the Y bank must be set to #1, M to #2, C to #3, and BK to #4.

この理由は色変換の動作時に変換順序が固定されている
ためである。
The reason for this is that the conversion order is fixed during the color conversion operation.

後述するC0MR413はBR414選択用のビットが
存在しているが、それらの指し示すレジスタナンバーは
BR414のナンバーに対応している。そのためMMP
U3はイニシャル時にすべてのBR414を設定してお
き、その後変更さえしなければMC4を使ってメモリア
クセスする時にA1−Ax 13の下位アドレス設定を
間違えて設定してもBR414のアドレス部は不変のた
め選択した以外のメモリの内容は絶対に破壊されない利
点がある。又、4本のBR414を持つことにより、下
位アドレスレジスタが1本であっても見かけ上4木のア
ドレスレジスタが存在することになり、有用性が非常に
高い。
Although the C0MR413, which will be described later, has bits for selecting BR414, the register numbers pointed to by these bits correspond to the number of BR414. Therefore, MMP
U3 sets all BR414 at the time of initialization, and if you do not change it after that, even if you make a mistake in setting the lower address of A1-Ax13 when accessing memory using MC4, the address part of BR414 will not change. It has the advantage that the contents of the memory other than the one selected will never be destroyed. Furthermore, by having four BR414s, even if there is only one lower address register, there are apparently four address registers, which is extremely useful.

<C0MR413・・・コマンドレジスタ〉第2図のC
0MR413は16ピツトのレジスタで、MMPU3は
このC0MR413にデータを書き込むことにより動作
モード設定及び動作開始を指令する。その内容として動
作モード設定用4ビツト、インターフェースバス幅選択
用2ビツト、BR414選択用2ビット、ADRC41
5のインクリメント量設定用3ビット、縦横変換時に対
象メモリのビット位置を設定するラスフカラント設定用
4ビット及び動作開始用に1ビツトである。
<C0MR413...Command register> C in Figure 2
0MR413 is a 16-pit register, and MMPU3 instructs to set the operation mode and start the operation by writing data to this C0MR413. Its contents include 4 bits for operating mode setting, 2 bits for interface bus width selection, 2 bits for BR414 selection, and ADRC41
5 bits for setting the increment amount, 4 bits for setting the last current to set the bit position of the target memory at the time of vertical/horizontal conversion, and 1 bit for starting the operation.

第2図命令解読用回路ID430はC0MR413の情
報を受は取り、各動作モードに従って制御を開始する。
The instruction decoding circuit ID430 in FIG. 2 receives the information from the C0MR413 and starts control according to each operation mode.

<LC412・・・レングスカウンタ〉第2図LC41
2は16ビツトのカウンタで転送回数を設定するカウン
タであり、1回の転送が終了すると−1され、LC41
2の内容が全て0になったら終了ビット412aを1”
にしてI D430に対して動作の終了を知らせる。
<LC412...Length counter> Figure 2 LC41
2 is a 16-bit counter that sets the number of transfers, and is decremented by 1 when one transfer is completed.
When the contents of 2 become all 0, set the end bit 412a to 1"
to notify the ID 430 of the end of the operation.

LC412は上記の説明ではダウンカウンタになってい
るが、MC4の内部回路では回路の簡素化をはかるため
アップカウンタを使用している。
Although the LC412 is a down counter in the above explanation, the internal circuit of the MC4 uses an up counter in order to simplify the circuit.

そのため実際の設定数と転送数とを一致させるためMC
4はLC412がMMPU3により選択されるとID4
30は第28図チップセレクト信号823を出力する。
Therefore, in order to match the actual setting number and the number of transfers, MC
4 is ID4 when LC412 is selected by MMPU3
30 outputs a chip select signal 823 in FIG.

チップセレクト信号823は図示しない回路により第9
図反転制御信号430aを“1″にするとインバート回
路416は人力データ401を反転して出力データ41
6bとして第28図LC412の入力端子に出力する。
The chip select signal 823 is sent to the ninth chip by a circuit not shown.
When the inversion control signal 430a is set to "1", the invert circuit 416 inverts the human data 401 and outputs the data 41.
6b to the input terminal of the LC412 in FIG.

LC412はチップセレクト信号823により反転され
た出力データ416bを取り込む、この回路によりMM
PU3が転送数1を書き込むとLC412の出力は’F
、FFE’ となる、転送終了を検出する回路は第28
図のように、アンドゲートの終了状態検出ゲート821
で入力にはLC412の出力全てが接続されている。そ
の結果として転送終了は入力が全て“1”、すなわち′
 FFFF’ を検出した時である。このことから前記
’  FFFE’がセットされていると、LC412は
カウントアツプ信号LCP825によりカウントアツプ
すると出力は’ FFFF’ となり、これはすなわち
設定転送数1に対して1回のインクリメントで転送終了
となる。
The LC412 takes in the output data 416b inverted by the chip select signal 823.
When PU3 writes the number of transfers 1, the output of LC412 is 'F
, FFE', the circuit for detecting the end of transfer is the 28th circuit.
As shown in the figure, an AND gate end state detection gate 821
All outputs of the LC412 are connected to the input. As a result, at the end of the transfer, all inputs are “1”, that is, ′
This is when FFFF' is detected. From this, when the above-mentioned 'FFFE' is set, when the LC412 counts up by the count-up signal LCP825, the output becomes 'FFFF', which means that the transfer ends with one increment for the set transfer number 1. .

LCり412は電源投入後はフエイルセ、−フのため転
送終了状態、すなわち出力がすべて“1”である事が必
要とされる。しかしLC412にクリア端子があっても
LC412はクリアされると出力はすべて“0”となる
ので、本実施例では転送終了状態を示さない、そこで本
実施例では第28図のラッチ820を追加することによ
り電源投入後転送終了状態にすることが可能となった。
After the power is turned on, the LC controller 412 is in a fail-safe state, so it is required that the transfer is completed, that is, all outputs are "1". However, even if the LC412 has a clear terminal, when the LC412 is cleared, all outputs become "0", so this embodiment does not indicate the transfer end state. Therefore, in this embodiment, the latch 820 shown in FIG. 28 is added. This makes it possible to enter the transfer completed state after power-on.

それは終了状態検出ゲート821の出力にオアゲート8
22を接続し、オアゲート822の一方の入力にはラッ
チ820の出力信号820aを接続する。この出力信号
820aはクリア信号824で“1″になるため、オア
ゲート822の出力信号822aも“1”となるためL
C412の内容がいかなる状態であっても終了状態を示
すことになる。ラッチ820はその後LC412が選択
状態、すなわちMMPU3がLC412に書き込むとカ
ウンタセット信号823はOになるため出力信号820
aは“0″となり、それと共にLC412には416b
のデータがセットされる。
It is the output of the end state detection gate 821.
22 is connected, and one input of the OR gate 822 is connected to the output signal 820a of the latch 820. Since this output signal 820a becomes "1" with the clear signal 824, the output signal 822a of the OR gate 822 also becomes "1", so it is L
No matter what state the contents of C412 are, it indicates the end state. The latch 820 then outputs a signal 820 because the LC412 is in the selected state, that is, when the MMPU3 writes to the LC412, the counter set signal 823 becomes O.
a becomes “0”, and at the same time, 416b is added to LC412.
data is set.

以上説明した様に、ラッチを1段挿入するだけで簡単に
フェイルセーフの回路が完成し、 LC412はクリア
端子なしのアップカウンタで済むため、本実施例をIC
化する時のゲート数の減少に大きく寄与する事は明白で
ある。
As explained above, a fail-safe circuit can be easily completed by inserting one stage of latch, and the LC412 can be used as an up-counter without a clear terminal, so this example can be used as an IC.
It is clear that this greatly contributes to the reduction of the number of gates when

(以下余白) 以下、各動作モードについて説明する。(Margin below) Each operation mode will be explained below.

[インターフェースデータのメモリへの書込み](I 
FRモード) 本実施例のMC4の最も基本的な動作である。
[Write interface data to memory] (I
FR mode) This is the most basic operation of the MC4 of this embodiment.

第1図のインターフェースユニット6からのインターフ
ェースデータ15をMC4内部のADRC415に設定
されている番地のメモリにデータを書き込む動作につい
て説明する。
The operation of writing the interface data 15 from the interface unit 6 of FIG. 1 into the memory at the address set in the ADRC 415 inside the MC 4 will be described.

第5図がタイミングチャート、第6図が動作フローチャ
ートであり、これらに沿って説明する。
FIG. 5 is a timing chart, and FIG. 6 is an operation flowchart, and the explanation will be based on these.

第5図、第6図は共にMMPU3を停止状態に、あるい
は動作状態に戻す部分の説明は省略しである。
In both FIG. 5 and FIG. 6, explanation of the portion of returning the MMPU 3 to the stopped state or to the operating state is omitted.

第6図に於いて、ステップS61でインターフェースユ
ニットからの割り込み信号であるDRQlolがHIG
Hになったのを検出後、アドレスバス14b、データバ
ス14がMC4の管理下になったら、ステップS62で
、第2図BSEL417、ADRC415の内容すなわ
ち対象メモリアドレスを出力する。ステップS63では
、引き続いてインターフェースユニット6内に記憶され
ているデータを第5図データバス14に出力させるため
に*IFR106をLOWにする。ステップS64では
、動作モードがIFRのときはステップS65に進む、
IFRでないとき、すなわちDDモードについては後述
する。ステップS65では、ここではリードライトのス
テータスを示すRW105信号をLOWにし、更にアド
レスストローブを示す*AS104もLOWにする。ス
テップS66では、インターフェースデータ15のビッ
ト幅が8ビツトか16ビツトであるかにより分岐する。
In FIG. 6, in step S61, DRQlol, which is an interrupt signal from the interface unit, goes high.
After detecting that the address bus 14b and data bus 14 are under the control of the MC 4, the contents of the BSEL 417 and ADRC 415 in FIG. 2, that is, the target memory address, are output in step S62. In step S63, the *IFR 106 is set to LOW in order to subsequently output the data stored in the interface unit 6 to the data bus 14 in FIG. In step S64, when the operation mode is IFR, the process advances to step S65.
The case when the mode is not IFR, that is, the DD mode will be described later. In step S65, the RW105 signal indicating the read/write status is set to LOW, and the *AS104 indicating the address strobe is also set to LOW. In step S66, the process branches depending on whether the bit width of the interface data 15 is 8 bits or 16 bits.

今ここでは8ビツト幅とするとステップS67に進む。Now, assuming that the width is 8 bits, the process advances to step S67.

ステップS7では、データバス14上の有効データが上
位8ビツト(Do〜Dz5)なのか下位8ビツト(Do
〜D7)なのかを示j+UDs102と*LDS103
を出力する。この両信号によりメモリ5は取り込むべき
データを決定する。このときADRC415はアドレス
1(A1)からアドレス15(A15)L/か持ってい
ないので8ビツトデータ幅のときの上位、下位の決定を
するアドレス0(AO)用フリップフロップ(図示せず
、アドレスカウンタの説明参照)の値により*UDS、
*LDSを決定する。ステップS68は、メモリへの書
き込みサイクルの最終ステップで、*As104、*U
DS102.*RW105.*IFR106を全て)(
IGHにすると同時にアドレスバス14b、データバス
14の管理権をMMPU3に渡すためにアドレスバス1
4b、データバス14を切り離して終了する。
In step S7, it is determined whether the valid data on the data bus 14 is the upper 8 bits (Do to Dz5) or the lower 8 bits (Do to Dz5).
~D7) j+UDs102 and *LDS103
Output. Based on these two signals, the memory 5 determines the data to be fetched. At this time, since the ADRC415 only has addresses 1 (A1) to 15 (A15) L/, a flip-flop for address 0 (AO) (not shown, address *UDS, depending on the value of (see counter explanation)
*Determine LDS. Step S68 is the final step of the write cycle to the memory, and *As104, *U
DS102. *RW105. *All IFR106) (
At the same time as setting the address bus 14b to IGH, the address bus 14b and data bus 14 are transferred to
4b, the data bus 14 is disconnected and the process ends.

次にインターフェースデータのバス幅が16ビツトの時
の説明をするが、その前に第4図を用いて8ビツト幅/
16ビツト幅の切換動作の説明をする。インターフェー
スデータ15が16ビツト幅のときはデータバス14上
のデータはインターフェースデータ15と同一であるが
、8ビツト幅の時はインターフェースデータ15のデー
タはデータバスト4のDo−D7  (下位8ビツト)
にしか現れないので、奇数アドレス(Ao = 1 )
のメモリに書き込むためにはデータバス14の上位8ビ
ツトにも下位8ビツトと同じ情報を与えなければならな
い、これを実現するのが第4図であり、データバス14
の下位8ビツトは常にバッファ14eを経由してMC4
の内部データバスIDo−15(401で示す)の下位
8ビツトに供給されている。但し、本モードでの動作中
、I Do −15はMC4内部では使用していない。
Next, we will explain when the interface data bus width is 16 bits, but before that, we will use Figure 4 to explain the case where the interface data bus width is 8 bits/8 bits.
The switching operation for 16-bit width will be explained. When the interface data 15 is 16 bits wide, the data on the data bus 14 is the same as the interface data 15, but when it is 8 bits wide, the data of the interface data 15 is Do-D7 (lower 8 bits) of data bus 4.
Odd addresses (Ao = 1)
In order to write to the memory of the data bus 14, it is necessary to give the same information to the upper 8 bits of the data bus 14 as to the lower 8 bits.
The lower 8 bits of are always sent to MC4 via buffer 14e.
It is supplied to the lower 8 bits of the internal data bus IDo-15 (indicated by 401). However, during operation in this mode, I Do-15 is not used inside the MC4.

今、8ビツトデータバス幅であるとき、データバス14
の上位8ビツトはデータセレクタ108のB入力に接続
され、データバス14の下位8ビツトはA入力に接続さ
れている。8ビツトデータバス幅のときBW811は1
”であるので、データセレクタ108の出力Yには、A
入力のデータが現れる。バッファ14Cはスリーステー
ト制御端子を持っているのでBW811が“1″のとき
はバッファ14Cがイネーブルになるため、データバス
14の上位8ビツトには下位8ビツトと同じ情報が現れ
る。同様に16ビツトデータバス幅のときはBW811
は0“であるため、バッファ14Cはディセーブルされ
るため、データバス14の上位8ビツトには何ら影響を
与えないし、又、I Do −x 5の上位8ビツトは
データバス14の上位8ビツトと同じデータが出力され
ている。
Now, when the data bus width is 8 bits, the data bus 14
The upper eight bits of the data bus 14 are connected to the B input of the data selector 108, and the lower eight bits of the data bus 14 are connected to the A input. BW811 is 1 when the data bus width is 8 bits.
”, the output Y of the data selector 108 has A
The input data appears. Since the buffer 14C has a three-state control terminal, the buffer 14C is enabled when BW811 is "1", so the same information as the lower 8 bits appears in the upper 8 bits of the data bus 14. Similarly, when the data bus width is 16 bits, BW811
Since the buffer 14C is 0", the buffer 14C is disabled and has no effect on the upper 8 bits of the data bus 14. Also, the upper 8 bits of IDo-x5 are the upper 8 bits of the data bus 14. The same data is output.

本発明の一実施例である本機能を持つことにより、メモ
リデータバス幅が16ビツトであるときに、第1図イン
ターフェースユニット6の出力インターフェースデータ
15が8ビツト幅のデータ線で構成されていても、16
ビツト幅であってもMMPU3はMC4に対してインタ
ーフェースのデータ幅を1回設定するのみで後は何ら関
知することなく、インターフェースデータ15はメモリ
5に整然と順番に書き込まれるため、データの管理方法
が非常に簡単になる。
By having this function, which is an embodiment of the present invention, when the memory data bus width is 16 bits, the output interface data 15 of the interface unit 6 in FIG. 1 is composed of 8-bit wide data lines. Also, 16
Even if the data width is bit width, the MMPU 3 only sets the data width of the interface to the MC 4 once and is not concerned with the rest, and the interface data 15 is written to the memory 5 in an orderly manner, so the data management method is becomes very easy.

次にIFRモードでの16ビツトデータ幅の説明を第6
図で行うと、ステップ361〜66迄は前記8ビツトデ
ータ幅の時と同じである。相違点はステップS66でス
テップS69に分岐し、ステップS69では16ピツト
デ一タ幅であるので*ID5102.*LDS103を
共にLOWにすることである。ステップS69の次にス
テップ36Bに進むことにより、動作終了する。以上の
説明をタイミングで表したものが第5図である。
Next, we will explain the 16-bit data width in IFR mode in the sixth section.
In the figure, steps 361 to 66 are the same as in the case of the 8-bit data width. The difference is that step S66 branches to step S69, and in step S69, since the data width is 16 pits, *ID5102. *This is to set both LDS103 to LOW. After step S69, the process proceeds to step 36B, thereby completing the operation. FIG. 5 shows the above explanation in terms of timing.

[インターフェースデータの空読み] (DDモード) 本モードはインターフェースユニット6内のデータを空
読みするだけでメモリのどこにも書き込まない機能であ
る。第6図のフローチャートで −説明すると、ステッ
プS61〜64迄は前記IFRモードと同じでステップ
S64でステップS68に分岐する。
[Impair reading of interface data] (DD mode) This mode is a function that merely reads the data in the interface unit 6, but does not write it anywhere in the memory. Referring to the flowchart of FIG. 6, steps S61 to S64 are the same as in the IFR mode, and the process branches from step S64 to step S68.

このことはメモリ5に対してデータを読み込むために必
要な信号*AS、*UDS、*LDS。
This means that the signals *AS, *UDS, and *LDS are necessary for reading data into the memory 5.

RWを全く出力しない、即ち、書き込まない動作モード
である。
This is an operation mode in which no RW is output, that is, no writing is performed.

本機能は次のケースの時に非常に有効である。This function is very effective in the following cases.

それは第1図ホストcputがカラー記録装置2の印字
可能範囲を越えて印字データを送出したときに、カラー
記録装置2は越える分の余分なデータを捨てなければな
らないが、この動作をMMPU3がソフトウェアのコン
トロールにより処理すると非常に時間がかかる。
This is because when the host CPU sends print data beyond the printable range of the color recording device 2 (see Figure 1), the color recording device 2 must discard the excess data, but this operation is handled by the software MMPU 3. It takes a very long time to process with this control.

この時、本機能を利用すればMMPU3はMC4に対し
てコマンドと転送数をセットするだけで良い。そのため
ソフトウェアのインターフェースデータの読込と他のジ
ョブとのオーバーヘッドが大幅に減少する。
At this time, if this function is used, the MMPU 3 only needs to set the command and the number of transfers to the MC 4. Therefore, the overhead between reading software interface data and other jobs is significantly reduced.

[色変換]      (CCDモード)Y(黄色)、
M(マゼンタ)、C(シアン)の3色のデータからBK
(黒)のデータを生成するのがCCモードである。第2
図、第7図及び第8図を用いて説明するが、その前に本
実施例で用いた色変換の生成式を記述すると、 BK =Y −M −C Y’=Y−BK M′=M−BK C’=C−BK (Y’ 、M’ 、C’は色変換後の Y  、M  、Cのデータ)である。
[Color conversion] (CCD mode) Y (yellow),
BK from three color data of M (magenta) and C (cyan)
The CC mode generates (black) data. Second
7 and 8, but before that, the color conversion generation formula used in this example will be described as follows: BK = Y - M - C Y' = Y - BK M' = M-BK C'=C-BK (Y', M', C' are Y, M, C data after color conversion).

本実施例に於いて各色データの記憶番地の構成を示した
のが第8図でY、M、C,BKを分離するのがアドレス
信号A17〜A23であり、アドレス信号A1−Axe
 (16デ一タパス幅なのでAoは存在しない)により
、各ワードデータのアクセスを行う。この構成での注意
点として、各色データの先頭番地(Ax−Azaで示さ
れる範囲のみ)は同一でなきればならない点である。
FIG. 8 shows the structure of storage addresses for each color data in this embodiment. Address signals A17 to A23 separate Y, M, C, and BK, and address signals A1 to Ax
(Ao does not exist because the width is 16 data), each word data is accessed. A point to be noted in this configuration is that the starting addresses of each color data (only the range indicated by Ax-Aza) must be the same.

第1図のMMPU3からMC4に対して送出するコマン
ド、及びデータとして、第2図ADRC415へのスタ
ートアドレスデータ、LC412への転送ワード数、B
R414へのバンク#1(Yデータメモリ)、バンク#
2(Mデータメモリ)、バンク#3(Cデータメモリ)
、バンク#4 (BKデータメモリ)のデータの設定、
そして最後にC0MR413への色変換コマンドである
The commands and data sent from MMPU3 to MC4 in FIG. 1 include start address data to ADRC 415 in FIG. 2, number of words transferred to LC 412, B
Bank #1 (Y data memory) to R414, bank #
2 (M data memory), bank #3 (C data memory)
, Bank #4 (BK data memory) data settings,
Finally, there is a color conversion command to C0MR413.

MC4は色変換コマンドを受信後アドレスバス14b、
データバス14がMC4の管理下になったら色変換を実
行開始する。第7図が実行状態を示すタイミングチャー
トで、Al −A23はアドレス信号で特にAL T 
−A23は上位7ビツトのバンク用アドレスでA17−
A23にある#nはバンクナンバーである。これは前記
BR414に設定されたバンク#nに対応するデータが
出力される事を示し、Ax−AteのnはADR,C4
15に設定されたデータを示す、又、データDo −1
5のI又は0はデータの方向を示し、■がメモリ5から
MC4へ、0がMC4からメモリ5への転送方向を示す
。*AS、*UDS、*LDS、RWは全てMC4が出
力する信号でメモリ5はこれらの信号を使用してデータ
の入力或いは出力を制御する。
After receiving the color conversion command, the MC4 transfers the address bus 14b,
When the data bus 14 comes under the control of the MC 4, color conversion starts. FIG. 7 is a timing chart showing the execution state, and Al-A23 is an address signal, especially AL T
-A23 is the upper 7 bits of the bank address and A17-
#n in A23 is the bank number. This indicates that data corresponding to bank #n set in the BR414 is output, and n of Ax-Ate is ADR, C4
Indicates data set to 15, and data Do −1
I or 0 in 5 indicates the direction of data, ■ indicates the transfer direction from the memory 5 to the MC4, and 0 indicates the transfer direction from the MC4 to the memory 5. *AS, *UDS, *LDS, and RW are all signals output by the MC 4, and the memory 5 uses these signals to control data input or output.

以下1ワードの色変換手順を第7図でステップ毎に説明
する。ステップS71では、アドレスはバンク#1を出
力(第8図のYデータメモリ501が選択される)し、
Yデータを第2図DR410に取り込む。ステップS7
2では、バンク#2を出力(第8図のMデータメモリ5
02)し、Mデータを第2図DR411に取り込む、ス
テップ373では、MC4の内部動作でAND回路41
8によりDR410とDR411のアンドを取り、その
アンドされたデータをDR411に取り込む。ステップ
S74では、バンク#3を出力(第8図のCデータメモ
リ503)Lz、DR410に取り込む。ステップS7
5では、ステップS73と全く同じ動作を行うが、この
結果としてDR411にはY*M*C即ち、BKデータ
がのこっている。ステップS76では、バンク#4(第
8図のBKデータ504)を出力しメモリに書き込む。
The color conversion procedure for one word will be explained step by step with reference to FIG. In step S71, the address outputs bank #1 (Y data memory 501 in FIG. 8 is selected),
The Y data is taken into the DR410 in FIG. Step S7
2, output bank #2 (M data memory 5 in Figure 8).
02), and the M data is taken into the DR411 in FIG. 2. In step 373, the AND circuit 41 is
8, DR410 and DR411 are ANDed, and the ANDed data is taken into DR411. In step S74, bank #3 is taken into the output (C data memory 503 in FIG. 8) Lz, DR410. Step S7
5, the operation is exactly the same as step S73, but as a result, Y*M*C, that is, BK data remains in the DR 411. In step S76, bank #4 (BK data 504 in FIG. 8) is output and written into the memory.

ステップS77では、新しいY、M。In step S77, new Y, M.

Cデータを生成するための前準備としてBKデータを反
転させてDR411に再書き込みをする。
In preparation for generating C data, BK data is inverted and rewritten to the DR 411.

これはID430が第9図の反転用信号430aを′1
′にしてINV416に供給する事により内部データバ
ス401のデータが反転して、DR411の入力となる
。これを説明するのが第9図で非反転の場合には反転用
信号430aは“0”であるから、内部データ401は
非反転のままDR411に供給され、反転時には反転用
信号430aが“1”になるから内部データ401は反
転され、DR411に供給される。この動作により、反
転信号が簡単に得られる。ステップ578では、Yデー
タをDR410に取り込む。
This means that the ID430 converts the inversion signal 430a in FIG.
By supplying the data to the INV 416, the data on the internal data bus 401 is inverted and becomes the input to the DR 411. This is explained in FIG. 9. In the case of non-inversion, the inversion signal 430a is "0", so the internal data 401 is supplied to the DR 411 without being inverted, and in the case of inversion, the inversion signal 430a is "1". ”, the internal data 401 is inverted and supplied to the DR 411. With this operation, an inverted signal can be easily obtained. In step 578, the Y data is loaded into the DR 410.

ステップS79では、DR410とDR411のアンド
信号即ち新しいYデータをYデータメモリ501に書き
込む、ステップS80では、MデータをDR410に取
り込む、ステップS81では、DR410とDR411
のアンド信号即ち新MデータをMデータメモリ502に
書き込む、ステップS82では、CデータをDR410
に取り込む。ステップS83では、DR410とDR4
11のアンド信号即ち新しいCデータをCデータメモリ
503に書き込む。このステップで1ワードの色変化を
終了するので、ADRC415を+1し、更にLC41
2を−1する。その結果としてLC412の内容がゼロ
でなければ第7図の如く次のワード変換を実行し、ゼロ
であれば終了する。
In step S79, the AND signal of DR410 and DR411, that is, new Y data, is written to the Y data memory 501.In step S80, M data is taken into DR410.In step S81, DR410 and DR411
In step S82, the new M data is written to the M data memory 502, the C data is written to the DR410.
Incorporate into. In step S83, DR410 and DR4
11 AND signal, ie, new C data, is written into the C data memory 503. At this step, the color change of one word is completed, so add 1 to ADRC415, and then add 1 to LC41.
Subtract 2 by 1. As a result, if the content of LC412 is not zero, the next word conversion is executed as shown in FIG. 7, and if it is zero, the process ends.

以上述べた様に本実施例によれば、1ワード(2バイト
)の色変換はメモリ5に対するアクセスを間断なく行う
ため、ソフトウェアによる変換よりも超高速で実行可能
なのが理解出来る。
As described above, according to this embodiment, the color conversion of one word (two bytes) is performed without interruption to the memory 5, so it can be seen that it can be executed much faster than conversion by software.

[縦横変換]      (MVモード)本モードはホ
ストCPUIからのデータフォーマットがラスターイメ
ージフォーマットの時に使用するモードで第10図(a
)〜(C)がホストCPUIからの入力データと変換後
のメモリの内容の比較図である。インターフェースバス
幅が8ビツトのときの入力データ(ホストCPU 1の
送出データ)が第10図(a)で示され、本モードの実
行後のメモリ5の内容が第10図(b)。
[Vertical/horizontal conversion] (MV mode) This mode is used when the data format from the host CPUI is a raster image format, and is shown in Figure 10 (a).
) to (C) are diagrams comparing input data from the host CPUI and the contents of the memory after conversion. The input data (output data from the host CPU 1) when the interface bus width is 8 bits is shown in FIG. 10(a), and the contents of the memory 5 after execution of this mode are shown in FIG. 10(b).

(C)で示されている。第10図(b)、(C)共に斜
線部分は本モード実行以前の内容とは何ら変化していな
い事を示している。第10図(b)はMSB先変換、第
10図(C)はLSB先変換を実行した結果で両者の相
違については後述する。
It is shown in (C). In both FIGS. 10(b) and 10(C), the shaded areas indicate that the contents have not changed at all from before the execution of this mode. FIG. 10(b) is the result of executing MSB first conversion, and FIG. 10(C) is the result of executing LSB first conversion, and the differences between the two will be described later.

ここでは、MSB(D7)光変換を前提としてHVモー
ドの説明を第2図、第11図、第12図で説明する。な
お、インターフェースデータ15を取り込む部分は省略
してあり、第10図(a)のデータはDR410に記憶
されているものとする。
Here, the HV mode will be explained with reference to FIGS. 2, 11, and 12 on the premise of MSB (D7) optical conversion. Note that the part for importing the interface data 15 is omitted, and it is assumed that the data in FIG. 10(a) is stored in the DR 410.

第11図でBCNR421は8進のバイナリカウンタ、
PS420(7)PSMXは8→1マルチプレクサでY
は正論理出力、BC419のBCSLは4→16データ
セレクタ、BCAI〜BCA32はアンドゲートである
In Figure 11, BCNR421 is an octal binary counter,
PS420 (7) PSMX is Y with 8 → 1 multiplexer
is a positive logic output, BCSL of BC419 is a 4→16 data selector, and BCAI to BCA32 are AND gates.

第12図に沿って説明すると動作開始時のアドレスがm
、LDDl (MSB先変換を示す)、第11図の対象
メモリのビット指定信号430bが430b−0==Q
で430b  z=430b  2−430b−3−0
であるとき、この430bにより、DR410のデータ
が第10図(b)の例ではメモリのDlを指定したこと
になる。
Explaining according to Fig. 12, the address at the start of operation is m
, LDDl (indicating MSB first conversion), the bit designation signal 430b of the target memory in FIG. 11 is 430b-0==Q
So 430b z=430b 2-430b-3-0
, this 430b means that the data in the DR 410 specifies Dl in the memory in the example of FIG. 10(b).

ステップ5121では、アドレスm番地のデータをDR
411に取り込む。
In step 5121, the data at address m is DR
411.

ステップ5122では、DR411の出力を並直変換し
た最初のビットが第12図の420aに現れ、DR41
0の出力を第11図の410aのDlと置換して410
aのD1以外のデータは全く変化されずにm番地のメモ
リに書き込む0以上の動作はBCNR421は全て“0
″であり、LD=1であるからPSMX(7)入力A、
B、Cは全て“1”となる、そのためPSMXの出力Y
420aにはDR411の出力411aのDlが出力さ
れる。一方、BCSLの出力は入力がA=1でB−C寓
り冨0であるのでBC3LIのみが、“0“となり外は
全て”1“であるから、DR140の出力410aはB
CAI、BCA5゜BCA9.−、BCA31がイネー
ブルであるので内部データバス401にはDlを除き4
10aと同じデータが出力される。BCA3.BCA4
についてはBCAL1=OのためBCA3はディセーブ
ル、BCA4がイネーブルとなるので420aの信号す
なわち411aのMSBが内部データバス401に出力
される。これで第10図(b)のアドレスm番地と同じ
結果になる。
In step 5122, the first bit obtained by parallel-to-serial conversion of the output of DR411 appears at 420a in FIG.
410 by replacing the output of 0 with Dl of 410a in FIG.
If the data other than D1 of a is written to the memory at address m without changing at all, the BCNR421 will be all “0”.
”, and since LD=1, PSMX(7) input A,
B and C are all “1”, so PSMX output Y
Dl of the output 411a of the DR 411 is output to 420a. On the other hand, the output of BCSL is 0 when the input is A=1, so only BC3LI is "0" and everything else is "1", so the output 410a of DR140 is B
CAI, BCA5°BCA9. -, since the BCA31 is enabled, the internal data bus 401 has 4 bits except Dl.
The same data as 10a is output. BCA3. BCA4
Since BCAL1=O, BCA3 is disabled and BCA4 is enabled, so the signal 420a, that is, the MSB of 411a, is output to the internal data bus 401. This results in the same result as the address m in FIG. 10(b).

このステップの最後でBCNR421及びADRC41
5を+1することにより次のステップに備える。
At the end of this step BCNR421 and ADRC41
Prepare for the next step by adding 1 to 5.

この結果としてアドレスAx −Ax 8はm+1、B
CNR421の出力421a=1,421b−421c
=O5すなわちPSMxの入力A、B。
As a result, the address Ax -Ax 8 is m+1, B
Output of CNR421 421a=1,421b-421c
=O5 or inputs A and B of PSMx.

CはA=0.B=C=1となる。C is A=0. B=C=1.

ステップ123では、Al −Al aによって示され
る番地のデータをDR411に取り込む。
In step 123, data at the address indicated by Al-Ala is taken into the DR 411.

ステップ124では、PSMXの出力Y420aの内容
がPSMXの入力A、B、Cにより選択される部分(ス
テップ124ではDoが選択される)が異なるのみでス
テップ122と同じである。
Step 124 is the same as step 122, except that the content of the output Y420a of PSMX is selected by inputs A, B, and C of PSMX (Do is selected in step 124).

以上の事を奇数ステップ(121,123゜125−・
・)、偶数ステップ(122,124゜126・・・)
と同様の動作を繰り返す、ステップ5136ではLC4
21を−1する動作が加わることとステップ136で変
換終了するのでMC4の動作そのものが終了しMNPU
3にアドレスバス14b、データバス14の管理を渡す
The above is done in odd number steps (121, 123°125-・
), even steps (122, 124°126...)
The same operation as LC4 is repeated in step 5136.
Since the operation of decrementing 21 by 1 is added and the conversion is completed at step 136, the operation of MC4 itself is completed and MNPU
The management of the address bus 14b and data bus 14 is transferred to the address bus 14b and the data bus 14.

以上の説明はDR411に記憶されているデータをMS
B(Dl)を先頭にして変換しているモードであるが本
実施例の特徴としてLSB(00)を先頭として変換す
るモードを備えていることである。
The above explanation is based on the data stored in DR411.
This is a mode in which conversion is performed with B (Dl) at the beginning, but a feature of this embodiment is that it is provided with a mode in which conversion is performed with LSB (00) at the beginning.

この方法の実現方法としてMMPU3からはMC4に対
してコマンドを送出する時にMSB/LSB先の切換え
コマンド(あるいはMC4の外部端子により)を設ける
事によりMC4の内部処理として第11図のLD信号を
MSB先の時“0”にすることでPSMXの選択入力端
子A。
To implement this method, when the MMPU3 sends a command to the MC4, a switching command for MSB/LSB is provided (or by an external terminal of the MC4), so that the LD signal shown in FIG. By setting it to “0” in the previous case, it becomes the selection input terminal A of PSMX.

B、CがBCNR421の出力の反転、非反転によりD
7から順番に選択されるのか、Doなのかが決定する。
B and C become D by inverting and non-inverting the output of BCNR421.
It is determined whether the selections are made in order starting from 7 or whether it is Do.

木機能を具備することによりホストCPU 1からのラ
スターフォーマットが2種類になるので、ホストCPU
I内での処理方法として簡単に選択可能にするメリット
が生ずる。
By providing the tree function, there are two types of raster formats from host CPU 1.
This has the advantage of being easily selectable as a processing method within I.

又、前記説明ではインターフェースパス幅が8ビツトの
時の説明であったが、本実施例の特徴として16ビツト
バス幅も選択可能(I FRモード参照)である、その
具体的手段は図示しないが第11図を例にとると、BC
NR421を4ビツトのカウンタにして、PSMXを第
11図の8→1マルチプレクサから16→1マルチプレ
クサにすることにより実現している。
Also, in the above description, the interface path width was 8 bits, but a feature of this embodiment is that a 16-bit bus width can also be selected (see IFR mode). Taking Figure 11 as an example, BC
This is realized by making the NR421 a 4-bit counter and changing the PSMX from the 8→1 multiplexer in FIG. 11 to the 16→1 multiplexer.

以上述べた様に本実施例により1バイト8ビツトの縦横
変換が16ステツプという短時間で可能になった。今、
メモリの1サイクルが250nsとすれば250nsX
16=4nsで終了することになる。
As described above, according to this embodiment, vertical and horizontal conversion of 1 byte, 8 bits can be performed in a short time of 16 steps. now,
If one memory cycle is 250ns, then 250nsX
It will end in 16=4ns.

[固定データの書き込み] (C0% CDHV−!−−ド) 本実施例は単純なりMACとしても動作するが今迄のD
MACにない機能を合わせ持っている。
[Fixed data writing] (C0% CDHV-!--de) This example is simple and operates as a MAC, but the D
It has functions that MAC does not have.

それが固定データの書き込みそ−ド、すなわちCDモー
ドとCDHVモードである。
These are the fixed data writing modes, ie, CD mode and CDHV mode.

このモードはMC4内のDR411にデータを書き込む
と転送数分だけ連続的にDR411のデータをメモリ5
に書き込む動作である。
In this mode, when data is written to DR411 in MC4, data in DR411 is continuously transferred to memory 5 for the number of transfers.
This is the operation of writing to.

CDモードはIFRモードとCDHVモードはHVモー
ドと以下の点を除いて全く同じ動作である。
The CD mode has exactly the same operation as the IFR mode, and the CDHV mode has the same operation as the HV mode except for the following points.

相違点は被対象変換データがCD、CDHVモードでは
DR411に書き込まれているデータ、IFR,HVモ
ードではインターフェースデータである点とCD、CD
HVモードではLC412に設定されている転送数分を
連続実行する点である。これを説明するのが第13図(
a)。
The difference is that the target conversion data is data written to DR411 in CD and CDHV modes, and interface data in IFR and HV modes.
In the HV mode, the number of transfers set in the LC 412 is continuously executed. This is explained in Figure 13 (
a).

(b)で第13図(a)はIFR,HVモードの説明図
で、DRQはインターフェースユニット6からの割り込
み信号でMC4はDRQを検出するとアドレスデータバ
スの管理光となり、規定の処理を終了後バスの管理権を
MMPU3に渡す。この時の1回の処理で1バイト(又
は1ワード)の処理を行う。
(b) and Fig. 13 (a) are explanatory diagrams of IFR and HV modes, where DRQ is an interrupt signal from the interface unit 6, and when MC4 detects DRQ, it becomes a management light for the address data bus, and after completing the specified processing. Pass control of the bus to MMPU3. One byte (or one word) is processed in one processing at this time.

第13図(b)はCD、CDHV−1−−ドの説明図で
、MMPU3がMC4に対してコマンドを書き込むとM
C4はLC412に設定されている分だけ連続的に処理
を行う、従って転送数が多いとMMPU3が動作可能に
なる迄の時間が長くなる。
FIG. 13(b) is an explanatory diagram of the CD, CDHV-1--. When the MMPU3 writes a command to the MC4, the M
The C4 continuously processes the amount set in the LC412, so if the number of transfers is large, the time until the MMPU3 becomes operational becomes longer.

第14図(a)、(b)はそれぞれCD、CDVHモー
ドを実行後のメモリ5の内容であり、第14図(a)、
(b)かられかる様にメモリのクリアに使用すると非常
に有効である。又第15図の様な千鳥パターンをメモリ
5に書き込むには、 1ニスタートアドレスを1にセット 2ニアドレスカウンタの増加量を+2にセット3:転送
数Nをレングスカウンタにセット4:DR411に° 
1010101010101010°をセット 5:CDコマンドの送出 :  (MC4がCDモードを実行) 6:スタートアドレスをn+1にセット7:アドレスガ
ウンタの増加量を+2にセット8:転送数Nをレングス
カウンタにセット9:DR411にX’ 010101
0101010101をセット 10:CDコマンドの送出 、(CDモードの実行) という制御を行うだけで千鳥パターンの作成が高速で行
える利点がある。
14(a) and 14(b) show the contents of the memory 5 after executing the CD and CDVH modes, respectively.
(b) It is very effective when used to clear the memory as shown in the figure. To write a staggered pattern as shown in Figure 15 to the memory 5, 1. Set the nearest start address to 1. 2. Set the increment amount of the near address counter to +2. 3. Set the number of transfers N to the length counter. 4. Set the DR411. °
Set 1010101010101010° 5: Send CD command: (MC4 executes CD mode) 6: Set start address to n+1 7: Set address counter increment to +2 8: Set transfer number N to length counter 9 :DR411 to X' 010101
Set 0101010101 10: Send CD command (Execute CD mode) This has the advantage that a staggered pattern can be created at high speed simply by performing the following control.

[データ反転]   (■FRx、uvx−v−−ド)
両モード共IFR,1(Vモードと同一動作を行なうが
本モードはインターフェースデータ15を反転して使用
する点がIFR,HVモードと異なる。
[Data inversion] (■FRx, uvx-v--de)
Both modes perform the same operation as the IFR, 1 (V mode), but this mode differs from the IFR, HV mode in that the interface data 15 is inverted and used.

第9図、第29図でIFRIモードの説明をすると、I
FRIモードのときには第9図の信号430aを“1″
′にしてインターフェースデータ15をDR441に取
り込む。信号430aが“1″であるからDR411に
は内部データバス401の反転したデータが記憶される
。つづいて第29図の*IFRを“1”にするとデータ
バス401はフローティング状態となるのでMC4は外
部データバス14にDR411の内容を出力し、さらに
メモリ5への制御信号*UDS、*LDS、*AS、R
Wを出力して終了する。
To explain the IFRI mode in Figures 9 and 29, I
In the FRI mode, the signal 430a in FIG. 9 is set to "1".
' and import the interface data 15 into the DR441. Since the signal 430a is "1", the inverted data of the internal data bus 401 is stored in the DR 411. Next, when *IFR in FIG. 29 is set to "1", the data bus 401 becomes a floating state, so the MC4 outputs the contents of DR411 to the external data bus 14, and further sends control signals *UDS, *LDS, *AS,R
Output W and exit.

HVIモードのときはIFRIモードのときと同様に第
9図の4038を“1”にしてDR411に反転された
インターフェースデータ15を取り込む点のみがHVモ
ードと異なるだけであとはすべてHVモードと同じであ
る。
In the HVI mode, the only difference is that 4038 in Figure 9 is set to "1" and the inverted interface data 15 is loaded into the DR411, as in the IFRI mode, and everything else is the same as the HV mode. be.

木両モードの利点はRGBデータをYMCデータに変換
する時に効果を発揮する。このことを第19図、第30
図を使用して説明すると、第30図(A)は第19図(
A)のデータフォーマット、第30図(B)は第19図
(C)のデータフォーマットの例を説明するもので、第
19図(C)のデータフォーマットはMMCフォーマッ
トであるのでYは第8図のバンク#1に1Mはバンク#
2に、Cはバンク#3に格納すれば良い、これは第30
図(B)で説明される様にIFRモード設定特定時ンク
ナンバーの選択を#1.#2゜#3の順番で行なえば良
い、一方、第19図(A)データフォーマットはRGB
フォーマットなのでこれをMMCに変換する必要が生じ
る。このためには、 xnotB M=notG C==notR という式で表わされる変換を行う、これを実現するのが
I FRI、又はHBIモードで第30図のAで説明さ
れる様に最初のデータブロックはRであるからバンク#
3を選択し、次はMであるからバンク#2を選択し、最
後はBであるからバンク#1を選択するのみで実行可能
であるためMMPU3は色変換に関するソフトウェアは
MC4に対するコマンド、アドレス、転送数の設定だけ
で良いので非常に効率的である。
The advantage of the wood mode is effective when converting RGB data to YMC data. This is shown in Figures 19 and 30.
To explain using figures, Fig. 30 (A) is different from Fig. 19 (
The data format of A) and FIG. 30 (B) explain an example of the data format of FIG. 19 (C). Since the data format of FIG. 1M is bank #1 in bank #1 of
2, C should be stored in bank #3, this is the 30th
As explained in Figure (B), when setting the IFR mode, select the link number #1. #2゜It is sufficient to perform in the order of #3. On the other hand, the data format in Fig. 19 (A) is RGB.
Since it is a format, it is necessary to convert it to MMC. To do this, we perform the transformation represented by the formula is R, so bank #
3, next is M, so select bank #2, and last is B, so select bank #1. MMPU3 can execute the software related to color conversion by commands, addresses, and commands for MC4. It is very efficient because it only requires setting the number of transfers.

この後、YMCをYMCBにに変換するためには前述し
たCCモードを使用する。
After this, the above-mentioned CC mode is used to convert YMC to YMCB.

(オートリフレッシュ機能) 本カラー記録装置は印字可能範囲が8インチで、横のド
ツト分解能が200dpi (ドツト/インチ)とすれ
ば1ライン分に必要なメモリの容量は8(インチ)X2
00 (dpi)x24 (エレメント/ヘッド)X4
(ヘット数)−153600ビツトとなりこれをバイト
数で表現すれば、153600÷8=19.2KBとな
る。この程度の容量であれば当然スタティックRAMを
使用するが、別の応用例で印字可能範囲が15インチ、
ドツト分解能400dpi、128エレメント/ヘツド
の装置を想定したときのメモリ容量は384KBとなる
ので使用するメモリはダイナミックRAMが考えられる
。ダイナミックRAMは定期的にリフレッシュを実行し
ないとメモリー内容が変化してしまう欠点がある。リフ
レッシュ回路はMMPU3の制御の下でリフレッシュ信
号を作成するか、メモリ5内部でMMPtJ3からのア
クセスの間をぬって空き時間を検出してリフレッシュ信
号を作成する。しかしながら、本実施例では特に色変換
ではメモリ5のサイクルタイムの限界で色変換の実行を
行なうし、実行中MMPU3はその実行を中断すること
が不可能なためリフレッシュが不可能になる恐れが出て
来る。
(Auto refresh function) If the printable area of this color recording device is 8 inches and the horizontal dot resolution is 200 dpi (dots/inch), the memory capacity required for one line is 8 (inches) x 2.
00 (dpi) x 24 (element/head) x 4
(Number of heads) - 153,600 bits, and if this is expressed in number of bytes, it becomes 153,600÷8=19.2KB. Of course, static RAM would be used for this amount of capacity, but in another application, the printable area is 15 inches,
Assuming a device with a dot resolution of 400 dpi and 128 elements/head, the memory capacity will be 384 KB, so a dynamic RAM may be used as the memory. Dynamic RAM has the disadvantage that memory contents change unless it is refreshed periodically. The refresh circuit creates a refresh signal under the control of the MMPU 3, or detects free time inside the memory 5 between accesses from the MMPtJ3 and creates a refresh signal. However, in this embodiment, especially in color conversion, the color conversion is executed within the cycle time limit of the memory 5, and since it is impossible for the MMPU 3 to interrupt the execution while it is being executed, there is a possibility that refreshing will not be possible. I'm coming.

その欠点を補うためMC4には図示しないARI信号を
外部端子として設けARI信号が“1”であるときCC
−T−−ド、CD、CDHV−r−−ドに限りオートリ
フレッシュを実行する。前記以外のモードでオートリフ
レッシュを実行しない理由は、それらのモードのとき第
13図(a)でMC4がアドレスバス14b、データバ
ス14の管理をしている時間は1μsに満たない時間で
あり、1回の実行毎にアドレスバス14b、データバス
14の制御は−HMMPU3に戻るためである。
To compensate for this drawback, the MC4 is provided with an ARI signal (not shown) as an external terminal, and when the ARI signal is "1", the CC
Auto-refresh is performed only on -T-, CD, and CDHV-r-- modes. The reason why auto-refresh is not executed in modes other than the above is that in those modes, the time during which the MC4 manages the address bus 14b and data bus 14 in FIG. 13(a) is less than 1 μs; This is because control of the address bus 14b and data bus 14 returns to -HMMPU3 every time execution is performed.

それに対して、CC,CD、CDHVモードでは第13
図(b)のように、長時間にわたりアドレスバス14b
、データバス14をMC4’が管理するためである。こ
れをCCモードを例に取って第7図と第31図で説明す
る。
On the other hand, in CC, CD, and CDHV modes, the 13th
As shown in Figure (b), for a long time the address bus 14b
This is because the MC 4' manages the data bus 14. This will be explained using FIG. 7 and FIG. 31, taking the CC mode as an example.

第7図はオートリフレッシュを実行しない時の例であり
CCモードのステップnは71〜83の繰返しである。
FIG. 7 shows an example when auto-refresh is not executed, and step n in the CC mode is a repetition of steps 71 to 83.

それに対してオートリフレッシュ実行時は第31図で説
明する様にステップS83と、次のステップS71の間
に1サイクルのダミーステップを入れ、このときリフレ
ッシュパルス*RFを出力する。この時*AS、*LD
S。
On the other hand, when auto-refresh is executed, one cycle of dummy steps is inserted between step S83 and the next step S71, as explained in FIG. 31, and at this time a refresh pulse *RF is output. At this time *AS, *LD
S.

R3は全て“ビである。第31図のA1−A23はステ
ップS83と全く同じ信号が出力されているのはMC4
はリフレッシュようのアドレスカウンタを持っていない
ためである。従ってメモリ5は)II’tFを受信した
ら自分自身でもっているアドレスカウンタを使用してリ
フレッシュを実行する。
R3 is all "B". A1-A23 in FIG.
This is because it does not have an address counter for refreshing. Therefore, when the memory 5 receives II'tF, it performs refresh using its own address counter.

(LCラッチ、ADRCラッチ〉 第19図(C)のMMCデータフォーマットのデータを
IFRモードを使用して、メモリ5に格納する時のMM
PU3がMC4に対して送出するコマンド等の概略は第
30図(B)で既に述べたが、これをもう少し詳細に説
明するとアドレスカウンタの設定、レングスカウンタの
設定、コマンドの設定という3つの処理を3回繰り返す
ことによりIFRモードを実行させるのだが、レングス
カウンタについては第19図(C)から説明される様に
Y、M、C全て同じ長さのデータであり、アドレスカウ
ンタの内容も色変換処理の都合上同じアドレスからデー
タの格納をしなければならないので、同じデータを設定
する必要がある。そのため、LC412,ADRC41
5のデータ入力部にラッチを設ければADRC415、
LC412に対する設定は1回で済む事になりMMPU
3側の処理が非常に簡素化される。これを説明するのが
第32図、第33図である。LC412、ADRC41
5は共に機能が異なるのみで、データの設定に関しては
同一であるので、LC412部のみについて説明する。
(LC latch, ADRC latch) MM when storing data in the MMC data format shown in Figure 19 (C) in the memory 5 using IFR mode
The outline of the commands etc. that the PU3 sends to the MC4 has already been described in Figure 30 (B), but to explain this in more detail, there are three processes: address counter setting, length counter setting, and command setting. The IFR mode is executed by repeating this three times, but as explained in Figure 19 (C), the length counters are data of the same length for Y, M, and C, and the contents of the address counters are also color converted. Because data must be stored from the same address for processing reasons, it is necessary to set the same data. Therefore, LC412, ADRC41
If a latch is provided in the data input section of 5, ADRC415,
Settings for LC412 only need to be done once, so MMPU
Processing on the third side is greatly simplified. This is explained in FIGS. 32 and 33. LC412, ADRC41
5 only have different functions and are the same in terms of data settings, so only the LC 412 section will be explained.

第33図(A)はラッチを設ける前のレジスタ、カウン
タのアドレス割付表で説明の都合上$1は空欄にしであ
る。今LC412にデータを設定するときMMPU3は
アドレスXXXX2に対して書き込むとそのときのデー
タがLC412に格納される。
FIG. 33(A) is an address assignment table for registers and counters before a latch is provided, and for convenience of explanation, $1 is left blank. When setting data to the LC 412, the MMPU 3 writes to address XXXX2, and the data at that time is stored in the LC 412.

第33図(B)はラッチを設けた時のアドレス割付表で
第33図(A)と変化はしていないが回路的には変化し
ている。それは第32図のLC412の人力部の前にラ
ッチ831を設けて、ラッチ831は内部データ416
bを取り込む。MMPU3がLC412にデータを設定
するために第33図(B)でアドレスxxxx2に対し
てデータを書き込むと第32図のラッチ831のクロッ
ク信号833が“1”になりラッチ831はデータ41
6bを取り込む、引き続いてMMPU3がC0MR41
3にデータを書き込むと信号834が′0″′になりL
C412はラッチ831びデータを取り込む、この回路
により第30図(B)のときスナップ5311以前に1
度だけADRC415、LC412に対しデータを設定
すれば良く、ステップ3312,5313では必要ない
FIG. 33(B) is an address assignment table when a latch is provided, and although it is not changed from FIG. 33(A), the circuit is different. That is, a latch 831 is provided in front of the human power section of LC412 in FIG.
Take in b. When MMPU3 writes data to address xxxx2 in FIG. 33(B) in order to set data in LC412, the clock signal 833 of latch 831 in FIG. 32 becomes "1" and latch 831 writes data 41.
6b is taken in, followed by MMPU3 C0MR41
When data is written to 3, the signal 834 becomes '0''' and becomes L.
C412 takes in latch 831 and data, and by this circuit, 1 is input before snap 5311 in FIG. 30(B).
It is only necessary to set data to the ADRC 415 and LC 412 once, and steps 3312 and 5313 are not necessary.

以上説明した回路を実施することによりMMPU3の負
担はさらに軽くなる事は明白である。
It is obvious that the load on the MMPU 3 can be further reduced by implementing the circuit described above.

しかし人力データフォーマットがラスターイメージデー
タのときでMMCフォーマット、1カラーデータが10
0バイトであるとき、第34図で説明される様に人力デ
ータを受信してから印字する迄には ステップ5341では、ADRC415即ちスタートア
ドレスの設定はこの例ではO,LC412は1カラーデ
ータが100バイトであるので100を設定する。
However, when the human data format is raster image data, MMC format, 1 color data is 10
When it is 0 byte, as explained in FIG. 34, from receiving the manual data to printing, in step 5341, the ADRC 415, that is, the start address setting is O in this example, and the LC 412 is set to 100 bytes for 1 color data. Since it is a byte, set it to 100.

ステップ5342では、縦横変換HVモードを72回繰
返す。これは色指定フォーマットがY。
In step 5342, the vertical/horizontal conversion HV mode is repeated 72 times. The color specification format for this is Y.

M、Cでかつヘッドのエレメント数が24であるため2
4回のデータを受信するため縦横変換の回数は3x24
=72となるためである。
2 because it is M, C and the number of head elements is 24.
Since data is received 4 times, the number of vertical and horizontal conversions is 3x24.
=72.

ステップ5343では、色変換CCモードを実行するた
めにアドレス、LC412の値を再設定する。ADRC
415は0で良いが、LC412は人力データを100
バイト縦横変換したので第10図(a)、(b)で説明
されている如く、メモリには横方向に8倍されて格納さ
れているので100X8=800,800をLC412
に設定する。
In step 5343, the address and the value of LC412 are reset to execute the color conversion CC mode. ADRC
415 can be set to 0, but for LC412, the manual data should be set to 100.
As explained in Figures 10(a) and (b), the byte is converted horizontally and vertically, so it is stored in the memory multiplied by eight in the horizontal direction, so 100X8=800,800 is stored in the LC412.
Set to .

ステップ5344では、CCモードの実行ステップ53
45では、印字の実行 以上で1回の印字に対する処理を終了してステップ53
41に戻るが、ステップ5341で改めて、ADRC4
15,LC4t2に対し規定の値を設定しなければなら
ない。
In step 5344, the CC mode execution step 53
In step 45, the process for one printing is completed after printing is executed, and the process proceeds to step 53.
41, but at step 5341, ADRC4
15. A specified value must be set for LC4t2.

この点を改良するために考案された回路が第35図で、
結果としては第34図で1回目の印字終了後はステップ
5341に戻るのではなく、点線部で示される如く、ス
テップ5342に戻る様にする。この事によりMMPU
3のソフトウェアは更に簡素化される。以下にその手法
を説明する。
A circuit devised to improve this point is shown in Figure 35.
As a result, after the first printing is completed in FIG. 34, instead of returning to step 5341, the process returns to step 5342, as shown by the dotted line. Due to this, MMPU
The software in No. 3 is further simplified. The method will be explained below.

第33図(C)は改良案を実施したときのアドレス割付
表で第33図(A)、(B)と異なる点は$1にコマン
ドレジスタ、$4にレングスラッチ、$5にアドレスラ
ッチを設けた点である。
Figure 33 (C) is an address allocation table when the improved plan is implemented. The difference from Figures 33 (A) and (B) is that $1 is the command register, $4 is the length latch, and $5 is the address latch. This is the point I made.

第35図は回路例で、第32図でのラッチ831がトラ
イステートバッファ付ラッチに変更され、更にトライス
テートバッファ830が追加する事により第32図から
第35図に変わる。
FIG. 35 shows an example of a circuit, in which the latch 831 in FIG. 32 is changed to a latch with a tri-state buffer, and the circuit changes from FIG. 32 to FIG. 35 by adding a tri-state buffer 830.

MMPU3は第33図(C)の$2のレングスカウンタ
を選択すると、信号832は“0”になリバツファ83
0はイネーブルになり、ラッチ831のバッファ部はデ
ィセーブルされるので、LC412の入力部には内部パ
ス416Bが現われ、同時に信号823が0″となるの
で、オアゲート835の出力835aも“0″となり、
LC412には416bと同じデータが取り込まれる。
When the MMPU 3 selects the length counter $2 in FIG. 33(C), the signal 832 becomes "0" and the rebuffer 83
0 is enabled and the buffer part of the latch 831 is disabled, so the internal path 416B appears at the input part of the LC412, and at the same time the signal 823 becomes 0'', so the output 835a of the OR gate 835 also becomes 0. ,
The same data as 416b is taken into LC412.

MMPU3が$4のレングスラッチを選択すると信号8
33は“1″になりラッチ831は416bのデータを
取り込む。このラッチ831に取り込まれたデータをL
C412に転送するためには$1のコマンドレジスタを
M M P’LJ 3が選択すれば良い、この時信号8
32は“1“であるからバッファ830はディセーブル
され、ラッチ831の出力がイネーブルとなるので83
0aにはラッチ831の内容が現われ結果としてLC4
12にはラッチ831の内容と同じデータが取り込まれ
る0以上の関係を第36図に示す。
When MMPU3 selects length latch of $4, signal 8
33 becomes "1", and the latch 831 takes in the data of 416b. The data captured in this latch 831 is
In order to transfer to C412, MMP'LJ3 only needs to select the command register of $1. At this time, signal 8
32 is "1", the buffer 830 is disabled, and the output of the latch 831 is enabled, so 83
The contents of latch 831 appear in 0a, and as a result, LC4
FIG. 36 shows a relationship of 0 or more in which the same data as the contents of the latch 831 is taken into the latch 831.

この回路による第34図の動作は、 ステップ5341では、スタートアドレスを$5のアド
レスラッチにセット、転送数100を$4のレングスラ
ッチにセットする。
The operation of FIG. 34 by this circuit is as follows: In step 5341, the start address is set in the $5 address latch, and the number of transfers, 100, is set in the $4 length latch.

ステップ5342では、HVコマンドを$1のコマンド
レジスタにセットする動作を72回繰返す。
In step 5342, the operation of setting the HV command in the $1 command register is repeated 72 times.

ステップ5343では、スタートアドレスを$3のアド
レスカウンタにセット、転送数800を$2のレングス
カウンタにセットする。
In step 5343, the start address is set in the address counter of $3, and the number of transfers, 800, is set in the length counter of $2.

ステップ5344では、$0のコマンドレジスタにCC
モードをセットし、実行する。
In step 5344, CC is written to the command register of $0.
Set the mode and execute.

ステップ5345では、印字の実行、終了後ステップ5
342に戻る。
In step 5345, printing is executed, and after completion, step 5
Return to 342.

上記の説明ではC0MR413が2本存在する様になっ
ているが、実際には1本のレジスタが存在するのみでア
ドレスの違いにより動作を違える様に設計されている。
In the above explanation, there are two C0MRs 413, but in reality there is only one register, and it is designed to operate differently depending on the address.

以上述べた様に本発明は特にカラー記録装置に摘要する
事によりMPUのソフトウェアを非常に簡単にする効果
があり、更にインターフェースデータの取り込み、色変
換、縦横変換等超高速で実行するので大容量のデータで
あってもスループットの高いカラー記録装置が実現可能
である。
As mentioned above, the present invention has the effect of greatly simplifying the MPU software by applying it to a color recording device in particular, and also has a large capacity because it executes interface data import, color conversion, vertical/horizontal conversion, etc. at ultra-high speed. A color recording device with high throughput can be realized even with data of

(以下余白) [発明の効果] 本発明によって、ダイレクトメモリアクセス方式による
メモリ制御において複雑な機能を持たせることにより長
時間のメモリの専有が起った場合に、メモリが揮発性で
あればリフレッシュパルスを出力することによりメモリ
内容の破壊のないメモリ制御回路を提供できる。言い換
えれば、本発明によって、ダイレクトメモリアクセス方
式によるメモリ制御に複雑な機能を持たせることが可能
になった。
(Blank below) [Effects of the Invention] According to the present invention, when memory is occupied for a long time by providing a complex function in memory control using the direct memory access method, if the memory is volatile, it can be refreshed. By outputting pulses, it is possible to provide a memory control circuit that does not destroy memory contents. In other words, the present invention makes it possible to provide complex functions to memory control using the direct memory access method.

(以下余白)(Margin below)

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

第1図はカラー記録装置のブロック図、第2図はメモリ
制御回路のブロック図、第3図はメモリ制御回路データ
バス、アドレスバスの使用タイミングチャート、 第4図は8ビット幅/16ビツト幅切換え回路図、 第5図はIFRモードのタイミングチャート、¥S6図
はIFRモードのフローチャート、第7図はCCDモー
ドのタイミングチャート、第8図はメモリ制御回路のア
ドレシング図、第9図はインバータロジック回路図、 第10図(a)〜(c)はHVモード説明図、第11図
はMV変換回路図、 第12図はHVモードのタイミングチャート、3i13
図(a)はIFR,HVモード説明図、第13図(b)
はCD、CDHVモーF説明図、 第14図(a)はCDモード実行後のメモリ状態図、 第14図(b)はCDVHモード実行後実行上リ状態図
、 第15図は千鳥パターン形成状態図、 第16図はレスターフオーマット時の入力データと出力
結果の比較図、 第17図は縦8ビツトイメージフォーマット時の人力デ
ータと出力結果の比較図、 第18図は縦24ビツトイメージフォーマット時の入力
データと出力結果の比較図、 第19図(A)〜(D)は色指定フォーマット側口、 第20図は色変換説明図、 第21図は8ビット幅の人力データ図、第22図は縦8
ビツトフォーマット時の格納状態図、 第23図は8ビツト幅入力で縦24ビツトフォーマット
時の格納状態図、 第24図は16ビツト幅の入力データ図、第25図は8
ビツト幅入力で縦24ビツトフォーマット時の格納状態
図、 第26図はアドレスカウンタの部分回路図、第27図は
メモリ制御回路のアドレス指定図、第28図はレングス
カウンタ回路図、 第29図はIFRIモードのタイミングチャート、 第30図(A)はIFRIモードのフローチャート、 第30図CB)はIFRモードのフローチャート、 第31図はオートリフレッシュのタイミングチャート、 第32図はレングスカウンタのラッチ回路図、第33図
(A)〜(C)はメモリ制御回路への指令説明図、 第34図はマスクMPUのフローチャート、第35図は
レングスカウンタとラッチの制御回路図、 第36図はレングスカウンタとラッチの制御回路説明図
である。 図中、1・・・ホストCPυ、2・・・カラー記録装置
、3・・・マスタMPU、4−・・メモリ制御回路、5
・・・メモリ、6・・・インターフアイスユニット、7
・・・サブMPU、8・・・印字ヘッド、9・・・紙送
りモータ、10・・・キャリッジモータ、410゜41
1・・・データ23納レジスタ、412・・・レングス
カウンタ、413・・・コマンドレジスタ、414・・
・バンクレジスタ、415・・・アドレスカウンタ、4
16・・・インバータロジック、417・・・バンクセ
レクタ、418・・・アンドロジック、419・・・ビ
ットチェンジ、420・・・並直変換回路、421・・
・ビットカウンタ、430・・・インストラクションデ
コーダ、440・・・マイクロシーケンサ、450・・
・バスアービタである。 特許出願人   キャノン株式会社 第5図 第9図 第13図 (G) ai 13図 (b) 1!+7rIA 印字工刀糸占果 第旧区 印字土力結果 第19図 (A) 第19辺 (C) 第19図(D) 第20図 第21囚 第22図 第23因 第24rIA 第25図 第31ffl 箔32区 第33区 (A) 第33ffl  (B) 第33rlA(C) 第34rIA
Figure 1 is a block diagram of the color recording device, Figure 2 is a block diagram of the memory control circuit, Figure 3 is a timing chart of the use of the memory control circuit data bus and address bus, and Figure 4 is 8-bit width/16-bit width. Switching circuit diagram, Figure 5 is a timing chart of IFR mode, Figure 6 is a flowchart of IFR mode, Figure 7 is a timing chart of CCD mode, Figure 8 is an addressing diagram of the memory control circuit, Figure 9 is inverter logic. Circuit diagram, Figures 10 (a) to (c) are HV mode explanatory diagrams, Figure 11 is MV conversion circuit diagram, Figure 12 is HV mode timing chart, 3i13
Figure (a) is an explanatory diagram of IFR and HV mode, Figure 13 (b)
is an explanatory diagram of CD, CDHV mode F, Fig. 14 (a) is a memory state diagram after executing CD mode, Fig. 14 (b) is an execution state diagram after executing CDVH mode, Fig. 15 is a staggered pattern formation state Figure 16 is a comparison diagram of input data and output results in Lester format, Figure 17 is a comparison diagram of human data and output results in vertical 8-bit image format, and Figure 18 is a comparison diagram of vertical 24-bit image format. A comparison diagram of input data and output results, Figures 19 (A) to (D) are color specification format side ports, Figure 20 is a diagram explaining color conversion, Figure 21 is a diagram of 8-bit width manual data, Figure 22 is vertical 8
Fig. 23 is a storage state diagram when formatting 24 bits vertically with 8-bit width input; Fig. 24 is a diagram of input data with a 16-bit width; Fig. 25 shows an 8-bit width input data diagram.
Storage state diagram for vertical 24-bit format with bit width input, Figure 26 is a partial circuit diagram of the address counter, Figure 27 is an address designation diagram of the memory control circuit, Figure 28 is a length counter circuit diagram, and Figure 29 is a diagram of the address counter. Timing chart of IFRI mode, Figure 30 (A) is a flowchart of IFRI mode, Figure 30 (CB) is a flowchart of IFR mode, Figure 31 is a timing chart of auto-refresh, Figure 32 is a latch circuit diagram of length counter, Figures 33 (A) to (C) are explanatory diagrams of commands to the memory control circuit, Figure 34 is a flowchart of the mask MPU, Figure 35 is a control circuit diagram of the length counter and latch, and Figure 36 is the length counter and latch. FIG. 2 is an explanatory diagram of a control circuit. In the figure, 1... host CPυ, 2... color recording device, 3... master MPU, 4-... memory control circuit, 5
...Memory, 6...Interface unit, 7
...Sub MPU, 8...Print head, 9...Paper feed motor, 10...Carriage motor, 410°41
1... Data 23 storage register, 412... Length counter, 413... Command register, 414...
・Bank register, 415...address counter, 4
16... Inverter logic, 417... Bank selector, 418... AND logic, 419... Bit change, 420... Parallel to serial conversion circuit, 421...
・Bit counter, 430... Instruction decoder, 440... Micro sequencer, 450...
・It is a bus arbiter. Patent applicant: Canon Corporation Figure 5 Figure 9 Figure 13 (G) ai Figure 13 (b) 1! +7rIA Printed Koto Ito Zhanka No. 1 Old District Printed Soil Result Figure 19 (A) Side 19 (C) Figure 19 (D) Figure 20 Figure 21 Prisoner Figure 22 23rd Cause 24rIA Figure 25 31ffl Haku 32nd Ward 33rd Ward (A) 33rdffl (B) 33rd rlA (C) 34th rIA

Claims (3)

【特許請求の範囲】[Claims] (1)ダイレクトメモリアクセス方式によりメモリを制
御するメモリ制御回路において、所定時間長を越える連
続した制御で揮発性メモリを専有する場合にリフレツシ
ユパルスを出力する出力手段を備えることを特徴とする
メモリ制御回路。
(1) A memory control circuit that controls a memory using a direct memory access method, characterized in that the memory is equipped with an output means for outputting a refresh pulse when volatile memory is monopolized by continuous control exceeding a predetermined length of time. control circuit.
(2)データは16ビツト幅を単位に制御されることを
特徴とする特許請求の範囲第1項記載のメモリ制御回路
(2) The memory control circuit according to claim 1, wherein data is controlled in units of 16-bit width.
(3)データは8ビツト幅を単位に制御されることを特
徴とする特許請求の範囲第1項記載のメモリ制御回路。
(3) The memory control circuit according to claim 1, wherein data is controlled in units of 8-bit width.
JP5930886A 1986-03-19 1986-03-19 Memory control circuit Pending JPS62219295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5930886A JPS62219295A (en) 1986-03-19 1986-03-19 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5930886A JPS62219295A (en) 1986-03-19 1986-03-19 Memory control circuit

Publications (1)

Publication Number Publication Date
JPS62219295A true JPS62219295A (en) 1987-09-26

Family

ID=13109613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5930886A Pending JPS62219295A (en) 1986-03-19 1986-03-19 Memory control circuit

Country Status (1)

Country Link
JP (1) JPS62219295A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01109403A (en) * 1987-10-09 1989-04-26 Instron Corp Circuit for interactive control of multiple control elements

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01109403A (en) * 1987-10-09 1989-04-26 Instron Corp Circuit for interactive control of multiple control elements

Similar Documents

Publication Publication Date Title
US4849747A (en) Display data transfer control apparatus applicable for display unit
US4837564A (en) Display control apparatus employing bit map method
JPH05221030A (en) Apparatus for controlling printing
US4737779A (en) Data processing apparatus with dot character generator
JPH01136770A (en) Printer
JPS62219295A (en) Memory control circuit
JPS62217768A (en) Memory control circuit
JPS62217766A (en) Memory control circuit
JPS62217769A (en) Memory control circuit
JPS62217765A (en) Memory control circuit
JPS62217770A (en) Memory control circuit
JPS62217775A (en) Memory control circuit
JPS62217771A (en) Memory control circuit
JPS62217774A (en) Memory control circuit
JPS62217767A (en) Memory control circuit
JPS62217772A (en) Memory control circuit
JPS62217773A (en) Memory control circuit
JPS58117036A (en) Print controller
JPH1173285A (en) Video data transferring device
JPH0321475A (en) Image output device
JP2782798B2 (en) Image output device
JP2842010B2 (en) Printing control device
JP2913977B2 (en) Printing control device
JP3138300B2 (en) Image processing method
JPS63188052A (en) Recorder