JP2009261661A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2009261661A
JP2009261661A JP2008115265A JP2008115265A JP2009261661A JP 2009261661 A JP2009261661 A JP 2009261661A JP 2008115265 A JP2008115265 A JP 2008115265A JP 2008115265 A JP2008115265 A JP 2008115265A JP 2009261661 A JP2009261661 A JP 2009261661A
Authority
JP
Japan
Prior art keywords
signal
counter
processing
game
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008115265A
Other languages
Japanese (ja)
Other versions
JP2009261661A5 (en
JP5610113B2 (en
Inventor
Takashi Nasu
隆 那須
Shunichi Sekiguchi
俊一 関口
Masamitsu Sato
正光 佐藤
Yasuharu Hamashima
泰治 浜島
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.)
Sanyo Bussan Co Ltd
Original Assignee
Sanyo Bussan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Bussan Co Ltd filed Critical Sanyo Bussan Co Ltd
Priority to JP2008115265A priority Critical patent/JP5610113B2/en
Publication of JP2009261661A publication Critical patent/JP2009261661A/en
Publication of JP2009261661A5 publication Critical patent/JP2009261661A5/ja
Application granted granted Critical
Publication of JP5610113B2 publication Critical patent/JP5610113B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a game machine capable of reducing the displacement generated between the operation of a player and the advancement of a game. <P>SOLUTION: A microcomputer constituted mainly of a CPU 102 is mounted in a main control device 101. A first clock circuit 103, an input and output port 104 in addition to a power device 91 are connected to the CPU 102 via an inner bus. Various kinds of sensors such as a start detecting sensor 41a are connected to the input side of the main control device 101 and the signals from the various kinds of sensors are output to the CPU 102 via the input and output port 104. Here, the CPU 102 carries out interruption waiting processing before carrying out a predetermined determination processing when carrying out the determination processing based on the signal input condition from sensors. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、スロットマシン等の遊技機に関するものである。   The present invention relates to a gaming machine such as a slot machine.

例えばスロットマシンでは、各リールの外周部に複数の図柄が付与されており、表示窓を通じて各リールに付与された図柄の一部が視認可能な構成となっている。そして、遊技者がメダルを投入することで有効ラインが設定され、その後、遊技者がスタートレバーを操作することでスロットマシンの内部にてビッグボーナス(以下、「BB」と言う)役や小役、再遊技といった役の抽選が行われるとともに各リールが回転を開始し、各リールが回転を開始した後にストップスイッチを操作することで各リールが順次停止して1回のゲームが終了する。そして、全てのリールが回転を停止した際に有効ライン上に当選した役と対応する図柄の組合せが停止すると入賞となり、メダルが払い出される特典や遊技状態が移行される特典等が遊技者に付与される。このように、スロットマシンでは、スタートレバーやストップスイッチ等の操作部材が操作されることによって遊技が進行する。また、上記操作がなされたか否かの判定は、操作部材に接続されたセンサからの信号入力状況に基づいて行うことが一般的である(例えば特許文献1参照)。   For example, in a slot machine, a plurality of symbols are given to the outer peripheral portion of each reel, and a part of the symbols given to each reel is visible through a display window. Then, when the player inserts a medal, an effective line is set, and then the player operates the start lever to play a big bonus (hereinafter referred to as “BB”) role or small role in the slot machine. In addition, a lottery such as a re-game is performed and each reel starts to rotate. After each reel starts to rotate, each reel is sequentially stopped to finish one game. When all reels stop rotating, the winning combination will be awarded if the combination of the winning combination on the active line is stopped, and the player will receive a medal reward or a game state transition privilege. Is done. In this way, in the slot machine, the game progresses by operating operation members such as a start lever and a stop switch. Moreover, it is common to determine whether or not the above operation has been performed based on a signal input state from a sensor connected to the operation member (see, for example, Patent Document 1).

特開2007−325888号公報JP 2007-325888 A

ところで、操作部材の操作によって遊技が進行する遊技機においては、センサからの信号入力状況を確認する処理と、遊技者による操作がなされたか否かを判定する処理と、の間に生じるタイムラグを低減させることが望ましい。状況によっては、遊技者の行った操作と実際の遊技の進行との間にずれが生じる可能性が懸念されるからである。   By the way, in a gaming machine in which a game progresses by operating an operation member, a time lag generated between a process of checking a signal input state from a sensor and a process of determining whether or not an operation by a player has been performed is reduced. It is desirable to make it. This is because, depending on the situation, there is a concern that there may be a difference between the operation performed by the player and the actual progress of the game.

なお、以上の問題は、上記例示したようなスロットマシンに限らず、所定条件の検出に基づいて遊技を進行させる他の遊技機にも該当する問題である。   The above problem is not limited to the slot machines as exemplified above, but also applies to other gaming machines that advance a game based on detection of a predetermined condition.

本発明は上記例示した事情等に鑑みてなされたものであり、所定条件の検出と遊技の進行との間に生じるずれを低減させることが可能な遊技機を提供することを目的とするものである。   The present invention has been made in view of the above-mentioned circumstances, and an object thereof is to provide a gaming machine capable of reducing a deviation that occurs between detection of a predetermined condition and progress of a game. is there.

以下、上記課題を解決するのに有効な手段等につき、必要に応じて効果等を示しつつ説明する。なお以下においては、理解の容易のため、発明の実施の形態において対応する構成を括弧書き等で適宜示すが、この括弧書き等で示した具体的構成に限定されるものではない。   Hereinafter, effective means for solving the above-described problems will be described while showing effects and the like as necessary. In the following, for easy understanding, the corresponding configuration in the embodiment of the invention is appropriately shown in parentheses, but is not limited to the specific configuration shown in parentheses.

手段1.遊技を進行させるべく操作される操作手段(クレジット投入スイッチ56〜58等)と、
前記操作手段が操作されたことに基づいて第1信号を出力するとともに、前記操作手段が操作されていないことに基づいて前記第1信号を非出力とする信号出力手段(クレジット投入検出センサ56a〜58a等)と
を備え、前記信号出力手段からの信号入力状況に基づいて遊技を進行させる遊技機において、
第1処理(通常処理)を行う第1処理実行手段(CPU102)と、
前記信号出力手段からの信号入力状況を確認する状況確認処理(センサ監視処理S107)を含む第2処理(タイマ割込み処理)を定期的に行う第2処理実行手段(CPU102)と
を備え、
前記第1処理実行手段は、
特定処理(割込み待ち処理)を行う特定処理実行手段(CPU102)と、
前記特定処理が終了した場合、前記状況確認処理の処理結果を用いて遊技の進行に関わる第3処理(通常処理におけるS307、S606等)を行う第3処理実行手段(CPU102)と
を有し、
前記特定処理実行手段は、
前記特定処理を開始した後に前記第2処理が行われたか否かを確認する確認処理(割込み待ち処理におけるS407)を行う確認処理実行手段(CPU102)と、
前記確認処理実行手段が前記第2処理が行われたことを確認した場合、前記特定処理を終了させる終了手段(CPU102)と
を有することを特徴とする遊技機。
Means 1. Operating means (such as credit insertion switches 56 to 58) operated to advance the game;
Signal output means (credit input detection sensors 56a to 56a) which outputs a first signal based on the operation means being operated and which does not output the first signal based on the operation means not being operated. 58a etc.), and a gaming machine that advances the game based on the signal input status from the signal output means,
First process execution means (CPU 102) for performing a first process (normal process);
Second processing execution means (CPU 102) for periodically performing second processing (timer interrupt processing) including status confirmation processing (sensor monitoring processing S107) for confirming the signal input status from the signal output means,
The first process execution means includes:
Specific processing execution means (CPU 102) for performing specific processing (interrupt waiting processing);
Third processing execution means (CPU 102) for performing a third process (S307, S606, etc. in the normal process) related to the progress of the game using the processing result of the situation confirmation process when the specific process is completed,
The specific process executing means includes
Confirmation processing execution means (CPU 102) for performing confirmation processing (S407 in the interrupt wait processing) for confirming whether or not the second processing has been performed after starting the specific processing;
A gaming machine, comprising: an end means (CPU 102) for ending the specific process when the confirmation process execution means confirms that the second process has been performed.

本手段によれば、第1処理と、定期的に行われる第2処理と、がある。第2処理は、信号出力手段からの信号入力状況を確認する状況確認処理を有している。第1処理は、第2処理が行われた場合に終了される特定処理と、特定処理が終了した場合に状況確認処理の処理結果を用いて行われる第3処理と、を有している。定期的に行われる第2処理において信号出力手段からの信号入力状況を確認する構成とすることにより、処理構成の簡略化を図ることが可能となる。また、特定処理を当該特定処理の開始後に第2処理が行われた場合に終了される構成とすることにより、特定処理が開始されてから終了されるまでの間に、少なくとも1回は第2処理を行うことができ、信号出力手段からの信号入力状況を確認することができる。さらに、特定処理が終了した場合に遊技の進行に関わる第3処理が行われる構成とすることにより、第2処理が終了してから第3処理が行われるまでの間隔を短縮させることが可能となる。以上の結果、操作手段の操作状況に即した状況確認処理の処理結果を用いて第3処理を行うことが可能となり、遊技者による操作という所定条件の検出と遊技の進行との間に生じるずれを低減させることが可能となる。   According to this means, there are a first process and a second process performed periodically. The second process includes a status confirmation process for confirming the signal input status from the signal output means. The first process includes a specific process that is terminated when the second process is performed, and a third process that is performed using the processing result of the status confirmation process when the specific process is terminated. By adopting a configuration in which the signal input status from the signal output means is confirmed in the second processing performed periodically, the processing configuration can be simplified. In addition, by configuring the specific process to be terminated when the second process is performed after the start of the specific process, the second process is performed at least once between the start of the specific process and the end of the specific process. Processing can be performed, and the signal input status from the signal output means can be confirmed. Furthermore, by adopting a configuration in which the third process related to the progress of the game is performed when the specific process is completed, it is possible to shorten the interval from the completion of the second process to the third process being performed. Become. As a result, the third process can be performed using the processing result of the status confirmation process in accordance with the operating status of the operating means, and a deviation that occurs between the detection of a predetermined condition of operation by the player and the progress of the game Can be reduced.

手段2.上記手段1において、前記第1処理実行手段は、規定条件(当選確率設定処理におけるスタートレバー41の操作、開始待ち処理における開始指令の発生)が成立するまで前記第1処理を繰り返し行うことを特徴とする遊技機。   Mean 2. In the above means 1, the first process execution means repeatedly performs the first process until a prescribed condition (operation of the start lever 41 in the winning probability setting process, generation of a start command in the start waiting process) is satisfied. A gaming machine.

本手段によれば、第1処理は規定条件が成立するまで繰り返し行われる。当該第1処理内で特定処理及び第3処理を行う構成とすることにより、遊技機が誤動作することを回避することが可能となる。仮に、第3処理の前段階で特定処理を行わない構成とした場合、状況確認処理を行ってから次に状況確認処理を行うまでの期間に第1処理を複数回行う可能性が考えられ、前記期間に第1処理を複数回行った場合、状況確認処理の同じ処理結果を用いて第3処理を複数回行うこととなる。これは、操作手段の1回の操作に対して対応する動作を複数回行うこととなり、遊技者等の意図しない動作となる可能性がある。一方、第3処理の前に特定処理を行う構成においては、第1処理を繰り返し行う場合であっても状況確認処理が少なくとも1回行われるのを待った上で第3処理を行うことができるため、上記懸念を好適に解消することができる。   According to this means, the first process is repeated until the specified condition is satisfied. With the configuration in which the specific process and the third process are performed in the first process, it is possible to avoid malfunction of the gaming machine. If the specific process is not performed in the previous stage of the third process, there is a possibility that the first process may be performed a plurality of times during the period from the situation confirmation process to the next situation confirmation process. When the first process is performed a plurality of times during the period, the third process is performed a plurality of times using the same processing result of the situation confirmation process. This means that an operation corresponding to one operation of the operation means is performed a plurality of times, which may result in an unintended operation by the player or the like. On the other hand, in the configuration in which the specific process is performed before the third process, the third process can be performed after waiting for the situation confirmation process to be performed at least once even when the first process is repeated. The above concerns can be preferably solved.

手段3.上記手段2において、遊技者等により操作される所定操作手段(スタートレバー41)と、前記所定操作手段が操作されたことに基づいて前記第1信号を出力するとともに、前記所定操作手段が操作されていないことに基づいて前記第1信号を非出力とする所定信号出力手段(スタート検出センサ41a)と、を備え、前記規定条件は、前記所定信号出力手段から前記第1信号が出力されたことに基づいて成立することを特徴とする遊技機。   Means 3. In the means 2, the predetermined operation means (start lever 41) operated by a player or the like and the first signal are output based on the operation of the predetermined operation means, and the predetermined operation means is operated. Predetermined signal output means (start detection sensor 41a) that does not output the first signal based on the fact that the first signal is not output, and the prescribed condition is that the first signal is output from the predetermined signal output means A game machine characterized by being established based on the above.

本手段によれば、所定操作手段が操作されたことに基づいて規定条件が成立する。かかる構成においては、規定条件の成立タイミングが遊技者等による所定操作手段の操作に依存することとなり、所定操作手段がいつ操作されるのかによって第1処理の繰り返し回数が変化することとなる。このため、第1処理内で行われる第3処理の前で特定処理を行う構成とすることにより、遊技機が誤動作することを好適に回避することが可能となる。   According to this means, the prescribed condition is established based on the operation of the predetermined operation means. In such a configuration, the establishment timing of the prescribed condition depends on the operation of the predetermined operation means by the player or the like, and the number of repetitions of the first process changes depending on when the predetermined operation means is operated. For this reason, it is possible to preferably avoid malfunction of the gaming machine by performing the specific process before the third process performed in the first process.

手段4.上記手段1において、前記第1処理実行手段は、第4処理(当選確率設定処理におけるS303〜S308、開始前準備処理S604〜S620)を行う第4処理実行手段(CPU102)と、前記第4処理が終了した場合に規定条件(当選確率設定処理におけるスタートレバー41の操作、開始待ち処理における開始指令の発生)が成立したか否かの判定処理(当選確率設定処理におけるS305、開始待ち処理におけるS620)を行う判定処理実行手段(CPU102)と、前記規定条件が成立していない場合に前記第4処理に復帰させる処理を行う復帰処理実行手段(CPU102)と、前記規定条件が成立した場合に前記第4処理を終了させる処理を行う第4処理終了実行手段(CPU102)と、を備え、前記第4処理実行手段が、前記特定処理実行手段及び前記第3処理実行手段を有することを特徴とする遊技機。   Means 4. In the means 1, the first process execution means includes a fourth process execution means (CPU 102) for performing a fourth process (S303 to S308 in the winning probability setting process, pre-start preparation processes S604 to S620), and the fourth process. Determination process (S305 in the winning probability setting process, S620 in the start waiting process) whether or not the prescribed conditions (operation of the start lever 41 in the winning probability setting process, generation of start command in the start waiting process) are satisfied. Determination processing execution means (CPU 102) for performing the processing), return processing execution means (CPU 102) for performing processing for returning to the fourth process when the prescribed condition is not satisfied, and the processing when the prescribed condition is satisfied. 4th process completion execution means (CPU102) which performs the process which complete | finishes a 4th process, The said 4th process execution means Gaming machine which comprises said specific process executing means and said third processing executing means.

本手段によれば、規定条件が成立するまで繰り返し行われる第4処理があり、当該第4処理内で特定処理及び第3処理が行われる。かかる構成とすることにより、遊技機が誤動作することを回避することが可能となる。仮に、第3処理の前段階で特定処理を行わない構成とした場合、状況確認処理を行ってから次に状況確認処理を行うまでの期間に第4処理を複数回行う可能性が考えられ、前記期間に第4処理を複数回行った場合、状況確認処理の同じ処理結果を用いて第3処理を複数回行うこととなる。これは、操作手段の1回の操作に対して対応する動作を複数回行うこととなり、遊技者等の意図しない動作となる可能性がある。一方、第3処理の前に特定処理を行う構成においては、第4処理を繰り返し行う場合であっても状況確認処理が少なくとも1回行われるのを待った上で第3処理を行うことができるため、上記懸念を好適に解消することができる。   According to this means, there is a fourth process that is repeatedly performed until the prescribed condition is satisfied, and the specific process and the third process are performed within the fourth process. With such a configuration, it is possible to avoid malfunction of the gaming machine. If the specific process is not performed in the previous stage of the third process, there is a possibility that the fourth process may be performed a plurality of times during the period from the situation confirmation process to the next situation confirmation process. When the fourth process is performed a plurality of times during the period, the third process is performed a plurality of times using the same processing result of the situation confirmation process. This means that an operation corresponding to one operation of the operation means is performed a plurality of times, which may result in an unintended operation by the player or the like. On the other hand, in the configuration in which the specific process is performed before the third process, the third process can be performed after waiting for the situation confirmation process to be performed at least once even when the fourth process is repeated. The above concerns can be preferably solved.

手段5.上記手段4において、遊技者等により操作される所定操作手段(スタートレバー41)と、前記所定操作手段が操作されたことに基づいて前記第1信号を出力するとともに、前記所定操作手段が操作されていないことに基づいて前記第1信号を非出力とする所定信号出力手段(スタート検出センサ41a)と、を備え、前記判定処理実行手段は、前記所定信号出力手段から前記第1信号が出力されたことに基づいて前記規定条件が成立したと判定することを特徴とする遊技機。   Means 5. In the means 4, a predetermined operation means (start lever 41) operated by a player or the like and the first signal are output based on the operation of the predetermined operation means, and the predetermined operation means is operated. Predetermined signal output means (start detection sensor 41a) for not outputting the first signal based on the fact that the first signal is not output, and the determination processing execution means outputs the first signal from the predetermined signal output means Based on the above, it is determined that the prescribed condition is satisfied.

本手段によれば、所定操作手段が操作されたことに基づいて規定条件が成立する。かかる構成においては、規定条件の成立タイミングが遊技者等による所定操作手段の操作に依存することとなり、所定操作手段がいつ操作されるのかによって第4処理の繰り返し回数が変化することとなる。このため、第4処理内で行われる第3処理の前で特定処理を行う構成とすることにより、遊技機が誤動作することを好適に回避することが可能となる。   According to this means, the prescribed condition is established based on the operation of the predetermined operation means. In such a configuration, the establishment timing of the prescribed condition depends on the operation of the predetermined operation means by the player or the like, and the number of repetitions of the fourth process changes depending on when the predetermined operation means is operated. For this reason, it becomes possible to avoid suitably that a gaming machine malfunctions by setting it as the structure which performs a specific process before the 3rd process performed within a 4th process.

手段6.上記手段1乃至手段5のいずれかにおいて、前記第3処理実行手段は、前記第3処理として、前記状況確認処理の処理結果が前記第1信号の入力を示す処理結果である場合に前記操作手段の操作がなされたと判定する処理を行い、前記状況確認処理の処理結果が前記第1信号の非入力を示す処理結果である場合に前記操作手段の操作がなされていないと判定する処理を行うことを特徴とする遊技機。   Means 6. In any one of the above means 1 to 5, the third process execution means is the operation means when the processing result of the status confirmation process is a process result indicating the input of the first signal as the third process. And a process for determining that the operation means is not operated when the process result of the status confirmation process is a process result indicating non-input of the first signal. A gaming machine characterized by

本手段によれば、第3処理では、状況確認処理の処理結果を用いて操作手段が操作されたか否かを判定する処理を行う。このような第3処理の前段階で特定処理を行うことにより、操作手段の操作状況に即した状況確認処理の処理結果を用いて第3処理を行うことが可能となり、遊技者による操作と遊技の進行との間に生じるずれを低減させることが可能となる。   According to this means, in the third process, a process for determining whether or not the operating means has been operated using the processing result of the status confirmation process is performed. By performing the specific process in the previous stage of the third process, it becomes possible to perform the third process using the processing result of the status confirmation process in accordance with the operation status of the operation means. It is possible to reduce the deviation that occurs during the progress of the process.

手段7.上記手段1乃至手段5のいずれかにおいて、前記状況確認処理の処理結果を記憶する記憶手段(RAM106のセンサ情報格納エリア112)を備え、前記記憶手段を、前記状況確認処理の最新の処理結果を記憶する第1記憶領域(第1エリア112a)と、前記最新の処理結果以前の処理結果を記憶する第2記憶領域(第2エリア112b、第3エリア112c)と、を有する構成としたことを特徴とする遊技機。   Mean 7 Any one of the above means 1 to 5 includes storage means (sensor information storage area 112 of the RAM 106) for storing the processing result of the situation confirmation processing, and the storage means stores the latest processing result of the situation confirmation processing. The configuration has a first storage area (first area 112a) for storing and a second storage area (second area 112b, third area 112c) for storing the processing results before the latest processing result. A featured gaming machine.

本手段によれば、記憶手段には、状況確認処理の最新の処理結果と、それ以前の処理結果とが記憶される。かかる構成とすることにより、第1信号が出力状態から非出力状態に切り替わったことや非出力状態から出力状態に切り替わったこと、すなわち信号入力状況の履歴を記憶手段に記憶することが可能となる。   According to this means, the latest processing result of the status confirmation process and the previous processing result are stored in the storage means. With such a configuration, it is possible to store the history of the signal input status in the storage unit when the first signal is switched from the output state to the non-output state, or from the non-output state to the output state. .

手段8.上記手段7において、前記第3処理実行手段は、前記第1記憶領域に記憶された情報と、前記第2記憶領域に記憶された情報と、を用いて前記第3処理を行うことを特徴とする遊技機。   Means 8. In the above means 7, the third process execution means performs the third process by using information stored in the first storage area and information stored in the second storage area. To play.

本手段によれば、信号入力状況の履歴を用いて第3処理が行われる。かかる構成とすることにより、操作手段の操作が開始されたタイミング又は操作手段の操作が終了したタイミングを用いて第3処理を行うことが可能となる。また特に、手段2乃至手段5のいずれかの構成に適用した場合には、繰り返し第3処理を行った場合であってもその都度信号入力状況の履歴が変化するため、遊技機が誤動作することを好適に回避することが可能となる。   According to this means, the third process is performed using the history of the signal input status. With this configuration, it is possible to perform the third process using the timing at which the operation unit is started or the operation unit is ended. In particular, when applied to any of the configurations of means 2 to 5, even if the third process is repeatedly performed, the history of signal input status changes each time, so that the gaming machine malfunctions. Can be preferably avoided.

手段9.上記手段8において、前記第3処理実行手段は、前記第3処理として、前記第1記憶領域及び前記第2記憶領域に記憶された情報が予め定めた特定情報(「011」)である場合に前記操作手段の操作がなされたと判定する処理を行い、前記第1記憶領域及び前記第2記憶領域に記憶された情報が前記特定情報でない場合に前記操作手段の操作がなされていないと判定する処理を行うことを特徴とする遊技機。   Means 9. In the means 8, the third process execution means, as the third process, when the information stored in the first storage area and the second storage area is predetermined specific information ("011"). Processing for determining that the operation means has been operated, and determining that the operation means has not been operated when the information stored in the first storage area and the second storage area is not the specific information A gaming machine characterized by

本手段によれば、第3処理では、第1記憶領域及び第2記憶領域に記憶された情報が特定情報であるか否かによって操作手段が操作されたか否かを判定する処理を行う。このような第3処理の前段階で特定処理を行うことにより、操作手段の操作状況に即した状況確認処理の処理結果を用いて第3処理を行うことが可能となり、遊技者による操作と遊技の進行との間に生じるずれを低減させることが可能となる。   According to this means, in the third process, a process is performed for determining whether or not the operating means has been operated based on whether or not the information stored in the first storage area and the second storage area is specific information. By performing the specific process in the previous stage of the third process, it becomes possible to perform the third process using the processing result of the status confirmation process in accordance with the operation status of the operation means. It is possible to reduce the deviation that occurs during the progress of the process.

手段10.開始条件の成立を検出する開始条件検出手段(CPU102の開始指令が発生したと判断する機能S620)と、
前記開始条件が成立したことに基づいて抽選を行う抽選手段(CPU102の抽選処理機能S505)と、
前記開始条件が成立したことに基づいて絵柄の可変表示を開始させるとともに、前記抽選手段の抽選結果に基づいた停止結果となるよう前記絵柄の可変表示を終了させる表示制御手段(CPU102のリール制御処理機能)と、
前記抽選手段の抽選結果が当選であって特定停止結果(当選図柄の組合せが有効ライン上に停止する停止結果)となった場合、遊技者に特典(メダル払出、BB状態への移行等)を付与する特典付与手段(CPU102のメダル払出処理機能S507、BB状態処理機能S508等)と
を備え、前記開始条件が成立したことに基づいて遊技が開始され、前記絵柄の可変表示が終了したこと又は前記特典付与手段が前記特典を付与したことに基づいて前記遊技が終了する遊技機において、
遊技を進行させるべく操作される操作手段(クレジット投入スイッチ56〜58等)と、
前記操作手段が操作されたことに基づいて第1信号を出力するとともに、前記操作手段が操作されていないことに基づいて前記第1信号を非出力とする信号出力手段(クレジット投入検出センサ56a〜58a等)と、
第1処理(通常処理)を行う第1処理実行手段(CPU102)と、
前記信号出力手段からの信号入力状況を確認する状況確認処理(センサ監視処理S107)を含む第2処理(タイマ割込み処理)を定期的に行う第2処理実行手段(CPU102)と
を備え、
前記第1処理実行手段は、
特定処理(割込み待ち処理)を行う特定処理実行手段(CPU102)と、
前記特定処理が終了した場合、前記状況確認処理の処理結果を用いて遊技の進行に関わる第3処理(通常処理におけるS307、S606等)を行う第3処理実行手段(CPU102)と
を有し、
前記特定処理実行手段は、
前記特定処理を開始した後に前記第2処理が行われたか否かを確認する確認処理(割込み待ち処理におけるS407)を行う確認処理実行手段(CPU102)と、
前記確認処理実行手段が前記第2処理が行われたことを確認した場合、前記特定処理を終了させる終了手段(CPU102)と
を有することを特徴とする遊技機。
Means 10. Start condition detection means (function S620 for determining that a start instruction of the CPU 102 has been generated) for detecting establishment of the start condition;
Lottery means (lottery processing function S505 of the CPU 102) for performing lottery based on the establishment of the start condition;
Display control means (reel control processing of the CPU 102) starts the variable display of the picture based on the establishment of the start condition, and ends the variable display of the picture so that the stop result is based on the lottery result of the lottery means. Function)
When the lottery result of the lottery means is a win and a specific stop result (a stop result in which the combination of winning symbols stops on the active line), a privilege (medal payout, transition to the BB state, etc.) is given to the player. Bonus granting means (a medal payout processing function S507 of the CPU 102, a BB state processing function S508, etc.), and a game is started based on the establishment of the start condition, and the variable display of the pattern is completed or In the gaming machine in which the game ends based on the privilege granting means granting the privilege,
Operating means (such as credit insertion switches 56 to 58) operated to advance the game;
Signal output means (credit input detection sensors 56a to 56a) which outputs a first signal based on the operation means being operated and which does not output the first signal based on the operation means not being operated. 58a etc.)
First process execution means (CPU 102) for performing a first process (normal process);
Second processing execution means (CPU 102) for periodically performing second processing (timer interrupt processing) including status confirmation processing (sensor monitoring processing S107) for confirming the signal input status from the signal output means,
The first process execution means includes:
Specific processing execution means (CPU 102) for performing specific processing (interrupt waiting processing);
Third processing execution means (CPU 102) for performing a third process (S307, S606, etc. in the normal process) related to the progress of the game using the processing result of the situation confirmation process when the specific process is completed,
The specific process executing means includes
Confirmation processing execution means (CPU 102) for performing confirmation processing (S407 in the interrupt wait processing) for confirming whether or not the second processing has been performed after starting the specific processing;
A gaming machine, comprising: an end means (CPU 102) for ending the specific process when the confirmation process execution means confirms that the second process has been performed.

本手段によれば、第1処理と、定期的に行われる第2処理と、がある。第2処理は、信号出力手段からの信号入力状況を確認する状況確認処理を有している。第1処理は、第2処理が行われた場合に終了される特定処理と、特定処理が終了した場合に状況確認処理の処理結果を用いて行われる第3処理と、を有している。定期的に行われる第2処理において信号出力手段からの信号入力状況を確認する構成とすることにより、処理構成の簡略化を図ることが可能となる。また、特定処理を当該特定処理の開始後に第2処理が行われた場合に終了される構成とすることにより、特定処理が開始されてから終了されるまでの間に、少なくとも1回は第2処理を行うことができ、信号出力手段からの信号入力状況を確認することができる。さらに、特定処理が終了した場合に遊技の進行に関わる第3処理が行われる構成とすることにより、第2処理が終了してから第3処理が行われるまでの間隔を短縮させることが可能となる。以上の結果、操作手段の操作状況に即した状況確認処理の処理結果を用いて第3処理を行うことが可能となり、遊技者による操作という所定条件の検出と遊技の進行との間に生じるずれを低減させることが可能となる。   According to this means, there are a first process and a second process performed periodically. The second process includes a status confirmation process for confirming the signal input status from the signal output means. The first process includes a specific process that is terminated when the second process is performed, and a third process that is performed using the processing result of the status confirmation process when the specific process is terminated. By adopting a configuration in which the signal input status from the signal output means is confirmed in the second processing performed periodically, the processing configuration can be simplified. In addition, by configuring the specific process to be terminated when the second process is performed after the start of the specific process, the second process is performed at least once between the start of the specific process and the end of the specific process. Processing can be performed, and the signal input status from the signal output means can be confirmed. Furthermore, by adopting a configuration in which the third process related to the progress of the game is performed when the specific process is completed, it is possible to shorten the interval from the completion of the second process to the third process being performed. Become. As a result, the third process can be performed using the processing result of the status confirmation process in accordance with the operating status of the operating means, and a deviation that occurs between the detection of a predetermined condition of operation by the player and the progress of the game Can be reduced.

手段11.所定条件を検出する検出手段(クレジット投入スイッチ56〜58等)と、
前記所定条件の検出に基づいて第1信号を出力する信号出力手段(クレジット投入検出センサ56a〜58a等)と
を備え、前記信号出力手段からの信号入力状況に基づいて遊技を進行させる遊技機において、
第1処理(通常処理)を行う第1処理実行手段(CPU102)と、
前記信号出力手段からの信号入力状況を確認する状況確認処理(センサ監視処理S107)を含む第2処理(タイマ割込み処理)を定期的に行う第2処理実行手段(CPU102)と
を備え、
前記第1処理実行手段は、
特定処理(割込み待ち処理)を行う特定処理実行手段(CPU102)と、
前記特定処理が終了した場合、前記状況確認処理の処理結果を用いて遊技の進行に関わる第3処理(通常処理におけるS307、S606等)を行う第3処理実行手段(CPU102)と
を有し、
前記特定処理実行手段は、
前記特定処理を開始した後に前記第2処理が行われたか否かを確認する確認処理(割込み待ち処理におけるS407)を行う確認処理実行手段(CPU102)と、
前記確認処理実行手段が前記第2処理が行われたことを確認した場合、前記特定処理を終了させる終了手段(CPU102)と
を有することを特徴とする遊技機。
Means 11. Detection means for detecting a predetermined condition (such as credit insertion switches 56 to 58);
In a gaming machine comprising signal output means (such as credit insertion detection sensors 56a to 58a) for outputting a first signal based on the detection of the predetermined condition, and advancing a game based on a signal input status from the signal output means ,
First process execution means (CPU 102) for performing a first process (normal process);
Second processing execution means (CPU 102) for periodically performing second processing (timer interrupt processing) including status confirmation processing (sensor monitoring processing S107) for confirming the signal input status from the signal output means,
The first process execution means includes:
Specific processing execution means (CPU 102) for performing specific processing (interrupt waiting processing);
Third processing execution means (CPU 102) for performing a third process (S307, S606, etc. in the normal process) related to the progress of the game using the processing result of the situation confirmation process when the specific process is completed,
The specific process executing means includes
Confirmation processing execution means (CPU 102) for performing confirmation processing (S407 in the interrupt wait processing) for confirming whether or not the second processing has been performed after starting the specific processing;
A gaming machine, comprising: an end means (CPU 102) for ending the specific process when the confirmation process execution means confirms that the second process has been performed.

本手段によれば、第1処理と、定期的に行われる第2処理と、がある。第2処理は、信号出力手段からの信号入力状況を確認する状況確認処理を有している。第1処理は、第2処理が行われた場合に終了される特定処理と、特定処理が終了した場合に状況確認処理の処理結果を用いて行われる第3処理と、を有している。定期的に行われる第2処理において信号出力手段からの信号入力状況を確認する構成とすることにより、処理構成の簡略化を図ることが可能となる。また、特定処理を当該特定処理の開始後に第2処理が行われた場合に終了される構成とすることにより、特定処理が開始されてから終了されるまでの間に、少なくとも1回は第2処理を行うことができ、信号出力手段からの信号入力状況を確認することができる。さらに、特定処理が終了した場合に遊技の進行に関わる第3処理が行われる構成とすることにより、第2処理が終了してから第3処理が行われるまでの間隔を短縮させることが可能となる。以上の結果、所定条件の検出に即した状況確認処理の処理結果を用いて第3処理を行うことが可能となり、所定条件の検出と遊技の進行との間に生じるずれを低減させることが可能となる。   According to this means, there are a first process and a second process performed periodically. The second process includes a status confirmation process for confirming the signal input status from the signal output means. The first process includes a specific process that is terminated when the second process is performed, and a third process that is performed using the processing result of the status confirmation process when the specific process is terminated. By adopting a configuration in which the signal input status from the signal output means is confirmed in the second processing performed periodically, the processing configuration can be simplified. In addition, by configuring the specific process to be terminated when the second process is performed after the start of the specific process, the second process is performed at least once between the start of the specific process and the end of the specific process. Processing can be performed, and the signal input status from the signal output means can be confirmed. Furthermore, by adopting a configuration in which the third process related to the progress of the game is performed when the specific process is completed, it is possible to shorten the interval from the completion of the second process to the third process being performed. Become. As a result, the third process can be performed using the processing result of the status confirmation process in accordance with the detection of the predetermined condition, and the deviation that occurs between the detection of the predetermined condition and the progress of the game can be reduced. It becomes.

請求項1に記載の発明では、遊技を進行させるべく操作される操作手段と、前記操作手段が操作されたことに基づいて第1信号を出力するとともに、前記操作手段が操作されていないことに基づいて前記第1信号を非出力とする信号出力手段とを備え、前記信号出力手段からの信号入力状況に基づいて遊技を進行させる遊技機において、第1処理を行う第1処理実行手段と、前記信号出力手段からの信号入力状況を確認する状況確認処理を含む第2処理を定期的に行う第2処理実行手段とを備え、前記第1処理実行手段は、特定処理を行う特定処理実行手段と、前記特定処理が終了した場合、前記状況確認処理の処理結果を用いて遊技の進行に関わる第3処理を行う第3処理実行手段とを有し、前記特定処理実行手段は、前記特定処理を開始した後に前記第2処理が行われたか否かを確認する確認処理を行う確認処理実行手段と、前記確認処理実行手段が前記第2処理が行われたことを確認した場合、前記特定処理を終了させる終了手段とを有することを特徴とする。かかる構成とすることにより、所定条件の検出と遊技の進行との間に生じるずれを低減させることが可能となる。   In the first aspect of the present invention, the operation means operated to advance the game, the first signal is output based on the operation means being operated, and the operation means is not operated. A first process execution unit that performs a first process in a gaming machine that includes a signal output unit that does not output the first signal based on the signal input status from the signal output unit; Second process execution means for periodically performing a second process including a status confirmation process for confirming a signal input status from the signal output means, wherein the first process execution means performs a specific process. And a third process execution means for performing a third process related to the progress of the game using the processing result of the situation confirmation process when the specific process is completed, and the specific process execution means Start A confirmation processing execution means for performing confirmation processing for confirming whether or not the second processing has been performed, and the identification processing is terminated when the confirmation processing execution means confirms that the second processing has been performed. And ending means. By adopting such a configuration, it is possible to reduce a deviation that occurs between the detection of the predetermined condition and the progress of the game.

以下、遊技機の一種である回胴式遊技機、具体的にはスロットマシンに適用した場合の一実施の形態を、図面に基づいて詳細に説明する。図1はスロットマシン10の正面図、図2はスロットマシン10の前面扉12を閉じた状態の斜視図、図3はスロットマシン10の前面扉12を開いた状態の斜視図、図4は前面扉12の背面図、図5は筐体11の正面図である。   Hereinafter, an embodiment in the case of application to a spinning cylinder type gaming machine, which is a kind of gaming machine, specifically, a slot machine will be described in detail with reference to the drawings. 1 is a front view of the slot machine 10, FIG. 2 is a perspective view of the slot machine 10 with the front door 12 closed, FIG. 3 is a perspective view of the slot machine 10 with the front door 12 opened, and FIG. 5 is a rear view of the door 12, and FIG.

図1〜図5に示すように、スロットマシン10は、その外殻を形成する筐体11を備えている。筐体11は、全体として前面を開放した箱状に形成されており、遊技ホールへの設置の際にいわゆる島設備に対し釘を打ち付ける等して取り付けられる。   As shown in FIGS. 1 to 5, the slot machine 10 includes a housing 11 that forms an outer shell thereof. The casing 11 as a whole is formed in a box shape with the front face open, and is attached by, for example, driving nails against a so-called island facility when installed in the game hall.

筐体11の前面側には、前面扉12が開閉可能に取り付けられている。すなわち、筐体11には、その正面から見て左側部に上下一対の支軸13a,13bが設けられており、前面扉12には、各支軸13a,13bと対応する位置に軸受部14a,14bが設けられている。そして、各軸受部14a,14bに各支軸13a,13bが挿入された状態では、前面扉12が筐体11に対して両支軸13a,13bを結ぶ上下方向へ延びる開閉軸線を中心として回動可能に支持され、前面扉12の回動によって筐体11の前面開放側を開放したり閉鎖したりすることができるようになっている。また、前面扉12は、その裏面に設けられた施錠装置20によって開放不能な施錠状態とされる。前面扉12の右端側上部には、施錠装置20と一体化されたキーシリンダ21が設けられており、キーシリンダ21に対する所定のキー操作によって前記施錠状態が解除されるように構成されている。   A front door 12 is attached to the front side of the housing 11 so as to be openable and closable. That is, the housing 11 is provided with a pair of upper and lower support shafts 13a and 13b on the left side when viewed from the front, and the front door 12 has a bearing portion 14a at a position corresponding to each support shaft 13a and 13b. , 14b are provided. When the support shafts 13a and 13b are inserted into the bearing portions 14a and 14b, the front door 12 rotates about an opening / closing axis extending in the vertical direction connecting the support shafts 13a and 13b to the housing 11. The front door 12 can be opened and closed by rotating the front door 12 so as to be movable. Further, the front door 12 is brought into a locked state that cannot be opened by a locking device 20 provided on the back surface thereof. A key cylinder 21 that is integrated with the locking device 20 is provided on the upper right side of the front door 12, and is configured such that the locked state is released by a predetermined key operation on the key cylinder 21.

前面扉12の中央部上寄りには、遊技者に遊技状態を報知する遊技パネル25が設けられている。遊技パネル25には、縦長の3つの表示窓26L,26M,26Rが横並びに形成されており、各表示窓26L,26M,26Rを通じてスロットマシン10の内部が視認可能な状態となっている。なお、各表示窓26L,26M,26Rを1つにまとめて共通の表示窓としてもよい。   A game panel 25 for notifying the player of the game state is provided above the center of the front door 12. The game panel 25 is formed with three vertically long display windows 26L, 26M, and 26R, and the inside of the slot machine 10 is visible through the display windows 26L, 26M, and 26R. The display windows 26L, 26M, and 26R may be combined into a single display window.

図3に示すように、筐体11は仕切り板30によりその内部が上下2分割されており、仕切り板30の上部には、可変表示手段を構成するリールユニット31が取り付けられている。リールユニット31は、円筒状(円環状)にそれぞれ形成された左リール32L,中リール32M,右リール32Rを備えている。各リール32L,32M,32Rは、その中心軸線が当該リールの回転軸線となるように回転可能に支持されている。各リール32L,32M,32Rの回転軸線は略水平方向に延びる同一軸線上に配設され、それぞれのリール32L,32M,32Rが各表示窓26L,26M,26Rと1対1で対応している。したがって、各リール32L,32M,32Rの表面の一部はそれぞれ対応する表示窓26L,26M,26Rを通じて視認可能な状態となっている。また、リール32L,32M,32Rが正回転すると、各表示窓26L,26M,26Rを通じてリール32L,32M,32Rの表面は上から下へ向かって移動しているかのように映し出される。   As shown in FIG. 3, the inside of the housing 11 is divided into upper and lower parts by a partition plate 30, and a reel unit 31 constituting variable display means is attached to the upper part of the partition plate 30. The reel unit 31 includes a left reel 32L, a middle reel 32M, and a right reel 32R each formed in a cylindrical shape (annular shape). Each of the reels 32L, 32M, and 32R is rotatably supported so that the central axis thereof is the rotation axis of the reel. The rotation axes of the reels 32L, 32M, and 32R are disposed on the same axis extending in the substantially horizontal direction, and the reels 32L, 32M, and 32R correspond to the display windows 26L, 26M, and 26R on a one-to-one basis. . Accordingly, a part of the surface of each reel 32L, 32M, 32R is visible through the corresponding display windows 26L, 26M, 26R. Further, when the reels 32L, 32M, and 32R are rotated forward, the surfaces of the reels 32L, 32M, and 32R are projected as if moving from top to bottom through the display windows 26L, 26M, and 26R.

ここで、リールユニット31の構成を簡単に説明する。   Here, the configuration of the reel unit 31 will be briefly described.

各リール32L,32M,32Rは、それぞれがステッピングモータに連結されており、各ステッピングモータの駆動により各リール32L,32M,32Rが個別に、すなわちそれぞれ独立して回転駆動し得る構成となっている。ステッピングモータは、例えば504パルスの駆動信号(以下、励磁パルスとも言う。)を与えることにより1回転されるように設定されており、この励磁パルスによってステッピングモータの回転位置、すなわちリールの回転位置が制御される。また、リールユニット31には、リールが1回転したことを検出するためのリールインデックスセンサが各リール32L,32M,32Rに設置されている。そして、リールインデックスセンサからは、リールが1回転したことを検出した場合、その検出の都度、後述する主制御装置101に検出信号が出力されるようになっている。このため主制御装置101は、リールインデックスセンサの検出信号と、当該検出信号が入力されるまでに出力した励磁パルス数とに基づいて、各リール32L,32M,32Rの角度位置を1回転毎に確認するとともに補正することができる。   Each of the reels 32L, 32M, and 32R is connected to a stepping motor, and each reel 32L, 32M, and 32R can be individually rotated, that is, independently driven by the driving of each stepping motor. . For example, the stepping motor is set to rotate once by giving a drive signal of 504 pulses (hereinafter also referred to as an excitation pulse), and the rotation position of the stepping motor, that is, the rotation position of the reel is determined by this excitation pulse. Be controlled. In the reel unit 31, a reel index sensor for detecting that the reel has made one rotation is installed on each of the reels 32L, 32M, and 32R. When the reel index sensor detects that the reel has made one rotation, a detection signal is output to the main controller 101 described later each time the reel is detected. Therefore, main controller 101 determines the angular position of each reel 32L, 32M, 32R for each rotation based on the detection signal of the reel index sensor and the number of excitation pulses output until the detection signal is input. It can be confirmed and corrected.

各リール32L,32M,32Rの外周面には、その長辺方向(周回方向)に、識別情報としての図柄が複数個描かれている。より具体的には、21個の図柄が等間隔に描かれている。このため、所定の位置においてある図柄を次の図柄へ切り替えるには、24パルス(=504パルス÷21図柄)の励磁パルスの出力を要する。また、主制御装置101は、リールインデックスセンサの検出信号が入力されてから出力した励磁パルス数により、表示窓26L,26M,26Rから視認可能な状態となっている図柄を把握したり、表示窓26L,26M,26Rから視認可能な位置に所定の図柄を停止させたりする制御を行うことができる。   On the outer peripheral surface of each reel 32L, 32M, 32R, a plurality of symbols as identification information are drawn in the long side direction (circumferential direction). More specifically, 21 symbols are drawn at equal intervals. Therefore, in order to switch the symbol at a predetermined position to the next symbol, it is necessary to output 24 pulses (= 504 pulses / 21 symbols) of excitation pulses. Further, the main control device 101 grasps the symbols visible from the display windows 26L, 26M, and 26R based on the number of excitation pulses output after the detection signal of the reel index sensor is input, or displays the display window. It is possible to perform control to stop a predetermined symbol at a position where it can be visually recognized from 26L, 26M, and 26R.

次に、各リール32L,32M,32Rに描かれている図柄について説明する。   Next, the symbols drawn on the reels 32L, 32M, 32R will be described.

図6には、左リール32L,中リール32M,右リール32Rの図柄配列が示されている。同図に示すように、各リール32L,32M,32Rには、それぞれ21個の図柄が一列に配置されている。また、各リール32L,32M,32Rに対応して番号が0〜20まで付されているが、これら番号は主制御装置101が表示窓26L,26M,26Rから視認可能な状態となっている図柄を認識するための番号であり、リール32L,32M,32Rに実際に付されているわけではない。但し、以下の説明では当該番号を使用して説明する。   FIG. 6 shows a symbol arrangement of the left reel 32L, the middle reel 32M, and the right reel 32R. As shown in the figure, 21 symbols are arranged in a line on each of the reels 32L, 32M, and 32R. Further, numbers from 0 to 20 are assigned to the reels 32L, 32M, and 32R. These numbers are symbols that are visible to the main controller 101 from the display windows 26L, 26M, and 26R. Is a number for recognizing and not actually attached to the reels 32L, 32M, 32R. However, in the following description, the number is used for explanation.

図柄としては、「星」図柄(例えば、左リール32Lの20番目)、「チェリー」図柄(例えば、左リール32Lの19番目)、「青年」図柄(例えば、左リール32Lの18番目)、「ベル」図柄(例えば、左リール32Lの17番目)、「リプレイ」図柄(例えば、左リール32Lの16番目)、「白7」図柄(例えば、左リール32Lの15番目)、「スイカ」図柄(例えば、左リール32Lの14番目)、「赤7」図柄(例えば、左リール32Lの3番目)の8種類がある。そして、図6に示すように、各リール32L,32M,32Rにおいて各種図柄の数や配置順序は全く異なっている。   As symbols, “star” symbol (for example, 20th of left reel 32L), “cherry” symbol (for example, 19th of left reel 32L), “youth” symbol (for example, 18th of left reel 32L), “ “Bell” symbol (for example, 17th of left reel 32L), “Replay” symbol (for example, 16th of left reel 32L), “White 7” symbol (for example, 15th of left reel 32L), “Watermelon” symbol ( For example, there are eight types of 14th of the left reel 32L) and “red 7” symbol (for example, the third of the left reel 32L). As shown in FIG. 6, the number and arrangement order of various symbols on the reels 32L, 32M, and 32R are completely different.

各表示窓26L,26M,26Rは、対応するリールに付された21個の図柄のうち図柄全体を視認可能となる図柄が3個となるように形成されている。このため、各リール32L,32M,32Rがすべて停止している状態では、3×3=9個の図柄が表示窓26L,26M,26Rを介して視認可能な状態となる。   Each of the display windows 26L, 26M, and 26R is formed so that there are three symbols from which the entire symbol can be visually recognized out of the twenty-one symbols attached to the corresponding reel. Therefore, when all the reels 32L, 32M, and 32R are stopped, 3 × 3 = 9 symbols are visible through the display windows 26L, 26M, and 26R.

本スロットマシン10では、これら9個の図柄が視認可能となる各位置を結ぶようにして、横方向へ平行に3本、斜め方向へたすき掛けに2本、計5本の組合せラインが設定されている。より詳しくは、図7に示すように、横方向の組合せラインとして、各リール32L,32M,32Rの上段図柄を結んだ上ラインL1と、各リール32L,32M,32Rの中段図柄を結んだ中ラインL2と、各リール32L,32M,32Rの下段図柄を結んだ下ラインL3と、が設定されている。また、斜め方向の組合せラインとして、左リール32Lの上段図柄,中リール32Mの中段図柄,右リール32Rの下段図柄を結んだ右下がりラインL4と、左リール32Lの下段図柄,中リール32Mの中段図柄,右リール32Rの上段図柄を結んだ右上がりラインL5と、が設定されている。そして、有効化された組合せライン、すなわち有効ライン上に図柄が所定の組合せで停止した場合には、入賞成立として、遊技媒体たるメダルが所定数払い出される特典が付与されたり、遊技状態が移行される特典が付与されたりするようになっている。   In this slot machine 10, a total of five combination lines are set, connecting three positions where these nine symbols become visible, three in parallel in the horizontal direction and two in the diagonal direction. ing. More specifically, as shown in FIG. 7, as a combination line in the horizontal direction, the upper line L1 connecting the upper symbols of each reel 32L, 32M, 32R and the middle symbol of each reel 32L, 32M, 32R are connected. A line L2 and a lower line L3 connecting the lower symbols of the reels 32L, 32M, 32R are set. Further, as a combination line in the oblique direction, a lower right line L4 connecting the upper symbol of the left reel 32L, the middle symbol of the middle reel 32M, the lower symbol of the right reel 32R, the lower symbol of the left reel 32L, and the middle symbol of the middle reel 32M. A right rising line L5 connecting the upper symbol of the symbol and the right reel 32R is set. And, when the combination line is activated, that is, when the symbols are stopped in a predetermined combination on the effective line, a privilege that a predetermined number of medals as game media are paid out is given or the gaming state is shifted as winning establishment. Benefits are granted.

図8には、入賞となる図柄の組合せと、入賞となった場合に付与される特典とが示されている。   FIG. 8 shows a combination of symbols for winning and a privilege to be given when winning.

メダル払出が行われる小役入賞としては、ベル入賞と、スイカ入賞と、1枚役入賞と、チェリー入賞とがある。各リール32L,32M,32Rの「ベル」図柄が有効ライン上に並んで停止した場合、ベル入賞として8枚のメダル払出が行われ、各リール32L,32M,32Rの「スイカ」図柄が有効ライン上に並んで停止した場合、スイカ入賞として6枚のメダル払出が行われ、有効ライン上に左から順に「赤7」図柄,「青年」図柄,「白7」図柄と並んで停止した場合、1枚役入賞として1枚のメダル払出が行われる。また、左リール32Lの「チェリー」図柄が有効ライン上に停止した場合、チェリー入賞として2枚のメダル払出が行われる。すなわち、チェリー入賞の場合には、中リール32Mと右リール32Rについて、有効ライン上に停止する図柄がどのような図柄であっても良い。換言すれば、左リール32Lの「チェリー」図柄と、中リール32M及び右リール32Rの任意の図柄との組合せが有効ライン上に停止した場合、チェリー入賞が成立するとも言える。したがって、左リール32Lの複数の有効ラインが重なる位置(具体的には上段と下段)に「チェリー」図柄が停止した場合には、各有効ライン上にてチェリー入賞が成立することとなり、結果として4(=2×2)枚のメダル払出が行われる。本実施の形態では、左リール32Lの「チェリー」図柄が上段又は下段に停止してチェリー入賞が成立するようになっているため、チェリー入賞が成立した場合には4枚のメダル払出が行われる。   Small prizes for which medals are paid out include a bell prize, a watermelon prize, a single prize, and a cherry prize. When the “bell” symbols of the reels 32L, 32M, and 32R are stopped on the effective line, eight medals are paid out as a bell winning, and the “watermelon” symbols of the reels 32L, 32M, and 32R are effective lines. If you stop side by side, 6 medals will be paid out as a watermelon prize, and if you stop alongside the “Red 7” symbol, “Youth” symbol, and “White 7” symbol in order from the left on the active line, One medal is paid out as one winning combination. In addition, when the “cherry” symbol on the left reel 32L stops on the active line, two medals are paid out as a cherry prize. That is, in the case of a cherry winning, any symbol that stops on the active line may be used for the middle reel 32M and the right reel 32R. In other words, if the combination of the “cherry” symbol of the left reel 32L and any symbol of the middle reel 32M and the right reel 32R stops on the active line, it can be said that the cherry prize is established. Therefore, when the “cherry” symbol stops at the position where the plurality of effective lines of the left reel 32L overlap (specifically, the upper stage and the lower stage), a cherry winning will be established on each effective line. 4 (= 2 × 2) medals are paid out. In the present embodiment, the “cherry” symbol on the left reel 32L stops at the upper or lower level so that a cherry winning is achieved, so that when the cherry winning is achieved, four medals are paid out. .

遊技状態の移行のみが行われる状態移行入賞としては、BB入賞がある。各リール32L,32M,32Rの「赤7」図柄が有効ライン上に並んで停止した場合、BB入賞として遊技状態がビッグボーナス状態(以下、「BB状態」と言う。)に移行する。   As a state transition prize in which only the game state transition is performed, there is a BB prize. When the “red 7” symbols of the reels 32L, 32M, and 32R stop alongside the active line, the gaming state shifts to a big bonus state (hereinafter referred to as “BB state”) as a BB winning.

メダル払出や遊技状態の移行以外の特典が付与される入賞としては、再遊技入賞がある。各リール42L,42M,42Rの「リプレイ」図柄が有効ライン上に並んで停止した場合、再遊技入賞として、メダル払出や遊技状態の移行は行われないものの、メダルを投入することなく次ゲームの遊技を行うことが可能な再遊技の特典が付与される。   As a prize to which a privilege other than medal payout or game state transition is given, there is a re-game prize. When the “replay” symbols of the reels 42L, 42M, and 42R stop side by side on the active line, the medals are not paid out or the game state is not transferred as a re-game winning, but the next game is not inserted without inserting medals. A re-game privilege that allows a game to be played is given.

なお以下では、各入賞と対応する図柄の組合せを入賞図柄の組合せとも言う。例えば、再遊技図柄の組合せとは、再遊技入賞となる図柄の組合せ、すなわち「リプレイ」図柄,「リプレイ」図柄,「リプレイ」図柄の組合せである。また、各入賞と対応する各リール32L,32M,32Rの図柄を入賞図柄とも言う。例えば、1枚役図柄とは、左リール32Lにおいては「赤7」図柄であり、中リール32Mにおいては「青年」図柄であり、右リール32Rにおいては「白7」図柄である。   Hereinafter, a combination of symbols corresponding to each prize is also referred to as a combination of winning symbols. For example, the combination of replay symbols is a combination of symbols for a replay prize, that is, a combination of “replay” symbol, “replay” symbol, and “replay” symbol. The symbols of the reels 32L, 32M, and 32R corresponding to the winnings are also referred to as winning symbols. For example, the single-seat symbol is a “red 7” symbol on the left reel 32L, a “youth” symbol on the middle reel 32M, and a “white 7” symbol on the right reel 32R.

遊技パネル25の下方左側には、各リール32L,32M,32Rの回転を開始させるために操作されるスタートレバー41が設けられている。スタートレバー41はリール32L,32M,32Rを回転開始、すなわち図柄の可変表示を開始させるべく操作される開始操作手段又は始動操作手段を構成する。スタートレバー41は、遊技者がゲームを開始するときに手で押し操作するレバーであり、手が離れたあと初期位置に自動復帰する。ちなみに、本スロットマシン10におけるスタートレバー41は、手が離れたあと初期位置に自動復帰するまでに数10msecを要するように構成されている。所定数のメダルが投入されている状態でスタートレバー41を操作された場合、各リール32L,32M,32Rが回転を開始するようになっている。   On the lower left side of the game panel 25, a start lever 41 that is operated to start rotation of the reels 32L, 32M, and 32R is provided. The start lever 41 constitutes start operation means or start operation means operated to start rotation of the reels 32L, 32M, and 32R, that is, to start variable display of symbols. The start lever 41 is a lever that is pushed by the hand when the player starts the game, and automatically returns to the initial position after the hand is released. Incidentally, the start lever 41 in the slot machine 10 is configured to require several tens of milliseconds until it automatically returns to the initial position after the hand is released. When the start lever 41 is operated while a predetermined number of medals are inserted, the reels 32L, 32M, and 32R start to rotate.

スタートレバー41の右側には、回転している各リール32L,32M,32Rを個別に停止させるために操作されるボタン状のストップスイッチ42〜44が設けられている。各ストップスイッチ42〜44は、停止対象となるリール32L,32M,32Rに対応する表示窓26L,26M,26Rの直下にそれぞれ配置されている。すなわち、左ストップスイッチ42が操作された場合には左リール32Lの回転が停止し、中ストップスイッチ43が操作された場合には中リール32Mの回転が停止し、右ストップスイッチ44が操作された場合には右リール32Rの回転が停止する。ストップスイッチ42〜44はリール32L,32M,32Rの回転に基づく図柄の可変表示を停止させるべく操作される停止操作手段を構成する。ストップスイッチ42〜44は、左リール32Lが回転を開始してから所定時間を経過した場合に、停止操作可能な状態となるようになっている。ストップスイッチ42〜44の内部には図示しないランプが設けられており、停止操作可能な状態ではランプが点灯表示され、リールが停止している等の停止操作不可能な状態ではランプが消灯表示されるようになっている。   On the right side of the start lever 41, button-like stop switches 42 to 44 that are operated to individually stop the rotating reels 32L, 32M, and 32R are provided. Each of the stop switches 42 to 44 is disposed immediately below the display windows 26L, 26M, and 26R corresponding to the reels 32L, 32M, and 32R to be stopped. That is, when the left stop switch 42 is operated, the rotation of the left reel 32L is stopped. When the middle stop switch 43 is operated, the rotation of the middle reel 32M is stopped and the right stop switch 44 is operated. In this case, the rotation of the right reel 32R is stopped. The stop switches 42 to 44 constitute stop operation means operated to stop the variable display of symbols based on the rotation of the reels 32L, 32M, 32R. The stop switches 42 to 44 are configured to be in a stopable state when a predetermined time has elapsed after the left reel 32L starts to rotate. A lamp (not shown) is provided inside the stop switches 42 to 44. The lamp is turned on when the stop operation is possible, and the lamp is turned off when the stop operation is impossible such as when the reel is stopped. It has become so.

表示窓26L,26M,26Rの下方右側には、メダルを投入するためのメダル投入口45が設けられている。メダル投入口45は遊技媒体を入力する入力手段を構成する。また、メダル投入口45が遊技者によりメダルを直接投入するという動作を伴う点に着目すれば、遊技媒体を直接入力する直接入力手段を構成するものとも言える。   On the lower right side of the display windows 26L, 26M, 26R, a medal insertion slot 45 for inserting medals is provided. The medal slot 45 constitutes an input means for inputting game media. If attention is paid to the point that the medal insertion slot 45 is directly inserted by the player, it can be said that it constitutes a direct input means for directly inputting the game medium.

メダル投入口45から投入されたメダルは、前面扉12の背面に設けられた通路切替手段としてのセレクタ46によって貯留用通路47か排出用通路48のいずれかへ導かれる。より詳しくは、セレクタ46にはメダル通路切替ソレノイド46aが設けられており、そのメダル通路切替ソレノイド46aの非励磁時にはメダルが排出用通路48側に導かれ、前記メダル通路切替ソレノイド46aの励磁時にはメダルが貯留用通路47側に導かれるようになっている。貯留用通路47に導かれたメダルは、筐体11の内部に収納されたホッパ装置51へと導かれる。一方、排出用通路48に導かれたメダルは、前面扉12の前面下部に設けられたメダル排出口49からメダル受け皿50へと導かれ、遊技者に返還される。   The medals inserted from the medal insertion slot 45 are guided to either the storage passage 47 or the discharge passage 48 by a selector 46 as passage switching means provided on the back surface of the front door 12. More specifically, the selector 46 is provided with a medal path switching solenoid 46a. When the medal path switching solenoid 46a is not excited, the medal is guided to the discharge path 48, and when the medal path switching solenoid 46a is excited, the medal is switched. Is guided to the storage passage 47 side. The medal guided to the storage passage 47 is guided to the hopper device 51 housed inside the housing 11. On the other hand, the medal guided to the discharge passage 48 is guided to the medal tray 50 from the medal discharge port 49 provided in the lower front portion of the front door 12 and returned to the player.

ホッパ装置51は、メダルを貯留する貯留タンク52と、メダルを遊技者に払い出す払出装置53とより構成されている。払出装置53は、図示しないメダル払出用回転板を回転させることにより、排出用通路48に設けられた開口48aへメダルを排出し、排出用通路48を介してメダル受け皿50へメダルを払い出すようになっている。また、ホッパ装置51の右方には、貯留タンク52内に所定量以上のメダルが貯留されることを回避するための予備タンク54が設けられている。ホッパ装置51の貯留タンク52内部には、この貯留タンク52から予備タンク54へとメダルを排出する誘導プレート52aが設けられている。したがって、誘導プレート52aが設けられた高さ以上にメダルが貯留された場合、かかるメダルが予備タンク54に貯留されることとなる。   The hopper device 51 includes a storage tank 52 that stores medals and a payout device 53 that pays out medals to a player. The payout device 53 rotates a medal payout rotating plate (not shown) to discharge the medal to the opening 48 a provided in the discharge passage 48 and to pay out the medal to the medal tray 50 through the discharge passage 48. It has become. In addition, a reserve tank 54 is provided on the right side of the hopper device 51 to avoid storing a predetermined amount or more of medals in the storage tank 52. Inside the storage tank 52 of the hopper device 51, a guide plate 52a for discharging medals from the storage tank 52 to the reserve tank 54 is provided. Therefore, when medals are stored more than the height at which the guide plate 52 a is provided, the medals are stored in the reserve tank 54.

メダル投入口45の下方には、ボタン状の返却スイッチ55が設けられている。メダル投入口45に投入されたメダルがセレクタ46内に詰まった状況下で返却スイッチ55を操作された場合、セレクタ46が機械的に連動して動作され、当該セレクタ46内に詰まったメダルがメダル排出口49から返却されるようになっている。   A button-like return switch 55 is provided below the medal slot 45. When the return switch 55 is operated in a situation where a medal inserted into the medal insertion slot 45 is jammed in the selector 46, the selector 46 is mechanically operated so that the medal jammed in the selector 46 becomes a medal. It is returned from the discharge port 49.

表示窓26L,26M,26Rの下方左側には、遊技媒体としてのクレジットされた仮想メダルを一度に3枚投入するための第1クレジット投入スイッチ56が設けられている。また、第1クレジット投入スイッチ56の左方には、第2クレジット投入スイッチ57と、第3クレジット投入スイッチ58とが設けられている。第2クレジット投入スイッチ57は仮想メダルを一度に2枚投入するためのものであり、第3クレジット投入スイッチ58は仮想メダルを1枚投入するためのものである。各クレジット投入スイッチ56〜58は前記メダル投入口45とともに遊技媒体を入力する入力手段を構成する。また、メダル投入口45が遊技者によりメダルを直接投入するという動作を伴うのに対し、各クレジット投入スイッチ56〜58は貯留記憶に基づく仮想メダルの投入という動作を伴うに過ぎない点に着目すれば、遊技媒体を間接入力する間接入力手段を構成するものとも言える。各クレジット投入スイッチ56〜58の内部には図示しないランプが設けられており、投入操作可能な状態ではランプが点灯表示され、投入操作不可能な状態ではランプが消灯表示されるようになっている。   On the lower left side of the display windows 26L, 26M, 26R, there is provided a first credit insertion switch 56 for inserting three credited virtual medals as game media at a time. Further, a second credit insertion switch 57 and a third credit insertion switch 58 are provided on the left side of the first credit insertion switch 56. The second credit insertion switch 57 is for inserting two virtual medals at a time, and the third credit insertion switch 58 is for inserting one virtual medal. Each of the credit insertion switches 56 to 58 constitutes input means for inputting a game medium together with the medal insertion slot 45. It should be noted that the medal insertion slot 45 is accompanied by an operation of directly inserting a medal by the player, whereas each of the credit insertion switches 56 to 58 is only accompanied by an operation of inserting a virtual medal based on the storage memory. In other words, it can be said to constitute indirect input means for indirectly inputting game media. A lamp (not shown) is provided inside each of the credit insertion switches 56 to 58, and the lamp is turned on when the insertion operation is possible, and the lamp is turned off when the insertion operation is impossible. .

スタートレバー41の左方には、精算スイッチ59が設けられている。すなわち、本スロットマシン10では、所定の最大値(メダル50枚分)となるまでの余剰の投入メダルや入賞時の払出メダルを仮想メダルとして貯留記憶するクレジット機能を有しており、仮想メダルが貯留記憶されている状況下で精算スイッチ59を操作された場合、仮想メダルが現実のメダルとしてメダル排出口49から払い出されるようになっている。この場合、クレジットされた仮想メダルを現実のメダルとして払い出すという機能に着目すれば、精算スイッチ59は貯留記憶された遊技媒体を実際に払い出すための精算操作手段を構成するものとも言える。   A settlement switch 59 is provided on the left side of the start lever 41. In other words, the slot machine 10 has a credit function for storing and storing surplus inserted medals up to a predetermined maximum value (for 50 medals) and payout medals at the time of winning as virtual medals. When the settlement switch 59 is operated under the stored and stored condition, the virtual medal is paid out from the medal discharge port 49 as an actual medal. In this case, if paying attention to the function of paying out the credited virtual medal as an actual medal, it can be said that the checkout switch 59 constitutes a checkout operation means for actually paying out the stored game media.

遊技パネル25の表示窓26L,26M,26R下方には、クレジットされている仮想メダル数を表示するクレジット表示部60と、BB状態が終了するまでに払い出される残りのメダル数を表示する残払出枚数表示部61と、入賞時に払い出したメダルの枚数を表示する払出枚数表示部62とがそれぞれ設けられている。これら表示部60〜62は7セグメント表示器によって構成されているが、液晶表示器等によって代替することは当然可能である。   Below the display windows 26L, 26M, and 26R of the game panel 25, a credit display unit 60 that displays the number of credited virtual medals, and a remaining payout number that displays the number of remaining medals to be paid out before the BB state ends. A display unit 61 and a payout number display unit 62 for displaying the number of medals paid out at the time of winning are provided. Although these display parts 60-62 are comprised by the 7 segment display, it is naturally possible to substitute by a liquid crystal display etc. FIG.

ここで、メダルのベット数と、有効化される組合せラインとの関係を、図7を用いて説明する。遊技の開始時にメダル投入口45からメダルが投入されるとベットとなる。   Here, the relationship between the number of medals bet and the activated combination line will be described with reference to FIG. If a medal is inserted from the medal slot 45 at the start of the game, a bet is placed.

1枚目のメダルがメダル投入口45に投入された場合、ベット数は1となり、中ラインL2が有効化される。2枚目のメダルがメダル投入口45に投入された場合、ベット数は2となり、中ラインL2に加えて上ラインL1と下ラインL3を含む合計3本の組合せラインが有効化される。3枚目のメダルがメダル投入口45に投入された場合、ベット数は3となり、組合せラインL1〜L5の全てが有効化される。   When the first medal is inserted into the medal slot 45, the bet number is 1, and the middle line L2 is activated. When the second medal is inserted into the medal insertion slot 45, the number of bets becomes 2, and a total of three combination lines including the upper line L1 and the lower line L3 in addition to the middle line L2 are activated. When the third medal is inserted into the medal insertion slot 45, the number of bets becomes 3, and all the combination lines L1 to L5 are activated.

なお、4枚以上のメダルがメダル投入口45に投入された場合、そのときに貯留記憶されている仮想メダルが50枚未満であれば、3枚を超える余剰メダルはスロットマシン10内部に貯留され、クレジット表示部60の仮想メダル数が加算表示される。一方、仮想メダル数が50枚のとき又は50枚に達したときには、セレクタ46により貯留用通路47から排出用通路48への切替がなされ、メダル排出口49からメダル受け皿50へと余剰メダルが返却される。   When four or more medals are inserted into the medal slot 45, if there are less than 50 virtual medals stored at that time, the surplus medals exceeding three are stored in the slot machine 10. The virtual medal number on the credit display unit 60 is added and displayed. On the other hand, when the number of virtual medals is 50 or reaches 50, the selector 46 switches from the storage passage 47 to the discharge passage 48, and the surplus medals are returned from the medal discharge port 49 to the medal tray 50. Is done.

また、仮想メダルが貯留記憶されており、遊技の開始時に第1〜第3クレジット投入スイッチ56〜58のいずれかが操作された場合にも、仮想メダルが投入されたこととなりベットとなる。なお、第1〜第3クレジット投入スイッチ56〜58のいずれかが操作された場合については、投入された仮想メダルの枚数分だけクレジット表示部60に表示されている仮想メダル数が減算されることを除き、メダル投入口45からメダルを投入した場合と同じため、説明を省略する。   Further, virtual medals are stored and stored, and when any of the first to third credit insertion switches 56 to 58 is operated at the start of the game, the virtual medals are inserted and a bet is made. When any of the first to third credit insertion switches 56 to 58 is operated, the number of virtual medals displayed on the credit display unit 60 is subtracted by the number of inserted virtual medals. Is the same as the case where a medal is inserted from the medal insertion slot 45, and the description thereof is omitted.

ちなみに、第1〜第3クレジット投入スイッチ56〜58のいずれかが操作された場合に投入されるべき仮想メダルが貯留記憶されていない場合、例えばクレジット表示部60の表示が2のときに第1クレジット投入スイッチ56が操作された場合等には、クレジット表示部60の数値が全て減算されて0となり、投入可能な仮想メダル分だけベットされる。   Incidentally, when any one of the first to third credit insertion switches 56 to 58 is operated and the virtual medal to be inserted is not stored and stored, for example, the first display when the display of the credit display unit 60 is “2”. For example, when the credit insertion switch 56 is operated, all the numerical values in the credit display unit 60 are subtracted to 0, and a bet is made for the amount of virtual medals that can be inserted.

前面扉12の上部には、遊技の進行に伴い点灯したり点滅したりする上部ランプ63と、遊技の進行に伴い種々の効果音を鳴らしたり、遊技者に遊技状態を報知したりする左右一対のスピーカ64と、遊技者に各種情報を与える補助表示部65とが設けられている。補助表示部65は、遊技の進行に伴って各種表示演出を実行するためのものであり、各リール32L,32M,32Rによる遊技を主表示部によるものと考えることができることから、本実施形態では補助表示部65と称している。補助表示部65の背面には、上部ランプ63やスピーカ64、補助表示部65を駆動させるための表示制御装置81が設けられている。   The upper part of the front door 12 has an upper lamp 63 that lights up or flashes as the game progresses, and a pair of left and right sounds that produce various sound effects as the game progresses and inform the player of the gaming state. Speaker 64 and an auxiliary display unit 65 for giving various information to the player. The auxiliary display unit 65 is for executing various display effects as the game progresses, and it can be considered that the game by each reel 32L, 32M, 32R is caused by the main display unit. This is referred to as an auxiliary display unit 65. A display control device 81 for driving the upper lamp 63, the speaker 64, and the auxiliary display unit 65 is provided on the back surface of the auxiliary display unit 65.

筐体11の内部においてホッパ装置51の左方には、電源ボックス70が設けられている。電源ボックス70は、その内部に電源装置91を収容するとともに、電源スイッチ71やリセットスイッチ72、設定キー挿入孔73などを備えている。電源スイッチ71は、主制御装置101を始めとする各部に電源を供給するための起動スイッチである。リセットスイッチ72は、スロットマシン10のエラー状態をリセットするためのスイッチである。また、設定キー挿入孔73は、ホール管理者などがメダルの出玉調整を行うためのものである。すなわち、ホール管理者等が設定キーを設定キー挿入孔73へ挿入してON操作することにより、スロットマシン10の当選確率を設定できるようになっている。なお、リセットスイッチ72は、エラー状態をリセットする場合の他に、スロットマシン10の当選確率を変更する場合にも操作される。   A power supply box 70 is provided on the left side of the hopper device 51 inside the housing 11. The power supply box 70 accommodates a power supply device 91 therein, and includes a power switch 71, a reset switch 72, a setting key insertion hole 73, and the like. The power switch 71 is a start switch for supplying power to each unit including the main controller 101. The reset switch 72 is a switch for resetting an error state of the slot machine 10. Further, the setting key insertion hole 73 is used by a hole manager or the like to adjust the appearance of medals. That is, the hall manager or the like can set the winning probability of the slot machine 10 by inserting the setting key into the setting key insertion hole 73 and turning it ON. The reset switch 72 is operated not only when the error state is reset but also when the winning probability of the slot machine 10 is changed.

リールユニット31の上方には、遊技を統括管理する主制御装置101が筐体11に取り付けられている。   Above the reel unit 31, a main control device 101 that manages and manages games is attached to the housing 11.

次に、本スロットマシン10の電気的構成について、図9のブロック図に基づいて説明する。   Next, the electrical configuration of the slot machine 10 will be described based on the block diagram of FIG.

主制御装置101には、演算処理手段であるCPU102を中心とするマイクロコンピュータが搭載されている。CPU102には、電源装置91の他に、8.000MHzの所定周波数の矩形波(第1クロック信号)を出力する第1クロック回路103や、入出力ポート104(具体的には、コネクタ、ドライバIC、チップセレクトIC等により構成される入出力ポート)、基礎乱数を生成するための基礎乱数生成器150などが内部バスを介して接続されている。かかる主制御装置101は、スロットマシン10に内蔵されるメイン基盤としての機能を果たすものである。   The main control device 101 is equipped with a microcomputer centering on a CPU 102 which is arithmetic processing means. In addition to the power supply device 91, the CPU 102 includes a first clock circuit 103 that outputs a rectangular wave (first clock signal) having a predetermined frequency of 8.000 MHz, and an input / output port 104 (specifically, a connector and a driver IC). , An input / output port constituted by a chip select IC or the like), a basic random number generator 150 for generating basic random numbers, and the like are connected via an internal bus. The main control device 101 functions as a main board built in the slot machine 10.

主制御装置101の入力側には、リールユニット31(より詳しくは各リール32L,32M,32Rが1回転したことを個別に検出するリールインデックスセンサ)、スタートレバー41の操作を検出するスタート検出センサ41a、各ストップスイッチ42〜44の操作を個別に検出するストップ検出センサ42a〜44a、メダル投入口45から投入されたメダルを検出する投入メダル検出センサ45a、ホッパ装置51から払い出されるメダルを検出する払出検出センサ51a、各クレジット投入スイッチ56〜58の操作を個別に検出するクレジット投入検出センサ56a〜58a、精算スイッチ59の操作を検出する精算検出センサ59a、リセットスイッチ72の操作を検出するリセット検出センサ72a、設定キー挿入孔73に設定キーが挿入されてON操作されたことを検出する設定キー検出センサ73a等の各種センサが接続されており、これら各種センサからの信号は入出力ポート104を介してCPU102へ出力されるようになっている。   On the input side of the main controller 101, a reel unit 31 (more specifically, a reel index sensor that individually detects that each of the reels 32L, 32M, and 32R has made one rotation) and a start detection sensor that detects an operation of the start lever 41 are provided. 41a, stop detection sensors 42a to 44a that individually detect the operation of each of the stop switches 42 to 44, a inserted medal detection sensor 45a that detects a medal inserted from the medal slot 45, and a medal paid out from the hopper device 51. Payment detection sensor 51a, credit insertion detection sensors 56a-58a that individually detect the operation of each credit insertion switch 56-58, settlement detection sensor 59a that detects the operation of the settlement switch 59, and reset detection that detects the operation of the reset switch 72 Sensor 72a, setting key insertion hole 7 Various sensors such as a setting key detection sensor 73 a for detecting that the setting key is inserted and turned ON are connected, and signals from these various sensors are output to the CPU 102 via the input / output port 104. It has become.

なお、投入メダル検出センサ45aは、実際には複数個のセンサにより構成されている。すなわち、メダル投入口45からホッパ装置51に至る貯留用通路47は、メダルが1列で通過可能なように形成されている。そして、貯留用通路47には、第1センサが設けられるとともに、それよりメダルの幅以上離れた下流側に第2センサ及び第3センサが近接(少なくとも一時期において同一メダルを同時に検出する状態が生じる程度の近接)して設けられている。投入メダル検出センサ45aは、これら第1〜第3センサによって構成されている。主制御装置101は、第1センサから第2センサに至る時間を監視し、その経過時間が所定時間を越えた場合にはメダル詰まり又は不正があったものとみなしてエラー状態とする。エラー状態となった場合には、エラー状態報知が行われるとともに、エラー状態が解除されるまでの間、遊技者による操作が無効化される。また、主制御装置101は、第2センサと第3センサとがオンオフされる順序をも監視している。具体的には、第2,第3センサが共にオフ、第2センサのみオン、第2,第3センサが共にオン、第3センサのみオン、第2,第3センサが共にオフという順序通りになった場合で、かつ各オンオフ切替に移行する時間が所定時間内である場合にのみメダルが正常に取り込まれたと判断し、それ以外の場合はエラー状態とする。このようにするのは、貯留用通路47でのメダル詰まりの他、メダルを投入メダル検出センサ45a付近で往復動させてメダル投入と誤認させる不正を防止するためである。   The inserted medal detection sensor 45a is actually composed of a plurality of sensors. That is, the storage passage 47 from the medal slot 45 to the hopper device 51 is formed so that medals can pass in one row. The storage passage 47 is provided with the first sensor, and the second sensor and the third sensor are close to each other on the downstream side more than the width of the medal (a state where the same medal is detected at least at the same time occurs). In close proximity). The inserted medal detection sensor 45a includes these first to third sensors. The main control device 101 monitors the time from the first sensor to the second sensor, and if the elapsed time exceeds a predetermined time, the main control device 101 regards that there is a medal clogging or fraud and sets an error state. When an error state occurs, an error state notification is performed and the operation by the player is invalidated until the error state is canceled. The main controller 101 also monitors the order in which the second sensor and the third sensor are turned on and off. Specifically, both the second and third sensors are off, only the second sensor is on, both the second and third sensors are on, only the third sensor is on, and both the second and third sensors are off. It is determined that the medal has been normally taken in only when the time for shifting to each on / off switching is within a predetermined time. Otherwise, an error state is set. The reason for this is to prevent injustice that the medal is reciprocated in the vicinity of the inserted medal detection sensor 45a and misidentified as a medal inserted in addition to the clogging of the medal in the storage passage 47.

また、主制御装置101の入力側には、入出力ポート104を介して電源装置91が接続されている。電源装置91には、主制御装置101を始めとしてスロットマシン10の各電子機器に駆動電力を供給する電源部91aや、停電監視回路91bなどが搭載されている。   A power supply device 91 is connected to the input side of the main control device 101 via an input / output port 104. The power supply device 91 includes a power supply unit 91a that supplies driving power to the electronic devices of the slot machine 10 including the main control device 101, a power failure monitoring circuit 91b, and the like.

停電監視回路91bは電源の遮断状態を監視し、停電時はもとより、電源スイッチ71による電源遮断時に停電信号を生成するためのものである。そのため停電監視回路91bは、電源部91aから出力されるこの例では直流12ボルトの安定化駆動電圧を監視し、この駆動電圧が例えば10ボルト未満まで低下したとき電源が遮断されたものと判断して停電信号が出力されるように構成されている。停電信号はCPU102と入出力ポート104のそれぞれに供給され、CPU102ではこの停電信号を認識することにより後述する停電時処理が実行される。また、この停電信号は表示制御装置81にも供給されるように構成されている。   The power failure monitoring circuit 91b monitors the power-off state and generates a power failure signal not only at the time of power failure but also when the power switch 71 powers off. For this reason, the power failure monitoring circuit 91b monitors the stabilized drive voltage of 12 VDC in this example output from the power supply unit 91a, and determines that the power supply has been shut off when this drive voltage drops below, for example, 10 volts. Power outage signal is output. The power failure signal is supplied to each of the CPU 102 and the input / output port 104. The CPU 102 recognizes this power failure signal and executes a power failure process described later. The power failure signal is also supplied to the display control device 81.

電源部91aは、出力電圧が10ボルト未満まで低下した場合でも、主制御装置101などの制御系において駆動電圧として使用される5ボルトの安定化電圧が出力されるように構成されている。この安定化電圧が出力される時間としては、主制御装置101による停電時処理を実行するに十分な時間が確保されている。   The power supply unit 91a is configured to output a stabilized voltage of 5 volts that is used as a drive voltage in a control system such as the main controller 101 even when the output voltage drops below 10 volts. As a time for outputting the stabilization voltage, a time sufficient for executing the power failure process by the main controller 101 is secured.

主制御装置101の出力側には、リールユニット31(より詳しくは各リール32L,32M,32Rを回転させるためのステッピングモータ)、セレクタ46に設けられたメダル通路切替ソレノイド46a、ホッパ装置51、クレジット表示部60、残払出枚数表示部61、払出枚数表示部62、表示制御装置81、図示しないホール管理装置などに情報を送信できる外部集中端子板121等が入出力ポート104を介して接続されている。また、図示は省略するが、主制御装置101の出力側には、ストップスイッチ42〜44の内部に設けられたランプや、クレジット投入スイッチ56〜58の内部に設けられたランプ等も、入出力ポート104を介して接続されている。   On the output side of the main controller 101, a reel unit 31 (more specifically, a stepping motor for rotating the reels 32L, 32M, and 32R), a medal path switching solenoid 46a provided in the selector 46, a hopper device 51, a credit A display unit 60, a remaining payout number display unit 61, a payout number display unit 62, a display control device 81, an external concentration terminal board 121 that can transmit information to a hall management device (not shown), and the like are connected via an input / output port 104. Yes. Although not shown, a lamp provided in the stop switches 42 to 44 and a lamp provided in the credit insertion switches 56 to 58 are also input / output on the output side of the main controller 101. It is connected via the port 104.

表示制御装置81は、上部ランプ63やスピーカ64、補助表示部65を駆動させるための制御装置であり、これらを駆動させるためのCPU、ROM、RAM等が一体化された基板を備えている。そして、主制御装置101からの信号を受け取った上で、表示制御装置81が独自に上部ランプ63、スピーカ64及び補助表示部65を駆動制御する。したがって、表示制御装置81は、遊技を統括管理するメイン基盤たる主制御装置101との関係では補助的な制御を実行するサブ基盤となっている。なお、各種表示部60〜62も表示制御装置81が駆動制御する構成としてもよい。   The display control device 81 is a control device for driving the upper lamp 63, the speaker 64, and the auxiliary display unit 65, and includes a substrate in which a CPU, a ROM, a RAM, and the like for driving these are integrated. Then, after receiving a signal from the main control device 101, the display control device 81 independently drives and controls the upper lamp 63, the speaker 64, and the auxiliary display unit 65. Therefore, the display control device 81 is a sub-base for executing auxiliary control in relation to the main control device 101 which is a main base for overall management of games. The various display units 60 to 62 may be configured to be driven and controlled by the display control device 81.

上述したCPU102は、1チップCPUであって、このCPU102によって実行される各種の制御プログラムや固定値データを記憶したROM105と、このROM105に記憶されている制御プログラムを実行するにあたって各種のデータを一時的に記憶する作業エリアを確保するためのRAM106の他に、図示はしないが周知のように割込み回路を始めとしてタイマ回路、データ送受信回路などスロットマシン10において必要な各種の処理回路が内蔵されている。ROM105とRAM106によって記憶手段としてのメインメモリが構成され、図12以降のフローチャートに示される各種処理を実行するためのプログラムは、制御プログラムの一部として上述したROM105に記憶されている。   The CPU 102 described above is a one-chip CPU, and the ROM 105 storing various control programs executed by the CPU 102 and fixed value data, and various data are temporarily stored when the control program stored in the ROM 105 is executed. In addition to the RAM 106 for securing a work area to be stored in memory, various processing circuits necessary for the slot machine 10 such as an interrupt circuit, a timer circuit, a data transmission / reception circuit, etc. are built in as well known, although not shown. Yes. The ROM 105 and the RAM 106 constitute a main memory as storage means, and a program for executing various processes shown in the flowcharts of FIG. 12 and subsequent figures is stored in the ROM 105 described above as a part of the control program.

RAM106には、図10に示すように、役の抽選結果を記憶するための当選フラグ格納エリア106a、各リール32L,32M,32Rの停止制御を行う場合に用いるスベリテーブルを記憶するためのスベリテーブル格納エリア106b、BB状態等の遊技状態を記憶するための状態情報格納エリア106cの他に、役の抽選を行う際に用いる乱数を記憶するための乱数格納エリア110、各種カウンタとしての機能を有するカウンタエリア111、上述した各種センサからの信号入力状況を記憶するためのセンサ情報格納エリア112等の各種エリアが確保されている。カウンタエリア111は、乱数を作成する際に用いる第1カウンタ111a及び第2カウンタ111b、後述する割込み待ち処理にて用いる更新カウンタ111c、基礎乱数の取得タイミングを決定するための遅延カウンタ111d、クレジット枚数を記憶するためのクレジットカウンタ(図示略)等により構成されている。センサ情報格納エリア112は、リールインデックス検出用エリア、スタート検出用エリア、左ストップ検出用エリア、中ストップ検出用エリア、右ストップ検出用エリア、投入メダル検出用エリア、払出検出用エリア、第1クレジット投入検出用エリア、第2クレジット投入検出用エリア、第3クレジット投入検出用エリア、精算検出用エリア、リセット検出用エリア、設定キー検出用エリア等により構成されている。これら各検出用エリアは、対応する検出センサからの信号入力有無の履歴を記憶できるようになっており、第1エリア112aと、第2エリア112bと、第3エリア112cと、の3つの記憶エリアから構成されている。各検出用エリアは1バイト構成となっており、下位側の3ビットが上記各記憶エリアと対応付けられている。より詳しくは、下位ビットから順に第1エリア112a、第2エリア112b、第3エリア112cと対応付けられている。   As shown in FIG. 10, in the RAM 106, a winning flag storage area 106a for storing the lottery result of the winning combination, and a sliding table for storing a sliding table used when stop control of each of the reels 32L, 32M, and 32R is performed. In addition to the storage area 106b, the state information storage area 106c for storing the gaming state such as the BB state, etc., the random number storage area 110 for storing random numbers used when performing the lottery of the combination, and functions as various counters Various areas such as the counter area 111 and the sensor information storage area 112 for storing the signal input status from the various sensors described above are secured. The counter area 111 includes a first counter 111a and a second counter 111b that are used when generating random numbers, an update counter 111c that is used in an interrupt waiting process to be described later, a delay counter 111d that determines the acquisition timing of basic random numbers, and the number of credits For example, a credit counter (not shown). The sensor information storage area 112 includes a reel index detection area, a start detection area, a left stop detection area, a middle stop detection area, a right stop detection area, an inserted medal detection area, a payout detection area, and a first credit. An insertion detection area, a second credit insertion detection area, a third credit insertion detection area, a settlement detection area, a reset detection area, a setting key detection area, and the like. Each of these detection areas can store a history of presence / absence of signal input from a corresponding detection sensor, and includes three storage areas of a first area 112a, a second area 112b, and a third area 112c. It is composed of Each detection area has a 1-byte configuration, and the lower 3 bits are associated with each storage area. More specifically, they are associated with the first area 112a, the second area 112b, and the third area 112c in order from the lower bit.

また、RAM106は、スロットマシン10の電源が遮断された後においても電源装置91からバックアップ電圧が供給されてデータを保持(バックアップ)できる構成となっており、当該RAM106には、データを保持するためのバックアップエリアが設けられている。バックアップエリアは、停電等の発生により電源が遮断された場合において、電源遮断時(電源スイッチ71の操作による電源遮断をも含む。以下同様)のスタックポインタの値を記憶しておくためのエリアであり、停電解消時(電源スイッチ71の操作による電源投入をも含む。以下同様)には、バックアップエリアの情報に基づいてスロットマシン10の状態が電源遮断前の状態に復帰できるようになっている。バックアップエリアへの書き込みは停電時処理(図12参照)によって電源遮断時に実行され、バックアップエリアに書き込まれた各値の復帰は電源投入時のメイン処理(図14参照)において実行される。   The RAM 106 is configured to hold (backup) data by being supplied with a backup voltage from the power supply device 91 even after the power to the slot machine 10 is cut off. The RAM 106 holds data in the RAM 106. A backup area is provided. The backup area is an area for storing the value of the stack pointer when the power is shut down due to the occurrence of a power failure or the like (including power shutdown by operating the power switch 71; the same applies hereinafter). Yes, when the power failure is resolved (including power-on by operating the power switch 71; the same applies hereinafter), the state of the slot machine 10 can be restored to the state before power-off based on the backup area information. . Writing to the backup area is executed when the power is shut off by the power failure process (see FIG. 12), and restoration of each value written to the backup area is executed in the main process (see FIG. 14) when the power is turned on.

図9の説明に戻り、CPU102のNMI端子(ノンマスカブル割込端子)には、停電等の発生による電源遮断時に、停電監視回路91bからの停電信号が入力されるように構成されている。そして、電源遮断時には、停電フラグ生成処理としてのNMI割込み処理が即座に実行されるようになっている。   Returning to the description of FIG. 9, the power failure signal from the power failure monitoring circuit 91b is inputted to the NMI terminal (non-maskable interrupt terminal) of the CPU 102 when the power is shut down due to the occurrence of a power failure or the like. When the power is shut off, an NMI interrupt process as a power failure flag generation process is immediately executed.

ここで、基礎乱数生成器150,スタート検出センサ41a及びCPU102の接続関係を、図11のブロック図に基づいてより詳細に説明する。   Here, the connection relationship among the basic random number generator 150, the start detection sensor 41a, and the CPU 102 will be described in more detail based on the block diagram of FIG.

基礎乱数生成器150の入力側には、7.915MHzの所定周波数の矩形波(第2クロック信号)を出力する第2クロック回路151と、CPU102が接続されている。基礎乱数生成器150の出力側には、CPU102が接続されている。   A CPU 102 is connected to the input side of the basic random number generator 150 and a second clock circuit 151 that outputs a rectangular wave (second clock signal) having a predetermined frequency of 7.915 MHz. The CPU 102 is connected to the output side of the basic random number generator 150.

基礎乱数生成器150は、カウンタ150aとラッチ回路150bを有するハードウェアである。カウンタ150aは、16ビットのフリーランカウンタであり、0〜65535の範囲内で順に1ずつ加算されると共に、最大値(つまり65535)に達した後0に戻る構成となっている。カウンタ150aには第2クロック回路151が接続されており、当該第2クロック回路151からの第2クロック信号が入力されると、カウンタ150aのカウント値が更新されるようになっている。ラッチ回路150bは、複数のDフリップフロップ回路を組み合わせて構成されており、カウンタ150aのカウント値をラッチ(保持)できるようになっている。ラッチ回路150bにはCPU102が接続されており、当該CPU102からのラッチ信号が入力されると、そのタイミングにおけるカウンタ150aのカウント値がラッチ回路150bにラッチされる。そして、ラッチされたカウント値が基礎乱数としてCPU102内蔵の入力ポートに対して出力されるようになっている。   The basic random number generator 150 is hardware having a counter 150a and a latch circuit 150b. The counter 150a is a 16-bit free-run counter that is incremented by 1 within the range of 0 to 65535, and returns to 0 after reaching the maximum value (that is, 65535). A second clock circuit 151 is connected to the counter 150a, and when the second clock signal from the second clock circuit 151 is input, the count value of the counter 150a is updated. The latch circuit 150b is configured by combining a plurality of D flip-flop circuits, and can latch (hold) the count value of the counter 150a. The CPU 102 is connected to the latch circuit 150b. When a latch signal is input from the CPU 102, the count value of the counter 150a at that timing is latched in the latch circuit 150b. The latched count value is output to the input port built in the CPU 102 as a basic random number.

CPU102には、第2クロック回路151を監視するための監視回路152が接続されている。監視回路152は、Dフリップフロップ回路により構成されている。すなわち、監視回路152は、入力端子としてデータ端子(D端子)とクロック端子(CLK端子)を有し、出力端子として正論理出力端子(Q端子)と負論理出力端子(Qバー端子)を有している。D端子には、スタート検出センサ41aが波形整形回路153及び入出力ポート104を介して接続されており、CLK端子には、第2クロック回路151が反転器154を介して接続されている。また、Q端子は、非接続とされており、Qバー端子は、CPU102内蔵の入力ポートと接続されている。   A monitoring circuit 152 for monitoring the second clock circuit 151 is connected to the CPU 102. The monitoring circuit 152 is composed of a D flip-flop circuit. That is, the monitoring circuit 152 has a data terminal (D terminal) and a clock terminal (CLK terminal) as input terminals, and has a positive logic output terminal (Q terminal) and a negative logic output terminal (Q bar terminal) as output terminals. is doing. A start detection sensor 41 a is connected to the D terminal via a waveform shaping circuit 153 and an input / output port 104, and a second clock circuit 151 is connected to the CLK terminal via an inverter 154. The Q terminal is not connected, and the Q bar terminal is connected to an input port built in the CPU 102.

スタート検出センサ41aは、スタートレバー41が操作されると操作信号を出力する。より詳しくは、スタート検出センサ41aは、スタートレバー41が初期位置から移動した場合に操作信号を出力し、スタートレバー41が初期位置に復帰した場合に操作信号の出力を停止する。波形整形回路153は、シュミットトリガ回路により構成されている。波形整形回路153には閾値が設定されており、波形整形回路153は、スタート検出センサ41aから出力された操作信号が電圧上昇側閾値よりも大きくなった場合に検出信号を監視回路152に対して出力し、操作信号が電圧降下側閾値よりも小さくなった場合に検出信号の出力を停止する。つまり、波形整形回路153とは、スタート検出センサ41aから出力される操作信号のなまり(立ち上がり遅れ及び立ち下がり遅れ)を整形するための回路である。なお、波形整形回路153は、入出力ポート104と監視回路152との間に接続されていても良く、波形整形回路153を主制御装置101上に設けることも可能である。   The start detection sensor 41a outputs an operation signal when the start lever 41 is operated. More specifically, the start detection sensor 41a outputs an operation signal when the start lever 41 moves from the initial position, and stops outputting the operation signal when the start lever 41 returns to the initial position. The waveform shaping circuit 153 is configured by a Schmitt trigger circuit. A threshold is set in the waveform shaping circuit 153, and the waveform shaping circuit 153 sends a detection signal to the monitoring circuit 152 when the operation signal output from the start detection sensor 41a is larger than the voltage increase side threshold. The output of the detection signal is stopped when the operation signal is smaller than the voltage drop side threshold. In other words, the waveform shaping circuit 153 is a circuit for shaping a round (rise delay and fall delay) of the operation signal output from the start detection sensor 41a. The waveform shaping circuit 153 may be connected between the input / output port 104 and the monitoring circuit 152, and the waveform shaping circuit 153 may be provided on the main controller 101.

監視回路152は、反転された第2クロック信号(反転クロック信号)がCLK端子に入力されたタイミング(より詳しくは反転クロック信号の立ち上がりのタイミング)で操作信号(より詳しくは波形整形回路153からの検出信号)が入力されている場合、CPU102に対して開始信号を出力する。開始信号は、反転クロック信号がCLK端子に入力されたタイミングで操作信号が入力されていない状態となるまで継続出力される。換言すれば、監視回路152は、反転クロック信号がCLK端子に入力されるまで操作信号の入力状態を保持しているとも言える。   The monitoring circuit 152 operates the operation signal (more specifically, from the waveform shaping circuit 153 at the timing when the inverted second clock signal (inverted clock signal) is input to the CLK terminal (more specifically, the rising timing of the inverted clock signal). When a detection signal) is input, a start signal is output to the CPU 102. The start signal is continuously output until the operation signal is not input at the timing when the inverted clock signal is input to the CLK terminal. In other words, it can be said that the monitoring circuit 152 holds the input state of the operation signal until the inverted clock signal is input to the CLK terminal.

CPU102の入力側には、監視回路152のQバー端子の他に、基礎乱数生成器150のラッチ回路150bと、第1クロック信号を出力する第1クロック回路103が接続されている。また、CPU102の出力側には、基礎乱数生成器150のラッチ回路150bが接続されている。第1クロック回路103は、8.000MHzの所定周波数の矩形波を出力するものであり、第2クロック回路151と同期しないように構成されている。CPU102は、第1クロック信号が入力された場合に各種動作を行うようになっている。例えば、第1クロック信号の入力に基づいて開始信号の入力有無を判別し、開始信号が入力されていることに基づいて基礎乱数生成器150にラッチ信号を出力するようになっている。そして、基礎乱数生成器150から出力されたカウント値を基礎乱数として取得するようになっている。開始信号の入力有無の判別についてより詳細に説明すると、CPU102は、監視回路152のQバー端子と接続されているため、Qバー端子からの入力信号がHレベルからLレベルに切り替っている場合に開始信号が入力されたと判別している。   In addition to the Q bar terminal of the monitoring circuit 152, the latch circuit 150 b of the basic random number generator 150 and the first clock circuit 103 that outputs the first clock signal are connected to the input side of the CPU 102. Further, the latch circuit 150 b of the basic random number generator 150 is connected to the output side of the CPU 102. The first clock circuit 103 outputs a rectangular wave having a predetermined frequency of 8.000 MHz and is configured not to be synchronized with the second clock circuit 151. The CPU 102 performs various operations when the first clock signal is input. For example, whether or not a start signal is input is determined based on the input of the first clock signal, and a latch signal is output to the basic random number generator 150 based on the input of the start signal. The count value output from the basic random number generator 150 is acquired as the basic random number. The determination of whether or not the start signal is input will be described in more detail. Since the CPU 102 is connected to the Q bar terminal of the monitoring circuit 152, the input signal from the Q bar terminal is switched from the H level to the L level. It is determined that a start signal has been input.

続いて、主制御装置101のCPU102により実行される各制御処理について説明する。CPU102は、第1クロック回路103から第1クロック信号が入力されることに基づいて各種処理を行う。かかるCPU102の処理としては、大別して、電源投入に伴い起動されるメイン処理と、定期的に(本実施の形態では1.49msec周期で)起動されるタイマ割込み処理と、NMI端子への停電信号の入力に伴い起動されるNMI割込み処理とがある。以下では、説明の便宜上、はじめにタイマ割込み処理を説明し、その後にメイン処理を説明する。   Next, each control process executed by the CPU 102 of the main control apparatus 101 will be described. The CPU 102 performs various processes based on the input of the first clock signal from the first clock circuit 103. The processing of the CPU 102 is roughly divided into a main processing that is started when the power is turned on, a timer interrupt processing that is started periodically (in a cycle of 1.49 msec in the present embodiment), and a power failure signal to the NMI terminal. NMI interrupt processing that is activated in response to the input of. In the following, for convenience of explanation, timer interrupt processing will be described first, and then main processing will be described.

図12は、主制御装置101で定期的に実行されるタイマ割込み処理のフローチャートであり、主制御装置101のCPU102により例えば1.49msecごとにタイマ割込みが発生する。   FIG. 12 is a flowchart of a timer interrupt process periodically executed by the main control apparatus 101, and a timer interrupt is generated by the CPU 102 of the main control apparatus 101, for example, every 1.49 msec.

先ず、ステップS101に示すレジスタ退避処理では、後述する通常処理で使用しているCPU102内の全レジスタの値をRAM106のバックアップエリアに退避させる。ステップS102では停電フラグがセットされているか否かを確認し、停電フラグがセットされているときにはステップS103に進み、停電時処理を実行する。   First, in the register saving process shown in step S101, the values of all the registers in the CPU 102 used in the normal process described later are saved in the backup area of the RAM 106. In step S102, it is confirmed whether or not a power failure flag is set. If the power failure flag is set, the process proceeds to step S103, and a power failure process is executed.

ここで、停電時処理について概略を説明する。   Here, an outline of the power failure process will be described.

停電の発生等によって電源が遮断されると、電源装置91の停電監視回路91bから停電信号が出力され、当該停電信号がNMI端子を介して主制御装置101に入力される。主制御装置101は、停電信号が入力された場合、即座にNMI割込み処理を実行し、停電フラグをRAM106に設けられた停電フラグ格納エリアにセットする。   When the power is shut off due to the occurrence of a power failure or the like, a power failure signal is output from the power failure monitoring circuit 91b of the power supply device 91, and the power failure signal is input to the main controller 101 via the NMI terminal. When a power failure signal is input, main controller 101 immediately executes NMI interrupt processing and sets a power failure flag in the power failure flag storage area provided in RAM 106.

停電時処理では、先ずコマンドの送信が終了しているか否かを判定し、送信が終了していない場合には本処理を終了してタイマ割込み処理に復帰し、コマンドの送信を終了させる。コマンドの送信が終了している場合には、CPU102のスタックポインタの値をRAM106のバックアップエリアに保存する。その後、入出力ポート104における出力ポートの出力状態をクリアし、図示しない全てのアクチュエータをオフ状態にする。そして、停電解消時にRAM106のデータが正常か否かを判定するためのRAM判定値を算出してバックアップエリアに保存する。RAM判定値とは、具体的にはRAM106の作業領域アドレスにおけるチェックサムの2の補数である。RAM判定値をバックアップエリアに保存することにより、RAM106のチェックサムは0となる。RAM106のチェックサムを0とすることにより、それ以後のRAMアクセスを禁止する。以上の処理を行った後は、電源が完全に遮断して処理が実行できなくなるのに備え、無限ループに入る。なお、例えばノイズ等に起因して停電フラグが誤ってセットされる場合を考慮し、無限ループに入るまでは停電信号が出力されているか否かを確認する。停電信号が出力されていなければ停電状態から復旧したこととなるため、RAM106への書き込みを許可すると共に停電フラグをリセットし、タイマ割込み処理に復帰する。停電信号の出力が継続してなされていれば、そのまま無限ループに入る。ちなみに、無限ループ下においても停電信号が出力されているか否かを確認しており、停電信号が出力されなくなった場合にはメイン処理に移行する。   In the power failure process, it is first determined whether or not the command transmission has been completed. If the transmission has not been completed, this process is terminated and the process returns to the timer interrupt process to terminate the command transmission. If the command transmission has been completed, the value of the stack pointer of the CPU 102 is stored in the backup area of the RAM 106. Thereafter, the output state of the output port in the input / output port 104 is cleared, and all actuators (not shown) are turned off. Then, a RAM determination value for determining whether or not the data in the RAM 106 is normal when the power failure is eliminated is stored in the backup area. The RAM determination value is specifically a two's complement of the checksum at the work area address of the RAM 106. By storing the RAM determination value in the backup area, the checksum of the RAM 106 becomes zero. By setting the checksum of the RAM 106 to 0, subsequent RAM access is prohibited. After performing the above processing, an infinite loop is entered in preparation for the case where the power supply is completely shut down and the processing cannot be executed. In consideration of, for example, the case where the power failure flag is set erroneously due to noise or the like, it is confirmed whether or not a power failure signal is output until the infinite loop is entered. If the power failure signal is not output, the power failure state is recovered, so that writing to the RAM 106 is permitted, the power failure flag is reset, and the process returns to the timer interrupt process. If the power outage signal is continuously output, the infinite loop is entered. Incidentally, it is confirmed whether or not a power failure signal is output even under an infinite loop, and when the power failure signal is not output, the main processing is performed.

タイマ割込み処理の説明に戻り、ステップS102にて停電フラグがセットされていない場合には、ステップS104以降の各種処理を行う。   Returning to the description of the timer interrupt process, if the power failure flag is not set in step S102, various processes after step S104 are performed.

すなわち、ステップS104では、誤動作の発生を監視するためのウオッチドッグタイマの値を初期化するウオッチドッグタイマのクリア処理を行う。ステップS105では、CPU102自身に対して次回のタイマ割込みを設定可能とする割込み終了宣言処理を行う。ステップS106では、各リール32L,32M,32Rを回転させるために、それぞれの回胴駆動モータであるステッピングモータを駆動させるステッピングモータ制御処理を行う。ステップS107では、入出力ポート104に接続されたストップ検出センサ42a〜44a,投入メダル検出センサ45a,払出検出センサ51a等の各種センサ(図9参照)の状態を読み込むセンサ監視処理を行う。   That is, in step S104, a watchdog timer clearing process for initializing the value of the watchdog timer for monitoring the occurrence of malfunction is performed. In step S105, an interrupt end declaration process is performed so that the next timer interrupt can be set for the CPU 102 itself. In step S106, in order to rotate each reel 32L, 32M, 32R, a stepping motor control process for driving a stepping motor that is a respective rotating drum driving motor is performed. In step S107, a sensor monitoring process for reading the states of various sensors (see FIG. 9) such as the stop detection sensors 42a to 44a, the inserted medal detection sensor 45a, and the payout detection sensor 51a connected to the input / output port 104 is performed.

ここで、センサ監視処理を図13のフローチャートに基づいて説明する。先ずステップS151では、センサ情報移行処理を行う。センサ情報移行処理では、今回確認する検出用エリアの第1〜第3エリア112a〜112cに格納されているデータを上位エリア側に順にシフトさせる。例えば、リセット検出センサ72aの状態を読み込む場合には、リセット検出用エリアにおいて、先ず第3エリア112cのデータをクリアし、その後、第2エリア→第3エリア、第1エリア→第2エリアといった具合に各エリア内のデータをシフトさせる。続くステップS152では、今回確認するセンサの接続されたポートを参照し、信号入力状態を読み込む。ステップS153では、ON信号が入力されているか否かを判定する。ON信号が入力されている場合には、ステップS154にて対応する検出用エリアの第1エリア112aに「1」をセットし、ON信号が入力されていない場合には、ステップS155にて対応する検出用エリアの第1エリア112aに「0」をセットする。その後、ステップS156では、全てのセンサの状態を確認したか否かを判定する。全てのセンサの状態を確認した場合には、そのまま本処理を終了し、確認していない場合には、未確認のセンサの状態を確認すべくステップS151に戻る。このように、センサ監視処理では、入出力ポート104に接続された各種センサについて、対応する検出用エリアの第1エリア112aに「0」又は「1」を格納する処理を実行する。なお、スタート検出センサ41aの状態を読み込む場合、ステップS153では、Lレベルの信号が入力されている場合にON信号が入力されていると判定し、Hレベルの信号が入力されている場合にON信号が入力されていないと判定している。   Here, the sensor monitoring process will be described based on the flowchart of FIG. First, in step S151, sensor information migration processing is performed. In the sensor information migration process, data stored in the first to third areas 112a to 112c of the detection area to be confirmed this time is shifted in order to the upper area side. For example, when reading the state of the reset detection sensor 72a, first the data in the third area 112c is cleared in the reset detection area, and then the second area → the third area, the first area → the second area, etc. Shift data in each area. In the subsequent step S152, the signal input state is read with reference to the port connected to the sensor to be checked this time. In step S153, it is determined whether an ON signal is input. If the ON signal is input, “1” is set in the corresponding first area 112a of the detection area in step S154, and if the ON signal is not input, it corresponds in step S155. “0” is set in the first area 112a of the detection area. Thereafter, in step S156, it is determined whether or not the states of all the sensors have been confirmed. If the states of all the sensors have been confirmed, this processing is terminated as it is, and if not confirmed, the processing returns to step S151 to confirm the state of the unconfirmed sensor. Thus, in the sensor monitoring process, a process of storing “0” or “1” in the first area 112a of the corresponding detection area is executed for various sensors connected to the input / output port 104. When reading the state of the start detection sensor 41a, in step S153, it is determined that an ON signal is input when an L level signal is input, and is ON when an H level signal is input. It is determined that no signal is input.

タイマ割込み処理の説明に戻り、ステップS108では、各カウンタやタイマの値を減算するタイマ演算処理を行う。ステップS109では、更新カウンタ111cの値を1更新する。ステップS110では、メダルのベット数や、払出枚数をカウントした結果を外部集中端子板121へ出力する処理を行う。ステップS111では、後述する抽選結果コマンド等の各種コマンドを表示制御装置81へ送信するコマンド出力処理を行う。ステップS112では、クレジット表示部60、残払出枚数表示部61及び払出枚数表示部62にそれぞれ表示されるセグメントデータを設定するセグメントデータ設定処理を行う。ステップS113では、セグメントデータ設定処理で設定されたセグメントデータを各表示部60〜62に供給して該当する数字、記号などを表示するセグメントデータ表示処理を行う。ステップS114では、入出力ポート104からI/O装置に対応するデータを出力するポート出力処理を行う。ステップS115では、先のステップS101にてバックアップエリアに退避させた各レジスタの値をそれぞれCPU102内の対応するレジスタに復帰させる。ステップS116では、基礎乱数を生成するための第1カウンタ111aの値を1更新する。第1カウンタ111aは、RAM106に形成された16ビットの記憶エリアであり、0〜65535の基礎乱数を生成できるようになっている。ステップS117では、遅延カウンタ111dの値を加算又は減算する遅延カウンタ処理を行う。その後ステップS118にて次回のタイマ割込みを許可し、この一連のタイマ割込み処理を終了する。   Returning to the description of the timer interrupt process, in step S108, a timer calculation process for subtracting the value of each counter or timer is performed. In step S109, the value of the update counter 111c is updated by one. In step S110, a process of outputting the bet number of medals and the result of counting the number of payouts to the external concentration terminal board 121 is performed. In step S111, command output processing for transmitting various commands such as a lottery result command to be described later to the display control device 81 is performed. In step S112, a segment data setting process for setting segment data displayed on the credit display unit 60, the remaining payout number display unit 61, and the payout number display unit 62 is performed. In step S113, segment data set processing in the segment data setting processing is supplied to the display units 60 to 62, and segment data display processing for displaying corresponding numbers, symbols, and the like is performed. In step S114, port output processing for outputting data corresponding to the I / O device from the input / output port 104 is performed. In step S115, the value of each register saved in the backup area in the previous step S101 is returned to the corresponding register in the CPU 102, respectively. In step S116, the value of the first counter 111a for generating the basic random number is updated by one. The first counter 111a is a 16-bit storage area formed in the RAM 106, and can generate a basic random number from 0 to 65535. In step S117, a delay counter process for adding or subtracting the value of the delay counter 111d is performed. Thereafter, in step S118, the next timer interrupt is permitted, and this series of timer interrupt processing ends.

図14は電源投入後に実行される主制御装置101でのメイン処理を示すフローチャートである。メイン処理は、停電からの復旧や電源スイッチ71のオン操作によって電源が投入された際に実行される。   FIG. 14 is a flowchart showing a main process in the main controller 101 that is executed after the power is turned on. The main processing is executed when power is turned on by recovery from a power failure or by turning on the power switch 71.

先ずステップS201では、初期化処理として、スタックポインタの値をCPU101内に設定するとともに、割込み処理を許可する割込みモードを設定し、その後CPU101内のレジスタ群や、I/O装置等に対する各種の設定などを行う。これらの初期化処理が終了すると、ステップS202では設定キーが設定キー挿入孔73に挿入されてON操作されているか否かを判定する。具体的には、図15に示す操作判定処理を行う。   First, in step S201, as an initialization process, the stack pointer value is set in the CPU 101, and an interrupt mode for permitting an interrupt process is set. Thereafter, various settings for a register group in the CPU 101, an I / O device, and the like are set. And so on. When these initialization processes are completed, in step S202, it is determined whether or not the setting key is inserted into the setting key insertion hole 73 and is turned ON. Specifically, the operation determination process shown in FIG. 15 is performed.

操作判定処理では、先ずステップS251において今回の判定対象がリセットスイッチ72であるか否かを判定するとともに、ステップS252において今回の判定対象が第1〜第3クレジット投入スイッチ56〜58のいずれかであるか否かを判定する。今回の判定対象がリセットスイッチ72、第1〜第3クレジット投入スイッチ56〜58のいずれかである場合には、ステップS253〜ステップS256に示す全エリア参照処理を行う。一方、今回の判定対象が上記各スイッチ以外である場合、具体的には、スタートレバー41、ストップスイッチ42〜44、清算スイッチ59、設定キーのいずれかである場合には、ステップS257〜ステップS260に示す1エリア参照処理を行う。   In the operation determination process, first, in step S251, it is determined whether or not the current determination target is the reset switch 72. In step S252, the current determination target is one of the first to third credit insertion switches 56 to 58. It is determined whether or not there is. When the current determination target is any one of the reset switch 72 and the first to third credit insertion switches 56 to 58, the entire area reference process shown in steps S253 to S256 is performed. On the other hand, if the current determination target is other than the above switches, specifically, if it is any of the start lever 41, the stop switches 42 to 44, the checkout switch 59, and the setting key, steps S257 to S260 are performed. 1 area reference process shown in FIG.

全エリア参照処理では、ステップS253において、今回の判定対象と対応するセンサ情報格納エリア112の第1〜第3エリア112a〜112cを参照する。ステップS254では、参照結果が「011」であるか否か、すなわち、第1エリアに「1」、第2エリアに「1」、第3エリアに「0」が格納されているか否かを判定する。参照結果が「011」である場合には、ステップS255にて今回の判定対象が操作されたと判定し、本処理を終了する。一方、参照結果が「011」でない場合には、ステップS256にて今回の判定対象が操作されていないと判定し、本処理を終了する。つまり、全エリア参照処理では、対応する検出センサからの信号入力有無の履歴に基づいて、判定対象が操作されたか否かを判定する。   In the all area reference process, in step S253, the first to third areas 112a to 112c of the sensor information storage area 112 corresponding to the current determination target are referred to. In step S254, it is determined whether or not the reference result is “011”, that is, whether or not “1” is stored in the first area, “1” is stored in the second area, and “0” is stored in the third area. To do. If the reference result is “011”, it is determined in step S255 that the current determination target has been operated, and the process ends. On the other hand, if the reference result is not “011”, it is determined in step S256 that the current determination target has not been operated, and the process ends. That is, in the all area reference process, it is determined whether or not the determination target has been operated based on the history of signal input from the corresponding detection sensor.

1エリア参照処理では、ステップS257において、今回の判定対象と対応するセンサ情報格納エリア112の第1エリア112aのみを参照する。ステップS258では、参照結果が「1」であるか否か、すなわち、第1エリアに「1」が格納されているか否かを判定する。参照結果が「1」である場合には、ステップS259にて今回の判定対象が操作されたと判定し、本処理を終了する。一方、参照結果が「0」である場合には、ステップS260にて今回の判定対象が操作されていないと判定し、本処理を終了する。つまり、1エリア参照処理では、対応する検出センサからの信号入力有無の最新情報に基づいて、判定対象が操作されたか否かを判定する。   In the one-area reference process, in step S257, only the first area 112a of the sensor information storage area 112 corresponding to the current determination target is referred to. In step S258, it is determined whether or not the reference result is “1”, that is, whether or not “1” is stored in the first area. If the reference result is “1”, it is determined in step S259 that the current determination target has been operated, and the process ends. On the other hand, when the reference result is “0”, it is determined in step S260 that the current determination target is not operated, and the present process is terminated. That is, in the one-area reference process, it is determined whether or not the determination target has been operated based on the latest information on the presence or absence of signal input from the corresponding detection sensor.

メイン処理の説明に戻り、ステップS202では、判定対象が設定キーであるため、1エリア参照処理を行う。すなわち、設定キー検出用エリアの第1エリア112aを参照し、「1」が格納されている場合には設定キーのON操作がなされていると判定し、「0」が格納されている場合には設定キーのON操作がなされていないと判定する。設定キーのON操作がなされている場合には、ステップS203に進み、強制的RAMクリア処理を行う。強制的RAMクリア処理では、RAM106に記憶されたデータのうち、第1カウンタ111a,第2カウンタ111b及び遅延カウンタ111dに記憶されたデータ(カウント値)を除く他のデータを全てクリアする。つまり、第1カウンタ111a,第2カウンタ111b及び遅延カウンタ111dの値は、RAMクリアを行う場合であってもクリア(初期化)されない。なお、第1カウンタ111a,第2カウンタ111b及び遅延カウンタ111dの値は、エラー状態から復旧させるべくリセットスイッチ72が操作された場合もクリア(初期化)されない。   Returning to the description of the main process, in step S202, since the determination target is the setting key, a one-area reference process is performed. That is, referring to the first area 112a of the setting key detection area, when “1” is stored, it is determined that the setting key is turned ON, and when “0” is stored. Determines that the setting key is not turned on. If the setting key has been turned on, the process proceeds to step S203 to perform forced RAM clear processing. In the forced RAM clear process, all the data stored in the RAM 106 other than the data (count values) stored in the first counter 111a, the second counter 111b, and the delay counter 111d are cleared. That is, the values of the first counter 111a, the second counter 111b, and the delay counter 111d are not cleared (initialized) even when the RAM is cleared. Note that the values of the first counter 111a, the second counter 111b, and the delay counter 111d are not cleared (initialized) even when the reset switch 72 is operated to recover from the error state.

ステップS204では、当選確率設定処理を行う。ここで、当選確率設定処理について図16を用いて説明する。スロットマシン10には、「設定1」から「設定6」まで6段階の当選確率が予め用意されており、当選確率設定処理とは、いずれの当選確率に基づいて内部処理を実行させるのかを設定するための処理である。   In step S204, a winning probability setting process is performed. Here, the winning probability setting process will be described with reference to FIG. The slot machine 10 is prepared in advance with six stages of winning probabilities from “Setting 1” to “Setting 6”, and the winning probability setting process sets which winning probability is used to execute the internal processing. It is a process to do.

ステップS301では次回のタイマ割込みを許可する。その後、ステップS302にて現在の設定値を読み込むとともに、ステップS303では現在の設定値をクレジット表示部60に表示する。但し、設定キーが挿入されてON操作された直後の処理では、先の強制的RAMクリア処理によりRAM106のデータがクリアされているため、クレジット表示部60に表示される設定値は「1」である。   In step S301, the next timer interrupt is permitted. Thereafter, the current set value is read in step S302, and the current set value is displayed on the credit display unit 60 in step S303. However, in the process immediately after the setting key is inserted and turned on, the data in the RAM 106 is cleared by the previous forced RAM clearing process, so the setting value displayed on the credit display unit 60 is “1”. is there.

ステップS304では、割込み待ち処理を行う。   In step S304, an interrupt waiting process is performed.

割込み待ち処理では、図17のフローチャートに示すように、ステップS401にてレジスタ退避処理を行う。ステップS402では、次回のタイマ割込みを許可するとともに、現在の更新カウンタ111cの値を取得する。ステップS403〜ステップS407では、カウンタ更新処理を行う。カウンタ更新処理では、先ずステップS403にて次回のタイマ割込みを禁止し、その後、ステップS404にて遅延カウンタ111dの値を1更新するとともに、ステップS405にて第2カウンタ111bの値を1更新する。遅延カウンタ111dは、RAM106に形成された4ビットの記憶エリアであり、0〜16のカウント値を生成できるようになっている。第2カウンタ111bは、第1カウンタ111aと同様、RAM106に形成された16ビットの記憶エリアであり、0〜65535の基礎乱数を生成できるようになっている。遅延カウンタ111d及び第2カウンタ111bを更新した後、ステップS406では、次回のタイマ割込みを許可し、ステップS407では、更新カウンタ111cの値が変化したか否かを判定する。具体的には、ステップS402にて取得した値と、更新カウンタ111cの値と、が一致するか否かを判定する。上述したとおり、更新カウンタ111cの値は、タイマ割込み処理のステップS109にて更新される。このため、更新カウンタ111cの値が変化していない場合、ステップS402の処理を行った以降にタイマ割込み処理が行われていないことを意味する。かかる場合には、ステップS403に戻り、カウンタ更新処理を行う。一方、更新カウンタ111cの値が変化した場合には、タイマ割込み処理が行われたことを意味するため、ステップS408にてレジスタ復帰処理を行い、本処理を終了する。   In the interrupt waiting process, as shown in the flowchart of FIG. 17, a register saving process is performed in step S401. In step S402, the next timer interrupt is permitted and the current value of the update counter 111c is acquired. In step S403 to step S407, counter update processing is performed. In the counter update process, first, the next timer interruption is prohibited in step S403, and then the value of the delay counter 111d is updated by 1 in step S404, and the value of the second counter 111b is updated by 1 in step S405. The delay counter 111d is a 4-bit storage area formed in the RAM 106, and can generate a count value of 0 to 16. Similar to the first counter 111a, the second counter 111b is a 16-bit storage area formed in the RAM 106, and can generate a basic random number from 0 to 65535. After updating the delay counter 111d and the second counter 111b, in step S406, the next timer interrupt is permitted, and in step S407, it is determined whether or not the value of the update counter 111c has changed. Specifically, it is determined whether or not the value acquired in step S402 matches the value of the update counter 111c. As described above, the value of the update counter 111c is updated in step S109 of the timer interrupt process. For this reason, when the value of the update counter 111c has not changed, it means that the timer interrupt process has not been performed after the process of step S402. In such a case, the process returns to step S403 to perform counter update processing. On the other hand, if the value of the update counter 111c has changed, it means that timer interrupt processing has been performed, so that register return processing is performed in step S408, and this processing ends.

割込み待ち処理が終了した場合には、ステップS305にてスタートレバー41が操作されたか否かを判定する。かかる判定処理として具体的には、上述した操作判定処理の1エリア参照処理を行う。すなわち、スタート検出用エリアの第1エリア112aを参照し、「1」が格納されている場合にはスタートレバー41が操作されたと判定し、「0」が格納されている場合にはスタートレバー41が操作されていないと判定する。スタートレバー41が操作されていない場合には、ステップS306〜ステップS308に示す設定更新処理を行う。ステップS306では、上述した割込み待ち処理を行い、ステップS307では、リセットスイッチ72が操作されたか否かを判定する。より詳しくは、操作判定処理の全エリア参照処理を行う。すなわち、リセット検出用エリアの全エリア112a〜112cを参照し、「011」が格納されている場合にはリセットスイッチ72が操作されたと判定し、「011」が格納されていない場合にはリセットスイッチ72が操作されていないと判定する。リセットスイッチ72が操作されていない場合にはそのままステップS303に戻り、操作された場合にはステップS308にて設定値を1更新した後にステップS303に戻る。つまり、設定更新処理では、リセットスイッチ72が操作されたと判定する毎に設定値が1更新され、更新された設定値がクレジット表示部60に表示される。なお、設定値が「6」のときにリセットスイッチ72が操作された場合、設定値は「1」に更新される。   If the interrupt waiting process is completed, it is determined in step S305 whether the start lever 41 has been operated. Specifically, one area reference process of the above-described operation determination process is performed as the determination process. That is, referring to the first area 112a of the start detection area, when “1” is stored, it is determined that the start lever 41 is operated, and when “0” is stored, the start lever 41 is determined. Is determined not to be operated. When the start lever 41 is not operated, the setting update process shown in steps S306 to S308 is performed. In step S306, the above-described interrupt waiting process is performed, and in step S307, it is determined whether or not the reset switch 72 has been operated. More specifically, the entire area reference process of the operation determination process is performed. That is, referring to all the areas 112a to 112c of the reset detection area, it is determined that the reset switch 72 has been operated when “011” is stored, and the reset switch when “011” is not stored. 72 is determined not to be operated. If the reset switch 72 is not operated, the process directly returns to step S303. If the reset switch 72 is operated, the set value is updated by 1 in step S308, and then the process returns to step S303. That is, in the setting update process, every time it is determined that the reset switch 72 has been operated, the setting value is updated by 1, and the updated setting value is displayed on the credit display unit 60. If the reset switch 72 is operated when the set value is “6”, the set value is updated to “1”.

ステップS305にてスタートレバー41が操作された場合には、ステップS309にて割込み待ち処理を行った後、ステップS310にて設定キーのON操作が継続してなされているか否かを判定する。設定キーのON操作が継続してなされている場合には、ステップS309に戻り、ON操作が終了された場合にはステップS311にて次回のタイマ割込みを禁止する。その後、ステップS312では、設定値を保存し、ステップS313では、RAM106に記憶されたデータのうち、設定値,第1カウンタ111a,第2カウンタ111b及び遅延カウンタ111dの値以外のデータをクリアし、本処理を終了する。   If the start lever 41 is operated in step S305, an interrupt waiting process is performed in step S309, and then it is determined in step S310 whether the setting key is continuously turned on. If the ON operation of the setting key is continued, the process returns to step S309, and if the ON operation is ended, the next timer interruption is prohibited in step S311. Thereafter, in step S312, the setting value is saved, and in step S313, data other than the setting value, the values of the first counter 111a, the second counter 111b, and the delay counter 111d are cleared from the data stored in the RAM 106. This process ends.

メイン処理の説明に戻り、ステップS204にて当選確率設定処理を行った後には、ステップS205にて遊技に関わる主要な制御を行う通常処理を実行する。   Returning to the description of the main process, after performing the winning probability setting process in step S204, a normal process for performing main control relating to the game is executed in step S205.

一方、ステップS202にて設定キーのON操作がなされていない場合には、ステップS206以降に示す復電処理を行う。復電処理とは、スロットマシン10の状態を電源遮断前の状態に復帰させる処理である。従って、復電処理では先ずRAM106のデータが正常かどうかを確認する必要がある。   On the other hand, if the setting key is not turned on in step S202, power recovery processing shown in step S206 and subsequent steps is performed. The power recovery process is a process for returning the state of the slot machine 10 to the state before the power is shut off. Therefore, in the power recovery process, it is necessary to first check whether the data in the RAM 106 is normal.

そこで、ステップS206では設定値が正常か否かを判定する。具体的には、設定値が1〜6のいずれかである場合に正常であると判定し、0又は7以上である場合に異常であると判定する。設定値が正常である場合には、ステップS207にて停電フラグがセットされているか否かを確認する。停電フラグがセットされている場合には、さらにステップS208にてRAM判定値が正常であるか否かを確認する。具体的には、RAM106のチェックサムの値を調べ、その値が正常、つまりRAM判定値を加味したチェックサムの値が0か否かを確認する。RAM判定値を加味したチェックサムの値が0である場合、RAM106のデータは正常であると判定する。   Therefore, in step S206, it is determined whether or not the set value is normal. Specifically, when the set value is any one of 1 to 6, it is determined to be normal, and when it is 0 or 7 or more, it is determined to be abnormal. If the set value is normal, it is confirmed in step S207 whether or not a power failure flag is set. If the power failure flag is set, it is further confirmed in step S208 whether or not the RAM determination value is normal. Specifically, the checksum value of the RAM 106 is checked to check whether the value is normal, that is, whether the checksum value including the RAM determination value is 0 or not. If the checksum value including the RAM determination value is 0, it is determined that the data in the RAM 106 is normal.

ステップS208においてRAM判定値が正常であると判定した場合にはステップS209に進み、バックアップエリアに保存されたスタックポインタの値をCPU102のスタックポインタに書き込み、スタックの状態を電源が遮断される前の状態に復帰させる。次に、ステップS210において、復電処理の実行を伝える復電コマンドを表示制御装置81に送信する。その後、ステップS211にて遊技状態として打ち止め及び自動精算設定保存処理を行い、ステップS212にてスタート検出センサ41a等の各種センサの初期化を行う。以上の処理が終了した後、ステップS213にて停電フラグをリセットし、電源遮断前の番地に戻る。具体的には、先に説明したタイマ割込み処理に復帰し、ウォッチドッグタイマクリア処理(ステップS104)が実行されることとなる。   If it is determined in step S208 that the RAM determination value is normal, the process proceeds to step S209, where the stack pointer value stored in the backup area is written to the stack pointer of the CPU 102, and the stack state before the power is shut off. Return to the state. Next, in step S <b> 210, a power recovery command that tells execution of power recovery processing is transmitted to the display control device 81. Thereafter, in step S211, the game state is stopped and automatic settlement setting storage processing is performed. In step S212, various sensors such as the start detection sensor 41a are initialized. After the above processing is completed, the power failure flag is reset in step S213, and the processing returns to the address before turning off the power. Specifically, the process returns to the timer interrupt process described above, and the watchdog timer clear process (step S104) is executed.

一方、ステップS206〜ステップS208のいずれかがNO、すなわち、設定値が異常である、電源遮断時にセットされる筈の停電フラグがセットされていない、又はRAM判定値が異常である場合には、RAM106のデータが破壊された可能性が高い。このような場合には、ステップS214〜ステップS216に示す動作禁止処理を行う。動作禁止処理として、先ずステップS214にて次回のタイマ割込み処理を禁止し、ステップS215では入出力ポート104内の全ての出力ポートをクリアすることにより、入出力ポート104に接続された全てのアクチュエータをオフ状態に制御する。その後、ステップS216にてホール管理者等に上部ランプ63等を用いてエラーの発生を報知するエラー報知処理を行う。かかる動作禁止状態は、上述した当選確率設定処理が行われるまで維持される。   On the other hand, if any of step S206 to step S208 is NO, that is, the set value is abnormal, the power failure flag that is set when the power is shut off is not set, or the RAM determination value is abnormal, There is a high possibility that the data in the RAM 106 has been destroyed. In such a case, the operation prohibiting process shown in steps S214 to S216 is performed. As the operation prohibition process, first, the next timer interrupt process is prohibited in step S214, and in step S215, all output ports in the input / output port 104 are cleared, so that all actuators connected to the input / output port 104 are removed. Control to off state. Thereafter, in step S216, an error notification process for notifying the occurrence of an error to the hall manager or the like using the upper lamp 63 or the like is performed. This operation prohibition state is maintained until the above-described winning probability setting process is performed.

次に、遊技に関わる主要な制御を行う通常処理について図18のフローチャートに基づき説明する。   Next, normal processing for performing main control related to the game will be described based on the flowchart of FIG.

先ずステップS501では、次回のタイマ割込みを許可する。ステップS502では、遊技を可能とするための開始前処理を行う。開始前処理では、表示制御装置81等が初期化を終了するまで待機する。表示制御装置81等の初期化が終了した場合には、ステップS503〜ステップS508に示す遊技管理処理を行う。   First, in step S501, the next timer interrupt is permitted. In step S502, pre-start processing for enabling a game is performed. In the pre-start process, the process waits until the display control device 81 and the like finish initialization. When the initialization of the display control device 81 or the like is completed, the game management process shown in steps S503 to S508 is performed.

遊技管理処理として、ステップS503では、RAM106に格納された各種遊技情報等のデータ(例えば前回の遊技で用いた乱数値等)をクリアする。その後、ステップS504では開始待ち処理を行う。   As the game management process, in step S503, data such as various game information stored in the RAM 106 (for example, a random value used in the previous game) is cleared. Thereafter, in step S504, a start waiting process is performed.

ここで、開始待ち処理について図19のフローチャートを用いて説明する。   Here, the start waiting process will be described with reference to the flowchart of FIG.

ステップS601では、前回の遊技で再遊技入賞が成立したか否かを判定する。再遊技入賞が成立していた場合には、ステップS602にて自動投入処理を行う。自動投入処理とは、前回のベット数と同数の仮想メダルを自動投入する処理である。自動投入処理では、クレジット表示部60に表示された仮想メダル数を減じることなく仮想メダルの投入を行う。つまり、前回の遊技で再遊技入賞が成立した場合には、遊技者は所有するメダルを減らすことなく且つメダルを投入することなく今回の遊技を行うことができる。なお、前回の遊技で再遊技入賞が成立した場合には、先ずベット数と同数の値をクレジット表示部60に加算表示し、自動投入処理において前記加算表示数を減じた上で仮想メダルの投入を行う構成としても良い。ステップS601にて再遊技入賞が成立していないと判定した場合には、ステップS603にてメダルのベットを許可するメダル受付許可処理を行う。メダル受付許可処理では、メダル通路切替ソレノイド46aを励磁状態に切り替えることにより、メダルの投入が可能な状態とする。その後は、遊技を開始させるための開始指令が発生するまで、ステップS604〜ステップS620に示す開始前準備処理を繰り返し行う。   In step S601, it is determined whether or not a re-game winning is established in the previous game. If a re-game winning is established, an automatic insertion process is performed in step S602. The automatic insertion process is a process for automatically inserting the same number of virtual medals as the previous bet number. In the automatic insertion process, a virtual medal is inserted without reducing the number of virtual medals displayed on the credit display unit 60. That is, when a re-game winning is established in the previous game, the player can play the current game without reducing the number of medals owned and without inserting medals. When a re-game winning is established in the previous game, first, the same value as the number of bets is added and displayed on the credit display unit 60, and the virtual medal is inserted after reducing the added display number in the automatic insertion process. It is good also as a structure which performs. If it is determined in step S601 that a re-game winning is not established, a medal acceptance permission process for permitting betting of medals is performed in step S603. In the medal acceptance permission process, the medal passage switching solenoid 46a is switched to the excited state, so that a medal can be inserted. Thereafter, the pre-start preparation process shown in steps S604 to S620 is repeated until a start command for starting the game is generated.

開始前準備処理として、先ずステップS604では、タイマ割込み処理のセンサ監視処理ステップS107にてなされたセンサの読み込み結果に異常が発生していないかを確認する異常確認処理を行う。異常確認処理では、異常が発生していると判定した場合、スロットマシン10をエラー状態とすると共にエラーの発生を報知する異常発生時処理を行う。かかるエラー状態は、リセットスイッチ72が操作されるまで維持される。センサの読み込み結果が正常である場合には、ステップS605に進み、割込み待ち処理を行う。ステップS606では、清算スイッチ59,各クレジット投入スイッチ56〜58のいずれかが操作されたか否かを判定する。   As a pre-start preparation process, first, in step S604, an abnormality confirmation process for confirming whether an abnormality has occurred in the sensor reading result in the sensor monitoring process step S107 of the timer interruption process is performed. In the abnormality confirmation process, when it is determined that an abnormality has occurred, an abnormality occurrence process is performed to place the slot machine 10 in an error state and notify the occurrence of the error. Such an error state is maintained until the reset switch 72 is operated. If the sensor reading result is normal, the process advances to step S605 to perform an interrupt waiting process. In step S606, it is determined whether or not any of the clearing switch 59 and each of the credit insertion switches 56 to 58 has been operated.

具体的には、清算スイッチ59に関しては操作判定処理の1エリア参照処理を行い、各クレジット投入スイッチ56〜58に関しては操作判定処理の全エリア参照処理を行う。すなわち、清算検出用エリアの第1エリア112aを参照し、「1」が格納されている場合には清算スイッチ59が操作されたと判定し、「0」が格納されている場合には清算スイッチ59が操作されていないと判定する。清算スイッチ59が操作されていない場合には、第1クレジット投入検出用エリアの全エリア112a〜112cを参照し、「011」が格納されている場合には第1クレジット投入スイッチ56が操作されたと判定し、「011」が格納されていない場合には第1クレジット投入スイッチ56が操作されていないと判定する。第1クレジット投入スイッチ56が操作されていない場合には、第2クレジット投入検出用エリアの全エリア112a〜112cを参照し、「011」が格納されている場合には第2クレジット投入スイッチ57が操作されたと判定し、「011」が格納されていない場合には第2クレジット投入スイッチ57が操作されていないと判定する。第2クレジット投入スイッチ57が操作されていない場合には、第3クレジット投入検出用エリアの全エリア112a〜112cを参照し、「011」が格納されている場合には第3クレジット投入スイッチ58が操作されたと判定し、「011」が格納されていない場合には第3クレジット投入スイッチ58が操作されていないと判定する。   Specifically, with respect to the clearing switch 59, one area reference processing for operation determination processing is performed, and for each credit insertion switch 56 to 58, all area reference processing for operation determination processing is performed. That is, referring to the first area 112a of the settlement detection area, when “1” is stored, it is determined that the settlement switch 59 has been operated, and when “0” is stored, the settlement switch 59 is determined. Is determined not to be operated. When the clearing switch 59 is not operated, all areas 112a to 112c of the first credit insertion detection area are referred to. When “011” is stored, the first credit insertion switch 56 is operated. If “011” is not stored, it is determined that the first credit insertion switch 56 is not operated. When the first credit insertion switch 56 is not operated, all areas 112a to 112c of the second credit insertion detection area are referred to. When “011” is stored, the second credit insertion switch 57 is If it is determined that the second credit insertion switch 57 has not been operated, it is determined that the second credit insertion switch 57 has not been operated. When the second credit insertion switch 57 is not operated, all areas 112a to 112c of the third credit insertion detection area are referred to. When “011” is stored, the third credit insertion switch 58 is When it is determined that the third credit insertion switch 58 has not been operated, it is determined that the third credit insertion switch 58 has not been operated.

上記スイッチ56〜59のいずれかが操作された場合、又はステップS602にて自動投入処理を行った場合には、ステップS607に進み、払出枚数表示部62に表示しているメダル払出数をクリアする。その後、又は清算スイッチ59,各クレジット投入スイッチ56〜58のいずれも操作されていなかった場合には、ステップS608にて第2カウンタ111bの値を1更新するとともに、ステップS609にて遅延カウンタ111dの値を1更新する。続くステップS610では、メダル返却処理を行う。メダル返却処理では、ステップS606にて清算スイッチ59が操作されたと判定した場合に、クレジットされた仮想メダルと同数のメダルを払い出す処理を行う。   If any of the switches 56 to 59 is operated, or if an automatic insertion process is performed in step S602, the process proceeds to step S607, and the medal payout number displayed on the payout number display unit 62 is cleared. . After that, or when neither the clearing switch 59 nor the credit insertion switches 56 to 58 are operated, the value of the second counter 111b is updated by 1 in step S608, and the delay counter 111d is updated in step S609. Update the value by 1. In subsequent step S610, a medal return process is performed. In the medal return process, if it is determined in step S606 that the clearing switch 59 has been operated, a process of paying out the same number of medals as the credited virtual medal is performed.

ステップS611では、メダルをベット可能な状態か否かを、メダル通路切替ソレノイド46aの状態すなわち励磁状態か非励磁状態かに基づいて判定する。そして、ベット可能な状態である場合には、ステップS612にてクレジット投入処理を行った後にステップS613に進む。クレジット投入処理では、ステップS606にてクレジット投入スイッチ56〜58のいずれかが操作されたと判定した場合、クレジット表示部60に表示されている仮想メダル数を減算表示したり、有効ラインの設定を行ったりする等の仮想メダルの投入に関わる処理を行う。また、ベット不可能な状態である場合には、クレジット投入処理を行うことなくそのままステップS613に進む。ちなみに、ベット不可能な状態としては、前回の遊技で再遊技入賞が成立し、ステップS602にて自動投入処理を行った場合が代表例として挙げられる。ステップS613では、投入判定処理を行う。投入判定処理では、投入メダル検出センサ45aからの検出信号に基づいてメダルが投入されたか否かを判定し、メダルが投入された場合には、有効ラインの設定等の処理を行う。   In step S611, whether or not a medal can be bet is determined based on the state of the medal path switching solenoid 46a, that is, whether it is in an excited state or a non-excited state. If the bet is possible, the process proceeds to step S613 after the credit insertion process is performed in step S612. In the credit insertion process, when it is determined in step S606 that any one of the credit insertion switches 56 to 58 has been operated, the virtual medal number displayed on the credit display unit 60 is displayed by subtraction or an effective line is set. Process related to the insertion of virtual medals such as If the bet is impossible, the process proceeds to step S613 without performing the credit insertion process. By the way, as a state where betting is impossible, a representative example is a case where a re-game winning is established in the previous game and an automatic insertion process is performed in step S602. In step S613, input determination processing is performed. In the insertion determination process, it is determined whether or not a medal has been inserted based on a detection signal from the inserted medal detection sensor 45a. If a medal has been inserted, processing such as setting an effective line is performed.

ステップS614では、ベットされているか否かを判定し、ベットされていない場合には、ステップS615にて設定表示処理を行う。設定表示処理では、設定キーが設定キー挿入孔73に挿入されてON操作されているか否かを判定し、設定キーのON操作がなされている場合には、現在の設定値をクレジット表示部60に表示する処理を行う。ステップS616では、デモ演出を開始済みであるか否かを判定する。本スロットマシン10では、ステップS503にてRAM106の遊技情報をクリアしてから所定時間(例えば1分)が経過した場合、補助表示部65等にてデモ演出を行う構成となっている。そこで、ステップS616では、前記所定時間を経過したか否かを判定し、所定時間を経過した場合には、さらにデモ演出を開始させるためのデモ開始コマンドを表示制御装置81に対して送信済みであるか否かを判定する。所定時間を経過していない場合、又はデモ開始コマンドを送信していない場合には、ステップS617にて演出待ち処理を行った後にステップS604に戻る。演出待ち処理では、RAM106の遊技情報をクリアしてからの経過時間を測定するカウンタを更新するとともに、所定時間を経過している場合には、デモ開始コマンドをセットする処理を行う。但し、演出待ち処理では、上記デモ開始コマンドをリングバッファにセットするのみであって、表示制御装置81に対してコマンドを送信しない。表示制御装置81へのコマンド送信は、先述したタイマ割込み処理のコマンド出力処理S111にて行う。ステップS616にてデモ開始コマンドを送信済みであると判定した場合には、演出待ち処理を行うことなくそのままステップS604に戻る。   In step S614, it is determined whether or not a bet is made. If the bet is not made, a setting display process is performed in step S615. In the setting display process, it is determined whether or not the setting key is inserted into the setting key insertion hole 73 and is turned on. If the setting key is turned on, the current setting value is displayed in the credit display unit 60. Process to be displayed. In step S616, it is determined whether the demonstration effect has been started. The slot machine 10 is configured to perform a demonstration effect on the auxiliary display unit 65 or the like when a predetermined time (for example, 1 minute) has elapsed since the game information in the RAM 106 was cleared in step S503. Therefore, in step S616, it is determined whether or not the predetermined time has elapsed. When the predetermined time has elapsed, a demonstration start command for starting a demonstration effect has been transmitted to the display control device 81. It is determined whether or not there is. If the predetermined time has not elapsed, or if the demonstration start command has not been transmitted, after performing the effect waiting process in step S617, the process returns to step S604. In the effect waiting process, a counter for measuring an elapsed time after the game information in the RAM 106 is cleared is updated, and if a predetermined time has elapsed, a process of setting a demonstration start command is performed. However, in the effect waiting process, only the demonstration start command is set in the ring buffer, and the command is not transmitted to the display control device 81. The command transmission to the display control device 81 is performed in the command output process S111 of the timer interrupt process described above. If it is determined in step S616 that the demonstration start command has been transmitted, the process directly returns to step S604 without performing the effect waiting process.

ステップS614にてベットされていると判定した場合には、ステップS618にてベット数が規定数(本実施の形態では3)に達しているか否かを判定し、ベット数が規定数に達していない場合には、ステップS604に戻る。ベット数が規定数に達している場合には、ステップS619にて割込み待ち処理を行うとともに、ステップS620にてスタートレバー41が操作されたか否か、すなわちスタート検出エリアの第1エリア112aに「1」がセットされているか否かを判定する。スタートレバー41が操作されていない場合には、ステップS604に戻る。   If it is determined in step S614 that the bet has been placed, it is determined in step S618 whether or not the bet number has reached the specified number (3 in the present embodiment), and the bet number has reached the specified number. If not, the process returns to step S604. If the bet number has reached the specified number, an interrupt waiting process is performed in step S619, and whether or not the start lever 41 has been operated in step S620, that is, “1” is set in the first area 112a of the start detection area. "Is set. If the start lever 41 is not operated, the process returns to step S604.

一方、スタートレバー41が操作された場合には、規定数のメダルがベットされている状況下でスタートレバー41が操作されると遊技を開始できる構成となっているため、遊技を開始させるべく開始指令が発生したことを意味する。かかる場合には、ステップS621にてメダル受付禁止処理を行う。メダル受付禁止処理では、メダル通路切替ソレノイド46aを非励磁状態に切り替えることにより、メダルの投入(ベット)が不可能な状態とする。その後、ステップS622にて遅延処理を行い、本処理を終了する。   On the other hand, when the start lever 41 is operated, the game can be started when the start lever 41 is operated in a situation where a prescribed number of medals are betted. Means that a command has occurred. In such a case, a medal acceptance prohibition process is performed in step S621. In the medal acceptance prohibition process, the medal passage switching solenoid 46a is switched to a non-excited state to make it impossible to place a medal (bet). Thereafter, delay processing is performed in step S622, and this processing is terminated.

遅延処理では、図20のフローチャートに示すように、ステップS631にて遅延フラグをセットする。ここで、遅延フラグとは、遅延カウンタ111dの更新処理を変化させるためのフラグである。具体的に説明すると、タイマ割込み処理の遅延カウンタ処理S117では、図21のフローチャートに示すように、ステップS651にて遅延フラグがセットされているか否かを判定する。そして、遅延フラグがセットされていない場合には、ステップS652にて遅延カウンタ111dの値を1加算し、本処理を終了する。一方、遅延フラグがセットされている場合には、ステップS653にて遅延カウンタ111dの値を1減算し、本処理を終了する。このように、タイマ割込み処理では、遅延フラグがセットされていない場合、定期的に遅延カウンタ111dの値を1加算し、遅延フラグがセットされている場合、定期的に遅延カウンタ111dの値を1減算する処理を行う。したがって、ステップS631にて遅延フラグをセットした場合には、それ以降のタイマ割込み処理において遅延カウンタ111dの値が定期的に1減算されていくこととなる。そこで、ステップS632では、遅延カウンタ111dの値が0となったか否かを判定し、0でない場合には、そのまま待機する。遅延カウンタ111dの値が0となった場合には、ステップS633に進み、基礎乱数生成器150に対してラッチ信号を出力する。より詳しくは、ステップS633ではラッチ信号を出力するためのフラグをセットするのみであって、ラッチ信号の実際の出力はタイマ割込み処理において行う。そして、ラッチ信号は、タイマ割込み処理の1割込み分(すなわち1.49msec)にわたって継続出力されるようになっている。その後、ステップS634にて遅延フラグをクリアし、本処理を終了する。   In the delay process, as shown in the flowchart of FIG. 20, a delay flag is set in step S631. Here, the delay flag is a flag for changing the update process of the delay counter 111d. More specifically, in the delay counter process S117 of the timer interrupt process, as shown in the flowchart of FIG. 21, it is determined whether or not the delay flag is set in step S651. If the delay flag is not set, the value of the delay counter 111d is incremented by 1 in step S652, and the process is terminated. On the other hand, if the delay flag is set, 1 is subtracted from the value of the delay counter 111d in step S653, and this process is terminated. As described above, in the timer interrupt process, when the delay flag is not set, the value of the delay counter 111d is periodically incremented by 1. When the delay flag is set, the value of the delay counter 111d is periodically incremented by 1. Perform the subtraction process. Therefore, when the delay flag is set in step S631, the value of the delay counter 111d is periodically subtracted by 1 in the subsequent timer interrupt processing. Accordingly, in step S632, it is determined whether or not the value of the delay counter 111d has become zero. When the value of the delay counter 111d becomes 0, the process proceeds to step S633, and a latch signal is output to the basic random number generator 150. More specifically, in step S633, only a flag for outputting a latch signal is set, and the actual output of the latch signal is performed in the timer interrupt process. The latch signal is continuously output for one interrupt (that is, 1.49 msec) of the timer interrupt process. Thereafter, in step S634, the delay flag is cleared, and this process ends.

上述したとおり、基礎乱数生成器150は、CPU102からのラッチ信号が入力された場合、そのタイミングにおけるカウンタ150aのカウント値をラッチ回路150bにラッチするようになっている。そこで、開始指令が発生した場合におけるCPU102、基礎乱数生成器150及び監視回路152の動作を、図22のタイミングチャートに基づいて説明する。   As described above, when the latch signal from the CPU 102 is input, the basic random number generator 150 latches the count value of the counter 150a at that timing in the latch circuit 150b. Therefore, operations of the CPU 102, the basic random number generator 150, and the monitoring circuit 152 when a start command is generated will be described based on the timing chart of FIG.

t1のタイミングで第2クロック回路151から出力される信号がLレベルからHレベルに立ち上がる、すなわち第2クロック信号が出力有り状態(第2クロック回路から出力される信号がHレベルの状態)に切り替ると、基礎乱数生成器150では、カウンタ150aのカウント値が更新されてnとなる。nは0〜65535のいずれかの値である。また、監視回路152のCLK端子には第2クロック回路151が反転器154を介して接続されているため、監視回路152では、CLK端子に入力される信号がタイミングt1においてHレベルからLレベルに立ち下がり、反転クロック信号が入力無し状態に切り替る。   The signal output from the second clock circuit 151 rises from the L level to the H level at the timing t1, that is, the second clock signal is switched to the output present state (the signal output from the second clock circuit is the H level state). Then, in the basic random number generator 150, the count value of the counter 150a is updated to n. n is any value from 0 to 65535. Further, since the second clock circuit 151 is connected to the CLK terminal of the monitoring circuit 152 via the inverter 154, in the monitoring circuit 152, the signal input to the CLK terminal changes from the H level to the L level at timing t1. Falling, inverted clock signal switches to no input state.

t2のタイミングで第2クロック回路151から出力される信号がHレベルからLレベルに立ち下がる、すなわち第2クロック信号が出力無し状態(第2クロック回路から出力される信号がLレベルの状態)に切り替ると、監視回路152では、CLK端子に入力される信号がLレベルからHレベルに立ち上がり、反転クロック信号が入力有り状態に切り替る。このとき、基礎乱数生成器150では、カウンタ150aのカウント値が更新されることはなく、カウント値はnのままである。   The signal output from the second clock circuit 151 falls from the H level to the L level at the timing t2, that is, the second clock signal is not output (the signal output from the second clock circuit is in the L level). When the switching is performed, the monitoring circuit 152 switches the signal input to the CLK terminal from the L level to the H level, and switches the inverted clock signal to the input present state. At this time, in the basic random number generator 150, the count value of the counter 150a is not updated, and the count value remains n.

監視回路152は、反転クロック信号が入力有り状態に切り替った場合、そのときにD端子に入力されている操作信号の入力状態に応じた信号を、Qバー端子から出力する。タイミングt2では操作信号(Hレベルの検出信号)が入力されていないため、Qバー端子から開始信号を出力しない。なお、開始信号はQバー端子(負論理出力端子)から出力されるため、開始信号に限りHレベルではなくLレベルの信号が開始信号となる。   When the inverted clock signal is switched to the input presence state, the monitoring circuit 152 outputs a signal corresponding to the input state of the operation signal input to the D terminal at that time from the Q bar terminal. Since the operation signal (H level detection signal) is not input at timing t2, the start signal is not output from the Q bar terminal. Since the start signal is output from the Q bar terminal (negative logic output terminal), only the start signal is an L level signal instead of the H level.

その後、t3のタイミングで第2クロック信号が出力有り状態に切り替ると、基礎乱数生成器150では、カウンタ150aのカウント値が更新されてn+1となる。このように、基礎乱数生成器150では、第2クロック信号が出力無し状態から出力有り状態に切り替るタイミングでカウント値の更新が順次行われる。   Thereafter, when the second clock signal is switched to the output enabled state at the timing t3, the basic random number generator 150 updates the count value of the counter 150a to n + 1. As described above, the basic random number generator 150 sequentially updates the count value at the timing when the second clock signal is switched from the non-output state to the output state.

t4のタイミングでスタートレバー41が操作された場合、監視回路152のD端子に入力されている信号がLレベルからHレベルに立ち上がり、操作信号が入力有り状態に切り替る。但し、かかるタイミングt4では反転クロック信号が入力無し状態のため、開始信号は出力無し状態のままである。   When the start lever 41 is operated at the timing t4, the signal input to the D terminal of the monitoring circuit 152 rises from the L level to the H level, and the operation signal is switched to the input presence state. However, since the inverted clock signal is not input at the timing t4, the start signal remains in the no output state.

t5のタイミングで反転クロック信号が入力無し状態から入力有り状態に切り替った場合、監視回路152では、D端子に操作信号が入力されているため、Qバー端子からの出力信号をHレベルからLレベルに立ち下げる。この結果、かかるタイミングt5で開始信号が出力無し状態から出力有り状態に切り替る。このとき、CPU102から出力されるラッチ信号は、出力無し状態のままである。つまり、開始信号が出力されるタイミングt5では、ラッチ信号が出力されない。   When the inverted clock signal is switched from the no-input state to the input-present state at the timing t5, since the operation signal is input to the D terminal in the monitoring circuit 152, the output signal from the Q bar terminal is changed from the H level to the L level. Fall to the level. As a result, at the timing t5, the start signal is switched from the no output state to the output present state. At this time, the latch signal output from the CPU 102 remains in the no-output state. That is, no latch signal is output at timing t5 when the start signal is output.

t6のタイミングでは、反転クロック信号が入力有り状態から入力無し状態に切り替るが、開始信号の出力状態が変更されることはなく、そのまま出力有り状態が保持される。つまり、反転クロック信号が入力有り状態から入力無し状態に切り替ったとしても、開始信号は出力有り状態のまま保持される。   At the timing t6, the inverted clock signal switches from the input present state to the no input state, but the output state of the start signal is not changed and the output present state is maintained as it is. That is, even if the inverted clock signal is switched from the input present state to the no input state, the start signal is held in the output present state.

その後、t7のタイミングで反転クロック信号が入力無し状態から入力有り状態に切り替ると、かかるタイミングにおける操作信号の入力状態に応じた開始信号が出力される。t7のタイミングでは操作信号が入力有り状態のため、出力有り状態のまま開始信号が継続して出力される。   Thereafter, when the inverted clock signal is switched from the non-input state to the input state at the timing t7, a start signal corresponding to the input state of the operation signal at the timing is output. Since the operation signal is in the input presence state at the timing t7, the start signal is continuously output in the output presence state.

さて、タイミングt5において開始信号が出力有り状態に切り替わった場合、CPU102は、タイマ割込み処理のセンサ監視処理S107において開始信号の入力を検知し、スタート検出エリアの第1エリア112aに「1」をセットする。そして、開始待ち処理のステップS620にて開始指令が発生したと判定し、遅延処理を行う。遅延処理では、遅延カウンタ111dの値が0となったタイミングtdでラッチ信号を出力する。つまり、CPU102は、開始指令が発生したと判定してから遅延時間(具体的には、遅延カウンタ111dの値にタイマ割込みの周期1.49msecを乗算した時間)が経過した後のタイミングtdでラッチ信号を入力無し状態から入力有り状態に切り替える。この結果、スタートレバー41の操作タイミングと、ラッチ信号が出力されるタイミングと、には、遅延時間分だけずれが生じることとなる。   When the start signal is switched to the output enabled state at timing t5, the CPU 102 detects the input of the start signal in the sensor monitoring process S107 of the timer interrupt process, and sets “1” in the first area 112a of the start detection area. To do. In step S620 of the start waiting process, it is determined that a start command has been generated, and a delay process is performed. In the delay process, a latch signal is output at timing td when the value of the delay counter 111d becomes zero. That is, the CPU 102 latches at a timing td after a delay time (specifically, a value obtained by multiplying the value of the delay counter 111d by the timer interrupt period 1.49 msec) has elapsed since it was determined that the start command has occurred. The signal is switched from the no input state to the input present state. As a result, the operation timing of the start lever 41 and the timing at which the latch signal is output are shifted by the delay time.

第2クロック信号が出力有り状態に切り替るタイミングt8において、基礎乱数生成器150は、カウンタ150aのカウント値を更新してm+1とする。mは0〜65535のいずれかの値である。このとき、基礎乱数生成器150にはラッチ信号が入力されているが、かかるタイミングではカウント値をラッチ回路150bにラッチしない。そして、基礎乱数生成器150は、第2クロック信号が出力無し状態に切り替るタイミングt9において、カウンタ150aのカウント値m+1をラッチ回路150bにラッチする。つまり、t4のタイミングでスタートレバー41が操作された場合、タイミングt4ではなくタイミングt9においてカウント値m+1が基礎乱数として取得される。   At timing t8 when the second clock signal is switched to the output present state, the basic random number generator 150 updates the count value of the counter 150a to m + 1. m is any value from 0 to 65535. At this time, a latch signal is input to the basic random number generator 150, but the count value is not latched in the latch circuit 150b at such timing. Then, the basic random number generator 150 latches the count value m + 1 of the counter 150a in the latch circuit 150b at the timing t9 when the second clock signal is switched to the no-output state. That is, when the start lever 41 is operated at the timing t4, the count value m + 1 is acquired as the basic random number at the timing t9 instead of the timing t4.

ここで、基礎乱数生成器150において、カウンタ150aのカウント値の更新は第2クロック信号が入力無し状態から入力有り状態に切り替るタイミング(t1,t3,t6等)で行われ、ラッチ回路150bにおけるカウント値のラッチは第2クロック信号が入力有り状態から入力無し状態に切り替るタイミング(t9)で行われる。かかる構成とすることにより、カウント値の更新タイミングとカウント値のラッチタイミングが同じタイミングとなることを回避でき、カウント値が更新されている最中にラッチタイミングがやってきてカウント値を正常にラッチできない不具合が生じることを回避できる。   Here, in the basic random number generator 150, the count value of the counter 150a is updated at the timing (t1, t3, t6, etc.) when the second clock signal switches from the no-input state to the input-present state, and in the latch circuit 150b. The count value is latched at a timing (t9) at which the second clock signal switches from the input state to the no-input state. By adopting such a configuration, it is possible to prevent the count value update timing and the count value latch timing from being the same, and the latch timing comes while the count value is being updated, and the count value cannot be normally latched. It is possible to avoid problems.

タイミングt10でスタートレバー41が初期位置に復帰すると、監視回路152に入力されている操作信号が入力有り状態から入力無し状態に切り替る。タイミングt10は反転クロック信号が入力有り状態から入力無し状態に切り替るタイミングのため、かかるタイミングでは開始信号の出力状態は変化しない。そして、反転クロック信号が入力無し状態から入力有り状態に切り替るタイミングt11で操作信号が入力されていないことが検知され、開始信号が出力有り状態から出力無し状態に切り替る。なお、反転クロック信号が入力無し状態下(例えばタイミングt10<タイミングt<タイミングt11)で操作信号が入力有り状態から入力無し状態に切り替った場合、或いは反転クロック信号が入力有り状態下(例えばタイミングt9<タイミングt<タイミングt10)で操作信号が入力有り状態から入力無し状態に切り替った場合であっても、タイミングt11で開始信号が出力有り状態から出力無し状態に切り替る。   When the start lever 41 returns to the initial position at the timing t10, the operation signal input to the monitoring circuit 152 switches from the input present state to the no input state. Since the timing t10 is a timing at which the inverted clock signal is switched from the input present state to the no input state, the output state of the start signal does not change at this timing. Then, at timing t11 when the inverted clock signal switches from the no-input state to the input-present state, it is detected that no operation signal is input, and the start signal switches from the output-present state to the no-output state. Note that when the inverted clock signal is not input (for example, timing t10 <timing t <timing t11), the operation signal is switched from the input input state to the no input state, or the inverted clock signal is input (eg timing Even when the operation signal is switched from the input present state to the no input state at t9 <timing t <timing t10), the start signal is switched from the output present state to the no output state at timing t11.

ちなみに、操作信号が入力されるタイミングを常時把握するのではなく反転クロック信号が入力されるタイミングで把握する構成の場合、1の反転クロック信号が入力された後に操作信号が入力有り状態に切り替り、次の反転クロック信号が入力されるまでの間に操作信号が入力無し状態に切り替ると、スタートレバー41の操作を正確に把握できないという可能性が考えられる。ところが、本スロットマシン10におけるスタートレバー41は、手が離れたあと初期位置に復帰するまでに数10msecを有するように構成されており、スタートレバー41が操作されると少なくとも数10msecは操作信号が監視回路152に入力されるようになっている。また、第2クロック回路151から出力される第2クロック信号のクロック周波数は7.915MHzであり、その周期は約126nsecである。つまり、監視回路152において反転クロック信号が入力される周期は、操作信号が入力有り状態に切り替ってから入力無し状態に切り替るまでに要する時間間隔と比して十分に短い。したがって、スタートレバー検出センサ41aから操作信号が出力されたにも関わらず監視回路152において前記操作信号が読み飛ばされるという不具合が生じることを回避できる。   By the way, when the configuration is such that the timing at which the operation signal is inputted is not always grasped but at the timing at which the inverted clock signal is inputted, the operation signal is switched to the input present state after the one inverted clock signal is inputted. If the operation signal is switched to the no-input state until the next inverted clock signal is input, there is a possibility that the operation of the start lever 41 cannot be accurately grasped. However, the start lever 41 in the slot machine 10 is configured to have several tens of milliseconds until the hand is released and returns to the initial position. When the start lever 41 is operated, an operation signal is at least several tens of milliseconds. The signal is input to the monitoring circuit 152. The clock frequency of the second clock signal output from the second clock circuit 151 is 7.915 MHz, and the period is about 126 nsec. In other words, the cycle in which the inverted clock signal is input in the monitoring circuit 152 is sufficiently shorter than the time interval required for the operation signal to switch from the input state to the input state. Therefore, it is possible to avoid a problem that the operation signal is skipped in the monitoring circuit 152 even though the operation signal is output from the start lever detection sensor 41a.

また、監視回路152からではなくCPU102からラッチ信号を出力する構成とした場合、CPU102と基礎乱数生成器150が異なるクロック信号に基づいて動作するため、CPU102からラッチ信号が出力されたにも関わらず基礎乱数生成器150において前記ラッチ信号が読み飛ばされる可能性も考えられる。ところが、ラッチ信号は、タイマ割込み処理の1割込み分すなわち1.49msecにわたって出力されるように構成されており、第2クロック信号の周期は、上述したとおり約126nsecである。したがって、CPU102からラッチ信号が出力されたにも関わらず基礎乱数生成器150において前記ラッチ信号が読み飛ばされるという不具合が生じることを回避できる。   Further, when the latch signal is output from the CPU 102 instead of from the monitoring circuit 152, the CPU 102 and the basic random number generator 150 operate based on different clock signals, so that the latch signal is output from the CPU 102. There is a possibility that the basic random number generator 150 skips the latch signal. However, the latch signal is configured to be output for one interrupt of the timer interrupt process, that is, 1.49 msec, and the period of the second clock signal is about 126 nsec as described above. Therefore, it is possible to avoid a problem that the latch signal is skipped in the basic random number generator 150 even though the latch signal is output from the CPU 102.

通常処理の説明に戻り、開始待ち処理にて開始指令が発生したと判定した場合には、ステップS505の抽選処理、ステップS506のリール制御処理、ステップS507のメダル払出処理、ステップS508のBB状態処理を順に実行し、ステップS503に戻る。   Returning to the description of the normal process, if it is determined that the start command is generated in the start wait process, the lottery process in step S505, the reel control process in step S506, the medal payout process in step S507, and the BB state process in step S508. Are executed in order, and the process returns to step S503.

次に、ステップS505の抽選処理について、図23のフローチャートに基づき説明する。   Next, the lottery process of step S505 will be described based on the flowchart of FIG.

ステップS701では、役の当否判定を行う際に用いる乱数を作成するための乱数作成処理を行う。図24のフローチャートに示すように、乱数作成処理のステップS801では、基礎乱数生成器150が生成した基礎乱数を、16ビットで構成された乱数格納エリア110に格納する。より具体的には、基礎乱数生成器150は、CPU102からのラッチ信号が入力されたタイミングでカウント値をラッチするとともに、ラッチしたカウント値をCPU102に対して出力する。CPU102は、CPU102内蔵の入力ポートに入力されたカウント値を基礎乱数として乱数格納エリア110に格納する。その後、ステップS802にて乱数格納エリア110に第1カウンタ111aの値を加算するとともに、ステップS803にて乱数格納エリア110に第2カウンタ111bの値を加算し、乱数作成処理を終了する。つまり、本スロットマシン10では、基礎乱数生成器150のラッチしたカウント値と、第1カウンタ111aのカウント値と、第2カウンタ111bのカウント値と、を加算することにより、乱数が作成される。   In step S701, a random number generation process is performed to generate a random number used when determining whether or not a combination is appropriate. As shown in the flowchart of FIG. 24, in step S801 of the random number generation process, the basic random number generated by the basic random number generator 150 is stored in a random number storage area 110 composed of 16 bits. More specifically, the basic random number generator 150 latches the count value at the timing when the latch signal from the CPU 102 is input, and outputs the latched count value to the CPU 102. The CPU 102 stores the count value input to the input port built in the CPU 102 in the random number storage area 110 as a basic random number. Thereafter, in step S802, the value of the first counter 111a is added to the random number storage area 110, and in step S803, the value of the second counter 111b is added to the random number storage area 110, and the random number generation process is terminated. That is, in the slot machine 10, a random number is created by adding the count value latched by the basic random number generator 150, the count value of the first counter 111a, and the count value of the second counter 111b.

ここで、タイマ割込み処理におけるステップS108〜ステップS118の一連の処理は、これら一連の処理を行うために必要な時間が、基礎乱数生成器150がカウント値をラッチしてから当該ラッチ結果がCPU102に入力されるまでに要する時間より長くなるように構成されている。かかる構成とすることにより、基礎乱数の取得タイミング(ステップS801の処理を行うタイミング)を、今回のゲームでラッチされたカウント値がCPU102に入力されるタイミングより遅くすることができ、今回のゲームでラッチされたカウント値を確実に基礎乱数として乱数格納エリア110に格納することが可能となる。   Here, in the series of processing in step S108 to step S118 in the timer interrupt processing, the time required for performing these series of processing is determined by the basic random number generator 150 latching the count value, and the latch result is sent to the CPU 102. It is configured to be longer than the time required for input. With this configuration, the basic random number acquisition timing (timing for performing the process of step S801) can be delayed from the timing at which the count value latched in the current game is input to the CPU 102. The latched count value can be reliably stored in the random number storage area 110 as a basic random number.

乱数を作成した後、ステップS702では、役の当否判定を行うための抽選テーブルを選択する。具体的には、スロットマシン10の現在の遊技状態を判別し、遊技状態と対応した抽選テーブルを選択する。本スロットマシン10では、大別して通常状態とBB状態の2種類の遊技状態を有しており、各遊技状態と対応した抽選テーブルを選択する。また、設定状態が「設定1」のときにメダル払出の期待値が最も低い抽選テーブルを選択し、「設定6」のときにメダル払出の期待値が最も高い抽選テーブルを選択する。   After creating the random number, in step S702, a lottery table for determining whether or not the winning combination is selected is selected. Specifically, the current gaming state of the slot machine 10 is determined, and a lottery table corresponding to the gaming state is selected. The slot machine 10 is roughly divided into two game states, a normal state and a BB state, and a lottery table corresponding to each game state is selected. Further, when the setting state is “setting 1”, the lottery table with the lowest expected value of medal payout is selected, and when it is “setting 6”, the lottery table with the highest expected value of medal payout is selected.

抽選テーブルについて、簡単に説明する。図25は、「設定3」の通常状態で選択される通常状態用抽選テーブルである。抽選テーブルには、判定すべき役の数と同数のインデックス値IVが設定されており、各インデックス値IVには、当選となる役がそれぞれ一義的に対応付けられると共に、ポイント値PVが設定されている。すなわち、本スロットマシン10における通常状態では、再遊技、ベル、スイカ、チェリー、1枚役、BBの6種類の役について判定が行われるようになっている。   The lottery table will be briefly described. FIG. 25 is a normal state lottery table selected in the normal state of “setting 3”. In the lottery table, the same number of index values IV as the number of combinations to be determined are set. Each index value IV is uniquely associated with each winning combination, and a point value PV is set. ing. That is, in the normal state of the slot machine 10, the determination is made for six types of re-game, bell, watermelon, cherry, one-piece combination, and BB.

抽選テーブルを選択した後、ステップS703ではインデックス値IVを1とし、続くステップS704では役の当否を判定する際に用いる判定値DVを設定する。かかる判定値設定処理では、現在の判定値DVに、現在のインデックス値IVと対応するポイント値PVを加算して新たな判定値DVを設定する。なお、初回の判定値設定処理では、ステップS701にて作成した乱数値を現在の判定値DVとし、この乱数値に現在のインデックス値IVである1と対応するポイント値PVを加算して新たな判定値DVとする。   After selecting the lottery table, the index value IV is set to 1 in step S703, and a determination value DV used for determining whether or not the winning combination is determined is set in subsequent step S704. In the determination value setting process, a new determination value DV is set by adding a point value PV corresponding to the current index value IV to the current determination value DV. In the initial determination value setting process, the random value created in step S701 is set as the current determination value DV, and a point value PV corresponding to 1 that is the current index value IV is added to the random value to obtain a new value. The determination value is DV.

その後、ステップS705ではインデックス値IVと対応する役の当否判定を行う。役の当否判定では判定値DVが65535を超えたか否かを判定する。65535を超えた場合には、ステップS706に進み、そのときのインデックス値IVと対応する役の当選フラグを、RAM106の当選フラグ格納エリア106aにセットする。例えば、IV=3のときに判定値DVが65535を超えた場合、ステップS706ではスイカ当選フラグを当選フラグ格納エリア106aにセットする。   Thereafter, in step S705, whether or not the combination corresponding to the index value IV is determined. In the combination determination, it is determined whether or not the determination value DV exceeds 65535. If 65535 is exceeded, the process proceeds to step S706, and the winning flag of the combination corresponding to the index value IV at that time is set in the winning flag storage area 106a of the RAM 106. For example, if the determination value DV exceeds 65535 when IV = 3, the watermelon winning flag is set in the winning flag storage area 106a in step S706.

ちなみに、セットされた当選フラグが再遊技当選フラグ,ベル当選フラグ,スイカ当選フラグ,チェリー当選フラグ,1枚役当選フラグのいずれかである場合、この当選フラグは該当選フラグがセットされたゲームの終了後にリセットされる(通常処理のS503参照)。一方、当選フラグがBB当選フラグである場合、BB当選フラグはBB入賞が成立したことを条件の1つとしてリセットされる。すなわち、BB当選フラグは、複数回のゲームにわたって有効とされる場合がある。なお、BB当選フラグを持ち越した状態におけるステップS706では、現在のインデックス値IVが1〜5であればインデックス値IVと対応する当選フラグをセットし、現在のインデックス値IVが6であればBB当選フラグをセットしない。つまり、BB当選フラグが持ち越されているゲームでは、再遊技,ベル,スイカ,チェリー,1枚役のいずれかに当選した場合には対応する当選フラグをセットする一方、BBに当選した場合にはBB当選フラグをセットしない。   By the way, if the winning flag that is set is one of the re-game winning flag, the bell winning flag, the watermelon winning flag, the cherry winning flag, or the one-piece winning flag, this winning flag is the game with the corresponding winning flag set. It is reset after completion (see S503 of the normal process). On the other hand, when the winning flag is the BB winning flag, the BB winning flag is reset as one of the conditions that the BB winning is established. That is, the BB winning flag may be valid for a plurality of games. In step S706 in the state where the BB winning flag is carried over, if the current index value IV is 1 to 5, the winning flag corresponding to the index value IV is set. If the current index value IV is 6, the BB winning flag is set. Do not set the flag. In other words, in a game in which the BB winning flag is carried over, when winning one of replay, bell, watermelon, cherry, or one-player combination, the corresponding winning flag is set, while when winning a BB The BB winning flag is not set.

ステップS705にて判定値DVが65535を超えなかった場合には、インデックス値IVと対応する役に外れたことを意味する。かかる場合にはステップS707にてインデックス値IVを1加算し、続くステップS708ではインデックス値IVと対応する役があるか否か、すなわち当否判定すべき判定対象があるか否かを判定する。具体的には、1加算されたインデックス値IVが抽選テーブルに設定されたインデックス値IVの最大値を超えたか否かを判定する。当否判定すべき判定対象がある場合にはステップS704に戻り、役の当否判定を継続する。このとき、ステップS704では、先の役の当否判定に用いた判定値DV(すなわち現在の判定値DV)に現在のインデックス値IVと対応するポイント値PVを加算して新たな判定値DVとし、ステップS705では、当該判定値DVに基づいて役の当否判定を行う。ちなみに、図25に示した抽選テーブルを用いて役の当否判定を行う場合、BBの当選確率は約200分の1、再遊技の当選確率は約7.30分の1、ベルの当選確率は約10.9分の1、スイカの当選確率は128分の1、チェリーの当選確率は約73.0分の1、1枚役の当選確率は128分の1である。また、いずれの役にも当選しない外れの確率は約1.36分の1である。   If the determination value DV does not exceed 65535 in step S705, it means that the combination corresponding to the index value IV is lost. In such a case, 1 is added to the index value IV in step S707, and in the subsequent step S708, it is determined whether or not there is a combination corresponding to the index value IV, that is, whether or not there is a determination target to be determined. Specifically, it is determined whether or not the index value IV added by 1 exceeds the maximum value of the index values IV set in the lottery table. If there is a determination target to be determined whether or not, the process returns to step S704, and the combination determination is continued. At this time, in step S704, the point value PV corresponding to the current index value IV is added to the determination value DV (that is, the current determination value DV) used for the determination of whether or not the previous combination is a correct determination value DV, In step S <b> 705, the winning combination determination is performed based on the determination value DV. By the way, when the winning / failing determination of the combination is performed using the lottery table shown in FIG. 25, the winning probability of BB is about 1/200, the winning probability of replay is about 7.30, and the winning probability of Bell is The winning probability for watermelon is about 1/128, the winning probability for cherry is about 1/128, the winning probability for cherry is about 73.0, and the winning probability for single-player is 1/128. In addition, the probability of losing no winning combination is about 1.36.

ステップS706にて当選フラグをセットした後、又はステップS708にて当否判定すべき判定対象がないと判定した場合には、役の当否判定が終了したことを意味する。かかる場合には、ステップS709にて抽選結果コマンドをセットする。ここで、抽選結果コマンドとは、役の当否判定の結果を把握させるべく表示制御装置81に対して送信されるコマンドである。表示制御装置81は、当該抽選結果コマンドを受信することにより、例えば当選役を示唆すべく上部ランプ63や補助表示部65の駆動制御を実行する。但し、通常処理では、上記抽選結果コマンド等の各種コマンドをリングバッファにセットするのみであって、表示制御装置81に対してコマンドを送信しない。表示制御装置81へのコマンド送信は、先述したタイマ割込み処理のコマンド出力処理S111にて行われる。   After the winning flag is set in step S706, or when it is determined in step S708 that there is no determination target to be determined whether or not the winning combination is determined, it means that the winning combination determination is finished. In such a case, a lottery result command is set in step S709. Here, the lottery result command is a command that is transmitted to the display control device 81 in order to grasp the result of the combination determination. By receiving the lottery result command, the display control device 81 executes drive control of the upper lamp 63 and the auxiliary display unit 65 to suggest a winning combination, for example. However, in the normal process, various commands such as the lottery result command are only set in the ring buffer, and the command is not transmitted to the display control device 81. The command transmission to the display control device 81 is performed in the command output process S111 of the timer interrupt process described above.

そして、ステップS710では、リール停止制御用のスベリテーブル(停止テーブル)を設定するスベリテーブル設定処理を行い、抽選処理を終了する。ここで、スベリテーブルとは、ストップスイッチ42〜44が操作されたタイミングからリール32L,32M,32Rをどれだけ滑らせた(回転させた)上で停止させるかが定められたテーブルである。すなわち、スベリテーブルとは、ストップスイッチ42〜44が押された際に基点位置(本実施の形態では下段)に到達している到達図柄(到達図柄番号)と、前記基点位置に実際に停止させる停止図柄(停止図柄番号)との関係を導出することが可能な停止データ群である。   In step S710, a slip table setting process for setting a reel table (stop table) for reel stop control is performed, and the lottery process is terminated. Here, the slip table is a table in which it is determined how much the reels 32L, 32M, and 32R are slid (rotated) and stopped from the timing when the stop switches 42 to 44 are operated. In other words, the slip table is a symbol that has reached the base point position (lower stage in the present embodiment) when the stop switches 42 to 44 are pressed, and actually stops at the base point position. This is a stop data group from which a relationship with a stop symbol (stop symbol number) can be derived.

本スロットマシン10では、各リール32L,32M,32Rを停止させる停止態様として、ストップスイッチ42〜44が操作された場合に、基点位置に到達している到達図柄をそのまま停止させる停止態様と、対応するリールを1図柄分滑らせた後に停止させる停止態様と、2図柄分滑らせた後に停止させる停止態様と、3図柄分滑らせた後に停止させる停止態様と、4図柄分滑らせた後に停止させる停止態様との5パターンの停止態様が用意されている。そして、各リール32L,32M,32Rの図柄番号毎に前記5パターンの停止態様のいずれかを設定されたスベリテーブルが、各役について複数用意されている。   In the slot machine 10, as a stop mode for stopping the reels 32L, 32M, and 32R, when the stop switches 42 to 44 are operated, a stop mode for stopping the reaching symbol reaching the base position as it is is supported. Stop mode for stopping the reel to be slid after one symbol, Stop mode for stopping after sliding for two symbols, Stop mode for stopping after sliding for three symbols, Stop after sliding for four symbols There are prepared five patterns of stop modes. Then, a plurality of sliding tables each having one of the five patterns of stop modes set for each symbol number of each reel 32L, 32M, 32R are prepared for each combination.

このように、ストップスイッチ42〜44が操作されたタイミングから規定時間(190msec)が経過するまでの間に各リール32L,32M,32Rが停止するようスベリテーブルを設定することにより、表示窓26L,26M,26Rから視認可能な範囲に停止する図柄配列(以下、停止出目と言う。)があたかも遊技者の操作によって決定されたかのような印象を遊技者に抱かせることが可能となる。また、4図柄分までは滑らせることが可能な構成とすることにより、かかる規定時間内で可能な限り抽選に当選した役と対応する図柄の組合せを有効ライン上に停止させることが可能となるとともに、抽選に当選していない役と対応する図柄の組合せが有効ライン上に停止することを回避させることができる。   Thus, by setting the sliding table so that each reel 32L, 32M, 32R stops from when the stop switches 42 to 44 are operated until the specified time (190 msec) elapses, the display window 26L, It is possible to give the player an impression as if the symbol arrangement (hereinafter referred to as stop appearance) that stops within the range that can be visually recognized from 26M and 26R is determined by the player's operation. In addition, by making it possible to slide up to 4 symbols, it becomes possible to stop combinations of symbols corresponding to the winning combination in the lottery on the active line as much as possible within the specified time. At the same time, it is possible to prevent the combination of symbols corresponding to the combination not won in the lottery from stopping on the active line.

図26は、左リール32Lの「リプレイ」図柄を有効ライン上に停止させる場合にセットされるスベリテーブルの一例である。滑り数が0である番号の図柄は、下段に実際に停止する図柄である。例えば、左リール32Lの14番の「スイカ」図柄が下段に到達している際に左ストップスイッチ42を操作された場合、左リール32Lは滑ることなくそのまま停止し、16番の「リプレイ」図柄が上段に停止する。また、滑り数が0でない番号の図柄は、記載された図柄数分だけリールが滑ることを意味する。例えば、左リール32Lの8番の「ベル」図柄が下段に到達している際に左ストップスイッチ42を操作された場合、左リール32Lは4図柄分だけ滑り、12番の「リプレイ」図柄が下段に停止する。このように、スベリテーブルでは、各リール32L,32M,32Rに付された図柄が下段に到達したタイミングでストップスイッチ42〜44を操作された場合の滑り数が図柄番号毎に設定されている。   FIG. 26 is an example of a sliding table that is set when the “replay” symbol of the left reel 32L is stopped on the active line. The symbol having the number of slips of 0 is a symbol that actually stops in the lower stage. For example, if the left stop switch 42 is operated while the 14th “watermelon” symbol of the left reel 32L reaches the lower stage, the left reel 32L stops without slipping and the 16th “replay” symbol. Stops at the top. In addition, a symbol whose number is not zero means that the reel slides by the number of symbols described. For example, if the left stop switch 42 is operated while the 8th “bell” symbol of the left reel 32L has reached the lower stage, the left reel 32L slides by 4 symbols and the 12th “replay” symbol is displayed. Stop at the bottom. As described above, in the slip table, the number of slips when the stop switches 42 to 44 are operated at the timing when the symbols attached to the reels 32L, 32M, and 32R reach the lower stage is set for each symbol number.

さて、スベリテーブル設定処理では、RAM106の当選フラグ格納エリア106aにセットされている当選フラグを確認し、セットされている当選フラグと一義的に対応するスベリテーブルを、RAM106のスベリテーブル格納エリア106bにセットする。このとき、本スロットマシン10では、左リール32Lの当選役と対応する図柄(以下、「当選図柄」と言う。)が上段又は下段のいずれかに停止するように、中リール32Mと右リール32Rの当選図柄が中段に停止するように設定されたスベリテーブルをセットする。ここで、左リール32Lの当選図柄が上段又は下段のいずれかに停止するように設定されたスベリテーブルをセットするのは、一般的に左リール32L→中リール32M→右リール32Rの順に回転を停止させるべくストップスイッチ42〜44が操作されることを考慮し、停止出目を多様化させるためである。   In the smooth table setting process, the winning flag set in the winning flag storage area 106a of the RAM 106 is confirmed, and the smooth table uniquely corresponding to the set winning flag is stored in the smooth table storing area 106b of the RAM 106. set. At this time, in the slot machine 10, the middle reel 32 </ b> M and the right reel 32 </ b> R so that the symbol corresponding to the winning combination of the left reel 32 </ b> L (hereinafter referred to as “winning symbol”) stops at either the upper stage or the lower stage. Set the sliding table set so that the winning symbol of stops at the middle. Here, setting the sliding table set so that the winning symbol of the left reel 32L stops at either the upper stage or the lower stage generally rotates in the order of the left reel 32L → the middle reel 32M → the right reel 32R. This is to diversify the stop output in consideration that the stop switches 42 to 44 are operated to stop the operation.

ここで、各リール32L,32M,32Rの図柄配列について簡単に説明する。   Here, the symbol arrangement of each reel 32L, 32M, 32R will be briefly described.

「リプレイ」図柄は、下段に先に到達する図柄と次に到達する図柄との間隔が4図柄以下となるように、各リール32L,32M,32Rに配置されている。例えば、左リール32Lの4番の「リプレイ」図柄と7番の「リプレイ」図柄はその間隔が2図柄となるようにして配置されており、中リール32Mの1番の「リプレイ」図柄と6番の「リプレイ」図柄はその間隔が4図柄となるようにして配置されている。このように、「リプレイ」図柄は、同種図柄同士の間隔が4図柄以下となるようにして各リール32L,32M,32Rに配置されている。上述した通り、リール32L,32M,32Rはストップスイッチ42〜44の操作されたタイミングから最大4図柄分滑らせた後に停止させることができる。したがって、かかる図柄配列とすることにより、ストップスイッチ42〜44が如何なるタイミングで操作された場合であっても、再遊技入賞を成立させる際に「リプレイ」図柄を任意の位置に停止させることができる。例えば中リール32Mの1番の「リプレイ」図柄が下段に到達した際に中ストップスイッチ43が操作された場合、中リール32Mをそのまま停止させればこの「リプレイ」図柄を下段に停止させることができ、中リール32Mを3図柄分滑らせた後に停止させれば6番の「リプレイ」図柄を上段に停止させることができ、中リール32Mを4図柄分滑らせた後に停止させれば6番の「リプレイ」図柄を中段に停止させることができる。   The “replay” symbol is arranged on each of the reels 32L, 32M, and 32R so that the interval between the symbol that reaches the lower stage first and the symbol that reaches the next is 4 symbols or less. For example, the 4th “replay” symbol and the 7th “replay” symbol of the left reel 32L are arranged so that the interval is 2 symbols, and the 1st “replay” symbol of the middle reel 32M and 6 The “replay” symbols of the numbers are arranged so that the interval is 4 symbols. As described above, the “replay” symbols are arranged on the reels 32L, 32M, and 32R so that the interval between the symbols of the same type is 4 symbols or less. As described above, the reels 32L, 32M, and 32R can be stopped after sliding up to four symbols at the timing when the stop switches 42 to 44 are operated. Therefore, by adopting such a symbol arrangement, the “replay” symbol can be stopped at an arbitrary position when the replay winning is established, regardless of the timing at which the stop switches 42 to 44 are operated. . For example, when the middle stop switch 43 is operated when the first “replay” symbol of the middle reel 32M reaches the lower level, the “replay” symbol can be stopped at the lower level if the middle reel 32M is stopped as it is. If the middle reel 32M is slid after 3 symbols and then stopped, No. 6 "Replay" symbol can be stopped at the upper stage, and if the middle reel 32M is slid after 4 symbols and then stopped, No. 6 The “replay” symbol can be stopped in the middle.

本スロットマシン10では、かかる「リプレイ」図柄の他、「ベル」図柄についても、同種図柄同士の間隔が4図柄以下となるようにして各リール32L,32M,32Rに配置されている。このため、ストップスイッチ42〜44が如何なるタイミングで操作された場合であっても、ベル入賞を成立させる際に「ベル」図柄を任意の位置に停止させることができる。   In the slot machine 10, in addition to the “replay” symbols, the “bell” symbols are also arranged on the reels 32 </ b> L, 32 </ b> M, and 32 </ b> R so that the intervals between the same symbols are 4 symbols or less. For this reason, even if the stop switches 42 to 44 are operated at any timing, the “bell” symbol can be stopped at an arbitrary position when the bell winning is established.

一方、「スイカ」図柄は、同種図柄同士の間隔が4図柄以下となるようにして各リール32L,32M,32Rに配置されていない。このため、例えば左リール32Lの3番の「赤7」図柄が下段に到達している際に左ストップスイッチ42が操作された場合、仮に左リール32Lを4図柄分滑らせても「スイカ」図柄を有効ライン上に停止させることはできない。したがって、スイカに当選し、「スイカ」図柄が有効ライン上に停止するように設定されたスベリテーブルがセットされた場合であっても、ストップスイッチ42〜44の操作されたタイミングによっては「スイカ」図柄が有効ライン上に停止せず、スイカ入賞が成立しない所謂取りこぼしが発生する場合がある。本スロットマシン10では、かかる「スイカ」図柄の他、「赤7」図柄についても5図柄以上離れた区間が形成されるようにして各リール32L,32M,32Rに配置されている。また、左リール32Lにおいては、「チェリー」図柄が5図柄以上離れた区間を形成するようにして配置されており、中リール32Mにおいては、「青年」図柄が5図柄以上離れた区間を形成するようにして配置されており、右リール32Rにおいては、「白7」図柄が5図柄以上離れた区間を形成するようにして配置されている。このため、BB、スイカ、チェリー、1枚役のいずれかに当選した場合には、当選図柄が有効ライン上に停止するよう狙ってストップスイッチ42〜44を操作する必要がある。   On the other hand, the “watermelon” symbols are not arranged on the reels 32L, 32M, and 32R so that the interval between the symbols of the same type is 4 symbols or less. For this reason, for example, when the left stop switch 42 is operated when the third “red 7” symbol of the left reel 32L has reached the lower stage, even if the left reel 32L is slid by four symbols, the “watermelon” The symbol cannot be stopped on the active line. Therefore, even if the watermelon is won and the slide table set so that the “watermelon” symbol stops on the active line is set, depending on the timing of operation of the stop switches 42 to 44, “watermelon” There is a case where a symbol does not stop on the active line and a so-called spillover occurs in which a watermelon winning is not established. In the slot machine 10, in addition to the “watermelon” symbol, the “red 7” symbol is also arranged on each reel 32 </ b> L, 32 </ b> M, 32 </ b> R so that a section separated by 5 symbols or more is formed. Further, in the left reel 32L, the “cherry” symbols are arranged so as to form a section separated by 5 symbols or more, and in the middle reel 32M, the “youth” symbols form a section separated by 5 symbols or more. In the right reel 32R, the “white 7” symbols are arranged so as to form a section separated by 5 symbols or more. For this reason, when any one of BB, watermelon, cherry, and one winning combination is won, it is necessary to operate the stop switches 42 to 44 so as to stop the winning symbol on the active line.

スベリテーブル設定処理の説明に戻り、BB当選フラグと他の当選フラグがセットされている場合には、以下に示すスベリテーブルをセットする。   Returning to the description of the smooth table setting process, when the BB winning flag and other winning flags are set, the following smooth table is set.

BB当選フラグと再遊技当選フラグがセットされている場合、再遊技入賞を優先して成立させるための再遊技入賞用スベリテーブルをセットする。再遊技入賞用スベリテーブルでは、左リール32Lの「リプレイ」図柄が上段又は下段に優先して停止するように、中リール32Mと右リール32Rの「リプレイ」図柄が中段に優先して停止するように設定されている。   When the BB winning flag and the re-game winning flag are set, a re-game winning slide table for preferentially establishing the re-game winning is set. In the re-game winning slide table, the “replay” symbols of the middle reel 32M and the right reel 32R are stopped with priority in the middle, so that the “replay” symbol of the left reel 32L is stopped with priority over the upper or lower row. Is set to

BB当選フラグと小役当選フラグ(すなわち、ベル当選フラグ,スイカ当選フラグ,チェリー当選フラグ,1枚役当選フラグのいずれか)がセットされている場合、BB入賞を優先して成立させるためのBB優先入賞用スベリテーブルをセットする。但し、BB図柄たる「赤7」図柄は上述したとおり5図柄以上離れた区間が形成されるようにして各リール32L,32M,32Rに配置されているため、ストップスイッチ42〜44の操作タイミングによっては「赤7」図柄を有効ライン上に停止させることができない場合がある。そこで、BB優先入賞用スベリテーブルでは、各リール32L,32M,32Rについて以下のように設定されている。左リール32Lについては、「赤7」図柄と当選小役図柄とを共に有効ライン上に停止させることが可能であれば両図柄を有効ライン上に優先して停止させるように、「赤7」図柄を上段又は下段のいずれかに停止させることが可能であれば優先して停止させるように、「赤7」図柄を上段又は下段に停止させることが不可能であって当選小役図柄を上記各位置に停止させることが可能であれば当該当選小役図柄を上記各位置に停止させるように設定されている。また、中リール32M及び右リール32Rについては、「赤7」図柄を中段に停止させることが可能であれば優先して停止させるように設定されると共に、「赤7」図柄を上記各位置に停止させることが不可能であって当選小役図柄を上記各位置に停止させることが可能であれば当該当選小役図柄を上記各位置に停止させるように設定されている。   When the BB winning flag and the small role winning flag (that is, any one of the bell winning flag, the watermelon winning flag, the cherry winning flag, and the one-sheet winning flag) are set, the BB for preferentially establishing the BB winning. Set the priority winning slide table. However, since the “Red 7” symbol, which is the BB symbol, is arranged on each of the reels 32L, 32M, and 32R so as to form a section separated by five symbols or more as described above, it depends on the operation timing of the stop switches 42 to 44. May not be able to stop the “Red 7” symbol on the active line. Therefore, in the BB priority winning slide table, the reels 32L, 32M, and 32R are set as follows. For the left reel 32L, if it is possible to stop both the “red 7” symbol and the winning small role symbol on the active line, “red 7” so that both symbols are preferentially stopped on the active line. It is impossible to stop the “Red 7” symbol at the upper or lower level, so that if the symbol can be stopped at either the upper level or the lower level, it will be impossible to stop the symbol. If it is possible to stop at each position, the winning small role symbol is set to stop at each position. The middle reel 32M and the right reel 32R are set so that the “red 7” symbol is stopped preferentially if possible, and the “red 7” symbol is placed at each position. If it is impossible to stop and the winning small symbol can be stopped at each position, the winning small symbol is set to stop at each position.

次に、ステップS506のリール制御処理について、図27のフローチャートに基づき説明する。   Next, the reel control processing in step S506 will be described based on the flowchart of FIG.

リール制御処理では、先ずステップS901において各リール32L,32M,32Rの回転を開始させる回転開始処理を行う。   In the reel control process, first, in step S901, a rotation start process for starting the rotation of each of the reels 32L, 32M, and 32R is performed.

回転開始処理では、前回の遊技でリールが回転を開始した時点から予め定めたウエイト時間(例えば4.1秒)が経過したか否かを確認し、経過していない場合にはウエイト時間が経過するまで待機する。ウエイト時間が経過した場合には、次回の遊技のためのウエイト時間を再設定するとともに、RAM106に設けられたモータ制御格納エリアに回転開始情報をセットするモータ制御初期化処理を行う。かかる処理を行うことにより、タイマ割込み処理のステッピングモータ制御処理S106にてステッピングモータの加速処理が開始され、各リール32L,32M,32Rが回転を開始する。このため、遊技者が規定数のメダルをベットしてスタートレバー41を操作したとしても、直ちに各リール32L,32M,32Rが回転を開始しない場合がある。その後、各リール32L,32M,32Rが所定の回転速度で定速回転するまで待機し、回転開始処理を終了する。また、CPU102は、各リール32L,32M,32Rの回転速度が定速となると、各ストップスイッチ42〜44の図示しないランプを点灯表示することにより、停止指令を発生させることが可能となったことを遊技者等に報知する。   In the rotation start process, it is checked whether or not a predetermined wait time (for example, 4.1 seconds) has elapsed since the reel started to rotate in the previous game. Wait until When the wait time has elapsed, a wait time for the next game is reset, and a motor control initialization process for setting rotation start information in the motor control storage area provided in the RAM 106 is performed. By performing such processing, stepping motor acceleration processing is started in stepping motor control processing S106 of timer interruption processing, and the reels 32L, 32M, and 32R start to rotate. For this reason, even if the player bets a specified number of medals and operates the start lever 41, the reels 32L, 32M, and 32R may not immediately start rotating. Thereafter, the process waits until the reels 32L, 32M, and 32R rotate at a constant rotation speed at a predetermined rotation speed, and the rotation start process ends. In addition, when the rotation speed of each of the reels 32L, 32M, and 32R reaches a constant speed, the CPU 102 can generate a stop command by lighting up a lamp (not shown) of each stop switch 42 to 44. Is notified to a player or the like.

回転開始処理に続き、ステップS902では停止前処理を行う。   Following the rotation start process, a pre-stop process is performed in step S902.

停止前処理では、図28のフローチャートに示すように、先ずステップS1001にて割込み待ち処理を行う。続くステップS1002では、開始指令が発生しているか否か、より具体的にはスタート検出エリアの第1エリア112aに「1」がセットされているか否かを判定する。そして、スタート検出エリアの第1エリア112aに「1」がセットされている場合には、ステップS1001の割込み待ち処理に戻る。つまり、スタート検出エリアの第1エリア112aに「1」がセットされている場合には、当該スタート検出エリアの第1エリア112aが「0」に変更されるまでステップS1003以降の処理に進まない。   In the pre-stop process, as shown in the flowchart of FIG. 28, first, an interrupt wait process is performed in step S1001. In the subsequent step S1002, it is determined whether or not a start command is generated, more specifically, whether or not “1” is set in the first area 112a of the start detection area. If “1” is set in the first area 112a of the start detection area, the process returns to the interrupt waiting process in step S1001. That is, when “1” is set in the first area 112a of the start detection area, the process does not proceed to step S1003 and subsequent steps until the first area 112a of the start detection area is changed to “0”.

ちなみに、ステップS1002にて開始指令が発生していると判定する状況としては、ステップS620の処理タイミングからステップS1002の処理タイミングまでスタートレバー41が押し操作されたままである場合、ステップS620の処理を行った後にスタートレバー41が再度操作された場合、監視回路152等に何らかの異常が発生して開始信号が出力されたままとなっている場合等が考えられる。   Incidentally, as a situation where it is determined that the start command is generated in step S1002, the process of step S620 is performed when the start lever 41 remains pressed from the processing timing of step S620 to the processing timing of step S1002. When the start lever 41 is operated again after a short time, there may be a case where some abnormality occurs in the monitoring circuit 152 or the like and the start signal remains output.

開始指令が発生していない場合にはステップS1003に進み、ストップスイッチ42〜44のいずれかが操作されたか否かを判定する。より具体的には、上述した操作判定処理の1エリア参照処理を、各ストップスイッチ42〜44について行う。例えば、左ストップスイッチ42の操作有無については、左ストップ検出用エリアの第1エリア112aを参照し、「1」が格納されている場合には左ストップスイッチ42が操作されたと判定し、「0」が格納されている場合には左ストップスイッチ42が操作されていないと判定する。いずれのストップスイッチ42〜44も操作されていない場合には、ステップS1001の割込み待ち処理に戻る。ストップスイッチ42〜44のいずれかが操作されたと判定した場合には、ステップS1004に進み、回転中のリールと対応するストップスイッチが操作されたか否か、すなわち停止指令が発生したか否かを判定する。停止指令が発生していない場合には、ステップS1001の割込み待ち処理に戻る。停止指令が発生した場合には、ステップS1005に進み、今回の停止指令が第3停止指令か否か、すなわち1つのリールのみが回転しているときにストップスイッチが操作されたか否かを判定する。今回の停止指令が第3停止指令の場合には、ステップS1005にて肯定判定を行い、そのまま停止前処理を終了する。一方、全リール32L,32M,32Rが回転しているときに発生する第1停止指令、又は2つのリールが回転しているときに発生する第2停止指令の場合には、ステップS1005にて否定判定を行うとともにステップS1006にてスベリテーブル第1変更処理を行い、停止前処理を終了する。   If no start command has been generated, the process proceeds to step S1003 to determine whether any of the stop switches 42 to 44 has been operated. More specifically, the one-area reference process of the operation determination process described above is performed for each of the stop switches 42 to 44. For example, as to whether or not the left stop switch 42 is operated, the first area 112a of the left stop detection area is referred to. If “1” is stored, it is determined that the left stop switch 42 has been operated, and “0 "Is stored, it is determined that the left stop switch 42 has not been operated. If none of the stop switches 42 to 44 is operated, the process returns to the interrupt waiting process in step S1001. If it is determined that any of the stop switches 42 to 44 has been operated, the process proceeds to step S1004 to determine whether or not the stop switch corresponding to the rotating reel has been operated, that is, whether or not a stop command has been issued. To do. If no stop command has been issued, the process returns to the interrupt wait process in step S1001. If a stop command has been generated, the process proceeds to step S1005 to determine whether or not the current stop command is a third stop command, that is, whether or not the stop switch has been operated when only one reel is rotating. . If the current stop command is the third stop command, an affirmative determination is made in step S1005, and the pre-stop processing is terminated as it is. On the other hand, in the case of the first stop command that is generated when all the reels 32L, 32M, and 32R are rotating or the second stop command that is generated when two reels are rotating, the result is negative in step S1005. In addition to making the determination, the first change process of the slip table is performed in step S1006, and the pre-stop process ends.

ここで、スベリテーブル第1変更処理とは、RAM106のスベリテーブル格納エリア106bに格納されたスベリテーブルを、停止指令と対応するリールを停止させる前に変更する処理である。スベリテーブル第1変更処理では、例えば左ストップスイッチ42以外のストップスイッチ43,44が操作されて第1停止指令が発生した場合等といった、スベリテーブル格納エリア106bにスベリテーブルをセットする際に想定したストップスイッチ42〜44の操作順序と異なる操作順序でストップスイッチ42〜44が操作された場合に、スベリテーブルを変更する。かかる処理を行うことにより、停止出目の多様化を図ったり、セットされた当選フラグと対応する入賞が成立することなく前記当選フラグが無効とされる所謂取りこぼしの発生頻度を低減させたりすることができる。   Here, the first change process of the slide table is a process of changing the slide table stored in the slide table storage area 106b of the RAM 106 before stopping the reel corresponding to the stop command. In the first change process of the slide table, it is assumed that the slide table is set in the slide table storage area 106b, for example, when the first stop command is generated by operating the stop switches 43 and 44 other than the left stop switch 42. When the stop switches 42 to 44 are operated in an operation order different from the operation order of the stop switches 42 to 44, the sliding table is changed. By performing such processing, diversification of stoppages can be achieved, or the frequency of occurrence of so-called spillovers in which the winning flag is invalidated without establishing a winning corresponding to the set winning flag can be reduced. Can do.

リール制御処理の説明に戻り、ステップS902にて停止前処理が終了した場合、遊技を進行させるべく回転中のリールと対応するストップスイッチが操作され、停止指令が発生したことを意味する。かかる場合には、回転中のリールを停止させるべくステップS903〜ステップS909に示す停止制御処理を行う。   Returning to the description of the reel control process, when the pre-stop process is completed in step S902, it means that the stop switch corresponding to the rotating reel is operated to advance the game, and a stop command is generated. In such a case, stop control processing shown in steps S903 to S909 is performed to stop the rotating reel.

すなわち、ステップS903では、ストップスイッチの操作されたタイミングで下段に到達している到達図柄の図柄番号を確認する。具体的には、リールインデックスセンサの検出信号が入力された時点から出力した励磁パルス数により、下段に到達している到達図柄の図柄番号を確認する。続くステップS904では、スベリテーブル格納エリア106bにセットされたスベリテーブルのうち到達図柄と対応する図柄番号のデータから今回停止させるべきリールのスベリ数を算出する。その後、ステップS905では、算出したスベリ数を到達図柄の図柄番号に加算し、下段に実際に停止させる停止図柄の図柄番号を決定する。ステップS906では今回停止させるべきリールの到達図柄の図柄番号と停止図柄の図柄番号が等しくなったか否かを判定し、等しくなった場合にはステップS907にてリールの回転を停止させるリール停止処理を行う。その後、ステップS908では、全リール32L,32M,32Rが停止したか否かを判定する。全リール32L,32M,32Rが停止していない場合には、ステップS909にてスベリテーブル第2変更処理を行い、ステップS902の停止前処理に戻る。   That is, in step S903, the symbol number of the reaching symbol reaching the lower stage at the timing when the stop switch is operated is confirmed. Specifically, the symbol number of the reaching symbol reaching the lower stage is confirmed by the number of excitation pulses output from the time when the detection signal of the reel index sensor is input. In subsequent step S904, the number of slips of the reel to be stopped this time is calculated from the data of the symbol number corresponding to the reaching symbol among the slip tables set in the slip table storage area 106b. After that, in step S905, the calculated number of slips is added to the symbol number of the reaching symbol, and the symbol number of the stop symbol that is actually stopped at the lower stage is determined. In step S906, it is determined whether or not the symbol number of the reaching symbol of the reel to be stopped this time is equal to the symbol number of the stop symbol. If they are equal, a reel stop process for stopping the rotation of the reel is performed in step S907. Do. Thereafter, in step S908, it is determined whether all the reels 32L, 32M, and 32R are stopped. If all the reels 32L, 32M, 32R are not stopped, the slide table second change process is performed in step S909, and the process returns to the pre-stop process in step S902.

ここで、スベリテーブル第2変更処理とは、RAM106のスベリテーブル格納エリア106bに格納されたスベリテーブルを、リールの停止後に変更する処理である。スベリテーブル第2変更処理では、セットされている当選フラグと、停止しているリールの停止出目と、に基づいてスベリテーブルを変更する。例えば、ベル当選フラグがセットされ、左リール32Lの「ベル」図柄が上段に停止した場合、中リール32Mの「ベル」図柄が上段又は中段に停止するように設定されたスベリテーブルに変更する。かかる処理を行うことにより、リールの停止結果に応じてその後に停止させるリールの停止出目の多様化を図ることができるとともに、取りこぼしの発生頻度を低減させることができる。   Here, the second change process of the slide table is a process of changing the slide table stored in the slide table storage area 106b of the RAM 106 after the reels are stopped. In the second change process of the slide table, the slide table is changed based on the set winning flag and the stoppage of the stopped reel. For example, when the bell winning flag is set and the “bell” symbol of the left reel 32L stops at the upper stage, the “bell” symbol of the middle reel 32M is changed to a sliding table set to stop at the upper or middle stage. By performing such a process, it is possible to diversify the reel stop appearances to be stopped later according to the result of the reel stop, and to reduce the frequency of occurrence of missing.

一方、ステップS908にて全リール32L,32M,32Rが停止していると判定した場合には、ステップS910にて払出判定処理を行い、本処理を終了する。払出判定処理とは、入賞図柄の組合せが有効ライン上に並んでいることを条件の1つとしてメダルの払出枚数を設定する処理である。   On the other hand, if it is determined in step S908 that all the reels 32L, 32M, and 32R are stopped, a payout determination process is performed in step S910, and this process ends. The payout determination process is a process of setting the number of medals to be paid out as one of the conditions that a combination of winning symbols is arranged on an active line.

払出判定処理では、各リール32L,32M,32Rの下段に停止した停止図柄の図柄番号から各有効ライン上に形成された図柄の組合せを導出し、有効ライン上で入賞が成立しているか否かを判定する。入賞が成立している場合には、さらに入賞成立役が当選フラグ格納エリア106aにセットされている当選フラグと一致しているか否かを判定する。入賞成立役と当選フラグが一致している場合には、入賞成立役と、当該入賞成立役と対応する払出数と、をRAM106に設けられた払出情報格納エリアにセットする。一方、入賞成立役と当選フラグが一致していない場合には、スロットマシン10をエラー状態とするとともにエラーの発生を報知する異常発生時処理を行う。かかるエラー状態は、リセットスイッチ72が操作されるまで維持される。全ての有効ラインについて払出判定が終了した場合には、払出判定処理を終了する。   In the payout determination process, a combination of symbols formed on each active line is derived from the symbol number of the stopped symbol stopped at the lower stage of each reel 32L, 32M, 32R, and whether or not a winning is achieved on the effective line. Determine. If a winning combination has been established, it is further determined whether or not the winning combination matches the winning flag set in the winning flag storage area 106a. If the winning combination combination matches the winning flag, the winning combination combination and the number of payouts corresponding to the winning combination combination are set in the payout information storage area provided in the RAM 106. On the other hand, if the winning combination does not match the winning flag, an abnormality occurrence process for notifying the occurrence of the error is performed while the slot machine 10 is in an error state. Such an error state is maintained until the reset switch 72 is operated. When the payout determination is completed for all the active lines, the payout determination process is ended.

次に、ステップS507のメダル払出処理について、概略を説明する。   Next, the outline of the medal payout process in step S507 will be described.

メダル払出処理では、払出情報格納エリアにセットされた払出数が0か否かを判定する。払出数が0の場合、先の払出判定処理にてメダルの払い出される入賞が成立していないと判定したことを意味する。かかる場合には、払出判定処理にてセットした入賞成立役に基づいて、再遊技入賞が成立したか否かを判定する。再遊技入賞が成立していない場合にはそのままメダル払出処理を終了し、再遊技入賞が成立している場合には、遊技状態を再遊技状態とする再遊技設定処理を行い、メダル払出処理を終了する。なお、先に説明した開始待ち処理S504では、現在の遊技状態が再遊技状態であると判定した場合に自動投入処理を行っている。   In the medal payout process, it is determined whether or not the number of payouts set in the payout information storage area is zero. When the number of payouts is 0, it means that it has been determined in the previous payout determination process that a winning for paying out medals has not been established. In such a case, based on the winning combination set set in the payout determination process, it is determined whether or not a re-game winning is achieved. When the re-game winning is not established, the medal payout process is finished as it is, and when the re-game winning is established, the re-game setting process for changing the gaming state to the re-gaming state is performed, and the medal pay-out process is performed. finish. In the start waiting process S504 described above, an automatic insertion process is performed when it is determined that the current gaming state is the re-gaming state.

一方、払出情報格納エリアにセットされた払出数が0でない場合には、当該払出数と同数のメダルを払い出し、メダル払出処理を終了する。メダルの払い出しについて具体的には、クレジットカウンタのカウント値が上限(貯留されているメダル数が50枚)に達していない場合、クレジットカウンタのカウント値に払出数を加算するとともに加算後の値をクレジット表示部60に表示させる。また、クレジットカウンタのカウント値が上限に達している場合、又は払出数の加算途中でカウント値が上限に達した場合には、メダル払出用回転板を駆動し、メダルをホッパ装置51からメダル排出口49を介してメダル受け皿50へ払い出す。なお、メダル払出処理では、メダルの払い出しにあわせて払出枚数表示部62に表示される払出数を変更する処理も行っている。また、現在の遊技状態がBB状態である場合には、後述する残払出数カウンタの値から払出数を減算するとともに、残払出枚数表示部61に表示される残払出数を減算する処理を行う。   On the other hand, when the number of payouts set in the payout information storage area is not 0, the same number of medals are paid out, and the medal payout process is ended. Specifically, regarding the payout of medals, when the count value of the credit counter has not reached the upper limit (the number of stored medals is 50), the payout number is added to the count value of the credit counter and the value after the addition is added. It is displayed on the credit display unit 60. In addition, when the count value of the credit counter reaches the upper limit, or when the count value reaches the upper limit during the addition of the payout number, the medal payout rotating plate is driven and the medal is discharged from the hopper device 51. It is paid out to the medal tray 50 through the exit 49. In the medal payout process, a process of changing the payout number displayed on the payout number display unit 62 in accordance with the medal payout is also performed. When the current gaming state is the BB state, the payout number is subtracted from the value of the remaining payout number counter, which will be described later, and the remaining payout number displayed on the remaining payout number display unit 61 is subtracted. .

次に、ステップS508のBB状態処理を、図29のフローチャートに基づいて説明する。   Next, the BB state process of step S508 will be described based on the flowchart of FIG.

BB状態処理の説明に先立ち、BB状態について説明する。BB状態は、複数回のRB状態で構成されている。RB状態は、12回のJACゲームで構成されている。JACゲームとは、メダル払出の特典が付与される入賞(例えばベル入賞等)の成立する確率が通常状態と比して非常に高いゲームである。そして、JACゲーム中に入賞が8回成立すると、JACゲームが12回行われる前であってもRB状態が終了する。また、BB状態は、メダル払出数が所定数(具体的には400枚)に達したことを以って終了する。加えて、RB状態の途中でメダル払出数が所定数に達した場合、BB状態のみならずRB状態も終了する。これは、BB状態中のメダル払出数に上限をもたせることにより遊技者の射幸心を抑え、遊技の健全性を担保するための工夫である。さらに、本実施の形態では、RB状態に移行する図柄の組合せを設定しておらず、BB状態に移行した直後及びRB状態が終了した直後にRB状態に移行する構成としている。故に、BB状態とは、所定数のメダル払出が行われるまでRB状態に連続して移行するゲームであるとも言える。   Prior to the description of the BB state process, the BB state will be described. The BB state is composed of a plurality of RB states. The RB state consists of 12 JAC games. A JAC game is a game in which the probability that a prize (for example, a bell prize or the like) to which a medal payout privilege is granted is established is higher than that in a normal state. If the winning is established 8 times during the JAC game, the RB state is ended even before the JAC game is played 12 times. Further, the BB state ends when the number of medals paid out reaches a predetermined number (specifically, 400). In addition, when the number of medals paid out reaches a predetermined number in the middle of the RB state, not only the BB state but also the RB state ends. This is a contrivance for suppressing the player's euphoria by giving an upper limit to the number of medals paid out during the BB state, and ensuring the soundness of the game. Further, in the present embodiment, the combination of symbols that shift to the RB state is not set, and the configuration shifts to the RB state immediately after the transition to the BB state and immediately after the RB state ends. Therefore, it can be said that the BB state is a game that continuously shifts to the RB state until a predetermined number of medals are paid out.

さて、BB状態処理では、先ずステップS1101にて現在の遊技状態がBB状態か否かを判定する。BB状態でない場合には、ステップS1102〜ステップS1105に示すBB判定処理を行う。   In the BB state process, first, in step S1101, it is determined whether or not the current gaming state is the BB state. If not in the BB state, BB determination processing shown in steps S1102 to S1105 is performed.

BB判定処理では、ステップS1102にてBB当選フラグがセットされているか否かを判定する。BB当選フラグがセットされている場合には、ステップS1103に進み、先の払出判定処理にてセットした入賞成立役に基づいて、BB入賞が成立したか否かを判定する。そして、BB入賞が成立した場合には、ステップS1104にて遊技状態をBB状態に移行させるべくBB開始処理を実行する。具体的には、BB当選フラグをクリアするとともにBB設定フラグをRAM106の状態情報格納エリア106cにセットし、遊技状態をBB状態とする。また、前記状態情報格納エリア106cに設けられたBB状態中に払出可能な残りのメダル数をカウントするための残払出数カウンタに400をセットし、残払出枚数表示部61に400を表示させる処理を行う。その後、ステップS1105にてRB開始処理を行い、BB状態処理を終了する。RB開始処理では、RB設定フラグをRAM106の状態情報格納エリア106cにセットし、遊技状態をRB状態とする。また、RB状態下で成立した入賞回数をカウントするための残払出入賞カウンタに8をセットするとともに、JACゲームの残りゲーム数をカウントするための残JACゲームカウンタに12をセットする。なお、残払出入賞カウンタと残JAC入賞カウンタは、状態情報格納エリア106cに設けられている。また、ステップS1101等における現在の遊技状態の判定は、状態情報格納エリア106cに対応する設定フラグがセットされているか否かに基づいて実行しており、いずれの設定フラグもセットされていない場合には、現在の遊技状態が通常状態であると判定している。   In the BB determination process, it is determined in step S1102 whether or not the BB winning flag is set. If the BB winning flag is set, the process advances to step S1103 to determine whether or not a BB winning has been established based on the winning combination set in the previous payout determination process. If a BB winning is established, a BB start process is executed in step S1104 to shift the gaming state to the BB state. Specifically, the BB winning flag is cleared and the BB setting flag is set in the state information storage area 106c of the RAM 106, and the gaming state is set to the BB state. Further, a process of setting 400 in the remaining payout counter for counting the remaining number of medals that can be paid out during the BB state provided in the state information storage area 106c and displaying 400 on the remaining payout number display unit 61. I do. Thereafter, in step S1105, an RB start process is performed, and the BB state process is terminated. In the RB start process, the RB setting flag is set in the state information storage area 106c of the RAM 106, and the gaming state is set to the RB state. In addition, 8 is set in the remaining payout payout counter for counting the number of winnings established in the RB state, and 12 is set in the remaining JAC game counter for counting the number of remaining JAC games. The remaining payout / winning counter and the remaining JAC winning counter are provided in the state information storage area 106c. Further, the determination of the current gaming state in step S1101 or the like is executed based on whether or not the setting flag corresponding to the state information storage area 106c is set, and when no setting flag is set. Determines that the current gaming state is the normal state.

一方、BB当選フラグがセットされていない場合(ステップS1102がNOの場合)、又はBB入賞が成立していない場合(ステップS1103がNOの場合)には、BB開始処理等を実行することなく本処理を終了する。   On the other hand, when the BB winning flag is not set (when step S1102 is NO), or when the BB winning is not established (when step S1103 is NO), the BB start process or the like is not executed. The process ends.

ステップS1101にて現在の遊技状態がBB状態であると判定した場合には、ステップS1106に進み、先の払出判定処理にてセットした入賞成立役に基づいて入賞が成立したか否かを判定する。入賞が成立した場合には、ステップS1107にて残払出入賞カウンタの値を1減算する。その後、或いはステップS1106にて入賞が成立しなかったと判定した場合には、JACゲームを1つ消化したことになるため、ステップS1108にて残JACゲームカウンタの値を1減算する。続いて、ステップS1109では残払出入賞カウンタ又は残JACゲームカウンタのいずれかが0になったか否かを判定する。いずれかが0になっていたとき、つまり入賞が8回成立したかJACゲームが12回消化されたときには、RB状態の終了条件が成立したことを意味するため、ステップS1110にて残払出入賞カウンタ及び残JACゲームカウンタの値をクリアするRB終了処理を行う。続くステップS1111では、残払出数カウンタのカウント値が0か否かを確認する。0でない場合には、BB状態中に払い出されたメダル数が所定数に達しておらず、BB状態の終了条件が成立していないことを意味するため、ステップS1112に進み、先述したRB開始処理を行った後、本処理を終了する。   If it is determined in step S1101 that the current gaming state is the BB state, the process proceeds to step S1106, and it is determined whether or not a winning has been established based on the winning winning combination set in the previous payout determining process. . If a winning is achieved, 1 is subtracted from the value of the remaining payout winning counter in step S1107. After that, or when it is determined in step S1106 that no winning has been established, one JAC game has been consumed. In step S1108, the value of the remaining JAC game counter is decremented by one. Subsequently, in step S1109, it is determined whether any of the remaining payout / winning counter or the remaining JAC game counter has become zero. If any of them is 0, that is, if the winning is established 8 times or the JAC game is digested 12 times, it means that the RB state end condition is established, so in step S1110 the remaining payout winning / winning counter And the RB end processing for clearing the value of the remaining JAC game counter is performed. In subsequent step S1111, it is confirmed whether or not the count value of the remaining payout counter is zero. If it is not 0, it means that the number of medals paid out during the BB state has not reached the predetermined number and the end condition for the BB state is not satisfied, so the process proceeds to step S1112 and the RB start described above is started. After performing the processing, the present processing is terminated.

また、ステップS1109において残払出入賞カウンタ及び残JACゲームカウンタのいずれの値も0になっていないとき、つまり入賞がまだ8回成立しておらずJACゲームも12回消化されていないときには、ステップS1113に進み、残払出数カウンタのカウント値が0か否かを確認する。0でない場合には、BB状態中に払い出されたメダル数が所定数に達しておらず、BB状態の終了条件が成立していないことを意味するため、そのまま本処理を終了する。一方、残払出数カウンタのカウント値が0である場合には、BB状態の終了条件が成立したことを意味するため、ステップS1114〜ステップS1115に示す特別遊技状態終了処理を行う。特別遊技状態終了処理では、先ずステップS1114において、先述したRB終了処理を行う。その後、ステップS1115にてBB設定フラグや各種カウンタなどを適宜クリアしたりエンディング処理を行ったりするBB終了処理を行う。また、ステップS1111にて残払出数カウンタのカウント値が0である場合にも、BB状態の終了条件が成立したことを意味するため、ステップS1115にてBB終了処理を行う。BB終了処理を行った後、ステップS1116にて状態移行処理を実行し、BB状態処理を終了する。ここで、状態移行処理とは、遊技状態を通常状態に復帰させるための処理であり、例えばBB状態が終了したことを表示制御装置81に把握させるべく送信される終了コマンドをセットしたり、所定時間(例えばエンディング表示が終了するまでの時間)が経過するまで待機したりする処理を行う。   If neither the remaining payout / winning counter or the remaining JAC game counter is 0 in step S1109, that is, if the winning has not been established 8 times and the JAC game has not been consumed 12 times, step S1113 is performed. Then, it is confirmed whether or not the count value of the remaining payout counter is 0. If it is not 0, it means that the number of medals paid out during the BB state has not reached the predetermined number and the end condition for the BB state is not satisfied. On the other hand, when the count value of the remaining payout number counter is 0, it means that the BB state end condition is satisfied, so the special game state end process shown in steps S1114 to S1115 is performed. In the special game state end process, first, in step S1114, the above-described RB end process is performed. Thereafter, in step S1115, a BB end process is performed for appropriately clearing the BB setting flag, various counters, etc. or performing an ending process. Also, when the count value of the remaining payout number counter is 0 in step S1111, it means that the BB state end condition is satisfied, and therefore the BB end process is performed in step S1115. After performing the BB termination process, the state transition process is executed in step S1116, and the BB state process is terminated. Here, the state transition process is a process for returning the gaming state to the normal state. For example, an end command transmitted to make the display control device 81 know that the BB state has ended, A process of waiting until a time (for example, a time until the ending display ends) elapses is performed.

以上詳述した本実施の形態によれば、以下の優れた効果を奏する。   According to the embodiment described in detail above, the following excellent effects are obtained.

スタートレバー41が操作されて開始指令が発生した場合には、当該スタートレバー41の操作タイミングではなく、前記操作タイミングから遅延時間が経過した後のタイミングで、基礎乱数生成器150のカウント値をラッチする構成とした。遅延時間は遅延カウンタ111dの値によって変化するため、かかる構成とすることにより、仮にスタートレバー41の操作を一定周期で行われた場合であっても、基礎乱数生成器150のカウント値のラッチタイミングを変化させることができる。この結果、体感器等を用いて当選となる乱数が作成される際の基礎乱数生成器150のカウント値を狙ってスタートレバー41を操作する不正や、前記カウント値が生成されるタイミングで主制御装置101に開始指令が発生したと誤認識させる不正信号を出力可能な不正基板を取り付ける不正を困難なものとすることができ、当選となる乱数が不正に取得されることを困難なものとすることが可能となる。   When the start lever 41 is operated and a start command is generated, the count value of the basic random number generator 150 is latched not at the operation timing of the start lever 41 but at a timing after the delay time has elapsed from the operation timing. It was set as the structure to do. Since the delay time varies depending on the value of the delay counter 111d, this configuration makes it possible to latch the count value latch timing of the basic random number generator 150 even if the start lever 41 is operated at a constant period. Can be changed. As a result, the main control is performed at the time when the start lever 41 is operated for the purpose of the count value of the basic random number generator 150 when the winning random number is created using a sensory device or the like, or when the count value is generated. It is possible to make it difficult to attach an unauthorized substrate that can output an unauthorized signal that causes the device 101 to erroneously recognize that a start command has been generated, and to make it difficult to illegally obtain a winning random number. It becomes possible.

電源投入に伴って起動されるとともに繰り返し行われる通常処理で割込み待ち処理を行う構成とし、割込み待ち処理を、更新カウンタ111cの値が変化した場合、すなわちタイマ割込み処理が行われた場合に終了する構成とした。そして、当該割込み待ち処理では、更新カウンタ111cの値が変化するまでの間、遅延カウンタ111dの値を繰り返し更新する構成とした。かかる構成とすることにより、割込み待ち処理の開始から終了までの時間をランダムなものとすることができる。タイマ割込み処理は1.49msec毎に定期的に行われる一方、割込み待ち処理を開始するタイミング、より詳しくはステップS402にて更新カウンタ111cの値を取得するタイミングは、電源投入から割込み待ち処理に至るまでに行った他の処理によって変化する。このため、タイマ割込み処理の終了直後に割込み待ち処理を開始した場合であれば、遅延カウンタ111dの更新時間として1.49msecからタイマ割込み処理に要した時間を減じた時間を確保でき、遅延カウンタ111dを複数回更新できる一方、ステップS402の直後にタイマ割込み処理を行った場合であれば、遅延カウンタ111dを1回更新する時間しか確保できない。この結果、割込み待ち処理にて行われる遅延カウンタ111dの更新回数をランダムなものとすることができ、開始指令が発生してからCPU102がラッチ信号を出力するまでの遅延時間をランダムなものとすることができる。   The system is configured to perform an interrupt wait process in a normal process that is started and repeated when the power is turned on, and the interrupt wait process ends when the value of the update counter 111c changes, that is, when a timer interrupt process is performed. The configuration. In the interrupt waiting process, the value of the delay counter 111d is repeatedly updated until the value of the update counter 111c changes. With this configuration, the time from the start to the end of the interrupt wait process can be made random. While the timer interrupt process is periodically performed every 1.49 msec, the timing for starting the interrupt wait process, more specifically, the timing for acquiring the value of the update counter 111c in step S402, is from the power on to the interrupt wait process. Varies depending on other processes performed up to. For this reason, if the interrupt wait process is started immediately after the end of the timer interrupt process, a time obtained by subtracting the time required for the timer interrupt process from 1.49 msec can be secured as the update time of the delay counter 111d. Can be updated a plurality of times, on the other hand, if timer interruption processing is performed immediately after step S402, only a time for updating the delay counter 111d once can be secured. As a result, the update count of the delay counter 111d performed in the interrupt waiting process can be made random, and the delay time from when the start command is generated until the CPU 102 outputs the latch signal is made random. be able to.

確かに、例えば通常処理においてタイマ割込み処理の開始タイミングと終了タイミングを監視し、タイマ割込み処理の終了タイミングから次回のタイマ割込み処理の開始タイミングまで遅延カウンタ111dの更新を行う構成、すなわち、割込み待ち処理の開始タイミングをタイマ割込み処理の終了タイミングに依存させる構成とすることも可能である。かかる構成とした場合であっても、上記実施の形態と同様、割込み待ち処理の開始から終了までの時間をランダムなものとすることができる。しかしながら、かかる構成とした場合には、タイマ割込み処理が1.49msec毎に開始されるため、割込み待ち処理の開始タイミングがタイマ割込み処理の開始タイミングから1.49msec以内という時間的な制約が生じることとなる。また、初回の割込み待ち処理の開始タイミングと次回の割込み待ち処理の開始タイミングとの間隔、すなわち割込み待ち処理の起動間隔が、タイマ割込み処理の2周期未満すなわち2.98msec未満となるという制約も生じることとなる。このため、これら制約を基にして、開始指令を発生させてからの遅延時間が毎ゲーム一定となるよう、遅延カウンタ111dのカウント値が不正に狙われる可能性が生じ得る。一方、上記実施の形態においては、割込み待ち処理の開始タイミングがタイマ割込み処理の開始タイミング及び終了タイミングに依存しないため、上述した各制約が生じることはなく、遅延カウンタ111dの値が不正に狙われる可能性を低減させることが可能となる。   Certainly, for example, the start timing and end timing of timer interrupt processing are monitored in normal processing, and the delay counter 111d is updated from the end timing of timer interrupt processing to the start timing of the next timer interrupt processing, that is, interrupt wait processing It is also possible to make the start timing depend on the end timing of the timer interrupt process. Even in such a configuration, the time from the start to the end of the interrupt wait process can be made random as in the above embodiment. However, with such a configuration, timer interrupt processing is started every 1.49 msec, so that there is a time restriction that the start timing of interrupt wait processing is within 1.49 msec from the start timing of timer interrupt processing. It becomes. In addition, there is a restriction that the interval between the start timing of the first interrupt wait process and the start timing of the next interrupt wait process, that is, the start interval of the interrupt wait process is less than two cycles of the timer interrupt process, that is, less than 2.98 msec. It will be. Therefore, based on these restrictions, there is a possibility that the count value of the delay counter 111d may be illegally aimed so that the delay time after the start command is generated becomes constant every game. On the other hand, in the above embodiment, since the start timing of the interrupt wait process does not depend on the start timing and end timing of the timer interrupt process, the above-described restrictions do not occur, and the value of the delay counter 111d is illegally targeted. It is possible to reduce the possibility.

通常処理では、割込み待ち処理が終了した場合、タイマ割込み処理のセンサ監視処理の結果を用いてスタートレバー41(例えばステップS620)等が操作されたか否かを判定する処理を行う構成とした。割込み待ち処理の終了後に上記判定処理を行う構成とすることにより、タイマ割込み処理が終了してから上記判定処理が行われるまでの間隔を短縮させることが可能となる。割込み待ち処理を行わない構成においては、上記間隔が最大で1.49msecからタイマ割込み処理に要した時間を減じた時間となる一方、割込み待ち処理を行う構成においては、最大でも、1.49msecからタイマ割込み処理に要した時間を減じ、さらにステップS403〜ステップS406の処理を1回行う際に要する時間とステップS407にて否定判定してステップS408の処理を行う際に要する時間とを減じた時間となるからである。この結果、スタートレバー41が操作されたか否か等の遊技の進行や遊技状況等に関わる判定を、より近いタイミングでなされたセンサ監視処理の結果を用いて行うことが可能となる。故に、遊技者等が行ったスタートレバー41等の操作と、それに伴うゲーム等の進行と、の間に生じるタイムラグを低減させることが可能となる。この結果、開始指令が発生してから遅延時間が経過した後に基礎乱数生成器150のカウント値をラッチする構成とした場合であっても、遊技者が上記タイムラグに対して違和感を抱くことを抑制することが可能となる。   In the normal process, when the interrupt waiting process is completed, a process for determining whether the start lever 41 (for example, step S620) or the like has been operated using the result of the sensor monitoring process of the timer interrupt process is performed. By adopting a configuration in which the determination process is performed after the end of the interrupt waiting process, it is possible to shorten the interval from the end of the timer interrupt process until the determination process is performed. In the configuration in which interrupt waiting processing is not performed, the interval is a time obtained by subtracting the time required for timer interrupt processing from 1.49 msec at the maximum, while in the configuration in which interrupt waiting processing is performed, the interval is from 1.49 msec at the maximum. The time required for the timer interrupt process is reduced, and the time required for performing the processes of steps S403 to S406 once and the time required for performing the negative determination in step S407 and performing the process of step S408 are reduced. Because it becomes. As a result, it is possible to make a determination related to the progress of the game, such as whether or not the start lever 41 has been operated, the game situation, and the like using the results of the sensor monitoring process made at a closer timing. Therefore, it is possible to reduce a time lag generated between the operation of the start lever 41 and the like performed by the player and the progress of the game and the like accompanying the operation. As a result, even when the count value of the basic random number generator 150 is latched after a delay time has elapsed since the start command is generated, the player is prevented from feeling uncomfortable with the time lag. It becomes possible to do.

割込み待ち処理を、スタートレバー41(例えばステップS620)等が操作されたか否かを判定する操作判定処理の前で行うことに加えて、当選確率設定処理のステップS303〜S308や開始待ち処理の開始前準備処理(ステップS604〜S620)等のループする処理内において行う構成とした。かかる構成とすることにより、スロットマシン10が誤動作することを回避することが可能となる。   In addition to performing the interrupt waiting process before the operation determination process for determining whether or not the start lever 41 (for example, step S620) has been operated, the winning probability setting process steps S303 to S308 and the start waiting process start The configuration is such that it is performed in a looping process such as the preparatory process (steps S604 to S620). With this configuration, the slot machine 10 can be prevented from malfunctioning.

ここで、上記ループ処理内で割込み待ち処理を行わない構成について考える。   Here, consider a configuration in which no interrupt wait processing is performed in the loop processing.

例えば、当選確率設定処理のステップS303〜S308のループ処理においては、ステップS307においてリセットスイッチ72が操作されたか否かを判定し、操作されたと判定した場合に設定値を更新する処理を行う。CPU102は第1クロック信号が入力された場合に動作を行うようになっているため、CPU102の動作する周期は第1クロック信号の周期と等しく約125nsecである。また、タイマ割込み処理は1.49msec毎に行われるため、CPU102は、タイマ割込み処理を行ってから次回のタイマ割込み処理を行うまでの間に1000回以上の動作(処理動作)を行うことができる。このため、当選確率設定処理のループ処理において割込み待ち処理を行わない構成においては、例えばステップS303の処理を行う直前にタイマ割込み処理を行った場合、次回のタイマ割込み処理を行うまでにステップS303〜S308のループ処理を複数回繰り返し行うことができる。   For example, in the loop process of steps S303 to S308 of the winning probability setting process, it is determined whether or not the reset switch 72 is operated in step S307, and a process of updating the set value is performed when it is determined that the operation is performed. Since the CPU 102 operates when the first clock signal is input, the operating period of the CPU 102 is equal to the period of the first clock signal and is approximately 125 nsec. Further, since the timer interrupt process is performed every 1.49 msec, the CPU 102 can perform an operation (processing operation) 1000 times or more after the timer interrupt process until the next timer interrupt process is performed. . For this reason, in the configuration in which the interrupt waiting process is not performed in the loop process of the winning probability setting process, for example, when the timer interrupt process is performed immediately before the process of step S303, the steps S303 to S303 are performed until the next timer interrupt process is performed. The loop process of S308 can be repeated a plurality of times.

ステップS307のリセットスイッチ72が操作されたか否かを判定する処理では、全エリア参照処理を行う。すなわち、リセット検出用エリアの全エリア112a〜112cを参照し、「011」が格納されている場合にはリセットスイッチ72が操作されたと判定し、「011」が格納されていない場合にはリセットスイッチ72が操作されていないと判定する。かかる場合、割込み待ち処理を行わない構成においては、「011」が格納されている状況下でステップS307の判定処理を複数回行う可能性が生じ、これは、リセットスイッチ72が1回しか操作されていないにもかかわらず設定値が複数回更新されるという誤動作に繋がることとなる。   In the process of determining whether or not the reset switch 72 has been operated in step S307, an all area reference process is performed. That is, referring to all the areas 112a to 112c of the reset detection area, it is determined that the reset switch 72 has been operated when “011” is stored, and the reset switch when “011” is not stored. 72 is determined not to be operated. In such a case, in the configuration in which the interrupt waiting process is not performed, there is a possibility that the determination process in step S307 is performed a plurality of times under the situation where “011” is stored. This is because the reset switch 72 is operated only once. In spite of this, the setting value is updated a plurality of times, leading to a malfunction.

一方、リセットスイッチ72が操作されたか否かを判定する前段階で割込み待ち処理を行う構成においては、リセット検出用エリアに「011」が格納されている状況下でステップS307の処理を行った場合、次回のステップS307の処理を行う際にはリセット検出用エリアに「110」又は「111」が格納されていることとなり、ステップS307においてリセットスイッチ72が操作されたと繰り返し肯定判定することを回避することができる。この結果、リセットスイッチ72の1回の操作に対して設定値を複数回更新する誤動作を回避することができ、遊技場の管理者等に自身の望む設定値を設定させることが可能となる。   On the other hand, in the configuration in which the interrupt waiting process is performed before determining whether or not the reset switch 72 has been operated, the process of step S307 is performed in a situation where “011” is stored in the reset detection area. When the next processing of step S307 is performed, “110” or “111” is stored in the reset detection area, and it is avoided that affirmative determination is made that the reset switch 72 is operated in step S307. be able to. As a result, it is possible to avoid a malfunction in which the set value is updated a plurality of times in response to one operation of the reset switch 72, and it is possible to cause the game hall manager or the like to set the desired set value.

同様に、開始前準備処理S604〜S620のループ処理においては、ステップS606においてクレジット投入スイッチ56〜58が操作されたか否かを判定し、操作されたと判定した場合にステップS612においてクレジット投入処理を行う。かかるループ処理においても、割込み待ち処理を行わない構成においては、例えばステップS604の処理を行う直前にタイマ割込み処理を行った場合、次回のタイマ割込み処理を行うまでにステップS604〜S620のループ処理を複数回繰り返し行うことが可能となる。   Similarly, in the loop process of the pre-start preparation processes S604 to S620, it is determined whether or not the credit insertion switches 56 to 58 are operated in step S606. If it is determined that the credit insertion switches 56 to 58 are operated, the credit insertion process is performed in step S612. . Even in such a loop process, in a configuration that does not perform the interrupt wait process, for example, when the timer interrupt process is performed immediately before the process of step S604, the loop process of steps S604 to S620 is performed until the next timer interrupt process is performed. It can be repeated several times.

ステップS606のクレジット投入スイッチ56〜58が操作されたか否かを判定する処理では、全エリア参照処理を行う。すなわち、各クレジット投入検出用エリアの全エリア112a〜112cを参照し、「011」が格納されている場合には対応するクレジット投入スイッチが操作されたと判定し、「011」が格納されていない場合には対応するクレジット投入スイッチが操作されていないと判定する。かかる場合、割込み待ち処理を行わない構成においては、「011」が格納されている状況下でステップS606の判定処理を複数回行う可能性が生じ、クレジット投入スイッチ56〜58が1回しか操作されていないにもかかわらず複数回操作されたと判定する可能性が生じる。これは、例えば仮想メダルを1枚だけ投入すべく第3クレジット投入スイッチ58を操作したにもかかわらず、仮想メダルが複数枚投入されてしまうという誤動作に繋がることとなる。   In the process of determining whether or not the credit insertion switches 56 to 58 in step S606 have been operated, an all area reference process is performed. That is, referring to all areas 112a to 112c of each credit insertion detection area, if “011” is stored, it is determined that the corresponding credit insertion switch has been operated, and “011” is not stored. Is determined that the corresponding credit insertion switch has not been operated. In such a case, in the configuration in which the interrupt waiting process is not performed, there is a possibility that the determination process in step S606 is performed a plurality of times under the situation where “011” is stored, and the credit insertion switches 56 to 58 are operated only once. There is a possibility that it is determined that the operation has been performed a plurality of times even though the operation has not been performed. For example, this leads to a malfunction in which a plurality of virtual medals are inserted even though the third credit insertion switch 58 is operated to insert only one virtual medal.

一方、クレジット投入スイッチ56〜58が操作されたか否かを判定する前段階で割込み待ち処理を行う構成においては、クレジット投入検出用エリアに「011」が格納されている状況下でステップS606の処理を行った場合、次回のステップS606の処理を行う際にはクレジット投入検出用エリアに「110」又は「111」が格納されていることとなり、ステップS606においてクレジット投入スイッチ56〜58が操作されたと繰り返し肯定判定することを回避することができる。この結果、クレジット投入スイッチ56〜58の1回の操作に対して対応する仮想メダルの投入が複数回行われる誤動作を回避することができ、遊技者の意図する仮想メダルの投入を行わせることが可能となる。   On the other hand, in the configuration in which the interrupt waiting process is performed at the stage before determining whether or not the credit insertion switches 56 to 58 are operated, the process of step S606 is performed in a situation where “011” is stored in the credit insertion detection area. When the next step S606 is performed, “110” or “111” is stored in the credit insertion detection area, and the credit insertion switches 56 to 58 are operated in step S606. It is possible to avoid making a positive determination repeatedly. As a result, it is possible to avoid a malfunction in which a virtual medal corresponding to a single operation of the credit insertion switches 56 to 58 is inserted a plurality of times, and to insert a virtual medal intended by the player. It becomes possible.

RAM106のセンサ情報格納エリア112を、第1〜第3エリア112a〜112cの3つの記憶エリアから構成した。かかる構成とすることにより、各検出センサからの信号入力有無の履歴を記憶することができ、信号入力有無の履歴を用いて操作がなされたか否かの判定を行うことができる。また、リセットスイッチ72とクレジット投入スイッチ56〜58については全エリア参照処理を行う構成とすることにより、スロットマシン10が誤動作することを好適に回避することが可能となる。仮に上記スイッチ56〜58,72に関して1エリア参照処理を行う構成とした場合には、当選確率設定処理のステップS303〜S308のループ処理におけるステップS307や開始前準備処理S604〜S620のループ処理におけるステップS606において、対応する検出用エリアの第1エリア112aのみを参照することとなる。上述したとおり、CPU102の動作周期は、上記スイッチ56〜58,72の操作が開始されてから終了までに要する時間と比して十分に早い。このため、上記スイッチ56〜58,72に対して1エリア参照処理を行った場合には、仮に割込み待ち処理を行ったとしても一定期間に亘って第1エリア112aに「1」が繰り返し格納されることとなり、1回の操作に対して複数回操作がなされたと判定してしまう可能性が生じるからである。   The sensor information storage area 112 of the RAM 106 is composed of three storage areas, the first to third areas 112a to 112c. With such a configuration, it is possible to store a history of presence / absence of signal input from each detection sensor, and it is possible to determine whether an operation has been performed using the history of presence / absence of signal input. Further, the reset switch 72 and the credit insertion switches 56 to 58 are configured to perform all area reference processing, so that it is possible to preferably avoid malfunction of the slot machine 10. If the switches 56 to 58 and 72 are configured to perform one area reference processing, step S307 in the loop processing of steps S303 to S308 of the winning probability setting processing and the steps in the loop processing of pre-start preparation processing S604 to S620. In S606, only the first area 112a of the corresponding detection area is referred to. As described above, the operation cycle of the CPU 102 is sufficiently faster than the time required from the start of the operation of the switches 56 to 58, 72 to the end thereof. Therefore, when one area reference processing is performed for the switches 56 to 58, 72, “1” is repeatedly stored in the first area 112a for a certain period even if interrupt waiting processing is performed. This is because there is a possibility that it is determined that the operation is performed a plurality of times for one operation.

割込み待ち処理を、通常処理の開始前準備処理において行う構成とした。開始前準備処理は、開始指令が発生するまで繰り返し行われる処理であり、前回のゲームが終了してから開始指令が発生するまでの時間は、遊技者がスタートレバー41を操作するタイミングによって変化する。このため、開始指令が発生するまでに行われる開始前準備処理の回数がランダムなものとなり、これに伴って割込み待ち処理が行われる回数もランダムなものとなる。この結果、開始指令が発生するまでに行われる遅延カウンタ111dの更新回数をランダムなものとすることができる。   The interrupt waiting process is configured to be performed in the preparation process before starting the normal process. The pre-start preparation process is a process that is repeatedly performed until a start command is generated, and the time from the end of the previous game until the start command is generated varies depending on the timing at which the player operates the start lever 41. . For this reason, the number of pre-start preparation processes performed before the start command is generated is random, and accordingly, the number of times the interrupt waiting process is performed is also random. As a result, the number of updates of the delay counter 111d performed before the start command is generated can be made random.

ここで、開始指令の発生タイミングは遊技者によるスタートレバー41の操作に依存するため、前回のゲームが終了してから開始指令が発生するまでの時間が一定となるようにスタートレバー41を不正に操作される可能性が考えられる。しかしながら、開始前準備処理を1回行うために必要な時間は遊技状況等によって変化する。例えば、メダルのベットに必要な処理時間だけを考えた場合であっても、クレジット投入スイッチ56〜58の操作によってなされたか、実際にメダルを投入されたか、によってクレジット投入処理に要する時間と投入判定処理に要する時間が変化するからである。また、割込み待ち処理を行う構成においては、当該割込み待ち処理に必要な処理時間を固定することができないため、前回のゲームが終了してから開始指令が発生するまでの時間が一定となるようスタートレバー41を不正に操作されたとしても、かかる時間内に開始前準備処理を行う回数すなわち割込み待ち処理を行う回数を一定に固定することはできない。故に、開始指令を発生させてからの遅延時間が毎ゲーム一定となるよう、遅延カウンタ111dのカウント値を狙ってスタートレバー41を操作する不正を困難なものとすることができる。   Here, since the generation timing of the start command depends on the operation of the start lever 41 by the player, the start lever 41 is illegally set so that the time from the end of the previous game to the generation of the start command is constant. Possible operation. However, the time required to perform the pre-start preparation process once varies depending on the game situation and the like. For example, even when only the processing time necessary for betting medals is considered, the time required for the credit insertion processing and the insertion determination depending on whether the medals are inserted by operating the credit insertion switches 56 to 58 This is because the time required for processing changes. Also, in the configuration that performs the interrupt waiting process, the processing time required for the interrupt waiting process cannot be fixed, so that the time until the start command is generated after the previous game ends is fixed. Even if the lever 41 is illegally operated, the number of times of performing the pre-start preparation process, that is, the number of times of performing the interrupt waiting process within such time cannot be fixed. Therefore, it is possible to make it difficult to operate the start lever 41 with the aim of the count value of the delay counter 111d so that the delay time after the start command is generated becomes constant every game.

割込み待ち処理を、通常処理の停止前処理におけるステップS1001〜ステップS1004、すなわち回転中のリールを停止させることが可能となってから停止指令が発生するまでの間に行う構成とした。ステップS1001〜ステップS1004の処理は、停止指令が発生するまで繰り返し行われる処理であり、回転中のリールを停止させることが可能となってから停止指令が発生するまでの時間は、遊技者がストップスイッチ42〜44を操作するタイミングによって変化する。このため、停止指令が発生するまでに行われるステップS1001〜ステップS1004の処理回数がランダムなものとなり、これに伴って割込み待ち処理が行われる回数もランダムなものとなる。この結果、停止指令が発生するまでに行われる遅延カウンタ111dの更新回数をランダムなものとすることができる。   The interrupt waiting process is configured to be performed from step S1001 to step S1004 in the pre-stop process of the normal process, that is, from when the rotating reel can be stopped until a stop command is issued. The processes in steps S1001 to S1004 are repeatedly performed until a stop command is generated, and the player stops the time from when the spinning reel can be stopped until the stop command is generated. It changes depending on the timing of operating the switches 42-44. For this reason, the number of times of processing in steps S1001 to S1004 performed until the stop command is generated is random, and accordingly, the number of times that the interrupt waiting process is performed is also random. As a result, the number of updates of the delay counter 111d performed before the stop command is generated can be made random.

CPU102のRAM106に遅延カウンタ111dを設け、当該遅延カウンタ111dの更新をCPU102が行う構成とした。すなわち、ソフトフリーカウンタの値に基づいて遅延期間を決定する構成とした。かかる構成とすることにより、当選となる乱数が不正に取得されることを困難なものとすることが可能となる。確かに、CPU102と別体のハードウェアカウンタが生成したカウント値を用いて遅延期間を決定する構成とすることも可能である。しかしながら、かかる構成とした場合、当該ハードウェアカウンタを例えば1の値のみを出力する不正なハードウェアカウンタに変更される可能性が懸念され、かかる変更がなされた場合、遅延期間が毎ゲーム前記1の値に基づく一定期間となってしまうこととなる。そして、遅延期間を一定期間とした上で、体感器等を用いて当選となる乱数が作成される際の基礎乱数生成器150のカウント値を狙ってスタートレバー41を操作する不正や、前記カウント値が生成されるタイミングで主制御装置101に開始指令が発生したと誤認識させる不正信号を出力可能な不正基板を取り付ける不正が行われる可能性が懸念される。一方、CPU102のRAM106に遅延カウンタ111dを設け、遅延カウンタ111dの更新をCPU102が行う構成においては、CPU102自体が不正なCPUに変更されない限りは、上記不正を困難なものとすることが可能となる。   A delay counter 111d is provided in the RAM 106 of the CPU 102, and the CPU 102 updates the delay counter 111d. That is, the delay period is determined based on the value of the soft free counter. By adopting such a configuration, it is possible to make it difficult for the random numbers to be won to be illegally acquired. Certainly, the delay period may be determined using a count value generated by a hardware counter separate from the CPU 102. However, in such a configuration, there is a concern that the hardware counter may be changed to an illegal hardware counter that outputs only a value of 1, for example. When such a change is made, the delay period is set to the value of 1 for each game. It will be a certain period based on. Then, after setting the delay period to a fixed period, the illegal operation of operating the start lever 41 aiming at the count value of the basic random number generator 150 when the winning random number is created using a sensory device, etc. There is a concern that fraud may be performed by attaching an unauthorized substrate that can output an unauthorized signal that erroneously recognizes that a start command has been issued to the main control device 101 at a timing when a value is generated. On the other hand, in the configuration in which the delay counter 111d is provided in the RAM 106 of the CPU 102 and the CPU 102 updates the delay counter 111d, the above fraud can be made difficult unless the CPU 102 itself is changed to an unauthorized CPU. .

遅延カウンタ111dの値は、RAMクリアを行う場合であってもクリアされない構成とした。かかる構成とすることにより、RAMクリアを示す不正信号をCPU102に入力して遅延カウンタ111dの値を初期値に変更した上で、当選となる乱数が作成される際の基礎乱数生成器150,第1カウンタ111a及び第2カウンタ111bの値を狙ってスタートレバー41を操作する不正を防止することが可能となる。   The value of the delay counter 111d is not cleared even when the RAM is cleared. With this configuration, an illegal signal indicating RAM clear is input to the CPU 102, and the value of the delay counter 111d is changed to an initial value, and then the random number to be won is generated, It is possible to prevent an unauthorized act of operating the start lever 41 aiming at the values of the first counter 111a and the second counter 111b.

CPU102のRAM106に第1カウンタ111a及び第2カウンタ111bを設け、乱数作成処理では、基礎乱数生成器150の生成した基礎乱数にこれらカウンタ111a,111bのカウント値を加算する構成とした。かかる構成とすることにより、作成される乱数や当選となる乱数が作成される周期を、1のカウンタのカウント値を用いて乱数を作成する構成よりもランダムなものとすることが可能となり、当選となる乱数を不正に取得することを困難なものとすることが可能となる。   A first counter 111 a and a second counter 111 b are provided in the RAM 106 of the CPU 102, and in the random number generation process, the count values of these counters 111 a and 111 b are added to the basic random number generated by the basic random number generator 150. By adopting such a configuration, it is possible to make a random number to be created or a cycle in which a winning random number is created to be more random than a configuration in which a random number is created using the count value of one counter. It is possible to make it difficult to illegally obtain the random number.

CPU102のRAM106に第1カウンタ111aと第2カウンタ111bを設け、これらカウンタ111a,111bの更新をCPU102が行う構成とした。すなわち、ハードウェアカウンタたる基礎乱数生成器150の値に、ソフトフリーカウンタの値を加算して乱数を作成する構成とした。かかる構成とすることにより、当選となる乱数が不正に取得されることを困難なものとすることが可能となる。確かに、基礎乱数生成器150等のハードウェア乱数生成器がラッチしたカウント値をそのまま乱数として用いる構成とすることも可能である。しかしながら、かかる構成とした場合、当該ハードウェア乱数生成器を、例えば常にBB当選となるカウント値を出力する不正なハードウェア乱数生成器に変更される可能性が懸念され、かかる変更がなされた場合、スロットマシン10を設置する遊技場等が多大な被害を受けることとなる。一方、CPU102のRAM106に第1カウンタ111aと第2カウンタ111bを設け、これらカウンタ111a,111bの更新をCPU102が行う構成においては、仮に上記不正なハードウェア乱数生成器に変更されたとしても、第1カウンタ111aと第2カウンタ111bのカウント値を加算することでBB当選とならない乱数に変更することが可能となる。   The first counter 111a and the second counter 111b are provided in the RAM 106 of the CPU 102, and the CPU 102 updates the counters 111a and 111b. That is, the random number is generated by adding the value of the soft free counter to the value of the basic random number generator 150 as a hardware counter. By adopting such a configuration, it is possible to make it difficult for the random numbers to be won to be illegally acquired. It is true that the count value latched by a hardware random number generator such as the basic random number generator 150 can be used as a random number as it is. However, when such a configuration is used, there is a concern that the hardware random number generator may be changed to, for example, an unauthorized hardware random number generator that always outputs a count value that is won by BB. The game arcade where the slot machine 10 is installed will suffer a great deal of damage. On the other hand, in the configuration in which the first counter 111a and the second counter 111b are provided in the RAM 106 of the CPU 102, and the CPU 102 updates the counters 111a and 111b, even if the illegal hardware random number generator is changed, By adding the count values of the first counter 111a and the second counter 111b, it is possible to change to a random number that does not win the BB.

第1カウンタ111a及び第2カウンタ111bの値は、RAMクリアを行う場合であってもクリアされない構成とした。かかる構成とすることにより、RAMクリアを示す不正信号をCPU102に入力して第1カウンタ111aと第2カウンタ111bの値を初期値に変更した上で、当選となる乱数が作成される際の基礎乱数生成器150,第1カウンタ111a及び第2カウンタ111bの値を狙ってスタートレバー41を操作する不正を防止することが可能となる。   The values of the first counter 111a and the second counter 111b are not cleared even when the RAM is cleared. With this configuration, an illegal signal indicating RAM clear is input to the CPU 102 and the values of the first counter 111a and the second counter 111b are changed to initial values, and then the basis for creating a winning random number is created. It is possible to prevent an unauthorized operation of the start lever 41 aiming at the values of the random number generator 150, the first counter 111a, and the second counter 111b.

また、ハードウェア乱数生成器がラッチしたカウント値をそのまま乱数として用いる構成とした場合には、上述した不正なハードウェア乱数生成器に変更される可能性に加えて、次のような問題も懸念される。すなわち、ハードウェア乱数生成器では、発振器が定周期でクロック信号をカウンタに対して出力し、当該クロック信号の入力に基づいてカウンタが更新される。このため、例えば発信器が故障等を原因としてクロック信号を出力しなくなると、カウンタの更新が行われなくなる。したがって、クロック信号が出力されなくなった後のゲームでは常に同じカウンタ値を用いて役の当否判定が行われることとなり、遊技者又はスロットマシンを設置する遊技場が不利益を被る可能性が懸念される。   Further, when the count value latched by the hardware random number generator is used as it is as a random number, in addition to the possibility of being changed to the above-mentioned illegal hardware random number generator, there are also concerns about the following problems: Is done. That is, in the hardware random number generator, the oscillator outputs a clock signal to the counter at a fixed period, and the counter is updated based on the input of the clock signal. For this reason, for example, when the transmitter stops outputting a clock signal due to a failure or the like, the counter is not updated. Therefore, in the game after the clock signal is no longer output, the winning / failing determination is always performed using the same counter value, and there is a concern that the game place where the player or the slot machine is installed may suffer disadvantages. The

そこで、Dフリップフロップ回路により構成された監視回路152を主制御装置101に設け、当該監視回路152には、そのD端子にスタート検出センサ41aを接続するとともにCLK端子に第2クロック回路151を接続し、Qバー端子にCPU102を接続した。かかる構成においては、故障等を原因として第2クロック回路151から第2クロック信号が出力されなくなった場合、或いは第2クロック信号が出力されたままの状態となった場合、監視回路152において第2クロック信号(より詳しくは反転クロック信号)の入力状態が変化しないため、CPU102に対して開始信号が出力されない。したがって、これら状況下においてスタート検出センサ41aから操作信号が出力されたとしても各リール32L,32M,32Rが回転を開始することはなく、遊技者又はスロットマシン10を設置する遊技場が不利益を被ることを回避できる。第2クロック信号が基礎乱数生成器150に入力されなくなる、或いは入力されたままとなった場合、その後にゲームを行うことが可能な構成においては、常に同じ基礎乱数を用いて乱数が作成されることとなるからである。   Therefore, a monitoring circuit 152 composed of a D flip-flop circuit is provided in the main controller 101, and the start detection sensor 41a is connected to the D terminal of the monitoring circuit 152 and the second clock circuit 151 is connected to the CLK terminal. The CPU 102 was connected to the Q bar terminal. In such a configuration, when the second clock signal is not output from the second clock circuit 151 due to a failure or the like, or when the second clock signal remains output, the second monitoring circuit 152 causes the second clock signal to be output. Since the input state of the clock signal (more specifically, the inverted clock signal) does not change, the start signal is not output to the CPU 102. Therefore, even if an operation signal is output from the start detection sensor 41a under these circumstances, the reels 32L, 32M, and 32R do not start rotating, and the game hall where the player or the slot machine 10 is installed is disadvantageous. It can be avoided. When the second clock signal is not input to the basic random number generator 150 or remains input, in a configuration in which a game can be played after that, a random number is always generated using the same basic random number. Because it will be.

また、かかる構成においては、遊技者又はスロットマシン10を設置する遊技場の管理者等に、スタートレバー41を操作しても各リール32L,32M,32Rが回転を開始しないことを通じてスロットマシン10に異常が発生したことを報知することが可能となる。故に、第2クロック回路151に異常が発生したことを速やかに発見させることが可能となり、第2クロック回路151の異常に伴って遊技者又はスロットマシン10を設置する遊技場が不利益を被ることを好適に回避させることができる。   In this configuration, the reel 32L, 32M, 32R does not start rotating even if the start lever 41 is operated by the player or the manager of the game hall where the slot machine 10 is installed. It is possible to notify that an abnormality has occurred. Therefore, it becomes possible to quickly find out that an abnormality has occurred in the second clock circuit 151, and the game hall in which the player or the slot machine 10 is installed suffers disadvantages due to the abnormality of the second clock circuit 151. Can be suitably avoided.

確かに、第2クロック回路151が周期的に第2クロック信号を出力しているか否かを監視する監視手段を設け、第2クロック信号が周期的に出力されていない場合にはCPU102が異常発生を報知する等の異常発生時処理を行う構成としても、第2クロック回路151に何らかの異常が発生したことを遊技者又は遊技場の管理者等に報知することが可能となる。しかしながら、かかる構成とした場合、異常発生時処理を行うためのプログラムを主制御装置101又はCPU102自体に記憶させる必要が生じ、記憶容量の増大化が懸念されることとなる。また、第2クロック回路151ではなく監視手段に何らかの異常が発生した場合、第2クロック回路151に異常が発生しているにも関わらず当該異常を発見することができずに継続してゲームが行われる可能性も懸念される。   Certainly, a monitoring means for monitoring whether the second clock circuit 151 periodically outputs the second clock signal is provided, and if the second clock signal is not periodically output, the CPU 102 is abnormal. Even when the abnormality is processed such as notifying the player, it is possible to notify the player or the manager of the game hall that a certain abnormality has occurred in the second clock circuit 151. However, with such a configuration, it is necessary to store a program for performing processing at the time of occurrence of abnormality in the main control device 101 or the CPU 102 itself, and there is a concern about an increase in storage capacity. In addition, if any abnormality occurs in the monitoring means instead of the second clock circuit 151, the abnormality cannot be found despite the occurrence of the abnormality in the second clock circuit 151, and the game continues. There is also concern about the possibility of this being done.

一方、スタート検出センサ41aとCPU102が監視回路152を介して接続される上記実施の形態の場合、スタートレバー41を操作したにも関わらず各リール32L,32M,32Rが回転を開始しないことを通じて遊技者に異常発生を直接報知することが可能となり、CPU102側で異常発生時処理等を行う必要がない。また、監視回路152自体に何らかの異常が発生した場合、開始信号とラッチ信号の出力状態が変化しなくなるため、かかる場合であってもその後のゲームを行うことができないことを通じて遊技者に異常発生を直接報知することが可能となる。したがって、上記各懸念を解消しつつ、スロットマシン10内部で異常が発生した場合に遊技者又はスロットマシン10を設置する遊技場が不利益を被る機会を比較的簡易な構成で低減することができる。   On the other hand, in the case of the above embodiment in which the start detection sensor 41a and the CPU 102 are connected via the monitoring circuit 152, each reel 32L, 32M, 32R does not start rotating despite the start lever 41 being operated. It is possible to directly notify the person of the occurrence of the abnormality, and it is not necessary to perform processing at the time of occurrence of the abnormality on the CPU 102 side. In addition, if any abnormality occurs in the monitoring circuit 152 itself, the output state of the start signal and the latch signal will not change. It is possible to notify directly. Therefore, it is possible to reduce the chances that the player or the game arcade where the slot machine 10 is installed suffers disadvantages with a relatively simple configuration, while solving the above-mentioned concerns, when an abnormality occurs in the slot machine 10. .

基礎乱数生成器150において、カウンタ150aのカウント値の更新は第2クロック信号が入力無し状態から入力有り状態に切り替るタイミングで行われ、ラッチ回路150bにおけるカウント値のラッチは第2クロック信号が入力有り状態から入力無し状態に切り替るタイミングで行われる構成とした。かかる構成とすることにより、カウント値の更新タイミングとカウント値のラッチタイミングが同じタイミングとなることを回避でき、カウント値が更新されている最中にラッチタイミングがやってきてカウント値を正常にラッチできない不具合が生じることを回避できる。   In the basic random number generator 150, the count value of the counter 150a is updated at a timing when the second clock signal is switched from the non-input state to the input state, and the second clock signal is input to the latch of the count value in the latch circuit 150b. The configuration is performed at the timing of switching from the presence state to the no-input state. By adopting such a configuration, it is possible to prevent the count value update timing and the count value latch timing from being the same, and the latch timing comes while the count value is being updated, and the count value cannot be normally latched. It is possible to avoid problems.

主制御装置101において、CPU102と別個に監視回路152を設けたため、第2クロック回路151が正常か否かの監視をCPU102が行うことなくスロットマシン10の異常を報知することが可能となる。故に、CPU102の処理負荷を低減させることが可能となると共に、第2クロック回路151の監視制御に関するプログラムが不要となり、CPU102の記憶容量が増大化することを抑制することも可能となる。   In main controller 101, since monitoring circuit 152 is provided separately from CPU 102, it is possible to notify abnormality of slot machine 10 without CPU 102 monitoring whether second clock circuit 151 is normal or not. Therefore, it is possible to reduce the processing load on the CPU 102 and to eliminate the need for a program related to the monitoring control of the second clock circuit 151, and to suppress an increase in the storage capacity of the CPU 102.

さらに、第2クロック回路151ではなく監視回路152自体に何らかの異常が発生した場合であっても、当該異常を容易に発見させることが可能となる。すなわち、監視回路152に何かしらの異常が発生した場合、操作信号や第2クロック信号の入力状態に関わらず開始信号の出力状態が一定となる。これは、遊技者がスタートレバー41を操作したにも関わらず各リール32L,32M,32Rが回転を開始しなかったり、遊技者がスタートレバー41を操作していないにも関わらず開始信号が出力されたままの状態となったりするという異常な事象が発生することに繋がる。故に、遊技者又は遊技場の管理者等がスロットマシン10に何かしらの異常が発生していることを容易に発見することが可能となる。これにより、監視回路152に異常が発生しているために第2クロック回路151の異常を発見することができない等の不具合が生じることを回避しつつ、スロットマシン10内部で異常が発生した場合に遊技者又はスロットマシン10を設置する遊技場が不利益を被る機会を低減することができる。   Furthermore, even if some abnormality occurs in the monitoring circuit 152 itself instead of the second clock circuit 151, the abnormality can be easily found. That is, when any abnormality occurs in the monitoring circuit 152, the output state of the start signal is constant regardless of the input state of the operation signal or the second clock signal. This is because the reels 32L, 32M, and 32R do not start rotating even though the player operates the start lever 41, or the start signal is output even though the player does not operate the start lever 41. It leads to the occurrence of an abnormal event such as being in a state where it has been done. Therefore, it becomes possible for a player, a game hall manager, or the like to easily discover that some abnormality has occurred in the slot machine 10. As a result, when an abnormality occurs in the slot machine 10 while avoiding the occurrence of a problem such as the failure of the second clock circuit 151 being unable to be detected due to an abnormality occurring in the monitoring circuit 152. It is possible to reduce the chance that the player or the game hall in which the slot machine 10 is installed suffers disadvantages.

CPU102にクロック信号を入力する第1クロック回路103と、基礎乱数生成器150にクロック信号を入力する第2クロック回路151とを別個に設けると共に、これらクロック回路103,151から出力されるクロック信号が同期しない構成とした。かかる構成とすることにより、基礎乱数生成器150においてラッチ回路150bがカウント値をラッチするタイミングと、CPU102がラッチ回路150bから乱数を取得する取得タイミングとが同期し、CPU102が基礎乱数を正常に取得できないという不具合が生じることを回避できる。   A first clock circuit 103 that inputs a clock signal to the CPU 102 and a second clock circuit 151 that inputs a clock signal to the basic random number generator 150 are separately provided, and clock signals output from these clock circuits 103 and 151 are provided. The configuration is not synchronized. With this configuration, the timing at which the latch circuit 150b latches the count value in the basic random number generator 150 and the acquisition timing at which the CPU 102 acquires a random number from the latch circuit 150b are synchronized, and the CPU 102 normally acquires the basic random number. It is possible to avoid the problem that it cannot be performed.

リール制御処理において、開始指令が発生したままでないことを条件として停止指令の発生有無を判定する構成とした。すなわち、リールが回転している最中に開始指令が発生している場合、停止指令を無効とする構成とした。かかる構成とすることにより、第2クロック信号が出力されたままの状態で第2クロック回路151に異常が発生した場合に、当該異常を速やかに発見することが可能となる。ゲームの途中で前記異常が発生した場合には、ストップスイッチを操作しても対応するリールを停止させることができないことを通じて、遊技者又は遊技場の管理者等にスロットマシン10に何らかの異常が発生したことを報知することが可能となるからである。また、スタートレバー41が操作されていない状況下で前記異常が発生して各リール32L,32M,32Rが回転を開始した場合、遊技者は違和感を抱きつつも当該ゲームを終了させるべくストップスイッチ42〜44を操作する可能性が考えられる。しかしながら、ストップスイッチを操作しても対応するリールを停止させることができないことを通じて、遊技者又は遊技場の管理者等にスロットマシン10に何らかの異常が発生したことを報知することが可能となる。   In the reel control process, it is configured to determine whether or not a stop command is generated on condition that the start command is not generated. That is, when the start command is generated while the reel is rotating, the stop command is invalidated. With such a configuration, when an abnormality occurs in the second clock circuit 151 while the second clock signal is still output, the abnormality can be quickly found. If the abnormality occurs in the middle of the game, it is impossible to stop the corresponding reel even if the stop switch is operated. This is because it is possible to notify the user of the fact. In addition, when the abnormality occurs and the reels 32L, 32M, and 32R start to rotate under the condition where the start lever 41 is not operated, the stop switch 42 is used to end the game while feeling uncomfortable. The possibility of operating ~ 44 is conceivable. However, even if the stop switch cannot be operated, the corresponding reel cannot be stopped, so that it is possible to notify the player or the game hall manager that some abnormality has occurred in the slot machine 10.

なお、上述した実施の形態の記載内容に限定されず、例えば次のように実施してもよい。   In addition, it is not limited to the description content of embodiment mentioned above, For example, you may implement as follows.

(1)上記実施の形態では、基礎乱数生成器150と第1カウンタ111aと第2カウンタ111bとを設け、基礎乱数生成器150のラッチしたカウント値と、第1カウンタ111aのカウント値と、第2カウンタ111bのカウント値と、を加算することで乱数を作成する構成としたが、かかる構成に限定されるものではなく、第1カウンタ111aと第2カウンタ111bを設けず、基礎乱数生成器150のカウント値をそのまま乱数として用いる構成としても良い。かかる構成とした場合、基礎乱数生成器150では当選となるカウント値が一定周期で生成されるため、前記カウント値を狙って開始指令を発生させる不正が行われる可能性が生じる。しかしながら、開始指令の発生から遅延時間を経過した後に基礎乱数生成器150のカウント値をラッチする構成においては、仮に開始指令を前記周期の自然数倍の周期で発生させられたとしても、基礎乱数生成器150のカウント値をラッチするタイミングを前記周期からずらすことができる。故に、当選となる乱数が不正に取得されることを困難なものとすることが可能となる。   (1) In the above embodiment, the basic random number generator 150, the first counter 111a, and the second counter 111b are provided, and the count value latched by the basic random number generator 150, the count value of the first counter 111a, Although the random number is created by adding the count value of the two counter 111b, the present invention is not limited to such a configuration. The first counter 111a and the second counter 111b are not provided, and the basic random number generator 150 is provided. The count value may be used as a random number as it is. In such a configuration, the basic random number generator 150 generates a winning count value at a constant period, and therefore, there is a possibility that a fraud in which a start command is generated targeting the count value is performed. However, in the configuration in which the count value of the basic random number generator 150 is latched after the delay time has elapsed from the generation of the start command, even if the start command is generated with a cycle that is a natural number multiple of the cycle, The timing for latching the count value of the generator 150 can be shifted from the period. Therefore, it is possible to make it difficult for the winning random numbers to be obtained illegally.

また、基礎乱数生成器150を設けず、第1カウンタ111aのカウント値と第2カウンタ111bのカウント値とを加算することで乱数を作成する構成としても良いし、第1カウンタ111aのカウント値をそのまま乱数として用いる構成や、第2カウンタ111bのカウント値をそのまま乱数として用いる構成としても良いことは言うまでもない。   The basic random number generator 150 may not be provided, and the random number may be created by adding the count value of the first counter 111a and the count value of the second counter 111b, or the count value of the first counter 111a may be It goes without saying that a configuration in which the random number is used as it is or a configuration in which the count value of the second counter 111b is directly used as a random number may be used.

(2)上記実施の形態では、開始指令が発生した場合、遅延カウンタ111dの値が0となるまで減算する処理を行う構成としたが、遅延カウンタ111dの値が0となるまで加算する処理を行う構成としても良い。かかる構成とした場合であっても、上記実施の形態と同様の作用効果を奏することは明らかである。また、かかる構成とした場合には、遅延カウンタ処理のプログラム構成を簡略化することが可能となる。   (2) In the above embodiment, when a start command is generated, the subtraction process is performed until the value of the delay counter 111d becomes 0. However, the addition process is performed until the value of the delay counter 111d becomes 0. It is good also as a structure to perform. Even if it is a case where it is set as this structure, it is clear that there exists an effect similar to the said embodiment. Also, with such a configuration, the program configuration of the delay counter process can be simplified.

(3)上記実施の形態では、遅延カウンタ111dの値が0となるまで減算する処理をタイマ割込み処理にて行う構成としたが、通常処理にて行う構成としても良い。具体的には、通常処理の遅延処理において、遅延フラグをセットした後に遅延カウンタ111dの値を1減算する処理を行い、その後に遅延カウンタ111dの値が0か否かの判定を行う構成とする。そして、遅延カウンタ111dの値が0でない場合には、遅延カウンタ111dの値が0となるまで前記減算処理を繰り返し行う構成とする。かかる構成とした場合には、遅延時間の短縮化を図ることが可能となる。タイマ割込み処理にて遅延カウンタ111dの減算処理を行った場合には、前記減算処理を1.49msec毎にしか行うことができないが、通常処理にて遅延カウンタ111dの減算処理を行った場合には、前記減算処理を約125nsec毎に行うことができるからである。   (3) In the above embodiment, the process of subtracting until the value of the delay counter 111d becomes 0 is performed by the timer interrupt process, but may be configured by the normal process. Specifically, in the delay process of the normal process, a process of subtracting 1 from the value of the delay counter 111d after setting the delay flag, and then determining whether or not the value of the delay counter 111d is 0 is configured. . When the value of the delay counter 111d is not 0, the subtraction process is repeatedly performed until the value of the delay counter 111d becomes 0. In such a configuration, the delay time can be shortened. When the subtraction process of the delay counter 111d is performed in the timer interrupt process, the subtraction process can be performed only every 1.49 msec. However, when the subtraction process of the delay counter 111d is performed in the normal process, This is because the subtraction process can be performed about every 125 nsec.

(4)上記実施の形態では、開始指令が発生した場合、遅延カウンタ111dの値が0となった後にラッチ信号を出力する構成としたが、かかる構成に限定されるものではなく、遅延カウンタ111dの値が1となった後にラッチ信号を出力する構成としても良いし、遅延カウンタ111dの値が10となった後にラッチ信号を出力する構成としても良い。つまり、そのときの遅延カウンタ111dの値と無関係な特定値となった後にラッチ信号を出力する構成であれば良い。   (4) In the above embodiment, when a start command is generated, the latch signal is output after the value of the delay counter 111d becomes 0. However, the present invention is not limited to this configuration, and the delay counter 111d The latch signal may be output after the value of 1 becomes 1, or the latch signal may be output after the value of the delay counter 111d becomes 10. That is, any configuration may be used as long as the latch signal is output after a specific value irrelevant to the value of the delay counter 111d at that time.

(5)上記実施の形態では、CPU102のRAM106に遅延カウンタ111dを1つ設け、当該遅延カウンタ111dの値を通常処理とタイマ割込み処理において更新する構成としたが、通常処理において更新される遅延カウンタと、タイマ割込み処理において更新される遅延カウンタと、を別個に設けても良い。   (5) In the above embodiment, one delay counter 111d is provided in the RAM 106 of the CPU 102, and the value of the delay counter 111d is updated in the normal process and the timer interrupt process. However, the delay counter updated in the normal process is used. And a delay counter updated in the timer interrupt process may be provided separately.

(6)上記実施の形態では、基礎乱数生成器150を設け、基礎乱数生成器150のラッチしたカウント値と、第1カウンタ111aのカウント値と、第2カウンタ111bのカウント値と、を加算することで乱数を作成する構成としたが、これらカウント値を減算することで乱数を作成する構成としても良いことは言うまでも無い。   (6) In the above embodiment, the basic random number generator 150 is provided, and the count value latched by the basic random number generator 150, the count value of the first counter 111a, and the count value of the second counter 111b are added. Although it was set as the structure which produces a random number by this, it cannot be overemphasized that it is good also as a structure which produces a random number by subtracting these count values.

(7)通常処理において割込み待ち処理を設ける位置は、タイマ割込み処理の処理結果を用いて判断を行う処理の前であれば、任意である。したがって、例えば停止前処理におけるステップS1002とステップS1003の間に割込み待ち処理を設ける構成としても良いし、投入判定処理の途中に割込み待ち処理を設ける構成としても良い。投入判定処理では、投入メダル検出センサ45aからの検出信号に基づいてメダルが投入されたか否かを判定するからである。   (7) The position where the interrupt waiting process is provided in the normal process is arbitrary as long as it is before the process of making a determination using the processing result of the timer interrupt process. Therefore, for example, an interrupt waiting process may be provided between step S1002 and step S1003 in the pre-stop process, or an interrupt waiting process may be provided in the middle of the input determination process. This is because in the insertion determination process, it is determined whether or not a medal has been inserted based on the detection signal from the inserted medal detection sensor 45a.

また、上述したようなセンサ監視処理の処理結果を用いて判断を行う処理の前ではなく、タイマ減算処理の処理結果を用いて判断を行う処理の前であっても良い。例えば、回転開始処理では、前回の遊技でリールが回転を開始した時点から予め定めたウエイト時間(例えば4.1秒)が経過したか否かを確認する。そこで、かかるウェイト時間を計測するタイマの減算をタイマ減算処理で行う構成であれば、ウエイト時間を経過したか否かを確認する前に割込み待ち処理を行う構成とする。或いは、所定のコマンドの出力が完了したか否かを判定する処理を行い、完了していない場合にはそのまま待機する構成においては、前記判定処理を行う前に割込み待ち処理を行う構成としても良い。これら構成とした場合には、待機時間を遅延カウンタ111dの更新時間として有効活用することが可能となる。   Further, it may be before the process of making a determination using the processing result of the timer subtraction process, instead of the process of making a determination using the processing result of the sensor monitoring process as described above. For example, in the rotation start process, it is confirmed whether or not a predetermined wait time (eg, 4.1 seconds) has elapsed since the reel started rotating in the previous game. Therefore, if the subtraction of the timer for measuring the wait time is performed by the timer subtraction process, an interrupt waiting process is performed before confirming whether the wait time has elapsed. Alternatively, in the configuration in which it is determined whether or not the output of a predetermined command has been completed, and if the output is not completed, the process waits as it is, and the interrupt waiting process may be performed before the determination process is performed. . With these configurations, the standby time can be effectively used as the update time of the delay counter 111d.

(8)上記実施の形態では、更新カウンタ111cの値が変化した場合に割込み待ち処理を終了する構成としたが、更新カウンタ111cの値の変化量は任意である。すなわち、ステップS407では、更新カウンタ111cの値がステップS402にて取得した値から3変化した場合に否定判定をする構成としても良いし、1変化した場合に否定判定をする構成としても良い。つまり、上記実施の形態では、更新カウンタ111cの値が変化した場合、その変化量に関わらず否定判定をして割込み待ち処理を終了する構成としたが、予め変化量を設定し、更新カウンタ111cの値が前記変化量分だけ変化した場合、すなわち予め定めた回数だけタイマ割込み処理が行われた場合、否定判定をして割込み待ち処理を終了する構成としても良い。   (8) In the above embodiment, the interrupt waiting process is terminated when the value of the update counter 111c changes, but the amount of change in the value of the update counter 111c is arbitrary. That is, in step S407, a negative determination may be made when the value of the update counter 111c has changed by three from the value acquired in step S402, or a negative determination may be made when the value has changed by one. That is, in the above embodiment, when the value of the update counter 111c changes, a negative determination is made regardless of the amount of change and the interrupt waiting process is terminated. However, the change counter is set in advance and the update counter 111c is set. When the timer value is changed by the amount of change, that is, when the timer interrupt process is performed a predetermined number of times, a negative determination may be made and the interrupt wait process may be terminated.

(9)上記実施の形態では、乱数の作成に用いるカウンタとして、タイマ割込み処理において更新される第1カウンタ111aと、通常処理において更新される第2カウンタ111bと、を別個に設ける構成としたが、1のカウンタの値を通常処理とタイマ割込み処理とで更新する構成としても良い。   (9) In the above embodiment, the first counter 111a updated in the timer interrupt process and the second counter 111b updated in the normal process are separately provided as counters used for generating random numbers. The counter value may be updated by normal processing and timer interrupt processing.

また、基礎乱数生成器を有さない遊技機に上記構成を適用する場合には、前記カウンタの値をそのまま乱数として用いる構成としても良いし、前記カウンタの値を反転する等の所定の演算処理を行って得られた値を乱数として用いる構成としても良い。   In addition, when the above configuration is applied to a gaming machine that does not have a basic random number generator, the counter value may be used as a random number as it is, or a predetermined calculation process such as inverting the counter value. It is good also as a structure which uses the value obtained by performing as a random number.

(10)上記実施の形態では、割込み待ち処理における遅延カウンタ111dの更新回数を除いた場合、開始前準備処理が1回行われる毎に遅延カウンタ111dの値が1更新される構成としたが、2更新される構成としても良いし、3以上更新される構成としても良い。すなわち、開始前準備処理1回あたりに対する遅延カウンタ111dの更新回数又は更新値は任意である。   (10) In the above embodiment, when the number of updates of the delay counter 111d in the interrupt waiting process is excluded, the value of the delay counter 111d is updated by one each time the pre-start preparation process is performed once. It is good also as a structure updated two, and good also as a structure updated three or more. That is, the number of updates or the update value of the delay counter 111d per one pre-start preparation process is arbitrary.

(11)上記実施の形態では、開始待ち処理において、ステップS604〜ステップS620の処理がループする構成としたが、ステップS601〜ステップS620の処理がループする構成としても良い。但し、開始前準備処理にステップS601〜ステップS603の処理を含めた構成とする場合には、メダル受付許可処理及び自動投入処理において1回目の処理であるか否かを判定し、1回目である場合には対応する処理を行い、1回目でない場合には対応する処理を行うことなくそれ以降の処理(ステップS604、ステップS607)に移行する構成とする必要がある。かかる構成とした場合には、開始前準備処理の開始から終了までの時間をより不定なものとすることができ、開始指令が発生するまでに行われる遅延カウンタ111dの更新回数をよりランダムなものとすることができる。   (11) In the above embodiment, in the start waiting process, the process from step S604 to step S620 loops. However, the process from step S601 to step S620 may loop. However, when the pre-start preparation process includes the processes in steps S601 to S603, it is determined whether it is the first process in the medal acceptance permission process and the automatic insertion process. In some cases, it is necessary to perform a corresponding process, and if it is not the first time, the corresponding process is not performed and the process proceeds to the subsequent processes (steps S604 and S607). In such a configuration, the time from the start to the end of the pre-start preparation process can be made indefinite, and the update count of the delay counter 111d performed before the start command is generated is more random. It can be.

このように、開始前準備処理とは、リールが回転していない状況で開始され、開始指令が発生した場合に終了する処理であって、開始指令が発生するまで繰り返し行われる処理であれば良い。   As described above, the pre-start preparation process is a process that is started when the reel is not rotating and ends when a start command is generated, and may be a process that is repeatedly performed until a start command is generated. .

(12)上記実施の形態では、遅延カウンタ111dの値を1加算又は1減算する更新処理を行う構成としたが、2以上の値を加算又は減算する更新処理を行う構成としても良いことは言うまでもない。第1カウンタ111a,第2カウンタ111b及び基礎乱数生成器150のカウンタ150aについても同様である。   (12) In the above-described embodiment, the update process for adding or subtracting 1 from the value of the delay counter 111d is performed. Yes. The same applies to the first counter 111a, the second counter 111b, and the counter 150a of the basic random number generator 150.

(13)開始前準備処理において遅延カウンタ111dの更新を行う位置は任意である。すなわち、異常確認処理の直後に遅延カウンタ111dの更新を行う構成としても良いし、投入判定処理の直後に遅延カウンタ111dの更新を行う構成としても良い。これら構成とした場合であっても、上記実施の形態と同様の作用効果を奏することは明らかである。   (13) The position where the delay counter 111d is updated in the pre-start preparation process is arbitrary. In other words, the delay counter 111d may be updated immediately after the abnormality confirmation process, or the delay counter 111d may be updated immediately after the input determination process. Even if it is a case where it is set as these structures, it is clear that there exists an effect similar to the said embodiment.

(14)基礎乱数生成器150のラッチ回路150bとCPU102とを、16ビット反転接続する構成としても良い。   (14) The latch circuit 150b of the basic random number generator 150 and the CPU 102 may be 16-bit inverted connection.

(15)上記実施の形態では、基礎乱数生成器150のカウンタ150aと、第1カウンタ111aと、第2カウンタ111bと、をそれぞれ16ビットで構成したが、8ビットで構成しても良いし、4ビットで構成しても良い。また、各カウンタのビット数が異なる構成としても良い。遅延カウンタ111dについても同様であり、4ビット構成に限らず、8ビット構成としても良いし、16ビット構成としても良い。但し、遅延カウンタ111dのビット数を大きくした場合には、遅延時間がその分だけ長くなることとなる。このため、かかる場合には、タイマ割込み処理において遅延カウンタ111dの減算処理を行う箇所を増加させる等の工夫を行うことが望ましい。   (15) In the above embodiment, the counter 150a, the first counter 111a, and the second counter 111b of the basic random number generator 150 are each configured with 16 bits, but may be configured with 8 bits, It may be composed of 4 bits. Moreover, it is good also as a structure from which the bit number of each counter differs. The same applies to the delay counter 111d. The delay counter 111d is not limited to a 4-bit configuration, and may have an 8-bit configuration or a 16-bit configuration. However, when the number of bits of the delay counter 111d is increased, the delay time is increased accordingly. For this reason, in such a case, it is desirable to devise such as increasing the number of places where the delay counter 111d is subtracted in the timer interrupt process.

(16)上記実施の形態では、第1カウンタ111a,第2カウンタ111b及び遅延カウンタ111dの値がRAMクリアを行う場合であってもクリア(初期化)されない構成としたが、クリアされる構成としても良い。   (16) In the above embodiment, the values of the first counter 111a, the second counter 111b, and the delay counter 111d are not cleared (initialized) even when the RAM is cleared. Also good.

(17)上記実施の形態では、基礎乱数生成器150をCPU102の外部に設ける構成としたが、CPU102が内蔵する構成としても良い。   (17) In the above embodiment, the basic random number generator 150 is provided outside the CPU 102. However, the CPU 102 may be built in.

(18)上記実施の形態における基礎乱数生成器150は、CPU102からのラッチ信号が入力されたタイミングでカウント値をラッチするとともに、ラッチしたカウント値をCPU102に対して出力したが、かかる構成を変更する。例えば、基礎乱数生成器150を、カウンタ150aのカウント値をラッチ回路150bを介して常時出力する構成とする。すなわち、CPU102には、カウンタ150aのカウント値が常時入力される構成とする。そして、CPU102は、遅延時間を経過した場合、そのときにCPU102に入力されているカウンタ150aのカウント値をラッチし、基礎乱数として取得する。かかる構成とした場合であっても、上記実施の形態と同様の作用効果を奏することは明らかである。   (18) The basic random number generator 150 in the above embodiment latches the count value at the timing when the latch signal from the CPU 102 is input and outputs the latched count value to the CPU 102. However, the configuration is changed. To do. For example, the basic random number generator 150 is configured to always output the count value of the counter 150a via the latch circuit 150b. That is, the CPU 102 is configured to always receive the count value of the counter 150a. When the delay time elapses, the CPU 102 latches the count value of the counter 150a input to the CPU 102 at that time and obtains it as a basic random number. Even if it is a case where it is set as this structure, it is clear that there exists an effect similar to the said embodiment.

(19)上記実施の形態では、CPU102のRAM106に遅延カウンタ111dを設け、基礎乱数の取得タイミングを開始指令の発生タイミングから遅延させる構成としたが、遅延カウンタ111dを設けず、開始指令の発生タイミングで基礎乱数を取得する構成としても良い。かかる構成とした場合、基礎乱数生成器150のカウント値が狙われる可能性が生じるが、基礎乱数生成器150のカウント値に第1カウンタ111a及び第2カウンタ111bのカウント値を加算して乱数を作成する構成においては、基礎乱数生成器150のカウント値を狙われた場合であっても上記各カウンタ111a,111bのカウント値によって乱数を変化させることができる。故に、当選となる乱数が不正に取得されることを困難なものとすることが可能となる。   (19) In the above embodiment, the delay counter 111d is provided in the RAM 106 of the CPU 102 and the basic random number acquisition timing is delayed from the start command generation timing. However, the delay counter 111d is not provided and the start command generation timing is set. It is good also as a structure which acquires a basic random number. In such a configuration, there is a possibility that the count value of the basic random number generator 150 is targeted, but the random number is obtained by adding the count values of the first counter 111a and the second counter 111b to the count value of the basic random number generator 150. In the configuration to be created, even when the count value of the basic random number generator 150 is aimed, the random number can be changed by the count values of the counters 111a and 111b. Therefore, it is possible to make it difficult for the winning random numbers to be obtained illegally.

なお、基礎乱数の取得タイミングを遅延させない構成とする場合には、監視回路152のQ端子と基礎乱数生成器150のラッチ回路150bとを接続し、CPU102からラッチ信号を出力するのではなく監視回路152のQ端子からラッチ信号を出力すれば良い。   When the basic random number acquisition timing is not delayed, the Q terminal of the monitoring circuit 152 and the latch circuit 150b of the basic random number generator 150 are connected, and the monitoring circuit does not output a latch signal from the CPU 102. A latch signal may be output from the Q terminal of 152.

(20)上記実施の形態では、Dフリップフロップ回路により構成される監視回路152を設ける構成としたが、RSフリップフロップ回路やJKフリップフロップ回路等の順序回路や各種論理回路により構成される監視回路を設けても良い。   (20) In the above embodiment, the monitoring circuit 152 configured by the D flip-flop circuit is provided. However, the monitoring circuit configured by sequential circuits such as the RS flip-flop circuit and the JK flip-flop circuit and various logic circuits. May be provided.

(21)上記実施の形態では、監視回路152のQバー端子をCPU102と接続し、Qバー端子から出力されるLレベルの出力信号をCPU102が開始信号として認識する構成としたが、Q端子とCPU102が反転器を介して接続される構成としても、上記実施の形態と同様の作用効果を奏することは明らかである。また、CPU102がHレベルの出力信号を開始信号として認識するのであれば、Q端子とCPU102を接続する構成としても良いし、Qバー端子とCPU102が反転器を介して接続される構成としても良い。   (21) In the above embodiment, the Q bar terminal of the monitoring circuit 152 is connected to the CPU 102, and the L level output signal output from the Q bar terminal is recognized as the start signal by the CPU 102. Even when the CPU 102 is connected via an inverter, it is apparent that the same effects as those of the above-described embodiment can be obtained. Further, if the CPU 102 recognizes an H level output signal as a start signal, the Q terminal and the CPU 102 may be connected, or the Q bar terminal and the CPU 102 may be connected via an inverter. .

(22)上記実施の形態では、波形整形回路153と監視回路152を主制御装置102の入出力ポート104を介して接続する構成としたが、これらを直接接続する構成とし、監視回路152のQバー端子とCPU102を、入出力ポートを介して接続する構成としても良い。   (22) In the above embodiment, the waveform shaping circuit 153 and the monitoring circuit 152 are connected via the input / output port 104 of the main control device 102. The bar terminal and the CPU 102 may be connected via an input / output port.

(23)上記実施の形態では、Dフリップフロップ回路により構成される監視回路152を設けて第2クロック回路151に何らかの異常が発生した場合に遊技者又は遊技場が不利益を被ることを回避させる構成としたが、かかる構成を変更する。   (23) In the above embodiment, the monitoring circuit 152 constituted by the D flip-flop circuit is provided to prevent the player or the playground from being disadvantaged when any abnormality occurs in the second clock circuit 151. The configuration is changed, but the configuration is changed.

第2クロック回路151が周期的に第2クロック信号を出力しているか否かを常時監視するウォッチドッグタイマを第2クロック回路と接続する。ウォッチドッグタイマには、所定時間毎に減算されるタイマカウンタが設けられており、そのタイマカウンタのタイマ値は、クロック信号の入力状態が変化する毎にセットされるようになっている。そして、ウォッチドッグタイマは、タイマカウンタが非ゼロの場合にはHレベルの正常信号を出力し、同タイマカウンタがゼロの場合にはLレベルの異常発生信号を出力するようになっている。ウォッチドッグタイマの出力側には、スタート検出センサ41aからの操作信号とウォッチドッグタイマからの入力信号との論理積を演算する論理積回路を設ける。そして、その論理積回路からの出力信号を反転器によって反転した反転信号がCPU102に入力される構成とする。   A watchdog timer that constantly monitors whether the second clock circuit 151 periodically outputs the second clock signal is connected to the second clock circuit. The watchdog timer is provided with a timer counter that is subtracted every predetermined time, and the timer value of the timer counter is set every time the input state of the clock signal changes. The watchdog timer outputs an H level normal signal when the timer counter is non-zero, and outputs an L level abnormality occurrence signal when the timer counter is zero. On the output side of the watchdog timer, an AND circuit that calculates the logical product of the operation signal from the start detection sensor 41a and the input signal from the watchdog timer is provided. Then, an inverted signal obtained by inverting an output signal from the AND circuit by an inverter is input to the CPU 102.

この場合、第2クロック回路151が第2クロック信号を周期的に出力していれば、ウォッチドッグタイマにおいてタイマ値が繰り返しセットされ、タイマカウンタがゼロになることはない。このため、ウォッチドッグタイマからの出力信号は常にHレベルであり、論理積回路からの出力信号はスタート検出センサ41aからの操作信号そのものとなる。そして、操作信号が出力されている場合には前記出力信号が反転器によって反転され、CPU102に開始信号として入力される。   In this case, if the second clock circuit 151 periodically outputs the second clock signal, the timer value is set repeatedly in the watchdog timer, and the timer counter does not become zero. Therefore, the output signal from the watchdog timer is always at the H level, and the output signal from the AND circuit is the operation signal from the start detection sensor 41a. When an operation signal is output, the output signal is inverted by an inverter and input to the CPU 102 as a start signal.

一方、第2クロック回路151に異常が生じるなどして第2クロック信号の出力状態が変化していない場合には、ウォッチドッグタイマにおいてタイマカウンタがゼロとなり、その出力信号がLレベルとなる。このため、論理積回路の出力信号は操作信号の入力有無に関わらず常にLレベルとなる。したがって、スタートレバー41が操作されて操作信号が出力されたとしても論理積回路からCPU102に対して開始信号が出力されない。この結果、スタートレバー41を操作したにも関わらず各リール32L,32M,32Rが回転を開始しないという事態が起こり、スロットマシン10内部に何かしらの異常が発生していることを遊技者又は遊技場の関係者等に報知することができる。   On the other hand, when the output state of the second clock signal does not change due to an abnormality in the second clock circuit 151, the timer counter becomes zero in the watchdog timer, and the output signal becomes L level. For this reason, the output signal of the AND circuit is always at the L level regardless of whether or not the operation signal is input. Therefore, even if the start lever 41 is operated and an operation signal is output, no start signal is output from the AND circuit to the CPU 102. As a result, a situation occurs in which the reels 32L, 32M, and 32R do not start rotating even though the start lever 41 is operated, and it is confirmed that some abnormality has occurred inside the slot machine 10 or the player or the game hall. It is possible to notify those concerned.

なお、第2クロック回路151から周期的に第2クロック信号が出力されているか否かを判断するためにウォッチドッグタイマを用いたが、これに代えて第2クロック信号のデューティ比を検出し、かかるデューティ比が所定の正常範囲内(例えば25〜75%の範囲)でない場合にLレベルの信号を出力するデューティ比判定回路を設けても良い。   Note that the watchdog timer is used to determine whether the second clock signal is periodically output from the second clock circuit 151. Instead, the duty ratio of the second clock signal is detected, A duty ratio determination circuit that outputs an L level signal when the duty ratio is not within a predetermined normal range (for example, a range of 25 to 75%) may be provided.

一般に、正常な第2クロック信号はデューティ比50%のパルス信号である。これに対して、第2クロック回路151に何らかの異常が発生するなどして第2クロック信号の出力状態が変化しなくなった場合には、デューティ比は0%(Lレベルで一定又はハイインピーダンスの場合)又は100%(Hレベルで一定の場合)に近づく。このため、実際のデューティ比が正常範囲内であるかを判定することにより、第2クロック信号が周期的に出力されているか否かを判断することが可能である。そして、本構成においては、第2クロック信号の出力状態が変化していない場合、デューティ比判定回路からLレベルの信号が出力されるため、論理積回路の出力信号は操作信号の入力有無に関わらず常にLレベルとなる。したがって、スタートレバー41が操作されて操作信号が出力されたとしても論理積回路からCPU102に対して開始信号が出力されない。   In general, the normal second clock signal is a pulse signal having a duty ratio of 50%. On the other hand, when the output state of the second clock signal does not change due to some abnormality in the second clock circuit 151, the duty ratio is 0% (in the case of constant or high impedance at L level) ) Or 100% (if it is constant at the H level). Therefore, it is possible to determine whether the second clock signal is periodically output by determining whether the actual duty ratio is within the normal range. In this configuration, when the output state of the second clock signal is not changed, an L level signal is output from the duty ratio determination circuit, and therefore the output signal of the AND circuit depends on whether or not the operation signal is input. Always L level. Therefore, even if the start lever 41 is operated and an operation signal is output, no start signal is output from the AND circuit to the CPU 102.

なお、第2クロック信号のデューティ比の正常範囲は、上記の一例に限らず、10〜90%や40〜80%などであっても良く、要するに正常動作時に許容される範囲とすれば良い。また、正常動作時の50%を中心にして対照的に設定する必要は無く、10〜60%や40〜90%などとしても良い。   Note that the normal range of the duty ratio of the second clock signal is not limited to the above example, and may be 10 to 90%, 40 to 80%, or the like. Further, it is not necessary to set the contrast centering on 50% during normal operation, and it may be 10-60% or 40-90%.

(24)上記実施の形態では、基礎乱数生成器150を、第2クロック信号の入力に基づいてカウンタ150aのカウント値を更新し、ラッチ信号の入力されたタイミングにおけるカウンタ150aのカウント値をラッチ回路150bにラッチする構成としたが、次のような構成としても良い。   (24) In the above embodiment, the basic random number generator 150 updates the count value of the counter 150a based on the input of the second clock signal, and latches the count value of the counter 150a at the timing when the latch signal is input. Although it is configured to latch at 150b, the following configuration may be used.

ラッチ回路150bを、カウンタ150aのカウント値のビット配列を適宜入れ替えた上でラッチする構成とする。   The latch circuit 150b is configured to latch after appropriately replacing the bit arrangement of the count value of the counter 150a.

かかる構成の一例としては、カウンタ150aのカウント値の最下位から最上位までのビット配列を逆向きにしたものをラッチ回路150bにラッチさせる構成が代表例として挙げられる。かかる構成においては、ラッチ回路150bによりラッチされる値が第2クロック信号の入力に対して不規則に変化することとなり、所定の基礎乱数を遊技者に故意に取得される不具合が生じることを回避できる。   As an example of such a configuration, a configuration in which the latch circuit 150b latches a bit arrangement from the lowest order to the highest order of the count value of the counter 150a in the reverse direction can be given. In such a configuration, the value latched by the latch circuit 150b changes irregularly with respect to the input of the second clock signal, and it is avoided that the player may intentionally acquire a predetermined basic random number. it can.

また、ラッチ回路150bのラッチした値のビット配列を適宜入れ替えた上で、CPU102に対して出力する構成としても良い。かかる構成とした場合であっても、CPU102に入力される乱数が第2クロック信号に対して不規則に変化することとなり、所定の乱数を遊技者に故意に取得される不具合が生じることを回避できる。   In addition, the bit arrangement of the values latched by the latch circuit 150b may be changed as appropriate and output to the CPU 102. Even in such a configuration, the random number input to the CPU 102 changes irregularly with respect to the second clock signal, and it is avoided that a predetermined random number is intentionally acquired by the player. it can.

異なる周波数のクロック信号を出力するクロック回路を複数設け、これらクロック信号に基づいてカウンタ150aのカウント値を更新させる。   A plurality of clock circuits for outputting clock signals of different frequencies are provided, and the count value of the counter 150a is updated based on these clock signals.

この場合、いずれのクロック回路から出力されたクロック信号を用いるかを適宜選択する選択回路を設けるとともに、当該選択回路により選択されたクロック信号が監視回路152のCLK端子に入力される構成とする。かかる構成では、選択回路によるクロック信号の選択によってカウンタ150aのカウント値が一巡する周期が変化するため、所定の基礎乱数を遊技者に故意に取得される不具合が生じることを回避できる。   In this case, a selection circuit that appropriately selects which clock circuit the clock signal output from is used is provided, and the clock signal selected by the selection circuit is input to the CLK terminal of the monitoring circuit 152. In such a configuration, since the cycle in which the count value of the counter 150a makes a round is changed by the selection of the clock signal by the selection circuit, it is possible to avoid a problem that the player intentionally acquires the predetermined basic random number.

カウンタ150aに代えて第2クロック信号の入力状態が変化する毎に乱数が変化する演算器を設ける。   Instead of the counter 150a, an arithmetic unit is provided in which the random number changes every time the input state of the second clock signal changes.

かかる演算器の一例としては、前回までの基礎乱数を用いて今回の基礎乱数を決定するもの、平均採中法により基礎乱数を生成するもの、素数の加算によって基礎乱数を生成するものなどが代表例として挙げられる。これら構成においても、ラッチ回路150bによりラッチされる値が第2クロック信号の入力状態の変化に基づいて複雑に変化するため、所定の基礎乱数を遊技者に故意に取得される不具合が生じることを回避できる。   Examples of such arithmetic units include those that determine the current basic random numbers using the previous basic random numbers, those that generate basic random numbers using the average sampling method, and those that generate basic random numbers by adding prime numbers. Take an example. In these configurations as well, the value latched by the latch circuit 150b changes in a complex manner based on the change in the input state of the second clock signal, so that there is a problem in that a predetermined basic random number is intentionally acquired by the player. Can be avoided.

(25)上記実施の形態では、ハードウェア基礎乱数生成器150のクロック源として、CPU102用の第1クロック回路103とは別に乱数用の第2クロック回路151を設けたが、第1クロック回路103をクロック源として用いても良い。このとき、第1クロック回路103のクロック信号を周波数変調(分周、逓倍など)させたものを用いても良い。この場合、周波数変調を行う回路部に異常が生じるなどしてハードウェア基礎乱数生成器150に入力されるクロック信号が変動しなくなると、基礎乱数が常に一定になるという問題が発生するが、上記実施の形態と同様の効果を得ることによって、その異常を発見することができる。   (25) Although the second clock circuit 151 for random numbers is provided as a clock source for the hardware basic random number generator 150 in addition to the first clock circuit 103 for the CPU 102 in the above embodiment, the first clock circuit 103 May be used as a clock source. At this time, the clock signal of the first clock circuit 103 obtained by frequency modulation (frequency division, multiplication, etc.) may be used. In this case, if the clock signal input to the hardware basic random number generator 150 does not fluctuate due to, for example, an abnormality in a circuit unit that performs frequency modulation, there is a problem that the basic random number is always constant. By obtaining the same effect as in the embodiment, the abnormality can be found.

(26)上記実施の形態では、第2クロック回路151から出力される第2クロック信号の周波数を変調させることなく、前記第2クロック信号を基礎乱数生成器150と監視回路152に入力させる構成としたが、周波数変調(分周、逓倍など)させたものを入力させる構成としても良い。具体的には、周波数変調を行う変換器を第2クロック回路151に接続し、前記変換器を基礎乱数生成器150と監視回路152に接続すれば良い。   (26) In the above embodiment, the second clock signal is input to the basic random number generator 150 and the monitoring circuit 152 without modulating the frequency of the second clock signal output from the second clock circuit 151. However, a configuration may be adopted in which frequency-modulated (frequency-divided or multiplied) signals are input. Specifically, a converter that performs frequency modulation may be connected to the second clock circuit 151, and the converter may be connected to the basic random number generator 150 and the monitoring circuit 152.

(27)上記実施の形態では、メダルが3枚ベットされた後に開始指令が発生したか否かを判定する構成としたが、1枚ベットされた後や2枚ベットされた後にも開始指令が発生したか否かを判定する構成としてもよいことは言うまでもない。かかる構成とした場合には、割込み待ち処理を、上記実施の形態のようにクレジット投入スイッチが操作されたか否かを判定する処理(ステップS606、図19参照)の直前で行うことにより、スロットマシンが誤動作することをより好適に回避することが可能となる。遊技者の望むベット数でゲームを開始できない機会が発生し得るからである。   (27) In the above embodiment, it is determined whether or not a start command is generated after three medals are bet. However, the start command is also issued after one bet or two bets. It goes without saying that it may be configured to determine whether or not it has occurred. In the case of such a configuration, by performing the interrupt waiting process immediately before the process of determining whether or not the credit insertion switch has been operated as in the above embodiment (see step S606, FIG. 19), the slot machine It is possible to more suitably avoid the malfunction of. This is because there is a chance that the game cannot be started with the number of bets desired by the player.

(28)上記実施の形態では、付与される特典として、遊技状態が移行する特典と、再遊技の特典の他に、メダルを払い出す特典を備える構成としたが、かかる構成に限定されるものではなく、遊技者に何らかの特典が付与される構成であればよい。例えば、メダルを払い出す特典に代えてメダル以外の賞品を払い出す構成であってもよい。また、現実のメダル投入やメダル払出機能を有さず、遊技者の所有するメダルをクレジット管理するスロットマシンにおいては、クレジットされたメダルの増加が特典の付与に相当する。   (28) In the above-described embodiment, as a privilege to be given, the privilege is provided with a medal payout in addition to the privilege that the gaming state shifts and the privilege of replaying, but is limited to this configuration. Instead, any configuration may be used as long as a bonus is given to the player. For example, a configuration in which a prize other than a medal is paid out instead of a medal to pay out a medal may be used. Further, in a slot machine that does not have an actual medal insertion or medal payout function and manages credits owned by a player, an increase in credited medals corresponds to provision of a privilege.

(29)上記実施の形態では、リールを3つ並列して備え、有効ラインとして5ラインを有するスロットマシンについて説明したが、かかる構成に限定されるものではなく、例えばリールを5つ並列して備えたスロットマシンや、有効ラインを7ライン有するスロットマシンであってもよい。   (29) In the above embodiment, a slot machine having three reels arranged in parallel and having five lines as effective lines has been described. However, the present invention is not limited to this configuration. For example, five reels arranged in parallel It may be a slot machine provided or a slot machine having seven effective lines.

(30)上記実施の形態では、いわゆるAタイプのスロットマシンについて説明したが、Bタイプ、Cタイプ、AタイプとCタイプの複合タイプ、BタイプとCタイプの複合タイプ、さらにはCTゲームを備えたタイプなど、どのようなスロットマシンにこの発明を適用してもよく、何れの場合であっても上述した実施の形態と同様の作用効果を奏することは明らかである。なお、これらの各タイプにおけるボーナス当選としては、BB当選、RB当選、SB当選、CT当選などが挙げられる。   (30) In the above embodiment, a so-called A type slot machine has been described. However, a B type, a C type, a combined type of A type and C type, a combined type of B type and C type, and further a CT game are provided. The present invention may be applied to any slot machine, such as the above-mentioned type, and it is obvious that the same effects as those of the above-described embodiment can be obtained in any case. In addition, examples of bonus winning in each type include BB winning, RB winning, SB winning, CT winning and the like.

(31)上記実施の形態では、スロットマシン10について具体化した例を示したが、パチンコ機に適用しても良い。また、スロットマシンとパチンコ機とを融合した形式の遊技機に適用してもよい。即ち、スロットマシンのうち、メダル投入及びメダル払出機能に代えて、パチンコ機のような球投入及び球払出機能をもたせた遊技機としてもよい。   (31) In the above embodiment, an example in which the slot machine 10 is embodied has been shown, but the present invention may be applied to a pachinko machine. Further, the present invention may be applied to a gaming machine of a type in which a slot machine and a pachinko machine are fused. That is, in the slot machine, instead of the medal insertion and medal payout functions, a gaming machine having a ball insertion and ball payout function such as a pachinko machine may be used.

一実施の形態におけるスロットマシンの正面図である。It is a front view of the slot machine in one embodiment. 前面扉を閉じた状態を示すスロットマシンの斜視図である。It is a perspective view of the slot machine showing a state where the front door is closed. 前面扉を開いた状態を示すスロットマシンの斜視図である。It is a perspective view of the slot machine showing a state where the front door is opened. 前面扉の背面図である。It is a rear view of a front door. 筐体の正面図である。It is a front view of a housing | casing. 各リールの図柄配列を示す図である。It is a figure which shows the symbol arrangement | sequence of each reel. 表示窓から視認可能となる図柄と組合せラインとの関係を示す説明図である。It is explanatory drawing which shows the relationship between the symbol which can be visually recognized from a display window, and a combination line. 入賞態様と付与される特典との関係を示す説明図である。It is explanatory drawing which shows the relationship between a prize mode and the privilege provided. スロットマシンのブロック図である。It is a block diagram of a slot machine. RAMの構成を説明するための説明図である。It is explanatory drawing for demonstrating the structure of RAM. スタートレバーの操作検出及び基礎乱数の取得に関するブロック図である。It is a block diagram regarding operation detection of a start lever and acquisition of a basic random number. タイマ割込み処理を示すフローチャートである。It is a flowchart which shows a timer interruption process. センサ監視処理を示すフローチャートである。It is a flowchart which shows a sensor monitoring process. メイン処理を示すフローチャートである。It is a flowchart which shows a main process. 操作判定処理を示すフローチャートである。It is a flowchart which shows operation determination processing. 当選確率設定処理を示すフローチャートである。It is a flowchart which shows a winning probability setting process. 割込み待ち処理を示すフローチャートである。It is a flowchart which shows interruption waiting processing. 通常処理を示すフローチャートである。It is a flowchart which shows a normal process. 開始待ち処理を示すフローチャートである。It is a flowchart which shows a start waiting process. 遅延処理を示すフローチャートである。It is a flowchart which shows a delay process. 遅延カウンタ処理を示すフローチャートである。It is a flowchart which shows a delay counter process. 各種信号の変化を示すタイムチャートである。It is a time chart which shows the change of various signals. 抽選処理を示すフローチャートである。It is a flowchart which shows a lottery process. 乱数作成処理を示すフローチャートである。It is a flowchart which shows a random number creation process. 通常状態用抽選テーブルの一例を示す図である。It is a figure which shows an example of the lottery table for normal states. スベリテーブルの一例を示す図である。It is a figure which shows an example of a slip table. リール制御処理を示すフローチャートである。It is a flowchart which shows a reel control process. 停止前処理を示すフローチャートである。It is a flowchart which shows the process before a stop. BB状態処理を示すフローチャートである。It is a flowchart which shows a BB state process.

符号の説明Explanation of symbols

10…遊技機としてのスロットマシン、31…可変表示手段としてのリールユニット、32…循環表示手段を構成すると共に周回体としてのリール、41…開始操作手段又は始動操作手段としてのスタートレバー、42〜44…停止操作手段としてのストップスイッチ、56…開始操作手段又は入力操作手段としての第1クレジット投入スイッチ、57…開始操作手段又は入力操作手段としての第2クレジット投入スイッチ、58…開始操作手段又は入力操作手段としての第3クレジット投入スイッチ、63…補助演出部又は補助演出手段を構成する上部ランプ、64…補助演出部又は補助演出手段を構成するスピーカ、65…補助演出部又は補助演出手段を構成する補助表示部、81…サブ制御基板としての表示制御装置、101…メイン制御基板としての主制御装置、102…抽選手段やメイン制御手段等の各種制御手段を構成するCPU、106…RAM、111a…第1カウンタ、111b…第2カウンタ、111c…更新カウンタ、111d…遅延カウンタ、150…乱数生成手段としての基礎乱数生成器、150a…数値情報生成手段としてのカウンタ、150b…数値情報取得手段としてのラッチ回路、151…クロック信号出力手段としての第2クロック回路、152…開始信号出力手段,取得信号出力手段及びクロック信号監視装置としての監視回路、153…波形整形回路、154…遅延手段としての反転器。   DESCRIPTION OF SYMBOLS 10 ... Slot machine as a game machine, 31 ... Reel unit as variable display means, 32 ... Reel which comprises a circulation display means and a rotating body, 41 ... Start lever as start operation means or start operation means, 42- 44: Stop switch as stop operation means, 56: First credit insertion switch as start operation means or input operation means, 57: Second credit insertion switch as start operation means or input operation means, 58: Start operation means or Third credit insertion switch as input operation means, 63... Upper lamp constituting auxiliary effect section or auxiliary effect means, 64. Speaker constituting auxiliary effect section or auxiliary effect means, 65. Auxiliary effect section or auxiliary effect means. Auxiliary display unit 81, a display control device as a sub-control board, 101 ... main Main control device as control board, 102 ... CPU constituting various control means such as lottery means and main control means, 106 ... RAM, 111a ... first counter, 111b ... second counter, 111c ... update counter, 111d ... delay 150, basic random number generator as random number generating means, 150a, counter as numerical information generating means, 150b, latch circuit as numerical information acquiring means, 151 ... second clock circuit as clock signal output means, 152 ... A start signal output means, an acquisition signal output means and a monitoring circuit as a clock signal monitoring device, 153... A waveform shaping circuit, 154... An inverter as a delay means.

Claims (1)

遊技を進行させるべく操作される操作手段と、
前記操作手段が操作されたことに基づいて第1信号を出力するとともに、前記操作手段が操作されていないことに基づいて前記第1信号を非出力とする信号出力手段と
を備え、前記信号出力手段からの信号入力状況に基づいて遊技を進行させる遊技機において、
第1処理を行う第1処理実行手段と、
前記信号出力手段からの信号入力状況を確認する状況確認処理を含む第2処理を定期的に行う第2処理実行手段と
を備え、
前記第1処理実行手段は、
特定処理を行う特定処理実行手段と、
前記特定処理が終了した場合、前記状況確認処理の処理結果を用いて遊技の進行に関わる第3処理を行う第3処理実行手段と
を有し、
前記特定処理実行手段は、
前記特定処理を開始した後に前記第2処理が行われたか否かを確認する確認処理を行う確認処理実行手段と、
前記確認処理実行手段が前記第2処理が行われたことを確認した場合、前記特定処理を終了させる終了手段と
を有することを特徴とする遊技機。
Operating means operated to advance the game;
Signal output means for outputting the first signal based on the operation means being operated and not outputting the first signal based on the fact that the operation means has not been operated. In the gaming machine that advances the game based on the signal input status from the means,
First process execution means for performing the first process;
A second process execution means for periodically performing a second process including a situation confirmation process for confirming a signal input situation from the signal output means,
The first process execution means includes:
Specific processing execution means for performing specific processing;
And a third process execution means for performing a third process related to the progress of the game using the processing result of the situation confirmation process when the specific process is completed,
The specific process executing means includes
Confirmation processing execution means for performing confirmation processing for confirming whether or not the second processing has been performed after starting the specific processing;
A gaming machine, comprising: an ending unit that terminates the specific process when the confirmation process execution unit confirms that the second process has been performed.
JP2008115265A 2008-04-25 2008-04-25 Game machine Active JP5610113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008115265A JP5610113B2 (en) 2008-04-25 2008-04-25 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008115265A JP5610113B2 (en) 2008-04-25 2008-04-25 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2014180836A Division JP5979393B2 (en) 2014-09-05 2014-09-05 Game machine

Publications (3)

Publication Number Publication Date
JP2009261661A true JP2009261661A (en) 2009-11-12
JP2009261661A5 JP2009261661A5 (en) 2011-06-16
JP5610113B2 JP5610113B2 (en) 2014-10-22

Family

ID=41388276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008115265A Active JP5610113B2 (en) 2008-04-25 2008-04-25 Game machine

Country Status (1)

Country Link
JP (1) JP5610113B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015029877A (en) * 2013-08-07 2015-02-16 サミー株式会社 Game machine
JP2015029878A (en) * 2013-08-07 2015-02-16 サミー株式会社 Slot machine
JP2016059441A (en) * 2014-09-16 2016-04-25 サミー株式会社 Game machine
JP2016059442A (en) * 2014-09-16 2016-04-25 サミー株式会社 Game machine
JP2016059440A (en) * 2014-09-16 2016-04-25 サミー株式会社 Game machine
JP2018183290A (en) * 2017-04-24 2018-11-22 株式会社三共 Game machine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5979393B2 (en) * 2014-09-05 2016-08-24 株式会社三洋物産 Game machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001340583A (en) * 2000-06-02 2001-12-11 Sophia Co Ltd Game machine
JP2003320074A (en) * 2002-05-02 2003-11-11 Sankyo Kk Game machine
JP2006289009A (en) * 2005-04-08 2006-10-26 Oizumi Corp Game machine
JP2007202648A (en) * 2006-01-31 2007-08-16 Aruze Corp Game machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001340583A (en) * 2000-06-02 2001-12-11 Sophia Co Ltd Game machine
JP2003320074A (en) * 2002-05-02 2003-11-11 Sankyo Kk Game machine
JP2006289009A (en) * 2005-04-08 2006-10-26 Oizumi Corp Game machine
JP2007202648A (en) * 2006-01-31 2007-08-16 Aruze Corp Game machine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015029877A (en) * 2013-08-07 2015-02-16 サミー株式会社 Game machine
JP2015029878A (en) * 2013-08-07 2015-02-16 サミー株式会社 Slot machine
JP2016059441A (en) * 2014-09-16 2016-04-25 サミー株式会社 Game machine
JP2016059442A (en) * 2014-09-16 2016-04-25 サミー株式会社 Game machine
JP2016059440A (en) * 2014-09-16 2016-04-25 サミー株式会社 Game machine
JP2018183290A (en) * 2017-04-24 2018-11-22 株式会社三共 Game machine

Also Published As

Publication number Publication date
JP5610113B2 (en) 2014-10-22

Similar Documents

Publication Publication Date Title
JP6434933B2 (en) Game machine
JP6434934B2 (en) Game machine
JP5610113B2 (en) Game machine
JP2009261662A5 (en)
JP2009261661A5 (en)
JP5590277B2 (en) Game machine
JP2009261660A5 (en)
JP2009261663A5 (en)
JP5590276B2 (en) Game machine
JP5979393B2 (en) Game machine
JP2009261659A5 (en)
JP6836215B2 (en) Game machine
JP6836216B2 (en) Game machine
JP5590280B2 (en) Game machine
JP2018103029A (en) Game machine
JP2018075458A (en) Game machine
JP2018075457A (en) Game machine
JP2022159465A (en) game machine
JP2016182520A (en) Game machine
JP2022163203A (en) game machine
JP2020072846A (en) Game machine
JP2016120399A (en) Game machine
JP2016120398A (en) Game machine
JP2014230833A (en) Game machine
JP2014230832A (en) Game machine

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110425

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110425

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131009

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131205

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140819

R150 Certificate of patent or registration of utility model

Ref document number: 5610113

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250