JP3738328B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP3738328B2
JP3738328B2 JP13728095A JP13728095A JP3738328B2 JP 3738328 B2 JP3738328 B2 JP 3738328B2 JP 13728095 A JP13728095 A JP 13728095A JP 13728095 A JP13728095 A JP 13728095A JP 3738328 B2 JP3738328 B2 JP 3738328B2
Authority
JP
Japan
Prior art keywords
register
value
icon
character
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP13728095A
Other languages
Japanese (ja)
Other versions
JPH08305886A (en
Inventor
和夫 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP13728095A priority Critical patent/JP3738328B2/en
Publication of JPH08305886A publication Critical patent/JPH08305886A/en
Application granted granted Critical
Publication of JP3738328B2 publication Critical patent/JP3738328B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は、グラフィックの表示・編集を行うことのできる画像処理装置に関する。
【0002】
【従来の技術】
子供用お絵かきソフトを実行するパソコンやゲーム機等のグラフィック編集装置において、様々なグラフィックパーツを使用して任意のグラフィックを構成し表示できるものがある。例えば、目、口、まゆ、髪などのパーツを組み合せることにより似顔絵を作成する似顔絵作成装置などである。
【0003】
このような装置においては、従来、各グラフィックパーツを構成する画像データは1つのメモリ上に展開され、そのメモリ上の画像データが順次読み出されることにより、グラフィックが構成されている。
【0004】
【発明が解決しようとする課題】
しかし、このような従来技術では、各グラフィックパーツは、そのメモリ上での占有領域数に関係なく1つのメモリ上に展開されるため、メモリ上に展開されたグラフィックパーツの画像データを編集(移動、削除、追加等)しようとした場合に、メモリのアクセス効率が悪く、例えば、表示動作に時間がかかり、或いは、展開可能なメモリ領域が制限される結果、画像データの1ドットあたりのビット数、即ち色数を制限しなければならなくなる等の問題点を有している。
【0005】
より具体的には、例えば、メモリ上においてグラフィックパーツの画像データが所定の大きさの部分(セル)に分割して格納され、グラフィックパーツの表示位置もそのグラフィックパーツを構成するセル毎に指定されるような構成を有する場合に、1つのメモリ上で同時にアクセスされるセル数が増加すると、そのメモリを用いて表現されるグラフィックを例えば移動させるためには、一度に多くのセルを移動させるための制御を行わねばならず、処理の開始から完了までに多くの時間がかかり、結果的に表示動作の反応速度が低下してしまう。
【0006】
本発明の課題は、メモリ上のグラフィックパーツに対するアクセス性能を向上せることにある。
【0007】
【課題を解決するための手段】
本発明は、グラフィックパーツの画像データを組み合わせて表示画面上に配置することによりグラフィックを合成する画像処理装置を前提とする。
【0008】
そして、まず、それぞれ第1及び第2の表示画面領域が確保される複数の記憶手段(SRAM103、DP−RAM104)を有する。
次に、各記憶手段の第1の表示画面領域に前記スプライト画像が、第2の表示画面領域にビットマップ画像が割り当てられるように、グラフィックパーツの画像データを、複数の記憶手段の1つに確保されている表示画面領域に記憶させる画像データ書込み手段(CPU101)を有する。この割り当て制御は、予め静的に行われてもよいし、実際の書込み時に各記憶手段における記憶容量に応じて動的に行われてもよい。
【0009】
そして、複数の記憶手段に確保されている各表示画面領域から、それら各表示画面領域間で表示の優先度を制御しながら、それら各表示画面領域に記憶されているグラフィックパーツの画像データを並列に読み出して出力画像データとして出力する画像データ読出し手段(SRAMインタフェース部302とDP−RAMインタフェース部303を内蔵するVDP102)を有する。
【0010】
【作用】
所定のグラフィックパーツ毎にそれらが複数の記憶手段上の異なる表示画面領域に配置される。
【0011】
より具体的には、例えば、所定数までの第1のグラフィックパーツ(スプライト(オブジェクト))群が第1の記憶手段(SRAM103)上に確保される表示画面領域に配置される。一方、第2のグラフィックパーツ(ビットマップ)群が第2の記憶手段(DP−RAM104)上に確保される表示画面領域に配置される。
【0012】
このように、グラフィックパーツが複数の記憶手段に振り分けられることで、画像データ読出し手段は、それぞれの記憶手段上のグラフィックパーツの画像データに、独立にアクセスすることができる。
【0013】
【実施例】
以下、図面を参照しながら、本発明の実施例につき詳細に説明する。
<実施例の回路の全体構成>
図1は、本発明の実施例の回路の全体構成図であり、ゲーム機の外観を有する低年齢層向けの似顔絵作成装置として実施され、テレビ111を除いて同一の筐体内に構成される。
【0014】
VDP(ビデオディスプレイプロセッサ)102は、スプライト(オブジェクト)、バックグラウンド、ビットマップ等に関する画像処理を制御する。
SRAM(スタティックRAM)103は、スプライト(オブジェクト)及びバックグラウンドの画像データを格納する。DP−RAM(デュアルポートRAM)104は、ビットマップの画像データを格納する。SRAM103及びDP−RAM104は、VDP102からアクセスされる。
【0015】
音源処理回路105は、画像と共に発音される楽音のサウンドデータを生成する。
サウンドRAM106は、音源処理回路105が処理する楽音波形データ及びそれらの制御データを格納する。
【0016】
プログラム/データROM107は、CPU101が実行するプログラム及びそのプログラムにおいて使用される各種データを格納する。CPU101は、このプログラムに従って、ワークRAM108を使用しながら、VDP102及び音源処理回路105を制御する。
【0017】
エンコーダ109は、VDP102から送られてくるRGBアナログ映像信号をテレビ規格の映像信号(NTSC信号)に変換する。
D/A変換器110は、音源処理回路105から送られてくるデジタルのサウンドデータをアナログのサウンド信号に変換する。
【0018】
テレビ111は、エンコーダ109から図1のビデオ出力端子104を介して出力される映像信号及びD/A変換器110から図1のオーディオ出力端子103を介して出力されるサウンド信号を再生する。
【0019】
コントロールパッド112は、図2に示される外観を有しており、ユーザに各種操作を行わせる。図2に示されるように、コントロールパッド112上には、SELスイッチ201、ENTERスイッチ202、及び上下左右スイッチ203〜206が備えられている。
<VDP102の構成>
図3は、図1に示されるVDP102の構成図である。
【0020】
このVDP102は、似顔絵作成時に、主として動くキャラクターを表現するスプライト(オブジェクト)と、背景を表現するバックグラウンド及びビットマップの、テレビ111(図1)への画面表示を、制御する。
【0021】
CPUインタフェース部301は、図1のCPU101との間のデータ転送時におけるインタフェースを制御する。
SRAMインタフェース部302は、後述するオブジェクトジェネレータ部304又はバックグラウンドジェネレータ部305が図1のSRAM103に格納されているスプライト(オブジェクト)又はバックグラウンド(背景)の画像データをアクセスする場合のインタフェースを制御する。
【0022】
DP−RAMインタフェース部303は、後述するビットマップジェネレータ部306が図1のDP−RAM104に格納されているビットマップの画像データをアクセスする場合のインタフェースを制御する。
【0023】
オブジェクトジェネレータ部304と、バックグラウンドジェネレータ部305、及びビットマップジェネレータ部306は、各水平期間(後述する図12を参照)毎に、図1のSRAM103又はDP−RAM104から、次の水平表示期間内の各ドット表示タイミングに対応する表示座標に配置されるスプライト(オブジェクト)、バックグラウンド、又はビットマップの色コードを読み込み、それぞれの内部のバッファに格納する。
【0024】
また、オブジェクトアトリビュートメモリ部307は、オブジェクトジェネレータ部304がSRAM103からSRAMインタフェース部302を介してスプライト(オブジェクト)を読み出すときのタイミングに対応する表示座標を格納する。
【0025】
プライオリティコントローラ部308は、各水平表示期間内の各ドット毎に、オブジェクトジェネレータ部304、バックグラウンドジェネレータ部305、又はビットマップジェネレータ部306がそれぞれ読み込んだ色コードのうちの1つを予め定められたプライオリティ(優先順位)に従って選択し出力する。
【0026】
カラールックアップテーブル部309は、プライオリティコントローラ部308から出力された色コードを、R(赤)、G(緑)、B(青)のデジタルデータに変換して出力する。
【0027】
RGB D/A変換部310は、プライオリティコントローラ部308から出力されるRGBデジタルデータをRGBアナログ映像信号に変換し出力する。
オシレータ部311は、VDP102に必要な各種クロックを生成する。
【0028】
水平/垂直同期カウンタ部312は、オシレータ部311が出力するクロックに従って、画像表示に必要な水平同期カウンタ値(水平同期信号)及び垂直同期カウンタ値(垂直同期信号)を生成するためのカウンタ回路である。
【0029】
デコーダ部313は、水平/垂直同期カウンタ部312が出力するカウンタ値から水平同期カウンタ値及び垂直同期カウンタ値をデコードし、VDP102内の各ブロックに供給する。
【0030】
ビデオ信号ジェネレータ部314は、デコーダ部313が出力する水平同期カウンタ値及び垂直同期カウンタ値から、図1のエンコーダ109が必要とするビデオ信号を生成し、エンコーダ109に供給する。
<画像データの構成>
まず、本実施例では、表示画面は、図4に示されるように、6枚の仮想的な表示面が重なったものとして定義される。これらの表示面は、奥から手前に向け、バックグラウンドA面(BG−A面)、ビットマップB面(BM−B面)、オブジェクトA面(OBJ−A面)、ビットマップA面(BM−A面)、オブジェクトB面(OBJ−B面)、及びバックグラウンドB面(BG−B面)の順に配置される。そして、手前の表示面にアサインされる画像ほど表示のプライオリティが高く、それより奥の表示面にアサインされている画像を隠して表示される。
【0031】
図5に、各表示面にアサインされる画像データの種類(部品)と、画面モードとの関係を示す。BG−A面、BG−B面、BM−A面、BM−B面、OBJ−A面、及びOBJ−B面に表示される各種画像データは、図6〜図8に示されるデータフォーマットで、図1のプログラム/データROM107に記憶される。BG−A面、BG−B面、OBJ−A面、及びOBJ−B面の画像データは、図1に示されるCPU101が、プログラム/データROM107から、ワークRAM108と、図3のCPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103に転送する。同様に、BM−A面及びBM−B面の画像データは、図1に示されるCPU101が、プログラム/データROM107から、ワークRAM108と、図3のCPUインタフェース部301、アドレスバス315、データバス316、及びDP−RAMインタフェース部303を介して、SRAM103に転送する。転送途中にワークRAM108に各種画像データが格納される場合のデータフォーマットは、図9に示される。
【0032】
本実施例では、データの圧縮効果を念頭におき、小面積画像及びその繰返しからなる画像を再生するために、小面積毎に画像データを区切ってSRAM103又はDP−RAM104に展開し、これを一度或いは任意に繰り返して画像として再生する。この小面積をセルと呼ぶ。
【0033】
BG面においては、このセルが任意にマップ(マトリクス)状に並べられ、目的の大きさの画像が合成される。画像中の一部分のみを変更したい場合は、SRAM103上の該当するセルのデータのみをCPU101により書き換えればよく、そのときに他のセルに影響を及ぼさずに済む。本実施例では、このBG面を2面分出力できる。これらを、BG−A面及びBG−B面と呼ぶ。
【0034】
OBJ面は、データの圧縮のためというよりも、小面積画像の表示位置を他の画像(背景等)に影響を与えず(描き直したりせず)に簡単に変更したり、多数(本実施例では同時表示数は128個)のスプライト(オブジェクト)画像間でプライオリティを持たせたりする目的で使用される。OBJ面上の画像データは小面積でデータ量(ドット数)が少ないために、1枚の画像データに対するメモリアクセス時間が少なくて済み、その分多数の画像データを再生することができる。但し、1画面あたりに同時に表示できるスプライト(オブジェクト)の数は制限されている。これは、後述する図3のオブジェクトアトリビュートメモリ部307のメモリ容量から規定される。OBJ面上の画像も、BG面上の画像と同様に、セルによって構成される。また、本実施例では、このOBJ面を2面分出力できる。これらを、OBJ−A面及びOBJ−B面と呼ぶ。
【0035】
BM面は、ある程度の面積を有する画像であるが、繰り返し再生される要素が少ない場合に適した面である。画像をセル形式に構成する必要がなく、更に、マップ情報も必要ない。この結果、比較的面積の大きな画像を効率良く表示させることができる。本実施例では、このBM面を2面分出力できる。これらを、BM−A面及びBM−B面と呼ぶ。
<VDP102及びCPU101の概略動作>
次に、CPU101とVDP102の概略の動作について説明する。
【0036】
次に、図3のオブジェクトジェネレータ部304及びバックグラウンドジェネレータ部305は、各水平期間内の時分割された各タイミングで、SRAMインタフェース部302をアクセスする。このアクセスにおいて、オブジェクトジェネレータ部304は、図1のSRAM103から、次の水平表示期間内の各ドットの表示タイミングに対応するOBJ−A面上の表示座標及びOBJ−B面上の表示座標にそれぞれ配置されるスプライト(オブジェクト)の色コードを読み出し、オブジェクトジェネレータ部304内の上記各表示面に対応するラインバッファにそれぞれ格納する。同様に、バックグラウンドジェネレータ部305は、図1のSRAM103から、次の水平表示期間内の各ドットの表示タイミングに対応するBG−A面上の表示座標及びBG−B面上の表示座標にそれぞれ配置されるバックグラウンドの色コードを読み出し、バックグラウンドジェネレータ部305内の上記各表示面に対応するラインバッファにそれぞれ格納する。
【0037】
上述した動作において、図1のCPU101は、図3のCPUインタフェース部301、アドレスバス315、及びデータバス316を介してオブジェクトアトリビュートメモリ部307に、図1のSRAM103に図7に示されるデータフォーマットで格納されている最大で128個の各スプライト(オブジェクト)がOBJ−A面又はOBJ−B面に配置される場合の配置座標を、図10に示されるデータフォーマットで格納する。そして、オブジェクトジェネレータ部304は、このオブジェクトアトリビュートメモリ部307に格納されている各スプライト(オブジェクト)について、それらの配置座標に対応する読出しタイミングを計算し、それらの計算されたタイミングで、各スプライト(オブジェクト)をSRAM103から読み出してラインバッファに格納する。
【0038】
一方、ビットマップジェネレータ部306は、上述のオブジェクトジェネレータ部304とバックグラウンドジェネレータ部305のアクセス動作からは独立して、各水平期間内の時分割された各タイミングで、DP−RAMインタフェース部303をアクセスする。このアクセスにおいて、バックグラウンドジェネレータ部305は、図1のDP−RAM104から、次の水平表示期間内の各ドットの表示タイミングに対応するBM−A面上の表示座標と、BM−B面上の表示座標とにそれぞれ配置されるビットマップの色コードを読み出し、ビットマップジェネレータ部306内の上記各表示面に対応するラインバッファにそれぞれ格納する。
【0039】
以上のようにして、各水平期間毎に、オブジェクトジェネレータ部304内の2つのラインバッファに、OBJ−A面及びOBJ−B面にそれぞれ配置される次の1ライン分のスプライト(オブジェクト)の色コードが得られ、バックグラウンドジェネレータ部305内の2つのラインバッファにBG−A面及びBG−B面にそれぞれ配置される次の1ライン分のバックグラウンドの色コードが得られ、更にビットマップジェネレータ部306内の4つのラインバッファにBM−A面と、BM−B面にそれぞれ配置される次の1ライン分のビットマップの色コードが得られる。
【0040】
なお、図1のCPU101は、図11に示されるデータフォーマットを有するVDP102内の特には図示しない表示制御レジスタに、図4に示される各表示面が使用されるか否かを設定する。図3のオブジェクトジェネレータ部304、バックグラウンドジェネレータ部305、及びビットマップジェネレータ部306は、この表示制御レジスタの内容を参照することにより、各表示面に対応する画像データ(色コード)をSRAM103又はDP−RAM104から読み出すか否かを決定する。
【0041】
図12は、画面表示タイミングの説明図である。
図3のデコーダ部313から出力される水平同期カウンタ値が000h〜1FFh(“h”は16進数を示す)まで変化する期間が1水平期間であり、そのうち000h〜0FFhの256カウント分の水平同期カウンタ値に対応する期間が256ドットからなる1ライン分の水平表示期間、それ以外の水平同期カウンタ値に対応する期間が水平ブランク期間である。また、デコーダ部313から出力される垂直同期カウンタ値が000h〜1FFhまで変化する期間が1垂直期間であり、これが図1のテレビ111上の1画面分の表示期間となる。そして、000h〜0DFhの224カウント分の垂直同期カウンタ値に対応する期間が垂直方向224ライン分の垂直表示期間、それ以外の垂直同期カウンタ値に対応する期間が垂直ブランク期間である。
【0042】
図3のカラールックアップテーブル部309からRGB D/A変換部310へは、水平同期カウンタ値がカウントアップされる毎に、1組ずつのRGBデータが出力される。
<CPU101の詳細動作>
図1のCPU101の動作について詳細に説明する。なお、以下に説明する各動作フローチャートは、CPU101がプログラム/データROM107に記憶される制御プログラムを実行する動作として実現される。また、特には言及しない限り図1〜図3の構成の各機能部分を参照するものとする。
全体動作フロー
図13は、CPU101が実行する全体動作フローチャートである。
【0043】
システムの電源がオンされると、ステップ1301で、ワークRAM108の内容、VDP102内のオブジェクトアトリビュートメモリ部307と特には図示しない各種レジスタの内容、及びSRAM103とDP−RAM104の内容等が初期化(イニシャライズ)される。
【0044】
次に、ステップ1302では、モード選択処理が実行される。ここでは、ユーザにアンケート画面又はファイルロード画面の何れかを選択させるためのモード選択画面が表示され、ユーザがコントロールパッド112においてONしたスイッチの種別の判定と、ONしたスイッチに応じたモード選択画面の表示の変更が行われる。
【0045】
モード選択画面上のアンケート画面の選択領域又はファイルロード画面の選択領域の何れかが強調表示されているときに、ユーザがENTERスイッチ202をONすると、ステップ1303で、特には図示しないレジスタに設定されている現在のモード番号が判定される。
【0046】
現在のモード番号が1であると判定された場合には、ステップ1304でファイルをロードするためのファイル操作画面の処理が実行される。
一方、現在のモード番号が2であると判定された場合には、ステップ1305でアンケート画面の処理が実行される。
【0047】
ユーザがステップ1304においてテレビ111に表示されるファイル操作画面又はステップ1305においてテレビ111に表示されるアンケート画面を終了させると、ステップ1306で似顔絵作成の処理が実行される。
【0048】
ステップ1306において、ユーザが、コマンドアイコンである後述する「モード選択画面に戻る」アイコンが強調表示されているときにENTERスイッチ202をONした場合には、ステップ1302のモード選択処理に戻る。
【0049】
一方、ステップ1306において、ユーザが、コマンドアイコンである後述する「セーブ」アイコンが強調表示されているときにENTERスイッチ202をONした場合には、ステップ1308と1309で、作成された似顔絵をファイルにセーブするための処理が実行される。この場合まず、ステップ1308で、ユーザにファイル名を入力させるための文字入力処理が実行され、ユーザがファイル名を入力すると、ステップ1309で、ファイルセーブ処理が実行され、その後、ステップ1306の似顔絵作成の処理に戻る。
モード選択処理のフロー
図14は、図13のステップ1302の処理として実行されるモード選択処理の動作フローチャートである。
【0050】
まず、ステップ1401では、モード選択画面表示処理が実行される。この処理の詳細な動作フローチャートは、図15に示される。
図15において、ステップ1501では、CPU101からVDP102に対して、出力画面のクリア命令が出される。この結果、テレビ111の画面表示がクリアされる。
【0051】
ステップ1502では、CPU101は、プログラム/データROM107上の図6に示されるBG−A面用のバックグラウンド画像データである背景データ(図5のモード選択画面参照)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する。
【0052】
ステップ1503では、ステップ1502と同様に、CPU101は、プログラム/データROM107上の図6に示されるBG−B面用のバックグラウンド画像データであるモード選択画面データ(システム画面データ)(図5のモード選択画面参照)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−B面の記憶領域に転送する。
【0053】
更に、ステップ1504では、モード選択画面の説明用のふきだし(以下「説明ふきだし」という)のデータとその座標データが作成される。具体的には、CPU101が、図59(M-a) に示されるイメージに対応するデータであって、プログラム/データROM107上の図6に示されるOBJ−B面用のオブジェクト画像データである図7▲3▼に示されるせりふ文のデータとせりふ枠のデータを、説明ふきだしのデータとして決定する。また、CPU101は、それらのオブジェクト画像データの表示位置を示す座標データを内部レジスタ上に作成する。
【0054】
ステップ1505においては、CPU101は、決定した図59(M-a) に示される説明ふきだし用のオブジェクト画像データを、プログラム/データROM107から、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−B面の空きオブジェクト記憶領域に転送する(図5のモード選択画面参照)。また、CPU101は、内部レジスタ上に作成した上記オブジェクト画像データの表示位置を示す座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してオブジェクトアトリビュートメモリ部(OAM)307に転送する。
【0055】
ステップ1506では、上述の一連の転送処理が終了したか否かが判定され、転送終了が判定された時点で、図14のステップ1401のモード選択画面表示処理を終了する。この結果、図3に示される構成を有するVDP102が、前述したようにして、SRAM103上のBG−A面、BG−B面、及びOBJ−B面の各記憶領域に転送されたモード選択画面用の画像データをテレビ111に表示する。モード選択画面では、特には図示しないが、モード1とモード2を選択するための選択領域が表示されている。最初にモード選択画面が表示された時点では、例えばモード1の選択領域が強調表示されている。また、モード選択画面には、図59(M-a) に示される説明ふきだしの表示もなされる。
【0056】
次に、図14のステップ1402〜1407の繰返しにおいては、ユーザがコントロールパッド112においてONしたスイッチの種別の判定と、ONしたスイッチに応じたモード選択画面の表示の変更が行われる。
【0057】
即ち、ユーザが上スイッチ(SW)203をONすると、ステップ1402の判定がYES(Y)となり、更に特には図示しないレジスタMODEに設定されるモード番号(#)が1でなければステップ1403の判定もYESとなる。この結果、ステップ1404で、レジスタMODEに設定されるモード番号(#)が1にセットされる。モード番号が既に1になっている場合には、ステップ1403の判定がNO(N)となって、モード番号は変化しない。
【0058】
ステップ1405及び1406では、前述した図15のステップ1504及び1505の場合と同様にして、図59(M-a) に示されるモード選択画面の説明用の説明ふきだしのデータとその座標データが作成され、それらがSRAM103のOBJ−B面の空きオブジェクト記憶領域と、オブジェクトアトリビュートメモリ部307に転送される。
【0059】
この結果、モード1の選択領域が強調表示されると共に、図59(M-a) に示される説明ふきだしが表示される。
ユーザが下スイッチ204をONすると、ステップ1408の判定がYESとなり、ステップ1410で、レジスタMODEに設定されるモード番号(#)が2にセットされる。モード番号が既に2になっている場合には、ステップ1409の判定がNO(N)となって、モード番号は変化しない。
【0060】
ステップ1411及び1406では、前述した図15のステップ1504及び1505の場合と同様にして、図59(M-b) に示されるモード選択画面の説明用の説明ふきだしのデータとその座標データが作成され、それらがSRAM103のOBJ−B面の空きオブジェクト記憶領域と、オブジェクトアトリビュートメモリ部307に転送される。
【0061】
この結果、モード2の選択領域が強調表示されると共に、図59(M-b) に示される説明ふきだしが表示される。
ユーザがコントロールパッド112上のENTERスイッチ202をONするまではステップ1402〜1407の処理が繰り返される。ユーザがENTERスイッチ202をONすると、ステップ1407の判定がYESとなって、図13のステップ1302のモード選択処理を終了する。
ファイル
ファイルロード処理のフロー
図16〜図19は、図13のステップ1304として実行されるファイルロード処理を示す動作フローチャートである。この処理によって表示されるファイル操作画面上で、ユーザは、バッテリバックアップされているワークRAM108から、予めプリセットされている、或いは、ユーザ自身が作成し保存してあった似顔絵の画像データファイルを、SRAM103又はDP−RAM104にロードすることができる。
【0062】
ファイル操作画面としては、図49に示されるように、現在選択されているファイルの番号及び名前を表示する現在ファイル番号表示部及びファイル名表示部と、ファイルの種類を絵として表示するファイルアイコン1〜6と、説明ふきだしと人形の絵からなるヘルパーとが、テレビ111に表示される。
【0063】
ファイル操作画面では、ユーザは、コントロールパッド112上の上スイッチ203又は下スイッチ204をONすることにより、これからロードすべきファイルのグループとして、ファイルアイコン1〜3のグループとファイルアイコン4〜6のグループとの間を移動することができる。また、ユーザは、コントロールパッド112上の左スイッチ205又は右スイッチ206をONすることにより、これからロードすべきファイルとして、現在選択されているグループ内のファイルアイコンの何れかを選択することができる。これによって、選択されたファイルアイコンが強調表示されると共に、現在ファイル番号表示部とファイル名表示部の表示内容がそのファイルアイコンに対応する内容に変化する。そして、この状態でユーザがコントロールパッド112上のENTERスイッチ202をONすることによって、上記ファイルアイコンに対応するファイルのデータがSRAM103又はDP−RAM104にロードされる。ユーザは、このデータをもとにして、後述する図13のステップ1306の顔作成処理によって、似顔絵を編集することができる。
【0064】
以下に、図16〜図19の動作フローチャートの詳細を説明する。
まず、図16のステップ1601において、ファイル操作画面表示処理が実行される。この処理の詳細は、図19の動作フローチャートとして示される。
【0065】
図19において、ステップ1901では、CPU101からVDP102に対して、出力画面のクリア命令が出される。この結果、テレビ111の画面表示がクリアされる。
【0066】
ステップ1902では、CPU101は、プログラム/データROM107上の図6に示されるBG−A面用のバックグラウンド画像データである背景データ(図5のファイル操作画面参照)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する。
【0067】
ステップ1903では、ファイル番号を示すレジスタFNに、値1がプリセットされる。
ステップ1904では、ステップ1902の場合と同様に、CPU101は、プログラム/データROM107上の図6に示されるBG−B面用のバックグラウンド画像データであるファイル操作画面データ(システム画面データ)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−B面の記憶領域に転送する(図5のファイル操作画面参照)。これにより、図49に示されるファイル操作画面が、テレビ111に表示される。説明ふきだしの初期表示としては、図60(FL-a)に示される内容が表示される。
【0068】
ステップ1905では、上述の一連の転送処理が終了したか否かが判定され、転送終了が判定された後、更に、ステップ1906で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、現在ファイル番号表示部及びファイル名表示部(図49参照)に対応するセルの部分のみが、レジスタFNの値1に対応する内容を示すデータに置き換えられる。具体的には、CPU101は、現在ファイル番号表示部のセルとして、レジスタFNの値1に対応する数字1を示す画像データをSRAM103の対応するエリアに転送し、ファイル名表示部のセルとして、ワークRAM108の図9に示される6個のアドレスエリア{AD7}〜{AD7+7}、{AD7+8}〜{AD7+15}、{AD7+16}〜{AD7+23}、{AD7+24}〜{AD7+31}、{AD7+32}〜{AD7+39}、{AD7+40}〜{AD7+47}のうち、レジスタFNの値1に対応するアドレスエリア{AD7}〜{AD7+7}に記憶されているファイル名画像データをSRAM103の対応するエリアに転送する。
【0069】
その後、図16のステップ1601のファイル操作画面表示処理を終了する。この結果、ファイル操作画面の初期画面として、ファイル番号1及びそのファイル名を表示する現在ファイル番号表示部及びファイル名表示部と、ファイルアイコン1が強調表示されたファイルアイコン1〜6と、図60(FL-a)に示される内容を表示する説明ふきだしと人形の絵からなるヘルパーとが、テレビ111に表示される。
【0070】
この状態から、ユーザがコントロールパッド112上の下スイッチ204をONすると図16のステップ1605の判定がYESとなり、そのときファイルアイコン1〜3のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3以下であればステップ1606の判定がYESとなって、ステップ1607で、レジスタFNの値が+3される。この結果、ファイルアイコンのグループが1〜3のグループから4〜6のグループに移動したことになる。その後、表示を変更するための、図17のステップ1614〜1619の処理が実行される。下スイッチ204がONされたときに既にファイルアイコン4〜6のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3以下でなければステップ1606の判定がNOとなって、表示内容は変更されず、ステップ1602の処理に戻る。
【0071】
ユーザがコントロールパッド112上の上スイッチ203をONすると図16のステップ1602の判定がYESとなり、そのときファイルアイコン4〜6のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3より大きければステップ1603の判定がYESとなり、ステップ1604で、レジスタFNの値が−3される。この結果、ファイルアイコンのグループが4〜6のグループから1〜3のグループに移動したことになる。その後、表示を変更するための、図17のステップ1614〜1619の処理が実行される。上スイッチ203がONされたときに既にファイルアイコン1〜3のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3より大きくなければステップ1603の判定がNOとなって、表示内容は変更されず、ステップ1602の処理に戻る。
【0072】
ユーザがコントロールパッド112上の左スイッチ205をONすると図16のステップ1611の判定がYESとなり、そのとき左端のファイルアイコンであるファイルアイコン1及びファイルアイコン4(図49参照)が選択されておらずレジスタFNの値が1及び4でなければステップ1612の判定がYESとなって、ステップ1613で、レジスタFNの値が−1される。この結果、選択されるファイルアイコンが1つ左に移動したことになる。その後、表示を変更するための、図17のステップ1614〜1619の処理が実行される。左スイッチ205がONされたときに左端のファイルアイコンであるファイルアイコン1又はファイルアイコン4が選択されておりレジスタFNの値が1又は4であればステップ1612の判定がNOとなって、表示内容は変更されず、ステップ1602の処理に戻る。
ユーザがコントロールパッド112上の右スイッチ206をONすると図16のステップ1608の判定がYESとなり、そのとき右端のファイルアイコンであるファイルアイコン3及びファイルアイコン6(図49参照)が選択されておらずレジスタFNの値が3及び6でなければステップ1609の判定がYESとなって、ステップ1610で、レジスタFNの値が+1される。この結果、選択されるファイルアイコンが1つ右に移動したことになる。その後、表示を変更するための、図17のステップ1614〜1619の処理が実行される。右スイッチ206がONされたときに右端のファイルアイコンであるファイルアイコン3又はファイルアイコン6が選択されておりレジスタFNの値が3又は6であればステップ1609の判定がNOとなって、表示内容は変更されず、ステップ1602の処理に戻る。
【0073】
以上の図16のステップ1605〜1607、ステップ1602〜1604、ステップ1611〜1613、又はステップ1608〜1610の何れかの処理の後、図17のステップ1614で、レジスタFNの値に対応するファイルアイコンのみが新たに強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、レジスタFNの値に対応するファイルアイコンに対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタFNの元の値に対応する今まで強調表示されていたファイルアイコンに対応するセルの部分を通常表示用のセルに置き換える。
【0074】
次に、ステップ1615において、レジスタFNの値のファイル番号に対応するワークRAM108上のアドレスにファイルが記憶されているか否かが判定される。具体的には、CPU101は、ワークRAM108上の図9に示されるAD7から始まるアドレスエリアのうち、レジスタFNの値に対応するエリア{AD7+{(FN)−1}×8}〜{AD7+{(FN)−1}×8+7}に有効なファイル名が記憶されているか否かを判定する。なお、(FN)はレジスタFNの値を示す。
【0075】
レジスタFNの値のファイル番号に対応するファイルが存在しステップ1615の判定がYESならば、CPU101は、ステップ1616で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、説明ふきだしに対応するセルを、図60(FL-a)に示される内容に対応するセルに置き換える。このセルのデータは、プログラム/データROM107上の図6に示されるBG−B面用の画像データのうちのファイル操作画面用の画像データに含まれている。
【0076】
その後、ステップ1617で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、現在ファイル番号表示部及びファイル名表示部(図49参照)に対応するセルの部分のみが、レジスタFNの値に対応する内容を示すデータに置き換えられる。具体的には、CPU101は、現在ファイル番号表示部のセルとして、レジスタFNの値に対応する数字を示す画像データをSRAM103の対応するエリアに転送し、ファイル名表示部のセルとして、ワークRAM108上の図9に示されるAD7から始まる6個のアドレスエリアのうちレジスタFNの値に対応するアドレスエリア{AD7+{(FN)−1}×8}〜{AD7+{(FN)−1}×8+7}に記憶されているファイル名画像データをSRAM103の対応するエリアに転送する。
【0077】
その後、図16のステップ1602の処理に戻る。
一方、レジスタFNの値のファイル番号に対応するファイルが存在せず図17のステップ1615の判定がNOなら、CPU101は、ステップ1618で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、説明ふきだしに対応するセルを、図60(FL-b)に示される内容に対応するセルに置き換える。このセルのデータは、プログラム/データROM107上の図6に示されるBG−B面用の画像データのうちのファイル操作画面用の画像データに含まれている。
【0078】
その後、ステップ1619で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、現在ファイル番号表示部及びファイル名表示部(図49参照)に対応するセルの部分のみが変更される。具体的には、CPU101は、現在ファイル番号表示部のセルとして、レジスタFNの値に対応する数字を示す画像データをSRAM103の対応するエリアに転送し、ファイル名表示部のセルの内容として、空白を示す画像データをSRAM103の対応するエリアに転送する。
【0079】
その後、図16のステップ1602の処理に戻る。
最後に、何れかのファイルアイコンが強調表示されると共に、現在ファイル番号表示部とファイル名表示部の表示内容がそのファイルアイコンに対応する内容となっているときに、ユーザがコントロールパッド112上のENTERスイッチ202をONすると、図16のステップ1602と1605と1608と1611の判定がNOとなり、図18のステップ1620の判定がYESとなる。
【0080】
この結果、ステップ1621で、CPU101は、レジスタFNの値に対応するワークRAM108上の図9に示されるアドレスエリア{AD8+8×((FN)−1)}〜{AD8+8×((FN)−1)+7}に記憶されているパーツ種データである8種類のパーツ番号を、それぞれ、ワークRAM108上の図9に示されるアドレスエリア{AD1}〜{AD1+7}にストアする。
【0081】
この場合、図13のステップ1306の顔作成処理において後述するように、ワークRAM108上のアドレスエリア{AD8+8×((FN)−1)}からアドレスエリア{AD1}にストアされるパーツ番号は、プログラム/データROM107上の図6に示されるBG−A面用の背景画像データ00〜06のうちの1つを指定する。
【0082】
また、ワークRAM108上のアドレスエリア{AD8+8×((FN)−1)+1}からアドレスエリア{AD1+1}にストアされるパーツ番号は、プログラム/データROM107上の図6に示されるBM−B面用の後ろ髪の画像データ10〜16のうちの1つと、図6に示されるBM−A面用の前髪の画像データ10〜16のうちの1つを指定する。
【0083】
ワークRAM108上のアドレスエリア{AD8+8×((FN)−1)+2}からアドレスエリア{AD1+2}にストアされるパーツ番号は、プログラム/データROM107上の図6に示されるBM−B面用のりんかくの画像データ20〜26のうちの1つを指定する。
【0084】
ワークRAM108上のアドレスエリア{AD8+8×((FN)−1)+3}からアドレスエリア{AD1+3}にストアされるパーツ番号は、プログラム/データROM107上の図6及び図7に示されるOBJ−A面用の目の画像データ30〜36のうちの1つと、図6及び図7に示されるOBJ−B面用のまゆの画像データ30〜36のうちの1つを指定する。
【0085】
ワークRAM108上のアドレスエリア{AD8+8×((FN)−1)+4}からアドレスエリア{AD1+4}にストアされるパーツ番号は、プログラム/データROM107上の図6及び図7に示されるOBJ−A面用の鼻の画像データ40〜46のうちの1つを指定する。
【0086】
ワークRAM108上のアドレスエリア{AD8+8×((FN)−1)+5}からアドレスエリア{AD1+5}にストアされるパーツ番号は、プログラム/データROM107上の図6及び図7に示されるOBJ−A面用の口の画像データ50〜56のうちの1つを指定する。
【0087】
ワークRAM108上のアドレスエリア{AD8+8×((FN)−1)+6}からアドレスエリア{AD1+6}にストアされるパーツ番号は、プログラム/データROM107上の図6及び図7に示されるOBJ−B面用のせりふ文の画像データ80〜86のうちの1つを指定する。
【0088】
最後に、ワークRAM108のアドレスエリア{AD8+8×((FN)−1)+7}からアドレスエリア{AD1+7}にストアされるパーツ番号は、プログラム/データROM107上の図6及び図7に示されるOBJ−B面用のせりふ枠の画像データ90〜96のうちの1つを指定する。
【0089】
ステップ1621の処理の後、ステップ1622で、レジスタFNの値がワークRAM108の図9に示されるアドレスエリア{AD3}にストアされる。
ステップ1622の処理の後、図13のステップ1304のファイルロード処理を終了する。
【0090】
このようにして、ワークRAM108上の図9に示されるアドレスエリア{AD1}〜{AD1+9}にストアされたユーザが選択したファイルに含まれる似顔絵のパーツ番号に対応する各パーツは、後述する図13のステップ1306の顔作成処理において、プログラム/データROM107からSRAM103又はDP−RAM104に転送されてVDP102を介してテレビ111に表示され、ユーザは、このデータをもとにして似顔絵を編集することができ、また、必要に応じてファイルとしてセーブすることができる。
アンケート画面処理のフロー
図20〜図25は、図13のステップ1305として実行されるアンケート画面処理を示す動作フローチャートである。ユーザは、アンケート画面において、新規に作成したい似顔絵の概形を決定することができる。実際には、上述したプリセットファイルの中から、アンケート結果に最も近い特徴を有するファイルの内容がロードされる。
【0091】
まず、ステップ2001で、アンケート画面表示処理が実行される。この処理の詳細は、図25の動作フローチャートとして示される。
図25において、ステップ2501では、CPU101からVDP102に対して、出力画面のクリア命令が出される。この結果、テレビ111の画面表示がクリアされる。
【0092】
ステップ2502では、CPU101は、プログラム/データROM107上の図6に示されるBG−A面用のバックグラウンド画像データである背景データ(図5のアンケート画面参照)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する。
【0093】
ステップ2503では、ステップ2502と同様に、CPU101は、プログラム/データROM107上の図6に示されるBG−B面用のバックグラウンド画像データであるアンケート画面データ(システム画面)(図5のアンケート画面参照)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−B面の記憶領域に転送する。
【0094】
更に、ステップ2504では、アンケート画面の説明ふきだしのデータとその座標データが作成される。具体的には、CPU101が、図61(A-a) に示されるイメージに対応するデータであって、プログラム/データROM107上の図6に示されるOBJ−B面用のオブジェクト画像データである図7▲3▼に示されるせりふ文のデータとせりふ枠のデータを、説明ふきだしのデータとして決定する(図5のアンケート画面参照)。また、CPU101は、それらのオブジェクト画像データの表示位置を示す座標データを内部レジスタ上に作成する。
【0095】
ステップ2505では、CPU101は、決定した図61(A-a) に示される説明ふきだし用のオブジェクト画像データを、プログラム/データROM107から、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−B面の空きオブジェクト記憶領域に転送する。また、CPU101は、内部レジスタ上に作成した上記オブジェクト画像データの表示位置を示す座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してオブジェクトアトリビュートメモリ部(OAM)307に転送する。
【0096】
ステップ2506では、上述の一連の転送処理が終了したか否かが判定され、転送終了が判定された時点で、図20のステップ2001のアンケート画面表示処理を終了する。この結果、図3に示される構成を有するVDP102が、前述したようにして、SRAM103上のBG−A面、BG−B面、及びOBJ−B面の各記憶領域に転送されたアンケート画面用の画像データをテレビ111に表示する。
【0097】
アンケート画面としては、図50に示されるように、#1〜#4の質問番号毎の選択答表示(質問番号1では答選択用絵も含む)と、「おしまい」(質問番号#5)の終了表示と、現在選択されている表示を指示する説明ふきだしと人形の絵からなるヘルパーが表示される。初期状態においては、ヘルパーは質問番号0の選択答表示を指示している。
【0098】
ユーザがコントロールパッド112上の下スイッチ204をONすると、ステップ2005の判定がYESとなり、特には図示しないレジスタに設定される質問番号(#)の値が5でなければステップ2006の判定がYESとなって、ステップ2007において、上記レジスタの質問番号(#)の値が+1だけインクリメントされる。質問番号(#)の値が5ならステップ2006の判定がNOとなり、質問番号(#)の値はインクリメントされない。
【0099】
一方、ユーザがコントロールパッド112上の上スイッチ203をONすると、ステップ2002の判定がYESとなり、特には図示しないレジスタに設定される質問番号(#)の値が1でなければステップ2003の判定がYESとなって、ステップ2004において、上記レジスタの質問番号(#)の値が+1だけデクリメントされる。質問番号(#)の値が1ならステップ2003の判定がNOとなり、質問番号(#)の値はデクリメントされない。
【0100】
以上のようにして、ユーザは、コントロールパッド112上の上スイッチ203又は下スイッチ204によって、質問番号(#)を変更することができる。そして、このようにして質問番号(#)が変更されると、図21のステップ2008〜2027において、変更された質問番号(#)に対応する処理が実行される。
【0101】
まず、質問番号(#)が1に変更された場合には、ステップ2008の判定がYESとなることにより、ステップ2009〜2011が実行される。
即ち、ステップ2009では、質問番号1に対応するアンケート画面の説明用の説明ふきだしのデータとその座標データが作成される。具体的には、CPU101が、図61(A-a) に示されるイメージに対応するデータであって、プログラム/データROM107上の図6に示されるOBJ−B面用のオブジェクト画像データである図7▲3▼に示されるせりふ文のデータとせりふ枠のデータを、説明ふきだしのデータとして決定する。また、CPU101は、それらのオブジェクト画像データの質問番号1に対応する表示位置を示す座標データを内部レジスタ上に作成する。
【0102】
ステップ2010では、CPU101は、決定した図61(A-a) に示される説明ふきだし用のオブジェクト画像データを、プログラム/データROM107から、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−B面の空きオブジェクト記憶領域に転送する。また、CPU101は、内部レジスタ上に作成した上記オブジェクト画像データの表示位置を示す座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してオブジェクトアトリビュートメモリ部(OAM)307に転送する。
【0103】
ステップ2011では、上述した一連の転送処理が終了したか否かが判定される。そして、転送終了が判定された時点で、図61(A-a) に示される説明ふきだしが質問番号1の位置に表示されることになる。その後、図20のステップ2002の処理に戻る。
【0104】
次に、質問番号(#)が2〜5にそれぞれ変更された場合も、ステップ2012、2016、2020、又は2024の判定がそれぞれYESとなることにより、前述したステップ2009〜2011の場合と同様の、ステップ2013〜2015、2017〜2019、2021〜2023、又は2025〜2027の処理がそれぞれ実行される。この結果、質問番号2〜5のそれぞれに対応する図61(A-b) 、図61(A-c) 、図62(A-d) 、又は図62(A-e) にそれぞれ示されるアンケート画面の説明用の説明ふきだしのデータとその座標データがSRAM103のOBJ−B面の空きオブジェクト記憶領域とオブジェクトアトリビュートメモリ部(OAM)307に転送されることにより、各説明ふきだしが質問番号2〜5の各位置に表示されることになる。それぞれの処理の後、図20のステップ2002の処理に戻る。
【0105】
次に、質問番号(#)の値が1であるときに、ユーザが、コントロールパッド112上の右スイッチ206又は左スイッチ205をONすると、図22のステップ2028及び2029又は図23のステップ2044及び2045の判定がYESとなって、図22のステップ2030及び2031又は図23のステップ2046及び2047が実行される。
【0106】
右スイッチ206がONされた場合には図22のステップ2030で特には図示しないレジスタA1の値が2にセットされ、左スイッチ205がONされた場合は図23のステップ2046でレジスタA1の値が1にセットされる。なお、レジスタA1と後述するレジスタA2〜A4の初期値は1にプリセットされている。
【0107】
図22のステップ2031又は図23のステップ2047では、CPU101は、SRAM103のBG−B面の記憶領域に記憶されるアンケート画面用のバックグラウンド画像データを構成するセルのうち、質問番号1の選択答表示(図50参照)に対応するセルの部分のみを、プログラム/データROM107上の図6に示されるBM−B面用のバックグラウンド画像データ領域から読み出したレジスタA1の新たな値2又は1に対応する新たなセルと置き換える。この結果、質問番号1の選択答表示が、「おんなのこ」(図50)又は「おとこのこ」という表示の間で変化する。
【0108】
また、質問番号(#)の値が2であるときに、ユーザが、コントロールパッド112上の右スイッチ206又は左スイッチ205をONすると、図22のステップ2028及び2032又は図23のステップ2044及び2048の判定がYESとなって、図22のステップ2033〜2035又は図23のステップ2049〜2051が実行される。
【0109】
右スイッチ206がONされた場合は、更にレジスタA2の値が3になっていなければ図22のステップ2033の判定がYESとなってステップ2034でレジスタA2の値が+1インクリメントされ、レジスタA2の値が3になっていればステップ2033の判定がNOとなってレジスタA2の値は変化しない。一方、左スイッチ205がONされた場合は、更にレジスタA2の値が1になっていなければ図23のステップ2049の判定がYESとなってステップ2050でレジスタA2の値が+1デクリメントされ、レジスタA2の値が1になっていればステップ2049の判定がNOとなってレジスタA2の値は変化しない。
【0110】
図22のステップ2035又は図23のステップ2051においては、CPU101は、SRAM103のBG−B面の記憶領域に記憶されるアンケート画面用のバックグラウンド画像データを構成するセルのうち、質問番号2の選択答表示と答選択用絵(図50参照)に対応するセルの部分のみを、プログラム/データROM107上の図6に示されるBM−B面用のバックグラウンド画像データ領域から読み出したレジスタA2の新たな値に対応する新たなセルと置き換える。この結果、質問番号2の選択答表示と答選択用絵が3種類の表示のうちで順次変化する。その後、図20のステップ2002の処理に戻る。
【0111】
質問番号(#)の値が3或いは4であるときに、ユーザが、コントロールパッド112上の右スイッチ206又は左スイッチ205をONした場合には、図22のステップ2028及び2036又は図23のステップ2044及び2052の判定がYES、或いは、図22のステップ2028及び2040又は図23のステップ2044及び2056の判定がYESとなって、図22のステップ2037〜2039又は図23のステップ2053〜2055、或いは、図22のステップ2041〜2043又は図23のステップ2057〜2059が実行される。これらの場合の処理は、質問番号(#)の値が2の場合と同様である。
【0112】
即ち、レジスタA3或いはA4の値が1〜3の間でインクリメント又はデクリメントされた後、SRAM103のBG−B面の記憶領域に記憶されるアンケート画面用のバックグラウンド画像データを構成するセルのうち、質問番号3或いは4の選択答表示(図50参照)に対応するセルの部分のみが、プログラム/データROM107上の図6に示されるBM−B面用のバックグラウンド画像データ領域から読み出されたレジスタA3或いはA4の新たな値に対応する新たなセルと置き換える。この結果、質問番号3或いは4の選択答表示がそれぞれ3種類の表示のうちで順次変化する。
【0113】
質問番号(#)の値が1〜4であるときに、ユーザが、コントロールパッド112上のENTERスイッチ202をONすると、図24のステップ2060の判定がYES、ステップ2061の判定がNOとなって、図20のステップ2002の処理に戻る。
【0114】
また、質問番号(#)の値が5であるとき、即ち、説明ふきだしが終了表示を示しているときに、ユーザが、コントロールパッド112上のENTERスイッチ202をONすると、図24のステップ2060及び2061の判定が共にYESとなる。この結果、ステップ2062で、CPU101は、アンケート結果を示すレジスタA1〜A4の値に基づいて、プログラム/データROM107上の特には図示しないテーブルを参照することにより、ロードすべきファイル番号を決定する。そして、前述した図13のステップ1304のファイルロード処理の場合と同様にして(図18のステップ1621参照)、CPU101は、上述のファイル番号に対応するワークRAM108上の図9に示されるアドレスエリア{AD8+8×((FN)−1)}〜{AD8+8×((FN)−1)+7}に記憶されているパーツ種データである10種類のパーツ番号を、それぞれ、ワークRAM108上の図9に示されるアドレスエリア{AD1}〜{AD1+7}にストアする。
【0115】
このようにして、ワークRAM108上の図9に示されるアドレスエリア{AD1}〜{AD1+7}にストアされたユーザが選択したファイルに含まれる似顔絵のパーツ番号に対応する各パーツは、以下に説明する図13のステップ1306の顔作成処理において、プログラム/データROM107からSRAM103又はDP−RAM104に転送されてVDP102を介してテレビ111に表示され、ユーザは、このデータをもとにして似顔絵を編集することができ、また、必要に応じてファイルとしてセーブすることができる。
顔作成処理のフロー
前述したように、ユーザは、ファイル操作画面で選択したファイルアイコンに対応するファイルのデータ、又はアンケート画面で設定したアンケート結果に最も近い特徴を有するファイルのデータを、SRAM103又はDP−RAM104にロードさせ、このデータをもとにして、図13のステップ1306の顔作成処理によって、似顔絵を編集することができる。
【0116】
図51に基本システム画面の出力状態を示す。この画面は、図4で説明したように、図52〜図57に示されるBG−A面、BM−B面、OBJ−A面、BM−A面、OBJ−B面及びBG−B面が、手前の表示面にアサインされる画像ほど表示のプライオリティが高くそれより奥の表示面にアサインされている画像を隠して表示されるように重ねて表示されることにより、生成される。ここで、選択アイコン、説明ふきだし、コマンドアイコン等は、図57に示されるように、BG−B面に配置され、似顔絵画像は図53〜図56に示されるように、BM−B面、OBJ−A面、BM−A面、及びOBJ−B面に配置されるため、アイコンなどのユーザインタフェースに必要なグラフィックパーツは、隠れることなく常に可視状態におかれる。そして、奥のBG−A面に背景画像が配置され、この背景画像は、BG−B面、BM−B面、OBJ−A面、BM−A面、及びOBJ−B面の全てが透明である部分に見えることになる。また、説明ふきだしは、図57に示されるように、BG−B面に配置されるが、その内部の文字部分のセルのみが書き換えられることにより、他の画像に影響を与えずに説明文を変更することができる。
【0117】
次に、本実施例では、似顔絵を簡単に編集可能とするために、目、鼻、まゆ、りんかく、髪等のグラフィックパーツを組み合わせることにより似顔絵画像を合成している。この場合に、これらのグラフィックパーツを全て1つのメモリ上に展開すると、〔発明が解決しようとする課題〕の項で説明したように、例えば1つのメモリ上において、同時にアクセスされるグラフィックパーツを構成するセルの数が増加すると、そのメモリを用いて表現されるグラフィックを例えば移動させるためには、一度に多くのセルを移動させるための制御を行わねばならず、処理の開始から完了までに多くの時間がかかり、結果的に表示動作の反応速度が低下してしまう。また、展開可能なメモリ領域が制限される結果、画像データの1ドットあたりのビット数、即ち色数を制限しなければならなくなる場合も生じる。
【0118】
そこで、本実施例では、所定のグラフィックパーツ毎にそれらを異なるメモリ上の異なる表示面に配置することにより、処理時間の短縮と表示色数の増加を実現させている。具体的には、本実施例においては、図5及び図53〜図56に示されるように、DP−RAM104上のBM−A面に前髪、同じくDP−RAM104上のBM−B面に後ろ髪とりんかく(首を含む)、SRAM103上のOBJ−A面に鼻、目、口、同じくSRAM103上のOBJ−B面にまゆ、せりふ、せりふ枠が、それぞれ配置される。
【0119】
このように、グラフィックパーツがSRAM103とDP−RAM104に振り分けられることで、図3に示される構成を有するVDP102は、SRAMインタフェース部302によるSRAM103に対するアクセスと、DP−RAMインタフェース部303によるDP−RAM104に対するアクセスとを独立して行うことができ、この結果、画像表示性能を向上させることが可能となる。
【0120】
次に、顔作成処理では、以下の24のケースの処理が実行される。
(ケース1)
ユーザは、図51に示される顔作成処理時にテレビ111に表示される基本システム画面を見ながら、SELスイッチ201によって、選択アイコンの選択とコマンドアイコンの選択を切り換えることができる。
(ケース2)
ユーザは、コマンドアイコンの何れかが強調表示されているときに上スイッチ203又は下スイッチ204をONすることによって、コマンドアイコンである「セーブ」アイコンと「モード選択に戻る」アイコンを切り換えることができる。
(ケース3)
ユーザは、コマンドアイコンの何れかが強調表示されているときにENTERスイッチ202をONすることによって、「モード選択に戻る」アイコンが強調表示されているときにはモード選択画面に戻ることができ、「セーブ」アイコンが強調表示されているときには現在作成されている似顔絵データをファイルにセーブすることができる。
(ケース4)
ユーザは、似顔絵のパーツを選択するための図69(a) に示される第1階層の7種類の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択すべき選択アイコンを移動させることができ、同時に図51に示される説明ふきだしの内容が図63(K-a) 〜図64(K-g) に示されるように変化する。上スイッチ203及び下スイッチ204の操作は無効である。
(ケース5)
ユーザは、図69(a) に示される第1階層のふきだし以外の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすることにより、第1階層の選択アイコンに対応する特には図示しない第2階層のふきだし以外の選択アイコンを表示させることができる。
(ケース6)
ユーザは、第2階層のふきだし以外の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすると、図69(a) に示される第1階層の選択アイコンの表示に戻ることができる。
(ケース7)
ユーザは、第2階層のふきだし以外の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択される選択アイコンを移動させると同時に、選択されたパーツを表示させることができる。
(ケース8)
ユーザは、図69(a) に示される第1階層のふきだしの選択アイコンが強調表示されているときにENTERスイッチ202をONすることで、図69(b) に示される第2階層のふきだしの選択アイコンを表示させることができる。
(ケース9)
ユーザは、図69(b) に示される第2階層のふきだしの選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることによって、選択すべき選択アイコンを移動させることができ、同時に図51に示される説明ふきだしの内容が図65(C-0) 〜(C-2) に示されるように変化する。
(ケース10)
ユーザは、図69(b) に示される第2階層のふきだしの選択アイコンの何れかが強調表示されているときに上スイッチ203をONすることによって、図69(a) に示される第1階層の選択アイコンの表示に戻ることができる。
(ケース11)
ユーザは、図69(b) に示される第2階層のふきだしの選択アイコン中のせりふ選択の選択アイコンが強調表示されているときにENTERスイッチ202をONすることにより、せりふ選択の選択アイコンに対応する図69(c) に示される第3階層の選択アイコンを表示させることができる。
【0121】
図69(c) に示されるように、ユーザは、ふきだしとして表示するせりふを、現在のファイル名、或いは、予めプリセットされたせりふの中から選択することができ、それに対して修正を加えることができる。
(ケース12)
ユーザは、図69(c) に示される第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択される選択アイコンを移動させることができ、同時に図51に示される説明ふきだしの内容が例えば図66(S-0) 〜(S-3) (左端から4つの選択アイコンに対応)に示されるように変化する。
(ケース13)
ユーザは、図69(c) に示される第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときに上スイッチ203をONすることによって、図69(b) に示される第2階層のふきだしの選択アイコンの表示に戻ることができる。
(ケース14)
ユーザは、図69(c) に示される第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすることによって、図58に示される文字入力画面の入力済文字表示部に選択したせりふを表示させることができる。
(ケース15)
ユーザは、ケース14で文字入力画面を表示させているときにSELスイッチ201をONすることにより、文字表示部内のカーソル移動と入力済文字表示部内のカーソル移動とを切換えることができる。
(ケース16)
ユーザは、ケース14で文字入力画面を表示させているときに上スイッチ203又は下スイッチ204をONすることにより、文字表示部内のカーソルを上下に移動させることができる。
(ケース17)
ユーザは、ケース14で文字入力画面を表示させカーソルが文字表示部内にあるときに左スイッチ205又は右スイッチ206をONすることにより、文字表示部内のカーソルを左右に移動させることができる。
(ケース18)
ユーザは、ケース14で文字入力画面を表示させカーソルが入力済文字表示部内にあるときに左スイッチ205又は右スイッチ206をONすることにより、文字表示部内又は入力済文字表示部内でカーソルを左右に移動させることができる。
(ケース19)
ユーザは、ケース14で文字入力画面を表示させているときに文字表示部内で終了文字以外の文字(図58参照)を選んでENTERスイッチ202をONすることにより、文字表示部内で現在選択している文字を入力済文字表示部に表示させることができる。
(ケース20)
ユーザは、ケース14で文字入力画面を表示させているときに文字表示部内で終了文字(図58参照)を選んでENTERスイッチ202をONすることにより、入力済文字表示部に文字が存在しそれらの文字が非定型文を構成しているならそれをそのまま基本システム画面上のふきだしの文字として表示させることができる。また、入力済文字表示部内の文字が定型文を構成しているなら、現在選択されているせりふ枠の形に応じてその文を変換した後に、基本システム画面上のふきだしの文字として表示させることができる。その後、図69(d) に示される第3階層のせりふ枠の選択アイコンが表示され、ユーザは、せりふ枠の形を選択することができる。
(ケース21)
ユーザは、図69(b) に示される第2階層のふきだしの選択アイコン中のせりふ作成の選択アイコンが強調表示されているときにENTERスイッチ202をONすることにより、図58に示される文字入力画面が表示され、文字表示部から文字を選択することにより、せりふを作成することができる。
(ケース22)
ユーザは、図69(b) に示される第2階層のふきだしの選択アイコン中のせりふ枠の選択アイコンが強調表示されているときにENTERスイッチ202をONすることにより、せりふ枠の形の選択アイコンに対応する図69(d) に示される第3階層の選択アイコンを表示させることができる。
(ケース23)
ユーザは、図69(d) に示される第3階層のせりふ枠の形の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択される選択アイコンを移動させることができ、同時にケース20の場合と同様に作成されているせりふ文が定型文ならば選択された選択アイコンに対応するふきだしの形に従ってその文が変換され、表示されるせりふ文とふきだしの枠の形が変化する。
【0122】
このように、ふきだしのせりふ文として定型文が選択されているときに、ふきしたの形に従ってそのせりふ文を自動的に変換できる。
(ケース24)
ユーザは、図69(c) に示される第3階層のせりふ枠の形の選択アイコンの何れかが強調表示されているときに上スイッチ203をONすることによって、図69(b) に示される第2階層のふきだしの選択アイコンの表示に戻ることができる。
上述の各ケースの動作は、図13のステップ1306の顔作成処理に対応する図26〜図40の動作フローチャートによって実現される。以下、これらの動作フローチャートに従って、上述の各ケース毎の動作を詳細に説明する。
(ケース1の詳細動作)
ケース1では、ユーザは、図51に示される顔作成処理時にテレビ111に表示される基本システム画面を見ながら、SELスイッチ201によって、選択アイコンの選択とコマンドアイコンの選択を切り換えることができる。
【0123】
まず、図26のステップ2601では、基本システム画面表示処理が実行される。この処理の詳細は、図38の動作フローチャートとして示される。
図38において、ステップ3801では、CPU101からVDP102に対して、出力画面のクリア命令が出される。この結果、テレビ111の画面表示がクリアされる。
【0124】
ステップ3802では、選択アイコンの選択位置を示すレジスタNの値と、選択アイコンの表示階層を示すレジスタKの値が、共に0にリセットされる。
ステップ3803では、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示される00番〜60番の7種類のアイコンに対応する各アイコン選択番号00〜60を、ワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアする。
【0125】
ステップ3804では、CPU101は、ワークRAM108上のアドレスエリア{AD1}に記憶されている背景番号に対応する背景データ(図52参照)を、プログラム/データROM107上の図6に示されるBG−A面用の背景データA−1〜A−7のうちから読み出して、それを、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する(図5の基本システム画面参照)。
【0126】
ステップ3805では、CPU101は、プログラム/データROM107内の図6に示されるBG−B面用のバックグラウンド画像データである基本システム画面データ(システム画面データ)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−B面の記憶領域に転送する(図5の基本システム画面のシステムに対応)。このときのイメージは、図57に示されるBG−B面のイメージのうち、図63(K-a) に示される内容を表示する説明ふきだしとコマンドアイコンの部分に対応するものである。
【0127】
ステップ3806では、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、選択アイコンに対応するセルの部分のみを、ステップ3803によってワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアされているアイコン番号に対応するプログラム/データROM107上の図8に示される7種類のパーツ種選択アイコンの画像データに置き換える(図5の基本システム画面のシステムに対応)。このときのイメージは、図57に示されるBG−B面のイメージのうち、7種類の選択アイコンの部分に対応するものである。選択アイコンは、図69(a) に示されるように、左から順に、背景、髪、りんかく、目・まゆ、鼻、口、ふきだしの7種類のパーツのイメージを表示する。
【0128】
次に、図39のステップ3901では、CPU101は、プログラム/データROM107の図6に示されるBG−A面用の7種類の背景画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によりワークRAM108上の図9に示されるアドレスエリア{AD1}にストアされたパーツ番号に対応するものを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する(図5、図52参照)。図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のBG−A面の記憶領域に転送された背景の画像データをテレビ111に表示する。
【0129】
ステップ3902では、CPU101は、プログラム/データROM107の図6に示されるBM−B面用の7種類の後ろ髪画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によってワークRAM108上の図9に示されるアドレスエリア{AD1+1}にストアされたパーツ番号に対応するものを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びDP−RAMインタフェース部303を介して、DP−RAM104のBM−B面の記憶領域の後ろ髪に対応するセルに転送する(図5、図53の後ろ髪の部分参照)。図3に示される構成を有するVDP102は、前述したようにして、DP−RAM104上のBM−B面の記憶領域に転送された後ろ髪の画像データをテレビ111に表示する。
【0130】
ステップ3903では、CPU101は、プログラム/データROM107の図6に示されるBM−A面用の7種類の前髪画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によってワークRAM108上の図9に示されるアドレスエリア{AD1+1}にストアされたパーツ番号に対応するものを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びDP−RAMインタフェース部303を介して、DP−RAM104のBM−A面の記憶領域に転送する(図5、図55参照)。図3に示される構成を有するVDP102は、前述したようにして、DP−RAM104上のBM−A面の記憶領域に転送された前髪の画像データをテレビ111に表示する。
【0131】
ステップ3904では、CPU101は、プログラム/データROM107の図6に示されるBM−B面用の7種類のりんかく画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によってワークRAM108上の図9に示されるアドレスエリア{AD1+2}にストアされたパーツ番号に対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びDP−RAMインタフェース部303を介して、DP−RAM104のBM−B面の記憶領域のりんかくに対応するセルに転送する(図5、図53のりんかくの部分を参照)。図3に示される構成を有するVDP102は、前述したようにして、DP−RAM104上のBM−B面の記憶領域に転送されたりんかくの画像データをテレビ111に表示する。
【0132】
ステップ3905では、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−A面用の鼻の7種類の画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によってワークRAM108上の図9に示されるアドレスエリア{AD1+4}にストアされたパーツ番号に対応するものを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−A面の空きオブジェクト記憶領域に転送する(図5、図54の鼻の部分を参照)。
【0133】
続くステップ3906では、CPU101は、ステップ3905で参照した鼻のパーツ番号に対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3905で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する(図10参照)。
【0134】
ステップ3907では、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−A面用の口の7種類の画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によってワークRAM108上の図9に示されるアドレスエリア{AD1+5}にストアされたパーツ番号に対応するものを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−A面の空きオブジェクト記憶領域に転送する(図5、図54の口の部分を参照)。
【0135】
続くステップ3908では、CPU101は、ステップ3905で参照した口のパーツ番号に対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3907で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する。
【0136】
図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のOBJ−A面の記憶領域に転送された鼻と口の画像データを、オブジェクトアトリビュートメモリ部307に転送された座標データに対応する表示位置に表示する。
【0137】
ステップ3909では、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−A面用の目の7種類の画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によってワークRAM108上の図9に示されるアドレスエリア{AD1+3}にストアされたパーツ番号に対応するものを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−A面の空きオブジェクト記憶領域に転送する(図5、図54の目の部分を参照)。
【0138】
続くステップ3910では、CPU101は、ステップ3909で参照した目のパーツ番号に対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3909で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する。
【0139】
図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のOBJ−A面の記憶領域に転送された目の画像データを、オブジェクトアトリビュートメモリ部307に転送された座標データに対応する表示位置に表示する。
【0140】
ステップ3911では、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−B面用のまゆの7種類の画像データのうち、前述した図13のステップ1304のファイルロード処理又はステップ1305のアンケート画面処理によってワークRAM108上の図9に示されるアドレスエリア{AD1+3}にストアされたパーツ番号3に対応するものを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−B面の空きオブジェクト記憶領域に転送する(図5、図56のまゆの部分を参照)。
【0141】
続くステップ3912では、CPU101は、ステップ3911で参照したまゆのパーツ番号に対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3911で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する。
【0142】
図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のOBJ−B面の記憶領域に転送されたまゆの画像データを、オブジェクトアトリビュートメモリ部307に転送された座標データに対応する表示位置に表示する。
【0143】
最後に、ステップ3913においては、レジスタNの値0(図38のステップ3802参照)に対応する第1番目(左端)の背景の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、第1番目の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換える。
【0144】
この処理の後に、図26のステップ2601の基本システム画面表示処理を終了する。この結果、例えば図51に示される基本システム画面(せりふ用ふきだしを除く)が表示される。
【0145】
続いて、ユーザが、表示された基本システム画面を見ながら、コントロールパッド112上のSELスイッチ201をONすると、図26のステップ2602と2606と図28のステップ2801と2804の判定がNOとなった後、図28のステップ2810の判定がYESとなる。
【0146】
この結果、ステップ2811で、選択アイコンとコマンドアイコンの何れかを選択するためのレジスタSFの値が0と1の間で反転させられた後、選択アイコンの表示階層を示すレジスタKの値が0にリセットされる。
【0147】
そして、レジスタSFの値が0ならば、ステップ2812の判定がYESとなり、ステップ2813で、レジスタNの値が示す番号の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタNの値に対応する番号の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換える。その後、図26のステップ2602の処理に戻る。
【0148】
一方、レジスタSFの値が1ならば、ステップ2812の判定がNOとなり、更にステップ2807で、2つのコマンドアイコンのうちの一方を示すためのレジスタMの値が判定される。
【0149】
レジスタMの値が0でステップ2807の判定がYESならば、ステップ2808で、「セーブ」アイコン(図51参照)が強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、「セーブ」アイコンに対応するセルの部分を、強調表示用のセルに置き換える。その後、図26のステップ2602の処理に戻る。
【0150】
レジスタMの値が1でステップ2807の判定がNOならば、ステップ2809で、「モード選択画面に戻る」アイコン(図51参照)が強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、「モード選択画面に戻る」アイコンに対応するセルの部分を、強調表示用のセルに置き換える。その後、図26のステップ2602の処理に戻る。
(ケース2の詳細動作)
ケース2では、ユーザは、コマンドアイコンの何れかが強調表示されているときに上スイッチ203又は下スイッチ204をONすることにより、コマンドアイコンである「セーブ」アイコンと「モード選択に戻る」アイコンを切り換えることができる。
【0151】
ユーザがコマンドアイコンの何れかが強調表示されているときに上スイッチ203をONすると、図26のステップ2602と2606の判定がNOとなった後、図28のステップ2801と2802の判定がYESとなる。
【0152】
この結果、ステップ2803でレジスタMに値0がセットされ、ステップ2807の判定がYESとなって、ステップ2808で、「セーブ」アイコン(図51参照)が強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、「セーブ」アイコンに対応するセルの部分を、強調表示用のセルに置き換える。その後、図26のステップ2602の処理に戻る。
【0153】
一方、ユーザがコマンドアイコンの何れかが強調表示されているときに下スイッチ204をONすると、図26のステップ2602と2606と図28のステップ2801の判定がNOとなった後、図28のステップ2804と2805の判定がYESとなる。
【0154】
この結果、ステップ2806でレジスタMに値1がセットされ、ステップ2807の判定がNOとなって、ステップ2809で、「モード選択画面に戻る」アイコン(図51参照)が強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、「モード選択画面に戻る」アイコンに対応するセルの部分を、強調表示用のセルに置き換える。その後、図26のステップ2602の処理に戻る。
【0155】
なお、ユーザがコマンドアイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONした場合には、図26のステップ2602又は2606の判定がYESとなった後、ステップ2603又は2607の判定がNOとなってステップ2602の処理に戻り、左スイッチ205又は右スイッチ206の操作は無効とされる。
(ケース3の詳細動作)
ケース3では、ユーザは、コマンドアイコンの何れかが強調表示されているときにENTERスイッチ202をONすることによって、「モード選択に戻る」アイコンが強調表示されているときにはモード選択画面に戻ることができ、「セーブ」アイコンアイコンが強調表示されているときには現在作成されている似顔絵データをファイルにセーブすることができる。
【0156】
ユーザが「モード選択に戻る」アイコンが強調表示されているときにENTERスイッチ202上のスイッチ203をONすると、図26のステップ2602と2606と図28のステップ2801と2804と2810の判定がNOとなった後、図29のステップ2901の判定がYES、ステップ2902と2903の判定がNOとなる。
【0157】
そして、ステップ2905でレジスタMODEにモード番号として値0がセットされ、図13のステップ1306の顔作成処理を終了する。
この結果、ステップ1307の判定の後、前述したステップ1302のモード選択処理に処理が戻る。
【0158】
ユーザが「セーブ」アイコンが強調表示されているときにENTERスイッチ202をONすると、図26のステップ2602と2606と図28のステップ2801と2804と2810の判定がNOとなった後に、図29のステップ2901の判定がYES、ステップ2902の判定がNO、ステップ2903の判定がYESとなる。
【0159】
そして、ステップ2904でレジスタMODEにモード番号として値3がセットされ、図13のステップ1306の顔作成処理を終了する。
この結果、ステップ1307の判定の後、後述するステップ1308と1309で、ファイルセーブのための処理が実行される。
(ケース4の詳細動作)
ケース4では、ユーザは、似顔絵のパーツを選択するための図69(a) に示される第1階層の7種類の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択すべき選択アイコンを移動させることができ、同時に図51に示される説明ふきだしの内容が図63(K-a) 〜図64(K-g) に示されるように変化する。上スイッチ203及び下スイッチ204の操作は無効である。
【0160】
ユーザが選択アイコンの何れかが強調表示されているときに左スイッチ205をONすると、ステップ2602と2603の判定がYESとなり、更にレジスタNの値が0でなく第1番目(左端)の選択アイコンが強調表示されていなければステップ2604の判定がYESとなって、ステップ2605でレジスタNの値が−1される。この結果、選択される選択アイコンが1つ左に移動したことになる。レジスタNの値が0で第1番目(左端)の選択アイコンが強調表示されている場合には、ステップ2604の判定がNOとなってステップ2602の処理に戻り、左スイッチ205の操作は無効とされる。
【0161】
一方、ユーザが選択アイコンの何れかが強調表示されているときに右スイッチ206をONすると、ステップ2602の判定がNOとなった後、ステップ2606と2607の判定がYESとなり、更にレジスタNの値が6でなく第7番目(右端)の選択アイコンが強調表示されていなければステップ2608の判定がYESとなって、ステップ2609でレジスタNの値が+1される。この結果、選択される選択アイコンが1つ右に移動したことになる。レジスタNの値が6で第7番目(右端)の選択アイコンが強調表示されている場合には、ステップ2608の判定がNOとなってステップ2602の処理に戻り、右スイッチ206の操作は無効とされる。
【0162】
ステップ2605又は2609の処理の後に、ステップ2610では、レジスタNの値に対応する番号の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタNの値に対応する番号の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタNの値+1(ステップ2605→2610の場合)又はレジスタNの値−1(ステップ2609→2610の場合)に対応する今まで強調表示されていた選択アイコンに対応するセルの部分を通常表示用のセルに置き換える。
【0163】
ステップ2610の処理の後、現在は第1階層の選択アイコンが表示されており選択アイコンの表示階層を示すレジスタKの値は0であるからステップ2611の判定がYESとなる。
【0164】
続いて、図69(a) の7種類の選択アイコンのうち現在強調表示されている選択アイコンに応じて、図26のステップ2612、図27のステップ2701、2703、2705、2707、2709、又は2711の何れかの判定がYESとなり、図26のステップ2613、図27のステップ2702、2704、2706、2708、2710、又は2712において、CPU101により、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データ(図57参照)を構成するセルのうち、説明ふきだしに対応するセルを、図63(K-a) 〜図64(K-g) の何れかの内容に対応するセルに置き換える。このセルのデータは、プログラム/データROM107上の図6に示されるBG−B面用の画像データのうちの基本システム画面用の画像データに含まれている。
【0165】
その後、図26のステップ2602の処理に戻る。
なお、ユーザが選択アイコンの何れかが強調表示されているときに上スイッチ203又は下スイッチ204をONした場合には、図28のステップ2801又は2804の判定がYESとなった後、ステップ2802又は2805の判定がNOとなってステップ2810と図29のステップ2901の判定がNOとなった後に図26のステップ2602の処理に戻り、上スイッチ203又は下スイッチ204の操作は無効とされる。
(ケース5の詳細動作)
ケース5では、ユーザは、図69(a) に示される第1階層のふきだし以外の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすることにより、第1階層の選択アイコンに対応する特には図示しない第2階層のふきだし以外の選択アイコンを表示させることができる。
【0166】
ユーザが第1階層のふきだし以外の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすると、図26のステップ2602と2606の判定がNO、図28のステップ2801と2804と2810の判定がNO、図29のステップ2901と2902と2906の判定がYESとなる。
【0167】
この結果、まず、ステップ2907で、レジスタN1にレジスタNの値が退避させられ、次に、ステップ2908でレジスタKに第2階層を示す値1がセットされる。
【0168】
そして、ふきだし以外の選択アイコンの番号は6でないからステップ2909の判定がYESとなる。
この結果、ステップ2910で、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示される(N1)0番〜(N1)6番の7種類のアイコンに対応する各アイコン選択番号(N1)0番〜(N1)6番を、ワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアする。なお、(N1)は、レジスタN1が示す値を表わす。例えば、第1階層の背景の選択アイコンが強調表示されているときにENTERスイッチ202がONされてレジスタN1の値が0となっているならば、図8に示される00番〜06番の7種類の背景アイコンに対応する各アイコン選択番号が、アドレスエリア{AD2}〜{AD2+6}にストアされる。
【0169】
次に、ステップ2911では、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、選択アイコンに対応するセルの部分のみを、ステップ2910によってワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアされたアイコン番号に対応するプログラム/データROM107上の図8に示される背景用アイコン、髪用アイコン、りんかく用アイコン、目・まゆ用アイコン、鼻用アイコン、又は口用アイコンのそれぞれ7種類の選択アイコンの特には図示しない画像データに置き換える。
【0170】
その後、ステップ2912で、第2階層の選択アイコンの選択位置を示すレジスタNに値0がセットされ、図26のステップ2602の処理に戻る。
(ケース6の詳細動作)
ケース6では、ユーザは、第2階層のふきだし以外の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすると、図69(a) に示される第1階層の選択アイコンの表示に戻ることができる。
【0171】
ユーザが第2階層のふきだし以外の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすると、図26のステップ2602と2606の判定がNO、図28のステップ2801と2804と2810の判定がNO、図29のステップ2901と2902の判定がYES、ステップ2906の判定がNOとなる。
【0172】
この結果、ステップ2913で、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示される00番〜60番の7種類のアイコンに対応する各アイコン選択番号00〜60を、ワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアする。
【0173】
次に、ステップ2914で、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、選択アイコンに対応するセルの部分のみを、ステップ2913によってワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアされたアイコン番号に対応するプログラム/データROM107上の図8及び図69(a) に示される7種類のパーツ種選択アイコンの画像データに置き換える。
【0174】
その後、ステップ2915で、レジスタKに第1階層を示す値0がセットされる。
更に、ステップ2916で、レジスタNに、レジスタN1に退避させられていた値が戻される。
【0175】
その後、図26のステップ2602の処理に戻る。
(ケース7の詳細動作)
ケース7では、ユーザは、第2階層のふきだし以外の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択される選択アイコンを移動させると同時に、選択されたパーツを表示させることができる。
【0176】
ユーザが第2階層のふきだし以外の選択アイコンの何れかが強調表示されているときに左スイッチ205をONすると、ステップ2602と2603の判定がYESとなり、更にレジスタNの値が0でなく第1番目(左端)の選択アイコンが強調表示されていなければステップ2604の判定がYESとなって、ステップ2605でレジスタNの値が−1される。この結果、第2階層で選択される選択アイコンが1つ左に移動したことになる。レジスタNの値が0で第1番目(左端)の選択アイコンが強調表示されている場合には、ステップ2604の判定がNOとなってステップ2602の処理に戻り、左スイッチ205の操作は無効とされる。
【0177】
一方、ユーザが第2階層のふきだし以外の選択アイコンの何れかが強調表示されているときに右スイッチ206をONすると、ステップ2602の判定がNOとなった後、ステップ2606と2607の判定がYESとなり、更にレジスタNの値が6でなく第7番目(右端)の選択アイコンが強調表示されていなければステップ2608の判定がYESとなって、ステップ2609でレジスタNの値が+1される。この結果、第2階層で選択される選択アイコンが1つ右に移動したことになる。レジスタNの値が6で第7番目(右端)の選択アイコンが強調表示されている場合には、ステップ2608の判定がNOとなってステップ2602の処理に戻り、右スイッチ206の操作は無効とされる。
【0178】
ステップ2605又は2609の処理の後に、ステップ2610では、レジスタNの値に対応する番号の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタNの値に対応する番号の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタNの値+1(ステップ2605→2610の場合)又はレジスタNの値−1(ステップ2609→2610の場合)に対応する今まで強調表示されていた選択アイコンに対応するセルの部分を通常表示用のセルに置き換える。
【0179】
ステップ2610の処理の後、現在は第2階層のふきだし以外の選択アイコンが表示されており選択アイコンの表示階層を示すレジスタKの値は1であるからステップ2611の判定がNOとなる。
【0180】
この結果、図30のステップ3001では、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示されるパーツ番号{(N1)(N)}番のアイコンに対応するアイコン選択番号{(N1)(N)}番を、第1階層で選択された選択アイコン(図69(a) の左側6種類のうちの何れか)に対応するワークRAM108の図9に示されるアドレスエリア{AD1+(N1)}({AD1}〜{AD1+5}の何れか)にストアする。ここで、(N1)はレジスタN1の値、(N)はレジスタNの値である。例えば、第1階層で図69(a) に示される第1番目(左端)の背景の選択アイコンが強調表示されているときにENTERスイッチ202がONされた場合はレジスタN1の値は0であり、第2階層で左スイッチ205又は右スイッチ206がONされた後に第1番目の(左端)の選択アイコンが強調表示された場合はレジスタNの値は0となる。この結果、図8に示される00番の背景アイコンに対応するアイコン選択番号00番が、ワークRAM108の図9に示されるアドレスエリア{AD1}にストアされる。
【0181】
その後、第1階層で選択された選択アイコンの番号N1(レジスタN1の値)に応じて、ステップ3002、3004、3007、3009、又は3012の何れかの判定がYESとなる。
【0182】
ユーザが、第1階層で第1番目(左端)の背景の選択アイコン(図69(a) 参照)を選択した後に、第2階層で左スイッチ205又は右スイッチ206をONした場合には、ステップ3002の判定がYESとなる。
【0183】
この結果、ステップ3003で、CPU101は、プログラム/データROM107の図6に示されるBG−A面用の7種類の背景画像データのうち、ステップ3001でワークRAM108のアドレスエリア{AD1}にストアされたパーツ番号0(N)の背景アイコン(図8参照)に対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する(図52参照)。図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のBG−A面の記憶領域に転送された背景の画像データをテレビ111に表示する。
【0184】
その後、図26のステップ2602の処理に戻る。
ユーザが、第1階層で第2番目の髪の選択アイコン(図69(a) 参照)を選択した後に、第2階層で左スイッチ205又は右スイッチ206をONした場合には、ステップ3004の判定がYESとなる。
【0185】
この結果、まず、ステップ3005で、CPU101は、プログラム/データROM107の図6に示されるBM−B面用の7種類の後ろ髪画像データのうち、ステップ3001でワークRAM108のアドレスエリア{AD1+1}にストアされたパーツ番号1(N)の髪アイコンに対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びDP−RAMインタフェース部303を介して、DP−RAM104のBM−B面の記憶領域の後ろ髪に対応するセルに転送する(図53の後ろ髪の部分参照)。図3に示される構成を有するVDP102は、前述したようにして、DP−RAM104上のBM−B面の記憶領域に転送された後ろ髪の画像データをテレビ111に表示する。
【0186】
次に、ステップ3006で、CPU101は、プログラム/データROM107の図6に示されるBM−A面用の7種類の前髪画像データのうち、ステップ3001でワークRAM108のアドレスエリア{AD1+1}にストアされたパーツ番号1(N)の髪アイコンに対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びDP−RAMインタフェース部303を介して、DP−RAM104のBM−A面の記憶領域に転送する(図55参照)。図3に示される構成を有するVDP102は、前述したようにして、DP−RAM104上のBM−A面の記憶領域に転送された前髪の画像データをテレビ111に表示する。
【0187】
その後、図26のステップ2602の処理に戻る。
ユーザが、第1階層で第3番目のりんかくの選択アイコン(図69(a) 参照)を選択した後に、第2階層で左スイッチ205又は右スイッチ206をONした場合には、ステップ3007の判定がYESとなる。
【0188】
この結果、ステップ3008で、CPU101は、プログラム/データROM107の図6に示されるBM−B面用の7種類のりんかく画像データのうち、ステップ3001でワークRAM108のアドレスエリア{AD1+2}にストアされたパーツ番号2(N)のりんかくアイコンに対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びDP−RAMインタフェース部303を介して、DP−RAM104のBM−B面の記憶領域のりんかくに対応するセルに転送する(図53のりんかくの部分を参照)。図3に示される構成を有するVDP102は、前述したようにして、DP−RAM104上のBM−B面の記憶領域に転送されたりんかくの画像データをテレビ111に表示する。
【0189】
その後、図26のステップ2602の処理に戻る。
ユーザが、第1階層で第5番目の鼻又は第6番目の口の何れかの選択アイコン(図69(a) 参照)を選択した後に、第2階層で左スイッチ205又は右スイッチ206をONした場合には、ステップ3009の判定がYESとなる。
【0190】
この結果、まず、ステップ3010で、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−A面用の鼻又は口のそれぞれ7種類の画像データのうち、ステップ3001でワークRAM108のアドレスエリア{AD1+N1}({AD1+4}又は{AD1+5})にストアされたパーツ番号(N1)(N)の鼻アイコン又は口アイコンに対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−A面の空きオブジェクト記憶領域に転送する(図54の鼻と口の部分を参照)。
【0191】
次に、ステップ3011で、CPU101は、ステップ3001でワークRAM108のアドレスエリア{AD1+N1}({AD1+4}又は{AD1+5})にストアされたパーツ番号(N1)(N)の鼻アイコン又は口アイコンに対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3010で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する(図10参照)。
【0192】
図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のOBJ−A面の記憶領域に転送された鼻又は口の画像データを、オブジェクトアトリビュートメモリ部307に転送された座標データに対応する表示位置に表示する。
【0193】
その後、図26のステップ2602の処理に戻る。
ユーザが、第1階層で第3番目の目・まゆの選択アイコン(図69(a) 参照)を選択した後に、第2階層で左スイッチ205又は右スイッチ206をONした場合には、ステップ3012の判定がYESとなる。
【0194】
この結果、まず、ステップ3013で、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−A面用の目の7種類の画像データのうち、ステップ3001でワークRAM108のアドレスエリア{AD1+3}にストアされたパーツ番号3(N)の目・まゆアイコンに対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−A面の空きオブジェクト記憶領域に転送する(図54の目の部分を参照)。
【0195】
次に、ステップ3014で、CPU101は、ステップ3001でワークRAM108のアドレスエリア{AD1+3}にストアされたパーツ番号3(N)の目・まゆアイコンに対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3013で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する。
【0196】
図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のOBJ−A面の記憶領域に転送された目の画像データを、オブジェクトアトリビュートメモリ部307に転送された座標データに対応する表示位置に表示する。
【0197】
続いて、ステップ3015で、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−B面用のまゆの7種類の画像データのうち、ステップ3001でワークRAM108のアドレスエリア{AD1+3}にストアされたパーツ番号3(N)の目・まゆアイコンに対応するものを読み出して、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−B面の空きオブジェクト記憶領域に転送する(図56のまゆの部分を参照)。
【0198】
次に、ステップ3016で、CPU101は、ステップ3001でワークRAM108のアドレスエリア{AD1+3}にストアされたパーツ番号3(N)の目・まゆアイコンに対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3015で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する。
【0199】
図3に示される構成を有するVDP102は、前述したようにして、SRAM103上のOBJ−B面の記憶領域に転送されたまゆの画像データを、オブジェクトアトリビュートメモリ部307に転送された座標データに対応する表示位置に表示する。
【0200】
その後、図26のステップ2602の処理に戻る。
(ケース8の詳細動作)
ケース8では、ユーザは、図69(a) に示される第1階層のふきだしの選択アイコンが強調表示されているときにENTERスイッチ202をONすることで、図69(b) に示される第2階層のふきだしの選択アイコンを表示させることができる。
【0201】
ユーザが第1階層のふきだしの選択アイコンが強調表示されているときにENTERスイッチ202をONすると、図26のステップ2602と2606の判定がNO、図28のステップ2801と2804と2810の判定がNO、図29のステップ2901と2902と2906の判定がYESとなる。
【0202】
この結果、まず、ステップ2907で、レジスタN1にレジスタNの値が退避させられ、次に、ステップ2908でレジスタKに第2階層を示す値1がセットされる。
【0203】
そして、ふきだしの選択アイコンの番号は6であるからステップ2909の判定がNOとなる。
この結果、図31のステップ3101で、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示される70番、71番、及び72番の3種類のアイコンに対応する各アイコン選択番号70番、71番、及び72番を、ワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+2}にストアする。また、CPU101は、ワークRAM108上の図9に示されるアドレスエリア{AD2+3}〜{AD2+6}にはヌル(NUL)データをストアする。
【0204】
次に、ステップ3102では、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、選択アイコンに対応するセルの部分のみを、ステップ3101によってワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}、実際はアドレスエリア{AD2}〜{AD2+2}にストアされたアイコン番号に対応するプログラム/データROM107上の図8に示されるせりふ選択アイコン、せりふ作成アイコン、及びふきだしアイコンの画像データに置き換える。
【0205】
この結果、図3に示される構成を有するVDP102は、前述のようにして、SRAM103上のBG−B面の記憶領域に転送された図69(b) に示される第2階層のふきだしの選択アイコンをテレビ111に表示する。
【0206】
その後、ステップ3103で、第2階層のふきだしの選択アイコンの選択位置を示すレジスタLに値0がセットされる。
次に、ステップ3110では、レジスタLの値0に対応する第1番目(左端)のせりふ選択の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタLの値0に対応する第1番目(左端)のせりふ選択の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換える。
【0207】
続いて、ステップ3111においては、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データ(図57参照)を構成するセルのうち、説明ふきだしに対応するセルを、図65(C-0) の内容に対応するセルに置き換える。このセルのデータは、プログラム/データROM107上の図6に示されるBG−B面用の画像データのうちの基本システム画面用の画像データに含まれている。
【0208】
その後、ステップ3112と3113の判定がNOとなって、ステップ3104の処理に進む。
(ケース9の詳細動作)
ケース9では、ユーザは、図69(b) に示される第2階層のふきだしの選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることによって、選択すべき選択アイコンを移動させることができ、同時に図51に示される説明ふきだしの内容が図65(C-0) 〜(C-2) に示されるように変化する。
【0209】
ユーザが第2階層のふきだしの選択アイコンの何れかが強調表示されているときに左スイッチ205をONすると、図31のステップ3104の判定がYESとなり、更にレジスタLの値が0でなく第2階層の第1番目(左端)のせりふ選択の選択アイコン(図69(b) 参照)が強調表示されていなければステップ3105の判定がYESとなり、ステップ3106でレジスタLの値が−1される。この結果、第2階層で選択される選択アイコンが1つ左に移動したことになる。レジスタLの値が0で第1番目(左端)のせりふ選択の選択アイコンが強調表示されている場合には、ステップ3105の判定がNOとなって、ステップ3112と3113の判定がNOとなった後にステップ3104の処理に戻り、左スイッチ205の操作は無効とされる。
【0210】
ユーザが第2階層のふきだしの選択アイコンの何れかが強調表示されているときに右スイッチ206をONすると、図31のステップ3107の判定がYESとなり、更にレジスタLの値が2でなく第2階層の第3番目のせりふ枠の選択アイコン(図69(b) 参照)が強調表示されていなければステップ3108の判定がYESとなり、ステップ3109でレジスタLの値が+1される。この結果、第2階層で選択される選択アイコンが1つ右に移動したことになる。レジスタLの値が2で第3番目のせりふ枠の選択アイコンが強調表示されている場合には、ステップ3108の判定がNOとなって、ステップ3112と3113の判定がNOとなった後にステップ3104の処理に戻り、右スイッチ206の操作は無効とされる。
【0211】
ステップ3106又は3109の処理の後に、ステップ3110では、レジスタLの値に対応する番号の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタLの値に対応する番号の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタLの値+1(ステップ3105→3110の場合)又はレジスタLの値−1(ステップ3109→3110の場合)に対応する今まで強調表示されていた選択アイコンに対応するセルの部分を通常表示用のセルに置き換える。
【0212】
続いて、ステップ3111においては、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データ(図57参照)を構成するセルのうち、説明ふきだしに対応するセルを、図65(C-(L)) の内容に対応するセルに置き換える。ここで、(L) はレジスタLの値であり、従って、図65(C-(L)) は、図65(C-0) 、図65(C-1) 、又は図65(C-2) の何れかである。このセルのデータは、プログラム/データROM107上の図6に示されるBG−B面用の画像データのうちの基本システム画面用の画像データに含まれている。
【0213】
その後、ステップ3112と3113の判定がNOとなり、ステップ3104の処理に戻る。
(ケース10の詳細動作)
ケース10では、ユーザは、図69(b) に示される第2階層のふきだしの選択アイコンの何れかが強調表示されているときに上スイッチ203をONすることにより、図69(a) に示される第1階層の選択アイコンの表示に戻ることができる。
【0214】
ユーザが第2階層のふきだしの選択アイコンの何れかが強調表示されているときに上スイッチ203をONすると、図31のステップ3104と3107と3112の判定がNO、ステップ3113の判定がYESとなる。
【0215】
この結果、図29のステップ2913で、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示される00番〜60番の7種類のアイコンに対応する各アイコン選択番号00〜60を、ワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアする。
【0216】
次に、ステップ2914で、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、選択アイコンに対応するセルの部分のみを、ステップ2913によってワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアされたアイコン番号に対応するプログラム/データROM107上の図8及び図69(a) に示される7種類のパーツ種選択アイコンの画像データに置き換える。
【0217】
その後、ステップ2915で、レジスタKに第1階層を示す値0がセットされる。
更に、ステップ2916で、レジスタNに、レジスタN1に退避させられていた値が戻される。
【0218】
その後、図26のステップ2602の処理に戻る。
(ケース11の詳細動作)
ケース11では、ユーザは、図69(b) に示される第2階層のふきだしの選択アイコン中のせりふ選択の選択アイコンが強調表示されているときにENTERスイッチ202をONすることにより、せりふ選択の選択アイコンに対応する図69(c) に示される第3階層の選択アイコンを表示させることができる。
【0219】
ユーザがせりふ選択の選択アイコンが強調表示されているときにENTERスイッチ202をONすると、図31のステップ3104と3107の判定がNOとなり、ステップ3112の判定がYES、図32のステップ3201の判定がYESとなる。
【0220】
この結果、図32のステップ3202で、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示される80番〜86番の7種類のアイコンに対応する各アイコン選択番号80番〜86番を、ワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアする。
【0221】
次に、ステップ3203では、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、選択アイコンに対応するセルの部分のみを、ステップ3202によってワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアされたアイコン番号に対応するプログラム/データROM107上の図8に示される7種類のせりふ選択用の選択アイコンの画像データに置き換える。
【0222】
この結果、図3に示される構成を有するVDP102は、前述のようにして、SRAM103上のBG−B面の記憶領域に転送された図69(c) に示される第3階層のせりふ選択用の選択アイコンをテレビ111に表示する。
【0223】
その後、ステップ3204で、第3階層のせりふ選択用の選択アイコンの選択位置を示すレジスタMに値0がセットされる。
次に、ステップ3211では、レジスタMの値0に対応する第1番目(左端)のファイル名の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタMの値0に対応する第1番目(左端)のファイル名の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換える。
【0224】
続いて、ステップ3212で、ワークRAM108の図9に示されるアドレスエリア{AD1+6}に、選択されたせりふ文の番号に対応するレジスタMの値がストアされる。
【0225】
更に、ステップ3213で、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データ(図57参照)を構成するセルのうち、説明ふきだしに対応するセルを、図66(S-0) の内容に対応するセルに置き換える。このセルのデータは、プログラム/データROM107上の図6に示されるBG−B面用の画像データのうちの基本システム画面用の画像データに含まれている。
【0226】
その後、後述する図33のステップ3301〜3303の処理の後、図33のステップ3305と3306の判定がNOとなって、図32のステップ3205の処理に進む。
(ケース12の詳細動作)
ケース12では、ユーザは、図69(c) に示される第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択される選択アイコンを移動させることができ、同時に図51に示される説明ふきだしの内容が例えば図66(S-0) 〜(S-3) に示されるように変化する。
【0227】
ユーザがせりふ選択の選択アイコンの何れかが強調表示されているときに左スイッチ205をONすると、ステップ3205の判定がYESとなり、更にレジスタMの値が0でなく第1番目(左端)のファイル名の選択アイコンが強調表示されていなければステップ3206の判定がYESとなって、ステップ3207でレジスタMの値が−1される。この結果、選択されるせりふ選択の選択アイコンが1つ左に移動したことになる。レジスタMの値が0で第1番目(左端)のファイル名の選択アイコンが強調表示されている場合には、ステップ3206の判定がNOとなって、ステップ3208、図33のステップ3305と3306の判定がNOとなった後に図32のステップ3205の処理に戻り、左スイッチ205の操作は無効とされる。
【0228】
一方、ユーザが選択アイコンの何れかが強調表示されているときに右スイッチ206をONすると、ステップ3205の判定がNOとなった後、ステップ3208の判定がYESとなり、更にレジスタMの値が6でなく第7番目(右端)のおやすみの選択アイコンが強調表示されていなければステップ3209の判定がYESとなって、ステップ3210でレジスタMの値が+1される。この結果、選択されるせりふ選択の選択アイコンが1つ右に移動したことになる。レジスタMの値が6で第7番目(右端)のおやすみの選択アイコンが強調表示されている場合には、ステップ3209の判定がNOとなって、図33のステップ3305と3306の判定がNOとなった後に図32のステップ3205の処理に戻り、右スイッチ206の操作は無効とされる。
【0229】
ステップ3207又は3210等の処理の後、ステップ3211では、レジスタMの値に対応する番号の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタMの値に対応する番号の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタMの値+1(ステップ3207→3211の場合)又はレジスタMの値−1(ステップ3210→3211の場合)に対応する今まで強調表示されていた選択アイコンに対応するセルの部分を通常表示用のセルに置き換える。
【0230】
続いて、ステップ3212で、ワークRAM108の図9に示されるアドレスエリア{AD1+6}に、選択されたせりふ文の番号に対応するレジスタMの値がストアされる。
【0231】
更に、図32のステップ3213で、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データ(図57参照)を構成するセルのうち、説明ふきだしに対応するセルを、一部が図66に示される(S-(M)) の内容に対応するセルに置き換える。ここで、(M) はレジスタMの値であり、従って、(S-(M)) は、(S-0) 〜(S-6) ((S-0) 〜(S-4) は図66に示される)の何れかである。このセルのデータは、プログラム/データROM107上の図6に示されるBG−B面用の画像データのうちの基本システム画面用の画像データに含まれている。
【0232】
次に、第3階層の第1番目のファイル名の選択アイコンが強調表示されレジスタMの値が0になった場合には、図33のステップ3301の判定がYESとなる。
【0233】
この結果、まず、ステップ3302で、前述した図13のステップ1304のファイルロード処理(図18のステップ1622)又は後述する図13のステップ1309のファイルセーブ処理(図47のステップ4622)によって、ワークRAM108のアドレスエリア{AD3}に現ファイル番号がストアされているか否かが判定される。
【0234】
ステップ3302の判定がYESなら、ステップ3303において、CPU101は、ワークRAM108のアドレスエリア{AD3}にストアされている現ファイル番号に対応するファイル名を、ワークRAM108の図9に示されるAD7から始まるアドレスエリアから読み出して、AD4から始まるアドレスエリアから始まるアドレスエリアに転送する。具体的には、CPU101は、アドレスエリア{AD7+(現ファイル番号−1)×8}〜{AD7+(現ファイル番号−1)×8+7}にストアされているファイル名を、アドレスエリア{AD4}〜{AD4+7}に転送する。
【0235】
ステップ3302の判定がNOなら、ファイル名を取得することはできないので、ステップ3303は実行されない。
一方、第3階層の第1番目以外のせりふ選択用の選択アイコンが強調表示されレジスタMの値が0以外になった場合には、図33のステップ3301の判定がNOとなる。
【0236】
この結果、ステップ3304で、CPU101は、プログラム/データROM107の図6及び図7に示されるOBJ−B面用のせりふ文の7種類の画像データのうち、番号{8(M)}に対応するもの(12文字からなる)を読み出し、ワークRAM108のアドレスエリア{AD4}〜{AD4+11}に転送する。なお、(M)はレジスタMの値(M>0)であり、例えば(M)=1ならば、81番のせりふ文が転送の対象となる。
【0237】
ステップ3302の判定がNOとなった後、又はステップ3303若しくは3304の処理の後、ステップ3305と3306の判定がNOとなって、図32のステップ3205の処理に戻る。
(ケース13の詳細動作)
ケース13では、ユーザは、図69(c) に示される第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときに上スイッチ203をONすることによって、図69(b) に示される第2階層のふきだしの選択アイコンの表示に戻ることができる。
【0238】
ユーザが第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときに上スイッチ203をONすると、図32のステップ3205と3208と図33のステップ3305の判定がNO、図33のステップ3306の判定がYESとなり、図31のステップ3101の処理に戻り、図69(b) に示される第2階層のふきだしの選択アイコンが表示される。
(ケース14の詳細動作)
ケース14では、ユーザは、図69(c) に示される第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすることによって、図58に示される文字入力画面の入力済文字表示部に選択したせりふを表示させることができ、更に、文字表示部から文字を選択することにより、せりふを編集することができる。
【0239】
ユーザが第3階層のせりふ選択の選択アイコンの何れかが強調表示されているときにENTERスイッチ202をONすると、図32のステップ3205と3208の判定がNO、図33のステップ3305の判定がYESとなる。
【0240】
この結果、まず、図34のステップ3401で、文字入力画面表示処理が実行される。この処理の詳細は、図40の動作フローチャートとして示される。
図40において、ステップ4001では、CPU101からVDP102に対して、出力画面のクリア命令が出される。この結果、テレビ111の画面表示がクリアされる。
【0241】
ステップ4002では、CPU101は、プログラム/データROM107上の図6に示されるBG−A面用のバックグラウンド画像データである背景データ(図5の文字入力画面参照)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する。
【0242】
ステップ4003においては、CPU101は、プログラム/データROM107上の図6に示されるBG−B面用のバックグラウンド画像データである文字入力画面データ(システム画面データ)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−B面の記憶領域に転送する(図5の文字入力画面参照)。このときの説明ふきだしとしては、図58に示される内容のものが表示される。
【0243】
ステップ4004では、上述の一連の転送処理が終了したか否かが判定され、転送終了が判定された時点で、図34のステップ3401の文字入力画面表示処理を終了する。この結果、図3に示される構成を有するVDP102が、前述したようにして、SRAM103上のBG−A面及びBG−B面の各記憶領域に転送された文字入力画面用の画像データを図58に示されるフォーマットでテレビ111に表示する。
【0244】
次に、図34のステップ3402では、CPU101は、SRAM103のBG−B面の記憶領域に記憶される文字入力画面のバックグラウンド画像データを構成するセルのうち、図58に示される入力済文字表示部のセルを、図33のステップ3303又は3304の処理によってワークRAM108のアドレスエリア{AD4}〜{AD4+11}に転送されているせりふ文の文字画像データによって置き換える。この結果、入力済文字表示部には、ENTERスイッチ202がONされたときに強調表示されていた第3階層のせりふ選択の選択アイコンに対応するせりふが表示されることになる。
【0245】
その後、ステップ3403で、入力済文字表示部内の文字位置を示すレジスタCの値と、カーソルが文字表示部に位置するか入力済文字表示部に位置するかを示すレジスタSFの値が、共に0にリセットされる。
【0246】
その後、ステップ3404に進む。
(ケース15の詳細動作)
ケース15では、ユーザは、ケース14で文字入力画面を表示させているときにSELスイッチ201をONすることにより、文字表示部内のカーソル移動と入力済文字表示部内のカーソル移動とを切換えることができる。
【0247】
ユーザがケース14で文字入力画面を表示させているときにSELスイッチ201をONすると、図34のステップ3404の判定がYESとなり、ステップ3405でレジスタSFの値が0と1の間で反転させられる。この結果、レジスタSFの値が0になれば文字表示部内で、レジスタSFの値が1になれば入力済文字表示部内で、カーソル移動が可能となる。
【0248】
その後、ステップ3404の処理に戻る。
(ケース16の詳細動作)
ケース16では、ユーザは、ケース14で文字入力画面を表示させているときに上スイッチ203又は下スイッチ204をONすることにより、文字表示部内のカーソルを上下に移動させることができ、せりふ文のための文字を自由に選択することができる。
【0249】
ユーザがケース14で文字入力画面を表示させているときに上スイッチ203をONすると、図34のステップ3404の判定がNO、ステップ3406の判定がYESとなる。
【0250】
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、上下方向を示すレジスタYの値が最上行を示す値0でなければ、ステップ3407の判定がYESとなって、ステップ3408で、レジスタYの値が−1される。
【0251】
続いて、図35のステップ3501で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される文字入力画面のバックグラウンド画像データを構成するセルのうち、上記文字部分に対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタXの値とレジスタYの値+1によって示される文字表示部内の文字部分に対応するセルの部分を通常表示用のセルに置き換える。この結果、文字表示部内の文字位置が1行上に移動することになる。
【0252】
その後、図35のステップ3503の判定がNOとなって、図34のステップ3404の処理に戻る。
レジスタYの値が最上行を示す値0なら、ステップ3407の判定がNOとなってステップ3408は実行されず、ステップ3409、3412、3418の判定がNO、図35のステップ3503の判定がNOとなって図34のステップ3404の処理に戻り、上スイッチ203の操作は無効とされる。
【0253】
一方、ユーザがケース14で文字入力画面を表示させているときに下スイッチ204をONすると、図34のステップ3404と3406の判定がNO、ステップ3409の判定がYESとなる。
【0254】
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、上下方向を示すレジスタYの値が最下行を示す値10でなければ、ステップ3410の判定がYESとなって、ステップ3411で、レジスタYの値が+1される。
【0255】
続いて、前述した図35のステップ3501で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示され、レジスタXの値とレジスタYの値−1により示される文字表示部内の文字部分の強調表示が解除される。この結果、文字表示部内の文字位置が1行下に移動することになる。
【0256】
その後、図35のステップ3503の判定がNOとなって、図34のステップ3404の処理に戻る。
レジスタYの値が最下行を示す値10なら、ステップ3410の判定がNOとなってステップ3411は実行されず、ステップ3412、3418の判定がNO、図35のステップ3503の判定がNOとなって図34のステップ3404の処理に戻り、下スイッチ204の操作は無効とされる。
(ケース17の詳細動作)
ケース17では、ユーザは、ケース14で文字入力画面を表示させカーソルが文字表示部内にあるときに左スイッチ205又は右スイッチ206をONすることにより、文字表示部内のカーソルを左右に移動させることができ、せりふ文のための文字を自由に選択することができる。
【0257】
ユーザがケース14で文字入力画面を表示させカーソルが文字表示部内にあるときに左スイッチ205をONすると、図34のステップ3404と3406と3409の判定がNOとなった後、ステップ3412と3413の判定がYESとなる。
【0258】
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、左右方向を示すレジスタXの値が最左行を示す値0でなければ、ステップ3414の判定がYESとなって、ステップ3415で、レジスタXの値が−1される。
【0259】
続いて、前述した図35のステップ3501で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示され、レジスタXの値+1とレジスタYの値により示される文字表示部内の文字部分の強調表示が解除される。この結果、文字表示部内の文字位置が1行左に移動することになる。
【0260】
その後、図35のステップ3503の判定がNOとなって、図34のステップ3404の処理に戻る。
レジスタXの値が最左行を示す値0なら、ステップ3414の判定がNOとなってステップ3415は実行されず、ステップ3418の判定がNO、図35のステップ3503の判定がNOとなって図34のステップ3404の処理に戻り、左スイッチ205の操作は無効とされる。
【0261】
一方、ユーザがケース14で文字入力画面を表示させカーソルが文字表示部内にあるときに右スイッチ206をONすると、図34のステップ3404と3406と3409と3412の判定がNOとなった後、ステップ3418と3419の判定がYESとなる。
【0262】
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、左右方向を示すレジスタXの値が最右行を示す値10でなければ、ステップ3420の判定がYESとなって、ステップ3421で、レジスタXの値が+1される。
【0263】
続いて、前述した図35のステップ3501で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示され、レジスタXの値−1とレジスタYの値により示される文字表示部内の文字部分の強調表示が解除される。この結果、文字表示部内の文字位置が1行右に移動することになる。
【0264】
その後、図35のステップ3503の判定がNOとなって、図34のステップ3404の処理に戻る。
レジスタXの値が最右行を示す値10なら、ステップ3420の判定がNOとなってステップ3421は実行されず、図35のステップ3503の判定がNOとなって図34のステップ3404の処理に戻り、右スイッチ206の操作は無効とされる。
(ケース18の詳細動作)
ケース18では、ユーザは、ケース14で文字入力画面を表示させカーソルが入力済文字表示部内にあるときに左スイッチ205又は右スイッチ206をONすることによって、入力済文字表示部内でカーソルを左右に移動させることができ、せりふ文内での新たな文字の入力位置を自由に変更することができる。
【0265】
ユーザがケース14で文字入力画面を表示させカーソルが入力済文字表示部内にあるときに左スイッチ205をONすると、図34のステップ3404と3406と3409の判定がNO、ステップ3412の判定がYES、ステップ3413の判定がNOとなる。
【0266】
そして、入力済文字表示部内の文字位置を示すレジスタCの値が左端を示す値0でなければ、ステップ3416の判定がYESとなり、ステップ3417で、レジスタCの値が−1される。
【0267】
続いて、図35のステップ3502で、レジスタCの値+1(+1はレジスタCの値が0オリジンのため)によって示される入力済文字表示部内の文字部分が強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される文字入力画面のバックグラウンド画像データを構成するセルのうち、上記文字部分に対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、(レジスタCの値+1)+1によって示される入力済文字表示部内の文字部分に対応するセルの部分を通常表示用のセルに置き換える。この結果、入力済文字表示部内の文字位置が1文字左に移動することになる。
【0268】
その後、図35のステップ3503の判定がNOとなって、図34のステップ3404の処理に戻る。
レジスタCの値が左端を示す値0なら、ステップ3416の判定がNOとなってステップ3417は実行されず、ステップ3418の判定がNO、図35のステップ3503の判定がNOとなって図34のステップ3404の処理に戻り、左スイッチ205の操作は無効とされる。
【0269】
一方、ユーザがケース14で文字入力画面を表示させカーソルが入力済文字表示部内にあるときに右スイッチ206をONすると、図34のステップ3404と3406と3409と3412の判定がNO、ステップ3418の判定がYES、ステップ3419の判定がNOとなる。
【0270】
そして、入力済文字表示部内の文字位置を示すレジスタCの値が右端を示す値11でなければ、ステップ3422の判定がYESとなって、ステップ3423で、レジスタCの値が+1される。
【0271】
続いて、前述した図35のステップ3502で、レジスタCの値+1により示される入力済文字表示部内の文字部分が強調表示され、(レジスタCの値+1)−1によって示される入力済文字表示部内の文字部分の強調表示が解除される。この結果、入力済文字表示部内の文字位置が1文字右に移動することになる。
【0272】
その後、図35のステップ3503の判定がNOとなって、図34のステップ3404の処理に戻る。
レジスタCの値が右端を示す値11なら、ステップ3422の判定がNOとなってステップ3423は実行されず、図35のステップ3503の判定がNOとなって図34のステップ3404の処理に戻り、右スイッチ206の操作は無効とされる。
(ケース19の詳細動作)
ケース19では、ユーザは、ケース14で文字入力画面を表示させているときに文字表示部内で終了文字以外の文字(図58参照)を選んでENTERスイッチ202をONすることにより、文字表示部内で現在選択している文字を入力済文字表示部に表示させることができる。
【0273】
ユーザがケース14で文字入力画面を表示させて文字表示部内で終了文字以外の文字が強調表示されているときにENTERスイッチ202をONすると、図34のステップ3404と3406と3409と3412と3418の判定がNO、図35のステップ3503と3504の判定がYESとなる。
【0274】
この結果、ステップ3506で、CPU101は、レジスタXの値とレジスタYの値によって示される文字表示部内の文字位置に割り当てられている文字に対応する文字コードを、ワークRAM108上の図9に示されるアドレスエリア{AD4+(C)}にストアする。ここで、(C)はレジスタCの値を示す。例えば、レジスタCの値が2なら、文字コードは、アドレスエリア{AD4+2}にストアされる。レジスタCの値は0から11まで変化し得るため、文字コードがストアされるアドレスエリアの範囲は、{AD4}〜{AD4+11}の範囲である。
【0275】
続いて、ステップ3507で、レジスタCの値+1によって示される入力済文字表示部内の文字部分に、レジスタXの値とレジスタYの値によって示される文字表示部内の文字位置に割り当てられている文字に対応する文字画像データが転送される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される文字入力画面のバックグラウンド画像データを構成するセルのうち上記文字部分に対応するセルの部分に、上述の文字画像データを、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して転送する。この文字画像データは、プログラム/データROM107上の図6に示されるBG−B面用の画像データに含まれている。この結果、ENTERスイッチ202がONされたときに文字表示部内で強調表示されていた文字が、入力済文字表示部内で強調表示されている部分に表示されることになる。
【0276】
その後、入力済文字表示部内の文字位置を示すレジスタCの値が右端を示す値11でなければ、ステップ3508の判定がYESとなって、ステップ3509で、レジスタCの値が+1される。
【0277】
次に、前述したステップ3502で、レジスタCの値+1により示される入力済文字表示部内の文字部分が強調表示され、(レジスタCの値+1)−1によって示される入力済文字表示部内の文字部分の強調表示が解除される。この結果、入力済文字表示部内の文字位置が1文字右に移動することになる。
【0278】
その後、図35のステップ3503の判定がNOとなって、図34のステップ3404の処理に戻る。
レジスタCの値が右端を示す値11なら、ステップ3508の判定がNOとなってステップ3509は実行されず、図35のステップ3503の判定がNOとなって図34のステップ3404の処理に戻る。
(ケース20の詳細動作)
ケース20では、ユーザは、ケース14で文字入力画面を表示させているときに文字表示部内で終了文字(図58参照)を選んでENTERスイッチ202をONすることにより、入力済文字表示部に文字が存在しそれらの文字が非定型文を構成しているならそれをそのまま基本システム画面上のふきだしの文字として表示させることができる。また、入力済文字表示部内の文字が定型文を構成しているなら、現在選択されているせりふ枠の形に応じてその文を変換した後に、基本システム画面上のふきだしの文字として表示させることができる。
【0279】
ユーザがケース14で文字入力画面を表示させて文字表示部内で終了文字が強調表示されているときにENTERスイッチ202をONすると、図34のステップ3404と3406と3409と3412と3418の判定がNO、図35のステップ3503の判定がYES、ステップ3504の判定がNOとなる。
【0280】
この結果、ステップ3050では、顔画像表示処理が実行される。この処理の詳細は、図41の動作フローチャートとして示される。
図41において、ステップ4101では、CPU101は、ワークRAM108上のアドレスエリア{AD1}に記憶されている背景番号に対応する背景データ(図52参照)を、プログラム/データROM107上の図6に示されるBG−A面用の背景データA−1〜A−7のうちから読み出して、それを、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する(図5の基本システム画面参照)。
【0281】
ステップ4105では、CPU101は、プログラム/データROM107内の図6に示されるBG−B面用のバックグラウンド画像データである基本システム画面データ(システム画面データ)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−B面の記憶領域に転送する(図5の基本システム画面のシステムに対応)。このときのイメージは、図57に示されるBG−B面のイメージのうち、図65(C-2) に示される内容を表示する説明ふきだしとコマンドアイコンの部分に対応するものである。後述するようにENTERスイッチ202がONされた後は、せりふ枠を選択できるようになるため、図65(C-2) に示される内容の説明ふきだしが表示される。
【0282】
次に、図42のステップ4201〜4212では、図26のステップ2601の基本システム画面表示処理において実行される図39のステップ3901〜3912の一連の処理の場合と全く同様にして、似顔絵の作成によってワークRAM108上の図9に示されるアドレスエリア{AD1}〜{AD1+6}にストアされた各パーツ番号に対応する画像データを読み出し、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302又はDP−RAMインタフェース部303を介して、SRAM103又はDP−RAM104の各記憶領域に転送すると共に、OBJ−A面及びOBJ−B面用の座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介して、オブジェクトアトリビュートメモリ部307に転送する。
【0283】
この結果、図3に示される構成を有するVDP102によって、作成された似顔絵の画像が、テレビ111に表示される。
その後、図35のステップ3505の顔画像表示処理を終了する。
【0284】
続いて、図36のステップ3601では、ワークRAM108の図9に示されるアドレスエリア{AD4}〜{AD4+11}にせりふ文を構成する入力文字の文字コードが存在するならば、ステップ3602の判定がYESとなって、せりふ枠内にせりふ文を表示させるためのステップ3603〜3606の処理が実行される。入力文字の文字コードが存在しないなら、ステップ3602の判定がNOとなって、これらの処理は実行されない。
【0285】
ステップ3603では、上記アドレスエリアの文字コードによって構成される入力文が定型文であるか否かが判定される。この判定処理は、予めプログラム/データROM107上の図6及び図7に示されるOBJ−B面用の画像データである7種類のせりふ文を構成する各文字の文字コードと上記アドレスエリア内の各入力文字の文字コードとを比較する処理として実現される。
【0286】
入力文が定型文でステップ3602の判定がYESならば、ステップ3603で、レジスタWの値に応じて、入力文を構成するワークRAM108の図9に示されるアドレスエリア{AD4}〜{AD4+11}内の各文字コードが変換され、ワークRAM108の図9に示されるアドレスエリア{AD5}〜{AD5+11}にストアされる。レジスタWには、後述するようにユーザが選択することのできるせりふ枠の形に応じた値がセットされている。そして、このせりふ枠の形に応じて、入力文が、例えば図70(a) 〜(d) に示されるように、自動的に変化する。これによって、ユーザは、せりふ枠を選択するだけで様々なせりふを楽しむことができる。せりふ文の変換処理は、例えばレジスタWの値に応じたせりふ文の文字コード列を、プログラム/データROM107に記憶された特には図示しない変換テーブルから選択する動作として実現される。
【0287】
一方、入力文が非定型文でステップ3602の判定がNOならば、ステップ3604で、入力文を構成するワークRAM108の図9に示されるアドレスエリア{AD4}〜{AD4+11}内の各文字コードが、そのままワークRAM108の図9に示されるアドレスエリア{AD5}〜{AD5+11}にストアされる。
【0288】
ステップ3603又は3604の処理の後、ステップ3605では、CPU101は、ワークRAM108のアドレスエリア{AD5}〜{AD5+11}にストアされた各文字コードに対応するせりふ文字の画像データを、プログラム/データROM107上の図6及び図7に示されるOBJ−B面用の記憶領域から読み出し、それらを、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−B面の空きオブジェクト記憶領域に転送する。
【0289】
次に、ステップ3606で、CPU101は、ワークRAM108のアドレスエリア{AD5}〜{AD5+11}に対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3605で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する(図10参照)。
【0290】
続いて、ステップ3607では、CPU101は、後述するせりふ枠の選択処理によりワークRAM108のアドレスエリア{AD1+7}にストアされたせりふ枠番号に対応するせりふ枠の画像データを、プログラム/データROM107上の図6及び図7に示されるOBJ−B面用の記憶領域から読み出し、それらを、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のOBJ−B面の空きオブジェクト記憶領域に転送する。
【0291】
次に、ステップ3606で、CPU101は、ステップ3607で処理対象となったせりふ枠番号に対応する座標データを、CPUインタフェース部301、アドレスバス315、及びデータバス316を介してステップ3605で転送されたオブジェクト記憶領域に対応するオブジェクトアトリビュートメモリ部307のオブジェクト番号領域に転送する。
【0292】
以上の処理の結果、 図3に示される構成を有するVDP102が、前述したようにして、SRAM103上のOBJ−B面の記憶領域に転送されたせりふ文とせりふ枠の各画像データを、オブジェクトアトリビュートメモリ部307に転送された各座標データに対応する表示位置に表示する(図56参照)。
【0293】
その後、ステップ3609の判定がNOとなり(図31のステップ3103参照)、ステップ3610で、レジスタLに、第2階層のふきだしの選択アイコンにおいてせりふ枠の選択アイコンが選択されたことを示す値2がセットされ、図37のステップ3701の判定がNOとなり、ステップ3705以降のせりふ枠の選択のための処理が実行される。せりふ枠の選択のための処理については、ケース22の詳細動作の説明において後述する。
(ケース21の詳細動作)
ケース21では、ユーザは、図69(b) に示される第2階層のふきだしの選択アイコン中のせりふ作成の選択アイコンが強調表示されているときにENTERスイッチ202をONすることにより、図58に示される文字入力画面が表示され、文字表示部から文字を選択することによって、せりふを作成することができる。
【0294】
ユーザがせりふ作成の選択アイコンが強調表示されているときにENTERスイッチ202をONすると、図31のステップ3104と3107の判定がNOとなり、ステップ3112の判定がYES、図32のステップ3201の判定がNO、図37のステップ3701の判定がYESとなる。
【0295】
そして、まず、図37のステップ3702で、文字入力画面表示処理が実行される。この処理は、図34のステップ3401の処理と同様であり、前述した図40の動作フローチャートとして示される。この結果、図3に示される構成を有するVDP102が、前述したようにして、SRAM103上のBG−A面及びBG−B面の各記憶領域に転送された文字入力画面用の画像データを図58に示されるフォーマットでテレビ111に表示する。
【0296】
その後、ステップ3703で、入力済文字表示部内の文字位置を示すレジスタCの値が0にリセットさせ、ステップ3704で、カーソルが文字表示部に位置するか入力済文字表示部に位置するかを示すレジスタSFの値も0にリセットされる。
【0297】
以下、図34のステップ3404以降の処理が実行されることにより、前述したせりふ文を入力するための処理が実行され、これによりユーザは、せりふ文を入力することができる。
【0298】
せりふ文の入力が終了しENTERスイッチ202がONされると、図3に示される構成を有するVDP102が、前述したようにして、SRAM103上のOBJ−B面の記憶領域に転送されたせりふ文とせりふ枠の各画像データを、オブジェクトアトリビュートメモリ部307に転送された各座標データに対応する表示位置に表示する。
【0299】
その後、図36のステップ3609の判定がNOとなって、ステップ3610で、レジスタLに、第2階層のふきだしの選択アイコンにおいてせりふ枠の選択アイコンが選択されたことを示す値2がセットされ、図37のステップ3701の判定がNOとなり、ステップ3705以降のせりふ枠の選択のための処理が実行される。
(ケース22の詳細動作)
ケース22では、ユーザは、図69(b) に示される第2階層のふきだしの選択アイコン中のせりふ枠の選択アイコンが強調表示されているときにENTERスイッチ202をONすることにより、せりふ枠の形の選択アイコンに対応する図69(d) に示される第3階層の選択アイコンを表示させることができる。
【0300】
ユーザがせりふ枠の選択アイコンが強調表示されているときにENTERスイッチ202をONすると、図31のステップ3104と3107の判定がNOとなり、ステップ3112の判定がYES、図32のステップ3201の判定がNO、図37のステップ3701の判定がNOとなる。
【0301】
この結果、図37のステップ3705で、CPU101は、プログラム/データROM107上の図6に示されるアイコン画像データのうち図8に示される90番〜96番の7種類のアイコンに対応する各アイコン選択番号90番〜96番を、ワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアする。
【0302】
次に、ステップ3706では、CPU101は、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、選択アイコンに対応するセルの部分のみを、ステップ3705によってワークRAM108上の図9に示されるアドレスエリア{AD2}〜{AD2+6}にストアされたアイコン番号に対応するプログラム/データROM107上の図8に示される7種類のせりふ枠の選択アイコンの画像データに置き換える。
【0303】
この結果、図3に示される構成を有するVDP102は、前述のようにして、SRAM103上のBG−B面の記憶領域に転送された図69(d) に示される第3階層のせりふ枠の選択アイコンをテレビ111に表示する。
【0304】
その後、ステップ3707で、第3階層のせりふ枠の選択アイコンの選択位置を示すレジスタWに値0がセットされる。
次に、ステップ3714では、レジスタWの値0に対応する第1番目(左端)の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタWの値0に対応する第1番目(左端)の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換える。
【0305】
続いて、ステップ3715で、ワークRAM108の図9に示されるアドレスエリア{AD1+7}に、選択されたせりふ枠の番号に対応するレジスタWの値0がストアされる。
【0306】
そして、図36のステップ3601〜3608の処理の後、ステップ3609の判定がYESとなって、図37のステップ3708の処理に進む。
(ケース23の詳細動作)
ケース23では、ユーザは、図69(d) に示される第3階層のせりふ枠の形の選択アイコンの何れかが強調表示されているときに左スイッチ205又は右スイッチ206をONすることにより、選択される選択アイコンを移動させることができる。
【0307】
ユーザがせりふ枠の選択アイコンの何れかが強調表示されているときに左スイッチ205をONすると、ステップ3708の判定がYESとなり、更にレジスタWの値が0でなく第1番目(左端)の選択アイコンが強調表示されていなければステップ3709の判定がYESとなって、ステップ3710でレジスタWの値が−1される。この結果、選択されるせりふ枠の選択アイコンが1つ左に移動したことになる。レジスタWの値が0で第1番目(左端)の選択アイコンが強調表示されている場合には、ステップ3709の判定がNOとなって、ステップ3708の処理に戻り、左スイッチ205の操作は無効とされる。
【0308】
一方、ユーザが選択アイコンの何れかが強調表示されているときに右スイッチ206をONすると、ステップ3708の判定がNOとなった後、ステップ3711の判定がYESとなり、更にレジスタWの値が6でなく第7番目(右端)の選択アイコンが強調表示されていなければステップ3712の判定がYESとなって、ステップ3713でレジスタWの値が+1される。この結果、選択されるせりふ枠の選択アイコンが1つ右に移動したことになる。レジスタWの値が6で第7番目(右端)の選択アイコンが強調表示されている場合には、ステップ3712の判定がNOとなって、ステップ3716の判定がNOとなった後にステップ3708の処理に戻り、右スイッチ206の操作は無効とされる。
【0309】
ステップ3710又は3713等の処理の後、ステップ3714では、レジスタWの値に対応する番号の選択アイコンが強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される基本システム画面のバックグラウンド画像データを構成するセルのうち、レジスタWの値に対応する番号の選択アイコンに対応するセルの部分を、強調表示用のセルに置き換える。
【0310】
続いて、ステップ3715で、ワークRAM108の図9に示されるアドレスエリア{AD1+7}に、選択されたせりふ枠の番号に対応するレジスタWの値がストアされる。
【0311】
そして、図36のステップ3601〜3608の処理が実行されることによって、前述したように既に作成又は選択されているせりふ文が、非定型文ならそれがそのまま新たなせりふ枠の内部に表示され、定型文ならレジスタWにセットされた新たに選択されたせりふ枠の形の情報に応じて入力文が変換されてせりふ枠の内部に表示される。
【0312】
その後、ステップ3609の判定がYESとなって、図37のステップ3708の処理に戻る。
(ケース24の詳細動作)
ケース24では、ユーザは、図69(c) に示される第3階層のせりふ枠の形の選択アイコンの何れかが強調表示されているときに上スイッチ203をONすることによって、図69(b) に示される第2階層のふきだしの選択アイコンの表示に戻ることができる。
【0313】
ユーザが第3階層のせりふ枠の選択アイコンの何れかが強調表示されているときに上スイッチ203をONすると、図37のステップ3708と3711の判定がNO、ステップ3716の判定がYESとなり、図31のステップ3101の処理に戻り、図69(b) に示される第2階層のふきだしの選択アイコンが表示される。
文字入力処理のフロー
図43〜図45は、図13のステップ1308として実行される文字入力画面の処理を示す動作フローチャートである。ユーザは、この文字入力画面で、セーブするファイル名を入力することができる。
【0314】
前述したように、図13のステップ1306の顔作成処理において、ユーザが「セーブ」アイコン(図51参照)が強調表示されているときにENTERスイッチ202をONすると、図29のステップ2904でレジスタMODEにモード番号として値3がセットされて図13のステップ1306の顔作成処理が終了し、この結果、図13のステップ1307の判定の後に、ステップ1308の文字入力処理が実行される。
【0315】
まず、図43のステップ4301で、文字入力画面表示処理が実行される。この処理は、前述した図13のステップ1306の顔作成処理における図34のステップ3401の処理と同様であり、前述した図40の動作フローチャートとして示される。この結果、図3に示される構成を有するVDP102が、前述したようにして、SRAM103上のBG−A面及びBG−B面の各記憶領域に転送された文字入力画面用の画像データを図58に示されるフォーマットでテレビ111に表示する。説明ふきだしとしては、図67(Z-a) に示される内容のものが表示される。
【0316】
これ以降、ユーザは、文字入力画面上で、上スイッチ203、下スイッチ204、左スイッチ205、又は右スイッチ206をONすることにより、図58に示される文字表示部内でカーソルを上下左右に移動させることができ、ファイル名のための文字を自由に選択することができる。
【0317】
ユーザが文字入力画面を表示させているときに上スイッチ203をONすると、図43のステップ4302の判定がNOとなる。
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、上下方向を示すレジスタYの値が最上行を示す値0でなければ、ステップ4303の判定がYESとなって、ステップ4304で、レジスタYの値が−1される。
【0318】
続いて、図44のステップ4314で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される文字入力画面のバックグラウンド画像データを構成するセルのうち、上記文字部分に対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタXの値とレジスタYの値+1によって示される文字表示部内の文字部分に対応するセルの部分を通常表示用のセルに置き換える。この結果、文字表示部内の文字位置が1行上に移動することになる。
【0319】
その後、図44のステップ4315の判定がNOとなって、図43のステップ4302の処理に戻る。
レジスタYの値が最上行を示す値0なら、ステップ4303の判定がNOとなってステップ4304は実行されず、ステップ4302の処理に戻り、上スイッチ203の操作は無効とされる。
【0320】
一方、ユーザが文字入力画面を表示させているときに下スイッチ204をONすると、図43のステップ4302の判定がNO、ステップ4305の判定がYESとなる。
【0321】
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、上下方向を示すレジスタYの値が最下行を示す値10でなければ、ステップ4306の判定がYESとなって、ステップ4307で、レジスタYの値が+1される。
【0322】
続いて、前述した図44のステップ4314で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示され、レジスタXの値とレジスタYの値−1により示される文字表示部内の文字部分の強調表示が解除される。この結果、文字表示部内の文字位置が1行下に移動することになる。
【0323】
その後、図44のステップ4315の判定がNOとなって、図43のステップ4302の処理に戻る。
レジスタYの値が最下行を示す値10なら、ステップ4306の判定がNOとなってステップ4307は実行されず、ステップ4302の処理に戻り、下スイッチ204の操作は無効とされる。
【0324】
ユーザが文字入力画面を表示させカーソルが文字表示部内にあるときに左スイッチ205をONすると、図43のステップ4302と4305の判定がNOとなった後、ステップ4308の判定がYESとなる。
【0325】
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、左右方向を示すレジスタXの値が最左行を示す値0でなければ、ステップ4309の判定がYESとなって、ステップ4310で、レジスタXの値が−1される。
【0326】
続いて、前述した図44のステップ4314で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示され、レジスタXの値+1とレジスタYの値により示される文字表示部内の文字部分の強調表示が解除される。この結果、文字表示部内の文字位置が1行左に移動することになる。
【0327】
その後、図44のステップ4315の判定がNOとなって、図43のステップ4302の処理に戻る。
レジスタXの値が最左行を示す値0なら、ステップ4309の判定がNOとなってステップ4310は実行されず、ステップ4302の処理に戻り、左スイッチ205の操作は無効とされる。
【0328】
一方、ユーザが文字入力画面を表示させカーソルが文字表示部内にあるときに右スイッチ206をONすると、図43のステップ4302と4305と4308の判定がNOとなった後に、図44のステップ4311の判定がYESとなる。
【0329】
そして、文字表示部内の左右方向文字位置を示すレジスタXの値と上下方向文字位置を示すレジスタYの値のうち、左右方向を示すレジスタXの値が最右行を示す値10でなければ、ステップ4312の判定がYESとなって、ステップ4313で、レジスタXの値が+1される。
【0330】
続いて、前述したステップ4314で、レジスタXの値とレジスタYの値によって示される文字表示部内の文字部分が強調表示され、レジスタXの値−1とレジスタYの値により示される文字表示部内の文字部分の強調表示が解除される。この結果、文字表示部内の文字位置が1行右に移動することになる。
【0331】
その後、ステップ4315の判定がNOとなって、図43のステップ4302の処理に戻る。
レジスタXの値が最右行を示す値10なら、ステップ4312の判定がNOとなってステップ4313は実行されず、図43のステップ4302の処理に戻って、右スイッチ206の操作は無効とされる。
【0332】
次に、ユーザが文字入力画面を表示させて文字表示部内で終了文字(図58参照)以外の文字が強調表示されているときにENTERスイッチ202をONすると、図43のステップ4302と4305と4308の判定がNO、図44のステップ4311の判定がNO、ステップ4315の判定がYES、ステップ4316の判定がNOとなる。
【0333】
この結果、図45のステップ4317の判定処理が実行される。ここでは、図58に示される文字入力画面上の入力済文字表示部内の文字位置を示すレジスタCの値が、ファイル名の最大文字長である8文字に対応する値7以下を示しているか否かが判定される。なお、レジスタCの値は、特には図示しないが、図13のステップ1308の文字入力処理の実行開始時に0にリセットされている。
【0334】
レジスタCの値が7以下でステップ4317の判定がYESならば、ステップ4318以降の処理が実行される。レジスタCの値が8文字を超えステップ4317の判定がNOとなると、それ以上ファイル名の文字は入力されない。
【0335】
ステップ4318では、CPU101は、レジスタXの値とレジスタYの値によって示される文字表示部内の文字位置に割り当てられている文字に対応する文字コードを、ワークRAM108上の図9に示されるアドレスエリア{AD6+(C)}にストアする。ここで、(C)はレジスタCの値を示す。レジスタCの値は0から7まで変化し得るため、文字コードがストアされるアドレスエリアの範囲は、{AD6}〜{AD6+7}の範囲である。
【0336】
続いて、ステップ4319で、レジスタCの値+1によって示される入力済文字表示部内の文字部分に、レジスタXの値とレジスタYの値によって示される文字表示部内の文字位置に割り当てられている文字に対応する文字画像データが転送される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶される文字入力画面のバックグラウンド画像データを構成するセルのうち上記文字部分に対応するセルの部分に、上述の文字画像データを、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して転送する。この文字画像データは、プログラム/データROM107上の図6に示されるBG−B面用の画像データに含まれている。この結果、ENTERスイッチ202がONされたときに文字表示部内で強調表示されていた文字が、入力済文字表示部に追加表示されることになる。
【0337】
その後、ステップ4320で、レジスタCの値が+1され、図43のステップ4302の処理に戻る。
最後に、ユーザが文字入力画面を表示させて文字表示部内で終了文字(図58参照)が強調表示されているときにENTERスイッチ202をONすると、図43のステップ4302と4305と4308の判定がNO、図44のステップ4311の判定がNO、ステップ4315と4316の判定がYESとなって、図13のステップ1308の文字入力処理を終了する。
【0338】
この結果、ワークRAM108のアドレスエリア{AD6}〜{AD6+7}に、ユーザが入力したファイル名の最大8文字文の文字コード列が得られる。
ファイルセーブ処理のフロー
図46〜図48は、図13のステップ1309として実行されるファイルセーブ処理を示す動作フローチャートである。この処理によって表示されるファイル操作画面上で、ユーザは、バッテリバックアップされているワークRAM108に、ユーザ自身が作成した似顔絵の画像データファイルをセーブすることができる。
【0339】
ファイル操作画面としては、前述した図13のステップ1304のファイルロード処理において表示される図49に示されるファイル操作画面と同様であり、現在選択されているファイルの番号及び名前を表示する現在ファイル番号表示部及びファイル名表示部と、ファイルの種類を絵として表示するファイルアイコン1〜6と、説明ふきだしと人形の絵からなるヘルパーとが、テレビ111に表示される。
【0340】
ファイル操作画面では、ユーザは、コントロールパッド112上の上スイッチ203又は下スイッチ204をONすることにより、これからセーブすべきファイルのグループとして、ファイルアイコン1〜3のグループとファイルアイコン4〜6のグループとの間を移動することができる。また、ユーザは、コントロールパッド112上の左スイッチ205又は右スイッチ206をONすることにより、これからセーブすべきファイルとして、現在選択されているグループ内のファイルアイコンの何れかを選択することができる。これによって、選択されたファイルアイコンが強調表示されると共に、現在ファイル番号表示部がそのファイルアイコンに対応する番号に変化し、ファイル名表示部の表示内容が図13のステップ1308でユーザが入力したファイル名に対応する内容に変化する。そして、この状態でユーザがコントロールパッド112上のENTERスイッチ202をONすることによって、上記ファイルアイコンに対応するファイルの格納位置に、似顔絵のデータがセーブされる。
【0341】
以下に、図46〜図48の動作フローチャートの詳細を説明する。
まず、図46のステップ4601において、ファイル操作画面表示処理が実行される。この処理の詳細は、図48の動作フローチャートとして示される。
【0342】
図48において、ステップ4801では、CPU101からVDP102に対して、出力画面のクリア命令が出される。この結果、テレビ111の画面表示がクリアされる。
【0343】
ステップ4802では、CPU101は、プログラム/データROM107上の図6に示されるBG−A面用のバックグラウンド画像データである背景データ(図5のファイル操作画面参照)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−A面の記憶領域に転送する。
【0344】
ステップ4803では、ファイル番号を示すレジスタFNに、値1がプリセットされる。
ステップ4804では、ステップ4802の場合と同様に、CPU101は、プログラム/データROM107上の図6に示されるBG−B面用のバックグラウンド画像データであるファイル操作画面データ(システム画面データ)を、CPUインタフェース部301、アドレスバス315、データバス316、及びSRAMインタフェース部302を介して、SRAM103のBG−B面の記憶領域に転送する(図5のファイル操作画面参照)。これにより、図49に示されるファイル操作画面が、テレビ111に表示される。説明ふきだしの初期表示としては、図68(FS-a)に示される内容が表示される。
【0345】
ステップ4805では、上述の一連の転送処理が終了したか否かが判定され、転送終了が判定された後、更に、ステップ4806で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、現在ファイル番号表示部及びファイル名表示部(図49参照)に対応するセルの部分のみが、レジスタFNの値1に対応する内容を示すデータに置き換えられる。具体的には、CPU101は、現在ファイル番号表示部のセルとして、レジスタFNの値1に対応する数字1を示す画像データをSRAM103の対応するエリアに転送し、ファイル名表示部のセルとして、ワークRAM108の図9に示されるAD7から始まる6個のアドレスエリアのうち、レジスタFNの値1に対応するアドレスエリア{AD7}〜{AD7+7}に記憶されているファイル名画像データを、SRAM103の対応するエリアに転送する。
【0346】
その後、図46のステップ4601のファイル操作画面表示処理を終了する。この結果、ファイル操作画面の初期画面として、ファイル番号1及びそのファイル名を表示する現在ファイル番号表示部及びファイル名表示部と、ファイルアイコン1が強調表示されたファイルアイコン1〜6と、図68(FS-a)に示される内容を表示する説明ふきだしと人形の絵からなるヘルパーとが、テレビ111に表示される。
【0347】
この状態から、ユーザがコントロールパッド112上の下スイッチ204をONすると図46のステップ4605の判定がYESとなり、そのときファイルアイコン1〜3のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3以下であればステップ4606の判定がYESとなって、ステップ4607で、レジスタFNの値が+3される。この結果、ファイルアイコンのグループが1〜3のグループから4〜6のグループに移動したことになる。その後、表示を変更するための、図47のステップ4614〜4617の処理が実行される。下スイッチ204がONされたときに既にファイルアイコン4〜6のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3以下でなければステップ4606の判定がNOとなって、表示内容は変更されず、ステップ4602の処理に戻る。
【0348】
ユーザがコントロールパッド112上の上スイッチ203をONすると図46のステップ4602の判定がYESとなり、そのときファイルアイコン4〜6のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3より大きければステップ4603の判定がYESとなり、ステップ4604で、レジスタFNの値が−3される。この結果、ファイルアイコンのグループが4〜6のグループから1〜3のグループに移動したことになる。その後、表示を変更するための、図47のステップ4614〜4617の処理が実行される。上スイッチ203がONされたときに既にファイルアイコン1〜3のグループ内のファイルアイコン(図49参照)が選択されていてファイル番号を示すレジスタFNの値が3より大きくなければステップ4603の判定がNOとなって、表示内容は変更されず、ステップ4602の処理に戻る。
【0349】
ユーザがコントロールパッド112上の左スイッチ205をONすると図46のステップ4611の判定がYESとなり、そのとき左端のファイルアイコンであるファイルアイコン1及びファイルアイコン4(図49参照)が選択されておらずレジスタFNの値が1及び4でなければステップ4612の判定がYESとなって、ステップ4613で、レジスタFNの値が−1される。この結果、選択されるファイルアイコンが1つ左に移動したことになる。その後、表示を変更するための、図47のステップ4614〜4617の処理が実行される。左スイッチ205がONされたときに左端のファイルアイコンであるファイルアイコン1又はファイルアイコン4が選択されておりレジスタFNの値が1又は4であればステップ4612の判定がNOとなって、表示内容は変更されず、ステップ4602の処理に戻る。
【0350】
ユーザがコントロールパッド112上の右スイッチ206をONすると図46のステップ4608の判定がYESとなり、そのとき右端のファイルアイコンであるファイルアイコン3及びファイルアイコン6(図49参照)が選択されておらずレジスタFNの値が3及び6でなければステップ4609の判定がYESとなって、ステップ4610で、レジスタFNの値が+1される。この結果、選択されるファイルアイコンが1つ右に移動したことになる。その後、表示を変更するための、図47のステップ4614〜4617の処理が実行される。右スイッチ206がONされたときに右端のファイルアイコンであるファイルアイコン3又はファイルアイコン6が選択されておりレジスタFNの値が3又は6であればステップ4609の判定がNOとなって、表示内容は変更されず、ステップ4602の処理に戻る。
【0351】
以上の図46のステップ4605〜4607、ステップ4602〜4604、ステップ4611〜4613、又はステップ4608〜4610の何れかの処理の後、図47のステップ4614で、レジスタFNの値に対応するファイルアイコンのみが新たに強調表示される。具体的には、CPU101が、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、レジスタFNの値に対応するファイルアイコンに対応するセルの部分を、強調表示用のセルに置き換えると共に、例えば、レジスタFNの元の値に対応する今まで強調表示されていたファイルアイコンに対応するセルの部分を通常表示用のセルに置き換える。
【0352】
次に、ステップ4615において、レジスタFNの値のファイル番号に対応するワークRAM108上のアドレスにファイルが記憶されているか否かが判定される。具体的には、CPU101は、ワークRAM108上の図9に示されるAD7から始まるアドレスエリアのうち、レジスタFNの値に対応するエリア{AD7+{(FN)−1}×8}〜{AD7+{(FN)−1}×8+7}に有効なファイル名が記憶されているか否かを判定する。なお、(FN)はレジスタFNの値を示す。
【0353】
レジスタFNの値のファイル番号に対応するファイルが存在しステップ4615の判定がYESならば、CPU101は、ステップ4616で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、現在ファイル番号表示部及びファイル名表示部(図49参照)に対応するセルの部分のみが、レジスタFNの値に対応する内容を示すデータに置き換えられる。具体的には、CPU101は、現在ファイル番号表示部のセルとして、レジスタFNの値に対応する数字を示す画像データをSRAM103の対応するエリアに転送し、ファイル名表示部のセルとして、ワークRAM108上の図9に示されるAD7から始まる6個のアドレスエリアのうちレジスタFNの値に対応するアドレスエリア{AD7+{(FN)−1}×8}〜{AD7+{(FN)−1}×8+7}に記憶されているファイル名画像データをSRAM103の対応するエリアに転送する。
【0354】
その後、ステップ4618の判定がNOとなって、図46のステップ4602の処理に戻る。
一方、レジスタFNの値のファイル番号に対応するファイルが存在せず図47のステップ4615の判定がNOなら、CPU101は、ステップ4617で、SRAM103のBG−B面の記憶領域に記憶されるファイル操作画面のバックグラウンド画像データを構成するセルのうち、現在ファイル番号表示部及びファイル名表示部(図49参照)に対応するセルの部分のみが変更される。具体的には、CPU101は、現在ファイル番号表示部のセルとして、レジスタFNの値に対応する数字を示す画像データをSRAM103の対応するエリアに転送し、ファイル名表示部のセルの内容として、空白を示す画像データをSRAM103の対応するエリアに転送する。
【0355】
その後、ステップ4618の判定がNOとなって、図46のステップ4602の処理に戻る。
最後に、何れかのファイルアイコンが強調表示されると共に、現在ファイル番号表示部とファイル名表示部の表示内容がそのファイルアイコンに対応する内容となっているときに、ユーザがコントロールパッド112上のENTERスイッチ202をONすると、図46のステップ4602と4605と4608と4611の判定がNOとなり、図47のステップ4618の判定がYESとなる。
【0356】
この結果、ステップ4619で、CPU101は、レジスタFNの値に対応するワークRAM108上の図9に示されるアドレスエリア{AD8+8×((FN)−1)}〜{AD8+8×((FN)−1)+7}に、それぞれ、ワークRAM108上の図9に示されるアドレスエリア{AD1}〜{AD1+7}に記憶されているパーツ種データである8種類のパーツ番号をストアする。
【0357】
次に、ステップ4620で、CPU101は、レジスタFNの値に対応するワークRAM108上の図9に示されるアドレスエリア{AD7+8×((FN)−1)}〜{AD8+8×((FN)−1)+7}に、それぞれ、ユーザによる文字入力操作に基づいて前述した図13のステップ1308の文字入力処理における図45のステップ4318でワークRAM108上の図9に示されるアドレスエリア{AD6}〜{AD6+7}に記憶された、ファイル名を構成する文字コードを、ストアする。
【0358】
続いて、ステップ4621で、CPU101は、レジスタFNの値に対応するワークRAM108上の図9に示されるアドレスエリア{AD9+12×((FN)−1)}〜{AD9+12×((FN)−1)+11}に、それぞれ、ワークRAM108上の図9に示されるアドレスエリア{AD4}〜{AD4+11}に記憶されているせりふ文を構成する入力文字の文字コードをストアする。
【0359】
最後に、ステップ4622で、レジスタFNの値がワークRAM108の図9に示されるアドレスエリア{AD3}にストアされる。
ステップ4622の処理の後、図13のステップ1308のファイルセーブ処理を終了し、図13のステップ1306の処理に戻る。
<他の実施例>
以上説明した実施例においては、BM−A面に前髪、BM−B面に後ろ髪とりんかく、OBJ−A面に鼻、目、口、OBJ−B面にまゆ、せりふ、せりふ枠、というように、グラフィックパーツ毎に配置される表示面が予め決定されているが、本発明はこれに限られるものではなく、例えばSRAM103上に確保されるOBJ−A面及びOBJ−B面に配置されるスプライト(オブジェクト)のグラフィックパーツの数が所定個数以上になったら、それ以降のスプライト(オブジェクト)のグラフィックパーツがDP−RAM104上のBM−A面又はBM−B面に配置されるように、動的な制御が行われるようにしてもよい。
【0360】
【発明の効果】
本発明によれば、所定のグラフィックパーツ毎にそれらの大きさに応じて複数の記憶手段上の異なる表示画面領域に配置されることにより、効率の良いアクセスと画像表示性能の向上が実現される。
【0361】
より具体的には、例えば、所定数までの第1のグラフィックパーツ群が第1の記憶手段上に確保される表示画面領域に配置され、第2のグラフィックパーツ群が第2の記憶手段上に確保される表示画面領域に配置されるというように、グラフィックパーツが複数の記憶手段に振り分けられることで、画像データ読出し手段は、それぞれの記憶手段上のグラフィックパーツの画像データに、独立にアクセスすることが可能となり、この結果、画像表示性能を向上させることが可能となる。
【図面の簡単な説明】
【図1】本発明の実施例の回路の全体構成図である。
【図2】コントロールパッド112の外観図である。
【図3】VDPの構成図である。
【図4】表示画面の階層構造の説明図である。
【図5】画面アサインを示す図である。
【図6】プログラム/データROM107に記憶される各種画像データのフォーマットを示す図(その1)である。
【図7】プログラム/データROM107に記憶される各種画像データのフォーマットを示す図(その2)である。
【図8】プログラム/データROM107に記憶される各種画像データのフォーマットを示す図(その3)である。
【図9】ワークRAMに記憶される各種画像データのフォーマットを示す図である。
【図10】オブジェクトアトリビュートメモリ部のデータ構成図である。
【図11】表示制御レジスタのデータ構成図である。
【図12】画面表示タイミングの説明図である。
【図13】全体動作フローチャートである。
【図14】モード選択処理の動作フローチャートである。
【図15】モード選択画面表示処理の動作フローチャートである。
【図16】ファイルロード処理の動作フローチャート(その1)である。
【図17】ファイルロード処理の動作フローチャート(その2)である。
【図18】ファイルロード処理の動作フローチャート(その3)である。
【図19】ファイル画面表示処理の動作フローチャートである。
【図20】アンケート画面処理の動作フローチャート(その1)である。
【図21】アンケート画面処理の動作フローチャート(その2)である。
【図22】アンケート画面処理の動作フローチャート(その3)である。
【図23】アンケート画面処理の動作フローチャート(その4)である。
【図24】アンケート画面処理の動作フローチャート(その5)である。
【図25】アンケート画面表示処理の動作フローチャートである。
【図26】顔作成処理の動作フローチャート(その1)である。
【図27】顔作成処理の動作フローチャート(その2)である。
【図28】顔作成処理の動作フローチャート(その3)である。
【図29】顔作成処理の動作フローチャート(その4)である。
【図30】顔作成処理の動作フローチャート(その5)である。
【図31】顔作成処理の動作フローチャート(その6)である。
【図32】顔作成処理の動作フローチャート(その7)である。
【図33】顔作成処理の動作フローチャート(その8)である。
【図34】顔作成処理の動作フローチャート(その9)である。
【図35】顔作成処理の動作フローチャート(その10)である。
【図36】顔作成処理の動作フローチャート(その11)である。
【図37】顔作成処理の動作フローチャート(その12)である。
【図38】基本システム画面表示処理の動作フローチャート(その1)である。
【図39】基本システム画面表示処理の動作フローチャート(その2)である。
【図40】文字入力画面表示処理の動作フローチャートである。
【図41】顔画像表示処理の動作フローチャート(その1)である。
【図42】顔画像表示処理の動作フローチャート(その2)である。
【図43】文字入力処理の動作フローチャート(その1)である。
【図44】文字入力処理の動作フローチャート(その2)である。
【図45】文字入力処理の動作フローチャート(その3)である。
【図46】ファイルセーブ処理の動作フローチャート(その1)である。
【図47】ファイルセーブ処理の動作フローチャート(その2)である。
【図48】ファイル画面表示処理の動作フローチャートである。
【図49】ファイル操作画面のレイアウト図である。
【図50】アンケート画面のレイアウト図である。
【図51】基本システム画面のレイアウト図である。
【図52】基本システム画面におけるBG−A面のレイアウト図である。
【図53】基本システム画面におけるBM−B面のレイアウト図である。
【図54】基本システム画面におけるOBJ−A面のレイアウト図である。
【図55】基本システム画面におけるBM−A面のレイアウト図である。
【図56】基本システム画面におけるOBJ−B面のレイアウト図である。
【図57】基本システム画面におけるBG−B面のレイアウト図である。
【図58】文字入力画面のレイアウト図である。
【図59】モード選択処理における説明ふきだしの内容を示す図である。
【図60】ファイルロード処理における説明ふきだしの内容を示す図である。
【図61】アンケート画面処理における説明ふきだしの内容を示す図(その1)である。
【図62】アンケート画面処理における説明ふきだしの内容を示す図(その2)である。
【図63】基本システム画面における説明ふきだしの内容を示す図(その1)である。
【図64】基本システム画面における説明ふきだしの内容を示す図(その2)である。
【図65】基本システム画面における説明ふきだしの内容を示す図(その3)である。
【図66】基本システム画面における説明ふきだしの内容を示す図(その4)である。
【図67】文字入力画面における説明ふきだしの内容を示す図である。
【図68】ファイルセーブ処理における説明ふきだしの内容を示す図である。
【図69】選択アイコンを示す図である。
【図70】ふきだしの形とせりふの変化を示す図である。
【符号の説明】
101 CPU
102 VDP
103 SRAM
104 DP−RAM
105 音源処理回路
106 サウンドRAM
107 プログラム/データROM
108 ワークRAM
109 エンコーダ
110 D/A変換器
111 テレビ
112 コントロールパッド
201 SELスイッチ
202 ENTERスイッチ
203 上スイッチ
204 下スイッチ
205 左スイッチ
206 右スイッチ
301 CPUインタフェース部
302 SRAMインタフェース部
303 DP−RAMインタフェース部
304 オブジェクトジェネレータ部
305 バックグラウンドジェネレータ部
306 ビデオ信号ジェネレータ部
307 オブジェクトアトリビュートメモリ部
308 プライオリティコントローラ部
309 カラールックアップテーブル部
310 RGB D/A変換部
311 オシレータ部
312 水平/垂直同期カウンタ部
313 デコーダ部
314 ビデオ信号ジェネレータ部
315 アドレスバス
316 データバス
[0001]
[Industrial application fields]
The present invention relates to an image processing apparatus capable of displaying and editing graphics.
[0002]
[Prior art]
2. Description of the Related Art Some graphic editing apparatuses such as personal computers and game machines that execute children's drawing software can configure and display arbitrary graphics using various graphic parts. For example, a caricature creating apparatus that creates a caricature by combining parts such as eyes, mouth, eyebrows, and hair.
[0003]
In such an apparatus, conventionally, image data constituting each graphic part is developed on one memory, and the graphic is constituted by sequentially reading the image data on the memory.
[0004]
[Problems to be solved by the invention]
However, in such a conventional technology, each graphic part is expanded on one memory regardless of the number of occupied areas on the memory, and therefore image data of the graphic part expanded on the memory is edited (moved). If the attempt is made to delete, add, etc., the memory access efficiency is poor. For example, the display operation takes time, or the expandable memory area is limited. As a result, the number of bits per dot of image data That is, there is a problem that the number of colors must be limited.
[0005]
More specifically, for example, image data of a graphic part is stored in a predetermined size portion (cell) on the memory, and the display position of the graphic part is also specified for each cell constituting the graphic part. If the number of cells accessed simultaneously on one memory increases in order to move, for example, a graphic expressed using the memory, many cells are moved at once. Therefore, it takes a lot of time from the start to the completion of the process, and as a result, the response speed of the display operation decreases.
[0006]
An object of the present invention is to improve the performance of accessing graphic parts on a memory.
[0007]
[Means for Solving the Problems]
The present invention is premised on an image processing apparatus that combines graphics data by combining graphic part image data and arranging them on a display screen.
[0008]
  And first, eachFirst and secondIt has a plurality of storage means (SRAM 103, DP-RAM 104) in which a display screen area is secured.
  Next, each storage meansThe sprite image is assigned to the first display screen area, and the bitmap image is assigned to the second display screen area.And image data writing means (CPU 101) for storing graphic part image data in a display screen area secured in one of a plurality of storage means. This allocation control may be performed statically in advance, or may be performed dynamically according to the storage capacity of each storage unit at the time of actual writing.
[0009]
Then, from each display screen area secured in a plurality of storage means, while controlling the display priority between the display screen areas, the graphic part image data stored in each display screen area is parallelized. And image data reading means (VDP 102 having a built-in SRAM interface unit 302 and DP-RAM interface unit 303).
[0010]
[Action]
For each predetermined graphic part, they are arranged in different display screen areas on a plurality of storage means.
[0011]
More specifically, for example, up to a predetermined number of first graphic parts (sprite (object)) groups are arranged in a display screen area secured on the first storage means (SRAM 103). On the other hand, the second graphic part (bitmap) group is arranged in the display screen area secured on the second storage means (DP-RAM 104).
[0012]
As described above, the graphic parts are distributed to the plurality of storage units, so that the image data reading unit can independently access the image data of the graphic parts on each storage unit.
[0013]
【Example】
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<Overall Configuration of Circuit of Example>
FIG. 1 is an overall configuration diagram of a circuit according to an embodiment of the present invention, which is implemented as a portrait creation device for a low-age group having the appearance of a game machine, and is configured in the same casing except for a television 111.
[0014]
A VDP (video display processor) 102 controls image processing related to sprites (objects), backgrounds, bitmaps, and the like.
An SRAM (static RAM) 103 stores sprites (objects) and background image data. A DP-RAM (dual port RAM) 104 stores bitmap image data. The SRAM 103 and the DP-RAM 104 are accessed from the VDP 102.
[0015]
The sound source processing circuit 105 generates sound data of a musical sound that is pronounced together with an image.
The sound RAM 106 stores musical sound waveform data processed by the sound source processing circuit 105 and their control data.
[0016]
The program / data ROM 107 stores a program executed by the CPU 101 and various data used in the program. In accordance with this program, the CPU 101 controls the VDP 102 and the sound source processing circuit 105 while using the work RAM 108.
[0017]
The encoder 109 converts the RGB analog video signal sent from the VDP 102 into a television standard video signal (NTSC signal).
The D / A converter 110 converts the digital sound data sent from the sound source processing circuit 105 into an analog sound signal.
[0018]
The television 111 reproduces the video signal output from the encoder 109 via the video output terminal 104 of FIG. 1 and the sound signal output from the D / A converter 110 via the audio output terminal 103 of FIG.
[0019]
The control pad 112 has the appearance shown in FIG. 2, and allows the user to perform various operations. As shown in FIG. 2, a SEL switch 201, an ENTER switch 202, and up / down / left / right switches 203 to 206 are provided on the control pad 112.
<Configuration of VDP 102>
FIG. 3 is a configuration diagram of the VDP 102 shown in FIG.
[0020]
This VDP 102 controls the screen display on the television 111 (FIG. 1) of sprites (objects) that mainly represent moving characters and backgrounds and bitmaps that represent backgrounds when creating a portrait.
[0021]
The CPU interface unit 301 controls an interface at the time of data transfer with the CPU 101 in FIG.
The SRAM interface unit 302 controls an interface when an object generator unit 304 or a background generator unit 305 described later accesses sprite (object) or background (background) image data stored in the SRAM 103 of FIG. .
[0022]
The DP-RAM interface unit 303 controls an interface when a bitmap generator unit 306 described later accesses bitmap image data stored in the DP-RAM 104 of FIG.
[0023]
The object generator unit 304, the background generator unit 305, and the bitmap generator unit 306 are transferred from the SRAM 103 or DP-RAM 104 in FIG. 1 within the next horizontal display period for each horizontal period (see FIG. 12 described later). A color code of a sprite (object), background, or bitmap arranged at display coordinates corresponding to each dot display timing is read and stored in an internal buffer.
[0024]
The object attribute memory unit 307 stores display coordinates corresponding to the timing when the object generator unit 304 reads a sprite (object) from the SRAM 103 via the SRAM interface unit 302.
[0025]
The priority controller unit 308 previously determines one of the color codes read by the object generator unit 304, the background generator unit 305, or the bitmap generator unit 306 for each dot in each horizontal display period. Select and output according to priority.
[0026]
The color lookup table unit 309 converts the color code output from the priority controller unit 308 into R (red), G (green), and B (blue) digital data and outputs the digital data.
[0027]
The RGB D / A converter 310 converts the RGB digital data output from the priority controller 308 into an RGB analog video signal and outputs it.
The oscillator unit 311 generates various clocks necessary for the VDP 102.
[0028]
The horizontal / vertical synchronization counter unit 312 is a counter circuit for generating a horizontal synchronization counter value (horizontal synchronization signal) and a vertical synchronization counter value (vertical synchronization signal) necessary for image display according to a clock output from the oscillator unit 311. is there.
[0029]
The decoder unit 313 decodes the horizontal synchronization counter value and the vertical synchronization counter value from the counter value output from the horizontal / vertical synchronization counter unit 312 and supplies the decoded value to each block in the VDP 102.
[0030]
The video signal generator unit 314 generates a video signal required by the encoder 109 in FIG. 1 from the horizontal synchronization counter value and the vertical synchronization counter value output from the decoder unit 313, and supplies the video signal to the encoder 109.
<Configuration of image data>
First, in the present embodiment, the display screen is defined as a stack of six virtual display surfaces as shown in FIG. These display surfaces are directed from the back to the front, background A surface (BG-A surface), bitmap B surface (BM-B surface), object A surface (OBJ-A surface), and bitmap A surface (BM). -A plane), object B plane (OBJ-B plane), and background B plane (BG-B plane). Then, the image assigned to the front display surface has a higher display priority, and the image assigned to the back display surface is hidden and displayed.
[0031]
FIG. 5 shows the relationship between the image data type (parts) assigned to each display surface and the screen mode. Various image data displayed on the BG-A surface, BG-B surface, BM-A surface, BM-B surface, OBJ-A surface, and OBJ-B surface are in the data format shown in FIGS. 1 is stored in the program / data ROM 107 of FIG. The image data on the BG-A surface, BG-B surface, OBJ-A surface, and OBJ-B surface is stored in the CPU 101 shown in FIG. 1 from the program / data ROM 107, the work RAM 108, and the CPU interface unit 301 shown in FIG. The data is transferred to the SRAM 103 via the address bus 315, the data bus 316, and the SRAM interface unit 302. Similarly, the image data on the BM-A surface and the BM-B surface is obtained by the CPU 101 shown in FIG. 1 from the program / data ROM 107, the work RAM 108, the CPU interface unit 301, the address bus 315, and the data bus 316 in FIG. , And the DP-RAM interface unit 303 to transfer to the SRAM 103. A data format when various image data are stored in the work RAM 108 during transfer is shown in FIG.
[0032]
In this embodiment, in consideration of the data compression effect, in order to reproduce a small area image and an image formed by repeating the small area image, the image data is divided for each small area and developed into the SRAM 103 or the DP-RAM 104, and this is once extracted. Or it repeats arbitrarily and reproduces | regenerates as an image. This small area is called a cell.
[0033]
On the BG plane, the cells are arbitrarily arranged in a map (matrix) shape, and an image of a desired size is synthesized. If it is desired to change only a part of the image, only the data of the corresponding cell on the SRAM 103 needs to be rewritten by the CPU 101, and other cells are not affected at that time. In this embodiment, two BG planes can be output. These are called the BG-A plane and the BG-B plane.
[0034]
In the OBJ plane, rather than for data compression, the display position of a small area image can be easily changed without affecting (not redrawing) other images (background, etc.) Then, it is used for the purpose of giving priority among the sprite (object) images of 128 simultaneous display. Since the image data on the OBJ plane has a small area and a small amount of data (number of dots), the memory access time for one piece of image data can be reduced, and a larger amount of image data can be reproduced accordingly. However, the number of sprites (objects) that can be displayed simultaneously per screen is limited. This is defined from the memory capacity of an object attribute memory unit 307 in FIG. Similar to the image on the BG surface, the image on the OBJ surface is also composed of cells. In this embodiment, two OBJ planes can be output. These are called the OBJ-A plane and the OBJ-B plane.
[0035]
The BM surface is an image having a certain area, but is a surface suitable when there are few elements that are repeatedly reproduced. There is no need to configure the image in cell format, and no map information is required. As a result, an image having a relatively large area can be displayed efficiently. In this embodiment, two BM surfaces can be output. These are called the BM-A plane and the BM-B plane.
<Schematic operation of VDP 102 and CPU 101>
Next, schematic operations of the CPU 101 and the VDP 102 will be described.
[0036]
Next, the object generator unit 304 and the background generator unit 305 in FIG. 3 access the SRAM interface unit 302 at each timing divided in each horizontal period. In this access, the object generator unit 304 converts the display coordinates on the OBJ-A plane and the display coordinates on the OBJ-B plane corresponding to the display timing of each dot within the next horizontal display period from the SRAM 103 of FIG. The color code of the arranged sprite (object) is read out and stored in the line buffer corresponding to each display surface in the object generator unit 304. Similarly, the background generator unit 305 converts the display coordinates on the BG-A plane and the display coordinates on the BG-B plane corresponding to the display timing of each dot in the next horizontal display period from the SRAM 103 of FIG. The background color code to be arranged is read out and stored in the line buffer corresponding to each display surface in the background generator 305.
[0037]
In the operation described above, the CPU 101 in FIG. 1 has the data format shown in FIG. 7 in the object attribute memory unit 307 via the CPU interface unit 301, the address bus 315, and the data bus 316 in FIG. The arrangement coordinates when the stored 128 sprites (objects) are arranged on the OBJ-A plane or the OBJ-B plane are stored in the data format shown in FIG. Then, the object generator unit 304 calculates the read timing corresponding to the arrangement coordinates of each sprite (object) stored in the object attribute memory unit 307, and at each calculated sprite ( Object) is read from the SRAM 103 and stored in the line buffer.
[0038]
On the other hand, the bitmap generator unit 306 controls the DP-RAM interface unit 303 at each time-divided timing within each horizontal period independently of the access operations of the object generator unit 304 and the background generator unit 305 described above. to access. In this access, the background generator unit 305 receives the display coordinates on the BM-A plane corresponding to the display timing of each dot in the next horizontal display period, and the BM-B plane from the DP-RAM 104 of FIG. The color codes of the bitmaps arranged at the display coordinates are read out and stored in the line buffers corresponding to the display surfaces in the bitmap generator unit 306, respectively.
[0039]
As described above, for each horizontal period, the colors of the next one line of sprites (objects) arranged in the two line buffers in the object generator unit 304 on the OBJ-A plane and the OBJ-B plane, respectively. The code is obtained, and the background color code for the next one line arranged on each of the BG-A plane and the BG-B plane is obtained in the two line buffers in the background generator unit 305, and further the bitmap generator. Bit map color codes for the next one line respectively arranged on the BM-A plane and the BM-B plane are obtained in the four line buffers in the unit 306.
[0040]
1 sets whether or not each display surface shown in FIG. 4 is used in a display control register (not shown) in the VDP 102 having the data format shown in FIG. The object generator unit 304, the background generator unit 305, and the bitmap generator unit 306 in FIG. 3 refer to the contents of the display control register to obtain image data (color code) corresponding to each display surface in the SRAM 103 or DP. Determine whether to read from RAM 104
[0041]
FIG. 12 is an explanatory diagram of screen display timing.
The horizontal synchronization counter value output from the decoder unit 313 in FIG. 3 changes from 000h to 1FFh (where “h” indicates a hexadecimal number) is one horizontal period, of which the horizontal synchronization for 256 counts from 000h to 0FFh. A period corresponding to the counter value is a horizontal display period for one line of 256 dots, and a period corresponding to the other horizontal synchronization counter values is a horizontal blank period. Further, a period in which the vertical synchronization counter value output from the decoder unit 313 changes from 000h to 1FFh is one vertical period, and this is a display period for one screen on the television 111 in FIG. A period corresponding to 224 counts of vertical synchronization counter values from 000h to 0DFh is a vertical display period of 224 lines in the vertical direction, and a period corresponding to other vertical synchronization counter values is a vertical blank period.
[0042]
Each time the horizontal synchronization counter value is counted up, one set of RGB data is output from the color lookup table unit 309 in FIG. 3 to the RGB D / A conversion unit 310.
<Detailed Operation of CPU 101>
The operation of the CPU 101 in FIG. 1 will be described in detail. Each operation flowchart described below is realized as an operation in which the CPU 101 executes a control program stored in the program / data ROM 107. Also, unless otherwise stated, reference is made to each functional part of the configuration of FIGS.
Overall operation flow
FIG. 13 is a flowchart illustrating the entire operation executed by the CPU 101.
[0043]
When the system power is turned on, in step 1301, the contents of the work RAM 108, the object attribute memory unit 307 in the VDP 102 and the contents of various registers (not shown), the contents of the SRAM 103 and the DP-RAM 104 are initialized (initialized). )
[0044]
Next, in step 1302, a mode selection process is executed. Here, a mode selection screen for allowing the user to select either the questionnaire screen or the file loading screen is displayed, the determination of the type of the switch turned on by the user on the control pad 112, and the mode selection screen corresponding to the turned on switch The display of is changed.
[0045]
When either the questionnaire screen selection area or the file loading screen selection area on the mode selection screen is highlighted, when the user turns on the ENTER switch 202, in step 1303, the register is set in particular, not shown. The current mode number is determined.
[0046]
If it is determined that the current mode number is 1, a file operation screen process for loading a file is executed in step 1304.
On the other hand, if it is determined that the current mode number is 2, a questionnaire screen process is executed in step 1305.
[0047]
When the user ends the file operation screen displayed on the television 111 in step 1304 or the questionnaire screen displayed on the television 111 in step 1305, a portrait creation process is executed in step 1306.
[0048]
In step 1306, when the user turns on the ENTER switch 202 when a “return to mode selection screen” icon, which will be described later, which is a command icon is highlighted, the process returns to the mode selection process in step 1302.
[0049]
On the other hand, if the user turns on the ENTER switch 202 when a “save” icon, which will be described later as a command icon, is highlighted in step 1306, the created portrait is stored in the file in steps 1308 and 1309. Processing for saving is executed. In this case, first, in step 1308, a character input process for causing the user to input a file name is executed. When the user inputs a file name, a file saving process is executed in step 1309, and then the portrait creation in step 1306 is performed. Return to the process.
Mode selection process flow
FIG. 14 is an operation flowchart of the mode selection process executed as the process of step 1302 of FIG.
[0050]
First, in step 1401, a mode selection screen display process is executed. A detailed operation flowchart of this processing is shown in FIG.
In FIG. 15, in step 1501, the CPU 101 issues an output screen clear command to the VDP 102. As a result, the screen display of the television 111 is cleared.
[0051]
In step 1502, the CPU 101 transfers background data (see the mode selection screen in FIG. 5), which is background image data for the BG-A plane shown in FIG. 6 on the program / data ROM 107, to the CPU interface unit 301, the address bus. The data is transferred to the storage area on the BG-A surface of the SRAM 103 via the data bus 315, the data bus 316, and the SRAM interface unit 302.
[0052]
In step 1503, as in step 1502, the CPU 101 performs mode selection screen data (system screen data) (background mode data in FIG. 5) as background image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107. (Refer to the selection screen) is transferred to the storage area of the BG-B surface of the SRAM 103 via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302.
[0053]
Further, in step 1504, data for explaining speech on the mode selection screen (hereinafter referred to as “explain speech”) and its coordinate data are created. Specifically, the CPU 101 is data corresponding to the image shown in FIG. 59 (Ma) and is object image data for the OBJ-B plane shown in FIG. 6 on the program / data ROM 107. 3. The data of the dialogue sentence and the data of the dialogue frame shown in (3) are determined as the explanation speech data. Further, the CPU 101 creates coordinate data indicating the display position of the object image data on the internal register.
[0054]
In step 1505, the CPU 101 transfers the determined object image data for description balloon shown in FIG. 59 (Ma) from the program / data ROM 107 to the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit. The data is transferred to the empty object storage area on the OBJ-B surface of the SRAM 103 via 302 (see the mode selection screen in FIG. 5). Further, the CPU 101 transfers coordinate data indicating the display position of the object image data created on the internal register to the object attribute memory unit (OAM) 307 via the CPU interface unit 301, the address bus 315, and the data bus 316. To do.
[0055]
In step 1506, it is determined whether or not the above-described series of transfer processing has been completed, and when it is determined that transfer has been completed, the mode selection screen display processing in step 1401 of FIG. 14 ends. As a result, the VDP 102 having the configuration shown in FIG. 3 is used for the mode selection screen transferred to the storage areas of the BG-A plane, BG-B plane, and OBJ-B plane on the SRAM 103 as described above. Are displayed on the television 111. On the mode selection screen, although not particularly shown, a selection area for selecting mode 1 and mode 2 is displayed. When the mode selection screen is first displayed, for example, the mode 1 selection area is highlighted. The mode selection screen also displays an explanation balloon shown in FIG. 59 (M-a).
[0056]
Next, in the repetition of steps 1402 to 1407 in FIG. 14, the type of the switch turned on by the user on the control pad 112 is changed, and the display of the mode selection screen is changed according to the turned on switch.
[0057]
That is, when the user turns on the upper switch (SW) 203, the determination in step 1402 is YES (Y), and more particularly, if the mode number (#) set in the register MODE (not shown) is not 1, the determination in step 1403 is made. Is also YES. As a result, in step 1404, the mode number (#) set in the register MODE is set to 1. If the mode number is already 1, the determination in step 1403 is NO (N), and the mode number does not change.
[0058]
In steps 1405 and 1406, as in the case of steps 1504 and 1505 in FIG. 15 described above, explanation balloon data and its coordinate data for explanation of the mode selection screen shown in FIG. 59 (Ma) are created. Are transferred to the empty object storage area on the OBJ-B surface of the SRAM 103 and the object attribute memory unit 307.
[0059]
As a result, the mode 1 selection area is highlighted and the explanation balloon shown in FIG. 59 (M-a) is displayed.
When the user turns on the lower switch 204, the determination in step 1408 is YES, and in step 1410, the mode number (#) set in the register MODE is set to 2. If the mode number is already 2, the determination in step 1409 is NO (N), and the mode number does not change.
[0060]
In steps 1411 and 1406, as in the case of steps 1504 and 1505 in FIG. 15 described above, explanation balloon data and its coordinate data for explanation of the mode selection screen shown in FIG. 59 (Mb) are created. Are transferred to the empty object storage area on the OBJ-B surface of the SRAM 103 and the object attribute memory unit 307.
[0061]
As a result, the mode 2 selection area is highlighted, and the explanation balloon shown in FIG. 59 (M-b) is displayed.
Until the user turns on the ENTER switch 202 on the control pad 112, the processing of steps 1402-1407 is repeated. When the user turns on the ENTER switch 202, the determination in step 1407 is YES, and the mode selection process in step 1302 in FIG. 13 is terminated.
File
File loading process flow
16 to 19 are operation flowcharts showing the file loading process executed as step 1304 in FIG. On the file operation screen displayed by this processing, the user can store an image data file of a caricature that has been preset in advance or created and saved by the SRAM 103 from the battery-backed work RAM 108. Alternatively, it can be loaded into the DP-RAM 104.
[0062]
As shown in FIG. 49, the file operation screen includes a current file number display section and a file name display section for displaying the number and name of the currently selected file, and a file icon 1 for displaying the file type as a picture. -6 and a helper made up of explanation speech bubbles and doll pictures are displayed on the television 111.
[0063]
On the file operation screen, when the user turns on the upper switch 203 or the lower switch 204 on the control pad 112, a group of file icons 1 to 3 and a group of file icons 4 to 6 are grouped as files to be loaded. Can move between. The user can select any of the file icons in the currently selected group as a file to be loaded by turning on the left switch 205 or the right switch 206 on the control pad 112. As a result, the selected file icon is highlighted, and the display contents of the current file number display part and the file name display part are changed to contents corresponding to the file icon. In this state, when the user turns on the ENTER switch 202 on the control pad 112, the file data corresponding to the file icon is loaded into the SRAM 103 or the DP-RAM 104. Based on this data, the user can edit the portrait by face creation processing in step 1306 of FIG.
[0064]
Details of the operation flowcharts of FIGS. 16 to 19 will be described below.
First, in step 1601 of FIG. 16, file operation screen display processing is executed. Details of this processing are shown as an operation flowchart in FIG.
[0065]
In FIG. 19, in step 1901, the CPU 101 issues an output screen clear command to the VDP 102. As a result, the screen display of the television 111 is cleared.
[0066]
In step 1902, the CPU 101 transfers background data (see the file operation screen in FIG. 5), which is background image data for the BG-A plane shown in FIG. 6 on the program / data ROM 107, to the CPU interface unit 301, the address bus. The data is transferred to the storage area on the BG-A surface of the SRAM 103 via the data bus 315, the data bus 316, and the SRAM interface unit 302.
[0067]
In step 1903, the value 1 is preset in the register FN indicating the file number.
In step 1904, as in step 1902, the CPU 101 stores file operation screen data (system screen data), which is background image data for the BG-B surface shown in FIG. The data is transferred to the storage area on the BG-B surface of the SRAM 103 via the interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302 (see the file operation screen in FIG. 5). As a result, the file operation screen shown in FIG. 49 is displayed on the television 111. As the initial display of the explanation balloon, the contents shown in FIG. 60 (FL-a) are displayed.
[0068]
In step 1905, it is determined whether or not the above-described series of transfer processes has been completed. After the transfer has been determined, in step 1906, a file operation screen stored in the storage area of the BG-B surface of the SRAM 103 is further displayed. Of the cells constituting the background image data, only the cell portion corresponding to the current file number display portion and the file name display portion (see FIG. 49) is replaced with data indicating the content corresponding to the value 1 of the register FN. It is done. Specifically, the CPU 101 transfers the image data indicating the number 1 corresponding to the value 1 of the register FN to the corresponding area of the SRAM 103 as a cell of the current file number display unit, and works as a cell of the file name display unit. The six address areas {AD7} to {AD7 + 7}, {AD7 + 8} to {AD7 + 15}, {AD7 + 16} to {AD7 + 23}, {AD7 + 24} to {AD7 + 31}, {AD7 + 32} to {AD7 + 39} shown in FIG. }, {AD7 + 40} to {AD7 + 47}, the file name image data stored in the address area {AD7} to {AD7 + 7} corresponding to the value 1 of the register FN is transferred to the corresponding area of the SRAM 103.
[0069]
Thereafter, the file operation screen display process in step 1601 of FIG. 16 is terminated. As a result, as the initial screen of the file operation screen, the current file number display portion and the file name display portion for displaying the file number 1 and its file name, the file icons 1 to 6 with the file icon 1 highlighted, and FIG. An explanation speech bubble for displaying the contents shown in (FL-a) and a helper made up of a picture of a doll are displayed on the television 111.
[0070]
From this state, when the user turns on the lower switch 204 on the control pad 112, the determination in step 1605 of FIG. 16 becomes YES, and at that time, the file icon (see FIG. 49) in the group of the file icons 1 to 3 is selected. If the value of the register FN indicating the file number is 3 or less, the determination in step 1606 is YES, and in step 1607, the value of the register FN is +3. As a result, the group of file icons has moved from the groups 1 to 3 to the groups 4 to 6. Thereafter, the processing of steps 1614 to 1619 in FIG. 17 for changing the display is executed. If the file icon (see FIG. 49) in the group of the file icons 4 to 6 is already selected when the lower switch 204 is turned on and the value of the register FN indicating the file number is not 3 or less, the determination in step 1606 is performed. No, the display content is not changed, and the process returns to step 1602.
[0071]
When the user turns on the upper switch 203 on the control pad 112, the determination in step 1602 of FIG. 16 becomes YES, and at that time, the file icon (see FIG. 49) in the group of the file icons 4 to 6 is selected and the file number is set. If the value of the register FN shown is greater than 3, the determination in step 1603 is YES, and in step 1604, the value of the register FN is decreased by -3. As a result, the group of file icons has moved from the group of 4-6 to the group of 1-3. Thereafter, the processing of steps 1614 to 1619 in FIG. 17 for changing the display is executed. If the file icon (see FIG. 49) in the group of the file icons 1 to 3 is already selected when the upper switch 203 is turned on and the value of the register FN indicating the file number is not larger than 3, the determination in step 1603 is made. No, the display content is not changed, and the process returns to step 1602.
[0072]
When the user turns on the left switch 205 on the control pad 112, the determination in step 1611 in FIG. 16 becomes YES, and at that time, the file icon 1 and the file icon 4 (see FIG. 49) which are the leftmost file icons are not selected. If the value of the register FN is not 1 or 4, the determination in step 1612 is YES, and in step 1613, the value of the register FN is decremented by 1. As a result, the selected file icon has moved one place to the left. Thereafter, the processing of steps 1614 to 1619 in FIG. 17 for changing the display is executed. When the left switch 205 is turned on, if the file icon 1 or the file icon 4 which is the leftmost file icon is selected and the value of the register FN is 1 or 4, the determination in step 1612 is NO and the display contents Is not changed, and the processing returns to step 1602.
When the user turns on the right switch 206 on the control pad 112, the determination in step 1608 in FIG. 16 becomes YES, and at that time, the file icon 3 and the file icon 6 (see FIG. 49) which are the rightmost file icons are not selected. If the value of the register FN is not 3 or 6, the determination in step 1609 is YES, and in step 1610, the value of the register FN is incremented by one. As a result, the selected file icon has moved to the right by one. Thereafter, the processing of steps 1614 to 1619 in FIG. 17 for changing the display is executed. When the right switch 206 is turned on, the file icon 3 or the file icon 6 which is the rightmost file icon is selected, and if the value of the register FN is 3 or 6, the determination in step 1609 becomes NO, and the display contents Is not changed, and the processing returns to step 1602.
[0073]
After any of the processes in steps 1605 to 1607, steps 1602 to 1604, steps 1611 to 1613, and steps 1608 to 1610 in FIG. 16, only the file icon corresponding to the value of the register FN is obtained in step 1614 in FIG. Is newly highlighted. Specifically, the CPU 101 selects the cell corresponding to the file icon corresponding to the value of the register FN among the cells constituting the background image data of the file operation screen stored in the storage area of the BG-B surface of the SRAM 103. The portion is replaced with a highlighting cell, and for example, the portion of the cell corresponding to the file icon that has been highlighted so far corresponding to the original value of the register FN is replaced with a normal display cell.
[0074]
Next, in step 1615, it is determined whether or not a file is stored at an address on the work RAM 108 corresponding to the file number of the value of the register FN. Specifically, the CPU 101, among the address areas starting from AD7 shown in FIG. 9 on the work RAM 108, the areas {AD7 + {(FN) −1} × 8} to {AD7 + {( FN) -1} × 8 + 7}, it is determined whether a valid file name is stored. Note that (FN) indicates the value of the register FN.
[0075]
If a file corresponding to the file number of the value of the register FN exists and the determination in step 1615 is YES, the CPU 101, in step 1616, stores the background image of the file operation screen stored in the storage area of the BG-B surface of the SRAM 103. Of the cells constituting the data, the cell corresponding to the description balloon is replaced with a cell corresponding to the contents shown in FIG. 60 (FL-a). This cell data is included in the image data for the file operation screen among the image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107.
[0076]
Thereafter, in step 1617, among the cells constituting the background image data of the file operation screen stored in the storage area on the BG-B surface of the SRAM 103, the current file number display portion and the file name display portion (see FIG. 49) are displayed. Only the corresponding cell portion is replaced with data indicating the contents corresponding to the value of the register FN. Specifically, the CPU 101 transfers the image data indicating the number corresponding to the value of the register FN to the corresponding area of the SRAM 103 as a cell of the current file number display unit, and is stored on the work RAM 108 as a cell of the file name display unit. 9 of the address areas {AD7 + {(FN) −1} × 8} to {AD7 + {(FN) −1} × 8 + 7} corresponding to the value of the register FN among the six address areas starting from AD7 shown in FIG. Is transferred to the corresponding area of the SRAM 103.
[0077]
Thereafter, the processing returns to step 1602 in FIG.
On the other hand, if the file corresponding to the file number of the value of the register FN does not exist and the determination in step 1615 in FIG. 17 is NO, the CPU 101 executes the file operation stored in the storage area on the BG-B surface of the SRAM 103 in step 1618. Of the cells constituting the background image data of the screen, the cell corresponding to the description balloon is replaced with a cell corresponding to the contents shown in FIG. 60 (FL-b). This cell data is included in the image data for the file operation screen among the image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107.
[0078]
Thereafter, in step 1619, among the cells constituting the background image data of the file operation screen stored in the storage area on the BG-B surface of the SRAM 103, the current file number display portion and the file name display portion (see FIG. 49) are displayed. Only the corresponding cell part is changed. Specifically, the CPU 101 transfers the image data indicating the number corresponding to the value of the register FN to the corresponding area of the SRAM 103 as the cell of the current file number display unit, and blanks as the content of the cell of the file name display unit. Is transferred to the corresponding area of the SRAM 103.
[0079]
Thereafter, the processing returns to step 1602 in FIG.
Finally, when any file icon is highlighted and the display contents of the current file number display part and the file name display part are contents corresponding to the file icon, the user can When the ENTER switch 202 is turned on, the determinations at steps 1602, 1605, 1608, and 1611 in FIG. 16 are NO, and the determination at step 1620 in FIG. 18 is YES.
[0080]
As a result, in step 1621, the CPU 101 causes the address area {AD8 + 8 × ((FN) −1)} to {AD8 + 8 × ((FN) −1) shown in FIG. 9 on the work RAM 108 corresponding to the value of the register FN. The eight types of part numbers, which are the part type data stored in +7}, are stored in the address areas {AD1} to {AD1 + 7} shown in FIG.
[0081]
In this case, the part number stored in the address area {AD1} from the address area {AD8 + 8 × ((FN) −1)} on the work RAM 108, as will be described later in the face creation processing in step 1306 in FIG. / Specifies one of the background image data 00 to 06 for the BG-A plane shown in FIG.
[0082]
The part number stored in the address area {AD1 + 1} from the address area {AD8 + 8 × ((FN) -1) +1} on the work RAM 108 is for the BM-B plane shown in FIG. 6 on the program / data ROM 107. One of the back hair image data 10 to 16 and one of the front hair image data 10 to 16 for the BM-A plane shown in FIG. 6 are designated.
[0083]
The part number stored in the address area {AD1 + 2} from the address area {AD8 + 8 × ((FN) −1) +2} on the work RAM 108 is the link for the BM-B plane shown in FIG. 6 on the program / data ROM 107. One of the image data 20 to 26 is designated.
[0084]
The part number stored in the address area {AD1 + 3} from the address area {AD8 + 8 × ((FN) -1) +3} on the work RAM 108 is the OBJ-A plane shown in FIGS. 6 and 7 on the program / data ROM 107. One of the eye image data 30 to 36 for use and one of the eyebrow image data 30 to 36 for the OBJ-B plane shown in FIGS. 6 and 7 is designated.
[0085]
The part number stored in the address area {AD1 + 4} from the address area {AD8 + 8 × ((FN) -1) +4} on the work RAM 108 is the OBJ-A plane shown in FIGS. 6 and 7 on the program / data ROM 107. One of the nose image data 40 to 46 is designated.
[0086]
The part number stored in the address area {AD1 + 5} from the address area {AD8 + 8 × ((FN) -1) +5} on the work RAM 108 is the OBJ-A plane shown in FIGS. 6 and 7 on the program / data ROM 107. One of the mouth image data 50 to 56 is designated.
[0087]
The part number stored in the address area {AD1 + 6} from the address area {AD8 + 8 × ((FN) -1) +6} on the work RAM 108 is the OBJ-B plane shown in FIGS. 6 and 7 on the program / data ROM 107. Specifies one of the image data 80 to 86 of the message text.
[0088]
Finally, the part number stored in the address area {AD1 + 7} from the address area {AD8 + 8 × ((FN) −1) +7} of the work RAM 108 is OBJ− shown in FIGS. 6 and 7 on the program / data ROM 107. Designates one of the image data 90 to 96 of the B frame.
[0089]
After the process of step 1621, the value of the register FN is stored in the address area {AD3} shown in FIG.
After the process of step 1622, the file load process of step 1304 in FIG.
[0090]
In this way, each part corresponding to the part number of the portrait included in the file selected by the user stored in the address areas {AD1} to {AD1 + 9} shown in FIG. 9 on the work RAM 108 is shown in FIG. In step 1306, the face creation process is transferred from the program / data ROM 107 to the SRAM 103 or the DP-RAM 104 and displayed on the television 111 via the VDP 102. The user can edit the caricature based on this data. It can also be saved as a file if necessary.
Questionnaire screen processing flow
20 to 25 are operation flowcharts showing the questionnaire screen process executed as step 1305 in FIG. The user can determine the outline of the portrait to be newly created on the questionnaire screen. Actually, the contents of the file having the characteristics closest to the questionnaire result are loaded from the preset files described above.
[0091]
First, in step 2001, a questionnaire screen display process is executed. Details of this processing are shown as an operation flowchart in FIG.
In FIG. 25, in step 2501, the CPU 101 issues an output screen clear command to the VDP 102. As a result, the screen display of the television 111 is cleared.
[0092]
In step 2502, the CPU 101 stores background data (see the questionnaire screen in FIG. 5), which is background image data for the BG-A plane shown in FIG. 6 on the program / data ROM 107, the CPU interface unit 301 and the address bus 315. Then, the data is transferred to the storage area on the BG-A surface of the SRAM 103 via the data bus 316 and the SRAM interface unit 302.
[0093]
In step 2503, as in step 2502, the CPU 101 performs questionnaire screen data (system screen) that is background image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107 (see the questionnaire screen in FIG. 5). ) Is transferred to the storage area on the BG-B surface of the SRAM 103 via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302.
[0094]
Further, in step 2504, explanation balloon data and coordinate data of the questionnaire screen are created. Specifically, the CPU 101 is data corresponding to the image shown in FIG. 61 (Aa) and is object image data for the OBJ-B surface shown in FIG. 6 on the program / data ROM 107. 3. The data of the dialogue sentence and the data of the dialogue frame shown in 3 ▼ are determined as the explanation balloon data (see the questionnaire screen in FIG. 5). Further, the CPU 101 creates coordinate data indicating the display position of the object image data on the internal register.
[0095]
In step 2505, the CPU 101 transfers the determined object image data for the description balloon shown in FIG. 61A from the program / data ROM 107 to the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. To the empty object storage area on the OBJ-B surface of the SRAM 103. Further, the CPU 101 transfers coordinate data indicating the display position of the object image data created on the internal register to the object attribute memory unit (OAM) 307 via the CPU interface unit 301, the address bus 315, and the data bus 316. To do.
[0096]
In step 2506, it is determined whether or not the above-described series of transfer processes has been completed, and when the transfer end is determined, the questionnaire screen display process in step 2001 of FIG. 20 is ended. As a result, the VDP 102 having the configuration shown in FIG. 3 is used for the questionnaire screen transferred to the storage areas of the BG-A plane, BG-B plane, and OBJ-B plane on the SRAM 103 as described above. The image data is displayed on the television 111.
[0097]
As shown in FIG. 50, the questionnaire screen includes selection answer display for each question number of # 1 to # 4 (including question selection picture in question number 1) and “end” (question number # 5). A helper composed of an end speech display, an instruction speech bubble for instructing the currently selected display, and a picture of a doll is displayed. In the initial state, the helper instructs the selection answer display of question number 0.
[0098]
When the user turns on the lower switch 204 on the control pad 112, the determination in step 2005 is YES. In particular, if the value of the question number (#) set in a register (not shown) is 5, the determination in step 2006 is YES. In step 2007, the value of the question number (#) in the register is incremented by +1. If the value of the question number (#) is 5, the determination in step 2006 is NO and the value of the question number (#) is not incremented.
[0099]
On the other hand, when the user turns on the upper switch 203 on the control pad 112, the determination in step 2002 is YES. In particular, if the value of the question number (#) set in a register (not shown) is 1, the determination in step 2003 is performed. In step 2004, the value of the question number (#) in the register is decremented by +1 in step 2004. If the value of the question number (#) is 1, the determination in step 2003 is NO, and the value of the question number (#) is not decremented.
[0100]
As described above, the user can change the question number (#) with the upper switch 203 or the lower switch 204 on the control pad 112. Then, when the question number (#) is changed in this way, processing corresponding to the changed question number (#) is executed in steps 2008 to 2027 in FIG.
[0101]
First, when the question number (#) is changed to 1, the determination in Step 2008 is YES, and Steps 2009 to 2011 are executed.
That is, in step 2009, explanation balloon data for explaining the questionnaire screen corresponding to the question number 1 and its coordinate data are created. Specifically, the CPU 101 is data corresponding to the image shown in FIG. 61 (Aa) and is object image data for the OBJ-B surface shown in FIG. 6 on the program / data ROM 107. 3. The data of the dialogue sentence and the data of the dialogue frame shown in (3) are determined as the explanation speech data. Further, the CPU 101 creates coordinate data indicating the display position corresponding to the question number 1 of those object image data on the internal register.
[0102]
In step 2010, the CPU 101 transfers the determined object image data for the description balloon shown in FIG. 61 (Aa) from the program / data ROM 107 to the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. To the empty object storage area on the OBJ-B surface of the SRAM 103. Further, the CPU 101 transfers coordinate data indicating the display position of the object image data created on the internal register to the object attribute memory unit (OAM) 307 via the CPU interface unit 301, the address bus 315, and the data bus 316. To do.
[0103]
In step 2011, it is determined whether or not the series of transfer processes described above has been completed. Then, when it is determined that the transfer has been completed, the explanation balloon shown in FIG. 61 (A-a) is displayed at the position of question number 1. Thereafter, the processing returns to step 2002 in FIG.
[0104]
Next, even when the question number (#) is changed to 2 to 5, respectively, the determination in step 2012, 2016, 2020, or 2024 becomes YES, respectively, which is the same as in the case of steps 2009 to 2011 described above. , Steps 2013 to 2015, 2017 to 2019, 2021 to 2023, or 2025 to 2027 are executed. As a result, explanation balloons for explaining the questionnaire screens shown in FIG. 61 (Ab), FIG. 61 (Ac), FIG. 62 (Ad), or FIG. 62 (Ae) corresponding to the question numbers 2 to 5 respectively. By transferring the data and its coordinate data to the empty object storage area on the OBJ-B surface of the SRAM 103 and the object attribute memory unit (OAM) 307, each explanation balloon is displayed at each position of the question numbers 2-5. become. After each process, the process returns to the process of step 2002 in FIG.
[0105]
Next, when the user turns on the right switch 206 or the left switch 205 on the control pad 112 when the value of the question number (#) is 1, steps 2028 and 2029 in FIG. 22 or steps 2044 in FIG. The determination in 2045 is YES, and steps 2030 and 2031 in FIG. 22 or steps 2046 and 2047 in FIG. 23 are executed.
[0106]
When the right switch 206 is turned on, the value of the register A1 (not shown) is set to 2 at step 2030 in FIG. 22, and when the left switch 205 is turned on, the value of the register A1 is set at step 2046 in FIG. Set to 1. The initial values of the register A1 and registers A2 to A4 described later are preset to 1.
[0107]
In step 2031 of FIG. 22 or step 2047 of FIG. 23, the CPU 101 selects the question number 1 among the cells constituting the background image data for the questionnaire screen stored in the storage area of the BG-B surface of the SRAM 103. Only the cell portion corresponding to the display (see FIG. 50) is set to the new value 2 or 1 of the register A1 read from the background image data area for the BM-B surface shown in FIG. 6 on the program / data ROM 107. Replace with the corresponding new cell. As a result, the selection answer display of question number 1 changes between the display of “ONANKO” (FIG. 50) or “MANKOKO”.
[0108]
If the user turns on the right switch 206 or the left switch 205 on the control pad 112 when the value of the question number (#) is 2, steps 2028 and 2032 in FIG. 22 or steps 2044 and 2048 in FIG. Is YES, steps 2033 to 2035 in FIG. 22 or steps 2049 to 2051 in FIG. 23 are executed.
[0109]
When the right switch 206 is turned ON, if the value of the register A2 is not 3, the determination at step 2033 in FIG. 22 is YES, and the value of the register A2 is incremented by +1 at step 2034. Is equal to 3, the determination in step 2033 is NO and the value of the register A2 does not change. On the other hand, when the left switch 205 is turned on, if the value of the register A2 is not 1, the determination at step 2049 in FIG. 23 is YES and the value of the register A2 is decremented by +1 at step 2050, and the register A2 If the value of 1 is 1, the determination in step 2049 is NO and the value of the register A2 does not change.
[0110]
In step 2035 of FIG. 22 or step 2051 of FIG. 23, the CPU 101 selects question number 2 from the cells constituting the background image data for the questionnaire screen stored in the storage area of the BG-B surface of the SRAM 103. Only the cell portion corresponding to the answer display and answer selection picture (see FIG. 50) is read from the background image data area for the BM-B plane shown in FIG. Replace with a new cell corresponding to the correct value. As a result, the selection answer display of question number 2 and the answer selection picture are sequentially changed among the three types of display. Thereafter, the processing returns to step 2002 in FIG.
[0111]
When the value of the question number (#) is 3 or 4, and the user turns on the right switch 206 or the left switch 205 on the control pad 112, steps 2028 and 2036 in FIG. 22 or steps in FIG. The determinations of 2044 and 2052 are YES, or the determinations of steps 2028 and 2040 of FIG. 22 or steps 2044 and 2056 of FIG. 23 are YES, and steps 2037 to 2039 of FIG. 22 or steps 2053 to 2055 of FIG. , Steps 2041 to 2043 in FIG. 22 or Steps 2057 to 2059 in FIG. 23 are executed. The processing in these cases is the same as the case where the value of the question number (#) is 2.
[0112]
That is, after the value of the register A3 or A4 is incremented or decremented between 1 and 3, among the cells constituting the background image data for the questionnaire screen stored in the storage area of the BG-B surface of the SRAM 103, Only the cell portion corresponding to the selected answer display of question number 3 or 4 (see FIG. 50) is read from the background image data area for the BM-B surface shown in FIG. 6 on the program / data ROM 107. Replace with a new cell corresponding to the new value in register A3 or A4. As a result, the selection answer display of question number 3 or 4 is sequentially changed among the three types of display.
[0113]
If the value of the question number (#) is 1 to 4 and the user turns on the ENTER switch 202 on the control pad 112, the determination at step 2060 in FIG. 24 is YES and the determination at step 2061 is NO. Returning to the process of step 2002 in FIG.
[0114]
Further, when the value of the question number (#) is 5, that is, when the explanation balloon indicates the end display, if the user turns on the ENTER switch 202 on the control pad 112, step 2060 in FIG. Both judgments of 2061 are YES. As a result, in step 2062, the CPU 101 determines a file number to be loaded by referring to a table (not shown) on the program / data ROM 107 based on the values of the registers A1 to A4 indicating the questionnaire results. Then, as in the case of the file load process in step 1304 of FIG. 13 described above (see step 1621 of FIG. 18), the CPU 101 addresses the address area shown in FIG. 9 on the work RAM 108 corresponding to the above file number { FIG. 9 on the work RAM 108 shows 10 types of part numbers that are part type data stored in AD8 + 8 × ((FN) −1)} to {AD8 + 8 × ((FN) −1) +7}. Stored in the address areas {AD1} to {AD1 + 7}.
[0115]
In this way, each part corresponding to the part number of the portrait included in the file selected by the user stored in the address areas {AD1} to {AD1 + 7} shown in FIG. 9 on the work RAM 108 will be described below. In the face creation process in step 1306 of FIG. 13, the program / data ROM 107 transfers the data to the SRAM 103 or DP-RAM 104 and displays it on the TV 111 via the VDP 102. The user edits the portrait based on this data. Can be saved as a file if necessary.
Face creation process flow
As described above, the user causes the SRAM 103 or the DP-RAM 104 to load the file data corresponding to the file icon selected on the file operation screen or the file data having the characteristics closest to the questionnaire result set on the questionnaire screen. Based on this data, the portrait can be edited by the face creation processing in step 1306 of FIG.
[0116]
FIG. 51 shows the output state of the basic system screen. As described with reference to FIG. 4, the screen includes the BG-A plane, the BM-B plane, the OBJ-A plane, the BM-A plane, the OBJ-B plane, and the BG-B plane shown in FIGS. The image assigned to the front display surface has a higher display priority, and is generated by being displayed so as to be hidden and displayed so that the image assigned to the display surface behind it is hidden. Here, the selection icons, explanation balloons, command icons, etc. are arranged on the BG-B plane as shown in FIG. 57, and the portrait images are displayed on the BM-B plane, OBJ, as shown in FIGS. -Since they are arranged on the A plane, the BM-A plane, and the OBJ-B plane, the graphic parts necessary for the user interface such as icons are always visible without being hidden. A background image is arranged on the back BG-A surface, and all of the BG-B surface, BM-B surface, OBJ-A surface, BM-A surface, and OBJ-B surface are transparent. It looks like a certain part. Also, as shown in FIG. 57, the explanation balloon is arranged on the BG-B plane, but only the character portion cell inside it is rewritten, so that the explanation can be written without affecting other images. Can be changed.
[0117]
Next, in this embodiment, in order to easily edit the portrait, the portrait image is synthesized by combining graphic parts such as eyes, nose, eyebrows, phosphorus and hair. In this case, when all of these graphic parts are expanded on one memory, as described in the section [Problems to be solved by the invention], for example, a graphic part that is accessed simultaneously is configured on one memory. When the number of cells to be increased increases, for example, in order to move the graphic represented by using the memory, it is necessary to perform control for moving many cells at a time. As a result, the response speed of the display operation decreases. Further, as a result of limiting the expandable memory area, the number of bits per dot of image data, that is, the number of colors may have to be limited.
[0118]
In this embodiment, therefore, the processing time is reduced and the number of display colors is increased by arranging the predetermined graphic parts on different display surfaces in different memories. Specifically, in this embodiment, as shown in FIGS. 5 and 53 to 56, the BM-A surface on the DP-RAM 104 has bangs, and the BM-B surface on the DP-RAM 104 has back hairs. Rinku (including the neck), the nose, eyes, mouth on the OBJ-A surface on the SRAM 103, and eyebrows, lines, and a frame on the OBJ-B surface on the SRAM 103 are arranged.
[0119]
As described above, the graphic parts are distributed to the SRAM 103 and the DP-RAM 104, so that the VDP 102 having the configuration shown in FIG. 3 can access the SRAM 103 by the SRAM interface unit 302 and the DP-RAM 104 by the DP-RAM interface unit 303. Access can be performed independently, and as a result, image display performance can be improved.
[0120]
Next, in the face creation process, the following 24 cases are executed.
(Case 1)
The user can switch between the selection of the selection icon and the selection of the command icon with the SEL switch 201 while viewing the basic system screen displayed on the television 111 during the face creation process shown in FIG.
(Case 2)
The user can switch between a “save” icon and a “return to mode selection” icon which are command icons by turning on the upper switch 203 or the lower switch 204 when any of the command icons is highlighted. .
(Case 3)
The user can return to the mode selection screen when the “return to mode selection” icon is highlighted by turning on the ENTER switch 202 when any of the command icons is highlighted. When the icon is highlighted, the caricature data currently created can be saved to a file.
(Case 4)
The user turns on the left switch 205 or the right switch 206 when any one of the seven types of selection icons in the first hierarchy shown in FIG. 69 (a) for selecting a caricature part is highlighted. Thus, the selection icon to be selected can be moved, and at the same time, the contents of the explanation balloon shown in FIG. 51 change as shown in FIGS. 63 (Ka) to 64 (Kg). The operation of the upper switch 203 and the lower switch 204 is invalid.
(Case 5)
The user turns on the ENTER switch 202 when any of the selection icons other than the first-level balloons shown in FIG. 69 (a) is highlighted, so that the user can select the icons corresponding to the first-level selection icons. Can display a selection icon other than the second-level speech bubble (not shown).
(Case 6)
When the user turns on the ENTER switch 202 when any of the selection icons other than the second-level speech bubble is highlighted, the user may return to the display of the first-level selection icon shown in FIG. 69 (a). it can.
(Case 7)
The user selects the selected icon at the same time as moving the selected icon by turning on the left switch 205 or the right switch 206 when any of the selected icons other than the second speech bubble is highlighted. Parts can be displayed.
(Case 8)
The user turns on the ENTER switch 202 when the selection icon for the first level speech bubble shown in FIG. 69 (a) is highlighted, so that the second level speech bubble shown in FIG. 69 (b) is displayed. A selection icon can be displayed.
(Case 9)
The user moves the selection icon to be selected by turning ON the left switch 205 or the right switch 206 when any one of the second-level balloon selection icons shown in FIG. 69 (b) is highlighted. At the same time, the contents of the explanation balloon shown in FIG. 51 change as shown in FIGS. 65 (C-0) to (C-2).
(Case 10)
The user turns on the upper switch 203 when any of the second-level balloon selection icons shown in FIG. 69 (b) is highlighted, so that the first hierarchy shown in FIG. 69 (a) is displayed. You can return to the display of the selection icon.
(Case 11)
The user responds to the selection icon of the dialogue selection by turning ON the ENTER switch 202 when the selection icon of the dialogue selection in the selection icon of the second level speech bubble shown in FIG. 69 (b) is highlighted. The third layer selection icon shown in FIG. 69 (c) can be displayed.
[0121]
As shown in FIG. 69 (c), the user can select a dialogue to be displayed as a speech balloon from the current file name or a preset preset dialogue, and can modify it. it can.
(Case 12)
The user selects a selection icon to be selected by turning on the left switch 205 or the right switch 206 when any of the selection icons for the selection of the third level dialog shown in FIG. 69 (c) is highlighted. 51. At the same time, the contents of the explanation balloons shown in FIG. 51 change as shown in, for example, FIGS. 66 (S-0) to (S-3) (corresponding to four selection icons from the left end).
(Case 13)
The user turns on the upper switch 203 when any one of the selection icons of the third level dialog selection shown in FIG. 69 (c) is highlighted, so that the second display shown in FIG. 69 (b) is performed. You can return to the display of the selection icon for the speech bubble in the hierarchy.
(Case 14)
The user turns on the ENTER switch 202 when any of the selection icons of the third level dialog selection shown in FIG. 69 (c) is highlighted, thereby inputting the character input screen shown in FIG. The selected dialog can be displayed on the finished character display section.
(Case 15)
The user can switch between the cursor movement in the character display section and the cursor movement in the input character display section by turning on the SEL switch 201 when the character input screen is displayed in the case 14.
(Case 16)
The user can move the cursor in the character display unit up and down by turning on the upper switch 203 or the lower switch 204 when the character input screen is displayed in the case 14.
(Case 17)
The user can move the cursor in the character display portion to the left and right by displaying the character input screen in case 14 and turning on the left switch 205 or the right switch 206 when the cursor is in the character display portion.
(Case 18)
The user displays the character input screen in case 14 and turns the cursor left or right in the character display unit or the input character display unit by turning on the left switch 205 or the right switch 206 when the cursor is in the input character display unit. Can be moved.
(Case 19)
When the user is displaying the character input screen in case 14, the user selects a character other than the end character (see FIG. 58) in the character display portion and turns on the ENTER switch 202 to select the current character in the character display portion. Can be displayed on the input character display section.
(Case 20)
When the user selects the ending character (see FIG. 58) in the character display portion and turns on the ENTER switch 202 when the character input screen is displayed in case 14, characters exist in the input character display portion and those characters are displayed. If these characters constitute an atypical sentence, they can be displayed as speech bubbles on the basic system screen. In addition, if the characters in the entered character display section form a standard sentence, after converting the sentence according to the shape of the currently selected dialogue frame, display it as a balloon character on the basic system screen. Can do. Thereafter, a selection icon for the third level dialog frame shown in FIG. 69 (d) is displayed, and the user can select the shape of the dialog frame.
(Case 21)
The user inputs the character input shown in FIG. 58 by turning ON the ENTER switch 202 when the selection icon for creating a dialog line is highlighted in the selection icon of the second level speech bubble shown in FIG. 69 (b). A screen is displayed, and a dialog can be created by selecting a character from the character display section.
(Case 22)
The user turns ON the ENTER switch 202 when the selection icon of the dialogue frame in the selection icon of the second-level speech bubble shown in FIG. 69 (b) is highlighted, thereby selecting the selection icon in the shape of the dialogue frame. It is possible to display the selection icon of the third hierarchy shown in FIG.
(Case 23)
The user selects a selection that is selected by turning on the left switch 205 or the right switch 206 when any of the selection icons in the form of a dialogue box in the third hierarchy shown in FIG. 69 (d) is highlighted. The icon can be moved, and at the same time, if the written sentence is the same as in the case 20, the sentence is converted according to the shape of the speech bubble corresponding to the selected selection icon and displayed. The shape of the balloon frame changes.
[0122]
In this way, when a fixed phrase is selected as a speech bubble statement, it can be automatically converted according to the shape of the speech bubble.
(Case 24)
The user turns on the upper switch 203 when any one of the selection icons in the form of the third-level dialog frame shown in FIG. 69 (c) is highlighted, thereby being shown in FIG. 69 (b). It is possible to return to the display of the selection icon for the second layer speech bubble.
The operation in each case described above is realized by the operation flowcharts in FIGS. 26 to 40 corresponding to the face creation processing in step 1306 in FIG. Hereinafter, the operation for each case will be described in detail according to these operation flowcharts.
(Detailed operation of Case 1)
In Case 1, the user can switch the selection of the selection icon and the selection of the command icon with the SEL switch 201 while viewing the basic system screen displayed on the television 111 during the face creation process shown in FIG.
[0123]
First, in step 2601 of FIG. 26, basic system screen display processing is executed. The details of this processing are shown as an operation flowchart in FIG.
In FIG. 38, in step 3801, the CPU 101 issues an output screen clear command to the VDP 102. As a result, the screen display of the television 111 is cleared.
[0124]
In step 3802, the value of the register N indicating the selection position of the selection icon and the value of the register K indicating the display hierarchy of the selection icon are both reset to zero.
In step 3803, the CPU 101 assigns icon selection numbers 00 to 60 corresponding to the seven types of icons 00 to 60 shown in FIG. 8 among the icon image data shown in FIG. Store in the address areas {AD2} to {AD2 + 6} shown in FIG.
[0125]
In step 3804, the CPU 101 uses the background data (see FIG. 52) corresponding to the background number stored in the address area {AD1} on the work RAM 108 as the BG-A plane shown in FIG. 6 on the program / data ROM 107. Read out from the background data A-1 to A-7, and stored in the BG-A plane of the SRAM 103 via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302 Transfer to the area (see basic system screen in FIG. 5).
[0126]
In step 3805, the CPU 101 stores basic system screen data (system screen data), which is background image data for the BG-B plane shown in FIG. 6 in the program / data ROM 107, as a CPU interface unit 301, an address bus 315, The data is transferred to the storage area on the BG-B surface of the SRAM 103 via the data bus 316 and the SRAM interface unit 302 (corresponding to the system of the basic system screen in FIG. 5). The image at this time corresponds to the explanation balloon and the command icon portion for displaying the contents shown in FIG. 63 (K-a) in the BG-B plane image shown in FIG.
[0127]
In step 3806, the CPU 101 performs work in step 3803 on only the cell portion corresponding to the selected icon among the cells constituting the background image data of the basic system screen stored in the storage area on the BG-B surface of the SRAM 103. The RAM 108 is replaced with image data of seven types of part type selection icons shown in FIG. 8 on the program / data ROM 107 corresponding to the icon numbers stored in the address areas {AD2} to {AD2 + 6} shown in FIG. (Corresponding to the system of the basic system screen of FIG. 5). The image at this time corresponds to seven types of selection icon portions in the BG-B plane image shown in FIG. As shown in FIG. 69 (a), the selection icon displays images of seven types of parts in order from the left: background, hair, phosphorus, eyes / eyebrows, nose, mouth, and speech bubbles.
[0128]
Next, in step 3901 in FIG. 39, the CPU 101 executes the file loading process in step 1304 in FIG. 13 described above out of the seven types of background image data for the BG-A plane shown in FIG. The data corresponding to the part number stored in the address area {AD1} shown in FIG. 9 on the work RAM 108 is read by the questionnaire screen processing in step 1305, and the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface are read out. The data is transferred to the storage area on the BG-A surface of the SRAM 103 via the unit 302 (see FIGS. 5 and 52). The VDP 102 having the configuration shown in FIG. 3 displays the background image data transferred to the storage area of the BG-A surface on the SRAM 103 on the television 111 as described above.
[0129]
In Step 3902, the CPU 101 executes the file loading process in Step 1304 in FIG. 13 or the questionnaire screen process in Step 1305 among the seven types of back hair image data for the BM-B surface shown in FIG. 6 of the program / data ROM 107. 9 reads out the one corresponding to the part number stored in the address area {AD1 + 1} shown in FIG. 9 on the work RAM 108 and passes through the CPU interface unit 301, the address bus 315, the data bus 316, and the DP-RAM interface unit 303. Then, the data is transferred to the cell corresponding to the back hair in the storage area of the BM-B surface of the DP-RAM 104 (see the back hair portion in FIGS. 5 and 53). The VDP 102 having the configuration shown in FIG. 3 displays the back hair image data transferred to the storage area of the BM-B surface on the DP-RAM 104 on the television 111 as described above.
[0130]
In step 3903, the CPU 101 executes the file loading process in step 1304 in FIG. 13 or the questionnaire screen process in step 1305 among the seven types of bangs image data for the BM-A surface shown in FIG. 9 reads out the one corresponding to the part number stored in the address area {AD1 + 1} shown in FIG. 9 on the work RAM 108 and passes through the CPU interface unit 301, the address bus 315, the data bus 316, and the DP-RAM interface unit 303. Then, the data is transferred to the storage area on the BM-A surface of the DP-RAM 104 (see FIGS. 5 and 55). The VDP 102 having the configuration shown in FIG. 3 displays the image data of the bangs transferred to the storage area of the BM-A surface on the DP-RAM 104 on the television 111 as described above.
[0131]
In step 3904, the CPU 101 executes the file loading process in step 1304 in FIG. 13 or the questionnaire screen in step 1305 among the seven types of phosphor image data for the BM-B surface shown in FIG. By reading out the data corresponding to the part number stored in the address area {AD1 + 2} shown in FIG. 9 on the work RAM 108, the CPU interface unit 301, the address bus 315, the data bus 316, and the DP-RAM interface unit 303 are read out. To the cell corresponding to the link in the storage area of the BM-B surface of the DP-RAM 104 (see the link portion in FIGS. 5 and 53). The VDP 102 having the configuration shown in FIG. 3 displays the phosphorus image data transferred to the storage area of the BM-B surface on the DP-RAM 104 on the television 111 as described above.
[0132]
In step 3905, the CPU 101 executes the file loading process in step 1304 in FIG. 13 described above or step 1305 out of the seven types of image data of the nose for the OBJ-A plane shown in FIGS. 6 and 7 in the program / data ROM 107. 9 corresponding to the part number stored in the address area {AD1 + 4} shown in FIG. 9 on the work RAM 108 is read, and the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302 are read out. To the empty object storage area on the OBJ-A surface of the SRAM 103 (see the nose portion in FIGS. 5 and 54).
[0133]
In the subsequent step 3906, the CPU 101 stores the coordinate data corresponding to the nose part number referenced in the step 3905 in the object storage area transferred in the step 3905 via the CPU interface unit 301, the address bus 315, and the data bus 316. Transfer to the object number area of the corresponding object attribute memory unit 307 (see FIG. 10).
[0134]
In step 3907, the CPU 101 executes the file loading process in step 1304 in FIG. 13 described above or step 1305 out of the seven types of image data of the mouth for the OBJ-A plane shown in FIGS. 6 and 7 in the program / data ROM 107. 9 corresponding to the part number stored in the address area {AD1 + 5} shown in FIG. 9 on the work RAM 108 is read, and the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302 are read out. To the empty object storage area on the OBJ-A surface of the SRAM 103 (see the mouth portion in FIGS. 5 and 54).
[0135]
In the subsequent step 3908, the CPU 101 transfers the coordinate data corresponding to the mouth part number referenced in step 3905 to the object storage area transferred in step 3907 via the CPU interface unit 301, the address bus 315, and the data bus 316. Transfer to the object number area of the corresponding object attribute memory unit 307.
[0136]
As described above, the VDP 102 having the configuration shown in FIG. 3 converts the nose and mouth image data transferred to the storage area of the OBJ-A surface on the SRAM 103 into the coordinate data transferred to the object attribute memory unit 307. Is displayed at the display position corresponding to.
[0137]
In step 3909, the CPU 101 executes the file loading process in step 1304 in FIG. 13 described above or step 1305 among the seven types of image data for the OBJ-A plane shown in FIGS. 6 and 7 in the program / data ROM 107. 9 corresponding to the part number stored in the address area {AD1 + 3} shown in FIG. 9 on the work RAM 108 is read, and the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302 are read out. To the empty object storage area on the OBJ-A surface of the SRAM 103 (see the eye part in FIGS. 5 and 54).
[0138]
In the subsequent step 3910, the CPU 101 transfers the coordinate data corresponding to the part number of the eye referred in step 3909 to the object storage area transferred in step 3909 via the CPU interface unit 301, the address bus 315, and the data bus 316. Transfer to the object number area of the corresponding object attribute memory unit 307.
[0139]
As described above, the VDP 102 having the configuration shown in FIG. 3 corresponds to the coordinate data transferred to the object attribute memory unit 307 using the image data transferred to the storage area of the OBJ-A plane on the SRAM 103. Display at the display position.
[0140]
In step 3911, the CPU 101 executes the file loading process in step 1304 in FIG. 13 described above or step 1305 out of the seven types of image data for the eyebrows for the OBJ-B plane shown in FIGS. 6 and 7 in the program / data ROM 107. 9 corresponding to the part number 3 stored in the address area {AD1 + 3} shown in FIG. 9 on the work RAM 108, the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit The data is transferred to the empty object storage area on the OBJ-B surface of the SRAM 103 via 302 (see the eyebrows in FIGS. 5 and 56).
[0141]
In the subsequent step 3912, the CPU 101 transfers the coordinate data corresponding to the eyebrow part number referenced in step 3911 to the object storage area transferred in step 3911 via the CPU interface unit 301, the address bus 315, and the data bus 316. Transfer to the object number area of the corresponding object attribute memory unit 307.
[0142]
The VDP 102 having the configuration shown in FIG. 3 corresponds to the image data of the eyebrows transferred to the storage area of the OBJ-B surface on the SRAM 103 with the coordinate data transferred to the object attribute memory unit 307 as described above. Display at the display position.
[0143]
Finally, in step 3913, the first (leftmost) background selection icon corresponding to the value 0 of the register N (see step 3802 in FIG. 38) is highlighted. Specifically, the CPU 101 selects the cell portion corresponding to the first selection icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. Replace with cells for highlighting.
[0144]
After this processing, the basic system screen display processing in step 2601 in FIG. 26 is terminated. As a result, for example, the basic system screen (excluding speech balloons) shown in FIG. 51 is displayed.
[0145]
Subsequently, when the user turns on the SEL switch 201 on the control pad 112 while viewing the displayed basic system screen, the determinations of steps 2602 and 2606 in FIG. 26 and steps 2801 and 2804 in FIG. 28 are NO. Thereafter, the determination at step 2810 in FIG. 28 is YES.
[0146]
As a result, after the value of the register SF for selecting either the selection icon or the command icon is inverted between 0 and 1 in step 2811, the value of the register K indicating the display hierarchy of the selection icon is 0. Reset to.
[0147]
If the value of the register SF is 0, the determination at step 2812 is YES, and the selection icon of the number indicated by the value of the register N is highlighted at step 2813. Specifically, the CPU 101 corresponds to the selection icon of the number corresponding to the value of the register N among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. Replace the cell part with the highlighting cell. Thereafter, the processing returns to step 2602 in FIG.
[0148]
On the other hand, if the value of the register SF is 1, the determination in step 2812 is NO, and further, in step 2807, the value of the register M for indicating one of the two command icons is determined.
[0149]
If the value of the register M is 0 and the determination in step 2807 is YES, a “save” icon (see FIG. 51) is highlighted in step 2808. Specifically, the CPU 101 highlights the cell portion corresponding to the “save” icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. Replace with a cell for. Thereafter, the processing returns to step 2602 in FIG.
[0150]
If the value of the register M is 1 and the determination in step 2807 is NO, a “return to mode selection screen” icon (see FIG. 51) is highlighted in step 2809. Specifically, the portion of the cell corresponding to the “return to mode selection screen” icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103 by the CPU 101 Is replaced with a highlighting cell. Thereafter, the processing returns to step 2602 in FIG.
(Detailed operation of Case 2)
In Case 2, the user turns on the upper switch 203 or the lower switch 204 when any one of the command icons is highlighted, whereby the “save” icon and the “return to mode selection” icon that are command icons are displayed. Can be switched.
[0151]
If the user turns on the upper switch 203 when any of the command icons is highlighted, the determinations in steps 2602 and 2606 in FIG. 26 are NO, and then the determinations in steps 2801 and 2802 in FIG. 28 are YES. Become.
[0152]
As a result, the value 0 is set in the register M in step 2803, the determination in step 2807 is YES, and the “save” icon (see FIG. 51) is highlighted in step 2808. Specifically, the CPU 101 highlights the cell portion corresponding to the “save” icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. Replace with a cell for. Thereafter, the processing returns to step 2602 in FIG.
[0153]
On the other hand, if the user turns on the lower switch 204 when any of the command icons is highlighted, the determinations of steps 2602 and 2606 in FIG. 26 and step 2801 in FIG. The determinations of 2804 and 2805 are YES.
[0154]
As a result, the value 1 is set in the register M in step 2806, the determination in step 2807 is NO, and the “return to mode selection screen” icon (see FIG. 51) is highlighted in step 2809. Specifically, the portion of the cell corresponding to the “return to mode selection screen” icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103 by the CPU 101 Is replaced with a highlighting cell. Thereafter, the processing returns to step 2602 in FIG.
[0155]
When the user turns on the left switch 205 or the right switch 206 when any of the command icons is highlighted, the determination at step 2602 or 2606 in FIG. The determination at 2607 is NO and the processing returns to step 2602, and the operation of the left switch 205 or the right switch 206 is invalidated.
(Detailed operation of Case 3)
In Case 3, the user can return to the mode selection screen when the “return to mode selection” icon is highlighted by turning on the ENTER switch 202 when any of the command icons is highlighted. When the “save” icon is highlighted, the currently created portrait data can be saved to a file.
[0156]
If the user turns on the switch 203 on the ENTER switch 202 while the “return to mode selection” icon is highlighted, the determinations of steps 2602 and 2606 in FIG. 26 and steps 2801, 2804 and 2810 in FIG. 29, the determination at step 2901 in FIG. 29 is YES, and the determinations at steps 2902 and 2903 are NO.
[0157]
In step 2905, a value 0 is set as a mode number in the register MODE, and the face creation process in step 1306 in FIG.
As a result, after the determination in step 1307, the process returns to the mode selection process in step 1302 described above.
[0158]
When the user turns on the ENTER switch 202 when the “save” icon is highlighted, the determinations of steps 2602 and 2606 in FIG. 26 and steps 2801, 2804 and 2810 in FIG. The determination at step 2901 is YES, the determination at step 2902 is NO, and the determination at step 2903 is YES.
[0159]
In step 2904, the value 3 is set as the mode number in the register MODE, and the face creation processing in step 1306 in FIG. 13 ends.
As a result, after the determination in step 1307, processing for saving the file is executed in steps 1308 and 1309 described later.
(Detailed operation of Case 4)
In Case 4, the user selects either the left switch 205 or the right switch 206 when one of the seven types of selection icons in the first hierarchy shown in FIG. 69 (a) for selecting a caricature part is highlighted. By turning ON, the selection icon to be selected can be moved, and at the same time, the contents of the explanation balloon shown in FIG. 51 change as shown in FIGS. 63 (Ka) to 64 (Kg). The operation of the upper switch 203 and the lower switch 204 is invalid.
[0160]
If the user turns on the left switch 205 when any of the selection icons is highlighted, the determinations of steps 2602 and 2603 are YES, and the value of the register N is not 0 but is the first (leftmost) selection icon. Is not highlighted, the determination at step 2604 is YES, and the value of register N is decremented by -1 at step 2605. As a result, the selected icon to be selected has moved one place to the left. When the value of the register N is 0 and the first (leftmost) selection icon is highlighted, the determination in step 2604 is NO and the processing returns to step 2602, and the operation of the left switch 205 is invalid. Is done.
[0161]
On the other hand, if the user turns on the right switch 206 when any of the selected icons is highlighted, the determination in step 2602 becomes NO, the determinations in steps 2606 and 2607 become YES, and the value of the register N Is not 6, and the seventh (right end) selection icon is not highlighted, the determination in step 2608 is YES, and the value of the register N is incremented by 1 in step 2609. As a result, the selection icon to be selected is moved to the right by one. When the value of the register N is 6 and the seventh (rightmost) selection icon is highlighted, the determination at step 2608 is NO and the processing returns to step 2602, indicating that the operation of the right switch 206 is invalid. Is done.
[0162]
After the processing of step 2605 or 2609, in step 2610, the selection icon of the number corresponding to the value of the register N is highlighted. Specifically, the CPU 101 corresponds to the selection icon of the number corresponding to the value of the register N among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The cell portion is replaced with a highlighting cell, and for example, the value corresponding to the value of register N + 1 (in the case of step 2605 → 2610) or the value of register N−1 (in the case of step 2609 → 2610) is emphasized so far. The part of the cell corresponding to the selection icon displayed is replaced with a normal display cell.
[0163]
After the processing of step 2610, the selection icon of the first hierarchy is currently displayed, and the value of the register K indicating the display hierarchy of the selection icon is 0, so the determination of step 2611 is YES.
[0164]
Subsequently, step 2612 in FIG. 26, steps 2701, 2703, 2705, 2707, 2709, or 2711 in FIG. 26 are selected according to the currently highlighted selection icon among the seven types of selection icons in FIG. 69 (a). In step 2613 in FIG. 26, step 2702, 2704, 2706, 2708, 2710, or 2712 in FIG. 27, the CPU 101 stores the basic information stored in the storage area on the BG-B surface of the SRAM 103. Of the cells constituting the background image data (see FIG. 57) of the system screen, the cell corresponding to the description balloon is replaced with a cell corresponding to any one of the contents in FIGS. 63 (Ka) to 64 (Kg). The cell data is included in the image data for the basic system screen among the image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107.
[0165]
Thereafter, the processing returns to step 2602 in FIG.
When the user turns on the upper switch 203 or the lower switch 204 when any of the selection icons is highlighted, the determination at step 2801 or 2804 in FIG. After the determination in 2805 is NO and the determination in step 2810 and step 2901 in FIG. 29 is NO, the processing returns to step 2602 in FIG. 26, and the operation of the upper switch 203 or the lower switch 204 is invalidated.
(Detailed operation of Case 5)
In Case 5, the user turns on the ENTER switch 202 when any of the selection icons other than the first-level balloons shown in FIG. 69 (a) is highlighted, thereby selecting the first-level selection icons. It is possible to display a selection icon other than the second-level speech bubble (not shown) corresponding to the above.
[0166]
If the user turns on the ENTER switch 202 when any of the selection icons other than the first-level speech bubble is highlighted, the determinations of steps 2602 and 2606 in FIG. 26 are NO, and steps 2801, 2804, and 2810 in FIG. Is NO, and the determinations of steps 2901, 2902, and 2906 in FIG. 29 are YES.
[0167]
As a result, first, in step 2907, the value of the register N is saved in the register N1, and then in step 2908, the value 1 indicating the second hierarchy is set in the register K.
[0168]
Since the number of the selection icon other than the balloon is not 6, the determination in step 2909 is YES.
As a result, in step 2910, the CPU 101 corresponds to the seven types of icons (N1) 0 to (N1) 6 shown in FIG. 8 among the icon image data shown in FIG. 6 on the program / data ROM 107. Each icon selection number (N1) 0 to (N1) 6 is stored in the address areas {AD2} to {AD2 + 6} shown in FIG. Note that (N1) represents a value indicated by the register N1. For example, if the ENTER switch 202 is turned ON and the value of the register N1 is 0 when the background selection icon of the first hierarchy is highlighted, 7 of 00 to 06 shown in FIG. Each icon selection number corresponding to the type of background icon is stored in the address areas {AD2} to {AD2 + 6}.
[0169]
Next, in step 2911, the CPU 101 executes only the cell portion corresponding to the selected icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. 2910 corresponding to the icon numbers stored in the address areas {AD2} to {AD2 + 6} shown in FIG. 9 on the work RAM 108 by 2910, the background icons, hair icons, and phosphorus shown in FIG. 8 on the program / data ROM 107. In particular, seven types of selection icons, i.e., eye / eyebrows icon, nose icon, and mouth icon, are replaced with image data (not shown).
[0170]
Thereafter, in step 2912, the value 0 is set in the register N indicating the selection position of the selection icon of the second hierarchy, and the process returns to the process of step 2602 in FIG.
(Detailed operation of Case 6)
In Case 6, when the user turns on the ENTER switch 202 when any of the selection icons other than the second-level speech bubble is highlighted, the display of the first-level selection icon shown in FIG. You can return to
[0171]
If the user turns on the ENTER switch 202 when any of the selection icons other than the second-level speech bubble is highlighted, the determinations in steps 2602 and 2606 in FIG. 26 are NO, and steps 2801, 2804, and 2810 in FIG. NO is determined, steps 2901 and 2902 in FIG. 29 are determined as YES, and step 2906 is determined as NO.
[0172]
As a result, in step 2913, the CPU 101 selects each icon selection number 00 to each of the seven types of icons 00 to 60 shown in FIG. 8 among the icon image data shown in FIG. 6 on the program / data ROM 107. 60 is stored in the address areas {AD2} to {AD2 + 6} shown in FIG.
[0173]
Next, in step 2914, the CPU 101 executes only the cell portion corresponding to the selected icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. 913 on the program / data ROM 107 corresponding to the icon numbers stored in the address areas {AD2} to {AD2 + 6} shown in FIG. 9 on the work RAM 108 by 2913 and the seven types of parts shown in FIG. 69 (a). Replace with image data of seed selection icon.
[0174]
Thereafter, in step 2915, a value 0 indicating the first hierarchy is set in the register K.
Further, in step 2916, the value saved in the register N1 is returned to the register N.
[0175]
Thereafter, the processing returns to step 2602 in FIG.
(Detailed operation of Case 7)
In Case 7, the user moves the selected icon at the same time by turning on the left switch 205 or the right switch 206 when any of the selected icons other than the second-level speech bubble is highlighted. The selected parts can be displayed.
[0176]
If the user turns on the left switch 205 when any of the selection icons other than the second-level speech bubble is highlighted, the determinations in steps 2602 and 2603 are YES, and the value of the register N is not 0 but is the first value. If the second (leftmost) selection icon is not highlighted, the determination in step 2604 is YES, and the value of the register N is decremented by 1 in step 2605. As a result, the selection icon selected in the second hierarchy is moved to the left by one. When the value of the register N is 0 and the first (leftmost) selection icon is highlighted, the determination in step 2604 is NO and the processing returns to step 2602, and the operation of the left switch 205 is invalid. Is done.
[0177]
On the other hand, if the user turns on the right switch 206 when any of the selection icons other than the second-level speech bubble is highlighted, the determination at step 2602 becomes NO, and the determination at steps 2606 and 2607 is YES. If the value of register N is not 6 and the seventh (rightmost) selection icon is not highlighted, the determination in step 2608 is YES, and the value of register N is incremented by 1 in step 2609. As a result, the selection icon selected in the second hierarchy is moved to the right by one. When the value of the register N is 6 and the seventh (rightmost) selection icon is highlighted, the determination at step 2608 is NO and the processing returns to step 2602, indicating that the operation of the right switch 206 is invalid. Is done.
[0178]
After the processing of step 2605 or 2609, in step 2610, the selection icon of the number corresponding to the value of the register N is highlighted. Specifically, the CPU 101 corresponds to the selection icon of the number corresponding to the value of the register N among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The cell portion is replaced with a highlighting cell, and for example, the value corresponding to the value of register N + 1 (in the case of step 2605 → 2610) or the value of register N−1 (in the case of step 2609 → 2610) is emphasized so far. The part of the cell corresponding to the selection icon displayed is replaced with a normal display cell.
[0179]
After the process of step 2610, the selection icon other than the second-level balloon is currently displayed and the value of the register K indicating the display hierarchy of the selection icon is 1, so the determination in step 2611 is NO.
[0180]
As a result, in step 3001 of FIG. 30, the CPU 101 corresponds to the part number {(N1) (N)} icon shown in FIG. 8 of the icon image data shown in FIG. 6 on the program / data ROM 107. The icon selection number {(N1) (N)} is shown in FIG. 9 of the work RAM 108 corresponding to the selection icon (any one of the six types on the left side of FIG. 69 (a)) selected in the first hierarchy. Store in the address area {AD1 + (N1)} (any one of {AD1} to {AD1 + 5}). Here, (N1) is the value of the register N1, and (N) is the value of the register N. For example, if the ENTER switch 202 is turned on when the first (leftmost) background selection icon shown in FIG. 69 (a) is highlighted in the first hierarchy, the value of the register N1 is 0. When the first (left end) selection icon is highlighted after the left switch 205 or the right switch 206 is turned on in the second hierarchy, the value of the register N becomes 0. As a result, the icon selection number 00 corresponding to the 00 background icon shown in FIG. 8 is stored in the address area {AD1} shown in FIG.
[0181]
Thereafter, depending on the number N1 (value of the register N1) of the selection icon selected in the first hierarchy, the determination in any of steps 3002, 3004, 3007, 3009, or 3012 is YES.
[0182]
If the user selects the first (leftmost) background selection icon (see FIG. 69 (a)) in the first hierarchy and then turns on the left switch 205 or the right switch 206 in the second hierarchy, the step The determination in 3002 is YES.
[0183]
As a result, in step 3003, the CPU 101 is stored in the address area {AD 1} of the work RAM 108 in step 3001 among the seven types of background image data for the BG-A plane shown in FIG. 6 of the program / data ROM 107. The one corresponding to the background icon (see FIG. 8) of the part number 0 (N) is read, and the BG-A surface of the SRAM 103 is passed through the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. (See FIG. 52). The VDP 102 having the configuration shown in FIG. 3 displays the background image data transferred to the storage area of the BG-A surface on the SRAM 103 on the television 111 as described above.
[0184]
Thereafter, the processing returns to step 2602 in FIG.
If the user selects the second hair selection icon (see FIG. 69 (a)) in the first layer and then turns on the left switch 205 or the right switch 206 in the second layer, the determination in step 3004 Becomes YES.
[0185]
As a result, first, in step 3005, the CPU 101 stores in the address area {AD1 + 1} of the work RAM 108 in step 3001 among the seven types of back hair image data for the BM-B surface shown in FIG. The data corresponding to the hair icon of the part number 1 (N) is read out, and the BM-B of the DP-RAM 104 is passed through the CPU interface unit 301, the address bus 315, the data bus 316, and the DP-RAM interface unit 303. Transfer to the cell corresponding to the back hair in the storage area of the face (see the back hair portion in FIG. 53). The VDP 102 having the configuration shown in FIG. 3 displays the back hair image data transferred to the storage area of the BM-B surface on the DP-RAM 104 on the television 111 as described above.
[0186]
Next, in step 3006, the CPU 101 stores the 7 types of bangs image data for the BM-A surface shown in FIG. 6 of the program / data ROM 107 in the address area {AD1 + 1} of the work RAM 108 in step 3001. The data corresponding to the hair icon of the part number 1 (N) is read out, and the BM-A surface of the DP-RAM 104 through the CPU interface unit 301, the address bus 315, the data bus 316, and the DP-RAM interface unit 303 is read out. Transfer to the storage area (see FIG. 55). The VDP 102 having the configuration shown in FIG. 3 displays the image data of the bangs transferred to the storage area of the BM-A surface on the DP-RAM 104 on the television 111 as described above.
[0187]
Thereafter, the processing returns to step 2602 in FIG.
If the user selects the third link selection icon (see FIG. 69 (a)) in the first hierarchy and then turns on the left switch 205 or the right switch 206 in the second hierarchy, The determination is YES.
[0188]
As a result, in step 3008, the CPU 101 is stored in the address area {AD1 + 2} of the work RAM 108 in step 3001 among the seven types of linked image data for the BM-B plane shown in FIG. The part number 2 (N) corresponding to the link icon is read out, and the BM-B of the DP-RAM 104 is passed through the CPU interface unit 301, the address bus 315, the data bus 316, and the DP-RAM interface unit 303. The data is transferred to the cell corresponding to the link in the storage area of the plane (see the link portion in FIG. 53). The VDP 102 having the configuration shown in FIG. 3 displays the phosphorus image data transferred to the storage area of the BM-B surface on the DP-RAM 104 on the television 111 as described above.
[0189]
Thereafter, the processing returns to step 2602 in FIG.
After the user selects the selection icon (see FIG. 69 (a)) of the fifth nose or the sixth mouth in the first hierarchy, the left switch 205 or the right switch 206 is turned on in the second hierarchy. If so, the determination in step 3009 is YES.
[0190]
As a result, first, in step 3010, the CPU 101 determines that the work RAM 108 in step 3001 out of the seven types of image data of the nose or mouth for the OBJ-A surface shown in FIGS. 6 and 7 of the program / data ROM 107. Read the part number (N1) (N) corresponding to the nose icon or mouth icon stored in the address area {AD1 + N1} ({AD1 + 4} or {AD1 + 5}), and read the CPU interface unit 301, address bus 315, data The data is transferred to an empty object storage area on the OBJ-A surface of the SRAM 103 via the bus 316 and the SRAM interface unit 302 (see the nose and mouth portions in FIG. 54).
[0191]
Next, in step 3011, the CPU 101 corresponds to the nose icon or mouth icon of the part number (N1) (N) stored in the address area {AD1 + N1} ({AD1 + 4} or {AD1 + 5}) of the work RAM 108 in step 3001. The coordinate data to be transferred is transferred to the object number area of the object attribute memory unit 307 corresponding to the object storage area transferred in step 3010 via the CPU interface unit 301, the address bus 315, and the data bus 316 (see FIG. 10). .
[0192]
As described above, the VDP 102 having the configuration shown in FIG. 3 converts the nose or mouth image data transferred to the storage area of the OBJ-A surface on the SRAM 103 into the coordinate data transferred to the object attribute memory unit 307. Is displayed at the display position corresponding to.
[0193]
Thereafter, the processing returns to step 2602 in FIG.
If the user selects the third eye / eyebrows selection icon (see FIG. 69A) in the first hierarchy and then turns on the left switch 205 or the right switch 206 in the second hierarchy, step 3012 is performed. The determination is YES.
[0194]
As a result, first, in step 3013, the CPU 101 determines, in step 3001, the address area of the work RAM 108 among the seven types of image data for the OBJ-A plane shown in FIGS. 6 and 7 in the program / data ROM 107 { The data corresponding to the eye / eyebrows icon of part number 3 (N) stored in AD1 + 3} is read out, and the OBJ of the SRAM 103 is passed through the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. -Transfer to the empty object storage area on side A (see the eye in FIG. 54).
[0195]
Next, in step 3014, the CPU 101 stores the coordinate data corresponding to the eye / eyebrows icon of part number 3 (N) stored in the address area {AD1 + 3} of the work RAM 108 in step 3001, the CPU interface unit 301, the address bus. 315 and the data bus 316 are transferred to the object number area of the object attribute memory unit 307 corresponding to the object storage area transferred in step 3013.
[0196]
As described above, the VDP 102 having the configuration shown in FIG. 3 corresponds to the coordinate data transferred to the object attribute memory unit 307 using the image data transferred to the storage area of the OBJ-A plane on the SRAM 103. Display at the display position.
[0197]
Subsequently, in step 3015, the CPU 101 determines the address area {AD1 + 3} of the work RAM 108 in step 3001 out of the seven types of image data for the eyebrows for the OBJ-B plane shown in FIGS. 6 and 7 in the program / data ROM 107. The data corresponding to the eye / eyebrows icon with the part number 3 (N) stored in the memory 103 is read out, and the OBJ-B of the SRAM 103 is read via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. Transfer to the empty object storage area of the screen (see eyebrows in FIG. 56).
[0198]
Next, in step 3016, the CPU 101 obtains the coordinate data corresponding to the eye / eyebrows icon of part number 3 (N) stored in the address area {AD1 + 3} of the work RAM 108 in step 3001, as the CPU interface unit 301, the address bus. 315 and the object number area of the object attribute memory unit 307 corresponding to the object storage area transferred in step 3015 via the data bus 316.
[0199]
The VDP 102 having the configuration shown in FIG. 3 corresponds to the image data of the eyebrows transferred to the storage area of the OBJ-B surface on the SRAM 103 with the coordinate data transferred to the object attribute memory unit 307 as described above. Display at the display position.
[0200]
Thereafter, the processing returns to step 2602 in FIG.
(Detailed operation of Case 8)
In Case 8, the user turns on the ENTER switch 202 when the selection icon for the first layer speech bubble shown in FIG. 69 (a) is highlighted, so that the second switch shown in FIG. 69 (b) is displayed. A selection icon for the speech bubble of the hierarchy can be displayed.
[0201]
If the user turns on the ENTER switch 202 when the first-level speech bubble selection icon is highlighted, the determinations of steps 2602 and 2606 in FIG. 26 are NO, and the determinations of steps 2801, 2804, and 2810 in FIG. 28 are NO. 29, the determinations at steps 2901, 2902 and 2906 are YES.
[0202]
As a result, first, in step 2907, the value of the register N is saved in the register N1, and then in step 2908, the value 1 indicating the second hierarchy is set in the register K.
[0203]
Since the number of the balloon selection icon is 6, the determination in step 2909 is NO.
As a result, in step 3101 in FIG. 31, the CPU 101 corresponds to the three types of icons 70, 71 and 72 shown in FIG. 8 among the icon image data shown in FIG. 6 on the program / data ROM 107. The icon selection numbers 70, 71, and 72 to be stored are stored in the address areas {AD2} to {AD2 + 2} shown in FIG. Further, the CPU 101 stores null (NUL) data in the address areas {AD2 + 3} to {AD2 + 6} shown in FIG. 9 on the work RAM 108.
[0204]
Next, in step 3102, the CPU 101 executes only the cell portion corresponding to the selected icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. FIG. 8 shows a program / data ROM 107 corresponding to the icon numbers stored in the address areas {AD2} to {AD2 + 6} shown in FIG. Replace with the image data of the selection icon, dialog creation icon, and speech bubble icon.
[0205]
As a result, the VDP 102 having the configuration shown in FIG. 3 is transferred to the storage area on the BG-B surface of the SRAM 103 as described above, and the second-level speech bubble selection icon shown in FIG. Is displayed on the television 111.
[0206]
Thereafter, in step 3103, a value 0 is set in the register L indicating the selection position of the selection icon for the second layer speech bubble.
Next, in step 3110, the selection icon for selecting the first (leftmost) dialog corresponding to the value 0 of the register L is highlighted. Specifically, the CPU 101 is the first (leftmost) corresponding to the value 0 of the register L among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The part of the cell corresponding to the selection icon of the line selection is replaced with a highlighting cell.
[0207]
Subsequently, in step 3111, the CPU 101 selects a cell corresponding to the explanation balloon among the cells constituting the background image data (see FIG. 57) of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. Is replaced with a cell corresponding to the contents of FIG. 65 (C-0). The cell data is included in the image data for the basic system screen among the image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107.
[0208]
Thereafter, the determinations at steps 3112 and 3113 are NO, and the process proceeds to step 3104.
(Detailed operation of Case 9)
In case 9, the user should select by turning on the left switch 205 or the right switch 206 when any of the second-level balloon selection icons shown in FIG. 69 (b) is highlighted. The selection icon can be moved, and at the same time, the contents of the explanation balloons shown in FIG. 51 change as shown in FIGS. 65 (C-0) to (C-2).
[0209]
If the user turns on the left switch 205 when any of the second-level speech bubble selection icons are highlighted, the determination in step 3104 in FIG. 31 is YES, and the value of the register L is not 0 but the second value. If the selection icon (see FIG. 69B) for the first (leftmost) dialog selection in the hierarchy is not highlighted, the determination in step 3105 is YES, and the value of the register L is decremented by -1 in step 3106. As a result, the selection icon selected in the second hierarchy is moved to the left by one. When the value of the register L is 0 and the selection icon for the first (leftmost) dialog selection is highlighted, the determination at step 3105 is NO, and the determinations at steps 3112 and 3113 are NO. Later, the processing returns to step 3104, and the operation of the left switch 205 is invalidated.
[0210]
If the user turns on the right switch 206 while any one of the second-level speech bubble selection icons is highlighted, the determination in step 3107 in FIG. 31 is YES, and the value of the register L is not 2 but the second value. If the selection icon (see FIG. 69 (b)) for the third dialog frame in the hierarchy is not highlighted, the determination in step 3108 is YES, and the value of the register L is incremented by 1 in step 3109. As a result, the selection icon selected in the second hierarchy is moved to the right by one. When the value of the register L is 2 and the selection icon of the third dialog frame is highlighted, the determination at step 3108 is NO, and the determination at steps 3112 and 3113 is NO, then step 3104 Returning to the process, the operation of the right switch 206 is invalidated.
[0211]
After the process of step 3106 or 3109, in step 3110, the selection icon of the number corresponding to the value of the register L is highlighted. Specifically, the CPU 101 corresponds to the selection icon of the number corresponding to the value of the register L among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The cell portion is replaced with a highlight cell, and for example, the value corresponding to the value of the register L + 1 (in the case of step 3105 → 3110) or the value of the register L−1 (in the case of step 3109 → 3110) is emphasized so far. The part of the cell corresponding to the selection icon displayed is replaced with a normal display cell.
[0212]
Subsequently, in step 3111, the CPU 101 selects a cell corresponding to the explanation balloon among the cells constituting the background image data (see FIG. 57) of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. Is replaced with a cell corresponding to the contents of FIG. 65 (C- (L)). Here, (L) is the value of the register L. Therefore, FIG. 65 (C- (L)) is equivalent to FIG. 65 (C-0), 65 (C-1), or 65 (C-2). ) The cell data is included in the image data for the basic system screen among the image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107.
[0213]
Thereafter, the determinations at steps 3112 and 3113 are NO, and the processing returns to step 3104.
(Detailed operation of case 10)
In case 10, the user turns on the upper switch 203 when any one of the second-level balloon selection icons shown in FIG. 69 (b) is highlighted, thereby causing the case shown in FIG. 69 (a). It is possible to return to the display of the selection icon of the first hierarchy.
[0214]
If the user turns on the upper switch 203 when any of the second-level balloon selection icons is highlighted, the determinations in steps 3104, 3107, and 3112 in FIG. 31 are NO, and the determination in step 3113 is YES. .
[0215]
As a result, in step 2913 in FIG. 29, the CPU 101 selects each icon corresponding to the seven types of icons 00 to 60 shown in FIG. 8 among the icon image data shown in FIG. 6 on the program / data ROM 107. Numbers 00 to 60 are stored in the address areas {AD2} to {AD2 + 6} shown in FIG.
[0216]
Next, in step 2914, the CPU 101 executes only the cell portion corresponding to the selected icon among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. 913 on the program / data ROM 107 corresponding to the icon numbers stored in the address areas {AD2} to {AD2 + 6} shown in FIG. 9 on the work RAM 108 by 2913 and the seven types of parts shown in FIG. 69 (a). Replace with image data of seed selection icon.
[0217]
Thereafter, in step 2915, a value 0 indicating the first hierarchy is set in the register K.
Further, in step 2916, the value saved in the register N1 is returned to the register N.
[0218]
Thereafter, the processing returns to step 2602 in FIG.
(Detailed operation of case 11)
In case 11, the user selects the dialogue selection by turning on the ENTER switch 202 when the selection icon for dialogue selection in the selection icon for the second layer speech bubble shown in FIG. 69 (b) is highlighted. It is possible to display a selection icon in the third hierarchy shown in FIG. 69 (c) corresponding to the selection icon.
[0219]
If the user turns on the ENTER switch 202 while the selection icon for the line selection is highlighted, the determinations in steps 3104 and 3107 in FIG. 31 are NO, the determination in step 3112 is YES, and the determination in step 3201 in FIG. Yes.
[0220]
As a result, in step 3202 of FIG. 32, the CPU 101 selects each icon corresponding to the seven types of icons 80 to 86 shown in FIG. 8 among the icon image data shown in FIG. 6 on the program / data ROM 107. Numbers 80 to 86 are stored in the address areas {AD2} to {AD2 + 6} shown in FIG.
[0221]
Next, in step 3203, the CPU 101 executes only the cell portion corresponding to the selected icon among the cells constituting the background image data of the basic system screen stored in the storage area on the BG-B surface of the SRAM 103. The selection icons for the seven types of selection shown in FIG. 8 on the program / data ROM 107 corresponding to the icon numbers stored in the address areas {AD2} to {AD2 + 6} shown in FIG. Replace with image data.
[0222]
As a result, the VDP 102 having the configuration shown in FIG. 3 is used for selecting the third level dialog shown in FIG. 69 (c) transferred to the storage area of the BG-B surface on the SRAM 103 as described above. A selection icon is displayed on the television 111.
[0223]
Thereafter, in step 3204, a value 0 is set in the register M indicating the selection position of the selection icon for selecting the third level dialog.
Next, in step 3211, the first (leftmost) file name selection icon corresponding to the value 0 of the register M is highlighted. Specifically, the CPU 101 is the first (leftmost) corresponding to the value 0 of the register M among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The cell portion corresponding to the file name selection icon is replaced with a highlighting cell.
[0224]
Subsequently, in step 3212, the value of the register M corresponding to the selected dialogue number is stored in the address area {AD1 + 6} shown in FIG. 9 of the work RAM 108.
[0225]
Further, in step 3213, the CPU 101 selects a cell corresponding to the explanation balloon among the cells constituting the background image data (see FIG. 57) of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The cell is replaced with a cell corresponding to the contents of FIG. 66 (S-0). The cell data is included in the image data for the basic system screen among the image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107.
[0226]
Thereafter, after the processing of Steps 3301 to 3033 in FIG. 33 described later, the determinations in Steps 3305 and 3306 in FIG. 33 are NO, and the processing proceeds to Step 3205 in FIG.
(Detailed operation of case 12)
In case 12, the user is selected by turning on the left switch 205 or the right switch 206 when any of the selection icons for the selection of the third level dialog shown in FIG. 69 (c) is highlighted. 51. At the same time, the contents of the explanation balloon shown in FIG. 51 change as shown in FIGS. 66 (S-0) to (S-3), for example.
[0227]
If the user turns on the left switch 205 when any of the selection icons for the dialogue selection is highlighted, the determination in step 3205 is YES, and the value of the register M is not 0, but the first (leftmost) file. If the name selection icon is not highlighted, the determination in step 3206 is YES, and the value of the register M is decremented by 1 in step 3207. As a result, the selected selection icon of the dialog has moved one place to the left. When the value of the register M is 0 and the selection icon for the first (leftmost) file name is highlighted, the determination at step 3206 is NO, and step 3208 and steps 3305 and 3306 in FIG. After the determination is NO, the process returns to step 3205 in FIG. 32 and the operation of the left switch 205 is invalidated.
[0228]
On the other hand, if the user turns on the right switch 206 while any of the selected icons is highlighted, the determination at step 3205 becomes NO, the determination at step 3208 becomes YES, and the value of the register M further becomes 6. If the seventh (right end) good night selection icon is not highlighted, the determination in step 3209 is YES, and the value of the register M is incremented by 1 in step 3210. As a result, the selected selection icon for the dialog is moved to the right by one. If the value of the register M is 6 and the selection icon for the seventh (rightmost) good night is highlighted, the determination at step 3209 is NO, and the determinations at steps 3305 and 3306 in FIG. 33 are NO. After that, the process returns to step 3205 in FIG. 32, and the operation of the right switch 206 is invalidated.
[0229]
After the processing in step 3207 or 3210 or the like, in step 3211, the selection icon of the number corresponding to the value of the register M is highlighted. Specifically, the CPU 101 corresponds to the selection icon of the number corresponding to the value of the register M among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The cell portion is replaced with a highlighting cell and, for example, the value corresponding to the value of the register M + 1 (in the case of step 3207 → 3211) or the value of the register M−1 (in the case of step 3210 → 3211) is emphasized so far. The part of the cell corresponding to the selection icon displayed is replaced with a normal display cell.
[0230]
Subsequently, in step 3212, the value of the register M corresponding to the selected dialogue number is stored in the address area {AD1 + 6} shown in FIG. 9 of the work RAM 108.
[0231]
Further, in step 3213 of FIG. 32, the CPU 101 corresponds to the explanation balloon among the cells constituting the background image data (see FIG. 57) of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The cell is replaced with a cell partially corresponding to the contents of (S- (M)) shown in FIG. Here, (M) is the value of the register M. Therefore, (S- (M)) is (S-0) to (S-6) ((S-0) to (S-4) is 66). The cell data is included in the image data for the basic system screen among the image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107.
[0232]
Next, when the selection icon for the first file name in the third hierarchy is highlighted and the value of the register M becomes 0, the determination in step 3301 of FIG. 33 is YES.
[0233]
As a result, first, in step 3302, the work RAM 108 is processed by the file load process in step 1304 in FIG. 13 (step 1622 in FIG. 18) or the file save process in step 1309 in FIG. 13 described later (step 4622 in FIG. 47). It is determined whether or not the current file number is stored in the address area {AD3}.
[0234]
If the determination in step 3302 is YES, in step 3303, the CPU 101 assigns the file name corresponding to the current file number stored in the address area {AD 3} of the work RAM 108 to the address starting from AD 7 shown in FIG. 9 of the work RAM 108. Read from area and transfer to address area starting from address area starting from AD4. Specifically, the CPU 101 assigns the file names stored in the address areas {AD7 + (current file number−1) × 8} to {AD7 + (current file number−1) × 8 + 7} to the address area {AD4} ˜ Transfer to {AD4 + 7}.
[0235]
If the determination in step 3302 is NO, the file name cannot be acquired, so step 3303 is not executed.
On the other hand, when the selection icon for selecting a dialog line other than the first one in the third hierarchy is highlighted and the value of the register M becomes other than 0, the determination in step 3301 of FIG. 33 becomes NO.
[0236]
As a result, in step 3304, the CPU 101 corresponds to the number {8 (M)} among the seven types of image data of the dialogue text for the OBJ-B surface shown in FIGS. 6 and 7 of the program / data ROM 107. A thing (consisting of 12 characters) is read and transferred to the address area {AD4} to {AD4 + 11} of the work RAM 108. Note that (M) is the value of the register M (M> 0). For example, if (M) = 1, the 81st sentence is the transfer target.
[0237]
After the determination in step 3302 is NO, or after the processing in step 3303 or 3304, the determinations in steps 3305 and 3306 are NO, and the processing returns to step 3205 in FIG.
(Detailed operation of case 13)
In case 13, the user turns on the upper switch 203 when any one of the selection icons for the selection of the third level dialog shown in FIG. 69 (c) is highlighted, so that FIG. 69 (b) It is possible to return to the display of the selection icon for the second level speech bubble shown.
[0238]
If the user turns on the upper switch 203 when any of the selection icons for the third level dialog selection is highlighted, the determinations in steps 3205 and 3208 in FIG. 32 and step 3305 in FIG. 33 are NO, as shown in FIG. The determination in step 3306 is YES, and the processing returns to step 3101 in FIG. 31, and the second-level speech bubble selection icon shown in FIG. 69B is displayed.
(Detailed operation of case 14)
In case 14, the user turns on the ENTER switch 202 when any of the selection icons for the selection of the third level dialog shown in FIG. 69 (c) is highlighted, so that the characters shown in FIG. The selected dialog can be displayed on the input character display section of the input screen, and the dialog can be edited by selecting a character from the character display section.
[0239]
When the user turns on the ENTER switch 202 while any of the selection icons for the third level dialog selection is highlighted, the determinations in steps 3205 and 3208 in FIG. 32 are NO, and the determination in step 3305 in FIG. 33 is YES. It becomes.
[0240]
As a result, first, in step 3401 in FIG. 34, a character input screen display process is executed. Details of this processing are shown as an operation flowchart in FIG.
In FIG. 40, in step 4001, an output screen clear command is issued from the CPU 101 to the VDP 102. As a result, the screen display of the television 111 is cleared.
[0241]
In step 4002, the CPU 101 transfers background data (see the character input screen in FIG. 5), which is background image data for the BG-A plane shown in FIG. 6 on the program / data ROM 107, to the CPU interface unit 301, the address bus. The data is transferred to the storage area on the BG-A surface of the SRAM 103 via the data bus 315, the data bus 316, and the SRAM interface unit 302.
[0242]
In step 4003, the CPU 101 converts character input screen data (system screen data), which is background image data for the BG-B plane shown in FIG. 6 on the program / data ROM 107, into the CPU interface unit 301 and the address bus 315. Then, the data is transferred to the storage area on the BG-B surface of the SRAM 103 via the data bus 316 and the SRAM interface unit 302 (see the character input screen in FIG. 5). As the explanation balloon at this time, the contents shown in FIG. 58 are displayed.
[0243]
In step 4004, it is determined whether or not the series of transfer processes described above has been completed. When it is determined that transfer has been completed, the character input screen display process in step 3401 of FIG. 34 is terminated. As a result, the VDP 102 having the configuration shown in FIG. 3 converts the image data for the character input screen transferred to the storage areas on the BG-A surface and the BG-B surface on the SRAM 103 as described above with reference to FIG. Are displayed on the television 111 in the format shown in FIG.
[0244]
Next, in step 3402 of FIG. 34, the CPU 101 displays the input character display shown in FIG. 58 among the cells constituting the background image data of the character input screen stored in the storage area of the BG-B surface of the SRAM 103. This cell is replaced with the character image data of the dialogue sentence transferred to the address areas {AD4} to {AD4 + 11} of the work RAM 108 by the processing of step 3303 or 3304 in FIG. As a result, a line corresponding to the selection icon of the third level line selection highlighted when the ENTER switch 202 is turned on is displayed in the input character display section.
[0245]
Thereafter, in step 3403, the value of the register C indicating the character position in the input character display portion and the value of the register SF indicating whether the cursor is positioned in the character display portion or the input character display portion are both 0. Reset to.
[0246]
Thereafter, the process proceeds to step 3404.
(Detailed operation of case 15)
In case 15, the user can switch between cursor movement in the character display section and cursor movement in the input character display section by turning on the SEL switch 201 while the character input screen is displayed in case 14. .
[0247]
If the user turns on the SEL switch 201 while the character input screen is displayed in case 14, the determination at step 3404 in FIG. 34 is YES, and the value of the register SF is inverted between 0 and 1 at step 3405. . As a result, the cursor can be moved in the character display section when the value of the register SF becomes 0, and in the input character display section when the value of the register SF becomes 1.
[0248]
Thereafter, the processing returns to step 3404.
(Detailed operation of case 16)
In case 16, the user can move the cursor in the character display portion up and down by turning on the upper switch 203 or the lower switch 204 while the character input screen is displayed in case 14. The character for can be selected freely.
[0249]
If the upper switch 203 is turned on while the user is displaying the character input screen in case 14, the determination in step 3404 in FIG. 34 is NO and the determination in step 3406 is YES.
[0250]
If the value of the register Y indicating the vertical direction is not the value 0 indicating the uppermost line among the value of the register X indicating the horizontal character position and the value of the register Y indicating the vertical character position in the character display unit, the step In step 3408, the value of the register Y is decremented by -1.
[0251]
Subsequently, in step 3501 of FIG. 35, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted. Specifically, the CPU 101 highlights the portion of the cell corresponding to the character portion among the cells constituting the background image data of the character input screen stored in the storage area of the BG-B surface of the SRAM 103. For example, the cell portion corresponding to the character portion in the character display portion indicated by the value of the register X and the value of the register Y + 1 is replaced with a normal display cell. As a result, the character position in the character display portion moves up one line.
[0252]
Thereafter, the determination at step 3503 in FIG. 35 is NO, and the processing returns to step 3404 in FIG.
If the value of the register Y is 0 indicating the top row, the determination in step 3407 is NO, step 3408 is not executed, the determinations in steps 3409, 3412, and 3418 are NO, and the determination in step 3503 in FIG. Then, the process returns to step 3404 in FIG. 34, and the operation of the upper switch 203 is invalidated.
[0253]
On the other hand, if the user turns on the lower switch 204 while the character input screen is displayed in case 14, the determinations in steps 3404 and 3406 in FIG. 34 are NO, and the determination in step 3409 is YES.
[0254]
If the value of the register Y indicating the vertical direction is not the value 10 indicating the bottom line among the value of the register X indicating the horizontal character position in the character display portion and the value of the register Y indicating the vertical character position, the step The determination in 3410 is YES, and the value of the register Y is incremented by 1 in step 3411.
[0255]
Subsequently, in step 3501 of FIG. 35 described above, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted, and the character indicated by the value of the register X and the value −1 of the register Y is displayed. The highlighting of the character part in the display part is canceled. As a result, the character position in the character display portion moves down one line.
[0256]
Thereafter, the determination at step 3503 in FIG. 35 is NO, and the processing returns to step 3404 in FIG.
If the value of the register Y is 10 indicating the bottom row, the determination at step 3410 is NO and step 3411 is not executed, the determinations at steps 3412 and 3418 are NO, and the determination at step 3503 in FIG. 35 is NO. Returning to the processing of step 3404 in FIG. 34, the operation of the lower switch 204 is invalidated.
(Detailed operation of case 17)
In case 17, the user can move the cursor in the character display portion to the left or right by displaying the character input screen in case 14 and turning on the left switch 205 or the right switch 206 when the cursor is in the character display portion. Yes, you can freely choose the character for the dialogue.
[0257]
When the user displays the character input screen in case 14 and the left switch 205 is turned on when the cursor is in the character display section, the determinations of steps 3404, 3406, and 3409 in FIG. The determination is YES.
[0258]
Of the value of the register X indicating the left and right character position in the character display portion and the value of the register Y indicating the vertical character position, the value of the register X indicating the left and right direction is not 0 indicating the leftmost line. The determination in step 3414 is YES, and the value in register X is decremented by 1 in step 3415.
[0259]
Subsequently, in step 3501 of FIG. 35 described above, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted and the character display indicated by the value of the register X + 1 and the value of the register Y is displayed. The highlighting of the character part in the section is canceled. As a result, the character position in the character display section moves to the left by one line.
[0260]
Thereafter, the determination at step 3503 in FIG. 35 is NO, and the processing returns to step 3404 in FIG.
If the value of the register X is 0 indicating the leftmost row, the determination at step 3414 is NO and step 3415 is not executed, the determination at step 3418 is NO, and the determination at step 3503 in FIG. 35 is NO. 34, the operation of the left switch 205 is invalidated.
[0261]
On the other hand, if the user displays the character input screen in case 14 and the right switch 206 is turned on when the cursor is in the character display section, the determinations of steps 3404, 3406, 3409, and 3412 in FIG. The determinations at 3418 and 3419 are YES.
[0262]
Of the value of the register X indicating the horizontal character position in the character display portion and the value of the register Y indicating the vertical character position, the value of the register X indicating the horizontal direction is not the value 10 indicating the rightmost line. The determination in step 3420 is YES, and in step 3421, the value of the register X is incremented by one.
[0263]
Subsequently, in step 3501 of FIG. 35 described above, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted, and the character indicated by the value −1 of the register X and the value of the register Y is displayed. The highlighting of the character part in the display part is canceled. As a result, the character position in the character display portion moves to the right by one line.
[0264]
Thereafter, the determination at step 3503 in FIG. 35 is NO, and the processing returns to step 3404 in FIG.
If the value of the register X is 10 indicating the rightmost row, the determination in step 3420 is NO and step 3421 is not executed, and the determination in step 3503 in FIG. 35 is NO and the processing in step 3404 in FIG. Returning, the operation of the right switch 206 is invalidated.
(Detailed operation of case 18)
In case 18, the user displays the character input screen in case 14, and when the cursor is in the input character display portion, the user turns the left switch 205 or right switch 206 to turn the cursor left or right in the input character display portion. It can be moved, and the input position of a new character in the dialogue sentence can be freely changed.
[0265]
When the user displays the character input screen in case 14 and the left switch 205 is turned on when the cursor is in the input character display section, the determinations in steps 3404, 3406, and 3409 in FIG. 34 are NO, and the determination in step 3412 is YES. The determination in step 3413 is NO.
[0266]
If the value of the register C indicating the character position in the input character display portion is not 0 indicating the left end, the determination in step 3416 is YES, and the value of the register C is decremented by 1 in step 3417.
[0267]
Subsequently, in step 3502 of FIG. 35, the character portion in the input character display portion indicated by the value of the register C + 1 (+1 is because the value of the register C is 0 origin) is highlighted. Specifically, the CPU 101 highlights the portion of the cell corresponding to the character portion among the cells constituting the background image data of the character input screen stored in the storage area of the BG-B surface of the SRAM 103. For example, the cell portion corresponding to the character portion in the input character display portion indicated by (value of register C + 1) +1 is replaced with a normal display cell. As a result, the character position in the input character display portion moves to the left by one character.
[0268]
Thereafter, the determination at step 3503 in FIG. 35 is NO, and the processing returns to step 3404 in FIG.
If the value of the register C is 0 indicating the left end, the determination at step 3416 is NO and step 3417 is not executed, the determination at step 3418 is NO, the determination at step 3503 in FIG. Returning to the process of step 3404, the operation of the left switch 205 is invalidated.
[0269]
On the other hand, if the user displays the character input screen in case 14 and the right switch 206 is turned on when the cursor is in the input character display portion, the determinations in steps 3404, 3406, 3409, and 3412 in FIG. The determination is YES, and the determination in step 3419 is NO.
[0270]
If the value of the register C indicating the character position in the input character display portion is not the value 11 indicating the right end, the determination in step 3422 is YES, and the value of the register C is incremented by 1 in step 3423.
[0271]
Subsequently, in step 3502 of FIG. 35 described above, the character portion in the input character display portion indicated by the value +1 of the register C is highlighted, and in the input character display portion indicated by (value of the register C + 1) −1. The highlighting of the character part is canceled. As a result, the character position in the input character display portion moves to the right by one character.
[0272]
Thereafter, the determination at step 3503 in FIG. 35 is NO, and the processing returns to step 3404 in FIG.
If the value of the register C is 11 indicating the right end, the determination at step 3422 is NO and step 3423 is not executed, the determination at step 3503 in FIG. 35 is NO and the processing returns to step 3404 in FIG. The operation of the right switch 206 is invalidated.
(Detailed operation of case 19)
In case 19, the user selects a character other than the end character (see FIG. 58) in the character display portion while the character input screen is displayed in case 14, and turns on the ENTER switch 202 to turn on the character display portion. The currently selected character can be displayed on the input character display section.
[0273]
If the user displays the character input screen in case 14 and the ENTER switch 202 is turned on when characters other than the end character are highlighted in the character display section, steps 3404, 3406, 3409, 3412 and 3418 in FIG. The determination is NO, and the determinations in steps 3503 and 3504 in FIG. 35 are YES.
[0274]
As a result, in step 3506, the CPU 101 shows the character code corresponding to the character assigned to the character position in the character display portion indicated by the value of the register X and the value of the register Y in FIG. Store in the address area {AD4 + (C)}. Here, (C) indicates the value of the register C. For example, if the value of the register C is 2, the character code is stored in the address area {AD4 + 2}. Since the value of the register C can vary from 0 to 11, the range of the address area where the character code is stored is the range of {AD4} to {AD4 + 11}.
[0275]
Subsequently, in step 3507, the character assigned to the character position in the character display portion indicated by the value of register X and the value of register Y is changed to the character portion in the input character display portion indicated by the value +1 of register C. Corresponding character image data is transferred. Specifically, the CPU 101 applies the above-described character image to the cell portion corresponding to the character portion among the cells constituting the background image data of the character input screen stored in the storage area of the BG-B surface of the SRAM 103. Data is transferred via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. This character image data is included in the image data for the BG-B plane shown in FIG. As a result, the character highlighted in the character display portion when the ENTER switch 202 is turned on is displayed in the portion highlighted in the input character display portion.
[0276]
Thereafter, if the value of the register C indicating the character position in the input character display portion is not the value 11 indicating the right end, the determination in step 3508 is YES, and the value of the register C is incremented by 1 in step 3509.
[0277]
Next, in step 3502 described above, the character portion in the input character display portion indicated by the value +1 of the register C is highlighted, and the character portion in the input character display portion indicated by (the value of the register C + 1) −1. Is highlighted. As a result, the character position in the input character display portion moves to the right by one character.
[0278]
Thereafter, the determination at step 3503 in FIG. 35 is NO, and the processing returns to step 3404 in FIG.
If the value of the register C is 11 indicating the right end, the determination in step 3508 is NO and step 3509 is not executed, and the determination in step 3503 in FIG. 35 is NO and the process returns to step 3404 in FIG.
(Detailed operation of case 20)
In case 20, when the user is displaying the character input screen in case 14, the user selects the ending character (see FIG. 58) in the character display section and turns on the ENTER switch 202, whereby the character is displayed on the input character display section. If these characters are included in an atypical sentence, they can be displayed as speech bubbles on the basic system screen. In addition, if the characters in the entered character display section form a standard sentence, after converting the sentence according to the shape of the currently selected dialogue frame, display it as a balloon character on the basic system screen. Can do.
[0279]
If the user displays the character input screen in case 14 and the ENTER switch 202 is turned on when the end character is highlighted in the character display section, the determinations of steps 3404, 3406, 3409, 3412, and 3418 in FIG. 34 are NO. 35, the determination at step 3503 is YES, and the determination at step 3504 is NO.
[0280]
As a result, in step 3050, face image display processing is executed. Details of this processing are shown as an operation flowchart in FIG.
41, in step 4101, the CPU 101 shows the background data (see FIG. 52) corresponding to the background number stored in the address area {AD 1} on the work RAM 108 in FIG. 6 on the program / data ROM 107. The background data A-1 to A-7 for the BG-A plane are read out, and are read out through the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. Transfer to the storage area on side A (see the basic system screen in FIG. 5).
[0281]
In step 4105, the CPU 101 stores basic system screen data (system screen data), which is background image data for the BG-B plane shown in FIG. 6 in the program / data ROM 107, as a CPU interface unit 301, an address bus 315, The data is transferred to the storage area on the BG-B surface of the SRAM 103 via the data bus 316 and the SRAM interface unit 302 (corresponding to the system of the basic system screen in FIG. 5). The image at this time corresponds to the explanation balloon and the command icon portion for displaying the contents shown in FIG. 65 (C-2) in the BG-B plane image shown in FIG. As will be described later, after the ENTER switch 202 is turned on, a dialog frame can be selected, and an explanation bubble with the contents shown in FIG. 65 (C-2) is displayed.
[0282]
Next, in steps 4201 to 4212 of FIG. 42, by creating a portrait in exactly the same way as the series of processing of steps 3901 to 3912 of FIG. 39 executed in the basic system screen display processing of step 2601 of FIG. Image data corresponding to each part number stored in the address areas {AD1} to {AD1 + 6} shown in FIG. 9 on the work RAM 108 is read, and the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302 or the DP-RAM interface unit 303 to transfer to each storage area of the SRAM 103 or DP-RAM 104, and coordinate data for the OBJ-A plane and the OBJ-B plane to the CPU interface unit 301, the address bus 315, And data bus 3 6 through, transferred to the object attribute memory section 307.
[0283]
As a result, the created portrait image is displayed on the television 111 by the VDP 102 having the configuration shown in FIG.
Thereafter, the face image display process in step 3505 of FIG. 35 is terminated.
[0284]
Subsequently, in step 3601 of FIG. 36, if there is a character code of an input character constituting a dialogue sentence in the address areas {AD4} to {AD4 + 11} shown in FIG. 9 of the work RAM 108, the determination in step 3602 is YES. Thus, the processing of steps 3603 to 3606 for displaying a dialogue sentence in the dialogue frame is executed. If there is no character code for the input character, the determination in step 3602 is NO and these processes are not executed.
[0285]
In step 3603, it is determined whether or not the input sentence constituted by the character code of the address area is a fixed sentence. This determination process is performed in advance on the character code of each character constituting the seven types of dialogue text which is the image data for the OBJ-B surface shown in FIGS. 6 and 7 on the program / data ROM 107 and each address in the address area. This is realized as a process of comparing the character code of the input character.
[0286]
If the input sentence is a fixed sentence and the determination in step 3602 is YES, in step 3603, in the address areas {AD4} to {AD4 + 11} shown in FIG. 9 of the work RAM 108 constituting the input sentence, according to the value of the register W. Are converted and stored in the address areas {AD5} to {AD5 + 11} shown in FIG. The register W is set with a value corresponding to the shape of the speech frame that can be selected by the user as will be described later. Then, according to the shape of the dialogue frame, the input sentence automatically changes as shown in FIGS. 70 (a) to (d), for example. Thus, the user can enjoy various lines simply by selecting a line frame. The conversion process of the dialogue sentence is realized, for example, as an operation of selecting a character code string of the dialogue sentence corresponding to the value of the register W from a conversion table (not shown) stored in the program / data ROM 107.
[0287]
On the other hand, if the input sentence is an atypical sentence and the determination in step 3602 is NO, in step 3604, the character codes in the address areas {AD4} to {AD4 + 11} shown in FIG. These are stored in the address areas {AD5} to {AD5 + 11} shown in FIG.
[0288]
After the processing of step 3603 or 3604, in step 3605, the CPU 101 stores the image data of dialog characters corresponding to the character codes stored in the address areas {AD5} to {AD5 + 11} of the work RAM 108 on the program / data ROM 107. 6 and 7 are read out from the storage area for the OBJ-B plane, and these are read out via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. Transfer to the empty object storage area of the plane.
[0289]
Next, in step 3606, the CPU 101 transfers the coordinate data corresponding to the address areas {AD5} to {AD5 + 11} of the work RAM 108 via the CPU interface unit 301, the address bus 315, and the data bus 316 in step 3605. It transfers to the object number area of the object attribute memory unit 307 corresponding to the object storage area (see FIG. 10).
[0290]
Subsequently, in step 3607, the CPU 101 displays the image data of the dialog frame corresponding to the dialog frame number stored in the address area {AD1 + 7} of the work RAM 108 by the selection process of the dialog frame described later on the program / data ROM 107. 6 and the storage area for the OBJ-B surface shown in FIG. 7 and read them from the OBJ-B surface of the SRAM 103 via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. Transfer to an empty object storage area.
[0291]
Next, in step 3606, the CPU 101 transfers the coordinate data corresponding to the dialogue frame number to be processed in step 3607 via the CPU interface unit 301, the address bus 315, and the data bus 316 in step 3605. Transfer to the object number area of the object attribute memory unit 307 corresponding to the object storage area.
[0292]
As a result of the above processing, the VDP 102 having the configuration shown in FIG. 3 converts the image data of the dialogue sentence and the dialogue frame transferred to the storage area of the OBJ-B surface on the SRAM 103 as described above into object attributes. It displays on the display position corresponding to each coordinate data transferred to the memory part 307 (refer FIG. 56).
[0293]
Thereafter, the determination in step 3609 becomes NO (see step 3103 in FIG. 31), and in step 3610, the value 2 indicating that the selection icon for the dialogue frame is selected in the selection icon for the second hierarchy speech bubble is stored in the register L. Thus, the determination at step 3701 in FIG. The processing for selecting the speech frame will be described later in the detailed operation of the case 22.
(Detailed operation of case 21)
In case 21, the user turns on the ENTER switch 202 when the selection icon for creating a dialog line is highlighted in the selection icon for the second level speech bubble shown in FIG. 69 (b). A displayed character input screen is displayed, and a dialog can be created by selecting a character from the character display section.
[0294]
If the user turns on the ENTER switch 202 when the selection icon for creating a dialog is highlighted, the determinations in steps 3104 and 3107 in FIG. 31 are NO, the determination in step 3112 is YES, and the determination in step 3201 in FIG. NO, the determination in step 3701 of FIG. 37 is YES.
[0295]
First, in step 3702 of FIG. 37, a character input screen display process is executed. This process is the same as the process of step 3401 of FIG. 34, and is shown as the operation flowchart of FIG. 40 described above. As a result, the VDP 102 having the configuration shown in FIG. 3 converts the image data for the character input screen transferred to the storage areas on the BG-A surface and the BG-B surface on the SRAM 103 as described above with reference to FIG. Are displayed on the television 111 in the format shown in FIG.
[0296]
Thereafter, in step 3703, the value of the register C indicating the character position in the input character display portion is reset to 0, and in step 3704, it is indicated whether the cursor is positioned in the character display portion or the input character display portion. The value of the register SF is also reset to zero.
[0297]
Thereafter, the processing after step 3404 in FIG. 34 is executed, so that the processing for inputting the above-mentioned dialogue sentence is executed, and thereby the user can input the dialogue sentence.
[0298]
When the input of the dialogue sentence is completed and the ENTER switch 202 is turned on, the VDP 102 having the configuration shown in FIG. 3 is transferred to the storage area of the OBJ-B surface on the SRAM 103 as described above. Each image data of the dialog frame is displayed at a display position corresponding to each coordinate data transferred to the object attribute memory unit 307.
[0299]
Thereafter, the determination at step 3609 in FIG. 36 is NO, and at step 3610, a value 2 is set in the register L to indicate that the selection icon for the dialogue frame is selected in the selection icon for the second hierarchy speech bubble. The determination at step 3701 in FIG. 37 is NO, and the processing for selecting the frame after step 3705 is executed.
(Detailed operation of case 22)
In case 22, the user turns on the ENTER switch 202 when the selection icon of the dialogue frame in the selection icon of the second layer speech bubble shown in FIG. It is possible to display the third level selection icon shown in FIG. 69 (d) corresponding to the shape selection icon.
[0300]
If the user turns on the ENTER switch 202 when the selection icon in the dialogue box is highlighted, the determinations in steps 3104 and 3107 in FIG. 31 are NO, the determination in step 3112 is YES, and the determination in step 3201 in FIG. NO, the determination in step 3701 of FIG. 37 is NO.
[0301]
As a result, in step 3705 of FIG. 37, the CPU 101 selects each icon corresponding to the seven types of icons 90 to 96 shown in FIG. 8 among the icon image data shown in FIG. 6 on the program / data ROM 107. Numbers 90 to 96 are stored in the address areas {AD2} to {AD2 + 6} shown in FIG.
[0302]
Next, in step 3706, the CPU 101 executes only the cell portion corresponding to the selected icon among the cells constituting the background image data of the basic system screen stored in the storage area on the BG-B surface of the SRAM 103. Images of seven types of selection icons shown in FIG. 8 on the program / data ROM 107 corresponding to the icon numbers stored in the address areas {AD2} to {AD2 + 6} shown in FIG. Replace with data.
[0303]
As a result, the VDP 102 having the configuration shown in FIG. 3 selects the third-level dialog frame shown in FIG. 69 (d) transferred to the storage area of the BG-B surface on the SRAM 103 as described above. An icon is displayed on the television 111.
[0304]
Thereafter, in step 3707, the value 0 is set in the register W indicating the selection position of the selection icon of the third frame dialog box.
Next, in step 3714, the first (leftmost) selection icon corresponding to the value 0 of the register W is highlighted. Specifically, the CPU 101 is the first (leftmost) corresponding to the value 0 of the register W among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. The portion of the cell corresponding to the selection icon is replaced with a highlighting cell.
[0305]
Subsequently, in step 3715, the value 0 of the register W corresponding to the number of the selected dialog frame is stored in the address area {AD1 + 7} shown in FIG.
[0306]
Then, after the processes in steps 3601 to 3608 in FIG. 36, the determination in step 3609 becomes YES, and the process proceeds to the process in step 3708 in FIG.
(Detailed operation of case 23)
In case 23, the user turns on the left switch 205 or the right switch 206 when any one of the selection icons in the form of the third hierarchy dialog box shown in FIG. 69 (d) is highlighted. The selected icon to be selected can be moved.
[0307]
If the user turns on the left switch 205 when any of the selection icons in the dialogue box is highlighted, the determination in step 3708 is YES, and the value of the register W is not 0 but the first (left end) is selected. If the icon is not highlighted, the determination in step 3709 is YES, and the value of the register W is decremented by 1 in step 3710. As a result, the selection icon of the selected dialog frame has moved to the left by one. When the value of the register W is 0 and the first (leftmost) selection icon is highlighted, the determination in step 3709 is NO, the processing returns to step 3708, and the operation of the left switch 205 is invalid. It is said.
[0308]
On the other hand, if the user turns on the right switch 206 when any of the selection icons is highlighted, the determination at step 3708 becomes NO, then the determination at step 3711 becomes YES, and the value of the register W is 6 as well. If the seventh (rightmost) selection icon is not highlighted, the determination in step 3712 is YES, and the value of the register W is incremented by 1 in step 3713. As a result, the selection icon of the selected dialog frame has moved to the right by one. If the value of the register W is 6 and the seventh (rightmost) selection icon is highlighted, the determination at step 3712 is NO, and the determination at step 3716 is NO, then the process at step 3708 The operation of the right switch 206 is invalidated.
[0309]
After the processing in step 3710 or 3713 or the like, in step 3714, the number selection icon corresponding to the value of the register W is highlighted. Specifically, the CPU 101 corresponds to the selection icon of the number corresponding to the value of the register W among the cells constituting the background image data of the basic system screen stored in the storage area of the BG-B surface of the SRAM 103. Replace the cell part with the highlighting cell.
[0310]
Subsequently, in step 3715, the value of the register W corresponding to the number of the selected dialogue frame is stored in the address area {AD1 + 7} shown in FIG.
[0311]
Then, by executing the processing of steps 3601 to 3608 in FIG. 36, if the dialogue sentence that has already been created or selected as described above is an atypical sentence, it is displayed as it is inside the new dialogue frame, If it is a fixed sentence, the input sentence is converted according to the information of the shape of the newly selected dialog frame set in the register W and displayed inside the dialog frame.
[0312]
Thereafter, the determination in step 3609 is YES, and the processing returns to step 3708 in FIG.
(Detailed operation of case 24)
In case 24, the user turns on the upper switch 203 when any one of the selection icons in the form of the third hierarchy dialog box shown in FIG. 69 (c) is highlighted, so that FIG. ) Can be returned to the display of the selection icon for the second layer speech bubble shown in FIG.
[0313]
If the user turns on the upper switch 203 when any of the selection icons in the third frame dialog box is highlighted, the determinations in steps 3708 and 3711 in FIG. 37 are NO, and the determination in step 3716 is YES. Returning to the processing of step 311, the selection icon for the second layer speech bubble shown in FIG. 69 (b) is displayed.
Character input process flow
43 to 45 are operation flowcharts showing the character input screen process executed as step 1308 of FIG. The user can input a file name to be saved on this character input screen.
[0314]
As described above, in the face creation process in step 1306 in FIG. 13, if the user turns on the ENTER switch 202 while the “save” icon (see FIG. 51) is highlighted, the register MODE is entered in step 2904 in FIG. The value 3 is set as the mode number, and the face creation process in step 1306 in FIG. 13 ends. As a result, the character input process in step 1308 is executed after the determination in step 1307 in FIG.
[0315]
First, in step 4301 of FIG. 43, a character input screen display process is executed. This process is the same as the process of step 3401 of FIG. 34 in the face creation process of step 1306 of FIG. 13 described above, and is shown as the operation flowchart of FIG. As a result, the VDP 102 having the configuration shown in FIG. 3 converts the image data for the character input screen transferred to the storage areas on the BG-A surface and the BG-B surface on the SRAM 103 as described above with reference to FIG. Are displayed on the television 111 in the format shown in FIG. As the explanation balloon, the contents shown in FIG. 67 (Z-a) are displayed.
[0316]
Thereafter, the user turns on the upper switch 203, the lower switch 204, the left switch 205, or the right switch 206 on the character input screen to move the cursor up, down, left, and right in the character display section shown in FIG. You can freely choose the character for the file name.
[0317]
If the upper switch 203 is turned on while the user is displaying the character input screen, the determination at step 4302 in FIG. 43 is NO.
If the value of the register Y indicating the vertical direction is not the value 0 indicating the uppermost line among the value of the register X indicating the horizontal character position and the value of the register Y indicating the vertical character position in the character display unit, the step In step 4304, the value of the register Y is decremented by -1.
[0318]
Subsequently, in step 4314 of FIG. 44, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted. Specifically, the CPU 101 highlights the portion of the cell corresponding to the character portion among the cells constituting the background image data of the character input screen stored in the storage area of the BG-B surface of the SRAM 103. For example, the cell portion corresponding to the character portion in the character display portion indicated by the value of the register X and the value of the register Y + 1 is replaced with a normal display cell. As a result, the character position in the character display portion moves up one line.
[0319]
Thereafter, the determination at step 4315 in FIG. 44 is NO, and the processing returns to step 4302 in FIG.
If the value of the register Y is 0 indicating the top row, the determination in step 4303 is NO, step 4304 is not executed, the process returns to step 4302, and the operation of the upper switch 203 is invalidated.
[0320]
On the other hand, if the lower switch 204 is turned on while the user is displaying the character input screen, the determination in step 4302 in FIG. 43 is NO and the determination in step 4305 is YES.
[0321]
If the value of the register Y indicating the vertical direction is not the value 10 indicating the bottom line among the value of the register X indicating the horizontal character position in the character display portion and the value of the register Y indicating the vertical character position, the step The determination at 4306 is YES, and the value of the register Y is incremented by 1 at step 4307.
[0322]
Subsequently, in step 4314 of FIG. 44 described above, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted, and the character indicated by the value of the register X and the value −1 of the register Y is displayed. The highlighting of the character part in the display part is canceled. As a result, the character position in the character display portion moves down one line.
[0323]
Thereafter, the determination at step 4315 in FIG. 44 is NO, and the processing returns to step 4302 in FIG.
If the value of the register Y is 10 indicating the bottom row, the determination in step 4306 is NO, step 4307 is not executed, the processing returns to step 4302, and the operation of the lower switch 204 is invalidated.
[0324]
If the user displays the character input screen and the left switch 205 is turned on when the cursor is in the character display section, the determinations in steps 4302 and 4305 in FIG. 43 are NO, and then the determination in step 4308 is YES.
[0325]
Of the value of the register X indicating the left and right character position in the character display portion and the value of the register Y indicating the vertical character position, the value of the register X indicating the left and right direction is not 0 indicating the leftmost line. The determination in step 4309 is YES, and the value of register X is decremented by 1 in step 4310.
[0326]
Subsequently, in step 4314 of FIG. 44, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted, and the character display indicated by the value of the register X + 1 and the value of the register Y is displayed. The highlighting of the character part in the section is canceled. As a result, the character position in the character display section moves to the left by one line.
[0327]
Thereafter, the determination at step 4315 in FIG. 44 is NO, and the processing returns to step 4302 in FIG.
If the value of the register X is 0 indicating the leftmost row, the determination in step 4309 is NO, step 4310 is not executed, the processing returns to step 4302, and the operation of the left switch 205 is invalidated.
[0328]
On the other hand, when the user displays the character input screen and the right switch 206 is turned on when the cursor is in the character display section, the determinations in steps 4302, 4305, and 4308 in FIG. The determination is YES.
[0329]
Of the value of the register X indicating the horizontal character position in the character display portion and the value of the register Y indicating the vertical character position, the value of the register X indicating the horizontal direction is not the value 10 indicating the rightmost line. The determination in step 4312 is YES, and in step 4313, the value of the register X is incremented by one.
[0330]
Subsequently, in step 4314 described above, the character portion in the character display portion indicated by the value of the register X and the value of the register Y is highlighted, and the character portion in the character display portion indicated by the value −1 of the register X and the value of the register Y is displayed. The highlighting of the character part is canceled. As a result, the character position in the character display portion moves to the right by one line.
[0331]
Thereafter, the determination in step 4315 is NO, and the processing returns to step 4302 in FIG.
If the value of the register X is 10 indicating the rightmost row, the determination in step 4312 is NO, step 4313 is not executed, the processing returns to step 4302 in FIG. 43, and the operation of the right switch 206 is invalidated. The
[0332]
Next, when the user displays the character input screen and the ENTER switch 202 is turned on when characters other than the end character (see FIG. 58) are highlighted in the character display section, steps 4302, 4305 and 4308 in FIG. 44 is NO, the determination in step 4311 in FIG. 44 is NO, the determination in step 4315 is YES, and the determination in step 4316 is NO.
[0333]
As a result, the determination process in step 4317 in FIG. 45 is executed. Here, whether or not the value of the register C indicating the character position in the input character display portion on the character input screen shown in FIG. 58 indicates a value of 7 or less corresponding to 8 characters which is the maximum character length of the file name. Is determined. The value of the register C is reset to 0 at the start of execution of the character input process in step 1308 of FIG.
[0334]
If the value of register C is 7 or less and the determination at step 4317 is YES, the processing after step 4318 is executed. If the value in register C exceeds 8 characters and the determination in step 4317 is NO, no more characters in the file name are input.
[0335]
In step 4318, the CPU 101 converts the character code corresponding to the character assigned to the character position in the character display section indicated by the value of the register X and the value of the register Y into the address area { Store in AD6 + (C)}. Here, (C) indicates the value of the register C. Since the value of the register C can vary from 0 to 7, the range of the address area where the character code is stored is the range of {AD6} to {AD6 + 7}.
[0336]
Subsequently, in step 4319, the character assigned to the character position in the character display portion indicated by the value of the register X and the value of the register Y is changed to the character portion in the input character display portion indicated by the value of the register C + 1. Corresponding character image data is transferred. Specifically, the CPU 101 applies the above-described character image to the cell portion corresponding to the character portion among the cells constituting the background image data of the character input screen stored in the storage area of the BG-B surface of the SRAM 103. Data is transferred via the CPU interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302. This character image data is included in the image data for the BG-B plane shown in FIG. As a result, the characters highlighted in the character display portion when the ENTER switch 202 is turned on are additionally displayed in the input character display portion.
[0337]
Thereafter, in step 4320, the value of the register C is incremented by 1, and the processing returns to step 4302 in FIG.
Finally, when the user displays the character input screen and the ENTER switch 202 is turned on when the end character (see FIG. 58) is highlighted in the character display section, the determinations of steps 4302, 4305, and 4308 in FIG. NO, the determination in step 4311 in FIG. 44 is NO, the determinations in steps 4315 and 4316 are YES, and the character input process in step 1308 in FIG. 13 is terminated.
[0338]
As a result, in the address areas {AD6} to {AD6 + 7} of the work RAM 108, a character code string of up to 8 character sentences of the file name input by the user is obtained.
File save process flow
46 to 48 are operation flowcharts showing the file saving process executed as step 1309 in FIG. On the file operation screen displayed by this processing, the user can save a portrait image data file created by the user himself / herself in the work RAM 108 which is backed up by the battery.
[0339]
The file operation screen is the same as the file operation screen shown in FIG. 49 displayed in the file loading process in step 1304 of FIG. 13 described above, and the current file number displaying the number and name of the currently selected file. A display unit and a file name display unit, file icons 1 to 6 for displaying the file type as a picture, and a helper made up of a speech bubble and a picture of a doll are displayed on the television 111.
[0340]
On the file operation screen, when the user turns on the upper switch 203 or the lower switch 204 on the control pad 112, a group of file icons 1 to 3 and a group of file icons 4 to 6 are grouped as files to be saved. Can move between. The user can select any of the file icons in the currently selected group as a file to be saved by turning on the left switch 205 or the right switch 206 on the control pad 112. As a result, the selected file icon is highlighted, the current file number display portion changes to a number corresponding to the file icon, and the display content of the file name display portion is input by the user in step 1308 of FIG. Changes to the contents corresponding to the file name. In this state, when the user turns on the ENTER switch 202 on the control pad 112, the portrait data is saved in the storage position of the file corresponding to the file icon.
[0341]
Details of the operation flowcharts of FIGS. 46 to 48 will be described below.
First, in step 4601 of FIG. 46, a file operation screen display process is executed. The details of this process are shown as an operation flowchart in FIG.
[0342]
In FIG. 48, in step 4801, the CPU 101 issues an output screen clear command to the VDP 102. As a result, the screen display of the television 111 is cleared.
[0343]
In step 4802, the CPU 101 transfers background data (see the file operation screen in FIG. 5), which is background image data for the BG-A plane shown in FIG. 6 on the program / data ROM 107, to the CPU interface unit 301, the address bus. The data is transferred to the storage area on the BG-A surface of the SRAM 103 via the data bus 315, the data bus 316, and the SRAM interface unit 302.
[0344]
In step 4803, the value 1 is preset in the register FN indicating the file number.
In step 4804, as in step 4802, the CPU 101 stores file operation screen data (system screen data), which is background image data for the BG-B surface shown in FIG. The data is transferred to the storage area on the BG-B surface of the SRAM 103 via the interface unit 301, the address bus 315, the data bus 316, and the SRAM interface unit 302 (see the file operation screen in FIG. 5). As a result, the file operation screen shown in FIG. 49 is displayed on the television 111. As the initial display of the explanation balloon, the contents shown in FIG. 68 (FS-a) are displayed.
[0345]
In step 4805, it is determined whether or not the above-described series of transfer processing has been completed. After the transfer is determined to be completed, in step 4806, a file operation screen stored in the storage area on the BG-B surface of the SRAM 103. Of the cells constituting the background image data, only the cell portion corresponding to the current file number display portion and the file name display portion (see FIG. 49) is replaced with data indicating the content corresponding to the value 1 of the register FN. It is done. Specifically, the CPU 101 transfers the image data indicating the number 1 corresponding to the value 1 of the register FN to the corresponding area of the SRAM 103 as a cell of the current file number display unit, and works as a cell of the file name display unit. Of the six address areas starting from AD7 shown in FIG. 9 of the RAM 108, the file name image data stored in the address areas {AD7} to {AD7 + 7} corresponding to the value 1 of the register FN corresponds to the SRAM 103. Transfer to area.
[0346]
Thereafter, the file operation screen display process in step 4601 in FIG. 46 is terminated. As a result, as the initial screen of the file operation screen, the current file number display part and file name display part for displaying the file number 1 and its file name, the file icons 1 to 6 with the file icon 1 highlighted, and FIG. Explanation speech bubbles for displaying the contents shown in (FS-a) and helpers made up of doll pictures are displayed on the television 111.
[0347]
From this state, when the user turns on the lower switch 204 on the control pad 112, the determination in step 4605 of FIG. 46 becomes YES, and at that time, the file icon (see FIG. 49) in the group of the file icons 1 to 3 is selected. If the value of the register FN indicating the file number is 3 or less, the determination in step 4606 is YES, and in step 4607, the value of the register FN is +3. As a result, the group of file icons has moved from the groups 1 to 3 to the groups 4 to 6. Thereafter, the processing of steps 4614 to 4617 in FIG. 47 for changing the display is executed. If the file icon (see FIG. 49) in the group of the file icons 4 to 6 is already selected when the lower switch 204 is turned on and the value of the register FN indicating the file number is not 3 or less, the determination in step 4606 is made. No, the display content is not changed, and the process returns to step 4602.
[0348]
When the user turns on the upper switch 203 on the control pad 112, the determination in step 4602 in FIG. 46 becomes YES, and at that time, the file icon (see FIG. 49) in the group of the file icons 4 to 6 is selected and the file number is set. If the value of the register FN shown is greater than 3, the determination in step 4603 is YES, and in step 4604, the value of the register FN is decreased by -3. As a result, the group of file icons has moved from the group of 4-6 to the group of 1-3. Thereafter, the processing of steps 4614 to 4617 in FIG. 47 for changing the display is executed. If the file icon (see FIG. 49) in the group of the file icons 1 to 3 is already selected when the upper switch 203 is turned on and the value of the register FN indicating the file number is not larger than 3, the determination in step 4603 is made. No, the display content is not changed, and the process returns to step 4602.
[0349]
When the user turns on the left switch 205 on the control pad 112, the determination at step 4611 in FIG. 46 is YES, and at that time, the file icon 1 and the file icon 4 (see FIG. 49) which are the leftmost file icons are not selected. If the value of the register FN is not 1 or 4, the determination at step 4612 is YES, and at step 4613, the value of the register FN is decremented by one. As a result, the selected file icon has moved one place to the left. Thereafter, the processing of steps 4614 to 4617 in FIG. 47 for changing the display is executed. When the left switch 205 is turned on, the file icon 1 or the file icon 4 which is the leftmost file icon is selected, and if the value of the register FN is 1 or 4, the determination in step 4612 is NO and the display contents Is not changed, and the processing returns to step 4602.
[0350]
When the user turns on the right switch 206 on the control pad 112, the determination at step 4608 in FIG. 46 becomes YES, and at that time, the file icon 3 and the file icon 6 (see FIG. 49) which are the rightmost file icons are not selected. If the value of the register FN is not 3 or 6, the determination in step 4609 is YES, and in step 4610, the value of the register FN is incremented by one. As a result, the selected file icon has moved to the right by one. Thereafter, the processing of steps 4614 to 4617 in FIG. 47 for changing the display is executed. When the right switch 206 is turned on, the file icon 3 or the file icon 6 which is the rightmost file icon is selected, and if the value of the register FN is 3 or 6, the determination in step 4609 becomes NO, and the display contents Is not changed, and the processing returns to step 4602.
[0351]
After any of the processes in steps 4605 to 4607, steps 4602 to 4604, steps 4611 to 4613, and steps 4608 to 4610 in FIG. Is newly highlighted. Specifically, the CPU 101 selects the cell corresponding to the file icon corresponding to the value of the register FN among the cells constituting the background image data of the file operation screen stored in the storage area of the BG-B surface of the SRAM 103. The portion is replaced with a highlighting cell, and for example, the portion of the cell corresponding to the file icon that has been highlighted so far corresponding to the original value of the register FN is replaced with a normal display cell.
[0352]
Next, in step 4615, it is determined whether or not a file is stored at an address on the work RAM 108 corresponding to the file number of the value of the register FN. Specifically, the CPU 101, among the address areas starting from AD7 shown in FIG. 9 on the work RAM 108, the areas {AD7 + {(FN) −1} × 8} to {AD7 + {( FN) -1} × 8 + 7}, it is determined whether a valid file name is stored. Note that (FN) indicates the value of the register FN.
[0353]
If a file corresponding to the file number of the value of the register FN exists and the determination in step 4615 is YES, the CPU 101 in step 4616 stores the background image of the file operation screen stored in the storage area of the BG-B surface of the SRAM 103. Of the cells constituting the data, only the cell portion corresponding to the current file number display portion and the file name display portion (see FIG. 49) is replaced with data indicating the content corresponding to the value of the register FN. Specifically, the CPU 101 transfers the image data indicating the number corresponding to the value of the register FN to the corresponding area of the SRAM 103 as a cell of the current file number display unit, and is stored on the work RAM 108 as a cell of the file name display unit. 9 of the address areas {AD7 + {(FN) −1} × 8} to {AD7 + {(FN) −1} × 8 + 7} corresponding to the value of the register FN among the six address areas starting from AD7 shown in FIG. Is transferred to the corresponding area of the SRAM 103.
[0354]
Thereafter, the determination at step 4618 is NO, and the processing returns to step 4602 of FIG.
On the other hand, if there is no file corresponding to the file number of the value of register FN and the determination in step 4615 of FIG. Of the cells constituting the background image data of the screen, only the cell portions corresponding to the current file number display portion and the file name display portion (see FIG. 49) are changed. Specifically, the CPU 101 transfers the image data indicating the number corresponding to the value of the register FN to the corresponding area of the SRAM 103 as the cell of the current file number display unit, and blanks as the content of the cell of the file name display unit. Is transferred to the corresponding area of the SRAM 103.
[0355]
Thereafter, the determination at step 4618 is NO, and the processing returns to step 4602 of FIG.
Finally, when any file icon is highlighted and the display contents of the current file number display part and the file name display part are contents corresponding to the file icon, the user can When the ENTER switch 202 is turned on, the determinations in steps 4602, 4605, 4608, and 4611 in FIG. 46 are NO, and the determination in step 4618 in FIG. 47 is YES.
[0356]
As a result, in step 4619, the CPU 101 causes the address area {AD8 + 8 × ((FN) −1)} to {AD8 + 8 × ((FN) −1) shown in FIG. 9 on the work RAM 108 corresponding to the value of the register FN. 8 types of part numbers, which are part type data stored in the address areas {AD1} to {AD1 + 7} shown in FIG. 9 on the work RAM 108, are stored in +7}.
[0357]
Next, in step 4620, the CPU 101 determines the address area {AD7 + 8 × ((FN) −1)} to {AD8 + 8 × ((FN) −1) shown in FIG. 9 on the work RAM 108 corresponding to the value of the register FN. +7}, the address areas {AD6} to {AD6 + 7} shown in FIG. 9 on the work RAM 108 in step 4318 of FIG. 45 in the character input processing of step 1308 of FIG. 13 based on the character input operation by the user. The character code that constitutes the file name stored in is stored.
[0358]
Subsequently, in step 4621, the CPU 101 causes the address area {AD9 + 12 × ((FN) −1)} to {AD9 + 12 × ((FN) −1) shown in FIG. 9 on the work RAM 108 corresponding to the value of the register FN. In each of +11}, the character codes of the input characters constituting the dialogue sentence stored in the address areas {AD4} to {AD4 + 11} shown in FIG. 9 on the work RAM 108 are stored.
[0359]
Finally, in step 4622, the value of the register FN is stored in the address area {AD3} shown in FIG.
After the process of step 4622, the file saving process of step 1308 of FIG. 13 is terminated, and the process returns to the process of step 1306 of FIG.
<Other embodiments>
In the embodiment described above, the front hair is on the BM-A surface, the back hair is on the BM-B surface, the nose, the eyes, the mouth on the OBJ-A surface, the eyebrows on the OBJ-B surface, the dialog, the speech frame, etc. In addition, the display surface to be arranged for each graphic part is determined in advance, but the present invention is not limited to this. For example, the display surface is arranged on the OBJ-A surface and the OBJ-B surface secured on the SRAM 103. When the number of sprite (object) graphic parts exceeds a predetermined number, the subsequent sprite (object) graphic parts are moved so as to be arranged on the BM-A surface or BM-B surface on the DP-RAM 104. Control may be performed.
[0360]
【The invention's effect】
According to the present invention, each predetermined graphic part is arranged in different display screen areas on a plurality of storage means according to the size thereof, thereby realizing efficient access and improvement of image display performance. .
[0361]
More specifically, for example, up to a predetermined number of first graphic parts groups are arranged in a display screen area secured on the first storage means, and the second graphic parts group are placed on the second storage means. As the graphic parts are distributed to a plurality of storage means such as being arranged in the reserved display screen area, the image data reading means independently accesses the image data of the graphic parts on each storage means. As a result, the image display performance can be improved.
[Brief description of the drawings]
FIG. 1 is an overall configuration diagram of a circuit according to an embodiment of the present invention.
FIG. 2 is an external view of a control pad 112. FIG.
FIG. 3 is a configuration diagram of a VDP.
FIG. 4 is an explanatory diagram of a hierarchical structure of a display screen.
FIG. 5 is a diagram showing screen assignment.
FIG. 6 is a diagram (part 1) illustrating a format of various image data stored in a program / data ROM 107;
7 is a diagram (No. 2) showing a format of various image data stored in a program / data ROM 107. FIG.
FIG. 8 is a diagram (part 3) illustrating a format of various image data stored in the program / data ROM 107;
FIG. 9 is a diagram showing a format of various image data stored in the work RAM.
FIG. 10 is a data configuration diagram of an object attribute memory unit.
FIG. 11 is a data configuration diagram of a display control register.
FIG. 12 is an explanatory diagram of screen display timing.
FIG. 13 is an overall operation flowchart.
FIG. 14 is an operation flowchart of mode selection processing;
FIG. 15 is an operation flowchart of a mode selection screen display process.
FIG. 16 is an operation flowchart (part 1) of a file load process;
FIG. 17 is an operation flowchart (part 2) of the file loading process;
FIG. 18 is an operation flowchart (part 3) of the file loading process;
FIG. 19 is an operation flowchart of a file screen display process.
FIG. 20 is an operation flowchart (part 1) of a questionnaire screen process;
FIG. 21 is an operation flowchart (part 2) of the questionnaire screen process;
FIG. 22 is an operation flowchart (part 3) of the questionnaire screen process;
FIG. 23 is an operation flowchart (part 4) of the questionnaire screen process;
FIG. 24 is an operation flowchart (part 5) of the questionnaire screen process;
FIG. 25 is an operation flowchart of a questionnaire screen display process.
FIG. 26 is an operation flowchart (part 1) of a face creation process;
FIG. 27 is an operation flowchart (part 2) of the face creation process;
FIG. 28 is an operation flowchart (part 3) of the face creation processing;
FIG. 29 is an operation flowchart (part 4) of the face creation processing;
FIG. 30 is an operation flowchart (part 5) of the face creation process;
FIG. 31 is an operation flowchart (No. 6) of face creation processing;
FIG. 32 is an operation flowchart (part 7) of the face creation processing;
FIG. 33 is an operational flowchart (No. 8) of face creation processing;
FIG. 34 is an operational flowchart (No. 9) of face creation processing;
FIG. 35 is an operational flowchart (No. 10) of a face creation process;
FIG. 36 is an operational flowchart (No. 11) of the face creation processing;
FIG. 37 is an operational flowchart (No. 12) of face creation processing;
FIG. 38 is an operation flowchart (No. 1) of basic system screen display processing;
FIG. 39 is an operation flowchart (No. 2) of a basic system screen display process;
FIG. 40 is an operation flowchart of a character input screen display process.
FIG. 41 is an operation flowchart (part 1) of face image display processing;
FIG. 42 is an operation flowchart (part 2) of face image display processing;
FIG. 43 is an operation flowchart (part 1) of character input processing;
FIG. 44 is an operation flowchart (part 2) of the character input process;
FIG. 45 is an operation flowchart (part 3) of the character input process;
FIG. 46 is an operation flowchart (part 1) of the file saving process;
FIG. 47 is an operation flowchart (part 2) of the file saving process;
FIG. 48 is an operation flowchart of a file screen display process.
FIG. 49 is a layout diagram of a file operation screen.
FIG. 50 is a layout diagram of a questionnaire screen.
FIG. 51 is a layout diagram of a basic system screen.
FIG. 52 is a layout diagram of the BG-A plane on the basic system screen.
FIG. 53 is a layout diagram of the BM-B surface on the basic system screen.
FIG. 54 is a layout diagram of the OBJ-A plane on the basic system screen.
FIG. 55 is a layout diagram of the BM-A plane on the basic system screen.
FIG. 56 is a layout diagram of the OBJ-B plane on the basic system screen.
FIG. 57 is a layout diagram of the BG-B plane on the basic system screen.
FIG. 58 is a layout diagram of a character input screen.
FIG. 59 is a diagram showing the contents of explanation speech bubbles in mode selection processing.
FIG. 60 is a diagram illustrating the contents of explanation speech bubbles in the file loading process.
FIG. 61 is a diagram (part 1) illustrating the contents of explanation speech bubbles in questionnaire screen processing;
FIG. 62 is a diagram (part 2) showing the contents of the explanation speech bubbles in the questionnaire screen process;
FIG. 63 is a diagram (part 1) illustrating the content of an explanation bubble on the basic system screen.
FIG. 64 is a diagram (part 2) illustrating the content of an explanation speech bubble on the basic system screen.
FIG. 65 is a diagram (No. 3) illustrating the contents of the description speech bubbles on the basic system screen.
FIG. 66 is a diagram (No. 4) illustrating the contents of the description speech bubbles on the basic system screen.
FIG. 67 is a diagram showing the contents of explanation speech bubbles on the character input screen.
FIG. 68 is a diagram showing the contents of explanation speech bubbles in the file saving process;
FIG. 69 is a diagram showing selection icons.
FIG. 70 is a diagram showing changes in the shape of speech bubbles and dialog.
[Explanation of symbols]
101 CPU
102 VDP
103 SRAM
104 DP-RAM
105 Sound source processing circuit
106 Sound RAM
107 Program / data ROM
108 Work RAM
109 Encoder
110 D / A converter
111 TV
112 Control pad
201 SEL switch
202 Enter switch
203 Upper switch
204 Lower switch
205 Left switch
206 Right switch
301 CPU interface unit
302 SRAM interface unit
303 DP-RAM interface
304 Object generator
305 Background generator
306 Video signal generator
307 Object attribute memory section
308 Priority controller
309 Color Lookup Table
310 RGB D / A converter
311 Oscillator section
312 Horizontal / vertical synchronization counter
313 Decoder part
314 Video signal generator
315 Address bus
316 Data bus

Claims (1)

動くキャラクターを表現するスプライト画像及び背景を表現するビットマップ画像から成るグラフィックパーツの画像データを組み合わせて表示画面上に配置することによりグラフィックを合成する画像処理装置において、
それぞれ第1及び第2の表示画面領域が確保される複数の記憶手段と、
該各記憶手段の第1の表示画面領域に前記スプライト画像が、第2の表示画面領域にビットマップ画像が割り当てられるように前記グラフィックパーツの画像データを前記複数の記憶手段の1つに確保されている表示画面領域に記憶させる画像データ書込み手段と、
前記複数の記憶手段に確保されている各表示画面領域から、該各表示画面領域間で表示の優先度を制御しながら、該各表示画面領域に記憶されているグラフィックパーツの画像データを並列に読み出して出力画像データとして出力する画像データ読出し手段と
を有することを特徴とする画像処理装置。
In an image processing apparatus for combining graphics by combining image data of graphic parts consisting of a sprite image representing a moving character and a bitmap image representing a background on a display screen,
A plurality of storage means each securing a first and second display screen area;
The graphic part image data is secured in one of the plurality of storage means so that the sprite image is assigned to the first display screen area of each storage means and the bitmap image is assigned to the second display screen area. Image data writing means to be stored in the display screen area,
The image data of the graphic parts stored in each display screen area is controlled in parallel while controlling the display priority between the display screen areas from the display screen areas secured in the plurality of storage means. An image processing apparatus comprising: image data reading means for reading and outputting as output image data.
JP13728095A 1995-05-10 1995-05-10 Image processing device Expired - Fee Related JP3738328B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13728095A JP3738328B2 (en) 1995-05-10 1995-05-10 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13728095A JP3738328B2 (en) 1995-05-10 1995-05-10 Image processing device

Publications (2)

Publication Number Publication Date
JPH08305886A JPH08305886A (en) 1996-11-22
JP3738328B2 true JP3738328B2 (en) 2006-01-25

Family

ID=15194996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13728095A Expired - Fee Related JP3738328B2 (en) 1995-05-10 1995-05-10 Image processing device

Country Status (1)

Country Link
JP (1) JP3738328B2 (en)

Also Published As

Publication number Publication date
JPH08305886A (en) 1996-11-22

Similar Documents

Publication Publication Date Title
JP2763499B2 (en) Image synthesizing apparatus and image synthesizing method
JPH05323942A (en) Background image display device and external storage device used for the same
JP5419822B2 (en) Image processing apparatus, image display apparatus, image processing method, and data structure of image file
JPH11339068A (en) Three dimensional image display device
US6364770B1 (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
JP2002203255A (en) Method and device for image processing, computer program and semiconductor device
EP1031946B1 (en) Recording medium,Image processing method and unit with integrated shaping model data
JP3738328B2 (en) Image processing device
JP3829341B2 (en) Image processing device
JP2012032456A (en) Image processing apparatus
US6278451B1 (en) Image processor
JPH08305883A (en) Image processor
JP2006318484A (en) Image processor and image processing control method
JPH08305340A (en) Image processor
JP3680352B2 (en) Image control device
JP3680351B2 (en) Image control device
JP4760390B2 (en) Image processing device
JPH06309471A (en) Device for plotting three-dimensional graphics
JP3721623B2 (en) Drawing color changing method and moving picture reproducing apparatus
JP3468985B2 (en) Graphic drawing apparatus and graphic drawing method
JP3971448B2 (en) Drawing apparatus and drawing method
JP3750171B2 (en) Drawing color changing method and image creating apparatus
JP3652586B2 (en) Image drawing system
JP2009020364A (en) Map display device and map display method
JP4271270B2 (en) DATA STORAGE DEVICE, DATA STORAGE DEVICE CONTROL DEVICE AND METHOD, AND IMAGE GENERATION DEVICE

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050609

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051017

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081111

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20091111

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101111

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101111

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111111

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111111

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121111

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees