JPS60191294A - Address updating unit - Google Patents

Address updating unit

Info

Publication number
JPS60191294A
JPS60191294A JP59047908A JP4790884A JPS60191294A JP S60191294 A JPS60191294 A JP S60191294A JP 59047908 A JP59047908 A JP 59047908A JP 4790884 A JP4790884 A JP 4790884A JP S60191294 A JPS60191294 A JP S60191294A
Authority
JP
Japan
Prior art keywords
address
data
memory
pulse
adder
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
JP59047908A
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59047908A priority Critical patent/JPS60191294A/en
Publication of JPS60191294A publication Critical patent/JPS60191294A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Memory System (AREA)

Abstract

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

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明はアドレス更新装置に関するもので、その処理
速度を向上したものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an address updating device, and its processing speed is improved.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

近年、テレビジョン受像機等のモニタに対しキー操作に
より画像表示できるシステム(例えばテレビゲームシス
テム)が広く普及している。
2. Description of the Related Art In recent years, systems (for example, video game systems) that can display images on a monitor such as a television receiver by key operations have become widespread.

この種システムにおいて、画像の合成を行々えるシステ
ムでは画像データの転送機能が重要となるものがある。
Among these types of systems, there are systems in which image data transfer function is important in systems that can perform image compositing.

その−例として、第1図に示すような年賀状作成機能を
備えたものが提案さ ゛nている。このシステムは表示
画面1ノにサンプル表示部12とワーク表示部13を表
示することが出来る。この例ではサンプル表示部12に
、゛たこ″こま″はごいた″パ木”がある例である。そ
して、′こま”の画像をワーク表示部13の左下に転送
した状態を示している。
As an example, a device equipped with a New Year's card creation function as shown in Figure 1 has been proposed. This system can display a sample display section 12 and a workpiece display section 13 on a display screen 1. In this example, the sample display section 12 has an octopus, a piece, and a tree. A state in which the image of the 'top' has been transferred to the lower left of the workpiece display section 13 is shown.

この状態は通常キーボードでサンプル画像指定キーと転
送先指定キーが操作されることによって得られる。予め
仕様書によって取決められたサンプル画像指定キーと転
送先指定キーが操作されると、この画像処理装置内のマ
イクロプロセッサが画像データの転送処理を開始する。
This state is usually obtained by operating the sample image designation key and the transfer destination designation key on the keyboard. When a sample image designation key and a transfer destination designation key, which are determined in advance according to specifications, are operated, the microprocessor within this image processing device starts image data transfer processing.

この画像データ転送処理は従来のものによると、すべて
ソフトウェアにより行われている。
According to the conventional technology, this image data transfer process is entirely performed by software.

第2図は表示画面11に対応した画像メモリ15を示し
ている。この画像メモリ15のアドレスはテレビジョン
画面走査の線順次に従って、その番号が増加するように
設定されている。つまり図面上で説明すると、左上から
右方向ヘアドレス番号が増大し、1水平ライン分進むと
次の水平ラインに移るというふうに増大している。
FIG. 2 shows an image memory 15 corresponding to the display screen 11. The addresses of the image memory 15 are set so that their numbers increase in accordance with the line sequential scanning of the television screen. That is, to explain it on the drawing, the hair address number increases from the upper left to the right, and when it advances by one horizontal line, it moves to the next horizontal line, and so on.

今サンプル画像エリアx5Aのデータを転送先エリア1
5Bに転送する場合を考えてみる。
Now transfer the data of sample image area x5A to area 1
Let us consider the case of transferring to 5B.

この場合は画像エリア151Lのデータを読出、書込ア
ドレスを転送先エリアに更新することによって得られる
0第3図は画像エリアJ5Aを拡大して示している。画
像エリア15Aの左上のアドレスがKXN+jであった
とすると、これが初期値となりアドレスデータがカウン
トアツプされる。そしてアドレスがKxN十j+(n−
1)となったとき、つまりエリアの右端にきたときは、
このアドレスKxN+j+(n−1) にN−n+1加
算してアドレス(K+1)XN十jに移動しなければな
らない。このような処理を繰返して画像エリア15Aの
最終アドレスまでアドレス指定データを更新していく必
要がある。読出データを書込む場合も同様なアドレス更
新処理が必要である。このように垂直方向のアドレス開
始位置が揃っている場合は比較的アドレス計算が楽であ
るがエリア15Cで示すように垂直方向のアドレスが変
化している場合は複雑なアドレス計算を行なう必要が生
じる。
In this case, the data is obtained by reading the data in the image area 151L and updating the write address to the transfer destination area. FIG. 3 shows an enlarged view of the image area J5A. Assuming that the upper left address of the image area 15A is KXN+j, this becomes the initial value and the address data is counted up. And the address is KxNj+(n-
1) When you reach the right edge of the area,
It is necessary to add N-n+1 to this address KxN+j+(n-1) and move to address (K+1)XN+j. It is necessary to repeat such processing to update the address designation data up to the final address of the image area 15A. Similar address update processing is required when writing read data. When the vertical address start positions are aligned like this, it is relatively easy to calculate the address, but when the vertical address changes as shown in area 15C, it becomes necessary to perform complicated address calculation. .

従来はこのようなアドレス計算を全てプログラムによっ
て処理しているため処理時間が非常に遅くなるという問
題があった。
Conventionally, all such address calculations have been processed by a program, which has caused a problem in that the processing time is extremely slow.

〔発明の目的〕[Purpose of the invention]

この発明は上記の事情に対処すべくなされたもので、1
m;単な手段によって高速でアドレスの更新を行なうア
ドレス更新装置を提供するものである。
This invention was made to deal with the above circumstances, and includes:
m; To provide an address update device that updates addresses at high speed by simple means.

〔発明の概要〕[Summary of the invention]

この発明によれば、アドレスデータの更新計算をする部
分22123124と、更新のだめの加算データを出力
する部分30.28,29゜27などをハードウェアに
より実現することで、更新アドレスデータを高速で発生
できるようにしたものである。
According to this invention, update address data is generated at high speed by realizing the part 22123124 for calculating update of address data and the parts 30, 28, 29, 27, etc. for outputting addition data for updating by hardware. It has been made possible.

〔発明の実施例〕[Embodiments of the invention]

以下この発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第4図はこの発明の一実施例を示すもので、21はアド
レス更新のタイミングをとるパルスS1を発生するアド
レス更新基準パルス発生器である。ここで発生されるパ
ルスS1は、メモリへのアクセス基準パルス(リード/
ライト)が用いられ、加算器24、水平方向カウンタ2
5にクロックとして加えられる。
FIG. 4 shows an embodiment of the present invention, in which reference numeral 21 is an address update reference pulse generator that generates a pulse S1 for timing address updates. The pulse S1 generated here is the memory access reference pulse (read/
write) is used, an adder 24, a horizontal counter 2
5 as a clock.

一方、22は、初期値セット回路であり、サンプル画像
エリア(第3図参照)のアドレスの初期データをセット
させる回路である。この回路22の出力はアドレスメモ
リ23に入力される。このアドレスメモリ23の出力デ
ータは、画像メモリのアドレス指定データとして用いら
れるとともに、加算器24にも加えられる0この加算器
24はアドレスメモリ23からのデータとスイッチ回路
3θからのデータとを加算してその結果を再度アドレス
メモリ23に入力するもので、これによりアドレス指定
データが更新されることになる。
On the other hand, 22 is an initial value setting circuit, which is a circuit for setting initial data of the address of the sample image area (see FIG. 3). The output of this circuit 22 is input to an address memory 23. The output data of this address memory 23 is used as addressing data for the image memory and is also added to an adder 24. This adder 24 adds the data from the address memory 23 and the data from the switch circuit 3θ. Then, the result is inputted into the address memory 23 again, thereby updating the addressing data.

次に加算器24に加算データを与える為の手段及びその
駆動手段について説明する。水平方向カウンタ25には
予めカウント値nがプリセットされている、そしてこの
水平方向カウンタ25がパルスS1をn個計数すると、
キャリーとしてのパルスS2が出力され、これはスイッ
チングパルス発生器27、垂直方向カウンタ26に入力
される。ここで垂直方向カウンタ26には、予めカウン
ト値mがプリセットされている。そして垂直方向カウン
タ26がパルスS2をm個計数したときに得られるパル
スS3は、画像メモリのアクセス(リード/ライト)を
停止させるために用いられる。スイッチングパルス発生
器29は、パルスS2が入力される毎にパルスS4を発
生し、これによってスイッチ回路30を制御する。スイ
ッチ回路30は、パルスS4が加えられる毎に加数メモ
リ29のデータを一回加算器24に入力する。この時以
外は、スイッチ回路30は加数メモリ28のデータを選
択して加算器24に与えている。従って、加算器24で
はパルスSノに同期して加数メモリ28のデータとアド
レスメモリ23のデータとの加算処理がn回行われ、n
+1回目で加数メモリ28のデータとアドレスメモリ2
3のデータとの加算処理が行われる。
Next, the means for providing addition data to the adder 24 and its driving means will be explained. A count value n is preset in the horizontal direction counter 25, and when this horizontal direction counter 25 counts n pulses S1,
A pulse S2 as a carry is output, which is input to the switching pulse generator 27 and the vertical counter 26. Here, the vertical direction counter 26 is preset with a count value m. A pulse S3 obtained when the vertical counter 26 counts m pulses S2 is used to stop access (read/write) to the image memory. The switching pulse generator 29 generates a pulse S4 every time the pulse S2 is input, and thereby controls the switch circuit 30. The switch circuit 30 inputs the data of the addend memory 29 to the adder 24 once every time the pulse S4 is applied. Other than this time, the switch circuit 30 selects the data in the addend memory 28 and supplies it to the adder 24. Therefore, in the adder 24, the addition process of the data in the addend memory 28 and the data in the address memory 23 is performed n times in synchronization with the pulse S, and n
+1st time, data in addend memory 28 and address memory 2
Addition processing with data No. 3 is performed.

ここで、加数メモリ28のデータは1(水平方向のアド
レス更新)であり、加数メモリ29のデータは(N−n
+1)(垂直方向のアドレス更新)である。つまり、第
3図の例のように、画像エリア15kが水平方向にn番
地、垂直方向にmライン(番地)であれば、その動作タ
イミング波形は第5図(a) 、 (b)に示すように
なる。また、この場合の初期値セット回路22のセット
データはKXN+jである。
Here, the data in the addend memory 28 is 1 (horizontal address update), and the data in the addend memory 29 is (N-n
+1) (vertical address update). In other words, as in the example of FIG. 3, if the image area 15k has n addresses in the horizontal direction and m lines (addresses) in the vertical direction, the operation timing waveforms are shown in FIGS. 5(a) and 5(b). It becomes like this. Further, the set data of the initial value set circuit 22 in this case is KXN+j.

上記した説明は、第3図のようなサンプル画像エリアの
データ読出アドレスを更新する場合の説明であるが、転
送先エリアのアドレス更新を行なう場合も同様に行なう
ことができるもので、初期値セットデータを変更するだ
けでよい。
The above explanation is for updating the data read address of the sample image area as shown in Figure 3, but it can be done in the same way when updating the address of the transfer destination area. Just change the data.

次に、第3図の画像エリア15Cのように垂直方向のラ
インが揃っていない場合は加数メモリが′Fji数用意
されてもよいし、マイクロプロセッサ・31によって垂
直カウンタ26のデータを読取り、加数メモリの内容を
切替えるようにしてもよい。このようにこの発明によれ
ば、アドレス更新作業がほとんど・・−ドウエアで可能
であり、高速で更新アドレスデータを発生することがで
きる。
Next, if the vertical lines are not aligned as in the image area 15C in FIG. The contents of the addend memory may also be switched. As described above, according to the present invention, address updating work can be performed almost entirely by hardware, and updated address data can be generated at high speed.

さらにこの発明によれば、加数メモリ28゜29の記憶
データを種々設定することによって各種の機能を持たせ
ることができる。例えば、データを読出す時の加数メモ
リ28の記憶データを2に設定し、書込む時の加数メモ
リ28の記憶データを1に設定すると、転送先エリアの
画像の大きさを172 にすることができる0またこの
逆も可能であり、拡大して転送することも可能である0
このように、加数メモリの値をかえるという簡単な操作
で種々の画像転送ができるので、グラフィック アニメ
ーション、画像合成など多方面の応用が可能である0さ
らにまた、画像を拡大又は縮小して転送する手段として
は、アドレス更新基準パルス発生器21の出力パルスを
加算器24あるいは水平力ウンタ25に入力する場合、
分周手段を介して入力し、その分周比を切替えられるよ
うにしてもよい。
Further, according to the present invention, various functions can be provided by setting various data stored in the addend memories 28 and 29. For example, if the data stored in the addend memory 28 is set to 2 when reading data, and the data stored in the addend memory 28 is set to 1 when writing data, the size of the image in the transfer destination area is set to 172. 0 is also possible, and vice versa, and it is also possible to enlarge and transfer 0
In this way, various images can be transferred with the simple operation of changing the value of the addend memory, so it can be used in many fields such as graphic animation and image compositing.Furthermore, it is possible to transfer images after enlarging or reducing them. As a means to do this, when the output pulse of the address update reference pulse generator 21 is input to the adder 24 or the horizontal force counter 25,
Alternatively, the frequency division ratio may be changed by inputting the signal through a frequency dividing means.

第6図はアドレス更新基準パルス発生器21の出力側に
分周器、?JAを接続した例である。これによって、分
周比を、読出のときと書込のときとでマイクロプロセッ
サによって切替えるようにすれば、自由に転送画像を拡
大又は議小することができる。
FIG. 6 shows a frequency divider on the output side of the address update reference pulse generator 21. This is an example in which JA is connected. As a result, if the frequency division ratio is switched by the microprocessor between reading and writing, it is possible to freely enlarge or reduce the transferred image.

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

上記したように、この発明によれば、簡単な手段によっ
て、高速でアドレスの更新を行なうアドレス更新装置を
提供することができる。
As described above, according to the present invention, it is possible to provide an address update device that updates addresses at high speed using simple means.

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

第1図は表示画面の例を示す説明図、第2図は画像メモ
リのアドレスを説明するための説明図、第3図は第2図
の一部を取出して示す説明図、第4図は、この発明の一
実施例を示す構成説明図、第5図は第4図の回路の各部
信号波形図、第6図はこの発明の他の実施例を説明する
のに示した回路図である。 2ノ・・・アドレス更新基準パルス発生器、22・・・
初期値セット回路、23・・・アドレスメモリ、24・
・・加算器、25・・・水平方向カウンタ、26・・・
垂直方間カウンタ、27°°゛スイッチングパルス発生
器、28.29・・・加数メモリ、30・・スイッチ回
路。 出願人代理人 弁理士 鈴 江 武 彦第1図 第2図 第3図 第4図 第5図 第6雫 L
Fig. 1 is an explanatory diagram showing an example of a display screen, Fig. 2 is an explanatory diagram to explain the address of the image memory, Fig. 3 is an explanatory diagram showing a part of Fig. 2, and Fig. 4 is an explanatory diagram showing an example of the display screen. , a configuration explanatory diagram showing one embodiment of this invention, FIG. 5 is a signal waveform diagram of each part of the circuit of FIG. 4, and FIG. 6 is a circuit diagram shown to explain another embodiment of this invention. . 2 No. Address update reference pulse generator, 22...
Initial value set circuit, 23...address memory, 24.
...Adder, 25...Horizontal counter, 26...
Vertical counter, 27°° switching pulse generator, 28.29... Addend memory, 30... Switch circuit. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Drop L

Claims (1)

【特許請求の範囲】[Claims] 画像メモリの任意の初期アドレスデータをセットされる
初期値セット回路と、前記初期値セット回路のアドレス
データを基準にした更新アドレスデータを入力出力する
ことのできるアドレスメモリと、前記アドレスメモリの
出力アドレスデータとスイッチ回路の加算データとを加
算し前記アドレスメモリに入力する加算器と、前記加算
器に加算タイミングパルスを与えるアドレス更新基準パ
ルス発生器と、前記タイミングパルスを、読出または書
込エリアの水平方向アドレスの数の分を計数し、この計
数が終った時点でライン変更用のパルスを出力する水平
方向カウンタと、前記ライン変更用のパルスを、前記画
像エリアの垂直方向ラインの数の分を計数し、アドレス
更新終了パルスを発生する垂直方向カウンタと、前記ス
イッチ回路を介して前記加算器に与えるだめの加算デー
タをそれぞれ記憶した複数の加数メモリと、前記水平方
向カウンタの出力パルスが入力され、このパルスに応答
して前記スイッチ回路がライン変更用のデータを前記加
数メモリのうちの一つから選択して導出するようにスイ
ッチングパルスを発生するスイッチングパルス発生器と
を具備したことを特徴とするアドレス更新装置。
an initial value set circuit into which arbitrary initial address data of the image memory is set; an address memory into which updated address data based on the address data of the initial value set circuit can be input/output; and an output address of the address memory. an adder that adds the data and the addition data of the switch circuit and inputs it to the address memory; an address update reference pulse generator that provides an addition timing pulse to the adder; a horizontal direction counter that counts the number of direction addresses and outputs a line change pulse when the counting is completed; A vertical counter that counts and generates an address update end pulse, a plurality of addend memories each storing additional data to be applied to the adder via the switch circuit, and output pulses of the horizontal counter are input. and a switching pulse generator that generates a switching pulse in response to the pulse so that the switch circuit selects and derives data for line change from one of the addend memories. Characteristic address update device.
JP59047908A 1984-03-13 1984-03-13 Address updating unit Pending JPS60191294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59047908A JPS60191294A (en) 1984-03-13 1984-03-13 Address updating unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59047908A JPS60191294A (en) 1984-03-13 1984-03-13 Address updating unit

Publications (1)

Publication Number Publication Date
JPS60191294A true JPS60191294A (en) 1985-09-28

Family

ID=12788472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59047908A Pending JPS60191294A (en) 1984-03-13 1984-03-13 Address updating unit

Country Status (1)

Country Link
JP (1) JPS60191294A (en)

Similar Documents

Publication Publication Date Title
US4196430A (en) Roll-up method for a display unit
JPS61249086A (en) Image display method and apparatus for adjacent display zone
JPS59231591A (en) Image generator
JPS60191294A (en) Address updating unit
JPS5835592A (en) Display picture divider
JP2765141B2 (en) External synchronization control device
JPS628192A (en) Cursor control circuit
JPS6191690A (en) Image display unit
JP3380109B2 (en) Image display device
JPS60196792A (en) Display controller
JPS60189788A (en) Paning control circuit for crt display unit
JPH0311396A (en) Character display system
JPS62212691A (en) Image display unit
JPS61179489A (en) Display unit
JPS60159888A (en) Display unit
JPH02105242A (en) Memory clear circuit
JPS5866991A (en) Cursor display control system
JPS61233774A (en) Kanji display unit
JPH0737109A (en) Line texture generation method
JPS63253396A (en) Display device
JPS62150384A (en) Image scroller
JPH08115072A (en) Dot display device
JPS604992B2 (en) Character display device
JPS6195394A (en) Display controller
JPS612191A (en) Partial scrolling circuit for display screen