JPS6375986A - Bit map memory system - Google Patents

Bit map memory system

Info

Publication number
JPS6375986A
JPS6375986A JP21930486A JP21930486A JPS6375986A JP S6375986 A JPS6375986 A JP S6375986A JP 21930486 A JP21930486 A JP 21930486A JP 21930486 A JP21930486 A JP 21930486A JP S6375986 A JPS6375986 A JP S6375986A
Authority
JP
Japan
Prior art keywords
pattern
memory
data
cpu
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
JP21930486A
Other languages
Japanese (ja)
Inventor
Tomohisa Kohiyama
智久 小檜山
Kenichi Saito
賢一 齋藤
Norio Tanaka
紀夫 田中
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21930486A priority Critical patent/JPS6375986A/en
Publication of JPS6375986A publication Critical patent/JPS6375986A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

PURPOSE:To contrive the speed up of processing of a whole bit map memory system, by connecting the data bus of a CPU with the address input of a pattern memory and the data output of the pattern memory with the data input of a bit map memory. CONSTITUTION:A data bus 110 is connected with the address input of a pattern memory 2 through a line 130 and the data output of the memory 2 is connected with the data input of a bit map memory 3 through a line 140. Moreover, the address bus 100 of a CPU 1 is connected with the address input of the memory 3 through a line 130. Three patterns of pattern numbers i21, j22, and k23 are previously written in the pattern memory 2. When the CPU 1 writes the pattern numbers i21-k23 only in the area 30 of the bit map memory 3, a hatched pattern is drawn in the area 30 by using the three patterns i21-k23. Since the pattern numbers can be used as writing data as they are in such way, the processing time can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はビットマツプメモリシステムに係り、特に2次
元の特定パターンで、ある領域を高速に塗りつぶすのに
適したビットマツプメモリ構成法1ヒ関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a bitmap memory system, and more particularly to a bitmap memory configuration method suitable for rapidly filling a certain area with a two-dimensional specific pattern. .

〔従来の技術〕[Conventional technology]

従来のビットマツプメモリシステムにおいて、特定のパ
ターンによりある領域を塗りつぶす場合、第2図のよう
にメインメモリ4上にパターンデータを作成しておき、
それを1のマイクロプロセッサ等の制御手段(以下CP
UIと記す)により、屓次パターンをビットマツプメモ
リ3にデータ転送を行なう方法がとられていた。一般に
塗りつぶす特定パターンは、8×8ビツトあるいは16
 X 16ビツトなどの2次元小領域のものが用いられ
、これを繰り返しビットマツプメモリ3上の指定領域に
展開していくが、従来方式ではパターン展開に関して配
慮されていなかった。
In conventional bitmap memory systems, when filling a certain area with a specific pattern, pattern data is created in the main memory 4 as shown in Figure 2, and then
Control means such as a microprocessor (hereinafter referred to as CP)
A method has been adopted in which data is transferred from time to time to the bitmap memory 3 using the UI (denoted as UI). Generally, the specific pattern to be filled is 8 x 8 bits or 16 bits.
A two-dimensional small area such as X16 bits is used, and this is repeatedly developed in a designated area on the bitmap memory 3, but in the conventional method, no consideration was given to pattern development.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来方式では、展開する特定パターンが固定的であ
るにもかかわらず、ビットマツプメモリに展開していく
際に毎回メインメモリ上のパターンを参照し、そのパタ
ーンを転送する必要があった。このため、パターンを展
開するという処理のためにパターンの参照という別の処
理が必要となり、全体の処理速度が低下するといつ藺題
があった。
In the above-mentioned conventional method, even though the specific pattern to be developed is fixed, it is necessary to refer to the pattern on the main memory every time the pattern is developed in the bitmap memory and transfer that pattern. For this reason, the process of expanding the pattern requires another process of referencing the pattern, which has been a problem in that the overall processing speed decreases.

本発明の目的は、上記の処理を行なうにあたり、本来不
要であるパターン参照を無くし、かかる処理速度を向上
させることができるビットマツプメモリシステムを提供
することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a bitmap memory system that can eliminate unnecessary pattern references and improve the processing speed when performing the above processing.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的はビットマツプメモリと、マイクロプロセッサ
等の制御手段(以下CPUと記す)を備えたビットマツ
プメモリシステムにおいてJ前記CPUのデータバスと
前記ビットマツプメモリのデータ入力の間に、ビットマ
ツプパターンデータを保持するパターンメモリを設け、
前記CPUのデータバスをパターンメモリのアドレス入
力に接続し、前記パターンメモリのデータ出力を前記ビ
ットマツプメモリのデータ入力に接続することで達成さ
れる。
The above object is to provide bitmap pattern data between the data bus of the CPU and the data input of the bitmap memory in a bitmap memory system equipped with a bitmap memory and a control means (hereinafter referred to as CPU) such as a microprocessor. A pattern memory is provided to hold the
This is accomplished by connecting the data bus of the CPU to the address input of a pattern memory and the data output of the pattern memory to the data input of the bitmap memory.

〔作用〕 パターンメモリには、あらかじめ展開すべきパターンを
書き込んでおく。CPUがビットマツプメモリに書き込
みを行なう場合、CPUの出力するアドレスはビットマ
ツプメモリのアドレスであり、CPUから出力されるデ
ータは、パターンメモリのパターン番号に相当する。そ
の結果、実際にビットマツプメモリへの書き込みデータ
は、パターンメモリ内の指定されたパターンとなる。
[Operation] A pattern to be developed is written in the pattern memory in advance. When the CPU writes to the bitmap memory, the address output by the CPU is the address of the bitmap memory, and the data output from the CPU corresponds to the pattern number of the pattern memory. As a result, the data actually written to the bitmap memory becomes the specified pattern in the pattern memory.

このようにCPUは、毎回パターンを読み出してビット
マツプメモリに書き込むのではなく、ビットマツプメモ
リに対して間接的にパターン番号を書き込むだけでパタ
ーンの展開を行なうことができる。したがって、従来性
なわれていたパターンの参照を不要とし、参照に要する
時間を除去できて、全体の処理速度を向上することがで
きる。
In this way, the CPU can develop a pattern by simply writing the pattern number indirectly into the bitmap memory, instead of reading out the pattern and writing it into the bitmap memory each time. Therefore, it is possible to eliminate the need for pattern reference, which was conventionally done, and eliminate the time required for reference, thereby improving the overall processing speed.

〔実施例〕〔Example〕

以下、第1図、第3図により本発明の一実施例を説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 3.

第1図において、1はCPU、2はパターンメモリ、3
はビットマツプメモリ、100はCPUIのアドレスバ
ス、110はCPU 1のデータバスである。パターン
メモリ2のアドレス入力にはデータバス110がライン
130を介して接続され、パターンメモリのデータ出力
はライン140を介してビットマツプメモリ3のデータ
入力に接続される。
In FIG. 1, 1 is a CPU, 2 is a pattern memory, and 3 is a CPU.
is a bitmap memory, 100 is a CPUI address bus, and 110 is a CPU 1 data bus. A data bus 110 is connected to the address input of the pattern memory 2 via line 130, and the data output of the pattern memory is connected via line 140 to the data input of the bitmap memory 3.

またビットマツプメモリ3のアドレス入力にはCPUN
のアドレスバス100がライン120を介して接続され
る。
In addition, for address input of bitmap memory 3, CPU
address bus 100 is connected via line 120.

第3図は実際にパターンを展開する際の説明図である。FIG. 3 is an explanatory diagram when actually developing a pattern.

いま、パターンメモリ2にはあらかじめパターン番号i
21 、 j 22、k23の三つのパターンが、図示
されていない手段で書き込まれているものとする。
Now, pattern number i is stored in pattern memory 2 in advance.
It is assumed that three patterns, 21, j22, and k23, have been written by means not shown.

これらを用いてビットマツプメモリ3の領域Jに図のよ
うな斜線パターンを描く場合、CPUIは、ビットマツ
プメモリ3の領域層内にパターン番号i 21、j22
、k23のみを書き込んでいけばよい。従来は、これら
のパターンは、第2図におけルフィンメモリ4等に格納
されており、CPUIはパターン番号からそのパターン
を読み出した後、ビットマツプメモリ3に書き込んでい
た。本発明によれば、パターン番号をそのまま書き込み
データとすることができるため、処理時間が短縮できる
When using these to draw a diagonal pattern as shown in the figure in area J of bitmap memory 3, CPUI writes pattern numbers i21, j22 in area layer of bitmap memory 3.
, k23 only. Conventionally, these patterns were stored in the Ruffin memory 4 in FIG. 2, and the CPU read out the pattern based on the pattern number and then wrote it into the bitmap memory 3. According to the present invention, since the pattern number can be used as write data as it is, processing time can be shortened.

なお本実施例のように、特にパターンの容量が小さくて
済む場合には、第4図のようにパターンメモリとしてレ
ジスタファイル2′を用いることもできる。
Note that, as in this embodiment, when the capacity of the pattern is particularly small, a register file 2' may be used as the pattern memory as shown in FIG.

つぎに第5図により、他の実施例を説明する。Next, another embodiment will be explained with reference to FIG.

第5図は、多tvmあるいは多色のビットイメージを記
憶するためにビットマツプメモリ3を0枚(nは2以上
の自然数)設けた場合である。この場合、パターンメモ
リ2は、それぞれの面(以下プレーンと表現する)のビ
ットマツプメモリ3に対応して設ける。
FIG. 5 shows a case where zero bitmap memories 3 (n is a natural number of 2 or more) are provided to store multi-tvm or multi-color bit images. In this case, the pattern memory 2 is provided corresponding to the bitmap memory 3 of each plane (hereinafter referred to as plane).

従来、このような多プレーンのビットマツプメモリシス
テムでは、特開昭57−181589号公報に示される
ように各プレーンのパターンメモリ2の位置にレジスタ
を設けていたが、この従来方式では、同一パターンの繰
り返し展開の際にはパターンが変わるごとに全プレー2
分のレジスタを書き換えねばならず、CPUIの負担が
大きかった。本実施例によれば、はじめの1回、パター
ンメモリ2を設定してしまえば、あとはパターン番号を
変えて書き込みを繰り返すだけでよいため、CPUIの
負担は軽く、処理速度は従来方式に比べてブレーン数が
増加するのに比例して改善される効果がある。
Conventionally, in such a multi-plane bitmap memory system, a register was provided at the position of the pattern memory 2 of each plane, as shown in Japanese Patent Laid-Open No. 57-181589. When the pattern is repeated, the whole play 2 is changed every time the pattern changes.
It was necessary to rewrite the corresponding registers, which placed a heavy burden on the CPU. According to this embodiment, once the pattern memory 2 is set for the first time, all that is required is to change the pattern number and repeat writing, so the load on the CPU is light and the processing speed is faster than that of the conventional method. This has the effect of being improved in proportion to the increase in the number of branes.

以上の実施例はパターンメモリ2の容量が小さい場合で
あったが、これの容量が大きい場合、すなわちパターン
数が多い場合の他の実施例を第6図を用いて説明する。
Although the above embodiment deals with the case where the capacity of the pattern memory 2 is small, another embodiment in which the capacity is large, that is, the number of patterns is large, will be described with reference to FIG.

第6図はパターンメモリとしてCG(キャラクタ・ジェ
ネレータ:文字・記号パターンを格納したメモリ)2′
を用いたものである。この場合、CPUIのデータバス
110だけではCG 2’のパターン番号を指定しきれ
ない場合があるため、レジスタ5を用いてパターン番号
の指定範囲を拡張している。
Figure 6 shows CG (character generator: memory that stores character/symbol patterns) 2' as a pattern memory.
This is what was used. In this case, since it may not be possible to specify the pattern number of CG 2' using only the data bus 110 of the CPUI, the register 5 is used to expand the specification range of the pattern number.

ビットマツプメモリシステムにおいて文字パターンを展
開することは、展開するパターンが毎回具なるために多
くの処理時間を要していたが、本発明を用いれば、パタ
ーンを読み出す処理を省略できるため、展開処理時間を
半分にすることが可能である。また、文字パターンの場
合には、第5図のような複数プレーンのシステムの場合
でもパターンメモリは全プレーンに共通に用いることが
できること、またビットマツプメモリシステムにおいて
文字展開を行なう場合には、一般にCG 2’が第2図
におけるメインメモリ4と同様な形態で配置されるのが
普通であることから、ハードウェアの量的には従来方式
と大差なく実現できる効果がある。
Expanding a character pattern in a bitmap memory system required a lot of processing time because the pattern to be expanded is created each time, but with the present invention, the process of reading out the pattern can be omitted, so the expansion process can be It is possible to cut the time in half. In the case of character patterns, even in the case of a system with multiple planes as shown in Figure 5, the pattern memory can be used commonly for all planes, and when character expansion is performed in a bitmap memory system, it is generally Since the CG 2' is normally arranged in the same form as the main memory 4 in FIG. 2, the effect can be achieved with the same amount of hardware as the conventional system.

もしも文字のパターンをビットマツプメモリのワード境
界方向にずらす必要があるのであれば、CG2′とビッ
トマツプメモリ3の間にパターン並びをシフトする手段
を設ければよい。シフト手段を設けてもパターン番号を
指定して書き込むという本発明の本質から何らはずれる
ものではない。
If it is necessary to shift the character pattern in the direction of the word boundary of the bitmap memory, means for shifting the pattern arrangement may be provided between the CG 2' and the bitmap memory 3. Even if a shift means is provided, this does not deviate from the essence of the present invention, which is to designate and write a pattern number.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、パターンをビットマツプメモリに展開
するにあたり、直接パターンを読み出して書き込むとい
う処理を行なわずに間接的にパターン番号を書き込めば
よくなるため、ビットマツプパターン参照時間が省け、
その分、パターン展開の処理時間を半減できる。このた
め従来応答時間の遅かったビットマツプメモリシステム
におけるパターン展開の応答時間が改善され、使用者の
使い勝手のよいシステムとするこきができる効果がある
According to the present invention, when developing a pattern in a bitmap memory, it is only necessary to write the pattern number indirectly without directly reading and writing the pattern, so the time required to refer to the bitmap pattern can be saved.
Accordingly, the processing time for pattern development can be halved. As a result, the response time of pattern development in a bitmap memory system, which has conventionally had a slow response time, is improved, and the system can be made more user-friendly.

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

第1図、第4図、第5図、第6図はそれぞれ本発明の実
施例の構成を示すブロック図、第2図は従来のビットマ
ツプメモリシステムを示すブロック図、第3図は第1図
に示す実施例の動作説明図゛である。 l・・・CPU        2・・・パターンメモ
リ3・・・ビットマツプメモリ
1, 4, 5, and 6 are block diagrams showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing a conventional bitmap memory system, and FIG. 3 is a block diagram showing a conventional bitmap memory system. FIG. 2 is an explanatory diagram of the operation of the embodiment shown in the figure. l...CPU 2...Pattern memory 3...Bitmap memory

Claims (1)

【特許請求の範囲】[Claims] 1、ビットマップメモリと、マイクロプロセッサ等の制
御手段(以下CPUと記す)を備えたビットマップメモ
リシステムにおいて、前記CPUのデータバスと前記ビ
ットマップメモリのデータ入力の間に、ビットマップパ
ターンデータを保持するパターンメモリを設け、前記C
PUのデータバスをパターンメモリのアドレス入力に接
続し、前記パターンメモリのデータ出力を前記ビットマ
ップメモリのデータ入力に接続したことを特徴とするビ
ットマップメモリシステム。
1. In a bitmap memory system equipped with a bitmap memory and a control means (hereinafter referred to as CPU) such as a microprocessor, bitmap pattern data is inserted between the data bus of the CPU and the data input of the bitmap memory. A pattern memory is provided to hold the C.
A bitmap memory system characterized in that a data bus of a PU is connected to an address input of a pattern memory, and a data output of the pattern memory is connected to a data input of the bitmap memory.
JP21930486A 1986-09-19 1986-09-19 Bit map memory system Pending JPS6375986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21930486A JPS6375986A (en) 1986-09-19 1986-09-19 Bit map memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21930486A JPS6375986A (en) 1986-09-19 1986-09-19 Bit map memory system

Publications (1)

Publication Number Publication Date
JPS6375986A true JPS6375986A (en) 1988-04-06

Family

ID=16733393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21930486A Pending JPS6375986A (en) 1986-09-19 1986-09-19 Bit map memory system

Country Status (1)

Country Link
JP (1) JPS6375986A (en)

Similar Documents

Publication Publication Date Title
JPS5847741B2 (en) pattern generator
US5623624A (en) Memory control architecture for high speed transfer options
US4879666A (en) Information output device having data buffer for performing both character positioning and character expansion/compression
EP0239119B1 (en) Information transferring method and apparatus of transferring information from one memory area to another memory area
CN114328315A (en) DMA-based data preprocessing method, DMA component and chip structure
JPH03180933A (en) Stack memory
JPS6375986A (en) Bit map memory system
JPH04147493A (en) Semiconductor memory
JP2502530B2 (en) Printer
JP2533605B2 (en) Character drawing device
JP2771350B2 (en) Image processing device
JP2898000B2 (en) Character data expansion processor
JPH04199238A (en) Memory access system
JP2808105B2 (en) Font drawing device
JP2900593B2 (en) Data expansion method for storage element
JPH01307877A (en) Picture data processing system
JPH05144259A (en) Memory device
JPH04205678A (en) Image information processor
JPS58151671A (en) Pattern generating device
JPS61149365A (en) Data controlling device
JPH0195063A (en) Output data rotating method
JPH0193868A (en) Data processor
JPH02287732A (en) Register address generating device
JPH02105264A (en) Memory device for processing graphic data
JPH11144035A (en) Semiconductor memory device