JP2711673B2 - Image data transfer control method and device - Google Patents

Image data transfer control method and device

Info

Publication number
JP2711673B2
JP2711673B2 JP63102622A JP10262288A JP2711673B2 JP 2711673 B2 JP2711673 B2 JP 2711673B2 JP 63102622 A JP63102622 A JP 63102622A JP 10262288 A JP10262288 A JP 10262288A JP 2711673 B2 JP2711673 B2 JP 2711673B2
Authority
JP
Japan
Prior art keywords
image data
image
read
conversion
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63102622A
Other languages
Japanese (ja)
Other versions
JPH01275045A (en
Inventor
康人 玉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP63102622A priority Critical patent/JP2711673B2/en
Publication of JPH01275045A publication Critical patent/JPH01275045A/en
Application granted granted Critical
Publication of JP2711673B2 publication Critical patent/JP2711673B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Laser Beam Printer (AREA)
  • Image Input (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は所定の文字又は/及び図形パターンが格納さ
れた画像パターン記憶ROMその他の記憶手段から読み出
された画像データを、縦横変換処理を含む角度変換処理
(以下回転処理という)し且つ特殊記号を付与して任意
のデバイスに転送する画像データ転送制御方式及びその
装置に係り、特にページプリンタのコントローラに用い
る画像データ転送制御方式及びその装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention performs vertical / horizontal conversion processing on image data read from an image pattern storage ROM or other storage means in which predetermined character or / and graphic patterns are stored. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data transfer control method and apparatus for performing angle conversion processing (hereinafter referred to as rotation processing) and adding a special symbol to transfer to an arbitrary device, and more particularly to an image data transfer control method and apparatus used for a page printer controller. About.

「従来の技術」 従来より、図形パターンを含む所定の文字パターンを
格納した一又は複数の画像パターン記憶ROM(読出し専
用メモリ)を用意し、CPU(中央処理装置)よりのREAD
命令サイクルに基づいてアドレス信号を前記画像データ
記憶ROMに付与しながら該パターン記憶ROMより読出され
た画像データを、CPUバスラインを介して逐次画像メモ
リ内に格納した後、プリンタエンジン側よりの制御信号
に基づいて前記メモリ内に格納された画像データを一ス
キャンライン毎又はCPUのデータ幅毎に順次シリアル変
換しながらプリンタエンジン側に出力させながら所定の
プリント動作を行うようにしたレーザプリンタその他の
ページプリンタに用いられるコントローラは公知であ
る。
2. Description of the Related Art Conventionally, one or a plurality of image pattern storage ROMs (read-only memories) each storing a predetermined character pattern including a graphic pattern are prepared and read from a CPU (central processing unit).
After sequentially storing the image data read from the pattern storage ROM in the image memory via the CPU bus line while giving an address signal to the image data storage ROM based on the instruction cycle, control from the printer engine side is performed. A laser printer or the like that performs a predetermined printing operation while outputting to the printer engine while serially converting image data stored in the memory based on a signal for each scan line or for each data width of the CPU sequentially. Controllers used in page printers are known.

かかるコントローラに用いる前記画像パターン記憶RO
Mは、文字等のパターンをドットマトリックスとして記
憶した方式のものでは、文字等の形状をm'×mのマトリ
クス内にドットイメージとして表現したものを格納して
いる為に、明朝体、ゴシック体等の文字の種類のみなら
ず、縦書き横書き等の文字の配列方向が異なる場合にも
これに対応する文字パターンが格納された記憶ROMを夫
々用意する必要があり、而も近年のように前記文字を円
グラフその他の図表上に記録する為に、所定角度回転さ
せて出力する場合も多々あり、このような画像パターン
全てにおいて画像パターン記憶ROMを用意する事は結果
としてデバイス構成が無用に増大且つ複雑化し実用的で
ない。
The image pattern storage RO used in the controller
M is a method that stores patterns of characters and the like as a dot matrix, and stores the shape of characters and the like as a dot image in an m '× m matrix. Not only in the case of the type of characters such as body, but also in the case where the arrangement direction of characters such as vertical writing and horizontal writing is different, it is necessary to prepare a storage ROM in which the corresponding character pattern is stored, as in recent years. In order to record the characters on a pie chart or other chart, there are many cases where the characters are rotated by a predetermined angle and output.Preparing an image pattern storage ROM for all such image patterns results in an unnecessary device configuration. Increased and complicated, and not practical.

この為、所定の画像パターン記憶ROMから読み出され
た画像パターンデータをCPUに読込ませながら、所定の
プログラム制御により縦横変換を含む角度変換に加えて
特殊文字加工処理を行う方法や、前記画像パターンデー
タをハードウェアにより構成された文字変換手段に基づ
いて例えば縦横変換その他の変換処理を行う方法が提案
されている。
For this reason, a method of performing special character processing in addition to angle conversion including vertical and horizontal conversion by predetermined program control while reading image pattern data read from a predetermined image pattern storage ROM into the CPU, A method has been proposed in which data is subjected to, for example, vertical / horizontal conversion or other conversion processing based on character conversion means constituted by hardware.

「発明が解決しようとする課題」 しかしながら前者においては、画像パターンを構成す
る各ドットを順次CPUに読込ませながら所定のプログラ
ムに基づいてソフト的にパターン変換又は加工処理を行
う為に必然的に処理スピードが低速化し且つCPUの負担
が増大するという問題が生じる。
[Problems to be Solved by the Invention] However, in the former, processing is inevitably performed in order to perform pattern conversion or processing in software based on a predetermined program while sequentially reading each dot constituting an image pattern into a CPU. There is a problem that the speed is reduced and the load on the CPU is increased.

又後者のハードウエアによよりパターン変換する方式
では前記欠点は解消されるが、逆にハードウエアに組込
まれた縦横変換を含む角度変換処理に限定され、それ以
外の変換要素が発生した場合はその変換装置そのもので
は実現出来ず、その変換処理に自由度がないという欠点
を有す。
In the latter method of pattern conversion by hardware, the above-mentioned disadvantage is solved, but conversely, it is limited to angle conversion processing including vertical and horizontal conversion incorporated in hardware, and when other conversion elements occur, The conversion device itself cannot be realized, and has a drawback that the conversion process has no flexibility.

即ち後者のパターン変換方式では前記変換処理に切り
替えた後においては、その変換処理をm'×m等の所定の
マトリックス単位でハードウェアにより一任する構成を
取る為に、例えばAの画像パターンを横変換させながら
該文字自体に 等を付加し、特殊文字に変換加工する事は全く不可能で
あり、その変換処理に自由度がないという欠点を持つ。
That is, in the latter pattern conversion method, after switching to the above-mentioned conversion processing, in order to adopt a configuration in which the conversion processing is performed by hardware in a predetermined matrix unit such as m ′ × m, for example, the image pattern of A is horizontally While converting it to the character itself It is impossible at all to convert to a special character by adding a character or the like, and there is a disadvantage that the conversion process has no flexibility.

かかる欠点を解消する為に、画像メモリに格納された
画像パターンを多種類の変換加工が可能なように専用グ
ラフィック・コントローラを用いて画像制御処理を行う
方法も存在するが、かかる制御方式は例えばマルチウイ
ンドウ等のCRT画像処理には適しているが、その機能を
必要としないプリンタコントローラ等には適さず高価な
ものとなってしまう。
In order to solve such a drawback, there is a method of performing image control processing using a dedicated graphic controller so that various types of conversion processing can be performed on an image pattern stored in an image memory. Although it is suitable for CRT image processing such as multi-window, it is not suitable for a printer controller or the like that does not require the function, and is expensive.

本発明はかかる従来技術の欠点に鑑み、画像パターン
記憶ROMその他の記憶手段から読み出された画像データ
を、縦横変換処理を含む角度変換処理し且つ 等の特殊記号を付与して任意のデバイスに転送する画像
データ転送制御装置において、回路構成の複雑化を避け
つつその変換処理の高速化を達成し、更にはデータ変換
処理の自由度を高めた画像データ転送制御装置を提供す
る事を目的とする。
In view of the drawbacks of the related art, the present invention performs angle conversion processing including vertical and horizontal conversion processing on image data read from an image pattern storage ROM or other storage means, and In the image data transfer control device that transfers special devices such as a special symbol to any device, the conversion process has been speeded up while the circuit configuration has not been complicated, and the degree of freedom of the data conversion process has been increased. It is an object to provide an image data transfer control device.

「課題を解決する為の手段」 本発明は、画像処理におけるデータ処理においてある
定められた機能、具体的には縦横変換処理を含む角度変
換処理(以下回転処理という)を高速に処理するハード
ウェアと、例えば文字自体に 等を付加する等の特殊記号を付与する処理を含めたデー
タ変換処理等のあらゆる機能の可能性を実現し得るソフ
トウェア殿夫々の変換処理を選択的且つ効率的に利用可
能にする為に、特に前記ソフト変換とハード変換の両者
の選択にCPUのREAD/WRITE命令を直接利用した事を特徴
とするものである。
“Means for Solving the Problems” The present invention provides a hardware that performs a certain predetermined function in data processing in image processing, specifically, a high-speed angle conversion process (hereinafter referred to as a rotation process) including a vertical / horizontal conversion process. And, for example, In order to selectively and efficiently use each software conversion process that can realize all functions such as data conversion process including the process of adding special symbols such as adding special characters, etc. The present invention is characterized in that a READ / WRITE instruction of the CPU is directly used for selecting both the software conversion and the hardware conversion.

即ち、請求項1)に記載の発明においては、画像パタ
ーン記憶手段よりハードウェアにより構成された画像パ
ターン変換手段に、CPUよりのWRITE命令サイクルに基づ
いて画像データを転送しながらその画像データの回転処
理を行うとともに、前記WRITE命令サイクルをREAD命令
サイクルに切り替え、該READ命令サイクルに基づいて前
記画像パターン記憶手段から読み出された特殊記号の変
換処理を行う事を特徴とするものである。
That is, in the invention described in claim 1), the image data is rotated while transferring the image data from the image pattern storage means to the image pattern conversion means constituted by hardware based on the WRITE instruction cycle from the CPU. In addition to performing the processing, the WRITE instruction cycle is switched to a READ instruction cycle, and the conversion processing of the special symbol read from the image pattern storage means is performed based on the READ instruction cycle.

一方請求項2)及び3)に記載された発明は、前記発
明の作用を円滑に達成する為の装置を提供するもので、 先ず請求項2)記載の発明においては CPUのREAD及びWRITE命令のいずれの命令サイクルにお
いても読み出し可能な画像パターン記憶手段を設けた
点、 ハードウェアにより構成された画像パターン変換手段
を設けた点 前記WRITE命令に基づいて、より具体的には該WRITE命
令サイクルに対応させて前記画像パターン記憶手段より
画像パターン変換手段に画像データを転送しながら回転
処理を行う点 を必須構成要件とするものである。
On the other hand, the inventions described in claims 2) and 3) provide an apparatus for achieving the effects of the invention smoothly. First, in the invention described in claim 2), the CPU reads and writes instructions. The point that an image pattern storage means that can be read in any instruction cycle is provided, and the image pattern conversion means that is configured by hardware is provided.Based on the WRITE instruction, more specifically, the WRITE instruction cycle is supported. Then, the rotation processing is performed while transferring the image data from the image pattern storage means to the image pattern conversion means.

この場合、前記WRITE命令サイクルを通常のREAD命令
サイクルに切り替えて前記画像パターン記憶手段から読
み出された画像データをCPUを介してソフトウエアに基
づく変換処理を行う訳であるが、本発明はここまで言及
せず、他の処理を採用する事も任意である。
In this case, the WRITE instruction cycle is switched to a normal READ instruction cycle, and the image data read from the image pattern storage means is subjected to software-based conversion processing via the CPU. It is optional to adopt other processes without mentioning them.

一方請求項3)に記載された発明においては、2つの
バスラインを設定する事により前記請求項1)に記載さ
れた発明の作用をより円滑に達成するもので、その特徴
とする所は、 前記記憶手段から読み出された画像データをCPUを介
して所定デバイスに転送するCPUバスラインと別個に、
該画像データをハードウェアにより構成されたパターン
変換手段により回転処理をしながら所定デバイスに転送
する第二のバスラインを設けた点 前記両バスラインの切り替えをCPUのREAD/WRITE命令
サイクルの切り替えに対応させてそのサイクル単位で切
り替えが可能である点 を特徴とするものである。
On the other hand, in the invention described in claim 3), the effect of the invention described in claim 1) is more smoothly achieved by setting two bus lines. Separately from a CPU bus line for transferring image data read from the storage means to a predetermined device via a CPU,
A point in which a second bus line is provided for transferring the image data to a predetermined device while performing a rotation process by a pattern conversion means constituted by hardware. Switching between the two bus lines is performed by switching a read / write instruction cycle of a CPU. It is characterized in that it can be switched in cycle units in correspondence.

「実施例」 以下、図面を参照して本発明の好適な実施例を例示的
に詳しく説明する。ただしこの実施例に記載されている
構成部品の寸法、材質、形状、その相対配置などは特に
特定的な記載がない限りは、この発明の範囲をそれのみ
に限定する趣旨ではなく、単なる説明例に過ぎない。
Hereinafter, preferred embodiments of the present invention will be illustratively described in detail with reference to the drawings. However, unless otherwise specified, the dimensions, materials, shapes, relative arrangements, and the like of the components described in this embodiment are not intended to limit the scope of the present invention thereto, but are merely illustrative examples. It's just

図面は本発明に係る画像データ転送制御装置が組込ま
れたプリンタのコントローラを示すブロック図で、1は
コントローラ全体の制御を行うメインCPUでROM2に格納
されているプログラムに従って不図示のホストマシーン
側から入力された文字及び制御コード等の入力データを
順次取込みながら且つD-RAMで構成されているメインRAM
(随時読込み/書込みメモリ)4を利用して前記記録デ
ータの内部処理を行いながら後記する所定の動作を行
う。
FIG. 1 is a block diagram showing a controller of a printer in which an image data transfer control device according to the present invention is incorporated. 1 is a main CPU which controls the entire controller, which is controlled by a host machine (not shown) according to a program stored in a ROM 2. Main RAM configured by D-RAM while sequentially taking input data such as input characters and control codes
A predetermined operation described later is performed while performing internal processing of the recording data by using the (optional read / write memory) 4.

3はCPUのアドレス情報に基づいて前記又は後記する
各デバイスを選択するためのデコーダ、5は後記するパ
ターン変換処理後の画像データを格納するビデオRAMで
一般にD-RAMで構成されている。
Reference numeral 3 denotes a decoder for selecting each device described above or based on the address information of the CPU, and reference numeral 5 denotes a video RAM which stores image data after a pattern conversion process described later, which is generally constituted by a D-RAM.

6はタイミングコントローラーで、メインCPU1のコン
トロール下にメインRAM4とビデオRAM5のリフレッシュタ
イミングその他のタイミングコントロールを行うととも
に、プリンタエンジンその他の外部デバイスとのタイミ
ング制御を行う。7はCPU1のクロック及びタイミングコ
ントローラーが使用するクロック発生装置、8はビデオ
RAM5の内容をCPU1が読み込む時に必要な入力バッファー
である。
Reference numeral 6 denotes a timing controller which controls the timing of refreshing the main RAM 4 and the video RAM 5 and other timings under the control of the main CPU 1 and also controls the timing of the printer engine and other external devices. 7 is a clock generator used by the clock and timing controller of CPU1, 8 is video
This is an input buffer required when CPU1 reads the contents of RAM5.

9は、m'×mのマトリクス内にドット展開された、図
形を含む所定の画像パターンが格納されたパターン記憶
ROM9で、文字コードに対応するCPU1よりのアドレス情報
に基づいて所定の画像パターンを読出す事が出来る。
Reference numeral 9 denotes a pattern storage in which a predetermined image pattern including a figure, which is developed into dots in an m ′ × m matrix, is stored.
The ROM 9 can read out a predetermined image pattern based on the address information from the CPU 1 corresponding to the character code.

10は、CPU1が前記画像パターン記憶ROM9の内容を外部
装置によるデータ変換をする事なしに読み込む為の入力
バッファで、インバータ21及びNAND回路22に基づいてCP
U1よりのREAD命令サイクルに対応して該バッファ10が開
くように構成されている。
Reference numeral 10 denotes an input buffer for the CPU 1 to read the content of the image pattern storage ROM 9 without performing data conversion by an external device, and a CP based on the inverter 21 and the NAND circuit 22.
The buffer 10 is configured to open in response to a READ instruction cycle from U1.

11はハードウェアにより構成された画像パターン変換
モジュールで、前記画像パターン記憶ROM9より読出され
た画像パターンを、CPU1よりのWRITE命令サイクルに対
応して縦横変換等の所定規則に基づく画像パターン変換
を高速で行うように構成している。
Reference numeral 11 denotes an image pattern conversion module configured by hardware, which can rapidly convert an image pattern read from the image pattern storage ROM 9 based on a predetermined rule such as vertical / horizontal conversion in response to a WRITE instruction cycle from the CPU 1. It is configured to do so.

そして前記画像パターン記憶ROM9と変換モジュール11
は、CPU1により変換処理された画像データをビデオRAM5
に転送するCPUバスライン23と別個のデータバスライン2
4(以下パターンバスラインという)を介して接続さ
れ、該バスライン24を介して前記記憶ROMの内容を変換
モジュール11に、更には該変換モジュール11内で変換さ
れたパターンを後記バスセレクタ14を介してしてビデオ
RAM5に転送する際に使用される。
Then, the image pattern storage ROM 9 and the conversion module 11
Converts the image data converted by the CPU 1 into the video RAM 5
Data bus line 2 separate from CPU bus line 23
4 (hereinafter referred to as a pattern bus line). The contents of the storage ROM are transmitted to the conversion module 11 via the bus line 24, and the pattern converted in the conversion module 11 is transmitted to the bus selector 14 described later. Video through
Used when transferring to RAM5.

バスセレクタ14はデコーダ3よりの切換信号に基でい
てCPUバスライン23と前記パターンバスライン24の切り
替えを行うもので、該セレクタ14によりCPU1により変換
処理された画像データと、変換モジュール11により変換
処理された画像データが選択的にビデオRAM5に転送され
る。
The bus selector 14 switches between the CPU bus line 23 and the pattern bus line 24 based on a switching signal from the decoder 3. The image data converted by the CPU 1 by the selector 14 is converted by the conversion module 11. The processed image data is selectively transferred to the video RAM 5.

尚前記切換信号は、CPU1のREAD/WRITE命令サイクルの
切り替えサイクルに対応してデコーダ3より送信され、
PATURN BUSあるいはCPU BUSのどちらかを選択している
間はフリップフロップ15によりその選択制御信号は保持
されている。
The switching signal is transmitted from the decoder 3 in response to the switching cycle of the READ / WRITE instruction cycle of the CPU 1,
While either the PATURN BUS or the CPU BUS is being selected, the flip-flop 15 holds the selection control signal.

次にかかる実施例の作用を、例えば「A」文字自体に 等を付加して「 「Å」等の特殊文字加工をしながら縦横変換する場合に
ついて説明する。
Next, the operation of this embodiment is applied to, for example, the “A” character itself. A description will be given of a case in which vertical and horizontal conversion is performed while special characters such as “Å” are processed by adding “.

これは、「」「Å」等は夫々の「A」に対する別個
の文字データとは考えず「A」をベースにした特殊加工
と考えた場合の簡単な例である。
This is a simple example in the case where "", "@", etc. are not considered as separate character data for each "A" but are considered as special processing based on "A".

まず「A」の文字を縦横変換する為に、CPU1がデコー
ダ3を介してバス切換信号とパターン選択信号を夫々送
信し、バスセレクタ14をパターンバス24側に切り換える
とともに画像パターン記憶ROM9とアクセスさせ、「A」
の文字自体に 等を付加する為に必要な直前のバイト位置までの所望バ
イト数に対応する数のWRITE命令を繰り返し実行しなが
ら、該命令サイクルに基づいて付与された所定のアドレ
ス情報により画像パターン記憶ROM9よりある単位バイト
数づつ画像パターンデータを読み出し、パターンバス24
を介して変換モジュール11に転送しながら縦横変換処理
を行う。
First, in order to convert the character "A" vertically and horizontally, the CPU 1 transmits a bus switching signal and a pattern selection signal via the decoder 3 respectively, and switches the bus selector 14 to the pattern bus 24 side and makes the image pattern storage ROM 9 access. , "A"
On the character itself While repeatedly executing the number of WRITE instructions corresponding to the desired number of bytes up to the immediately preceding byte position necessary for adding the information, the image data is stored in the image pattern storage ROM 9 according to the predetermined address information given based on the instruction cycle. The image pattern data is read out in units of bytes, and the pattern bus
The vertical / horizontal conversion process is performed while transferring the data to the conversion module 11 via the.

この場合変換モジュール11側では画像パターン記憶RO
M9の選択信号とCPU1のWRITE信号とにより変換モジュー
ル11の不図示の入力バッファを開くようにしておけば画
像パターン記憶ROM9から出力されたパターンデータは、
そのバス命令サイクル数に応じて入力され且つ変換され
る事になる。
In this case, the conversion module 11 side stores the image pattern memory RO
If the input buffer (not shown) of the conversion module 11 is opened by the selection signal of M9 and the WRITE signal of the CPU 1, the pattern data output from the image pattern storage ROM 9 is
It is input and converted according to the number of bus instruction cycles.

この変換されたパターンデータはパターンバス24及び
バスセレクタ14を介してWRITE命令サイクル毎にビデオR
AM5側に転送され、該ビデオRAM5内の所定のアドレスに
格納される。
The converted pattern data is transmitted to the video R via the pattern bus 24 and the bus selector 14 every WRITE instruction cycle.
The data is transferred to the AM5 side and stored at a predetermined address in the video RAM5.

尚前記変換処理は、CPU1より送信されるWRITE命令に
基づいて行われる為に、ハードウェアによる変換処理で
あっても、その変換処理データ数(バイト数)は外部装
置なしでCPU1側で把握出来る。
Since the conversion process is performed based on the WRITE command transmitted from the CPU 1, even if the conversion process is performed by hardware, the number of converted data (the number of bytes) can be grasped on the CPU 1 side without an external device. .

従ってCPU1側で、前記ハードウエアによる変換処理バ
イト数を把握し、文字自体に 等を付加する為に必要な直前のバイト位置まで変換処理
した事をCPU1側で判断する事ができ、これにより前記庶
務バイト数の変換処理終了後前記WRITE命令をREAD命令
サイクルに切り替えるとともに、これに対応して送信さ
れる切換信号に基づいてバスセレクタ14をCPUバス側に
切り替える。
Therefore, the CPU1 grasps the number of bytes to be converted by the hardware, and The CPU 1 can determine that the conversion processing has been performed up to the immediately preceding byte position necessary for adding the same, etc., thereby switching the WRITE instruction to the READ instruction cycle after the completion of the conversion processing of the number of general-purpose bytes. The bus selector 14 is switched to the CPU bus side based on the switching signal transmitted in response to the request.

前記READ命令サイクルの切り替えにより、CPU1が前記
画像パターン記憶ROM9の内容を読み込む為の入力バッフ
ァ10が開き、 等を付加する為に必要な所望バイト数に対応する数のRE
AD命令を繰り返し実行しながら、該命令サイクルに基づ
いて画像パターン記憶ROM9よりある単位バイトづつ画像
パターンデータをCPU1側に読込ませながら、システムRO
M内に格納されたプログラム(ソフトウエア)に基づい
等特殊加工する部分のみの縦横変換処理を行う。
By the switching of the READ instruction cycle, the input buffer 10 for the CPU 1 to read the contents of the image pattern storage ROM 9 opens, Number of REs corresponding to the desired number of bytes required to add
While repeatedly executing the AD instruction, the system RO is read while reading the image pattern data from the image pattern storage ROM 9 for each unit byte into the CPU 1 based on the instruction cycle.
Based on the program (software) stored in M The vertical / horizontal conversion process is performed only on the part to be specially processed.

そして前記ソフトウエアに基づく所定バイト数の変換
処理が終了した後は、再度命令サイクルをWRITE命令に
切り替えてハードウエア処理を行い、これにより「A」
文字自体に 等を付加して「」「Å」等の特殊文字加工をしながら
縦横変換を行う事が出来る。
Then, after the conversion processing of the predetermined number of bytes based on the software is completed, the instruction cycle is switched again to the WRITE instruction to perform the hardware processing.
On the character itself The vertical / horizontal conversion can be performed while adding special characters such as “” and “Å”.

尚前記変換を行わない場合は、READ命令サイクルに基
づいて画像パターン記憶ROM9を順次読出しながら、入力
バッファ10CPUバスライン23及びバスセレクタ14を介し
てビデオRAM5側に転送され、該ビデオRAM5内の所定のア
ドレスに格納される。
If the conversion is not performed, the image pattern storage ROM 9 is sequentially read out based on the READ instruction cycle, transferred to the video RAM 5 via the input buffer 10 CPU bus line 23 and the bus selector 14, and stored in the video RAM 5. Is stored at the address.

従ってかかる実施例によれば、変換モジュール11によ
り変換されたパターンデ一タとCPU1が変換したパターン
データをCPU1のバス命令サイクルに応じて適時選択し、
ビデオRAM5に格納するパターンデータを効率よく処理す
る事が出来る。
Therefore, according to this embodiment, the pattern data converted by the conversion module 11 and the pattern data converted by the CPU 1 are selected as appropriate according to the bus instruction cycle of the CPU 1,
Pattern data stored in the video RAM 5 can be processed efficiently.

「発明の効果」 以上記載した如く本発明によれば、画像パターン変換
手段を使用したハードウェアによる変換とCPUを使用し
たソフトによる変換の切り換えを、CPUのREAD/WRITE命
令を利用して効果的に行う為に、CPUのバス命令サイク
ル単位での制御、言い換えれば画像パターンのバイト単
位の制御が可能となり、この結果パターン変換処理にお
ける自由度が非常に高く効率的である。
[Effects of the Invention] As described above, according to the present invention, switching between conversion by hardware using an image pattern conversion unit and conversion by software using a CPU can be effectively performed using a READ / WRITE instruction of the CPU. Therefore, control in units of bus instruction cycles of the CPU, in other words, control in units of bytes of the image pattern becomes possible. As a result, the degree of freedom in the pattern conversion process is very high and efficient.

即ちCPUのバス命令サイクル単位と画像パターンのバ
イト単位の制御が可能である事は、画像パターン変換手
段を使用したハードウェアによる変換とCPUを使用した
ソフトによる変換処理の分担を適時行える為に、ソフト
による変換を最少限に止めながらハードウェアによる高
速処理を容易に実現する事が出来、実用効果が極めて高
い。
That is, the control of the CPU bus instruction cycle unit and the image pattern byte unit is possible, since the conversion by the hardware using the image pattern conversion means and the conversion processing by the software using the CPU can be timely shared. High-speed processing by hardware can be easily realized while minimizing conversion by software, and the practical effect is extremely high.

又前記画像パターン記憶手段から前記変換手段へのデ
ータを転送する場合及び変換後のデータを画像パターン
変換手段から画像RAMその他の所定のデバイスにデータ
を転送する命令サイクルは、パターン変換手段等のハー
ドウエアにより一任するのではなく、CPUよりのWRITE命
令サイクルに基づいて転送されるため、その転送データ
量は他の外部装置なしでCPU自体が把握出来、結果とし
て回路構成が簡単化する。
The instruction cycle for transferring data from the image pattern storage means to the conversion means and for transferring the converted data from the image pattern conversion means to an image RAM or other predetermined device is performed by hardware such as pattern conversion means. Since the data is transferred based on the WRITE instruction cycle from the CPU, instead of being left to the discretion of the hardware, the transfer data amount can be grasped by the CPU itself without any other external device, and as a result, the circuit configuration is simplified.

更に、請求項3)に記載したように、前記ハードウエ
アによる画像パターン転送用のバスラインは、CPUが画
像RAMにデータを転送する通常のCPUバスラインと別個に
形成している為に、画像パターン変換手段から変換され
たパターンデータを画像格納用RAMに転送する場合に
も、メインCPUのWRITE命令サイクルにおいて行う事が出
来、これにより画像パターン変換手段から転送されるパ
ターンデータ量においても他の外部記憶装置なしでCPU
自体が把握出来、回路構成が一層簡単化し且つその間CP
Uが前記CPUバスラインを利用して別異の動作が出来る為
に一層データ処理の高速化が達成し得る。等の種々の効
果を有す。
Further, as described in claim 3), the bus line for transferring the image pattern by the hardware is formed separately from the normal CPU bus line for transferring data to the image RAM by the CPU. When transferring the pattern data converted from the pattern conversion means to the image storage RAM, the transfer can be performed in the WRITE instruction cycle of the main CPU, so that the amount of pattern data transferred from the image pattern conversion means is also different. CPU without external storage
It can grasp itself, circuit configuration is further simplified, and CP
Since U can perform different operations using the CPU bus line, the speed of data processing can be further increased. And so on.

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

図面は本発明に係る画像データ転送制御装置が組込まれ
たプリンタのコントローラを示すブロック図である。
The drawing is a block diagram showing a controller of a printer in which the image data transfer control device according to the present invention is incorporated.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像パターン記憶手段から読み出された画
像データを、縦横変換処理を含む角度変換処理(以下回
転処理という)し且つ特殊記号を付与して任意のデバイ
スに転送する画像データ転送制御方式において、画像パ
ターン記憶手段よりハードウェアにより構成された画像
パターン変換手段に、CPUよりのWRITE命令サイクルに基
づいて画像データを転送しながら回転処理を行うととも
に、必要に応じて前記WRITE命令サイクルをREAD命令サ
イクルに切り替え、該READ命令サイクルに基づいて前記
画像パターン記憶手段から読み出された特殊記号の回転
処理を行う事を特徴とする画像データ転送制御方式
An image data transfer control for performing angle conversion processing (hereinafter referred to as rotation processing) including vertical / horizontal conversion processing, adding a special symbol, and transferring the image data read from the image pattern storage means to an arbitrary device. In the method, the image pattern storage means performs rotation processing while transferring image data based on a WRITE instruction cycle from the CPU to an image pattern conversion means configured by hardware, and executes the WRITE instruction cycle as necessary. An image data transfer control method characterized by switching to a READ instruction cycle and performing a rotation process of a special symbol read from the image pattern storage means based on the READ instruction cycle.
【請求項2】画像パターン記憶手段から読み出された画
像データを、回転処理して任意のデバイスに転送可能に
構成した画像データ転送制御装置において、CPUのREAD
及びWRITE命令のいずれの命令サイクルにおいても読み
出し可能な画像パターン記憶手段と、ハードウェアによ
り構成された画像パターン変換手段を有し、前記WRITE
命令に基づいて前記画像パターン記憶手段より画像パタ
ーン変換手段に画像データを転送しながら変換処理を行
う事を特徴とする画像データ転送制御装置
2. An image data transfer control device configured to rotate image data read from an image pattern storage means and transfer the image data to an arbitrary device.
And an image pattern storage unit readable by any of the instruction cycles of the WRITE instruction and an image pattern conversion unit configured by hardware.
An image data transfer control device for performing a conversion process while transferring image data from said image pattern storage means to an image pattern conversion means based on a command.
【請求項3】画像パターン記憶手段から読み出された画
像データを、回転処理して任意のデバイスに転送可能に
構成した画像データ転送制御装置において、CPUと外部
装置とのデータの読み出し書き込みに使用されるバスラ
インと別個に、前記画像パターン記憶手段から読み出さ
れた画像データをハードウェアにより構成されたパター
ン変換手段により回転処理をしながら前記デバイスに転
送する第二のバスラインを設け、これらのバスラインの
切り替えをCPUのREAD/WRITE命令サイクルの切り替えに
対応させて行う事を特徴とする画像データ転送制御装置
3. An image data transfer control device configured to be able to rotate image data read from an image pattern storage means and to transfer the image data to an arbitrary device, to read and write data between a CPU and an external device. Separately from the bus line to be provided, a second bus line for transferring image data read from the image pattern storage unit to the device while performing rotation processing by a pattern conversion unit configured by hardware, Image data transfer control device, wherein the switching of the bus lines is performed in accordance with the switching of the READ / WRITE instruction cycle of the CPU.
【請求項4】前記デバイスが画像メモリである請求項
1)、2)又は3)記載の画像データ転送制御装置
4. An image data transfer control device according to claim 1, wherein said device is an image memory.
JP63102622A 1988-04-27 1988-04-27 Image data transfer control method and device Expired - Lifetime JP2711673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63102622A JP2711673B2 (en) 1988-04-27 1988-04-27 Image data transfer control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63102622A JP2711673B2 (en) 1988-04-27 1988-04-27 Image data transfer control method and device

Publications (2)

Publication Number Publication Date
JPH01275045A JPH01275045A (en) 1989-11-02
JP2711673B2 true JP2711673B2 (en) 1998-02-10

Family

ID=14332345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63102622A Expired - Lifetime JP2711673B2 (en) 1988-04-27 1988-04-27 Image data transfer control method and device

Country Status (1)

Country Link
JP (1) JP2711673B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005331559A (en) * 2004-05-18 2005-12-02 Matsushita Electric Ind Co Ltd Image signal processing apparatus

Also Published As

Publication number Publication date
JPH01275045A (en) 1989-11-02

Similar Documents

Publication Publication Date Title
US5706034A (en) Graphic processing apparatus and method
JPH0563818B2 (en)
US5122973A (en) Front-end system for a raster output scanner
US5347617A (en) Printer having a multiple scan line printhead controller
JP3337684B2 (en) Printer control system
JP2711673B2 (en) Image data transfer control method and device
JP2748003B2 (en) Character pattern rotation processing method
JP2748004B2 (en) Rotation processing method of character pattern group
JPS6183048A (en) Image data rotary apparatus
KR890001867B1 (en) Latter image modulating method and device
JPS62257563A (en) Data transfer controller
JP3059618B2 (en) Image control device
JPS60142756A (en) Time division multiplex memory bank control system
JPH0439434B2 (en)
JPS61140986A (en) Character rotation apparatus
JPH02295772A (en) Raster scan type perfecting printer
JPH044953B2 (en)
JPS60136824A (en) Printer control device
JPH0239383A (en) Image processor
JPH1040167A (en) Picture processor
JPS59143187A (en) Character output controller
JPS583024A (en) Character pattern generating and processing system
JPH04241967A (en) Character pattern processing system
JP2001036730A (en) Image processor
JPH03246596A (en) Bit map display controller