JPH0736701A - Program execution device - Google Patents

Program execution device

Info

Publication number
JPH0736701A
JPH0736701A JP19786093A JP19786093A JPH0736701A JP H0736701 A JPH0736701 A JP H0736701A JP 19786093 A JP19786093 A JP 19786093A JP 19786093 A JP19786093 A JP 19786093A JP H0736701 A JPH0736701 A JP H0736701A
Authority
JP
Japan
Prior art keywords
program
data
transfer
transferred
cpu
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.)
Withdrawn
Application number
JP19786093A
Other languages
Japanese (ja)
Inventor
Atsushi Yuhara
敦 湯原
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.)
Namco Ltd
Original Assignee
Namco Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Namco Ltd filed Critical Namco Ltd
Priority to JP19786093A priority Critical patent/JPH0736701A/en
Publication of JPH0736701A publication Critical patent/JPH0736701A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

(57)【要約】 【目的】 複数のソフトウエアを切り替える際の繁雑さ
を防止するとともに、回路の無駄をなくして装置全体の
コストを低減するようにしたプログラム実行装置を提供
すること。 【構成】 本実施例のプログラム実行装置は、プログラ
ム実行部10,転送プログラム・データ特定部11,転
送元格納部12,転送先格納部18,検索プログラム格
納部23を含んで構成される。検索プログラム格納部2
3に格納された検索プログラムを実行したプログラム実
行部10は、複数の被転送プログラムあるいはデータの
中から転送プログラム・データ特定部11によって特定
されたプログラムあるいはデータのみを転送元格納部1
2から検索し、この検索したプログラムあるいはデータ
を転送用プログラムを実行することにより、転送先格納
部18に転送する。
(57) [Summary] [Object] To provide a program execution device capable of preventing the complexity when switching a plurality of software and reducing the cost of the entire device by eliminating circuit waste. [Structure] The program execution apparatus according to the present exemplary embodiment includes a program execution unit 10, a transfer program / data identification unit 11, a transfer source storage unit 12, a transfer destination storage unit 18, and a search program storage unit 23. Search program storage 2
The program execution unit 10 that has executed the search program stored in 3 stores only the program or data specified by the transfer program / data specifying unit 11 from the plurality of transferred programs or data.
2 is searched, and the searched program or data is transferred to the transfer destination storage unit 18 by executing the transfer program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ゲーム装置等におい
て、複数のプログラムやデータを適宜選択して実行する
ようにしたプログラム実行装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program execution device for a game device or the like, which selects and executes a plurality of programs and data as appropriate.

【0002】[0002]

【従来の技術】従来、家庭用ゲーム機は、プロセッサや
このプロセッサが使用する作業領域を形成するRAM等
のハードウエアからなるゲーム機本体と、このゲーム機
本体と電気的に接続されるROMカセットから構成され
ている。ROMカセットには、1種類のゲーム用ソフト
ウエアがゲーム用プログラムおよびこれに使用されるゲ
ーム用データとしてROMに格納されている。したがっ
て、利用者が複数種類のゲームを行いたい場合には、各
ゲーム用ソフトウエアが搭載されたROMカセットを用
意し、遊びたいゲームのROMカセットをゲーム機本体
のコネクタに差し込んで所望のゲーム用ソフトウエアを
実行すればよい。
2. Description of the Related Art Conventionally, a home-use game machine has a game machine body composed of a processor and hardware such as RAM forming a work area used by the processor, and a ROM cassette electrically connected to the game machine body. It consists of In the ROM cassette, one type of game software is stored in the ROM as a game program and game data used for the game program. Therefore, if the user wants to play multiple types of games, prepare a ROM cassette in which each game software is installed, insert the ROM cassette of the desired game into the connector of the game machine body, and Just run the software.

【0003】図15は、上述した家庭用ゲーム機で複数
種類のゲームを行う場合の概念図である。上述したよう
に、利用者が任意のROMカセットをゲーム機本体のコ
ネクタに挿入することにより、ゲーム機本体内のプロセ
ッサがROMカセット内のゲーム用プログラムおよびデ
ータを実行する。これにより、利用者は任意のゲームを
楽しむことができる。
FIG. 15 is a conceptual diagram when a plurality of types of games are played on the above-mentioned home-use game machine. As described above, when the user inserts an arbitrary ROM cassette into the connector of the game machine body, the processor in the game machine body executes the game program and data in the ROM cassette. This allows the user to enjoy any game.

【0004】また、従来の業務用ビデオゲーム機や飛行
機および各種乗り物の操縦シミュレータ等は、プログラ
ムやデータを格納するROMやRAM、および操縦桿や
操作レバーといった機構部分を含めたハードウエアと、
このハードウエアを使用するソフトウエアとが1対1に
対応していた。したがって、ソフトウエアを変更する場
合は、プログラムやデータといったソフトウエアが格納
されているROMを基板ごと取り替える必要があった。
In the conventional video game consoles for business use, airplanes and control simulators for various vehicles, ROM and RAM for storing programs and data, and hardware including mechanical parts such as control sticks and operating levers,
There was a one-to-one correspondence with software that uses this hardware. Therefore, when changing the software, it is necessary to replace the ROM storing the software such as programs and data for each board.

【0005】さらに、従来の業務用ビデオゲーム機の一
部には、1つの筐体内に別々に動作可能な複数のプログ
ラム基板を備えておいて、いずれかのプログラム基板を
選択して使用するものがあった。このような業務用ビデ
オゲーム機においては、プログラム基板以外の構成、す
なわち表示装置や操作パネル等の入出力回路のみが共用
化されている。したがって、利用者によって1つのゲー
ムが選択されると、該当するプログラム基板と入出力回
路とが電気的に接続されて、このプログラム基板による
ゲーム処理が実施されるようになっている。
Further, a part of the conventional commercial video game machine is provided with a plurality of program boards which can be operated separately in one housing, and one of the program boards is selected and used. was there. In such an arcade video game machine, the configuration other than the program board, that is, only the input / output circuits such as the display device and the operation panel are shared. Therefore, when one game is selected by the user, the corresponding program board and the input / output circuit are electrically connected, and the game processing by this program board is executed.

【0006】[0006]

【発明が解決しようとする課題】ところで、上述したR
OMカセットを用いた家庭用ゲーム機においては、複数
のゲームのソフトウエアを利用しようとするとソフトウ
エア毎にROMカセットを用意して取り替えなければな
らず、操作が煩雑であるとともに装置全体のコストがか
かるという問題点があった。
By the way, the above-mentioned R
In a home-use game machine using an OM cassette, in order to use software for a plurality of games, a ROM cassette must be prepared and replaced for each software, which complicates the operation and reduces the cost of the entire device. There was a problem of this.

【0007】また、上述したハードウエアとソフトウエ
アとが1対1に対応した業務用ゲーム機等においては、
ソフトウエアの交換を行うためには装置全体の改造に相
当する手間がかかるため、複数のソフトウエアを実行す
ることがほとんど不可能であった。
Further, in the above-mentioned arcade game machine or the like in which the hardware and the software are in a one-to-one correspondence,
Since exchanging software requires time and effort equivalent to remodeling the entire apparatus, it is almost impossible to execute plural pieces of software.

【0008】さらに、複数のプログラム基板を備えるこ
とにより複数のソフトウエアが実行可能な業務用のゲー
ム機においては、入出力装置以外の部分を各ソフトウエ
ア毎に備えていたため、重複した構成部分が多く、回路
に無駄があるという問題点があった。特に、3次元映像
のシミュレータ等では、その画像処理の複雑さや要求さ
れる処理速度から、かなり高価なハードウエアを必要と
するものである。
Further, in the arcade game machine capable of executing a plurality of software by having a plurality of program boards, the parts other than the input / output device are provided for each software, so that the duplicated components are In many cases, there was a problem that the circuit was wasted. Particularly, a simulator for a three-dimensional image requires considerably expensive hardware because of the complexity of image processing and the required processing speed.

【0009】そこで、本発明はこのような点に鑑みて創
作されたものであり、その目的は、複数のソフトウエア
を切り替える際の繁雑さを防止するとともに、回路の無
駄をなくして装置全体のコストを低減するようにしたプ
ログラム実行装置を提供することにある。
Therefore, the present invention was created in view of the above point, and an object thereof is to prevent complications when switching a plurality of software and to eliminate the waste of the circuit of the entire apparatus. An object is to provide a program execution device that reduces costs.

【0010】[0010]

【課題を解決するための手段】上述した課題を解決する
ために、本発明のプログラム実行装置は、複数の被転送
プログラムあるいはデータと、転送処理を行うための転
送用プログラムとを格納する転送元格納手段と、前記被
転送プログラムあるいはデータが転送されて転送プログ
ラムあるいはデータとして格納される転送先格納手段
と、前記転送元格納手段に格納された複数の被転送プロ
グラムあるいはデータの中から転送の対象となる1つあ
るいは複数のプログラムあるいはデータを特定する転送
プログラム・データ特定手段と、前記転送プログラム・
データ特定手段によって特定された転送すべき1つある
いは複数のプログラムあるいはデータを前記転送元格納
手段の格納領域を調べて検索する検索プログラムを格納
する検索プログラム格納手段と、前記検索プログラム格
納手段に格納された検索プログラムを実行することによ
り、前記転送プログラム・データ特定手段によって特定
された転送すべき1つあるいは複数のプログラムあるい
はデータを検索するとともに、前記転送元格納手段に格
納された転送用プログラムを実行することにより、検索
した1つあるいは複数のプログラムあるいはデータを前
記転送先格納手段に転送するプログラム実行手段と、を
備え、前記転送先格納手段に格納された転送後のプログ
ラムあるいはデータを用いて所定の処理を行うことを特
徴とする。
In order to solve the above-mentioned problems, a program execution apparatus of the present invention is a transfer source that stores a plurality of transferred programs or data and a transfer program for performing transfer processing. A storage means, a transfer destination storage means for transferring the transferred program or data and storing the transferred program or data as a transfer program or data, and a transfer target from a plurality of transferred programs or data stored in the transfer source storage means. Transfer program / data specifying means for specifying one or more programs or data to be
Stored in the search program storage means and a search program storage means for storing a search program for searching the storage area of the transfer source storage means for one or a plurality of programs or data specified by the data specification means to be transferred. By executing the retrieved program, one or more programs or data to be transferred identified by the transfer program / data identification means are retrieved, and the transfer program stored in the transfer source storage means is searched. Program execution means for transferring the retrieved one or more programs or data to the transfer destination storage means by executing the program or data after the transfer stored in the transfer destination storage means. It is characterized by performing a predetermined process.

【0011】[0011]

【作用】転送元格納手段には、複数の被転送データある
いはプログラムの少なくとも一方と転送用プログラムが
格納されており、転送プログラム・データ特定手段によ
って特定された1つあるいは複数のプログラムあるいは
データのみ(特定されるプログラムあるいはデータは、
プログラムとデータのいずれか一方のみの場合の他、プ
ログラムとデータの両方を同時に特定してもよい)が転
送先格納手段に転送される。
The transfer source storage means stores at least one of a plurality of transferred data or programs and a transfer program, and only one or a plurality of programs or data specified by the transfer program / data specifying means ( The specified program or data is
In addition to the case of only one of the program and the data, both the program and the data may be specified simultaneously) are transferred to the transfer destination storage means.

【0012】転送元格納手段から転送先格納手段に対し
てプログラムあるいはデータの転送を行う場合、プログ
ラム実行手段は、検索プログラム格納手段に格納された
検索プログラムを実行することにより、特定された1つ
あるいは複数のプログラムあるいはデータを検索する。
When a program or data is transferred from the transfer source storage means to the transfer destination storage means, the program execution means executes the search program stored in the search program storage means to identify the one specified. Alternatively, a plurality of programs or data are searched.

【0013】次に、プログラム実行手段は、転送元格納
手段に格納された転送用プログラムを実行する。そし
て、上述した検索動作によって検索された転送元格納手
段内の被転送プログラムあるいはデータを転送先格納手
段に転送する。
Next, the program execution means executes the transfer program stored in the transfer source storage means. Then, the transferred program or data in the transfer source storage means searched by the search operation described above is transferred to the transfer destination storage means.

【0014】このように、転送元格納手段に被転送プロ
グラムあるいはデータとともに転送用プログラムを格納
しておいて、転送すべきプログラムあるいはデータを検
索した後にこの転送用プログラムを実行して、転送先格
納手段へのプログラムあるいはデータの転送を行う。し
たがって、転送元格納手段に複数のソフトウエアに対応
するプログラムあるいはデータを格納しておいて、実行
したいもののみ転送先格納手段に転送し、この転送後の
プログラムあるいはデータを用いて処理を行うことによ
り、複数のソフトウエアに共通する転送先格納手段を用
いて複数のソフトウエアの実行が可能となる。
In this way, the transfer source storage means stores the transfer program together with the transferred program or data, and after the program or data to be transferred is searched, the transfer program is executed to store the transfer destination. Transfers programs or data to the means. Therefore, it is necessary to store programs or data corresponding to a plurality of software in the transfer source storage means, transfer only those to be executed to the transfer destination storage means, and perform processing using the transferred programs or data. As a result, it becomes possible to execute a plurality of software by using the transfer destination storage means common to the plurality of software.

【0015】本発明においては、複数のソフトウエアに
対応するデータあるいはプログラムを必要に応じて転送
先格納手段に転送した後にソフトウエアの実行が行われ
るため、複数のソフトウエアを切り替える際のハードウ
エアの取り換え等が不要となり、操作の繁雑さを回避す
ることができる。また、複数のソフトウエアを実行する
際に、共通した転送先格納手段を用いるため、ハードウ
エアの重複部分をなくして回路の無駄を省くことができ
る。さらに、転送先格納手段を用いてソフトウエアが実
行されるため、回路が必要以上に複雑化することがな
い。また、プログラムやデータ変更にROM変更を行う
場合でも、集約して行えるので便利である。
In the present invention, since the software is executed after the data or programs corresponding to the plurality of software are transferred to the transfer destination storage means as necessary, the hardware for switching the plurality of software It is not necessary to replace the above, and the complexity of the operation can be avoided. In addition, since a common transfer destination storage means is used when executing a plurality of software, it is possible to eliminate a redundant part of hardware and reduce circuit waste. Further, since the software is executed by using the transfer destination storing means, the circuit does not become unnecessarily complicated. Further, even when the ROM is changed to change the program or data, it is convenient because it can be done collectively.

【0016】[0016]

【実施例】以下、図面に基づいて本発明の実施例につい
て詳細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0017】(1)実施例の全体構成及び動作 図1は、本発明を適用した一実施例のプログラム実行装
置の概略構成を示す図である。同図には、家庭用・業務
用ビデオゲーム機あるいは飛行機および各種乗り物の操
縦シミュレータ等の部分的構成が示されている。
(1) Overall Configuration and Operation of Embodiment FIG. 1 is a diagram showing a schematic configuration of a program execution device of an embodiment to which the present invention is applied. This figure shows a partial configuration of a home / commercial video game machine or a flight simulator for airplanes and various vehicles.

【0018】同図に示すプログラム実行装置は、プログ
ラム実行部10,転送プログラム・データ特定部11,
転送元格納部12,転送先格納部18,検索プログラム
格納部23を含んで構成される。
The program execution apparatus shown in FIG. 1 includes a program execution unit 10, a transfer program / data identification unit 11,
The transfer source storage unit 12, the transfer destination storage unit 18, and the search program storage unit 23 are included.

【0019】プログラム実行部10は、中央処理装置
(CPU)で構成されるものであり、例えばゲーム用プ
ログラムあるいはデータを実行することにより所定のゲ
ーム演算を行う。
The program execution unit 10 is composed of a central processing unit (CPU), and executes a predetermined game calculation by executing a game program or data, for example.

【0020】転送元格納部12は、転送用プログラム1
4,被転送プログラム15,被転送データ16を格納す
る。被転送プログラム15及び被転送データ16は、複
数種類のソフトウエアのそれぞれに対応したプログラム
及びデータであり、ゲームやシミュレーション動作の種
類に対応した個数分設けられている。転送用プログラム
14は、この被転送プログラム15あるいは被転送デー
タ16の少なくとも一方を転送先格納部18内に転送す
るためのプログラムであり、複数の被転送プログラム1
5,被転送データ16のそれぞれに対応して複数個設け
られている。
The transfer source storage unit 12 stores the transfer program 1
4, the transferred program 15 and the transferred data 16 are stored. The transferred program 15 and the transferred data 16 are programs and data corresponding to each of a plurality of types of software, and are provided by the number corresponding to the type of game or simulation operation. The transfer program 14 is a program for transferring at least one of the transferred program 15 and the transferred data 16 into the transfer destination storage unit 18, and a plurality of transferred programs 1
5, a plurality of data are provided for each of the transferred data 16.

【0021】転送先格納部18は、上述した転送元格納
部12に格納されている被転送プログラム15及び被転
送データ16を転送後に格納するためのものである。転
送元格納部12から転送された被転送プログラム15及
び被転送データ16は、転送プログラム21及び転送デ
ータ22として転送先格納部18に格納される。また、
プログラムを転送する際には、これらに対応して転送用
プログラム14も転送されて転送先格納部18に転送用
プログラム20として格納される。
The transfer destination storage unit 18 is for storing the transferred program 15 and the transferred data 16 stored in the transfer source storage unit 12 after the transfer. The transferred program 15 and the transferred data 16 transferred from the transfer source storage unit 12 are stored in the transfer destination storage unit 18 as the transfer program 21 and the transfer data 22. Also,
At the time of transferring the program, the transfer program 14 is also transferred correspondingly and stored in the transfer destination storage unit 18 as the transfer program 20.

【0022】検索プログラム格納部23には、転送元格
納部12内に格納された複数の被転送プログラム15,
被転送データ16の中から転送対象となるプログラムあ
るいはデータを検索するための検索プログラムを格納す
るものである。この検索プログラムは、プログラム実行
部10によって読み出され実行される。
The search program storage unit 23 includes a plurality of transferred programs 15 stored in the transfer source storage unit 12,
A search program for searching for a program or data to be transferred from the transferred data 16 is stored. This search program is read and executed by the program execution unit 10.

【0023】転送プログラム・データ特定部11は、転
送元格納部12から転送先格納部18に転送すべき被転
送プログラム15,被転送データ16を特定する。特定
する方法としては、例えば、各プログラムやデータに数
字やアルファベット等からなる識別符号(ID)を割り
当てておいて、この識別符号を指定することにより行
う。また、特定するプログラムやデータは、1つあるい
は複数であってもよく、転送すべきプログラムとデータ
を同時に特定してもよい。
The transfer program / data specifying unit 11 specifies the transferred program 15 and the transferred data 16 to be transferred from the transfer source storage unit 12 to the transfer destination storage unit 18. As a method of specifying, for example, an identification code (ID) consisting of numbers or alphabets is assigned to each program or data, and the identification code is designated. Further, the number of programs and data to be specified may be one or more, and the programs and data to be transferred may be specified at the same time.

【0024】次に、このような構成を有する本実施例の
プログラム実行装置において、プログラムあるいはデー
タの転送を行う動作について説明する。なお、転送元格
納部12には予め複数のソフトウエアに対応した複数の
被転送プログラム15及び複数の被転送データ16が格
納されており、例えばプレーヤからの指示に応じて任意
のソフトウエアが選択されて、対応するプログラム及び
データのみが実行される場合を考える。
Next, the operation of transferring a program or data in the program execution apparatus of this embodiment having such a configuration will be described. It should be noted that the transfer source storage unit 12 stores a plurality of transferred programs 15 and a plurality of transferred data 16 corresponding to a plurality of software in advance. For example, arbitrary software is selected according to an instruction from the player. Then, consider the case where only the corresponding programs and data are executed.

【0025】まず、プログラム実行部10は、検索プロ
グラム格納部23に格納された検索プログラムを読出し
て実行することにより、転送プログラム・データ特定部
11によって特定された被転送プログラム15あるいは
被転送データ16を転送元格納部12から検索する。な
お、転送プログラム・データ特定部11によって特定さ
れる被転送プログラム15あるいは被転送データ16
は、1つであっても複数であってもよく、被転送プログ
ラム15と被転送データ16を同時に特定して検索する
ようにしてもよい。
First, the program execution unit 10 reads out and executes the search program stored in the search program storage unit 23 to thereby receive the transferred program 15 or the transferred data 16 specified by the transfer program / data specifying unit 11. From the transfer source storage unit 12. The transferred program 15 or the transferred data 16 specified by the transfer program / data specifying unit 11
May be one or plural, and the transferred program 15 and the transferred data 16 may be specified and searched at the same time.

【0026】次に、プログラム実行部10は、転送元格
納部12に格納されている転送用プログラム14を実行
することにより、上述した検索動作によって検索された
被転送プログラム15あるいは被転送データ16を転送
先格納部18内に転送プログラム21あるいは転送デー
タ22として格納する転送動作を行う。
Next, the program execution unit 10 executes the transfer program 14 stored in the transfer source storage unit 12 to retrieve the transferred program 15 or the transferred data 16 retrieved by the above-described retrieval operation. The transfer operation of storing the transfer program 21 or the transfer data 22 in the transfer destination storage unit 18 is performed.

【0027】その後、プログラム実行部10は、転送先
格納部18に転送して格納された転送プログラム21を
実行することにより、あるいは転送データ22を用いて
所定のプログラムを実行することにより、プレーヤが特
定したソフトウエアを実行する。
After that, the program execution unit 10 executes the transfer program 21 transferred to the transfer destination storage unit 18 and stored therein, or by executing a predetermined program using the transfer data 22, so that the player Execute the specified software.

【0028】なお、上述した転送用プログラム14は、
転送元格納部12に格納されているものを用いる場合の
他、転送するプログラムあるいはデータに対応させて転
送用プログラム14を用意しておいて、これら転送する
プログラムあるいはデータとともに対応する転送用プロ
グラム14も転送し、この転送用プログラム14の転送
が終了した後は、転送先格納部18に格納されたプログ
ラム(転送用プログラム20)を実行することにより残
りのプログラムあるいはデータを転送するようにしても
よい。
The transfer program 14 described above is
In addition to using the one stored in the transfer source storage unit 12, a transfer program 14 is prepared corresponding to the program or data to be transferred, and the transfer program 14 corresponding to the program or data to be transferred is also prepared. Also, after the transfer of the transfer program 14 is completed, the remaining program or data may be transferred by executing the program (transfer program 20) stored in the transfer destination storage unit 18. Good.

【0029】このように本実施例においては、転送元格
納部12に複数のソフトウエアに対応する複数の被転送
プログラム15あるいは被転送データ16を格納してお
いて、実行したいもののみを検索して転送先格納部18
に転送している。従って、プログラム実行部10は、転
送後に転送先格納部18に格納された転送プログラム2
1あるいは転送データ22を実行することにより所定の
ゲーム演算あるいはシミュレーション処理等を実行する
ことができる。
As described above, in the present embodiment, the transfer source storage unit 12 stores a plurality of transferred programs 15 or transferred data 16 corresponding to a plurality of software, and searches only the one to be executed. Transfer destination storage unit 18
Have transferred to. Therefore, the program execution unit 10 uses the transfer program 2 stored in the transfer destination storage unit 18 after the transfer.
By executing 1 or the transfer data 22, it is possible to execute a predetermined game calculation or simulation process.

【0030】このため、複数のソフトウエアを選択的に
実行する場合であっても、転送元格納部12から転送先
格納部18に転送するプログラムあるいはデータのみを
再転送するだけでよく、ソフトウエアを切り替える際の
繁雑さを防止することができる。また、プログラム実行
部10は共通する転送先格納部18に格納された転送プ
ログラム・データのみを実行すればよいため、重複する
回路構成を最少限に抑えることができ、回路の無駄をな
くすることができる。
Therefore, even when a plurality of pieces of software are selectively executed, only the program or data to be transferred from the transfer source storage section 12 to the transfer destination storage section 18 need be retransferred. It is possible to prevent complexity when switching between. Further, since the program execution unit 10 only needs to execute the transfer program data stored in the common transfer destination storage unit 18, it is possible to minimize the overlapping circuit configuration and eliminate the waste of the circuit. You can

【0031】(2)ドライビングシミュレータに適用し
た場合の具体的構成 図2は、図1に示したプログラム実行装置をドライビン
グシミュレータに適用した場合の当該シミュレータの具
体的構成を示す図である。同図に示すシミュレータは、
CPUボード24,ROMボード26,CPUボード2
8,DSPボード30,PGN(ポリゴン)ボード3
2,OBJ(オブジェクト)ボード34,CRT(陰極
線管)36,I/O CPUボード38を含んで構成さ
れる。
(2) Specific Structure When Applied to Driving Simulator FIG. 2 is a diagram showing a specific structure of the simulator when the program execution device shown in FIG. 1 is applied to a driving simulator. The simulator shown in the figure is
CPU board 24, ROM board 26, CPU board 2
8, DSP board 30, PGN (polygon) board 3
2, an OBJ (object) board 34, a CRT (cathode ray tube) 36, and an I / O CPU board 38.

【0032】CPUボード24は、本シミュレータにお
いてキャラクタの座標計算や行動パターンの設定等の演
算を行うものである。例えば、対向車として複数の車両
が登場する教習用のドライビングシミュレータにおいて
は、このCPUボード24によって、ハンドルデー
タ,アクセル,ブレーキ等の実際にプレーヤの車両を走
らせる処理及びこの車両の絶対座標空間上の座標計算、
対向車の制御及び対向車の絶対座標空間上の座標計算
等を行う。
The CPU board 24 performs calculations such as character coordinate calculation and action pattern setting in this simulator. For example, in a driving simulator for learning in which a plurality of vehicles appear as oncoming vehicles, the CPU board 24 causes the processing such as steering wheel data, accelerator, and brake to actually run the vehicle of the player and the absolute coordinate space of this vehicle. Coordinate calculation of
Controls oncoming vehicles and calculates coordinates of oncoming vehicles in absolute coordinate space.

【0033】図3は、このCPUボード24の詳細な構
成を示す図である。同図に示すCPUボード24は、C
PU40,リセット回路42,I/Oポート44,BO
OTROM46,WORK RAM47,PROG R
AM48,バックアップRAM49,共有RAM50,
通信IC52を含んで構成される。
FIG. 3 is a diagram showing a detailed structure of the CPU board 24. The CPU board 24 shown in FIG.
PU 40, reset circuit 42, I / O port 44, BO
OTROM46, WORK RAM47, PROGR
AM48, backup RAM49, shared RAM50,
It is configured to include a communication IC 52.

【0034】CPU40は、例えば16ビットCPUで
あり、BOOT ROM46あるいはPROG RAM
48に格納されているプログラムを読み出して実行する
ことにより所定の処理を行う。
The CPU 40 is, for example, a 16-bit CPU, and has a BOOT ROM 46 or a PROG RAM.
Predetermined processing is performed by reading and executing the program stored in 48.

【0035】このBOOT ROM46は、CPU40
がPROG RAM48に所定のシミュレーションデー
タおよびプログラムをきちんと転送するために、その動
作環境を整えるためのさしあたってのプログラムを転送
するプログラムのROM62上のアドレスを検索する検
索プログラムを格納する。上述したように、この検索プ
ログラムはCPU40によって読み出され実行される。
The BOOT ROM 46 is the CPU 40
Stores in PROG RAM 48 a search program for searching the address on the ROM 62 of the program for transferring the program for the time being in order to properly transfer the predetermined simulation data and the program in order to properly transfer the program. As described above, this search program is read and executed by the CPU 40.

【0036】WORK RAM47は、ROMボード2
6内のROM62に格納された複数のシミュレーション
用ソフトウエアの番号と、各ソフトウエアが格納された
ROM62のアドレスとの対応を表す対照表を格納す
る。
The WORK RAM 47 is the ROM board 2
6 stores a comparison table showing the correspondence between the numbers of the plurality of simulation software stored in the ROM 62 and the addresses of the ROM 62 in which each software is stored.

【0037】PROG RAM48は、検索プログラム
を実行することにより検索されたプログラム(シミュレ
ーションプログラム)を転送して格納するためのメモリ
であり、このPROG RAM48に格納されたプログ
ラムを読み出してCPU40が実行することにより、所
定のシミュレーション演算が行われる。なお、このシミ
ュレーションプログラムは、マスターとして機能するC
PU40を動作させるためのものであり、教習用ドライ
ビングシミュレータの場合には、走行場面や走行条件の
設定の他、教習のストーリー全体を制御する機能を含ん
でいる。
The PROG RAM 48 is a memory for transferring and storing a program (simulation program) retrieved by executing the retrieval program. The program stored in the PROG RAM 48 is read and executed by the CPU 40. Thus, a predetermined simulation calculation is performed. Note that this simulation program is a C that functions as a master.
This is for operating the PU 40, and in the case of the driving simulator for learning, it includes a function of controlling the entire story of learning as well as setting the driving scene and driving conditions.

【0038】バックアップRAM49は、このシミュレ
ータが以前に動作したときの最後のソフトウエア番号を
格納しておくためのものであり、不揮発性メモリ(EE
PROM等)で構成される。即ち、使用するソフトウエ
アを変更するごとにそのソフトウエア番号がこのバック
アップRAM49に格納され、電源切断時にはその内容
が保持される。従って、次にバックアップRAM49の
内容を読み出すことにより、以前に動作していたソフト
ウエアを知ることができる。
The backup RAM 49 is for storing the last software number when this simulator was operated before, and is a non-volatile memory (EE).
PROM). That is, every time the software to be used is changed, the software number is stored in the backup RAM 49, and the contents are retained when the power is turned off. Therefore, by reading the contents of the backup RAM 49 next time, the software that was operating before can be known.

【0039】共有RAM50は、CPU40とCPUボ
ード28内の後述するCPU54との間で相互に演算結
果等のデータのやりとりを行うためのものであり、例え
ばデュアルポートRAMで構成されている。
The shared RAM 50 is used for exchanging data such as calculation results between the CPU 40 and a CPU 54, which will be described later, in the CPU board 28, and is composed of, for example, a dual port RAM.

【0040】リセット回路42は、本シミュレータ装置
の起動時にCPU40に対してリセット信号を入力す
る。このリセット信号がCPU40に入力されると,C
PU40はBOOT ROM46に格納された検索プロ
グラムの読み出しおよび実行を行うようになっている。
The reset circuit 42 inputs a reset signal to the CPU 40 when the simulator device is activated. When this reset signal is input to the CPU 40, C
The PU 40 is adapted to read and execute the search program stored in the BOOT ROM 46.

【0041】I/Oポート44は、CPU28内の後述
するCPU54に対してリセット信号を出力するための
ものある。CPU40からI/Oポート44に対して所
定のデータあるいはアドレスが入力されると、I/Oポ
ート44からはリセット信号が出力されるようになって
いる。
The I / O port 44 is for outputting a reset signal to a CPU 54 in the CPU 28, which will be described later. When a predetermined data or address is input from the CPU 40 to the I / O port 44, a reset signal is output from the I / O port 44.

【0042】通信IC52は、I/O CPUボード3
8との間で所定の通信データの入出力を行うためのもの
である。このやりとりされる通信データの詳細について
は後述する。
The communication IC 52 is the I / O CPU board 3
This is for inputting / outputting predetermined communication data to / from. Details of the exchanged communication data will be described later.

【0043】上述したCPU40は、I/Oポート4
4,BOOT ROM46,WORKRAM47,PR
OG RAM48,バックアップRAM49,共有RA
M50,通信IC52とアドレスバス40aおよびデー
タバス40dを介して接続されている。また、共有RA
M50は、CPUボード28内の後述するCPU54と
アドレバス54aおよびデータバス54dを介して接続
されている。
The CPU 40 described above uses the I / O port 4
4, BOOT ROM46, WORKRAM47, PR
OG RAM 48, backup RAM 49, shared RA
It is connected to the M50 and the communication IC 52 via the address bus 40a and the data bus 40d. Also, shared RA
The M50 is connected to a later-described CPU 54 in the CPU board 28 via an address bus 54a and a data bus 54d.

【0044】また、図2に示すCPUボード28は、主
にDSPボード30,PGNボード32,OBJボード
34を制御することによりCRT36に対する映像出力
の制御を行うためのものであり、CPUボード24内の
I/Oポート44から出力されるリセット信号が解除さ
れたときに動作を開始するようになっている。
The CPU board 28 shown in FIG. 2 mainly controls the DSP board 30, the PGN board 32, and the OBJ board 34 to control the video output to the CRT 36. The operation is started when the reset signal output from the I / O port 44 is released.

【0045】図4は、このCPUボード28の詳細な構
成を示す図である。同図に示すCPUボード28は、C
PU54,I/Oポート56,BOOT ROM58,
WORK RAM59,PROG RAM60を含んで
構成される。
FIG. 4 is a diagram showing a detailed configuration of the CPU board 28. The CPU board 28 shown in FIG.
PU 54, I / O port 56, BOOT ROM 58,
It is configured to include a WORK RAM 59 and a PROG RAM 60.

【0046】CPU54は、例えば32ビットCPUで
構成されている。一般には画像処理用に膨大なデータ処
理が必要となるため、このCPU54は上述したCPU
ボード24内のCPU40に比べて高性能なものが使用
される。このCPU54は、それ以外の構成、すなわち
I/Oポート56,BOOT ROM58,WORKR
AM59,PROG RAM60とアドレスバス54a
およびデータバス54dを介して接続されており、デー
タやアドレスの入出力が可能となっている。また、CP
U54にはCPUボード24内のI/Oポート44から
出力されるリセット信号が入力される。したがって、こ
のリセット信号が入力されている間はCPU54は動作
せず、このリセット信号が解除されたときに初めてCP
U54は動作を開始する。
The CPU 54 is composed of, for example, a 32-bit CPU. In general, enormous amount of data processing is required for image processing. Therefore, the CPU 54 is the CPU described above.
A CPU having a higher performance than that of the CPU 40 in the board 24 is used. The CPU 54 has a structure other than that, that is, an I / O port 56, a BOOT ROM 58, and a WORKR.
AM59, PROG RAM60 and address bus 54a
And a data bus 54d, so that data and addresses can be input and output. Also, CP
A reset signal output from the I / O port 44 in the CPU board 24 is input to U54. Therefore, the CPU 54 does not operate while the reset signal is input, and the CP 54 is not activated until the reset signal is released.
U54 starts operation.

【0047】BOOT ROM58は、上述したCPU
ボード24内のBOOT ROM46に対応するもので
あり、ROMボード26内の後述するROM62に格納
されている所定のシミュレーション用プログラムおよび
データをきちんと転送するためにその動作環境を整える
ためのさしあたってのプログラムを転送するためのプロ
グラムを検索する検索プログラムを格納する。
The BOOT ROM 58 is the CPU described above.
The program corresponds to the BOOT ROM 46 in the board 24, and is a program for the time being to prepare an operating environment for properly transferring a predetermined simulation program and data stored in a ROM 62 described later in the ROM board 26. Store a search program to search for a program to transfer.

【0048】WORK RAM59は、ROMボード2
6内のROM62に格納された複数のシミュレーション
用ソフトウエアの番号と、各ソフトウエアが格納された
ROM62のアドレスとの対応を表す対照表を格納す
る。
The WORK RAM 59 is the ROM board 2
6 stores a comparison table showing the correspondence between the numbers of the plurality of simulation software stored in the ROM 62 and the addresses of the ROM 62 in which each software is stored.

【0049】PROG RAM60は、CPU54がB
OOT ROM58内の検索プログラムを実行すること
により検索した所定のシミュレーション用プログラムを
転送する際にその格納先となるものである。シミュレー
ション用プログラムをPROG RAM60に格納した
後は、CPU54はこの格納されたプログラムを読み出
して所定のシミュレーション処理を行う際の映像出力の
制御を行う。なお、このシミュレーションプログラム
は、CPU54をCPU40のスレーブ側CPUとして
動作させるためのものであり、教習用ドライビングシミ
ュレータの場合には、登場する自動車、人間の行動パタ
ーン等個々の動きを制御する機能を含んでいる。
In the PROG RAM 60, the CPU 54 is B
This is a storage destination when a predetermined simulation program searched by executing the search program in the OOT ROM 58 is transferred. After storing the simulation program in the PROG RAM 60, the CPU 54 reads out the stored program and controls the video output when performing a predetermined simulation process. It should be noted that this simulation program is for operating the CPU 54 as a slave CPU of the CPU 40, and in the case of a training driving simulator, includes a function of controlling individual movements such as an appearing automobile and a human action pattern. I'm out.

【0050】I/Oポート56は、CPU54から所定
のアドレスあるいはデータが入力された際にDSPボー
ド30内の後述するDSP(デジタル信号処理装置)6
4に対してリセット信号を出力する。
The I / O port 56 is a DSP (digital signal processing device) 6 to be described later in the DSP board 30 when a predetermined address or data is input from the CPU 54.
The reset signal is output to No. 4.

【0051】また、図2に示すROMボード26は、複
数のゲームに対応した全てのソフトウエアを格納するた
めのものであり、上述したCPUボード24およびCP
Uボード28のどちらからもアクセス可能となってい
る。
The ROM board 26 shown in FIG. 2 is for storing all the software corresponding to a plurality of games, and includes the CPU board 24 and the CP described above.
It is accessible from both of the U boards 28.

【0052】図5は、このROMボード26の詳細な構
成を示す図である。同図に示すROMボード26は、2
系統の入出力端子を有するデュアルポート構成のROM
62を含んで構成される。
FIG. 5 is a diagram showing a detailed structure of the ROM board 26. The ROM board 26 shown in FIG.
Dual port ROM with system input / output terminals
62 is included.

【0053】ROM62は、CPUボード24内のCP
U40に接続されたアドレスバス40aおよびデータバ
ス40dにバス接続されているとともに、CPUボード
28内のCPU54に接続されたアドレスバス54aお
よびデータバス54dにバス接続されている。例えば、
このROM62は、それぞれが6画面分の表示データを
含む複数種類のシミュレーション用ソフトウエアを格納
するためのものであり、32Mバイトの容量を有する。
このように大容量を有するROM62は、一般には複数
の素子を用いて構成される。
The ROM 62 is a CP in the CPU board 24.
The bus is connected to the address bus 40a and the data bus 40d connected to the U40, and also to the address bus 54a and the data bus 54d connected to the CPU 54 in the CPU board 28. For example,
The ROM 62 is for storing a plurality of types of simulation software each including display data for 6 screens, and has a capacity of 32 Mbytes.
The ROM 62 having such a large capacity is generally composed of a plurality of elements.

【0054】図6は、ROM62を複数の素子を用いて
構成した場合の具体例を示す図である。同図において、
ROM62−1L〜62−16Lおよび62−1U〜6
2−16Uのそれぞれは、1Mビット,2Mビットある
いは4MビットのROMであり、それぞれが8ビットの
データ構成を有している。したがって、本実施例のよう
に16ビットのCPU40,54によって16ビットの
データを扱う場合には、これらのROMを2つずつ組み
合わせて同時にアクセスするようにしている。
FIG. 6 is a diagram showing a specific example in the case where the ROM 62 is constructed by using a plurality of elements. In the figure,
ROM 62-1L to 62-16L and 62-1U to 6
Each of 2-16U is a ROM of 1M bit, 2M bit or 4M bit, and each has a data structure of 8 bits. Therefore, when handling 16-bit data by the 16-bit CPUs 40 and 54 as in the present embodiment, two of these ROMs are combined and accessed simultaneously.

【0055】図6に示した構成においては、「L」が付
されたROMに16ビットデータ中の下位8ビットを格
納し、「U」が付されたROMには16ビットデータ中
の上位8ビットを格納する。具体的には、ROM62−
1を例にとると、ROM62−1Lに16ビットデータ
中の下位8ビットを格納し、ROM62−1Uにそれ以
外の上位8ビットを格納する。そして、CPU40ある
いは54によってROM62をアクセスする場合には、
これら2つのROM62−1L,62−1Uを同時にア
クセスすることにより、16ビットデータの読み書きを
行う。
In the configuration shown in FIG. 6, the lower 8 bits of the 16-bit data are stored in the ROM marked "L", and the upper 8 bits of the 16-bit data are stored in the ROM marked "U". Store a bit. Specifically, the ROM 62-
Taking 1 as an example, the lower 8 bits of 16-bit data are stored in the ROM 62-1L, and the other upper 8 bits are stored in the ROM 62-1U. When the ROM 62 is accessed by the CPU 40 or 54,
By simultaneously accessing these two ROMs 62-1L and 62-1U, 16-bit data is read and written.

【0056】また、図2に示すDSPボード30は、表
示画面毎の3次元表示物体の透視変換等の座標変換等の
データ処理を行うものであり、CPUボード28内のI
/Oポート56から出力されるリセット信号が解除され
たときに動作を開始するようになっている。
Further, the DSP board 30 shown in FIG. 2 performs data processing such as coordinate conversion such as perspective conversion of a three-dimensional display object for each display screen.
The operation is started when the reset signal output from the / O port 56 is released.

【0057】図7は、このDSPボード30の詳細な構
成を示す図である。同図に示すDSPボード30は、D
SP64,BOOT ROM66,PROG RAM6
8,共有RAM70,ポイントRAM72を含んで構成
される。なお、本実施例のシミュレータにおいては、1
つのシミュレーションソフトウエアにおいて6つの表示
画面が使われており、このDSPボード30も表示画面
の数に対応させて各表示画面毎に6枚備わっているもの
とする。この点についてはPGNボード32,OBJボ
ード34およびCRT36についても同様である。例え
ば、プレーヤが自己の車両を操作するシミュレーション
ソフトウエアにおいては、車両の前面(フロントガラ
ス),左右側面,左右サイドミラー内,バックミラー内
の合計6画面の表示を行う場合が考えられる。
FIG. 7 is a diagram showing a detailed configuration of the DSP board 30. The DSP board 30 shown in FIG.
SP64, BOOT ROM66, PROG RAM6
8, shared RAM 70, and point RAM 72. In the simulator of this embodiment,
Six display screens are used in one simulation software, and it is assumed that the DSP board 30 also has six display screens corresponding to the number of display screens. This also applies to the PGN board 32, the OBJ board 34, and the CRT 36. For example, in simulation software in which a player operates his / her own vehicle, it is possible to display a total of 6 screens on the front surface (front glass) of the vehicle, the left and right side surfaces, the left and right side mirrors, and the rear mirror.

【0058】DSP64は、例えば16ビットで構成さ
れる画像データを処理するためのものである。また、D
SP64にはCPUボード28内のI/Oポート56か
ら出力されるリセット信号が入力される。したがって、
このリセット信号が入力されている間はDSP64は動
作せず、このリセット信号が解除されたときに初めてD
SP64は動作を開始する。
The DSP 64 is for processing image data composed of 16 bits, for example. Also, D
The reset signal output from the I / O port 56 in the CPU board 28 is input to the SP 64. Therefore,
While this reset signal is being input, the DSP 64 does not operate, and when this reset signal is released D
SP64 starts operation.

【0059】BOOT ROM66は、DSP64がD
SPボード30を初期化するためのプログラムが格納さ
れており、本発明の趣旨とは関係ないので、詳細な説明
は省略する。
In the BOOT ROM 66, the DSP 64 is D
Since a program for initializing the SP board 30 is stored and has nothing to do with the gist of the present invention, detailed description thereof will be omitted.

【0060】PROG RAM68は、各表示画面の3
次元表示物体の頂点座標等を演算するプログラム(ポイ
ントRAM72に転送される初期データを含む)を格納
するためのものであり、デュアルポートRAMによって
構成されている。このプログラムは、CPUボード28
内のCPU54によってROMボード26内のROM6
2から転送されるものである。
The PROG RAM 68 has three display screens.
The dual port RAM is used to store a program (including initial data transferred to the point RAM 72) that calculates the vertex coordinates and the like of the three-dimensional display object. This program is CPU board 28
ROM 6 in the ROM board 26 by the CPU 54 in the
It is transferred from 2.

【0061】共有RAM70は、DSP64とCPUボ
ード28内のCPU54とが別々にアクセス可能なデュ
アルポートRAMで構成されており、これらのプロセッ
サ間のデータのやりとりに使用される。
The shared RAM 70 is composed of a dual port RAM which the DSP 64 and the CPU 54 in the CPU board 28 can separately access, and is used for exchanging data between these processors.

【0062】ポイントRAM72は、ポリゴン処理に必
要な3次元表示物体の透視変換される前のX,Y,Z座
標を格納するためのものである。このポイントRAM7
2には、シミュレータ起動時あるいはリセット時にはP
ROG RAM68に転送された初期データが転送され
る。
The point RAM 72 is for storing the X, Y, Z coordinates of the three-dimensional display object before perspective transformation, which are necessary for polygon processing. This point RAM7
2 is P when the simulator is started or reset
The initial data transferred to the ROG RAM 68 is transferred.

【0063】上述したDSP64は、それ以外の構成、
すなわちBOOT ROM66,PROG RAM6
8,共有RAM70,ポイントRAM72とアドレスバ
ス64aおよびデータバス64dを介して接続されてお
り、データやアドレスの入出力が可能となっている。ま
た、PROG RAM68および共有RAM70は、上
述したCPU54に接続されたアドレスバス54a,デ
ータバス54bに接続されており、データやアドレスの
入出力が可能になっている。
The above-described DSP 64 has a configuration other than that,
That is, BOOT ROM 66, PROG RAM 6
8. The shared RAM 70 and the point RAM 72 are connected to each other via the address bus 64a and the data bus 64d so that data and addresses can be input / output. Further, the PROG RAM 68 and the shared RAM 70 are connected to the address bus 54a and the data bus 54b connected to the CPU 54 described above, and are capable of inputting / outputting data and addresses.

【0064】また、図2に示すPGNボード32は、上
述したDSPボード30によって計算された3次元表示
物体の透視変換されたX,Y,Z座標をもとにポリゴン
処理を行うためのものである。
The PGN board 32 shown in FIG. 2 is for performing polygon processing based on the perspective-transformed X, Y, Z coordinates of the three-dimensional display object calculated by the DSP board 30 described above. is there.

【0065】図8は、このPGNボード32の詳細な構
成を示す図である。同図に示すPGNボード32は、ポ
リゴン処理回路74,ラインRAM76,ポイントRA
M78,ラインバッファ80を含んで構成される。
FIG. 8 is a diagram showing a detailed configuration of the PGN board 32. The PGN board 32 shown in the figure includes a polygon processing circuit 74, a line RAM 76, and a point RA.
It is configured to include an M78 and a line buffer 80.

【0066】ポリゴン処理回路74は、DSPボード3
0から供給されるポリゴンの各頂点座標及び付随データ
に基づいて輪郭線の演算やこの輪郭線と表示用走査線の
交点座標の演算を行い、演算した交点間を所定の色デー
タで塗りつぶす処理を行う。
The polygon processing circuit 74 is connected to the DSP board 3
The calculation of the contour line and the intersection coordinates of the contour line and the scanning line for display are performed based on the vertex coordinates of the polygon and the accompanying data supplied from 0, and the processing is performed to paint the space between the calculated intersection points with predetermined color data. To do.

【0067】ラインRAM76は、シミュレーション動
作の開始時に各表示画面に表示される3次元表示物体の
ポリゴン毎の輪郭線データを格納するためのものであ
る。また、ポリゴン処理回路74によってポリゴンの新
たな輪郭線が演算された後は、この演算された輪郭線デ
ータがラインRAM76に格納される。
The line RAM 76 is for storing contour line data for each polygon of the three-dimensional display object displayed on each display screen at the start of the simulation operation. Further, after the new contour line of the polygon is calculated by the polygon processing circuit 74, the calculated contour line data is stored in the line RAM 76.

【0068】ポイントRAM78は、ポリゴン毎の輪郭
線演算に必要な座標データを格納し、ポリゴン処理回路
74のワークエリアとして働く。
The point RAM 78 stores the coordinate data necessary for the contour line calculation for each polygon and functions as a work area for the polygon processing circuit 74.

【0069】ラインバッファ80は、ポリゴン処理回路
74によって演算された交点間の色データを走査線単位
で格納するためのものである。このラインバッファ80
に格納されたデータは、表示データとしてOBJボード
34内の後述するパレットコントローラ94に向け出力
される。
The line buffer 80 is for storing the color data between the intersections calculated by the polygon processing circuit 74 in scanning line units. This line buffer 80
The data stored in is output to the pallet controller 94, which will be described later, in the OBJ board 34 as display data.

【0070】また、図2に示すOBJボード34は、実
際にCRT36に表示する表示物体のデータを画素単位
で作成するためのものである。
The OBJ board 34 shown in FIG. 2 is for creating data of a display object to be actually displayed on the CRT 36 in pixel units.

【0071】図9は、このOBJボード34の詳細な構
成を示す図である。同図に示すOBJボード34は、描
画コントローラ82,OBJ RAM84,CG RA
M86,CG ROM88,フレームバッファ90,表
示コントローラ92,パレットコントローラ94,パレ
ットRAM96,ラッチ98,D/Aコンバータ100
を含んで構成される。
FIG. 9 is a diagram showing a detailed structure of the OBJ board 34. The OBJ board 34 shown in the figure includes a drawing controller 82, an OBJ RAM 84, and a CG RA.
M86, CG ROM 88, frame buffer 90, display controller 92, palette controller 94, palette RAM 96, latch 98, D / A converter 100
It is configured to include.

【0072】描画コントローラ82は、OBJ RAM
84に格納されたデータを読み出し、この読み出したデ
ータに基づいてCG RAM86あるいはCG ROM
88のアドレス指定を行う。OBJ RAM84には2
次元表示物体の座標データおよびこの表示物体に対応し
たCG(キャラクタ・ジェネレータ)コードが格納され
ており、描画コントローラ82によって標示画面内の所
定位置のCGコードが読み出されるようになっている。
そして、このCGコードはCG RAM86あるいはC
G ROM88にアドレスとして入力されており、これ
らCG RAM86あるいはCG ROM88からは対
応するCGデータが出力される。
The drawing controller 82 is an OBJ RAM.
The data stored in 84 is read, and the CG RAM 86 or CG ROM is read based on the read data.
Address 88. 2 in OBJ RAM84
The coordinate data of the three-dimensional display object and the CG (character generator) code corresponding to this display object are stored, and the drawing controller 82 reads the CG code at a predetermined position in the marking screen.
And this CG code is CG RAM86 or C
The address is input to the G ROM 88, and the corresponding CG data is output from the CG RAM 86 or the CG ROM 88.

【0073】フレームバッファ90は、表示画面全体の
画像データをドット単位で格納するためのものである。
フレームバッファ90に表示データを格納する場合に
は、上述した描画コントローラ82から出力される描画
アドレスによってアドレス指定を行い、表示コントロー
ラ92から出力される描画データを当該アドレスに格納
する。また、フレームバッファ90からデータの読み出
しを行う場合には、表示コントローラ92から出力され
る表示アドレスによってアドレス指定を行い、当該アド
レスに格納されたデータを表示データとして読み出す。
The frame buffer 90 is for storing the image data of the entire display screen in dot units.
When the display data is stored in the frame buffer 90, the address is specified by the drawing address output from the drawing controller 82 described above, and the drawing data output from the display controller 92 is stored in the address. Further, when reading data from the frame buffer 90, addressing is performed by the display address output from the display controller 92, and the data stored at the address is read as display data.

【0074】パレットコントローラ94は、フレームバ
ッファ90から読み出した2次元表示物体の表示データ
とPGNボード32内のラインバッファ80から入力さ
れる3次元表示物体の表示データの中で優先度の高いも
のを選択的に出力する。パレットRAM96は、パレッ
トコントローラ94から出力される表示データがアドレ
スとして入力されており、この入力される表示データに
対応する実際の色データを出力する。
The palette controller 94 displays the display data of the two-dimensional display object read from the frame buffer 90 and the display data of the three-dimensional display object input from the line buffer 80 in the PGN board 32, which has the highest priority. Output selectively. The palette RAM 96 receives display data output from the palette controller 94 as an address, and outputs actual color data corresponding to the input display data.

【0075】ラッチ98は、パレットRAM96から出
力される色データを一時保持した後D/Aコンバータ1
00に向けてこの保持したデータを入力する。D/Aコ
ンバータ100は入力された色データをRGB信号に変
換するためのものであり、変換後のRGB信号は、表示
コントローラ92から出力される同期信号とともに図2
に示すCRT36に向け出力される。従って、OBJボ
ード34に接続されたCRT36からは、シミュレーシ
ョン動作の進行に応じた2次元及び3次元表示物体が表
示される。
The latch 98 temporarily holds the color data output from the palette RAM 96, and then the D / A converter 1
The held data is input to 00. The D / A converter 100 is for converting the input color data into an RGB signal, and the converted RGB signal together with the synchronization signal output from the display controller 92 are shown in FIG.
Is output to the CRT 36 shown in FIG. Therefore, the CRT 36 connected to the OBJ board 34 displays two-dimensional and three-dimensional display objects according to the progress of the simulation operation.

【0076】また、図2に示すI/O CPUボード3
8は、プレーヤからの操作指示に関するデータ処理を行
うためのものであり、プレーヤの操作に応じたデータを
CPUボード24に送るようになっている。
The I / O CPU board 3 shown in FIG.
Reference numeral 8 is for performing data processing relating to an operation instruction from the player, and is adapted to send data according to the operation of the player to the CPU board 24.

【0077】図10は、このI/O CPUボード38
の詳細な構成を示す図である。同図に示すI/O CP
Uボード38は、CPU102,リセット回路104,
PROG ROM106,RAM108,I/Oポート
110,通信IC112,操作パネル114を含んで構
成される。
FIG. 10 shows the I / O CPU board 38.
It is a figure which shows the detailed structure of. I / O CP shown in the figure
The U board 38 includes a CPU 102, a reset circuit 104,
It includes a PROG ROM 106, a RAM 108, an I / O port 110, a communication IC 112, and an operation panel 114.

【0078】CPU102は、16ビットCPUで構成
されている。このCPU102は、入力データを処理す
るためにのみ用いられるものであるため比較的内容は単
純であり、上述したCPU40,54に比べて比較的低
速のものが用いられる。このCPU102は、PROG
ROM106,PROG RAM108,I/Oポー
ト110,通信IC112とアドレスバス102aおよ
びデータバス102dを介して接続されており、データ
やアドレスの入出力が可能となっている。また、CPU
102には、リセット回路104から出力されるリセッ
ト信号が入力されており、動作開始時にこのリセット信
号によってリセットされる。
The CPU 102 is composed of a 16-bit CPU. Since the CPU 102 is used only for processing the input data, its content is relatively simple, and a CPU having a relatively low speed is used as compared with the CPUs 40 and 54 described above. This CPU 102 is a PROG
It is connected to the ROM 106, PROG RAM 108, I / O port 110, communication IC 112 via the address bus 102a and the data bus 102d, and can input / output data and addresses. Also, CPU
The reset signal output from the reset circuit 104 is input to 102, and is reset by this reset signal when the operation is started.

【0079】PROG ROM106は、CPU102
が動作するためのプログラムおよびデータを予め記憶し
ている。また、PROG RAM108は、CPU10
2が動作するための作業領域となるものである。
The PROG ROM 106 is the CPU 102.
Stores in advance programs and data for operating. Further, the PROG RAM 108 is the CPU 10
2 serves as a work area for operating.

【0080】I/Oポート110は、操作パネル114
との間でデータの入出力を行うためのものである。この
I/Oポート110は、アドレスバス102aを介して
所定のアドレスが入力されたときに、データバス102
dを介して入力されるデータを取り込んで操作パネル1
14側に出力する。あるいは、このI/Oポート110
は、アドレスバス102a介して所定のアドレスが入力
されたときに、操作パネル114側から入力されるデー
タを取り込んでデータバス102dにこの取り込んだデ
ータを出力する。
The I / O port 110 has an operation panel 114.
It is for inputting / outputting data between and. The I / O port 110 is used for the data bus 102 when a predetermined address is input via the address bus 102a.
Operation panel 1 that captures data input via d
Output to the 14 side. Alternatively, this I / O port 110
When a predetermined address is input via the address bus 102a, the input data is input from the operation panel 114 side and is output to the data bus 102d.

【0081】操作パネル114は、テンキースイッチお
よび7セグメントのLEDを含んで構成されており、テ
ンキースイッチによってプレーヤからの指示を受け付け
ることができるとともに、LEDによってプレーヤに対
して現在の操作状況を表示することができることになっ
ている。
The operation panel 114 includes a ten-key switch and a 7-segment LED. The ten-key switch can receive an instruction from the player, and the LED displays the current operation status to the player. It is supposed to be possible.

【0082】通信IC112は、I/O CPUボード
38とCPUボード24との間でデータの入出力を行う
インタフェースとなるものである。CPU102は、操
作パネル114のテンキースイッチの操作状況を読み取
った後、通信IC112を介してCPUボード24にこ
の操作状況に応じたデータを送る。また、CPU102
は、CPUボード24から送られてくる操作指示等に関
するデータを通信IC112を介して受け取った後、I
/Oポート110を介して操作パネル114内のLED
に所定の表示を行う。
The communication IC 112 serves as an interface for inputting / outputting data between the I / O CPU board 38 and the CPU board 24. After reading the operation status of the ten-key switch on the operation panel 114, the CPU 102 sends data according to this operation status to the CPU board 24 via the communication IC 112. In addition, the CPU 102
After receiving the data related to the operation instruction sent from the CPU board 24 via the communication IC 112, the I
LED in the operation panel 114 via the / O port 110
The predetermined display is performed.

【0083】(3)ドライビングシミュレータに適用し
た場合の具体的動作 次に、上述した構成を有するドライビングシミュレータ
において、その動作開始に先だって、直前に実施されて
いたソフトウエアに対応するプログラム及びデータを自
動的にROMボード26内のROM62から各種ボード
内のRAMに対して転送する本実施例の具体的動作を説
明する。
(3) Specific Operation When Applied to Driving Simulator Next, in the driving simulator having the above-described configuration, prior to the start of the operation, the program and the data corresponding to the software executed immediately before are automatically executed. A specific operation of this embodiment for transferring from the ROM 62 in the ROM board 26 to the RAM in various boards will be described.

【0084】本実施例において、起動時にプログラムあ
るいはデータの設定が必要なRAMとしては以下のもの
がある。
In this embodiment, the following RAMs are required to set a program or data at the time of startup.

【0085】PROG RAM48(CPUボード2
4) PROG RAM60(CPUボード28) PROG RAM68(DSPボード30) ポイントRAM72(DSPボード30) ラインRAM76(PGNボード32) CG RAM86(OBJボード34) パレットRAM96(OBJボード34) なお、上述した〜のそれぞれの( )内は、それぞ
れのRAMが搭載されたボードの種類を示している。
PROG RAM 48 (CPU board 2
4) PROG RAM 60 (CPU board 28) PROG RAM 68 (DSP board 30) Point RAM 72 (DSP board 30) Line RAM 76 (PGN board 32) CG RAM 86 (OBJ board 34) Pallet RAM 96 (OBJ board 34) The number in parentheses indicates the type of board on which each RAM is mounted.

【0086】上述した〜の各RAMに転送するプロ
グラムあるいはデータは、ROMボード26内のROM
62に格納されており、シミュレーション処理の実施に
先だって転送が行われるようになっている。また、直前
に実施されていたソフトウエア番号がCPUボード24
内のバックアップRAM49に格納されており、起動時
にこの格納されたソフトウエア番号が読み出されるよう
になっている。
The programs or data to be transferred to the above-mentioned RAMs are stored in the ROM in the ROM board 26.
The data is stored in 62, and the transfer is performed prior to the execution of the simulation processing. In addition, the software number executed immediately before is the CPU board 24.
It is stored in the internal backup RAM 49, and the stored software number is read at the time of startup.

【0087】図11は、ROM62に格納されるプログ
ラムあるいはデータの格納状態を示す図である。同図
(a)は、CPU40が転送するプログラムの格納状態
を示す。同図に示すように、このプログラム領域として
は、$040000($は16進数を表わす)バイトの
容量が用意されており、先頭の$40までのアドレスに
は転送すべきプログラムあるいはデータを識別するため
のIDコードと、実施したいソフトウエアの種類を特定
するためのソフトウエア番号とが含まれる。そして、$
000040以降のアドレスにPROG RAM48
に転送すべきプログラムが格納されている。
FIG. 11 is a diagram showing a storage state of programs or data stored in the ROM 62. FIG. 9A shows the storage state of the program transferred by the CPU 40. As shown in the figure, a capacity of $ 040000 ($ represents a hexadecimal number) bytes is prepared for this program area, and a program or data to be transferred is identified at the address up to $ 40. The ID code for this purpose and the software number for specifying the type of software to be implemented are included. And $
PROG RAM 48 at addresses after 000004
Stores programs to be transferred to.

【0088】同様に、同図(b)はCPU54が転送す
るプログラムの格納状態を示す。この格納領域として$
040000バイトが用意されている点および先頭の$
40までのアドレスにはIDコードとソフトウエア番号
が含まれる点は同図(a)の場合と同様である。なお、
このプログラムにはPROG RAM60及びPR
OG RAM68に転送されるプログラムが含まれる。
Similarly, FIG. 9B shows the storage state of the program transferred by the CPU 54. $ As this storage area
The point that 04000 bytes are prepared and the leading $
The addresses up to 40 include the ID code and the software number as in the case of FIG. In addition,
This program has PROG RAM60 and PR
A program transferred to the OG RAM 68 is included.

【0089】また、同図(c)は、ポリゴン処理に必要
なデータの格納状態を示す。この場合には同図に示すよ
うに全体として$100000バイトの容量が用意され
ており、先頭の$40までのアドレスにはポリゴン処理
関連のデータに対応したIDコードとソフトウエア番号
が含まれる。なお、ポリゴン処理に関連したデータに
は、上述したポイントRAM72およびラインRA
M76に転送される各種データが含まれる。
Further, FIG. 7C shows a storage state of data required for polygon processing. In this case, as shown in the figure, a total capacity of $ 100,000 bytes is prepared, and the addresses up to $ 40 at the head include the ID code and software number corresponding to the polygon processing related data. Note that the data related to polygon processing includes the point RAM 72 and the line RA described above.
It includes various data transferred to M76.

【0090】また、同図(d)は、オブジェクト関連の
各種データの格納状態を示す。この場合の格納領域とし
ては、$080000バイトの容量が用意されており、
先頭の$40までのアドレスにはオブジェクト関連のデ
ータに対応したIDコードとソフトウエア番号とが含ま
れる。このオブジェクト関連のデータとしては、上述し
たCG RAM86およびパレットRAM96に転
送する各種データが含まれる。
Further, FIG. 9D shows the storage state of various data related to objects. As the storage area in this case, a capacity of $ 080000 bytes is prepared,
Addresses up to $ 40 include the ID code and software number corresponding to the object-related data. This object-related data includes various data transferred to the CG RAM 86 and the palette RAM 96 described above.

【0091】図12は、図11に示した各種プログラム
およびデータをROM62に格納する場合の具体的なア
ドレスマップを示す図であり、説明を簡単にするため4
個のシミュレーション用ソフトウエアに対応したプログ
ラムおよびデータを格納する場合が示されている。
FIG. 12 is a diagram showing a concrete address map when the various programs and data shown in FIG. 11 are stored in the ROM 62.
The case where a program and data corresponding to each piece of simulation software are stored is shown.

【0092】図12(a),(b)に示すように先頭ア
ドレスから順にソフトウエア番号1,2,3,4のそれ
ぞれに対応したプログラムおよびデータが格納されてい
る。
As shown in FIGS. 12A and 12B, programs and data corresponding to software numbers 1, 2, 3, and 4 are stored in order from the head address.

【0093】なお、図11(a)〜(d)のそれぞれを
2個のROM(16ビットデータのの下位および上位の
それぞれに1個のROMを対応させる)に格納するもの
とすれば、1つのシミュレーション用ソフトウエアを格
納するために合計8個のROMが必要となる。従って、
図12(a),(b)の全体は合計32個のROMに格
納することができる。このように、プログラムあるいは
データの種類毎にこれらを格納するROMを別個に設け
ることにより、いずれかのプログラムあるいはデータに
変更が生じた場合であっても、対応するROMのみを交
換すればよいため、プログラム等の変更作業が容易とな
る。また、シミュレーション用ソフトウエアの開発,設
計が終了して最終的なプログラムあるいはデータが決定
された後は、大容量のROMを上位ビット、下位ビット
の2個1組だけ用いて図12(a),(b)の全体をま
とめて格納するようにしてもよい。
If each of FIGS. 11A to 11D is stored in two ROMs (one ROM is associated with each of the lower and upper bits of 16-bit data), 1 A total of eight ROMs are required to store one simulation software. Therefore,
The whole of FIGS. 12A and 12B can be stored in 32 ROMs in total. In this way, by separately providing ROMs for storing each program or data type, even if any program or data is changed, only the corresponding ROM needs to be replaced. It becomes easy to change the program, etc. After the development and design of the simulation software is completed and the final program or data is determined, a large-capacity ROM is used by using only one set of upper bits and lower bits as shown in FIG. , (B) may be collectively stored.

【0094】次に、上述した格納内容を有するROM6
2から各RAMに対してプログラムあるいはデータ転送
を行う場合の具体的な動作について説明する。
Next, the ROM 6 having the above-mentioned stored contents
A specific operation when a program or data transfer from 2 to each RAM will be described.

【0095】本実施例においては、シミュレータ装置を
起動した際に、直前に実施されていたソフトウエア(例
えば市街地走行用(その1)、市街地走行用(その
2)、高速走行用、教習所コース走行用の4つのシ
ミュレーション用ソフトウエアがROM62に用意され
ている)を、以下に示す手順にしたがって自動的に読み
出して各RAMに転送する。
In the present embodiment, when the simulator device is started up, the software that has been executed immediately before (for example, urban driving (1), urban driving (2), high speed driving, driving on driving school course) 4 simulation software for use in the ROM 62) is automatically read out and transferred to each RAM according to the procedure described below.

【0096】(3a)PROG RAM48に対するプ
ログラムの転送動作 起動時にPROG RAM48に対してプログラムの
予備転送(後述3a−1)を行う場合には、CPU40
が図1に示すプログラム実行部10に、BOOT RO
M46が転送プログラム・データ特定部11および検索
プログラム格納部23に、ROM62が転送元格納部1
2に、PROG RAM48が転送先格納部18にそれ
ぞれ対応する。
(3a) Program Transfer Operation to PROG RAM 48 When the program is preliminarily transferred to PROG RAM 48 at startup (3a-1 described later), the CPU 40
In the program execution unit 10 shown in FIG.
M46 is the transfer program / data specifying unit 11 and the search program storage unit 23, and the ROM 62 is the transfer source storage unit 1
2, the PROG RAM 48 corresponds to the transfer destination storage unit 18, respectively.

【0097】また、復帰動作時(後述3a−3)にP
ROG RAM48に対してプログラムの転送を行う場
合には、CPU40が図1に示すプログラム実行部10
に、バックアップRAM49が転送プログラム・データ
特定部11に、ROM62が転送元格納部12に、PR
OG RAM48が転送先格納部18および検索プログ
ラム格納部23にそれぞれ対応する。
Further, at the time of the returning operation (3a-3 described later), P
When the program is transferred to the ROG RAM 48, the CPU 40 causes the program execution unit 10 shown in FIG.
In addition, the backup RAM 49 is stored in the transfer program / data specification unit 11, the ROM 62 is stored in the transfer source storage unit 12, and
The OG RAM 48 corresponds to the transfer destination storage unit 18 and the search program storage unit 23, respectively.

【0098】図13〜図15は、CPU40がプログラ
ムの転送を行う場合の動作手順を示す図である。図13
には転送に必要なプログラムを転送する動作(予備転送
動作)手順が、図14にはソフトウエア番号とこのソフ
トウエアのプログラムが格納されているアドレスとを対
応づける動作(対照表作成動作)手順が、図15には直
前に実施していたソフトウエアのプログラムを実際に転
送する動作(復帰動作)手順がそれぞれ示されている。
13 to 15 are diagrams showing an operation procedure when the CPU 40 transfers a program. FIG.
14 is an operation (preliminary transfer operation) procedure for transferring a program required for transfer, and FIG. 14 is an operation (corresponding table creation operation) procedure for associating a software number with an address where the program of this software is stored. However, FIG. 15 shows an operation (return operation) procedure for actually transferring the software program that was executed immediately before.

【0099】以下、これらの図を参照しながらPROG
RAM48に対してプログラム転送を行う場合の詳細
を説明する。
PROG will be described below with reference to these figures.
Details of the program transfer to the RAM 48 will be described.

【0100】(3a−1)予備転送動作 まず、図13を参照しながら予備転送動作について説明
する。
(3a-1) Preliminary Transfer Operation First, the preliminary transfer operation will be described with reference to FIG.

【0101】CPU40はBOOT ROM46に格納
されている検索用プログラムを実行することにより、P
ROG RAM48に転送すべきプログラムのROM6
2内での格納アドレスを検索する。なお、この予備転送
動作において転送するプログラムは、後述する以後の復
帰動作で実際にプログラムを転送するための対照表を作
成するためのプログラムを最小限含んでいればよい。従
って、この場合にはソフトウエア番号は何でもよく、C
PU40が実行するプログラムを指し示すIDコードを
検索する。
The CPU 40 executes the search program stored in the BOOT ROM 46 to generate P
ROM 6 of the program to be transferred to ROG RAM 48
Search the storage address in 2. It should be noted that the program transferred in the preliminary transfer operation may include at least a program for creating a comparison table for actually transferring the program in a later-described return operation. Therefore, in this case, the software number can be any
The ID code pointing to the program executed by the PU 40 is searched.

【0102】具体的には、検索用プログラムを実行した
CPU40は、サーチアドレスをROM62の先頭ブロ
ックに設定する(ステップ100)。なお、図12に示
すように各プログラムあるいはデータは$040000
の整数倍の格納領域を単位として格納されているため、
この$040000を1つのブロックとし、各ブロック
の先頭付近に格納されたデータのみを見ていけば、そこ
には必ず図11に示したIDコードが含まれていること
になり、全てのアドレスを順に検索していく場合に比べ
て大幅な検索時間の短縮が可能となる。
Specifically, the CPU 40 which has executed the search program sets the search address in the head block of the ROM 62 (step 100). As shown in FIG. 12, each program or data is $ 040000.
Since it is stored in units of storage areas that are integer multiples of
If this $ 040000 is regarded as one block and only the data stored near the beginning of each block is looked at, it means that the ID code shown in FIG. It is possible to significantly reduce the search time as compared with the case where the search is performed in order.

【0103】次に、CPU40は、設定されたサーチア
ドレスが先頭アドレスとなっているブロックの先頭部分
を調べることにより、転送したいプログラムのIDコー
ドがあるか否かを判断する(ステップ101)。設定さ
れたサーチアドレス付近に転送したいプログラムのID
コードがある場合には、CPU40は肯定判断を行い、
後述するステップ104以降の処理に移る。
Next, the CPU 40 determines whether or not there is an ID code of the program to be transferred by checking the head portion of the block whose head address is the set search address (step 101). The ID of the program you want to transfer near the set search address
If there is a code, the CPU 40 makes a positive determination,
The process moves to step 104 and subsequent steps, which will be described later.

【0104】IDコードがない場合には、CPU40は
否定判断を行って、サーチアドレスを次のブロックの先
頭アドレスに設定する(ステップ102)。そして、C
PU40は、全てのブロックをサーチしたか否かを判断
する(ステップ103)。全てのブロックをサーチして
いない場合には否定判断を行い、ステップ101以降の
処理を繰り返す。また、全てのブロックに対してステッ
プ101の処理(サーチ)が終了した場合には、ステッ
プ103で肯定判断を行い、ステップ100に戻って処
理を繰り返す。
If there is no ID code, the CPU 40 makes a negative decision and sets the search address to the start address of the next block (step 102). And C
The PU 40 determines whether or not all blocks have been searched (step 103). If all blocks have not been searched, a negative determination is made, and the processing from step 101 onward is repeated. If the processing (search) of step 101 is completed for all blocks, an affirmative decision is made in step 103, and the processing returns to step 100 to repeat the processing.

【0105】また、ステップ101において肯定判断を
行った場合(CPU40のIDコードがあった場合)に
は、次にCPU40は、検索したブロック中の特定アド
レスPa1にジャンプして、この特定アドレス以降に格
納されたプログラムを実行する(ステップ104)。例
えば、図11(a)に示すアドレス$000040にジ
ャンプして、ROM62に格納されたこの特定アドレス
以降のプログラムを実行する。
When the affirmative judgment is made in step 101 (when the ID code of the CPU 40 is present), the CPU 40 next jumps to the specific address Pa1 in the searched block and starts from this specific address. The stored program is executed (step 104). For example, the program jumps to the address $ 000040 shown in FIG. 11A and executes the program after this specific address stored in the ROM 62.

【0106】次に、CPU40は検索したブロックの内
容をPROG RAM48に転送する(ステップ10
5)。なお、ROM62の特定アドレス以降に格納され
ているプログラムの先頭部分には、このプログラム自身
をPROG RAM48に転送する転送用プログラムが
含まれており、図11(a)に示すアドレス$0000
40以降のプログラムを実行することにより、プログラ
ムの全体がPROG RAM48に転送されるようにな
っている。
Next, the CPU 40 transfers the contents of the retrieved block to the PROG RAM 48 (step 10).
5). A transfer program for transferring the program itself to the PROG RAM 48 is included in the head portion of the program stored after the specific address in the ROM 62, and the address $ 0000 shown in FIG.
The entire program is transferred to the PROG RAM 48 by executing the program after 40.

【0107】次に、CPU40は、プログラムの転送が
終了したPROG RAM48の特定アドレスPa2に
ジャンプして(ステップ106)、転送が終了してPR
OGRAM48に格納されたプログラムの実行を開始す
る(ステップ107)。このようにして、PROG R
AM48に対するプログラム転送が行われることにより
予備転送動作が終了する。
Next, the CPU 40 jumps to the specific address Pa2 of the PROG RAM 48 for which the program transfer is completed (step 106), and the transfer is completed for PR.
The execution of the program stored in the OGRAM 48 is started (step 107). In this way, PROGR
The preliminary transfer operation is completed by performing the program transfer to the AM 48.

【0108】(3a−2)対照表作成動作 次に、図14を参照しながら対照表作成動作について説
明する。
(3a-2) Comparison Table Creating Operation Next, the comparison table creating operation will be described with reference to FIG.

【0109】上述した107においてPROG RAM
48に転送されたプログラムの実行を開始したCPU4
0は、再びサーチアドレスをROM62の先頭ブロック
に設定する(ステップ200)。
In the above-mentioned 107, the PROG RAM
CPU 4 which has started execution of the program transferred to 48
The value 0 again sets the search address in the first block of the ROM 62 (step 200).

【0110】次に、CPU40は、設定されたサーチア
ドレスが先頭アドレスとなっているブロックの先頭部分
を調べることにより、CPU40自身のIDコードがあ
るか否かを判断する(ステップ201)。該当するID
コードがある場合にはCPU40は肯定判断を行い、W
ORK RAM47にステップ200で設定したサーチ
アドレスを書き込む(ステップ202)。なお、WOR
K RAM47の格納領域はソフトウエア番号ごとに分
けられており、ソフトウエア番号とサーチアドレスとが
対応づけられて格納される。
Next, the CPU 40 determines whether or not there is the ID code of the CPU 40 itself by checking the head portion of the block whose head address is the set search address (step 201). Applicable ID
If there is a code, the CPU 40 makes a positive determination and W
The search address set in step 200 is written in the ORK RAM 47 (step 202). In addition, WOR
The storage area of the K RAM 47 is divided for each software number, and the software number and the search address are stored in association with each other.

【0111】ステップ201において否定判断を行った
場合(CPU40自身のIDコードがブロックに含まれ
ていない場合)、あるいはステップ202においてサー
チアドレスの書き込みが終了した場合には、次にCPU
40はサーチアドレスを次のブロックの先頭アドレスに
設定する(ステップ203)。そして、CPU40は、
全てのブロックをサーチしたか否かを判断する(ステッ
プ204)。全てのブロックをサーチしていない場合に
は否定判断を行い、ステップ201以降の処理を繰り返
す。また、全てのブロックに対してステップ201の処
理(サーチ)が終了した場合には、ステップ204で肯
定判断を行い、次の復帰動作に移行する。 (3a−
3)復帰動作 次に、図15を参照しながら復帰動作について説明す
る。
When a negative determination is made in step 201 (when the ID code of the CPU 40 itself is not included in the block) or when the writing of the search address is completed in step 202, the next CPU
40 sets the search address to the start address of the next block (step 203). Then, the CPU 40
It is determined whether or not all blocks have been searched (step 204). If all blocks have not been searched, a negative determination is made, and the processing from step 201 onward is repeated. When the process (search) of step 201 is completed for all blocks, an affirmative decision is made in step 204, and the process returns to the next return operation. (3a-
3) Return Operation Next, the return operation will be described with reference to FIG.

【0112】まず、CPU40は、バックアップRAM
49に格納されているソフトウエア番号を読み出して照
会する(ステップ300)。上述したように、このバッ
クアップRAM49に格納されているソフトウエア番号
は、直前に実施していたソフトウエア番号であり、この
番号を知ることにより復帰動作が可能になる。
First, the CPU 40 is a backup RAM.
The software number stored in 49 is read and inquired (step 300). As described above, the software number stored in the backup RAM 49 is the software number executed immediately before, and by knowing this number, the restoration operation becomes possible.

【0113】次に、CPU40は、照会したソフトウエ
ア番号に対応するROM62のアドレスPa3をWOR
K RAM47を検索して読み出す(ステップ30
1)。そして、この読み出したアドレスPa3にジャン
プして(ステップ302)、ROM62に格納されてい
る該当ソフトウエアのプログラム(直前に実施されてい
たソフトウエアのプログラム)を実行する(ステップ3
03)。これにより、ROM62に格納されている該当
ソフトウエアのプログラムがPROG RAM48に転
送される。
Next, the CPU 40 sets the address Pa3 of the ROM 62 corresponding to the inquired software number to WOR.
Search and read the K RAM 47 (step 30)
1). Then, the program jumps to the read address Pa3 (step 302) and executes the program of the corresponding software stored in the ROM 62 (the program of the software executed immediately before) (step 3).
03). As a result, the program of the corresponding software stored in the ROM 62 is transferred to the PROG RAM 48.

【0114】PROG RAM48に対するプログラム
の転送が終了すると、次にCPU40は、PROG R
AM48の特定アドレスPa4にジャンプして、転送が
終了したプログラムを実行する(ステップ304)。
When the transfer of the program to the PROG RAM 48 is completed, the CPU 40 then proceeds to the PROG R
It jumps to the specific address Pa4 of the AM 48 and executes the program whose transfer has been completed (step 304).

【0115】次に、CPU40は、共有RAM50にス
テップ300で照会したソフトウエア番号を書き込み
(ステップ305)、その後CPU54に向けてI/O
ポート44から出力されているリセット信号を解除する
(ステップ306)。
Next, the CPU 40 writes the software number inquired in step 300 into the shared RAM 50 (step 305), and then I / O toward the CPU 54.
The reset signal output from the port 44 is released (step 306).

【0116】その後、CPU54によるプログラム及び
データの転送が行われ(詳細は後述する)、CPU40
はCPU54による転送終了信号を待って(ステップ3
07)、シミュレーション動作を開始する。
After that, the program and data are transferred by the CPU 54 (details will be described later), and the CPU 40
Waits for the transfer end signal from the CPU 54 (step 3
07), start the simulation operation.

【0117】(3b)PROG RAM60及びPRO
G RAM68に対するプログラムの転送動作 上述したCPU40による転送動作が終了して、図15
のステップ306においてリセット信号が解除される
と、CPU54が起動されてプログラム及びデータの転
送が開始される。
(3b) PROG RAM 60 and PRO
Program Transfer Operation to G RAM 68 When the transfer operation by the CPU 40 described above is completed, FIG.
When the reset signal is released in step 306, the CPU 54 is activated and the transfer of the program and data is started.

【0118】CPU54の起動時にPROG RAM
60に対してプログラムの予備転送(後述3b−1)を
行う場合には、CPU54が図1に示すプログラム実行
部10に、BOOT ROM58が転送プログラム・デ
ータ特定部11および検索プログラム格納部23に、R
OM62が転送元格納部12に、PROG RAM60
が転送先格納部18にそれぞれ対応する。
When the CPU 54 is activated, the PROG RAM
When the program is preliminarily transferred to 60 (3b-1 to be described later), the CPU 54 causes the program execution unit 10 shown in FIG. 1, the BOOT ROM 58 causes the transfer program / data identification unit 11 and the search program storage unit 23, R
The OM 62 stores the PROG RAM 60 in the transfer source storage unit 12.
Corresponds to the transfer destination storage unit 18, respectively.

【0119】また、復帰動作時(後述3b−2)にP
ROG RAM60に対してプログラムの転送を行う場
合には、CPU54が図1に示すプログラム実行部10
に、共有RAM50が転送プログラム・データ特定部1
1に、ROM62が転送元格納部12に、PROG R
AM60が転送先格納部18および検索プログラム格納
部23にそれぞれ対応する。
Further, at the time of the returning operation (3b-2 described later), P
When the program is transferred to the ROG RAM 60, the CPU 54 causes the program execution unit 10 shown in FIG.
In addition, the shared RAM 50 has the transfer program / data specifying unit 1
1, the ROM 62 in the transfer source storage unit 12, PROG R
The AM 60 corresponds to the transfer destination storage unit 18 and the search program storage unit 23, respectively.

【0120】図16及び図17は、CPU54がプログ
ラムの転送を行う場合の動作手順を示す図である。図1
6には転送に必要なプログラムを転送するとともに、該
当するプログラムとアドレスとを対応づける動作(予備
転送動作及び対照表作成動作)手順が、図17には直前
に実施していたプログラムを実際に転送する動作(復帰
動作)手順がそれぞれ示されている。
16 and 17 are diagrams showing an operation procedure when the CPU 54 transfers a program. Figure 1
The operation procedure (preliminary transfer operation and comparison table creating operation) for associating the program required for transfer with 6 and the corresponding program are shown in FIG. The transfer operation (return operation) procedure is shown.

【0121】(3b−1)予備転送動作及び対照表作成
動作 まず、図16を参照しながら予備転送動作及び対照表作
成動作について説明する。
(3b-1) Preliminary Transfer Operation and Comparison Table Creation Operation First, the preliminary transfer operation and comparison table preparation operation will be described with reference to FIG.

【0122】リセット信号が解除されたCPU54は、
BOOT ROM58に格納されている検索用プログラ
ムを実行することにより、PROG RAM60に転送
すべきプログラムのROM62内での格納アドレスを検
索する。
When the reset signal is released, the CPU 54
By executing the search program stored in the BOOT ROM 58, the storage address in the ROM 62 of the program to be transferred to the PROG RAM 60 is searched.

【0123】具体的には、検索用プログラムを実行した
CPU54は、サーチアドレスをROM62の先頭ブロ
ックに設定し(ステップ400)、この設定したサーチ
アドレスが先頭アドレスとなっているブロックの先頭部
分を調べることにより、転送したいプログラムのIDコ
ードがあるか否かを判断する(ステップ401)。設定
されたサーチアドレス付近に転送したいプログラムのI
Dコードがある場合には、CPU54は肯定判断を行
い、後述するステップ404以降の処理に移る。
Specifically, the CPU 54 executing the search program sets the search address in the head block of the ROM 62 (step 400), and checks the head portion of the block whose head address is the set search address. By doing so, it is determined whether or not there is an ID code of the program to be transferred (step 401). I of the program you want to transfer near the set search address
If there is a D code, the CPU 54 makes an affirmative decision, and proceeds to the processing of step 404 and subsequent steps which will be described later.

【0124】IDコードがない場合には、CPU54は
否定判断を行って、サーチアドレスを次のブロックの先
頭アドレスに設定する(ステップ402)。そして、C
PU54は、全てのブロックをサーチしたか否かを判断
する(ステップ403)。全てのブロックをサーチして
いない場合には否定判断を行い、ステップ401以降の
処理を繰り返す。また、全てのブロックに対してステッ
プ401の処理(サーチ)が終了した場合には、ステッ
プ403で肯定判断を行い、ステップ400に戻って処
理を繰り返す。
If there is no ID code, the CPU 54 makes a negative decision and sets the search address to the start address of the next block (step 402). And C
The PU 54 determines whether or not all blocks have been searched (step 403). If all blocks have not been searched, a negative determination is made, and the processing from step 401 onward is repeated. When the processing (search) of step 401 is completed for all blocks, an affirmative decision is made in step 403, and the processing returns to step 400 to repeat the processing.

【0125】また、ステップ401において肯定判断を
行った場合(CPU54のIDコードがあった場合)に
は、次にCPU54は、検索したブロック中の特定アド
レスPb1にジャンプして、この特定アドレス以降に格
納されたプログラムを実行する(ステップ404)。
When the affirmative judgment is made in step 401 (when the ID code of the CPU 54 is present), the CPU 54 next jumps to the specific address Pb1 in the searched block, and after this specific address. The stored program is executed (step 404).

【0126】次に、CPU54は検索したブロックの内
容をPROG RAM60に転送し(ステップ40
5)、転送が終了するとPROG RAM60の特定ア
ドレスPb2にジャンプして(ステップ406)、PR
OG RAM60に転送されたプログラムの実行を開始
する。このようにして予備転送動作が終了する。
Next, the CPU 54 transfers the contents of the retrieved block to the PROG RAM 60 (step 40
5) When the transfer is completed, the program jumps to the specific address Pb2 of the PROG RAM 60 (step 406) and PR
The execution of the program transferred to the OG RAM 60 is started. In this way, the preliminary transfer operation is completed.

【0127】次に、PROG RAM60に転送された
プログラムの実行を開始したCPU54は、WORK
RAM59の所定アドレスに対照表作成済みフラグが立
っているか調べる(ステップ407)。ここでは、まだ
フラグを立てていないので否定判断を行い、次に、再び
サーチアドレスをROM62の先頭ブロックに設定し
(ステップ408)、この設定したサーチアドレスが先
頭アドレスとなっているブロックの先頭部分を調べるこ
とにより、CPU54自身のIDコードがあるか否かを
判断する(ステップ409)。該当するIDコードがあ
る場合にはCPU54は肯定判断を行い、WORK R
AM59にステップ408で設定したサーチアドレスを
書き込む(ステップ410)。なお、WORK RAM
59は、CPUボード24内のWORK RAM47に
対応するものであり、格納領域がソフトウエア番号ごと
に分けられており、ソフトウエア番号とサーチアドレス
とが対応づけられて格納される。
Next, the CPU 54, which has started the execution of the program transferred to the PROG RAM 60, makes the WORK
It is checked whether or not the comparison table creation flag is set at a predetermined address of the RAM 59 (step 407). Here, since the flag has not been set yet, a negative judgment is made, and then the search address is set again in the head block of the ROM 62 (step 408), and the head portion of the block in which the set search address is the head address. Is checked to determine whether or not there is the ID code of the CPU 54 itself (step 409). If there is the corresponding ID code, the CPU 54 makes an affirmative decision and the WORK R
The search address set in step 408 is written in the AM 59 (step 410). In addition, WORK RAM
Reference numeral 59 corresponds to the WORK RAM 47 in the CPU board 24, the storage area is divided for each software number, and the software number and the search address are stored in association with each other.

【0128】ステップ409において否定判断を行った
場合(CPU54自身のIDコードがブロックに含まれ
ていない場合)、あるいはステップ410においてサー
チアドレスの書き込みが終了した場合には、次にCPU
54はサーチアドレスを次のブロックの先頭アドレスに
設定する(ステップ411)。そして、CPU54は、
全てのブロックをサーチしたか否かを判断する(ステッ
プ412)。全てのブロックをサーチしていない場合に
は否定判断を行い、ステップ409以降の処理を繰り返
す。また、全てのブロックに対してステップ401の処
理が終了した場合には、ステップ412で肯定判断を行
い、WORK RAM59の所定アドレスに対照表作成
済みフラグを立てる(ステップ413)。このようにし
て対照表作成動作が終了し、次の復帰動作に移行する。
When a negative determination is made in step 409 (when the ID code of the CPU 54 itself is not included in the block), or when the writing of the search address is completed in step 410, the next CPU
54 sets the search address to the start address of the next block (step 411). Then, the CPU 54
It is determined whether or not all blocks have been searched (step 412). If all blocks have not been searched, a negative determination is made, and the processing from step 409 onward is repeated. When the processing of step 401 has been completed for all blocks, an affirmative decision is made in step 412, and a comparison table created flag is set at a predetermined address in the WORK RAM 59 (step 413). In this way, the comparison table creating operation is completed and the next returning operation is performed.

【0129】(3b−2)復帰動作 次に、図17を参照しながら復帰動作について説明す
る。
(3b-2) Return Operation Next, the return operation will be described with reference to FIG.

【0130】まず、CPU54は、共有RAM50に格
納されているソフトウエア番号を読み出して照会する
(ステップ500)。上述したように、共有RAM50
に格納されているソフトウエア番号は、直前に実施して
いたソフトウエア番号であり、この番号を知ることによ
り復帰動作が可能になる。
First, the CPU 54 reads and inquires the software number stored in the shared RAM 50 (step 500). As described above, the shared RAM 50
The software number stored in is the software number that was executed immediately before, and by knowing this number, the recovery operation becomes possible.

【0131】次に、CPU54は、照会したソフトウエ
ア番号に対応するROM62のアドレスPb3をWOR
K RAM59を検索して読み出す(ステップ50
1)。そして、この読み出したアドレスPb3にジャン
プして(ステップ502)、ROM62に格納されてい
る該当ソフトウエアのプログラム(直前に実施されてい
たソフトウエアのプログラム)を実行する(ステップ5
03)。これにより、ROM62に格納されている該当
ソフトウエアのプログラムがPROG RAM60に転
送される。
Next, the CPU 54 sets the address Pb3 of the ROM 62 corresponding to the inquired software number to WOR.
Search and read K RAM 59 (step 50)
1). Then, the program jumps to the read address Pb3 (step 502) and executes the program of the corresponding software stored in the ROM 62 (the program of the software executed immediately before) (step 5).
03). As a result, the program of the corresponding software stored in the ROM 62 is transferred to the PROG RAM 60.

【0132】PROG RAM60に対するプログラム
の転送が終了すると、次にCPU54は、PROG R
AM60の特定アドレスPb4にジャンプして、転送が
終了したプログラムの実行を開始する(ステップ50
5)。
When the transfer of the program to the PROG RAM 60 is completed, the CPU 54 then proceeds to the PROG R
The program jumps to the specific address Pb4 of the AM 60 and starts execution of the transferred program (step 50).
5).

【0133】なお、PROG RAM68にはDSP6
4の動作用プログラムが転送格納されるわけであるが、
本実施例ではPROG RAM60に転送されたプログ
ラムの中にそれが含まれており、その部分がそのままP
ROG RAM68に転送されるようになっている。具
体的には後述するステップ800の前に行われるのであ
るが、DSP64はどのソフトウエアにおいても同じよ
うに動作するため、DSP64の動作用プログラムはど
のソフトウエアにおいても同じものが準備されている。
したがってこのPROG RAM68はROMとして、
あらかじめDSP64の動作用プログラムを格納してお
くこともできる。
The PROG RAM 68 has a DSP 6
Although the operation program of 4 is transferred and stored,
In the present embodiment, the program transferred to the PROG RAM 60 includes it, and that part is stored as it is in P.
The data is transferred to the ROG RAM 68. Specifically, this is performed before step 800 described later, but since the DSP 64 operates in the same manner in any software, the same operating program for the DSP 64 is prepared in any software.
Therefore, this PROG RAM 68 is a ROM
It is also possible to store the operation program of the DSP 64 in advance.

【0134】(3c)CG RAM86,パレットRA
M96,ポイントRAM72,ラインRAM76に対す
るデータの転送動作 CPU54によるプログラムの転送動作が終了すると、
次にCPU54による各RAMに対するデータ転送が行
われる。
(3c) CG RAM 86, palette RA
Data Transfer Operation to M96, Point RAM 72, Line RAM 76 When the program transfer operation by the CPU 54 is completed,
Next, data transfer to each RAM by the CPU 54 is performed.

【0135】CG RAM86,パレットRAM9
6,ポイントRAM72,ラインRAM76に対す
るデータの転送を行う場合においては、CPU54が図
1に示すプログラム実行部10に、共有RAM50が転
送プログラム・データ特定部11に、ROM62が転送
元格納部12に、CG RAM86,パレットRAM9
6,ポイントRAM72,ラインRAM76のそれぞれ
が転送先格納部18に、PROG RAM60が検索プ
ログラム格納部23及び転送用プログラム14を格納す
る転送元格納部12にそれぞれ対応する。
CG RAM 86, palette RAM 9
6, when data is transferred to the point RAM 72 and the line RAM 76, the CPU 54 is the program execution unit 10 shown in FIG. 1, the shared RAM 50 is the transfer program / data identification unit 11, and the ROM 62 is the transfer source storage unit 12. CG RAM86, pallet RAM9
6, the point RAM 72 and the line RAM 76 correspond to the transfer destination storage unit 18, and the PROG RAM 60 corresponds to the transfer program storage unit 12 that stores the search program storage unit 23 and the transfer program 14.

【0136】図18〜図20は、CPU54がデータの
転送を行う場合の動作手順を示す図である。図18には
転送すべきオブジェクト関連のデータ(CG RAM8
6及びパレットRAM96に転送されるデータ)のソフ
トウエア番号とこれらのデータが格納されているアドレ
スとを対応づける動作(対照表作成動作1)手順が、図
19には転送すべきポリゴン関連のデータ(ポイントR
AM72及びラインRAM76に転送されるデータ)の
ソフトウエア番号とこれらのデータが格納されているア
ドレスとを対応づける動作(対照表作成動作2)手順
が、図20には直前に実施していたプログラムのデータ
を実際に転送する動作(復帰動作)手順がそれぞれ示さ
れている。
18 to 20 are diagrams showing an operation procedure when the CPU 54 transfers data. FIG. 18 shows object-related data to be transferred (CG RAM8
6 and the data to be transferred to the palette RAM 96) and the address at which these data are stored (correspondence table creation operation 1) are shown in FIG. (Point R
20. The operation procedure (corresponding table creation operation 2) of associating the software numbers of the data transferred to the AM 72 and the line RAM 76) with the addresses at which these data are stored is shown in FIG. The operation procedure (return operation) for actually transferring the data is shown.

【0137】(3c−1)対照表作成動作1 まず、図18を参照しながら対照表作成動作1について
説明する。
(3c-1) Comparison Table Creating Operation 1 First, the comparison table creating operation 1 will be described with reference to FIG.

【0138】PROG RAM60に転送されたプログ
ラムを実行したCPU54は、再びサーチアドレスをR
OM62の先頭ブロックに設定し(ステップ600)、
設定したサーチアドレスが先頭アドレスとなっているブ
ロックの先頭部分を調べることにより、図11(d)に
示したオブジェクトデータのIDコードがあるか否かを
判断する(ステップ601)。該当するIDコードがあ
る場合にはCPU54は肯定判断を行い、WORK R
AM59にステップ600で設定したサーチアドレスを
書き込む(ステップ602)。
The CPU 54 that executed the program transferred to the PROG RAM 60 again sets the search address to R
Set to the first block of OM62 (step 600),
By checking the head portion of the block in which the set search address is the head address, it is determined whether or not there is the ID code of the object data shown in FIG. 11 (d) (step 601). If there is the corresponding ID code, the CPU 54 makes an affirmative decision and the WORK R
The search address set in step 600 is written in the AM 59 (step 602).

【0139】ステップ601において否定判断を行った
場合(オブジェクトデータのIDコードがブロックに含
まれていない場合)、あるいはステップ602において
サーチアドレスの書き込みが終了した場合には、次にC
PU54はサーチアドレスを次のブロックの先頭アドレ
スに設定する(ステップ603)。そして、CPU54
は、全てのブロックをサーチしたか否かを判断する(ス
テップ604)。全てのブロックをサーチしていない場
合には否定判断を行い、ステップ601以降の処理を繰
り返す。また、全てのブロックに対してステップ601
の処理が終了した場合には、ステップ604で肯定判断
を行い、次の対照表作成動作2に移行する。
When a negative determination is made in step 601 (when the ID code of the object data is not included in the block), or when the writing of the search address is completed in step 602, then C
The PU 54 sets the search address to the start address of the next block (step 603). And the CPU 54
Determines whether all blocks have been searched (step 604). If all blocks have not been searched, a negative determination is made, and the processing from step 601 onward is repeated. Also, step 601 for all blocks.
When the process of 1 is completed, an affirmative decision is made in step 604, and the process moves to the next comparison table creating operation 2.

【0140】(3c−2)対照表作成動作2 次に、図19を参照しながら対照表作成動作1について
説明する。
(3c-2) Comparison Table Creating Operation 2 Next, the comparison table creating operation 1 will be described with reference to FIG.

【0141】まず、CPU54は、再びサーチアドレス
をROM62の先頭ブロックに設定し(ステップ70
0)、設定したサーチアドレスが先頭アドレスとなって
いるブロックの先頭部分を調べることにより、図11
(c)に示したポリゴンデータのIDコードがあるか否
かを判断する(ステップ701)。該当するIDコード
がある場合にはCPU54は肯定判断を行い、WORK
RAM59にステップ700で設定したサーチアドレ
スを書き込む(ステップ702)。
First, the CPU 54 sets the search address again in the head block of the ROM 62 (step 70).
0), by checking the head portion of the block whose head address is the set search address,
It is judged whether or not there is an ID code of the polygon data shown in (c) (step 701). If there is the corresponding ID code, the CPU 54 makes an affirmative decision and the WORK
The search address set in step 700 is written in the RAM 59 (step 702).

【0142】ステップ701において否定判断を行った
場合(ポリゴンデータのIDコードがブロックに含まれ
ていない場合)、あるいはステップ702においてサー
チアドレスの書き込みが終了した場合には、次にCPU
54はサーチアドレスを次のブロックの先頭アドレスに
設定する(ステップ703)。そして、CPU54は、
全てのブロックをサーチしたか否かを判断する(ステッ
プ704)。全てのブロックをサーチしていない場合に
は否定判断を行い、ステップ701以降の処理を繰り返
す。また、全てのブロックに対してステップ701の処
理が終了した場合には、ステップ704で肯定判断を行
い、次の復帰動作に移行する。
When a negative determination is made in step 701 (when the ID code of the polygon data is not included in the block), or when the writing of the search address is completed in step 702, the CPU
54 sets the search address to the start address of the next block (step 703). Then, the CPU 54
It is determined whether or not all blocks have been searched (step 704). If all blocks have not been searched, a negative determination is made, and the processing from step 701 is repeated. When the processing of step 701 is completed for all blocks, an affirmative judgment is made in step 704, and the process returns to the next return operation.

【0143】(3c−3)復帰動作 次に、図20を参照しながら復帰動作について説明す
る。
(3c-3) Return Operation Next, the return operation will be described with reference to FIG.

【0144】まず、CPU54は、共有RAM50に格
納されているソフトウエア番号を読み出して照会する
(ステップ800)。上述したように、共有RAM50
に格納されているソフトウエア番号は、直前に実施して
いたソフトウエア番号であり、この番号を知ることによ
り各種データの復帰動作が可能になる。
First, the CPU 54 reads out and inquires the software number stored in the shared RAM 50 (step 800). As described above, the shared RAM 50
The software number stored in is the software number that was executed immediately before, and by knowing this number, various data restoration operations are possible.

【0145】次に、CPU54は、照会したソフトウエ
ア番号に対応するオブジェクト関連データのアドレスを
WORK RAM59を検索して読み出す(ステップ8
01)。そして、この読み出したアドレスで指定される
ブロックに含まれるオブジェクト関連のデータをROM
62から読み出して、CG RAM86及びパレットR
AM96に振り分けて転送する(ステップ802)。な
お、パレットRAM96は、アドレスバス54a及びデ
ータバス54dを介してCPU54に直接接続されては
おらず、パレットコントローラ94を介して接続されて
いる。従って、データ転送時にCPU54は、パレット
コントローラ94を介してパレットRAM96に対して
データの書き込みを行っている。
Next, the CPU 54 searches the work RAM 59 for the address of the object-related data corresponding to the inquired software number and reads it (step 8).
01). Then, the object-related data included in the block specified by the read address is stored in the ROM.
62 read out from the CG RAM 86 and palette R
The data is distributed to the AM 96 and transferred (step 802). The palette RAM 96 is not directly connected to the CPU 54 via the address bus 54a and the data bus 54d, but is connected via the palette controller 94. Therefore, during data transfer, the CPU 54 writes data to the palette RAM 96 via the palette controller 94.

【0146】次に、CPU54は、照会したソフトウエ
ア番号に対応するポリゴン関連データのアドレスをWO
RK RAM59を検索して読み出す(ステップ80
3)。そして、この読み出したアドレスで指定されるブ
ロックに含まれるポリゴン関連のデータをROM62か
ら読み出して、ポイントRAM72及びラインRAM7
6に振り分けて転送する(ステップ804)。なお、ポ
イントRAM72及びラインRAM76は、アドレスバ
ス54a及びデータバス54dを介してCPU54に直
接接続されてはおらず、それぞれ共有RAM70,ポリ
ゴン処理回路74を介して接続されている。従って、デ
ータ転送時にCPU54は、共有RAM70あるいはポ
リゴン処理回路74を介してポイントRAM72,ライ
ンRAM76に対するデータの書き込みを行っている。
Next, the CPU 54 sets the address of the polygon-related data corresponding to the inquired software number to WO.
Search and read RK RAM 59 (step 80)
3). Then, the polygon-related data included in the block designated by the read address is read from the ROM 62, and the point RAM 72 and the line RAM 7 are read.
The data is divided into 6 and transferred (step 804). The point RAM 72 and the line RAM 76 are not directly connected to the CPU 54 via the address bus 54a and the data bus 54d, but are connected via the shared RAM 70 and the polygon processing circuit 74, respectively. Therefore, during data transfer, the CPU 54 writes data to the point RAM 72 and the line RAM 76 via the shared RAM 70 or the polygon processing circuit 74.

【0147】ステップ804におけるデータ転送が終了
すると、次にCPU54は、共有RAM50に対して転
送終了の信号を送り(ステップ805、図15のステッ
プ307に対応する)、その後シミュレーション動作を
開始する。
When the data transfer in step 804 is completed, the CPU 54 then sends a transfer completion signal to the shared RAM 50 (step 805, corresponding to step 307 in FIG. 15) and then starts the simulation operation.

【0148】このように、本実施例のシミュレータにお
いては、複数のソフトウエアのプログラム及びデータを
ROM62に格納しておいて、起動時あるいはリセット
時に、実施したいソフトウエアのプログラム及びデータ
をCPUボード24等の各種ボードに転送している。
As described above, in the simulator of this embodiment, a plurality of software programs and data are stored in the ROM 62, and the CPU board 24 stores the software programs and data to be executed at the time of startup or reset. Etc. are transferred to various boards.

【0149】(3d)シミュレータのプログラムスター
ト後のソフトウェア変更動作 通信IC52を通して、I/O CPUボード38から
ソフトウェア変更の指示があった場合、CPU40は通
信IC52を通して指定されたソフトウェア番号を受け
とり、I/Oポート44を通してCPU54にリセット
信号を送るとともにステップ301へジャンプする。そ
してそこからフローに示す通りに復帰動作時と同じ動作
を行い、PROG RAM48に対して指定されたプロ
グラムを転送する。
(3d) Software change operation after program start of simulator When the software change instruction is issued from the I / O CPU board 38 through the communication IC 52, the CPU 40 receives the software number designated through the communication IC 52 and the I / O A reset signal is sent to the CPU 54 through the O port 44 and the process jumps to step 301. Then, as shown in the flow, the same operation as that at the time of the returning operation is performed, and the designated program is transferred to the PROG RAM 48.

【0150】この場合には、CPU40が図1に示すプ
ログラム実行部10に、I/O CPUボード38およ
び通信IC52が転送プログラム・データ特定部11
に、ROM62が転送元格納部12に、PROG RA
M48が転送先格納部18および検索プログラム格納部
23にそれぞれ対応する。
In this case, the CPU 40 is provided in the program executing unit 10 shown in FIG. 1, and the I / O CPU board 38 and the communication IC 52 are provided in the transfer program / data specifying unit 11.
In addition, the ROM 62 is stored in the transfer source storage unit 12 in the PROG RA
M48 corresponds to the transfer destination storage unit 18 and the search program storage unit 23, respectively.

【0151】また、CPU54は、CPU40による転
送動作が終了して、ステップ306においてリセット信
号が解除されると、再びステップ400からスタート
し、予備転送動作を行うが、ステップ407の対照表作
成済みフラグが立っているかの判断において、前の処理
過程で対照表作成済みフラグを立てたためここでは肯定
判断を行い、対照表の作成は行わずにステップ500へ
ジャンプする。そしてそれ以降は図に示す通り前に行っ
た処理と同様の処理を行い、PROG RAM60、P
ROG RAM68、ポイントRAM72、ラインRA
M76、CG RAM86、パレットRAM96に対し
て指定されたプログラムあるいはデータを転送する。
When the transfer operation by the CPU 40 is completed and the reset signal is released in step 306, the CPU 54 starts again from step 400 to perform the preliminary transfer operation, but the comparison table creation flag of step 407 is set. In the determination as to whether or not is set, the affirmative determination is made here because the comparison table creation flag is set in the previous process, and the process jumps to step 500 without creating the comparison table. After that, the same process as the previous process is performed as shown in the figure, and the PROG RAM 60, P
ROG RAM 68, point RAM 72, line RA
The designated program or data is transferred to the M76, the CG RAM 86, and the palette RAM 96.

【0152】このようにして随時I/O CPUボード
38からソフトウェア変更指示を与えて転送先格納部の
プログラム、データを指定したソフトウェアのものに置
き換えることができ、簡単に現在プレイしているものと
異なるシミュレーションソフトをプレイすることができ
るようになる。
In this way, it is possible to give a software change instruction from the I / O CPU board 38 at any time and replace the program and data in the transfer destination storage unit with the designated software. You will be able to play different simulation software.

【0153】以上、ドライビングシミュレータを例にあ
げて説明したように、ROM62には最初から複数のソ
フトウエアのプログラム及びデータを格納しておくた
め、実施するソフトウエアを変更するたびに装置外部か
らソフトウエアを変更する必要がない。また、各種のソ
フトウエアを別々のROMに格納しておいて、必要に応
じてROMを取り替えるといった手間がかからず、操作
が煩雑になるということもない。さらに、複数のソフト
ウエア毎にハードウエアを備える場合に比べて、ほとん
どのハードウエアを共用化して使用しており、回路の無
駄がない。
As described above by taking the driving simulator as an example, since the ROM 62 stores programs and data of a plurality of software from the beginning, the software from outside the apparatus is changed every time the software to be executed is changed. No need to change clothing. Further, it is not necessary to store various kinds of software in different ROMs and replace the ROMs as needed, and the operation is not complicated. Further, as compared with a case where hardware is provided for each of a plurality of software, most of the hardware is shared and used, and there is no waste of circuits.

【0154】なお、本発明は、上記実施例に限定される
ものではなく、本発明の要旨の範囲内で種々の変形実施
が可能である。
The present invention is not limited to the above embodiment, and various modifications can be made within the scope of the gist of the present invention.

【0155】例えば、図2に全体構成を示したドライビ
ングシミュレータにおいては、転送するプログラムに転
送用プログラムも含ませておいて、この転送用プログラ
ムを転送した後は、転送したプログラムを実行して残り
のプログラム転送を継続するようにしたが、転送用プロ
グラムは常にROM62に格納したものを用いるように
してもよい。
For example, in the driving simulator whose overall structure is shown in FIG. 2, a transfer program is included in the program to be transferred, and after the transfer program is transferred, the transferred program is executed and remains. However, the transfer program stored in the ROM 62 may always be used.

【0156】また、上述した実施例では、直前に実施し
ていたソフトウエアのプログラム及びデータを読み出し
てシミュレーション動作を再開する場合を例にとり説明
したが、I/O CPUボード38内の操作パネル11
4のテンキーを操作してソフトウエアを変更する場合も
同様に考えることができる。この場合にCPU40は、
操作パネル114を操作して入力されたソフトウエア番
号をバックアップRAM49に格納するとともに、図1
5に示した動作手順を実行してプログラム転送を行う。
また、CPU54は、図17及び図20に示した動作手
順を実行してプログラム及びデータの転送を行う。
In the above-mentioned embodiment, the case where the program and data of the software executed immediately before is read and the simulation operation is restarted has been described as an example. However, the operation panel 11 in the I / O CPU board 38 is described.
The same can be considered when operating the ten-key pad 4 to change the software. In this case, the CPU 40
The software number input by operating the operation panel 114 is stored in the backup RAM 49, and
Program transfer is performed by executing the operation procedure shown in FIG.
Further, the CPU 54 executes the operation procedure shown in FIGS. 17 and 20 to transfer the program and data.

【0157】また、図2にはドライビングシミュレータ
の具体例を示したが、本発明は当該シミュレータの他、
家庭用あるいは業務用のゲーム機にも適用することでき
る。例えば、家庭用ゲーム機の場合には、ROMカセッ
トに複数のゲーム用ソフトウエアを格納しておいて、プ
レーヤが実施したいゲームのソフトウエアのみをゲーム
機本体のRAMに転送するようにしてもよい。
FIG. 2 shows a concrete example of the driving simulator.
It can also be applied to home or commercial game machines. For example, in the case of a home-use game machine, a plurality of game software programs may be stored in a ROM cassette and only the game software to be executed by the player may be transferred to the RAM of the game machine body. .

【0158】[0158]

【発明の効果】上述したように、本発明によれば、複数
のソフトウエアに対応するデータあるいはプログラムを
必要に応じて転送先格納手段に転送した後にソフトウエ
アの実行が行われるため、複数のソフトウエアを切り替
える際のハードウエアの操作等が不要となり、操作の繁
雑さを回避することができる。また、複数のソフトウエ
アを実行する際に、共通した転送先格納手段を用いるた
め、ハードウエアの重複部分をなくして回路の無駄を省
くことができる。さらに、転送先格納手段を用いてソフ
トウエアが実行されるため、回路が必要以上に複雑化す
ることがない。また、プログラムやデータ変更にROM
変更を行う場合でも、集約して行えるので便利である。
As described above, according to the present invention, the software is executed after the data or the program corresponding to the plurality of software is transferred to the transfer destination storing means as necessary, so that the plurality of software is executed. It becomes unnecessary to operate the hardware when switching the software, and the complexity of the operation can be avoided. In addition, since a common transfer destination storage means is used when executing a plurality of software, it is possible to eliminate a redundant part of hardware and reduce circuit waste. Further, since the software is executed by using the transfer destination storing means, the circuit does not become unnecessarily complicated. Also, ROM for changing programs and data
Even if changes are made, it is convenient because they can be done collectively.

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

【図1】本発明を適用した一実施例のプログラム実行装
置の概略を示す図である。
FIG. 1 is a diagram showing an outline of a program execution device of an embodiment to which the present invention is applied.

【図2】図1に示したプログラム実行装置をドライビン
グシミュレータに適用した場合の当該装置の具体的構成
を示す図である。
FIG. 2 is a diagram showing a specific configuration of the program execution device shown in FIG. 1 when the device is applied to a driving simulator.

【図3】CPUボードの詳細な構成を示す図である。FIG. 3 is a diagram showing a detailed configuration of a CPU board.

【図4】CPUボードの詳細な構成を示す図である。FIG. 4 is a diagram showing a detailed configuration of a CPU board.

【図5】ROMボードの詳細な構成を示す図である。FIG. 5 is a diagram showing a detailed configuration of a ROM board.

【図6】ROMを複数の素子を用いて構成した場合の具
体例を示す図である。
FIG. 6 is a diagram showing a specific example when a ROM is configured using a plurality of elements.

【図7】DSPボードの詳細な構成を示す図である。FIG. 7 is a diagram showing a detailed configuration of a DSP board.

【図8】PGNボードの詳細な構成を示す図である。FIG. 8 is a diagram showing a detailed configuration of a PGN board.

【図9】OBJボードの詳細な構成を示す図である。FIG. 9 is a diagram showing a detailed configuration of an OBJ board.

【図10】I/O CPUボードの詳細な構成を示す図
である。
FIG. 10 is a diagram showing a detailed configuration of an I / O CPU board.

【図11】ROMに格納されるプログラムあるいはデー
タの格納状態を示す図である。
FIG. 11 is a diagram showing a storage state of a program or data stored in a ROM.

【図12】図11に示した各種プログラムおよびデータ
をROMに格納する場合の具体的なアドレスマップを示
す図である。
FIG. 12 is a diagram showing a specific address map when the various programs and data shown in FIG. 11 are stored in a ROM.

【図13】プログラムの転送を行う場合の動作手順を示
す図である。
FIG. 13 is a diagram showing an operation procedure when a program is transferred.

【図14】プログラムの転送を行う場合の動作手順を示
す図である。
FIG. 14 is a diagram showing an operation procedure when a program is transferred.

【図15】プログラムの転送を行う場合の動作手順を示
す図である。
FIG. 15 is a diagram showing an operation procedure when a program is transferred.

【図16】プログラムの転送を行う場合の動作手順を示
す図である。
FIG. 16 is a diagram showing an operation procedure when a program is transferred.

【図17】プログラムの転送を行う場合の動作手順を示
す図である。
FIG. 17 is a diagram showing an operation procedure when a program is transferred.

【図18】データの転送を行う場合の動作手順を示す図
である。
FIG. 18 is a diagram showing an operation procedure when data is transferred.

【図19】データの転送を行う場合の動作手順を示す図
である。
FIG. 19 is a diagram showing an operation procedure when data is transferred.

【図20】データの転送を行う場合の動作手順を示す図
である。
FIG. 20 is a diagram showing an operation procedure when data is transferred.

【図21】家庭用ゲーム機で複数種類のゲームを行う場
合の概念図である。
FIG. 21 is a conceptual diagram when playing a plurality of types of games on a home-use game machine.

【符号の説明】[Explanation of symbols]

10 プログラム実行部 11 転送プログラム・データ特定部 12 転送元格納部 18 転送先格納部 23 検索プログラム格納部 40,54 CPU 46,58,66 BOOT ROM 48,60,68 PROG RAM 62 ROM 64 DSP 72 ポイントRAM 76 ラインRAM 86 CG RAM 96 パレットRAM 10 program execution unit 11 transfer program / data specifying unit 12 transfer source storage unit 18 transfer destination storage unit 23 search program storage unit 40, 54 CPU 46, 58, 66 BOOT ROM 48, 60, 68 PROG RAM 62 ROM 64 DSP 72 points RAM 76 Line RAM 86 CG RAM 96 Palette RAM

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の被転送プログラムあるいはデータ
と、転送処理を行うための転送用プログラムとを格納す
る転送元格納手段と、 前記被転送プログラムあるいはデータが転送されて転送
プログラムあるいはデータとして格納される転送先格納
手段と、 前記転送元格納手段に格納された複数の被転送プログラ
ムあるいはデータの中から転送の対象となる1つあるい
は複数のプログラムあるいはデータを特定する転送プロ
グラム・データ特定手段と、 前記転送プログラム・データ特定手段によって特定され
た転送すべき1つあるいは複数のプログラムあるいはデ
ータを前記転送元格納手段の格納領域を調べて検索する
検索プログラムを格納する検索プログラム格納手段と、 前記検索プログラム格納手段に格納された検索プログラ
ムを実行することにより、前記転送プログラム・データ
特定手段によって特定された転送すべき1つあるいは複
数のプログラムあるいはデータを検索するとともに、前
記転送元格納手段に格納された転送用プログラムを実行
することにより、検索した1つあるいは複数のプログラ
ムあるいはデータを前記転送先格納手段に転送するプロ
グラム実行手段と、 を備え、前記転送先格納手段に格納された転送後のプロ
グラムあるいはデータを用いて所定の処理を行うことを
特徴とするプログラム実行装置。
1. A transfer source storage unit for storing a plurality of transferred programs or data and a transfer program for performing transfer processing, and the transferred programs or data being transferred and stored as transfer programs or data. Transfer destination storage means, and transfer program / data identification means for identifying one or more programs or data to be transferred from among the plurality of transferred programs or data stored in the transfer source storage means, Search program storage means for storing a search program for searching the storage area of the transfer source storage means for one or more programs or data to be transferred identified by the transfer program / data identification means, and the search program Execute the search program stored in the storage means Thus, the one or more programs or data to be transferred specified by the transfer program / data specifying means are searched, and the transfer program stored in the transfer source storage means is executed to search. Program executing means for transferring one or a plurality of programs or data to the transfer destination storing means, and performing a predetermined process using the transferred program or data stored in the transfer destination storing means. Characteristic program execution device.
【請求項2】 請求項1において、 前記転送プログラム・データ特定手段は、転送の対象と
なる1つあるいは複数のプログラムあるいはデータを、
これらのプログラムあるいはデータに含まれる所定の識
別符号に基づいて特定し、 前記プログラム実行手段は、前記検索プログラム格納手
段に格納された検索プログラムを実行したときに、前記
転送元格納手段の格納領域を複数の領域に分割して、各
分割領域の所定位置に前記所定の識別符号が含まれるか
どうか調べることにより転送すべきプログラムあるいは
データの検索を行うことを特徴とするプログラム実行装
置。
2. The transfer program / data identification means according to claim 1, wherein one or a plurality of programs or data to be transferred are
The program execution means specifies the storage area of the transfer source storage means when executing the search program stored in the search program storage means. A program execution device, characterized in that the program or data to be transferred is searched by dividing the area into a plurality of areas and checking whether or not the predetermined identification code is included in a predetermined position of each divided area.
【請求項3】 請求項1において、 前記転送元格納手段は、前記転送プログラム・データ特
定手段によって特定されて転送される1つあるいは複数
のプログラムに対応させて前記転送用プログラムを格納
し、 前記プログラム実行手段は、最初は前記転送元格納手段
に格納された転送用プログラムを実行することにより、
前記検索した1つあるいは複数のプログラムとともに前
記転送用プログラムの転送を行い、前記転送用プログラ
ムが転送された後は、前記転送先格納手段に転送されて
格納された前記転送用プログラムを実行することによ
り、転送が終了していない前記検索した1つあるいは複
数のプログラムの転送を行うことを特徴とするプログラ
ム実行装置。
3. The transfer source storage unit according to claim 1, wherein the transfer source storage unit stores the transfer program in association with one or a plurality of programs specified and transferred by the transfer program / data specifying unit, The program execution means initially executes the transfer program stored in the transfer source storage means,
Transferring the transfer program together with the retrieved one or more programs, and executing the transfer program transferred to and stored in the transfer destination storing means after the transfer program is transferred. The program execution device is characterized in that the one or a plurality of retrieved programs whose transfer is not completed are transferred according to the above.
JP19786093A 1993-07-15 1993-07-15 Program execution device Withdrawn JPH0736701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19786093A JPH0736701A (en) 1993-07-15 1993-07-15 Program execution device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19786093A JPH0736701A (en) 1993-07-15 1993-07-15 Program execution device

Publications (1)

Publication Number Publication Date
JPH0736701A true JPH0736701A (en) 1995-02-07

Family

ID=16381539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19786093A Withdrawn JPH0736701A (en) 1993-07-15 1993-07-15 Program execution device

Country Status (1)

Country Link
JP (1) JPH0736701A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008108064A (en) * 2006-10-25 2008-05-08 Toshiba Corp Digital signal processor system and starting method of digital signal processor
JP5458574B2 (en) * 2006-06-27 2014-04-02 日本電気株式会社 Multiprocessor system, portable terminal using multiprocessor system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5458574B2 (en) * 2006-06-27 2014-04-02 日本電気株式会社 Multiprocessor system, portable terminal using multiprocessor system
JP2008108064A (en) * 2006-10-25 2008-05-08 Toshiba Corp Digital signal processor system and starting method of digital signal processor

Similar Documents

Publication Publication Date Title
JP2763499B2 (en) Image synthesizing apparatus and image synthesizing method
US4296930A (en) TV Game apparatus
WO1996008298A1 (en) Three-dimensional simulator and image synthesis method
US20030040362A1 (en) Image generation method, program, and information storage medium
CN103150699A (en) Graphics command generation device and graphics command generation method
US5946004A (en) Enhanced function board for use in processing image data and image processing apparatus using the same
JPH07116343A (en) Electronic play equipment
EP0992267B1 (en) Image creating apparatus, displayed scene switching method for the image creating apparatus, computer-readable recording medium containing displayed scene switching program for the image creating apparatus, and video game machine
EP1255227A1 (en) Vertices index processor
US6172670B1 (en) Method and apparatus for simultaneous shape-dependent access to picture data stored at a plurality of addresses
US6339430B1 (en) Video game machine and method for changing texture of models
JP3797608B2 (en) GAME DEVICE AND GAME PROGRAM
JP3791728B2 (en) GAME SCREEN DISPLAY CONTROL METHOD, GAME SYSTEM, AND COMPUTER-READABLE RECORDING MEDIUM
JPH0736701A (en) Program execution device
CN115131474B (en) Object display method, device, apparatus, medium and program product
US6677955B1 (en) Image processing method and image processing apparatus
EP0670560B1 (en) A method for sorting polygon data, a video game machine employing the same and acomputer program performing the method
GB1571291A (en) Tv game apparatus
JPH11347254A (en) Communication game system and game execution method therefor
JP3394067B2 (en) Image generator
JP2990190B2 (en) Three-dimensional simulator device and image synthesizing method
JP2001084390A (en) Image generation system and information storage medium
US6618055B1 (en) Computer readable program product, method of image processing and image processing system
JP2830765B2 (en) Polygon data sorting method and game device using the same
JP3130496B2 (en) A method for creating spatial information in a pseudo three-dimensional game space, a method for determining contact between a pseudo three-dimensional image and a movable model, a contact determination device, and a readable recording medium storing a program for performing such contact determination

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001003