JP2989642B2 - Video display device - Google Patents

Video display device

Info

Publication number
JP2989642B2
JP2989642B2 JP2205747A JP20574790A JP2989642B2 JP 2989642 B2 JP2989642 B2 JP 2989642B2 JP 2205747 A JP2205747 A JP 2205747A JP 20574790 A JP20574790 A JP 20574790A JP 2989642 B2 JP2989642 B2 JP 2989642B2
Authority
JP
Japan
Prior art keywords
data
address
signal
circuit
size
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
JP2205747A
Other languages
Japanese (ja)
Other versions
JPH03230193A (en
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.)
Nintendo Co Ltd
Ricoh Co Ltd
Original Assignee
Nintendo Co Ltd
Ricoh 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
Priority to JP2205747A priority Critical patent/JP2989642B2/en
Application filed by Nintendo Co Ltd, Ricoh Co Ltd filed Critical Nintendo Co Ltd
Priority to CA002051655A priority patent/CA2051655C/en
Priority to AU71858/91A priority patent/AU644408B2/en
Priority to AT91903627T priority patent/ATE151903T1/en
Priority to ES91903627T priority patent/ES2100226T3/en
Priority to BR919104307A priority patent/BR9104307A/en
Priority to DE69125661T priority patent/DE69125661T2/en
Priority to EP91903627A priority patent/EP0466936B1/en
Priority to PCT/JP1991/000130 priority patent/WO1991011799A1/en
Priority to KR1019910701281A priority patent/KR960004655B1/en
Priority to SU5010026A priority patent/RU2106012C1/en
Publication of JPH03230193A publication Critical patent/JPH03230193A/en
Priority to US08/140,478 priority patent/US5608424A/en
Priority to HK98104257A priority patent/HK1005197A1/en
Application granted granted Critical
Publication of JP2989642B2 publication Critical patent/JP2989642B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は動画表示装置に関する。より特定的には、
この発明は、各々が水平方向および垂直方向にそれぞれ
複数ドットからなる1つ以上のキャラクタ単位を組み合
わせることによって大きなサイズのオブジェクトをラス
タスキャンモニタでアニメーション的に表示する、たと
えばビデオゲーム機やパーソナルコンピュータなどの動
画表示装置に関する。
Description: TECHNICAL FIELD The present invention relates to a moving image display device. More specifically,
The present invention displays an object of a large size in an animated manner on a raster scan monitor by combining one or more character units each composed of a plurality of dots in a horizontal direction and a vertical direction, for example, a video game machine or a personal computer. A moving image display device.

〔従来技術〕(Prior art)

この種の動画表示装置の一例が、たとえば、昭和62年
2月2日付で出願公開された特開昭62−24296号に開示
されている。この特開昭62−24296号では、水平表示サ
イズおよび垂直表示サイズのデータを属性メモリ(Obje
ct Attribute Memory:OAM)に記憶させることによって
オブジェクト毎にオブジェクトサイズを任意に変更でき
るという利点がある。
An example of this type of moving image display device is disclosed in, for example, Japanese Patent Application Laid-Open No. 62-24296, which was published on February 2, 1987. In Japanese Patent Application Laid-Open No. 62-24296, data of horizontal display size and vertical display size is stored in an attribute memory (Obje
There is an advantage that the object size can be arbitrarily changed for each object by storing it in the ct Attribute Memory (OAM).

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、特開昭62−24296号開示技術では、サ
イズ指定データのビット数が大きいので、OAMやプログ
ラムメモリとして大きな記憶容量のメモリを用いなけれ
ばならない。たとえば、水平および垂直方向にそれぞれ
6種類のサイズを選択するようにすると、サイズ指定デ
ータとしては、水平および垂直方向にそれぞれ3ビット
必要なので、1つのオブジェクトについて6ビットのデ
ータとなる。そして、1画面に128個のオブジェクトを
表示可能にすれば、サイズ指定データは1画面当たり76
8ビット(=6ビット×128)となる。したがって、1画
面のオブジェクトデータを一時的に記憶するためのOAM
の記憶容量としては、サイズ指定データの分だけでも76
8ビット必要になる。また、サイズ指定データはCPUから
書き込まれるため、プログラムに予め記憶シテオクサイ
ズ指定データのデータ量も「オブジェクト数×6ビッ
ト」必要となり、表示するオブジェクト数が増加すれば
それに比例しておおきな記憶容量が必要になる。もし同
じプログラムメモリ容量であるとすれば、表示できるオ
ブジェクト数がおのずと少なくなってしまう。
However, in the technology disclosed in Japanese Patent Application Laid-Open No. 62-24296, since the number of bits of the size designation data is large, a memory having a large storage capacity must be used as the OAM or the program memory. For example, if six types of sizes are selected in the horizontal and vertical directions, the size designation data requires three bits in each of the horizontal and vertical directions, so that one object has six bits. If 128 objects can be displayed on one screen, the size specification data will be 76 per screen.
It becomes 8 bits (= 6 bits × 128). Therefore, OAM for temporarily storing one screen of object data
Storage capacity of only 76
8 bits are required. In addition, since the size specification data is written from the CPU, the amount of data of the storage system size specification data also needs to be “the number of objects × 6 bits” in advance in the program. Will be needed. If the program memory capacity is the same, the number of objects that can be displayed naturally decreases.

それゆえに、この発明の主たる目的は、小さい記憶容
量のメモリを用いて多くの種類のサイズのオブジェクト
を表示できる、動画表示装置を提供することである。
Therefore, a main object of the present invention is to provide a moving image display device capable of displaying objects of various sizes using a memory having a small storage capacity.

この発明のその他の目的は、小さい記憶容量のメモリ
を用いて表示可能なオブジェクト数を増加できる、動画
表示装置を提供することである。
Another object of the present invention is to provide a moving image display device capable of increasing the number of displayable objects using a memory having a small storage capacity.

〔課題を解決するための手段〕[Means for solving the problem]

この発明は、各々が水平および垂直方向にそれぞれ複
数ドットからなる1つ以上のキャラクタを組み合わせる
ことによって大きなサイズのオブジェクトをラスタスキ
ャンモニタで表示する動画表示装置であって、オブジェ
クトを構成するキャラクタのグラフィックデータを各オ
ブジェクト毎に予めその関連するアドレス領域に記憶す
る第1の記憶手段、ラスタスキャンモニタの次の垂直期
間に表示されるべき1以上のオブジェクトを指定するた
めにオブジェクト指定データを発生するオブジェクト指
定データ発生手段、指定されたオブジェクトが表示され
るべきモニタ上の位置を表す位置データを発生する位置
データ発生手段、オブジェクト毎にそのオブジェクトサ
イズを選択するサイズ選択データ発生手段、画面毎にサ
イズ指定モードを決定する指定モードデータを発生する
指定モードデータ発生手段、オブジェクト指定データお
よび位置データを一時的に記憶する第2の記憶手段、第
2の記憶手段から読み出した位置データとサイズ選択デ
ータ発生手段からのサイズ選択データおよび指定モード
データ発生手段からの指定モードデータの組合せとに基
づいてそのオブジェクトを次の水平走査期間に表示すべ
きか否かを判定するインレンジ判定手段、およびインレ
ンジ判定手段においてインレンジ状態にあると判定され
たオブジェクトについて第1の記憶手段の読出アドレス
を作成して第1の記憶手段に与える読出アドレス作成手
段を備える、動画表示装置である。
The present invention relates to a moving image display device for displaying a large-sized object on a raster scan monitor by combining one or more characters each consisting of a plurality of dots in a horizontal direction and a vertical direction. First storage means for storing data in an associated address area in advance for each object, an object for generating object designation data for designating one or more objects to be displayed in a next vertical period of a raster scan monitor Designated data generating means, position data generating means for generating position data indicating the position on the monitor where the specified object should be displayed, size selection data generating means for selecting the object size for each object, size specification for each screen Decide the mode Designation mode data generation means for generating designation mode data to be executed, second storage means for temporarily storing object designation data and position data, position data read from the second storage means, and size from the size selection data generation means. In-range determining means for determining whether or not the object should be displayed in the next horizontal scanning period based on the selected data and a combination of the specified mode data from the specified mode data generating means, and an in-range state in the in-range determining means A moving image display device comprising: a read address creating unit that creates a read address of a first storage unit for an object determined to be located in the first storage unit and gives the read address to the first storage unit.

〔作用〕[Action]

1つのキャラクタは、たとえば、水平方向8ドット
(ピクセル)×垂直方向8ドット(ピクセル)で形成さ
れる。1以上のこのようなキャラクタの集合ないし組合
わせによって、1つのオブジェクトが構成される。たと
えばビデオデータメモリのような第1の記憶手段には、
たとえば128個のオブジェクトの各々を構成するキャラ
クタのグラフィックデータ(ドットデータ)が、各オブ
ジェクト毎に、予め記憶されている。したがって、この
第1の記憶手段からのグラフィックデータを読み出すこ
とによって、ラスタスキャンモニタ上にオブジェクトを
表示する。
One character is formed of, for example, 8 dots (pixels) in the horizontal direction and 8 dots (pixels) in the vertical direction. One object is constituted by a set or combination of one or more such characters. For example, the first storage means such as a video data memory includes:
For example, graphic data (dot data) of a character constituting each of the 128 objects is stored in advance for each object. Therefore, the object is displayed on the raster scan monitor by reading the graphic data from the first storage means.

マイクロプロセサ(CPU)は、たとえば初期状態また
はラスタスキャンモニタの垂直ブランキング期間中に、
たとえばOAM(オブジェクトアトリビュートメモリ)の
ような第2の記憶手段にオブジェクトデータをセットす
る。オブジェクトデータは、カラーパレットデータ,水
平および垂直フリップデータおよび優先表示データ等の
他、オブジェクト指定データ(ネームデータ),垂直位
置データ,水平位置データおよびオブジェクトサイズ選
択データ(サイズ大またはサイズ小)を含む。
The microprocessor (CPU), for example, in the initial state or during the vertical blanking period of the raster scan monitor,
For example, object data is set in a second storage means such as an OAM (object attribute memory). The object data includes object designation data (name data), vertical position data, horizontal position data, and object size selection data (large or small size) in addition to color palette data, horizontal and vertical flip data, priority display data, and the like. .

オブジェクトサイズを表すサイズ指定データ発生手段
からサイズ指定データは、たとえば「8×8」,「16×
16」,「32×32」または「64×64」のオブジェクトサイ
ズの中から2種類を指定する。このサイズ指定データは
たとえばサイズレジスタに一時的に保持される。上述の
サイズ選択データは、たとえば“0"または“1"であり、
このサイズ選択データによって上述の2種類のオブジェ
クトサイズの中から1つが選択される。
For example, “8 × 8”, “16 ×
Two types are specified from the object size of "16", "32x32" or "64x64". This size designation data is temporarily held in, for example, a size register. The size selection data described above is, for example, “0” or “1”,
One of the above two types of object sizes is selected by the size selection data.

インレンジ判定手段では、サイズ指定データとサイズ
選択データとによって決まるオブジェクトサイズとオブ
ジェクトのモニタ上の位置データとに基づいて、該当の
オブジェクトがインレンジ状態にあるか否か、すなわ
ち、次の水平ラインで表示されるべきか否かを判定す
る。
The in-range determination means determines whether or not the object is in the in-range state based on the object size determined by the size designation data and the size selection data and the position data of the object on the monitor, that is, the next horizontal line. It is determined whether or not it should be displayed.

インレンジ判定手段によって水平方向および垂直方と
もにインレンジ状態にあると判定されたオブジェクトの
グラフィックデータが第1の記憶手段から読み出され
る。すなわち、読出アドレス作成手段は、たとえばオブ
ジェクト指定データ,位置データ,サイズ指定データお
よびサイズ選択データに基づいて、インレンジ判定され
たオブジェクトのグラフィックデータを第1の記憶手段
から読み出すように、読出アドレスを作成する。
The graphic data of the object determined to be in the in-range state in both the horizontal direction and the vertical direction by the in-range determining means is read from the first storage means. That is, the read address creating means reads out the read address such that the graphic data of the in-range determined object is read from the first storage means based on, for example, the object designation data, the position data, the size designation data, and the size selection data. create.

〔発明の効果〕〔The invention's effect〕

この発明によれば、サイズ指定データでは複数種類の
サイズを指定し、サイズ選択データによってサイズの大
小を選択するようにしているため、オブジェクトサイズ
を決定するためのデータ量を従来に比べて非常に少なく
することができる。したがって、OAMの記憶容量を大幅
に低減できるばかりでなく、プログラムメモリの記憶容
量も低減できる。たとえば、1画面に最大128個のオブ
ジェクトを表示できかつ表示可能なサイズの種類が6種
類である場合、1画面について3ビットのサイズ指定デ
ータと各オブジェクトについて1ビットのサイズ選択デ
ータがあればよい。したがって、この場合には、サイズ
を可変的に決定するためには131ビット(=128×1+
3)のデータでよく、先の特開昭62−24296号開示技術
に比べてそのデータ量は1/5程度(=131/768)でよい。
According to the present invention, a plurality of sizes are designated in the size designation data, and the size is selected by the size selection data. Can be reduced. Therefore, not only can the storage capacity of the OAM be significantly reduced, but also the storage capacity of the program memory can be reduced. For example, when a maximum of 128 objects can be displayed on one screen and there are six types of sizes that can be displayed, it is only necessary to provide 3-bit size designation data for one screen and 1-bit size selection data for each object. . Therefore, in this case, 131 bits (= 128 × 1 +
The data of 3) may be used, and the data amount may be about 1/5 (= 131/768) as compared with the technology disclosed in the above-mentioned JP-A-62-24296.

この発明の上述の目的,その他の目的,特徴および利
点は、図面を参照して行う以下の実施例の詳細な説明か
ら一層明らかとなろう。
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

〔実施例〕〔Example〕

全体構成 第1図を参照して、マイクロプロセサ10は、たとえば
着脱式のメモリカセットに含まれるプログラムデータメ
モリ14からのプログラムデータに従って、ビデオプロセ
サ12等の動画表示装置の全体的な動作を制御する。この
マイクロプロセサ10としては、たとえば株式会社リコー
製の集積回路“RF5A22"のような16ビットのマイクロプ
ロセサが利用される。ビデオプロセサ12は、マイクロプ
ロセサ10からの指示に従ってビデオデータメモリ16から
のグラフィックデータを読み出して、TVインタフェース
18に与える。このビデオデータメモリ16はたとえば64K
バイトのSRAM(Static Random Access Memory)からな
り、背景パターン記憶領域16aおよびキャラクタデータ
記憶領域16bを含む。このように背景パターン記憶領域1
6aおよびキャラクタデータ記憶領域16bを1つのSRAMで
構成した理由は、動作速度が速いこと、および記憶領域
の大きさをキャラクタ(オブジェクト)と背景パターン
とで任意に設定できることにある。また、サウンド回路
20は、マイクロプロセサ10の指示に従って、必要な音楽
および効果音のデータをディジタル的に発生し、TVイン
タフェース18に与える。TVインタフェース18では、ビデ
オプロセサ12からのグラフィックデータをRGB信号に変
換してRGBモニタ22のビデオ回路に与えるとともに、サ
ウンド回路20からのサウンドデータをサウンド信号に変
換してRGBモニタ22のサウンド回路に与える。なお、サ
ウンド回路20としては、たとえばソニー株式会社製の集
積回路“CXD1222Q"が利用可能である。このようにし
て、RGBモニタ22の画面上には、プログラムデータメモ
リ14に予め設定されているプログラムの進行に従って変
化するビデオゲームなどのオブジェクトや背景パターン
が表示される。
1. Overall Configuration Referring to FIG. 1, a microprocessor 10 controls the overall operation of a moving image display device such as a video processor 12 according to program data from a program data memory 14 included in a detachable memory cassette, for example. . As the microprocessor 10, for example, a 16-bit microprocessor such as an integrated circuit "RF5A22" manufactured by Ricoh Co., Ltd. is used. The video processor 12 reads the graphic data from the video data memory 16 according to the instruction from the microprocessor 10 and
Give to 18. This video data memory 16 is, for example, 64K
It is composed of a byte SRAM (Static Random Access Memory) and includes a background pattern storage area 16a and a character data storage area 16b. Thus, the background pattern storage area 1
The reason why the SRAM 6a and the character data storage area 16b are composed of one SRAM is that the operation speed is high and the size of the storage area can be arbitrarily set by a character (object) and a background pattern. Also sound circuit
20 digitally generates necessary music and sound effect data in accordance with an instruction of the microprocessor 10 and supplies the digitally generated data to the TV interface 18. The TV interface 18 converts the graphic data from the video processor 12 into RGB signals and supplies the RGB signals to the video circuit of the RGB monitor 22, and converts the sound data from the sound circuit 20 into sound signals and converts the sound data into the sound circuit of the RGB monitor 22. give. As the sound circuit 20, for example, an integrated circuit “CXD1222Q” manufactured by Sony Corporation can be used. In this manner, on the screen of the RGB monitor 22, an object such as a video game and a background pattern which change according to the progress of the program preset in the program data memory 14 are displayed.

なお、第1図実施例では、TVインタフェース18はグラ
フィックデータをRGB信号に変換するようにした。しか
しながら、グラフィックデータをテレビジョンビデオ信
号に変換するTVインタフェースが利用されてもよい。こ
の場合、モニタとしては、一般の家庭用TV受像機が利用
され得る。
In the embodiment of FIG. 1, the TV interface 18 converts graphic data into RGB signals. However, a TV interface for converting graphic data into a television video signal may be used. In this case, a general household TV receiver can be used as the monitor.

第2図には第1図実施例のビデオプロセサ12がより詳
細に示される。ビデオプロセサ12は、マイクロプロセサ
10からのデータをラッチするデータラッチやアドレスデ
コーダなどを含むCPUインタフェース24を含み、このCPU
インタフェース24は背景画用CPUインタフェース24aおよ
び動画(オブジェクト)用CPUインタフェース24bを含
む。背景画用CPUインタフェース24aは背景(Backgroun
d)画像に関してマイクロプロセサ10とビデオプロセサ1
2との間でデータの授受を行い、動画用CPUインタフェー
ス24bはオブジェクトに関してマイクロプロセサ10とビ
デオプロセサ12との間でデータの授受を行なう。
FIG. 2 shows the video processor 12 of the FIG. 1 embodiment in more detail. The video processor 12 is a microprocessor
This CPU includes a CPU interface 24 that includes a data latch and address decoder that latch data from
The interface 24 includes a background image CPU interface 24a and a moving image (object) CPU interface 24b. The background CPU interface 24a is connected to the background (Backgroun
d) For image, microprocessor 10 and video processor 1
The moving image CPU interface 24b transmits and receives data between the microprocessor 10 and the video processor 12 with respect to the object.

背景画用CPUインタフェース24aを通してマイクロプロ
セサ10から与えられたプログラムデータに従って、背景
画データ発生回路26は、ビデオデータメモリ16の背景パ
ターン記憶領域16aから背景画像のパターンデータ(キ
ャラクタコード)を読み出し出し、そのパターンデータ
に基づいてビデオデータメモリ16のキャラクタデータ記
憶領域16bから、背景画像のグラフィックデータを読み
出して合成回路28に与える。一方、この発明が向けられ
る動画データ発生回路30は、後にさらに詳細に説明する
が、動画用CPUインタフェース24bを通してマイクロプロ
セサ10から与えられたプログラムデータに従って、ビデ
オデータメモリ16のキャラクタデータ記憶領域16bから
オブジェクトのグラフィックデータを読み出して合成回
路28に与える。
According to the program data given from the microprocessor 10 through the background image CPU interface 24a, the background image data generation circuit 26 reads out the pattern data (character code) of the background image from the background pattern storage area 16a of the video data memory 16, Based on the pattern data, the graphic data of the background image is read from the character data storage area 16b of the video data memory 16 and provided to the synthesizing circuit 28. On the other hand, the moving image data generating circuit 30 to which the present invention is directed will be described in further detail later. The graphic data of the object is read and provided to the synthesizing circuit 28.

合成回路28では、後述のように、オブジェクトと背景
パターンとが重なり合う場合、オブジェクトおよび背景
パターンのいずれを優先的に表示するかを示す優先順位
を決定する。したがって、オブジェクトに優先権が与え
られたとき、オブジェクトが画面に表示され、そのオブ
ジェクトと重なっている背景パターンは表示されない。
もし、背景パターンに優先権が与えられたとき、背景パ
ターンが画面に表示され、その背景パターンと重なって
いるオブジェクトは表示されない。このようにして、合
成回路28によって合成されたグラフィックデータが、画
像信号発生回路32に与えられる。画像信号発生回路32は
合成回路28から出力される各ドット(ピクセル)ごとの
カラーコードに従ってRGB信号を作成するカラーエンコ
ーダを含む。このRGB信号が上述のようにモニタ22に与
えられるのである。
As will be described later, when the object and the background pattern overlap, the combining circuit 28 determines a priority order indicating which of the object and the background pattern is displayed with priority. Therefore, when the priority is given to the object, the object is displayed on the screen, and the background pattern overlapping the object is not displayed.
If a priority is given to the background pattern, the background pattern is displayed on the screen, and objects overlapping the background pattern are not displayed. Thus, the graphic data synthesized by the synthesizing circuit 28 is supplied to the image signal generating circuit 32. The image signal generation circuit 32 includes a color encoder that creates an RGB signal according to a color code for each dot (pixel) output from the synthesis circuit 28. This RGB signal is provided to the monitor 22 as described above.

タイミング信号発生回路34は、第4A図および第4B図に
示す21.47727MHzの基本クロックを受け、この基本クロ
ックをたとえばカウンタ,デコーダ,論理回路等で処理
することによって、第3図ならびに第4A図および第4B図
に示す多数のタイミング信号を作成し、CPUインタフェ
ース24,背景画データ発生回路26,合成回路28,動画デー
タ発生回路30および画像信号発生回路32等に印加する。
The timing signal generating circuit 34 receives the basic clock of 21.47727 MHz shown in FIGS. 4A and 4B, and processes this basic clock with, for example, a counter, a decoder, a logic circuit, etc. A large number of timing signals shown in FIG. 4B are generated and applied to the CPU interface 24, the background image data generation circuit 26, the synthesis circuit 28, the moving image data generation circuit 30, the image signal generation circuit 32, and the like.

より詳しく説明すると、上述の基本クロックが1/2分
周されると第4A図および第4B図に示すタイミング信号10
Mまたは/10M(ただし、この明細書において記号“/"は
反転を意味する)が得られ、それをさらに1/2分周する
とタイミング信号5Mまたは/5Mが得られる。
More specifically, when the basic clock is divided by two, the timing signal 10 shown in FIGS. 4A and 4B is used.
M or / 10M (however, the symbol "/" means inversion in this specification) is obtained, and further dividing the frequency by 1/2 results in a timing signal 5M or / 5M.

RGBモニタ22(第1図)の画面上では、1ドット(ピ
クセル)の表示期間が信号5Mの1サイクルに相当する。
したがって、信号5Mのカウント値が“0−341"の時間が
水平期間である。水平期間の内信号5Mのカウント値“0
−268"の時間が1水平表示期間に相当し、カウント値
“269−341"の時間は水平ブランキング期間に相当す
る。1水平期間すなわち信号5Mのカウント値が“0−34
1"ごとに垂直信号V(第3図)が得られ、この信号Vが
カウントされて走査中の垂直位置すなわちライン番号と
なる。インターレーススキャン時の1フィールドが第5
図図示のように262水平ラインであるとすれば、信号V
のカウント値“0−262"の間にタイミング信号FIELDが
得られ、この信号FIELDがハイレベルの期間が1垂直期
間に相当し、カウント値“0−239"が垂直表示期間に相
当し、カウント値“240−262"が垂直ブランキング期間
に相当する。
On the screen of the RGB monitor 22 (FIG. 1), a display period of one dot (pixel) corresponds to one cycle of the signal 5M.
Therefore, the time when the count value of the signal 5M is "0-341" is the horizontal period. Count value of signal 5M in horizontal period “0”
The time of -268 "corresponds to one horizontal display period, and the time of the count value" 269-341 "corresponds to a horizontal blanking period.One horizontal period, that is, the count value of the signal 5M is" 0-34 ".
A vertical signal V (FIG. 3) is obtained for each 1 ", and this signal V is counted and becomes a vertical position during scanning, that is, a line number. One field during interlaced scanning is the fifth field.
Assuming that there are 262 horizontal lines as shown in FIG.
The timing signal FIELD is obtained during the count value "0-262" of the clock signal. The period in which the signal FIELD is at the high level corresponds to one vertical period, the count value "0-239" corresponds to the vertical display period, and The value “240-262” corresponds to the vertical blanking period.

タイミング信号VBHは第5図に示すように垂直信号の
カウント値“240"で出力され、それが垂直ブランキング
期間の開始を示す。タイミング信号VBは垂直ブランキン
グ期間にハイレベルとなり、タイミング信号/VBは垂直
表示期間にハイレベルとなる。
The timing signal VBH is output as the vertical signal count value "240" as shown in FIG. 5, which indicates the start of the vertical blanking period. The timing signal VB goes high during the vertical blanking period, and the timing signal / VB goes high during the vertical display period.

第4A図および第4B図に示すタイミング信号HC0は上述
の信号5Mを1/2分周して得られ、タイミング信号/HC0は
その反転として得られる。タイミング信号/HC1は信号/H
C0を1/2分周した信号である。タイミング信号INは、第4
A図および第4B図に示すように、水平表示期間すなわち
信号5Mのカウント値“0−255"の間ハイレベルであるイ
ンレンジ判定動作中を示す信号であり、タイミング信号
/INはその反転として得られる。タイミング信号/HIは1
水平期間毎に1つの信号5Mのカウント値“0"で出力され
る。タイミング信号HBHは第4B図に示すように信号5Mの
カウント値“269−270"で出力され、それが水平ブラン
キング期間の開始を示す。タイミング信号/HBHは信号HB
Hの反転として得られ、したがって信号/HBHは信号5Mの
カウント値“271−268"の間でハイレベルとなる。な
お、タイミング信号/HBは水平ブランキング期間にロー
レベルとなる。タイミング信号/LBは第4A図および第4B
図に示すように信号5Mのカウント値“341−268"の間に
ハイレベルとして出力され、タイミング信号OAEは第4A
図および第4B図に示すように信号5Mのカウント値“0−
271"の間にハイレベルとして出力される。タイミング信
号LBRは第4A図および第4B図に示すように信号5Mのカウ
ント値“17−272"の間にハイレベルとして出力され、タ
イミング信号LBWは信号5Mのカウント値“276−3"の間に
ハイレベルとして出力される。そして、タイミング信号
/CRESは第4A図および第4B図に示すように信号5Mのカウ
ント値“3−17"の間にローレベルとして出力される。
The timing signal HC0 shown in FIGS. 4A and 4B is obtained by dividing the above signal 5M by 1/2, and the timing signal / HC0 is obtained as its inversion. Timing signal / HC1 is signal / H
This is a signal obtained by dividing C0 by 1/2. The timing signal IN is
As shown in FIGS. A and 4B, this is a signal indicating the in-range determination operation that is at a high level during the horizontal display period, that is, the count value “0-255” of the signal 5M.
/ IN is obtained as its inverse. Timing signal / HI is 1
The signal is output as the count value “0” of one signal 5M every horizontal period. The timing signal HBH is output as the count value "269-270" of the signal 5M as shown in FIG. 4B, which indicates the start of the horizontal blanking period. Timing signal / HBH is signal HB
It is obtained as an inversion of H, so that the signal / HBH is at a high level between the count values “271-268” of the signal 5M. Note that the timing signal / HB is at a low level during the horizontal blanking period. 4A and 4B
As shown in the figure, the signal is output as a high level during the count value “341-268” of the signal 5M, and the timing signal OAE
As shown in FIG. 4 and FIG. 4B, the count value “0−
271 ". The timing signal LBR is output as a high level during the count value" 17-272 "of the signal 5M as shown in FIGS. 4A and 4B, and the timing signal LBW is output. It is output as a high level during the count value “276−3” of the signal 5M.
/ CRES is output as a low level during the count value "3-17" of the signal 5M as shown in FIGS. 4A and 4B.

第6A図に示すように、動画用CPUインタフェース24bは
マイクロプロセサ10のデータバスからのデータを受ける
かつ8ビットのOAMアドレスレジスタ36を含む。このOAM
アドレスレジスタ36はマイクロプロセサ10から動画デー
タ発生回路30に含まれるOAM(Object Attribute Memor
y)38にデータを書き込む際にマイクロプロセサ10から
アドレスを受け、OAM38の初期アドレスを設定する。こ
のOAM38はたとえば34ビット×128の記憶容量を有し、12
8個のオブジェクトのそれぞれのオブジェクトデータを
記憶することができる。各々のオブジェクトデータは、
第7図に示すように合計34ビットからなり、3ビットの
カラーパレットデータ,それぞれ1ビットの水平および
垂直フリップデータおよび2ビットの優先表示データ等
の他、9ビットのオブジェクト指定データ(ネームデー
タ),8ビットの垂直位置データ,9ビットの水平位置デー
タおよび1ビットのオブジェクトサイズ選択データを含
む。
As shown in FIG. 6A, the moving image CPU interface 24b receives data from the data bus of the microprocessor 10 and includes an 8-bit OAM address register 36. This OAM
The address register 36 is provided from the microprocessor 10 to the OAM (Object Attribute Memory) included in the moving image data generation circuit 30.
y) When writing data to 38, an address is received from the microprocessor 10 and an initial address of the OAM 38 is set. This OAM 38 has a storage capacity of, for example, 34 bits × 128 and 12
The object data of each of the eight objects can be stored. Each object data is
As shown in FIG. 7, it consists of a total of 34 bits, 3-bit color palette data, 1-bit horizontal and vertical flip data, 2-bit priority display data, etc., and 9-bit object designation data (name data). , 8-bit vertical position data, 9-bit horizontal position data, and 1-bit object size selection data.

アドレスデコーダ40は、マイクロプロセサ10からの読
出/書込信号R/Wならびにアドレスバスからのアドレス
を受け、信号OAW,/ODW,PAW,SZWおよびITWを出力する。
信号OAWは先のOAMアドレスレジスタ36の書込信号として
与えられ、OAMアドレスレジスタ36はこの信号OAWに応答
してマイクロプロセサ10からの初期アドレスがロードさ
れる。
Address decoder 40 receives read / write signal R / W from microprocessor 10 and an address from the address bus, and outputs signals OAW, / ODW, PAW, SZW and ITW.
The signal OAW is given as a write signal to the OAM address register 36, and the OAM address register 36 is loaded with the initial address from the microprocessor 10 in response to the signal OAW.

動画データ発生回路30に含まれるOAMアドレス回路42
は、主としてアドレスカウンタを含み、信号OAWによっ
てイネーブルされる。このOAMアドレス回路42はOAMアド
レスレジスタ36から初期アドレスを受け、信号/ODWのタ
イミングでインクリメントし、OAM38のアドレスを順次
指定するアドレスデータをアドレス選択回路44(第6B
図)に与える。このアドレス選択回路44にはベクトルRA
M46からのアドレスデータも与えられる。ベクトルRAM46
は後述のインレンジ判定回路56によってインレンジ状態
にあると判定されたオブジェクトのアドレスを記憶して
いる。そして、アドレス選択回路44はOAMアドレス回路4
2からのアドレスデータまたはベクトルRAM46からのアド
レスデータを選択してOAM38に与える。
OAM address circuit 42 included in video data generation circuit 30
Includes an address counter and is enabled by the signal OAW. The OAM address circuit 42 receives the initial address from the OAM address register 36, increments it at the timing of the signal / ODW, and outputs address data for sequentially specifying the address of the OAM 38 to the address selection circuit 44 (6B
Figure). This address selection circuit 44 has a vector RA
Address data from M46 is also provided. Vector ram46
Stores the address of the object determined to be in the in-range state by the in-range determination circuit 56 described later. And the address selection circuit 44 is the OAM address circuit 4
The address data from 2 or the address data from the vector RAM 46 is selected and given to the OAM 38.

アドレスデコーダ40からの信号/ODWまたはOAM制御回
路48のイネーブル信号として与えられ、OAM制御回路48
はマイクロプロセサ10から受け取ったデータをOAM38に
書き込むときに、書込信号WEおよびデータを出力し、OA
M38に与える。
The signal / ODW from the address decoder 40 or given as an enable signal of the OAM control circuit 48,
Outputs the write signal WE and data when writing the data received from the microprocessor 10 to the OAM 38,
Give to M38.

サイズレジスタ50は、3ビットレジスタであり、マイ
クロプロセサ10からのデータD5−D7の3ビットで表され
る次表Iで示されるサイズデータ“000−101"の何れか
1つのデータをロードする。すなわち、マイクロプロセ
サ10からサイズレジスタ50を指定するアドレス,データ
および書込信号が与えられると、アドレスデコーダ40か
ら信号SZWが出力される。この信号SZWに応答して、サイ
ズデータがサイズレジスタ50にロードされる。このサイ
ズレジスタ50からのサイズデータが動画データ発生回路
30に含まれるサイズデコーダ52に与えられる。サイズデ
コーダ52はサイズデータをデコードして、それぞれ異な
るオブジェクトサイズを示す信号S8,S16,S32またはS64
を出力する。
The size register 50 is a 3-bit register, and loads any one of the size data “000-101” shown in the following Table I represented by three bits of data D5-D7 from the microprocessor 10. That is, when an address, data and a write signal designating the size register 50 are given from the microprocessor 10, the signal SZW is output from the address decoder 40. In response to the signal SZW, size data is loaded into the size register 50. The size data from the size register 50 is used as a moving image data generation circuit.
It is provided to a size decoder 52 included in 30. The size decoder 52 decodes the size data and outputs signals S8, S16, S32 or S64 indicating different object sizes.
Is output.

また、2ビットのインタレースレジスタ54はマイクロ
プロセサ10からインタレースまたはノンインタレースを
示す1ビットのインタレースデータ、およびインタレー
ス時に1ラインで1ドットを表示するかまたは2ライン
で1ドットを表示するかを示すデータOBJ V SELを受け
る。すなわち、マイクロプロセサ10からインタレースレ
ジスタ54を指定するアドレス,データおよび書込信号が
与えられると、アドレスデコーダ40から信号ITWが出力
される。この信号ITWに応答してインタレースデータお
よびデータOBJ V SELがインタレースレジスタ54にロー
ドされる。
The 2-bit interlace register 54 displays 1-bit interlace data indicating interlace or non-interlace from the microprocessor 10, and displays one dot per line or one dot per two lines during interlace. Data OBJ V SEL indicating whether to perform the operation. That is, when an address, data and a write signal designating the interlace register 54 are provided from the microprocessor 10, the signal ITW is output from the address decoder 40. In response to this signal ITW, interlace data and data OBJ V SEL are loaded into interlace register 54.

この実施例では1ラインに最大32個のオブジェクトを
表示できるので、1画面に表示可能な128個のオブジェ
クトのどれを次のラインで表示すべきかを指定する必要
がある。その目的で第6B図に示すインレンジ判定回路56
や前述のベクトルRAM46が利用される。したがって、ベ
クトルRAM46はオブジェクト番号を示す7ビット×32の
記憶容量を有する。
In this embodiment, up to 32 objects can be displayed on one line, so it is necessary to specify which of the 128 objects that can be displayed on one screen should be displayed on the next line. The in-range determination circuit 56 shown in FIG.
And the aforementioned vector RAM 46 is used. Therefore, the vector RAM 46 has a storage capacity of 7 bits × 32 indicating the object number.

ベクトルRAMアドレス回路58は主としてカウンタを含
み、インレンジ判定回路56からの信号/INRANGE毎にベク
トルRAM46のアドレスをインクリメントする。なお、こ
のベクトルRAMアドレス回路58からその水平ライン中に
インレンジ状態にあるオブジェクトが1つもないとき、
そのことを示す信号/NONOBJが後述のバッファRAM制御回
路92(第6C図)に与えられる。上述のように1ラインに
は最大32個のオブジェクトしか表示できないので、ベク
トルRAMアドレス回路58からはインレンジ状態にあるオ
ブジェクト数が“32"に達したとき、信号INRANGE FULL
が出力され、それがインレンジ判定回路56に与えられ
る。応じて、インレンジ判定回路56ではそれ以後のイン
レンジ判定出力を止める。
The vector RAM address circuit 58 mainly includes a counter, and increments the address of the vector RAM 46 for each signal / INRANGE from the in-range determination circuit 56. When there is no in-range object in the horizontal line from the vector RAM address circuit 58,
A signal / NONOBJ indicating this is supplied to a buffer RAM control circuit 92 (FIG. 6C) described later. As described above, since a maximum of 32 objects can be displayed on one line, when the number of objects in the in-range state reaches "32", the signal INRANGE FULL is output from the vector RAM address circuit 58.
Is output to the in-range determination circuit 56. Accordingly, the in-range determination circuit 56 stops the subsequent in-range determination output.

第6B図に示すサイズカウンタ60は、オブジェクトを表
示するとき、そのオブジェクトを構成する複数のキャラ
クタのうち左から何番目のキャラクタを表示すればよい
かを示すデータSCを出力する。このサイズカウンタ60は
サイズカウンタ制御回路62から初期値データを受け、タ
イミング信号発生回路34からの信号/HC0に応答してその
初期値をインクリメントする。その結果が上述のデータ
SCとして出力され、このデータSCは後述の水平(H)位
置演算回路64におけるアドレスの計算のために利用され
る。
When displaying an object, the size counter 60 shown in FIG. 6B outputs data SC indicating the number of the leftmost character to be displayed among a plurality of characters constituting the object. The size counter 60 receives the initial value data from the size counter control circuit 62 and increments the initial value in response to the signal / HC0 from the timing signal generation circuit 34. The result is the above data
The data SC is output as SC, and this data SC is used for calculating an address in a horizontal (H) position calculation circuit 64 described later.

サイズカウンタ制御回路62からはH位置演算回路64に
新しいオブジェクトの水平位置データをロードすべきタ
イミングを示す信号Lが出力される。すなわち、この信
号Lは次のオブジェクトのための処理を実行するための
タイミング信号であり、前述のベクトルRAMアドレス回
路58に与えられる。ベクトルRAMアドレス回路58はこの
信号Lに応答してベクトルRAMアドレスをディクリメン
トする。したがって、ベクトルRAM46のアドレスは信号
L毎に変更され、信号Lが出力されない限り、ベクトル
RAMアドレス回路58におけるアドレスの更新が停止され
る。すなわち、大きいオブジェクトの場合、そのオブジ
ェクトを構成するキャラクタを処理している間はOAM38
のアドレスは同じでなければならないので、信号Lによ
って、1つのオブジェクトを構成する全てのキャラクタ
の処理が終了するまでOAM38のアドレスを変更しないこ
ととした。なお、この信号Lは信号Cを1段のD−FFで
遅延させることによって得られる。
The size counter control circuit 62 outputs a signal L indicating the timing at which the horizontal position data of the new object should be loaded to the H position calculation circuit 64. That is, this signal L is a timing signal for executing processing for the next object, and is given to the above-described vector RAM address circuit 58. The vector RAM address circuit 58 decrements the vector RAM address in response to the signal L. Therefore, the address of the vector RAM 46 is changed for each signal L, and unless the signal L is output, the vector
Updating of the address in the RAM address circuit 58 is stopped. In other words, in the case of a large object, OAM38
Since the address of the OAM 38 must be the same, the address of the OAM 38 is not changed by the signal L until the processing of all the characters constituting one object is completed. The signal L is obtained by delaying the signal C by one stage D-FF.

OAM38には、前述のように、水平(H)位置データ,
垂直(V)位置データ,属性(アトリビュート)データ
およびネームデータが一時的に記憶されるが、OAM38か
ら読み出されたこれらのデータは、レジスタ制御回路74
の制御の下で、それぞれ、9ビットのH位置レジスタ6
6,8ビットのV位置レジスタ68,8ビットのアトリビュー
トレジスタ70および9ビットのネームレジスタ72にロー
ドされる。レジスタ制御回路74は、上述のサイズカウン
タ制御回路62からの信号Lおよび信号Cに応答して、各
レジスタ66,68,70および72のロードタイミングを制御す
る。
As described above, the OAM38 has horizontal (H) position data,
Vertical (V) position data, attribute data, and name data are temporarily stored. These data read from the OAM 38 are stored in the register control circuit 74.
Under the control of the 9-bit H position register 6
It is loaded into a 6, 8-bit V position register 68, an 8-bit attribute register 70, and a 9-bit name register 72. The register control circuit 74 controls the load timing of each of the registers 66, 68, 70, and 72 in response to the signal L and the signal C from the size counter control circuit 62 described above.

H位置レジスタ66からH位置演算回路64にH位置デー
タHPが与えられる、このデータHPはまたサイズカウンタ
制御回路62にも与えられる。H位置演算回路64では、オ
ブジェクトの水平(H)位置の絶対値データHAを演算
し、インレンジ判定回路56に与えるとともに、後述のバ
ッファRAMアドレス回路90に与えられてバッファRAM84の
アドレスとして利用される。H位置演算回路64は、ま
た、H位置とサイズカウンタからのデータSCとを加算
し、その結果データをサイズカウンタ制御回路62に与え
る。
The H position data HP is supplied from the H position register 66 to the H position operation circuit 64. The data HP is also supplied to the size counter control circuit 62. The H-position calculation circuit 64 calculates the absolute value data HA of the horizontal (H) position of the object and supplies the calculated value to the in-range determination circuit 56 and to a buffer RAM address circuit 90 described later to be used as an address of the buffer RAM 84. You. The H position calculation circuit 64 also adds the H position and the data SC from the size counter, and supplies the result data to the size counter control circuit 62.

V位置演算回路76はV位置レジスタ68からの垂直
(V)位置データVPと垂直期間信号Vとを受け、オブジ
ェクトのV位置を現在走査中の水平ライン位置から減算
する。この減算結果データはそのオブジェクトが次の水
平ラインで表示されるべきか否かを示すデータとなる。
減算結果データはインレンジ判定回路56とともにアドレ
ス加算器制御回路78に与えられる。
The V position calculation circuit 76 receives the vertical (V) position data VP from the V position register 68 and the vertical period signal V, and subtracts the V position of the object from the currently scanned horizontal line position. This subtraction result data is data indicating whether or not the object should be displayed on the next horizontal line.
The subtraction result data is supplied to the address adder control circuit 78 together with the in-range determination circuit 56.

インレンジ判定回路56は、後に詳細に説明するが、こ
のようにして与えられるH位置データおよびV位置デー
タならびにサイズデータSR,インタレースデータIRおよ
びアトリビュートデータARに基づいてそのオブジェクト
が次の水平ラインで表示されるべきか否か、すなわち、
インレンジ状態にあるか否かを判定する。インレンジ判
定回路56は、1水平走査期間に128回のインレンジ判定
を実行するが、前述のように、インレンジ状態にあるオ
ブジェクトが32個に達したときには、ベクトルRAMアド
レス回路58から信号INRANGE FULLが与えられる。したが
って、インレンジ判定回路56は、信号INRANGE FULLが与
えられた後は、信号/INRANGEを出力しない。
As will be described later in detail, the in-range determination circuit 56 determines whether the object is in the next horizontal line based on the H position data and V position data thus provided, the size data SR, the interlace data IR, and the attribute data AR. Whether it should be indicated by
It is determined whether or not the vehicle is in the in-range state. The in-range determination circuit 56 performs the in-range determination 128 times in one horizontal scanning period. As described above, when the number of objects in the in-range state reaches 32, the signal INRANGE is output from the vector RAM address circuit 58. FULL is given. Therefore, after receiving signal INRANGE FULL, inrange determination circuit 56 does not output signal / INRANGE.

アドレス加算器制御回路78はアドレス加算器80におけ
る加算の前にデータを処理する。すなわち、アドレス加
算器制御回路78は、サイズレジスタ50からのデータSR,
インタレースレジスタ54からのデータIRおよびアトリビ
ュートレジスタ70からのデータARとともに、H位置演算
回路64およびV位置演算回路76からのH位置データおよ
びV位置データを受け、Hフリップ(H反転)またはV
フリップ(反転)のとき、被加算値を変更する。そし
て、アドレス加算器80はアドレス加算器制御回路78から
の出力データとネームレジスタ72からのオブジェクトコ
ードデータ(第1図に示すビデオデータメモリ16のキャ
ラクタデータ記憶領域16aの左上のキャラクタネーム、
すなわち、基準アドレスを示す)とを加算して、キャラ
クタデータ記憶領域16aのアドレスを作成する。このア
ドレスがビデオデータメモリアドレス回路82に出力され
る。
The address adder control circuit 78 processes the data before the addition in the address adder 80. That is, the address adder control circuit 78 outputs the data SR,
It receives the H position data and the V position data from the H position operation circuit 64 and the V position operation circuit 76 together with the data IR from the interlace register 54 and the data AR from the attribute register 70, and receives an H flip (H inversion) or V
At the time of flip (inversion), the value to be added is changed. The address adder 80 outputs the output data from the address adder control circuit 78 and the object code data from the name register 72 (the upper left character name of the character data storage area 16a of the video data memory 16 shown in FIG. 1).
That is, the address of the character data storage area 16a is created. This address is output to video data memory address circuit 82.

第6C図に示すバッファRAM84は、9ビット×256の記憶
容量を有し、カラーパレットデータや優先順位データな
どを一時的に記憶する。ビデオデータメモリ16のデータ
バスに接続されたH反転回路86は、キャラクタデータ記
憶領域16bから読み出した各ドット(ピクセル)のカラ
ーデータを受け、アトリビュートレジスタ72からのデー
タARにより反転指示に基づいて、水平(H)方向をドッ
ト単位で反転する。そして、このH反転回路86からのカ
ラーデータがカラーデータ抽出回路88に与えられる。カ
ラーデータ抽出回路88では、4つのカラーセルごとに入
力されるカラーデータを集めて1ドット当たり4ビット
のカラーデータを得て、バッファRAM84のデータ入力DI
に与える。一方、アトリビュートレジスタ72からのカラ
ーパレットデータ(3ビット)および優先順位データ
(2ビット)もこのバッファRAM84に与えられるため、
結局、バッファRAM84は上述のように1ドット当たり9
ビットのデータを記憶する。
The buffer RAM 84 shown in FIG. 6C has a storage capacity of 9 bits × 256 and temporarily stores color pallet data, priority data, and the like. The H inversion circuit 86 connected to the data bus of the video data memory 16 receives the color data of each dot (pixel) read out from the character data storage area 16b, and receives the data AR from the attribute register 72 based on the inversion instruction. The horizontal (H) direction is reversed in dot units. Then, the color data from the H inversion circuit 86 is supplied to a color data extraction circuit 88. The color data extraction circuit 88 collects the color data input for each of the four color cells to obtain 4-bit color data per dot.
Give to. On the other hand, the color pallet data (3 bits) and the priority data (2 bits) from the attribute register 72 are also given to the buffer RAM 84.
Eventually, the buffer RAM 84 has 9 per dot as described above.
Stores bit data.

バッファRAMアドレス回路90はH位置演算回路64から
のHアドレスの絶対値データHAおよびH位置レジスタ66
からのH位置データHPを受ける。そして、表示期間中、
バッファRAMアドレス回路90はバッファRAM84のアドレス
を“0−255"までインクリメントして、このアドレスを
バッファRAM84に与える。したがって、バッファRAM84か
らは、ドット順次に、カラーデータ等が読み出される。
また、バッファRAM84へのデータの書込を行うとき、バ
ッファRAMアドレス回路90は、絶対値データHAを基準に
してバッファRAM84の書込アドレスを作成する。ただ
し、バッファRAM84の読出または書込はバッファRAM制御
回路92によって制御される。すなわち、バッファRAM制
御回路92はベクトルRAMアドレス回路58(第6B図)から
の信号/NONOBJを受け、この信号/NONOBJに応答してバッ
ファRAM84へのデータの書込を禁止し、またカラーデー
タが「透明」を示すとき、同様に、バッファRAM84への
データの書込が禁止される。
The buffer RAM address circuit 90 stores the absolute value data HA of the H address from the H position operation circuit 64 and the H position register 66
From the H position data HP. And during the display period,
The buffer RAM address circuit 90 increments the address of the buffer RAM 84 to "0-255" and supplies this address to the buffer RAM 84. Therefore, color data and the like are read from the buffer RAM 84 in dot order.
When writing data to the buffer RAM 84, the buffer RAM address circuit 90 creates a write address for the buffer RAM 84 based on the absolute value data HA. However, reading or writing of the buffer RAM 84 is controlled by the buffer RAM control circuit 92. That is, the buffer RAM control circuit 92 receives the signal / NONOBJ from the vector RAM address circuit 58 (FIG. 6B), prohibits the writing of data to the buffer RAM 84 in response to the signal / NONOBJ, When "transparent" is indicated, similarly, writing of data to the buffer RAM 84 is prohibited.

ここで、上述の各回路について、第8図−第21図を参
照して、さらに詳細に説明する。
Here, each of the above-described circuits will be described in more detail with reference to FIGS.

詳細回路 OAMアドレス回路42 第8図に示すOAMアドレス回路42は8ビットのアドレ
スカウンタ(Hi)94および2ビットのアドレスカウンタ
(Lo)96を含む。アドレスカウンタ94のアドレス入力A2
−A8およびA9が、OAMアドレスレジスタ36のアドレスラ
ッチ(Lo)36aおよびアドレスラッチ(Hi)36bから与え
られ、アドレスカウンタ96のアドレス入力A1はアドレス
ラッチ36aから与えられる。アドレスA1はオブジェクト
の2ワードのどちかを指定するアドレスであり、アドレ
スA2−A8は128個のオブジェクトの何れかを指定する。
アドレスラッチ36bからのデータ出力D7がタイミング信
号発生回路34からの信号/HIおよび/VBの反転とともにNA
NDゲート98に与えられる。したがって、データ出力D7が
NANDゲート98を介してアドレスカウンタ94のリセット入
力Rに印加される。したがって、データD7がローレベル
のときアドレスカウンタ94にリセットがかかり、アドレ
スカウンタ94は必ず“0"からカウントを開始してインク
リメントされる。これによって、インレンジ判定する際
に、最初に読み込まれたインレンジ状態にあると判定さ
れたオブジェクトが優先順位の最も高いオブジェクトと
して処理されることになる。また、データD7が“1"であ
るとき、アドレスカウンタ94はリセットされず、マイク
ロプロセサ10(第1図)から最後に入力されたデータが
そのまま初期値データとして設定され、その初期値デー
タで指定されるオブジェクトが最優先で処理される。
Detailed Circuit OAM Address Circuit 42 The OAM address circuit 42 shown in FIG. 8 includes an 8-bit address counter (Hi) 94 and a 2-bit address counter (Lo) 96. Address input A2 of address counter 94
-A8 and A9 are supplied from the address latch (Lo) 36a and the address latch (Hi) 36b of the OAM address register 36, and the address input A1 of the address counter 96 is supplied from the address latch 36a. The address A1 is an address for specifying one of two words of an object, and the addresses A2-A8 are for specifying any of the 128 objects.
The data output D7 from the address latch 36b is output from the timing signal generator 34 along with the inversion of the signals / HI and / VB.
ND gate 98. Therefore, data output D7
It is applied to the reset input R of the address counter 94 via the NAND gate 98. Therefore, when the data D7 is at the low level, the address counter 94 is reset, and the address counter 94 always starts counting from "0" and is incremented. As a result, when the in-range is determined, the object that is first determined to be in the in-range state is processed as the object with the highest priority. When the data D7 is "1", the address counter 94 is not reset, and the data last inputted from the microprocessor 10 (FIG. 1) is set as it is as initial value data, and specified by the initial value data. Objects are processed with the highest priority.

タイミング信号発生回路34からの信号/HC0を受けるデ
ータセレクタ100が、垂直ブランキング期間とそれ以外
の期間とで異なる周波数のクロックをアドレスカウンタ
94に選択的に与える。すなわち、タイミング信号発生回
路34からの信号INがデータ入力としてまたタイミング信
号発生回路34からの信号HC0がクロックとして入力され
るD−FF102の出力がANDゲート104の入力に与えられ、
タイミング信号発生回路34からの信号/VBがANDゲート10
4に入力されるので、ANDゲート104からは垂直ブランキ
ング期間中ローレベルが出力される。このローレベルの
信号によってデータセレクタ100がアドレスカウンタ94
のクロックを、タイミング信号発生回路34からの信号/H
C0に同期したクロックか、マイクロプロセサ10からのア
クセスタイミングすなわちアドレスデコーダ40(第6A
図)からの信号OAWに同期したクロックかを切り換え
る。したがって、アドレスカウンタ94には垂直ブランキ
ング期間ではマイクロプロセサ10がアドレスカウンタ94
をアクセスするタイミングに同期するクロックが与えら
れ、それ以外の期間では内部タイミングに同期するクロ
ックが与えられる。
The data selector 100 receiving the signal / HC0 from the timing signal generation circuit 34 uses a clock of a different frequency between the vertical blanking period and the other period for the address counter.
Give 94 selectively. That is, the output of the D-FF 102 to which the signal IN from the timing signal generation circuit 34 is input as a data input and the signal HC0 from the timing signal generation circuit 34 is input as a clock is given to the input of the AND gate 104,
The signal / VB from the timing signal generation circuit 34 is AND gate 10
4, the AND gate 104 outputs a low level during the vertical blanking period. This low level signal causes the data selector 100 to
Clock from the timing signal generation circuit 34
The clock synchronized with C0 or the access timing from the microprocessor 10, that is, the address decoder 40 (6th A
Switch between the clocks synchronized with the signal OAW from the figure). Therefore, the microprocessor 10 stores the address counter 94 in the vertical blanking period.
A clock synchronizing with the timing of accessing is provided, and in other periods, a clock synchronizing with the internal timing is applied.

上述のANDゲート104の出力は、アドレスカウンタ96か
らのキャリ信号Cとともに、ORゲート108を通してアド
レスカウンタ94のイネーブル入力Tとして与えられる。
The output of the above-described AND gate 104 is provided as an enable input T of the address counter 94 through the OR gate 108 together with the carry signal C from the address counter 96.

D−FF110のデータ入力としてタイミング信号発生回
路34らの信号VBHが与えられ、そのクロック入力として
タイミング信号発生回路34からの信号HC0が与えられ
る。信号VBHはまたD−FF110の出力とともにANDゲート1
12に与えられる。したがって、ANDゲート112の出力は信
号HC0のタイミングでハイレベルとなり、アドレスデコ
ーダ40からの信号OAW1およびOAW2とともに、NORゲート1
14を通してD−FF116および118のデータ入力に印加され
る。D−FF116のクロックとしてはタイミング信号発生
回路34からの信号/10Mが与えられ、D−FF118のクロッ
クとしてはタイミング信号発生回路34からの信号10Mが
与えられる。これらD−FF116および118の出力が、NOR
ゲート114の出力とともに、NORゲート120の入力に与え
られる。したがって、NORゲート120からは、マイクロプ
ロセサ10がOAM38のアドレスを設定するときにデータバ
スにアドレスに相当する数値が出力されるが、この数値
データをアドレスカウンタ94にロードするタイミング信
号/LDがアドレスカウンタ94に与えられる。
The signal VBH from the timing signal generation circuit 34 is provided as the data input of the D-FF 110, and the signal HC0 from the timing signal generation circuit 34 is provided as the clock input. The signal VBH is also output to the AND gate 1 together with the output of the D-FF110.
Given to 12. Therefore, the output of the AND gate 112 goes high at the timing of the signal HC0, and together with the signals OAW1 and OAW2 from the address decoder 40, the NOR gate 1
14 is applied to the data inputs of D-FFs 116 and 118. A signal / 10M from the timing signal generation circuit 34 is supplied as a clock of the D-FF 116, and a signal 10M from the timing signal generation circuit 34 is supplied as a clock of the D-FF 118. The output of these D-FFs 116 and 118 is NOR
Along with the output of gate 114, it is provided to the input of NOR gate 120. Therefore, when the microprocessor 10 sets the address of the OAM 38 from the NOR gate 120, a numerical value corresponding to the address is output to the data bus, and the timing signal / LD for loading this numerical data into the address counter 94 is used as an address. It is provided to a counter 94.

アドレス選択回路44,OAM制御回路48およびOAM38 第9図に示すアドレス選択回路44は、OAMアドレス回
路42のアドレスカウンタ(Hi)94からのアドレスA2−A8
またはベクトルRAM46からのアドレスA2−A8を選択してO
AM38の主OAM124に与える。すなわち、タイミング信号発
生回路34からの信号/VBおよび/INがNORゲート126を介し
てデータセレクタ122に与えられ、したがって、データ
セレクタ122は垂直ブランキング期間中、OAMアドレス回
路42からのアドレスA2−A8を主OAM124に与える。同じよ
うにして、データセレクタ128は、タイミング信号発生
回路34からの信号/VBに応答してOAMアドレス回路42のア
ドレスカウンタ(Hi)94およびアドレスカウンタ(Lo)
96からのアドレスA0−A4またはベクトルRAM46からのア
ドレスA0−A4を選択してOAM38の補助OAM130に与える。
また、データセレクタ132はOAMアドレス回路42のアドレ
スカウンタ96からのアドレスA1またはANDゲート134の出
力をタイミング信号発生回路34からの信号/VBに応答し
て選択する。ANDゲート134の2入力にはタイミング信号
発生回路34からの信号HC0および/INが与えられる。した
がって、垂直ブランキング期間中にはマイクロプロセサ
10から出力されるデータを用いてOAM38に書き込むが、
それ以外の期間では内部クロックによって上位および下
位オブジェクトデータDOHおよびDOLが主OAM124すなわち
OAM38から読み出されて出力される。
Address selection circuit 44, OAM control circuit 48 and OAM 38 The address selection circuit 44 shown in FIG.
Or select address A2-A8 from vector RAM 46 and
Give to AM38 Lord OAM124. That is, the signals / VB and / IN from the timing signal generation circuit 34 are supplied to the data selector 122 via the NOR gate 126, and therefore, the data selector 122 supplies the address A2− from the OAM address circuit 42 during the vertical blanking period. Give A8 to main OAM124. Similarly, the data selector 128 responds to the signal / VB from the timing signal generation circuit 34 by using the address counter (Hi) 94 and the address counter (Lo) of the OAM address circuit 42.
Addresses A0-A4 from 96 or addresses A0-A4 from vector RAM 46 are selected and provided to auxiliary OAM 130 of OAM 38.
The data selector 132 selects the address A1 from the address counter 96 of the OAM address circuit 42 or the output of the AND gate 134 in response to the signal / VB from the timing signal generation circuit 34. Signals HC0 and / IN from the timing signal generation circuit 34 are supplied to two inputs of the AND gate 134. Therefore, during the vertical blanking period, the microprocessor
Write to OAM38 using the data output from 10,
In other periods, the upper and lower object data DOH and DOL are transferred by the internal clock to the main OAM124,
Read from OAM38 and output.

OAM38において主OAM124と補助OAM130とに分けたの
は、マイクロプロセサ10のデータバスは8ビットであ
り、他方OAM38に記憶されるオブジェクトデータは前述
のように34ビットであるからである。すなわち、第7図
に示すように、8ビットのデータを4回主OAM124に記憶
し、残った2ビット(=34−32)を4つ纏めて8ビット
データとして構成し、それを補助OAM130に記憶する。し
たがって、補助OAM130には9ビットのH位置データの最
上位ビットと1ビットのサイズ選択データとが記憶され
る。
The OAM 38 is divided into the main OAM 124 and the auxiliary OAM 130 because the data bus of the microprocessor 10 is 8 bits, while the object data stored in the OAM 38 is 34 bits as described above. That is, as shown in FIG. 7, the 8-bit data is stored in the main OAM 124 four times, and the remaining two bits (= 34−32) are combined into four 8-bit data, which are then stored in the auxiliary OAM 130. Remember. Therefore, the auxiliary OAM 130 stores the most significant bit of the 9-bit H position data and the 1-bit size selection data.

OAM制御回路48はそれぞれ8ビットのデータラッチ136
および138を含み、このデータラッチ136および138がマ
イクロプロセサ10からのオブジェクトデータのOAM38へ
の書込に利用される。すなわち、データラッチ136の入
力としてはデータバスのデータD0−D7が与えられ、デー
タラッチ138の入力としてはデータラッチ136の出力が与
えられる。データラッチ136および138のラッチ信号とし
ては、アドレスデコーダ40(第6A図)から出力される信
号/PAWおよびNANDゲート140の出力が与えられる。NAND
ゲート140はOAMアドレス回路42からのアドレスA0および
アドレスデコーダ40からの信号/ODWを受ける。アドレス
A0はインバータ144によって反転されてNANDゲート142の
入力として与えられ、このNANDゲート142はさらに上述
の信号/ODWを受ける。したがって、信号/ODWに応答し
て、アドレスA0がローレベルのときデータラッチ138に
データがラッチされ、アドレスA0がハイレベルのときNA
NDゲート142から主OAM124に書込信号が与えられ、デー
タラッチ136および138にラッチされている上位および下
位オブジェクトデータDIHおよびDILが主OAM124に書き込
まれる。
The OAM control circuit 48 has an 8-bit data latch 136 each.
And 138, which are used for writing object data from the microprocessor 10 to the OAM 38. That is, data D0 to D7 of the data bus are provided as inputs of the data latch 136, and an output of the data latch 136 is provided as an input of the data latch 138. As latch signals for data latches 136 and 138, signal / PAW output from address decoder 40 (FIG. 6A) and the output of NAND gate 140 are provided. NAND
Gate 140 receives address A0 from OAM address circuit 42 and signal / ODW from address decoder 40. address
A0 is inverted by an inverter 144 and provided as an input to a NAND gate 142, which further receives the signal / ODW described above. Therefore, in response to the signal / ODW, data is latched in the data latch 138 when the address A0 is at a low level, and NA is output when the address A0 is at a high level.
A write signal is applied from ND gate 142 to main OAM 124, and upper and lower object data DIH and DIL latched in data latches 136 and 138 are written to main OAM 124.

また、補助OAM130は16ビットではないので、1回の動
作でデータの書込が終了する。したがって、信号/ODWが
補助OAM130の書込信号として与えられ、データラッチ13
8にラッチされているオブジェクトデータが書き込まれ
る。
Further, since the auxiliary OAM 130 is not 16 bits, the data writing is completed by one operation. Therefore, signal / ODW is supplied as a write signal of auxiliary OAM 130, and data latch 13
The object data latched in 8 is written.

なお、OAM制御回路48は2つのNORゲート146および148
を含み、NORゲート146にはOAMアドレス回路42からのア
ドレスA9がインバータ150によって反転されて与えられ
るとともに、タイミング信号発生回路34からの信号/VB
が与えられる。また、NORゲート148には上述のアドレス
A9および信号/VBがそのまま与えられる。したがって、
垂直ブランキング期間中において、アドレスA9がハイレ
ベルのときにはNORゲート148からイネーブル信号が補助
OAM130に与えられ、ローレベルのときはNORゲート146か
らイネーブル信号が主OAM124に与えられる。そして、主
OAM124から読み出された上位のオブジェクトデータDOH
はV位置レジスタ68,アトリビュートレジスタ70および
ネームレジスタ72にロードされ、下位のオブジェクトデ
ータDOLはH位置レジスタ66およびネームレジスタ72に
ロードされる。
The OAM control circuit 48 has two NOR gates 146 and 148
The NOR gate 146 receives the address A9 from the OAM address circuit 42 after being inverted by the inverter 150, and outputs a signal / VB from the timing signal generation circuit 34.
Is given. The NOR gate 148 has the above address.
A9 and signal / VB are provided as is. Therefore,
During the vertical blanking period, when the address A9 is at the high level, the enable signal is assisted by the NOR gate 148.
The signal is supplied to the OAM 130, and when the signal is at a low level, the enable signal is supplied from the NOR gate 146 to the main OAM 124. And the lord
Upper object data DOH read from OAM124
Is loaded into the V position register 68, the attribute register 70, and the name register 72, and the lower-order object data DOL is loaded into the H position register 66 and the name register 72.

また、前述のように補助OAM130にはオブジェクトデー
タの特定のデータが4つのオブジェクトを一纏めにして
記憶されるので、データセレクタ150および152によっ
て、主OAM124の32ビットのオブジェクトデータに附属す
る2ビットをそれと同じタイミングでH位置レジスタ66
およびアトリビュートレジスタ70にロードする。
Also, as described above, the specific data of the object data is stored in the auxiliary OAM 130 in a group of four objects. H position register 66 at the same timing
And the attribute register 70 is loaded.

ベクトルRAMアドレス回路58およびベクトルRAM46 第10図に示すベクトルRAMアドレス回路58は5ビット
の可逆カウンタないしU/Dカウンタ154を含み、このU/D
カウンタ154のカウントデータがベクトルRAM46のアドレ
スA0−A4に与えられる。タイミング信号発生回路34から
の信号INがD−FF156のデータ入力に与えられ、このD
−FF156の出力がD−FF158のデータ入力に与えられる。
D−FF156および158のクロック入力としてはタイミング
信号発生回路34からの信号HC0および5Mが与えられる。
D−FF158の出力は信号HC0とともにNANDゲート160の入
力として与えられ、このNANDゲート160の出力がNANDゲ
ート162の出力とともにNORゲート164の2入力として与
えられる。なお、NANDゲート162の2入力にはタイミン
グ信号発生回路34からの信号/LBおよび/HC0が与えられ
る。そして、NORゲート164の出力が上述のU/Dカウンタ1
54のカウント入力すなわちクロックとして与えられる。
したがって、U/Dカウンタ154のクロックはタイミング信
号発生回路34からの信号HC0によって決まる。
Vector RAM Address Circuit 58 and Vector RAM 46 The vector RAM address circuit 58 shown in FIG. 10 includes a 5-bit reversible counter or U / D counter 154.
The count data of the counter 154 is provided to addresses A0 to A4 of the vector RAM 46. The signal IN from the timing signal generation circuit 34 is applied to the data input of the D-FF156,
The output of -FF156 is provided to the data input of D-FF158.
The signals HC0 and 5M from the timing signal generation circuit 34 are supplied as clock inputs to the D-FFs 156 and 158.
The output of the D-FF 158 is provided together with the signal HC0 as an input of a NAND gate 160, and the output of the NAND gate 160 is provided together with the output of the NAND gate 162 as two inputs of a NOR gate 164. The signals / LB and / HC0 from the timing signal generating circuit 34 are supplied to two inputs of the NAND gate 162. Then, the output of the NOR gate 164 is the U / D counter 1 described above.
Provided as 54 count inputs or clocks.
Therefore, the clock of U / D counter 154 is determined by signal HC0 from timing signal generation circuit.

また、タイミング信号発生回路34からの信号/LBがイ
ンバータ166を通してU/Dカウンタ154のアップカウント
またはダウンカウントを切り換えるための入力U/Dとし
て与えられる。したがって、信号/LBがハイレベルのと
きU/Dカウンタ154はアップカウンタとして、また信号/L
BがローレベルのときU/Dカウンタ154はダウンカウンタ
としてそれぞれ構成される。
Further, a signal / LB from the timing signal generating circuit 34 is provided as an input U / D for switching up / down counting of the U / D counter 154 through the inverter 166. Therefore, when signal / LB is at a high level, U / D counter 154 serves as an up counter and signal / L
When B is at the low level, the U / D counters 154 are each configured as a down counter.

さらに、タイミング信号発生回路34からの信号5Mおよ
びHC0がNANDゲート168の入力に与えられ、このNANDゲー
ト168の出力が、インレンジ判定回路56からの信号/INRA
NGEとともにNANDゲート170に与えられる。この信号/INR
ANGEがD−FF172のデータ入力に与えられ、上述のNAND
ゲート168の出力がこのD−FF172のクロックとして与え
られる。D−FF172の出力がデータセレクタ174の1入力
として与えられ、データセレクタ174の切換入力として
は前述の信号/LBが与えられる。NANDゲート170の出力が
RS−FF176のセット入力/Sとして与えられ、リセット入
力/Rとしてはタイミング信号発生回路34からの信号/HI
が印加される。このRS−FF176の出力がANDゲート178の
入力となる。このANDゲート178の他の入力としてはORゲ
ート180を経たタイミング信号発生回路34からの信号/HB
HまたはLおよびD−FF182の出力が与えられる。
Further, the signals 5M and HC0 from the timing signal generation circuit 34 are supplied to the input of the NAND gate 168, and the output of the NAND gate 168 is the signal / INRA from the in-range determination circuit 56.
Provided to NAND gate 170 along with NGE. This signal / INR
ANGE is given to the data input of D-FF172, and the NAND
The output of the gate 168 is given as the clock of the D-FF 172. The output of the D-FF 172 is provided as one input of the data selector 174, and the signal / LB is provided as a switching input of the data selector 174. The output of NAND gate 170
It is given as the set input / S of the RS-FF176, and the reset input / R is the signal / HI from the timing signal generation circuit 34.
Is applied. The output of the RS-FF 176 becomes the input of the AND gate 178. The other input of the AND gate 178 is the signal / HB from the timing signal generation circuit 34 via the OR gate 180.
The output of H or L and D-FF182 is provided.

そのため、インレンジ検出すべき期間において信号/L
Bがハイレベになると、U/Dカウンタ154がアップカウン
ト動作に切り換えられる。そして、インレンジ状態を示
す信号/INRANGEがローレベルになる都度、D−FF172か
らイネーブル信号が与えられるので、U/Dカウンタ154は
NORゲート164からのクロックをアップカウントする。U/
Dカウンタ154のカウント値が書込アドレスとしてベクト
ルRAM46に与えられる。また、U/Dカウンタ154がアップ
カウント動作して、インレンジ検出されたオブジェクト
が1ラインで表示可能な“32"に達すると、ANDゲート18
6およびD−FF188によって信号INRANGE FULLが発生され
る。この信号INRANGE FULLに応答して、インレンジ判定
回路56が不能動化される。一方、信号/LBがローレベル
になると、U/Dカウンタ154がダウンカウント動作に切り
換えられ、サイズカウンタ制御回路62からの信号Lが与
えられる都度ダウンカウント動作する。U/Dカウンタ154
のカウント値がインレンジ検出されたオブジェクトを読
み出し出すために、読出アドレスとしてベクトルRAM46
に与えられる。そして、すべてのオブジェクトが読み出
されると、U/Dカウンタ154のカウント値が“0"となり、
キャリ信号がD−FF182に与えられるので、U/Dカウンタ
154が不能動化される。
Therefore, during the period during which in-range detection is required, the signal / L
When B goes high, the U / D counter 154 switches to an up-count operation. Then, every time the signal / INRANGE indicating the in-range state becomes low level, the enable signal is given from the D-FF172, so that the U / D counter 154
The clock from the NOR gate 164 is counted up. U /
The count value of the D counter 154 is provided to the vector RAM 46 as a write address. When the U / D counter 154 counts up and the in-range detected object reaches “32” which can be displayed in one line, the AND gate 18
The signal INRANGE FULL is generated by 6 and D-FF188. In response to the signal INRANGE FULL, the in-range determination circuit 56 is deactivated. On the other hand, when the signal / LB becomes low level, the U / D counter 154 is switched to the down-count operation, and the down-count operation is performed every time the signal L from the size counter control circuit 62 is supplied. U / D counter 154
In order to read out an object whose count value of the in-range is detected, the vector RAM 46 is used as a read address.
Given to. Then, when all objects are read, the count value of the U / D counter 154 becomes “0”,
Since the carry signal is given to D-FF182, the U / D counter
154 is deactivated.

インレンジ判定回路56でインレンジ判定動作を開始す
ると、タイミング信号発生回路34からの信号/HIがU/Dカ
ウンタ154のリセット入力に与えられるとともに、この
信号/HIはRS−FF176のリセット入力としても与えられ
る。そして、その後インレンジ状態にあるオブジェクト
が1つも検出されなければ、RS−FF176の出力はローレ
ベルのままであり、この信号がD−FF190オブジェクト1
92を経てタイミング信号発生回路34からの信号HC0に応
答して、前述の信号/NONOBJとして出力される。この信
号/NONOBJはバッファRAM制御回路92(第6C図)に与えら
れる。
When the in-range determination operation is started by the in-range determination circuit 56, the signal / HI from the timing signal generation circuit 34 is given to the reset input of the U / D counter 154, and this signal / HI is used as the reset input of the RS-FF 176. Is also given. Then, if no object in the in-range state is detected thereafter, the output of the RS-FF176 remains at the low level, and this signal indicates that the D-FF190 object 1
The signal / NONOBJ is output in response to the signal HC0 from the timing signal generation circuit 34 via 92. This signal / NONOBJ is supplied to the buffer RAM control circuit 92 (FIG. 6C).

レジスタ制御回路74,H位置演算回路74,H位置レジスタ6
6,V位置レジスタ68,アトリビュートレジスタ70,ネーム
レジスタ72およびH位置演算回路76 第11図に示すレジスタ制御回路74はNORゲート194なら
びにNANDゲート196および198を含む。NORゲート194の入
力にはサイズカウンタ制御回路62(第6B図)からの信号
Cとタイミング信号発生回路34からの信号VBおよびINが
与えられる。NANDゲート196の入力にはNORゲート194の
出力とともに、タイミング信号発生回路34からの信号/5
MおよびHC0が与えられ、NANDゲート198の入力にはサイ
ズカウンタ制御回路62(第6B図)からの信号Lとタイミ
ング信号発生回路34からの信号5MおよびHC0が与えられ
る。
Register control circuit 74, H position calculation circuit 74, H position register 6
6, V position register 68, attribute register 70, name register 72 and H position operation circuit 76 The register control circuit 74 shown in FIG. 11 includes a NOR gate 194 and NAND gates 196 and 198. The signal C from the size counter control circuit 62 (FIG. 6B) and the signals VB and IN from the timing signal generation circuit 34 are supplied to the inputs of the NOR gate 194. The input of the NAND gate 196, together with the output of the NOR gate 194, the signal from the timing signal generation circuit 34/5
M and HC0 are supplied, and the input of the NAND gate 198 is supplied with the signal L from the size counter control circuit 62 (FIG. 6B) and the signals 5M and HC0 from the timing signal generation circuit 34.

H位置演算回路64は8ビットのフルアダー200を含
み、その一方入力A0−A7にはイクスクルーシブORゲート
202の出力が与えられ、他方入力B3−B5としてANDゲート
204の出力が与えられる。なお、残余の他方入力として
はアース電位すなわち“0"が与えられる。H位置レジス
タ66の第1H位置レジスタ66aからのH位置データD0−D7
がANDゲート206からのキャリ信号入力CINとともにイク
スクルーシブORゲート202の入力に与えられる。したが
って、キャリ信号入力CINがハイレベルのとき、データD
0−D7がイクスクルーシブORゲート202によって反転され
て、フルアダー200の上述の一方入力A0−A7として与え
られる。
The H position operation circuit 64 includes an 8-bit full adder 200, while the inputs A0-A7 have exclusive OR gates.
The output of 202 is provided, while the AND gate is provided as input B3-B5
The output of 204 is given. The ground potential, that is, “0” is given as the other input. H position data D0-D7 from the first H position register 66a of the H position register 66
Is provided to the input of the exclusive OR gate 202 together with the carry signal input CIN from the AND gate 206. Therefore, when carry signal input CIN is high level, data D
0-D7 is inverted by the exclusive OR gate 202 and provided as the above-mentioned one-side input A0-A7 of the full adder 200.

なお、ANDゲート206にはH位置レジスタ66含まれる第
2H位置レジスタ66aからのデータD8およびORゲート208の
出力が与えられる。このデータD8が“1"のときオブジェ
クトの水平(H)位置は第12図に示すように負(マイナ
ス)領域にあり、データD8が“0"のときオブジェクトの
H位置は第12図に示すように正(プラス)領域にある。
すなわち、モニタ22(第1図)の実際の表示画面は、第
12図に示す原点(0,0)から図面上右半分の部分であ
り、この表示画面内では、水平位置は“0−255"すなわ
ち“000H−0FFH"である。ところが、この実施例では、
オブジェクトの左端が表示画面から外れていてもオブジ
ェクトの表示画面内の部分が画面の左端からスムースに
画面上に現れるようにするために、表示画面の範囲外に
おいても第12図の左半分に示すような仮想的な画面を想
定し、その範囲内でも水平位置を設定できるようにして
いる。そして、この表示範囲外においては、水平位置は
“256−511"すなわち“100H−1FFH"として表現される。
そして、インレンジ判定期間中において、H位置データ
D8が“0"であれば、データD0−D7が直接フルアダー200
の入力A0−A7として与えられ、そのとき入力B3−B5はイ
ンレンジ判定期間中であることを表すタイミング信号発
生回路34からの信号INによってローレベルに固定され
る。したがって、フルアダー200の出力は“D0−D7+0"
となり、データD0−D7がそのまま出力される。また、H
位置データD8が“1"であれば、データD0−D7がイクスク
ルーシブORゲート202によって反転されてフルアダー200
の入力A0−A7として与えられ、そのとき入力B3−B5は上
述の信号INによってローレベルに固定される。したがっ
て、フルアダー200の出力は“1+/(D0−D7)”とな
る。
Note that the AND gate 206 includes the H position register 66
Data D8 from 2H position register 66a and the output of OR gate 208 are provided. When the data D8 is "1", the horizontal (H) position of the object is in the negative (minus) area as shown in FIG. 12, and when the data D8 is "0", the H position of the object is shown in FIG. As in the positive (plus) area.
That is, the actual display screen of the monitor 22 (FIG. 1)
This is the right half of the drawing from the origin (0,0) shown in FIG. 12. In this display screen, the horizontal position is "0-255", that is, "000H-0FFH". However, in this embodiment,
Even if the left edge of the object is off the display screen, it is shown in the left half of FIG. 12 even outside the display screen so that the portion of the object within the display screen appears on the screen smoothly from the left edge of the screen Such a virtual screen is assumed, and the horizontal position can be set within the range. Outside the display range, the horizontal position is represented as "256-511", that is, "100H-1FFH".
Then, during the in-range determination period, the H position data
If D8 is "0", data D0-D7 are directly
At this time, the inputs B3-B5 are fixed to a low level by a signal IN from the timing signal generation circuit 34 indicating that the in-range determination period is being performed. Therefore, the output of full adder 200 is "D0-D7 + 0"
And the data D0-D7 are output as they are. Also, H
If the position data D8 is "1", the data D0-D7 are inverted by the exclusive OR gate 202 to generate the full adder 200.
The inputs B3-B5 are fixed to a low level by the signal IN described above. Therefore, the output of the full adder 200 is "1 + / (D0-D7)".

そして、それ以外の場合、ORゲート208を介して与え
られるタイミング信号発生回路34からの信号HC0がハイ
レベルのとき、H位置データD8の“0"または“1"に依存
してフルアダー200から“D0−D7+0"または“D0−D7+
1"がサイズカウンタ60(第6B図)の初期値としてロード
される。信号HC0がローレベルのとき、H位置データD0
−D7がそのままフルアダー200の入力A0−A7に与えら
れ、フルアダー200の入力B3−B5としてはサイズカウン
タ60からのデータSC0−SC2が与えられるので、その両者
の加算結果がフルアダー200から出力される。
In other cases, when the signal HC0 from the timing signal generation circuit 34 provided through the OR gate 208 is at a high level, the full adder 200 outputs “0” or “1” depending on “0” or “1” of the H position data D8. D0-D7 + 0 "or" D0-D7 +
1 "is loaded as the initial value of the size counter 60 (FIG. 6B). When the signal HC0 is at a low level, the H position data D0
−D7 is directly supplied to the inputs A0 to A7 of the full adder 200, and the data SC0 to SC2 from the size counter 60 are supplied as the inputs B3 to B5 of the full adder 200. .

このようにして、H位置演算回路64においてH位置デ
ータをその絶対値に変換する理由は、第12図に示される
オブジェクトのように、モニタの表示画面からはみ出し
た部分を除いて、オブジェクトがモニタ画面の左端から
表示されるようにするためである。
The reason why the H position data is converted into its absolute value in the H position calculation circuit 64 in this manner is that the object is monitored on the monitor except for the portion protruding from the display screen of the monitor like the object shown in FIG. This is for displaying from the left end of the screen.

なお、V位置演算回路76は8ビットのフルアダー210
を含み、その一方入力A0−A7にはV位置レジスタ68から
のV位置データD8−D15がインバータ212によって反射さ
れて与えられ、他方入力B0−B7にはタイミング信号発生
回路34からの信号VD0−VD7が印加される。そして、フル
アダー210の加算結果が、オブジェクトの垂直(V)位
置データとして、ANDゲート加算器制御回路78およびイ
ンレンジ判定回路56(第6B図)に与えられる。
Note that the V position calculation circuit 76 has an 8-bit full adder 210.
On the other hand, the input A0-A7 is provided with the V position data D8-D15 from the V position register 68 reflected by the inverter 212, while the input B0-B7 is supplied with the signal VD0-V from the timing signal generation circuit 34. VD7 is applied. Then, the addition result of the full adder 210 is provided to the AND gate adder control circuit 78 and the in-range determination circuit 56 (FIG. 6B) as vertical (V) position data of the object.

サイズレジスタ50,インタレースレジスタ54,サイズデコ
ーダ52およびインレンジ判定回路56 第13図に示すサイズレジスタ50はアドレスデコーダ40
(第6A図)からの信号SZWをロード信号として受ける第
1,第2および第3サイズレジスタ50a,50bおよび50cを含
み、これら第1,第2および第3サイズレジスタ50a,50b
および50cにはデータバスを介してマイクロプロセサ10
(第1図)からのデータD0−D7が与えられる。インタレ
ースレジスタ54はアドレスデコーダ40(第6A図)からの
信号IZWをロード信号として受ける第1および第1イン
タレースレジスタ54aおよび54bを含み、これら第1およ
び第2インタレースレジスタ54aおよび54bにはデータバ
スを介してマイクロプロセサ10(第1図)からのデータ
D0−D7が与えられる。第1サイズレジスタ50aはオブジ
ェクトメモリ領域のアドレスデータBASEをロードし、第
2サイズレジスタ50bはデータSELをロードし、そして第
3サイズレジスタ50cはサイズデータSIZEをロードす
る。第1インタレースレジスタ54aは奇数フィールドと
偶数フィールドとで異なる表示を行うかまたは同じ表示
を行うかを設定するインタレースデータをロードし、第
2インタレースレジスタ54bはデータOBJ V SELをロード
する。
Size register 50, interlace register 54, size decoder 52, and in-range determination circuit 56
(FIG. 6A) receives the signal SZW as a load signal.
1, including second and third size registers 50a, 50b and 50c, and the first, second and third size registers 50a, 50b
And 50c via the data bus to the microprocessor 10
Data D0-D7 from FIG. 1 are provided. Interlace register 54 includes first and first interlace registers 54a and 54b that receive signal IZW from address decoder 40 (FIG. 6A) as a load signal, and include first and second interlace registers 54a and 54b. Data from the microprocessor 10 (Figure 1) via the data bus
D0-D7 are provided. The first size register 50a loads the address data BASE of the object memory area, the second size register 50b loads the data SEL, and the third size register 50c loads the size data SIZE. The first interlace register 54a loads interlace data for setting whether to perform different display or the same display in an odd field and an even field, and the second interlace register 54b loads data OBJ V SEL.

第1および第2サイズレジスタ50aおよび50bにロード
されるデータBASEおよびSELは、前述のように1つのSRA
Mからなるビデオデータメモリ16(第1図)の背景パタ
ーン記憶領域16aおよびキャラクタデータ記憶領域16bを
任意に設定するためのビデオデータメモリ16のアドレス
を指定する。すなわち、第14図および第15図に示すよう
にビデオデータメモリ16は64Kバイト(ワード)の記憶
容量を有し、そのうち特定の4Kバイト領域16AがデータD
0−D2によって表されるデータBASEによって指定され
る。また、それぞれが4Kバイトである別の領域16B1,16B
2,16B3または16B4がデータD3およびD4によって表される
データSELで指定される。このデータBASEおよびSELを適
宜組み合わせることによって、データSELの2ビットを
変更するだけで、オブジェクトの種類を変更できる。す
なわち、ゲームの或る場面で必要なオブジェクトのキャ
ラクタデータを特定領域16Aおよび別の領域16B1−16B4
の何れかに記憶していて、他の場面で必要なオブジェク
トのキャラクタデータを領域16B1−16B4の他の1つに記
憶しておくようにすれば、そのオブジェクトが必要なと
きにはデータSELの2ビットを変更して領域16B1−16B4
の他の1つを指定するだけで、ゲームの各場面毎に簡単
にオブジェクトの種類を変更することができる。
The data BASE and SEL loaded into the first and second size registers 50a and 50b are, as described above, one SRA.
The address of the video data memory 16 for arbitrarily setting the background pattern storage area 16a and the character data storage area 16b of the M video data memory 16 (FIG. 1) is designated. That is, as shown in FIGS. 14 and 15, the video data memory 16 has a storage capacity of 64 Kbytes (words), and a specific 4 Kbyte area 16 A stores the data D.
Specified by the data BASE represented by 0-D2. Also, separate areas 16B1, 16B each of which is 4K bytes
2,16B3 or 16B4 is specified by data SEL represented by data D3 and D4. By appropriately combining the data BASE and SEL, the type of the object can be changed only by changing the two bits of the data SEL. That is, character data of an object required in a certain scene of the game is stored in the specific area 16A and another area 16B1-16B4.
If character data of an object required in another scene is stored in another one of the areas 16B1 to 16B4, when the object is required, two bits of the data SEL are stored. To 16B1-16B4
By simply specifying the other one, the type of object can be easily changed for each scene of the game.

また、第3サイズレジスタ50cからの3ビットのサイ
ズデータD5−D7は、サイズデコーダ52に入力される。こ
のサイズデコーダ52は、アトリビュートレジスタ70に含
まれる第1アトリビュートレジスタ70a(第11図)から
の1ビットのサイズ選択データSIZESELとともにサイズ
データD5−D7をデコーダしてNORゲート52a,52b,52cまた
は52dから、サイズ指定信号S8,S16,S32またはS64を出力
する。すなわち、サイズ指定信号S8がNORゲート52aから
出力されたとき水平×垂直=8×8ドットの(1つの単
位キャラクタからなる)オブジェクトが選択され、サイ
ズ指定信号S16がNORゲート52bから出力されたとき水平
×垂直=16×16ドットの(4つの単位キャラクタからな
る)オブジェクトが選択され、サイズ指定信号S32がNOR
ゲート52cから出力されたとき水平×垂直=32×32ドッ
トの(16の単位キャラクタからなる)オブジェクトが選
択され、サイズ指定信号S64がNORゲート52dから出力さ
れたとき水平×垂直=64×64ドットの(64の単位キャラ
クタからなる)オブジェクトが選択される。
Also, the 3-bit size data D5-D7 from the third size register 50c is input to the size decoder 52. The size decoder 52 decodes the size data D5-D7 together with the 1-bit size selection data SIZESEL from the first attribute register 70a (FIG. 11) included in the attribute register 70, and NOR gates 52a, 52b, 52c or 52d. Outputs a size designation signal S8, S16, S32 or S64. That is, when the size designation signal S8 is output from the NOR gate 52a, an object of horizontal × vertical = 8 × 8 dots (consisting of one unit character) is selected, and when the size designation signal S16 is output from the NOR gate 52b. Horizontal x vertical = 16 x 16 dot object (consisting of 4 unit characters) is selected, and size specification signal S32 is NOR
When output from the gate 52c, an object of horizontal x vertical = 32 x 32 dots (consisting of 16 unit characters) is selected, and when the size designation signal S64 is output from the NOR gate 52d, horizontal x vertical = 64 x 64 dots Objects (consisting of 64 unit characters) are selected.

これらサイズ指定信号S8,S16,S32またはS64はサイズ
カウンタ制御回路62およびアドレス加算器制御回路78
に、信号/OBJ8,/OBJ16,/OBJ32または/OBJ64として与え
られる。また、サイズ指定信号S8およびS16は、インレ
ンジ判定回路56に含まれるデータセレクタ214に与えら
れ、サイズ指定信号S32およびS64はデータセレクタ216
に与えられる。データセレクタ218の一方入力として
は、さらにサイズ指定信号S64が与えられ、このデータ
セレクタ218の他方入力は“1"に固定される。これらデ
ータセレクタ214,216および218にはインタレースレジス
タ54に含まれる第2インタレースレジスタ54bからのイ
ンタレースデータが選択信号として与えられる。そし
て、インタレース時とノンインタレース時では、オブジ
ェクトサイズが変化する。たとえば、インタレース時に
ドット密度を上げるとオブジェクトサイズは小さくなる
ので、それに応じてサイズデコーダ52からのサイズ指定
信号に基づくインレンジ判定の基準となるサイズを変更
する必要がある。このようなサイズの違いに応じたイン
レンジ判定動作を実行するために、データセレクタ214
−218が利用される。
These size designation signals S8, S16, S32 or S64 are transmitted to the size counter control circuit 62 and the address adder control circuit 78.
Are provided as signals / OBJ8, / OBJ16, / OBJ32 or / OBJ64. The size specifying signals S8 and S16 are provided to a data selector 214 included in the in-range determination circuit 56, and the size specifying signals S32 and S64 are
Given to. As one input of the data selector 218, a size designation signal S64 is further provided, and the other input of the data selector 218 is fixed at "1". To these data selectors 214, 216 and 218, the interlace data from the second interlace register 54b included in the interlace register 54 is given as a selection signal. The object size changes between interlace and non-interlace. For example, if the dot density is increased at the time of interlacing, the object size becomes smaller. Therefore, it is necessary to change the reference size for in-range determination based on the size designation signal from the size decoder 52 accordingly. In order to perform the in-range determination operation according to such a difference in size, the data selector 214
-218 is used.

データセレクタ214の出力はインバータ220によって反
転され、ORゲート222を通してANDゲート224の一方入力
に与えられる。ORゲート224の他の入力としては、ANDゲ
ート226の出力が与えられる。このANDゲート226の2入
力として、インタレースレジスタ54からのインタレース
指定信号およびインバータ228を経たNORゲート52aから
のサイズ指定信号S8が与えられる。そして、ANDゲート2
24の他方入力にはV位置演算回路76からのV位置データ
D3が与えられる。
The output of data selector 214 is inverted by inverter 220 and applied to one input of AND gate 224 through OR gate 222. As the other input of the OR gate 224, the output of the AND gate 226 is provided. As two inputs of the AND gate 226, an interlace designation signal from the interlace register 54 and a size designation signal S8 from the NOR gate 52a via the inverter 228 are given. And AND gate 2
The other input of 24 is the V position data from the V position calculation circuit 76
D3 is given.

データセレクタ216および218の出力はANDゲート230の
2入力として与えられ、ANDゲート230の残余の入力には
V位置演算回路76からのV位置データD4が与えられる。
データセレクタ218の出力は、V位置演算回路76からの
V位置データD5とともに、ANDゲート232に与えられる。
また、上述のANDゲート226の出力がV位置演算回路76か
らのV位置データD2とともに、ANDゲート234に与えられ
る。これらANDゲート224,230,232および234の出力が、
V位置演算回路76からのV位置データD6およびD7ととも
に、反転されて、NANDゲート236の入力として与えられ
る。
The outputs of the data selectors 216 and 218 are provided as two inputs of an AND gate 230, and the remaining input of the AND gate 230 is provided with V position data D4 from the V position calculation circuit 76.
The output of the data selector 218 is supplied to the AND gate 232 together with the V position data D5 from the V position operation circuit 76.
The output of the AND gate 226 is supplied to the AND gate 234 together with the V position data D2 from the V position calculation circuit 76. The outputs of these AND gates 224, 230, 232 and 234 are
The signal is inverted together with the V position data D6 and D7 from the V position calculation circuit 76, and supplied as an input to the NAND gate 236.

NANDゲート236の入力にはさらにNORゲート238の出力
が与えられる。このNORゲート238の入力には、H位置レ
ジスタ66からのH位置データD8およびNANDゲート240の
出力が反転されて与えられる。NANDゲート240は、その
入力として、NANDゲート241,242および244の出力ととも
に、H位置レジスタ66からのH位置データD6およびD7の
反転を受ける。NANDゲート241の2入力はサイズ指定信
号S8を受けるインバータ228の出力およびH位置レジス
タ66からのH位置データD3であり、NAND242の3入力は
H位置レジスタ66からのH位置データD4ならびにサイズ
指定信号S16およびS32であり、そしてNAND244の2入力
はH位置レジスタ66からのH位置データD5およびサイズ
指定信号S64である。
The input of the NAND gate 236 is further provided with the output of the NOR gate 238. The input of the NOR gate 238 receives the inverted H position data D8 from the H position register 66 and the output of the NAND gate 240. NAND gate 240 receives as its inputs the outputs of NAND gates 241, 242 and 244, as well as the inversion of H position data D6 and D7 from H position register 66. Two inputs of the NAND gate 241 are the output of the inverter 228 receiving the size designation signal S8 and the H position data D3 from the H position register 66. The three inputs of the NAND 242 are the H position data D4 from the H position register 66 and the size designation signal. S16 and S32, and the two inputs of NAND 244 are H position data D5 from H position register 66 and size designation signal S64.

上述のNORゲート238の出力が水平(H)方向にインレ
ンジ状態にあるか否かを表す信号となる。また、ANDゲ
ート224,230,232および234がV位置演算回路76からのデ
ータD5およびD7垂直(V)方向にインレンジ状態にある
か否かを表す信号となる。
The output of the NOR gate 238 is a signal indicating whether the output is in the in-range state in the horizontal (H) direction. Further, the AND gates 224, 230, 232, and 234 are signals indicating whether or not the data D5 and D7 from the V position operation circuit 76 are in the in-range state in the vertical (V) direction.

そして、前述のNANDゲート236の入力には、上述のNOR
ゲート238ならびにANDゲート224,230,232および234の出
力の他に、さらに、タイミング信号発生回路34からの信
号INをそのデータ入力に受けかつ信号HC0をそのクロッ
クとして受けるD−FF246の出力およびベクトルRAMアド
レス回路58からの信号INRANGE FULLが与えられる。した
がって、NANDゲート236からは、信号INがありかつ信号I
NRANGE FULLがないとき、判定対象となっているオブジ
ェクトが水平および垂直方向ともにインレンジ状態にあ
るとき、そのことを表す信号/INRANGEを出力する。
The input of the above-described NAND gate 236 includes the above-described NOR.
In addition to the output of the gate 238 and the AND gates 224, 230, 232 and 234, the output of the D-FF 246 which receives the signal IN from the timing signal generation circuit 34 at its data input and receives the signal HC0 as its clock, and the vector RAM address circuit 58 Signal INRANGE FULL. Therefore, from the NAND gate 236, the signal IN and the signal I
When there is no NRANGE FULL, when the object to be determined is in the in-range state in both the horizontal and vertical directions, a signal / INRANGE indicating this is output.

サイズカウンタ制御回路62およびサイズカウンタ60 第16図に示すサイズカウンタ制御回路62はインレンジ
判定回路56すなわちサイズデコーダ52のNORゲート52a,5
2b,52cまたは52dからのオブジェクトサイズ信号/OBJ8,/
OBJ16,/OBJ32または/OBJ64を受けるデータラッチ248を
含む。
Size counter control circuit 62 and size counter 60 The size counter control circuit 62 shown in FIG.
Object size signal / OBJ8, / from 2b, 52c or 52d
Includes a data latch 248 that receives OBJ16, / OBJ32 or / OBJ64.

また、H位置レジスタ66からのH位置データD8がAND
ゲート250,252および254の各一方入力に与えられ、これ
らANDゲート250,252および254の他方入力としては、H
位置演算回路64からの絶対値データHAのD3,D4およびD5
がそれぞれ与えられる。ANDゲート250,252および254の
出力がサイズカウンタ60の初期値として与えられる。H
位置レジスタ66のH位置データが正(プラス)のとき、
対象オブジェクトのスタート位置はモニタ22(第1図)
の画面内のどこかであるから、H位置データD8としては
必ず“0"が入力される。したがって、ANDゲート250−25
4の出力はともにローレベルとなり、サイズカウンタ60
に設定される初期値データは“0"となる。一方、H位置
レジスタ66のH位置データが負(マイナス)のとき、H
位置データD8としては必ず“1"が入力される。たとえ
ば、H位置データが“−8"であるとき、その絶対値HAは
“8"となり、バイナリデータ“1000"として表現され
る。したがって、絶対値HAのD3がハイレベルとなり、AN
Dゲート250からの出力もハイレベルとなり、サイズカウ
ンタ60には“1"が初期値として設定される。そして、負
方向へのずれが大きい程その絶対値HAすなわちサイズカ
ウンタ60に設定される初期値も大きくなる。
The H position data D8 from the H position register 66 is ANDed.
Gates 250, 252 and 254 are applied to one input of each of the AND gates 250, 252 and 254.
D3, D4 and D5 of the absolute value data HA from the position calculation circuit 64
Are given. Outputs of the AND gates 250, 252 and 254 are provided as initial values of the size counter 60. H
When the H position data of the position register 66 is positive (plus),
The start position of the target object is the monitor 22 (Fig. 1)
, "0" is always input as the H position data D8. Therefore, AND gate 250-25
Both outputs of 4 become low level and size counter 60
Is "0". On the other hand, when the H position data of the H position register 66 is negative (minus), H
"1" is always input as the position data D8. For example, when the H position data is “−8”, its absolute value HA is “8” and is represented as binary data “1000”. Therefore, D3 of the absolute value HA becomes high level and AN3
The output from the D gate 250 also becomes high level, and "1" is set as an initial value in the size counter 60. Then, the larger the deviation in the negative direction, the larger the absolute value HA, that is, the initial value set in the size counter 60.

このサイズカウンタ60のクロックとしてはタイミング
信号発生回路34からの信号/HC0が与えられ、したがっ
て、サイズカウンタ60は、上述のようにして設定された
初期値を信号/HC0毎にインクリメントする。なお、サイ
ズカウンタ60のリセット入力としては、タイミング信号
発生回路34からの信号/INが与えられるので、サイズカ
ウンタ60はインレンジ判定回路56におけるインレンジ判
定期間中にはカウント動作しない。
The signal / HC0 from the timing signal generation circuit 34 is given as a clock of the size counter 60, and therefore, the size counter 60 increments the initial value set as described above for each signal / HC0. Since the signal / IN from the timing signal generation circuit 34 is given as the reset input of the size counter 60, the size counter 60 does not count during the in-range determination period in the in-range determination circuit 56.

そして、サイズカウンタ60の出力データSCは前述のよ
うにアドレス加算器制御回路78に与えられるとともに、
ANDゲート256,258および260の一方入力として与えられ
る。ANDゲート256,258および260の他方入力にはデータ
ラッチ248にラッチされている信号/OBJ16,/OBJ32および
/OBJ64が与えられる。そして、ANDゲート256,258および
260の出力は、データラッチ248にラッチされている信号
/OBJ8とともに、NORゲート262に与えられる。このNORゲ
ート262の入力には、さらにD−FF264および266の出力
が与えられ、D−FF264の入力にはANDゲート268の出力
がまたD−FF266の入力にはタイミング信号発生回路34
からの信号HBHがそれぞれ与えられる。ANDゲート268
は、H位置演算回路64からのデータD3−D7およびインバ
ータ270によって反転されたH位置レジスタ66からのH
位置データD8を受ける。D−FF264および266のクロック
としては、データセレクタ248のラッチ信号と同じ、タ
イミング信号発生回路34からの信号/HC0が与えられる。
ORゲート262の出力はD−FF272のデータ入力として与え
られるとともに、信号Cとしてレジスタ制御回路74に与
えられる。D−FF272のクロックにはタイミング信号発
生回路34からの信号HC0が与えられる。
Then, the output data SC of the size counter 60 is given to the address adder control circuit 78 as described above,
Provided as one input of AND gates 256, 258 and 260. The other inputs of AND gates 256, 258 and 260 have signals / OBJ16, / OBJ32 and
/ OBJ64 is given. And AND gates 256,258 and
The output of 260 is the signal latched in data latch 248
Provided to NOR gate 262 along with / OBJ8. The outputs of the D-FFs 264 and 266 are further provided to the input of the NOR gate 262, the output of the AND gate 268 is provided to the input of the D-FF 264, and the timing signal generation circuit 34 is provided to the input of the D-FF 266.
, Respectively. AND gate 268
Are the data D3-D7 from the H position operation circuit 64 and the H from the H position register 66 inverted by the inverter 270.
Receives position data D8. As the clocks of the D-FFs 264 and 266, the same signal / HC0 from the timing signal generation circuit 34 as the latch signal of the data selector 248 is applied.
The output of the OR gate 262 is provided as a data input of the D-FF 272 and is also provided as a signal C to the register control circuit 74. The signal HC0 from the timing signal generation circuit 34 is supplied to the clock of the D-FF 272.

アドレス加算器制御回路78 第17図に示すアドレス加算器制御回路78はインレンジ
判定回路56すなわちサイズデコーダ52のNORゲート52a,5
2b,52cまたは52dからのオブジェクトサイズ信号/OBJ8,/
OBJ16および/OBJ32を受けるD−FFs274を含む。D−FFs
274のクロックにはタイミング信号発生回路34からの信
号HC0が与えられる。D−FFs274からの信号/OBJ8はAND
ゲート276,278,280,282,284および286の各入力に与えら
れる。D−FFs274からの信号/OBJ16はANDゲート278,28
0,284および286の各入力に与えられる。D−FFs274から
の信号/OBJ32はANDゲート280および286の各入力に与え
られる。ANDゲート276,278および280の残余の入力とし
ては、アトリビュートレジスタ70からのデータH−FLIP
が与えられ、ANDゲート282,284および286の残余の入力
としては、アトリビュートレジスタ70からのデータV−
FLIPが与えられる。そして、アトリビュートレジスタ70
からのデータV−FLIPはさらに、イクスクルーシブORゲ
ート288,290および292の各一方入力として与えられる。
上述のANDゲート276,278および280の出力は、それぞ
れ、サイズカウンタ60からのデータSC0−SC2のそれぞれ
とともに、イクスクルーシブORゲート294,296および298
の入力に与えられる。ANDゲート282,284および286の出
力はそれぞれイクスクルーシブORゲート300,302および3
04の一方入力に与えられる。イクスクルーシブORゲート
288,290,292,300,302および304の各他方入力には6ビッ
トのデータセレクタ306の出力が与えられる。
Address adder control circuit 78 The address adder control circuit 78 shown in FIG.
Object size signal / OBJ8, / from 2b, 52c or 52d
Includes D-FFs 274 that receive OBJ16 and / OBJ32. D-FFs
The signal HC0 from the timing signal generation circuit 34 is supplied to the clock 274. The signal / OBJ8 from D-FFs274 is AND
Gates 276, 278, 280, 282, 284 and 286 are provided to each input. The signal / OBJ16 from D-FFs274 is AND gate 278,28
0, 284 and 286. The signal / OBJ32 from the D-FFs 274 is provided to each input of AND gates 280 and 286. The remaining inputs of the AND gates 276, 278 and 280 include the data H-FLIP from the attribute register 70.
And the remaining inputs of the AND gates 282, 284 and 286 are the data V-
FLIP is given. Then, the attribute register 70
Is further provided as one input of each of exclusive OR gates 288, 290 and 292.
The outputs of the AND gates 276, 278, and 280 described above, together with each of the data SC0-SC2 from the size counter 60, are output by the exclusive OR gates 294, 296, and 298, respectively.
Is given to the input. The outputs of the AND gates 282, 284 and 286 are the exclusive OR gates 300, 302 and 3 respectively.
04 is given to one input. Exclusive OR gate
The other inputs of 288, 290, 292, 300, 302 and 304 receive the output of the 6-bit data selector 306.

このデータセレクタ306にはタイミング信号発生回路3
4からの信号FIELDが与えられるとともに、V位置演算回
路76からのV位置と走査ライン番号との差を示すデータ
D0−D5を受けるD−FF308の出力が与えられる。D−FF3
08のクロックとしてタイミング信号発生回路34からの信
号/HC0が与えられ、このD−FF308からのデータD0−D4
がデータセレクタ306の一方入力に与えられ、D−FF308
からのデータD0−D5がデータセレクタ306の他方入力に
与えられる。データセレクタ306はインタレースレジス
タ54からのデータOBJ V SELに応じて両入力を選択的に
出力し、上述のようにイクスクルーシブORゲート288,29
0,292,300,302および304に与える。
The data selector 306 includes a timing signal generation circuit 3
4 and the data indicating the difference between the V position from the V position calculation circuit 76 and the scanning line number.
The output of D-FF308 receiving D0-D5 is provided. D-FF3
The signal / HC0 from the timing signal generation circuit 34 is given as the clock of 08, and the data D0-D4
Is supplied to one input of the data selector 306, and the D-FF 308
Are supplied to the other input of the data selector 306. The data selector 306 selectively outputs both inputs according to the data OBJ V SEL from the interlace register 54, and as described above, the exclusive OR gates 288, 29
0,292,300,302 and 304.

このアドレス加算器制御回路78は主として、第18A図
−第18D図に示すH反転および/またはV反転を実行す
る際のアドレスを変更する。第18A図図示の場合には、
データH−FLIPおよびV−FLIPはともに“0"であり、H
反転およびV反転は行われない。第18B図図示の場合に
は、データH−FLIPが“1"でありかつデータV−FLIPが
“0"であり、したがって、垂直軸310を中心にH反転が
実行されるがV反転は行われない。第18C図図示の場合
には、データH−FLIPが“0"でありかつデータV−FLIP
が“1"であり、したがって、H反転は行われないが、水
平軸312を中心にV反転が実行される。第18D図図示の場
合には、データH−FLIPおよびV−FLIPはともに“1"で
あり、垂直軸310および水平軸312を中心としたH反転お
よびV反転が実行される。
The address adder control circuit 78 mainly changes the address when performing the H inversion and / or the V inversion shown in FIGS. 18A to 18D. In the case of FIG. 18A,
The data H-FLIP and V-FLIP are both "0",
Inversion and V inversion are not performed. In the case shown in FIG. 18B, the data H-FLIP is "1" and the data V-FLIP is "0", so that H inversion is performed about the vertical axis 310, but V inversion is performed in a row. I can't. In the case shown in FIG. 18C, the data H-FLIP is “0” and the data V-FLIP
Is “1”, so that H inversion is not performed, but V inversion is performed about the horizontal axis 312. In the case shown in FIG. 18D, the data H-FLIP and V-FLIP are both "1", and the H inversion and the V inversion centering on the vertical axis 310 and the horizontal axis 312 are executed.

第17図に戻って、オブジェクトサイズによって反転す
る距離が変化するので、ANDゲート276−286の入力とし
ては、上述のように、サイズデコーダ52の出力信号/OBJ
8,/OBJ16および/OBJ32が与えられる。オブジェクトサイ
ズが8×8の場合、信号/OBJ8がローレベルであるた
め、ANDゲート276−286の出力はともにローレベルとな
る。したがって、この場合、イクスクリーシブORゲート
294−298はサイズカウンタ60からのサイズデータSC0−S
C2をそのまま加算アドレスAA4,AA5およびAA6として出力
するので、アドレスは反転されない。オブジェクトサイ
ズが16×16の場合、信号/OBJ16がローレベルとなり、AN
Dゲート276および282のみが能動化され、残余のANDゲー
ト278,280,284および286の出力はローレベルとなる。こ
の場合、データH−FLIPが“1"であれば、サイズカウン
タ60からのサイズデータSC0がイクスクルーシブORゲー
ト294で反転されて加算アドレスAA4として出力される。
オブジェクトサイズが32×32の場合、信号/OBJ32がロー
レベルとなり、ANDゲート276,278,282および284が能動
化されかつ残余のANDゲート280および286の出力はロー
レベルとなる。この場合、データH−FLIPが“1"であれ
ば、サイズカウンタ60からのサイズデータSC0およびSC1
がイクスクルーシブORゲート294および296で反転されて
加算アドレスAA4およびAA5として出力される。オブジェ
クトサイズが64×64の場合、信号/OBJ8,/OBJ16および/O
BJ32がハイレベルとなり、全てのANDゲート276−286が
能動化される。この場合、データH−FLIPが“1"であれ
ば、サイズカウンタ60からのサイズデータSC0−SC2がイ
クスクルーシブORゲート294−298で反転されて加算アド
レスAA4−AA6として出力される。
Referring back to FIG. 17, since the inversion distance changes depending on the object size, the input of the AND gates 276-286 is, as described above, the output signal / OBJ of the size decoder 52 as described above.
8, / OBJ16 and / OBJ32. When the object size is 8 × 8, the output of the AND gates 276 to 286 is low because the signal / OBJ8 is low. Therefore, in this case, the exclusive OR gate
294-298 are size data SC0-S from the size counter 60
Since C2 is output as it is as addition addresses AA4, AA5 and AA6, the address is not inverted. If the object size is 16 × 16, the signal / OBJ16 goes low and the
Only D-gates 276 and 282 are activated, and the outputs of the remaining AND gates 278, 280, 284 and 286 go low. In this case, if the data H-FLIP is "1", the size data SC0 from the size counter 60 is inverted by the exclusive OR gate 294 and output as the addition address AA4.
If the object size is 32 × 32, the signal / OBJ32 goes low, the AND gates 276, 278, 282 and 284 are activated and the outputs of the remaining AND gates 280 and 286 go low. In this case, if the data H-FLIP is “1”, the size data SC0 and SC1 from the size counter 60
Are inverted by exclusive OR gates 294 and 296 and output as addition addresses AA4 and AA5. If the object size is 64x64, the signals / OBJ8, / OBJ16 and / O
BJ32 goes high, and all AND gates 276-286 are activated. In this case, if the data H-FLIP is "1", the size data SC0-SC2 from the size counter 60 are inverted by the exclusive OR gates 294-298 and output as added addresses AA4-AA6.

V反転の場合には、ビデオデータメモリアドレス回路
82へのアドレス下位3ビットの反転が水平ライン毎の反
転を意味し、上位3ビットの反転がキャラクタ毎の反転
を意味する。この下位3ビットはオブジェクトサイズに
関係ないので、データV−FLIPの“1"または“0"に依存
してイクスクルーシブORゲート288,290および292がデー
タセレクタ306からのデータを反転しまたは反転しない
で、ビデオデータメモリアドレス回路82へのアドレスの
下位3ビットA0,A1およびA2として出力する。また、上
位3ビットについては、先のH反転の場合と同様にし
て、ANDゲート282−286でサイズ毎の条件を設定し、そ
の条件に応じて、データV−FLIPの“1"または“0"に依
存してイクスクルーシブORゲート300,32および304でデ
ータセレクタ306の出力データを反転しまたは反転しな
いで、アドレス加算器80への上位3ビットAA8,AA9およ
びAA10として出力する。
In the case of V inversion, the video data memory address circuit
Inversion of the lower 3 bits of the address to 82 means inversion for each horizontal line, and inversion of the upper 3 bits means inversion for each character. Since these lower 3 bits are not related to the object size, the exclusive OR gates 288, 290 and 292 invert or do not invert the data from the data selector 306 depending on "1" or "0" of the data V-FLIP. , And outputs the lower three bits A0, A1 and A2 of the address to the video data memory address circuit 82. For the upper three bits, a condition for each size is set by the AND gates 282 to 286 in the same manner as in the case of the above-described H inversion. The output data of the data selector 306 is inverted or not inverted by the exclusive OR gates 300, 32, and 304 depending on "", and is output to the address adder 80 as upper three bits AA8, AA9, and AA10.

なお、アドレス加算器制御回路78に含まれるANDゲー
ト314および316は加算アドレスAA12およびAA13を出力す
るが、このアドレスAA12およびAA13は第14図および第15
図で先に説明した領域16B1−16B4の何れかを指定するデ
ータとして利用される。
The AND gates 314 and 316 included in the address adder control circuit 78 output addition addresses AA12 and AA13.
It is used as data for specifying any one of the areas 16B1 to 16B4 described above with reference to FIG.

アドレス加算器80,ビデオデータメモリアドレス回路82
およびビデオデータメモリ16 第19図に示すアドレス加算器80はそれぞれ4ビットの
3つのフルアダー80a,80bおよび80cを含み、これらフル
アダー80a−80cの出力がアドレスA4−A15としてビデオ
データメモリアドレス回路82に与えられる。ビデオデー
タメモリアドレス回路82のアドレスA0−A2としては先の
アドレス加算器制御回路78からのアドレスA0−A2が、ま
たアドレスA3としてはタイミング信号発生回路34からの
信号HCOが与えられる。なお、フルアダー80a−80cのそ
れぞれにおいてどの入力ビットをアース電位に固定する
かはサイズレジスタ50の第1サイズレジスタ50a(第13
図)のデータBASEに依存する。そして、ビデオデータメ
モリアドレス回路82によってビデオデータメモリ16のア
ドレスA0−A15が指定され、このビデオデータメモリ16
からの出力データD0−D15がH反転回路86に与えられ
る。
Address adder 80, video data memory address circuit 82
The address adder 80 shown in FIG. 19 includes three 4-bit full adders 80a, 80b and 80c, and the outputs of the full adders 80a-80c are supplied to the video data memory address circuit 82 as addresses A4-A15. Given. The addresses A0-A2 of the video data memory address circuit 82 are supplied with the addresses A0-A2 from the address adder control circuit 78, and the address A3 is supplied with the signal HCO from the timing signal generation circuit 34. Note that which input bit is fixed to the ground potential in each of the full adders 80a to 80c is determined by the first size register 50a (the thirteenth size register) of the size register 50.
It depends on the data BASE in the figure). Then, the addresses A0 to A15 of the video data memory 16 are designated by the video data memory address circuit 82.
Are output to the H inverting circuit 86.

H反転回路86およびカラーデータ抽出回路88 第20図に示すH反転回路86はビデオデータメモリ16か
らの出力データD0−D15を受けるデータセレクタ318を含
む。データセレクタ318は、各々が2ビットの入力の一
方を選択して1ビットで出力する16個のデータセレクタ
を有する。そして、このデータセレクタ318の選択信号
としてはD−FF320の出力が与えられる。D−FF320のデ
ータ入力にはデータH−FLIPが与えられ、クロックとし
てはタイミング信号発生回路34からの信号/HC0が与えら
れる。データセレクタ318は、選択信号に応じて、次表I
Iに従って、データを出力する。
H Inverting Circuit 86 and Color Data Extracting Circuit 88 The H inverting circuit 86 shown in FIG. 20 includes a data selector 318 that receives output data D0-D15 from the video data memory 16. The data selector 318 has 16 data selectors each of which selects one of the 2-bit inputs and outputs it with 1 bit. The output of the D-FF 320 is provided as a selection signal of the data selector 318. Data H-FLIP is applied to the data input of the D-FF 320, and the signal / HC0 from the timing signal generating circuit 34 is applied as a clock. The data selector 318 responds to the selection signal according to the following Table I.
Output data according to I.

このようにして、H反転回路86では、水平(H)方向
の反転指令H−FLIPの有無に応じて、ビデオデータメモ
リ16から出力されたグラフィックデータを8ビット単位
で反転する。このH反転回路86から出力されるグラフィ
ックデータがカラーデータ抽出回路88に与えられる。
In this way, the H inversion circuit 86 inverts the graphic data output from the video data memory 16 in 8-bit units according to the presence or absence of the horizontal (H) direction inversion command H-FLIP. The graphic data output from the H inversion circuit 86 is supplied to a color data extraction circuit 88.

カラーデータ抽出回路88は4つの第1データセレクタ
322,第2データセレクタ324,第3データセレクタ326お
よび第4データセレクタ328を含み、これらデータセレ
クタ322−328の各々は、8ビットの入力の何れか1ビッ
トのみを選択して出力する。第1データセレクタ322,第
2データセレクタ324,第3データセレクタ326および第
4データセレクタ328には、それぞれ、選択信号として
タイミング信号発生回路34からの信号HPO,5MおよびHCO
が与えられる。前述のH反転回路86からのグラフィック
データは、それぞれ16ビットのD−FFs330および332に
与えられ、D−FFs332の出力がさらにD−FFs334に与え
られる。D−FFs330および334のクロックとしてはタイ
ミング信号発生回路34からの信号/HC0が印加され、D−
FFs332のクロックにはタイミング信号発生回路34からの
信号HC0が与えられる。タイミング信号発生回路34から
の信号LBRがさらにD−FF336のデータ入力に与えられ、
このD−FF336のクロックとしてはタイミング信号発生
回路34からの信号5Mが与えられる。D−FF336の出力は
上述のD−FFs330および334のリセット入力として与え
られる。
The color data extraction circuit 88 has four first data selectors.
322, a second data selector 324, a third data selector 326, and a fourth data selector 328. Each of the data selectors 322 to 328 selects and outputs only one of the 8-bit inputs. The first data selector 322, the second data selector 324, the third data selector 326, and the fourth data selector 328 respectively receive signals HPO, 5M and HCO from the timing signal generation circuit 34 as selection signals.
Is given. The graphic data from the above-described H inversion circuit 86 is supplied to 16-bit D-FFs 330 and 332, respectively, and the output of D-FFs 332 is further supplied to D-FFs 334. The signal / HC0 from the timing signal generation circuit 34 is applied as a clock for the D-FFs 330 and 334,
The signal HC0 from the timing signal generation circuit 34 is supplied to the clock of FFs332. The signal LBR from the timing signal generation circuit 34 is further applied to the data input of D-FF336,
A signal 5M from the timing signal generation circuit 34 is given as a clock of the D-FF 336. The output of D-FF 336 is provided as the reset input of D-FFs 330 and 334 described above.

H反転回路86からのグラフィックデータの最初の16ビ
ットは信号HC0に応答してD−FFs332に保持され、次の1
6ビットは信号/HC0に応答してD−FFs330に保持され
る。このとき、先のD−FFs332に保持されていた最初の
16ビットが信号/HC0に応答してD−FFs334に移動され
る。したがって、合計32ビットのグラフィックデータが
8ビットずつ、第1データセレクタ322,第2データセレ
クタ324,第3データセレクタ326および第4データセレ
クタ328の入力データとなる。これらデータセレクタ322
−328の各々が、次表IIIに従って1ビットを選択して、
合計4ビットのカラーセルデータを出力する。このよう
にして、カラーデータ抽出回路88によって4つのカラー
セルがそれぞれ指定される。
The first 16 bits of the graphic data from the H inversion circuit 86 are held in the D-FFs 332 in response to the signal HC0,
Six bits are held in the D-FFs 330 in response to the signal / HC0. At this time, the first D-FFs332
Sixteen bits are moved to D-FFs 334 in response to signal / HC0. Therefore, graphic data of a total of 32 bits becomes input data of the first data selector 322, the second data selector 324, the third data selector 326, and the fourth data selector 328 in units of 8 bits. These data selectors 322
−328 each select one bit according to Table III below:
A total of 4 bits of color cell data are output. In this way, four color cells are designated by the color data extraction circuit 88, respectively.

バッファRAM84 第6C図に示すバッファRAM84は、各々が9ビット×128
の記憶容量を有する第1バッファRAM84aおよび第2バッ
ファRAM84bを含む。バッファRAM84としては本来的には
1のバッファRAMでよいが、この実施例では、2つに分
割し、奇数ドットを第1バッファRAM84aに記憶させ、偶
数ドットを第2バッファRAM84bに記憶させるようにして
いる。すなわち、先のカラーデータ抽出回路88のデータ
セレクタ322−328から、タイミング信号発生回路34から
の信号HPOに応答して、選択的に、奇数ドットを示すデ
ータ0D0−0D3および偶数ドットを示すデータ1D0−1D3が
出力され、このデータ0D0−0D3および1D0−1D3がそれぞ
れ第1バッファRAM84aおよび第2バッファRAM84bのデー
タ入力として与えられる。
Buffer RAM 84 Each of the buffer RAMs 84 shown in FIG.
A first buffer RAM 84a and a second buffer RAM 84b having the same storage capacity. The buffer RAM 84 may be originally one buffer RAM, but in this embodiment, it is divided into two, and the odd dots are stored in the first buffer RAM 84a, and the even dots are stored in the second buffer RAM 84b. ing. That is, in response to the signal HPO from the timing signal generation circuit 34, data 0D0-0D3 indicating an odd dot and data 1D0 indicating an even dot are selectively output from the data selectors 322-328 of the color data extraction circuit 88. -1D3 is output, and the data 0D0-0D3 and 1D0-1D3 are provided as data inputs to the first buffer RAM 84a and the second buffer RAM 84b, respectively.

そして、このバッファRAM84からデータを読み出すと
きは、第1出力ラッチ338aおよび第2出力ラッチ338bか
ら、データを一度に読み出して、合成回路28(第2図)
に与える。
When data is read from the buffer RAM 84, the data is read at once from the first output latch 338a and the second output latch 338b, and the data is read out from the combining circuit 28 (FIG. 2).
Give to.

バッファRAMアドレス回路90およびバッファRAM制御回路
92 第22図に示すバッファRAMアドレス回路90は8ビット
のカウンタ340を含み、このカウンタ340の出力がバッフ
ァRAM84のアドレスデータとしてバッファRAM制御回路92
に与えられる。カウンタ340のリセット入力としてはタ
イミング信号発生回路34から表示期間の直前に出力され
る信号/CRESが与えられる。カウンタ340のクロックとし
てはデータセレクタ342の出力が与えられる。このデー
タセレクタの2つの入力にはタイミング信号発生回路34
からの信号/10MおよびHC0が与えられ、選択信号として
は、タイミング信号発生回路34からの信号LBRが与えら
れる。したがって、カウンタ340は、バッファRAM84への
データの書込の場合とデータの読出の場合とでクロック
が変更される。すなわち、書込時には、信号/10Mに応答
してカウンタ340がインクリメントされ、読出時には、
信号HC0に応答してカウンタ340がインクリメントされ
る。したがって、読出時には、2ドット毎にカウンタ34
0が“1"インクリメントされることになる。
Buffer RAM address circuit 90 and buffer RAM control circuit
The buffer RAM address circuit 90 shown in FIG. 22 includes an 8-bit counter 340.
Given to. As the reset input of the counter 340, a signal / CRES output from the timing signal generation circuit 34 immediately before the display period is given. As the clock of the counter 340, the output of the data selector 342 is provided. A timing signal generating circuit 34 is connected to two inputs of the data selector.
, And a signal LBR from the timing signal generation circuit 34 is provided as a selection signal. Therefore, the clock of counter 340 changes between the case of writing data to buffer RAM 84 and the case of reading data. That is, at the time of writing, the counter 340 is incremented in response to the signal / 10M, and at the time of reading,
The counter 340 is incremented in response to the signal HC0. Therefore, at the time of reading, the counter 34 is set every two dots.
0 will be incremented by "1".

また、サイズカウンタ60からの信号LがD−FF346の
データ入力に与えられ、このD−FF346のクロックとし
てはタイミング信号発生回路34からの信号HC0が与えら
れる。D−FF346の出力はクロックとして同じタイミン
グ信号発生回路34からの信号HC0を受けるD−FF348に与
えられる。また、タイミング信号発生回路34からの信号
HC0がD−FF350の入力に与えられ、タイミング信号発生
回路34からの信号5MがD−FF350のクロックに与えられ
るとともに、D−FF352の入力としても与えられる。D
−FF352のクロックとしてはタイミング信号発生回路34
からの信号10Mが与えられる。D−FF348,350および352
のそれぞれの出力は、インバータ354によって反転され
たタイミング信号発生回路34からの信号LBRとともに、N
ANDゲート344の入力に与えられ、このNANDゲート344の
出力がカウンタ340のロード信号入力/LDとして与えられ
る。したがって、このカウンタ340のロードタイミング
は信号Lすなわちオブジェクトサイズに依存する。
The signal L from the size counter 60 is supplied to the data input of the D-FF 346, and the signal HC0 from the timing signal generation circuit 34 is supplied as the clock of the D-FF 346. The output of D-FF 346 is supplied to D-FF 348 which receives signal HC0 from the same timing signal generation circuit 34 as a clock. Also, the signal from the timing signal generation circuit 34
HC0 is supplied to the input of the D-FF 350, the signal 5M from the timing signal generation circuit 34 is supplied to the clock of the D-FF 350, and also supplied as the input of the D-FF 352. D
The timing signal generator circuit 34
Is provided. D-FF348,350 and 352
Are output together with the signal LBR from the timing signal generation circuit 34 inverted by the inverter 354.
The output of the NAND gate 344 is provided as the load signal input / LD of the counter 340. Therefore, the load timing of the counter 340 depends on the signal L, that is, the object size.

なお、カウンタ340の初期値としては、H位置演算回
路64からの絶対値データD0−D7とイクスクルーシブORゲ
ート360の出力とをD8として受ける9ビットのD−FFs35
6すなわちD−FF358の出力が与えられる。イクスクルー
シブORゲート360の入力としては、H位置レジスタ66か
らの絶対値データD8とH位置演算回路64からのキャリ信
号H−CARRYが与えられる。したがって、D−FFs356の
データ入力D8としては、キャリ信号があるときにはH位
置レジスタ66のデータD8の反転が与えられる。このD−
FFs356および358のクロックとしてはタイミング信号発
生回路34からの信号/5MおよびHC0を受けるNANDゲート36
2の出力が与えられる。
The initial value of the counter 340 is a 9-bit D-FFs35 which receives the absolute value data D0 to D7 from the H position operation circuit 64 and the output of the exclusive OR gate 360 as D8.
6, ie, the output of D-FF358. As inputs to the exclusive OR gate 360, the absolute value data D8 from the H position register 66 and the carry signal H-CARRY from the H position calculation circuit 64 are given. Therefore, as the data input D8 of the D-FFs 356, the inverse of the data D8 of the H position register 66 is given when there is a carry signal. This D-
As the clock of FFs 356 and 358, NAND gate 36 receiving signal / 5M and HC0 from timing signal generation circuit 34
Two outputs are given.

また、D−FFs358の出力D0およびD8は、それぞれ、D
−FF364および366のデータ入力として与えられ、これら
D−FF364および366のクロックとしては、タイミング信
号発生回路34からの信号/HC0,/10MおよびHC0を受けるNA
NDゲート368の出力が与えられる。D−FF364の出力は信
号HPOとして先に説明したカラーデータ抽出回路88に与
えられるとともに、バッファRAM制御回路92に含まれるA
NDゲート370に与えられる。また、D−FF366の出力はバ
ッファRAM制御回路92に含まれるインバータ372を通して
ANDゲート372に与えられる。
The outputs D0 and D8 of the D-FFs358 are D
-FF 364 and 366 are provided as data inputs, and the clocks of these D-FFs 364 and 366 include signals / HC0, / 10M and HC0 from timing signal generation circuit 34.
The output of the ND gate 368 is provided. The output of the D-FF 364 is supplied to the color data extraction circuit 88 described above as a signal HPO,
ND gate 370. The output of the D-FF 366 passes through an inverter 372 included in the buffer RAM control circuit 92.
Provided to AND gate 372.

バッファRAM制御回路92は、7ビットのフルアダー376
を含み、このフルアダー374の入力A0−A6として前述の
バッファRAMANDゲート回路90に含まれるカウンタ340か
らのデータD1−D7が与えられる。フルアダー376の他方
入力Bはアース電位すなわち“0"が与えられ、キャリ入
力としては上述のANDゲート370の出力が与えられる。こ
のフルアダー376はバッファRAM84の第1および第2バッ
ファRAM84aおよび84bの各アドレスOA0−OA6として出力
する。たとえば、オブジェクトの初期H第1が偶数ドッ
トの場合にはアドレスOA0−OA6としては、カウンタ340
のデータをそのまま与え、奇数ドットの場合にはフルア
ダー376によってカウンタ340のデータに「+1」してデ
ータをアドレスOA0−OA6として出力する。
The buffer RAM control circuit 92 has a 7-bit full adder 376
, And data D1-D7 from the counter 340 included in the buffer RAMAND gate circuit 90 described above are provided as inputs A0-A6 of the full adder 374. The other input B of the full adder 376 is supplied with the ground potential, that is, “0”, and the carry input is supplied with the output of the AND gate 370 described above. The full adder 376 outputs the addresses OA0 to OA6 of the first and second buffer RAMs 84a and 84b of the buffer RAM 84. For example, if the initial H-first of the object is an even-numbered dot, the address OA0-OA6 is set to the counter 340.
In the case of an odd-numbered dot, the data of the counter 340 is incremented by "+1" by the full adder 376, and the data is output as addresses OA0 to OA6.

バッファRAM84の第1バッファRAM84aオブジェクト84b
(第20図)の書込信号/WE0および/WE1はNORゲート378お
よび380から得られる。
First buffer RAM 84a object 84b of buffer RAM 84
The write signals / WE0 and / WE1 in FIG. 20 are obtained from NOR gates 378 and 380.

NORゲート378の入力には2つのNANDゲート382および3
84の出力が与えられ、NANDゲート382はANDゲート386,イ
ンバータ388およびNANDゲート390のそれぞれの出力なら
びにタイミング信号発生回路34からの信号10Mを受け
る。NANDゲート384の入力にはタイミング信号発生回路3
4からの信号5MおよびANDゲート392の出力が与えられ
る。ANDゲート386の入力としては、タイミング信号発生
回路34からの信号LBW,ベクトルRAMアドレス回路58から
の信号/NONOBJおよびNORゲート394の出力が与えられ
る。NANDゲート390はカラーデータ抽出回路88からの出
力1D0−1D3のそれぞれの反転を受ける。NORゲート394は
上述のANDゲート374の出力およびANDゲート396の出力を
受け、ANDゲート396には上述ののインバータ388にも与
えられたカウンタ340からの出力D8とORゲート398の出力
とが与えられる。ORゲート398はカウンタ340の出力D1お
よびD2の反転を受ける。
The input of NOR gate 378 has two NAND gates 382 and 3
The output of 84 is provided, and NAND gate 382 receives the output of each of AND gate 386, inverter 388 and NAND gate 390, and signal 10M from timing signal generation circuit 34. The timing signal generator 3 is connected to the input of the NAND gate 384.
Signal 5M from 4 and the output of AND gate 392 are provided. As inputs of the AND gate 386, the signal LBW from the timing signal generation circuit 34, the signal / NONOBJ from the vector RAM address circuit 58, and the output of the NOR gate 394 are provided. NAND gate 390 receives respective inversions of outputs 1D0-1D3 from color data extraction circuit 88. The NOR gate 394 receives the output of the above-described AND gate 374 and the output of the AND gate 396. It is. OR gate 398 receives the inversion of outputs D1 and D2 of counter 340.

NORゲート380の入力には2つのNANDゲート400および4
02の出力が与えられ、NANDゲート400は、上述のANDゲー
ト386,イクスクルーシブNORゲート404およびNANDゲート
406のそれぞれの出力ならびにタイミング信号発生回路3
4からの信号10Mを受ける。イクスクルーシブNORゲート4
04の2入力には上述ののフルアダー376のキャリ出力信
号およびカウンタ340の出力D8が与えられる。NANDゲー
ト406の入力としては、カラーデータ抽出回路88からの
出力0D0−0D3のそれぞれの反転が与えられる。NANDゲー
ト402の入力にはタイミング信号発生回路34からの信号5
MおよびANDゲート392の出力が与えられる。ANDゲート39
2の入力としては、タイミング信号発生回路34からの信
号/HC0およびD−FF408の出力が与えられる。このD−F
F408のデータ入力およびクロックには、それぞれ、タイ
ミング信号発生回路34からの信号LBRおよび5Mが与えら
れる。
The input of NOR gate 380 has two NAND gates 400 and 4
02 output, the NAND gate 400 includes the AND gate 386, the exclusive NOR gate 404, and the NAND gate described above.
406 each output and timing signal generation circuit 3
Receive signal 10M from 4. Exclusive NOR Gate 4
The carry input signal of the above-mentioned full adder 376 and the output D8 of the counter 340 are given to two inputs of 04. As inputs to the NAND gate 406, respective inversions of the outputs 0D0 to 0D3 from the color data extraction circuit 88 are given. A signal 5 from the timing signal generation circuit 34 is input to the input of the NAND gate 402.
The outputs of M and AND gate 392 are provided. AND gate 39
As the input of 2, the signal / HC0 from the timing signal generation circuit 34 and the output of the D-FF408 are provided. This D-F
Signals LBR and 5M from timing signal generation circuit 34 are applied to the data input and clock of F408, respectively.

このようにして、2つのNORゲート378および380から
の出力信号/WE1および/WE0に応答して、第1バッファRA
M84bおよび84aにそれぞれデータが書き込まれる。
Thus, in response to the output signals / WE1 and / WE0 from the two NOR gates 378 and 380, the first buffer RA
Data is written to M84b and M84a, respectively.

全体動作 初期状態または垂直ブランキング期間 マイクロプロセサ10からOAMアドレスレジスタ36(第6
A図)に9ビットのOAMアドレスを設定する。この場合、
マイクロプロセサ10から、OAMアドレスレジスタ36を指
定するアドレスデータおよび書込信号が与えられ、その
結果アドレスデコーダ40から前述の信号OAWが出力され
る。同時にマイクロプロセサ10から初期アドレスを示す
データが出力されているため、信号OAWに応答して、OAM
アドレスレジスタ36に初期アドレスが設定される。ま
た、このOAMアドレスレジスタ36からの初期アドレス値
とアドレスデコーダ40からの信号OAWがOAMアドレス回路
42に与えられる。信号OAWはOAMアドレス回路42内部で遅
延された後内部カウンタ(後述)のロード信号として使
用されるため、マイクロプロセサ10からのOAM38のため
の初期アドレス値が、OAMアドレスレジスタ36よりも少
し遅れてOAMアドレス回路42にも設定される。
Entire operation Initial state or vertical blanking period From microprocessor 10 to OAM address register 36 (6th
Set the 9-bit OAM address in (Figure A). in this case,
Address data and a write signal designating the OAM address register 36 are provided from the microprocessor 10, and as a result, the above-described signal OAW is output from the address decoder 40. At the same time, the data indicating the initial address is output from the microprocessor 10, so that the OAM
An initial address is set in the address register 36. Also, the initial address value from the OAM address register 36 and the signal OAW from the address decoder 40 are used for the OAM address circuit.
Given to 42. Since the signal OAW is used as a load signal of an internal counter (described later) after being delayed in the OAM address circuit 42, the initial address value for the OAM 38 from the microprocessor 10 is slightly delayed from the OAM address register 36. It is also set in the OAM address circuit 42.

続いて、マイクロプロセサ10からOAM38にオブジェク
トデータを書き込む。この場合、マイクロプロセサ10か
ら、まず、アドレス,データおよび書込信号が出力され
る。アドレス選択回路44(第6B図)はタイミング信号発
生回路34からの前述の信号VBを受けているため、垂直ブ
ランキング期間中、OAMアドレス回路42のアドレス出力
端子とOAM38のアドレス入力端子とを接続している。マ
イクロプロセサ10からのアドレスおよび書込信号に応答
して、アドレスデコーダ40から信号/ODWが出力される。
この信号/ODWに応答してOAM制御回路48がマイクロプロ
セサ10からのデータをラッチし、このラッチされたデー
タがOAM38のデータ入力DIに与えられるとともに、書込
/イネーブル信号WE/CEがOAM38によ与えられる。したが
って、OAM38には、OAMアドレス回路42によって指定され
るアドレスにOAM制御回路48を経たマイクロプロセサ10
からのオブジェクトデータが書き込まれる。その後、OA
Mアドレス回路42は上述のようにアドレスを順次インク
リメントするので、したがってOAM38の順次のアドレス
にオブジェクトデータが書き込まれる。
Subsequently, the object data is written from the microprocessor 10 to the OAM 38. In this case, first, the microprocessor 10 outputs an address, data, and a write signal. Since the address selection circuit 44 (FIG. 6B) receives the aforementioned signal VB from the timing signal generation circuit 34, the address output terminal of the OAM address circuit 42 and the address input terminal of the OAM 38 are connected during the vertical blanking period. doing. In response to the address and write signals from microprocessor 10, signal / ODW is output from address decoder 40.
In response to this signal / ODW, the OAM control circuit 48 latches the data from the microprocessor 10, and this latched data is supplied to the data input DI of the OAM 38, and the write / enable signal WE / CE is supplied to the OAM 38. Given. Therefore, the OAM 38 has a microprocessor 10 that has passed through the OAM control circuit 48 to the address specified by the OAM address circuit 42.
Is written. Then OA
Since the M address circuit 42 sequentially increments the address as described above, the object data is written to the sequential address of the OAM 38.

さらに、マイクロプロセサ10からサイズレジスタ50
(第6A図)にサイズデータをロードする。この場合、マ
イクロプロセサ10から、サイズレジスタ50を指定るアド
レスデータおよび書込信号が与えられ、その結果アドレ
スデコーダ40から前述の信号SZWが出力される。同時に
マイクロプロセサ10から先に表Iで示すようなサイズデ
ータが出力されているため、信号SZWに応答して、サイ
ズレジスタ50にサイズデータが設定される。
In addition, the size register 50
Load the size data into (Fig. 6A). In this case, address data and a write signal designating the size register 50 are provided from the microprocessor 10, and as a result, the above-described signal SZW is output from the address decoder 40. At the same time, since the size data as previously shown in Table I is output from the microprocessor 10, the size data is set in the size register 50 in response to the signal SZW.

そして、マイクロプロセサ10からインタレースレジス
タ54(第6A図)に2ビットのインタレースデータをロー
ドする。この場合、マイクロプロセサ10から、インタレ
ースレジスタ54を指定するアドレスデータおよび書込信
号が与えられ、その結果アドレスデコーダ40から前述の
信号IZWが出力される。同時にマイクロプロセサ10から
インタレースデータおよびOBJ V SELECTが出力されてい
るため、信号IZWに応答して、インタレースレジスタ54
にこれらのデータが設定される。
Then, 2-bit interlace data is loaded from the microprocessor 10 into the interlace register 54 (FIG. 6A). In this case, address data and a write signal designating interlace register 54 are supplied from microprocessor 10, and as a result, signal IZW described above is output from address decoder 40. At the same time, since the interlace data and OBJ V SELECT are output from the microprocessor 10, the interlace register 54 is output in response to the signal IZW.
These data are set.

水平走査期間I この水平走査期間Iにおいて、インレンジ判定回路56
によってインレンジ検出を行い、インレンジ状態にある
オブジェクトのOAMアドレスをベクトルRAM46に書き込
む。
Horizontal Scan Period I In this horizontal scan period I, the in-range determination circuit 56
, The OAM address of the object in the in-range state is written to the vector RAM 46.

すなわち、水平走査開始直前にタイミング信号発生回
路34からの信号HIに応答してベクトルRAMアドレス回路5
8(第6B図)がリセットされ、ベクトルRAMアドレスが
“0"に設定される。また、水平走査開始直前に、OAMア
ドレスレジスタ36にロードされているオブジェクト順位
データがOAMアドレス回路42のカウンタリセット用NAND
ゲート96(第7図)に与えられる。このオブジェクト順
位データが“0"のとき、OAMアドレス回路42のアドレス
カウンタ94(第8図)がリセットされ、したがって、OA
Mアドレスは“0"に設定される。また、オブジェクト順
位データが“1"のとき、OAMアドレス回路42のアドレス
カウンタはリセットされず、最後にロードされたデータ
がアドレスカウンタ94の初期値として保持される。イン
レンジ判定を行う際、先にインレンジ状態であると判定
されたオブジェクトが後にインレンジ状態であると判定
されたオブジェクトよりも優先的にモニタ22(第1図)
に表示されるため、このような方法によって、インレン
ジ判定動作時のOAMアドレスの初期値を変更し、それに
よってオブジェクトの優先順位を変更できるようにし
た。
That is, the vector RAM address circuit 5 responds to the signal HI from the timing signal generation circuit 34 immediately before the start of horizontal scanning.
8 (FIG. 6B) is reset and the vector RAM address is set to "0". Immediately before the start of horizontal scanning, the object order data loaded in the OAM address register 36 is used to reset the counter reset NAND of the OAM address circuit 42.
Gate 96 (FIG. 7). When the object rank data is "0", the address counter 94 (FIG. 8) of the OAM address circuit 42 is reset, and therefore, the OA
The M address is set to “0”. When the object rank data is “1”, the address counter of the OAM address circuit 42 is not reset, and the last loaded data is held as the initial value of the address counter 94. When performing the in-range determination, the monitor 22 (FIG. 1) preferentially prioritizes an object determined to be in the in-range state later than an object determined to be in the in-range state.
Therefore, the initial value of the OAM address at the time of the in-range determination operation is changed by such a method, whereby the priority of the object can be changed.

より詳しく説明すると、アドレス選択回路44(第6B
図)は、インレンジ判定回路56におけるインレンジ検出
の期間、タイミング信号発生回路34からの信号INによっ
て、OAMアドレス回路42のアドレス出力端子とOAM38のア
ドレス入力端子とを接続している。また、OAM制御回路4
8は垂直ブランキング期間以外では常にOAM38にイネーブ
ル信号を与える。そのため、OAMアドレス回路42からの
アドレスデータとOAM制御回路48からのイネーブル信号
とに応じて、OAM38からOAMデータが読み出される。この
OAM38からの出力データの内、H位置データはH位置レ
ジスタ66に、V位置データはV位置レジスタ68に、アト
リビュートデータはアトリビュートレジスタ70に、ネー
ムデータ(オブジェクト指定コード)はネームレジスタ
72に、それぞれ、レジスタ制御回路74からのロード信号
によってロードされる。
More specifically, the address selection circuit 44 (6B
In the figure, the address output terminal of the OAM address circuit 42 and the address input terminal of the OAM 38 are connected by the signal IN from the timing signal generation circuit 34 during the in-range detection in the in-range determination circuit 56. OAM control circuit 4
8 always supplies an enable signal to the OAM 38 except during the vertical blanking period. Therefore, the OAM data is read from the OAM 38 according to the address data from the OAM address circuit 42 and the enable signal from the OAM control circuit 48. this
Of the output data from the OAM 38, the H position data is in the H position register 66, the V position data is in the V position register 68, the attribute data is in the attribute register 70, and the name data (object designation code) is the name register.
72 are respectively loaded by a load signal from the register control circuit 74.

H位置レジスタ66からのH位置データはH位置演算回
路64に出力され、先に第12図を参照して説明したよう
に、そのH位置データの最上位ビットが“0"のときすな
わちH位置が“0−255"のときはそのままのデータがイ
ンレンジ判定回路56に与えられる。逆に、H位置データ
の最上位ビットが“1"のときすなわちH位置が“−256
−−1"のときは、H位置演算回路64においてH位置の
“2の補数”(絶対値)を計算し、その結果データHAを
インレンジ判定回路56に与える。
The H position data from the H position register 66 is output to the H position calculation circuit 64. As described above with reference to FIG. 12, when the most significant bit of the H position data is "0", Is "0-255", the raw data is supplied to the in-range determination circuit 56. Conversely, when the most significant bit of the H position data is "1", that is, when the H position is "-256"
If the value is "-1", "2's complement" (absolute value) at the H position is calculated in the H position calculation circuit 64, and the result data HA is supplied to the in-range determination circuit 56.

V位置演算回路76は、タイミング信号発生回路34から
の信号Vを受け、その信号Vで示すラインの垂直位置デ
ータからV位置レジスタ68からのV位置データVPを減算
し、その結果データをインレンジ判定回路56に与える。
The V position calculation circuit 76 receives the signal V from the timing signal generation circuit 34, subtracts the V position data VP from the V position register 68 from the vertical position data of the line indicated by the signal V, and in-ranges the resulting data. This is given to the judgment circuit 56.

インレンジ判定回路56は、H位置演算回路64からの必
要に応じて補正されたH位置データ,V位置演算回路76か
らの減算結果データ,アトリビュートレジスタ70からの
サイズ選択データ,サイズレジスタ50からのサイズデー
タおよびインタレースレジスタ54からのデータOBJ V SE
Lに基づいて、そのとき判定対象となっているオブジェ
クトがインレンジ状態にあるかどうかを判断する。そし
て、オブジェクトがインレンジ状態にある場合は、信号
/INRANGEをベクトルRAMアドレス回路58に出力する。
The in-range determination circuit 56 includes H position data corrected as needed from the H position calculation circuit 64, subtraction result data from the V position calculation circuit 76, size selection data from the attribute register 70, and data from the size register 50. Size data and data OBJ V SE from interlace register 54
Based on L, it is determined whether the object to be determined at that time is in the in-range state. And if the object is in the in-range state, the signal
/ INRANGE is output to the vector RAM address circuit 58.

ベクトルRAMアドレス回路58は、インレンジ判定回路5
6からの信号/INRANGEを受けて、ベクトルRAM46に書込信
号を与える。ベクトルRAM46は、ベクトルRAMアドレス回
路58からの書込信号およびアドレスデータならびにアド
レス選択回路44からのデータ(OAMアドレス)を受け
て、そのデータDIを格納する。そして、ベクトルRAMア
ドレス回路58は、ベクトルRAM46に書込信号を出力した
後、ベクトルRAM46のアドレスをインクリメントする。
The vector RAM address circuit 58 includes an in-range determination circuit 5
In response to the signal / INRANGE from 6, a write signal is given to the vector RAM 46. The vector RAM 46 receives the write signal and the address data from the vector RAM address circuit 58 and the data (OAM address) from the address selection circuit 44 and stores the data DI. Then, after outputting the write signal to the vector RAM 46, the vector RAM address circuit 58 increments the address of the vector RAM 46.

タイミング信号発生回路34からの信号HC0に応答し
て、OAMアドレス回路42のOAMアドレス値が「+1」イン
クリメントされ、以後同様にして、インレンジ判定回路
46において次のオブジェクトのインレンジ判定を行い、
インレンジ状態のオブジェクトのオブジェクトデータの
OAM38のアドレスをベクトルRAM46に格納する。
In response to the signal HC0 from the timing signal generation circuit 34, the OAM address value of the OAM address circuit 42 is incremented by "+1".
In 46, the in-range judgment of the next object is performed.
The object data of the in-range object
The address of the OAM 38 is stored in the vector RAM 46.

先に説明したようにOAMアドレスレジスタ36のオブジ
ェクト順位データによってOAMアドレス回路42がリセッ
トされるが、OAMアドレス回路42がリセットされると、O
AMアドレスが“0"から“127"に変化し、OAMアドレス回
路42がリセットされなければ、OAMアドレスは“最後に
設定されたアドレス”から「+1」ずつインクリメント
され、“127"の次は“0"となり、“最後に設定されたア
ドレス−1"まで変化することになる。
As described above, the OAM address circuit 42 is reset by the object order data of the OAM address register 36, but when the OAM address circuit 42 is reset,
If the AM address changes from "0" to "127" and the OAM address circuit 42 is not reset, the OAM address is incremented by "+1" from the "last set address", and "127" is followed by "1". 0 ", and changes to" last set address -1 ".

上述のインレンジ判定動作は、モニタ22(第1図)に
おける1ラインの走査中に128回行われるが、1ライン
で表示可能なオブジェクト数が“32"であるので、イン
レンジ状態にあると判定されたオブジェクトの数が“3
2"に達したときは、ベクトルRAMアドレス回路58から信
号INRANGE FILLがインレンジ判定回路56に出力され、応
じてインレンジ判定回路56からの信号/INRANGEの出力が
禁止される。
The above-described in-range determination operation is performed 128 times during scanning of one line on the monitor 22 (FIG. 1). The number of determined objects is "3
When the signal reaches 2 ", the signal INRANGE FILL is output from the vector RAM address circuit 58 to the in-range determination circuit 56, and the output of the signal / INRANGE from the in-range determination circuit 56 is accordingly inhibited.

水平ブランキング期間 水平ブランキング期間では、インレンジ状態にあるオ
ブジェクトのグラフィックデータをバッファRAM84に格
納する。
Horizontal Blanking Period During the horizontal blanking period, the graphic data of the object in the in-range state is stored in the buffer RAM 84.

Hブランキング期間に入ると、タイミング信号発生回
路34からベクトルRAMアドレス回路58へ信号HBが与えら
れ、その信号HBによってベクトルRAMアドレス回路58内
部のU/Dカウンタ154(第10図)がアップカウントモード
からダウンカウントモードに切り換えられる。さらに、
タイミング信号発生回路34からの信号HBHに応答して、
ベクトルRAMアドレス回路58のアドレスがディクリメン
トされ、最後に設定されたオブジェクトデータのOAMア
ドレスを格納してあるベクトルRAMアドレスがベクトルR
AM46に与えられる。
In the H blanking period, a signal HB is supplied from the timing signal generation circuit 34 to the vector RAM address circuit 58, and the U / D counter 154 (FIG. 10) in the vector RAM address circuit 58 is counted up by the signal HB. Mode is switched to the down count mode. further,
In response to the signal HBH from the timing signal generation circuit 34,
The address of the vector RAM address circuit 58 is decremented, and the vector RAM address storing the OAM address of the object data set last is the vector R
Given to AM46.

ベクトルRAMアドレス回路58からのアドレスを受け
て、ベクトルRAM46からOAMアドレスが出力される。アド
レス選択回路44は、タイミング信号発生回路34からの信
号INおよびVBに応答して、ベクトルRAM46からのアドレ
スをOAM38のアドレス入力端子に与える。
Upon receiving the address from the vector RAM address circuit 58, the vector RAM 46 outputs the OAM address. The address selection circuit 44 supplies the address from the vector RAM 46 to the address input terminal of the OAM 38 in response to the signals IN and VB from the timing signal generation circuit 34.

OAM38から出力されたオブジェクトデータの内、H位
置データはH位置レジスタ66へ、V位置データはV位置
レジスタ68へ、アトリビュートデータはアトリビュート
レジスタ70へ、ネームデータはネームレジスタ72へ、そ
れぞれ、レジスタ制御回路74からのロード信号に応答し
て、ロードされる。
Of the object data output from the OAM 38, the H position data to the H position register 66, the V position data to the V position register 68, the attribute data to the attribute register 70, the name data to the name register 72, and the register control. Loaded in response to a load signal from circuit 74.

H位置レジスタ66にラッチされたH位置データはH位
置演算回路64に与えられる。H位置演算回路64は、H位
置の最上位ビットが“0"ならばサイズカウンタ60に“0"
を与え、H位置の最上位ビットが“1"ならばH位置の
「2」の補数(絶対値)データのうちのD3−D5をサイズ
カウンタ60に与える。このようにしてサイズカウンタ60
に与えられたデータは、オブジェクトの水平方向の左か
ら何番目のキャラクタ単位(1キャラクタ単位は8ビッ
ト)からモニタ22の画面上に表示するかを示す。オブジ
ェクトのH位置がたとえば“504"(1F8H=−8)なら
ば、「2」の補数は“8"であり、したがって、2の補数
データのうちのD3−D5はそれぞれ“1"である。このこと
はモニタ22の画面においてそのオブジェクトを構成する
第1キャラクタ単位から表示されることを意味する。た
だし、オブジェクトは第0キャラクタから始まるため、
第1キャラクタは左から2番目のキャラクタである。
The H position data latched in the H position register 66 is applied to the H position operation circuit 64. If the most significant bit of the H position is “0”, the H position calculation circuit 64 sets the size counter 60 to “0”.
If the most significant bit at the H position is "1", D3-D5 of the complement (absolute value) data of "2" at the H position is applied to the size counter 60. Thus, the size counter 60
Indicates the number of character units from the left in the horizontal direction of the object (1 character unit is 8 bits) to be displayed on the screen of the monitor 22. If the H position of the object is, for example, "504" (1F8H = -8), the complement of "2" is "8", and therefore D3-D5 of the two's complement data is "1". This means that the object is displayed on the screen of the monitor 22 from the first character unit constituting the object. However, since the object starts from the 0th character,
The first character is the second character from the left.

また、水平ブランキング期間の開始直後に、サイズカ
ウンタ制御回路62は、タイミング信号発生回路34からの
信号HBHを受け、サイズカウンタ60にロード信号/LDを与
える。
Immediately after the start of the horizontal blanking period, the size counter control circuit 62 receives the signal HBH from the timing signal generation circuit 34 and supplies the load signal / LD to the size counter 60.

サイズカウンタ60には、サイズカウンタ制御回路62か
らのロード信号/LDに応答して、オブジェクトのH位置
が“0−255"の範囲内にあるときは“0"がプリセットさ
れ、H位置が“256−511"の範囲内にあるときはH位置
演算回路64からのデータがプリセットされる。
In response to the load signal / LD from the size counter control circuit 62, the size counter 60 is preset with “0” when the H position of the object is within the range of “0-255”, and the H position is set to “0”. When it is within the range of 256-511 ", the data from the H position calculation circuit 64 is preset.

サイズカウンタ60のデータはH位置演算回路64に出力
される。H位置演算回路64はタイミング信号発生回路34
からの信号HCOおよびINに応答して、「2」の補数を演
算するためのモードから加算器モードに変化される。加
算器モードは、H位置データとサイズカウンタ60からの
データとが加算される。加算結果データは、水平方向の
オブジェクトサイズを考慮したH位置データであり、8
ドットのキャラクタデータがバッファRAM84に水平方向
のキャラクタの個数に相当する回数書き込まれるときの
補正されたH位置データである。この加算結果データは
バッファRAMアドレス回路90にアドレスデータとして与
えられる。同時に、サイズカウンタ60からのデータはア
ドレス加算器制御回路78に与えられ、表示すべきオブジ
ェクトすなわちキャラクタのアドレスを算出するために
に使用される。
The data of the size counter 60 is output to the H position calculation circuit 64. The H position calculation circuit 64 is a timing signal generation circuit 34
Is changed from the mode for calculating the complement of "2" to the adder mode in response to the signals HCO and IN from. In the adder mode, the H position data and the data from the size counter 60 are added. The addition result data is H position data in consideration of the object size in the horizontal direction.
This is corrected H position data when dot character data is written to the buffer RAM 84 the number of times corresponding to the number of characters in the horizontal direction. This addition result data is provided to the buffer RAM address circuit 90 as address data. At the same time, the data from the size counter 60 is provided to the address adder control circuit 78 and used to calculate the address of the object to be displayed, that is, the character.

V位置演算回路76は、タイミング信号発生回路34から
の信号Vによって示されるライン番号のデータからV位
置レジスタ68にラッチされたオブジェクトのV位置デー
タを減算し、その結果データをアドレス加算器制御回路
78に与える。
The V position calculation circuit 76 subtracts the V position data of the object latched in the V position register 68 from the data of the line number indicated by the signal V from the timing signal generation circuit 34, and outputs the result data to the address adder control circuit.
Give to 78.

アドレス加算器制御回路78は、インタレースレジスタ
54のデータOBJ V SELの“1"または“0"に従って、V位
置演算回路76からの減算結果データD0−D5またはD0−D4
+タイミング信号発生回路34からの信号FIELDのどちら
かを選択する。
The address adder control circuit 78 includes an interlace register
The subtraction result data D0-D5 or D0-D4 from the V position operation circuit 76 according to "1" or "0" of the 54 data OBJ V SEL.
+ Select one of the signals FIELD from the timing signal generation circuit 34.

アドレス加算器制御回路78において後者が選択された
場合、インタレース時のモニタ22の表示において、1ラ
インで垂直方向1ドットのグラフィックを表示し、前者
が選択されたときは、2ラインで垂直方向1ドットのグ
ラフィックを表示する。
If the latter is selected in the address adder control circuit 78, a graphic of one dot in the vertical direction is displayed on one line on the display of the monitor 22 at the time of interlace, and if the former is selected, the graphic of two dots is displayed in the vertical direction Displays a one-dot graphic.

サイズレジスタ50にロードされたサイズデータは、サ
イズデコーダ52によりデコードされ、その結果、信号/O
BJ8,/OBJ16,/OBJ32または/OBJ64が得られる。
The size data loaded in the size register 50 is decoded by the size decoder 52, and as a result, the signal / O
BJ8, / OBJ16, / OBJ32 or / OBJ64 are obtained.

アドレス加算器制御回路78で先に述べたようにして選
択されたデータは、アドレス加算器制御回路78の内部で
アトリビュートレジスタ70内のデータV−FLIPおよびイ
ンレンジ判定回路56からの信号/OBJ8,/OBJ16,/OBJ32ま
たは/OBJ64によって、オブジェクトサイズを考慮した場
合の必要なビットだけが反転されまたは反転されない
で、その結果A0−A2,AA4−AA6,AA8−AA10およびAA12な
らびにAA13(第17図)がアドレス加算器80に出力され
る。同時に、アドレス加算器制御回路78はサイズカウン
タ60からのデータを受け、アトリビュートレジスタ70内
のデータH−FLIPおよびインレンジ判定回路56からの信
号/OBJ8,/OBJ16,/OBJ32または/OBJ64によって、オブジ
ェクトサイズを考慮した場合の必要なビットだけを反転
しまたは反転しないで、その結果をアドレス加算器80に
与える。さらに、アドレス加算器制御回路78はネームレ
ジスタ72の最上位ビットとサイズレジスタ50内のオブジ
ェクトネームバンクデータを受けてアドレス変換を行
い、その変換結果をアドレス加算器80に与える。
The data selected in the address adder control circuit 78 as described above is the data V-FLIP in the attribute register 70 and the signal / OBJ8, By / OBJ16, / OBJ32 or / OBJ64, only the necessary bits in consideration of the object size are inverted or not inverted, so that A0-A2, AA4-AA6, AA8-AA10 and AA12 and AA13 (FIG. 17) ) Is output to the address adder 80. At the same time, the address adder control circuit 78 receives the data from the size counter 60, and outputs the object by the data H-FLIP in the attribute register 70 and the signal / OBJ8, / OBJ16, / OBJ32 or / OBJ64 from the in-range determination circuit 56. Only the necessary bits in consideration of the size are inverted or not inverted, and the result is given to the address adder 80. Further, the address adder control circuit 78 receives the most significant bit of the name register 72 and the object name bank data in the size register 50, performs address conversion, and provides the conversion result to the address adder 80.

アドレス加算器80は、アドレス加算器制御回路78から
のH反転および/またはV反転後のH演算データおよび
V演算データの下位ビットとネームレジスタ72からのネ
ームデータとを加算すると同時に、同時にH演算データ
およびV演算データの上位ビットとサイズレジスタ50か
らのオブジェクトベースデータBASEとを加算し、それぞ
れの加算結果をアドレスとしてビデオデータメモリアド
レス回路82に与える。
The address adder 80 adds the lower bits of the H operation data and V operation data after the H inversion and / or V inversion from the address adder control circuit 78 and the name data from the name register 72, and simultaneously performs the H operation. The upper bits of the data and the V operation data are added to the object base data BASE from the size register 50, and the result of each addition is given to the video data memory address circuit 82 as an address.

ビデオデータメモリアドレス回路80はビデオデータメ
モリ16へのアドレス出力を許可する信号OAEをタイミン
グ信号発生回路34から受け、アドレス加算器80からのア
ドレスをビデオデータメモリ16に出力する。
The video data memory address circuit 80 receives a signal OAE for permitting address output to the video data memory 16 from the timing signal generation circuit 34, and outputs an address from the address adder 80 to the video data memory 16.

ビデオデータメモリ16はビデオデータメモリアドレス
回路82からのアドレスを受けて、H反転回路86にグラフ
ィックデータを出力する。
The video data memory 16 receives the address from the video data memory address circuit 82 and outputs graphic data to the H inversion circuit 86.

H反転回路86は、アトリビュートレジスタ70内のデー
タH−FLIPの“0"または“1"に従って、8ドットのグラ
フィックデータを反転しまたは反転しないでカラーデー
タ抽出回路88に与える。
The H inverting circuit 86 inverts the 8-dot graphic data according to “0” or “1” of the data H-FLIP in the attribute register 70 or supplies it to the color data extracting circuit 88 without inverting.

一方、バッファRAMアドレス回路90ではH位置演算回
路64からのアドレスが内部のカウンタ340(第22図)に
プリセットされ、そのカウンタ340からのデータをバッ
ファRAM84に与える。また、H位置レジスタ66内のH位
置データの最上位ビットとH位置演算回路64からのキャ
リ信号(バッファRAMのアドレスを算出した際の桁上
げ)とがバッファRAM制御回路92内のイクスクルーシブO
Rゲート404(第22図)で処理され、その結果も同時にカ
ウンタ340へプリセットする。キャリ信号が“0"でかつ
H位置が“0−255"の範囲内にあるとき、およびキャリ
信号が“1"でかつH位置が“256−511"の範囲内にある
ときは、ともに、イクスクルーシブORゲート404の出力
は“0"となる。このデータはバッファRAM制御回路92に
おけるバッファRAM84への書込信号を作成するために利
用される。
On the other hand, in the buffer RAM address circuit 90, the address from the H position calculation circuit 64 is preset in the internal counter 340 (FIG. 22), and the data from the counter 340 is supplied to the buffer RAM 84. The most significant bit of the H position data in the H position register 66 and the carry signal from the H position calculation circuit 64 (carry when calculating the buffer RAM address) are exclusive in the buffer RAM control circuit 92. O
The processing is performed by the R gate 404 (FIG. 22), and the result is simultaneously preset in the counter 340. When the carry signal is "0" and the H position is in the range of "0-255", and when the carry signal is "1" and the H position is in the range of "256-511", The output of the exclusive OR gate 404 is "0". This data is used to create a write signal to the buffer RAM 84 in the buffer RAM control circuit 92.

バッファRAM制御回路92では上述のイクスクルーシブO
Rゲート404の出力を受け、カラーデータ抽出回路88の示
すドットの色が透明を表すコードでないときに、書込信
号/WE0または/WE1をバッファRAM84に与える。
In the buffer RAM control circuit 92, the exclusive O
When the output of the R gate 404 is received and the color of the dot indicated by the color data extraction circuit 88 is not a code indicating transparency, a write signal / WE0 or / WE1 is supplied to the buffer RAM.

なお、オブジェクトが奇数ドットから始まるときは、
バッファRAM制御回路92内のフルアダー396(第22図)が
バッファRAMアドレスを「+1」し、その結果をバッフ
ァRAM84に与える。
When the object starts with an odd dot,
The full adder 396 (FIG. 22) in the buffer RAM control circuit 92 increments the buffer RAM address by "+1" and gives the result to the buffer RAM 84.

バッファRAM84は、バッファRAMアドレス回路90からの
アドレス,カラーデータ抽出回路88からのカラーデー
タ,アトリビュートレジスタ70からのカラーデータおよ
び優先データ,ならびにバッファRAM制御回路92からの
書込信号およびアドレスを受けて、合計9ビットからな
るカラーおよび優先データを格納する。
The buffer RAM 84 receives the address from the buffer RAM address circuit 90, the color data from the color data extraction circuit 88, the color data and priority data from the attribute register 70, and the write signal and address from the buffer RAM control circuit 92. , And 9-bit color and priority data.

上述の実施例ではバッファRAM84として128×9ビット
のRAMを2個使用している。一方が奇数ドットのデータ
を記憶するために使用され、他方が偶数ドット用のデー
タを記憶するために使用される。したがって、この実施
例では2種類のアドレスが必要であるが、第1および第
2バッファRAM84aおよび84b(第21図)の応答速度を上
げれば、1種類だけのアドレスが用いられてもよい。こ
の場合、バッファRAM制御回路92からのアドレスは不要
となる。
In the above embodiment, two 128 × 9 bit RAMs are used as the buffer RAM 84. One is used to store data for odd dots, and the other is used to store data for even dots. Therefore, in this embodiment, two types of addresses are necessary, but if the response speed of the first and second buffer RAMs 84a and 84b (FIG. 21) is increased, only one type of address may be used. In this case, the address from the buffer RAM control circuit 92 becomes unnecessary.

なお、オブジェクトサイズが8×8以上のときすなわ
ちオブジェクトが2以上のキャラクタによって構成され
ているときは、サイズカウンタ60がアップカウントされ
た後、先に説明した動作をそのキャラクタの個数に相当
する回数繰り返すことになる。
When the object size is 8 × 8 or more, that is, when the object is composed of two or more characters, after the size counter 60 is up-counted, the above-described operation is performed by the number of times corresponding to the number of characters. Will repeat.

そして、サイズカウンタ制御回路62はインレンジ判定
回路56からの信号/OBJ8,/OBJ16,/OBJ32または/OBJ64と
サイズカウンタ60からのカウント値とを使用して、各オ
ブジェクトデータのバッファRAM84への転送終了タイミ
ングを判断する。そして、1オブジェクトを構成する複
数のキャラクタデータがすべてバッファRAM84に書き込
まれるまでは、ベクトルRAMアドレス回路58におけるア
ドレスのダウンカウント(ディクリメント)を禁止す
る。そして、全てのキャラクタデータが書き込まれたタ
イミングで、ベクトルRAMアドレス回路58のアドレスを
「−1」ディクリメントする。ベクトルRAMアドレス回
路58は、このようにして、次のオブジェクトのOAMアド
レスが格納されているベクトルRAMのアドレスをベクト
ルRAM46に与える。ベクトルRAM46からのデータはOAM38
に与えられ、OAM38からのH位置データがH位置レジス
タ66を介してH位置演算回路64に与えられる。次のオブ
ジェクトの水平方向表示開始位置データがH位置演算回
路64から再度サイズカウンタ60に与えられ、サイズカウ
ンタ制御回路62からサイズカウンタ60にロード信号が与
えられ、サイズカウンタ60がプリセットされる。
The size counter control circuit 62 uses the signals / OBJ8, / OBJ16, / OBJ32 or / OBJ64 from the in-range determination circuit 56 and the count value from the size counter 60 to transfer each object data to the buffer RAM 84. Determine the end timing. Until all of a plurality of character data constituting one object are written in the buffer RAM 84, the count down (decrement) of the address in the vector RAM address circuit 58 is prohibited. Then, at the timing when all the character data is written, the address of the vector RAM address circuit 58 is decremented by "-1". In this way, the vector RAM address circuit 58 gives the address of the vector RAM in which the OAM address of the next object is stored to the vector RAM 46. Data from vector RAM46 is OAM38
The H position data from the OAM 38 is supplied to the H position calculation circuit 64 via the H position register 66. The horizontal display start position data of the next object is supplied again from the H position calculation circuit 64 to the size counter 60, a load signal is supplied from the size counter control circuit 62 to the size counter 60, and the size counter 60 is preset.

以後、同様にして、順次後続のオブジェクトのオブジ
ェクトデータがバッファRAM84に格納される。
Thereafter, similarly, the object data of the subsequent objects are sequentially stored in the buffer RAM 84.

水平走査期間II この期間には、バッファRAM84のデータを画像信号に
変換してRGBモニタ22(第1図)に出力する。
Horizontal scanning period II During this period, the data in the buffer RAM 84 is converted into an image signal and output to the RGB monitor 22 (FIG. 1).

水平ブランキング期間の終了時に、バッファRAMアド
レス回路90はタイミング信号発生回路34からの信号/CRE
Sを受けて、内部のカウンタ340をリセットする。
At the end of the horizontal blanking period, the buffer RAM address circuit 90 outputs the signal / CRE from the timing signal generation circuit 34.
Upon receiving S, the internal counter 340 is reset.

水平走査期間に入ると、バッファRAM84はバッファRAM
アドレス回路90からのアドレスを受け、グラフィックデ
ータを合成回路28に出力する。合成回路28で背景パター
ンと合成されたオブジェクトのグラフィックデータは画
像信号発生回路30によって画像信号に変換される。した
がって、モニタ22上では、オブジェクトと背景パターン
との合成画像が表示される。
When the horizontal scanning period starts, the buffer RAM 84 becomes the buffer RAM.
Upon receiving the address from the address circuit 90, it outputs graphic data to the synthesis circuit. The graphic data of the object combined with the background pattern by the combining circuit 28 is converted into an image signal by the image signal generating circuit 30. Therefore, on the monitor 22, a composite image of the object and the background pattern is displayed.

そして、バッファRAMアドレス回路90ではタイミング
信号発生回路34からの信号HC0によってカウンタ340がア
ップカウントされ、順次アドレスがインクリメントされ
る。また、バッファRAM84はバッファRAMアドレス回路90
からのアドレスを受け、順次グラフィックデータを合成
回路28に出力する。
Then, in the buffer RAM address circuit 90, the counter 340 is counted up by the signal HC0 from the timing signal generation circuit 34, and the address is sequentially incremented. The buffer RAM 84 is a buffer RAM address circuit 90.
, And sequentially outputs graphic data to the synthesis circuit 28.

なお、バッファRAM84からの現在走査中のラインのデ
ータが出力されると同時に、先に〔水平走査期間I〕で
説明した動作が次のラインのデータを作成するために再
度実行される。
At the same time that the data of the line currently being scanned is output from the buffer RAM 84, the operation described in [Horizontal scanning period I] is executed again to create the data of the next line.

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

第1図はこの発明の一実施例を示す概略ブロック図であ
る。 第2図は第1図実施例のビデオプロセサを示すブロック
図である。 第3図はタイミング信号発生回路を示すブロック図であ
る。 第4A図および第4B図は水平方向の各タイミング信号を示
すタイミング図である。 第5図は垂直方向の各タイミング信号を示すタイミング
図である。 第6A図,第6B図および第6C図は第2図に示す動画データ
発生回路を示すブロック図である。 第7図はオブジェクトデータの一例を示す図解図であ
る。 第8図はOAMアドレス回路を詳細に示すブロック図であ
る。 第9図はアドレス選択回路,OAM制御回路およびOAMを詳
細に示すブロック図である。 第10図はベクトルRAMアドレス回路およびベクトルRAMを
詳細に示すブロック図である。 第11図はレジスタ制御回路,H位置レジスタ,V位置レジス
タ,アトリビュートレジスタ,ネームレジスタ,H位置演
算回路およびV位置演算回路を詳細に示すブロック図で
ある。 第12図はモニタ画面に関連する水平(H)位置および垂
直(V)位置を示す図解図である。 第13図はサイズレジスタ,インタレースレジスタ,サイ
ズデコーダおよびインレンジ判定回路を詳細に示すブロ
ック図である。 第14図および第15図はビデオデコーダメモリのメモリフ
ォーマットの一例を示す図解図である。 第16図はサイズカウンタ制御回路を詳細に示すブロック
図である。 第17図はアドレス加算器制御回路を詳細に示すブロック
図である。 第18A図−第18D図はHフリップおよびVフリップの状態
を示す図解図である。 第19図はアドレス加算器,ビデオデータメモリアドレス
回路およびビデオデータメモリを詳細に示すブロック図
である。 第20図はH反転回路およびカラーデータ抽出回路を詳細
に示すブロック図である。 第21図はバッファRAMを詳細に示すブロック図である。 第22図はバッファRAMアドレス回路およびバッファRAM制
御回路を詳細に示すブロック図である。 図において、10はマイクロプロセサ、12はビデオプロセ
サ、14はプログラムメモリ、16はビデオデータメモリ、
16bはキャラクタデータ記憶領域、24bは動画用CPUイン
タフェース、28は合成回路、30は動画データ発生回路、
34はタイミング信号発生回路、36はOAMアドレスレジス
タ、38はOAM、42はOAMアドレス回路、44はアドレス選択
回路、46はベクトルRAM、48はOAM制御回路、50はサイズ
レジスタ、52はサイズデコーダ、54はインタレースレジ
スタ、56はインレンジ判定回路、58はベクトルRAMアド
レス回路、60はサイズカウンタ、62はサイズカウンタ制
御回路、64はH位置演算回路、66はH位置レジスタ、68
はV位置レジスタ、70はアトリビュートレジスタ、72は
ネームレジスタ、74はレジスタ制御回路、76はV位置演
算回路、78はアドレス加算器制御回路、80はアドレス加
算器、82はビットデータメモリアドレス回路、84はバッ
ファRAM、86はH反転回路、88はカラーデータ抽出回
路、90はバッファRAMアドレス回路、92はバッファRAM制
御回路を示す。
FIG. 1 is a schematic block diagram showing one embodiment of the present invention. FIG. 2 is a block diagram showing the video processor of the embodiment shown in FIG. FIG. 3 is a block diagram showing a timing signal generation circuit. FIGS. 4A and 4B are timing diagrams showing timing signals in the horizontal direction. FIG. 5 is a timing chart showing timing signals in the vertical direction. 6A, 6B and 6C are block diagrams showing the moving picture data generation circuit shown in FIG. FIG. 7 is an illustrative view showing one example of object data; FIG. 8 is a block diagram showing the OAM address circuit in detail. FIG. 9 is a block diagram showing the address selection circuit, OAM control circuit and OAM in detail. FIG. 10 is a block diagram showing the vector RAM address circuit and the vector RAM in detail. FIG. 11 is a block diagram showing in detail a register control circuit, an H position register, a V position register, an attribute register, a name register, an H position operation circuit, and a V position operation circuit. FIG. 12 is an illustrative view showing a horizontal (H) position and a vertical (V) position related to the monitor screen. FIG. 13 is a block diagram showing in detail a size register, an interlace register, a size decoder, and an in-range determination circuit. FIG. 14 and FIG. 15 are illustrative views showing an example of a memory format of a video decoder memory. FIG. 16 is a block diagram showing the size counter control circuit in detail. FIG. 17 is a block diagram showing the address adder control circuit in detail. 18A to 18D are illustrative views showing states of an H flip and a V flip. FIG. 19 is a block diagram showing the address adder, the video data memory address circuit and the video data memory in detail. FIG. 20 is a block diagram showing the H inversion circuit and the color data extraction circuit in detail. FIG. 21 is a block diagram showing the buffer RAM in detail. FIG. 22 is a block diagram showing a buffer RAM address circuit and a buffer RAM control circuit in detail. In the figure, 10 is a microprocessor, 12 is a video processor, 14 is a program memory, 16 is a video data memory,
16b is a character data storage area, 24b is a video CPU interface, 28 is a synthesis circuit, 30 is a video data generation circuit,
34 is a timing signal generation circuit, 36 is an OAM address register, 38 is an OAM, 42 is an OAM address circuit, 44 is an address selection circuit, 46 is a vector RAM, 48 is an OAM control circuit, 50 is a size register, 52 is a size decoder, 54 is an interlace register, 56 is an in-range determination circuit, 58 is a vector RAM address circuit, 60 is a size counter, 62 is a size counter control circuit, 64 is an H position operation circuit, 66 is an H position register, 68
Is a V position register, 70 is an attribute register, 72 is a name register, 74 is a register control circuit, 76 is a V position operation circuit, 78 is an address adder control circuit, 80 is an address adder, 82 is a bit data memory address circuit, 84 is a buffer RAM, 86 is an H inversion circuit, 88 is a color data extraction circuit, 90 is a buffer RAM address circuit, and 92 is a buffer RAM control circuit.

フロントページの続き (72)発明者 大竹 雅博 京都府京都市東山区福稲上高松町60番地 任天堂株式会社内 (72)発明者 西海 聡 京都府京都市東山区福稲上高松町60番地 任天堂株式会社内 (56)参考文献 特開 昭63−113784(JP,A) (58)調査した分野(Int.Cl.6,DB名) G09G 5/36 - 5/38 G09G 5/08 Continuing on the front page (72) Inventor Masahiro Otake, Nintendo Co., Ltd., 60, Fukuinakami-Takamatsucho, Higashiyama-ku, Kyoto, Kyoto, Japan ) References JP-A-63-113784 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G09G 5/36-5/38 G09G 5/08

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】各々が水平および垂直方向にそれぞれ複数
ドットからなる1つ以上のキャラクタを組み合わせるこ
とによって大きなサイズのオブジェクトをラスタスキャ
ンモニタで表示する動画表示装置であって、 オブジェクトを構成するキャラクタのグラフィックデー
タを各オブジェクト毎に予めその関連するアドレス領域
に記憶する第1の記憶手段、 前記ラスタスキャンモニタの次の垂直期間に表示される
べき1以上のオブジェクトを指定するためにオブジェク
ト指定データを発生するオブジェクト指定データ発生手
段、 指定されたオブジェクトが表示されるべき前記モニタ上
の位置を表す位置データを発生する位置データ発生手
段、 オブジェクト毎にそのオブジェクトサイズを選択するサ
イズ選択データ発生手段、 画面毎にサイズ指定モードを決定する指定モードデータ
を発生する指定モードデータ発生手段、 前記オブジェクト指定データおよび前記位置データを一
時的に記憶する第2の記憶手段、 前記第2の記憶手段から読み出した位置データと前記サ
イズ選択データ発生手段からのサイズ選択データおよび
前記指定モードデータ発生手段からの指定モードデータ
の組合せとに基づいてそのオブジェクトを次の水平走査
期間に表示すべきか否かを判定するインレンジ判定手
段、および 前記インレンジ判定手段においてインレンジ状態にある
と判定されたオブジェクトについて前記第1の記憶手段
の読出アドレスを作成して前記第1の記憶手段に与える
読出アドレス作成手段を備える、動画表示装置。
1. A moving image display device for displaying a large-sized object on a raster scan monitor by combining one or more characters each consisting of a plurality of dots in the horizontal and vertical directions, the moving image display device comprising: First storage means for storing graphic data for each object in an associated address area in advance; generating object designation data for designating one or more objects to be displayed in a next vertical period of the raster scan monitor; Object specifying data generating means for generating, position data generating means for generating position data representing a position on the monitor at which a specified object is to be displayed, size selecting data generating means for selecting an object size for each object, and for each screen To size finger Designation mode data generation means for generating designation mode data for determining a mode; second storage means for temporarily storing the object designation data and the position data; position data and the size read from the second storage means In-range determining means for determining whether or not to display the object in the next horizontal scanning period based on the size selection data from the selection data generating means and the combination of the specified mode data from the specified mode data generating means; and A moving image display device, comprising: a read address creation unit that creates a read address of the first storage unit for an object determined to be in an in-range state by the inrange determination unit and provides the read address to the first storage unit.
【請求項2】前記選択モードデータを一時的に記憶する
手段を備える、請求項1記載の動画表示装置。
2. The moving image display device according to claim 1, further comprising means for temporarily storing said selection mode data.
JP2205747A 1990-02-05 1990-07-31 Video display device Expired - Fee Related JP2989642B2 (en)

Priority Applications (13)

Application Number Priority Date Filing Date Title
JP2205747A JP2989642B2 (en) 1990-07-31 1990-07-31 Video display device
SU5010026A RU2106012C1 (en) 1990-02-05 1991-02-04 Design of moving picture indicator and peripheral memory unit for said system
AT91903627T ATE151903T1 (en) 1990-02-05 1991-02-04 ANIMATION DISPLAY UNIT AND EXTERNAL MEMORY USED THEREFOR
ES91903627T ES2100226T3 (en) 1990-02-05 1991-02-04 APPARATUS FOR VIEWING MOVING IMAGES AND EXTERNAL MEMORY FOR USE THEREOF.
BR919104307A BR9104307A (en) 1990-02-05 1991-02-04 ANIMATION VIDEO DEVICE AND EXTERNAL MEMORY USED FOR HIM
DE69125661T DE69125661T2 (en) 1990-02-05 1991-02-04 ANIMATION DISPLAY UNIT AND EXTERNAL MEMORY USED FOR IT
CA002051655A CA2051655C (en) 1990-02-05 1991-02-04 Animation display unit and external memory used therefor
PCT/JP1991/000130 WO1991011799A1 (en) 1990-02-05 1991-02-04 Animation display unit and external memory used therefor
KR1019910701281A KR960004655B1 (en) 1990-02-05 1991-02-04 Animation display unit and external memory used therefor
AU71858/91A AU644408B2 (en) 1990-02-05 1991-02-04 Animation display unit and external memory used therefor
EP91903627A EP0466936B1 (en) 1990-02-05 1991-02-04 Animation display unit and external memory used therefor
US08/140,478 US5608424A (en) 1990-02-05 1993-10-25 Moving picture display apparatus and external memory used therefor
HK98104257A HK1005197A1 (en) 1990-02-05 1998-05-18 Animation display unit and external memory used therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2205747A JP2989642B2 (en) 1990-07-31 1990-07-31 Video display device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2025737A Division JP2989627B2 (en) 1990-02-05 1990-02-05 Video display device

Publications (2)

Publication Number Publication Date
JPH03230193A JPH03230193A (en) 1991-10-14
JP2989642B2 true JP2989642B2 (en) 1999-12-13

Family

ID=16511989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2205747A Expired - Fee Related JP2989642B2 (en) 1990-02-05 1990-07-31 Video display device

Country Status (1)

Country Link
JP (1) JP2989642B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5282183B2 (en) * 2005-07-28 2013-09-04 新世代株式会社 Image display device

Also Published As

Publication number Publication date
JPH03230193A (en) 1991-10-14

Similar Documents

Publication Publication Date Title
EP0466936B1 (en) Animation display unit and external memory used therefor
JP4725741B2 (en) Drawing apparatus and drawing method
EP0491468B1 (en) Display range control apparatus and external storage unit for use therewith
JPH0120749B2 (en)
JP3285860B2 (en) Mosaic image display device
US5157385A (en) Jagged-edge killer circuit for three-dimensional display
JP2005077522A (en) Image processor and image processing method
JP2951663B2 (en) Texture mapping apparatus and method
JP2989642B2 (en) Video display device
JP2989627B2 (en) Video display device
JP3037978B2 (en) Video display device
JPH05249953A (en) Image display device
JP3068590B1 (en) Two-dimensional image processing device
JP3556517B2 (en) 3D image processing device
JP3409987B2 (en) Three-dimensional image generation method and apparatus and three-dimensional image processing apparatus using the method and apparatus
US5903280A (en) Image display apparatus that reduces necessary memory capacity for operation
JP2647073B2 (en) Graphic display device
AU644408B2 (en) Animation display unit and external memory used therefor
JP3252359B2 (en) Image processing device
JPH027478B2 (en)
JP2820068B2 (en) Image data synthesis display device
JP2975800B2 (en) Inclined character generation circuit
JP2877779B2 (en) Graphic display device and method
JPH10124025A (en) Clipping method and clipping device
JPH051950B2 (en)

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: 20091008

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees