JP2610200B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2610200B2
JP2610200B2 JP2264472A JP26447290A JP2610200B2 JP 2610200 B2 JP2610200 B2 JP 2610200B2 JP 2264472 A JP2264472 A JP 2264472A JP 26447290 A JP26447290 A JP 26447290A JP 2610200 B2 JP2610200 B2 JP 2610200B2
Authority
JP
Japan
Prior art keywords
image
image data
color
image processing
offset
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.)
Expired - Fee Related
Application number
JP2264472A
Other languages
Japanese (ja)
Other versions
JPH04140791A (en
Inventor
和彦 濱田
Original Assignee
株式会社セガ・エンタープライゼス
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 株式会社セガ・エンタープライゼス filed Critical 株式会社セガ・エンタープライゼス
Priority to JP2264472A priority Critical patent/JP2610200B2/en
Publication of JPH04140791A publication Critical patent/JPH04140791A/en
Application granted granted Critical
Publication of JP2610200B2 publication Critical patent/JP2610200B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、画像処理装置、特にコンピュータゲーム機
に使用される画像処理装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, particularly to an image processing apparatus used for a computer game machine.

[従来の技術] 従来より、コンピュータゲームは、一般大衆の娯楽と
して楽しまれているが、近年のコンピュータゲーム機
は、需要者の要求に応えるためソフトウエア、ハードウ
エア共に高度化、複雑化している。
[Prior Art] Conventionally, computer games have been enjoyed as entertainment for the general public. However, in recent years, computer game machines have become more sophisticated and complex in terms of both software and hardware in order to meet demands of consumers. .

特に、コンピュータゲームは、カラーCRT(例えば、
カラーテレビ画面)を利用者が見ながらゲームに参加す
る形態がほとんどであり、ゲームの画面をいかに楽しい
ものにするかは、コンピュータゲーム機を開発する者に
とって重要なテーマである。
In particular, computer games use color CRTs (eg,
In most cases, a user participates in a game while watching a color television screen), and how to make the game screen fun is an important theme for computer game machine developers.

このために、コンピュータゲーム機に使用される画像
処理装置の研究が行われている。
For this purpose, research has been conducted on image processing apparatuses used in computer game machines.

コンピュータゲームの画像処理において、画面全体の
色合いや輝度を変化させる、フェイドイン/アウトを行
わせる場合がある。
In image processing of a computer game, a fade-in / out that changes the color and brightness of the entire screen may be performed.

このフェイドイン/アウトを実現するには、ゲーム画
面の画像データを記憶しているカラーRAM(画像データ
記憶用メモリ)をプログラムにより書き替える必要があ
る。そのためには、CPU(マイクロコンピュータ)が、
直接カラーRAMに記憶された指定画面又は指定キャラク
タのデータを書き替えたり、オフセット値の加減算を行
わなければならない。
To realize this fade-in / out, it is necessary to rewrite a color RAM (image data storage memory) storing image data of the game screen by a program. To do so, the CPU (microcomputer)
It is necessary to directly rewrite the data of the designated screen or the designated character stored in the color RAM, and to add or subtract the offset value.

近年、ゲームの画面数やキャラクタ数の増大に伴い、
ゲーム画面に用いられる色数も増え、プログラムによる
CPUのカラーRAMの書き替え回数が、1回の書き替え当り
8000回を越える場合も生じてきた。
In recent years, with the increase in the number of screens and characters in games,
The number of colors used for the game screen has also increased, depending on the program.
The number of rewrites of the CPU color RAM is one per rewrite
There have been cases where the number has exceeded 8000.

[発明が解決しようとする課題] こうなると、フェイドイン/アウトを行うためのカラ
ーRAMの書き替えにCPUが占有される時間が無視できなく
なってくる。CPU側から見れば、フェイドイン/アウト
の処理を行っている間は他のジョブをすることができ
ず、また、利用者側から見れば、フェイドイン/アウト
にかかる時間が長くなり過ぎるという問題があった。
[Problem to be Solved by the Invention] In this case, the time occupied by the CPU for rewriting the color RAM for performing the fade-in / out cannot be ignored. From the perspective of the CPU, no other jobs can be performed while the fade-in / out processing is being performed, and from the perspective of the user, the time required for the fade-in / out becomes too long. was there.

従って、最近はカラーRAMを用いた画像処理装置を有
するコンピュータゲーム機では、色合いや輝度を変化さ
せるフェイドイン/アウトはほとんど行われていなかっ
た。
Therefore, recently, in a computer game machine having an image processing apparatus using a color RAM, fade-in / out for changing a color tone and luminance has hardly been performed.

また、従来の画像処理装置では、スプライト面や個々
の背景に対して独立にフェイドイン/アウトを行うこと
ができないという問題もあった。
Further, in the conventional image processing apparatus, there is also a problem that the fade-in / out cannot be independently performed on the sprite surface or each background.

本発明の目的は、フェイドイン/アウトを行う際、CP
Uに負担をかけることなく短時間で処理を完了でき、画
面全体だけでなく、スプライト面や個々の背景にもフェ
イドイン/アウトのできる画像処理装置を提供すること
にある。
An object of the present invention is to provide a fade-in / out
It is an object of the present invention to provide an image processing apparatus that can complete processing in a short time without imposing a burden on U and can perform fade-in / out not only on the entire screen but also on a sprite surface or an individual background.

[課題を解決するための手段] 上記目的は、カラー情報を含む画像データが記憶され
たカラーRAMと、前記カラーRAMから読み出された画像デ
ータをデジタルアナログ変換して画像表示部に出力する
デジタルアナログ変換器とを有する画像処理装置におい
て、オフセット値を入力し保持するオフセットレジスタ
と、前記オフセットレジスタの前記オフセット値と前記
カラーRAMの前記画像データとがそのまま入力される加
算器とを備え、前記画像データに前記オフセット値を加
算することにより、前記カラーRAM内の画像データを書
き替えることなく、画像を変化させることを特徴とする
画像処理装置によって達成される。
[Means for Solving the Problems] The object of the present invention is to provide a color RAM in which image data including color information is stored, and a digital RAM for converting image data read from the color RAM into a digital-to-analog signal and outputting it to an image display unit. An image processing apparatus having an analog converter, comprising: an offset register that inputs and holds an offset value; and an adder that receives the offset value of the offset register and the image data of the color RAM as they are, An image processing apparatus is characterized in that an image is changed without rewriting image data in the color RAM by adding the offset value to image data.

[作用] 本発明によれば、フェイドイン/アウトを行う際、CP
Uに負担をかけることなく短時間で処理を完了でき、画
面全体だけでなく、スプライト面や個々の背景にもフェ
イドイン/アウトができるようになる。
[Action] According to the present invention, when performing fade-in / out, the CP
Processing can be completed in a short time without putting a burden on U, and fade-in / out can be performed not only on the entire screen but also on the sprite surface and individual backgrounds.

[実施例] 本発明の一実施例による画像処理装置を第1図を用い
て説明する。
Embodiment An image processing apparatus according to an embodiment of the present invention will be described with reference to FIG.

同図(a)は、本発明の一実施例による画像処理装置
のブロック図、同図(b)は、本発明の一実施例による
カラーオフセット部のブロック図を示す。
FIG. 1A is a block diagram of an image processing apparatus according to one embodiment of the present invention, and FIG. 1B is a block diagram of a color offset unit according to one embodiment of the present invention.

カラーRAM22のデータ書き込みアドレスを指定するた
めのCPUアドレスと、カラーRAM22からデータを読出すた
めの画像コードがセレクタ20に入力される。
A CPU address for designating a data write address of the color RAM 22 and an image code for reading data from the color RAM 22 are input to the selector 20.

セレクタ20により、CPUアドレスからカラーRAM22のア
ドレスが指定されると、画像データを持つCPUデータが
カラーRAM22に入力される。カラーRAM22には、ゲームの
スプライト面や個々の背景の色を特定する画像データが
書き込まれる。このカラーRAM22に多数の画像データを
記憶しておくことにより、色数の豊富な画面を作成する
ことができる。
When the address of the color RAM 22 is specified from the CPU address by the selector 20, CPU data having image data is input to the color RAM 22. In the color RAM 22, image data for specifying the color of the sprite surface of the game and each background is written. By storing a large number of image data in the color RAM 22, a screen with a large number of colors can be created.

カラーRAM22の画像コードには、R(赤)、G
(緑)、B(青)の光の三原色の情報が画像データとし
て記憶されている。ある画像コードがCPUからセレクタ2
0に入力されると、カラーRAM22の画像コードに対応する
画像データがCPUデータバスに出力される。画像データ
の出力は、R、G、B各々5ビットの情報として各R、
G、B用のカラーオフセット部1に入力される。
The image code of the color RAM 22 includes R (red), G
Information on the three primary colors of (green) and B (blue) light is stored as image data. An image code is sent from the CPU to the selector 2.
When input to 0, image data corresponding to the image code in the color RAM 22 is output to the CPU data bus. The output of the image data is R, G, and B as 5-bit information for each of R, G, and B.
It is input to the G and B color offset units 1.

一方、CPUからの6ビット(符号+5ビット)で構成
されるオフセットデータがCPUデータとして、各カラー
オフセット部1内のオフセットレジスタ4に入力され保
持される。オフセットレジスタ4の出力はアダー6に入
力される。
On the other hand, offset data composed of 6 bits (sign + 5 bits) from the CPU is input to the offset register 4 in each color offset unit 1 and held as CPU data. The output of the offset register 4 is input to the adder 6.

コントロール信号1及び2は、各カラーオフセット部
1内のコントロールロジック2に入力する。コントロー
ル信号1及び2は各種のビデオ信号、CPUのコントロー
ルレジスタの値、及びスプライト面等の優先順位を決め
るビット等を含んだものである。これらのコントロール
信号により、コントロールロジック2は、カラーオフセ
ット部1で処理されるべき画像(全画面、スプライト、
背景等)を選択し、また、オフセットレジスタ4が保持
しているオフセット値をアダー6に出力するかどうかを
決定する。
The control signals 1 and 2 are input to the control logic 2 in each color offset unit 1. The control signals 1 and 2 include various video signals, the value of the control register of the CPU, and bits for determining the priority of the sprite surface and the like. By these control signals, the control logic 2 causes the image (full screen, sprite,
Background, etc.), and determine whether to output the offset value held by the offset register 4 to the adder 6.

RGBそれぞれのカラーオフセット部1に入力するカラ
ーRAM22からの画像データは、アダー6に入力される。
Image data from the color RAM 22 input to the color offset unit 1 for each of RGB is input to the adder 6.

アダー6において、カラーRAM22からの5ビットの画
像データと符号付き5ビットのオフセットレジスタ4の
オフセット値が加算される。
In the adder 6, the 5-bit image data from the color RAM 22 and the signed 5-bit offset value of the offset register 4 are added.

画像データは、5ビットであるから、0から31までの
32段階の輝度のうちの一つを取ることができる。画像デ
ータが0の場合は輝度が0ということであり、従って
R、G及びB全ての画像データが0の場合は画像は黒と
なる。この画像データにオフセット値を加算することに
より、カラーRAM22内のデータを書き替えることなく、
画像の輝度を変化させることができる。
Since the image data is 5 bits, 0 to 31
It can take one of 32 levels of brightness. When the image data is 0, the luminance is 0. Therefore, when all the R, G, and B image data are 0, the image is black. By adding an offset value to this image data, without rewriting the data in the color RAM 22,
The brightness of the image can be changed.

例えばR用カラーオフセット部1の場合、ある画像デ
ータ値が7(00111)で、オフセット値が16(10000)で
あれば、演算結果は23(10111)であり、赤色の輝度を
高くしたことになる。コントロールロジック2により、
オフセットレジスタ4のオフセット値がアダー6に出力
されない場合は、当然画像データの値は変化しない。
For example, in the case of the R color offset unit 1, if a certain image data value is 7 (00111) and the offset value is 16 (10000), the operation result is 23 (10111), and the red luminance is increased. Become. By control logic 2,
When the offset value of the offset register 4 is not output to the adder 6, the value of the image data naturally does not change.

アダー6の演算結果は、桁あふれ処理部8に入力さ
れ、桁あふれ処理が行われる。オーバーフローの場合は
強制的に31(11111)にされ、アンダフローの場合は強
制的に0(00000)にされる。
The result of the operation of the adder 6 is input to the overflow processing unit 8, and the overflow processing is performed. In the case of overflow, it is forcibly set to 31 (11111), and in the case of underflow, it is forcibly set to 0 (00000).

各カラーオフセット部の桁あふれ処理部8の出力は、
それぞれ5ビットのデジタルのRGB信号として16ビット
のDAC(デジタル・アナログ・変換器)24に入力する。D
AC24の入力は15ビットがRGB信号に割り当てられ、残り
1ビットはSHADEが入力される。これらのデジタルのRGB
信号は、DAC24によりアナログのRGB信号とされ、CRT26
の画像信号入力端子に入力される。
The output of the overflow processing unit 8 of each color offset unit is
Each is input to a 16-bit DAC (digital-to-analog converter) 24 as a 5-bit digital RGB signal. D
As for the input of AC24, 15 bits are allocated to the RGB signal, and the remaining 1 bit is input to SHADE. These digital RGB
The signal is converted to an analog RGB signal by the DAC 24, and the CRT 26
Is input to the image signal input terminal.

このように、本実施例の画像処理装置は、画像データ
のデジタル処理部の最終段で、RGB信号のR、G及びB
それぞれに対応する独立したオフセット値を設け、必要
な画像データに対してのみオフセット値を加減算するこ
とができることを特徴としている。
As described above, the image processing apparatus according to the present embodiment includes the RGB signal R, G, and B signals at the final stage of the image data digital processing unit.
An independent offset value corresponding to each is provided, and the offset value can be added or subtracted only from necessary image data.

従って、一連の画像データとオフセット値の加減算処
理をハードウエアが行うので、CPU処理の軽減を図るこ
とができ、フェイドイン/アウト等の特殊効果を容易に
得ることができる。
Accordingly, hardware performs a series of addition and subtraction processing of the image data and the offset value, so that CPU processing can be reduced, and special effects such as fade-in / out can be easily obtained.

[発明の効果] 以上の通り、本発明によれば、フェイドイン/アウト
を行う際、CPUに負担をかけることなく短時間で処理を
完了でき、画面全体だけでなく、スプライト面や個々の
背景にもフェイドイン/アウトができる画像処理装置を
実現できる。
[Effects of the Invention] As described above, according to the present invention, when performing fade-in / out, processing can be completed in a short time without burdening the CPU, and not only the entire screen but also the sprite surface and individual backgrounds Thus, an image processing apparatus capable of fading in / out can be realized.

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

第1図は本発明の一実施例による画像処理装置を示す図
である。 図において、 1……カラーオフセット部 2……コントロールロジック 4……オフセットレジスタ 6……アダー 8……桁あふれ処理部 20……セレクタ 22……カラーRAM 24……DAC 26……CRT
FIG. 1 is a diagram showing an image processing apparatus according to one embodiment of the present invention. In the figure, 1 ... color offset section 2 ... control logic 4 ... offset register 6 ... adder 8 ... digit overflow processing section 20 ... selector 22 ... color RAM 24 ... DAC 26 ... CRT

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カラー情報を含む画像データが記憶された
カラーRAMと、前記カラーRAMから読み出された画像デー
タをデジタルアナログ変換して画像表示部に出力するデ
ジタルアナログ変換器とを有する画像処理装置におい
て、 オフセット値を入力し保持するオフセットレジスタと、 前記オフセットレジスタの前記オフセット値と前記カラ
ーRAMの前記画像データとがそのまま入力される加算器
とを備え、 前記画像データに前記オフセット値を加算することによ
り、前記カラーRAM内の画像データを書き替えることな
く、画像を変化させることを特徴とする画像処理装置。
1. An image processing apparatus comprising: a color RAM in which image data including color information is stored; and a digital-to-analog converter for converting the image data read from the color RAM into a digital-to-analog signal and outputting it to an image display unit. An offset register that inputs and holds an offset value; and an adder that receives the offset value of the offset register and the image data of the color RAM as they are, and adds the offset value to the image data. An image processing device that changes an image without rewriting image data in the color RAM.
【請求項2】請求項1記載の画像処理装置において、 前記加算器の出力する加算結果が入力され、オーバーフ
ローの場合は強制的に最大値を出力し、アンダーフロー
の場合は強制的に最小値を出力する桁あふれ処理部を備
えたことを特徴とする画像処理装置。
2. An image processing apparatus according to claim 1, wherein an addition result output from said adder is input, and when an overflow occurs, a maximum value is forcibly output, and when an underflow occurs, a minimum value is forcibly output. An image processing apparatus, comprising: a digit overflow processing unit that outputs an image.
JP2264472A 1990-10-02 1990-10-02 Image processing device Expired - Fee Related JP2610200B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2264472A JP2610200B2 (en) 1990-10-02 1990-10-02 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2264472A JP2610200B2 (en) 1990-10-02 1990-10-02 Image processing device

Publications (2)

Publication Number Publication Date
JPH04140791A JPH04140791A (en) 1992-05-14
JP2610200B2 true JP2610200B2 (en) 1997-05-14

Family

ID=17403699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2264472A Expired - Fee Related JP2610200B2 (en) 1990-10-02 1990-10-02 Image processing device

Country Status (1)

Country Link
JP (1) JP2610200B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5238816A (en) * 1989-07-24 1993-08-24 Asahi Kasei Kogyo Kabushiki Kaisha Omega carboxyalcohol oxidase enzyme
US6315669B1 (en) 1998-05-27 2001-11-13 Nintendo Co., Ltd. Portable color display game machine and storage medium for the same
US6373462B1 (en) 1999-12-07 2002-04-16 Nintendo Co., Ltd. Method and apparatus for displaying higher color resolution on a hand-held LCD device
US7050064B2 (en) 1999-11-24 2006-05-23 Nintendo Co., Ltd. Method and apparatus for displaying higher color resolution on a hand-held LCD device
US7445551B1 (en) 2000-05-24 2008-11-04 Nintendo Co., Ltd. Memory for video game system and emulator using the memory
US6810463B2 (en) 2000-05-24 2004-10-26 Nintendo Co., Ltd. Gaming machine that is usable with different game cartridge types
US6884171B2 (en) 2000-09-18 2005-04-26 Nintendo Co., Ltd. Video game distribution network
US6672963B1 (en) 2000-09-18 2004-01-06 Nintendo Co., Ltd. Software implementation of a handheld video game hardware platform
US8157654B2 (en) 2000-11-28 2012-04-17 Nintendo Co., Ltd. Hand-held video game platform emulation
US11278793B2 (en) 2004-03-31 2022-03-22 Nintendo Co., Ltd. Game console
US8267780B2 (en) 2004-03-31 2012-09-18 Nintendo Co., Ltd. Game console and memory card
US7837558B2 (en) * 2004-03-31 2010-11-23 Nintendo Co., Ltd. Game console and emulator for the game console

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58168091A (en) * 1982-03-29 1983-10-04 富士通株式会社 Hue adjustment of display unit
JPS592080A (en) * 1982-06-28 1984-01-07 富士通株式会社 Real time color control system for color display
JPH0668675B2 (en) * 1984-04-28 1994-08-31 ソニー株式会社 Color image area determination device
JPH0272772A (en) * 1988-09-08 1990-03-13 Toshiba Corp Fading function circuit

Also Published As

Publication number Publication date
JPH04140791A (en) 1992-05-14

Similar Documents

Publication Publication Date Title
CA1324847C (en) Color graphics system
US6023302A (en) Blending of video images in a home communications terminal
JP2610200B2 (en) Image processing device
JPS62288984A (en) Video display unit
US5714974A (en) Dithering method and circuit using dithering matrix rotation
JPH0695635A (en) Method for generating signal display of color image and personal computer system using method thereof
EP0590961B1 (en) Image processing apparatus
EP0574747A2 (en) Visual frame buffer architecture
JPS6360395B2 (en)
JPH04140792A (en) Image processor
US5231694A (en) Graphics data processing apparatus having non-linear saturating operations on multibit color data
KR100273786B1 (en) Image processing apparatus
US5140312A (en) Display apparatus
US4931785A (en) Display apparatus
US5596583A (en) Test circuitry, systems and methods
JP3055390B2 (en) Image processing device
JP3250468B2 (en) OSD circuit
JPS6235140B2 (en)
JP2582743B2 (en) Image processing device
JPH06195054A (en) Image processor
EP0121810B1 (en) Microprocessor
US5745104A (en) Palette control circuit
JP2906406B2 (en) Display control circuit
JPH0822273A (en) Color reduction device
JPH087555B2 (en) Display synthesizer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090213

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100213

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees