JP6503704B2 - Gaming machine - Google Patents

Gaming machine Download PDF

Info

Publication number
JP6503704B2
JP6503704B2 JP2014240660A JP2014240660A JP6503704B2 JP 6503704 B2 JP6503704 B2 JP 6503704B2 JP 2014240660 A JP2014240660 A JP 2014240660A JP 2014240660 A JP2014240660 A JP 2014240660A JP 6503704 B2 JP6503704 B2 JP 6503704B2
Authority
JP
Japan
Prior art keywords
area
rom
data
program
cpuc
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.)
Active
Application number
JP2014240660A
Other languages
Japanese (ja)
Other versions
JP2016101282A (en
Inventor
吉野 純一
純一 吉野
賢佑 近藤
賢佑 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sammy Corp
Original Assignee
Sammy 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 Sammy Corp filed Critical Sammy Corp
Priority to JP2014240660A priority Critical patent/JP6503704B2/en
Publication of JP2016101282A publication Critical patent/JP2016101282A/en
Application granted granted Critical
Publication of JP6503704B2 publication Critical patent/JP6503704B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

遊技機に関する。   It relates to a gaming machine.

回胴式遊技機(スロットマシン)は、所定数の遊技メダルを投入後に遊技開始指示装置(スタートレバー)が操作されたことを契機として、複数の図柄が外周上に配置された複数列の回胴(リール)が回転動作し、当該回転動作を停止させるための回胴停止装置(ストップボタン)を駆使して回胴を停止させた結果、有効ライン上に所定の図柄の組合せ(例えば「777」)が並んだ場合には、通常遊技状態よりも遊技者にとって利益状態の高い特別遊技状態{通常時よりも当選役の抽選確率が上昇する遊技状態}に移行するタイプのものが一般的である。ここで、スロットマシンにおいては、遊技の興趣性を高めるための演出用の画像等が、リールの回転動作及び停止動作とシンクロした形で、液晶等のディスプレイ上にて表示される場合があり、ストップボタン等を操作した際に、リール上に表示された図柄とディスプレイ上に表示された演出用の画像等とを見比べながら、遊技の結果を予測して楽しむよう構成されているものが多い。   A rotating drum type gaming machine (slot machine) is a plurality of rows of a plurality of symbols arranged on the outer periphery, triggered by the game start instruction device (start lever) being operated after inserting a predetermined number of game medals. The cylinder (reel) rotates, and as a result of stopping the rotating cylinder using the rotating cylinder stop device (stop button) for stopping the rotating operation, a combination of predetermined symbols (for example, “777”) on the effective line If there is a line), it is common that the special gaming state in which the player has a higher profit state than the normal gaming state {the gaming state in which the winning probability of the winning combination is higher than that in the normal state} is there. Here, in the slot machine, an image or the like for presentation for enhancing the amusement of the game may be displayed on a display such as liquid crystal in a form synchronized with the rotation operation and the stop operation of the reel. Many are configured to predict and enjoy the game result while comparing a symbol displayed on the reel with an image for effect displayed on the display when the stop button or the like is operated.

また、ぱちんこ遊技機は、始動口(スタートチャッカー)に遊技球が入球したことを契機として、7セグ等の表示部上で「特別図柄」と称される図柄が変動表示され、当該特別図柄が特定態様(例えば「7」)となった場合、通常遊技状態よりも遊技者にとって利益状態の高い特別遊技状態{通常時は閉状態にある大入賞口(アタッカー)が所定条件で開放する内容の遊技}に移行するタイプの、いわゆる「デジパチ」と呼ばれている機種(従来の「第一種遊技機」)が一般的である。ここで、遊技者の利益に直結する特別図柄の表示制御の負担を軽減するために、前記の「特別図柄」とは別に、遊技の興趣性を高めるための演出用の「装飾図柄」と称される図柄が、前記特別図柄の変動とシンクロした形で、前記表示部よりもサイズが大きい液晶等のディスプレイ上で変動表示される場合がある。そして、特別図柄の変動が開始されると装飾図柄もこれに合わせて変動を開始し、特別図柄が特定態様(例えば「7」)で停止した場合、装飾図柄もこれに合わせて所定態様(例えば「777」)で停止することとなる。そして、装飾図柄が所定態様で停止したことにより、特別遊技へ移行が確定したことを遊技者が明確に認識できるよう構成されているものが多い。   In the pachinko game machine, a symbol called "special symbol" is displayed on the display unit such as 7 segments in a variable display, triggered by the game ball entering the starting opening (start chucker), and the special symbol Is a special mode (for example, "7"), a special gaming state in which the player has a high profit state than the normal gaming state {a special winning state (normally closed at a special winning opening in the closed state) The so-called "digi patch" type (conventional "first type game machine") of the type that transitions to the game of {is generally used. Here, in order to reduce the burden of display control of the special symbol directly linked to the player's profit, it is called "decorative symbol" for effect to enhance the interest of the game separately from the "special symbol" described above. The symbol to be displayed may be variably displayed on a display such as a liquid crystal having a size larger than that of the display unit in a form synchronized with the variation of the special symbol. Then, when the variation of the special symbol is started, the decorative symbol also begins to change accordingly, and when the special symbol is stopped in a specific mode (for example, "7"), the decorative symbol is also according to this, a predetermined mode (for example, It will stop at "777". In many cases, the player can clearly recognize that the transition to the special game has been decided by the decorative symbol being stopped in a predetermined manner.

このような仕組みはこの種の多くの遊技機で共通するのであるが、遊技機の動作制御等を司るプログラム容量は、不正プログラムの混入防止(遊技機メーカーが提供するプログラムの正当性保障)の観点からその容量上限が厳しく規制されていると共に、遊技性仕様を実装するためのプログラムの他にも、遊技機に対して不正行為がなされる(例えば、遊技媒体の投入口や払出口に対して不正にアクセスして遊技媒体を不正な手段で得る、等)ことを防御するための不正行為防止用のプログラムも数多く実装されている。   Such a scheme is common to many types of gaming machines of this type, but the program capacity for controlling the operation of gaming machines, etc. is for preventing the mixture of unauthorized programs (guaranteeing the legitimacy of programs provided by gaming machine manufacturers). From the point of view, the upper limit of the capacity is strictly regulated, and in addition to the program for implementing the game characteristic specification, the gaming machine is tampered with (for example, for the slot and slot for game media) There are also a number of anti-tamper programs implemented to prevent unauthorized access to game media and the like by illegal means.

特開2011−147675JP 2011-147675

しかしながら、現状では、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとが混在してROM上に配置されていることが多く、その結果これらプログラムの正当性を検証することが困難となっているという課題が存在する。   However, under the present circumstances, there are many cases where a program for implementing gameplay specifications and a program for preventing fraudulent actions are mixedly arranged on the ROM, and as a result, it is difficult to verify the legitimacy of these programs There is a problem that

本態様に係る遊技機は、
ROM領域として、
プログラムが記憶されている第一制御領域と、
データが記憶されている第一データ領域と、
プログラムが記憶されている第二制御領域と、
データが記憶されている第二データ領域と
を少なくとも有し、
RAM領域として、
前記第一制御領域に記憶されているプログラムの処理結果情報を記憶可能な第一情報格納領域と、
前記第二制御領域に記憶されているプログラムの処理結果情報を記憶可能な第二情報格納領域と
を少なくとも有し、
前記第一制御領域に記憶されているプログラムによって、電源断が発生したか否かを判断し、電源断が発生したと判断した場合には、前記第二制御領域に記憶されているプログラムにより、前記RAM領域の情報に基づいて誤り検出用情報を算出可能とし、前記第二制御領域に記憶されているプログラムにより、算出した誤り検出用情報を前記第二情報格納領域の所定の記憶領域に記憶可能とし、その後に、前記第一制御領域に記憶されているプログラムによって、リセット待ちのループ処理を実行可能とし、リセット待ちのループ処理において、電圧状態が復帰したか否かの判断はしない
ことを特徴とする遊技機である。
<付記>
尚、本態様とは異なる別態様について以下に列記しておくが、これらには何ら限定されることなく実施することが可能である。
本別態様に係る遊技機は、
ROM(例えば、内蔵ROMC110)と、RAM(例えば、内蔵RAMC120)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記RAMは、
前記第一制御領域にて配置されている前記プログラムに従う前記CPUによる処理結果データを記憶する第一情報格納領域(例えば、第1RAM領域)と、
前記第二制御領域にて配置されている前記プログラムに従う前記CPUによる処理結果データを記憶する第二情報格納領域(例えば、第2RAM領域)と
を有し、
前記第一情報格納領域に記憶された処理結果データ及び前記第二情報格納領域に記憶された処理結果データの誤り検出を行う際には、前記第一情報格納領域に記憶された処理結果データに関する誤り検出用情報に基づく誤り検出(例えば、チェックサムチェックを行う手法)と前記第二情報格納領域に記憶された処理結果データに関する誤り検出用情報に基づく誤り検出(例えば、チェックサムチェックを行う手法)とを別々に行うよう構成されている
ことを特徴とする遊技機である。
The gaming machine according to this aspect is
As ROM area,
A first control area in which the program is stored,
A first data area in which data is stored;
A second control area in which the program is stored,
A second data area in which data is stored and
Have at least
As a RAM area,
A first information storage area capable of storing processing result information of a program stored in the first control area;
A second information storage area capable of storing processing result information of a program stored in the second control area;
Have at least
Based on the program stored in the first control area, it is determined whether or not the power failure has occurred, and when it is determined that the power failure has occurred, the program stored in the second control area is: The error detection information can be calculated based on the information in the RAM area, and the calculated error detection information is stored in a predetermined storage area of the second information storage area by the program stored in the second control area. After that, the loop process waiting for reset can be executed by the program stored in the first control area, and in the loop process waiting for reset, it is not judged whether or not the voltage state is recovered.
It is a game machine characterized by.
<Supplementary Note>
In addition, although listed about another aspect different from this aspect below, it is possible to implement without being limited to these at all.
The gaming machine according to this aspect is
A gaming machine comprising a ROM (for example, a built-in ROM C110), a RAM (for example, a built-in RAM C120), and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
The RAM is
A first information storage area (for example, a first RAM area) for storing processing result data by the CPU according to the program disposed in the first control area;
A second information storage area (for example, a second RAM area) for storing processing result data by the CPU according to the program arranged in the second control area;
When error detection is performed on the processing result data stored in the first information storage area and the processing result data stored in the second information storage area, the processing related data stored in the first information storage area Error detection based on error detection information (for example, a method of performing a checksum check) and error detection based on error detection information on processing result data stored in the second information storage area (for example, a method of performing a checksum check) And the like are separately configured.

本態様に係る遊技機によれば、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの正当性を検証することが容易となるという効果を奏する。   According to the gaming machine of the present aspect, it is possible to easily verify the legitimacy of the program for implementing the game characteristic specification and the program for preventing fraudulent acts.

図1は、本実施形態に係る回胴式遊技機の斜視図である。FIG. 1 is a perspective view of a drum-type gaming machine according to the present embodiment. 図2は、本実施形態に係る回胴式遊技機の扉を開いた状態の斜視図である。FIG. 2 is a perspective view of the turning-type gaming machine according to the present embodiment with the door open. 図3は、本実施形態に係る回胴式遊技機における、メダル投入口内部の斜視図である。FIG. 3 is a perspective view of the inside of the medal slot in the reel-type gaming machine according to the present embodiment. 図4は、本実施形態に係る回胴式遊技機における、メダル払出装置の正面図及び上面図である。FIG. 4 is a front view and a top view of the medal payout device in the roll-type game machine according to the present embodiment. 図5は、本実施形態に係る回胴式遊技機の電気的全体構成図である。FIG. 5 is an overall electrical configuration diagram of the reel-type gaming machine according to the present embodiment. 図6は、本実施形態に係る回胴式遊技機の主制御チップに係る電気的構成図である。FIG. 6 is an electrical configuration diagram according to the main control chip of the roll-type game machine according to the present embodiment. 図7は、本実施形態に係る回胴式遊技機における、主制御チップのメモリマップ構成図である。FIG. 7 is a memory map configuration diagram of a main control chip in the reel-type gaming machine according to the present embodiment. 図8は、本実施形態に係る回胴式遊技機における、主制御基板側でのメインフローチャートである。FIG. 8 is a main flowchart on the main control board side in the reel-to-play type gaming machine according to the present embodiment. 図9は、本実施形態に係る回胴式遊技機における、主制御基板側での設定変更装置制御処理のフローチャートである。FIG. 9 is a flowchart of setting change device control processing on the main control board side in the reel-type game machine according to the present embodiment. 図10は、本実施形態に係る回胴式遊技機における、主制御基板側での遊技進行制御処理(1枚目)のフローチャートである。FIG. 10 is a flowchart of the game progression control process (first sheet) on the main control board side in the reel-type game machine according to the present embodiment. 図11は、本実施形態に係る回胴式遊技機における、主制御基板側での遊技進行制御処理(2枚目)のフローチャートである。FIG. 11 is a flow chart of the game progression control process (second sheet) on the main control board side in the reel-type game machine according to the present embodiment. 図12は、本実施形態に係る回胴式遊技機における、主制御基板側での遊技進行制御処理(3枚目)のフローチャートである。FIG. 12 is a flow chart of the game progression control process (third sheet) on the main control board side in the reel-type game machine according to the present embodiment. 図13は、本実施形態に係る回胴式遊技機における、主制御基板側での復帰不可能エラー処理のフローチャートである。FIG. 13 is a flow chart of return impossible error processing on the main control board side in the reel-type game machine according to the present embodiment. 図14は、本実施形態に係る回胴式遊技機における、主制御基板側でのメダル投入エラー検出処理のフローチャートである。FIG. 14 is a flowchart of medal insertion error detection processing on the main control board side in the reel-type game machine according to the present embodiment. 図15は、本実施形態に係る回胴式遊技機における、主制御基板側でのメダル払出エラー検出処理のフローチャートである。FIG. 15 is a flowchart of a medal payout error detection process on the main control board side in the reel-type game machine according to the present embodiment. 図16は、本実施形態に係る回胴式遊技機における、主制御基板側での投入・払出エラー検出処理のフローチャートである。FIG. 16 is a flowchart of insertion / withdrawal error detection processing on the main control board side in the reel-type gaming machine according to the present embodiment. 図17は、本実施形態に係る回胴式遊技機における、主制御基板側でのタイマ割り込み時処理のフローチャートである。FIG. 17 is a flowchart of timer interrupt processing on the main control board side in the reel-type game machine according to the present embodiment. 図18は、本実施形態に係る回胴式遊技機における、主制御基板側でのメダル投入チェック処理のフローチャートである。FIG. 18 is a flowchart of the medal insertion check process on the main control board side in the reel-type game machine according to the present embodiment. 図19は、本実施形態に係る回胴式遊技機における、主制御基板側でのメダル払出チェック処理のフローチャートである。FIG. 19 is a flowchart of the medal payout check process on the main control board side in the reel-type game machine according to the present embodiment. 図20は、本実施形態に係る回胴式遊技機における、主制御基板側での投入・払出エラーチェック処理のフローチャートである。FIG. 20 is a flowchart of insertion / withdrawal error check processing on the main control board side in the reel-type game machine according to the present embodiment. 図21は、本実施形態に係る回胴式遊技機における、主制御基板側での電源断時処理のフローチャートである。FIG. 21 is a flowchart of the power-off process on the main control board side in the reel-type game machine according to the present embodiment. 図22は、第2実施形態に係る回胴式遊技機における、主制御基板側でのメインフローチャート(1枚目)である。FIG. 22 is a main flowchart (first sheet) on the main control board side in the reel-to-play type gaming machine according to the second embodiment. 図23は、第2実施形態に係る回胴式遊技機における、主制御基板側でのメインフローチャート(2枚目)である。FIG. 23 is a main flowchart (second sheet) on the main control board side in the reel-type gaming machine according to the second embodiment. 図24は、第2実施形態に係る回胴式遊技機における、主制御基板側での遊技進行制御処理(2枚目)のフローチャートである。FIG. 24 is a flow chart of the game progression control process (second sheet) on the main control board side in the reel-type game machine according to the second embodiment. 図25は、第2実施形態に係る回胴式遊技機における、主制御基板側でのメダル投入エラー検出処理のフローチャートである。FIG. 25 is a flowchart of medal insertion error detection processing on the main control board side in the reel-type game machine according to the second embodiment. 図26は、第2実施形態に係る回胴式遊技機における、主制御基板側でのメダル払出エラー検出処理のフローチャートである。FIG. 26 is a flowchart of medal payout error detection processing on the main control board side in the reel-type game machine according to the second embodiment. 図27は、第2実施形態に係る回胴式遊技機における、主制御基板側での投入・払出エラー検出処理のフローチャートである。FIG. 27 is a flowchart of insertion / withdrawal error detection processing on the main control board side in the reel-type gaming machine according to the second embodiment. 図28は、第2実施形態に係る回胴式遊技機における、主制御基板側での遊技進行制御処理(3枚目)のフローチャートである。FIG. 28 is a flow chart of the game progression control process (third sheet) on the main control board side in the reel-type game machine according to the second embodiment. 図29は、第2実施形態に係る回胴式遊技機における、主制御基板側での復帰不可能エラー処理のフローチャートである。FIG. 29 is a flow chart of return impossible error processing on the main control board side in the reel-to-play type gaming machine according to the second embodiment. 図30は、第2実施形態に係る回胴式遊技機における、主制御基板側でのタイマ割り込み時処理のフローチャートである。FIG. 30 is a flow chart of timer interrupt processing on the main control board side in the reel-type game machine according to the second embodiment. 図31は、第2実施形態に係る回胴式遊技機における、主制御基板側での電源断時処理のフローチャートである。FIG. 31 is a flowchart of the power-off process on the main control board side in the reel-type game machine according to the second embodiment.

はじめに、本明細書における各用語の意義について説明する。「乱数」とは、回胴式遊技機において何らかの遊技内容を決定するための抽選(電子計算機によるくじ)に使用される乱数であり、狭義の乱数の他に擬似乱数も含む(例えば、乱数としてはハード乱数、擬似乱数としてはソフト乱数)。例えば、遊技の結果に影響を与えるいわゆる「基本乱数」、具体的には、特別遊技の移行や入賞役と関連した「当選乱数」、等を挙げることができる。「CPU」とは、当業界において周知であるものと同義であり、使用されているアーキテクチャ(CISC、RISC、ビット数等)や処理性能等には何ら限定されない。「電断(電源断)」とは、遊技機に設けられた電源スイッチの操作実行有無に係らず、遊技機に供給される電源電圧が一定レベル以下となったことを指し、例えば、電源供給ユニットの破損や停電等による不測の事態による電源供給の遮断をも包含する。「ROM」とは、当業界において周知であるものと同義であり、情報を物理的に保持する(例えば、データ読み出し用の電流を与えた場合、導通する素子構成であれば「1」、導通しない素子構成であれば「0」となる)。RAMとは、当業界において周知であるものと同義であり、情報を電気的に保持する(例えば、データ読み出し用の電流を与えた場合、蓄電されていれば「1」、蓄電されていなければ「0」となる。尚、RAM内で保持されているデータの一部又はすべてに対して、電断時にはバックアップ電源が供給されるよう構成されていることが一般的である)。「遊技状態」とは、例えば、遊技メダルが獲得容易であり遊技者にとって有利な特別遊技状態(いわゆる大当り遊技であり、ボーナス遊技や第1種BB・第2種BB等と呼ばれるものが該当する)、再遊技の当選率があらかじめ定められた値である通常遊技状態よりも再遊技当選率が高い(又は低い)状態である再遊技確率変動遊技状態(RT状態)、当選した役を入賞させるためのリールの停止順を報知し得るAT(アシストタイム)状態、前記RT状態とAT状態とが複合したART(アシストリプレイタイム)状態、等が挙げられる。また、前記通常遊技状態においても、前記RT状態、AT状態、ART状態への移行抽選確率が異なる、高確率通常遊技状態、低確率通常遊技状態、等が挙げられる。また、前記遊技状態は複合しても問題ない{更に、これらの遊技状態や機能(例えば、AT状態への移行抽選や、リールの停止順に係る報知指示の出力等)は、遊技進行を制御する主制御基板側ですべて実装してしまっても問題ない}。   First, the meaning of each term in the present specification will be described. "Random number" is a random number used in a lottery (lottery by an electronic computer) for determining some game contents in a revolving type gaming machine, and includes pseudo random numbers in addition to random numbers in a narrow sense (for example, as random numbers Are hard random numbers, soft random numbers as pseudo random numbers). For example, so-called "basic random numbers" that affect the outcome of the game, specifically, "winning random numbers" associated with the transition of special games or winning combinations can be mentioned. The "CPU" is synonymous with what is known in the art, and is not limited at all to the used architecture (CISC, RISC, number of bits, etc.) or processing performance. "Power off (power off)" indicates that the power supply voltage supplied to the gaming machine has become equal to or lower than a predetermined level regardless of whether or not the power switch provided in the gaming machine is operated. It also includes the interruption of power supply due to unforeseen situations such as unit damage or blackout. "ROM" is synonymous with what is known in the industry, and physically holds information (for example, "1" for an element configuration that conducts when a current for reading data is given, conduction In the case of an element configuration that does not perform, it becomes "0"). RAM is synonymous with what is well known in the industry, and holds information electrically (for example, when a current for reading data is given, “1” if stored, if not stored. It becomes “0.” It is a general rule that the backup power is supplied to the part or all of the data stored in the RAM at the time of power interruption). The “playing state” is, for example, a special gaming state in which game medals are easily obtained and which is advantageous to the player (so-called a big hit game, which corresponds to what is called a bonus game, first type BB, second type BB, etc.) ) Replay probability change gaming state (RT state), which is a state in which the replay probability is higher (or lower) than the normal gaming state where the replay rate is a predetermined value For example, an AT (assist time) state in which the stopping order of the reels can be notified, an ART (assist replay time) state in which the RT state and the AT state are combined, and the like can be mentioned. Further, even in the normal gaming state, there are high probability normal gaming state, low probability normal gaming state, etc., in which the transition lottery probability to the RT state, the AT state, and the ART state is different. In addition, there is no problem even if the gaming state is combined {Furthermore, these gaming states and functions (for example, a transition lottery to an AT state, an output of a notification instruction according to a stop order of reels, etc.) control the game progress There is no problem even if everything is mounted on the main control board side}.

以下の実施形態は、回胴式遊技機(いわゆるスロットマシン)を前提としたものとなっているが、これには何ら限定されず、他の遊技機(例えば、ぱちんこ遊技機、雀球、アレンジボール等)に応用された場合も範囲内であり、即ち、遊技進行を制御するマイコンチップ(CPU、ROM、RAMを搭載したチップ)を備え、当該マイコンチップにてプログラムを動作させるものに対して応用することができる技術である。尚、本実施形態は、あくまで一例であり、各手段が存在する場所や機能等、各種処理に関しての各ステップの順序、フラグのオン・オフのタイミング、各ステップの処理を担う手段名等に関し、以下の態様に限定されるものではない。また、上記した実施形態や変更例は、特定のものに対して適用されると限定的に解すべきでなく、どのような組み合わせであってもよい。例えば、ある実施形態についての変更例は、別の実施形態の変更例であると理解すべきであり、また、ある変更例と別の変更例が独立して記載されていたとしても、当該ある変更例と当該別の変更例を組み合わせたものも記載されていると理解すべきである。   Although the following embodiments are based on a reeled type gaming machine (so-called slot machine), the present invention is not limited thereto, and other gaming machines (for example, a pachinko gaming machine, ball ball, arrangement) When applied to a ball, etc.), it is within the range, that is, one having a microcomputer chip (chip mounted with CPU, ROM, RAM) for controlling the progression of the game and operating the program by the microcomputer chip It is a technology that can be applied. Note that the present embodiment is merely an example, and relates to the order of each step regarding various processes such as the location and function of each means, the on / off timing of the flag, and the means name etc. It is not limited to the following aspects. In addition, the embodiments and modifications described above should not be construed as limiting as applied to specific ones, and may be any combination. For example, it should be understood that a modification of one embodiment is a modification of another embodiment, and even if one modification and another modification are independently described, It should be understood that a combination of the modification and the other modification is also described.

ここで本発明の詳細な説明に先立ち、本発明に係る簡潔な構成を説明する。   Prior to the detailed description of the present invention, a brief configuration according to the present invention will now be described.

本発明に係る回胴式遊技機のうち、第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第1RAM領域(又は、レジスタ領域)を更新及び参照し得る構成を(本実施形態)にて詳細に説明する。   The present invention is not limited to a configuration in which the first RAM area (or the register area) can be updated and referred to in the processing of the CPUC 100 based on the program code arranged in the second ROM area among the reeled type gaming machines according to the present invention. Embodiment) will be described in detail.

本発明に係る回胴式遊技機のうち、第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第2RAM領域を参照可能に構成し、且つ、第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第1RAM領域を参照し得る構成を(第2実施形態)にて詳細に説明する。   In the process of the CPUC 100 based on the program code arranged in the first ROM area among the reeling type gaming machines according to the present invention, the second RAM area can be referred to and arranged in the second ROM area. A configuration in which the first RAM area can be referred to in the processing of the CPUC 100 based on the program code being described will be described in detail in the second embodiment.

(本実施形態)
ここで、各構成要素について説明する前に、本実施形態に係る回胴式遊技機Pの特徴(概略)を説明する。以下、図面を参照しながら、各要素について詳述する。
(This embodiment)
Here, before describing each component, the feature (outline) of the reel-type gaming machine P according to the present embodiment will be described. Hereinafter, each element will be described in detail with reference to the drawings.

まず、図1(一部の構成については図2)を参照しながら、本実施形態に係る回胴式遊技機の前面側の基本構造を説明する。まず、回胴式遊技機Pは、主に前扉(フロントドアとも称す)と、裏箱(キャビネット、基体とも称す)と裏箱内に設置されたリールユニット、ホッパ装置、電源ユニット、主制御基板M(主制御チップCが搭載されている基板)で構成される。以下、これらを順に説明する。   First, the basic structure of the front side of the roll-to-play gaming machine according to the present embodiment will be described with reference to FIG. 1 (FIG. 2 for a part of the configuration). First, the reel-type game machine P mainly includes a front door (also referred to as a front door), a back box (also referred to as a cabinet or a base), and a reel unit installed in the back box, a hopper unit, a power supply unit, and main control It comprises a substrate M (substrate on which the main control chip C is mounted). Hereinafter, these will be described in order.

次に、回胴式遊技機Pの前扉DUは、装飾ランプユニットD150、メダル受け皿D230、を含む。まず、装飾ランプユニットD150は、回胴式遊技機Pの遊技の進行に応じて発光する発光源を有したものである。また、前扉DUの開閉状態を検出可能な扉スイッチD80が設けられている。また、前扉DUには鍵穴D260が設けられており、鍵穴D260の形状と整合するキー(ドアキー)を鍵穴D260に差し込む{加えて、所定の方向(例えば、時計回り)に捻る}ことで、前扉DUを開放し得るよう構成されている。更に、本実施形態においては、ドアキーを鍵穴D260に差し込む{加えて、所定の方向(例えば、反時計回り)に捻る}ことで、エラー状態(後述する、ドア開放エラー等)を解除し得るよう構成されている。次に、メダル受け皿D230は、放出口D240から放出された遊技メダル(或いは単にメダルと呼ぶことがある)の受け皿である。   Next, the front door DU of the reel-type game machine P includes a decoration lamp unit D150 and a medal receiver D230. First, the decoration lamp unit D150 has a light emission source that emits light in accordance with the progress of the game of the reel-type game machine P. Further, a door switch D80 capable of detecting the open / close state of the front door DU is provided. In addition, the front door DU is provided with a keyhole D260, and a key (door key) matching the shape of the keyhole D260 is inserted into the keyhole D260 {by adding it and twisting it in a predetermined direction (for example, clockwise)} The front door DU is configured to be openable. Furthermore, in the present embodiment, an error state (a door opening error or the like described later) can be canceled by inserting the door key into the keyhole D 260 (in addition and twisting in a predetermined direction (for example, counterclockwise)). It is configured. Next, the medal receiver D230 is a receiver for gaming medals (or may be simply referred to as medals) discharged from the outlet D240.

次に、前扉DUは、遊技状態を視認可能にするための機構、遊技媒体の入力を可能にするための機構、リールユニットを操作するための機構、等を含む。具体的には、遊技状態を視認可能にするための機構として、リール窓D160、投入数表示灯D210、操作状態表示灯D180、特別遊技状態表示装置D250、払出数表示装置D190、クレジット数表示装置D200等が取り付けられている。また、遊技媒体の投入や賭け数(ベット数)の入力を可能にするための機構として、メダル投入口D170、ベットボタンD220、投入された遊技媒体の払い出しを可能にするための機構として、精算ボタンD60が取り付けられている。そして、リールユニットを操作するための機構として、スタートレバーD50、停止ボタンD40が取り付けられている。以下、各要素について詳述する。   Next, the front door DU includes a mechanism for making the gaming state visible, a mechanism for enabling the input of game media, a mechanism for operating the reel unit, and the like. Specifically, as a mechanism for making the gaming state visible, the reel window D160, the number-of-inputs indicator light D210, the operation state indicator light D180, the special gaming state display device D250, the number-of-payouts display device D190, the number-of-credits display device D200 etc. are attached. In addition, as a mechanism for enabling the insertion of game media and the input of the bet number (bet number), the medal insertion slot D170, the bet button D220, and the mechanism for enabling the payout of the inserted game media, the settlement The button D60 is attached. A start lever D50 and a stop button D40 are attached as a mechanism for operating the reel unit. Each element will be described in detail below.

<遊技状態を視認可能にするための機構>
次に、リール窓D160は、前扉DUの一部を構成する合成樹脂等によって形成された透明な部材であり、リール窓D160を通して遊技機枠内に設置されたリールユニットを視認可能に構成されている。また、投入数表示灯D210は、LEDによって構成されており、現在ベット(一の遊技を開始するために必要な遊技メダルを投入すること)されているメダル数と同数のLEDが点灯するよう構成されている。また、操作状態表示灯D180は、LEDによって構成されており、現在の操作状態(メダル受付可否状態、再遊技入賞状態、遊技開始ウェイト状態等)に応じて点灯・消灯するよう構成されている。また、特別遊技状態表示装置D250は、7セグメントディスプレイによって構成されており、特別遊技中に払い出された払出数の総数が表示されるよう構成されている。尚、特別遊技状態表示装置D250を設けない構成としてもよく、そのように構成した場合には、演出表示装置S40にて当該払出数の総数を表示するよう構成することで遊技者は特別遊技中に払い出された払出数の総数を認識することができユーザーフレンドリーな遊技機とすることができる。また、払出数表示装置D190は、7セグメントディスプレイによって構成されており、現在払出されている遊技メダル数が表示されるよう構成されている。また、クレジット数表示装置D200は、7セグメントディスプレイによって構成されており、遊技者の持ちメダルとして遊技機内に貯留されているメダル数の総数(クレジット数)が表示されるよう構成されている。
<Mechanism for making the gaming state visible>
Next, the reel window D160 is a transparent member formed of a synthetic resin or the like that constitutes a part of the front door DU, and is configured to allow visual recognition of the reel unit installed in the gaming machine frame through the reel window D160. ing. Further, the number-of-inputs indicator light D210 is configured by LEDs, and is configured to light the same number of LEDs as the number of medals currently bet (to insert game medals necessary to start one game) It is done. In addition, the operation state indicator light D 180 is configured by an LED, and is configured to be turned on / off according to the current operation state (the medal acceptance / non-replay state, the re-game winning state, the game start wait state, etc.). Further, the special game state display device D250 is configured of a 7-segment display, and is configured to display the total number of payouts paid out during the special game. Incidentally, the special game state display device D250 may not be provided, and in such a case, the player is in the special game by displaying the total number of payouts on the effect display device S40. The total number of payouts paid out can be recognized and can be a user-friendly game machine. Further, the number-of-payouts display device D190 is configured of a 7-segment display, and is configured to display the number of game medals currently paid out. Further, the credit number display device D200 is configured of a 7-segment display, and is configured to display the total number of credits (credit number) stored in the gaming machine as medals owned by the player.

<遊技媒体の入力を可能にするための機構>
次に、メダル投入口D170は、遊技メダルの投入口であり、メダル受付可能状態である状況下において当該投入口に投入された遊技メダルは遊技機枠内部へと誘導される。また、遊技機枠内部にはメダルの投入を検出するセンサとして、投入受付センサD10sと、第1投入センサD20sと、第2投入センサD30sと、が設けられており、当該遊技機枠内部へと誘導された遊技メダルが正常に投入されたと判断した場合に、当該投入されたメダルをベットされたメダルとして検出し得るよう構成されている。また、ベットボタンD220は、遊技者によって操作可能に構成されており、当該操作によって、貯留されているメダル(クレジットのメダル)をベットすることができるよう構成されている。また、精算ボタンD60は、遊技者によって操作可能に構成されており、当該操作によって、貯留されているメダル(クレジットのメダル)及び/又はベットされているメダルを遊技者に払い戻すことが可能となっている。尚、精算ボタンD60の操作によって払い戻された遊技メダルは、放出口D240に払い出されるよう構成されている。
<A mechanism for enabling input of gaming media>
Next, the medal insertion slot D170 is an insertion slot for game medals, and the game medals inserted into the insertion slot under the situation where the medals can be received are guided into the gaming machine frame. Further, an insertion acceptance sensor D10s, a first insertion sensor D20s, and a second insertion sensor D30s are provided in the gaming machine frame as sensors for detecting the insertion of medals, and the gaming machine frame When it is determined that the guided game medal has been inserted normally, the inserted medal can be detected as a betted medal. In addition, the bet button D220 is configured to be operable by the player, and is configured to be able to bet medals (credit medals) stored therein by the operation. Further, the settlement button D60 is configured to be operable by the player, and it becomes possible to pay back the stored medals (credit medals) and / or the bet medals to the player by the operation. ing. The gaming medals paid back by the operation of the settlement button D60 are paid out to the outlet D240.

<リールユニットを操作するための機構>
次に、スタートレバーD50は、遊技者によって操作可能に構成されており、当該操作によってリールユニットの動作を開始可能に構成されている。また、停止ボタンD40は、遊技者によって操作可能な左停止ボタンD41、中停止ボタンD42、右停止ボタンD43を備えており、夫々の停止ボタンを操作することによってリールユニットの動作を順次停止可能に構成されている。
<Mechanism for Operating Reel Unit>
Next, the start lever D50 is configured to be operable by the player, and is configured to be able to start the operation of the reel unit by the operation. The stop button D40 also has a left stop button D41, a middle stop button D42 and a right stop button D43 which can be operated by the player, and the operation of the reel unit can be sequentially stopped by operating the respective stop buttons. It is configured.

次に、回胴式遊技機Pのリールユニットは、リールM50とリールM50の駆動源(ステッピングモータ等)とを備えている。また、リールM50は、左リールM51、中リールM52、右リールM53を備えている。ここで、夫々のリール部は合成樹脂等により形成され、当該リール部の外周上(リール帯上)には複数の図柄が描かれている。そして、スタートレバーD50及び停止ボタンD40における各停止ボタンの操作に基づき、夫々のリール部の回転動作及び停止動作を可能とするよう構成されている。また、図示しないが、左リールM51、中リールM52及び右リールM53の内部にはLED(以下、リールバックライトと呼ぶことがある)が設けられており、当該LEDが点灯した際にはリール部外周を透過した光によって、リール部外周が点灯したように視認できるよう構成されている。   Next, the reel unit of the reel-type game machine P includes a reel M50 and a drive source (a stepping motor or the like) of the reel M50. Further, the reel M50 includes a left reel M51, a middle reel M52, and a right reel M53. Here, each reel portion is formed of a synthetic resin or the like, and a plurality of symbols are drawn on the outer periphery (on the reel band) of the reel portion. And based on operation of each stop button in start lever D50 and stop button D40, it is constituted so that rotation operation and stop operation of each reel part are enabled. Although not shown, LEDs (hereinafter sometimes referred to as reel backlights) are provided inside the left reel M51, the middle reel M52 and the right reel M53, and when the LEDs are lit, the reel portion The light transmitted through the outer periphery can be visually recognized as if the outer periphery of the reel portion was lit.

<その他の機構>
また、回胴式遊技機Pの遊技機枠の内外には、遊技の興趣性を高めるための機構として、予告演出や背景演出等の演出を表示するための演出表示装置S40、様々な点灯態様にて点灯し得るLEDランプS10、サウンドを出力し得るスピーカS20、合成樹脂等によって形成された部材である、上パネルD130及び下パネルD140、等が設けられている。
<Other mechanism>
In addition, inside and outside of the gaming machine frame of the revolving type gaming machine P, as a mechanism for enhancing the interest of the game, effect display device S40 for displaying effects such as advance notice effect and background effect, various lighting modes The upper panel D130 and the lower panel D140 which are members formed with LED lamp S10 which can be lighted, speaker S20 which can output a sound, and a synthetic resin etc. are provided.

次に、図2は、前扉DUを開いて回胴式遊技機Pの内部の構成を示した斜視図である。前扉DUの裏面側上部には、演出表示装置S40が取り付けられている。前扉DUのほぼ中央にはリール窓D160が設けられており、その下方には、後述する扉基板Dが設けられている。また、扉基板Dには、前述した停止ボタンD40や、スタートレバーD50、精算ボタンD60等の入力信号が入力される。また、扉基板Dの下方には、スピーカS20が設けられている。   Next, FIG. 2 is a perspective view showing the internal structure of the reel-type gaming machine P by opening the front door DU. The effect display device S40 is attached to the upper part on the back side of the front door DU. A reel window D160 is provided substantially at the center of the front door DU, and a door substrate D described later is provided below the reel window D160. Further, to the door substrate D, input signals such as the above-described stop button D40, start lever D50, and settlement button D60 are input. Further, below the door substrate D, a speaker S20 is provided.

また、詳細は後述するが、扉基板Dの付近には、メダル投入口D170から投入された遊技メダルの通路となる投入受付センサD10sが設けられており、当該投入受付センサD10sの下方には、遊技メダルを放出口D240に導くためのコインシュータD90などが設けられている。投入受付センサD10sは、メダル投入口D170から投入された遊技メダルを主に寸法に基づいて選別し、規格寸法に適合した遊技メダルだけを受け入れる機能を有しており、当該機能により適合しないと判断されたメダル(又は、その他の異物)は、ブロッカD100により放出口D240に払い戻されるよう構成されている。遊技者がスタートレバーD50を操作する前に(遊技メダルの投入が有効である状態にて)遊技メダルを投入すると、遊技メダルは投入受付センサD10sによって選別され、規格を満足しているものだけがホッパH40内に投入され、規格を満たしていないメダルは、コインシュータD90を通って、放出口D240に返却されるようになっている。これに対して、スタートレバーD50が操作された後に(遊技メダルの投入が有効でない状態にて)遊技メダルが投入された場合は、投入された遊技メダルはコインシュータD90を通って、放出口D240に返却される。また、投入受付センサD10sの内部(流路の奥)には、詳細後述するメダル投入に係るセンサが設けられており、寸法規格を満たして受け入れられた遊技メダルが通過すると、第1投入センサD20s及び第2投入センサD30sによって検出されて、その信号が後述する主制御基板Mに供給されるようになっている。   Further, although details will be described later, an insertion reception sensor D10s, which is a passage for game medals inserted from the medal insertion slot D170, is provided near the door substrate D, and below the insertion reception sensor D10s. A coin shooter D90 or the like is provided for guiding the gaming medals to the outlet D240. The insertion acceptance sensor D10s mainly has the function of sorting the game medals inserted from the medal insertion slot D170 based on the dimensions, and accepting only the game medals conforming to the standard dimensions, and it is determined that the functions do not conform. The medal (or other foreign matter) that has been made is configured to be returned to the outlet D240 by the blocker D100. If the game medal is inserted before the player operates the start lever D50 (in a state where the insertion of the game medal is effective), the game medal is selected by the insertion reception sensor D10s, and only those which satisfy the standard The medals which are inserted into the hopper H40 and which do not meet the standard are to be returned to the outlet D240 through the coin shooter D90. On the other hand, when the game medal is inserted after the start lever D50 is operated (in a state where the insertion of the game medal is not effective), the inserted game medal passes through the coin shooter D90 and the discharge port D240. Will be returned to Further, a sensor relating to medal insertion described later in detail is provided in the inside (the back of the flow path) of the insertion acceptance sensor D10s, and when the accepted game medal that satisfies the dimensional standard passes, the first insertion sensor D20s The signal is detected by the second loading sensor D30s and supplied to the main control board M described later.

リールM50の上方には、遊技全体の制御を司る後述する主制御基板Mが格納されており、リールM50の背後には、各リール(左リールM51、中リールM52、右リールM53)を駆動するための後述する回胴基板Kが格納されている。また、リールM50の左方には、図1に示した演出表示装置S40や、LEDランプS10、スピーカS20等を用いて行われる各種演出の制御を司る後述する副制御基板Sが格納されている。また、主制御基板Mには、後述する設定変更装置制御処理を実行するため(設定変更を行うため)に使用する設定キースイッチM20、設定値の変更やエラー解除等を実行し得る設定/リセットボタンM30、設定キースイッチM20や設定/リセットボタンM30等を保護するための設定扉(不図示)の開閉を判定する設定扉スイッチM10が接続されている。尚、設定キースイッチM20、設定/リセットボタンM30、設定扉スイッチM10については何れも不図示としているが、主制御基板Mの基板上等の適宜位置に設けられていればよい(即ち、前扉DUを開かなければ人為的なアクセスが困難な位置に設けられていればよい)。   Above the reel M50 is stored a main control board M described later which controls the entire game, and behind each reel M50 is driven each reel (left reel M51, middle reel M52, right reel M53) A later-described turning base substrate K is stored. Further, on the left side of the reel M50, there is stored a sub control board S described later which controls various effects performed using the effect display device S40 shown in FIG. 1, the LED lamp S10, the speaker S20 etc. . In addition, on the main control board M, a setting key switch M20 used to execute setting change device control processing to be described later (for setting change), setting / reset capable of executing setting value change, error cancellation, etc. A setting door switch M10 is connected which determines the opening and closing of a setting door (not shown) for protecting the button M30, the setting key switch M20, the setting / reset button M30 and the like. Although the setting key switch M20, the setting / reset button M30, and the setting door switch M10 are not illustrated, they may be provided at appropriate positions on the main control substrate M (ie, the front door) It should be provided at a position where artificial access is difficult if the DU is not opened).

リールM50の下方には、投入された遊技メダルが集められるホッパH40や、遊技メダルを払い出すメダル払出装置Hが設けられており、回胴式遊技機P全体に電源を供給するための電源基板Eが格納されている。メダル払出装置Hから払い出された遊技メダルは、コインシュータD90を通って、放出口D240から払い出されるようになっている。また、電源基板Eの前面には、回胴式遊技機Pの電源を投入するための電源スイッチE10も設けられている。   Below the reel M50, a hopper H40 from which inserted game medals are collected, and a medal payout device H for paying out game medals are provided, and a power supply substrate for supplying power to the entire rotating game machine P E is stored. The game medals paid out from the medal payout device H are paid out from the outlet D240 through the coin shooter D90. Further, on the front surface of the power supply substrate E, a power switch E10 for turning on the power of the reel-type game machine P is also provided.

次に、図3は、回胴式遊技機内部における、メダル投入口D170に投入された遊技メダルの経路(セレクタ)を示した斜視図である。メダル投入口D170に投入された遊技メダルは、まず投入受付センサD10sを通過する。当該投入受付センサD10sは機械式のダブルセンサになっており、遊技メダルが通過することによって、2つの突起した機構が押下されることによりオンとなり遊技メダルが正常に通路を通過することができることとなる。また、このような構成により、遊技メダルではない異物(例えば、遊技メダルよりも径が小さいもの)が投入された場合には、前記2つの突起した機構が押下されない。このようなメダルは、起立した状態をメダルが維持できないため、通路を通過できず(メダルが倒れこむ)放出口D240に払い戻されることとなる。そのほかにも、投入受付センサD10sは、オンとなっている時間が所定時間以上連続した場合等にも、エラーであると判定し得る(その結果、ブロッカD100がオフとなり得る)よう構成されている。   Next, FIG. 3 is a perspective view showing a path (selector) of the game medal inserted into the medal insertion slot D170 inside the reeling type gaming machine. The gaming medal inserted into the medal insertion slot D170 first passes through the insertion acceptance sensor D10s. The insertion acceptance sensor D10s is a mechanical double sensor, and when the game medal passes, two projecting mechanisms are pressed to turn on and the game medal can normally pass through the passage. Become. In addition, with such a configuration, when a foreign object (for example, one having a diameter smaller than the game medal) which is not a game medal is inserted, the two protruding mechanisms are not pressed. Since the medal can not maintain the standing state, the medal can not pass through the passage (the medal falls) and is paid back to the discharge port D240. Besides, the insertion reception sensor D10s is configured to be able to determine that it is an error even when the on time continues for a predetermined time or more (as a result, the blocker D100 may be turned off). .

遊技メダルがブロッカD100を正常に通過した場合に、当該通過直後に第1投入センサD20s及び第2投入センサD30sを通過することとなる。この投入センサ(第1投入センサD20s及び第2投入センサD30s)は2つのセンサで構成されており(遊技メダルの規格上の直径よりも小さい間隔で隣接配置されており)、夫々のセンサのオン・オフ状況(第1投入センサD20s及び第2投入センサD30sのオン・オフの組み合わせの遷移していく順序、等)及びオン・オフとなっている時間を監視することにより様々なエラー(後述する、投入メダル滞留エラー、投入メダル逆流エラー、等)を検出可能に構成されている。   When the gaming medal normally passes through the blocker D100, it passes through the first insertion sensor D20s and the second insertion sensor D30s immediately after the passage. The input sensors (the first input sensor D20s and the second input sensor D30s) are composed of two sensors (arranged adjacent to each other at a distance smaller than the standard diameter of the game medals).・ Various errors (to be described later) by monitoring the off state (the transition sequence of the combination of the on / off of the first closing sensor D20s and the second closing sensor D30s, etc.) and the on / off time , An insertion medal retention error, an insertion medal backflow error, etc.).

次に、図4は、回胴式遊技機における、メダル払出装置Hの正面図及び斜視図である。メダル払出装置Hは、クレジット(遊技機内部に電子的に貯留されている遊技メダル)又はベットされているメダル(遊技を開始するために投入されたメダル)が存在する状態で、精算ボタンが操作された、又は、入賞により遊技メダルが払い出される場合に作動することとなる。作動する場合には、まず、ホッパモータH80が駆動することにより、ディスク回転軸H50aを中心にディスクH50が回転する。当該回転によりメダル払出装置H内の遊技メダルは放出付勢手段H70を変位させて遊技メダル出口H60から放出口D240に向かって流下していくこととなる。尚、払出センサ(第1払出センサH10s及び第2払出センサH20s)は2つのセンサで構成されており、夫々のセンサのオン・オフ状況(第1払出センサH10s及び第2払出センサH20sのオン・オフの組み合わせの遷移していく順序、等)及びオン・オフとなっている時間を監視することにより様々なエラー(後述する、払出メダル滞留エラー、等)を検出可能に構成されている。より具体的には、例えば、遊技メダル出口H60を正常に通過する際には、放出付勢手段H70の変位により、第1払出センサH10s=オフ・第2払出センサH20s=オフの状態から、第1払出センサH10s=オフ・第2払出センサH20s=オフ→第1払出センサH10s=オン・第2払出センサH20s=オフ→第1払出センサH10s=オン・第2払出センサH20s=オン→第1払出センサH10s=オン・第2払出センサH20s=オフ→第1払出センサH10s=オフ・第2払出センサH20s=オフ、というセンサ状態遷移となるため、このセンサ状態遷移と反する動きを検出した場合には、エラーとするよう構成することを例示することができる。   Next, FIG. 4 is a front view and a perspective view of the medal payout device H in the reeling type gaming machine. The medal payout device H operates the settlement button in a state where there is a credit (a game medal stored electronically in the gaming machine) or a bet (a medal inserted to start a game). It will be activated when the game medal is paid out by winning or winning. In operation, first, the hopper motor H80 is driven to rotate the disk H50 about the disk rotation axis H50a. By the rotation, the game medal in the medal payout device H displaces the discharge urging means H70 and flows downward from the game medal outlet H60 toward the discharge port D240. The payout sensors (the first payout sensor H10s and the second payout sensor H20s) are composed of two sensors, and the on / off states of the respective sensors (the first payout sensor H10s and the second payout sensor H20s are on). It is configured to be able to detect various errors (disbursed medal retention errors, etc. described later) by monitoring the transition sequence of combinations of off, etc., and the on / off time. More specifically, for example, when the game medal outlet H60 is normally passed, the first payout sensor H10s = off, the second payout sensor H20s = off, and so on by the displacement of the discharge energizing means H70. 1 Dispensing sensor H10s = off Second dispensing sensor H20s = off → first dispensing sensor H10s = on second dispensing sensor H20s = off first dispensing sensor H10s = on second dispensing sensor H20s = on → first dispensing Since sensor state transition such as sensor H10s = on, second dispensing sensor H20s = off → first dispensing sensor H10s = off, second dispensing sensor H20s = off, the movement opposite to this sensor state transition is detected It can be exemplified to configure to make an error.

次に、図5のブロック図を参照しながら、本実施形態に係る回胴式遊技機Pの電気的な概略構成を説明する。はじめに、本実施形態に係る回胴式遊技機は、遊技の進行を制御する主制御基板Mを中心として、副制御基板S、扉基板D、回胴基板K、電源基板E、中継基板IN、設定扉スイッチM10、設定キースイッチM20、設定/リセットボタンM30等がデータをやり取り可能に接続されて構成されている。尚、図中の実線部がデータのやり取りに関する動きを示したものであり、図中の破線部が電源供給ルートを示したものである。尚、電源供給ルートはこれに限られたものではなく、例えば電源基板Eから主制御基板を介さずに中継基板INや扉基板Dに電源を供給しても良い。   Next, referring to the block diagram of FIG. 5, an electrical schematic configuration of the reel-to-play type gaming machine P according to the present embodiment will be described. First, the drum-type gaming machine according to the present embodiment mainly includes the sub control board S, the door board D, the rotating body board K, the power supply board E, the relay board IN, centering on the main control board M for controlling the progress of the game A setting door switch M10, a setting key switch M20, a setting / reset button M30 and the like are connected to be able to exchange data. The solid line in the figure shows the movement related to the exchange of data, and the broken line in the figure shows the power supply route. The power supply route is not limited to this. For example, power may be supplied from the power supply substrate E to the relay substrate IN or the door substrate D without intervention of the main control substrate.

主制御基板Mは、回胴式遊技機Pで行われる遊技全体の進行を司る基板である。当該主制御基板Mには、主制御チップCが搭載されており、主制御チップCには、CPUC100、内蔵ROMC110、内蔵RAMC120等がバスによって互いにデータをやり取り可能に接続されて搭載されている(図示及び詳細については後述する)。そして、主制御基板Mは、前扉DUに搭載された扉基板Dから、スタートレバーD50等が操作されたことを示す信号等を受け取って、副制御基板Sや、扉基板D、回胴基板K等に向かって制御コマンド(あるいは制御信号)を出力することにより、これら各種基板の動作を制御している。   The main control board M is a board that controls the progress of the entire game performed in the reel-type game machine P. The main control chip C is mounted on the main control board M, and the CPUC 100, the built-in ROM C 110, the built-in RAM C 120, etc. are mounted on the main control chip C so that they can mutually exchange data by bus ( The illustration and details will be described later). The main control board M receives a signal indicating that the start lever D50 or the like has been operated from the door board D mounted on the front door DU, and the sub control board S, the door board D, and the rotating body board The operation of these various substrates is controlled by outputting a control command (or control signal) to K and the like.

また、副制御基板Sにも、前述した主制御基板Mと同様に、副制御チップSCが搭載されており、副制御チップSCには、CPUや、ROM、RAM等が設けられていて、バスによって互いにデータをやり取り可能に接続されて構成されている。また、副制御基板Sには、各種LEDランプS10、スピーカS20、演出表示装置S40、回胴バックライトS30等が接続されている。ここで回胴バックライトS30とは、左リールM51、中リールM52、右リールM53夫々の内部に設けられ、当該リールの表面に描かれた図柄を裏側から照らすライトである。副制御基板Sは、主制御基板Mから受け取った制御コマンドを解析して、各種LEDランプS10、スピーカS20、演出表示装置S40、回胴バックライトS30等にそれぞれ駆動信号を出力することにより、各種の演出を行っている。   Further, the sub control chip S is also mounted on the sub control substrate S as in the case of the main control substrate M described above, and the sub control chip SC is provided with a CPU, a ROM, a RAM, etc. Are mutually connected so as to be able to exchange data with each other. In addition, to the sub control substrate S, various LED lamps S10, speakers S20, effect display devices S40, a torso backlight S30, and the like are connected. Here, the rotating drum back light S30 is a light which is provided inside the left reel M51, the middle reel M52, and the right reel M53, and illuminates the design drawn on the surface of the reel from the back side. The sub control board S analyzes various control commands received from the main control board M, and outputs various driving signals to the various LED lamps S10, the speaker S20, the effect display device S40, the rotating drum back light S30, etc. We are directing.

扉基板Dには、前述した投入受付センサD10s、第1投入センサD20s、第2投入センサD30s、回転しているリールM50を停止するための停止ボタンD40、リールM50の回転を開始するためのスタートレバーD50、貯留されている遊技メダル(クレジット)や投入された遊技メダルを払い出して遊技を終了するための精算ボタンD60、遊技の状態を表示する各種の表示パネルD70(前述した、投入数表示灯D210、操作状態表示灯D180、特別遊技状態表示装置D250、払出数表示装置D190は、クレジット数表示装置D200、等の表示装置の集合体)、扉の開閉の判定やエラーの解除や設定値の変更を実行するための扉スイッチD80、投入された後に適合しないと判断された遊技メダル(又は、その他の異物)を放出口D240に払い戻すためのブロッカD100等が接続されている。また、この扉基板Dは、前述した主制御基板Mとデータをやり取り可能に接続されている。このため、前扉DUに設けられたスタートレバーD50や、停止ボタンD40、精算ボタンD60等を操作すると、扉基板Dを介して、当該操作に係る信号が主制御基板Mに供給されるようになっている。また、投入受付センサD10sが遊技メダルの通過を検出した信号も、扉基板Dを介して主制御基板Mに供給される。   On the door substrate D, the above-described closing acceptance sensor D10s, first closing sensor D20s, second closing sensor D30s, stop button D40 for stopping the rotating reel M50, and start for starting the rotation of the reel M50 A lever D50, a payment button D60 for paying out stored game medals (credits) and inserted game medals and ending the game, various display panels D70 for displaying the state of the game D210, operation status indicator light D180, special gaming status display device D250, number-of-payouts display device D190 is a group of display devices such as a credit number display device D200, etc.) Door switch D80 for executing changes, game medals determined to be incompatible after being inserted (or other Blocker D100 or the like for refund things) the outlet D240 is connected. Further, the door substrate D is connected so as to be able to exchange data with the main control substrate M described above. Therefore, when the start lever D50, the stop button D40, the settlement button D60, etc. provided on the front door DU are operated, a signal relating to the operation is supplied to the main control board M via the door board D. It has become. Further, a signal that the insertion acceptance sensor D10s detects the passage of the game medal is also supplied to the main control board M via the door board D.

また、回胴基板Kには、リールM50を回転させるための回胴モータK10と、リールM50の回転位置を検出するための回胴センサK20等が接続されている。回胴基板Kは、当該回胴センサK20によって、リールM50の回転位置を検出しながら回胴モータK10を駆動することにより、リールM50を、決定された停止位置で停止させることが可能となっている。また、本実施形態の回胴式遊技機においては、回胴モータK10には、所謂ステップモータ(ステッピングモータ)が使用されている。尚、ステップモータは、リールM50が1回転するステップ数として、504ステップが設定されている。また、各リール(左リールM51、中リールM52、右リールM53)には略均一の大きさで所定数(例えば、21個)の図柄が設定されており、1図柄分に相当するステップ数としては、24ステップ(=21/504)が設定されている。尚、ステップ数、リール1周あたりの図柄の数は変更しても何ら問題ない。   Further, to the spinning drum substrate K, a spinning drum motor K10 for rotating the reel M50, a spinning drum sensor K20 for detecting the rotational position of the reel M50, and the like are connected. The spinning drum substrate K can stop the reel M50 at the determined stop position by driving the spinning drum motor K10 while detecting the rotational position of the reel M50 by the spinning drum sensor K20. There is. Further, in the reel-type gaming machine of the present embodiment, a so-called step motor (stepping motor) is used for the reel-in motor K10. In the step motor, 504 steps are set as the number of steps for one rotation of the reel M50. In addition, a predetermined number (for example, 21 pieces) of symbols of substantially uniform size are set on each reel (left reel M51, middle reel M52, right reel M53), and the number of steps corresponds to one symbol. , 24 steps (= 21/504) are set. There is no problem in changing the number of steps and the number of symbols per revolution of the reel.

また、メダル払出装置Hは、中継基板INを介して、主制御基板Mに接続されており、主制御基板Mからの制御信号に基づいて、所定枚数(例えば、10枚)の遊技メダルを払い出す動作を行う。尚、メダル払出装置Hにはメダルが正常に払い出されたか否かの判定や払い出された遊技メダルの数の計測を実行する第1払出センサH10s及び第2払出センサH20sと、ディスクH50を回転させるためのホッパモータH80と、が接続されている。   The medal payout device H is connected to the main control board M via the relay board IN, and pays a predetermined number (for example, 10) of game medals based on a control signal from the main control board M. Do the action to put out. The first payout sensor H10s and the second payout sensor H20s, which execute determination of whether or not the medals have been normally paid out, and measurement of the number of gaming medals, are provided to the medal payout device H, and the disc H50. A hopper motor H80 for rotating is connected.

これら各種制御基板、及び基板で消費される電力は、電源基板E(電源スイッチE10により電源供給の有無を制御する基板)から供給されている。図5では、電源基板Eから電力が供給される様子を破線の矢印で表している。図示されているように、主制御基板Mおよび副制御基板Sには、電源基板Eから電力が直接供給されており、各種基板(扉基板D、回胴基板K、中継基板IN)には、主制御基板Mを介して電力が供給されている。電源基板Eには所定量(例えば、100V)の交流電圧が供給されており、この電力を規定電圧の直流電圧に変換した後、夫々の制御基板及び基板に供給している。   The power consumed by these various control boards and boards is supplied from a power supply board E (a board for controlling the presence or absence of power supply by a power switch E10). In FIG. 5, the manner in which power is supplied from the power supply substrate E is indicated by a broken arrow. As illustrated, power is directly supplied from the power supply substrate E to the main control substrate M and the sub control substrate S, and various substrates (the door substrate D, the rotating drum substrate K, the relay substrate IN) Power is supplied via the main control board M. An AC voltage of a predetermined amount (for example, 100 V) is supplied to the power supply substrate E, and the power is converted to a DC voltage of a specified voltage and then supplied to each control substrate and substrate.

また、主制御基板Mには、後述する設定変更装置制御処理を実行するため(設定変更を行うため)に使用する設定キースイッチM20、設定値の変更やエラー解除等を実行し得る設定/リセットボタンM30、設定キースイッチM20や設定/リセットボタンM30等を保護するための設定扉(不図示)の開閉を判定する設定扉スイッチM10が接続されている。   In addition, on the main control board M, a setting key switch M20 used to execute setting change device control processing to be described later (for setting change), setting / reset capable of executing setting value change, error cancellation, etc. A setting door switch M10 is connected which determines the opening and closing of a setting door (not shown) for protecting the button M30, the setting key switch M20, the setting / reset button M30 and the like.

<主制御部の基本回路の構成例>
次に、図6を用いて、主制御基板Mの主制御チップCの構成例について説明する。
<Configuration Example of Basic Circuit of Main Control Unit>
Next, a configuration example of the main control chip C of the main control substrate M will be described with reference to FIG.

まず、図6に示す主制御チップCには、CPUC100、内蔵ROMC110(第1ROM領域C111、第2ROM領域C112)、内蔵RAMC120(第1RAM領域C121、第2RAM領域C122)、外部バス制御回路C190、パラレル入力ポートC130、アドレスデコード回路C150、タイマ回路C170、カウンタ回路C180、リセット制御回路C220に加え、割込み制御回路C160、クロック回路C210、乱数生成回路C140、照合用ブロックC230、固有情報C240、演算回路C250が備えられており、これら全てが内部バスC200を介して互いに接続されている。   First, in the main control chip C shown in FIG. 6, the CPU C 100, built-in ROM C 110 (first ROM area C 111, second ROM area C 112), built-in RAM C 120 (first RAM area C 121, second RAM area C 122), external bus control circuit C 190, parallel In addition to input port C130, address decode circuit C150, timer circuit C170, counter circuit C180, and reset control circuit C220, interrupt control circuit C160, clock circuit C210, random number generation circuit C140, verification block C230, unique information C240, arithmetic circuit C250 Are all connected to one another via an internal bus C200.

以下、上記説明した各部の詳細について説明する。   The details of the above-described units will be described below.

まず、CPUC100は、内蔵ROMC110や内蔵RAMC120のプログラムやデータによって様々な数値計算や情報処理、制御処理などを実行する。内蔵ROMC110は、制御プログラムや各種データを記憶する。内蔵RAMC120は、一時的にデータを記憶する。また、内蔵ROMC110及び内蔵RAMC120はアドレスとデータとをセットとして保持しており、アドレス範囲で用途が区切られている。尚、当該用途として主なものは、プログラム領域とデータ領域であるが、この点の詳細については、後述するメモリマップの説明に譲る。   First, the CPUC 100 executes various numerical calculations, information processing, control processing and the like according to programs and data of the built-in ROM C 110 and the built-in RAM C 120. The built-in ROM 110 stores control programs and various data. The built-in RAM 120 temporarily stores data. Also, the built-in ROM C 110 and the built-in RAM C 120 hold an address and data as a set, and the application is divided by the address range. The main applications are the program area and the data area, but the details of this point will be given to the description of the memory map described later.

外部バス制御回路C190は、IOリクエスト端子(XIORQ端子)、メモリリクエスト端子(XMREQ端子)、リード信号端子(XRD端子)、ライト信号端子(XWR端子)、16ビット幅のアドレス出力端子(A0端子〜A15端子)、および8ビット幅の入出力端子であるデータ入出力端子(D0端子〜D7端子)を有する。本実施形態では、このうちデータ入出力端子(D0端子〜D7端子)は、各駆動回路(例えば、中継基板INを介しての回胴基板K)へのデータ出力と、各周辺制御回路(例えば、扉基板Dを介しての各種センサや各種操作部材)からのデータ入力に用いられている。このデータ入出力端子(D0端子〜D7端子)によるデータの入出力先は、アドレス出力端子(A0端子〜A15端子)から出力されるアドレス信号、およびアドレスデコード回路C150から出力されるチップセレクト信号を用いて切り替えられる。   The external bus control circuit C190 has an IO request terminal (XIORQ terminal), a memory request terminal (XMREQ terminal), a read signal terminal (XRD terminal), a write signal terminal (XWR terminal), and a 16-bit address output terminal (A0 terminal to A15 terminal) and data input / output terminals (D0 terminal to D7 terminal) which are input / output terminals of 8-bit width. In the present embodiment, among the data input / output terminals (terminals D0 to D7), data output to each drive circuit (for example, the trunk board K via the relay board IN) and each peripheral control circuit (for example, the peripheral control circuit) , And is used for data input from various sensors and various operation members via the door substrate D. The data input / output destination by this data input / output terminal (terminal D0 to terminal D7) is the address signal output from the address output terminal (terminal A0 to terminal A15) and the chip select signal output from the address decoding circuit C150. It is switched by using.

パラレル入力ポートC130は、4つの入力端子(P0端子〜P3端子)を有する。これらの入力端子(P0端子〜P3端子)は、例えば、その入力端子のいずれかがスタートレバーD50に接続されており、乱数生成回路C140が生成する乱数をCPUC100に取得させるためのラッチ信号として、乱数生成回路C140に出力する。   The parallel input port C130 has four input terminals (terminal P0 to terminal P3). For example, one of the input terminals of these input terminals (terminal P0 to terminal P3) is connected to the start lever D50, and a latch signal for causing the CPUC 100 to acquire a random number generated by the random number generation circuit C140 It outputs to the random number generation circuit C140.

アドレスデコード回路C150は、所定数(例えば、14)の出力端子(XCS0端子〜XCS13端子)を有する。当該出力端子(XCS0端子〜XCS13端子)は、主制御チップCの外部にある周辺制御回路に接続されており、外部バス制御回路C190のデータ入出力端子(D0端子〜D7端子)から出力されるデータの送信先を切り替えるためのチップセレクト信号等の出力に用いられている。   The address decode circuit C150 has a predetermined number (for example, 14) of output terminals (XCS0 terminal to XCS13 terminal). The output terminals (terminals XCS0 to XCS13) are connected to a peripheral control circuit outside the main control chip C, and are output from data input / output terminals (terminal D0 to D7) of the external bus control circuit C190. It is used to output a chip select signal or the like for switching the data transmission destination.

タイマ回路C170は、時間の計測に用いられる。尚、タイマ回路C170は設定された計測時間を過ぎると、タイムアウト信号をカウンタ回路C180に出力する。一方、カウンタ回路C180は、各種信号の立ち上がり(あるいは立ち下がり)の回数の計測に用いられる。当該カウンタ回路で計測される信号には、主制御チップCのシステムクロックの他、前記タイマ回路からのタイムアウト信号、メモリの読み書き信号、メモリリクエスト信号、外部入出力の信号、割込みに対する応答信号等も計測することができる。   The timer circuit C170 is used to measure time. The timer circuit C170 outputs a time-out signal to the counter circuit C180 when the set measurement time has passed. On the other hand, the counter circuit C180 is used to measure the number of times of rising (or falling) of various signals. As signals measured by the counter circuit, besides the system clock of the main control chip C, a timeout signal from the timer circuit, a memory read / write signal, a memory request signal, an external input / output signal, a response signal to an interrupt, etc. It can be measured.

リセット制御回路C220は、システムリセット入力端子(XSRST端子)と、リセット出力端子(XRSTO端子)の2つの端子を有する。このシステムリセット入力端子(XSRST端子)は電圧監視回路(電圧を監視するための回路であり、不図示となっている)に接続されている。当該システムリセット入力端子(XSRST端子)からシステムリセット信号(例えば一定時間Lレベルの信号)が入力されると、リセット制御回路C220は、主制御チップCの内部の回路に対してこのシステムリセット信号を出力するとともに、主制御チップCの外部にある周辺制御回路に対してリセット出力端子(XRSTO端子)からリセット信号(例えば、LレベルからHレベルへの立ち上がり信号)が出力される。この場合、主制御チップCでは、システムリセットと称する処理が実行され、各回路が初期化される。当該システムリセットが実行される一例として、電源投入時が挙げられる。   The reset control circuit C220 has two terminals of a system reset input terminal (XSRST terminal) and a reset output terminal (XRSTO terminal). The system reset input terminal (XSRST terminal) is connected to a voltage monitoring circuit (a circuit for monitoring a voltage, not shown). When a system reset signal (for example, a signal of L level for a predetermined time) is input from the system reset input terminal (XSRST terminal), the reset control circuit C220 transmits the system reset signal to the circuit inside the main control chip C. While outputting, a reset signal (for example, a rising signal from L level to H level) is output from the reset output terminal (XRSTO terminal) to the peripheral control circuit outside the main control chip C. In this case, in the main control chip C, a process called system reset is performed to initialize each circuit. One example of the system reset is performed at the time of power on.

また、リセット制御回路C220は、ウォッチドッグタイマC222と、指定エリア外走行禁止回路C221とを備えている。ウォッチドッグタイマC222がタイムアウトになった場合や、CPUC100が所定の範囲以外のアドレスを参照(指定エリア外走行)した場合には、リセット制御回路C220は、主制御チップCの内部の回路に対してシステムリセット信号およびユーザリセット信号のいずれかを出力する。尚、システムリセット信号およびユーザリセット信号のどちらを出力するかは、内蔵ROMC110内のプログラム領域(詳細は後述する)の設定に従う。また、主制御チップCの外部にある周辺制御回路に対しては、リセット出力端子(XRSTO端子)からリセット信号が出力される。   Further, the reset control circuit C220 includes a watchdog timer C222 and a designated area outside traveling inhibition circuit C221. When the watchdog timer C 222 times out, or when the CPU C 100 refers to an address outside the predetermined range (traveling outside the designated area), the reset control circuit C 220 compares the internal circuit of the main control chip C with that of the main control chip C. Output either a system reset signal or a user reset signal. Note that which of the system reset signal and the user reset signal is to be output depends on the setting of the program area (details will be described later) in the built-in ROM C110. Further, to the peripheral control circuit outside the main control chip C, a reset signal is output from the reset output terminal (XRSTO terminal).

主制御チップCでは、設定によって上記のシステムリセットか、或いはユーザリセットと称する処理のいずれかを実行させることができる。   The main control chip C can execute either the above-described system reset or a process called user reset depending on the setting.

上記指定エリア外走行は、プログラムが想定外の動作をしていることを意味する。この場合、CPUC100が本来プログラムとして扱われるはずのないコードにより動作することになる。このような状況は、プログラムミスによる所謂暴走した状態の他に、何らかの不正によって生じている可能性がある。この場合、上記のシステムリセットおよびユーザリセットのいずれかの処理により、正常な動作に復帰させることができるようになっている。また、ウォッチドッグタイマC222がタイムアウトになった場合としては、プログラムミスによる暴走した状態や、電圧降下によりCPUC100が本来設計した動作を行うことができなくなった場合等がある。この場合にも、上記のシステムおよびユーザリセットのいずれかの処理により、正常な動作に復帰させることができるように構成されている。   Traveling outside the designated area means that the program is operating unexpectedly. In this case, the CPUC 100 operates with code that should not be treated as a program. Such a situation may be caused by some sort of fraud as well as a so-called runaway situation due to a program error. In this case, normal operation can be restored by any of the above-described system reset and user reset processing. Further, when the watchdog timer C 222 times out, there may be a runaway state due to a program error, or a case where the CPUC 100 can not perform the originally designed operation due to a voltage drop. In this case as well, it is configured to be able to restore normal operation by any of the above-described system and user reset processing.

割込み制御回路C160は、外部入力や内部状態の変化に応じて適宜処理を実行させるために割込みを発生させる。この割込み処理には、例えば外部からの入力(センサによる信号)を受け付けた場合に実行する処理がある。本実施形態では、タイマ回路からの割込み要求により実行されるタイマ割込み処理を実行するようにしている。尚、割込み制御回路C160は、内部情報レジスタC161を備えており、当該内部情報レジスタC161には、乱数生成回路C140で乱数更新周期を決める外部クロック(カウントクロック)の周期の異常、および乱数の更新に関する異常、さらに、直前に発生したユーザリセットのリセット要因の情報等が格納される。   The interrupt control circuit C160 generates an interrupt to appropriately execute processing according to the change of the external input or the internal state. The interrupt process includes, for example, a process that is executed when an external input (a signal from a sensor) is received. In the present embodiment, timer interrupt processing executed in response to an interrupt request from the timer circuit is executed. The interrupt control circuit C160 includes an internal information register C161, and the internal information register C161 includes an abnormality in the cycle of the external clock (count clock) that determines the random number update cycle in the random number generation circuit C140, and an update of the random number. , And information on the reset factor of the user reset that occurred immediately before are stored.

クロック回路C210は、水晶発振器(不図示)から外部クロック入力端子(EX端子)を介して入力される外部クロック(この例では、24MHzのクロック)を所定の分周比(例えば、1/2)で分周し、分周後のシステムクロック(この例では、12MHzのクロック)をこの主制御チップC内部の各回路に供給する。また、このシステムクロックをシステムクロック出力端子(CLKO端子)を介して主制御チップC外部の周辺制御回路に出力する。   The clock circuit C210 has a predetermined division ratio (for example, 1/2) of an external clock (in this example, a 24 MHz clock) input from a crystal oscillator (not shown) through an external clock input terminal (EX terminal). Then, the system clock after division (in this example, a clock of 12 MHz) is supplied to each circuit in the main control chip C. Also, the system clock is output to the peripheral control circuit outside the main control chip C via the system clock output terminal (CLKO terminal).

乱数生成回路C140は、乱数を更新するためのクロック信号(カウントクロック)を用いて、乱数のラッチ信号を受信したときにこの更新された乱数を乱数レジスタ内に保持するものである。本実施形態では、水晶発振器から外部クロック入力端子(RCK端子)を介して入力される外部クロック信号を所定の分周比(例えば、1/2)で分周してこのカウントクロックに用いているが、主制御チップC内部のクロック信号を用いることもでき、この場合は水晶発振器は不要となる。乱数レジスタに保持された値は、乱数として読み出して使用することができる。尚、乱数レジスタから乱数を読み出すと、乱数レジスタが次の乱数をラッチすることを許容する許容状態とすることができる。   The random number generation circuit C 140 holds the updated random number in the random number register when the latch signal of the random number is received using a clock signal (count clock) for updating the random number. In this embodiment, the external clock signal input from the crystal oscillator through the external clock input terminal (RCK terminal) is divided by a predetermined division ratio (for example, 1/2) and used as this count clock. However, it is also possible to use a clock signal inside the main control chip C, in which case the crystal oscillator is not necessary. The value held in the random number register can be read out and used as a random number. Incidentally, when the random number is read out from the random number register, the random number register can be made into an allowable state which allows the next random number to be latched.

照合用ブロックC230は、主制御チップCが型式認定で合格した正規のものかどうかの真贋検査であるセキュリティチェックを実行するものであり、SC端子及びBRC端子を介して当該セキュリティチェックに係る信号を外部端子板に送信又は外部端子板から受信し得るよう構成されている。   The verification block C230 is for executing a security check which is an authenticity inspection of whether or not the main control chip C is a legitimate one that has passed the type approval, and the signal related to the security check is transmitted via the SC terminal and the BRC terminal. The external terminal board is configured to be able to transmit or receive from the external terminal board.

固有情報C240には、主制御チップCの製造時に書き込まれた固有の識別番号が格納されており、当該識別番号は書き換えができないよう構成されている。また、演算回路C250は、四則演算や論理演算を実行する回路である。   The unique information C 240 stores a unique identification number written at the time of manufacture of the main control chip C, and the identification number can not be rewritten. The arithmetic circuit C250 is a circuit that executes arithmetic operations and logical operations.

<メモリマップ>
次に、図7を用いて、図6に示す主制御チップCのメモリマップの一例について説明する。当該メモリマップには、「0000H」から「FFFFH」までのアドレス空間が示されている。このうち、「0000H」から「27FFH」までの空間には内蔵ROMC110が割り当てられ、「2800H」から「28FFH」までの空間には主制御チップC内の各回路に内蔵されているレジスタ領域が割り当てられ、「F000H」から「F2FFH」までの空間には内蔵RAMC120が割り当てられ、「FDD0H」から「FDFBH」までの空間にはXCSデコードエリア(与えられた機械語を内部表現として解釈することであるデコードを実行する領域)が割り当てられている。CPUC100に、これらの番地に対してアクセスする命令を実行させることにより、対応するハードウェアに対するアクセスを実行させることができる。
<Memory map>
Next, an example of a memory map of the main control chip C shown in FIG. 6 will be described with reference to FIG. In the memory map, address spaces from "0000H" to "FFFFH" are shown. Among these, the built-in ROM C 110 is allocated to the space from "0000H" to "27FFH", and the register area built in each circuit in the main control chip C is allocated to the space from "2800H" to "28FFH" In the space from "F000H" to "F2FFH", the built-in RAMC 120 is allocated, and in the space from "FDD0H" to "FDFBH", XCS decode area (interpreting a given machine language as internal representation An area for executing decoding is allocated. The CPU C 100 can execute an access to the corresponding hardware by executing an instruction to access these addresses.

尚、内蔵ROMC110は、主として遊技の進行を制御する領域である第1ROM領域と、主としてエラー関連等の遊技の正常な進行とは異なる処理を制御する領域である第2ROM領域と、を有しており、「0000H」から「1FFFH」までの空間には第1ROM領域が割り当てられ、「2000H」から「27FFH」までの空間には第2ROM領域が割り当てられている。尚、第1ROM領域は、第2ROM領域よりも容量が大きくなるよう構成されている(換言すれば、第1ROM領域内に存在しCPUC100からアクセスされるデータ容量は、第2ROM領域内に存在しCPUC100からアクセスされるデータ容量よりも大きくなるよう構成されている)。   The built-in ROM C 110 has a first ROM area that mainly controls the progress of the game and a second ROM area that mainly controls processing different from normal progress of the game such as error-related operations. The first ROM area is allocated to the space from "0000H" to "1FFFH", and the second ROM area is allocated to the space from "2000H" to "27FFH". The first ROM area is configured to have a larger capacity than the second ROM area (in other words, the data capacity existing in the first ROM area and accessed by the CPUC 100 exists in the second ROM area). Is configured to be larger than the data capacity accessed from

また、第1ROM領域は、プログラムコード(CPUC100に対する命令コードセット)が格納されている第1制御領域と、プログラムが使用する(このプログラムコードに基づくCPUC100の処理によって読みだされる)プログラムデータが格納されている第1データ領域と、各種識別情報(会社名、製造日、型式名等)が格納される領域と、主制御チップCを動作させる際に用いられる各種設定(乱数生成回路C140の動作設定、ウォッチドッグタイマC222の動作設定等)が格納されているプログラム管理エリアとを有している。尚、同図にて、第1ROM領域におけるメモリマップイメージを図示しておくが、各領域のバイト数や未使用領域の有無はあくまでも一例である。   The first ROM area stores a first control area in which a program code (instruction code set for the CPUC 100) is stored, and program data used by the program (read by CPUC 100 processing based on the program code). The first data area being stored, the area where various identification information (company name, manufacturing date, model name, etc.) is stored, and the various settings used when operating the main control chip C (operation of the random number generation circuit C140 And a program management area in which the operation setting of the watchdog timer C 222 and the like are stored. Although the memory map image in the first ROM area is illustrated in the same drawing, the number of bytes in each area and the presence or absence of the unused area are merely examples.

また、第2ROM領域は、プログラムコード(CPUC100に対する命令コードセット)が格納されている第2制御領域と、プログラムが使用する(このプログラムコードに基づくCPUC100の処理によって読みだされる)プログラムデータが格納されている第2データ領域と、を有しており、第2制御領域は、第1制御領域よりも容量が小さくなるよう構成されており(換言すれば、第2制御領域内に存在しCPUC100からアクセスされるプログラムコード容量は、第1制御領域内に存在しCPUC100からアクセスされるプログラムコード容量よりも小さくなり)、第2データ領域は、第1データ領域よりも容量が小さくなるよう構成されている(換言すれば、第2データ領域内に存在しCPUC100からアクセスされるプログラムデータ容量は、第1データ領域内に存在しCPUC100からアクセスされるプログラムデータ容量よりも小さくなる)。   The second ROM area stores a second control area in which a program code (instruction code set for the CPUC 100) is stored, and program data used by the program (read by CPUC 100 processing based on the program code). And the second control area is configured to have a smaller capacity than the first control area (in other words, the CPUC 100 exists in the second control area). The program code capacity accessed from the first control area is smaller than the program code capacity accessed from the CPUC 100), and the second data area is configured to have a smaller capacity than the first data area. (In other words, it exists in the second data area and is accessed by the CPUC 100. Program data capacity is smaller than the program data capacity to be accessed from there to the first data area CPUC100).

他方、内蔵RAMC120は、主として遊技の進行に基づく情報を格納する領域である第1RAM領域と、主としてエラー関連等の遊技の正常な進行とは異なる処理に基づく情報を格納する領域である第2RAM領域と、プログラムが内部的にデータを保存しておく必要がある場合使用されるスタックエリアと、を有しており、「F000H」から「F1FFH」までの空間には第1RAM領域が割り当てられ、「F200H」から「F2C9H」までの空間には第2RAM領域が割り当てられ、「F2CAH」から「F2FFH」までの空間にはスタックエリアが割り当てられている(但し、各領域のバイト数はあくまでも一例である)。   On the other hand, the built-in RAMC 120 is a first RAM area which is an area for mainly storing information based on the progress of the game and a second RAM area which is an area for storing information based on processing different from the normal progress of the game such as error mainly And the stack area used when the program needs to store data internally, the first RAM area is allocated to the space from "F000H" to "F1FFH", and The second RAM area is allocated to the space from F200H to F2C9H, and the stack area is allocated to the space from F2CAH to F2FFH (However, the number of bytes in each area is only an example. ).

また、第1RAM領域は、主として遊技の進行に係る情報を一時記憶するための作業領域である第1作業領域を有しており、第2RAM領域は、主としてエラー関連等に係る情報を一時記憶するための作業領域である第2作業領域と、第1RAM領域及び第2RAM領域に一時記憶された情報の誤り検出を行うための作業領域であるチェックサム領域を有している。尚、第1RAM領域は、第2RAM領域よりも容量が大きくなるよう構成されている。また、本実施形態においては、チェックサム領域は第2RAM領域のみが有しており(第1RAM領域は有しておらず)、当該チェックサム領域が第1RAM領域と第2RAM領域との双方の(双方に一時記憶された情報を通算した)チェックサムを管理するよう構成されている。また、本実施形態においては、後述するように、チェックサムを算出する際、未使用領域をも含めて算出しているが、これには限定されず、未使用領域を除いた領域(第1作業領域及び第2作業領域)についてチェックサムを算出するよう構成してもよい。また、誤り検出を行う手法は、チェックサムチェックを行う手法に限らず、その他の手法(例えば、パリティチェック等)を行う手法を用いてもよく、その場合には、当該チェックサム領域が、これら手法を用いる際に必要となる誤り検出用の情報(例えば、パリティビット等)を格納する領域となる。   In addition, the first RAM area has a first work area which is a work area for temporarily storing information relating mainly to the progress of the game, and the second RAM area temporarily stores information relating mainly to an error relation and the like. And a checksum area, which is a work area for detecting an error of information temporarily stored in the first RAM area and the second RAM area. The first RAM area is configured to have a larger capacity than the second RAM area. Further, in the present embodiment, the checksum area includes only the second RAM area (does not include the first RAM area), and the checksum area includes both the first RAM area and the second RAM area. It is configured to manage a checksum (summed information temporarily stored in both sides). Further, in the present embodiment, as described later, when calculating the checksum, the calculation is also performed including the unused area, but it is not limited to this, and the area excluding the unused area (the first The checksum may be calculated for the work area and the second work area). Further, the method of error detection is not limited to the method of performing checksum check, but may use another method (e.g., parity check etc.), in which case the checksum area This is an area for storing information for error detection (for example, parity bits etc.) required when using the method.

尚、各種識別情報(会社名、製造日、型式名等)が格納される領域のアドレスは、内蔵RAMのアドレス以降としても何ら問題ない。また、未使用領域となっているアドレスも変更しても問題ないが、第1データ領域と第2制御領域との間(間のアドレス)には未使用領域を設けることが好適である。即ち、図7に示すようなメモリマップ構成である場合、第1制御領域内に存在しCPUC100からアクセスされるプログラムコードと、第2制御領域内に存在しCPUC100からアクセスされるプログラムコードとは、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されており、未使用領域を間に挟んでいるため、プログラムソースコード上又はダンプリスト上において、双方のプログラムコードの配置位置を視覚上明確に切り分けることができる(その他、未使用領域を間に挟んでいる場合には、同様のことがいえる)。   The address of the area where various identification information (company name, manufacturing date, model name, etc.) is stored may be used as the address of the built-in RAM or later. Further, there is no problem even if the address which is an unused area is changed, but it is preferable to provide an unused area between (between) the first data area and the second control area. That is, in the case of the memory map configuration as shown in FIG. 7, the program code existing in the first control area and accessed by the CPUC 100 and the program code existing in the second control area and accessed by the CPUC 100 are Since they are arranged separately (in a non-consecutive arrangement of addresses) on the memory map and sandwich the unused area, both program codes can be visually arranged on the program source code or dump list. The above can be clearly divided (otherwise, the same can be said in the case where an unused area is interposed).

ここで、主制御基板Mが搭載するROMに関しては、不正行為によって改造されたプログラム等を書き込まれることを防止するため、未使用の領域(充填されていない領域)を設けないよう構成することが好適である(例えば、未使用領域を全て0によって充填、使用している領域を若い番地に詰めて書き込む、等)。また、第1制御領域及び第1データ領域には、ノイズや不正行為によって、通常時には参照しないデータを参照してしまうことを防止するため、未使用のデータ(例えば、スペック違いの遊技機において参照するデータや、開発段階でのテストにのみ使用するデータ等)を設けないよう構成することが好適である。また、第1制御領域、第1データ領域、第2制御領域、第2データ領域、第1作業領域及び第2作業領域は、若い番地に詰めて領域を使用し、当該領域内(当該領域内のアドレス)に未使用の領域を設けない(例えば、「0000H」〜「0FA7H」の範囲となっている第1制御領域内の、「0010H」〜「0050H」を未使用領域としない)よう構成することが好適である。尚、本例における、未使用領域は、すべてのビットが「0」となっており、当該未使用領域以外の領域は、いずれかのビットが「1」となっている(「0」ではなくなっている)。   Here, with respect to the ROM mounted on the main control board M, in order to prevent the program etc. modified by the fraudulent action being written, it is configured not to provide an unused area (area not filled with). It is preferable (for example, filling unused areas with all 0's, filling used areas at a young address, etc.). Also, in the first control area and the first data area, unused data (for example, reference in a gaming machine with a difference in specifications) is prevented to prevent reference to data that is not normally referred to due to noise or cheating. It is preferable not to provide data to be used or data used only for testing in the development stage. In addition, the first control area, the first data area, the second control area, the second data area, the first work area, and the second work area are packed in young addresses and used in the area (in the area No unused area (for example, "0010H" to "0050H" in the first control area in the range of "0000H" to "0FA7H" are not considered as unused areas). Is preferred. In this example, in the unused area, all bits are “0”, and in the area other than the unused area, any bit is “1” (not “0”. ing).

次に、図8〜34は、本実施形態における、主制御基板Mが行う一般的な処理の流れを示したフローチャートである。はじめに、これら処理の流れを示したフローチャートにおいては、第1ROM領域にて配置されているプログラムコード及びプログラムデータに基づき、CPUC100が処理を実行する場合、もしくは、その処理結果をCPUC100内のレジスタ(レジスタ領域)や第1RAM領域へ格納(更新)したり、第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にてその処理結果を参照する場合を、「第1ROM・RAM領域における処理」として点線で囲んで図示し、「第1ROM・RAM領域内のデータに基づき」CPUC100が処理を実行する旨を記載している。また、これら処理の流れを示したフローチャートにおいては、第2ROM領域にて配置されているプログラムコード及びプログラムデータに基づき、CPUC100が処理を実行する場合、もしくは、その処理結果をCPUC100内のレジスタ(レジスタ領域)や第2RAM領域へ格納(更新)したり、第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にてその処理結果を参照する場合を、「第2ROM・RAM領域における処理」として点線で囲んで図示し、「第2ROM・RAM領域内のデータに基づき」CPUC100が処理を実行する旨を記載している。   Next, FIGS. 8 to 34 are flowcharts showing a flow of general processing performed by the main control board M in the present embodiment. First, in the flowchart showing the flow of these processes, when the CPUC 100 executes a process based on the program code and program data arranged in the first ROM area, or the process result is registered in the CPUC 100 (register “Processing in the first ROM / RAM area” is the case where the processing result is referred to in the processing of the CPUC 100 based on the program code arranged in the first ROM area or in the first RAM area). As shown in the figure, it is shown surrounded by a dotted line, and describes that the CPUC 100 executes processing "based on data in the first ROM / RAM area". Further, in the flowchart showing the flow of these processing, when the CPUC 100 executes processing based on the program code and program data arranged in the second ROM area, or the processing result is registered in the CPUC 100 (register “Processing in the second ROM and RAM area” when storing (updating) in the area (the second RAM area) or referring to the processing result in the processing of the CPUC 100 based on the program code arranged in the second ROM area As shown in the figure, it is shown surrounded by a dotted line, and describes that the CPUC 100 executes processing "based on the data in the second ROM / RAM area".

また、フローチャートは主に、処理ステップ(長方形にて図示)、判断(ひし形にて図示)、流れ線(矢印)、開始・終了・復帰等を示す端子(角丸長方形にて図示)によって構成されている。また、処理ステップの内、別のフローチャートにて詳細を図示している場合、当該別のフローチャートを参照するものをサブルーチン(左右の線が二重線である長方形にて図示)として図示している。ここで、遊技機の開発段階においては、スペック違いの遊技機を同時に開発することも行われているが、本例においては、メイン側の処理内に、スペック違いの遊技機で実行するサブルーチン(通常は使用しないサブルーチン)を残さないよう構成しており、ノイズや不正行為によって、通常時には実行されない未使用サブルーチンに係る処理が実行されることを防止している。   The flowchart is mainly composed of processing steps (shown as rectangles), judgments (shown as diamonds), flow lines (arrows), and terminals (shown as rounded rectangles) indicating start / end / return etc. ing. Also, in the case where the details of the processing steps are illustrated in another flowchart, those referring to the other flowchart are illustrated as a subroutine (shown as a rectangle in which the left and right lines are double lines). . Here, at the development stage of the gaming machine, it is also carried out to simultaneously develop gaming machines with different specifications, but in this example, the subroutine executed by the gaming machines with different specifications in the processing on the main side ( It is configured so as not to leave a subroutine not normally used, and prevents processing relating to an unused subroutine that is not normally executed due to noise or cheating.

そして、これらの動きに沿わない場合であり、例えば、第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第2RAM領域を更新又は参照する場合や、逆に、第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第1RAM領域を更新又は参照する場合には、その更新・参照先がいずれのものであるかを特記している(又は、これらの動きに沿う場合であっても、明確化のため必要に応じて特記している場合がある)。尚、以下に示す実施形態における処理の動きを概念的に纏めておくと、次のようなケースに分かれる。   Then, in the case of not following these movements, for example, when the second RAM area is updated or referred to by the processing of the CPUC 100 based on the program code arranged in the first ROM area, or conversely, the second ROM area When updating or referring to the first RAM area in the processing of the CPUC 100 based on the program code arranged in step (d), it is noted that the update / reference destination is (or Even in line with the movement, it may be noted as necessary for clarity). In addition, if the movement of the process in the embodiment shown below is summarized conceptually, it is divided into the following cases.

<動作1>第1ROM領域(特に、第1制御領域)にて配置されているプログラムコードに基づくCPUC100の処理によって、第1ROM領域(特に、第1データ領域)にて配置されているプログラムデータが読みだされる、又は、第2ROM領域(特に、第2制御領域)にて配置されているプログラムコードに基づくCPUC100の処理によって、第2ROM領域(特に、第2データ領域)にて配置されているプログラムデータが読みだされる。但し、第1ROM領域(特に、第1制御領域)にて配置されているプログラムコードに基づくCPUC100の処理によっては、第2ROM領域(特に、第2データ領域)にて配置されているプログラムデータが読みだされない、及び、第2ROM領域(特に、第2制御領域)にて配置されているプログラムコードに基づくCPUC100の処理によっては、第1ROM領域(特に、第1データ領域)にて配置されているプログラムデータが読みだされない。   <Operation 1> The program data arranged in the first ROM area (particularly, the first data area) is processed by the processing of the CPUC 100 based on the program code arranged in the first ROM area (especially, the first control area). It is arranged in the second ROM area (especially the second data area) by the processing of the CPUC 100 based on the program code read or arranged in the second ROM area (especially the second control area) Program data is read out. However, depending on the processing of the CPUC 100 based on the program code arranged in the first ROM area (especially, the first control area), the program data arranged in the second ROM area (especially, the second data area) is read. Depending on the processing of the CPUC 100 based on the program code arranged in the second ROM area (especially the second control area), the program arranged in the first ROM area (especially the first data area) Data can not be read.

<動作2>第1ROM領域にて配置されているプログラムコード及びプログラムデータに基づくCPUC100の処理にて、第1RAM領域を更新及び参照する。また、第2ROM領域にて配置されているプログラムコード及びプログラムデータに基づくCPUC100の処理にて、第2RAM領域を更新及び参照する。   <Operation 2> The first RAM area is updated and referred to by the processing of the CPUC 100 based on the program code and the program data arranged in the first ROM area. Further, the second RAM area is updated and referred to by the processing of the CPUC 100 based on the program code and program data arranged in the second ROM area.

<動作3>第1ROM領域にて配置されているプログラムコードにおける呼び出し命令(例えば、ニーモニックでいうCALL命令)によって、第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理が実行され得るが、第2ROM領域にて配置されているプログラムコードにおける呼び出し命令(例えば、ニーモニックでいうCALL命令)によって、第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理が実行され得ない。即ち、第1ROM領域にて配置されているプログラムコードと第2ROM領域にて配置されているプログラムコードとは、主従関係にあり、主となる第1ROM領域にて配置されているプログラムコードにおける呼び出し命令があってはじめて、従となる第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理が実行され得る状態となる。   <Operation 3> The processing of the CPUC 100 based on the program code arranged in the second ROM area may be executed by a call instruction (for example, a CALL instruction in mnemonic) in the program code arranged in the first ROM area. The processing of the CPUC 100 based on the program code disposed in the first ROM area can not be executed by a call instruction (for example, a CALL instruction in mnemonic) in the program code disposed in the second ROM area. That is, the program code disposed in the first ROM area and the program code disposed in the second ROM area are in a master-slave relationship, and a call instruction in the program code disposed in the main first ROM area Only then can the CPUC 100 process be executed based on the program code arranged in the secondary second ROM area.

<動作4>主となる第1ROM領域にて配置されているプログラムコードにおける呼び出し命令があって、従となる第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理が実行される場合、当該従となる第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理の実行時には、当該呼び出し命令があった時点で記憶されている情報(例えば、レジスタ領域内の情報)を参照する。或いは、当該従となる第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理が実行された後、当該主となる第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理に復帰する場合、当該主となる第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理の実行時には、当該復帰した時点で記憶されている情報(例えば、レジスタ領域内の情報)を参照する。   <Operation 4> When there is a call instruction in the program code arranged in the main first ROM area and the processing of the CPUC 100 based on the program code arranged in the subordinate second ROM area is executed At the time of execution of processing of the CPUC 100 based on a program code arranged in the second ROM area, the information (for example, information in the register area) stored at the time of the call instruction is referred to. Alternatively, after processing of the CPUC 100 is executed based on the program code disposed in the second ROM area, the processing returns to CPUC 100 processing based on the program code disposed in the first ROM area. In this case, when executing the processing of the CPUC 100 based on the program code arranged in the main first ROM area, the information (for example, the information in the register area) stored at the time of the return is referred to.

<動作5>前述の<動作4>において、レジスタ領域内の情報を参照しない場合には、<動作5−1>主となる第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理結果を、第1RAM領域に格納しておき、従となる第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理の実行時には、当該第1RAM領域に格納された処理結果を参照及び更新可能としておく(当該主となる第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理の復帰時には、当該更新された第1RAM領域を参照する)、<動作5−2>主となる第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理結果を、第1RAM領域に格納しておき、従となる第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理の実行時には、当該第1RAM領域に格納された処理結果を参照可能としておく、且つ、従となる第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理結果を、第2RAM領域に格納しておき、当該主となる第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理の復帰時には、当該第2RAM領域に格納された処理結果を参照可能としておく、のいずれかで動作する。   <Operation 5> In the above <Operation 4>, when the information in the register area is not referred to, <Operation 5-1> the processing result of the CPUC 100 based on the program code arranged in the main first ROM area. Is stored in the first RAM area, and the processing result stored in the first RAM area can be referenced and updated when executing the processing of the CPUC 100 based on the program code arranged in the secondary second ROM area. (When returning the processing of the CPUC 100 based on the program code arranged in the main first ROM area, refer to the updated first RAM area), <Operation 5-2> Main ROM area 1 The processing result of the CPUC 100 based on the program code placed in the above is stored in the first RAM area. When executing processing of CPUC 100 based on the program code arranged in the second ROM area, the processing result stored in the first RAM area can be referred to, and arranged in the subordinate second ROM area The processing result of the CPUC 100 based on the program code is stored in the second RAM area, and is stored in the second RAM area when processing of the CPUC 100 based on the program code arranged in the main first ROM area is restored. Operate in one of the following ways:

以上のような前提(説明を行う上での前提)に基づき、主制御基板Mが行う一般的な処理の流れについて説明を行っていくこととするが、上記した<動作1>乃至<動作3>は必須となる前提となる一方で、<動作4>と<動作5>とは、CPUC100での処理結果を主従関係にあるプログラムコード間で、如何にして引き継いでいくかの実装方法によって取捨選択できる前提であるため、以下の処理の流れにおいて、<動作4>及び<動作5>のいずれか一方のみで例示されていた場合であっても、他方で代替することが可能であることを予め補足しておく。   Although the flow of the general process performed by the main control board M will be described based on the above premise (the premise in the description), the above-described <Operation 1> to <Operation 3 will be described. While it is a premise that> is essential, <Operation 4> and <Operation 5> are discarded by the implementation method of how to carry over the processing results in the CPUC 100 between program codes in a master-slave relationship. Since it is a premise that can be selected, even if it is exemplified in only one of <Operation 4> and <Operation 5> in the following processing flow, it is possible to substitute by the other. It supplements beforehand.

まず、図8は、回胴式遊技機Pの電源を投入した後(或いはシステムリセットやユーザリセット時において)、主制御基板MのCPUC100にて初めて実行される処理の流れを示したフローチャートである。この場合、一般的には、内蔵ROMC110の0000Hとなるアドレス(即ち、第1制御領域)に配置されているプログラムコードから順番に実行されていくこととなる。尚、主制御基板Mにおける主制御チップCの構成によっては、回胴式遊技機Pの電源を投入した後(或いはシステムリセットやユーザリセット時において)、前述したセキュリティチェックを実行するよう構成される場合があり、当該セキュリティチェックを実行するためのプログラムコードが先に実行されるよう構成される場合も想定できるが、そのような構成であっても、本実施形態において示す第1制御領域に配置されているプログラムコードから順番に実行されていくことには変わりない(加えて、内蔵ROMC110の初期アドレスが、0000Hではない場合であっても、前述したメモリマップの全体構成に変わりない=各アドレスが適宜ずれるのみ)。また、本実施形態においては、内蔵RAMC120に格納されているデータが電源断時においても保持されるよう、内蔵RAMC120に対してバックアップ電源が供給されるよう構成されているものとしている。   First, FIG. 8 is a flow chart showing a flow of processing executed for the first time by the CPUC 100 of the main control board M after the power supply of the reeling type game machine P is turned on (or at the time of system reset or user reset) . In this case, in general, the program codes are sequentially executed from the program code arranged in the address (that is, the first control area) to be 0000H of the built-in ROM C110. Depending on the configuration of the main control chip C in the main control board M, after turning on the power supply of the reel-type game machine P (or at the time of system reset or user reset), the above-described security check is performed In some cases, it may be assumed that the program code for executing the security check is configured to be executed first, but even in such a configuration, it is disposed in the first control area shown in the present embodiment. (In addition, even if the initial address of the built-in ROM 110 is not 0000H, it does not change to the entire configuration of the memory map described above = each address Is only shifted properly). Further, in the present embodiment, the backup power is supplied to the built-in RAM C 120 so that the data stored in the built-in RAM C 120 is maintained even when the power is shut off.

<第1ROM・RAM領域における処理>
まず、ステップ1000で、回胴式遊技機Pの電源を投入した後、ステップ1002で、CPUC100は、第1ROM・RAM領域内のデータに基づき、タイマ割り込みをセットする(ここでは、タイマ割り込みの種類をセットするのみであり、以降の処理において、タイマ割り込みが開始されると定期的に後述するタイマ割り込み時処理に係るフローチャートが実行される)。次に、ステップ1004で、CPUC100は、第1ROM・RAM領域内のデータに基づき、主制御チップCの機能設定を実行する。次に、ステップ1006で、CPUC100は、第2ROM領域の電源断復帰処理を呼び出す。
<Processing in the first ROM / RAM area>
First, after turning on the power supply of the reel-type gaming machine P at step 1000, the CPUC 100 sets a timer interrupt based on the data in the first ROM and RAM area at step 1002 (here, the type of timer interrupt). Is set, and in the subsequent processing, when the timer interrupt is started, the flowchart related to the timer interrupt processing which will be described later is periodically executed). Next, in step 1004, the CPUC 100 executes function setting of the main control chip C based on the data in the first ROM / RAM area. Next, in step 1006, the CPUC 100 calls power on / off recovery processing of the second ROM area.

<第2ROM・RAM領域における処理>
次に、ステップ1008で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAM領域の先頭アドレスからチェックサム領域直前のアドレスまでのチェックサムを算出する。次に、ステップ1010で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAM及び第2RAMをチェックし(例えば、当該算出したチェックサムとチェックサム領域に保持されているチェックサムデータとに基づき、電源断・電源断復帰により内蔵RAMC120に格納されているデータが正しく保持されているか否かをチェックし)、電源断復帰データを生成する(当該チェック結果やステップ1800の電源断時処理にて実行した処理に基づいて生成し、第2RAM領域内で保持する)。次に、ステップ1012で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1014に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1008, the CPU 100 calculates a checksum from the top address of the first RAM area to the address immediately before the checksum area based on the data in the first ROM and RAM area. Next, in step 1010, the CPUC 100 checks the first RAM and the second RAM based on the data in the first ROM and RAM area (for example, the calculated checksum and the checksum data held in the checksum area). Check whether the data stored in the built-in RAM C120 is correctly held by power off / power off recovery based on the above, and generate the power off recovery data (the result of the check or the process on power off in step 1800) Based on the processing executed in step b) and held in the second RAM area). Next, in step 1012, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1014.

<第1ROM・RAM領域における処理>
次に、ステップ1014で、CPUC100は、第1ROM・RAM領域内のデータに基づき、前扉スイッチD80、設定扉スイッチM10及び設定キースイッチM20のスイッチ状態を確認する。次に、ステップ1016で、CPUC100は、第1ROM・RAM領域内のデータを参照し、扉スイッチD80、設定扉スイッチM10及び設定キースイッチM20のいずれかがオフであるか否かを判定する。ステップ1016でYesの場合、ステップ1018で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域内の非設定変更時初期化処理を呼び出し、ステップ1022に移行する。他方、ステップ1016でNoの場合には、ステップ1020で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域内の設定変更時初期化処理を呼び出し、ステップ1030に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1014, the CPUC 100 confirms the switch states of the front door switch D80, the setting door switch M10 and the setting key switch M20 based on the data in the first ROM and RAM area. Next, in step 1016, the CPUC 100 refers to the data in the first ROM / RAM area and determines whether any of the door switch D80, the setting door switch M10 and the setting key switch M20 is off. If Yes in step 1016, in step 1018, the CPUC 100 calls non-setting change time initialization processing in the second ROM area based on the data in the first ROM and RAM area, and shifts to step 1022. On the other hand, if No in step 1016, the CPUC 100 calls the setting change initialization processing in the second ROM area based on the data in the first ROM and RAM area in step 1020, and shifts to step 1030.

<第2ROM・RAM領域における処理>
次に、ステップ1022で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM内の電源断処理済みフラグのオン・オフ(ステップ1904でオンとなる)及び全RAMのチェックサム状態(ステップ1010でのチェック結果)を参照し、第2RAM内の電源断復帰データは正常ではないか否かを判定する。ステップ1022でYesの場合、ステップ1026で、CPUC100は、第2ROM・RAM領域内のデータに基づき、バックアップエラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、復帰不可能エラー処理を実行する。他方、ステップ1022でNoの場合、ステップ1028で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM及び第2RAMの初期化範囲を未使用RAM範囲(図中欄外にて示す、第1RAM領域における未使用領域と第2RAM領域における未使用領域)に決定してセットし(例えば、レジスタ領域内にセットし)、ステップ1036に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1022, the CPUC 100 turns on / off the power-off processing flag in the first RAM (turns on in step 1904) based on the data in the second ROM and RAM area and checks sum status of all the RAMs ( Referring to the check result in step 1010, it is determined whether the power failure recovery data in the second RAM is not normal. If Yes in step 1022, in step 1026, the CPUC 100 sets a backup error display based on data in the second ROM and RAM area (for example, sets an error number in the register area). Next, in step 1300, the CPUC 100 executes an impossible-to-return error process, which will be described later, based on the data in the second ROM / RAM area. On the other hand, in the case of No at step 1022, the CPUC 100 at step 1028 displays an initialization range of the first RAM and the second RAM based on the data in the second ROM and RAM area. It determines and sets (for example, sets in the register area) the unused area in the 1 RAM area and the unused area in the second RAM area, and proceeds to step 1036.

他方、ステップ1020の処理の後、ステップ1030で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM内の電源断処理済みフラグのオン・オフ(ステップ1904でオンとなる)及び全RAMのチェックサム状態(ステップ1010でのチェック結果)を参照し、第2RAM内の電源断復帰データは正常であるか否かを判定する。ステップ1030でYesの場合、ステップ1032で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM及び第2RAMの初期化範囲をRAM内における設定値を除くすべての範囲に決定してセットし(例えば、レジスタ領域内にセットし)、ステップ1036に移行する。尚、設定値は第1RAM領域の先頭アドレスに格納されている。他方、ステップ1030でNoの場合、ステップ1034で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM及び第2RAMの初期化範囲をRAMのすべての範囲に決定してセットし(例えば、レジスタ領域内にセットし)、ステップ1036に移行する。   On the other hand, after the process of step 1020, in step 1030, CPUC 100 turns on / off the power-off processed flag in the first RAM based on the data in the second ROM and RAM area (turned on in step 1904) and all Referring to the checksum state (the check result in step 1010) of the RAM, it is determined whether or not the power failure recovery data in the second RAM is normal. If Yes in step 1030, in step 1032, the CPUC 100 determines and sets the initialization ranges of the first RAM and the second RAM to all ranges except the setting value in the RAM based on the data in the second ROM and RAM area. (For example, set in the register area), and the process goes to step 1036. The setting value is stored at the top address of the first RAM area. On the other hand, if No in step 1030, the CPUC 100 determines and sets the initialization ranges of the first RAM and the second RAM to all the ranges of the RAM based on the data in the second ROM and RAM area in the step 1034 (for example, , Set in the register area), and the process goes to step 1036.

次に、ステップ1036で、CPUC100は、第2ROM・RAM領域内のデータに基づき、決定された初期化範囲で第2RAM領域のみの初期化を実行する。次に、ステップ1038で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1040に移行する。   Next, in step 1036, the CPUC 100 executes initialization of only the second RAM area within the determined initialization range based on the data in the second ROM and RAM area. Next, in step 1038, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1040.

<第1ROM・RAM領域における処理>
次に、ステップ1040で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ステップ1028、ステップ1032又はステップ1034にて決定された初期化範囲で、第1RAM領域のみの初期化を実行する。次に、ステップ1041で、CPUC100は、第1ROM・RAM領域内のデータに基づき、前扉スイッチD80、設定扉スイッチM10及び設定キースイッチM20のいずれかがオフであるか否かを判定する。ステップ1041でYesの場合、ステップ1042で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域内の設定値チェック処理を呼び出し、ステップ1044に移行する。他方、ステップ1041でNoの場合には、ステップ1100で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、設定変更装置制御処理(設定変更処理とも称す)を実行する。
<Processing in the first ROM / RAM area>
Next, in step 1040, the CPUC 100 executes initialization of only the first RAM area within the initialization range determined in step 1028, step 1032, or step 1034, based on the data in the first ROM / RAM area. Next, in step 1041, the CPUC 100 determines whether any one of the front door switch D80, the setting door switch M10 and the setting key switch M20 is off based on the data in the first ROM / RAM area. If Yes in step 1041, the CPUC 100 calls setting value check processing in the second ROM area based on the data in the first ROM / RAM area in step 1042, and shifts to step 1044. On the other hand, if No in step 1041, the CPUC 100 executes setting change device control processing (also referred to as setting change processing) to be described later based on the data in the first ROM and RAM area in step 1100.

<第2ROM・RAM領域における処理>
次に、ステップ1044で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域内を参照し、第1RAM領域内の設定値に係るデータは正常範囲内(本例では、1〜6)であるか否かを判定する。ステップ1044でYesの場合、ステップ1046で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1050に移行する。他方、ステップ1044でNoの場合、ステップ1048で、CPUC100は、第2ROM・RAM領域内のデータに基づき、設定値エラー表示(例えば、払出数表示装置D190に表示されることとなる)をセットする(例えば、レジスタ領域内にセットする)。次に、ステップ1300で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する復帰不可能エラー処理を実行する。
<Processing in Second ROM and RAM Area>
Next, in step 1044, the CPUC 100 refers to the inside of the first RAM area based on the data in the second ROM and RAM area, and the data relating to the setting value in the first RAM area is within the normal range (1 to 6 in this example). 6) It is determined whether or not it is. If Yes in step 1044, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM / RAM area in step 1046, and proceeds to step 1050. On the other hand, if No in step 1044, the CPUC 100 sets a set value error display (for example, it will be displayed on the number-of-payouts display device D190) based on the data in the second ROM and RAM area in step 1048. (For example, set in the register area). Next, in step 1300, the CPUC 100 executes an impossible-to-return error process, which will be described later, based on the data in the second ROM / RAM area.

<第1ROM・RAM領域における処理>
次に、ステップ1050で、CPUC100は、第1ROM・RAM領域内のデータに基づき、電源断時の処理(ステップ1902)にて保存したスタックポインタに係るデータに基づき、スタックポインタを復帰する。次に、ステップ1052で、CPUC100は、第1ROM・RAM領域内のデータに基づき、入力ポートの読み込みを実行する。次に、ステップ1054で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ステップ1002にてセットしたタイマ割り込みを開始する。次に、ステップ1056で、CPUC100は、第1ROM・RAM領域内のフラグエリア内にある電源断処理済みフラグをオフにし、復帰したスタックポインタに従い電源断時の処理に復帰する。
<Processing in the first ROM / RAM area>
Next, in step 1050, the CPUC 100 restores the stack pointer based on the data in the first ROM / RAM area, based on the data related to the stack pointer saved in the process upon power-off (step 1902). Next, in step 1052, the CPUC 100 reads the input port based on the data in the first ROM and RAM area. Next, in step 1054, the CPUC 100 starts the timer interrupt set in step 1002 based on the data in the first ROM and RAM area. Next, in step 1056, the CPUC 100 turns off the power-off processing flag in the flag area in the first ROM and RAM area, and returns to the processing at the power-off according to the restored stack pointer.

尚、不図示ではあるが、主制御基板Mが搭載する一時記憶領域(RAM領域等)の初期値(処理開始時の値)は、特別遊技が実行される値とならないよう構成することが好適である(プログラムの処理開始直後に、ノイズや不正行為により、特別遊技の実行判定を行う処理を実行してしまった場合に特別遊技が誤って実行されることを防止するため)。また、不図示ではあるが、主制御基板MのRAM領域内に当選乱数等の乱数を記憶する場合には、専用の記憶領域を確保し、乱数に係る情報を記憶しているバイト内には当該乱数に係る情報のみを記憶する(各種タイマ値等、その他の情報を記憶しない)よう構成することが好適である(同じ1バイト内に記憶した別のデータを操作する際に、ノイズ等によって乱数に係る情報が書き換わってしまうことを防止するため)。   Although not shown, it is preferable that the initial value (value at the start of processing) of the temporary storage area (RAM area etc.) mounted on the main control board M is configured not to be a value at which the special game is executed. (In order to prevent the special game from being erroneously executed when the process for judging the execution of the special game has been executed immediately after the start of the processing of the program, due to noise or cheating. Further, although not shown, when storing random numbers such as winning random numbers in the RAM area of the main control board M, a dedicated storage area is secured, and in the byte storing information related to the random numbers. It is preferable to be configured to store only the information related to the random number (do not store other information such as various timer values) (by noise or the like when operating another data stored in the same 1 byte) To prevent information related to random numbers from being rewritten).

<第1ROM・RAM領域における処理>
次に、図9は、図8におけるステップ1100のサブルーチンに係る、設定変更装置制御処理のフローチャートである。まず、ステップ1102で、CPUC100は、第1ROM・RAM領域内のデータに基づき、スタックポインタをセットする(当該処理の先頭アドレスで初期化する)。次に、ステップ1118で、CPUC100は、第1ROM・RAM領域内のデータに基づき、タイマ割り込みを開始する。次に、ステップ1120で、CPUC100は、第1ROM・RAM領域内のデータを参照し、第1RAM領域内の設定値は正常範囲内(本例では、1〜6)ではないか否かを判定する。ステップ1120でYesの場合、ステップ1122で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定値に所定値(例えば、1=遊技者にとって最も不利となる値)をセットし、ステップ1124に移行する。他方、ステップ1120でNoの場合にもステップ1124に移行する。次に、ステップ1124で、CPUC100は、第1ROM・RAM領域内のデータに基づき、エラー表示LED(不図示)に設定変更装置作動中である旨を表示し、設定表示LED(不図示)に設定値を表示し、ステップ1126に移行する。
<Processing in the first ROM / RAM area>
Next, FIG. 9 is a flowchart of setting change device control processing according to the subroutine of step 1100 in FIG. First, in step 1102, the CPUC 100 sets a stack pointer based on data in the first ROM / RAM area (initializes with the start address of the process). Next, in step 1118, the CPUC 100 starts timer interrupt based on the data in the first ROM and RAM area. Next, in step 1120, the CPUC 100 refers to the data in the first ROM and RAM area and determines whether or not the set value in the first RAM area is within the normal range (1 to 6 in this example). . If Yes in step 1120, in step 1122, the CPUC 100 sets a predetermined value (for example, 1 = the value most disadvantageous to the player) to the set value based on the data in the first ROM and RAM area, and step 1124 Migrate to On the other hand, also in the case of No at step 1120, the process proceeds to step 1124. Next, in step 1124, the CPUC 100 displays that the setting change device is in operation on the error display LED (not shown) based on the data in the first ROM and RAM area, and sets the setting display LED (not shown). Display the value and move to step 1126.

次に、ステップ1126で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定/リセットボタンM30がオフからオンに切り替わったか否かを判定する。ステップ1126でYesの場合、ステップ1128で、CPUC100は、第1ROM・RAM領域内のデータに基づき、現在の設定値に1を加算し(加算した結果設定値が6を超過した場合には、設定値は1となる)、ステップ1130に移行する。尚、ステップ1126でNoの場合にも、ステップ1130に移行する。次に、ステップ1130で、CPUC100は、第1ROM・RAM領域内のデータに基づき、スタートレバーD50がオフからオンに切り替わったか否かを判定する。ステップ1130でYesの場合、ステップ1132で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定キースイッチM20がオンからオフに切り替わったか否かを判定する。ステップ1132でNoの場合には、ステップ1132の処理をループする。他方、ステップ1132でYesの場合、ステップ1134で、CPUC100は、第1ROM・RAM領域内のデータに基づき、エラー表示LED(不図示)に設定変更装置の作動が終了した旨を表示し、設定表示LED(不図示)の設定値の表示を消去し、ステップ1200の遊技進行制御処理に移行する。尚、ステップ1130でNoの場合には、ステップ1126に移行する。   Next, in step 1126, the CPUC 100 determines whether the setting / reset button M30 has been switched from off to on based on the data in the first ROM and RAM area. If Yes in step 1126, the CPUC 100 adds 1 to the current set value in step 1128 based on the data in the first ROM and RAM area (if the set value exceeds 6 as a result of the addition, the setting is made The value is 1), and the process proceeds to step 1130. Also in the case of No at step 1126, the process proceeds to step 1130. Next, in step 1130, the CPUC 100 determines whether the start lever D50 has been switched from off to on based on the data in the first ROM / RAM area. If Yes in step 1130, in step 1132, the CPUC 100 determines whether the setting key switch M20 has been switched from on to off based on the data in the first ROM and RAM area. In the case of No at step 1132, the process of step 1132 is looped. On the other hand, if Yes in step 1132, the CPUC 100 displays that the operation of the setting change device has ended on the error display LED (not shown) based on the data in the first ROM and RAM area in step 1134 and displays the setting The display of the setting value of the LED (not shown) is erased, and the process proceeds to the game progress control process of step 1200. In the case of No at step 1130, the process proceeds to step 1126.

<第1ROM・RAM領域における処理>
次に、図10は、図9におけるステップ1200のサブルーチンに係る、遊技進行制御処理(1枚目)のフローチャートである。まず、ステップ1202で、CPUC100は、第1ROM・RAM領域内のデータに基づき、スタックポインタをセットする(当該処理の先頭アドレスで初期化する)。次に、ステップ1204で、CPUC100は、第1ROM・RAM領域内のデータに基づき、当該ゲームに必要な第1RAM領域内のデータ(例えば、ベット上限数、入賞の有効ライン、等)をセットする。次に、ステップ1206で、CPUC100は、第1ROM・RAM領域内のデータに基づき、当該ゲームにおける遊技状態(例えば、通常遊技中、大当り遊技中、再遊技確率変動遊技中、AT遊技中等)をセットする。次に、ステップ1208で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル払出装置Hが遊技メダルで満杯ではないか否かを判定する。具体的には、メダル払出装置Hから溢れ出たメダルを格納するサブタンク(不図示)を備え、サブタンクに設けられた複数の満杯検知センサによる電流の導通/非導通にて判定する(メダルを介して電流が導通した場合には、満杯と判定する)。ステップ1208でYesの場合、ステップ1218に移行する。
<Processing in the first ROM / RAM area>
Next, FIG. 10 is a flowchart of the game progression control process (first sheet) according to the subroutine of step 1200 in FIG. First, in step 1202, the CPUC 100 sets a stack pointer based on the data in the first ROM / RAM area (initializes with the start address of the process). Next, in step 1204, the CPUC 100 sets data (e.g., bet upper limit number, winning pay line, etc.) necessary for the game based on the data in the first ROM / RAM area. Next, in step 1206, CPUC 100 sets the gaming state (for example, during normal game, during big hit, during reprobability fluctuation game, during AT game, etc.) based on the data in the first ROM and RAM area. Do. Next, in step 1208, the CPUC 100 determines whether or not the medal payout device H is full of game medals, based on the data in the first ROM / RAM area. Specifically, a sub tank (not shown) for storing medals overflowing from the medal payout device H is provided, and it is judged by conduction / non-conduction of current by a plurality of full detection sensors provided in the sub tank (through the medal If the current is turned on, it is judged full. If Yes in step 1208, then the process moves to step 1218.

他方、ステップ1208でNoの場合、ステップ1210で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル満杯エラーフラグをオンにする(例えば、第1RAM領域のメダル満杯エラーフラグ領域内をオンに相当する値で更新する)。次に、ステップ1212で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル満杯エラーに対応したエラー番号の表示を7セグLED(例えば、貯留表示LED又は獲得枚数LED)で実行する。次に、ステップ1214で、CPUC100は、第1ROM・RAM領域内のデータを参照して、メダル満杯エラーが解除されたか否か(例えば、サブタンクによる電流が非導通、且つ、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1214でYesの場合、ステップ1216で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル満杯エラーフラグをオフにし(例えば、第1RAM領域のメダル満杯エラーフラグ領域内をオフに相当する値で更新し)、ステップ1218に移行する。他方、ステップ1214でNoの場合には、ステップ1212に移行する。次に、ステップ1218で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル投入受付を許可し(再遊技の次ゲームにおいては自動にて投入動作が実行されることとなる)、次の処理(ステップ1220の処理)に移行する。ここで、ステップ1218では、ブロッカD100のオン処理(メダル流路が形成する処理)を行う。具体的には、前回遊技で再遊技役が成立した場合には、現在の貯留数(クレジット)が所定値(本例では、50枚)未満であることを条件として、ブロッカD100のオン処理を実行する。換言すると、現在の貯留数(クレジット)が所定値である場合には、ブロッカD100のオン処理を実行しない。一方、前回遊技で再遊技役が成立しなかった場合には、一律にブロッカD100のオン処理を実行するようにしている。このように構成することにより、再遊技が成立した場合であっても貯留数(クレジット)が所定値に達していない場合には、遊技メダルが投入できるように構成され、通常遊技状態よりも再遊技確率の高いRT状態に滞在しているときや、見た目では再遊技とは分かり辛い再遊技(小役に見せかけた再遊技:無効ライン上にベル−ベル−ベルや、左リールにチェリーが停止した図柄組合せ)が停止した場合であっても、遊技者はリズム良く(違和感なく)遊技を行うことができる。   On the other hand, if No in step 1208, the CPUC 100 turns on the medal full error flag based on the data in the first ROM and RAM area in step 1210 (for example, it turns on the medal full error flag area in the first RAM area). Update with a value equivalent to Next, in step 1212, based on the data in the first ROM and RAM area, the CPUC 100 displays an error number corresponding to a medal full error with a 7-segment LED (for example, storage display LED or number of acquired LEDs). Next, in step 1214, the CPUC 100 refers to the data in the first ROM and RAM area, and whether or not the medal full error has been released (for example, the current by the sub tank is non-conductive, and the setting / reset button M30 is It is determined whether or not it has been pressed. If Yes in step 1214, the CPUC 100 turns off the medal full error flag based on the data in the first ROM and RAM area in step 1216 (for example, corresponds to turning off the inside of the medal full error flag area of the first RAM area). Update with the value), and move on to step 1218. On the other hand, in the case of No at step 1214, the process proceeds to step 1212. Next, in step 1218, the CPUC 100 permits medal insertion acceptance based on the data in the first ROM and RAM area (in the next game of replay, the insertion operation is automatically executed), and Processing (processing of step 1220). Here, in step 1218, the on process (the process of forming the medal channel) of the blocker D100 is performed. Specifically, when the replay role is established in the previous game, the on processing of the blocker D100 is performed on the condition that the current storage number (credits) is less than a predetermined value (50 sheets in this example). Run. In other words, when the current storage number (credit) is a predetermined value, the on process of the blocker D100 is not executed. On the other hand, when the player is not established in the previous game, the on process of the blocker D100 is uniformly executed. By configuring in this manner, even when the replay is established, when the number of stored (credits) does not reach the predetermined value, the gaming medals can be inserted, and it is possible to re-enter more than the normal gaming state. When staying in the RT state with a high probability of gaming, or reminiscent of the re-playing in a hard-to-understand manner re-playing (replay spoofed as a small part: bell-bell-bell on invalid line, cherry on left reel) Even when the symbol combination) is stopped, the player can play the game with good rhythm (without feeling of incongruity).

<第1ROM・RAM領域における処理>
次に、図11は、図9におけるステップ1200のサブルーチンに係る、遊技進行制御処理(2枚目)のフローチャートである。まず、ステップ1220で、CPUC100は、第1ROM・RAM領域内のデータに基づき、遊技メダルがベットされていない、且つ、クレジットが存在していないか否かを判定する。ステップ1220でYesの場合、ステップ1221で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定表示条件を充足している(例えば、扉スイッチD80、設定扉スイッチM10、設定キースイッチM20がすべてオンとなると当該条件を充足する)か否かを判定する。ステップ1221でYesの場合、ステップ1222で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定表示LED(不図示だが、払出数表示装置D190、クレジット数表示装置D200、投入数表示灯D210としてもよい)に設定値を表示し、ステップ1221に移行する。ステップ1220又はステップ1221でNoの場合、ステップ1224で、CPUC100は、第1ROM・RAM領域内のデータに基づき、遊技メダルの投入及び精算に係る管理を実行する。次に、ステップ1225で、CPUC100は、第1ROM・RAM領域内のデータに基づき、遊技メダルの受付可能枚数を確認する。次に、ステップ1226で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ブロッカD100がオンか否かを判定する。ステップ1226でYesの場合、ステップ1227で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1投入センサD20s又は第2投入センサD30sがオンであるか否かを判定する(第1投入センサD20s又は第2投入センサD30sがオンとなると、遊技メダルを1枚受け付けたと判定する)。ステップ1227でYesの場合、ステップ1228で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域のメダル投入エラー検出処理を呼び出し、ステップ1400に移行する。
<Processing in the first ROM / RAM area>
Next, FIG. 11 is a flowchart of the game progression control process (second sheet) according to the subroutine of step 1200 in FIG. First, in step 1220, the CPUC 100 determines, based on the data in the first ROM and RAM area, whether a gaming medal has not been bet and there is no credit. If YES in step 1220, the CPUC 100 satisfies the setting display conditions in step 1221 based on the data in the first ROM and RAM area (for example, door switch D80, setting door switch M10, and setting key switch M20). When all are turned on, it is determined whether or not the condition is satisfied. If YES in step 1221, the CPUC 100 displays a setting display LED (not shown, but the number-of-payouts display device D190, the number-of-credits display device D200, the number-of-inputs indicator light D210). Setting values are displayed, and the process moves to step 1221. In the case of No at step 1220 or step 1221, at step 1224, the CPUC 100 executes management relating to the insertion and settlement of game medals based on the data in the first ROM and RAM area. Next, in step 1225, the CPUC 100 confirms the number of receivable game medals based on the data in the first ROM / RAM area. Next, in step 1226, the CPUC 100 determines whether the blocker D100 is on based on the data in the first ROM and RAM area. In the case of Yes in step 1226, the CPUC 100 determines in step 1227 whether the first insertion sensor D20s or the second insertion sensor D30s is on based on the data in the first ROM and RAM area (first input) When the sensor D20s or the second insertion sensor D30s is turned on, it is determined that one game medal has been received). If Yes in step 1227, the CPUC 100 calls the medal insertion error detection process in the second ROM area based on the data in the first ROM and RAM area in step 1228, and proceeds to step 1400.

<第2ROM・RAM領域における処理>
次に、ステップ1400で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、メダル投入エラー検出処理を実行する。次に、ステップ1229で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1230に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1400, the CPUC 100 executes a medal insertion error detection process described later based on the data in the second ROM and RAM area. Next, in step 1229, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1230.

<第1ROM・RAM領域における処理>
次に、ステップ1230で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1投入センサD20s及び第2投入センサD30sがオフであるか否かを判定する(第1投入センサD20s又は第2投入センサD30sがオンとなった後、第1投入センサD20s及び第2投入センサD30sがオフとなると、受け付けた1枚の遊技メダルが第1投入センサD20s及び第2投入センサD30sを通過したと判定する)。ステップ1230でYesの場合、ステップ1231で、CPUC100は、第1ROM・RAM領域内のデータに基づき、1枚の正常な遊技メダルの投入を受け付けたと判定する。不図示であるが、ステップ1231の後、CPUC100は、第1ROM・RAM領域内のデータに基づき、クレジットが上限数(本例では、50)、且つ、ベット数が最大数(本例では、3)ではないか否かを判定し、Yesと判定した場合にはブロッカD100をオフ(メダル流路を形成しない状態)に制御する。尚、ステップ1230でNoの場合には、ステップ1228に移行し、ステップ1226またはステップ1227でNoの場合には、ステップ1232に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1230, the CPUC 100 determines whether the first loading sensor D20s and the second loading sensor D30s are off based on the data in the first ROM and RAM area (first loading sensor D20s or [2] When the first insertion sensor D20s and the second insertion sensor D30s are turned off after the insertion sensor D30s is turned on, it is assumed that one game medal received passes the first insertion sensor D20s and the second insertion sensor D30s judge). In the case of Yes in step 1230, the CPUC 100 determines in step 1231 that the insertion of one normal game medal has been accepted based on the data in the first ROM and RAM area. Although not shown, after step 1231, the CPUC 100 sets the upper limit number of credits (50 in this example) and the maximum number of bets (3 in this example) based on the data in the first ROM and RAM area. It is determined whether or not the blocker D100 is turned off (in a state in which the medal passage is not formed). If NO in step 1230, the process goes to step 1228. If NO in step 1226 or 1227, the process goes to step 1232.

次に、ステップ1232で、CPUC100は、第1ROM・RAM領域内のデータに基づき、精算ボタンD60の操作があったか否かを判定する。ステップ1232でYesの場合、ステップ1233で、CPUC100は、第1ROM・RAM領域内のデータに基づき、クレジットの残り枚数又はベットされている遊技メダルが存在するか否かを判定する。ステップ1233でYesの場合、ステップ1234で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ホッパ駆動フラグ(第1RAM領域内のフラグであり、ホッパモータH80を駆動している際にオンとするフラグ)をオンにし、遊技メダル1枚の払出を実行する。次に、ステップ1236で、CPUC100は、第1ROM・RAM領域内のデータを参照し、第1払出センサH10s又は第2払出センサH20sがオンであるか否かを判定する(第1払出センサH10s又は第2払出センサH20sがオンとなると、遊技メダル1枚の払出動作が行われていると判定する)。ステップ1236でYesの場合、ステップ1238で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域内のメダル払出エラー検出処理を呼び出し、ステップ1450に移行する。ここで、フローチャート上には明記してはいないが、前回遊技が再遊技役であった場合にはクレジットの残り枚数のみが精算の対象となる。   Next, in step 1232, the CPU 100 determines whether or not the settlement button D 60 has been operated, based on the data in the first ROM and RAM area. In the case of Yes in step 1232, in step 1233, the CPUC 100 determines whether or not there is a remaining number of credits or gaming medals bet based on the data in the first ROM / RAM area. In the case of Yes in step 1233, the CPUC 100 sets the hopper drive flag (a flag in the first RAM area) in step 1234 based on the data in the first ROM and RAM area, and turns on when driving the hopper motor H80. Turn on the flag) and execute payout of one game medal. Next, in step 1236, the CPUC 100 refers to the data in the first ROM / RAM area to determine whether the first payout sensor H10s or the second payout sensor H20s is on (the first payout sensor H10s or When the second payout sensor H20s is turned on, it is determined that the payout operation of one gaming medal is being performed). If Yes in step 1236, the CPUC 100 calls the medal payout error detection process in the second ROM area based on the data in the first ROM / RAM area in step 1238, and proceeds to step 1450. Here, although not specified on the flowchart, only the remaining number of credits is subject to settlement if the previous game was a replay role.

<第2ROM・RAM領域における処理>
次に、ステップ1450で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、メダル払出エラー検出処理を実行する。次に、ステップ1240で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域内の呼び出し元に復帰し、ステップ1247に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1450, the CPUC 100 executes medal payout error detection processing described later based on the data in the second ROM and RAM area. Next, in step 1240, the CPUC 100 returns to the caller in the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1247.

<第1ROM・RAM領域における処理>
他方、ステップ1236でNoの場合、ステップ1241で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ホッパ駆動後(ステップ1234の処理のタイミング後)から所定時間(例えば、5秒)経過したか否かを判定する。具体的には、ホッパ駆動信号をホッパモータH80に送信している(ホッパモータH80が回転している)のにもかかわらず、メダルが払い出されていないと判定している状況が所定時間継続したか否かを判定する。ステップ1241でYesの場合、ステップ1242で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル空エラーフラグをオンにする(例えば、第1RAM領域のメダル空エラーフラグ領域内をオンに相当する値で更新する)。次に、ステップ1244で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル空エラー表示を実行する。次に、ステップ1245で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル空エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1245でYesの場合、ステップ1246で、CPUC100は、第1ROM・RAM領域内のフラグエリア内にある、メダル空エラーフラグをオフにし(例えば、第1RAM領域のメダル空エラーフラグ領域内をオフに相当する値で更新し)、ステップ1247に移行する。他方、ステップ1245でNoの場合、ステップ1244に移行する。
<Processing in the first ROM / RAM area>
On the other hand, if No in step 1236, the CPUC 100 in step 1241 has passed a predetermined time (for example, 5 seconds) after hopper driving (after the processing timing in step 1234) based on the data in the first ROM and RAM area. It is determined whether or not. Specifically, whether or not the situation in which it is determined that the medal is not paid out continued for a predetermined time despite the fact that the hopper drive signal is transmitted to the hopper motor H80 (the hopper motor H80 is rotating) It is determined whether or not. If Yes in step 1241, the CPUC 100 turns on the medal empty error flag based on the data in the first ROM and RAM area in step 1242 (for example, it corresponds to turning on the inside of the medal empty error flag area of the first RAM area) Update with the value to Next, in step 1244, the CPUC 100 executes a medal empty error display based on the data in the first ROM and RAM area. Next, in step 1245, the CPUC 100 determines whether the medal empty error has been canceled (for example, whether the setting / reset button M30 has been pressed) based on the data in the first ROM and RAM area. If Yes in step 1245, the CPUC 100 turns off the medal empty error flag in the flag area in the first ROM and RAM area in step 1246 (for example, turns off the medal empty error flag area in the first RAM area). Update with the corresponding value), and the process proceeds to step 1247. On the other hand, in the case of No at step 1245, the process proceeds to step 1244.

<第1ROM・RAM領域における処理>
次に、ステップ1247で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1払出センサH10s及び第2払出センサH20sがオフであるか否かを判定する(第1払出センサH10s又は第2払出センサH20sがオンとなった後、第1払出センサH10s及び第2払出センサH20sがオフとなると、払出動作が行われていた1枚の遊技メダルの払出動作が完了したと判定する)。ステップ1247でYesの場合、ステップ1248で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ホッパ駆動フラグをオフにし、ステップ1233に移行する。尚、ステップ1241又はステップ1247でNoの場合には、ステップ1236に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1247, the CPUC 100 determines whether the first dispensing sensor H10s and the second dispensing sensor H20s are off based on the data in the first ROM and RAM area (the first dispensing sensor H10s or the first 2) When the first payout sensor H10s and the second payout sensor H20s are turned off after the payout sensor H20s is turned on, it is determined that the payout operation of one game medal for which the payout operation has been performed is completed). If YES in step 1247, the CPUC 100 turns off the hopper drive flag based on the data in the first ROM and RAM area in step 1248, and proceeds to step 1233. If the result of the step 1241 or the step 1247 is NO, the process proceeds to the step 1236.

他方、ステップ1232又はステップ1233でNoの場合、ステップ1249で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域の投入・払出エラー検出処理を呼び出し、ステップ1500に移行する。   On the other hand, if No in step 1232 or step 1233, the CPUC 100 calls the second ROM area insertion / withdrawal error detection processing based on the data in the first ROM / RAM area in step 1249 and shifts to step 1500.

<第2ROM・RAM領域における処理>
次に、ステップ1500で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、投入・払出エラー検出処理を実行する。次に、ステップ1250で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1251に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1500, the CPUC 100 executes an insertion / withdrawal error detection process, which will be described later, based on the data in the second ROM / RAM area. Next, in step 1250, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1251.

<第1ROM・RAM領域における処理>
次に、ステップ1251で、CPUC100は、第1ROM・RAM領域内のデータに基づき、スタートレバーD50が有効であり(例えば、ゲームを開始するための規定枚数の遊技メダルが投入された等)、且つ、当該スタートレバーD50の操作があったか否かを判定する。ステップ1251でYesの場合、ステップ1252で、CPUC100は、第1ROM・RAM領域内のデータに基づき、乱数の取得、ブロッカD100をオフにする処理を実行した後に、第2ROM領域の設定値チェック処理を呼び出し、ステップ1253に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1251, the CPUC 100 determines that the start lever D50 is effective (for example, the specified number of game medals for starting the game has been inserted, etc.) based on the data in the first ROM and RAM area, and It is determined whether or not the start lever D50 has been operated. If Yes in step 1251, the CPUC 100 executes processing for obtaining random numbers and turning off the blocker D 100 based on data in the first ROM and RAM areas in step 1252, and then performs setting value check processing for the second ROM area. The call is transferred to step 1253.

<第2ROM・RAM領域における処理>
次に、ステップ1253で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域内の設定値は正常範囲内(本例では、1〜6)であるか否かを判定する。ステップ1253でYesの場合、ステップ1254で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、次の処理(ステップ1257の処理)に移行する。他方、ステップ1253でNoの場合、ステップ1256で、CPUC100は、第2ROM・RAM領域内のデータに基づき、設定値エラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、復帰不可能エラー処理を実行する。
<Processing in Second ROM and RAM Area>
Next, in step 1253, the CPUC 100 determines whether the set value in the first RAM area is within the normal range (1 to 6 in this example) based on the data in the second ROM / RAM area. In the case of Yes at step 1253, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM / RAM area at step 1254, and shifts to the next process (the process of step 1257). On the other hand, if No in step 1253, in step 1256, the CPUC 100 sets a setting value error display based on the data in the second ROM and RAM area (for example, sets an error number in the register area). Next, in step 1300, the CPUC 100 executes an impossible-to-return error process, which will be described later, based on the data in the second ROM / RAM area.

<第1ROM・RAM領域における処理>
次に、図12は、図9におけるステップ1200のサブルーチンに係る、遊技進行制御処理(3枚目)のフローチャートである。まず、ステップ1257で、CPUC100は、第1ROM・RAM領域内のデータに基づき、内部抽選(当該ゲームにおいて入賞可能となる役を決定するための抽選)を開始する。次に、ステップ1258で、CPUC100は、第1ROM・RAM領域内のデータに基づき、全リール(リールM50)の回転を開始し、ステップ1260に移行する。次に、ステップ1260で、CPUC100は、第1ROM・RAM領域内のデータに基づき、引き込みポイント作成要求(回転している左リールM51、中リールM52、右リールM53の停止位置を決定するために要求され、停止順番や他のリールの停止位置に応じて適宜要求される)があったか否かを判定する。ステップ1260でYesの場合、ステップ1261で、CPUC100は、第1ROM・RAM領域内のデータに基づき、引き込みポイントを作成し、ステップ1262に移行する。他方、ステップ1260でNoの場合にも、ステップ1262に移行する。次に、ステップ1262で、CPUC100は、第1ROM・RAM領域内のデータに基づき、リール停止受付可否チェックを実行する。次に、ステップ1263で、CPUC100は、第1ROM・RAM領域内のデータに基づき、いずれかの停止ボタン(左停止ボタンD41、中停止ボタンD42、右停止ボタンD43)の操作があったか否かを判定する。ステップ1263でYesの場合、ステップ1264で、CPUC100は、第1ROM・RAM領域内のデータに基づき、操作があった停止ボタンに対応したリール(例えば、左停止ボタンD41には左リールM51が対応)の停止位置を決定し、ステップ1265に移行する。他方、ステップ1263でNoの場合にも、ステップ1265に移行する。次に、ステップ1265で、CPUC100は、第1ROM・RAM領域内のデータに基づき、全リール停止チェック処理を実行する。次に、ステップ1266で、CPUC100は、第1ROM・RAM領域内のデータに基づき、すべてのリール(左リールM51、中リールM52、右リールM53)が停止したか否かを判定する。ステップ1266でYesの場合、ステップ1267で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域の表示判定チェック処理を呼び出し、ステップ1268に移行する。尚、ステップ1266でNoの場合、ステップ1260に移行する。
<Processing in the first ROM / RAM area>
Next, FIG. 12 is a flowchart of the game progression control process (third sheet) according to the subroutine of step 1200 in FIG. First, in step 1257, the CPUC 100 starts an internal lottery (a lottery for determining the winning combination in the game) based on the data in the first ROM and RAM area. Next, in step 1258, the CPUC 100 starts rotating all the reels (reel M50) based on the data in the first ROM and RAM area, and shifts to step 1260. Next, in step 1260, the CPUC 100 makes a draw-in point creation request (a request for determining the stop position of the rotating left reel M51, middle reel M52, right reel M53, based on the data in the first ROM and RAM area). It is determined whether or not there has been a request for stopping according to the stopping order and the stopping positions of the other reels. If Yes in step 1260, the CPUC 100 creates a lead-in point based on the data in the first ROM and RAM area in step 1261, and shifts to step 1262. On the other hand, also in the case of No at step 1260, the process proceeds to step 1262. Next, in step 1262, the CPUC 100 executes a reel stop acceptance check based on the data in the first ROM and RAM area. Next, in step 1263, the CPUC 100 determines whether or not any stop button (left stop button D 41, middle stop button D 42, right stop button D 43) has been operated based on the data in the first ROM and RAM area. Do. In the case of Yes in step 1263, the CPUC 100 selects the reel corresponding to the stop button operated based on the data in the first ROM / RAM area in step 1264 (for example, the left reel M51 corresponds to the left stop button D41) The stop position of is determined, and the process moves to step 1265. On the other hand, also in the case of No at step 1263, the process proceeds to step 1265. Next, in step 1265, the CPUC 100 executes an all reel stop check process based on the data in the first ROM and RAM area. Next, in step 1266, the CPUC 100 determines whether or not all reels (left reel M51, middle reel M52, right reel M53) have stopped based on the data in the first ROM / RAM area. If Yes in step 1266, the CPUC 100 calls the display determination check process of the second ROM area based on the data in the first ROM and RAM area in step 1267, and proceeds to step 1268. In the case of No at step 1266, the process proceeds to step 1260.

<第2ROM・RAM領域における処理>
次に、ステップ1268で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM内の図柄停止位置データと、内部成立役停止可能位置データとを比較する。次に、ステップ1269で、CPUC100は、第2ROM・RAM領域内のデータを参照し、表示された図柄の組み合わせが正常であるか否かを判定する(内部抽選によって決定された入賞可能となる役と一致していなければ異常であると判定される)。ステップ1269でYesの場合、ステップ1500で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、投入・払出エラー検出処理を実行する。次に、ステップ1270で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1274に移行する。他方、ステップ1269でNoの場合、ステップ1272で、CPUC100は、第2ROM・RAM領域内のデータに基づき、表示判定エラー表示をセットする(例えば、レジスタ領域内にセットする)。次に、ステップ1300で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、復帰不可能エラー処理を実行する。
<Processing in Second ROM and RAM Area>
Next, in step 1268, the CPUC 100 compares the symbol stop position data in the first RAM with the internally established combination stoppable position data based on the data in the second ROM and RAM area. Next, in step 1269, the CPUC 100 refers to the data in the second ROM and RAM area to determine whether or not the combination of the displayed symbols is normal. If it does not match, it is judged to be abnormal). In the case of Yes in step 1269, in step 1500, the CPUC 100 executes an insertion / withdrawal error detection process described later based on the data in the second ROM / RAM area. Next, in step 1270, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1274. On the other hand, if No in step 1269, the CPUC 100 sets a display determination error display based on the data in the second ROM and RAM area (for example, sets it in the register area) in step 1272. Next, in step 1300, the CPUC 100 executes an impossible-to-return error process, which will be described later, based on the data in the second ROM / RAM area.

<第1ROM・RAM領域における処理>
次に、ステップ1274で、CPUC100は、第1ROM・RAM領域内のデータに基づき、入賞による遊技メダルの払出処理を実行する。次に、ステップ1275で、CPUC100は、第1ROM・RAM領域内のデータに基づき、遊技メダルを払い出す入賞があったか否かを判定する{入賞によって獲得した遊技メダルが、クレジットの最大数(本例では、50)を超過した場合に、遊技メダルの払出が実行される}。ステップ1275でYesの場合、ステップ1276で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ホッパ駆動フラグ(第1RAM領域内のフラグであり、ホッパモータH80を駆動している際にオンとするフラグ)をオンにし、遊技メダル1枚の払出を実行する。次に、ステップ1277で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1払出センサH10s又は第2払出センサH20sがオンであるか否かを判定する(第1払出センサH10s又は第2払出センサH20sがオンとなると、遊技メダル1枚の払出動作が行われていると判定する)。ステップ1277でYesの場合、ステップ1278で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域内のメダル払出エラー検出処理を呼び出し、ステップ1450に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1274, the CPUC 100 executes payout processing of game medals by winning based on data in the first ROM / RAM area. Next, in step 1275, the CPUC 100 determines whether or not there is a winning combination for paying out gaming medals based on the data in the first ROM and RAM area {the maximum number of credits of gaming medals acquired by winning combinations (this example Then, if 50) is exceeded, payout of game medals is executed}. In the case of Yes in step 1275, the CPUC 100 turns on the hopper drive flag (a flag in the first RAM area based on the data in the first ROM and RAM area in step 1276) when driving the hopper motor H80. Turn on the flag) and execute payout of one game medal. Next, in step 1277, the CPUC 100 determines whether or not the first payout sensor H10s or the second payout sensor H20s is on based on the data in the first ROM / RAM region (the first payout sensor H10s or the first (2) When the payout sensor H20s is turned on, it is determined that the payout operation of one gaming medal is being performed). If Yes in step 1277, the CPUC 100 calls the medal payout error detection process in the second ROM area based on the data in the first ROM / RAM area in step 1278, and proceeds to step 1450.

<第2ROM・RAM領域における処理>
次に、ステップ1450で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、メダル払出エラー検出処理を実行する。次に、ステップ1284で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域内に呼び出し元に復帰し、ステップ1286に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1450, the CPUC 100 executes medal payout error detection processing described later based on the data in the second ROM and RAM area. Next, in step 1284, the CPUC 100 returns to the caller in the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1286.

<第1ROM・RAM領域における処理>
他方、ステップ1277でNoの場合、ステップ1279で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ホッパ駆動後(ステップ1276の処理のタイミング後)から所定時間(例えば、5秒)経過したか否かを判定する。ステップ1279でYesの場合、ステップ1280で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル空エラーフラグをオンにする(例えば、第1RAM領域のメダル空エラーフラグ領域内をオンに相当する値で更新する)。次に、ステップ1281で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル空エラー表示を7セグLEDで実行する。次に、ステップ1282で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル空エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1282でYesの場合、ステップ1283で、CPUC100は、第1ROM・RAM領域内のデータに基づき、メダル空エラーフラグをオフにし(例えば、第1RAM領域のメダル空エラーフラグ領域内をオフに相当する値で更新し)、ステップ1286に移行する。他方、ステップ1282でNoの場合、ステップ1281に移行する。
<Processing in the first ROM / RAM area>
On the other hand, if No in step 1277, the CPUC 100 in step 1279 based on the data in the first ROM / RAM area has passed a predetermined time (for example, 5 seconds) after hopper driving (after the processing of step 1276). It is determined whether or not. If Yes in step 1279, the CPUC 100 turns on the medal empty error flag based on the data in the first ROM and RAM area in step 1280 (for example, it corresponds to turning on the inside of the medal empty error flag area of the first RAM area). Update with the value to Next, in step 1281, the CPUC 100 executes the medal empty error display with the 7-segment LED based on the data in the first ROM and RAM area. Next, in step 1282, the CPUC 100 determines whether the medal empty error has been canceled (for example, whether the setting / reset button M30 has been pressed or not) based on the data in the first ROM / RAM area. If Yes in step 1282, the CPUC 100 turns off the medal empty error flag based on the data in the first ROM and RAM area in step 1283 (for example, it corresponds to turning off the inside of the medal empty error flag area of the first RAM area). Update with the value) and go to step 1286. On the other hand, in the case of No at step 1282, the process proceeds to step 1281.

<第1ROM・RAM領域における処理>
次に、ステップ1286で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1払出センサH10s及び第2払出センサH20sがオフであるか否かを判定する(第1払出センサH10s又は第2払出センサH20sがオンとなった後、第1払出センサH10s及び第2払出センサH20sがオフとなると、払出動作が行われていた1枚の遊技メダルの払出動作が完了したと判定する)。ステップ1286でYesの場合、ステップ1288で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ホッパ駆動フラグをオフにし、ステップ1290に移行する。尚、ステップ1279又はステップ1286でNoの場合には、ステップ1277に移行する。次に、ステップ1290で、CPUC100は、第1ROM・RAM領域内のデータに基づき、当該入賞(ステップ1275でYesとなった入賞)に対応した払出が完了したか否かを判定する。ステップ1290でYesの場合、ステップ1292で、CPUC100は、第1ROM・RAM領域内のデータに基づき、遊技終了処理(例えば、ベット数のクリア、遊技状態の移行処理等)を実行し、次の処理(ステップ1202の処理)に移行する。尚、ステップ1286でNoの場合には、ステップ1277に移行し、ステップ1275でNoの場合には、ステップ1292に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1286, the CPUC 100 determines whether the first dispensing sensor H10s and the second dispensing sensor H20s are off based on the data in the first ROM and RAM area (the first dispensing sensor H10s or the first 2) When the first payout sensor H10s and the second payout sensor H20s are turned off after the payout sensor H20s is turned on, it is determined that the payout operation of one game medal for which the payout operation has been performed is completed). If Yes in step 1286, the CPUC 100 turns off the hopper drive flag based on the data in the first ROM and RAM area in step 1288, and proceeds to step 1290. In the case of No at step 1279 or step 1286, the process proceeds to step 1277. Next, in step 1290, the CPUC 100 determines, based on the data in the first ROM and RAM area, whether or not the payout corresponding to the winning (the winning determined in step 1275) is completed. In the case of Yes in step 1290, the CPUC 100 executes game end processing (for example, clearing of the bet number, transition processing of the game state, etc.) in step 1292 based on the data in the first ROM and RAM area, and the next processing It transfers to (the process of step 1202). In the case of No at step 1286, the process proceeds to step 1277, and in the case of No at step 1275, the process proceeds to step 1292.

<第1ROM・RAM領域における処理>
次に、図13は、図8におけるステップ1300の(及び他のフローチャートにおいて呼び出された)サブルーチンに係る、復帰不可能エラー処理のフローチャートである。まず、ステップ1302で、CPUC100は、第1ROM・RAM領域内のデータに基づき、割り込みを禁止する(以降は、後述するタイマ割り込み時処理に係るフローチャートが実行されない)。次に、ステップ1304で、CPUC100は、第1ROM・RAM領域内のデータに基づき、出力ポートアドレス及び出力ポート数をセットする。次に、ステップ1306で、CPUC100は、第1ROM・RAM領域内のデータに基づき、出力ポート(本例では、0〜6であり、各種LEDへの表示出力や各種モータへの駆動出力)をオフにする。次に、ステップ1308で、CPUC100は、第1ROM・RAM領域内のデータに基づき、次のポート出力アドレスをセットする(この繰り返しにより、各種LEDへの表示出力や各種モータへの駆動出力が順次停止される)。次に、ステップ1310で、CPUC100は、第1ROM・RAM領域内のデータに基づき、各出力ポートへの出力が終了したか否かを判定する。ステップ1310でYesの場合には、ステップ1312で、CPUC100は、第1ROM・RAM領域内のデータに基づき、セットされているエラー表示を実行し(本処理を実行する際には何らかのエラーが発生している)、当該処理の実行を繰り返し、電源電圧が低下することでリセット信号が入力されて終了する。(即ち、無限ループに突入するので、復帰を促す一切の操作を受け付けない)。尚、ステップ1310でNoの場合には、ステップ1306に移行する。尚、ステップ1306〜ステップ1310の処理は、LED・モータへの出力をクリアする処理である(但し、外部出力信号はクリアしないので、エラーに関する情報やエラー発生時における遊技進行状況等をホールコンピュータ側へ出力することは可能である)。
<Processing in the first ROM / RAM area>
Next, FIG. 13 is a flowchart of non-returnable error processing according to the subroutine of step 1300 (and called in the other flowcharts) in FIG. First, in step 1302, the CPUC 100 prohibits an interrupt based on the data in the first ROM and RAM area (hereinafter, the flowchart related to the timer interrupt process described later is not executed). Next, in step 1304, the CPUC 100 sets the output port address and the number of output ports based on the data in the first ROM / RAM area. Next, in step 1306, the CPUC 100 turns off the output port (0 to 6 in this example, and the display output to the various LEDs and the drive output to the various motors) based on the data in the first ROM and RAM area. Make it Next, in step 1308, the CPUC 100 sets the next port output address based on the data in the first ROM and RAM area (this repetition causes display output to various LEDs and drive output to various motors to be sequentially stopped) Will be Next, in step 1310, the CPUC 100 determines, based on the data in the first ROM and RAM area, whether or not the output to each output port has ended. In the case of Yes in step 1310, the CPUC 100 executes the set error display based on the data in the first ROM and RAM area in step 1312 (when an error occurs, some error occurs). And the execution of the process is repeated, and when the power supply voltage is lowered, the reset signal is input and the process ends. (In other words, since it enters an infinite loop, it does not accept any operation prompting return). In the case of No at step 1310, the process proceeds to step 1306. The processing in step 1306 to step 1310 is processing to clear the output to the LED and motor (However, since the external output signal is not cleared, the information on the error, the game progress status at the time of error occurrence, etc. It is possible to output to

<第2ROM・RAM領域における処理>
次に、図14は、図11におけるステップ1400のサブルーチンに係る、メダル投入エラー検出処理のフローチャートである。まず、ステップ1402で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル逆流エラーフラグ(ステップ1706でオンとなるフラグであり、本実施形態においては、第2RAM領域内のフラグ)がオンであるか否かを判定する。ステップ1402でYesの場合、ステップ1404で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル逆流エラー(投入された遊技メダルが逆流したことによるエラーであり、例えば、第1投入センサD20sオフ且つ第2投入センサD30sオン→第1投入センサD20sオン且つ第2投入センサD30sオンとなった場合にエラーとなる)表示を実行する。次に、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダルエラー逆流エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1406でYesの場合、ステップ1408で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル逆流エラーフラグをオフにし、次の処理(ステップ1229の処理)に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 14 is a flowchart of a medal insertion error detection process according to the subroutine of step 1400 in FIG. First, in step 1402, the CPUC 100 sets an inserted medal backflow error flag (a flag which is turned on in step 1706, and in this embodiment, a flag in the second RAM area) based on data in the second ROM / RAM area. It is determined whether or not it is on. In the case of Yes in step 1402, in step 1404, the CPUC 100 based on the data in the second ROM and RAM area, is an inserted medal backflow error (an error due to the inserted game medal being backflowed, for example, the first inserted sensor D20s OFF and second loading sensor D30s ON → 1st loading sensor D20s ON and second loading sensor D30s ON becomes an error). Next, based on the data in the second ROM and RAM area, the CPUC 100 determines whether or not the inserted medal error backflow error has been released (for example, whether the setting / reset button M30 has been pressed). If Yes in step 1406, in step 1408, the CPUC 100 turns off the inserted medal backflow error flag based on the data in the second ROM and RAM area, and shifts to the next process (the process of step 1229).

他方、ステップ1402でNoの場合、ステップ1410で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル滞留エラーフラグ(ステップ1710でオンとなるフラグであり、本実施形態においては、第2RAM領域内のフラグ)がオンであるか否かを判定する。ステップ1410でYesの場合、ステップ1412で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル滞留エラー(投入された遊技メダルが滞留したことによるエラーであり、例えば、第1投入センサD20sオン且つ第2投入センサD30sオンである状態が所定時間継続した場合にエラーとなる)表示を実行する。次に、ステップ1414で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル滞留エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1414でYesの場合、ステップ1416で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル滞留エラーフラグをオフにし、次の処理(ステップ1229の処理)に移行する。   On the other hand, in the case of No at step 1402, the CPUC 100 at step 1410 is an inserted medal retention error flag (a flag turned on at step 1710) based on data in the second ROM and RAM area 2) It is determined whether the flag in the RAM area is on. In the case of Yes in step 1410, the CPUC 100 in step 1412, based on the data in the second ROM and RAM area, is an insertion medal retention error (this is an error due to the inserted game medals being retained, for example, the first insertion sensor If a state in which D20s is on and the second on sensor D30s is on continues for a predetermined time, an error occurs. Next, in step 1414, the CPUC 100 determines whether or not the inserted medal retention error has been canceled (for example, whether or not the setting / reset button M30 has been pressed) based on the data in the second ROM and RAM area. If Yes in step 1414, the CPUC 100 turns off the inserted medal retention error flag based on the data in the second ROM and RAM area in step 1416, and shifts to the next processing (processing in step 1229).

他方、ステップ1410でNoの場合、ステップ1418で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入枚数エラーフラグ(ステップ1716でオンとなるフラグであり、本実施形態においては、第2RAM領域内のフラグ)がオンであるか否かを判定する。ステップ1418でYesの場合、ステップ1420で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入枚数エラー(投入された遊技メダルの枚数と正常通過した遊技メダルの枚数とが一致しないことによるエラーであり、例えば、投入受付センサD10sが検知した遊技メダルの枚数と第2投入センサD30sが検知した遊技メダルの枚数とが一致しない場合又は所定の許容範囲外となった場合にエラーとなる)表示を実行する。次に、ステップ1422で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入枚数エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1422でYesの場合、ステップ1424で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入枚数エラーフラグをオフにし、次の処理(ステップ1229の処理)に移行する。   On the other hand, if No in step 1410, the CPUC 100 in step 1418 is an insertion number error flag (a flag turned on in step 1716 based on the data in the second ROM and RAM area, and in the present embodiment, the second RAM). It is determined whether the flag in the area is on. In the case of Yes in step 1418, the CPUC 100 causes an error in the number of inserted cards based on the data in the second ROM and RAM area in step 1420 (due to the fact that the number of inserted game medals does not match the number of game medals passed normally. It is an error, for example, an error occurs when the number of gaming medals detected by the insertion acceptance sensor D10s does not match the number of gaming medals detected by the second insertion sensor D30s or when the number falls outside a predetermined allowable range) Execute the display. Next, in step 1422, the CPUC 100 determines whether the insertion number error has been canceled (for example, whether the setting / reset button M30 has been pressed) based on the data in the second ROM and RAM area. If Yes in step 1422, the CPUC 100 turns off the insertion number error flag based on the data in the second ROM and RAM area in step 1424, and shifts to the next processing (processing in step 1229).

<第2ROM・RAM領域における処理>
次に、図15は、図11及び図12におけるステップ1450のサブルーチンに係る、メダル払出エラー検出処理のフローチャートである。まず、ステップ1452で、CPUC100は、第2ROM・RAM領域内のデータに基づき、払出メダル滞留エラーフラグ(ステップ1756でオンとなるフラグであり、本実施形態においては、第2RAM領域内のフラグ)がオンであるか否かを判定する。ステップ1452でYesの場合、ステップ1456で、CPUC100は、第2ROM・RAM領域内のデータに基づき、払出メダル滞留エラー(払い出された遊技メダルが滞留したことによるエラーであり、例えば、第1払出センサH10sオン且つ第2払出センサH20sオンである状態が所定時間継続した場合にエラーとなる)表示を実行する。次に、ステップ1458で、CPUC100は、第2ROM・RAM領域内のデータに基づき、払出メダル滞留エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1458でYesの場合、ステップ1460で、CPUC100は、第2ROM・RAM領域内のデータに基づき、払出メダル滞留エラーフラグをオフにし、次の処理(ステップ1240又はステップ1284の処理)に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 15 is a flowchart of the medal payout error detection process according to the subroutine of step 1450 in FIGS. 11 and 12. First, in step 1452, the CPUC 100 determines that the payout medal staying error flag (a flag that is turned on in step 1756, and in the present embodiment, the flag in the second RAM area) based on the data in the second ROM and RAM area. It is determined whether or not it is on. In the case of Yes in step 1452, the CPUC 100 in step 1456 based on the data in the second ROM and RAM area, is an error due to the payout medal staying error (an error due to the game medals paid out being stagnated, for example, the first payout An error occurs when the state in which the sensor H10s is on and the second dispensing sensor H20s is on continues for a predetermined time). Next, in step 1458, the CPUC 100 determines whether or not the payout medal retention error has been canceled (for example, whether the setting / reset button M30 has been pressed or not) based on the data in the second ROM and RAM area. If Yes in step 1458, in step 1460, the CPUC 100 turns off the payout medal retention error flag based on the data in the second ROM and RAM area, and shifts to the next processing (processing in step 1240 or step 1284).

<第2ROM・RAM領域における処理>
次に、図16は、図11及び図12におけるステップ1500のサブルーチンに係る、投入・払出エラー検出処理のフローチャートである。まず、ステップ1502で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常投入エラーフラグ(ステップ1806でオンとなるフラグであり、本実施形態においては、第2RAM領域内のフラグ)がオンであるか否かを判定する。ステップ1502でYesの場合、ステップ1504で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常投入エラー(遊技メダルが投入されないはずのタイミングにて遊技メダルの投入を検出したことによるエラー)表示を実行する。次に、ステップ1506で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常投入エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1506でYesの場合、ステップ1508で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常投入エラーフラグをオフにし、ステップ1510に移行する。尚、ステップ1502でNoの場合にも、ステップ1510に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 16 is a flowchart of insertion / withdrawal error detection processing according to the subroutine of step 1500 in FIG. 11 and FIG. First, in step 1502, the CPUC 100 turns on an abnormal input error flag (a flag that is turned on in step 1806, and in the present embodiment, a flag in the second RAM area) based on data in the second ROM and RAM area. It is determined whether the In the case of Yes in step 1502, in step 1504, the CPUC 100 abnormally enters an error based on the data in the second ROM and RAM area (error due to detection of insertion of game medal at timing when game medal should not be inserted). Execute the display. Next, in step 1506, the CPUC 100 determines, based on the data in the second ROM and RAM area, whether or not the abnormal insertion error has been released (for example, whether or not the setting / reset button M30 has been pressed). If Yes in step 1506, the CPUC 100 turns off the abnormal input error flag based on the data in the second ROM and RAM area in step 1508, and proceeds to step 1510. Also in the case of No in step 1502, the process proceeds to step 1510.

次に、ステップ1510で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常払出エラーフラグ(ステップ1816でオンとなるフラグであり、本実施形態においては、第2RAM領域内のフラグ)がオンであるか否かを判定する。ステップ1510でYesの場合、ステップ1514で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常払出エラー(遊技メダルが払い出されないはずのタイミングにて遊技メダルの払出を検出したことによるエラー)表示を実行する。次に、ステップ1516で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常払出エラーが解除されたか否か(例えば、設定/リセットボタンM30が押下されたか否か)を判定する。ステップ1516でYesの場合、ステップ1518で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常払出エラーフラグをオフにし、次の処理(ステップ1250又はステップ1270の処理)に移行する。尚、ステップ1510でNoの場合にも、次の処理(ステップ1250又はステップ1270の処理)に移行する。   Next, in step 1510, the CPUC 100 sets an abnormal payout error flag (a flag turned on in step 1816, and in this embodiment, a flag in the second RAM area) based on the data in the second ROM and RAM area. It is determined whether or not it is on. In the case of Yes in step 1510, the CPUC 100 generates an abnormal payout error based on the data in the second ROM and RAM area in step 1514 (error due to detection of payout of gaming medal at timing when gaming medals should not be paid out) ) Execute the display. Next, in step 1516, the CPUC 100 determines whether or not the abnormal payout error has been canceled (for example, whether or not the setting / reset button M30 has been pressed) based on the data in the second ROM and RAM area. If YES in step 1516, the CPUC 100 turns off the abnormal payout error flag based on the data in the second ROM and RAM area in step 1518, and shifts to the next processing (processing in step 1250 or step 1270). Also in the case of No at step 1510, the process proceeds to the next process (the process of step 1250 or step 1270).

次に、図17は、本実施形態におけるステップ1600のサブルーチンに係る、タイマ割り込み時処理のフローチャートである。当該サブルーチンの処理は、ステップ1054又はステップ1118の処理にて、タイマ割り込みが開始された場合に実行開始され、以降、所定時間(本例では、Tとしているが、例えば、2ms程度の時間が設定される)を周期として定期的に実行されるよう構成されている。   Next, FIG. 17 is a flowchart of timer interrupt processing according to the subroutine of step 1600 in the present embodiment. The process of the subroutine is started when a timer interrupt is started in the process of step 1054 or step 1118, and thereafter, a predetermined time (in this example, T is set, for example, a time of about 2 ms) Is set to be performed periodically on a periodic basis.

<第1ROM・RAM領域における処理>
まず、ステップ1602で、CPUC100は、第1ROM・RAM領域内のデータに基づき、割り込み開始時の処理(例えば、CPUC100内のレジスタで保持されているデータの退避、電源断検知信号の入力ポートチェック等)を実行する。次に、ステップ1604で、CPUC100は、第1ROM・RAM領域内のデータに基づき、現在(今回の割り込み処理にて)電源断を検知していないか否かを判定する。ステップ1604でNoの場合、ステップ1900で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、電源断時処理を実行する。他方、ステップ1604でYesの場合、ステップ1606で、CPUC100は、第1ROM・RAM領域内のデータに基づき、タイマ計測(ソフトウエアで管理する各種タイマの更新処理)を開始する。次に、ステップ1608で、CPUC100は、第1ROM・RAM領域内のデータに基づき、入力ポートデータを生成して、当該データを記憶する(第1RAM領域内の各入力ポートデータの格納領域を更新する)。ここで、入力ポートデータとは、精算ボタンD60、スタートレバーD50、停止ボタンD40、前扉スイッチD80、設定扉スイッチM10、設定キースイッチM20、設定/リセットボタンM30、電源断検知信号、投入受付センサD10s、第1投入センサD20s、第2投入センサD30s、第1払出センサH10s、第2払出センサH20s、等の検出に係る情報である(即ち、これらの操作部材での操作有無やセンサ検知状態が、割り込み間隔Tでサンプリングされる)。
<Processing in the first ROM / RAM area>
First, in step 1602, the CPUC 100 performs processing at the start of an interrupt (for example, save of data held in a register in the CPUC 100, input port check of the power-off detection signal, etc.) based on the data in the first ROM and RAM area. To do). Next, in step 1604, the CPUC 100 determines whether or not the power failure has been detected (in the current interrupt processing) based on the data in the first ROM and RAM area. If No in step 1604, in step 1900, the CPUC 100 executes power-off processing described later based on data in the first ROM and RAM area. On the other hand, if Yes in step 1604, the CPUC 100 starts timer measurement (update processing of various timers managed by software) based on the data in the first ROM and RAM area in step 1606. Next, in step 1608, the CPUC 100 generates input port data based on the data in the first ROM and RAM area and stores the data (updates the storage area of each input port data in the first RAM area) ). Here, the input port data includes the settlement button D60, start lever D50, stop button D40, front door switch D80, setting door switch M10, setting key switch M20, setting / reset button M30, power-off detection signal, closing acceptance sensor Information related to the detection of D10s, first insertion sensor D20s, second insertion sensor D30s, first dispensing sensor H10s, second dispensing sensor H20s, etc. , Sampled at interrupt interval T).

次に、ステップ1610で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAM領域内の入力ポートデータを参照し、各入力ポートデータのサンプリング結果に応じて、前扉スイッチフラグ、設定扉スイッチフラグ、設定キースイッチフラグのオン・オフを切り替える(例えば、前扉スイッチD80のスイッチ状態が複数回のサンプリングに亘って連続してオンである場合に、前扉スイッチフラグをオンとすることで、ノイズの影響を受けることなく前扉DUが開状態であることを検出することもできる)。次に、ステップ1612で、CPUC100は、第1ROM・RAM領域内のデータに基づき、全リール(左リールM51、中リールM52、右リールM53)の回胴駆動制御処理(リールM50の駆動の制御に係る処理)を実行する。次に、ステップ1614で、CPUC100は、第1ROM・RAM領域内のデータに基づき、出力データを出力ポートに出力する。ここで、出力データとは、リールM50、ブロッカD100、等を駆動するためのデータである。ステップ1616で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域のエラーチェック処理を呼び出し、ステップ1700に移行する。   Next, in step 1610, the CPUC 100 refers to the input port data in the first RAM area based on the data in the first ROM and RAM area, and sets the front door switch flag, according to the sampling result of each input port data. Turn on / off the door switch flag and the setting key switch flag (for example, when the switch state of the front door switch D80 is continuously on over a plurality of samplings, turn on the front door switch flag Therefore, it is possible to detect that the front door DU is open without being affected by noise). Next, at step 1612, the CPUC 100 controls the drive control for the drive of reels M50 (left reel M51, middle reel M52, right reel M53) based on the data in the first ROM and RAM area. Execute the relevant processing). Next, in step 1614, the CPUC 100 outputs output data to the output port based on the data in the first ROM / RAM area. Here, the output data is data for driving the reel M50, the blocker D100, and the like. At step 1616, the CPUC 100 calls an error check process of the second ROM area based on the data in the first ROM and RAM area, and shifts to step 1700.

<第2ROM・RAM領域における処理>
次に、ステップ1700で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、メダル投入チェック処理を実行する。次に、ステップ1750で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、メダル払出チェックを実行する。次に、ステップ1800で、CPUC100は、第2ROM・RAM領域内のデータに基づき、後述する、投入・払出エラーチェック処理を実行する。次に、ステップ1618で、CPUC100は、第2ROM・RAM領域内のデータに基づき、すべてのエラーフラグがオフ(投入メダル逆流フラグ、投入枚数エラーフラグ、メダル滞留エラーフラグ、投入異常エラーフラグ、払出異常エラーフラグ、払出メダル滞留エラーフラグ、扉スイッチフラグ、等のエラーに係るフラグが全てオフ)であるか否かを判定する(但し、本実施形態では、扉スイッチフラグに関しては、第1RAM領域内で格納されているため、第1RAM領域を参照して判定する)。ステップ1618でYesの場合、ステップ1620で、CPUC100は、第2ROM・RAM領域内のデータに基づき、エラー未検出コマンド(サブ側へのコマンドであり、エラーが検出されていない旨に係るコマンド)をセットし(例えば、レジスタ領域内にセットし)、ステップ1624に移行する。他方、ステップ1618でNoの場合、ステップ1622で、CPUC100は、第2ROM・RAM領域内のデータに基づき、エラー検出コマンド(サブ側へのコマンドであり、エラーが検出されている旨に係るコマンド)をセットし(例えば、レジスタ領域内にセットし)、ステップ1624に移行する。尚、ステップ1622においては、オンとなっているエラーフラグに対応したエラー(現在発生しているエラー)に係る情報がサブ側に送信されるよう構成されている。また、エラー未検出コマンドはエラーが発生していた状態からエラーが解除された場合にのみ(フラグがオフになったと判定された場合にのみ)セットしても良いし、エラー未検出のときには当該情報のセット処理を実行しなくても良い(S1620が無くても良い)。更に、エラー検出コマンドはエラーが発生していない状態からエラーが発生した場合にのみセット処理を実行しても良いし、第1のエラー(例えば、投入メダル滞留エラー)が発生している状態から第2のエラー(例えば、払出メダル滞留エラー)のようにエラーの種類が変わった場合にセット処理を実行しても良い。次に、ステップ1624で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1626に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1700, the CPUC 100 executes medal insertion check processing described later based on the data in the second ROM and RAM area. Next, in step 1750, the CPUC 100 executes a medal payout check, which will be described later, based on the data in the second ROM and RAM area. Next, in step 1800, the CPUC 100 executes an insertion / withdrawal error check process described later based on the data in the second ROM / RAM area. Next, in step 1618, the CPUC 100 turns off all error flags based on the data in the second ROM and RAM area (inserted medal backflow flag, inserted number error flag, medal staying error flag, inserted abnormality error flag, payout abnormality) It is determined whether or not all flags related to errors such as an error flag, a payout medal retention error flag, a door switch flag, etc. are off) (however, in the present embodiment, the door switch flag in the first RAM area) Because it is stored, it is determined with reference to the first RAM area). In the case of Yes in step 1618, the CPUC 100, in step 1620, based on the data in the second ROM and RAM area, generates an error not detected command (a command to the sub side and a command related to the fact that an error is not detected). Set (for example, set in the register area), and proceed to step 1624. On the other hand, if No in step 1618, the CPUC 100 detects an error based on the data in the second ROM and RAM area in step 1622 (this is a command to the sub side and a command related to the fact that an error is detected) Are set (for example, set in the register area), and the process proceeds to step 1624. In step 1622, information related to an error (currently occurring error) corresponding to the error flag that is turned on is transmitted to the sub side. In addition, the error non-detection command may be set only when the error is canceled after the error has occurred (only when it is determined that the flag is turned off), and when the error is not detected, the command may be set. It is not necessary to execute the information set process (S1620 may be omitted). Furthermore, the error detection command may execute the set process only when an error occurs from a state in which no error occurs, or from a state in which a first error (for example, an insertion medal retention error) has occurred. The set process may be executed when the type of error changes, such as a second error (e.g., a payout medal retention error). Next, in step 1624, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1626.

<第1ROM・RAM領域における処理>
次に、ステップ1626で、CPUC100は、第1ROM・RAM領域内のデータに基づき、制御コマンド(サブ側のコマンド)を送信する(例えば、ステップ1620やステップ1622でレジスタ領域内にセットされている場合には、そのセットされた制御コマンドを引き継ぐこととなる)。次に、ステップ1628で、CPUC100は、第1ROM・RAM領域内のデータに基づき、外部信号(回胴式遊技機Pから外部のホールコンピュータ等へ情報伝達するための信号)を出力する。尚、当該外部信号にて出力されるエラーに係る情報としては、ドア開放エラー、投入異常エラー、払出異常エラー、設定扉開放エラー(不図示)、投入受付センサ滞留エラー(不図示)、等が出力される。尚、ドア開放エラーは、前扉DUが開放されドアスイッチフラグがオンとなった場合にエラーとなるよう構成されており、設定扉開放エラーは設定扉が開放され設定扉スイッチフラグがオンとなった場合にエラーとなるよう構成されており、投入受付センサ滞留エラーは投入受付センサが遊技メダルの滞留を検出した場合にエラーとなるよう構成されている。次に、ステップ1630で、CPUC100は、第1ROM・RAM領域内のデータに基づき、LED(7セグLEDランプ、等)の出力データ(例えば、複数の7セグLEDユニットのうち、所定の7セグLEDユニットを点灯させ、7セグの所定のセグメントを点灯させる)を出力する(所謂、ダイナミック点灯)。次に、ステップ1632で、CPUC100は、第1ROM・RAM領域内のデータに基づき、LEDの点灯態様(例えば、LEDの点灯色を変更)を実行する。尚、ステップ1632は実行されなくても良い。次に、ステップ1634で、CPUC100は、第1ROM・RAM領域内のデータに基づき、ソフト乱数管理処理(ソフトウエアで管理する乱数値の更新処理等)を実行する。次に、ステップ1636で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域の乱数チェック処理を呼び出し、ステップ1638に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1626, CPUC 100 transmits a control command (sub-side command) based on the data in the first ROM and RAM area (for example, when set in the register area in step 1620 and step 1622) Will take over the set control command). Next, in step 1628, the CPUC 100 outputs an external signal (a signal for transmitting information from the reel-type game machine P to an external hall computer or the like) based on the data in the first ROM / RAM area. In addition, as information related to an error output as the external signal, a door opening error, a closing error, a dispensing error, a setting door opening error (not shown), a closing acceptance sensor retention error (not shown), etc. It is output. The door open error is configured to be an error when the front door DU is opened and the door switch flag is turned on. The setting door open error is caused when the setting door is opened and the setting door switch flag is turned on. The insertion acceptance sensor retention error is configured to be an error when the insertion acceptance sensor detects retention of a game medal. Next, in step 1630, the CPUC 100, based on the data in the first ROM and RAM area, outputs predetermined data of LED (7-segment LED lamp etc.) output data (for example, a plurality of 7-segment LED units). The unit is turned on, and a predetermined segment of 7 segments is turned on (so-called dynamic lighting). Next, in step 1632, the CPUC 100 executes the lighting mode of the LED (for example, changing the lighting color of the LED) based on the data in the first ROM and RAM area. Note that step 1632 may not be performed. Next, in step 1634, the CPUC 100 executes soft random number management processing (such as update processing of random number values managed by software) based on the data in the first ROM and RAM area. Next, in step 1636, the CPUC 100 calls the random number check process of the second ROM area based on the data in the first ROM and RAM area, and shifts to step 1638.

<第2ROM・RAM領域における処理>
次に、ステップ1638で、CPUC100は、第2ROM・RAM領域内のデータに基づき、内部情報レジスタデータを取得する(内部情報レジスタには、乱数発生回路に異常が出ると異常フラグ用ビットが立つ領域が存在している)。次に、ステップ1640で、CPUC100は、第2ROM・RAM領域内のデータに基づき、乱数更新用クロックの周波数は正常であるか否か(当該周波数異常を示す異常フラグ用ビットが立っていないか否か)を判定する。具体的には、乱数更新用クロックの周波数が所定値を下回った場合に異常用フラグビットが立つ。ステップ1640でYesの場合、ステップ1642で、CPUC100は、第2ROM・RAM領域内のデータに基づき、内蔵乱数の更新状態は正常であるか否か(当該更新状態異常を示す異常フラグ用ビットが立っていないか否か)を判定する。ステップ1642でYesの場合、ステップ1644で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰する。他方、ステップ1640又はステップ1642でNoの場合には、ステップ1646で、CPUC100は、第2ROM・RAM領域内のデータに基づき、内蔵乱数エラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300で、CPUC100は、第2ROM・RAM領域内のデータに基づき、前述した、復帰不可能エラー処理を実行する。
<Processing in Second ROM and RAM Area>
Next, in step 1638, the CPUC 100 acquires internal information register data based on the data in the second ROM and RAM area (in the internal information register, an abnormality flag bit is set when abnormality occurs in the random number generation circuit). Exists). Next, in step 1640, the CPUC 100 determines whether the frequency of the random number update clock is normal or not based on the data in the second ROM and RAM area (a bit for abnormality flag indicating the frequency abnormality is not set or not). To determine Specifically, the abnormality flag bit is set when the frequency of the random number update clock falls below a predetermined value. If Yes in step 1640, in step 1642 the CPUC 100 determines whether the update status of the internal random number is normal or not based on the data in the second ROM / RAM area (an error flag bit indicating the update status is set) To determine if the If Yes in step 1642, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM / RAM area in step 1644. On the other hand, if No in step 1640 or step 1642, CPUC 100 sets an internal random number error display based on the data in the second ROM and RAM area in step 1646 (for example, sets an error number in the register area) To do). Next, in step 1300, the CPUC 100 executes the above-described non-returnable error processing based on the data in the second ROM and RAM area.

<第1ROM・RAM領域における処理>
次に、ステップ1648で、CPUC100は、第1ROM・RAM領域内のデータに基づき、割り込み終了処理を実行し、次の処理(ステップ1602の処理)に移行する。
<Processing in the first ROM / RAM area>
Next, in step 1648, the CPUC 100 executes interrupt termination processing based on the data in the first ROM and RAM area, and shifts to the next processing (processing in step 1602).

<第2ROM・RAM領域における処理>
次に、図18は、図17におけるステップ1700のサブルーチンに係る、メダル投入チェック処理のフローチャートである。まず、ステップ1702で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1投入センサD20sがオンであるか否か(検出しているか否か)を判定する(但し、第1投入センサD20sの入力ポートデータ自体が、第1RAM領域内で格納されている場合には、第1RAM領域を参照して判定する)。ステップ1702でYesの場合、ステップ1704で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1投入センサD20s及び第2投入センサD30sが、投入された遊技メダルの逆流を検知している(例えば、第1投入センサD20sオフ、且つ、第2投入センサD30sオン→第1投入センサD20sオン、且つ、第2投入センサD30sオンとなった場合に検知するものであり、この検知状態の時系列データ自体は第2RAM領域内で保持されている)か否かを判定する。ステップ1704でYesの場合、ステップ1706で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル逆流エラーフラグをオンにし(例えば、第2RAM領域の投入メダル逆流エラーフラグ領域内をオンに相当する値で更新し)、ステップ1708に移行する。他方、ステップ1704でNoの場合にも、ステップ1708に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 18 is a flowchart of the medal insertion check process according to the subroutine of step 1700 in FIG. First, in step 1702, the CPUC 100 determines whether the first insertion sensor D 20 s is on (detected or not) based on the data in the second ROM and RAM area (however, the first insertion sensor When the input port data D20s itself is stored in the first RAM area, the determination is made with reference to the first RAM area). In the case of Yes in step 1702, in step 1704, the first insertion sensor D20s and the second insertion sensor D30s detect the backflow of the inserted game medal based on the data in the second ROM and RAM area. (For example, it is detected when the first loading sensor D20s is turned off and the second loading sensor D30s is turned on and then the first loading sensor D20s is turned on and the second loading sensor D30s is turned on. It is determined whether the series data itself is held in the second RAM area). If Yes in step 1704, the CPUC 100 turns on the inserted medal backflow error flag based on the data in the second ROM and RAM area in step 1706 (for example, turns on the inside of the inserted medal backflow error flag area of the second RAM area). Update with the corresponding value), and the process proceeds to step 1708. On the other hand, also in the case of No at step 1704, the process moves to step 1708.

次に、ステップ1708で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1投入センサD20s及び第2投入センサD30sが、投入されたメダルの滞留を検出している(例えば、第1投入センサD20sオンである状態が所定時間継続した場合、又は第2投入センサD30sオンである状態が所定時間継続した場合に検知するものであり、この検知状態のデータ自体は第2RAM領域内で保持されている)か否かを判定する。ステップ1708でYesの場合、ステップ1710で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入メダル滞留エラーフラグをオンにし(例えば、第2RAM領域の投入メダル滞留エラーフラグ領域内をオンに相当する値で更新し)、ステップ1712に移行する。他方、ステップ1708でNoの場合にも、ステップ1712に移行する。次に、ステップ1712で、CPUC100は、第2ROM・RAM領域内のデータに基づき、受付メダル枚数(遊技メダルの投入を受け付けた枚数)から正常通過枚数(正常に投入されたとみなされた遊技メダルの枚数)を減算した値が所定範囲内(例えば、0〜2枚)でないか否かを判定する。ステップ1712でYesの場合、ステップ1716で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入枚数エラーフラグをオンにし(例えば、第2RAM領域の投入枚数エラーフラグ領域内をオンに相当する値で更新し)、次の処理(ステップ1750の処理)に移行する。尚、ステップ1712でNoの場合にも、次の処理(ステップ1750の処理)に移行する。尚、所定時間(例えば、5秒)の投入枚数エラー監視期間を設けて、当該監視期間中に、受付メダル枚数から正常通過枚数を減算した値が所定範囲内(例えば、0〜2枚)ではなくなった場合に投入枚数エラーとなるよう構成してもよい。   Next, in step 1708, the CPUC 100 detects that the first insertion sensor D20s and the second insertion sensor D30s have stagnated medals inserted based on the data in the second ROM and RAM area (for example, the first This is to detect when the state where the input sensor D20s is on continues for a predetermined time or when the state where the second input sensor D30s is on continues for a predetermined time, the data itself of the detection state is held in the second RAM area To determine whether or not the If Yes in step 1708, the CPUC 100 turns on the insertion medal retention error flag based on the data in the second ROM and RAM area in step 1710 (for example, turns on the inside of the insertion medal retention error flag area of the second RAM area). Update with the corresponding value), and the process proceeds to step 1712. On the other hand, also in the case of No at step 1708, the process proceeds to step 1712. Next, in step 1712, the CPUC 100 determines, based on the data in the second ROM and RAM area, the number of game medals that are considered to be normally passed (number of normal passing cards) from the number of received medals (the number of game medals received). It is determined whether the value obtained by subtracting the number of sheets is not within a predetermined range (for example, 0 to 2). If Yes in step 1712, the CPUC 100 turns on the insertion number error flag based on the data in the second ROM and RAM area in step 1716 (for example, the inside of the insertion number error flag area of the second RAM area corresponds to on). Update with the value) and move on to the next processing (processing of step 1750). Also in the case of No in step 1712, the process proceeds to the next process (the process of step 1750). It should be noted that an insertion number error monitoring period is provided for a predetermined time (for example, 5 seconds), and during the monitoring period, a value obtained by subtracting the normal passing number from the reception medal number is within a predetermined range (for example, 0 to 2). It may be configured that an insertion number error occurs when there is no more.

<第2ROM・RAM領域における処理>
次に、図19は、図17におけるステップ1750のサブルーチンに係る、メダル払出チェック処理のフローチャートである。まず、ステップ1752で、CPUC100は、第2ROM・RAM領域内のデータに基づき、ホッパ駆動フラグがオンであるか否か(検出しているか否か)を判定する(但し、ホッパ駆動フラグ自体が、第1RAM領域内で格納されている場合には、第1RAM領域を参照して判定する)。ステップ1752でYesの場合、ステップ1754で、CPUC100は、第2ROM・RAM領域内のデータに基づき、払い出されたメダルの滞留を検出(例えば、第1払出センサH10sオンである状態が所定時間継続した場合、且つ、第2払出センサH20sオンである状態が所定時間継続した場合に検知するものであり、この検知状態のデータ自体は第2RAM領域内で保持されている)しているか否かを判定する。ステップ1754でYesの場合、ステップ1756で、CPUC100は、第2ROM・RAM領域内のデータに基づき、払出メダル滞留エラーフラグをオンにし(例えば、第2RAM領域の払出メダル滞留エラーフラグ領域内をオンに相当する値で更新し)、次の処理(ステップ1800の処理)に移行する。尚、ステップ1752又はステップ1754でNoの場合も、次の処理(ステップ1800の処理)に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 19 is a flowchart of the medal payout check process according to the subroutine of step 1750 in FIG. First, in step 1752, the CPUC 100 determines whether the hopper drive flag is ON (detected or not) based on the data in the second ROM and RAM area (however, the hopper drive flag itself is When stored in the first RAM area, determination is made with reference to the first RAM area). In the case of Yes in step 1752, CPUC 100 detects retention of paid-out medals based on data in the second ROM and RAM area in step 1754 (for example, the state where the first payout sensor H 10 s is on continues for a predetermined time) In this case, the second payout sensor H 20 s is detected when the state where it is on continues for a predetermined time, and it is determined whether the data of the detection state is held in the second RAM area). judge. If Yes in step 1754, the CPUC 100 turns on the payout medal retention error flag based on the data in the second ROM and RAM area in step 1756 (for example, turns on the inside of the payout medal retention error flag area of the second RAM area Update with the corresponding value), and shift to the next processing (processing of step 1800). Also in the case of No in step 1752 or step 1754, the process proceeds to the next process (the process of step 1800).

<第2ROM・RAM領域における処理>
次に、図20は、図17におけるステップ1800のサブルーチンに係る、投入・払出エラーチェック処理のフローチャートである。まず、ステップ1802で、CPUC100は、第2ROM・RAM領域内のデータに基づき、ブロッカD100がオフであるか否かを判定する(但し、ブロッカD100の出力ポートデータ自体が、第1RAM領域内で格納されている場合には、第1RAM領域を参照して判定する)。ステップ1802でYesの場合、ステップ1804で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入センサの異常検出(第1投入センサD20s又は第2投入センサD30sが遊技メダルの検出をしないはずのタイミングにおける検出)があるか否かを判定する。ステップ1804でYesの場合、ステップ1806で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常投入エラーフラグをオンにし(例えば、第2RAM領域の異常投入エラーフラグ領域内をオンに相当する値で更新し)、ステップ1808に移行する。尚、ステップ1802又はステップ1804でNoの場合にも、ステップ1808に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 20 is a flowchart of the insertion / withdrawal error check process according to the subroutine of step 1800 in FIG. First, in step 1802, the CPUC 100 determines whether or not the blocker D100 is off based on the data in the second ROM and RAM area (however, the output port data of the blocker D100 itself is stored in the first RAM area). If it is determined, the determination is made with reference to the first RAM area). In the case of Yes in step 1802, in step 1804, the CPUC 100 detects abnormality of the insertion sensor based on the data in the second ROM and RAM area (the first insertion sensor D20s or the second insertion sensor D30s should not detect the gaming medals) It is determined whether or not there is detection at the timing of If Yes in step 1804, the CPUC 100 turns on the abnormal entry error flag based on the data in the second ROM and RAM area in step 1806 (for example, it corresponds to turning on the abnormal entry error flag area of the second RAM area). Update with the value) and go to step 1808. Also in the case of No in step 1802 or step 1804, the processing shifts to step 1808.

次に、ステップ1808で、CPUC100は、第2ROM・RAM領域内のデータに基づき、ホッパ駆動フラグがオフであるか否かを判定する(但し、ホッパ駆動フラグ自体が、第1RAM領域内で格納されている場合には、第1RAM領域を参照して判定する)。ステップ1808でYesの場合、ステップ1810で、CPUC100は、第2ROM・RAM領域内のデータに基づき、払出センサの異常検出(第1払出センサH10s又は第2払出センサH20sが遊技メダルの検出をしないはずのタイミングにおける検出)があるか否かを判定する。ステップ1810でYesの場合、ステップ1812で、CPUC100は、第2ROM・RAM領域内のデータに基づき、異常払出エラーフラグをオンにし(例えば、第2RAM領域の異常払出エラーフラグ領域内をオンに相当する値で更新し)、次の処理(ステップ1618の処理)に移行する。尚、ステップ1808又はステップ181でNoの場合にも、次の処理(ステップ1618の処理)に移行する。   Next, in step 1808, the CPUC 100 determines whether or not the hopper drive flag is off based on the data in the second ROM and RAM area (however, the hopper drive flag itself is stored in the first RAM area). If it is determined, the determination is made with reference to the first RAM area). If Yes in step 1808, in step 1810, the CPUC 100 detects that the payout sensor is abnormal based on the data in the second ROM and RAM area (the first payout sensor H10s or the second payout sensor H20s should not detect the gaming medals) It is determined whether or not there is detection at the timing of If Yes in step 1810, the CPUC 100 turns on the abnormal payout error flag based on the data in the second ROM and RAM area in step 1812 (for example, it corresponds to turning on the abnormal payout error flag area of the second RAM area). Update with the value) and move on to the next process (the process of step 1618). Also in the case of No in step 1808 or step 181, the processing shifts to the next processing (processing in step 1618).

<第1ROM・RAM領域における処理>
次に、図21は、図17におけるステップ1900のサブルーチンに係る、電源断時処理のフローチャートである。まず、ステップ1902で、CPUC100は、第1ROM・RAM領域内のデータに基づき、スタックポインタを保存する。次に、ステップ1904で、CPUC100は、第1ROM・RAM領域内のデータに基づき、電源断処理済みフラグをオンにする(例えば、第1RAM領域の電源断処理済みフラグ領域内をオンに相当する値で更新する)。次に、ステップ1906で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域のチェックサム算出処理を呼び出し、ステップ1908に移行する。
<Processing in the first ROM / RAM area>
Next, FIG. 21 is a flowchart of the power-off process according to the subroutine of step 1900 in FIG. First, at step 1902, the CPUC 100 saves the stack pointer based on the data in the first ROM / RAM area. Next, in step 1904, the CPUC 100 turns on the power-off processed flag based on the data in the first ROM and RAM area (for example, a value corresponding to turning on the power-off processed flag area of the first RAM area). To update Next, in step 1906, the CPUC 100 calls checksum calculation processing for the second ROM area based on the data in the first ROM / RAM area, and shifts to step 1908.

<第2ROM・RAM領域における処理>
次に、ステップ1908で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域の先頭アドレスからチェックサム領域直前アドレスまでのチェックサムを算出し、当該算出したチェックサムに基づく誤り検出用情報(例えば、当該算出したチェックサムにおける下位1バイト、或いは、その補数となるもの)をチェックサム領域にてセットする(チェックサム領域に係るアドレスは同図下段の「RAMに係るメモリマップ」を参照)。次に、ステップ1910で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1ROM領域の呼び出し元に復帰し、ステップ1912に移行する。
<Processing in Second ROM and RAM Area>
Next, in step 1908, the CPUC 100 calculates a checksum from the start address of the first RAM area to the address immediately before the checksum area based on the data in the second ROM and RAM area, and detects an error based on the calculated checksum. Information (for example, the lower 1 byte in the calculated checksum or the complement thereof) is set in the checksum area (the address related to the checksum area is the See). Next, in step 1910, the CPUC 100 returns to the caller of the first ROM area based on the data in the second ROM and RAM area, and shifts to step 1912.

<第1ROM・RAM領域における処理>
次に、ステップ1912で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAM・第2RAMの書き込みを禁止し、ステップ1914に移行する。次に、ステップ1914で、CPUC100は、第1ROM・RAM領域内のデータに基づき、リセットを待機するための無限ループ処理を実行する。
<Processing in the first ROM / RAM area>
Next, in step 1912, the CPUC 100 prohibits writing of the first RAM and the second RAM based on the data in the first ROM and RAM area, and shifts to step 1914. Next, in step 1914, the CPUC 100 executes infinite loop processing for waiting for reset based on the data in the first ROM and RAM area.

以上のように構成することで、本実施形態に係る回胴式遊技機によれば、第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第1RAM領域(又は、レジスタ領域)を更新及び参照可能に構成し、エラー検出、エラー表示等の遊技機に対して不正行為がなされる(例えば、遊技媒体の投入口や払出口に対して不正にアクセスして遊技媒体を不正な手段で得る、等)ことを防御するための不正行為防止用のプログラムを第2ROM・RAM領域における処理にて実行し得るよう構成することで、遊技の進行に係る処理と領域を明確に分けることができ、当該不正行為防止用のプログラムの正当性を検証することが容易となる。   By configuring as described above, according to the reel type gaming machine according to the present embodiment, the first RAM area (or the register area) is processed by the processing of the CPUC 100 based on the program code arranged in the second ROM area. ) Can be updated and referred to, and an error is detected, an error is indicated, etc. is made to the gaming machine (for example, an unauthorized By using a program in the second ROM / RAM area so as to execute the program for preventing cheating or the like), thereby clearly separating the process and the area related to the progress of the game This makes it easy to verify the legitimacy of the program for preventing fraud.

(第2実施形態)
尚、本実施形態においては、エラー表示処理等も不正行為防止用のプログラムとして見做し、第2ROM領域にて配置されているプログラムコードとして実装するための一例を示したが、エラー表示処理等は遊技進行を制御する上でも必要不可欠な処理であるため、不正行為防止用のプログラムではなく遊技性仕様を実装するためのプログラムとして見做した方が、人為的な検証が容易になる可能性がある。そこで、このような事情に鑑み、本実施形態で示した一例をベースとし、遊技性仕様を実装するためのプログラムとして見做した方が好適となり得る処理を、第1ROM領域にて配置されているプログラムコードとして実装するための一例を第2実施形態とし、以下、本実施形態からの変更点について詳述していく。
Second Embodiment
In the present embodiment, an error display process or the like is also regarded as a program for preventing fraudulent activity, and an example for implementing it as a program code arranged in the second ROM area is shown. Is an essential process to control the game progression, so it may be easier to artificially verify if it is regarded as a program for implementing gameplay specifications rather than a program for preventing cheating. There is. Therefore, in view of such circumstances, processing based on the example shown in the present embodiment, which can be suitably regarded as a program for implementing a game characteristic specification, is disposed in the first ROM area An example for implementation as a program code will be described as a second embodiment, and changes from this embodiment will be described in detail below.

<第1ROM・RAM領域における処理>
はじめに、図22は、第2実施形態に係る回胴式遊技機Pの電源を投入した後(或いはシステムリセットやユーザリセット時において)、主制御基板MのCPUC100にて初めて実行される処理の流れを示したフローチャート(1枚目)である。本実施形態との相違点は、ステップ1005‐1(第2)、ステップ1005‐2(第2)、ステップ1009‐1(第2)、ステップ1009‐2(第2)、ステップ1017(第2)、ステップ1019‐1(第2)〜ステップ1019‐3(第2)、ステップ1021‐1(第2)、ステップ1021‐2(第2)、ステップ1027(第2)、ステップ1029(第2)、ステップ1035‐1(第2)及びステップ1035‐2(第2)であり、即ち、ステップ1004で、チップの機能設定を実行した後、ステップ1005‐1(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAM領域の先頭アドレスから第1チェックサム領域直前アドレスまでのチェックサムを算出する。ここで、同図右(RAMに係るメモリマップ)に示されるように、第2実施形態においては、第1RAM領域のチェックサム領域(第1チェックサム領域)と第2RAM領域のチェックサム領域(第2チェックサム領域)とが別々になっており、後述する第2実施形態における電源断時処理にて、第1RAM領域のチェックサム算出と第2RAM領域のチェックサム算出とが別々に行われ、夫々の算出結果に基づく誤り検出用情報が夫々の領域に格納される。次に、ステップ1005‐2で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAMをチェックし、第1RAM電源断復帰データ(第1RAMに係る電源断復帰データ)を生成し、ステップ1006に移行する。よって、ここでの「第1RAMをチェック」とは、第1RAM領域を対象としたチェックサムと、第1チェックサム領域に保持されている誤り検出用情報とに基づき、電源断・電源断復帰により内蔵RAMC120に格納されているデータが正しく保持されているか否かをチェックする処理となる。
<Processing in the first ROM / RAM area>
First, FIG. 22 shows the flow of processing executed by the CPUC 100 of the main control board M for the first time after turning on the power of the drum-type gaming machine P according to the second embodiment (or at system reset and user reset) Is a flowchart (first sheet) showing The difference from the present embodiment is the step 1005-1 (second), the step 1005-2 (second), the step 1009-1 (second), the step 1009-2 (second), the step 1017 (second). Step 1019-1 (second) to step 1019-3 (second), step 1021-1 (second), step 1021-2 (second), step 1027 (second), step 1029 (second). , Step 1035-1 (second) and step 1035-2 (second), that is, after performing the function setting of the chip in step 1004, CPUC 100 performs step 1005-1 (second), Based on the data in the first ROM and RAM area, the checksum from the start address of the first RAM area to the address just before the first checksum area is calculated. Here, as shown in the right side of the figure (memory map for RAM), in the second embodiment, the checksum area (first checksum area) of the first RAM area and the checksum area (second RAM area) of the second RAM area (2) Checksum area calculation is performed separately in the power off process in the second embodiment described later, the checksum calculation of the first RAM area and the checksum calculation of the second RAM area are separately performed, respectively. The error detection information based on the calculation result of is stored in each area. Next, in step 1005-2, the CPUC 100 checks the first RAM based on the data in the first ROM and RAM area, generates first RAM power failure recovery data (power failure recovery data related to the first RAM), and step Transition to 1006. Therefore, “check the first RAM” here is based on the check sum for the first RAM area and the error detection information held in the first check sum area, by power failure / power failure recovery. It is a process of checking whether the data stored in the built-in RAM C 120 is correctly held.

<第2ROM・RAM領域における処理>
他方、ステップ1006で電源断復帰処理を呼び出した後、ステップ1009‐1(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域の先頭アドレスから、第2チェックサム領域を除く最終アドレスまでのチェックサムを算出する。次に、ステップ1009‐2(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAMをチェックし、第2RAM電源断復帰データ(第1RAMに係る電源断復帰データ)を生成し、ステップ1012に移行する。即ち、ここでの「第2RAMをチェック」とは、第2RAM領域を対象としたチェックサムと、第2チェックサム領域に保持されている誤り検出用情報とに基づき、電源断・電源断復帰により内蔵RAMC120に格納されているデータが正しく保持されているか否かをチェックする処理となる。
<Processing in Second ROM and RAM Area>
On the other hand, after calling the power failure recovery process in step 1006, the CPUC 100 performs the second checksum from the start address of the second RAM area based on the data in the second ROM / RAM area in step 1009-1 (second). Calculate the checksum up to the final address excluding the area. Next, in step 1009-2 (second), the CPUC 100 checks the second RAM based on the data in the second ROM and RAM area, and restores the second RAM power failure recovery data (power failure recovery data related to the first RAM). Generate and move to step 1012. That is, “check the second RAM” here is based on the check sum for the second RAM area and the error detection information held in the second check sum area, by power failure / power failure recovery. It is a process of checking whether the data stored in the built-in RAM C 120 is correctly held.

<第1ROM・RAM領域における処理>
また、ステップ1016ですべてのスイッチがオンであった場合、ステップ1017(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定変更操作ありフラグをオンにし(例えば、第1RAM領域の設定変更操作ありフラグ領域内をオンに相当する値で更新し)、ステップ1018に移行する。
<Processing in the first ROM / RAM area>
If all the switches are on in step 1016, the CPUC 100 turns on the setting change operation flag based on the data in the first ROM and RAM area in step 1017 (second) (for example, the first RAM) Region setting change operation present flag region is updated with a value corresponding to ON), and the process moves to step 1018.

<第2ROM・RAM領域における処理>
また、ステップ1018で非設定変更時初期化処理を呼び出した後、ステップ1019‐1(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域内の設定操作ありフラグがオフであるか否かを判定する。ステップ1019‐1(第2)でYesの場合、ステップ1019‐2(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域内の電源断復帰データは正常であるか否か(特に、第1RAM領域を対象とした誤り検出結果が正常であるか否か)を判定する。ステップ1019‐2(第2)でYesの場合、ステップ1019‐3(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の電源断復帰データは正常であるか否か(特に、第2RAM領域を対象とした誤り検出結果が正常であるか否か)を判定する。ステップ1019‐3(第2)でYesの場合、ステップ1028で、第1RAM領域及び第2RAM領域の初期化範囲を未使用RAM範囲に決定してセットし、ステップ1027(第2)で、第2RAM領域内の電源断異常フラグをオフにし、ステップ1036に移行する。他方、ステップ1019‐2(第2)又はステップ1019‐3(第2)でNoの場合、ステップ1029(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の電源断異常フラグをオンにし、ステップ1036に移行する。
<Processing in Second ROM and RAM Area>
Further, after calling up initialization processing at non-setting change at step 1018, at step 1019-1 (second), the CPUC 100 sets a setting operation flag in the first RAM area based on data in the second ROM and RAM area. Is determined whether or not it is off. If Yes in step 1019-1 (second), the CPUC 100 determines that the power failure recovery data in the first RAM area is normal based on the data in the second ROM / RAM area in step 1019-2 (second). (In particular, it is determined whether the error detection result for the first RAM area is normal or not). If Yes in step 1019-2 (second), the CPUC 100 determines that the power failure recovery data in the second RAM area is normal based on the data in the second ROM / RAM area in step 1019-3 (second). (In particular, it is determined whether the error detection result for the second RAM area is normal or not). If Yes in step 1019-3 (second), in step 1028, the initialization ranges of the first RAM area and the second RAM area are determined and set as the unused RAM range, and in step 1027 (second), the second RAM The power failure abnormality flag in the area is turned off, and the process proceeds to step 1036. On the other hand, in the case of No at step 1019-2 (second) or step 1019-3 (second), at step 1029 (second), the CPUC 100 generates a second RAM area based on the data in the second ROM and RAM area. The power failure abnormality flag is turned on, and the process proceeds to step 1036.

他方、ステップ1019‐1(第2)でNoの場合、ステップ1021‐1(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域内の電源断復帰データは正常であるか否か(特に、第1RAM領域を対象とした誤り検出結果が正常であるか否か)を判定する。ステップ1021‐1(第2)でYesの場合、ステップ1021‐2(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の電源断復帰データは正常であるか否か(特に、第2RAM領域を対象とした誤り検出結果が正常であるか否か)を判定する。ステップ1021‐2(第2)でYesの場合、ステップ1032で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域及び第2RAM領域の初期化範囲を第1RAM領域内の設定値を除くすべての範囲に決定してセットし、ステップ1035‐1(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の電源断異常フラグをオフにし、ステップ1036に移行する。他方、ステップ1021‐1(第2)又はステップ1021‐2(第2)でNoの場合、ステップ1034で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第1RAM領域及び第2RAM領域の初期化範囲をすべての範囲に決定してセットし、ステップ1035‐2(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の電源断異常フラグをオンにし、ステップ1036に移行する。   On the other hand, if No in step 1019-1 (second), the CPUC 100 determines that the power failure recovery data in the first RAM area is normal based on the data in the second ROM / RAM area in step 1021-1 (second). (In particular, whether or not the error detection result for the first RAM area is normal). If Yes in step 1021-1 (second), the CPUC 100 determines that the power failure recovery data in the second RAM area is normal based on the data in the second ROM / RAM area in step 1021-2 (second). (In particular, it is determined whether the error detection result for the second RAM area is normal or not). If Yes in step 1021-2 (second), in step 1032, the CPUC 100 sets the initialization ranges of the first RAM area and the second RAM area to the set values in the first RAM area based on the data in the second ROM and RAM area. In step 1035-1 (second), the CPUC 100 turns off the power failure abnormality flag in the second RAM area based on the data in the second ROM and RAM area, and step Migrate to 1036. On the other hand, if No in step 1021-1 (second) or step 1021-2 (second), in step 1034, CPUC 100 determines the first and second RAM areas based on the data in the second ROM and RAM area. The initialization range is determined and set to all ranges, and in step 1035-2 (second), the CPUC 100 turns on the power failure abnormality flag in the second RAM area based on the data in the second ROM and RAM area. , And move to step 1036.

<第1ROM・RAM領域における処理>
次に、図23は、第2実施形態に係る回胴式遊技機Pの電源を投入した後(或いはシステムリセットやユーザリセット時において)、主制御基板MのCPUC100にて初めて実行される処理の流れを示したフローチャート(2枚目)である。本実施形態との相違点は、ステップ1039‐1(第2)、ステップ1039‐2(第2)、ステップ1026(第2)、ステップ1300(第2)、ステップ1045(第2)、ステップ1046(第2)及びステップ1047(第2)であり、即ち、ステップ1039‐1(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAM領域内の設定操作ありフラグがオフであるか否かを判定する。ステップ1039‐1(第2)でYesの場合、ステップ1039‐2(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2RAM領域内の電源断異常フラグがオフであるか否かを判定する。ステップ1039‐2(第2)でYesの場合又はステップ1039‐1(第2)でNoの場合には、ステップ1040に移行し(即ち、設定変更装置を作動させる場合か、設定変更装置を作動させない場合において第1RAM領域及び第2RAM領域を対象とした別個の誤り検出結果が正常であることを含め、正常に電断復帰している場合には以降の処理を続行し)、ステップ1039‐2(第2)でNoの場合、ステップ1026(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、バックアップエラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、復帰不可能エラー処理をセットする(即ち、設定変更装置を作動させない場合において第1RAM領域及び第2RAM領域を対象とした別個の誤り検出結果が異常であることを含め、正常に電断復帰していない場合には復帰不可能な状態へと移行する)。ここで、本例においては、設定変更装置を作動させない場合において第1RAM領域及び第2RAM領域を対象とした別個の誤り検出結果がいずれも正常である場合において以降の処理を続行するよう構成されているが、これには限定されず、例えば、第1RAM領域を対象とした誤り検出結果が正常であれば、第2RAM領域を対象とした誤り検出結果が異常であっても(第2RAM領域の全領域を初期化した上で)以降の処理を続行するよう構成してもよい。
<Processing in the first ROM / RAM area>
Next, FIG. 23 shows a process that is executed by the CPUC 100 of the main control board M for the first time after turning on the power of the reel type gaming machine P according to the second embodiment (or at system reset and user reset). It is a flowchart (the 2nd sheet) which showed a flow. The difference from the present embodiment is the step 1039-1 (second), the step 1039-2 (second), the step 1026 (second), the step 1300 (second), the step 1045 (second), the step 1046 In the second and step 1047 (second), that is, in step 1039-1 (second), the CPUC 100 sets the flag with the setting operation in the first RAM area based on the data in the first ROM and RAM area. It is determined whether or not it is off. If Yes in step 1039-1 (second), the CPUC 100 determines that the power-off abnormality flag in the second RAM area is off based on the data in the first ROM / RAM area in step 1039-2 (second). It is determined whether or not. If Yes in step 1039-2 (second) or No in step 1039-1 (second), the process proceeds to step 1040 (that is, the setting change device is operated or the setting change device is operated). In the case where the power failure recovery is performed normally including the fact that the separate error detection result targeting the first RAM area and the second RAM area is normal when not being performed, the subsequent processing is continued), step 1039-2 In the case of (second) No, in step 1026 (second), the CPUC 100 sets a backup error display based on the data in the first ROM and RAM area (for example, sets an error number in the register area) . Next, in step 1300 (second), the CPUC 100 sets a return impossible error process, which will be described later, based on the data in the first ROM and RAM area (that is, the first RAM area when the setting change device is not operated). And when the power failure recovery is not normally performed, including the fact that the separate error detection result for the second RAM area is abnormal, the state is shifted to the impossible recovery state). Here, in the present embodiment, when the setting change apparatus is not operated, the subsequent processing is continued when the separate error detection results for the first RAM area and the second RAM area are normal. However, the present invention is not limited to this. For example, if the error detection result for the first RAM area is normal, even if the error detection result for the second RAM area is abnormal (the entire second RAM area It may be configured to continue the process after initializing the area).

<第2ROM・RAM領域における処理>
また、ステップ1044で、第1RAM領域内の設定値が正常範囲内であった場合、ステップ1045(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の設定値異常フラグをオフにし、第1ROM領域の呼び出し元に復帰し、ステップ1047(第2)に移行する。他方、ステップ1044でNoの場合、ステップ1046(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の設定値異常フラグをオンにし、第1ROM領域の呼び出し元に復帰し、ステップ1047(第2)に移行する。
<Processing in Second ROM and RAM Area>
If it is determined in step 1044 that the setting value in the first RAM area is within the normal range, the CPUC 100 performs setting in the second RAM area based on the data in the second ROM and RAM area in step 1045 (second). The value abnormality flag is turned off, and the process returns to the caller of the first ROM area, and the process proceeds to step 1047 (second). On the other hand, if No in step 1044, the CPUC 100 turns on the setting value abnormality flag in the second RAM area based on the data in the second ROM and RAM area in step 1046 (second), and the call source of the first ROM area. And return to step 1047 (second).

<第1ROM・RAM領域における処理>
次に、ステップ1047(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2RAM領域内の設定値異常フラグがオフであるか否かを判定する。ステップ1047(第2)でYesの場合には、ステップ1050に移行し、Noの場合には、ステップ1048(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定値エラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、復帰不可能エラー処理をセットする。このように、第2実施形態においては、復帰不可能エラー処理及び発生している復帰不可能エラー表示(バックアップエラー表示、設定値エラー表示)のセット処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
Next, in step 1047 (second), the CPUC 100 determines whether the set value abnormality flag in the second RAM area is off based on the data in the first ROM and RAM area. If Yes in step 1047 (the second), the process proceeds to step 1050; if No, the CPUC 100 performs the setting value error based on the data in the first ROM and RAM area in step 1048 (the second). Set the display (eg, set the error number in the register area). Next, in step 1300 (second), the CPUC 100 sets a return impossible error process, which will be described later, based on the data in the first ROM and RAM area. As described above, in the second embodiment, the return impossible error processing and the set processing of the return impossible error display (backup error display, setting value error display) that has occurred are executed in the first ROM and RAM area. It is configured as follows.

<第1ROM・RAM領域における処理>
次に、図24は、第2実施形態におけるステップ1200のサブルーチンに係る、遊技進行制御処理(2枚目)のフローチャートである。本実施形態との相違点は、ステップ1228(第2)、ステップ1700(第2)、ステップ1400(第2)、ステップ1237(第2)、ステップ1750(第2)、ステップ1450(第2)、ステップ1249‐1(第2)、ステップ1800(第2)、ステップ1500(第2)、ステップ1254‐1(第2)〜ステップ1254‐3(第2)、ステップ1256(第2)及びステップ1300(第2)であり、即ち、ステップ1227で遊技メダルの投入を受け付けた後、又は、ステップ1230で第1投入センサD20s及び第2投入センサD30sがオフでなかった場合に、ステップ1228(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域のメダル投入チェック処理を呼び出し、ステップ1700(第2)に移行する。
<Processing in the first ROM / RAM area>
Next, FIG. 24 is a flowchart of the game progression control process (second sheet) according to the subroutine of step 1200 in the second embodiment. The difference from this embodiment is the step 1228 (second), the step 1700 (second), the step 1400 (second), the step 1237 (second), the step 1750 (second), the step 1450 (second). , Step 1249-1 (second), step 1800 (second), step 1500 (second), step 1254-1 (second) to step 1254-3 (second), step 1256 (second) and step If the first insertion sensor D20s and the second insertion sensor D30s are not turned off in step 1230, or if the first insertion sensor D20s and the second insertion sensor D30s are not turned off, step 1228 (second In 2), the CPUC 100 calls the medal insertion check process of the second ROM area based on the data in the first ROM and RAM area. And, the process proceeds to step 1700 (second).

<第2ROM・RAM領域における処理>
次に、ステップ1700(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、メダル投入チェック処理を実行し、ステップ1229に移行する。尚、この第2ROM領域のメダル投入チェック処理の趣旨としては、本実施形態において、遊技進行制御処理(ループ処理)とタイマ割り込み時処理(非ループ処理)とで分けて実装されていたメダル投入チェック関連の処理を、遊技進行制御処理(ループ処理)にて纏めて実装する方法の一例を示すことにある。
<Processing in Second ROM and RAM Area>
Next, in step 1700 (second), the CPUC 100 executes the medal insertion check processing based on the data in the second ROM and RAM area, and shifts to step 1229. In the present embodiment, the medal insertion check implemented separately for the game progress control process (loop process) and the timer interrupt process (non-loop process) is implemented as the purpose of the medal input check process of the second ROM area. It is to show an example of a method of collectively implementing related processing in game progress control processing (loop processing).

<第1ROM・RAM領域における処理>
また、ステップ1229で第1ROM領域の呼び出し元に復帰した後、ステップ1400(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、メダル投入エラー検出処理を実行し、ステップ1230に移行する。尚、第2実施形態においては、メダル投入エラー検出処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
After returning to the caller of the first ROM area at step 1229, the CPUC 100 executes medal insertion error detection processing described later based on the data in the first ROM and RAM area at step 1400 (second). Transfer to step 1230. In the second embodiment, the medal insertion error detection process is configured to be executed in the first ROM and RAM area.

また、ステップ1236で第1払出センサH10s又は第2払出センサH20sがオンであった場合、ステップ1241でホッパ駆動後所定時間が経過していない場合、又は、ステップ1247で第1払出センサH10s及び第2払出センサH20sがオフでなかった場合に、ステップ1237(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域のメダル払出チェック処理を呼び出し、ステップ1750(第2)に移行する。   Also, if the first dispensing sensor H10s or the second dispensing sensor H20s is on in step 1236, or if the predetermined time after hopper driving has not elapsed in step 1241, or if the first dispensing sensor H10s and the first in step 1247 2) If the payout sensor H 20 s is not turned off, the CPUC 100 calls the medal payout check process of the second ROM area based on the data in the first ROM and RAM area in step 1237 (second), step 1750 (second Move to).

<第2ROM・RAM領域における処理>
次に、ステップ1750(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、メダル払出チェック処理を実行し、ステップ1240に移行する。尚、この第2ROM領域のメダル払出チェック処理の趣旨としては、本実施形態において、遊技進行制御処理(ループ処理)とタイマ割り込み時処理(非ループ処理)とで分けて実装されていたメダル払出チェック関連の処理を、遊技進行制御処理(ループ処理)にて纏めて実装する方法の一例を示すことにある。
<Processing in Second ROM and RAM Area>
Next, in step 1750 (second), the CPUC 100 executes the medal payout check process based on the data in the second ROM and RAM area, and shifts to step 1240. In this embodiment, the medal payout check process implemented in the present embodiment is divided into a game progress control process (loop process) and a timer interrupt process (non-loop process) in the second ROM area. It is to show an example of a method of collectively implementing related processing in game progress control processing (loop processing).

<第1ROM・RAM領域における処理>
また、ステップ1240で第1ROM領域の呼び出し元に復帰した後、ステップ1450(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、メダル払出エラー検出処理を実行し、ステップ1247に移行する。尚、第2実施形態においては、メダル払出エラー検出処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
Also, after returning to the caller of the first ROM area at step 1240, at step 1450 (second), the CPUC 100 executes medal payout error detection processing described later based on the data in the first ROM and RAM area, Transfer to step 1247. In the second embodiment, the medal payout error detection process is configured to be executed in the first ROM and RAM area.

また、ステップ1232で精算ボタンD60の操作がなかった場合、又は、ステップ1233で残りクレジット及びベットメダルがなかった場合に、ステップ1249‐1(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域の投入・払出エラーチェック処理を呼び出し、ステップ1800(第2)に移行する。   If there is no operation of the settlement button D60 at step 1232 or if there are no remaining credits and bet medals at step 1233, then at step 1249-1 (second), the CPUC 100 is in the first ROM RAM area In the second ROM area, the processing for checking the insertion / withdrawal error of the second ROM area is called based on the data of (4), and the process proceeds to step 1800 (second).

<第2ROM・RAM領域における処理>
次に、ステップ1800(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入・払出エラーチェック処理を実行し、ステップ1250に移行する。尚、この第2ROM領域の投入・払出エラーチェック処理の趣旨としては、本実施形態において、遊技進行制御処理(ループ処理)とタイマ割り込み時処理(非ループ処理)とで分けて実装されていた投入・払出エラーチェック関連の処理を、遊技進行制御処理(ループ処理)にて纏めて実装する方法の一例を示すことにある。
<Processing in Second ROM and RAM Area>
Next, in step 1800 (second), the CPUC 100 executes an insertion / withdrawal error check process based on the data in the second ROM / RAM area, and shifts to step 1250. Note that, in the present embodiment, in the present embodiment, the second ROM area insertion / withdrawal error check processing is implemented separately for the game progress control processing (loop processing) and the timer interrupt processing (non-loop processing). The present invention is to show an example of a method of collectively implementing a payout error check-related process in a game progress control process (loop process).

<第1ROM・RAM領域における処理>
また、ステップ1250で第1ROM領域の呼び出し元に復帰した後、ステップ1500(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、投入・払出エラー検出処理を実行し、ステップ1251に移行する。尚、第2実施形態においては、投入・払出エラー検出処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
Also, after returning to the caller of the first ROM area at step 1250, at step 1500 (second), the CPUC 100 executes an insertion / withdrawal error detection process described later based on the data in the first ROM / RAM area. , And move on to step 1251. In the second embodiment, the insertion / withdrawal error detection process is configured to be executed in the first ROM / RAM area.

<第2ROM・RAM領域における処理>
また、ステップ1253で第1RAM領域内の設定値が正常範囲内であった場合、ステップ1254‐2(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の設定値異常フラグをオフにし、第1ROM領域の呼び出し元に復帰し、ステップ1254‐3(第2)に移行する。他方、ステップ1253で第1RAM領域内の設定値が正常範囲内でなかった場合、ステップ1254‐1(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の設定値異常フラグをオンにし、第1ROM領域の呼び出し元に復帰し、ステップ1254‐3(第2)に移行する。
<Processing in Second ROM and RAM Area>
If it is determined in step 1253 that the setting value in the first RAM area is within the normal range, the CPUC 100 determines in the second RAM area based on the data in the second ROM and RAM area in step 1254-2 (second). The set value abnormality flag is turned off, and the process returns to the caller of the first ROM area, and the process proceeds to step 1254-3 (second). On the other hand, if the set value in the first RAM area is not within the normal range in step 1253, the CPUC 100 determines in the second RAM area based on the data in the second ROM and RAM area in step 1254-1 (second). The set value abnormality flag is turned on to return to the caller of the first ROM area, and the process proceeds to step 1254-3 (second).

<第1ROM・RAM領域における処理>
次に、ステップ1254‐3(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の設定値異常フラグがオフであるか否かを判定する。ステップ1254‐3(第2)でYesの場合、次の処理(ステップ1257の処理)に移行し、Noの場合には、ステップ1256(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、設定値エラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、復帰不可能エラー処理をセットする。このように、第2実施形態においては、復帰不可能エラー処理及び発生している復帰不可能エラー表示(設定値エラー表示)のセット処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
Next, in step 1254-3 (second), the CPUC 100 determines whether the set value abnormality flag in the second RAM area is off based on the data in the second ROM and RAM area. In the case of Yes in step 1254-3 (the second), the process proceeds to the next process (the process of step 1257), and in the case of No, the CPUC 100 performs the process in the first ROM and RAM area in the step 1256 (the second). The set value error indication is set based on the data (for example, the error number is set in the register area). Next, in step 1300 (second), the CPUC 100 sets a return impossible error process, which will be described later, based on the data in the first ROM and RAM area. As described above, in the second embodiment, the non-returnable error processing and the set processing of the non-returnable error display (setting value error display) occurring are executed in the first ROM and RAM area. There is.

<第1ROM・RAM領域における処理>
次に、図25は、第2実施形態における、図24のステップ1400(第2)のサブルーチンに係る、メダル投入エラー検出処理のフローチャートである。本実施形態との相違点は、本サブルーチンの処理を、第1ROM・RAM領域における処理としていることである。即ち、本実施形態においては、メダル投入エラー関連のエラー表示処理を実行する場合、第2ROM領域において実装された当該処理を呼び出していたのであるが、第2実施形態においては、当該処理が第1ROM領域において実装されており、第2ROM・RAM領域における各種エラー検出処理にてエラーが検出された場合には、エラーが検出された旨の情報を第1ROM領域において実装された当該処理へ引き渡して実行しているのである。このように構成した場合、遊技進行を制御する上でも必要不可欠な処理であるエラー表示処理を、遊技性仕様を実装するためのプログラム(遊技進行を制御するためのプログラム)として実装することができ、換言すれば、従来から実装されているエラー表示処理プログラムを流用することが可能となる。尚、エラーが検出された旨の情報を第1ROM領域において実装されたエラー表示処理へと引き渡すための第2RAM領域内のフラグである、投入メダル逆流エラーフラグ、投入メダル滞留エラーフラグ及び投入枚数エラーフラグは、エラーが解除された場合には、本例のように第1ROM領域において実装されたエラー表示処理から直接オフとしてもよいし、第2ROM領域の処理であり当該フラグをオフとするための処理を呼び出してオフにするよう構成してもよい。
<Processing in the first ROM / RAM area>
Next, FIG. 25 is a flowchart of medal insertion error detection processing according to the subroutine of step 1400 (second) of FIG. 24 in the second embodiment. The difference from the present embodiment is that the processing of this subroutine is processing in the first ROM / RAM area. That is, in the present embodiment, when the error display process related to the medal insertion error is executed, the process implemented in the second ROM area is called up, but in the second embodiment, the process is the first ROM. When an error is detected in various error detection processing in the second ROM and RAM area, information is transferred to the processing implemented in the first ROM area and executed. It is doing. When configured in this manner, error display processing, which is an essential processing even in controlling game progression, can be implemented as a program for implementing game specification (program for controlling game progression). In other words, it is possible to divert the conventionally implemented error display processing program. The inserted medal backflow error flag, the inserted medal retention error flag, and the inserted number error, which are flags in the second RAM area for transferring information indicating that an error has been detected to the error display processing implemented in the first ROM area. The flag may be directly turned off from the error display processing implemented in the first ROM area as in this example when the error is canceled, or the processing of the second ROM area, for turning off the flag. The process may be configured to be called and turned off.

<第1ROM・RAM領域における処理>
次に、図26は、第2実施形態における、図24のステップ1450(第2)のサブルーチンに係る、メダル払出エラー検出処理のフローチャートである。本実施形態との相違点は、本サブルーチンの処理を、第1ROM・RAM領域における処理としていることである。即ち、本実施形態においては、メダル払出エラー関連のエラー表示処理を実行する場合、第2ROM領域において実装された当該処理を呼び出していたのであるが、第2実施形態においては、当該処理が第1ROM領域において実装されており、第2ROM・RAM領域における各種エラー検出処理にてエラーが検出された場合には、エラーが検出された旨の情報を第1ROM領域において実装された当該処理へ引き渡して実行しているのである。このように構成した場合、遊技進行を制御する上でも必要不可欠な処理であるエラー表示処理を、遊技性仕様を実装するためのプログラム(遊技進行を制御するためのプログラム)として実装することができ、換言すれば、従来から実装されているエラー表示処理プログラムを流用することが可能となる。尚、エラーが検出された旨の情報を第1ROM領域において実装されたエラー表示処理へと引き渡すための第2RAM領域内のフラグである、払出メダル滞留エラーフラグは、エラーが解除された場合には、本例のように第1ROM領域において実装されたエラー表示処理から直接オフとしてもよいし、第2ROM領域の処理であり当該フラグをオフとするための処理を呼び出してオフにするよう構成してもよい。
<Processing in the first ROM / RAM area>
Next, FIG. 26 is a flowchart of medal payout error detection processing according to the subroutine of step 1450 (second) of FIG. 24 in the second embodiment. The difference from the present embodiment is that the processing of this subroutine is processing in the first ROM / RAM area. That is, in the present embodiment, when the error display process related to the medal payout error is executed, the process implemented in the second ROM area is called, but in the second embodiment, the process is the first ROM. When an error is detected in various error detection processing in the second ROM and RAM area, information is transferred to the processing implemented in the first ROM area and executed. It is doing. When configured in this manner, error display processing, which is an essential processing even in controlling game progression, can be implemented as a program for implementing game specification (program for controlling game progression). In other words, it is possible to divert the conventionally implemented error display processing program. The payout medal retention error flag, which is a flag in the second RAM area for transferring information indicating that an error has been detected to the error display processing implemented in the first ROM area, is an error released. As in this example, the error display processing implemented in the first ROM area may be directly turned off, or the processing in the second ROM area may be configured to call the processing for turning off the flag and turn it off. It is also good.

<第1ROM・RAM領域における処理>
次に、図27は、第2実施形態における、図24のステップ1500(第2)のサブルーチンに係る、投入・払出エラー検出処理のフローチャートである。本実施形態との相違点は、本サブルーチンの処理を、第1ROM・RAM領域における処理としていることである。即ち、本実施形態においては、投入・払出エラー関連のエラー表示処理を実行する場合、第2ROM領域において実装された当該処理を呼び出していたのであるが、第2実施形態においては、当該処理が第1ROM領域において実装されており、第2ROM・RAM領域における各種エラー検出処理にてエラーが検出された場合には、エラーが検出された旨の情報を第1ROM領域において実装された当該処理へ引き渡して実行しているのである。このように構成した場合、遊技進行を制御する上でも必要不可欠な処理であるエラー表示処理を、遊技性仕様を実装するためのプログラム(遊技進行を制御するためのプログラム)として実装することができ、換言すれば、従来から実装されているエラー表示処理プログラムを流用することが可能となる。尚、エラーが検出された旨の情報を第1ROM領域において実装されたエラー表示処理へと引き渡すための第2RAM内のフラグである、異常投入エラーフラグ及び異常払出エラーフラグは、エラーが解除された場合には、本例のように第1ROM領域において実装されたエラー表示処理から直接オフとしてもよいし、第2ROM領域の処理であり当該フラグをオフとするための処理を呼び出してオフにするよう構成してもよい。
<Processing in the first ROM / RAM area>
Next, FIG. 27 is a flowchart of insertion / withdrawal error detection processing according to the subroutine of step 1500 (second) of FIG. 24 in the second embodiment. The difference from the present embodiment is that the processing of this subroutine is processing in the first ROM / RAM area. That is, in the present embodiment, when the error display process related to the insertion / withdrawal error is executed, the process implemented in the second ROM area is called up, but in the second embodiment, the process is the second process. When an error is detected in various error detection processes in the second ROM and RAM area, the information indicating that the error is detected is handed over to the processing implemented in the first ROM area. It is running. When configured in this manner, error display processing, which is an essential processing even in controlling game progression, can be implemented as a program for implementing game specification (program for controlling game progression). In other words, it is possible to divert the conventionally implemented error display processing program. The error input error flag and the abnormal payout error flag, which are flags in the second RAM for transferring information indicating that an error has been detected to the error display processing implemented in the first ROM area, have been cleared of errors. In this case, the error display processing implemented in the first ROM area may be directly turned off as in this example, or the processing for the second ROM area may be called to turn off the processing for turning off the flag. It may be configured.

<第2ROM・RAM領域における処理>
次に、図28は、第2実施形態における、遊技進行制御処理(3枚目)のフローチャートである。本実施形態との相違点は、ステップ1269‐1(第2)〜ステップ1269‐4(第2)、ステップ1272(第2)、ステップ1300(第2)、ステップ1800(第2)、ステップ1500(第2)、ステップ1277‐1(第2)、ステップ1750(第2)及びステップ1450(第2)であり、即ち、ステップ1269で、表示された図柄の組み合わせが正常である場合、ステップ1269‐1(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の表示判定異常フラグをオフにし、第1ROM領域の呼び出し元に復帰し、ステップ1269‐3(第2)に移行する。他方、ステップ1269で、表示された図柄の組み合わせが正常でない場合、ステップ1269‐2(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の表示判定異常フラグをオンにし、第1ROM領域の呼び出し元に復帰し、ステップ1269‐3(第2)に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 28 is a flowchart of the game progression control process (third sheet) in the second embodiment. The differences from this embodiment are the steps 1269-1 (second) to 1269-4 (second), step 1272 (second), step 1300 (second), step 1800 (second), step 1500. (Second), step 1277-1 (second), step 1750 (second) and step 1450 (second), that is, if the displayed symbol combination is normal at step 1269, then step 1269 -1 (second), the CPUC 100 turns off the display determination abnormality flag in the second RAM area based on the data in the second ROM and RAM area, and returns to the caller of the first ROM area, step 1269-3 ( Move to 2). On the other hand, if the combination of symbols displayed in step 1269 is not normal, in step 1269-2 (second), CPUC 100 displays the display determination abnormality flag in the second RAM area based on the data in the second ROM and RAM area. Is turned on to return to the caller of the first ROM area, and the process goes to step 1269-3 (second).

<第1ROM・RAM領域における処理>
次に、ステップ1269‐3(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2RAM領域内の表示判定異常フラグがオフであるか否かを判定する。ステップ1269‐3(第2)でYesの場合、ステップ1269‐4(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域の投入・払出エラーチェック処理を呼び出し、ステップ1500(第2)に移行する。他方、ステップ1269‐3(第2)でNoの場合には、ステップ1272(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、表示判定エラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、前述した、復帰不可能エラー処理をセットする。このように、第2実施形態においては、復帰不可能エラー処理及び発生している復帰不可能エラー表示(表示判定エラー表示)のセット処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
Next, in step 1269-3 (second), the CPUC 100 determines whether the display determination abnormality flag in the second RAM area is off based on the data in the first ROM and RAM area. If Yes in step 1269-3 (second), in step 1269-4 (second), the CPUC 100 calls an insertion / delivery error check process of the second ROM area based on the data in the first ROM / RAM area, The process moves to step 1500 (second). On the other hand, if No in step 1269-3 (second), the CPUC 100 sets a display determination error display based on the data in the first ROM and RAM area in step 1272 (second) (for example, the register Set the error number in the area). Next, in step 1300 (second), the CPUC 100 sets the above-mentioned unrecoverable error processing based on the data in the first ROM and RAM area. As described above, in the second embodiment, the process of setting the non-returnable error process and the occurring non-returnable error display (display determination error display) is performed in the first ROM and RAM area. There is.

<第2ROM・RAM領域における処理>
次に、ステップ1800(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、投入・払出エラーチェック処理を実行し、ステップ1270に移行する。尚、この第2ROM領域の投入・払出エラーチェック処理の趣旨としては、本実施形態において、遊技進行制御処理(ループ処理)とタイマ割り込み時処理(非ループ処理)とで分けて実装されていた投入・払出エラーチェック関連の処理を、遊技進行制御処理(ループ処理)にて纏めて実装する方法の一例を示すことにある。
<Processing in Second ROM and RAM Area>
Next, in step 1800 (second), the CPUC 100 executes an insertion / withdrawal error check process based on the data in the second ROM / RAM area, and shifts to step 1270. Note that, in the present embodiment, in the present embodiment, the second ROM area insertion / withdrawal error check processing is implemented separately for the game progress control processing (loop processing) and the timer interrupt processing (non-loop processing). The present invention is to show an example of a method of collectively implementing a payout error check-related process in a game progress control process (loop process).

<第1ROM・RAM領域における処理>
また、ステップ1270で第1ROM領域の呼び出し元に復帰した後、ステップ1500(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、前述した、投入・払出エラー検出処理を実行し、ステップ1274に移行する。尚、第2実施形態においては、投入・払出エラー検出処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
In addition, after returning to the caller of the first ROM area at step 1270, the CPUC 100 executes the above-mentioned insertion / withdrawal error detection processing based on the data in the first ROM / RAM area at step 1500 (second). Proceed to step 1274. In the second embodiment, the insertion / withdrawal error detection process is configured to be executed in the first ROM / RAM area.

他方、ステップ1277で第1払出センサH10s又は第2払出センサH20sがオンであった場合、ステップ1277‐1(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第2ROM領域のメダル払出チェック処理を呼び出し、ステップ1750(第2)に移行する。   On the other hand, when the first dispensing sensor H10s or the second dispensing sensor H20s is on in step 1277, the CPUC 100 determines the second ROM area based on the data in the first ROM / RAM area in step 1277-1 (second). The medal payout check process is called, and the process proceeds to step 1750 (second).

<第2ROM・RAM領域における処理>
次に、ステップ1750(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、メダル払出チェック処理を実行し、ステップ1284に移行する。尚、この第2ROM領域のメダル払出チェック処理の趣旨としては、本実施形態において、遊技進行制御処理(ループ処理)とタイマ割り込み時処理(非ループ処理)とで分けて実装されていたメダル払出チェック関連の処理を、遊技進行制御処理(ループ処理)にて纏めて実装する方法の一例を示すことにある。
<Processing in Second ROM and RAM Area>
Next, in step 1750 (second), the CPUC 100 executes the medal payout check process based on the data in the second ROM and RAM area, and proceeds to step 1284. In this embodiment, the medal payout check process implemented in the present embodiment is divided into a game progress control process (loop process) and a timer interrupt process (non-loop process) in the second ROM area. It is to show an example of a method of collectively implementing related processing in game progress control processing (loop processing).

<第1ROM・RAM領域における処理>
また、ステップ1284で第1ROM領域の呼び出し元に復帰した後、ステップ1450(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、後述する、メダル払出エラー検出処理を実行し、ステップ1286に移行する。尚、第2実施形態においては、メダル払出エラー検出処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
After returning to the caller of the first ROM area at step 1284, the CPUC 100 executes medal payout error detection processing described later based on the data in the first ROM and RAM area at step 1450 (second). Transfer to step 1286. In the second embodiment, the medal payout error detection process is configured to be executed in the first ROM and RAM area.

<第1ROM・RAM領域における処理>
次に、図29は、第2実施形態における、図23、図24、図28及び図30のステップ1300(第2)のサブルーチンに係る、復帰不可能エラー処理のフローチャートである。本実施形態との相違点は、本サブルーチンの処理を、第1ROM・RAM領域における処理としていることである。即ち、本実施形態においては、復帰不可能エラー処理を実行する場合、第2ROM領域において実装された当該処理を呼び出していたのであるが、第2実施形態においては、当該処理が第1ROM領域において実装されており、第2ROM・RAM領域における各種エラー検出処理にてエラーが検出された場合には、エラーが検出された旨の情報を第1ROM領域において実装された当該処理へ引き渡して実行しているのである。このように構成した場合、復帰不可能な(即ち、回胴式遊技機Pを動作不能とする)状態へと移行させるという強制力をもった処理を、遊技性仕様を実装するためのプログラム(遊技進行を制御するためのプログラム)として実装することができる。
<Processing in the first ROM / RAM area>
Next, FIG. 29 is a flowchart of non-returnable error processing according to the subroutine of step 1300 (second) of FIGS. 23, 24, 28 and 30 in the second embodiment. The difference from the present embodiment is that the processing of this subroutine is processing in the first ROM / RAM area. That is, in the present embodiment, when executing the non-returnable error process, the process mounted in the second ROM area is called, but in the second embodiment, the process is mounted in the first ROM area. If an error is detected in various error detection processing in the second ROM and RAM area, information indicating that the error is detected is delivered to the processing implemented in the first ROM area and executed. It is When configured in this manner, a program for implementing a game characteristic specification (for example, processing with a force to shift to a non-returnable state (that is, to make the reel-type game machine P inoperable) It can be implemented as a program for controlling the game progression.

<第2ROM・RAM領域における処理>
次に、図30は、第2実施形態におけるステップ1600のサブルーチンに係る、タイマ割り込み時処理のフローチャートである。本実施形態との相違点は、ステップ1648(第2)、ステップ1650(第2)及びステップ1654(第2)であり、即ち、ステップ1642で、内蔵乱数の更新状態が正常であった場合、ステップ1648(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の内蔵乱数異常フラグをオフにし、第1ROM領域の呼び出し元に復帰し、ステップ1654(第2)に移行する。他方、ステップ1640で、乱数更新用クロックの周波数が正常でなかった、又は、ステップ1642で、内蔵乱数の更新状態が正常でなかった場合に、ステップ1650(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域内の内蔵乱数異常フラグをオンにし、第1ROM領域の呼び出し元に復帰し、ステップ1654(第2)に移行する。
<Processing in Second ROM and RAM Area>
Next, FIG. 30 is a flowchart of timer interrupt processing according to the subroutine of step 1600 in the second embodiment. The difference from the present embodiment is the step 1648 (second), the step 1650 (second) and the step 1654 (second), that is, when the update state of the internal random number is normal in the step 1642, In step 1648 (second), the CPUC 100 turns off the built-in random number abnormal flag in the second RAM area based on the data in the second ROM and RAM area, and returns to the caller of the first ROM area, step 1654 (second Move to). On the other hand, if the frequency of the random number update clock is not normal at step 1640 or if the update status of the internal random number is not normal at step 1642, the CPUC 100 executes the second ROM at step 1650 (second). Based on the data in the RAM area, turn on the built-in random number abnormality flag in the second RAM area, return to the caller of the first ROM area, and shift to step 1654 (second).

<第1ROM・RAM領域における処理>
次に、ステップ1654(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、内蔵乱数異常フラグがオフであるか否かを判定する。ステップ1654(第2)でYesの場合には、ステップ1636に移行し、Noの場合には、ステップ1648(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、内蔵乱数エラー表示をセットする(例えば、レジスタ領域内にエラー番号をセットする)。次に、ステップ1300(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、前述した、復帰不可能エラー処理をセットする。このように、第2実施形態においては、復帰不可能エラー処理及び発生している復帰不可能エラー表示(内蔵乱数エラー表示)のセット処理を、第1ROM・RAM領域にて実行するよう構成している。
<Processing in the first ROM / RAM area>
Next, in step 1654 (second), the CPUC 100 determines whether the built-in random number abnormality flag is off based on the data in the first ROM / RAM area. In the case of Yes in step 1654 (the second), the process proceeds to step 1636, and in the case of No, the CPUC 100 determines the built-in random number error based on the data in the first ROM and RAM area in the step 1648 (second). Set the display (eg, set the error number in the register area). Next, in step 1300 (second), the CPUC 100 sets the above-mentioned unrecoverable error processing based on the data in the first ROM and RAM area. As described above, in the second embodiment, the non-returnable error processing and the set processing of the non-returnable error display (internal random number error display) occurring are executed in the first ROM and RAM area. There is.

<第1ROM・RAM領域における処理>
次に、図31は、第2実施形態における、図30のステップ1900のサブルーチンに係る、電源断時処理のフローチャートである。本実施形態との相違点は、ステップ1905(第2)及びステップ1909(第2)であり、即ち、ステップ1904で、電源断処理済みフラグをオンにした後、ステップ1905(第2)で、CPUC100は、第1ROM・RAM領域内のデータに基づき、第1RAM領域の先頭アドレスから第1チェックサム領域直前アドレスまでのチェックサムを算出し、当該算出したチェックサムに基づく誤り検出用情報(例えば、当該算出したチェックサムにおける下位1バイト、或いは、その補数となるもの)を第1チェックサム領域にてセットする。次に、ステップ1906で、第2ROM領域のチェックサム算出処理を呼び出し、ステップ1909(第2)に移行する。
<Processing in the first ROM / RAM area>
Next, FIG. 31 is a flowchart of the power-off process according to the subroutine of step 1900 of FIG. 30 in the second embodiment. The difference from the present embodiment is step 1905 (second) and step 1909 (second), that is, after the power-off processed flag is turned on in step 1904, step 1905 (second), The CPUC 100 calculates a checksum from the start address of the first RAM area to the address immediately before the first checksum area based on the data in the first ROM and RAM area, and error detection information (for example, based on the calculated checksum). The lower one byte in the calculated checksum or the complement thereof is set in the first checksum area. Next, in step 1906, the checksum calculation processing of the second ROM area is called, and the process shifts to step 1909 (second).

<第2ROM・RAM領域における処理>
次に、ステップ1909(第2)で、CPUC100は、第2ROM・RAM領域内のデータに基づき、第2RAM領域の先頭アドレスから第2チェックサム領域直前アドレスまでのチェックサムを算出し、当該算出したチェックサムに基づく誤り検出用情報(例えば、当該算出したチェックサムにおける下位1バイト、或いは、その補数となるもの)を第2チェックサム領域にてセットし、ステップ1910に移行する。前述したように、第2実施形態においては、チェックサム領域は第1チェックサム領域と第2チェックサム領域とに分かれており、同図下段に示されるように、第1チェックサム領域は第1RAM領域の最終アドレスに、第2チェックサム領域は第2RAM領域の最終アドレスに夫々存在している。また、第1RAM領域のチェックサム算出及びセットは第1ROM領域における処理が実行し、第2RAM領域のチェックサム算出及びセットは第2ROM領域における処理が実行するよう構成されている。
<Processing in Second ROM and RAM Area>
Next, in step 1909 (second), the CPUC 100 calculates the checksum from the start address of the second RAM area to the address just before the second checksum area based on the data in the second ROM and RAM area, and calculates the checksum The error detection information based on the checksum (for example, the lower 1 byte in the calculated checksum or the complement thereof) is set in the second checksum area, and the process proceeds to step 1910. As described above, in the second embodiment, the checksum area is divided into the first checksum area and the second checksum area, and as shown in the lower part of the figure, the first checksum area is the first RAM. At the final address of the area, the second checksum area is present at the final address of the second RAM area. Further, the checksum calculation and the set in the first RAM area are configured to execute processing in the first ROM area, and the checksum calculation and the set in the second RAM area are configured to execute processing in the second ROM area.

以上のように構成することで、第2実施形態に係る回胴式遊技機によれば、第1ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第2RAM領域を参照可能に構成し、且つ、第2ROM領域にて配置されているプログラムコードに基づくCPUC100の処理にて、第1RAM領域を参照可能に構成し、エラー検出等の遊技機に対して不正行為がなされる(例えば、遊技媒体の投入口や払出口に対して不正にアクセスして遊技媒体を不正な手段で得る、等)ことを防御するための不正行為防止用のプログラムを第2ROM・RAM領域における処理にて実行し得るよう構成することで、遊技の進行に係る処理と領域を明確に分けることができ、本実施形態と同様に、当該不正行為防止用のプログラムの正当性を検証することが容易となる。   By configuring as described above, according to the reel-type gaming machine according to the second embodiment, the second RAM area can be referred to by the processing of the CPUC 100 based on the program code arranged in the first ROM area. In the processing of the CPUC 100 based on the program code that is configured and arranged in the second ROM area, the first RAM area is configured to be referable, and an illegal action is performed on the gaming machine such as error detection (for example, , A program for preventing fraudulent activity to prevent unauthorized access to the slot and outlet of the gaming media, etc. to obtain gaming media by unauthorized means, etc. by processing in the second ROM and RAM area By configuring so as to be able to execute, it is possible to clearly separate the processing and the area relating to the progress of the game, and as in the present embodiment, it is possible to It is easy to verify the sex.

(まとめ)
尚、以上の実施例において示した構成に基づき、以下のような概念を抽出(列記)することができる。但し、以下に列記する概念はあくまで一例であり、これら列記した概念の結合や分離(上位概念化)は勿論のこと、以上の実施例において示した更なる構成に基づく概念を、これら概念に付加してもよい。
(Summary)
The following concepts can be extracted (listed) based on the configurations shown in the above embodiments. However, the concepts listed below are merely examples, and the concepts based on the additional configurations shown in the above embodiments are of course added to these concepts, as well as the combination and separation (superordinate conceptization) of these listed concepts. May be

はじめに、以上の実施例が解決しようとする課題について簡潔に述べる。遊技機の動作制御等を司るプログラム容量は、不正プログラムの混入防止(遊技機メーカーが提供するプログラムの正当性保障)の観点からその容量上限が厳しく規制されていると共に、遊技性仕様を実装するためのプログラムの他にも、遊技機に対して不正行為がなされる(例えば、遊技媒体の投入口や払出口に対して不正にアクセスして遊技媒体を不正な手段で得る、等)ことを防御するための不正行為防止用のプログラムも数多く実装されている。しかしながら、現状では、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとが混在してROM上に配置されていることが多く、その結果これらプログラムの正当性を検証することが困難となっているという課題が存在する。   First, the problems to be solved by the above embodiments will be briefly described. The program capacity for controlling the operation control of the gaming machine is strictly regulated from the upper limit of its capacity from the viewpoint of prevention of mixture of illegal programs (guarantee of program legitimacy provided by the gaming machine manufacturer), and the game characteristic specification is implemented. In addition to the program for making an unauthorized act on the gaming machine (eg, illegally accessing the slot and outlet of the game medium to obtain the game medium by illegal means, etc.) There are also a number of anti-tamper programs implemented to protect. However, under the present circumstances, there are many cases where a program for implementing gameplay specifications and a program for preventing fraudulent actions are mixedly arranged on the ROM, and as a result, it is difficult to verify the legitimacy of these programs There is a problem that

本態様(1−1)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (1-1),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value It is a gaming machine characterized by being divided into at least a second data area).

本態様(1−1)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the present aspect (1-1), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU Since the memory map is arranged separately (in a non-consecutive arrangement of addresses) on the memory map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(1−2)に係る回胴式遊技機は、
前記第二の終点アドレス値よりも大きく且つ前記第三の始点アドレス値よりも小さい一又は複数の前記アドレス値が存在し、当該一又は複数の前記アドレス値に対して、前記プログラム及び前記データのいずれともならない特殊情報が配置されている、本態様(1−1)の遊技機である。
The drum-type gaming machine according to this aspect (1-2),
There is one or more address values larger than the second end point address value and smaller than the third start point address value, and the program and the data of the one or more address values It is a game machine of this mode (1-1) in which special information which is not associated with anything is arranged.

本態様(1−2)に係る回胴式遊技機によれば、前述した効果に加え、第一制御領域内に存在しCPUからアクセスされるプログラムと第一制御領域内に存在し読みだされるデータとを第一のブロックとし、第二制御領域内に存在しCPUからアクセスされるプログラムと第二制御領域内に存在し読みだされるデータとを第二のブロックとすると、第一のブロックと第二のブロックとの間には、CPUからアクセスされない特殊情報が配置されているので、プログラムソースコード上又はダンプリスト上において、この特殊情報が区切りとなって、双方のブロックの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一のブロック=遊技性仕様を実装するための制御ブロック、第二のブロック=不正行為防止用の制御ブロックとして配置することで、機能上性質の異なる双方の制御ブロックを、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方の制御ブロックの正当性を人為的に検証することが容易となる。   According to the reel-type game machine according to this aspect (1-2), in addition to the effects described above, the program which is present in the first control area and accessed by the CPU and which is present and read in the first control area The first block is the first block, and the second program is a program that is in the second control area and is accessed by the CPU and the second block is the data that is in the second control area and is read. Since special information not accessed by the CPU is placed between the block and the second block, the special information serves as a delimitation on the program source code or dump list, and the arrangement positions of both blocks are placed. Can be clearly separated visually. As a result, for example, by arranging as a first block = a control block for implementing a game characteristic specification, and a second block = a control block for preventing tampering, both control blocks having different functional properties are provided. Since visual separation can be clearly performed on the program source code or on the dump list, it becomes easy to artificially verify the legitimacy of both control blocks.

本態様(1−3)に係る回胴式遊技機は、
前記特殊情報は、すべてのビットがゼロである、本態様(1−2)の遊技機である。
The drum-type gaming machine according to this aspect (1-3),
The special information is the gaming machine of the aspect (1-2) in which all bits are zero.

本態様(1−3)に係る回胴式遊技機によれば、前述した効果に加え、第一のブロックと第二のブロックとの間に、CPUからアクセスされない特殊情報を配置するに際し、この特殊情報のすべてのビットがゼロであるため、プログラムソースコード上又はダンプリスト上において、この特殊情報が区切りとなる役割を好適に果たし、双方のブロックの配置位置を視覚上より明確に切り分けることができる。   According to the reel-type game machine according to this aspect (1-3), in addition to the above-described effects, when arranging special information not accessed by the CPU between the first block and the second block, Since all bits of special information are zero, this special information preferably serves as a delimiter on the program source code or on the dump list, so as to visually separate the arrangement positions of both blocks more visually it can.

本態様(1−4)に係る回胴式遊技機は、
前記特殊情報は、予め定められたコード化手法により遊技機に関する情報がコード化されたビット列となる、本態様(1−2)の遊技機である。
The drum-type gaming machine according to this aspect (1-4),
The special information is the gaming machine of this aspect (1-2), which is a bit string in which information on the gaming machine is coded by a predetermined coding method.

本態様(1−4)に係る回胴式遊技機によれば、前述した効果に加え、第一のブロックと第二のブロックとの間に、CPUからアクセスされない特殊情報を配置するに際し、この特殊情報が「遊技機に関する情報」となるため、プログラムソースコード上又はダンプリスト上において、この特殊情報が区切りとなる役割を果たすと共に、プログラムソースコードの出所を同時に示すことができるため、双方の制御ブロックの正当性を人為的に検証することが更に容易となる。   According to the reel-type game machine according to this aspect (1-4), in addition to the above-described effects, when arranging special information not accessed by the CPU between the first block and the second block, Since the special information is "information about a gaming machine", the special information serves as a break on the program source code or dump list, and the source of the program source code can be simultaneously indicated. It becomes easier to artificially verify the legitimacy of the control block.

本態様(1−5)に係る回胴式遊技機は、
前記第二制御領域にて配置されている全ての前記プログラムに係る総バイト数は、前記第一制御領域にて配置されている全ての前記プログラムに係る総バイト数よりも少なく、且つ、前記第二データ領域にて配置されている全ての前記データに係る総バイト数は、前記第一データ領域にて配置されている全ての前記データに係る総バイト数よりも少ない、本態様(1−1)の遊技機である。
The drum-type gaming machine according to this aspect (1-5),
The total number of bytes relating to all the programs arranged in the second control area is less than the total number of bytes relating to all the programs arranged in the first control area, and The total number of bytes related to all the data arranged in two data areas is smaller than the total number of bytes related to all the data arranged in the first data area. Game machine).

本態様(1−5)に係る回胴式遊技機によれば、前述した効果に加え、第一のブロック=遊技性仕様を実装するための制御ブロック、第二のブロック=不正行為防止用の制御ブロックとして配置するよう構成した場合において、遊技性仕様を実装するためのデータ容量よりも不正行為防止用のデータ容量の方が小さくなる。ここで、不正行為防止用のデータは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、そのデータ容量を相対的に小さくして制限しておけば、不正行為防止用のデータの正当性を人為的に検証する労力を低減することが可能となる。   According to the reel-type game machine according to this aspect (1-5), in addition to the above-described effects, the first block = a control block for implementing a game characteristic specification, and the second block = for preventing fraud When arranged as a control block, the data capacity for tampering prevention becomes smaller than the data capacity for implementing the game characteristic specification. Here, since data for preventing fraudulent acts are likely to differ in specification among gaming machine manufacturers, it is highly necessary to artificially verify the legitimacy, but the data capacity is made relatively small. By limiting it, it is possible to reduce the effort for artificially verifying the legitimacy of the data for preventing fraud.

本態様(2)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第一制御領域にて配置されている前記プログラムに従い前記CPUが処理を実行する際には、前記第一データ領域にて配置されている前記データが読み出されることが可能に構成され、前記第二データ領域にて配置されている前記データは読み出されないように構成されており、
前記第二制御領域にて配置されている前記プログラムに従い前記CPUが処理を実行する際には、前記第二データ領域にて配置されている前記データが読み出されることが可能に構成され、前記第一データ領域にて配置されている前記データは読み出されないよう構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (2),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
When the CPU executes a process according to the program arranged in the first control area, the data arranged in the first data area can be read out; The data arranged in the second data area is configured not to be read out,
When the CPU executes a process according to the program arranged in the second control area, the data arranged in the second data area can be read out; The gaming machine is characterized in that the data arranged in one data area is not read out.

本態様(2)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (2), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(2)に係る回胴式遊技機によれば、更に、第一制御領域内に存在しCPUからアクセスされるプログラムは、第一制御領域内に存在し読みだされるデータに対してしかアクセスできず、第二制御領域内に存在しCPUからアクセスされるプログラムは、第二制御領域内に存在し読みだされるデータに対してしかアクセスできないため、第一制御領域内に存在しCPUからアクセスされるプログラムと第一制御領域内に存在し読みだされるデータとを第一のブロックとし、第二制御領域内に存在しCPUからアクセスされるプログラムと第二制御領域内に存在し読みだされるデータとを第二のブロックとすると、第一のブロックと第二のブロックとが機能上性質の異なる制御ブロックであることを担保容易となり、双方の制御ブロックの正当性を人為的に検証することが容易となる。   According to the reel-type game machine according to this aspect (2), the program which is present in the first control area and accessed by the CPU is for the data which is present and read in the first control area. Programs that are only accessible and are in the second control area and accessed by the CPU are in the first control area because they are only accessible to the data that are in the second control area and are read out. The program accessed by the CPU and the data present in and read from the first control area are regarded as a first block, and the program existing in the second control area and accessed by the CPU and the second control area Assuming that the data to be read out is the second block, it becomes easy to secure that the first block and the second block are control blocks having different functional properties, and both control blocks It is easy to artificially verify the validity.

本態様(3)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第二制御領域にて配置されている前記プログラムは、前記第一制御領域にて配置されている前記プログラムにおける呼び出し命令があった場合に前記CPUによる処理が実行可能となるよう構成されている、
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (3),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
The program disposed in the second control area is configured to be able to execute processing by the CPU when there is a call instruction in the program disposed in the first control area. ,
It is a game machine characterized by.

本態様(3)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (3), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(3)に係る回胴式遊技機によれば、更に、第二制御領域内に存在しCPUからアクセスされるプログラムは、第一制御領域内に存在しCPUからアクセスされるプログラムにおける呼び出し命令があった場合においてのみCPUによる処理が実行可能となる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、不正行為防止用のプログラムの実行タイミングを、この呼び出し命令があった場合にのみ限定できるため、プログラムソースコード上又はダンプリスト上において、不正行為防止用のプログラムの実行タイミングが視覚上明確となり、特に、不正行為防止用のプログラムの正当性を人為的に検証することが容易となる。ここで、不正行為防止用のプログラムは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、このように構成しておくことで、不正行為防止用のプログラムについて検証するための労力を低減できる。   According to the reel-type game machine according to this aspect (3), the program existing in the second control area and accessed by the CPU is further called a call in the program existing in the first control area and accessed by the CPU The processing by the CPU can be executed only when there is an instruction. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, the execution timing of the cheating prevention program can be limited only when this call instruction is issued, so the cheating execution program execution timing is on the program source code or dump list. It becomes clear visually, and in particular, it becomes easy to artificially verify the legitimacy of a program for preventing fraud. Here, since the program for preventing fraudulent acts is likely to differ in specification among gaming machine manufacturers, it is highly necessary to artificially verify the legitimacy, but by configuring in this way, It is possible to reduce the effort for verifying a program for preventing fraud.

本態様(4)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第一制御領域にて配置されている前記プログラムにおける呼び出し命令があった場合であって、前記第二制御領域にて配置されている前記プログラムに従い前記CPUが処理を実行する際においては、当該呼び出し命令があった時点で記憶されている情報(例えば、CPUC100内のレジスタで保持されている情報)を参照可能に構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (4),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
In the case where there is a call instruction in the program arranged in the first control area, the CPU performs the processing according to the program arranged in the second control area. It is a gaming machine characterized in that it is configured to be able to refer to information (for example, information held in a register in the CPUC 100) stored when a call instruction is given.

本態様(4)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (4), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(4)に係る回胴式遊技機によれば、更に、第二制御領域内に存在しCPUからアクセスされるプログラムは、第一制御領域内に存在しCPUからアクセスされるプログラムにおける呼び出し命令があった場合においてCPUによる処理が実行可能となる。その際には、当該呼び出し命令があった時点で記憶されている情報として、例えば、CPU内のレジスタで保持されている情報(即ち、当該呼び出し命令がある直前に第一制御領域内に存在しCPUからアクセスされるプログラムで処理していた処理結果)を、第二制御領域内に存在しCPUからアクセスされるプログラムへと引き渡すことが可能となる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの主従関係を構築でき、主となる遊技性仕様を実装するためのプログラムの処理結果を引き継いで、従となる不正行為防止用のプログラムを実行可能となる。ここで、主となる遊技性仕様を実装するためのプログラムの処理結果は、秘匿性の高い情報となり得るため、不正行為報知用の情報を外部出力し得る従となる不正行為防止用のプログラムへ無暗に引き渡してしまうと、セキュリティ性の低下に繋がってしまう恐れがあるが、不正行為防止用のプログラムの実行タイミングを、この呼び出し命令があった場合に限定できるため、プログラムソースコード上又はダンプリスト上において、不正行為防止用のプログラムの実行タイミングが視覚上明確となる結果、処理結果の引き渡しタイミングについても、プログラムソースコード上又はダンプリスト上において明確化されることにより、特に、(処理結果の引き渡しタイミングを含め)不正行為防止用のプログラムの正当性を人為的に検証することが容易となる。ここで、不正行為防止用のプログラムは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、このように構成しておくことで、不正行為防止用のプログラムについて検証するための労力を低減できる。   According to the reeling type gaming machine according to the aspect (4), the program existing in the second control area and accessed by the CPU is further called a call in the program existing in the first control area and accessed by the CPU When there is an instruction, processing by the CPU becomes executable. In that case, for example, information held in a register in the CPU (that is, existing in the first control area immediately before the call instruction is present) as information stored at the time of the call instruction It becomes possible to deliver the processing result (which has been processed by the program accessed from the CPU) to the program that exists in the second control area and is accessed by the CPU. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, it is possible to build a master-slave relationship between the program for implementing the gameplay specification and the program for preventing cheating, inheriting the processing result of the program for implementing the main gameplay specification, It becomes possible to execute a program for preventing cheating. Here, since the processing result of the program for implementing the main gameplay specification can be highly confidential information, it is possible to use a subordinated program for preventing cheating which can externally output information for notifying cheating. If delivered innocently, there is a risk that security may be degraded. However, since the execution timing of the program for preventing fraudulent activity can be limited to the case where this call instruction is issued, the program source code or dump may be generated. As a result of the execution timing of the program for preventing fraud becoming clear on the list as a result, the delivery timing of the processing result is also clarified on the program source code or on the dump list, in particular (processing result Artificially verify the legitimacy of the program for the prevention of Theft is facilitated. Here, since the program for preventing fraudulent acts is likely to differ in specification among gaming machine manufacturers, it is highly necessary to artificially verify the legitimacy, but by configuring in this way, It is possible to reduce the effort for verifying a program for preventing fraud.

本態様(5)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第一制御領域にて配置されている前記プログラムにおける呼び出し命令があった場合であって、前記第二制御領域にて配置されている前記プログラムに従い前記CPUが処理を実行する際においては、当該呼び出し命令があった時点で記憶されている情報(例えば、CPUC100内のレジスタで保持されている情報)を当該呼び出し命令に基づく前記第二制御領域にて配置されている前記プログラムに従う前記CPUの処理で更新可能に構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to the aspect (5),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
In the case where there is a call instruction in the program arranged in the first control area, the CPU performs the processing according to the program arranged in the second control area. Processing of the CPU according to the program arranged in the second control area based on the call instruction based on information stored at the time of the call instruction (for example, information held in a register in the CPUC 100) The game machine is characterized in that it is configured to be updatable.

本態様(5)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (5), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(5)に係る回胴式遊技機によれば、更に、第二制御領域内に存在しCPUからアクセスされるプログラムは、第一制御領域内に存在しCPUからアクセスされるプログラムにおける呼び出し命令があった場合においてCPUによる処理が実行可能となる。その際には、当該呼び出し命令があった時点で記憶されている情報として、例えば、CPU内のレジスタで保持されている情報(即ち、当該呼び出し命令がある直前に第一制御領域内に存在しCPUからアクセスされるプログラムで処理していた処理結果)を、第二制御領域内に存在しCPUからアクセスされるプログラムで処理した処理結果で更新することが可能となる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの主従関係を構築でき、従となる不正行為防止用のプログラムの処理結果を引き継いで、主となる遊技性仕様を実装するためのプログラムを実行可能となる。ここで、主となる遊技性仕様を実装するためのプログラムの処理結果は、秘匿性の高い情報となり得るため、不正行為報知用の情報を外部出力し得る従となる不正行為防止用のプログラムから無暗に更新してしまうと、セキュリティ性の低下に繋がってしまう恐れがあるが、不正行為防止用のプログラムの実行タイミングを、この呼び出し命令があった場合に限定できるため、プログラムソースコード上又はダンプリスト上において、不正行為防止用のプログラムの実行タイミングが視覚上明確となる結果、処理結果の更新タイミングについても、プログラムソースコード上又はダンプリスト上において明確化されることにより、特に、(処理結果の更新タイミングを含め)不正行為防止用のプログラムの正当性を人為的に検証することが容易となる。ここで、不正行為防止用のプログラムは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、このように構成しておくことで、不正行為防止用のプログラムについて検証するための労力を低減できる。   According to the reeling type gaming machine according to the aspect (5), the program existing in the second control area and accessed by the CPU is a call in the program existing in the first control area and accessed by the CPU When there is an instruction, processing by the CPU becomes executable. In that case, for example, information held in a register in the CPU (that is, existing in the first control area immediately before the call instruction is present) as information stored at the time of the call instruction It is possible to update the processing result (processed by the program accessed by the CPU) with the processing result processed by the program which is present in the second control area and accessed by the CPU. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, it is possible to build a master-slave relationship between the program for implementing the gameplay specification and the program for preventing cheating, and inheriting the processing result of the cheating program to be subordinate, the main game It is possible to execute a program for implementing the sex specification. Here, since the processing result of the program for implementing the main game characteristic specification can be highly confidential information, from the subordinate anti-tampering program which can externally output the information for notifying the illegitimate activity. If it is updated silently, there is a risk that the security will be reduced, but since the execution timing of the program for preventing fraudulent activity can be limited to the case where this call instruction is issued, the program source code or As a result of the execution timing of the program for preventing fraud becoming clear on the dump list as a result, the update timing of the processing result is also clarified on the program source code or on the dump list, in particular (processing It is possible to artificially verify the legitimacy of the program for the prevention of To become. Here, since the program for preventing fraudulent acts is likely to differ in specification among gaming machine manufacturers, it is highly necessary to artificially verify the legitimacy, but by configuring in this way, It is possible to reduce the effort for verifying a program for preventing fraud.

本態様(6)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第一制御領域にて配置されている前記プログラムにおける呼び出し命令があった場合であって、前記第二制御領域にて配置されている前記プログラムに従い前記CPUが処理を実行する際においては、当該呼び出し命令に基づく前記第二制御領域にて配置されている前記プログラムに従う前記CPUの処理結果を、当該呼び出し命令から復帰した後で前記第一制御領域にて配置されている前記プログラムに従い前記CPUが処理を実行する際において参照可能に構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (6),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
In the case where there is a call instruction in the program arranged in the first control area, the CPU performs the processing according to the program arranged in the second control area. After the processing result of the CPU according to the program arranged in the second control area based on the call instruction is returned from the call instruction, the CPU follows the program arranged in the first control area. A gaming machine characterized in that it is configured to be able to refer to when performing processing.

本態様(6)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (6), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(6)に係る回胴式遊技機によれば、更に、第二制御領域内に存在しCPUからアクセスされるプログラムは、第一制御領域内に存在しCPUからアクセスされるプログラムにおける呼び出し命令があった場合においてCPUによる処理が実行可能となる。その際には、当該呼び出し命令から復帰した時点で記憶されている情報として、例えば、CPU内のレジスタで保持されている情報(即ち、当該呼び出し命令から復帰する直前に第二制御領域内に存在しCPUからアクセスされるプログラムで処理していた処理結果)を、第一制御領域内に存在しCPUからアクセスされるプログラムへ引き渡すことが可能となる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの主従関係を構築でき、従となる不正行為防止用のプログラムの処理結果を引き継いで、主となる遊技性仕様を実装するためのプログラムを実行可能となる。ここで、主となる遊技性仕様を実装するためのプログラムは、秘匿性の高い情報を処理し得るため、不正行為防止用の情報を外部から取り込み得る従となる不正行為防止用のプログラムの処理結果を無暗に引き渡してしまうと、セキュリティ性の低下に繋がってしまう恐れがあるが、不正行為防止用のプログラムの実行タイミングを、この呼び出し命令があった場合に限定できるため、プログラムソースコード上又はダンプリスト上において、不正行為防止用のプログラムの実行タイミングが視覚上明確となる結果、処理結果の引き渡しタイミングについても、プログラムソースコード上又はダンプリスト上において明確化されることにより、特に、(処理結果の引き渡しタイミングを含め)不正行為防止用のプログラムの正当性を人為的に検証することが容易となる。ここで、不正行為防止用のプログラムは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、このように構成しておくことで、不正行為防止用のプログラムについて検証するための労力を低減できる。   According to the reel-type game machine according to aspect (6), the program existing in the second control area and accessed by the CPU is further called a call in the program existing in the first control area and accessed by the CPU When there is an instruction, processing by the CPU becomes executable. In that case, for example, information stored in a register in the CPU (that is, existing in the second control area immediately before returning from the call instruction) as information stored when returning from the call instruction It is possible to deliver the processing result (which has been processed by the program accessed from the CPU) to the program that exists in the first control area and is accessed by the CPU. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, it is possible to build a master-slave relationship between the program for implementing the gameplay specification and the program for preventing cheating, and inheriting the processing result of the cheating program to be subordinate, the main game It is possible to execute a program for implementing the sex specification. Here, since the program for implementing the main game characteristic specification can process highly confidential information, the processing of a subordinate cheating program that can acquire information for preventing cheating from the outside If the result is handed over silently, there is a risk that the security will be degraded. However, since the execution timing of the program for preventing fraudulent activity can be limited to this call instruction, it is possible to Or as a result of the execution timing of the program for preventing fraud becoming clear on the dump list, the delivery timing of the processing result is also clarified on the program source code or dump list, in particular ( Artificially correct the program's fraud prevention program, including the delivery It becomes easy to testify. Here, since the program for preventing fraudulent acts is likely to differ in specification among gaming machine manufacturers, it is highly necessary to artificially verify the legitimacy, but by configuring in this way, It is possible to reduce the effort for verifying a program for preventing fraud.

本態様(7)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第一制御領域にて配置されている前記プログラムに従う前記CPUの処理によって、第1エラー(例えば、ステップ1208に示される、メダル払出装置Hが遊技メダルで満杯となった事象)を検出した場合に第1エラーに伴うエラー処理(例えば、ステップ1210に示される、メダル満杯エラー状態の制御処理)を実行可能に構成され、
前記第二制御領域にて配置されている前記プログラムに従う前記CPUの処理によって、第2エラー(例えば、ステップ1044に示される、設定値に係るデータが正常範囲内でない事象)を検出した場合に第2エラーに伴うエラー処理(例えば、ステップ1048及びステップ1300に示される、復帰不可能エラー処理)を実行可能に構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (7),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
When a first error (for example, the event that the medal payout device H becomes full with game medals shown in step 1208) is detected by the processing of the CPU according to the program arranged in the first control area To be able to execute an error process (for example, the control process for a medal full error state shown in step 1210) associated with the first error,
When a second error (for example, an event shown in step 1044, data relating to a set value is not within the normal range) is detected by the processing of the CPU according to the program arranged in the second control area (2) A gaming machine characterized in that it is configured to be able to execute error processing (for example, non-returnable error processing shown in step 1048 and step 1300) associated with an error.

本態様(7)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (7), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(7)に係る回胴式遊技機によれば、更に、第一制御領域内に存在しCPUからアクセスされるプログラムによって処理される第1エラーに伴うエラー処理と、第二制御領域内に存在しCPUからアクセスされるプログラムによって処理される第2エラーに伴うエラー処理とを、プログラムソースコード上又はダンプリスト上において、明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、第1エラーに伴うエラー処理を、遊技進行上において(即ち、不正行為がなされなくとも)発生し得るエラーとし、第2エラーに伴うエラー処理は、不正行為がなされた際において発生し得るエラーとし、両者のエラー処理が果たす役割が異なることを明確化することができる。ここで、不正行為防止用のプログラムは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、第2エラーに伴うエラー処理の必要性を、第1エラーに伴うエラー処理と対比して検証することが容易となることにより、不正行為防止用のプログラムについて検証するための労力を低減できる。   According to the reeling type gaming machine according to the aspect (7), the error processing associated with the first error processed by the program which is present in the first control area and is accessed by the CPU, and the second control area And the error processing associated with the second error processed by the program accessed by the CPU can be clearly separated on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, the error processing associated with the first error is regarded as an error that may occur on the game (that is, even if there is no cheating), and the error processing associated with the second error is cheating. It can be clarified that the error processing can be generated in the above and the roles played by the two error processing are different. Here, since the program for preventing fraudulent acts is likely to differ in specification among gaming machine manufacturers, it is highly necessary to artificially verify the legitimacy, but the necessity of error processing associated with the second error Since it is easy to verify against the error processing associated with the first error, it is possible to reduce the effort for verifying the program for preventing fraud.

本態様(8)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、RAM(例えば、内蔵RAMC120)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記RAMは、
前記第一制御領域にて配置されている前記プログラムに従う前記CPUによる処理結果データを記憶する第一情報格納領域(例えば、第1RAM領域)と、
前記第二制御領域にて配置されている前記プログラムに従う前記CPUによる処理結果データを記憶する第二情報格納領域(例えば、第2RAM領域)と
を有し、
前記第一情報格納領域に記憶された処理結果データ及び前記第二情報格納領域に記憶された処理結果データの誤り検出を行う際には、前記第一情報格納領域に記憶された処理結果データに関する誤り検出用情報に基づく誤り検出(例えば、チェックサムチェックを行う手法)と前記第二情報格納領域に記憶された処理結果データに関する誤り検出用情報に基づく誤り検出(例えば、チェックサムチェックを行う手法)とを別々に行うよう構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to aspect (8),
A gaming machine comprising a ROM (for example, a built-in ROM C110), a RAM (for example, a built-in RAM C120), and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
The RAM is
A first information storage area (for example, a first RAM area) for storing processing result data by the CPU according to the program disposed in the first control area;
A second information storage area (for example, a second RAM area) for storing processing result data by the CPU according to the program arranged in the second control area;
When error detection is performed on the processing result data stored in the first information storage area and the processing result data stored in the second information storage area, the processing related data stored in the first information storage area Error detection based on error detection information (for example, a method of performing a checksum check) and error detection based on error detection information on processing result data stored in the second information storage area (for example, a method of performing a checksum check) And the like are separately configured.

本態様(8)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (8), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(8)に係る回胴式遊技機によれば、更に、第一制御領域内に存在しCPUからアクセスされるプログラムによって処理される処理結果と、第二制御領域内に存在しCPUからアクセスされるプログラムによって処理される処理結果とを、別々の情報格納領域へ格納することができ、その際には、当該格納された処理結果の誤り検出を行う際に、夫々の情報格納領域に対して別々に誤り検出を行うことができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、遊技性仕様を実装するためのプログラムによって処理される処理結果と不正行為防止用のプログラムによって処理される処理結果とが混在して格納されないことを担保でき、且つ、当該格納された処理結果が仮に破壊された場合、当該双方の処理結果のいずれが破壊されたのかを明確に知ることができる。よって、例えば、不正行為防止用のプログラムによって処理される処理結果の重要性が低い場合には、仮に不正行為防止用のプログラムによって処理される処理結果が破壊されてしまった場合であっても、遊技性仕様を実装するためのプログラムによって処理される処理結果が破壊されずに保持されていれば、処理を続行させるよう構成することも可能となる。   According to the reeling type gaming machine according to the present aspect (8), the processing result to be processed by the program which is present in the first control area and accessed by the CPU, and which is present in the second control area The processing results processed by the program to be accessed can be stored in separate information storage areas, and in that case, when performing error detection of the stored processing results, each information storage area can be stored. Error detection can be performed separately. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, it is possible to ensure that the processing result processed by the program for implementing the game characteristic specification and the processing result processed by the program for preventing fraudulent activity are not mixedly stored, and the storage If the processed result is temporarily destroyed, it is possible to clearly know which of the two processed results is destroyed. Thus, for example, if the importance of the processing result processed by the cheating prevention program is low, even if the processing result processed by the cheating prevention program is destroyed, If the processing result processed by the program for implementing the game characteristic specification is held without being destroyed, it can be configured to continue the processing.

本態様(9)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、RAM(例えば、内蔵RAMC120)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記RAMは、
前記第一制御領域にて配置されている前記プログラムに従う前記CPUによる処理結果データを記憶する第一情報格納領域(例えば、第1RAM領域)と、
前記第二制御領域にて配置されている前記プログラムに従う前記CPUによる処理結果データを記憶する第二情報格納領域(例えば、第2RAM領域)と
を有し、
前記第一情報格納領域に記憶された処理結果データ及び前記第二情報格納領域に記憶された処理結果データの誤り検出を行う際には、前記第一情報格納領域に記憶された処理結果データと前記第二情報格納領域に記憶された処理結果データとを通算した誤り検出用情報に基づき誤り検出を行う(例えば、チェックサムチェックを行う手法)よう構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (9),
A gaming machine comprising a ROM (for example, a built-in ROM C110), a RAM (for example, a built-in RAM C120), and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
The RAM is
A first information storage area (for example, a first RAM area) for storing processing result data by the CPU according to the program disposed in the first control area;
A second information storage area (for example, a second RAM area) for storing processing result data by the CPU according to the program arranged in the second control area;
When performing error detection on the processing result data stored in the first information storage area and the processing result data stored in the second information storage area, the processing result data stored in the first information storage area An error detection is performed based on error detection information obtained by calculating the processing result data stored in the second information storage area (for example, a method of performing a checksum check). is there.

本態様(9)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the aspect (9), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(9)に係る回胴式遊技機によれば、更に、第一制御領域内に存在しCPUからアクセスされるプログラムによって処理される処理結果と、第二制御領域内に存在しCPUからアクセスされるプログラムによって処理される処理結果とを、別々の情報格納領域へ格納することができ、その際には、当該格納された処理結果の誤り検出を行う際に、夫々の情報格納領域を統合したものに対して誤り検出を行うことができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、遊技性仕様を実装するためのプログラムによって処理される処理結果と不正行為防止用のプログラムによって処理される処理結果とが混在して格納されないことを担保でき、且つ、当該格納された処理結果が仮に破壊された場合、当該双方の処理結果のいずれかが破壊されたことを簡易的に知ることができる。よって、例えば、不正行為防止用のプログラムによって処理される処理結果の重要性が高い場合には、遊技性仕様を実装するためのプログラムによって処理される処理結果及び不正行為防止用のプログラムによって処理される処理結果のいずれもが破壊されていないことが簡易的に導出できた場合においてのみ、処理を続行させるよう構成することが可能となる。   According to the reeling type gaming machine according to the present aspect (9), the processing result to be processed by the program which is present in the first control area and accessed by the CPU, and which is present in the second control area The processing results processed by the program to be accessed can be stored in separate information storage areas, and in that case, when error detection of the stored processing results is performed, each information storage area is Error detection can be performed on the integrated one. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, it is possible to ensure that the processing result processed by the program for implementing the game characteristic specification and the processing result processed by the program for preventing fraudulent activity are not mixedly stored, and the storage If the processed result is temporarily destroyed, it can be easily known that either of the two processing results is destroyed. Thus, for example, when the importance of the processing result processed by the program for preventing fraud is high, the processing result by the program for implementing the game characteristic specification and the program for preventing fraud are processed. It is possible to configure so as to continue the process only when it is possible to simply derive that none of the process results is destroyed.

本態様(10)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第一制御領域にて配置されている前記プログラムに従う前記CPUの処理によって、所定のセンサ部(例えば、第1投入センサD20sや第2投入センサD30s)からの入力信号に基づき、所定の事象(例えば、ステップ1227に示される、遊技メダルを1枚受け付けた事象)の発生有無を判定可能に構成され、
前記第二制御領域にて配置されている前記プログラムに従う前記CPUの処理によって、前記所定のセンサ部からの入力信号に基づき、遊技進行に係る異常な事象(例えば、ステップ1400のサブルーチンに示される、投入メダル逆流エラーや投入メダル滞留エラー等)の発生有無を判定可能に構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (10),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
By the processing of the CPU according to the program arranged in the first control area, a predetermined event (for example, based on an input signal from a predetermined sensor unit (for example, the first closing sensor D20s or the second closing sensor D30s) For example, it is configured to be able to determine whether or not an event of having received one game medal shown in step 1227).
An abnormal event (for example, indicated in a subroutine of step 1400) related to the game progress based on the input signal from the predetermined sensor unit by the processing of the CPU according to the program arranged in the second control area It is a gaming machine characterized in that it can be judged whether or not an insertion medal backflow error, an insertion medal retention error, etc. has occurred.

本態様(10)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the present aspect (10), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(10)に係る回胴式遊技機によれば、更に、第一制御領域内に存在しCPUからアクセスされるプログラムによってセンサ信号に基づく遊技進行に係る正常な事象の発生有無を判定し、第二制御領域内に存在しCPUからアクセスされるプログラムによってセンサ信号に基づく遊技進行に係る異常な事象の発生有無を判定することができ、いずれの場合においても、同一のセンサ信号に基づく判定とすることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、遊技性仕様を実装するためのプログラムにおいては、当該同一のセンサ信号を遊技進行上必要な入力信号として取り扱い、不正行為防止用のプログラムにおいては、当該同一のセンサ信号を不正行為防止上必要な入力信号として取り扱うことができるため、プログラムソースコード上又はダンプリスト上において、当該同一のセンサ信号の取り扱い方が異なることを明確化することができる。ここで、不正行為防止用のプログラムは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、当該同一のセンサ信号の取り扱い方に関する相違点を対比して検証することが容易となることにより、不正行為防止用のプログラムについて検証するための労力を低減できる。   According to the reeling type gaming machine according to the present aspect (10), it is further determined whether or not the occurrence of a normal event relating to the game progress based on the sensor signal is made by the program existing in the first control area and accessed from the CPU. The presence or absence of an abnormal event related to the game progress based on the sensor signal can be determined by the program existing in the second control area and accessed by the CPU, and in any case, the determination based on the same sensor signal It can be done. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, the same sensor signal is treated as an input signal necessary for proceeding with the game in a program for implementing a game characteristic specification, and in the program for preventing fraudulent action, the same sensor signal is illegal Since it can be handled as an input signal necessary for preventing behavior, it can be clarified that the same sensor signal is handled differently on the program source code or dump list. Here, since the program for preventing fraudulent acts is likely to differ in specification among game machine manufacturers, it is highly necessary to artificially verify the legitimacy, but the difference regarding how to handle the same sensor signal By facilitating point-to-point verification, it is possible to reduce the effort for verifying a program for preventing fraud.

本態様(11)に係る回胴式遊技機は、
ROM(例えば、内蔵ROMC110)と、CPU(例えば、CPUC100)とを備えた遊技機であって、
前記ROMには、アドレスが割り当てられ、前記CPUに対する命令を司るプログラムと、前記プログラムに従い読みだされるデータとが記憶され、
前記ROM内における前記アドレス値が昇順にて連続しているメモリマップ上(例えば、実施例において<メモリマップ>として示した主制御チップCのメモリマップの一例)において、
第一の始点アドレス値から第一の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第一制御領域(例えば、第1ROM領域における第1制御領域)と、
前記第一の終点アドレス値よりも大きい第二の始点アドレス値から第二の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第一データ領域(例えば、第1ROM領域における第1データ領域)と、
前記第二の終点アドレス値よりも大きい第三の始点アドレス値から第三の終点アドレス値まで連続する前記アドレス値に対して前記プログラムが配置されている第二制御領域(例えば、第2ROM領域における第2制御領域)と、
前記第三の終点アドレス値よりも大きい第四の始点アドレス値から第四の終点アドレス値まで連続する前記アドレス値に対して前記データが配置されている第二データ領域(例えば、第2ROM領域における第2データ領域)と
に少なくとも分かれるよう構成され、
前記第一制御領域にて配置されている前記プログラムに従う前記CPUの処理によって、遊技媒体の払出しを指示する制御信号(例えば、ホッパモータ駆動信号)と所定のセンサ部(例えば、第1払出センサH10sや第2払出センサH20s)の非検出時間とに基づき、遊技進行に係る異常な事象である第一異常事象(例えば、ステップ1279に示される、ホッパ駆動後において遊技メダル1枚の払出動作が行われていない事象)の発生有無を判定可能に構成され、
前記第二制御領域にて配置されている前記プログラムに従う前記CPUの処理によって、前記所定のセンサ部の検出時間に基づき、遊技進行に係る異常な事象である第二異常事象(例えば、ステップ1450のサブルーチンに示される、払出メダル滞留エラー)の発生有無を判定可能に構成されている
ことを特徴とする遊技機である。
The drum-type gaming machine according to this aspect (11),
A gaming machine comprising a ROM (for example, a built-in ROM C110) and a CPU (for example, CPUC 100),
An address is assigned to the ROM, and a program that manages an instruction to the CPU and data to be read according to the program are stored.
On a memory map in which the address values in the ROM are continuous in ascending order (for example, an example of a memory map of the main control chip C shown as <memory map> in the embodiment),
A first control area (for example, a first control area in a first ROM area) in which the program is arranged for the address values continuous from a first start point address value to a first end point address value;
A first data area (for example, in a first ROM area) in which the data is arranged for the address value continuing from a second start address value larger than the first end point address value to a second end point address value. The first data area),
A second control area (for example, in a second ROM area) in which the program is arranged for the address value continuing from the third start point address value to the third end point address value larger than the second end point address value. Second control area),
A second data area (for example, in the second ROM area) in which the data is arranged for the address value continuous from the fourth start address value to the fourth end address value larger than the third end address value And at least a second data area),
A control signal (for example, a hopper motor drive signal) instructing payout of gaming media by processing of the CPU according to the program arranged in the first control area and a predetermined sensor unit (for example, the first payout sensor H10s or the like) Based on the non-detection time of the second payout sensor H20s), the first abnormal event (for example, step 1279 shown in step 1279) which is an abnormal event relating to the game progress, the payout operation of one gaming medal is performed after the hopper drive. Can be judged whether or not the
By the processing of the CPU according to the program arranged in the second control area, based on the detection time of the predetermined sensor unit, a second abnormal event (for example, step 1450 This gaming machine is characterized in that it is possible to determine whether or not the occurrence of the payout medal retention error) shown in the subroutine.

本態様(11)に係る回胴式遊技機によれば、第一制御領域内に存在しCPUからアクセスされるプログラムと、第二制御領域内に存在しCPUからアクセスされるプログラムとが、メモリマップ上において離隔して(アドレスが連続しない配置で)配置されているため、プログラムソースコード上又はダンプリスト上において、双方のプログラムの配置位置を視覚上明確に切り分けることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置することで、遊技性仕様を実装するためのプログラムと不正行為防止用のプログラムとの配置位置を、プログラムソースコード上又はダンプリスト上において視覚上明確に切り分けることができるため、双方のプログラムの正当性を人為的に検証することが容易となる。また、第一制御領域内に存在しCPUからアクセスされるプログラムの方が、第二制御領域内に存在しCPUからアクセスされるプログラムよりも若いアドレスに配置されているため、CPUが最初に実行するプログラムを第一制御領域内に存在しCPUからアクセスされるプログラム(即ち、遊技性仕様を実装するためのプログラム)に限定することが容易となる。   According to the reeling type gaming machine according to the present aspect (11), the program existing in the first control area and accessed by the CPU, and the program existing in the second control area and accessed by the CPU are memory Since they are arranged at a distance (in a non-consecutive arrangement of addresses) on the map, the arrangement positions of both programs can be clearly distinguished visually on the program source code or dump list. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud By arranging as a program, the arrangement position of the program for implementing the game characteristic specification and the program for preventing tampering can be clearly distinguished visually on the program source code or on the dump list. It becomes easy to artificially verify the legitimacy of the program. In addition, since the program existing in the first control area and accessed by the CPU is located at a smaller address than the program existing in the second control area and accessed by the CPU, the CPU is executed first. It becomes easy to limit the programs to be stored in the first control area to the programs accessed by the CPU (that is, the programs for implementing the game characteristic specification).

本態様(11)に係る回胴式遊技機によれば、更に、第一制御領域内に存在しCPUからアクセスされるプログラムによってセンサ信号に基づく遊技進行に係る「軽度となる」異常な事象の発生有無を判定し、第二制御領域内に存在しCPUからアクセスされるプログラムによってセンサ信号に基づく遊技進行に係る「重度となる」異常な事象の発生有無を判定することができ、いずれの場合においても、同一のセンサ信号に基づく判定とすることができる。その結果、例えば、第一制御領域内に存在しCPUからアクセスされるプログラム=遊技性仕様を実装するためのプログラム、第二制御領域内に存在しCPUからアクセスされるプログラム=不正行為防止用のプログラムとして配置した場合、遊技性仕様を実装するためのプログラムにおいては、当該同一のセンサ信号を通常の遊技進行上において発生し得るエラー検出に必要な入力信号として取り扱い、不正行為防止用のプログラムにおいては、当該同一のセンサ信号を不正行為防止上必要な(即ち、通常の遊技進行上においては発生し難いエラー検出に必要な)入力信号として取り扱うことができるため、プログラムソースコード上又はダンプリスト上において、当該同一のセンサ信号の取り扱い方が異なることを明確化することができる。ここで、不正行為防止用のプログラムは、遊技機メーカー毎に仕様が相違し易いため、正当性を人為的に検証する必要性が高いものとなるが、当該同一のセンサ信号の取り扱い方に関する相違点を対比して検証することが容易となることにより、不正行為防止用のプログラムについて検証するための労力を低減できる。   According to the reel-type game machine according to the present aspect (11), the “light” abnormal event related to the game progress based on the sensor signal by the program that is present in the first control area and accessed from the CPU The presence or absence can be determined, and the presence or absence of the “severe” abnormal event related to the game progress based on the sensor signal can be determined by the program existing in the second control area and accessed by the CPU, in any case In the above, it is possible to make a determination based on the same sensor signal. As a result, for example, a program existing in the first control area and accessed by the CPU = a program for implementing the game characteristic specification, a program existing in the second control area and accessed by the CPU = for preventing fraud When arranged as a program, in the program for implementing the game characteristic specification, the same sensor signal is treated as an input signal necessary for detecting an error that may occur during normal game progression, and the program for preventing fraudulent activity Can treat the same sensor signal as an input signal necessary for preventing tampering (that is, it is necessary for error detection that is unlikely to occur in the normal course of a game), therefore, on the program source code or dump list Clearly indicate that the handling of the same sensor signal is different. . Here, since the program for preventing fraudulent acts is likely to differ in specification among game machine manufacturers, it is highly necessary to artificially verify the legitimacy, but the difference regarding how to handle the same sensor signal By facilitating point-to-point verification, it is possible to reduce the effort for verifying a program for preventing fraud.

P 回胴式遊技機、DU 前扉(ドア)
D 扉基板、D10s 投入受付センサ
D20s 第1投入センサ、D30s 第2投入センサ
D40 停止ボタン、D41 左停止ボタン
D42 中停止ボタン、D43 右停止ボタン
D50 スタートレバー、D60 精算ボタン
D70 表示パネル、D80 扉スイッチ
D90 コインシュータ、D100 ブロッカ
D130 上パネル、D140 下パネル
D150 装飾ランプユニット、D160 リール窓
D170 メダル投入口、D180 操作状態表示灯
D190 払出数表示装置、D200 クレジット数表示装置
D210 投入数表示灯、D220 ベットボタン
D230 メダル受け皿、D240 放出口
D250 特別遊技状態表示装置、D260 鍵穴
M 主制御基板、M10 設定扉スイッチ
M20 設定キースイッチ、M30 設定/リセットボタン
C 主制御チップ、M50 リール
M51 左リール、M52 中リール
M53 右リール
S 副制御基板、S10 LEDランプ
S20 スピーカ、S30 回胴バックライト
S40 演出表示装置、SC 副制御チップ
E 電源基板、E10 電源スイッチ
H メダル払出装置、H10s 第1払出センサ
H20s 第2払出センサ、H40 ホッパ
H50 ディスク、H50a ディスク回転軸
H60 遊技メダル出口、H70 放出付勢手段
H80 ホッパモータ
K 回胴基板、K10 回胴モータ
K20 回胴センサ
IN 中継基板
P Throttle type game machine, DU front door (door)
D door board, D10s closing acceptance sensor D20s first closing sensor, D30s second closing sensor D40 stop button, D41 left stop button D42 middle stop button, D43 right stop button D50 start lever, D60 settlement button D70 display panel, D80 door switch D90 coin shooter, D100 blocker D130 upper panel, D140 lower panel D150 decoration lamp unit, D160 reel window D170 medal insertion slot, D180 operation status indicator D190 payout number display device, D200 credit number display device D210 dosage number indicator light, D220 bet Button D230 medal receiver, D240 outlet D250 special game status display device, D260 keyhole M main control board, M10 setting door switch M20 setting key switch, M30 setting / reset button C main Control chip, M50 reel M51 left reel, M52 middle reel M53 right reel S secondary control board, S10 LED lamp S20 speaker, S30 single-body backlight S40 effect display device, SC secondary control chip E power board, E10 power switch H medal payout Device, H10s first dispensing sensor H20s second dispensing sensor, H40 hopper H50 disc, H50a disc rotating shaft H60 game medal outlet, H70 releasing biasing means H80 hopper motor K rotating body substrate, K10 rotating body motor K20 rotating body sensor IN relay substrate

Claims (1)

ROM領域として、
プログラムが記憶されている第一制御領域と、
データが記憶されている第一データ領域と、
プログラムが記憶されている第二制御領域と、
データが記憶されている第二データ領域と
少なくとも有し、
RAM領域として、
前記第一制御領域に記憶されていプログラム処理結果情報を記憶可能な第一情報格納領域と、
前記第二制御領域に記憶されていプログラム処理結果情報を記憶可能な第二情報格納領域と
少なくとも有し、
前記第一制御領域に記憶されているプログラムによって、電源断が発生したか否かを判断し、電源断が発生したと判断した場合には、前記第二制御領域に記憶されているプログラムにより、前記RAM領域の情報に基づいて誤り検出用情報を算出可能とし、前記第二制御領域に記憶されているプログラムにより、算出した誤り検出用情報を前記第二情報格納領域の所定の記憶領域に記憶可能とし、その後に、前記第一制御領域に記憶されているプログラムによって、リセット待ちのループ処理を実行可能とし、リセット待ちのループ処理において、電圧状態が復帰したか否かの判断はしない
ことを特徴とする遊技機。
As ROM area,
A first control area in which the program is stored ,
A first data area in which data is stored ;
A second control area in which the program is stored ,
A second data area in which data is stored and
At least it has,
As a RAM area,
And processing result information can be stored a first data storage area of the program that is stored in the first control region,
Comprising at least a said second control region capable of storing the processing result information of the program that is stored in a second information storage area,
Based on the program stored in the first control area, it is determined whether or not the power failure has occurred, and when it is determined that the power failure has occurred, the program stored in the second control area is: The error detection information can be calculated based on the information in the RAM area, and the calculated error detection information is stored in a predetermined storage area of the second information storage area by the program stored in the second control area. After that, the loop process waiting for reset can be executed by the program stored in the first control area, and it is not judged in the loop process waiting for reset whether the voltage state is recovered or not <br A game machine characterized by
JP2014240660A 2014-11-27 2014-11-27 Gaming machine Active JP6503704B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014240660A JP6503704B2 (en) 2014-11-27 2014-11-27 Gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014240660A JP6503704B2 (en) 2014-11-27 2014-11-27 Gaming machine

Publications (2)

Publication Number Publication Date
JP2016101282A JP2016101282A (en) 2016-06-02
JP6503704B2 true JP6503704B2 (en) 2019-04-24

Family

ID=56087806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014240660A Active JP6503704B2 (en) 2014-11-27 2014-11-27 Gaming machine

Country Status (1)

Country Link
JP (1) JP6503704B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4390924B2 (en) * 1999-08-30 2009-12-24 株式会社平和 Game machine
JP4146976B2 (en) * 1999-11-17 2008-09-10 任天堂株式会社 Card game machine
JP2005152617A (en) * 2003-10-27 2005-06-16 Daiichi Shokai Co Ltd Game machine
JP5144204B2 (en) * 2007-10-11 2013-02-13 株式会社エルイーテック Game machine security chip and game machine verification machine
JP5083886B2 (en) * 2007-12-05 2012-11-28 株式会社大都技研 Amusement stand
JP5552609B2 (en) * 2008-03-03 2014-07-16 株式会社高尾 Game machine
JP5514982B2 (en) * 2010-06-15 2014-06-04 株式会社高尾 Microcomputer chip for gaming machine control
JP6496528B2 (en) * 2014-11-07 2019-04-03 株式会社三共 Game machine

Also Published As

Publication number Publication date
JP2016101282A (en) 2016-06-02

Similar Documents

Publication Publication Date Title
JP6432310B2 (en) Game machine
JP6547325B2 (en) Gaming machine
JP6376034B2 (en) Game machine
JP6578653B2 (en) Game machine
JP6197826B2 (en) Game machine
JP6398775B2 (en) Game machine
JP6572611B2 (en) Game machine
JP6659939B2 (en) Gaming machine
JP6387808B2 (en) Game machine
JP6398776B2 (en) Game machine
JP6604027B2 (en) Game machine
JP6572613B2 (en) Game machine
JP6578652B2 (en) Game machine
JP6503704B2 (en) Gaming machine
JP6503706B2 (en) Gaming machine
JP6503705B2 (en) Gaming machine
JP6507593B2 (en) Gaming machine
JP6592889B2 (en) Game machine
JP6659940B2 (en) Gaming machine
JP6376033B2 (en) Game machine
JP6582399B2 (en) Game machine
JP6592888B2 (en) Game machine
JP6604028B2 (en) Game machine
JP6572614B2 (en) Game machine
JP6572612B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180731

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180914

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190311

R150 Certificate of patent or registration of utility model

Ref document number: 6503704

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250