JP2003216140A - Display device and method for controlling cache of display device - Google Patents

Display device and method for controlling cache of display device

Info

Publication number
JP2003216140A
JP2003216140A JP2002014368A JP2002014368A JP2003216140A JP 2003216140 A JP2003216140 A JP 2003216140A JP 2002014368 A JP2002014368 A JP 2002014368A JP 2002014368 A JP2002014368 A JP 2002014368A JP 2003216140 A JP2003216140 A JP 2003216140A
Authority
JP
Japan
Prior art keywords
image
cache
display
scenario
images
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.)
Granted
Application number
JP2002014368A
Other languages
Japanese (ja)
Other versions
JP3786017B2 (en
Inventor
Takashi Ozawa
孝 小沢
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002014368A priority Critical patent/JP3786017B2/en
Publication of JP2003216140A publication Critical patent/JP2003216140A/en
Application granted granted Critical
Publication of JP3786017B2 publication Critical patent/JP3786017B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Pinball Game Machines (AREA)
  • Display Devices Of Pinball Game Machines (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a display device capable of speeding up an image display processing by managing element images to appear in accordance with a scenario by sorting them by characteristics as appeared images and a method for controlling cache of the display device. <P>SOLUTION: The display device creates/displays displayed images and is provided with a development buffer for performing image development of the element images to be arranged in accordance with the scenario as the appeared images and a cache management means for managing the development buffer as cache areas of the appeared images. The development buffer has a plurality of sorting cache areas for storing the appeared images by sorting them, since the scenario is made into data bas scenario data and includes image specification information and cache sorting information of each appeared image, when the appeared images are stored by performing the image development to them in accordance with the scenario, they are stored by being sorted into any of a plurality of the sorting cache areas based on the cache sorting information and each of a plurality of the sorting cache areas is managed. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】本発明は、パチンコ機などの遊技機や懸賞
(当たり)付きの自動販売機などで利用される表示装置
および表示装置のキャッシュ制御方法に関する。
The present invention relates to a display device and a cache control method for the display device used in a game machine such as a pachinko machine or an automatic vending machine with a prize.

【0002】[0002]

【従来の技術】従来から、この種の表示装置では、各種
の表示展開ストーリー(シナリオ)を所定のROM(図
1ではアニメーションシナリオデータROM11が相
当:以下同様にカッコ内に例示する)に記憶しておき、
例えばユーザの操作などの不確定要素となる外乱(イベ
ント)や乱数などに基づいて次のストーリーを選択し
て、表示すべき表示内容(表示画像)を決定し、その決
定に基づいた表示画像を作成(描画)して、表示する。
この場合、表示に必要な各種の要素画像(データ)に
は、それを特定するための画像番号が付され、各要素画
像は、各画像番号に対応するように、かつ、記憶容量節
約のため圧縮画像として、所定のROM(図1のCG−
ROM12)に記憶される。
2. Description of the Related Art Conventionally, in this type of display device, various display development stories (scenarios) are stored in a predetermined ROM (corresponding to the animation scenario data ROM 11 in FIG. 1, which is also shown in parentheses below). Aside
For example, the next story is selected based on disturbances (events) and random numbers that are uncertain factors such as user operations, the display content (display image) to be displayed is determined, and the display image based on the determination is selected. Create (draw) and display.
In this case, various element images (data) necessary for display are provided with image numbers for identifying them, so that each element image corresponds to each image number and to save storage capacity. As a compressed image, a predetermined ROM (CG-
It is stored in the ROM 12).

【0003】ここで、圧縮画像を展開(デコード)する
ためには、その展開処理のための処理時間を要し、ま
た、一般に、ROMはRAMに比べてアクセスに要する
時間が掛かる(応答速度が遅い)。このため、この種の
表示装置では、表示に先行して、画像展開用の記憶領域
(展開バッファ:図1のデコードバッファ32)に要素
画像を展開して、表示画面(図1の表示器20)に合わ
せて表示(スクリーン)用バッファ(図1のスクリーン
バッファ21)に配置して順次走査・送出することによ
り表示する。また、従前に表示した画像を再表示する場
合の再度の展開処理を不要とすべく、上記の展開バッフ
ァを利用して、いわゆるキャッシュ処理による管理(キ
ャッシュ制御)を行う。また、次に表示すべき表示画像
を作成(配置)する途中で、展開バッファ(キャッシュ
領域)がいっぱいになった場合には、更新(登録)履歴
順の最古の画像から順に削除(領域を解放)して、展開
に必要な領域を確保し、その確保された領域に新たな要
素画像を展開する。
Here, in order to expand (decode) a compressed image, a processing time for the expansion processing is required, and in general, ROM requires more time to access than RAM (the response speed is high). slow). Therefore, in this type of display device, prior to the display, the element images are expanded in the storage area for image expansion (expansion buffer: decode buffer 32 in FIG. 1), and the display screen (display unit 20 in FIG. 1 is displayed. ) Is arranged in a display (screen) buffer (screen buffer 21 in FIG. 1) and sequentially scanned and sent out for display. Further, in order to eliminate the need for re-expansion processing when the previously displayed image is re-displayed, so-called cache processing management (cache control) is performed using the above expansion buffer. If the expansion buffer (cache area) becomes full while creating (arranging) the display image to be displayed next, the oldest image in the update (registration) history order is deleted (area is deleted). The area is released to secure an area required for expansion, and a new element image is expanded in the area thus secured.

【0004】[0004]

【発明が解決しようとする課題】ところで、上述の従来
の考え方、すなわち、登録が最古の画像から順に削除
(領域を解放)する考え方は、「登録が古い画像は、少
なくとも最近は使用していない」との考え方に基づくも
のである。しかし、用意された表示展開ストーリー(シ
ナリオ)に基づいて表示される(登場する)要素画像
(登場画像)の中には、1回出現(登場)すると、ほぼ
常駐状態で必要になる(常駐で登場する)ものがある。
また、常駐状態までは行かなくても、シナリオ上、頻繁
に登場するものもある。
By the way, the above-mentioned conventional idea, that is, the idea of sequentially deleting images from the earliest registered image (release the area) is as follows. It is based on the idea of "no". However, in the element image (appearing image) displayed (appearing) based on the prepared display development story (scenario), once appearing (appearing) once, it becomes necessary to be almost resident (in the resident case). There will be some).
In addition, there are some scenarios that appear frequently even if you do not go to the resident state.

【0005】例えば図8(a)に示す最初の1画面分の
表示画像(1コマ目)GAでは、1画面分のサイズを有
する背景画像G1の上に、要素画像G2、G3、G4A
および要素画像G5Aを配置し(これを、1コマ目「1
−2−3−4A−5A」のように表現する)、2コマ目
では、同図(b)のように、それぞれ要素画像G4A、
G5Aの位置を変化させた要素画像G4B、G5Bを配
置して、表示画像GBを作成する(すなわち、2コマ目
「1−2−3−4B−5B」となる)。この場合、背景
画像G1(画像「1」)などは両方の画面で使用してい
るので(図示の例では画像「2」や「3」も同様)、本
来なら展開済みの画像を利用可能なはずであるが、従来
のものでは、途中で展開バッファがいっぱいになったと
きに、最古の画像「1」を削除(領域を開放)するた
め、2コマ目ですぐに画像「1」が必要になって再度の
展開処理を行う必要がある。また、以降に続く画面にお
いても同様に再度の画像展開が頻発すれば、処理時間の
浪費は膨大となる。
For example, in the first display image (first frame) GA for one screen shown in FIG. 8A, the element images G2, G3, G4A are arranged on the background image G1 having the size for one screen.
And the element image G5A are arranged (this is the first frame "1
-2-3-4A-5A "), in the second frame, as shown in FIG.
The element images G4B and G5B in which the position of G5A is changed are arranged to create the display image GB (that is, the second frame becomes “1-2-3-4B-5B”). In this case, since the background image G1 (image “1”) and the like are used on both screens (the images “2” and “3” are also the same in the example shown in the figure), it is possible to use the image that has been expanded in the original case. As expected, with the conventional method, when the expansion buffer became full halfway through, the oldest image "1" was deleted (the area was released), so the image "1" was immediately deleted in the second frame. If necessary, it is necessary to perform the expansion process again. Further, if the image expansion again occurs frequently in the subsequent screens, the processing time is wasted.

【0006】すなわち、従来の考え方によれば、余分な
画像処理(展開処理)のために処理時間を浪費すること
があり、このことが、画像表示処理の高速化の妨げとな
っていた。なお、キャッシュ領域を大きくして要素画像
の格納数を増加させると、その要素画像を検索するため
のいわゆるオーバヘッドが増大してしまい、同様に画像
表示処理の高速化の妨げとなる。
That is, according to the conventional concept, extra image processing (expansion processing) sometimes wastes processing time, which hinders speeding up of image display processing. If the cache area is increased to increase the number of stored element images, so-called overhead for searching the element images increases, which also hinders speeding up of image display processing.

【0007】本発明は、シナリオに従って登場する要素
画像を登場画像としての特性により分類して管理するこ
とにより、画像表示処理の高速化を図ることができる表
示装置および表示装置のキャッシュ制御方法を提供する
ことを目的とする。
The present invention provides a display device and a cache control method for the display device, which can speed up the image display processing by classifying and managing the element images that appear according to the scenario according to the characteristics as the appearance image. The purpose is to do.

【0008】[0008]

【課題を解決するための手段】本発明の請求項1の表示
装置は、表示展開ストーリーを規定したシナリオに基づ
いて、前記表示画面の表示画像を作成して表示する表示
装置であって、前記シナリオをデータ化したシナリオデ
ータを記憶するシナリオ記憶手段と、表示画像の要素画
像の元になる圧縮画像を記憶する圧縮画像記憶手段と、
前記表示画面の表示画像を配置して記憶するための表示
バッファと、前記シナリオに従って登場する要素画像
を、登場画像として前記表示バッファに配置するため
に、その圧縮画像に基づいて画像展開して前記登場画像
として記憶する展開バッファと、前記展開バッファを、
前記登場画像のキャッシュ領域として管理するキャッシ
ュ管理手段と、を備え、前記展開バッファは、前記登場
画像を分類して格納するための複数の分類キャッシュ領
域を有し、前記シナリオデータは、自己が示すシナリオ
の登場画像となる1以上の各要素画像を指定する画像指
定情報と、前記各要素画像に対応してそれぞれを前記複
数の分類キャッシュ領域のいずれかに分類して格納する
ためのキャッシュ分類情報と、を含み、前記キャッシュ
管理手段は、前記展開バッファに登場画像を格納させる
ときに、その登場画像に対応するキャッシュ分類情報に
基づいて前記複数の分類キャッシュ領域のいずれかに分
類して格納させる登場画像分類手段と、前記複数の分類
キャッシュ領域のそれぞれを管理する複数の分類キャッ
シュ管理手段と、を有することを特徴とする。
A display device according to claim 1 of the present invention is a display device for creating and displaying a display image of the display screen based on a scenario defining a display development story, wherein: Scenario storage means for storing scenario data in which the scenario is converted into data, compressed image storage means for storing a compressed image which is a source of the elemental image of the display image,
A display buffer for arranging and storing a display image of the display screen, and an element image appearing according to the scenario are arranged as an appearance image in the display buffer, and the image is expanded based on the compressed image and the The expansion buffer stored as an appearance image, and the expansion buffer,
Cache management means for managing the appearance image as a cache area, the expansion buffer has a plurality of classification cache areas for classifying and storing the appearance image, and the scenario data is indicated by itself. Image designation information for designating one or more element images that are appearance images of a scenario, and cache classification information for classifying and storing each of the element images in one of the plurality of classification cache areas. And storing the appearance image in the expansion buffer, the cache management unit classifies and stores the appearance image in any of the plurality of classification cache areas based on cache classification information corresponding to the appearance image. An appearance image classification means, a plurality of classification cache management means for managing each of the plurality of classification cache areas, Characterized in that it has.

【0009】この表示装置では、表示展開ストーリーを
規定したシナリオに基づいて、表示画面の表示画像を作
成して表示するが、その要素画像の元になる圧縮画像を
記憶し、シナリオに従って登場する要素画像を登場画像
として表示バッファに配置するために、圧縮画像に基づ
いて画像展開して展開バッファに記憶し、その展開バッ
ファを登場画像のキャッシュ領域として管理する。ここ
で、展開バッファは、登場画像を分類して格納するため
の複数の分類キャッシュ領域を有し、また、シナリオは
シナリオデータとしてデータ化され、自己が示すシナリ
オの各登場画像(要素画像)を指定する画像指定情報
と、それぞれを複数の分類キャッシュ領域のいずれかに
分類して格納するためのキャッシュ分類情報と、を含
む。このため、キャッシュ管理では、登場画像を画像展
開してキャッシュ領域に格納するに際して、その登場画
像に対応するキャッシュ分類情報に基づいて複数の分類
キャッシュ領域のいずれかに分類して格納させ、各分類
キャッシュ領域のそれぞれを管理する。すなわち、例え
ば常駐されたり頻出する画像と逆に一度限りや極希に出
現する画像とを各特性として分類したり、画像サイズ
(所定サイズ以上か否かなど)により分類するなど、登
場画像としての特性をキャッシュ分類情報に反映させて
おくことにより、シナリオに従って登場する要素画像を
登場画像としての特性により分類して管理することがで
きる。これにより、ほぼ常駐画像を何度も画像展開する
などの余分な画像(展開)処理や、極希な画像のための
領域を無用に長く確保しておくなどのキャッシュ領域の
無用な確保などを低減でき、この結果、画像表示処理の
高速化を図ることができる。
In this display device, a display image of a display screen is created and displayed based on a scenario defining a display development story, but a compressed image that is a source of the element image is stored and an element that appears according to the scenario is stored. In order to arrange an image as an appearance image in the display buffer, the image is expanded based on the compressed image and stored in the expansion buffer, and the expansion buffer is managed as a cache area for the appearance image. Here, the expansion buffer has a plurality of classification cache areas for classifying and storing the appearing images, and the scenario is converted into scenario data, and each appearing image (element image) of the scenario shown by itself is stored. It includes image designation information to be designated, and cache classification information for classifying and storing each in one of a plurality of classification cache areas. Therefore, in cache management, when an appearance image is expanded and stored in the cache area, it is classified and stored in one of a plurality of classification cache areas based on the cache classification information corresponding to the appearance image, and each classification image is stored. Manage each of the cache areas. In other words, for example, an image that appears once or extremely rarely on the contrary to an image that is resident or frequently appears is classified as each characteristic, or is classified according to image size (whether or not it is a predetermined size or more). By reflecting the characteristics in the cache classification information, element images that appear according to the scenario can be classified and managed according to the characteristics as the appearance image. This makes it possible to perform extra image (expansion) processing such as image expansion of almost resident images many times, and to secure unnecessary cache areas such as unnecessarily long securing areas for extremely rare images. Therefore, the image display processing can be speeded up.

【0010】また、請求項2のキャッシュ制御方法は、
次々と変化する表示画面の1種類以上の表示展開ストー
リーを規定したシナリオに従って登場する複数の要素画
像を、画像展開用のバッファに圧縮画像に基づいて登場
画像として画像展開するとともに、前記画像展開用のバ
ッファを登場画像のキャッシュ領域として管理するため
の表示装置のキャッシュ制御方法であって、前記展開バ
ッファ内に前記登場画像を分類して格納するための複数
の分類キャッシュ領域を設け、前記シナリオをデータ化
したシナリオデータは、自己が示すシナリオの登場画像
となる1以上の各要素画像を指定する画像指定情報と、
前記各要素画像に対応してそれぞれを前記複数の分類キ
ャッシュ領域のいずれかに分類して格納するためのキャ
ッシュ分類情報と、を含み、前記シナリオに従って登場
画像を画像展開して格納するときに、その登場画像に対
応するキャッシュ分類情報に基づいて前記複数の分類キ
ャッシュ領域のいずれかに分類して格納し、前記複数の
分類キャッシュ領域のそれぞれを管理することを特徴と
する。
The cache control method according to claim 2 is
A plurality of element images that appear according to a scenario that defines one or more types of display expansion stories of display screens that change one after another are expanded as appearance images based on compressed images in a buffer for image expansion, and the image expansion is performed. Is a cache control method for a display device for managing the buffer as a cache area of appearance images, wherein a plurality of classification cache areas for classifying and storing the appearance images are provided in the expansion buffer, and the scenario The data-converted scenario data includes image designation information that designates one or more element images that are the appearance images of the scenario shown by the self.
Cache classification information for classifying and storing each in one of the plurality of classification cache areas corresponding to each of the element images, and when the appearance image is expanded and stored according to the scenario, It is characterized in that it is classified and stored in any of the plurality of classification cache areas based on the cache classification information corresponding to the appearance image, and each of the plurality of classification cache areas is managed.

【0011】このキャッシュ制御方法では、圧縮画像に
基づいて登場画像として画像展開する展開バッファ内
に、登場画像を分類して格納するための複数の分類キャ
ッシュ領域を設ける。これに対して、シナリオデータ
は、表示画面の表示展開ストーリーを規定したシナリオ
をデータ化したものであり、シナリオの登場画像となる
各要素画像を指定する画像指定情報と、それぞれを複数
の分類キャッシュ領域のいずれかに分類して格納するた
めのキャッシュ分類情報と、を含む。このため、シナリ
オに従って登場画像を画像展開して格納するときに、対
応するキャッシュ分類情報に基づいて分類して格納し、
複数の分類キャッシュ領域のそれぞれを管理する。この
結果、登場画像としての特性をキャッシュ分類情報に反
映させておくことにより、シナリオに従って登場する要
素画像を登場画像としての特性により分類して管理がで
き、ほぼ常駐する画像を何度も画像展開するなどの余分
な画像(展開)処理や、極希な画像のための無用なキャ
ッシュ領域の確保などを低減でき、画像表示処理の高速
化を図ることができる。
In this cache control method, a plurality of classified cache areas for classifying and storing the appearing images are provided in the decompressing buffer which decompresses the appearing images based on the compressed images. On the other hand, the scenario data is data that is a scenario that defines the display development story of the display screen, and includes image specification information that specifies each element image that is the appearance image of the scenario and multiple classification caches. Cache classification information for classifying and storing any of the areas. For this reason, when the appearance image is expanded and stored according to the scenario, it is classified and stored based on the corresponding cache classification information,
Manages each of a plurality of classification cache areas. As a result, by reflecting the characteristics of the appearance image in the cache classification information, element images that appear according to the scenario can be classified and managed according to the characteristics of the appearance image, and images that are almost resident can be expanded many times. It is possible to reduce an unnecessary image (expansion) process such as performing an operation, secure an unnecessary cache area for an extremely rare image, and speed up the image display process.

【0012】[0012]

【発明の実施の形態】以下、本発明の一実施形態に係る
表示装置について、添付図面を参照しながら詳細に説明
する。
DETAILED DESCRIPTION OF THE INVENTION A display device according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

【0013】図1および図2に示すように、まず、本実
施形態の表示装置1は、図外の制御装置からコマンドポ
ートCPを介してコマンド(図2のCMD参照)を受信
し(S2)、その受信コマンドに従って、その後の表示
処理の展開(新ストーリー展開)のための次(回)の表
示画像を決定して(S3)、表示器(表示手段)20の
表示タイミングに同期した表示処理を行うものである。
As shown in FIGS. 1 and 2, first, the display device 1 of the present embodiment receives a command (see CMD in FIG. 2) from the control device (not shown) via the command port CP (S2). According to the received command, the next (time) display image for subsequent development of display processing (new story development) is determined (S3), and the display processing synchronized with the display timing of the display device (display means) 20. Is to do.

【0014】この表示装置1は、図示のように、表示装
置1全体を制御する制御部10と、液晶等から成る表示
パネル(表示画面)を有する表示器20と、制御部10
からの指令に従って表示画像の作成(描画)や表示のた
めの処理(図2の表示画像送出処理(S5))を司るビ
デオ表示用プロセッサ(Video Display Processor:以下
「VDP」)30と、を備えている。VDP30には、
表示画像を構成する要素画像を表示器20の表示画面に
合わせて配置するためのRAM(いわゆるビデオRAM
(VRAM))等から成るスクリーンバッファ21と、
その他の処理のための作業領域となる画像展開管理用R
AM300が接続されている。
As shown in the figure, the display device 1 includes a control unit 10 for controlling the entire display device 1, a display device 20 having a display panel (display screen) made of liquid crystal, and a control unit 10.
A video display processor (Video Display Processor: hereinafter “VDP”) 30 which controls a process (display image sending process (S5) of FIG. 2) for creating (drawing) and displaying a display image in accordance with a command from ing. VDP30 has
A RAM (a so-called video RAM) for arranging the elemental images forming the display image in accordance with the display screen of the display 20.
(VRAM)) and the like, and a screen buffer 21,
Image development management R, which is a work area for other processing
The AM 300 is connected.

【0015】また、制御部10は、CPU等から成り、
この制御部10には、ユーザの操作などの不確定要素に
よる外乱(イベント)等を含むコマンドを受信するため
のコマンドポートCPの他、乱数発生(図2の乱数発生
処理(RDM))などに基づいて選択される各種の表示
展開ストーリー(シナリオ)を記憶するアニメーション
シナリオデータROM11と、各種コマンドや各種シナ
リオにより表示候補となる複数の要素画像の表示画像デ
ータを記憶容量節約のため圧縮画像(データ)として記
憶する表示画像データ用ROM(Computer-Graphics RO
M:以下「CG−ROM」)12と、その他の処理のため
の作業領域となる制御管理用RAM100が接続されて
いる。
The control unit 10 is composed of a CPU and the like,
In addition to the command port CP for receiving a command including a disturbance (event) due to an uncertain factor such as a user's operation, the control unit 10 performs random number generation (random number generation processing (RDM) in FIG. 2) and the like. An animation scenario data ROM 11 that stores various display development stories (scenarios) selected based on the display image data of a plurality of element images that are display candidates according to various commands and various scenarios are compressed images (data ) For display image data (Computer-Graphics RO)
M: hereinafter referred to as "CG-ROM") 12 and a control management RAM 100 which is a work area for other processing.

【0016】CG−ROM12には、RGBのカラー3
原色の混色として表現された複数種類の使用色とそれら
のインデックスとなる色番号とを対応づけたいわゆるカ
ラーパレットを集めたカラーパレット群121と、各要
素画像の圧縮画像を集めた画像ビットマップデータ群1
22と、が記憶され(それらのための領域が確保され)
ている。
In the CG-ROM 12, RGB color 3
Color palette group 121, which is a collection of so-called color palettes, in which a plurality of types of used colors expressed as a mixture of primary colors and color numbers serving as their indexes are associated with each other, and image bitmap data that is a collection of compressed images of each element image. Group 1
22 and are stored (the area for them is reserved)
ing.

【0017】また、VDP30に接続された画像展開管
理用RAM300には、CG−ROM12の内容と対応
するように、表示に必要なカラーパレットのデータをそ
の表示に先行してロードするためのカラーパレットのロ
ード領域(カラーパレットテーブル)31と、同様に、
表示に必要な要素画像をその表示に先行して圧縮画像か
ら展開(デコード)して(展開された画像にデコードし
て)準備するための展開バッファ(デコードキャッシュ
領域)32などの領域が確保されている。
In the image development management RAM 300 connected to the VDP 30, a color palette for loading the data of the color palette required for display prior to the display so as to correspond to the contents of the CG-ROM 12. Load area (color palette table) 31 of
An area such as a decompression buffer (decode cache area) 32 for securing (decoding) the compressed elemental image prior to the display of the elemental image required for display (decoding into an expanded image) is secured. ing.

【0018】なお、表示装置1では、この展開バッファ
32を利用して、いわゆるキャッシュ処理による管理
(キャッシュ制御)を行うので、デコードキャッシュ領
域を兼ねている(以下「デコードキャッシュ領域32」
という)。このため、制御部10に接続された制御管理
用RAM100には、このキャッシュ領域の管理を含み
キャッシュ制御のための作業領域として、キャッシュ管
理ワーク領域13などの領域が確保されている。
Since the display device 1 uses the expansion buffer 32 to perform management (cache control) by so-called cache processing, it also serves as a decode cache area (hereinafter referred to as "decode cache area 32").
That). Therefore, in the control management RAM 100 connected to the control unit 10, an area such as the cache management work area 13 is secured as a work area for cache control including management of the cache area.

【0019】図2に示すように、電源ONにより起動さ
れると、表示装置1では、まず、初期設定を行い(S
1)、次いで、受信コマンド処理を行い(S2)、コマ
ンド受信による割込(CMD)が発生しているときに
は、そのコマンドCMDに従って、アニメーションシナ
リオデータROM11のシナリオを参照して、それらに
よる新ストーリー展開のための次回の表示画像を決定す
る一方、新たなコマンドを受信していないときには、元
のストーリー展開(旧ストーリー展開)のための次回の
表示画像を決定する(S3)。
As shown in FIG. 2, when the power is turned on, the display device 1 first performs initial setting (S
1) Then, the received command process is performed (S2), and when an interrupt (CMD) due to command reception occurs, the scenario in the animation scenario data ROM 11 is referred to according to the command CMD, and a new story is developed by them. On the other hand, when the new command is not received, the next display image for the original story development (old story development) is determined (S3).

【0020】ただし、この場合、次回の表示画像の決定
のために、必要に応じて乱数発生関数(を利用した乱数
発生機能)により乱数を発生させ(RDM)、その乱数
に基づいて、表示画像の複数の候補の中から、次回の表
示画像を選択して決定する。また、時刻管理(S52)
の結果(時刻制御信号Ct)を参照する(図示一点鎖
線)。すなわち、次回の表示画像は、受信コマンドの有
無と、発生させた乱数(数値)と、時刻管理の結果と、
それらにより選択されたシナリオと、に基づいて決定さ
れる。なお、この場合、表示器20に対しては、前回の
表示画像による表示画像の送出が行われているので、こ
こでは次回の表示画像の決定のみ行って(S3)、表示
器20の表示パネル(表示画面)の表示タイミング、す
なわち表示画像データ送出のトリガとなる垂直同期信号
(以下「Vsync信号」)VSの入力(割込)を待つ
(S4)。
However, in this case, in order to determine the next display image, a random number is generated (RDM) by a random number generation function (a random number generation function utilizing), and the display image is displayed based on the random number. The next display image is selected and determined from the plurality of candidates. Also, time management (S52)
The result (time control signal Ct) is referred to (dotted line in the figure). That is, the next display image shows the presence / absence of a received command, the generated random number (numerical value), the result of time management,
It is determined based on the scenario selected by them. In this case, since the display image based on the previous display image is transmitted to the display device 20, only the next display image is determined here (S3), and the display panel of the display device 20 is displayed. It waits for the display timing of the (display screen), that is, the input (interrupt) of the vertical synchronization signal (hereinafter, “Vsync signal”) VS that triggers the display image data transmission (S4).

【0021】次に、Vsync信号の入力があった時点
で、次の表示画像送出処理に移行する(S5)。スクリ
ーンバッファ21は、それぞれ少なくとも1画面分の表
示画像を格納できる領域を各1個のバッファとして、互
いに切換可能な複数個のバッファを有していて、ここで
は、そのうちの1個内に用意(作成、描画、配置)して
あった表示画像(データ)の送出(表示)と並行して、
次回の(新または旧ストーリー展開に従った)表示画像
を他(次)のバッファ内に作成(描画)する(S5
1)。また、描画(画像の作成)に時間が掛かり、次の
Vsync信号までに作成が間に合わないときには、そ
の次の表示画像作成(描画)は行わない旨を、(図示一
点鎖線の時刻制御信号Ctを受け取ることにより)次回
の表示画像決定処理(S3)において参照するために、
時刻管理を行う(S52)。
Next, when the Vsync signal is input, the process proceeds to the next display image transmitting process (S5). The screen buffer 21 has a plurality of buffers that can be switched with each other, with each buffer having an area capable of storing at least one screen of display image as one buffer. Here, one of them is prepared ( In parallel with sending (displaying) the display image (data) that was created, drawn, and arranged,
A display image for the next time (according to the development of the new or old story) is created (drawn) in another (next) buffer (S5).
1). Further, if it takes time to draw (create an image) and the creation is not completed by the next Vsync signal, it is stated that the next display image creation (drawing) is not performed (the time control signal Ct indicated by the dashed line in the figure is displayed). In order to refer to it in the next display image determination process (S3) by receiving it,
Time management is performed (S52).

【0022】そして、表示画像送出処理によりその回の
表示が終了すると(S5)、同様に、次回の受信コマン
ド処理(S2)〜表示画像送出処理(S5)のループ処
理を行う。
Then, when the display for that time is completed by the display image sending process (S5), similarly, the loop process of the next reception command process (S2) to the display image sending process (S5) is performed.

【0023】ところで、本実施形態の表示装置1では、
シナリオに従って登場する要素画像を登場画像としての
特性により分類して管理することにより、画像表示処理
の高速化を図っているので、以下、その点について詳述
する。
By the way, in the display device 1 of the present embodiment,
By categorizing and managing the element images that appear according to the scenario according to the characteristics as the appearance image, the image display processing is speeded up, and this point will be described in detail below.

【0024】まず、本実施形態では、登場画像を2種類
に分類して扱う。1つは、出現頻度が所定以上の登場画
像(要素画像)であり、以下、「保護画像」と呼ぶ。例
えばシナリオ全体に対する表示時間が所定の比率以上の
もの、あるいはシナリオデータの1つのデータブロック
で表現される期間は最初に出現後常駐するもの、など
を、キャッシュ管理上、その展開画像(登場画像)の格
納領域を解放せずに保護しておいた方が有利な保護画像
に分類する。他の1つは、保護画像に該当しない登場画
像であり、以下、「通常画像」と呼ぶ。
First, in this embodiment, the appearing images are classified into two types and handled. One is an appearance image (element image) having an appearance frequency of a predetermined value or more, and is hereinafter referred to as a “protected image”. For example, in the cache management, a developed image (appearing image) such that the display time with respect to the entire scenario is equal to or more than a predetermined ratio, or that the period represented by one data block of the scenario data is resident after first appearing. It is classified as a protected image in which it is advantageous to protect the storage area of without releasing. The other one is an appearance image that does not correspond to a protected image, and will be referred to as a “normal image” below.

【0025】本実施形態では、図1に示すように、デコ
ードキャッシュ領域32内に、通常画像を画像展開して
格納する通常キャッシュ(領域)321と、保護画像を
画像展開して格納する保護キャッシュ(領域)322
と、の計2個の分類キャッシュ領域を確保する(設け
る)。各分類キャッシュ領域321、322(代表する
ときは統括して「デコードキャッシュ領域32」とい
う)は、図3に示すように、それぞれ複数のブロック
(ブロック00〜xx:xxは所定の整数)に分割して
利用される。
In the present embodiment, as shown in FIG. 1, a normal cache (area) 321 for expanding and storing a normal image in a decode cache area 32 and a protection cache for expanding and storing a protected image in an image are stored. (Area) 322
, And a total of two classification cache areas are secured (provided). As shown in FIG. 3, each classification cache area 321, 322 (collectively referred to as “decode cache area 32”) is divided into a plurality of blocks (blocks 00 to xx: xx is a predetermined integer). And then used.

【0026】また、図1に示すように、キャッシュ管理
ワーク領域13には、上記の通常キャッシュ(領域)3
21および保護キャッシュ(領域)322に対応させ
て、それぞれを管理するための通常キャッシュ用(キャ
ッシュ管理ワーク領域)131および保護キャッシュ
(キャッシュ管理ワーク領域)132の計2個の分類キ
ャッシュ管理ワーク領域を確保する(設ける)。各分類
キャッシュ管理ワーク領域131、132(代表すると
きは統括して「キャッシュ管理ワーク領域13」とい
う)は、図4(a)に示すように、デコードキャッシュ
領域32(の各分類キャッシュ領域321、322)
に、新規に画像展開して格納した要素画像(登場画像)
の画像格納情報(検索用データ)を、対応するキャッシ
ュ索引情報(ID番号)の順(ID00〜IDnn:n
nは所定の整数)のブロック(IDブロック)に格納す
る。
Further, as shown in FIG. 1, the cache management work area 13 has the above-mentioned normal cache (area) 3.
21 and a protected cache (area) 322, a total of two classified cache management work areas, that is, a normal cache (cache management work area) 131 and a protected cache (cache management work area) 132 for managing each of them are provided. Secure (provide). As shown in FIG. 4A, each of the classification cache management work areas 131 and 132 (collectively referred to as “cache management work area 13”) has a decoding cache area 32 (each classification cache area 321 thereof). 322)
The element image (appearance image) newly developed and stored in
Image storage information (search data) in the order of corresponding cache index information (ID number) (ID00 to IDnn: n
n is stored in a block (ID block) of a predetermined integer).

【0027】なお、キャッシュ管理ワーク領域13(各
分類キャッシュ管理ワーク領域131、132)では、
ID番号と画像格納情報(検索用データ)とが対応づけ
られていれば、ID番号順でなくても良い。また、保護
画像については、通常画像ほどの数にはならないので、
各保護画像の出番を待つことなく、予めID番号を定め
てデコード(画像展開)して(保護キャッシュ322
に)格納しておいても良い。
In the cache management work area 13 (each classification cache management work area 131, 132),
If the ID numbers and the image storage information (search data) are associated with each other, the ID numbers may not be in order. Also, the number of protected images is not as large as the number of normal images, so
Without waiting for the turn of each protected image, an ID number is determined in advance and decoded (image development) (protected cache 322
It may be stored.

【0028】ここで、この場合の各画像格納情報(検索
用データ)は、図4(b)に示すように、任意のID番
号IDii(iiはnn以下の任意の整数)について、
そのID番号に対応する(展開された)要素画像(デー
タ)の、デコードキャッシュ領域32(図3参照)内で
の先頭ブロック番号(先頭ブロックNo.:ブロック0
0〜xxのいずれか)、後端ブロック番号(後端ブロッ
クNo.)および画像番号(画像No.)から成る。
Here, as shown in FIG. 4B, each image storage information (search data) in this case has an arbitrary ID number IDii (ii is an arbitrary integer of nn or less),
The head block number (head block No .: block 0) in the decode cache area 32 (see FIG. 3) of the element image (data) corresponding to the ID number (developed)
0 to xx), a rear end block number (rear end block No.), and an image number (image No.).

【0029】このため、表示に使用する要素画像がすで
に展開されているか否か(キャッシュがヒットしている
か否か)を検索する場合、キャッシュ管理用ワーク領域
13に格納された検索用データをID番号順に検索し
て、表示対象の画像の画像番号(画像No.)があるか
否かを検索し、検索された(ヒットした)ときには、そ
のID番号の先頭ブロック番号(先頭ブロックNo.)
および後端ブロック番号(後端ブロックNo.)に基づ
いて、デコードキャッシュ領域32内の画像を利用し、
検索されなかった(ミスヒットした)ときには、改めて
画像展開からの処理を行う。
Therefore, when searching for whether the element image used for display has already been expanded (whether the cache is hit or not), the search data stored in the cache management work area 13 is ID. By searching in numerical order, it is searched whether or not there is an image number (image No.) of the image to be displayed. When the image is searched (hit), the head block number (head block No.) of the ID number is searched.
The image in the decode cache area 32 is used based on the trailing end block number and the trailing end block number.
If it is not searched (mis-hit), the process from image expansion is performed again.

【0030】なお、本実施形態では、先頭ブロックおよ
び後端ブロックを指定しているが、先頭ブロックとそこ
からのブロック数等で指定することもできる。また、デ
コードキャッシュ領域32がブロック管理されているの
で、ブロック番号を検索用に用いるが、デコードキャッ
シュ領域32内のアドレスを直接用いることもでき、先
頭アドレスと後端アドレス、あるいは先頭アドレスとそ
こからのバイト数やワード数等により指定できる。
Although the first block and the last block are designated in the present embodiment, the first block and the number of blocks from the first block can be designated. Also, since the decode cache area 32 is block managed, the block number is used for searching, but the address in the decode cache area 32 can also be used directly, and the start address and the rear end address, or the start address and from there It can be specified by the number of bytes and words.

【0031】ところで、図5に示すように、アニメーシ
ョンシナリオデータROM11には、同図(a)に示す
ように、登録されたシナリオデータ全体の構成を示すシ
ナリオ情報ヘッダ(データ)と、ブロック化されて記憶
されたn個(nは所定の整数)の各シナリオデータが格
納されている。
By the way, as shown in FIG. 5, in the animation scenario data ROM 11, as shown in FIG. 5A, a scenario information header (data) showing the entire structure of the registered scenario data and a block are created. Each of the n pieces of scenario data (n is a predetermined integer) stored in the memory is stored.

【0032】ここで、任意の各シナリオiデータブロッ
ク(iはn以下の任意の整数)には、同図(b)に示す
ように、そのシナリオデータにより規定されたフレーム
数(表示器20に表示する表示画面の画面数:そのシナ
リオに従って作成する表示画像数)に続いて、そのシナ
リオに従って登場する各要素画像について、登場画像と
して画像指定するための画像番号(画像No.)と、そ
の登場画像(要素画像)を2個の分類キャッシュ領域3
21、322(すなわち通常キャッシュ321および保
護キャッシュ322)のいずれかに分類して格納するた
めのキャッシュフラグ(例えば「0」のときは通常キャ
ッシュ321、「1」のときは保護キャッシュ322:
キャッシュ分類情報)CFと、の情報が含まれている。
本実施形態では、出現頻度が所定以上の登場画像に対応
するキャッシュフラグCF=「1」(保護画像を示
す)、その他の登場画像に対応するキャッシュフラグC
F=「0」(通常画像を示す)となる。
Here, in each arbitrary scenario i data block (i is an arbitrary integer not larger than n), as shown in FIG. 6B, the number of frames defined by the scenario data (in the display 20) After the number of display screens to be displayed: the number of display images created according to the scenario), for each element image that appears according to the scenario, an image number (image No.) for designating an image as an appearance image and its appearance Images (elemental images) are classified into two classification cache areas 3
21, 322 (that is, the normal cache 321 and the protected cache 322) for storing the classified cache (for example, "0" is the normal cache 321, and "1" is the protected cache 322:
The cache classification information) CF is included.
In the present embodiment, the cache flag CF = “1” (indicating a protected image) corresponding to an appearing image having an appearance frequency of a predetermined value or more, and the cache flag C corresponding to another appearing image.
F = “0” (indicating a normal image).

【0033】このため、制御部(キャッシュ管理手段)
10は、キャッシュ管理(キャッシュ制御)として、次
の表示画像のための登場画像が未登録の場合、登場画像
を画像展開してデコードキャッシュ領域32に格納する
に際して、その登場画像に対応するキャッシュフラグ
(キャッシュ分類情報)CFに基づいて、2個(複数)
の分類キャッシュ領域321、322のいずれか(通常
キャッシュ321または保護キャッシュ322)に分類
して格納して、各分類キャッシュ領域のそれぞれを管理
する。
Therefore, the control unit (cache management means)
As cache management (cache control) 10, when an appearance image for the next display image is not registered, when the appearance image is expanded and stored in the decode cache area 32, a cache flag corresponding to the appearance image is displayed. (Cache classification information) 2 (plural) based on CF
The classified cache areas 321 and 322 are classified and stored in one of the classified cache areas 321 and 322 (normal cache 321 or protection cache 322), and each classified cache area is managed.

【0034】この結果、本実施形態の表示装置1では、
出現頻度が高い登場画像は保護画像として保護キャッシ
ュ322に画像展開して格納され、その管理は、保護キ
ャッシュ用(キャッシュ管理ワーク領域)132に基づ
いて行われる。一方、その他の登場画像は通常画像とし
て通常キャッシュ321に画像展開して格納され、その
管理は、通常キャッシュ用(キャッシュ管理ワーク領
域)131に基づいて行われる。
As a result, in the display device 1 of this embodiment,
The appearance image having a high appearance frequency is expanded and stored in the protection cache 322 as a protection image, and its management is performed based on the protection cache (cache management work area) 132. On the other hand, the other appearing images are expanded and stored in the normal cache 321 as normal images, and their management is performed based on the normal cache (cache management work area) 131.

【0035】この場合、例えば保護キャッシュ用132
として、1個のシナリオデータブロックに登場する保護
画像の最大容量分だけ確保しておけば、そのシナリオデ
ータブロックのシナリオに従った表示を行う間、保護画
像を格納しておくことができるので、(ほぼ常駐等の)
出現頻度が高い登場画像を何度も画像展開するなどの余
分な画像(展開)処理を防止できる。また、この場合、
予め(そのシナリオデータブロックのシナリオ開始時
に)全ての保護画像を画像展開して格納しておいても良
い。
In this case, for example, for protection cache 132
As long as the maximum capacity of the protected image that appears in one scenario data block is secured, the protected image can be stored during the display according to the scenario of the scenario data block. (Almost resident, etc.)
It is possible to prevent extra image (expansion) processing such as repeatedly expanding an appearance image having a high appearance frequency. Also in this case,
All protected images may be expanded and stored in advance (at the start of the scenario of the scenario data block).

【0036】一方、通常キャッシュ131側には、従来
通りの履歴制御を行うことができ、このようにしても、
出現頻度が所定以上高い登場画像は含まれないので、同
じ登場画像について何度も画像展開するなどの余分な画
像(展開)処理をすることは少ない。
On the other hand, on the side of the normal cache 131, the history control as in the conventional case can be performed.
Since the appearance images having the appearance frequencies higher than a predetermined value are not included, it is rare to perform extra image (expansion) processing such as image expansion for the same appearance image many times.

【0037】すなわち、登場画像としての特性をキャッ
シュ分類情報に反映させておくことにより、シナリオに
従って登場する要素画像を登場画像としての特性により
分類して管理することができる。これにより、ほぼ常駐
画像を何度も画像展開するなどの余分な画像(展開)処
理や、極希な画像のための領域を無用に長く確保してお
くなどのキャッシュ領域の無用な確保などを低減でき、
この結果、画像表示処理の高速化を図ることができる。
That is, by reflecting the characteristics of the appearance image in the cache classification information, it is possible to classify and manage the element images that appear according to the scenario by the characteristics of the appearance image. This makes it possible to perform extra image (expansion) processing such as expanding a resident image many times, and to secure unnecessary cache areas such as unnecessarily long securing extremely rare areas. Can be reduced,
As a result, the speed of image display processing can be increased.

【0038】なお、上述の実施形態では、出現頻度が高
い登場画像を保護画像として、出現頻度により分類した
が、例えば展開に時間が掛かり大きな領域を確保する必
要のある所定サイズ以上の登場画像を保護画像として、
画像サイズ(所定サイズ以上か否かなど)により分類す
るなども可能である。この場合、展開に時間を要する保
護画像を何度も画像展開するなどの余分な画像(展開)
処理を低減でき、また、展開のための時間や領域が少な
くて済む通常画像のために無用に領域を確保しておくな
ども避けることができ、この結果、画像表示処理の高速
化を図ることができる。
In the above-described embodiment, the appearance images having a high appearance frequency are classified as the protection images according to the appearance frequencies. However, for example, the appearance images having a predetermined size or more that requires a long time for expansion and needs to secure a large area are displayed. As a protection image,
It is also possible to classify the images according to the image size (whether the size is a predetermined size or more). In this case, an extra image (expansion) such as expanding a protected image that requires time to expand many times
The processing can be reduced, and it is also possible to avoid unnecessarily allocating an area for a normal image that requires less time and area for expansion, and as a result, speed up the image display processing. You can

【0039】また、上述の実施形態では、登場画像を分
類して格納するためのキャッシュ分類情報を各要素画像
毎に(キャッシュフラグCFとして)指定したが、一連
の複数の要素画像に対して指定したり、あるいは1また
は一連の複数のデータブロック毎にすることもできる。
In the above embodiment, the cache classification information for classifying and storing the appearing images is specified for each element image (as the cache flag CF), but it is specified for a series of plural element images. Alternatively, one or a series of a plurality of data blocks may be used.

【0040】また、上述の実施形態では、保護画像用の
保護キャッシュ322の管理のための保護キャッシュ用
(キャッシュ管理ワーク領域)132と、通常画像用の
通常キャッシュ321の管理のための通常キャッシュ用
(キャッシュ管理ワーク領域)131との構成を、図4
で前述のように同一構成にしたが、これらを別構成にし
ても良い。
In the above-described embodiment, the protection cache (cache management work area) 132 for managing the protection cache 322 for the protected image and the normal cache for managing the normal cache 321 for the normal image are used. The configuration of the (cache management work area) 131 is shown in FIG.
Although the same configuration is used as described above, they may be configured differently.

【0041】例えば図6に示すように、保護キャッシュ
用(キャッシュ管理ワーク領域)132の場合の各画像
格納情報(検索用データ)を、同図(b)に示すよう
に、任意のID番号IDiiについて、そのID番号に
対応する保護キャッシュ322(図3参照)内での先頭
ブロック番号および後端ブロック番号のみとして、画像
番号(画像No.)を省略する代わりに、図1に点線で
示すような画像対応キャッシュ情報ワーク領域を確保
し、保護キャッシュ用142として、図7に示すよう
に、ID番号と画像番号との対応テーブルを用意しても
良い。
For example, as shown in FIG. 6, each piece of image storage information (search data) in the case of the protection cache (cache management work area) 132 is converted to an arbitrary ID number IDii as shown in FIG. For the ID number, only the leading block number and trailing end block number in the protection cache 322 (see FIG. 3) corresponding to the ID number are omitted, and instead of omitting the image number (image No.), as indicated by the dotted line in FIG. An image correspondence cache information work area may be secured, and a correspondence table of ID numbers and image numbers may be prepared as the protection cache 142 as shown in FIG.

【0042】また、この場合、ID番号を画像番号に合
わせて(例えばID番号=画像番号として)設定すれ
ば、画像番号からID番号をさらに迅速に検索し易くな
る。さらに、この場合、図7の対応テーブルである保護
キャッシュ用(画像対応キャッシュ情報ワーク領域)1
42を省略し、暗黙の設定テーブルとして、図6の例え
ば画像番号に合うID番号に対応する検索用データを直
接検索しても良い。
Further, in this case, if the ID number is set in accordance with the image number (for example, ID number = image number), it becomes easier to retrieve the ID number from the image number more quickly. Further, in this case, for the protection cache (image corresponding cache information work area) 1 which is the correspondence table of FIG.
42 may be omitted and the search data corresponding to the ID number matching the image number in FIG. 6 may be directly searched as the implicit setting table.

【0043】また、図7におけるID番号の欄に、初期
状態では未格納状態を示す所定の未格納情報(所定値
「FF」等)を代わりに記憶しておき、対応する画像番
号の要素画像がデコードキャッシュ領域32(の保護キ
ャッシュ322)に画像展開された時点で、その対応I
D番号を格納するようにすれば、画像番号を検索するだ
けで、未格納か格納済みか、および格納済みのときには
対応するID番号を介して検索用データから登場画像の
所在まで、容易かつ迅速に検索できる。
Further, in the ID number column in FIG. 7, predetermined non-stored information indicating a non-stored state in the initial state (predetermined value "FF" or the like) is stored instead, and the element image of the corresponding image number is stored. When the image is expanded in the decoding cache area 32 (the protection cache 322 thereof), the corresponding I
If the D number is stored, it is easy and quick to search for the image number, whether it is unstored or stored, and when stored, from the search data to the location of the appearing image via the corresponding ID number. You can search for.

【0044】また、上述の例では、図6および図7の構
成を保護画像側のみとしたが、通常画像側も同様の同一
構成にすることもできる。もちろん、その他、本発明の
要旨を逸脱しない範囲で、適宜変更が可能である。
Further, in the above-mentioned example, the structures of FIGS. 6 and 7 are only for the protected image side, but the same structure can be used for the normal image side. Of course, other changes can be made as appropriate without departing from the scope of the present invention.

【0045】[0045]

【発明の効果】上述のように、本発明の表示装置および
表示装置のキャッシュ制御方法によれば、シナリオに従
って登場する要素画像を登場画像としての特性により分
類して管理することにより、画像表示処理の高速化を図
ることができる、などの効果がある。
As described above, according to the display device and the cache control method for the display device of the present invention, the image display processing is performed by classifying and managing the element images that appear according to the scenario according to the characteristics as the appearance image. There is an effect that the speed can be increased.

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

【図1】本発明の一実施形態に係る表示装置のブロック
図である。
FIG. 1 is a block diagram of a display device according to an exemplary embodiment of the present invention.

【図2】図1の表示装置における表示処理の概略フロー
チャートである。
FIG. 2 is a schematic flowchart of display processing in the display device of FIG.

【図3】図1のデコードキャッシュ領域の通常キャッシ
ュおよび保護キャッシュの双方に共通するブロック構成
を示す説明図である。
FIG. 3 is an explanatory diagram showing a block configuration common to both a normal cache and a protection cache of a decode cache area of FIG.

【図4】図1のキャッシュ管理ワーク領域における通常
キャッシュ用および保護キャッシュ用の管理用ID番号
対応の検索用データの登録およびそのデータ内容を示す
説明図である。
FIG. 4 is an explanatory diagram showing registration of search data corresponding to management ID numbers for normal cache and protection cache in the cache management work area of FIG. 1 and its data content.

【図5】図1のアニメーションシナリオデータROMに
おけるシナリオデータおよびその各ブロックのデータ内
容を示す説明図である。
5 is an explanatory diagram showing scenario data in the animation scenario data ROM of FIG. 1 and data contents of respective blocks thereof.

【図6】第2実施形態における保護キャッシュ用を示
す、図4と同様の説明図である。
FIG. 6 is an explanatory view similar to FIG. 4, showing a protection cache memory according to a second embodiment.

【図7】画像対応キャッシュ情報ワーク領域の保護キャ
ッシュ用の登録内容を示す説明図である。
FIG. 7 is an explanatory diagram showing registered contents for protection cache of an image corresponding cache information work area.

【図8】表示画像の画像(画面)遷移の一例を示す説明
図である。
FIG. 8 is an explanatory diagram showing an example of image (screen) transition of a display image.

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

1 表示装置 10 制御部 11 アニメーションシナリオデータROM 12 CG−ROM(表示画像データ用ROM) 13 キャッシュ管理ワーク領域 14 画像対応キャッシュ情報ワーク領域 20 表示器(表示パネル) 21 スクリーンバッファ(表示バッファ) 30 VDP(ビデオ表示用プロセッサ) 31 カラーパレット 32 デコードバッファ(展開バッファ、デコードキ
ャッシュ領域) 100 制御管理用RAM 121 カラーパレット群 122 画像ビットマップデータ群 300 画像展開管理用RAM CF キャッシュフラグ(キャッシュ分類情報)
1 Display Device 10 Control Unit 11 Animation Scenario Data ROM 12 CG-ROM (ROM for Display Image Data) 13 Cache Management Work Area 14 Image Corresponding Cache Information Work Area 20 Display (Display Panel) 21 Screen Buffer (Display Buffer) 30 VDP (Video display processor) 31 Color palette 32 Decode buffer (expansion buffer, decode cache area) 100 Control management RAM 121 Color palette group 122 Image bitmap data group 300 Image expansion management RAM CF Cache flag (cache classification information)

フロントページの続き Fターム(参考) 2C088 AA31 EB55 5B050 AA10 BA07 BA08 BA10 CA07 EA10 EA24 FA02 5B057 CG01 CH07 CH11 CH20 5C082 AA06 BA12 BA43 BB13 BB15 BB25 BB42 BB44 DA22 DA42 DA53 DA86 DA89 MM02 Continued front page    F-term (reference) 2C088 AA31 EB55                 5B050 AA10 BA07 BA08 BA10 CA07                       EA10 EA24 FA02                 5B057 CG01 CH07 CH11 CH20                 5C082 AA06 BA12 BA43 BB13 BB15                       BB25 BB42 BB44 DA22 DA42                       DA53 DA86 DA89 MM02

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 表示展開ストーリーを規定したシナリオ
に基づいて、前記表示画面の表示画像を作成して表示す
る表示装置であって、 前記シナリオをデータ化したシナリオデータを記憶する
シナリオ記憶手段と、 表示画像の要素画像の元になる圧縮画像を記憶する圧縮
画像記憶手段と、 前記表示画面の表示画像を配置して記憶するための表示
バッファと、 前記シナリオに従って登場する要素画像を、登場画像と
して前記表示バッファに配置するために、その圧縮画像
に基づいて画像展開して前記登場画像として記憶する展
開バッファと、 前記展開バッファを、前記登場画像のキャッシュ領域と
して管理するキャッシュ管理手段と、を備え、 前記展開バッファは、前記登場画像を分類して格納する
ための複数の分類キャッシュ領域を有し、 前記シナリオデータは、 自己が示すシナリオの登場画像となる1以上の各要素画
像を指定する画像指定情報と、 前記各要素画像に対応してそれぞれを前記複数の分類キ
ャッシュ領域のいずれかに分類して格納するためのキャ
ッシュ分類情報と、を含み、 前記キャッシュ管理手段は、 前記展開バッファに登場画像を格納させるときに、その
登場画像に対応するキャッシュ分類情報に基づいて前記
複数の分類キャッシュ領域のいずれかに分類して格納さ
せる登場画像分類手段と、 前記複数の分類キャッシュ領域のそれぞれを管理する複
数の分類キャッシュ管理手段と、を有することを特徴と
する表示装置。
1. A display device for creating and displaying a display image of the display screen based on a scenario defining a display development story, and scenario storage means for storing scenario data in which the scenario is converted into data. A compressed image storage unit that stores a compressed image that is a source of an element image of a display image, a display buffer for arranging and storing the display image of the display screen, and an element image that appears according to the scenario as an appearance image. A decompression buffer that decompresses an image based on the compressed image and stores the decompressed image as the appearance image for placement in the display buffer; and a cache management unit that manages the decompression buffer as a cache area of the appearance image. The expansion buffer has a plurality of classification cache areas for classifying and storing the appearance images, The scenario data includes image designation information that designates one or more element images that are appearance images of the scenario that the user shows, and classifies each of them into one of the plurality of classification cache areas corresponding to each element image. Cache classification information for storing by storing the appearance image in the expansion buffer, the cache management unit stores the plurality of classification cache areas based on the cache classification information corresponding to the appearance image. A display device comprising: an appearance image classifying unit for classifying and storing the classified image into any one of them, and a plurality of classification cache managing units for managing each of the plurality of classification cache areas.
【請求項2】 表示展開ストーリーを規定したシナリオ
に従って登場する複数の要素画像を、画像展開用のバッ
ファに圧縮画像に基づいて登場画像として画像展開する
とともに、前記画像展開用のバッファを登場画像のキャ
ッシュ領域として管理するための表示装置のキャッシュ
制御方法であって、 前記展開バッファ内に前記登場画像を分類して格納する
ための複数の分類キャッシュ領域を設け、 前記シナリオをデータ化したシナリオデータは、自己が
示すシナリオの登場画像となる1以上の各要素画像を指
定する画像指定情報と、前記各要素画像に対応してそれ
ぞれを前記複数の分類キャッシュ領域のいずれかに分類
して格納するためのキャッシュ分類情報と、を含み、 前記シナリオに従って登場画像を画像展開して格納する
ときに、その登場画像に対応するキャッシュ分類情報に
基づいて前記複数の分類キャッシュ領域のいずれかに分
類して格納し、前記複数の分類キャッシュ領域のそれぞ
れを管理することを特徴とする表示装置のキャッシュ制
御方法。
2. A plurality of element images appearing according to a scenario defining a display expansion story are expanded as appearance images in a buffer for image expansion on the basis of a compressed image, and the buffer for image expansion is displayed in the buffer for appearance images. A cache control method of a display device for managing as a cache area, wherein a plurality of classification cache areas for classifying and storing the appearance images are provided in the expansion buffer, and scenario data obtained by converting the scenario into data is , For storing the image designation information for designating one or more element images that are the appearance images of the scenario indicated by the user, and classifying and storing each of the element images in any one of the plurality of classification cache areas. And cache classification information of, when the appearance image is expanded and stored according to the scenario, A cache control method for a display device, characterized in that it is classified into any of the plurality of classified cache areas based on cache classified information corresponding to an appearance image and stored, and each of the plurality of classified cache areas is managed.
JP2002014368A 2002-01-23 2002-01-23 Display device and display device cache control method Expired - Fee Related JP3786017B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002014368A JP3786017B2 (en) 2002-01-23 2002-01-23 Display device and display device cache control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002014368A JP3786017B2 (en) 2002-01-23 2002-01-23 Display device and display device cache control method

Publications (2)

Publication Number Publication Date
JP2003216140A true JP2003216140A (en) 2003-07-30
JP3786017B2 JP3786017B2 (en) 2006-06-14

Family

ID=27651069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002014368A Expired - Fee Related JP3786017B2 (en) 2002-01-23 2002-01-23 Display device and display device cache control method

Country Status (1)

Country Link
JP (1) JP3786017B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239244A (en) * 2005-03-04 2006-09-14 Daiman:Kk Game machine
JP2006239247A (en) * 2005-03-04 2006-09-14 Daiman:Kk Game machine
JP2006239243A (en) * 2005-03-04 2006-09-14 Daiman:Kk Game machine
JP2008071241A (en) * 2006-09-15 2008-03-27 Canon Inc Image processing device, image processing method, and computer program
US8078695B2 (en) 2008-07-16 2011-12-13 Sony Corporation Media on demand using an intermediary device to output media from a remote computing device
JP2014085826A (en) * 2012-10-23 2014-05-12 Fujitsu Ltd Cache area management program and method, and information processing device
JP2020081520A (en) * 2018-11-28 2020-06-04 株式会社藤商事 Game machine
CN113473195A (en) * 2021-05-31 2021-10-01 青岛海尔科技有限公司 Multimedia data storage method and system, storage medium and electronic device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239244A (en) * 2005-03-04 2006-09-14 Daiman:Kk Game machine
JP2006239247A (en) * 2005-03-04 2006-09-14 Daiman:Kk Game machine
JP2006239243A (en) * 2005-03-04 2006-09-14 Daiman:Kk Game machine
JP4737380B2 (en) * 2005-03-04 2011-07-27 株式会社大一商会 Game machine
JP4737379B2 (en) * 2005-03-04 2011-07-27 株式会社大一商会 Game machine
JP4737381B2 (en) * 2005-03-04 2011-07-27 株式会社大一商会 Game machine
JP2008071241A (en) * 2006-09-15 2008-03-27 Canon Inc Image processing device, image processing method, and computer program
US8078695B2 (en) 2008-07-16 2011-12-13 Sony Corporation Media on demand using an intermediary device to output media from a remote computing device
JP2014085826A (en) * 2012-10-23 2014-05-12 Fujitsu Ltd Cache area management program and method, and information processing device
JP2020081520A (en) * 2018-11-28 2020-06-04 株式会社藤商事 Game machine
CN113473195A (en) * 2021-05-31 2021-10-01 青岛海尔科技有限公司 Multimedia data storage method and system, storage medium and electronic device

Also Published As

Publication number Publication date
JP3786017B2 (en) 2006-06-14

Similar Documents

Publication Publication Date Title
JP3786017B2 (en) Display device and display device cache control method
JP2978519B2 (en) Document data display method and system
JP3786016B2 (en) Display device and display device cache control method
JP2003131651A (en) Display device and buffer control method for the same
JP2003216465A (en) Display device and cache control method for display device
JP2007334706A (en) Data distribution system and method
JP3045359B2 (en) Image processing device
JPH0784562A (en) Device for storing image
JP2003216139A (en) Display device and method for specifying palette of display device
JPH0273463A (en) Display system for document list in personal electronic filing system
JPH03105476A (en) Drawing attribute element storage system
JP2005300974A (en) Device and method for image processing
JP2665206B2 (en) Front screen drawing processing method
JP2000075846A (en) Method and device for displaying image
JP2002244639A (en) Font processor
JP3021159B2 (en) Image processing apparatus and method
JP3093228B2 (en) Image processing apparatus and method
JPH07230469A (en) Retrieval device
JPH0546138A (en) Multi-screen display control method of computer system
JPH06251135A (en) Display device
JPH03200196A (en) Character display device
JP2003163811A (en) Method for compressing image data, method for expanding image data, and apparatus for controlling display of image
JPH06118914A (en) Automatic demonstration device
JPH05282121A (en) Image display control system
JPH05219579A (en) Status recall system for monitor data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060313

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100331

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110331

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120331

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130331

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees