JPH0561985A - Data processor - Google Patents

Data processor

Info

Publication number
JPH0561985A
JPH0561985A JP3043245A JP4324591A JPH0561985A JP H0561985 A JPH0561985 A JP H0561985A JP 3043245 A JP3043245 A JP 3043245A JP 4324591 A JP4324591 A JP 4324591A JP H0561985 A JPH0561985 A JP H0561985A
Authority
JP
Japan
Prior art keywords
data
circuit
output
contour
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.)
Pending
Application number
JP3043245A
Other languages
Japanese (ja)
Inventor
Toshihiko Kawabata
俊彦 川畑
Masao Kimura
正夫 木村
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.)
MOJI ZUKEI CENTER KK
Rasco Co Ltd
Original Assignee
MOJI ZUKEI CENTER KK
Rasco Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MOJI ZUKEI CENTER KK, Rasco Co Ltd filed Critical MOJI ZUKEI CENTER KK
Priority to JP3043245A priority Critical patent/JPH0561985A/en
Publication of JPH0561985A publication Critical patent/JPH0561985A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To shorten the time until the time to prepare the data of a dot pattern to paint out the internal part from the outline data like a vector font, etc., is made fast and the character, etc., are outputted. CONSTITUTION:When a processor 1 develops the data given by a vector to the dot pattern of each picture element unit and the outline data are written in an image memory 3, the data to paint out the internal part of the outline data are prepared by a painting-out circuit 4 constituted of hardware, and this is outputted to an output device 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ベクトルデータで与え
られた文字や図形を高速に表示したり印字したりするこ
とのできるデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device capable of displaying and printing characters and figures given by vector data at high speed.

【0002】[0002]

【従来の技術】ワードプロセッサやパーソナルコンピュ
ータ等のデータ処理装置で文字を表示したり印字する場
合、文字を縮小,拡大したり回転させるのに便利なた
め、近年の多くのデータ処理装置は、文字データをベク
トルフォントで持つようになってきている。また、図形
のデータもベクトルで持つのが普通になってきている。
このベクトルデータを、表示するために画面の各ドット
(画素)に展開した場合、それをそのまま出力すると、
その文字や図形の輪郭のみが表示されることになる。例
えば、「A」というベクトルフォントをビットデータに
展開した場合、その輪郭部分のみが「表示」を示すデー
タ“1”となり、それ以外は「無表示」の“0”となる
(尚、実際には、展開したとき横1ラインのデータ
“1”が多数連続する箇所は両端のみ“1”とし中間は
“0”となるようにソフトウェアにて展開する。このよ
うに展開したデータを図9に示す。)。図9のデータを
そのまま表示すると、図10に示す様になる。この様な
文字は見づらいので、通常は、文字内を塗りつぶしたデ
ータを図11に示す様に表示させる。
2. Description of the Related Art When displaying or printing characters with a data processing device such as a word processor or a personal computer, it is convenient to reduce, enlarge or rotate the characters. Are being used in vector fonts. In addition, it is becoming common to have graphic data as vectors.
When this vector data is expanded to each dot (pixel) on the screen for display, if it is output as it is,
Only the outline of the character or figure will be displayed. For example, when a vector font "A" is expanded into bit data, only the outline portion becomes data "1" indicating "display", and other than that becomes "no display""0" (actually, actually). Is expanded by software so that when expanded, a large number of horizontal 1-line data "1" s are "1" only at both ends and "0" in the middle. Show.). If the data of FIG. 9 is displayed as it is, it becomes as shown in FIG. Since such a character is hard to see, normally, the data in which the character is filled is displayed as shown in FIG.

【0003】文字データをベクトルフォントで持ち、表
示あるいは印字するときに輪郭内部を塗りつぶす場合、
従来は、表示する各画素(ドット)が表示対象文字の輪
郭内にくるか輪郭外となるかをソフトウェアにて識別
し、輪郭内部であればそのデータを“0”から“1”に
ソフト的に書き直し、それを表示装置の方に送り、図1
1のように表示するようにしている。以上は、「表示」
について説明したが、「印字」の場合についても同様で
ある。
When character data is stored in a vector font and the inside of the contour is filled when displaying or printing,
Conventionally, software identifies whether each pixel (dot) to be displayed is inside or outside the contour of the display target character, and if it is inside the contour, the data is changed from “0” to “1” by software. And send it to the display device.
It is displayed as 1. The above is "display"
However, the same applies to the case of "printing".

【0004】[0004]

【発明が解決しようとする課題】文字や図形を表示した
り印字するときに、上述した従来技術のように、各ドッ
トが輪郭内部であるか否かを一々ソフトウェアで識別処
理し輪郭内部のデータを書き直していたのでは、CPU
の負担が大きく、また、処理に時間がかかるため、実際
に表示したり印字したりするまでに時間がかかるという
問題がある。
When displaying or printing a character or a graphic, software for identifying whether or not each dot is inside the contour is individually processed by software as in the above-mentioned prior art, and data inside the contour is processed. Was rewritten, CPU
However, there is a problem in that it takes a long time to display and print because the processing load is heavy and the processing takes time.

【0005】本発明の目的は、文字や図形を短時間で出
力できるデータ処理装置を提供することにある。
An object of the present invention is to provide a data processing device capable of outputting characters and graphics in a short time.

【0006】[0006]

【課題を解決するための手段】上記目的は、ベクトルで
与えられたデータをドットパターンに展開する処理装置
と、メモリに格納されたデータを表示あるいは印字する
出力装置とを備えるデータ処理装置において、前記ドッ
トパターンで表された輪郭データの1ライン上の一方の
端から奇数番目と偶数番目の“1”のデータの間に
“0”のデータがあるときはこれを“1”に変換したデ
ータを前記メモリに書き込む輪郭内データ塗りつぶし回
路を設けることで、達成される。
The above object is to provide a data processing device comprising a processing device for developing data given by a vector into a dot pattern, and an output device for displaying or printing the data stored in the memory, When there is "0" data between the odd-numbered and even-numbered "1" data from one end on one line of the contour data represented by the dot pattern, the data converted to "1" This is achieved by providing an in-contour data filling circuit for writing

【0007】[0007]

【作用】輪郭内データをハードウェアの回路にて塗りつ
ぶす構成のため、CPUの塗りつぶしのための負担がな
くなり、且つ高速に塗りつぶし作業ができるので、ベク
トルフォント等を用いた文字や図形を高速に出力するこ
とが可能となる。
[Function] Since the data in the contour is filled by the hardware circuit, the burden of filling the CPU is eliminated and the filling work can be performed at high speed. Therefore, characters and figures using vector fonts can be output at high speed. It becomes possible to do.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は、本発明の一実施例に係る輪郭内データ
塗りつぶし回路を適用したデータ処理装置の全体構成図
である。このデータ処理装置は、各種演算を行い他の回
路を制御する処理装置(CPU)1と、表示装置,プリ
ンタ等の出力装置2と、表示装置に表示する1画面分の
データを格納するイメージメモリ3と、詳細は後述する
輪郭内データ塗りつぶし回路4と、これらを相互に接続
するバス5とで構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an overall configuration diagram of a data processing device to which an in-contour data filling circuit according to an embodiment of the present invention is applied. This data processing device includes a processing device (CPU) 1 for performing various calculations and controlling other circuits, an output device 2 such as a display device and a printer, and an image memory for storing one screen of data to be displayed on the display device. 3, a contour data filling circuit 4 which will be described later in detail, and a bus 5 which interconnects these.

【0009】図2は、輪郭内データ塗りつぶし回路4の
構成図である。この塗りつぶし回路4は、CPU1側か
らバス5に出力された輪郭データを、一ライン毎に取り
込むラッチ回路10と、ラッチ回路10が取り込んだデ
ータから輪郭内データ“0”を“1”に置き換えるペイ
ント回路11と、置き換えた後のデータを一時蓄え、バ
ス5を通して出力装置2に出力する読み出しバッファ1
2とから成る。
FIG. 2 is a block diagram of the contour data filling circuit 4. The filling circuit 4 is a paint circuit that takes in the contour data output from the CPU 1 side to the bus 5 for each line, and a paint that replaces the in-contour data “0” with “1” from the data fetched by the latch circuit 10. The circuit 11 and the read buffer 1 that temporarily stores the data after the replacement and outputs the data to the output device 2 through the bus 5.
It consists of 2.

【0010】図3及び図4は図2に示す塗りつぶし回路
4の詳細構成図であり、1図として表示することができ
ないので、2つの図に分けている(図3が左半分を、図
4が右半分を示すものである。)。塗りつぶし回路は、
好適には、一ラインのデータを一度に取り込んで輪郭内
データであるか否かを論理判定し輪郭内データ“0”を
“1”に置き換える構成とすることが好ましいが、本実
施例では、16ビットのCPUを使用する関係で、一ラ
インのデータを左端から16ドットづつ取り込んで輪郭
内データを塗りつぶしたデータを生成し出力するように
している。
FIGS. 3 and 4 are detailed configuration diagrams of the filling circuit 4 shown in FIG. 2. Since these cannot be displayed as one diagram, they are divided into two diagrams (FIG. 3 shows the left half of FIG. Indicates the right half.). The fill circuit is
It is preferable to take in one line of data at a time and perform a logical determination as to whether or not the data is the contour data and replace the contour data “0” with “1”. However, in the present embodiment, Due to the use of a 16-bit CPU, 16 lines of data for each line are fetched from the left end, and data in which contour data is filled is generated and output.

【0011】図3のバス5から取り込まれた16ビット
(各ビットが表示画面の1ドットに対応する。)の輪郭
データは、8ビットづつラッチ回路10a,10bにラ
ッチされる。ラッチ回路10a,10bにラッチされた
16ビットの輪郭データは、図4のペイント回路11
a,11b,11c,11dに送られ、各ペイント回路
11a〜11dで後述するように処理される。ラッチ回
路11eは、16ビット毎の各境界での連続性を制御す
るために設けたものであり、前回の輪郭データを処理し
て得た16ビット目の出力信号をoD15、前回の処理
でのキャリーアウトCo3、前回の輪郭データの16ビ
ット目の入力信号iD15を、夫々ii0,ii1,i
i2として出力する。ペイント回路11a〜11dの出
力信号OD0〜OD15は、読み出し用バッファ回路1
2a,12bに送られて一時蓄えられ、このバッファ回
路12a,12bの出力信号がバス5を介して出力装置
に送られる。ペイント回路11a〜11dは同一構成で
あり、その詳細回路を図5に示す。このペイント回路
は、8個のオアゲートと、12個のアンドゲートと、1
3個のノット回路で構成される。
The 16-bit contour data (each bit corresponds to one dot on the display screen) fetched from the bus 5 of FIG. 3 is latched by latch circuits 10a and 10b in units of 8 bits. The 16-bit contour data latched by the latch circuits 10a and 10b is the paint circuit 11 of FIG.
a, 11b, 11c, 11d, and processed in each paint circuit 11a-11d as described later. The latch circuit 11e is provided to control the continuity at each boundary for every 16 bits, and the 16th bit output signal obtained by processing the previous contour data is oD15, The carry-out Co3 and the input signal iD15 of the 16th bit of the previous contour data are set to ii0, ii1, and i, respectively.
Output as i2. The output signals OD0 to OD15 of the paint circuits 11a to 11d are read by the read buffer circuit 1
The output signals of the buffer circuits 12a and 12b are sent to the output device via the bus 5 and sent to the output devices 2a and 12b for temporary storage. The paint circuits 11a to 11d have the same configuration, and a detailed circuit thereof is shown in FIG. This paint circuit consists of 8 OR gates, 12 AND gates, 1
It is composed of three knot circuits.

【0012】次に、上述した構成の輪郭内データ塗りつ
ぶし回路の動作について説明する。例えば図12の上段
に示す一ライン64ビットの輪郭データが16ビットづ
つCPU側からバス5に出力されたとする。“1”のデ
ータは、左端から2番目,3番目,5番目,8番目,1
3番目,28番目,37番目,45番目,57番目,6
1番目であり、その他は“0”である。この“0”のデ
ータのうち輪郭内部のデータは、5〜8番目の間,13
〜28番目の間,37〜45番目の間、57〜61番目
の間であり、この部分のデータ“0”を“1”に置き換
えて図12の最下段データとすることで、塗りつぶしが
できる。2番目と3番目に“1”のデータが連続する
が、この部分は、文字の上端部に当たるため“1”が連
続するのであり、4番目の“0”を挟んで5番目の
“1”が次の線の輪郭の始まりとなる。本実施例は、文
字の上端部で2つの“1”が連続する場合についても対
処するものである。もし、展開パターンが図9に示す様
に、上端部でも必ず“0”を間に挟むようになっている
場合には、連続する2つの“1”について対処する回路
構成は不要となる。
Next, the operation of the in-contour data filling circuit having the above configuration will be described. For example, suppose that the contour data of 64 bits per line shown in the upper part of FIG. 12 is output to the bus 5 from the CPU side by 16 bits. The data of “1” is the 2nd, 3rd, 5th, 8th, 1 from the left end.
3rd, 28th, 37th, 45th, 57th, 6
It is the first and the others are "0". Among the data of "0", the data inside the contour is between the 5th and 8th
It is possible to fill by replacing the data “0” of this part with “1” and making it the lowest data in FIG. 12 between the 28 th to the 28 th, the 37 th to the 45 th, and the 57 th to the 61 st. .. The data of "1" continues in the second and third, but since this part hits the upper end of the character, "1" is continuous, and the fifth "1" is sandwiched by the fourth "0". Is the beginning of the contour of the next line. This embodiment also deals with the case where two "1" s continue at the upper end of a character. If the developed pattern is such that "0" is always sandwiched even at the upper end as shown in FIG. 9, the circuit configuration for coping with two consecutive "1" s is unnecessary.

【0013】本実施例では、最初の16ビット(図12
の例で、“0110100100001000”の輪郭
データがコントロール信号WRITE−Nの立ち上がり
でラッチ回路10に取り込まれ、後段のペイント回路に
送られる。このラッチ回路に取り込まれた信号iD0〜
iD15のうち、最初の4つの信号iD0〜iD3がペ
イント回路11dの入力端d,e,f,gに入力され
る。ラッチ回路11eからペイント回路11dに出力さ
れる信号ii0,ii1,ii2は、入力端a,b,c
に入力される。
In the present embodiment, the first 16 bits (see FIG. 12)
In the above example, the contour data of “011010010001000” is taken into the latch circuit 10 at the rising edge of the control signal WRITE-N and sent to the paint circuit in the subsequent stage. The signals iD0 to iD0 fetched by this latch circuit
Of the iD15, the first four signals iD0 to iD3 are input to the input terminals d, e, f, g of the paint circuit 11d. The signals ii0, ii1, and ii2 output from the latch circuit 11e to the paint circuit 11d are input terminals a, b, and c.
Entered in.

【0014】ラッチ11eの出力信号ii0,ii1,
112の初期値はいずれも“0”であり、信号iD0〜
iD3は、図12の例では“0110”である。つま
り、図5の入力端子a〜gに“0000110”が入力
する。これにより、ペイント回路11dのJ端子出力は
“0”,K端子出力は“1”,L端子出力は“1”,M
端子出力は“0”,N端子出力(キャリー出力)は
“0”となる。このJ,K,L,M端子出力は夫々0番
目〜3番目までの出力信号oD0〜oD3として読み出
し用のバッファ回路12に送られ、ここに一時蓄えられ
る。
Output signals ii0, ii1, of the latch 11e
The initial values of 112 are all “0”, and the signals iD0 to iD0
iD3 is “0110” in the example of FIG. That is, "0000110" is input to the input terminals a to g of FIG. As a result, the J terminal output of the paint circuit 11d is "0", the K terminal output is "1", the L terminal output is "1", and the M terminal is M.
The terminal output is "0" and the N terminal output (carry output) is "0". The outputs of the J, K, L, and M terminals are sent to the read buffer circuit 12 as the 0th to 3rd output signals oD0 to oD3, respectively, and are temporarily stored therein.

【0015】ペイント回路11cのd,e,f,g入力
端子には、16ビットの輪郭データ中の次の4つの信号
iD4,iD5,iD6,iD7(図12の例では、
“1001”)が入力される。a入力端子には、1ビッ
ト下位の出力データoD3(ペイント回路11dのM端
子出力)が入力され、b入力端子にはペイント回路11
dのキャリー出力(N端子出力)が入力され、c入力端
子には1ビット下位の入力信号iD3が入力される。こ
のように、a〜g入力端子に“0001001”が入力
されると、ペイント回路11cのJ,K,L,M,N端
子出力は、“11110”となる。つまり、出力信号o
D4〜oD7は“1111”となり、これがバッファ1
2に送られる。
At the d, e, f, and g input terminals of the paint circuit 11c, the following four signals iD4, iD5, iD6, iD7 in the 16-bit contour data (in the example of FIG. 12,
"1001") is input. 1-bit lower output data oD3 (M terminal output of the paint circuit 11d) is input to the a input terminal, and the paint circuit 11 is input to the b input terminal.
The carry output of d (N terminal output) is input, and the 1-bit lower input signal iD3 is input to the c input terminal. In this way, when "0001001" is input to the ag input terminals, the J, K, L, M, N terminal outputs of the paint circuit 11c become "11110". That is, the output signal o
D4 to oD7 are "1111", which is buffer 1
Sent to 2.

【0016】以下、同様にして、ペイント回路11bの
a〜g端子への入力信号は“1010000”となって
そのJ〜N端子出力は“00000”となり、ペイント
回路11aのa〜g端子への入力信号は“000100
0”となってそのJ〜N端子出力は“11111”とな
る。このようにして16ビットの信号処理が終了する
と、バッファ12に蓄えられた信号oD0〜oD15
“0110111100001111”が、コントロー
ル信号READ−Nの立ち上がりでバス5に出力され、
出力装置に送られる。そして、次の16ビットの輪郭デ
ータ(図12の例では、“0000000000010
000”)がラッチ回路10にラッチされる。このと
き、ラッチ回路11eの出力(ii0,ii1,ii
2)は(1,1,0)となるので、回路11dのJ〜N
端子の出力は“11111”となる。以下、同様の処理
が繰り返され、図12の最下段の結果が得られる。
In the same manner, the input signal to the terminals a to g of the paint circuit 11b becomes "1010000" and its J to N terminal output becomes "00000", and the signals a to g of the paint circuit 11a are input. Input signal is “000100
When the 16-bit signal processing is completed in this way, the signals oD0 to oD15 stored in the buffer 12 are output.
“0110111100001111” is output to the bus 5 at the rising edge of the control signal READ-N,
It is sent to the output device. Then, the next 16-bit contour data (in the example of FIG. 12, “00000000000010”)
000 ″) is latched by the latch circuit 10. At this time, the outputs (ii0, ii1, ii) of the latch circuit 11e.
2) is (1,1,0), so that J to N of the circuit 11d is
The output of the terminal is "11111". Thereafter, the same processing is repeated, and the result of the lowermost stage of FIG. 12 is obtained.

【0017】図6は、前述した塗りつぶし回路を適用し
たデータ処理装置の別実施例の構成図である。本実施例
では、イメージメモリ3とCPU1との間に塗りつぶし
回路4が介在する構成になっている。この構成では、C
PU1が輪郭データをイメージメモリ3に書き込み、こ
のメモリ3内の輪郭データを出力装置2に出力すると
き、塗りつぶし回路4がこの輪郭データを取り込んで塗
りつぶしたデータを作成し、これを出力装置2に出力す
るようになっている。
FIG. 6 is a block diagram of another embodiment of the data processing device to which the above-mentioned filling circuit is applied. In this embodiment, the filling circuit 4 is interposed between the image memory 3 and the CPU 1. In this configuration, C
When the PU 1 writes the contour data in the image memory 3 and outputs the contour data in the memory 3 to the output device 2, the filling circuit 4 takes in the contour data and creates filled data, and the data is output to the output device 2. It is designed to output.

【0018】図7は、上述した塗りつぶし回路とその周
辺回路の詳細図である。図7において、9はコントロー
ル回路、19はRAMである。また、バッファ20は、
CPUのデータバスとRAM19との間に設けられ、ペ
イントモード(PMODE)信号を受けると、CPUの
データバスとRAM19との接続を遮断するようになっ
ている。CSはRAM19のチップセレクト信号、OE
はアウトプットイネーブル、WEはライトイネーブル、
ASはアドレスストローブ、DSはデータストローブ、
RWはCPUからのリードライト制御信号、DACKは
CPUに対しデータの受け取り,書き込みが完了したこ
とを示す信号あるいはCPUに対するウェイト信号、P
MODEは塗りつぶし動作開始制御信号であり、各信号
はコントロール回路9で制御される。
FIG. 7 is a detailed diagram of the above-mentioned painting circuit and its peripheral circuits. In FIG. 7, 9 is a control circuit and 19 is a RAM. Also, the buffer 20 is
It is provided between the CPU data bus and the RAM 19 and cuts off the connection between the CPU data bus and the RAM 19 when receiving a paint mode (PMODE) signal. CS is a chip select signal of RAM 19, OE
Is output enable, WE is write enable,
AS is the address strobe, DS is the data strobe,
RW is a read / write control signal from the CPU, DACK is a signal indicating completion of data reception and writing to the CPU, or a wait signal to the CPU, P
MODE is a painting operation start control signal, and each signal is controlled by the control circuit 9.

【0019】CPUから送られてくる輪郭データは、一
時このRAM19に蓄えられる。このRAM19内に格
納された輪郭データをCPUが読み出す場合、Pモード
信号をコントロール回路9に出力する。これにより、バ
ッファ20はRAM19とデータバスとの接続を遮断す
る。この状態で、CPUがアドレスバスにてRAM19
の番地を指定すると、その番地に格納されている輪郭デ
ータがRAM19から読み出されるが、この輪郭データ
は、データバスにそのまま出力されることはなく、塗り
つぶし回路4に送られ、ここで塗りつぶされたデータが
作成され、データバスに出力される。本実施例での塗り
つぶし時間は数百ns〜1μs程度なので、その間、C
PUをウェイトさせる必要がある。また、塗りつぶした
データはRAM19上に保存されず、表示,印字等の出
力優先のスピード回路といえる。図8は、図7とは別の
実施例に係る周辺回路の構成図である。図8において、
バッファ21は、Pモードでオンとなるようになってい
る。通常の場合には、CPUはこのRAM19に対しリ
ード,ライトが可能となっており、CPUは、先ずこの
RAM19に輪郭データを書き込む。塗りつぶし用の元
データがRAM19にセットされたら、CPUはPモー
ド信号をセットする。これにより、バッファ20がオフ
(遮断)、バッファ21がオン(導通)となる。
The contour data sent from the CPU is temporarily stored in the RAM 19. When the CPU reads the contour data stored in the RAM 19, the P mode signal is output to the control circuit 9. As a result, the buffer 20 cuts off the connection between the RAM 19 and the data bus. In this state, the CPU uses the address bus to RAM 19
When the address is designated, the contour data stored in that address is read from the RAM 19, but this contour data is not output to the data bus as it is, but is sent to the painting circuit 4 and is filled there. Data is created and output on the data bus. In the present embodiment, the filling time is about several hundreds ns to 1 μs.
PU needs to be weighted. Further, the filled data is not stored in the RAM 19 and can be said to be a speed circuit with output priority such as display and printing. FIG. 8 is a configuration diagram of a peripheral circuit according to another embodiment different from FIG. In FIG.
The buffer 21 is turned on in the P mode. In the normal case, the CPU can read and write to the RAM 19, and the CPU first writes the contour data in the RAM 19. When the original data for filling is set in the RAM 19, the CPU sets the P mode signal. As a result, the buffer 20 is turned off (cut off) and the buffer 21 is turned on (conduction).

【0020】CPUがアドレスバスを通してRAMの番
地に対しリード命令を発行する。これにより、当該番地
の輪郭データがRAM19からデータバス側に出力され
る。しかし、この輪郭データは、バッファ20に阻まれ
てCPUのデータバスには出力されず、バッファ21を
介して塗りつぶし回路4に取り込まれる。塗りつぶし回
路4は、上述した塗りつぶし作業を行い、塗りつぶした
データをバッファ21を介してRAM19側に出力す
る。
The CPU issues a read command to the RAM address through the address bus. As a result, the contour data of the address is output from the RAM 19 to the data bus side. However, the contour data is blocked by the buffer 20 and is not output to the data bus of the CPU, but is taken into the filling circuit 4 via the buffer 21. The filling circuit 4 performs the above-described filling work and outputs the filled data to the RAM 19 side via the buffer 21.

【0021】CPUは、前記のリード命令発行後一定時
間待ってライト命令を発行し、CPUのデータバス上の
データをライト命令で指定した番地に書き込もうとする
が、バッファ20が遮断状態になっているので、このラ
イト命令で書き込まれるのは、塗りつぶし回路4からバ
ッファ21を通して出力されたデータつまり塗りつぶさ
れたデータとなる。上述したリード・ライト各一動作
で、1ラインまたは1バイトまたは1ワード分のデータ
の塗りつぶしが終了する。後は、必要なライン分だけ同
じ動作が繰り返され、塗りつぶされたデータがRAM1
9内で完成する。Pモードが解除され、バッファ21が
オフ,バッファ20がオンとなると、RAM19内の塗
りつぶされたデータが出力装置側に出力される。この実
施例では、CPUは、Pモード信号を出力するだけで、
後は塗りつぶし作業を意識せずに動作し、塗りつぶし回
路4がCPUのRAM19に対するリード・ライトのバ
スサイクルを利用して塗りつぶし作業を実行し、塗りつ
ぶしデータが作成される。
The CPU tries to write the data on the data bus of the CPU to the address specified by the write command after waiting for a certain period of time after issuing the read command, but the buffer 20 is cut off. Therefore, what is written by this write command is the data output from the filling circuit 4 through the buffer 21, that is, the filled data. The above-described read / write operation completes the filling of data for one line, one byte, or one word. After that, the same operation is repeated for the necessary lines, and the filled data is stored in RAM1.
Completed within 9. When the P mode is released, the buffer 21 is turned off and the buffer 20 is turned on, the filled data in the RAM 19 is output to the output device side. In this embodiment, the CPU only outputs the P-mode signal,
After that, the painting operation is performed without being aware of the painting work, and the painting circuit 4 executes the painting work by utilizing the read / write bus cycle for the RAM 19 of the CPU, and the painting data is created.

【0022】[0022]

【発明の効果】本発明によれば、ハードウェアにて輪郭
データの塗りつぶしが行われるので、データが実際に出
力(表示あるいは印字)されるまで短時間で済み、ま
た、ソフトウェアが簡単となってCPUの負荷が軽減す
るという効果がある。
According to the present invention, since the contour data is filled in by hardware, it takes only a short time until the data is actually output (displayed or printed), and the software is simplified. This has the effect of reducing the load on the CPU.

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

【図1】本発明の一実施例に係る塗りつぶし回路を適用
したデータ処理装置の構成図である。
FIG. 1 is a configuration diagram of a data processing device to which a filling circuit according to an embodiment of the present invention is applied.

【図2】図1に示す塗りつぶし回路の構成図である。FIG. 2 is a configuration diagram of a filling circuit shown in FIG.

【図3】図2に示す塗りつぶし回路の詳細構成図(左半
分)である。
FIG. 3 is a detailed configuration diagram (left half) of the painting circuit shown in FIG.

【図4】図2に示す塗りつぶし回路の詳細構成図(右半
分)である。
FIG. 4 is a detailed configuration diagram (right half) of the filling circuit shown in FIG.

【図5】図3,図4に示す回路11a〜11dの内部論
理回路である。
5 is an internal logic circuit of circuits 11a to 11d shown in FIGS. 3 and 4. FIG.

【図6】本発明の別実施例のデータ処理装置の構成図で
ある。
FIG. 6 is a configuration diagram of a data processing device according to another embodiment of the present invention.

【図7】塗りつぶし回路とその周辺回路の接続構成図で
ある。
FIG. 7 is a connection configuration diagram of a painting circuit and its peripheral circuit.

【図8】塗りつぶし回路とその周辺回路の別の接続構成
図である。
FIG. 8 is another connection configuration diagram of the filling circuit and its peripheral circuit.

【図9】記号Aの輪郭データである。9 is contour data of symbol A. FIG.

【図10】図9の輪郭データの印字例を示す図である。10 is a diagram showing a print example of the contour data of FIG.

【図11】図10の輪郭データを塗りつぶしたデータの
印字例を示す図である。
11 is a diagram showing a print example of data obtained by painting the contour data of FIG.

【図12】塗りつぶし回路の塗りつぶし作業の説明図で
ある。
FIG. 12 is an explanatory diagram of a painting operation of a painting circuit.

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

1…処理装置、2…出力装置、3…イメージメモリ、4
…塗りつぶし回路、5…バス、9…コントロール回路、
10…ラッチ回路、11…ペイント回路、12…読出用
バッファ回路、20,21…バッファ回路。
1 ... Processing device, 2 ... Output device, 3 ... Image memory, 4
... Fill circuit, 5 ... Bus, 9 ... Control circuit,
10 ... Latch circuit, 11 ... Paint circuit, 12 ... Read buffer circuit, 20, 21 ... Buffer circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ベクトルで与えられたデータをドットパ
ターンに展開する処理装置と、メモリに格納されたデー
タを表示あるいは印字する出力装置とを備えるデータ処
理装置において、前記ドットパターンで表された輪郭デ
ータの1ライン上の一方の端から奇数番目と偶数番目の
“1”のデータの間に“0”のデータがあるときはこれ
を“1”に変換したデータを前記メモリに書き込む輪郭
内データ塗りつぶし回路を設けたことを特徴とするデー
タ処理装置。
1. A data processing device comprising a processing device for developing data given by a vector into a dot pattern, and an output device for displaying or printing data stored in a memory, wherein a contour represented by the dot pattern. When there is "0" data between the odd-numbered and even-numbered "1" data from one end on one line of data, the data converted into "1" is written in the contour data. A data processing device comprising a filling circuit.
JP3043245A 1991-03-08 1991-03-08 Data processor Pending JPH0561985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3043245A JPH0561985A (en) 1991-03-08 1991-03-08 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3043245A JPH0561985A (en) 1991-03-08 1991-03-08 Data processor

Publications (1)

Publication Number Publication Date
JPH0561985A true JPH0561985A (en) 1993-03-12

Family

ID=12658503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3043245A Pending JPH0561985A (en) 1991-03-08 1991-03-08 Data processor

Country Status (1)

Country Link
JP (1) JPH0561985A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6134677A (en) * 1984-07-27 1986-02-18 Photo Composing Mach Mfg Co Ltd Image outline processing circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6134677A (en) * 1984-07-27 1986-02-18 Photo Composing Mach Mfg Co Ltd Image outline processing circuit

Similar Documents

Publication Publication Date Title
KR100221028B1 (en) Graphic accelerator and memory-prefetching method of it
JPH0429069B2 (en)
GB2149157A (en) High-speed frame buffer refresh apparatus and method
US5248964A (en) Separate font and attribute display system
US5678037A (en) Hardware graphics accelerator system and method therefor
JPS61254983A (en) Display character attribute control system
JPS6267632A (en) Method and apparatus for transferring data to display unit from memory
JPH0561985A (en) Data processor
JPH0561986A (en) In-outline data painting-out circuit
US5949442A (en) Display device in which display information is smoothly scrolled
US6535214B1 (en) Semiconductor device for display control
JPS63251864A (en) Display device
JPS61278886A (en) Memory access unit
JPS62113193A (en) Memory circuit
JP3358698B2 (en) Drawing equipment
JPH07199907A (en) Display controller
JPH06214749A (en) Plotting controller
KR20000015972A (en) Method and apparatus for efficient memory-read operations with a vga-compliant video display adaptor
JPH02196296A (en) Character generator
JPH0553548A (en) Display controller
JPH0822411A (en) Image memory initializing device
JPH06301764A (en) Information processor
JPS60173587A (en) Data processor
JPH08115072A (en) Dot display device
JPH06118933A (en) Character pattern generating device