JPS6152688A - Pattern data updating system - Google Patents

Pattern data updating system

Info

Publication number
JPS6152688A
JPS6152688A JP59175391A JP17539184A JPS6152688A JP S6152688 A JPS6152688 A JP S6152688A JP 59175391 A JP59175391 A JP 59175391A JP 17539184 A JP17539184 A JP 17539184A JP S6152688 A JPS6152688 A JP S6152688A
Authority
JP
Japan
Prior art keywords
data
register
pattern
vram
written
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
JP59175391A
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59175391A priority Critical patent/JPS6152688A/en
Publication of JPS6152688A publication Critical patent/JPS6152688A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パターンデータ更新方式特にCRTに表示す
るパターンデータを格納するVRAMの該データを所望
のパターンデータに高速で変更する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a pattern data updating method, and particularly to a method for rapidly changing data in a VRAM that stores pattern data to be displayed on a CRT to desired pattern data.

〔従来の技術〕[Conventional technology]

CRT (陰極線管)ディスプレイはVRAM(ビデオ
ランダムアクセスメモリ)を備え、lyRAMへ表示す
べきドツトパターンを書込み、それを読み出してCRT
管面に表示するという方式をとるものが多い。カラー表
示の場合VRAMはR(赤)、G(緑)、B(青)用の
3種となり、デジタル方式であるからこれで7色表示が
可能になる。また輝度(I)用のVRAMを備え、7色
に明暗を加えて表示色を多様にしたものがあり、更に多
種の中間色を出せるタイルペイントと呼ばれる方式をと
るものもある。
A CRT (cathode ray tube) display is equipped with a VRAM (video random access memory), and the dot pattern to be displayed is written in the lyRAM, read out, and displayed on the CRT.
Many use the method of displaying on the screen. In the case of color display, there are three types of VRAM for R (red), G (green), and B (blue), and since it is a digital system, seven color display is possible. There are also models that are equipped with a VRAM for brightness (I) and have a variety of display colors by adding brightness and darkness to the seven colors, and there are also models that use a method called tile paint that can produce a wider variety of intermediate colors.

カラーの場合表示面の1ドツトはR,G、83ドツトか
らなるが、か\る1ドツトで扱って各ドツトがRでは0
. 1. 0. 1.・・・・・・、Gでは1゜0.1
.O,・・・・・・、B=0とすると、各ドツトは交互
に緑、赤、緑、赤、・・・・・・となっており、人間の
目には緑と赤の中間色に見える。RとG、GとBなとに
よっても同様の表示が可能で、これが夕。
In the case of color, one dot on the display screen consists of R, G, and 83 dots, but if it is treated as one dot, each dot is 0 in R.
.. 1. 0. 1.・・・・・・1゜0.1 in G
.. When O, ..., B = 0, each dot is alternately green, red, green, red, ..., and to the human eye, it appears as an intermediate color between green and red. appear. A similar display is possible with R and G, G and B, and this is evening.

イルペイントと呼ばれるカラー表示法である。This is a color display method called il-paint.

VRAMなどを構成するメモリチップは1アドレス1メ
モリセルが原則であり、1アクセスで1ビツト即ぢ1メ
モリセルに対する書込み、読出しが行なわれる。か\る
メモリチップをデータバス幅に合わせて複数個例えば8
個並列に使用すれば1アドレスで複数ビット本例では8
ビツトアクセスすることができ、迅速な書込み、読出し
が可能になる。
In principle, a memory chip constituting a VRAM or the like has one address and one memory cell, and one access writes and reads one bit to and from one memory cell. Multiple memory chips, for example 8, depending on the data bus width.
If used in parallel, multiple bits per address (8 in this example)
Bit access is possible, allowing quick writing and reading.

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

ところでCRTに表示するパターンのデータを格納する
VRAMの該データを変え、表示パターンを変更したい
要求がある。例えば表示面の赤い直線を緑の直線に変え
たい、実線を点線に変更したい、等がそれである。この
ような場合従来方式ではCPU (中央処理装置)がV
RAMを読出し、読出したデータに所望の変更を加え、
それをVRAMの続出したアドレスに書込み、か\る処
理をデータバス幅単位でそしてR,C,、B別に繰り返
し行なうという方法をとるが、これは時間を要する。V
RAMに新しくパターンを書込む場合も同様で、CPU
が即ちソフトウェアがR,G、B別にVRAMをアクセ
スし、新パターンデータをデータバス幅単位で繰り返し
書込んで行くので、時間を要する。
By the way, there is a request to change the display pattern by changing the data of the pattern to be displayed on the CRT in the VRAM that stores the data. For example, you may want to change a red straight line on the display screen to a green straight line, or change a solid line to a dotted line. In such cases, in the conventional method, the CPU (central processing unit)
Read the RAM, make desired changes to the read data,
A method is used in which the information is written to successive addresses in the VRAM and the process is repeated for each data bus width and for each R, C, B, but this takes time. V
The same goes when writing a new pattern to RAM;
However, since the software accesses the VRAM separately for R, G, and B and repeatedly writes new pattern data in data bus width units, it takes time.

それ数本発明はデータの一部修正及び新ML書込み(こ
れを単に更新という)に適切な書込み回路(ハードウェ
ア)を設けてVRAMの迅速な書込みを可能にしようと
するものである。
However, the present invention attempts to enable rapid writing of VRAM by providing a writing circuit (hardware) suitable for partially modifying data and writing new ML (simply referred to as updating).

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

本発明は、陰極線管に表示するパターンのデー″りを書
込まれるビデオランダムアクセスメモリのパターンデー
タ更新方式において、前記メモリから読出したデータに
対し、変更するビット、しないビットを指定するデータ
を書込まれるパターンレジスタと、変更するビットの変
更後データを書込むまれるイメージデータレジスタと、
前記メモリの読出しデータおよびパターンレジスタとイ
メージデータレジスタの各出力データを入力されて該レ
ジスタのデータで読出しデータを修正する演算回路を設
け、該演算回路の出力を前記メモリのデータを読出した
アドレスへ書込んでデータイ1に正を行なうことを特徴
とするものであるが、次に実施例を参照しながら構成、
作用を説明する。
In a pattern data updating method for a video random access memory in which data of a pattern to be displayed on a cathode ray tube is written, the present invention writes data specifying bits to be changed and bits not to be changed to data read from the memory. an image data register into which the changed data of the bit to be changed is written;
An arithmetic circuit is provided which receives the read data of the memory and each output data of the pattern register and the image data register and corrects the read data with the data of the register, and sends the output of the arithmetic circuit to the address from which the data of the memory was read. The feature is that data is written and data 1 is corrected.
Explain the action.

〔実施例〕〔Example〕

第1図は本発明の実施例を示し、10はVRAM ?’
 Rt< 7り12、Gバンク14、Bバンク16、I
バンク18の4バンクからなる。各バンクの記)、α容
■はCRTディスプレイのドツト故に等しく、そして複
数ビット本例では8ビット同時に書込み、読出しされる
。20はVRAMパンクデータのラッチ回路でRバンク
用22、Gバンク用24、Bバンク用26、Iバンク用
28の4個からなる。
FIG. 1 shows an embodiment of the present invention, and 10 is a VRAM? '
Rt< 7ri 12, G bank 14, B bank 16, I
It consists of 4 banks, 18 banks. Notes for each bank) and alpha capacity (2) are equal because of the dots in a CRT display, and multiple bits, in this example 8 bits, are written and read simultaneously. Reference numeral 20 denotes a latch circuit for VRAM puncture data, which consists of four circuits: 22 for R bank, 24 for G bank, 26 for B bank, and 28 for I bank.

30はパターン演算(マスク)回路で、やはりRピッ1
−用32、Gビット用34、Bビット用36、■ビット
用38の4個からなる。40はマスクパターンを格納す
るレジスタで、R用42、G用44、B用4G、1用4
8の4間からなる。60はデータ変更する、しないを指
示するイメージデータを格納するレジスタであり、50
は中央処理装置(CPU) 、52はそのデータバス、
54はアドレスバスである。バス幅を本例では8とする
。従ってデータは8ビ・ノド単位で扱われ、ランチ回路
20はR,G、 B、  1用各々8ビツト、パターン
レジスタ40もR,G、B、I用各々8ビ・ノド、イメ
ージデータレジスタ60も8ビツトである。
30 is a pattern calculation (mask) circuit, which also has R pitch 1.
It consists of four bits: 32 for - bit, 34 for G bit, 36 for B bit, and 38 for ■ bit. 40 is a register for storing mask patterns; 42 for R, 44 for G, 4G for B, 4 for 1.
It consists of 4 rooms of 8. 60 is a register that stores image data that instructs whether to change data;
is the central processing unit (CPU), 52 is its data bus,
54 is an address bus. In this example, the bus width is 8. Therefore, data is handled in units of 8 bits, the launch circuit 20 has 8 bits each for R, G, B, and 1, the pattern register 40 has 8 bits each for R, G, B, and I, and the image data register 60 has 8 bits each for R, G, B, and I. is also 8 bits.

VRAMデータを更新するに当ってCPU50はレジス
タ40にマスクパターンを、レジスタ60にイメージデ
ータを8ビット単位で逐次書込む。
When updating the VRAM data, the CPU 50 sequentially writes a mask pattern to the register 40 and image data to the register 60 in 8-bit units.

VRAMl0はイニシャルリセットされてオール0の状
態にあり、レジスタ40.60には次のデ     ・
−夕が書込まれたとする。
VRAM10 has been initial reset and is in a state of all 0s, and the next data is stored in register 40.60.
- Suppose that evening is written.

BGR レジスタ60 0 0 0 0 1 1 1’LDOD
i   D2   D3  D4   D5   D6
   D7レジスタ42 1 0 1 0 1 0 1
 0レジスタ44 0 1 0 1 0 1 0 1レ
ジスタ46 1 1 0 0 1 1 0 0レジスタ
48 0 0 1 1 0 0 1 1イメージデータ
レジスタ60のヒツトが1ということは当言亥R,G、
B、Iのビットを1にすることを意味する。またパター
ンレジスタ40のビットが1ということはV RA M
 Rft出しデータの当該ビットを変更しない、を意味
し、0ということはイメージデータに従って変更する、
を意味する。
BGR register 60 0 0 0 0 1 1 1'LDOD
i D2 D3 D4 D5 D6
D7 register 42 1 0 1 0 1 0 1
0 register 44 0 1 0 1 0 1 0 1 register 46 1 1 0 0 1 1 0 0 register 48 0 0 1 1 0 0 1 1 It goes without saying that the number in the image data register 60 is 1.
This means that bits B and I are set to 1. Also, the bit of the pattern register 40 is 1, which means that V RAM
It means that the relevant bit of the Rft output data is not changed, and 0 means that it is changed according to the image data.
means.

演算回路30はか\る処理を行なう。即らCPU50は
更新すべきVRAMのアドレスを出力し、このアドレス
でVRAMは読出され、その8ビット続出しデータはク
ロックCLKでう・ノチ回路20に取込まれ、このラン
チ回路より演算回路30の一方の入力端に入力される。
The arithmetic circuit 30 performs such processing. That is, the CPU 50 outputs the address of the VRAM to be updated, the VRAM is read at this address, and the 8-bit successive data is taken into the U-nochi circuit 20 by the clock CLK, and from this launch circuit is sent to the arithmetic circuit 30. It is input to one input terminal.

演算回路30の他方の入力端にはパターンレジスタ40
からの上記8ヒツトデータとイメージデータレジスタ6
0からの上記RGB Iビットが入力され、上記要領で
演算を行なう。従って上記の例では演算回路の出力は次
のようになる。
A pattern register 40 is connected to the other input terminal of the arithmetic circuit 30.
The above 8 human data and image data register 6 from
The RGB I bits starting from 0 are input and the calculation is performed in the manner described above. Therefore, in the above example, the output of the arithmetic circuit is as follows.

演算回路32 01010101 演算回路34 10101010 演算回路36 00110011 演算回路38 11001100 即ちレジスタ60のイメージデータはRGB Iが1で
あるからこれらのビ・ノドはlにする、を指示しており
、パターンレジスタ42のデータは10101010即
ちVRAM  Rノ−ンクの8ビ・ノド読出しデータの
うちのビットDO,D2.D4゜D6は修正なし従って
o o o o、  ビ・ノドD1.D3、D5.D7
は1に修正であるから1111゜全体では010101
01となる。G、B、Iのデータについても同様である
。演算回路30の出力はVRAM12へ送られ、読出し
たVRAMのアドレスへ書込まれる。従って読出された
VRAMアドレスのデータが演算回路30の出力で更新
されることになり、これは8 x 4−32ビ・ノド同
時に行なわれるから高速処理可能である。
Arithmetic circuit 32 01010101 Arithmetic circuit 34 10101010 Arithmetic circuit 36 00110011 Arithmetic circuit 38 11001100 In other words, since the image data in the register 60 is RGB I is 1, these bits and nodes are instructed to be set to 1, and the pattern register 42 The data is 10101010, that is, bits DO, D2. of the 8-bit read data of the VRAM R node. D4゜D6 is not modified, so o o o o, bi-nod D1. D3, D5. D7
is modified to 1, so the total is 1111° and 010101
It becomes 01. The same applies to G, B, and I data. The output of the arithmetic circuit 30 is sent to the VRAM 12 and written to the read address of the VRAM. Therefore, the read data at the VRAM address is updated with the output of the arithmetic circuit 30, and this is done simultaneously for 8 x 4-32 bits, so high-speed processing is possible.

このパターンレジスタ40、イメージデータ60、およ
び演算回路30によるVRAM書込みは、種々の利点を
持っている。部ちCPU50は、最初はレジスタ40お
らび60にデータを潜込まなければならないが、以後は
アドレスを発生するだけで該レジスタに書込んだデータ
(詳しくはこのデータで指示したデータを)繰り返し書
込んでゆくことができる。最初VRAMに書込まれてい
たパターンが赤の直線であり、これを緑の点線にしたい
場合はイメージデータのRは0、Gは1とし、パターン
レジスタ42にはオール01パターンレジスタ46には
01010101など(勿論00110011などでも
よい)とし、上記赤の直線のデータが格納されているV
RAMアドレスを発生して上記処理を行なえばよい。こ
の場合Rについてはメモリ消去、Gについては1ヒツト
おきの1書込等となる。
This VRAM writing by pattern register 40, image data 60, and arithmetic circuit 30 has various advantages. Initially, the CPU 50 has to write data into the registers 40 and 60, but after that, it can repeatedly write the data written to the register (more specifically, the data specified by this data) simply by generating an address. You can get into it. The pattern originally written in the VRAM is a red straight line, and if you want to change it to a green dotted line, set R of the image data to 0, G to 1, and the pattern register 42 is all 01, the pattern register 46 is 01010101. etc. (of course, 00110011 etc. are also acceptable), and the V in which the data of the above red straight line is stored.
It is sufficient to generate a RAM address and perform the above processing. In this case, the memory is erased for R, and the memory is written every other hit for G.

パターンレジスタ40のデータ1は変更しないヒントを
指示するものであるから、複雑なパターンの一部を(1
,に正する、複gIUな色(合成色)の一部を変更する
(従って他の合成色にする)等の処理に便利であり、変
更前後で不変の部分(ピッ1−)については手を加える
必要がないから、データ作成、変更処理が容易である。
Since data 1 in the pattern register 40 indicates a hint that will not be changed, a part of a complex pattern can be changed to (1
It is convenient for processing such as correcting , or changing a part of a multi-gIU color (composite color) (therefore changing it to another composite color). Since there is no need to add data, data creation and modification processing is easy.

第2図は主として演算回路30の具体例を示す図である
。32a、32bはアドレスゲート、32cはオアゲー
トで、か−るゲートの組がRGB■の各ビットに、従っ
て32組設けられる。図ではRGB Iの各1つのみを
示す。アンドゲート32 a、  32 b、・・・・
・・は各パターンレジスタ40の各ビットで開閉される
。即ちこのビットが1ならゲート32a、34a、・・
・・・・が開き、ラッチ回路20にラッチされたVRA
Ml0の読出しデータが該ゲート32a、34a、・・
・・・・およびオアゲー)32c、34c、・・・・・
・を通って再びVRAMl0へ入り、書込まれる。パタ
ーンレジスタ40のデータが0であるとアンドゲート3
2b、34b。
FIG. 2 mainly shows a specific example of the arithmetic circuit 30. As shown in FIG. 32a and 32b are address gates, 32c is an OR gate, and 32 sets of such gates are provided for each bit of RGB . In the figure, only one each of RGB I is shown. AND gate 32 a, 32 b,...
. . . are opened and closed by each bit of each pattern register 40. That is, if this bit is 1, the gates 32a, 34a,...
... is opened and the VRA is latched by the latch circuit 20.
The read data of Ml0 is sent to the gates 32a, 34a, .
...and or game) 32c, 34c, ...
, and then enters VRAMl0 again and is written. If the data in the pattern register 40 is 0, the AND gate 3
2b, 34b.

・・・・・・が開き、イメージデータ60のRGB I
ビットが該ゲー1−32b、34b、・・・・・・およ
びオアゲート32 C,34C,・・・・・・を通っ7
VRAM10へ入り、書込まれる。CRTへの表示に当
ってVRAMl0は繰り返しく垂直走査周期で)読出さ
れ、該CRTへ入力されるが、この系を第2図ではナン
トゲート62及びCPUで示している。
...... will open and the RGB I of image data 60 will be displayed.
The bits pass through the gates 1-32b, 34b, . . . and the OR gates 32C, 34C, .
It enters the VRAM 10 and is written. When displaying on a CRT, the VRAM10 is read out (in repeated vertical scanning cycles) and input to the CRT, and this system is shown in FIG. 2 by a Nant gate 62 and a CPU.

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

以上説明したように本発明ではV RA Mのデータ書
込みをCPUの負担が少なくハードウェアで高速に実行
でき、VRAM続出しデータの指定したビア 1・はそ
のま−1残りを指定した通りに書換えるという方法をと
るので、VRAMデータの一部修正に有利であり、勿論
新規書込みも可能である等の多様性がある。この方式に
よればタイルペイン1−、データマスク、基盤の目作成
などを容易かつ高速に処理できる。
As explained above, according to the present invention, data writing to VRAM can be executed at high speed by hardware with less burden on the CPU, and the via 1 and the designated via 1 of continuous VRAM data can be rewritten as specified. Since this method is adopted, it is advantageous for partially modifying VRAM data, and of course new writing is also possible. According to this method, tile pane 1-, data mask, base eye creation, etc. can be easily and quickly processed.

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

第1図は本発明の実施例を示すブロック図、第2図はそ
の一部の詳細を示すブロック図である。 図面で、10はVRAM、40はパターンレジスタ、6
0はイメージデータレジスフ、30は演算回路である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing some details thereof. In the drawing, 10 is VRAM, 40 is pattern register, 6
0 is an image data register, and 30 is an arithmetic circuit.

Claims (1)

【特許請求の範囲】 表示するパターンのデータを書込まれるビデオランダム
アクセスメモリのパターンデータ更新にあたって、 前記メモリから読出したデータに対し、変更するビット
、しないビットを指定するデータを書込まれるパターン
レジスタと、変更するビットの変更後データを書込むま
れるイメージデータレジスタと、前記メモリの読出しデ
ータおよびパターンレジスタとイメージデータレジスタ
の各出力データを入力されて該レジスタのデータで読出
しデータを修正する演算回路を設け、該演算回路の出力
を前記メモリのデータを読出したアドレスへ書込んでデ
ータ修正を行なうことを特徴とするパターンデータ更新
方式。
[Scope of Claims] When updating pattern data of a video random access memory into which data of a pattern to be displayed is written, a pattern register into which data specifying bits to be changed or bits not to be changed is written to the data read from the memory. , an image data register into which changed data of the bit to be changed is written, and an operation in which the read data of the memory and each output data of the pattern register and the image data register are input and the read data is corrected with the data of the register. A pattern data updating method characterized in that a circuit is provided and the output of the arithmetic circuit is written to the address from which the data in the memory was read to correct the data.
JP59175391A 1984-08-23 1984-08-23 Pattern data updating system Pending JPS6152688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59175391A JPS6152688A (en) 1984-08-23 1984-08-23 Pattern data updating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59175391A JPS6152688A (en) 1984-08-23 1984-08-23 Pattern data updating system

Publications (1)

Publication Number Publication Date
JPS6152688A true JPS6152688A (en) 1986-03-15

Family

ID=15995277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59175391A Pending JPS6152688A (en) 1984-08-23 1984-08-23 Pattern data updating system

Country Status (1)

Country Link
JP (1) JPS6152688A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5753784A (en) * 1980-09-17 1982-03-30 Sord Computer Syst
JPS5745688B2 (en) * 1975-02-10 1982-09-29
JPS5810135B2 (en) * 1973-03-20 1983-02-24 松下電器産業株式会社 High Gas Jiyou Kayoshiyoku Baitai
JPS58187989A (en) * 1982-04-28 1983-11-02 株式会社日立製作所 Display memory circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5810135B2 (en) * 1973-03-20 1983-02-24 松下電器産業株式会社 High Gas Jiyou Kayoshiyoku Baitai
JPS5745688B2 (en) * 1975-02-10 1982-09-29
JPS5753784A (en) * 1980-09-17 1982-03-30 Sord Computer Syst
JPS58187989A (en) * 1982-04-28 1983-11-02 株式会社日立製作所 Display memory circuit

Similar Documents

Publication Publication Date Title
JPS61159686A (en) Image display unit
JPH0429069B2 (en)
JPS6125188A (en) Image display unit
US5737761A (en) Memory control architecture for high-speed transfer operations
JPS6152688A (en) Pattern data updating system
JPS6332390B2 (en)
JPS6321694A (en) Graphic processor
JP2761335B2 (en) Screen display device
JPS6330633B2 (en)
JPS648335B2 (en)
JP2735058B2 (en) Video display memory
JPH0340072A (en) Memory device having address control function
JPS6141186A (en) Simultaneous color data writing apparatus
JPH0426472B2 (en)
JPH0695272B2 (en) Image display device
JPS62102288A (en) Bit map display unit
JPS6198385A (en) Display controller
JPH0697392B2 (en) Image display device
JPS6330985A (en) Straight line drawing system
JPH02201642A (en) Access system for memory for display
JPH0253796B2 (en)
JPH0193868A (en) Data processor
JPH04139529A (en) Graphic display device
JPH03113493A (en) Access method for external character memory
JPS6265077A (en) Pattern conversion system