JPS6318390A - Bit map unit - Google Patents

Bit map unit

Info

Publication number
JPS6318390A
JPS6318390A JP61162323A JP16232386A JPS6318390A JP S6318390 A JPS6318390 A JP S6318390A JP 61162323 A JP61162323 A JP 61162323A JP 16232386 A JP16232386 A JP 16232386A JP S6318390 A JPS6318390 A JP S6318390A
Authority
JP
Japan
Prior art keywords
storage means
write
sub
main storage
area
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
JP61162323A
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61162323A priority Critical patent/JPS6318390A/en
Publication of JPS6318390A publication Critical patent/JPS6318390A/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 Field of the Invention The present invention relates to a bitmap device that facilitates and speeds up clipping of drawings in a bitmap image display system.

従来の技術 ビットマツプ画像表示系において描画を行う際、描画禁
止領域が存在するならば当該領域が描画禁止領域に侵入
しないか否かを判定し、禁止でない領域すなわち描画許
可領域に対してのみ描画するようにしなくてはならない
。これをクリッピングと言い、上記領域判定は描画図形
と描画許可領域がともに数式によって与えられるもので
あれば数値演算によって広域的に行う事もできるが、任
意図形あるいは任意領域ならば書こうとする1画素ごと
に行わなければならない。
Conventional technology When drawing in a bitmap image display system, if a drawing-prohibited area exists, it is determined whether the area does not intrude into the drawing-prohibited area, and drawing is performed only in areas that are not prohibited, that is, drawing-permitted areas. You have to do it like this. This is called clipping, and the area determination described above can be performed over a wide area by numerical calculations if both the drawing figure and the drawing permission area are given by mathematical formulas, but if it is an arbitrary figure or an arbitrary area, it is possible to This must be done pixel by pixel.

従来はクリッピングを描画ソフトウェアが全面的に負担
し、数値的に処理し得る限り広域的に処理した上、残っ
た部分に対し1画素ごとの判定を繰り返していた。
In the past, drawing software was responsible for all of the clipping, processing it as broadly as possible numerically, and then repeatedly determining the remaining portion pixel by pixel.

発明が解決しようとする問題点 1画素ごとの領域判定は簡単であるものの処理時間の飛
躍的な増大を招く。一方、数値演算による判定は処理手
順が複雑になりかねないし、描画図形を表わす数式が相
対的に複雑な場合は1画素ごとに領域判定したのと同等
な時間を要する。またビットマツプ画像表示系の利点は
任意図形の任意位置への表示が可能である点であって、
この特徴は前記の広域的処理を施し難い事を意味する。
Problems to be Solved by the Invention Although region determination for each pixel is simple, it causes a dramatic increase in processing time. On the other hand, determination based on numerical calculations may result in complicated processing procedures, and if the formula representing the drawn figure is relatively complex, it will take the same amount of time as region determination for each pixel. Furthermore, the advantage of the bitmap image display system is that it is possible to display any figure at any position.
This feature means that it is difficult to perform the above-mentioned wide-area processing.

従って従来ビットマツプ画像表示系においてクリッピン
グを行うには、描画ソフトウェア開発と処理実行の両面
で多くの時間を費やしていた。
Therefore, in the conventional bitmap image display system, clipping requires a lot of time in both development of drawing software and processing execution.

本発明はかかる点に鑑みてなされたものであり、ビット
マツプ画像表示系において簡単でかつ高速なりリンピン
グを実現する事を目的とする。
The present invention has been made in view of these points, and it is an object of the present invention to realize simple and high-speed limping in a bitmap image display system.

問題点を解決するだめの手段 本発明は主記憶手段と副記憶手段と制御手段とから構成
されるビットマツプ装置である。画像情報自体は主記憶
手段に書き込まれ記憶される。副記憶手段には書き込み
許可領域情報が記憶される。
Means for Solving the Problems The present invention is a bitmap device comprising main memory means, sub-memory means and control means. The image information itself is written and stored in the main storage means. Write permission area information is stored in the secondary storage means.

制御手段は副記憶手段から領域情報を受は取って主記憶
手段に対する書き込みを制御する事でクリッピングを実
現する、 作用 主記憶手段は各画素をビットの組として記憶する事で画
像情報を保持する。これは従来より行われている通りで
ある。本発明の特徴は書き込み許可領域情報を保持する
副記憶手段の存在であって、副記憶手段は対応する領域
が書き込み禁止であるか許可であるかに応じて論理+!
On  、 1111′を記憶する。
The control means realizes clipping by receiving and receiving area information from the secondary storage means and controlling writing to the main storage means.The main storage means retains image information by storing each pixel as a set of bits. . This is a conventional practice. A feature of the present invention is the existence of a sub-storage means that holds write-enabled area information, and the sub-storage means has a logic +!
On, 1111' is stored.

さて、外部装置から主記憶手段のある領域に対する書き
込み要求が発生すると、制御手段は副記憶手段の対応す
る領域を読みだしてその領域が書き込み禁止か許可かを
判定し、許可の場合だけ主記憶手段に対して書き込み信
号を発生する。
Now, when a write request to a certain area of the main storage means is issued from an external device, the control means reads the corresponding area of the secondary storage means, determines whether that area is write-protected or write-enabled, and only if permission is granted, the control means reads the corresponding area from the main storage means. generating a write signal to the means;

実施例 第1図は本発明の第1の実施例を示すものである。本例
は主記憶手段1がD RA M (DynamicRa
ndom Access Memory  )、副記憶
手段2がS RA M (5tatic  Rando
m  Access  Memory)で構成されたビ
ットマツプ装置である。通常はホスト処理系のデータバ
ス幅だけ第1図の回路が多重化される。一般にSRAM
はDRAMよりもアクセス時間を短く取る事ができ、本
例においても副記憶手段2のアクセス時間は主記憶手段
1のそれの半分以下程度におく。
Embodiment FIG. 1 shows a first embodiment of the present invention. In this example, the main storage means 1 is DRAM (DynamicRa
The secondary storage means 2 is SRAM (5tatic Rando).
This is a bitmap device configured with m Access Memory. Normally, the circuit shown in FIG. 1 is multiplexed by the width of the data bus of the host processing system. Generally SRAM
can take a shorter access time than DRAM, and in this example, the access time of the secondary storage means 2 is set to be about half or less than that of the main storage means 1.

外部装置から主記憶手段1への書き込み要求が発生する
と、該当アドレスがアドレスバス4に也され、read
 /write切換部6はwrite  を要求し、タ
イミンク生成部5はRAS−:)MP!−’)CASと
順次タイミングを生成し、アドレスマルチプレクサ7は
タイミング生成部5よりMPX信号を受けてアドレスを
マルチプレクサする。この一連の流れと並行して副記憶
手段2の該当アドレスが読みだされる。この読みだしデ
ータが書き込み許可情報であって制御手段3に送られる
When a write request to the main memory means 1 is issued from an external device, the corresponding address is transferred to the address bus 4 and read
/write switching section 6 requests write, and timing generation section 5 sends RAS-:)MP! -') CAS and timing are generated sequentially, and the address multiplexer 7 receives the MPX signal from the timing generation section 5 and multiplexes the address. In parallel with this series of steps, the corresponding address in the sub-storage means 2 is read out. This read data is write permission information and is sent to the control means 3.

タイミング生成部5から出されたRAS信号は上記サイ
クルの初めに出されるもので、制御手段3はこれをマス
クする事なく主記憶手段1に伝える。しかしCAS信号
は副記憶手段2のデータ出力が確定した後出され、副記
憶手段2の出力データが論理゛○”ならば制御手段3に
よってマスクされてしまい主記憶手段1には到達しない
。この場合主記憶手段1はリフレッシュサイクルを実行
するのみで書き込みはおきない。
The RAS signal output from the timing generator 5 is output at the beginning of the cycle, and the control means 3 transmits it to the main storage means 1 without masking it. However, the CAS signal is issued after the data output of the sub-storage means 2 is determined, and if the output data of the sub-storage means 2 is a logic "○", it is masked by the control means 3 and does not reach the main storage means 1. In this case, the main storage means 1 only executes a refresh cycle and does not write data.

以上のように本実施例によれば、副記憶手段2が保持す
る書き込み許可情報によって主記憶手段1に対する書き
込みを抑制することができる。
As described above, according to this embodiment, writing to the main memory 1 can be suppressed by the write permission information held by the sub memory 2.

第2図は本発明の第2の実施例を示すものである。本例
は、1つのチップに4つの入出力端子を持つDRAMを
利用して、主記憶手段と副記憶手段を同一チップ上に構
成したビットマツプ装置である。図中工101が副記憶
手段に、工102゜3.4が主記憶手段に相当する。通
常はホスト処理系のデータバス幅だけ第2図の回路が多
重化される。
FIG. 2 shows a second embodiment of the invention. This example is a bitmap device in which a main memory means and a sub-memory means are formed on the same chip by using a DRAM having four input/output terminals on one chip. In the figure, 101 corresponds to the sub-storage means, and 102.3.4 corresponds to the main storage means. Normally, the circuit shown in FIG. 2 is multiplexed by the width of the data bus of the host processing system.

本例では主記憶手段への書き込み要求が発生すると必ず
リード・モディファイ・ライトサイクルを実行する。す
なわち、タイミング生成部5はRA S −>M P 
X−>CA S−>OK (High) −>011 
(Low) −)W ’E と順次タイミングを生成す
る。この間制御手段3の一部を構成するDフリップフロ
ップ31は副記憶手段の出力データを0 ’K (Hi
gh ) −>OE (Low)のタイミングでラッチ
し、そのデータが論理゛0”であればWE倍信号制御手
段3によってマスクされてしまう。
In this example, a read-modify-write cycle is executed whenever a write request to the main storage means occurs. That is, the timing generation unit 5 calculates RA S -> M P
X->CA S->OK (High) ->011
(Low) -)W'E and sequentially generate timing. During this time, the D flip-flop 31 constituting a part of the control means 3 converts the output data of the sub-storage means to 0'K (Hi
gh) -> OE (Low), and if the data is logic "0", it will be masked by the WE multiplication signal control means 3.

そうすると主記憶手段および副記憶手段はリードサイク
ルを実行するのみで、書き込みはおきない。
In this case, the main storage means and the sub-memory means only execute a read cycle, and no writing occurs.

Dフリップフロップ31がラッチしたデータが論理11
11+であれば読みだしに続いて書き込みが行われるが
、この場合副記憶手段への書き込みデータはプルアップ
抵抗8によって論理IJI+に設定されるので、副記憶
手段の保持する情報は変更されない。
The data latched by the D flip-flop 31 is logic 11.
If it is 11+, writing is performed following reading, but in this case, the data written to the sub-memory means is set to logic IJI+ by the pull-up resistor 8, so the information held by the sub-memory means is not changed.

このように本実施例によれば、主記憶手段と副記憶手段
とを同一チノブ上に持ってクリッピングを行える。
As described above, according to this embodiment, clipping can be performed by holding the main storage means and the sub-memory means on the same chinobu.

発明の詳細 な説明したように、本発明によれば複雑な手順を要する
事なくしかも簡単にクリッピングを行う事ができ、その
実用的価値には大なるものがある。
As described in detail, according to the present invention, clipping can be easily performed without requiring complicated procedures, and its practical value is great.

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

第1図は本発明における第1実施ERJの回路図、第2
図は本発明における第2実施例の回路図である。 1・・・・・・主記憶手段、2・・・・・・副記憶手段
、3・・・・・・制御手段、4・・・・・・アドレスバ
ス、6・・・・・・タイミング生成部、6・・・・・r
ead / write切換部、7・・・・・・アドレ
スマルチプレクサ、8 ・・・・プルアップ抵抗、31
・・・・・・Dフリップフロップ。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名/−
−−主比+息+#2 2−一一シ■1寡乙+2+段 3−−一事”1仰手段 4− アドレスバス 7− アドレスマルチプレクサ 第1図 /−一一主i己1寓、+#! z−−−=1+記慎今段 J−1リリpくトL史 4−一−アドレスバス S−−一タイミング生n邦 7−−−アYレスマル+ブレクブ 8− プルアフヅ搗抗
FIG. 1 is a circuit diagram of the first implementation ERJ in the present invention, and the second
The figure is a circuit diagram of a second embodiment of the present invention. DESCRIPTION OF SYMBOLS 1...Main storage means, 2...Sub-storage means, 3...Control means, 4...Address bus, 6...Timing Generation section, 6...r
ead/write switching section, 7...Address multiplexer, 8...Pull-up resistor, 31
...D flip-flop. Name of agent: Patent attorney Toshio Nakao and 1 other person/-
--Primary ratio + breath + #2 2-11 shi ■ 1 small + 2 + stage 3 -- one thing" 1 means 4- address bus 7- address multiplexer Fig. 1/-11 main i self 1 fable, + #! z - - - = 1 + record current stage J - 1 Lily post L history 4 - 1 - address bus S - 1 timing birth n country 7 - - A Y reply mar + brekbu 8 - pull azudu resistance

Claims (1)

【特許請求の範囲】[Claims] ビットマップ画像情報を保持する主記憶手段と、ビット
マップ上の書き込み許可領域情報を保持する副記憶手段
と、前記副記憶手段から書き込み許可領域情報を読みだ
して前記主記憶手段への書き込みを制御する制御手段を
具備し、外部装置が前記主記憶手段に書き込もうとする
のを部分的に抑制するビットマップ装置。
A main storage means for holding bitmap image information, a sub-storage means for holding write-permitted area information on the bitmap, and reading the write-permitted area information from the sub-storage means to control writing to the main storage means. A bitmap device comprising a control means for partially suppressing an attempt by an external device to write to the main memory means.
JP61162323A 1986-07-10 1986-07-10 Bit map unit Pending JPS6318390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61162323A JPS6318390A (en) 1986-07-10 1986-07-10 Bit map unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61162323A JPS6318390A (en) 1986-07-10 1986-07-10 Bit map unit

Publications (1)

Publication Number Publication Date
JPS6318390A true JPS6318390A (en) 1988-01-26

Family

ID=15752349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61162323A Pending JPS6318390A (en) 1986-07-10 1986-07-10 Bit map unit

Country Status (1)

Country Link
JP (1) JPS6318390A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58208782A (en) * 1982-05-29 1983-12-05 富士通株式会社 Display controller
JPS59231591A (en) * 1983-06-15 1984-12-26 株式会社日立製作所 Image generator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58208782A (en) * 1982-05-29 1983-12-05 富士通株式会社 Display controller
JPS59231591A (en) * 1983-06-15 1984-12-26 株式会社日立製作所 Image generator

Similar Documents

Publication Publication Date Title
EP0239951B1 (en) Pseudo-static memory subsystem
KR100393860B1 (en) Random access memory
EP0548894A2 (en) DRAM interface adapter circuit
KR940004435A (en) Smart video memory for processing graphics / video and its processing method
EP0198673B1 (en) Image memory
JP2735173B2 (en) One-chip memory device
JPS6318390A (en) Bit map unit
JPS5925307B2 (en) Storage device
JP2591514B2 (en) One-chip memory device
KR100374367B1 (en) Semiconductor memory
US4924441A (en) Method and apparatus for refreshing a dynamic memory
JPH0636550A (en) Semiconductor memory
JP2605656B2 (en) One-chip memory device
JP2702943B2 (en) Semiconductor storage device
JPH09326193A (en) Ic memory card
JPH0556598B2 (en)
JPH0450625B2 (en)
JP2591515B2 (en) One-chip memory device
JP3600830B2 (en) Processor
JPS59219780A (en) Graphic memory access circuit
JP2968636B2 (en) Microcomputer
JPS58158753A (en) Address transferring system of memory cassette
JPH08106784A (en) Synchronous memory control system and apparatus
JPH04105298A (en) Semiconductor memory integrated circuit
JP2002014944A (en) Exclusive control flag generation circuit and exclusive control method for processor system