JPS6392986A - Pattern development - Google Patents

Pattern development

Info

Publication number
JPS6392986A
JPS6392986A JP61238485A JP23848586A JPS6392986A JP S6392986 A JPS6392986 A JP S6392986A JP 61238485 A JP61238485 A JP 61238485A JP 23848586 A JP23848586 A JP 23848586A JP S6392986 A JPS6392986 A JP S6392986A
Authority
JP
Japan
Prior art keywords
pattern
memory
address
bitmap memory
bitmap
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
JP61238485A
Other languages
Japanese (ja)
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61238485A priority Critical patent/JPS6392986A/en
Publication of JPS6392986A publication Critical patent/JPS6392986A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、パターン発生部から出力される文字パターン
等をビットマツプメモリ上に展開する方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a method for developing character patterns, etc. output from a pattern generation section onto a bitmap memory.

〔従来技術〕[Prior art]

従来、パターン発生部の文字パターン等をビットマツプ
メモリ上に展開する場合、一般にマスタの処理装置がソ
フトウェア処理によりパターン発生部(キャラクタジェ
ネレータ)からパターンデータを読み出し、ビットマツ
プメモリ上に展開していた。しかしながら、ビットマツ
プメモリに対する読み書きは一般にワードあるいはバイ
ト単位に行われるため、その境界がパターン発生部から
出力されるパターンの境界と一致しない場合にはマスク
キングが必要で、そのため、展開処理が遅くなるという
問題があった。
Conventionally, when developing character patterns etc. from a pattern generation section onto a bitmap memory, a master processing device generally read the pattern data from the pattern generation section (character generator) through software processing and developed it onto the bitmap memory. . However, since reading and writing to bitmap memory is generally performed in word or byte units, masking is required if the boundaries do not match the boundaries of the pattern output from the pattern generator, which slows down the expansion process. There was a problem.

〔目 的〕〔the purpose〕

本発明の目的は、パターン発生部から出力される文字パ
ターン等をビットマツプメモリ上に展開する処理の高速
化を図ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to speed up the process of developing character patterns, etc. output from a pattern generation section onto a bitmap memory.

〔祷 成〕[prayer completed]

本発明はアドレス生成部とパターン生成用メモリを設け
る。そして、まずアドレス生成部によりビットマツプメ
モリの境界アドレスを生成して、ビットマツプメモリの
該境界領域のパターンデータを読み出してパターン生成
用メモリの対応する領域に書き込む、次にパターン発生
部から出力されるパターンデータをパターン生成用メモ
リに書き込み、ビットマツプメモリの境界領域のパター
ンデータと合成する1次にアドレス生成部によりビット
マツプメモリのワード単位のアドレスを生成し、パター
ン生成用メモリの内容をワード単位にビットマツプメモ
リに書き込んでいく。
The present invention provides an address generation section and a pattern generation memory. First, the address generation section generates a boundary address of the bitmap memory, and the pattern data of the boundary area of the bitmap memory is read out and written into the corresponding area of the pattern generation memory.Then, the pattern data is output from the pattern generation section. Write the pattern data in the pattern generation memory and combine it with the pattern data in the boundary area of the bitmap memory.The address generation section generates word-by-word addresses in the bitmap memory, and converts the contents of the pattern generation memory into words. It is written to the bitmap memory in units of units.

以下1本発明の一実施例について図面により説明する。An embodiment of the present invention will be described below with reference to the drawings.

第4図はビットマツプメモリのアドレス構成と発生パタ
ーンの展開領域の関係を示したものである。二Nで、ビ
ットマツプメモリがCPUから見てワード構成(16ビ
ツト)である場合を例に説明する。第4図において、B
AWがビットマツプメモリの先頭ワードで、BAW+1
.BAW+2゜・・・・・・と進み、EAWが1行の最
終ワード、BAW+LA (LAはビットマツプエリア
の幅である)がBAWの1行下のワードを示している。
FIG. 4 shows the relationship between the address structure of the bitmap memory and the development area of the generated pattern. 2N, and the bitmap memory has a word structure (16 bits) as seen from the CPU. In Figure 4, B
AW is the first word of bitmap memory, BAW+1
.. BAW+2°... EAW indicates the last word of one row, and BAW+LA (LA is the width of the bitmap area) indicates the word one row below BAW.

今、パターン発生部のパターンをビットマツプメモリ上
に斜線で示すように展開させようとすると、該パターン
はビットマツプメモリのワード境界とは一致しないため
、オーバレイする部分だけあらかじめマスキングした後
、パターン発生部からのデータとOR処理する必要があ
る0本発明はこの処理を高速化するものである。
Now, if you try to develop the pattern in the pattern generation area on the bitmap memory as shown by diagonal lines, the pattern will not match the word boundaries of the bitmap memory, so after masking only the overlapping part in advance, the pattern will be generated. The present invention speeds up this processing.

第1図は本発明の一実施例の全体ブロック図で、全体の
制御を司どる制御部1、パターンデータを発生するパタ
ーン発生部2.ビットマツプメモリに展開するパターン
を生成するパターン生成用メモリ3及び、ビットマツプ
メモリやパターン生成用メモリ3のアドレスを生成する
アドレス生成部4よりなる。
FIG. 1 is an overall block diagram of an embodiment of the present invention, in which a control section 1 manages the overall control, a pattern generation section 2 generates pattern data. It consists of a pattern generation memory 3 that generates a pattern to be developed in a bitmap memory, and an address generation section 4 that generates addresses for the bitmap memory and the pattern generation memory 3.

第2図はアドレス生成部4の特にビットマツプメモリの
アドレス生成回路の構成例を示したもので、加算器41
、アドレスレジスタ42.セレクタ43.44よりなる
。アドレス生成部4には、この他にパターン生成用メモ
リ3のアドレス生成回路も具備されているが、これは単
なるカウンタでよいため省略する。第3図はパターン生
成用メモリ3の構成例であり、並列直列変換回路31、
直列並列変換回路32、スイッチ回路33、メモリ34
よりなる。CKはクロック、obtはオーバーレイビッ
トサイズに相当する制御信号で、ともに制御部1から供
給される。
FIG. 2 shows an example of the configuration of the address generation circuit of the address generation section 4, especially the bitmap memory.
, address register 42. It consists of selectors 43 and 44. The address generation unit 4 is also equipped with an address generation circuit for the pattern generation memory 3, but this is omitted because it may be a simple counter. FIG. 3 shows a configuration example of the pattern generation memory 3, in which a parallel-to-serial conversion circuit 31,
Serial parallel conversion circuit 32, switch circuit 33, memory 34
It becomes more. CK is a clock, and obt is a control signal corresponding to the overlay bit size, both of which are supplied from the control unit 1.

制御部1はマスタCPUから書込み先頭ワードBAW、
ビットマツプメモリエリアの幅LA、オーバレイビット
サイズobtをパラメータとして受は取り、そのうちB
AW、LAはアドレス生成部4に渡し、obtはパター
ン生成用メモリ3のスイッチ回路33の制御信号とする
The control unit 1 receives the write start word BAW from the master CPU,
The width LA of the bitmap memory area and the overlay bit size obt are taken as parameters, of which B
AW and LA are passed to the address generation section 4, and obt is a control signal for the switch circuit 33 of the pattern generation memory 3.

アドレス生成部4では、まずB、AWをそのま\セレク
タ43、加算器41を通してアドレスレジスタ42にセ
ットし、ビットマツプメモリのBAW一番地のデータを
読み出す。該データは並列直列変換回路31でシリアル
ドツトに変換されながらスイッチ回路33を通り、メモ
リ34の先頭から順に書き込まれる。この時、スイッチ
回路33はオーバレイビットサイズobtのデータがメ
モリ34に書き込まれると、制御部33からの指示にし
たがいオフとなり、このため、残りのドツトがメモリ3
4へ書き込まれるのが禁止される。即ち、BAWの1ワ
ード中のオーバレイされない部分のみが書き込まれる。
The address generating section 4 first sets B and AW as they are in the address register 42 through the selector 43 and the adder 41, and reads out the data at the first location of BAW in the bitmap memory. The data is converted into serial dots by a parallel-to-serial conversion circuit 31, passes through a switch circuit 33, and is sequentially written into the memory 34 from the beginning. At this time, when the data of the overlay bit size obt is written to the memory 34, the switch circuit 33 is turned off according to the instruction from the control unit 33, so that the remaining dots are transferred to the memory 34.
Writing to 4 is prohibited. That is, only the portion of one word of BAW that is not overlaid is written.

1ワードの取込みが終了すると1次にアドレス生成部4
は、セレクタ43,44によりアドレスレジスタ42の
内容(BAW)と値LAを選択して、加算器41により
BAW+LAを得、これをアドレスレジスタ42にセッ
トして、ビットマツプメモリのBAW+LA番地のデー
タを読み出す、このデータも並列直列変換回路31でシ
リアルドツトに変換され、スイッチ回路33を介して、
オーバレイビットサイズ分のドツトがメモリ34の次行
に書き込まれる。以下。
When the capture of one word is completed, the address generator 4
selects the contents (BAW) of the address register 42 and the value LA by the selectors 43 and 44, obtains BAW+LA by the adder 41, sets this in the address register 42, and writes the data at address BAW+LA in the bitmap memory. This data to be read out is also converted into serial dots by the parallel-to-serial conversion circuit 31, and is then converted to serial dots via the switch circuit 33.
A dot of the overlay bit size is written to the next row of memory 34. below.

アドレスレジスタ42の内容にLAを加えて、同様の処
理を繰り返すことにより、ビットマツプメモリの左端ワ
ード境界のデータのうち、パターン発生部2から出力さ
れるパターンとオーバレイされない部分がメモリ34に
書き込まれる。同様に。
By adding LA to the contents of the address register 42 and repeating the same process, the part of the data at the leftmost word boundary of the bitmap memory that is not overlaid with the pattern output from the pattern generator 2 is written to the memory 34. . Similarly.

EAW、EAW+LA、・・・とビットマツプメモリを
アクセスすることにより、ビットマツプメモリの左端ワ
ード境界のデータがメモリ34に書き込まれる。
By accessing the bitmap memory as EAW, EAW+LA, . . . , data at the leftmost word boundary of the bitmap memory is written to the memory 34.

次にパターン生成時には、アドレス生成部4はメモリ3
4の水平アドレス、垂直アドレスを順次生成し、パター
ン発生部2から出力されるシリアルドツトの発生パター
ンを、スイッチ回路33を通してメモリ34に順次書き
込む、この時、スイッチ回路33は制御部1の指示にし
たがい、オーバレイされない期間をオフとする。この結
果、メモリ34においては、オーバレイされない個所は
、先に読み込んでおいたビットマツプメモリ内容がその
まN残っており、これをビットマツプメモリに再展開す
ると、オーバレイの境界の外はビットマツプメモリに保
持されたパターンがそのまN残り、境界内は発生パター
ンが新たに書き込まれたように見える。
Next, when generating a pattern, the address generation unit 4 uses the memory 3
4 horizontal and vertical addresses are sequentially generated, and the serial dot generation pattern output from the pattern generating section 2 is sequentially written into the memory 34 through the switch circuit 33. At this time, the switch circuit 33 responds to instructions from the control section 1. Therefore, periods that are not overlaid are turned off. As a result, in the memory 34, the previously read bitmap memory contents remain in N areas that are not overlaid, and when this is redeployed to the bitmap memory, the bitmap memory outside the overlay boundary remains N. The N patterns held in the boundary remain as they are, and it appears as if the generated pattern has been newly written within the boundary.

ビットマツプメモリに再展開する時には、アドレス生成
部4では、セレクタ43.44でBAWと“1”を選択
し、加算器41.アドレスレジスタ42.セレクタ43
の経路でBAW、BAW+1、BAW+2.・・・を順
次生成し、ビットマツプメモリの書込みアドレスとする
。一方、メモリ34の内容は先頭から順次ビットシリア
ルに読み出され、スイッチ回路33を介して直列並列変
換回路32に入力され、1ワ一ド単位のデータに変換さ
れる。このデータがビットマツプメモリのBAW、BA
W+1.BAW+2.・・・の各番地に書き込まれる。
When redeploying to the bitmap memory, the address generating unit 4 selects BAW and "1" with selectors 43 and 44, and selects BAW and "1" with adders 41 and 44, respectively. Address register 42. Selector 43
BAW, BAW+1, BAW+2. . . . are generated sequentially and used as the write address of the bitmap memory. On the other hand, the contents of the memory 34 are sequentially read bit-serially from the beginning, input to the serial/parallel converter circuit 32 via the switch circuit 33, and converted into data in units of one word. This data is stored in bitmap memory BAW and BA.
W+1. BAW+2. ... will be written to each address.

〔効 果〕〔effect〕

以上の説明から明らかな如く、本発明によれば、パター
ン発生部側にアドレス生成部を設け、パターン展開に必
要なアドレス計算をハードウェアで処理することにより
、高速化が達成される。また、パターン作成用メモリに
ビットマツプメモリの内容を読み込む時、境界のメモリ
内容のみを読み込むので、この点からも高速化が達成さ
れる。
As is clear from the above description, according to the present invention, speeding up can be achieved by providing an address generation section on the pattern generation section side and processing address calculations necessary for pattern expansion using hardware. Furthermore, when the contents of the bitmap memory are read into the pattern creation memory, only the memory contents at the boundaries are read, so speeding up is also achieved from this point of view.

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

第1図は本発明の一実施例の全体ブロック図、第2図は
アドレス生成部の詳細図、第3図はパターン生成用メモ
リの詳細図、第4図はビットマツプメモリのアドレス構
成と発生パターンの展開エリアの関係を示す図である。 1・・・制御部、 2・・・パターン発生部。 3・・・パターン生成用メモリ。 4・・・アドレス生成部。 第2図 第3図 第4図 見tQ−1−
Figure 1 is an overall block diagram of an embodiment of the present invention, Figure 2 is a detailed diagram of the address generation section, Figure 3 is a detailed diagram of the pattern generation memory, and Figure 4 is the address structure and generation of the bitmap memory. FIG. 3 is a diagram showing the relationship between pattern development areas. 1... Control section, 2... Pattern generation section. 3...Memory for pattern generation. 4...Address generation section. Figure 2 Figure 3 Figure 4 See tQ-1-

Claims (1)

【特許請求の範囲】[Claims] (1)発生パターンをビットマップメモリに展開するパ
ターン展開方法において、アドレス生成部とパターン生
成用メモリを設け、アドレス生成部によりビットマップ
メモリの境界アドレスを生成して該境界領域のデータを
パターン生成用メモリに書き込んだ後、発生パターンを
該パターン生成用メモリに書き込み、該パターン生成用
メモリの内容をビットマップメモリに再展開することを
特徴とするパターン展開方法。
(1) In a pattern development method that develops a generated pattern into a bitmap memory, an address generation section and a pattern generation memory are provided, the address generation section generates a boundary address of the bitmap memory, and data in the boundary area is generated into a pattern. 1. A pattern development method comprising: writing a generated pattern into a memory for pattern generation, writing the generated pattern into a memory for pattern generation, and redeploying the contents of the memory for pattern generation into a bitmap memory.
JP61238485A 1986-10-07 1986-10-07 Pattern development Pending JPS6392986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61238485A JPS6392986A (en) 1986-10-07 1986-10-07 Pattern development

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61238485A JPS6392986A (en) 1986-10-07 1986-10-07 Pattern development

Publications (1)

Publication Number Publication Date
JPS6392986A true JPS6392986A (en) 1988-04-23

Family

ID=17030943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61238485A Pending JPS6392986A (en) 1986-10-07 1986-10-07 Pattern development

Country Status (1)

Country Link
JP (1) JPS6392986A (en)

Similar Documents

Publication Publication Date Title
JPS6392986A (en) Pattern development
JP2502530B2 (en) Printer
JPS61158384A (en) Character processor
JPH02163862A (en) Digital signal processor
JPS5888889A (en) Electronic computer
JP2671629B2 (en) Memory check system
JPH0134383B2 (en)
JPS59189432A (en) Memory storing system by direct memory access
JPS63163560A (en) Information processor
JPS5860789A (en) Pattern magnification system
JPS61252173A (en) Printer-controlling system
JPH0516452A (en) Printer
JPS62160550A (en) Memory write system
JPS59157685A (en) Pattern converter
JPS60263984A (en) Dot data development system
JPS60260988A (en) Graphic display
JPS62174161A (en) Pattern drawing control circuit
JPH03171876A (en) Data processor
JPH06161879A (en) Digital data processor
JPH0232670B2 (en)
JPH0443596B2 (en)
JPH0855058A (en) Expanding method for memory area
JPS6152689A (en) Output control for 2-d memory
JPS62151953A (en) Memory device
JPS63231548A (en) Writing system for data