JP2008228955A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2008228955A
JP2008228955A JP2007072149A JP2007072149A JP2008228955A JP 2008228955 A JP2008228955 A JP 2008228955A JP 2007072149 A JP2007072149 A JP 2007072149A JP 2007072149 A JP2007072149 A JP 2007072149A JP 2008228955 A JP2008228955 A JP 2008228955A
Authority
JP
Japan
Prior art keywords
flash memory
nand flash
data
address
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2007072149A
Other languages
Japanese (ja)
Inventor
Takaaki Ichihara
高明 市原
Shigeki Inaba
重貴 稲葉
Kazunari Tanaka
一成 田中
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.)
Daiman Co Ltd
Original Assignee
Daiman 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 Daiman Co Ltd filed Critical Daiman Co Ltd
Priority to JP2007072149A priority Critical patent/JP2008228955A/en
Publication of JP2008228955A publication Critical patent/JP2008228955A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a game machine capable of utilizing a NAND flash memory as a digital image data recording medium. <P>SOLUTION: A display control part 60 of the Pachinko machine 10 includes the NAND flash memory 660, a parallel interface 640, and a relay CPU 652 for relaying the data transmission between the NAND flash memory 660 and the parallel interface 640. The relay CPU 652 reads digital image data 730 from the NAND flash memory 660 based on an address-corresponding table 720 recorded in the NAND flash memory 660. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、動画像を表示する表示画面を備える遊技機に関する。   The present invention relates to a gaming machine having a display screen for displaying a moving image.

遊技機には、液晶ディスプレイなどの画像表示装置を備え、この画像表示装置に動画像を表示させることによって、遊技の興趣を高めたものが知られている。動画像表示のひとつである描画表示では、マスクROM(Masked Read Only Memory)に予め書き込まれたキャラクタデータを用いて次々に描画した複数の静止画像を、画像表示装置に連続的に表示することによって、動画像表示が実現される。また、動画像表示のひとつである再生表示では、マスクROMに書き込まれたムービデータから次々に再生したフレームを、画像表示装置に連続的に表示させることによって、動画像表示が実現される。   2. Description of the Related Art A gaming machine is known that includes an image display device such as a liquid crystal display and displays a moving image on the image display device to enhance the interest of the game. In drawing display, which is one of the moving image displays, a plurality of still images drawn one after another using character data previously written in a mask ROM (Masked Read Only Memory) are continuously displayed on the image display device. Moving image display is realized. In the reproduction display which is one of the moving image displays, the moving image display is realized by continuously displaying frames reproduced one after another from the movie data written in the mask ROM on the image display device.

描画表示や再生表示による動画表示の趣向を凝らすに連れて、動画表示の元となるキャラクタデータやムービデータ等のデジタル画像データのデータ量は増大するため、デジタル画像データを記憶するためのマスクROMに必要とされる記憶容量は増大の一途を辿っている。下記特許文献1には、マスクROMに書き込まれたデジタル画像データを用いて動画表示を行う遊技機が開示されている。   A mask ROM for storing digital image data because the amount of digital image data such as character data and movie data, which is the source of moving image display, increases as the display of moving images by drawing display and playback display is elaborated. The storage capacity required for this is constantly increasing. Patent Document 1 below discloses a gaming machine that displays moving images using digital image data written in a mask ROM.

特開2004−8483号公報Japanese Patent Laid-Open No. 2004-8483

近年、大容量・低価格のNAND型フラッシュメモリが普及しており、デジタル画像データを記録する媒体として、マスクROMに代わりやNAND型フラッシュメモリを遊技機に採用することが考えられるが、メモリ特性の違いから種々の問題があった。   In recent years, large-capacity, low-cost NAND flash memory has become widespread, and it is conceivable to use NAND flash memory as a medium for recording digital image data in game machines instead of mask ROM. There were various problems due to the difference.

例えば、NAND型フラッシュメモリは、その構造上、データの記録が不可能な不良ブロックを有する場合があり、その不良ブロックの有無および部位は個体毎に異なる。そのため、NAND型フラッシュメモリの場合、不良ブロックを避けるためのメモリアドレスの飛びの有無や部位も個体毎に不定となり、マスクROMのように一連のメモリアドレスを用いてデータアクセスすることができないという問題があった。   For example, a NAND flash memory may have a defective block in which data cannot be recorded due to its structure, and the presence and location of the defective block varies from individual to individual. Therefore, in the case of a NAND flash memory, the presence or absence of a memory address for avoiding a defective block and the part thereof are also undefined for each individual, and data cannot be accessed using a series of memory addresses like a mask ROM. was there.

本発明は、上記した課題を踏まえ、NAND型フラッシュメモリをデジタル画像データの記録媒体として利用することができる遊技機を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a gaming machine that can use a NAND flash memory as a recording medium for digital image data.

上記した課題を解決するため、本発明の一形態である遊技機用制御装置は、遊技機の表示画面に表示される動画像の表示態様を制御する遊技機用制御装置であって、デジタル画像データが記録され、シリアル転送でデータをやり取りするNAND型フラッシュメモリと、パラレル転送でデータをやり取りするパラレルインタフェースと、前記NAND型フラッシュメモリと前記パラレルインタフェースとの間のデータ転送を中継する中継部と、前記NAND型フラッシュメモリから前記パラレルインタフェースを介して読み出したデジタル画像データを用いて、前記動画像を表示させる映像信号を生成するビデオディスプレイプロセッサとを備え、前記NAND型フラッシュメモリは、一連の物理ブロックアドレスが物理的なメモリ配列順にそれぞれ割り当てられた複数の物理データブロックを有し、前記デジタル画像データは、前記複数の物理データブロックのうち、物理的にデータの記録が不可能な不良ブロックを避けて、物理的にデータの記録が可能な良ブロックに記録され、前記複数の物理データブロックに含まれる複数の良ブロックの少なくとも一つには、前記デジタル画像データが記録された良ブロックの物理ブロックアドレスを並べた一連の物理ブロックアドレスを、前記パラレルインタフェースがデータのやり取りに用いる一連の論理ブロックアドレスに順次対応付けたアドレス対応テーブルが記録され、前記中継部は、前記NAND型フラッシュメモリにシリアル接続するシリアル接続手段と、前記パラレルインタフェースにパラレル接続するパラレル接続手段と、前記NAND型フラッシュメモリから前記シリアル接続手段を通じて前記アドレス対応テーブルを読み出すアドレス対応手段と、前記パラレルインタフェースから前記パラレル接続手段を通して読み出し指定された論理ブロックアドレスに対応する物理ブロックアドレスを、前記アドレス対応手段によって読み出されたアドレス対応テーブルに基づいて特定するアドレス特定手段と、前記NAND型フラッシュメモリにおける前記アドレス特定手段によって特定された物理ブロックアドレスが割り当てられた物理データブロックから、前記シリアル接続手段を通じて前記デジタル画像データを読み出す画像データリード手段と、前記画像データリード手段によって読み出されたデジタル画像データを、前記パラレル接続手段を通して前記パラレルインタフェースに提供する画像データ提供手段とを備えることを特徴とする。この遊技機用制御装置によれば、NAND型シリアルフラッシュメモリにおいてデジタル画像データが記録された良ブロックの物理ブロックアドレスを並べた一連の物理ブロックアドレスが、パラレルインタフェースで取り扱われる論理ブロックアドレスに対応付けられているため、パラレルインタフェースを介してNAND型シリアルフラッシュメモリからデジタル画像データを読み出すことができる。したがって、遊技機において、NAND型シリアルフラッシュメモリをデジタル画像データの記録媒体として利用することができる。   In order to solve the above problems, a gaming machine control device according to one aspect of the present invention is a gaming machine control device that controls a display mode of a moving image displayed on a display screen of a gaming machine, and is a digital image. A NAND flash memory in which data is recorded and exchanges data by serial transfer; a parallel interface that exchanges data by parallel transfer; and a relay unit that relays data transfer between the NAND flash memory and the parallel interface; A video display processor that generates a video signal for displaying the moving image using digital image data read from the NAND flash memory via the parallel interface, the NAND flash memory including a series of physical Block addresses are in physical memory order The digital image data has a plurality of physical data blocks allocated to each of the physical data blocks, avoiding a defective block that cannot physically record data among the plurality of physical data blocks. Is recorded in a good block that can be recorded, and at least one of the plurality of good blocks included in the plurality of physical data blocks is a series of physical block addresses of the good blocks in which the digital image data is recorded. An address correspondence table in which physical block addresses are sequentially associated with a series of logical block addresses used by the parallel interface for data exchange is recorded, and the relay unit includes serial connection means for serial connection to the NAND flash memory; Parallel connection means for parallel connection to the parallel interface Address correspondence means for reading the address correspondence table from the NAND flash memory through the serial connection means; and physical block addresses corresponding to logical block addresses designated to be read from the parallel interface through the parallel connection means. From the address specifying means specified based on the address correspondence table read by the means, and the physical data block to which the physical block address specified by the address specifying means in the NAND flash memory is assigned, through the serial connection means Image data reading means for reading out the digital image data and digital image data read out by the image data reading means through the parallel connection means. Image data providing means for providing to the Larel interface. According to this gaming machine control device, a series of physical block addresses in which physical block addresses of good blocks in which digital image data is recorded in a NAND serial flash memory are arranged are associated with logical block addresses handled by a parallel interface. Therefore, digital image data can be read from the NAND type serial flash memory via the parallel interface. Therefore, in the gaming machine, the NAND type serial flash memory can be used as a recording medium for digital image data.

不良ブロックを避けてデジタル画像データを記録する第1の方式として、前記デジタル画像データは、前記一連の物理ブロックアドレスの順に従って前記NAND型フラッシュメモリに順次記録され、該記録対象となった物理データブロックが不良ブロックである場合、該不良ブロック以降に記録すべきデータは、該不良ブロックに後続する良ブロック以降に順次記録されても良い。   As a first method for recording digital image data while avoiding defective blocks, the digital image data is sequentially recorded in the NAND flash memory according to the order of the series of physical block addresses. When the block is a defective block, data to be recorded after the defective block may be sequentially recorded after the good block following the defective block.

不良ブロックを避けてデジタル画像データを記録する第2の方式として、前記デジタル画像データは、前記一連の物理ブロックアドレスの順に従って前記NAND型フラッシュメモリに順次記録され、該記録対象となった物理データブロックが不良ブロックである場合、該不良ブロックに記録すべきデータは、該不良ブロックを他の良ブロックで代替した代替ブロックに記録されても良い。   As a second method for recording digital image data while avoiding defective blocks, the digital image data is sequentially recorded in the NAND flash memory in the order of the series of physical block addresses, and the physical data that is the recording target When the block is a bad block, the data to be recorded in the bad block may be recorded in an alternative block obtained by replacing the bad block with another good block.

上述した遊技機用制御装置は、次の態様を採ることもできる。例えば、前記NAND型フラッシュメモリおよび前記中継部を、単一のパッケージとして封止しても良い。これによって、デジタル画像データが記録されたNAND型シリアルフラッシュメモリを、パラレルインタフェースによってデータアクセス可能なマスクROMと同様にして取り扱うことができる。   The gaming machine control device described above can also take the following modes. For example, the NAND flash memory and the relay unit may be sealed as a single package. As a result, the NAND serial flash memory in which digital image data is recorded can be handled in the same manner as a mask ROM that can access data through a parallel interface.

また、前記アドレス対応テーブルが記録された良ブロックは、前記一連の物理ブロックアドレスの物理的なメモリ配列順において、前記デジタル画像データが記録された良ブロックよりも先行しても良い。これによって、中継部によるアドレス変換の起動速度を向上させることができる。   The good block in which the address correspondence table is recorded may precede the good block in which the digital image data is recorded in the physical memory arrangement order of the series of physical block addresses. As a result, the activation speed of address translation by the relay unit can be improved.

また、前記アドレス対応テーブルが記録された良ブロックは、前記NAND型フラッシュメモリにおける先頭の良ブロックを含むとしても良い。これによって、中継部によるアドレス変換の起動速度を一層向上させることができる。   The good block in which the address correspondence table is recorded may include the first good block in the NAND flash memory. Thereby, the starting speed of the address translation by the relay unit can be further improved.

なお、本発明の態様は、遊技機用制御装置に限るものではなく、本発明の遊技機用制御装置を備える遊技機や、遊技機の表示画面に表示されるデジタル画像データを記憶した遊技機用メモリデバイス、NAND型フラッシュメモリを取り扱う方法、遊技機用制御装置を制御するためのコンピュータプログラムなどの種々の態様に適用することが可能である。なお、本発明が適用される遊技機は、パチンコ機およびスロットマシンを含む。   Note that the aspect of the present invention is not limited to the gaming machine control device, and a gaming machine including the gaming machine control device of the present invention, or a gaming machine storing digital image data displayed on the display screen of the gaming machine. The present invention can be applied to various modes such as a computer memory device, a method for handling a NAND flash memory, and a computer program for controlling a control device for gaming machines. Note that gaming machines to which the present invention is applied include pachinko machines and slot machines.

以上説明した本発明の構成および作用を一層明らかにするために、以下本発明を適用したパチンコ機について説明する。   In order to further clarify the configuration and operation of the present invention described above, a pachinko machine to which the present invention is applied will be described below.

A.第1の実施例:
A−1.パチンコ機10の全体構成:
本発明の実施例の一つであるパチンコ機10の構成について説明する。図1は、パチンコ機10の全体構成を示す正面図である。パチンコ機10は、パチンコ店のいわゆる島設備に固定される外枠20と、外枠20に嵌め込まれる内枠30と、内枠30の中央上寄りに嵌め込まれ遊技球による遊技が行われる遊技パネル40と、遊技パネル40の前面を覆うガラス板を有し内枠30に開閉可能に軸着されるガラス枠50と、プリペイドカードによる遊技球の貸し出しを受け付けるカードユニット80とを備える。
A. First embodiment:
A-1. Overall configuration of the pachinko machine 10:
A configuration of the pachinko machine 10 that is one of the embodiments of the present invention will be described. FIG. 1 is a front view showing the overall configuration of the pachinko machine 10. The pachinko machine 10 includes an outer frame 20 fixed to a so-called island facility of a pachinko store, an inner frame 30 fitted into the outer frame 20, and a gaming panel that is fitted near the center of the inner frame 30 to play a game ball. 40, a glass frame 50 having a glass plate covering the front surface of the game panel 40 and pivotally attached to the inner frame 30 so as to be openable and closable, and a card unit 80 for accepting rental of game balls by a prepaid card.

パチンコ機10の遊技パネル40は、遊技球の入賞を受け付ける入賞口44と、遊技の演出として映像の表示を行う液晶ディスプレイ(LCD)42と、遊技の演出として発光する発光ダイオード(LED)462を複数内蔵する電飾部46と、遊技の演出としてキャラクタ人形を動かす演出駆動部45と、遊技者に遊技の演出態様を選定させるために遊技者がかざした手の赤外線を感知する演出センサ47とを備える。入賞口44は、入賞口44に入賞した遊技球を検知する遊技球センサ442と、入賞口44への遊技球の導入経路を拡縮する入賞口駆動部444とを備える。なお、本実施例では、遊技球センサ442は、渦電流方式のセンサを含み、入賞口駆動部444は、ソレノイド(図示しない)を動力源として駆動する機構を含み、演出駆動部45は、ステップモータ(図示しない)を動力源として駆動する機構を含む。   The gaming panel 40 of the pachinko machine 10 includes a winning opening 44 for receiving a winning game ball, a liquid crystal display (LCD) 42 for displaying video as a game effect, and a light emitting diode (LED) 462 for emitting light as a game effect. A plurality of built-in electric decoration units 46, an effect driving unit 45 that moves a character doll as an effect of the game, and an effect sensor 47 that senses the infrared rays of the hand held by the player in order to allow the player to select an effect mode of the game Is provided. The winning opening 44 includes a gaming ball sensor 442 that detects a game ball that has won the winning opening 44 and a winning opening driver 444 that expands or contracts the introduction path of the gaming ball to the winning opening 44. In the present embodiment, the game ball sensor 442 includes an eddy current type sensor, the winning opening driving unit 444 includes a mechanism that drives a solenoid (not shown) as a power source, and the effect driving unit 45 includes steps. A mechanism for driving a motor (not shown) as a power source is included.

パチンコ機10のガラス枠50は、遊技の演出として高音域の音声を出力するスピーカ55と、遊技の演出として発光する発光ダイオード(LED)562を複数内蔵する電飾部56とを備える。パチンコ機10の内枠30は、遊技パネル40に遊技球を発射するための遊技者による操作を受け付けるハンドル32と、遊技の演出として低音域の音声を出力するスピーカ34と、遊技者に遊技の演出態様を選定させるために遊技者からのボタン入力を検知する演出センサ36とを備える。   The glass frame 50 of the pachinko machine 10 includes a speaker 55 that outputs high-frequency sound as a game effect, and an electrical decoration unit 56 that includes a plurality of light emitting diodes (LEDs) 562 that emit light as a game effect. The inner frame 30 of the pachinko machine 10 includes a handle 32 that receives an operation by the player for launching a game ball on the game panel 40, a speaker 34 that outputs a low-frequency sound as a game effect, and a game to the player. In order to select an effect mode, an effect sensor 36 that detects button input from the player is provided.

図2は、パチンコ機10の電気的な概略構成を示すブロック図である。パチンコ機10は、遊技球センサ442からの入力に基づいて遊技の進行を制御する主制御基板410と、主制御基板410からの指示である主コマンドに基づいて遊技の進行に応じた各部の演出を制御する周辺制御基板420と、周辺制御基板420からの指示である表示コマンドに基づいてLCD42に表示される動画像の表示態様を制御する表示制御部60と、周辺制御基板420からの指示である階調コマンドに基づいてLED462の輝度階調を制御するパネル電飾基板430と、周辺制御基板420からの各種信号をパチンコ機10の各部に分配する周辺分配基板440と、周辺分配基板440を介した周辺制御基板420からの指示に基づいてLED562の輝度階調を制御する枠電飾基板450と、主制御基板410からの指示である払出コマンドに基づいて遊技球の払い出しを制御する払出制御基板310とを備える。主制御基板410、周辺制御基板420、パネル電飾基板430、周辺分配基板440、表示制御部60、枠電飾基板450、払出制御基板310の各回路基板は、図1に示した内枠30の裏面側(図示しない)に備えられる。   FIG. 2 is a block diagram showing an electrical schematic configuration of the pachinko machine 10. The pachinko machine 10 controls the progress of the game based on the input from the game ball sensor 442, and the production of each part according to the progress of the game based on the main command that is an instruction from the main control board 410 A peripheral control board 420 that controls the display, a display control unit 60 that controls a display mode of a moving image displayed on the LCD 42 based on a display command that is an instruction from the peripheral control board 420, and an instruction from the peripheral control board 420 A panel illumination board 430 that controls the luminance gradation of the LED 462 based on a certain gradation command, a peripheral distribution board 440 that distributes various signals from the peripheral control board 420 to each part of the pachinko machine 10, and a peripheral distribution board 440 A frame lighting board 450 for controlling the luminance gradation of the LED 562 based on an instruction from the peripheral control board 420 via the main control board 410 And a dispensing control board 310 for controlling the payout of game balls based on the payout command is shown. The circuit boards of the main control board 410, the peripheral control board 420, the panel lighting board 430, the peripheral distribution board 440, the display control unit 60, the frame lighting board 450, and the payout control board 310 are the inner frame 30 shown in FIG. Are provided on the back side (not shown).

本実施例では、主制御基板410,周辺制御基板420,表示制御部60,払出制御基板310は、種々の演算処理を実行するCPUと、CPUの演算処理を規定したプログラムを予め記憶するリードオンリメモリ(Read Only Memory、以下、「ROM」という)と、CPUが取り扱うデータを一時的に記憶するランダムアクセスメモリ(Random Access Memory、以下、「RAM」という)などの各回路基板の機能に応じた電子部品が実装された電子回路を備える。本実施例では、パネル電飾基板430,周辺分配基板440,枠電飾基板450は、各回路基板の機能に応じた大規模集積回路(Large Scale Integration、以下、「LSI」という)などの各回路基板の機能に応じた電子部品が実装された電子回路を備える。   In this embodiment, the main control board 410, the peripheral control board 420, the display control unit 60, and the payout control board 310 are a read-only memory that stores in advance a CPU that executes various arithmetic processes and a program that defines the arithmetic processes of the CPU. Depending on the function of each circuit board such as a memory (Read Only Memory, hereinafter referred to as “ROM”) and a random access memory (Random Access Memory, hereinafter referred to as “RAM”) that temporarily stores data handled by the CPU An electronic circuit on which electronic components are mounted is provided. In this embodiment, the panel illumination board 430, the peripheral distribution board 440, and the frame illumination board 450 are each a large scale integrated circuit (Large Scale Integration, hereinafter referred to as “LSI”) corresponding to the function of each circuit board. An electronic circuit on which electronic components corresponding to the function of the circuit board are mounted is provided.

主制御基板410から周辺制御基板420に送信される主コマンドは、いわゆる「大当たり」や「はずれ」などの遊技に関する基本的な演出を指示する情報を含む。主制御基板410から主コマンドを受信した周辺制御基板420は、主コマンドに基づいてLCD42,LED462,LED562,スピーカ34,スピーカ55,演出駆動部45などの演出実行部でそれぞれ実施される演出を決定し、各演出実行部に応じた種々の信号を出力する。周辺制御基板420から表示制御部60に対する信号は、LCD42に表示すべき映像の内容を表示制御部60に指示する表示コマンドを含む。周辺制御基板420からパネル電飾基板430に対する信号は、LED462の発光態様を指定した階調コマンドを含む。   The main command transmitted from the main control board 410 to the peripheral control board 420 includes information for instructing basic effects relating to the game such as so-called “big hit” and “out of play”. The peripheral control board 420 that has received the main command from the main control board 410 determines the effects to be executed by the effect execution units such as the LCD 42, the LED 462, the LED 562, the speaker 34, the speaker 55, and the effect drive unit 45 based on the main command. And various signals according to each production execution part are output. A signal from the peripheral control board 420 to the display control unit 60 includes a display command for instructing the display control unit 60 of the content of the video to be displayed on the LCD 42. The signal from the peripheral control board 420 to the panel illumination board 430 includes a gradation command that specifies the light emission mode of the LED 462.

A−2.パチンコ機10における表示制御部60の詳細構成:
図3は、パチンコ機10における表示制御部60の電気的構成を主に示すブロック図である。表示制御部60は、遊技機専用に設計された遊技機用制御装置を含み、本実施では、表示制御部60は、周辺制御基板420およびLCD42とは別体の電子回路基板として構成されているが、周辺制御基板420と一体的に構成されても良いし、LCD42と一体的に構成されても良い。
A-2. Detailed configuration of the display control unit 60 in the pachinko machine 10:
FIG. 3 is a block diagram mainly showing an electrical configuration of the display control unit 60 in the pachinko machine 10. The display control unit 60 includes a gaming machine control device designed exclusively for gaming machines. In this embodiment, the display control unit 60 is configured as an electronic circuit board separate from the peripheral control board 420 and the LCD 42. However, it may be configured integrally with the peripheral control board 420 or may be configured integrally with the LCD 42.

表示制御部60は、周辺制御基板420からの表示コマンドに基づいて表示制御部60の各部を制御する描画制御部610と、LCD42における動画像表示に用いられるデジタル画像データ730が記録されたROMとして機能する擬似ROMデバイス650と、擬似ROMデバイス650とのデータのやり取りをパラレル転送方式で行うパラレルインタフェース640と、描画制御部610からのVDPコマンドに基づいて、LCD42を駆動する映像信号を擬似ROMデバイス650のデジタル画像データ730から生成する画像表示プロセッサ(Video Display Processor、VDP)620とを備える。本実施例では、表示制御部60の描画制御部610は、CPU,ROM,RAMなどの電子部品を備えるコンピュータである。本実施例では、表示制御部60のVDP620がLCD42に出力する映像信号は、RGB(Red Green Blue)信号と、SYNC(同期)信号とを含む。表示制御部60の擬似ROMデバイス650についての詳細は後述する。   The display control unit 60 is a ROM that stores a drawing control unit 610 that controls each unit of the display control unit 60 based on display commands from the peripheral control board 420 and digital image data 730 used for moving image display on the LCD 42. Based on the VDP command from the functioning pseudo ROM device 650, the parallel interface 640 for exchanging data with the pseudo ROM device 650 in a parallel transfer method, and the VDP command from the drawing control unit 610, the pseudo ROM device And an image display processor (Video Display Processor, VDP) 620 generated from 650 digital image data 730. In the present embodiment, the drawing control unit 610 of the display control unit 60 is a computer including electronic components such as a CPU, a ROM, and a RAM. In this embodiment, the video signal output from the VDP 620 of the display control unit 60 to the LCD 42 includes an RGB (Red Green Blue) signal and a SYNC (synchronization) signal. Details of the pseudo ROM device 650 of the display control unit 60 will be described later.

本実施例では、擬似ROMデバイス650のデジタル画像データ730は、キャラクタデータやムービデータ等の動画表示の元となるデータを含み、圧縮された圧縮データとして記録されている。本実施例では、表示制御部60は、更に、描画制御部610からの伸張コマンドに基づいてパラレルインタフェース640を介して擬似ROMデバイス650から読み出したデジタル画像データ730を伸張する伸張回路632と、伸張回路632によって伸張されたデジタル画像データ730を記憶する二つの伸張RAM636,638と、伸張RAM636,638のそれぞれに対する伸張回路632およびVDP620とのメモリバス接続を切り替えるバススイッチ回路634とを備える。   In this embodiment, the digital image data 730 of the pseudo ROM device 650 includes data that is a source of moving image display such as character data and movie data, and is recorded as compressed compressed data. In the present embodiment, the display control unit 60 further includes a decompression circuit 632 that decompresses the digital image data 730 read from the pseudo ROM device 650 via the parallel interface 640 based on the decompression command from the drawing control unit 610, and decompression. Two decompression RAMs 636 and 638 for storing the digital image data 730 decompressed by the circuit 632, and a bus switch circuit 634 for switching the memory bus connection between the decompression circuit 632 and the VDP 620 for the decompression RAMs 636 and 638, respectively.

本実施例では、表示制御部60のバススイッチ回路634は、伸張回路632による伸張RAM636,638の一方に対するメモリアクセスと、VDP620による伸張RAM636,638の他方に対するメモリアクセスとを同時に実行可能に、描画制御部610からの指示に基づいて伸張RAM636,638の各々に対するメモリバス接続を切り替える。バススイッチ回路634によるメモリバス接続の切り替えによって、伸張RAM636,638におけるアドレス空間の各々は、VDP620がメモリアクセスに用いる同じ論理ブロックアドレス空間に共通して対応付けられ、伸張RAM636,638は、VDP620からは単一のRAMとして認識される。これによって、伸張回路632によるデジタル画像データ730の書き込みと、VDP620によるデジタル画像データ730の読み出しとが同時に実行可能となり、圧縮されたデジタル画像データ730を擬似ROMデバイス650からVDP620に対して効率良く伝送することができる。   In the present embodiment, the bus switch circuit 634 of the display control unit 60 performs drawing so that the memory access to one of the expansion RAMs 636 and 638 by the expansion circuit 632 and the memory access to the other of the expansion RAMs 636 and 638 by the VDP 620 can be executed simultaneously. Based on an instruction from the control unit 610, the memory bus connection to each of the expansion RAMs 636 and 638 is switched. By switching the memory bus connection by the bus switch circuit 634, each of the address spaces in the decompression RAMs 636 and 638 is associated with the same logical block address space used by the VDP 620 for memory access, and the decompression RAMs 636 and 638 are connected from the VDP 620. Is recognized as a single RAM. As a result, the writing of the digital image data 730 by the decompression circuit 632 and the reading of the digital image data 730 by the VDP 620 can be executed simultaneously, and the compressed digital image data 730 is efficiently transmitted from the pseudo ROM device 650 to the VDP 620. can do.

A−3.表示制御部60における擬似ROMデバイス650の詳細構成:
表示制御部60の擬似ROMデバイス650は、遊技機専用に設計された遊技機用メモリデバイスであり、デジタル画像データ730が記録されシリアル転送でデータをやり取りするNAND型フラッシュメモリ(NAND type flash memory)660と、NAND型フラッシュメモリ660とのデータのやり取りをシリアル転送方式で行うシリアルインタフェース657と、擬似ROMデバイス650の各部を制御する中継CPU652と、中継CPU652の動作が規定された中継プログラム710を予め記憶する中継メモリ656と、中継CPU652が取り扱うデータを一時的に記憶する中継RAM654と、ROMデバイスとしてパラレルインタフェース640とのデータのやり取りを行う擬似ROMインタフェース658とを備える。本実施例では、擬似ROMデバイス650は、NAND型フラッシュメモリ660と共に、中継CPU652,中継RAM654,中継メモリ656,擬似ROMインタフェース658,シリアルインタフェース657を、単一のパッケージとして、電気的絶縁性を有する樹脂で封止した電子部品である。擬似ROMデバイス650の中継CPU652の動作の詳細については後述する。
A-3. Detailed configuration of pseudo ROM device 650 in display control unit 60:
The pseudo ROM device 650 of the display control unit 60 is a gaming machine memory device designed exclusively for gaming machines, and is a NAND type flash memory in which digital image data 730 is recorded and exchanged by serial transfer. 660, a serial interface 657 for exchanging data with the NAND flash memory 660 by a serial transfer method, a relay CPU 652 for controlling each part of the pseudo ROM device 650, and a relay program 710 for defining the operation of the relay CPU 652 in advance. A relay memory 656 that stores data, a relay RAM 654 that temporarily stores data handled by the relay CPU 652, and a pseudo ROM interface 658 that exchanges data with the parallel interface 640 as a ROM device. In this embodiment, the pseudo ROM device 650 has electrical insulation with the NAND flash memory 660 as well as the relay CPU 652, relay RAM 654, relay memory 656, pseudo ROM interface 658, and serial interface 657 as a single package. Electronic parts sealed with resin. Details of the operation of the relay CPU 652 of the pseudo ROM device 650 will be described later.

擬似ROMデバイス650の擬似ROMインタフェース658は、表示制御部60へと電気的に接続される種々の端子の一つとして、NAND型フラッシュメモリ660に対するデータ書き込みの可否を示すライト信号の入力を受け付けるライト端子659を備える。本実施例では、表示制御部60に実装された擬似ROMデバイス650において、擬似ROMインタフェース658のライト端子659は、グランドに接続されることによって、ライト端子659に入力されるライト信号は、二値信号の「ローレベル(0)」に常時維持される。   The pseudo ROM interface 658 of the pseudo ROM device 650 is a write that accepts an input of a write signal indicating whether data can be written to the NAND flash memory 660 as one of various terminals electrically connected to the display control unit 60. A terminal 659 is provided. In the present embodiment, in the pseudo ROM device 650 mounted on the display control unit 60, the write terminal 659 of the pseudo ROM interface 658 is connected to the ground, so that the write signal input to the write terminal 659 is binary. It is always maintained at the “low level (0)” of the signal.

擬似ROMデバイス650のNAND型フラッシュメモリ660は、一連の物理ブロックアドレスが物理的なメモリ配列順にそれぞれ割り当てられた複数の物理データブロックを有する。NAND型フラッシュメモリ660の物理データブロックには、物理的にデータの記録が可能な「良ブロック」と、物理的にデータの記録が不可能な「不良ブロック」とを含む。本実施例では、NAND型フラッシュメモリ660には、物理データブロックあたり64ページの記憶領域が構成され、1ページあたり2048バイトのユーザデータ領域と64バイトの冗長領域とが構成されている。デジタル画像データ730は、良ブロックにおけるユーザデータ領域に格納されている。本実施例では、物理ブロックが不良ブロックである場合には、その物理ブロックの冗長領域に、不良ブロックを示すフラグが書き込まれている。本実施例では、擬似ROMデバイス650のデジタル画像データ730は、表示制御部60への実装に先立って、擬似ROMデバイス650の擬似ROMインタフェース658とデータのやり取りを行う擬似ROMライタ(図示しない)によって記録される。   The NAND flash memory 660 of the pseudo ROM device 650 has a plurality of physical data blocks to which a series of physical block addresses are assigned in the order of physical memory arrangement. The physical data blocks of the NAND flash memory 660 include “good blocks” in which data can be physically recorded and “bad blocks” in which data cannot be physically recorded. In this embodiment, the NAND flash memory 660 has a storage area of 64 pages per physical data block, and a user data area of 2048 bytes and a redundant area of 64 bytes per page. The digital image data 730 is stored in the user data area in the good block. In this embodiment, when a physical block is a defective block, a flag indicating the defective block is written in the redundant area of the physical block. In this embodiment, the digital image data 730 of the pseudo ROM device 650 is transferred by a pseudo ROM writer (not shown) that exchanges data with the pseudo ROM interface 658 of the pseudo ROM device 650 prior to mounting on the display control unit 60. To be recorded.

擬似ROMデバイス650のNAND型フラッシュメモリ660には、擬似ROMインタフェース658とNAND型フラッシュメモリ660との間におけるアドレス対応が規定されたアドレス対応テーブル720が予め記録されている。アドレス対応テーブル720は、NAND型フラッシュメモリ660におけるデジタル画像データ730の格納状態に応じて、擬似ROMデバイス650に搭載された個々のNAND型フラッシュメモリ660毎に予め用意されたデータである。本実施例では、アドレス対応テーブル720は、デジタル画像データ730が記録された良ブロックよりも先行する物理ブロックアドレスが割り当てられた良ブロックにおけるユーザデータ領域に格納されている。   In the NAND flash memory 660 of the pseudo ROM device 650, an address correspondence table 720 in which address correspondence between the pseudo ROM interface 658 and the NAND flash memory 660 is defined is recorded in advance. The address correspondence table 720 is data prepared in advance for each NAND flash memory 660 installed in the pseudo ROM device 650 according to the storage state of the digital image data 730 in the NAND flash memory 660. In this embodiment, the address correspondence table 720 is stored in the user data area in the good block to which the physical block address preceding the good block in which the digital image data 730 is recorded is assigned.

図4は、中継メモリ656に記憶されたアドレス対応テーブル720の一例を示す説明図である。アドレス対応テーブル720には、パラレルインタフェース640がデータのやり取りに用いる一連の論理ブロックアドレス722と、NAND型フラッシュメモリ660における一連の物理ブロックアドレス724と、各物理ブロックアドレスが良ブロックか不良ブロックであるかを示すブロック状態726と、各物理ブロックアドレスに記録されている格納データ728とが示され、一連の論理ブロックアドレス722は、デジタル画像データ730が記録された良ブロックの物理ブロックアドレスに対応付けられている。   FIG. 4 is an explanatory diagram showing an example of the address correspondence table 720 stored in the relay memory 656. The address correspondence table 720 includes a series of logical block addresses 722 used by the parallel interface 640 for data exchange, a series of physical block addresses 724 in the NAND flash memory 660, and each physical block address is a good block or a bad block. The block status 726 indicating the stored data 728 recorded in each physical block address is shown, and the series of logical block addresses 722 is associated with the physical block address of the good block in which the digital image data 730 is recorded. It has been.

本実施例では、NAND型フラッシュメモリ660は、一万個の物理データブロックを有し、これらの物理データブロックには、「PBA0000」から「PBA9999」までの一万個の物理ブロックアドレスが、NAND型フラッシュメモリ660における物理的なメモリ配列順にそれぞれ割り当てられている。本実施例では、NAND型フラッシュメモリ660には、9800個分の物理データブロックのデータ量に相当する「GD0000」から「GD9799」までの符号で示すデジタル画像データ730が記録されている。本実施例では、NAND型フラッシュメモリ660に記録されたデジタル画像データ730のデータ量に合わせて、「LBA0000」から「LBA9799」までの9800個の論理ブロックアドレスが用意されている。   In this embodiment, the NAND flash memory 660 has 10,000 physical data blocks, and 10,000 physical block addresses from “PBA0000” to “PBA9999” are stored in these physical data blocks. The type flash memory 660 is assigned in order of physical memory arrangement. In this embodiment, the NAND flash memory 660 records digital image data 730 indicated by codes from “GD0000” to “GD9799” corresponding to the data amount of 9800 physical data blocks. In the present embodiment, 9800 logical block addresses from “LBA0000” to “LBA9799” are prepared in accordance with the amount of digital image data 730 recorded in the NAND flash memory 660.

本実施例では、デジタル画像データ730は、アドレス対応テーブル720に続いて、一連の物理ブロックアドレスの順に従ってNAND型フラッシュメモリ660に順次記録され、記録対象となった物理データブロックが不良ブロックである場合、その不良ブロック以降に記録すべきデータは、その不良ブロックに後続する良ブロック以降に順次記録されている。図4に示す例では、最初の良ブロックである物理ブロックアドレスPBA0000の物理データブロックには、アドレス対応テーブル720が記録されている。図4に示す例では、アドレス対応テーブル720が記録された良ブロックに後続する良ブロックである物理ブロックアドレスPBA0001〜PBA0003の物理データブロックには、デジタル画像データGD0000〜GD0002が順次記録され、不良ブロックである物理ブロックアドレスPBA0004の物理データブロックを飛ばして、後続の良ブロックである物理ブロックアドレスPBA0005の物理データブロックにデジタル画像データ「GD0003」が記録され、後続のデジタル画像データは、同様に順次記録されている。   In this embodiment, the digital image data 730 is sequentially recorded in the NAND flash memory 660 in the order of a series of physical block addresses following the address correspondence table 720, and the physical data block to be recorded is a defective block. In this case, data to be recorded after the defective block is sequentially recorded after the good block following the defective block. In the example shown in FIG. 4, the address correspondence table 720 is recorded in the physical data block of the physical block address PBA0000 which is the first good block. In the example shown in FIG. 4, digital image data GD0000 to GD0002 are sequentially recorded in physical data blocks of physical block addresses PBA0001 to PBA0003, which are good blocks following the good block in which the address correspondence table 720 is recorded, and defective blocks are recorded. The physical data block of physical block address PBA0004 is skipped, and the digital image data “GD0003” is recorded in the physical data block of physical block address PBA0005, which is a subsequent good block, and the subsequent digital image data is sequentially recorded in the same manner. Has been.

本実施例では、一連の論理ブロックアドレス722は、デジタル画像データ730が記録された良ブロックの物理ブロックアドレスを昇順に並べた一連の物理ブロックアドレスに順次対応付けられている。図4に示す例では、論理ブロックアドレスLBA0000は、物理ブロックアドレスPBA0001に対応付けられ、論理ブロックアドレスLBA0001は、物理ブロックアドレスPBA0002に対応付けられ、論理ブロックアドレスLBA0002は、物理ブロックアドレスPBA0003に対応付けられ、論理ブロックアドレスLBA0003は、不良ブロックである物理ブロックアドレスPBA0004を飛ばして、物理ブロックアドレスPBA0005に対応付けられ、後続の論理ブロックアドレスは、同様に物理ブロックアドレスに順次対応付けられている。   In this embodiment, the series of logical block addresses 722 are sequentially associated with a series of physical block addresses in which the physical block addresses of good blocks in which the digital image data 730 is recorded are arranged in ascending order. In the example shown in FIG. 4, the logical block address LBA0000 is associated with the physical block address PBA0001, the logical block address LBA0001 is associated with the physical block address PBA0002, and the logical block address LBA0002 is associated with the physical block address PBA0003. The logical block address LBA0003 skips the physical block address PBA0004, which is a bad block, and is associated with the physical block address PBA0005, and the subsequent logical block addresses are sequentially associated with the physical block addresses in the same manner.

A−4.第1の実施例におけるパチンコ機10の動作:
図5は、擬似ROMデバイス650の中継CPU652によって実行される起動処理を示すフローチャートである。擬似ROMデバイス650の中継CPU652は、擬似ROMデバイス650に電源が供給されると、図5に示す起動処理を開始する。
A-4. Operation of the pachinko machine 10 in the first embodiment:
FIG. 5 is a flowchart showing a startup process executed by the relay CPU 652 of the pseudo ROM device 650. The relay CPU 652 of the pseudo ROM device 650 starts the startup process shown in FIG. 5 when power is supplied to the pseudo ROM device 650.

中継CPU652は、図5に示す起動処理を開始すると、中継メモリ656に予め記憶された中継プログラム710を中継メモリ656から中継RAM654に読み込み、読み込んだ中継プログラム710を起動する(ステップS310)。中継プログラム710が起動された後、中継CPU652は、NAND型フラッシュメモリ660の記憶領域を初期化する指示を示す初期化信号が擬似ROMインタフェース658に入力されたか否かを判断する(ステップS315)。本実施例では、初期化信号は、デジタル画像データ730の書き込みを行う擬似ROMライタ(図示しない)から擬似ROMデバイス650に対して出力される信号であり、擬似ROMデバイス650がパチンコ機10の表示制御部60に実装された状態にある場合、初期化信号が擬似ROMデバイス650に入力されることはない。   When the activation process shown in FIG. 5 is started, the relay CPU 652 reads the relay program 710 stored in advance in the relay memory 656 from the relay memory 656 to the relay RAM 654, and activates the read relay program 710 (step S310). After the relay program 710 is activated, the relay CPU 652 determines whether or not an initialization signal indicating an instruction to initialize the storage area of the NAND flash memory 660 is input to the pseudo ROM interface 658 (step S315). In this embodiment, the initialization signal is a signal output to the pseudo ROM device 650 from a pseudo ROM writer (not shown) that writes the digital image data 730, and the pseudo ROM device 650 displays the display of the pachinko machine 10. When the controller 60 is mounted, the initialization signal is not input to the pseudo ROM device 650.

初期化信号が入力されていない場合(ステップS315)、例えば、擬似ROMデバイス650が表示制御部60に実装された状態にある場合や、擬似ROMデバイス650に接続された擬似ROMライタ(図示しない)が初期化信号を出力していない場合、中継CPU652は、NAND型フラッシュメモリ660に記録されているアドレス対応テーブル720をNAND型フラッシュメモリ660からシリアルインタフェース657を介して中継RAM654に読み込む(ステップS320)。   When the initialization signal is not input (step S315), for example, when the pseudo ROM device 650 is mounted on the display control unit 60, or the pseudo ROM writer connected to the pseudo ROM device 650 (not shown). Is not outputting the initialization signal, the relay CPU 652 reads the address correspondence table 720 recorded in the NAND flash memory 660 from the NAND flash memory 660 to the relay RAM 654 via the serial interface 657 (step S320). .

一方、初期化信号が入力されている場合(ステップS315)、例えば、擬似ROMデバイス650に接続された擬似ROMライタ(図示しない)が初期化信号を出力する場合、中継CPU652は、NAND型フラッシュメモリ660における記憶領域を初期化する(ステップS350)。その後、中継CPU652は、NAND型フラッシュメモリ660に含まれる複数の物理データブロックについて良ブロックおよび不良ブロックを判別し(ステップS360)、アドレス対応テーブル720を新規に作成する。その後、中継CPU652は、新規のアドレス対応テーブル720を中継RAM654に格納する(ステップS380)。   On the other hand, when an initialization signal is input (step S315), for example, when a pseudo ROM writer (not shown) connected to the pseudo ROM device 650 outputs an initialization signal, the relay CPU 652 performs the NAND flash memory. The storage area in 660 is initialized (step S350). Thereafter, the relay CPU 652 determines good blocks and bad blocks for a plurality of physical data blocks included in the NAND flash memory 660 (step S360), and newly creates an address correspondence table 720. Thereafter, the relay CPU 652 stores the new address correspondence table 720 in the relay RAM 654 (step S380).

図6は、擬似ROMデバイス650の中継CPU652によって実行されるリード中継処理を示すフローチャートである。データの読み出し信号が、擬似ROMインタフェース658に入力されると、中継CPU652は、図6に示すリード中継処理を開始する。本実施例では、図6のリード中継処理に先立って、パチンコ機10の電源投入時に、アドレス対応テーブル720は、中継RAM654に記憶されている(図5のステップS320,S380)。   FIG. 6 is a flowchart showing a read relay process executed by the relay CPU 652 of the pseudo ROM device 650. When a data read signal is input to the pseudo ROM interface 658, the relay CPU 652 starts the read relay process shown in FIG. In the present embodiment, the address correspondence table 720 is stored in the relay RAM 654 when the pachinko machine 10 is turned on prior to the read relay process of FIG. 6 (steps S320 and S380 of FIG. 5).

中継CPU652は、図6に示すリード中継処理を開始すると、擬似ROMインタフェース658から読み出し信号を受け取る(ステップS110)。その後、中継CPU652は、中継RAM654に記憶されたアドレス対応テーブル720を参照して、受け取った読み出し信号によって指定された論理ブロックアドレスに対応付けられている物理ブロックアドレスを特定する(ステップS120)。その後、中継CPU652は、特定した物理ブロックアドレスに記録されているデジタル画像データ730をNAND型フラッシュメモリ660からシリアルインタフェース657を介して読み出す(ステップS130)。その後、中継CPU652は、読み出したデジタル画像データ730を、擬似ROMインタフェース658を介して擬似ROMデバイス650の外部である表示制御部60のパラレルインタフェース640に提供する(ステップS140)。   When the relay CPU 652 starts the read relay process shown in FIG. 6, the relay CPU 652 receives a read signal from the pseudo ROM interface 658 (step S110). Thereafter, the relay CPU 652 refers to the address correspondence table 720 stored in the relay RAM 654 and identifies the physical block address associated with the logical block address specified by the received read signal (step S120). Thereafter, the relay CPU 652 reads the digital image data 730 recorded at the specified physical block address from the NAND flash memory 660 via the serial interface 657 (step S130). Thereafter, the relay CPU 652 provides the read digital image data 730 to the parallel interface 640 of the display control unit 60 that is external to the pseudo ROM device 650 via the pseudo ROM interface 658 (step S140).

図7は、擬似ROMデバイス650の中継CPU652によって実行されるライト中継処理を示すフローチャートである。データの書き込み信号(例えば、擬似ROMライタからの信号)が、擬似ROMインタフェース658に入力されると、中継CPU652は、図7に示すライト中継処理を開始する。本実施例では、図7のライト中継処理に先立って、パチンコ機10の電源投入時に、アドレス対応テーブル720は、中継RAM654に記憶されている(図5のステップS320,S380)。   FIG. 7 is a flowchart showing the write relay process executed by the relay CPU 652 of the pseudo ROM device 650. When a data write signal (for example, a signal from the pseudo ROM writer) is input to the pseudo ROM interface 658, the relay CPU 652 starts the write relay process shown in FIG. In this embodiment, prior to the write relay process of FIG. 7, the address correspondence table 720 is stored in the relay RAM 654 when the pachinko machine 10 is powered on (steps S320 and S380 of FIG. 5).

中継CPU652は、図7に示すライト中継処理を開始すると、擬似ROMインタフェース658から書き込み信号を受け取る(ステップS210)。その後、中継CPU652は、擬似ROMインタフェース658のライト端子659に入力されたライト信号がハイレベル(1)であるか否かを判断する(ステップS215)。   When the relay CPU 652 starts the write relay process shown in FIG. 7, the relay CPU 652 receives a write signal from the pseudo ROM interface 658 (step S210). Thereafter, the relay CPU 652 determines whether or not the write signal input to the write terminal 659 of the pseudo ROM interface 658 is at a high level (1) (step S215).

ライト端子659に入力されたライト信号がローレベル(0)である場合、例えば、擬似ROMデバイス650が表示制御部60に実装されている場合(ステップS215)、中継CPU652は、擬似ROMインタフェース658から受け取った書き込み信号に基づくデータの書き込みを実行することなく、ライト中継処理を終了する。   When the write signal input to the write terminal 659 is at a low level (0), for example, when the pseudo ROM device 650 is mounted on the display control unit 60 (step S215), the relay CPU 652 starts from the pseudo ROM interface 658. The write relay process is terminated without executing data writing based on the received write signal.

一方、ライト端子659に入力されたライト信号がハイレベル(1)である場合、例えば、表示制御部60への実装に先立って擬似ROMライタによって擬似ROMデバイス650にデジタル画像データ730が記録される場合(ステップS215)、中継CPU652は、中継RAM654に記憶されたアドレス対応テーブル720を参照して、擬似ROMインタフェース658から受け取った書き込み信号によって書き込み指定された論理ブロックアドレスに対応付けられている物理ブロックアドレスを特定する(ステップS220)。その後、中継CPU652は、アドレス対応テーブル720で特定した物理ブロックアドレスに、書き込み信号に含まれるデジタル画像データ730をシリアルインタフェース657を介して書き込む(ステップS230)。   On the other hand, when the write signal input to the write terminal 659 is at a high level (1), for example, the digital image data 730 is recorded in the pseudo ROM device 650 by the pseudo ROM writer prior to mounting on the display control unit 60. In this case (step S215), the relay CPU 652 refers to the address correspondence table 720 stored in the relay RAM 654 and refers to the physical block associated with the logical block address designated for writing by the write signal received from the pseudo ROM interface 658. An address is specified (step S220). Thereafter, the relay CPU 652 writes the digital image data 730 included in the write signal to the physical block address specified in the address correspondence table 720 via the serial interface 657 (step S230).

その後、中継CPU652は、書き込みを実施した同じ物理ブロックアドレスからデータを読み出し、書き込んだデータと読み出したデータとを比較することによって、デジタル画像データ730が正確に記録されたか否かを検査するベリファイを実行する(ステップS240)。   Thereafter, the relay CPU 652 reads data from the same physical block address where the writing was performed, and compares the written data with the read data, thereby verifying whether or not the digital image data 730 has been recorded correctly. Execute (Step S240).

ベリファイによって書き込み不良が確認された場合(ステップS245)、中継CPU652は、中継RAM654に記憶されたアドレス対応テーブル720を修正する(ステップS250)。本実施例では、アドレス対応テーブル720の修正によって、書き込み不良が確認された良ブロックは、不良ブロックに変更され、その物理データブロックに対応付けられていた論理データブロックは、他の良ブロックに対応付けられる。中継RAM654に記憶されたアドレス対応テーブル720が修正された後(ステップS250)、中継CPU652は、修正したアドレス対応テーブル720を参照して、デジタル画像データ730の再書き込みを行う(ステップS260)。その後、中継CPU652は、ベリファイからの処理を再実行する(ステップS240)。   When the writing failure is confirmed by the verification (step S245), the relay CPU 652 corrects the address correspondence table 720 stored in the relay RAM 654 (step S250). In this embodiment, a good block for which a write failure has been confirmed is changed to a defective block by correcting the address correspondence table 720, and a logical data block associated with the physical data block corresponds to another good block. Attached. After the address correspondence table 720 stored in the relay RAM 654 is modified (step S250), the relay CPU 652 refers to the modified address correspondence table 720 and rewrites the digital image data 730 (step S260). Thereafter, the relay CPU 652 re-executes the processing from the verification (step S240).

一方、ベリファイによって書き込み不良が確認されない場合(ステップS245)、中継CPU652は、書き込み信号に書き込み指定されたデータを全て書き込むために、後続のデータについてライト信号の判断(ステップS215)からの処理を繰り返し実行する(ステップS247)。書き込み信号に書き込み指定されたデータが全てNAND型フラッシュメモリ660に記録されると(ステップS247)、中継CPU652は、中継RAM654に記憶されたアドレス対応テーブル720を、NAND型フラッシュメモリ660に記録する(ステップS270)。   On the other hand, if the write failure is not confirmed by the verify (step S245), the relay CPU 652 repeats the processing from the determination of the write signal (step S215) for the subsequent data in order to write all the data specified to be written in the write signal. This is executed (step S247). When all the data designated to be written in the write signal is recorded in the NAND flash memory 660 (step S247), the relay CPU 652 records the address correspondence table 720 stored in the relay RAM 654 in the NAND flash memory 660 ( Step S270).

図8は、擬似ROMデバイス650の中継CPU652によって実行されるテーブル更新処理を示すフローチャートである。本実施例では、擬似ROMデバイス650の中継CPU652は、図8のテーブル更新処理を定期的に実行する。中継CPU652は、図8のテーブル更新処理を開始すると、起動時にアドレス対応テーブル720の初期化を実行していない場合(ステップS410、図5のステップS320)や、初期化後にデータの書き込みが実行されNAND型フラッシュメモリ660にアドレス対応テーブル720が記録された場合(ステップS420、図7のステップS270)、NAND型フラッシュメモリ660に記録されているアドレス対応テーブル720をNAND型フラッシュメモリ660からシリアルインタフェース657を介して中継RAM654に読み込むことによって、中継RAM654のアドレス対応テーブル720を上書きする(ステップS430)。   FIG. 8 is a flowchart showing a table update process executed by the relay CPU 652 of the pseudo ROM device 650. In this embodiment, the relay CPU 652 of the pseudo ROM device 650 periodically executes the table update process of FIG. When the relay CPU 652 starts the table update process in FIG. 8, the address correspondence table 720 is not initialized at the time of activation (step S410, step S320 in FIG. 5), or data is written after the initialization. When the address correspondence table 720 is recorded in the NAND flash memory 660 (step S420, step S270 in FIG. 7), the address correspondence table 720 recorded in the NAND flash memory 660 is transferred from the NAND flash memory 660 to the serial interface 657. To the relay RAM 654, the address correspondence table 720 of the relay RAM 654 is overwritten (step S430).

以上説明したパチンコ機10によれば、NAND型フラッシュメモリ660においてデジタル画像データ730が記録された良ブロックの物理ブロックアドレスを並べた一連の物理ブロックアドレスが、パラレルインタフェース640で取り扱われる論理ブロックアドレスに対応付けられているため、パラレルインタフェース640を介してNAND型フラッシュメモリ660からデジタル画像データ730を読み出すことができる。したがって、パチンコ機10において、NAND型フラッシュメモリ660をデジタル画像データ730の記録媒体として利用することができる。   According to the pachinko machine 10 described above, a series of physical block addresses in which the physical block addresses of good blocks in which the digital image data 730 is recorded in the NAND flash memory 660 are arranged are logical block addresses handled by the parallel interface 640. Accordingly, the digital image data 730 can be read from the NAND flash memory 660 via the parallel interface 640. Therefore, in the pachinko machine 10, the NAND flash memory 660 can be used as a recording medium for the digital image data 730.

また、擬似ROMデバイス650は、NAND型フラッシュメモリ660と共に、中継CPU652,中継RAM654,中継メモリ656,擬似ROMインタフェース658,シリアルインタフェース657を、単一のパッケージとして封止したものであるため、デジタル画像データ730が記録されたNAND型フラッシュメモリ660を、パラレルインタフェース640によってデータアクセス可能なマスクROMと同様にして取り扱うことができる。なお、NOR型のフラッシュメモリの場合、その記憶容量の大きさが変わると、記憶素子の増加に伴いアドレス線の数が変わるが、NAND型のフラッシュメモリの場合、アドレス線とデータ線とが兼用される構成から、信号線の数が変わらないため、VDP側にシリアルインタフェース657を設けた方が良いと捉えることができる。しかしながら、パチンコ機においてキャラクタ画像を記憶するメモリは、その記憶画像の内容がパチンコ機の申請の段階で第三者機関により検査されるため、そのメモリは、パチンコ機の基板にソケット形式で着脱可能であり、パチンコ機から取り外された状態でROMチェッカ等を用いてデータ内容を確認可能である必要がある。そのため、NAND型のフラッシュメモリのようにバットブロックが発生する場合があるメモリは、そのバットブロック以外の正常なメモリ領域を管理する機能(中継CPU652等)をメモリ側に持たないと、メモリ単独でのデータ内容の確認ができなくなってしまう。それゆえ、中継CPU652等がNAND型のフラッシュメモリと一体で構成されていることに有用性が生まれる。   Since the pseudo ROM device 650 includes the NAND flash memory 660, the relay CPU 652, the relay RAM 654, the relay memory 656, the pseudo ROM interface 658, and the serial interface 657 as a single package. The NAND flash memory 660 in which the data 730 is recorded can be handled in the same manner as a mask ROM that can access data by the parallel interface 640. In the case of a NOR type flash memory, if the storage capacity changes, the number of address lines changes as the number of storage elements increases. However, in the case of a NAND type flash memory, the address lines and data lines are combined. Therefore, since the number of signal lines does not change, it can be understood that it is better to provide the serial interface 657 on the VDP side. However, the memory for storing the character image in the pachinko machine is inspected by a third party at the application stage for the pachinko machine. Therefore, it is necessary to be able to confirm the data contents using a ROM checker or the like in a state of being removed from the pachinko machine. For this reason, a memory in which a bat block may occur, such as a NAND-type flash memory, does not have a function for managing a normal memory area other than the bat block (such as the relay CPU 652) on the memory side. It becomes impossible to confirm the data contents of. Therefore, it is useful that the relay CPU 652 and the like are integrated with the NAND flash memory.

また、パラレルインタフェース640とNAND型フラッシュメモリ660との間のアドレス変換が、NAND型フラッシュメモリ660から中継RAM654に読み出されたアドレス対応テーブル720に基づいて実行されるため、NAND型フラッシュメモリ660上からアドレス対応テーブル720を参照してアドレス変換を実行するよりも、NAND型フラッシュメモリ720からのデジタル画像データ730の読み出し速度を向上させることができる。これによって、デジタル画像データ730が記録されたNAND型フラッシュメモリ660を、パラレルインタフェース640からデータアクセス可能なマスクROMとして取り扱うことができる。   In addition, since address conversion between the parallel interface 640 and the NAND flash memory 660 is performed based on the address correspondence table 720 read from the NAND flash memory 660 to the relay RAM 654, the address conversion on the NAND flash memory 660 is performed. Therefore, it is possible to improve the reading speed of the digital image data 730 from the NAND flash memory 720 rather than performing address conversion with reference to the address correspondence table 720. As a result, the NAND flash memory 660 in which the digital image data 730 is recorded can be handled as a mask ROM that allows data access from the parallel interface 640.

また、パラレルインタフェース640とNAND型フラッシュメモリ660との間のアドレス変換が、中継RAM654に格納されたアドレス対応テーブル720に基づいて実行されるため、NAND型フラッシュメモリ660に対するデジタル画像データの書き込み速度を向上させることができる。   Further, since the address conversion between the parallel interface 640 and the NAND flash memory 660 is executed based on the address correspondence table 720 stored in the relay RAM 654, the writing speed of the digital image data to the NAND flash memory 660 is increased. Can be improved.

また、NAND型フラッシュメモリ660にデジタル画像データ730を書き込む際に、書き込んだデータについてのベリファイが実行され(ステップS240)、書き込み不良が検知された場合、アドレス対応テーブル720の修正およびデータの再書き込みが実行されるため(ステップS260)、NAND型フラッシュメモリ660におけるデジタル画像データ730の記録不良を防止することができる。   When the digital image data 730 is written to the NAND flash memory 660, the written data is verified (step S240). If a write failure is detected, the address correspondence table 720 is corrected and the data is rewritten. Is executed (step S260), it is possible to prevent recording failure of the digital image data 730 in the NAND flash memory 660.

また、擬似ROMデバイス650の外部からNAND型フラッシュメモリ660に対するデータの書き込みの可否を、ライト端子659に入力されるライト信号によって管理することができる。また、表示制御部60に実装された擬似ROMデバイス650のライト端子659はグランドに接続されることによって、NAND型フラッシュメモリ660に対するデータの書き込みが常時禁止される。これによって、擬似ROMデバイス650に対する複雑な制御を行うことなしに、NAND型フラッシュメモリ660に書き込まれたデジタル画像データ730の改変を防止することができる。   Further, whether or not data can be written to the NAND flash memory 660 from the outside of the pseudo ROM device 650 can be managed by a write signal input to the write terminal 659. The write terminal 659 of the pseudo ROM device 650 mounted on the display control unit 60 is connected to the ground, so that data writing to the NAND flash memory 660 is always prohibited. Accordingly, it is possible to prevent the digital image data 730 written in the NAND flash memory 660 from being modified without performing complicated control on the pseudo ROM device 650.

また、中継RAM654に記憶されたアドレス対応テーブル720が定期的に上書きされるため(ステップS430)、中継RAM654上のアドレス対応テーブル720が、静電気や電波などのノイズによって損壊した場合であっても、定期的にアドレス対応テーブル720が更新されるため、デジタル画像データ730の読み出し誤りを抑制することができる。なお、従来、キャラクタROMをVDPに接続するインタフェースは、アドレスバスとデータバスとが独立したパラレルインタフェースであると共に、キャラクタROMに対してランダムアクセス可能なランダムアクセスインタフェースとして構成されていた。近年、遊技機においては、遊技機で取り扱われる画像情報量が増大化する傾向にある。本願発明は、その画像情報量の増大化に対応する一つの手段として、フラッシュメモリを利用する技術を提供する。フラッシュメモリの種類としては、NOR型とNAND型とがある。NOR型のフラッシュメモリは、NAND型よりも高速なランダムアクセスが可能であり、NOR型のフラッシュメモリを遊技機に利用すれば、遊技機における既存のインタフェースに容易に接続することができる。NAND型のフラッシュメモリは、NOR型よりも大容量化や小型化に有利であり、記憶容量あたりのコストパフォーマンスに優れる。しかしながら、NAND型のフラッシュメモリは、アドレスバスとデータバスとを兼用してデータを連続してやり取りするシリアルインタフェースに対応しているため、遊技機における既存のインタフェースに接続することは容易ではなかった。また、従来、遊技機における画像情報を記憶するために、シリアルインタフェースに接続可能なシーケンシャルROMを利用した遊技機もあったが、アクセススピードの点でフラッシュメモリに劣るものであった。パチンコ機では、遊技の進行に基づいて適時液晶表示装置に画像を表示し、パチンコ機内で内部抽選された結果を、おもしろおかしく見せて遊技者の興趣を誘う。そのため、突然画像を替えたりすることもあり、その場合、必要な画像情報をいかに早く読み出せるかが重要である。その点では、シーケンシャルROMよりは、フラッシュメモリを採用することが望ましく、更には、記憶容量の点から、NAND型フラッシュメモリを採用することが望ましい。しかしながら、NAND型のフラッシュメモリの場合、バットブロックを管理する必要があり、その点では使い勝手が悪い。そういった点では、NOR型の大容量化については、デバイスメーカーで研究が重ねられており、大容量化が進めば、そのまま、NOR型のフラッシュメモリに置き換えることもでき、利に叶なっているといえる。   In addition, since the address correspondence table 720 stored in the relay RAM 654 is periodically overwritten (step S430), even if the address correspondence table 720 on the relay RAM 654 is damaged by noise such as static electricity or radio waves, Since the address correspondence table 720 is periodically updated, reading errors of the digital image data 730 can be suppressed. Conventionally, the interface for connecting the character ROM to the VDP is a parallel interface in which the address bus and the data bus are independent, and is configured as a random access interface capable of randomly accessing the character ROM. In recent years, in gaming machines, the amount of image information handled by gaming machines tends to increase. The present invention provides a technique using a flash memory as one means corresponding to the increase in the amount of image information. There are two types of flash memory: NOR type and NAND type. The NOR type flash memory can perform random access faster than the NAND type, and if the NOR type flash memory is used in a gaming machine, it can be easily connected to an existing interface in the gaming machine. NAND flash memory is more advantageous than NOR type in terms of capacity increase and miniaturization, and is superior in cost performance per storage capacity. However, the NAND flash memory is compatible with a serial interface that uses both the address bus and the data bus to exchange data continuously, so it is not easy to connect to an existing interface in a gaming machine. . Conventionally, there is a gaming machine that uses a sequential ROM that can be connected to a serial interface to store image information in the gaming machine, but it is inferior to a flash memory in terms of access speed. In the pachinko machine, an image is displayed on the liquid crystal display device in a timely manner based on the progress of the game, and the result of the internal lottery in the pachinko machine is shown funny and invites the player's interest. Therefore, the image may be suddenly changed, and in that case, it is important how quickly necessary image information can be read out. In that respect, it is desirable to employ a flash memory rather than a sequential ROM, and it is desirable to employ a NAND flash memory from the viewpoint of storage capacity. However, in the case of a NAND flash memory, it is necessary to manage the bat block, which is inconvenient to use. In this respect, device manufacturers have been researching about increasing the capacity of the NOR type, and if the capacity increases, it can be replaced with a NOR type flash memory as it is, I can say that.

B.第2の実施例:
第2の実施例におけるパチンコ機10の構成は、NAND型フラッシュメモリ660に対するデータの書き込みの禁止を管理するために、擬似ROMインタフェース658のライト端子659に代えて、またはライト端子659と共に、擬似ROMデバイス650の内部に設定されたライトフラグ715を有する点を除き、第1の実施例と同様である。
B. Second embodiment:
The configuration of the pachinko machine 10 in the second embodiment is a pseudo ROM instead of the write terminal 659 of the pseudo ROM interface 658 or together with the write terminal 659 in order to manage prohibition of data writing to the NAND flash memory 660. Except for having a write flag 715 set inside the device 650, it is the same as in the first embodiment.

図9は、第2の実施例のパチンコ機10における表示制御部60の電気的構成を主に示すブロック図である。第2の実施例における表示制御部60に実装された擬似ROMデバイス650のNAND型フラッシュメモリ660には、アドレス対応テーブル720およびデジタル画像データ730に加えて、NAND型フラッシュメモリ660に対するデータの書き込みの可否を示すライトフラグ715が、アドレス対応テーブル720と同じ良ブロックに予め記録されている。本実施例では、ライトフラグ715は、「0」と「1」で表される二値データであり、「0」の場合にNAND型フラッシュメモリ660に対するデータの書き込み可を示し、「1」の場合にデータNAND型フラッシュメモリ660に対するデータの書き込み不可を示す。本実施例では、表示制御部60に実装された擬似ROMデバイス650のNAND型フラッシュメモリ660には、ライトフラグ715が「1」の値で予め設定されている。   FIG. 9 is a block diagram mainly showing an electrical configuration of the display control unit 60 in the pachinko machine 10 of the second embodiment. In addition to the address correspondence table 720 and the digital image data 730, the NAND flash memory 660 of the pseudo ROM device 650 mounted on the display control unit 60 in the second embodiment writes data to the NAND flash memory 660. A write flag 715 indicating availability is recorded in advance in the same good block as the address correspondence table 720. In this embodiment, the write flag 715 is binary data represented by “0” and “1”. When “0”, the write flag 715 indicates that data can be written to the NAND flash memory 660, Indicates that data cannot be written to the data NAND flash memory 660. In this embodiment, the write flag 715 is preset with a value of “1” in the NAND flash memory 660 of the pseudo ROM device 650 mounted on the display control unit 60.

本実施例では、擬似ROMデバイス650のライトフラグ715は、表示制御部60への実装に先立って、擬似ROMデバイス650の擬似ROMインタフェース658とデータのやり取りを行う擬似ROMライタ(図示しない)からのフラグ変更信号に基づいて記録される。本実施例では、擬似ROMデバイス650の中継CPU652は、接続された擬似ROMライタ(図示しない)から擬似ROMデバイス650に書き込まれる予定であるデータの総容量値を取得した後、取得した総容量値に応じた良ブロックを確保するまで、NAND型フラッシュメモリ660の不良ブロックの検出を行い、不良ブロックの検出結果に基づいてアドレス対応テーブル720を作成して、最初の良ブロックにアドレス対応テーブル720を書き込む。本実施例では、中継CPU652は、擬似ROMライタ(図示しない)からのフラグ変更信号に基づいてライトフラグ715を「0」に設定した後、擬似ROMライタ(図示しない)からのデジタル画像データ730の書き込み信号に従って、不良ブロックを避けてデジタル画像データ730をNAND型フラッシュメモリ660に記録する。その後、中継CPU652は、擬似ROMライタ(図示しない)からのフラグ変更信号に基づいてライトフラグ715を「1」に設定する。その後、擬似ROMデバイス650は表示制御部60に実装される。   In this embodiment, the write flag 715 of the pseudo ROM device 650 is received from a pseudo ROM writer (not shown) that exchanges data with the pseudo ROM interface 658 of the pseudo ROM device 650 prior to mounting on the display control unit 60. Recorded based on the flag change signal. In this embodiment, the relay CPU 652 of the pseudo ROM device 650 acquires the total capacity value of data that is to be written to the pseudo ROM device 650 from the connected pseudo ROM writer (not shown), and then acquires the acquired total capacity value. Until a good block corresponding to the above is secured, a defective block of the NAND flash memory 660 is detected, an address correspondence table 720 is created based on the detection result of the defective block, and the address correspondence table 720 is created for the first good block. Write. In this embodiment, the relay CPU 652 sets the write flag 715 to “0” based on the flag change signal from the pseudo ROM writer (not shown) and then the digital image data 730 from the pseudo ROM writer (not shown). According to the write signal, the digital image data 730 is recorded in the NAND flash memory 660 while avoiding the defective block. Thereafter, the relay CPU 652 sets the write flag 715 to “1” based on a flag change signal from a pseudo ROM writer (not shown). Thereafter, the pseudo ROM device 650 is mounted on the display control unit 60.

第2の実施例におけるパチンコ機10の動作は、擬似ROMインタフェース658のライト端子659に代えて、擬似ROMデバイス650の内部に設定されたライトフラグ715に基づいてライト中継処理を行う点を除き、第1の実施例の動作と同様である。   The operation of the pachinko machine 10 in the second embodiment is performed except that the write relay process is performed based on the write flag 715 set inside the pseudo ROM device 650 instead of the write terminal 659 of the pseudo ROM interface 658. The operation is the same as that of the first embodiment.

図10は、第2の実施例において擬似ROMデバイス650の中継CPU652によって実行されるライト中継処理を示すフローチャートである。データの書き込み信号が、擬似ROMインタフェース658に入力されると、中継CPU652は、図10に示すライト中継処理を開始する。本実施例では、図10のライト中継処理に先立って、パチンコ機10の電源投入時に、アドレス対応テーブル720は、中継RAM654に記憶されている(図5のステップS320,S380)。   FIG. 10 is a flowchart showing the write relay process executed by the relay CPU 652 of the pseudo ROM device 650 in the second embodiment. When the data write signal is input to the pseudo ROM interface 658, the relay CPU 652 starts the write relay process shown in FIG. In the present embodiment, the address correspondence table 720 is stored in the relay RAM 654 when the pachinko machine 10 is turned on prior to the write relay process in FIG. 10 (steps S320 and S380 in FIG. 5).

中継CPU652は、図10に示すライト中継処理を開始すると、擬似ROMインタフェース658から書き込み信号を受け取る(ステップS510)。その後、中継CPU652は、ライトフラグ715がハイレベル(1)であるか否かを判断する(ステップS515)。   When the relay CPU 652 starts the write relay process shown in FIG. 10, it receives a write signal from the pseudo ROM interface 658 (step S510). Thereafter, the relay CPU 652 determines whether or not the write flag 715 is at a high level (1) (step S515).

ライトフラグ715がハイレベル(1)である場合、例えば、擬似ROMデバイス650が表示制御部60に実装されている場合(ステップS515)、中継CPU652は、擬似ROMインタフェース658から受け取った書き込み信号に基づくデータの書き込みを実行することなく、ライト中継処理を終了する。   When the write flag 715 is at the high level (1), for example, when the pseudo ROM device 650 is mounted on the display control unit 60 (step S515), the relay CPU 652 is based on the write signal received from the pseudo ROM interface 658. The write relay process is terminated without executing data writing.

一方、ライトフラグ715がローレベル(0)である場合、例えば、表示制御部60への実装に先立って擬似ROMデバイス650にデジタル画像データ730が記録される場合(ステップS515)、中継CPU652は、中継RAM654に記憶されたアドレス対応テーブル720を参照して、擬似ROMインタフェース658から受け取った書き込み信号によって書き込み指定された論理ブロックアドレスに対応付けられている物理ブロックアドレスを特定する(ステップS220)。その後、中継CPU652は、図7のライト中継処理と同様に、デジタル画像データ730の書き込みを実行する。   On the other hand, when the write flag 715 is at the low level (0), for example, when the digital image data 730 is recorded in the pseudo ROM device 650 prior to mounting on the display control unit 60 (step S515), the relay CPU 652 With reference to the address correspondence table 720 stored in the relay RAM 654, the physical block address associated with the logical block address designated for writing by the write signal received from the pseudo ROM interface 658 is specified (step S220). Thereafter, the relay CPU 652 executes the writing of the digital image data 730 as in the write relay process of FIG.

以上説明した第2の実施例におけるパチンコ機10によれば、第1の実施例と同様に、NAND型フラッシュメモリ660上からアドレス対応テーブル720を参照してアドレス変換を実行するよりも、NAND型フラッシュメモリ720からのデジタル画像データ730の読み出し速度を向上させることができる。また、擬似ROMデバイス650の外部からNAND型フラッシュメモリ660に対するデータの書き込みの可否を、擬似ROMデバイス650の内部に設定されたライトフラグ715によって管理することができる。また、表示制御部60に実装された擬似ROMデバイス650のライトフラグ715は「1」の値に予め設定されることによって、NAND型フラッシュメモリ660に対するデータの書き込みが常時禁止される。これによって、擬似ROMデバイス650に対する複雑な制御を行うことなしに、NAND型フラッシュメモリ660に書き込まれたデジタル画像データ730の改変を防止することができる。   According to the pachinko machine 10 in the second embodiment described above, as in the first embodiment, the NAND type is more effective than the address conversion by referring to the address correspondence table 720 on the NAND flash memory 660. The reading speed of the digital image data 730 from the flash memory 720 can be improved. Further, whether or not data can be written to the NAND flash memory 660 from the outside of the pseudo ROM device 650 can be managed by a write flag 715 set inside the pseudo ROM device 650. The write flag 715 of the pseudo ROM device 650 mounted on the display control unit 60 is set to a value of “1” in advance, so that data writing to the NAND flash memory 660 is always prohibited. Accordingly, it is possible to prevent the digital image data 730 written in the NAND flash memory 660 from being modified without performing complicated control on the pseudo ROM device 650.

C.その他の実施形態:
以上、本発明の実施の形態について説明したが、本発明はこうした実施の形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内において様々な形態で実施し得ることは勿論である。例えば、NAND型フラッシュメモリ660は、不良ブロックを飛ばしてデジタル画像データが順次記録されたものに限るものではなく、不良ブロックを他の良ブロックで代替した代替ブロックを利用してデジタル画像データが記録されたものであっても良い。
C. Other embodiments:
As mentioned above, although embodiment of this invention was described, this invention is not limited to such embodiment at all, Of course, it can implement with various forms within the range which does not deviate from the meaning of this invention. is there. For example, the NAND flash memory 660 is not limited to one in which digital image data is sequentially recorded by skipping defective blocks, and digital image data is recorded using an alternative block in which the defective block is replaced with another good block. It may be what was done.

図11は、他の実施形態における中継メモリ656に記憶されたアドレス対応テーブル720の一例を示す説明図である。図11のアドレス対応テーブル720で管理されるNAND型フラッシュメモリ660には、良ブロックの一部が代替ブロックとして用意され、デジタル画像データ730は、一連の物理ブロックアドレスの順に従ってNAND型フラッシュメモリ660に順次記録され、記録対象となった物理データブロックが不良ブロックである場合、その不良ブロックに記録すべきデータは、代替ブロックに記録される。図11に示す例では、良ブロックである物理ブロックアドレスPBA0001〜PBA0003の物理データブロックには、デジタル画像データGD0000〜GD0002が順次記録され、不良ブロックである物理ブロックアドレスPBA0004の物理データブロックに記録すべきデジタル画像データGD0003は、代替ブロックである物理ブロックアドレスPBA9999の物理データブロックに記録され、後続のデジタル画像データは、同様に順次記録されている。図11に示す例では、一連の論理ブロックアドレス722は、デジタル画像データが記録された良ブロックの物理ブロックアドレスをデジタル画像データの格納順に並べた一連の物理ブロックアドレスに順次対応付けられている。例えば、論理ブロックアドレスLBA0003は、物理ブロックアドレスPBA0003の不良ブロックに対応する代替ブロックである物理ブロックアドレスPBA9999に対応付けられている。   FIG. 11 is an explanatory diagram illustrating an example of the address correspondence table 720 stored in the relay memory 656 according to another embodiment. In the NAND flash memory 660 managed by the address correspondence table 720 in FIG. 11, a part of the good block is prepared as a substitute block, and the digital image data 730 is stored in the NAND flash memory 660 in the order of a series of physical block addresses. If the physical data block that is sequentially recorded and recorded is a defective block, the data to be recorded in the defective block is recorded in the alternative block. In the example shown in FIG. 11, digital image data GD0000 to GD0002 are sequentially recorded in the physical data blocks of physical block addresses PBA0001 to PBA0003 that are good blocks, and are recorded in the physical data block of physical block address PBA0004 that is a defective block. The digital image data GD0003 to be recorded is recorded in the physical data block of the physical block address PBA9999 which is a substitute block, and the subsequent digital image data is sequentially recorded in the same manner. In the example illustrated in FIG. 11, the series of logical block addresses 722 are sequentially associated with a series of physical block addresses in which physical block addresses of good blocks in which digital image data is recorded are arranged in the storage order of the digital image data. For example, the logical block address LBA0003 is associated with a physical block address PBA9999 that is an alternative block corresponding to the defective block of the physical block address PBA0003.

また、本実施例では、NAND型フラッシュメモリ660に記録されたデジタル画像データ730は圧縮データとしたが、他の実施形態として、NAND型フラッシュメモリ660に記録されたデジタル画像データ730は非圧縮データであっても良い。また、本実施例では、NAND型フラッシュメモリ660に対するデータの書き込みの禁止は、中継CPU652のソフトウェアに基づく動作によって実現したが、中継CPU652などの機能をASIC(Application Specific Integrated Circuit)でハード的に構成することによって実現しても良い。また、本実施例では、ライト端子659に入力されるライト信号は、ハイレベル(1)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み可を示し、ローレベル(0)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み不可を示すとしたが、他の実施形態として、ローレベル(0)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み可を示し、ハイレベル(1)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み不可を示すとしても良い。また、本実施例では、擬似ROMデバイス650に設定されるライトフラグ715は、ローレベル(0)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み可を示し、ハイレベル(1)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み不可を示すとしたが、他の実施形態として、ハイレベル(1)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み可を示し、ローレベル(0)の値の場合にNAND型フラッシュメモリ660に対するデータの書き込み不可を示すとしても良い。   In this embodiment, the digital image data 730 recorded in the NAND flash memory 660 is compressed data. However, in another embodiment, the digital image data 730 recorded in the NAND flash memory 660 is uncompressed data. It may be. In this embodiment, the prohibition of data writing to the NAND flash memory 660 is realized by an operation based on the software of the relay CPU 652, but the functions of the relay CPU 652 and the like are configured in hardware by an ASIC (Application Specific Integrated Circuit). It may be realized by doing. In this embodiment, when the write signal input to the write terminal 659 is a high level (1) value, it indicates that data can be written to the NAND flash memory 660 and is a low level (0) value. In this embodiment, it is indicated that data cannot be written to the NAND flash memory 660. However, in another embodiment, when the value is low level (0), data can be written to the NAND flash memory 660 and high level (1 ) May indicate that data cannot be written to the NAND flash memory 660. In this embodiment, the write flag 715 set in the pseudo ROM device 650 indicates that data can be written to the NAND flash memory 660 when the low level (0) value, and the high level (1) value. In this case, it is indicated that data cannot be written to the NAND flash memory 660. However, in another embodiment, when the value is high level (1), the data can be written to the NAND flash memory 660 and low level is indicated. A value of (0) may indicate that data cannot be written to the NAND flash memory 660.

また、本実施例では、図4および図11のアドレス対応テーブル720において、論理ブロックアドレスは、物理ブロックアドレスに直接的に対応づけられる態様としたが、他の実施形態として、個々の論理ブロックアドレスに対応する物理ブロックアドレスは、その対応する論理ブロックアドレスの値との差を示すオフセット値として対応付けられても良い。例えば、図11に示した対応関係では、アドレス対応テーブル720において、論理ブロックアドレスLBA0000は、物理ブロックアドレスPBA0001とのアドレス値の差を示すオフセット値「1」に対応付けられ、論理ブロックアドレスLBA0003は、物理ブロックアドレスPBA9999とのアドレス値の差を示すオフセット値「9996」に対応付けられる。   In this embodiment, in the address correspondence table 720 of FIGS. 4 and 11, the logical block address is directly associated with the physical block address. However, as another embodiment, each logical block address is May be associated as an offset value indicating a difference from the value of the corresponding logical block address. For example, in the correspondence relationship shown in FIG. 11, in the address correspondence table 720, the logical block address LBA0000 is associated with an offset value “1” indicating the difference between the physical block address PBA0001 and the logical block address LBA0003. And an offset value “9996” indicating a difference in address value from the physical block address PBA9999.

パチンコ機10の全体構成を示す正面図である。1 is a front view showing an overall configuration of a pachinko machine 10. FIG. パチンコ機10の電気的な概略構成を示すブロック図である。2 is a block diagram showing an electrical schematic configuration of a pachinko machine 10. FIG. パチンコ機10における表示制御部60の電気的構成を主に示すブロック図である。4 is a block diagram mainly showing an electrical configuration of a display control unit 60 in the pachinko machine 10. FIG. 中継メモリ656に記憶されたアドレス対応テーブル720の一例を示す説明図である。6 is an explanatory diagram illustrating an example of an address correspondence table 720 stored in a relay memory 656. FIG. 擬似ROMデバイス650の中継CPU652によって実行される起動処理を示すフローチャートである。10 is a flowchart showing a startup process executed by the relay CPU 652 of the pseudo ROM device 650. 擬似ROMデバイス650の中継CPU652によって実行されるリード中継処理を示すフローチャートである。15 is a flowchart showing a read relay process executed by the relay CPU 652 of the pseudo ROM device 650. 擬似ROMデバイス650の中継CPU652によって実行されるライト中継処理を示すフローチャートである。15 is a flowchart showing a write relay process executed by the relay CPU 652 of the pseudo ROM device 650. 擬似ROMデバイス650の中継CPU652によって実行されるテーブル更新処理を示すフローチャートである。15 is a flowchart showing table update processing executed by the relay CPU 652 of the pseudo ROM device 650. 第2の実施例のパチンコ機10における表示制御部60の電気的構成を主に示すブロック図である。It is a block diagram which mainly shows the electric constitution of the display control part 60 in the pachinko machine 10 of a 2nd Example. 第2の実施例において擬似ROMデバイス650の中継CPU652によって実行されるライト中継処理を示すフローチャートである。It is a flowchart which shows the write relay process performed by the relay CPU652 of the pseudo ROM device 650 in a 2nd Example. 他の実施形態における中継メモリ656に記憶されたアドレス対応テーブル720の一例を示す説明図である。It is explanatory drawing which shows an example of the address corresponding | compatible table 720 memorize | stored in the relay memory 656 in other embodiment.

符号の説明Explanation of symbols

10…パチンコ機
20…外枠
30…内枠
32…ハンドル
34…スピーカ
36…演出センサ
40…遊技パネル
42…LCD
44…入賞口
442…遊技球センサ
444…入賞口駆動部
45…演出駆動部
46…電飾部
462…LED
47…演出センサ
50…ガラス枠
55…スピーカ
56…電飾部
562・・・LED
80…カードユニット
310…払出制御基板
410…主制御基板
420…周辺制御基板
430…パネル電飾基板
440…周辺分配基板
450…枠電飾基板
60…表示制御部
610…描画制御部
620…VDP
632…伸張回路
634…バススイッチ回路
636,638…伸張RAM
640…パラレルインタフェース
650…擬似ROMデバイス
652…中継CPU
654…中継RAM
656…中継メモリ
657…シリアルインタフェース
658…擬似ROMインタフェース
659…ライト端子
660…NAND型フラッシュメモリ
710…中継プログラム
715…ライトフラグ
720…アドレス対応テーブル
722…論理ブロックアドレス
724…物理ブロックアドレス
726…ブロック状態
728…格納データ
730…デジタル画像データ
DESCRIPTION OF SYMBOLS 10 ... Pachinko machine 20 ... Outer frame 30 ... Inner frame 32 ... Handle 34 ... Speaker 36 ... Production sensor 40 ... Game panel 42 ... LCD
44 ... Winning slot 442 ... Game ball sensor 444 ... Winning slot drive unit 45 ... Direction drive unit 46 ... Electric decoration unit 462 ... LED
47 ... Production sensor 50 ... Glass frame 55 ... Speaker 56 ... Illumination part 562 ... LED
DESCRIPTION OF SYMBOLS 80 ... Card unit 310 ... Discharge control board 410 ... Main control board 420 ... Peripheral control board 430 ... Panel illumination board 440 ... Peripheral distribution board 450 ... Frame illumination board 60 ... Display control part 610 ... Drawing control part 620 ... VDP
632 ... expansion circuit 634 ... bus switch circuit 636, 638 ... expansion RAM
640 ... Parallel interface 650 ... Pseudo ROM device 652 ... Relay CPU
654 ... Relay RAM
656 ... Relay memory 657 ... Serial interface 658 ... Pseudo ROM interface 659 ... Write terminal 660 ... NAND flash memory 710 ... Relay program 715 ... Write flag 720 ... Address correspondence table 722 ... Logical block address 724 ... Physical block address 726 ... Block state 728 ... Stored data 730 ... Digital image data

Claims (7)

遊技機の表示画面に表示される動画像の表示態様を制御する遊技機用制御装置であって、
デジタル画像データが記録され、シリアル転送でデータをやり取りするNAND型フラッシュメモリと、
パラレル転送でデータをやり取りするパラレルインタフェースと、
前記NAND型フラッシュメモリと前記パラレルインタフェースとの間のデータ転送を中継する中継部と、
前記NAND型フラッシュメモリから前記パラレルインタフェースを介して読み出したデジタル画像データを用いて、前記動画像を表示させる映像信号を生成するビデオディスプレイプロセッサと
を備え、
前記NAND型フラッシュメモリは、一連の物理ブロックアドレスが物理的なメモリ配列順にそれぞれ割り当てられた複数の物理データブロックを有し、
前記デジタル画像データは、前記複数の物理データブロックのうち、物理的にデータの記録が不可能な不良ブロックを避けて、物理的にデータの記録が可能な良ブロックに記録され、
前記複数の物理データブロックに含まれる複数の良ブロックの少なくとも一つには、前記デジタル画像データが記録された良ブロックの物理ブロックアドレスを並べた一連の物理ブロックアドレスを、前記パラレルインタフェースがデータのやり取りに用いる一連の論理ブロックアドレスに順次対応付けたアドレス対応テーブルが記録され、
前記中継部は、
前記NAND型フラッシュメモリにシリアル接続するシリアル接続手段と、
前記パラレルインタフェースにパラレル接続するパラレル接続手段と、
前記NAND型フラッシュメモリから前記シリアル接続手段を通じて前記アドレス対応テーブルを読み出すアドレス対応手段と、
前記パラレルインタフェースから前記パラレル接続手段を通して読み出し指定された論理ブロックアドレスに対応する物理ブロックアドレスを、前記アドレス対応手段によって読み出されたアドレス対応テーブルに基づいて特定するアドレス特定手段と、
前記NAND型フラッシュメモリにおける前記アドレス特定手段によって特定された物理ブロックアドレスが割り当てられた物理データブロックから、前記シリアル接続手段を通じて前記デジタル画像データを読み出す画像データリード手段と、
前記画像データリード手段によって読み出されたデジタル画像データを、前記パラレル接続手段を通して前記パラレルインタフェースに提供する画像データ提供手段と
を備える遊技機用制御装置。
A control device for a gaming machine that controls a display mode of a moving image displayed on a display screen of a gaming machine,
A NAND flash memory in which digital image data is recorded and exchanged by serial transfer;
A parallel interface for exchanging data with parallel transfer;
A relay unit that relays data transfer between the NAND flash memory and the parallel interface;
A video display processor for generating a video signal for displaying the moving image using digital image data read from the NAND flash memory via the parallel interface;
The NAND flash memory has a plurality of physical data blocks each assigned a series of physical block addresses in the order of physical memory arrangement,
The digital image data is recorded in a good block capable of physically recording data, avoiding a defective block that is physically impossible to record data among the plurality of physical data blocks,
At least one of the plurality of good blocks included in the plurality of physical data blocks includes a series of physical block addresses in which the physical block addresses of the good blocks on which the digital image data is recorded are arranged, and the parallel interface stores data. An address correspondence table sequentially associated with a series of logical block addresses used for exchange is recorded,
The relay unit is
Serial connection means for serial connection to the NAND flash memory;
Parallel connection means for parallel connection to the parallel interface;
Address correspondence means for reading the address correspondence table from the NAND flash memory through the serial connection means;
Address specifying means for specifying a physical block address corresponding to a logical block address designated to be read from the parallel interface through the parallel connection means based on an address correspondence table read by the address correspondence means;
Image data reading means for reading out the digital image data through the serial connection means from the physical data block to which the physical block address specified by the address specifying means in the NAND flash memory is assigned;
A gaming machine control device comprising: image data providing means for providing digital image data read by the image data reading means to the parallel interface through the parallel connection means.
前記NAND型フラッシュメモリおよび前記中継部を、単一のパッケージとして封止した請求項1記載の遊技機用制御装置。   The gaming machine control device according to claim 1, wherein the NAND flash memory and the relay unit are sealed as a single package. 前記アドレス対応テーブルが記録された良ブロックは、前記一連の物理ブロックアドレスの物理的なメモリ配列順において、前記デジタル画像データが記録された良ブロックよりも先行する請求項1または2記載の遊技機用制御装置。   The gaming machine according to claim 1 or 2, wherein the good block in which the address correspondence table is recorded precedes the good block in which the digital image data is recorded in a physical memory array order of the series of physical block addresses. Control device. 前記アドレス対応テーブルが記録された良ブロックは、前記NAND型フラッシュメモリにおける先頭の良ブロックを含む請求項1ないし3のいずれか記載の遊技機用制御装置。   4. The gaming machine control device according to claim 1, wherein the good block in which the address correspondence table is recorded includes a leading good block in the NAND flash memory. 前記アドレス対応テーブルによって前記論理ブロックアドレスに対応付けられる一連の物理ブロックアドレスは、前記不良ブロックを飛ばして前記良ブロックを前記物理的なメモリ配列順に並べたアドレス群を含む請求項1ないし4のいずれか記載の遊技機用制御装置。   The series of physical block addresses associated with the logical block address by the address correspondence table includes an address group in which the defective blocks are skipped and the good blocks are arranged in the physical memory arrangement order. Or a control device for gaming machines. 前記アドレス対応テーブルによって前記論理ブロックアドレスに対応付けられる一連の物理ブロックアドレスは、前記物理的なメモリ配列順に並んだ一連の物理ブロックアドレスに含まれる前記不良ブロックを他の良ブロックで代替して前記良ブロックを並べたアドレス群を含む請求項1ないし5のいずれか記載の遊技機用制御装置。   A series of physical block addresses associated with the logical block address by the address correspondence table replaces the defective block included in the series of physical block addresses arranged in the physical memory array order with another good block. 6. The gaming machine control device according to claim 1, comprising an address group in which good blocks are arranged. 請求項1ないし6のいずれか記載の遊技機用制御装置を備える遊技機。   A gaming machine comprising the gaming machine control device according to any one of claims 1 to 6.
JP2007072149A 2007-03-20 2007-03-20 Game machine Withdrawn JP2008228955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007072149A JP2008228955A (en) 2007-03-20 2007-03-20 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007072149A JP2008228955A (en) 2007-03-20 2007-03-20 Game machine

Publications (1)

Publication Number Publication Date
JP2008228955A true JP2008228955A (en) 2008-10-02

Family

ID=39902494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007072149A Withdrawn JP2008228955A (en) 2007-03-20 2007-03-20 Game machine

Country Status (1)

Country Link
JP (1) JP2008228955A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252917A (en) * 2009-04-22 2010-11-11 Kyoraku Sangyo Kk Pachinko game machine
JP5909569B1 (en) * 2015-02-18 2016-04-26 株式会社藤商事 Game machine
JP5909570B1 (en) * 2015-02-18 2016-04-26 株式会社藤商事 Game machine

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546490A (en) * 1991-08-09 1993-02-26 Toshiba Corp Memory card device
JPH06332806A (en) * 1993-05-25 1994-12-02 Hitachi Ltd Storage system with flash memory as storage medium and control method therefor
JPH0798998A (en) * 1993-06-30 1995-04-11 Intel Corp Nonvolatile memory
JPH07335000A (en) * 1994-06-08 1995-12-22 Fuji Film Micro Device Kk Non-volatile memory
JP2003264601A (en) * 2002-03-07 2003-09-19 Konica Corp Communication control unit and image formation system
JP2006223598A (en) * 2005-02-17 2006-08-31 Daiman:Kk Game machine
JP2007011130A (en) * 2005-07-01 2007-01-18 Canon Inc Lcd display controller

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546490A (en) * 1991-08-09 1993-02-26 Toshiba Corp Memory card device
JPH06332806A (en) * 1993-05-25 1994-12-02 Hitachi Ltd Storage system with flash memory as storage medium and control method therefor
JPH0798998A (en) * 1993-06-30 1995-04-11 Intel Corp Nonvolatile memory
JPH07335000A (en) * 1994-06-08 1995-12-22 Fuji Film Micro Device Kk Non-volatile memory
JP2003264601A (en) * 2002-03-07 2003-09-19 Konica Corp Communication control unit and image formation system
JP2006223598A (en) * 2005-02-17 2006-08-31 Daiman:Kk Game machine
JP2007011130A (en) * 2005-07-01 2007-01-18 Canon Inc Lcd display controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252917A (en) * 2009-04-22 2010-11-11 Kyoraku Sangyo Kk Pachinko game machine
JP5909569B1 (en) * 2015-02-18 2016-04-26 株式会社藤商事 Game machine
JP5909570B1 (en) * 2015-02-18 2016-04-26 株式会社藤商事 Game machine

Similar Documents

Publication Publication Date Title
JP5475845B2 (en) Game machine
JP2016150137A (en) Game machine
JP2008048763A (en) Game machine
JP5989825B2 (en) Game machine
JP2008228955A (en) Game machine
JP5989823B2 (en) Game machine
JP4512733B2 (en) Game machine
JP2008079753A (en) Game machine
JP2008119341A (en) Game machine
JP5521185B2 (en) Game machine
JP6302962B2 (en) Game machine
JP2014155736A (en) Game machine
JP4837059B2 (en) Game machine
JP2009000413A (en) Game machine
JP2008079754A (en) Game machine
JP2016187663A (en) Game machine
JP6262299B2 (en) Game machine
JP6262298B2 (en) Game machine
JP6262295B2 (en) Game machine
JP6262297B2 (en) Game machine
JP6262296B2 (en) Game machine
JP6262294B2 (en) Game machine
JP5989827B2 (en) Game machine
JP5989828B2 (en) Game machine
JP5989829B2 (en) Game machine

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Effective date: 20090323

Free format text: JAPANESE INTERMEDIATE CODE: A712

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100323

A131 Notification of reasons for refusal

Effective date: 20120424

Free format text: JAPANESE INTERMEDIATE CODE: A131

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20120731