JP6715725B2 - Slot machine - Google Patents

Slot machine Download PDF

Info

Publication number
JP6715725B2
JP6715725B2 JP2016155316A JP2016155316A JP6715725B2 JP 6715725 B2 JP6715725 B2 JP 6715725B2 JP 2016155316 A JP2016155316 A JP 2016155316A JP 2016155316 A JP2016155316 A JP 2016155316A JP 6715725 B2 JP6715725 B2 JP 6715725B2
Authority
JP
Japan
Prior art keywords
game
area
program
reel
ram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016155316A
Other languages
Japanese (ja)
Other versions
JP2018023413A5 (en
JP2018023413A (en
Inventor
小倉 敏男
敏男 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo 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 Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2016155316A priority Critical patent/JP6715725B2/en
Publication of JP2018023413A publication Critical patent/JP2018023413A/en
Publication of JP2018023413A5 publication Critical patent/JP2018023413A5/ja
Application granted granted Critical
Publication of JP6715725B2 publication Critical patent/JP6715725B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Description

本発明は、各々が識別可能な複数種類の識別情報を変動表示可能な可変表示部の表示結果に応じて所定の入賞が発生可能なスロットマシンに関する。 The present invention relates to a slot machine capable of generating a predetermined winning according to a display result of a variable display section capable of variably displaying a plurality of types of identification information that can each be identified.

この種のスロットマシンとしては、ステッピングモータを用いてリールを回転、停止させるものが一般的であり、例えば、図柄毎に割り当てられたステップ数が計数される毎に図柄番号を更新するとともに、停止操作がされたときの図柄番号に応じて滑りコマ数を決定するようにしたものが提案されている(例えば、特許文献1参照)。 As this type of slot machine, it is common to rotate and stop the reel using a stepping motor. For example, each time the number of steps assigned to each symbol is counted, the symbol number is updated and stopped. It is proposed that the number of sliding symbols is determined according to the symbol number when the operation is performed (for example, refer to Patent Document 1).

特開2005−80937号公報JP 2005-80937 A

特許文献1に記載のスロットマシンのようにリールのステップ数からリールの位置を特定するものにおいては、所定の条件が成立するまでループする基本処理と、基本処理に割り込んで割込処理と、を備え、割込処理でステップ数を更新する処理が実行され、基本処理で停止操作がされたときのステップ数やステップ数に応じて更新される図柄番号、すなわちリールの位置情報を特定する処理が実行されるものが一般的であるが、リールの位置情報を特定する処理中に割込処理が実行されると、停止位置を特定する際に用いられる位置情報が変わってしまう可能性があり、停止操作がされた位置を正確に特定できない虞がある。 In the slot machine described in Patent Document 1, which specifies the reel position from the number of reel steps, a basic process that loops until a predetermined condition is satisfied and an interrupt process that interrupts the basic process are performed. Provided, the process of updating the number of steps is executed in the interrupt process, the number of steps when the stop operation is performed in the basic process and the symbol number updated in accordance with the number of steps, that is, the process of specifying the reel position information is performed. Although it is generally executed, if the interrupt process is executed during the process of specifying the reel position information, the position information used when specifying the stop position may change, There is a possibility that the position where the stop operation is performed cannot be accurately specified.

本発明は、このような問題点に着目したものであり、導出操作手段が操作されたときの表示帯の位置を正確に特定することができるスロットマシンを提供することを目的とする。 The present invention focuses on such a problem, and an object of the present invention is to provide a slot machine capable of accurately specifying the position of the display band when the derivation operation means is operated.

上記課題を解決するために、本発明の請求項1に記載の遊技機は、
各々が識別可能な複数種類の識別情報が配置された表示帯をステッピングモータにより移動させることで変動表示可能な可変表示部を備え、
前記可変表示部の変動表示を停止することで表示結果を導出し、該表示結果に応じて入賞が発生可能なスロットマシンにおいて、
遊技者が表示結果を導出させるために操作する導出操作手段と、
基本処理を実行する基本処理実行手段と、
基本処理に定期的に割り込んで割込処理を実行する割込処理実行手段と、を備え、
前記割込処理実行手段は、
前記割込処理において、前記ステッピングモータに対して駆動信号を出力するための処理を実行する駆動信号出力処理手段と、
前記割込処理において、表示帯の変動状態を設定する変動状態設定手段と、
前記割込処理において、前記ステッピングモータに対して駆動信号が出力されることに基づき表示帯の位置を特定可能な位置特定情報を更新する位置特定情報更新手段と、
前記割込処理において、前記導出操作手段の操作状態を示す操作状態情報を更新する操作状態情報更新手段と、を含み、
前記基本処理実行手段は、
前記基本処理において、異常が生じた可能性のある特定事象が発生したか否かを判定する特定事象判定手段と、
前記基本処理において、前記操作状態情報を参照し、前記操作状態情報が示す操作状態に基づいて前記導出操作手段の操作が受け付けられたか否かを判定する導出操作受付判定手段と、
前記基本処理において、変動状態を取得し、取得した変動状態が特定の変動状態であることを条件に前記導出操作手段の操作の受付を有効化する有効化手段と、
前記基本処理において、前記導出操作手段の操作に応じて位置特定情報を取得する位置特定情報取得手段と、
前記基本処理において、前記位置特定情報取得手段が取得した位置特定情報に基づいて表示帯を停止させる停止位置を特定する停止位置特定手段と、
前記基本処理において、前記割込処理の実行の禁止を設定する割込設定手段と、を含み、
前記割込設定手段は、変動状態を取得する処理中における前記割込処理の実行の禁止を設定し、
前記割込設定手段は、位置特定情報を取得する処理中における前記割込処理の実行の禁止を設定し、
前記導出操作受付判定手段は、前記導出操作手段の操作を待機している状態において前記割込処理が実行される毎に1回、前記導出操作手段の操作が受け付けられたか否かを判定し、
前記特定事象判定手段は、前記導出操作手段の操作を待機している状態において前記割込処理が実行される毎に1回、前記特定事象が発生したか否かを判定し、
前記導出操作受付判定手段は、前記導出操作手段の操作を待機している状態において、前記割込処理が終了した後、前記特定事象が発生したか否かが判定された後に前記導出操作手段の操作が受け付けられたか否かを判定する、スロットマシン。
本発明の手段1のスロットマシンは、
各々が識別可能な複数種類の識別情報(図柄)が配置された表示帯をステッピングモータ(リールモータ32L、32C、32R)により移動させることで変動表示可能な可変表示部(リール2L、2C、2R)を備え、
前記可変表示部の変動表示を停止することで表示結果を導出し、該表示結果に応じて入賞が発生可能なスロットマシン(スロットマシン1)において、
遊技者が表示結果を導出させるために操作する導出操作手段(ストップスイッチ8L、8C、8R)と、
基本処理(メイン処理)を実行する基本処理実行手段と、
基本処理に割り込んで割込処理(タイマ割込処理(メイン))を実行する割込処理実行手段と、
を備え、
前記割込処理実行手段は、
割込処理(タイマ割込処理(メイン))において前記ステッピングモータ(リールモータ32L、32C、32R)に対して駆動信号を出力するための処理を実行する駆動信号出力処理手段(リール回転制御処理)と、
割込処理において前記ステッピングモータに対して駆動信号が出力されることに基づき表示帯の位置を特定可能な位置特定情報(リールステップ数カウンタの値、図柄ステップ数カウンタの値)を更新する位置特定情報更新手段(リールステップ数等更新処理)と、
を含み、
前記基本処理実行手段は、
基本処理(メイン処理)において前記導出操作手段(ストップスイッチ8L、8C、8R)の操作に応じて位置特定情報(図柄ステップ数カウンタの値)を取得する位置特定情報取得手段(リール制御処理)と、
基本処理(メイン処理)において前記位置特定情報取得手段が取得した位置特定情報(図柄ステップ数カウンタの値)に基づいて表示帯を停止させる停止位置(停止図柄)を特定する停止位置特定手段と、
位置特定情報(図柄ステップ数カウンタの値)を取得する処理中に割込処理(タイマ割込処理(メイン))の実行を禁止する割込禁止手段と、
を含む
ことを特徴としている。
この特徴によれば、割込処理において表示帯の位置を特定可能な位置特定情報が更新されるとともに、基本処理において位置特定情報を取得し、取得した位置特定情報に基づいて表示帯を停止させる停止位置が特定される構成において、位置特定情報を取得する処理中に割込処理の実行が禁止されることで、位置特定情報を取得する処理中に割込処理が実行され、位置特定情報が変更されてしまうことがないため、導出操作手段が操作されたときの表示帯の位置を正確に特定することができる。
In order to solve the above problems, the gaming machine according to claim 1 of the present invention is
A variable display unit is provided which can be variably displayed by moving a display band in which a plurality of types of identification information that can be identified are arranged by a stepping motor
In a slot machine in which a display result is derived by stopping the variable display of the variable display unit, and a prize can be generated according to the display result,
Derivation operation means that the player operates to derive the display result,
Basic processing execution means for executing basic processing,
An interrupt process executing means for periodically interrupting the basic process and executing the interrupt process,
The interrupt processing execution means,
Drive signal output processing means for executing a process for outputting a drive signal to the stepping motor in the interrupt process;
In the interrupt process, a variable state setting means for setting the variable state of the display band,
In the interrupt process, position specifying information updating means for updating position specifying information capable of specifying the position of the display band based on the output of the drive signal to the stepping motor,
In the interrupt processing, including an operation state information updating unit for updating the operation state information indicating the operation state of the derivation operation unit,
The basic processing execution means is
In the basic process, a specific event determination means for determining whether a specific event that may have occurred anomaly,
In the basic process, referring to the operation state information, derived operation acceptance determination means for determining whether or not the operation of the derivation operation means is accepted based on the operation state indicated by the operation state information,
In the basic process, an enabling unit that acquires a variation state and validates acceptance of an operation of the derivation operation unit on condition that the obtained variation state is a specific variation state,
In the basic process, a position specifying information acquisition unit that acquires position specifying information according to an operation of the derivation operation unit,
In the basic process, stop position specifying means for specifying a stop position for stopping the display band based on the position specifying information acquired by the position specifying information acquisition means,
In the basic process, an interrupt setting means for setting prohibition of execution of the interrupt process,
The interrupt setting means sets prohibition of execution of the interrupt process during the process of acquiring the fluctuation state,
The interrupt setting means sets prohibition of execution of the interrupt process during a process of acquiring position specifying information ,
The derivation operation acceptance determination means determines whether or not the operation of the derivation operation means has been accepted once each time the interrupt processing is executed while waiting for the operation of the derivation operation means,
The specific event determination means determines whether or not the specific event has occurred once each time the interrupt processing is executed while waiting for the operation of the derivation operation means,
The derivation operation acceptance determination means, in the state of waiting for the operation of the derivation operation means, after the interrupt processing is finished, it is determined whether or not the specific event occurs, A slot machine that determines whether an operation has been accepted .
The slot machine of Means 1 of the present invention,
A variable display section (reels 2L, 2C, 2R) that can be variably displayed by moving a display band in which a plurality of types of identification information (designs) that can be identified are moved by a stepping motor (reel motor 32L, 32C, 32R) ),
In a slot machine (slot machine 1) in which a display result is derived by stopping the variable display of the variable display section, and a prize can be generated according to the display result,
Derivation operation means (stop switches 8L, 8C, 8R) operated by the player to derive the display result,
Basic processing execution means for executing basic processing (main processing),
An interrupt processing execution means for interrupting the basic processing and executing the interrupt processing (timer interrupt processing (main)),
Equipped with
The interrupt processing execution means,
Drive signal output processing means (reel rotation control processing) for executing processing for outputting drive signals to the stepping motors (reel motors 32L, 32C, 32R) in interrupt processing (timer interrupt processing (main)) When,
Position specification for updating position specification information (value of reel step number counter, value of symbol step number counter) capable of specifying position of display band based on output of drive signal to the stepping motor in interrupt processing Information updating means (reel step number updating processing),
Including,
The basic processing execution means is
Position specifying information acquiring means (reel control processing) for acquiring position specifying information (value of symbol step number counter) in response to operation of the derivation operation means (stop switches 8L, 8C, 8R) in basic processing (main processing). ,
Stop position specifying means for specifying a stop position (stop pattern) for stopping the display band based on the position specifying information (value of the symbol step number counter) acquired by the position specifying information acquiring means in the basic processing (main processing),
An interrupt prohibition means for prohibiting execution of interrupt processing (timer interrupt processing (main)) during processing for acquiring position specifying information (value of the symbol step number counter),
It is characterized by including.
According to this feature, the position specifying information capable of specifying the position of the display band is updated in the interrupt process, the position specifying information is acquired in the basic process, and the display band is stopped based on the acquired position specifying information. In the configuration in which the stop position is specified, the execution of the interrupt process is prohibited during the process of acquiring the position specifying information, so that the interrupt process is executed during the process of acquiring the position specifying information and the position specifying information is Since it is not changed, it is possible to accurately specify the position of the display band when the derivation operation means is operated.

尚、手段1において表示帯を移動させることで変動表示可能な可変表示部とは、リールを回転させることで変動表示可能なものや、ベルトを移動させることで変動表示可能なものなどが該当する。
また、表示帯の位置を特定可能な位置特定情報とは、駆動信号が出力される毎に更新されるステップ数であっても良いし、ステップ数に応じて更新される表示帯の領域を特定可能な領域特定情報であっても良い。
In addition, the variable display unit that can be variably displayed by moving the display band in the means 1 corresponds to one that can be variably displayed by rotating the reel, or one that can be variably displayed by moving the belt. ..
Further, the position specifying information capable of specifying the position of the display band may be the number of steps updated each time a drive signal is output, or the region of the display band updated according to the number of steps may be specified. It may be possible area specifying information.

本発明の手段2のスロットマシンは、手段1に記載のスロットマシンであって、
前記位置特定情報更新手段は、
割込処理において前記ステッピングモータ(リールモータ32L、32C、32R)に対して駆動信号が出力される毎にステップ数(図柄ステップ数カウンタの値)を更新するステップ数更新手段と、
割込処理(タイマ割込処理(メイン))において前記ステップ数更新手段により更新されたステップ数(図柄ステップ数カウンタの値)が、表示帯に割り当てられた複数の領域(図柄毎の領域)のうち一の領域(一図柄)が移動するのに要する特定ステップ数(16ステップ)に到達する毎に表示帯の領域を特定するために割り当てられた領域特定情報(図柄番号カウンタの値)を更新する領域特定情報更新手段と、
を含み、
位置特定情報は、前記領域特定情報更新手段により更新される領域特定情報(図柄番号カウンタの値)である
ことを特徴としている。
この特徴によれば、領域特定情報を取得する処理中に割込処理の実行が禁止されることで、領域特定情報を取得する処理中に割込処理が実行され、ステップ数が更新されたけ結果、領域特定情報が変更されてしまうことがないため、導出操作手段が操作されたときの表示帯の位置を正確に特定することができる。
The slot machine of Means 2 of the present invention is the slot machine according to Means 1,
The position specifying information updating means,
Step number updating means for updating the step number (the value of the symbol step number counter) every time a drive signal is output to the stepping motor (reel motors 32L, 32C, 32R) in the interrupt process,
In the interrupt process (timer interrupt process (main)), the number of steps (the value of the symbol step number counter) updated by the step number updating means is in a plurality of regions (regions for each symbol) assigned to the display band. Every time one area (one symbol) reaches the specific number of steps (16 steps) required to move, the area identification information (value of the symbol number counter) assigned to identify the area of the display band is updated. Area specific information updating means,
Including,
The position specifying information is the area specifying information (the value of the symbol number counter) updated by the area specifying information updating means.
According to this feature, the execution of the interrupt process is prohibited during the process of acquiring the region specifying information, so that the interrupt process is executed during the process of acquiring the region specifying information and the number of steps is updated. Since the area specifying information is not changed, the position of the display band when the derivation operation means is operated can be specified accurately.

本発明の手段3のスロットマシンは、手段2に記載のスロットマシンであって、
前記位置特定情報取得手段(リール制御処理)が領域特定情報(図柄番号カウンタの値)を取得する処理は、前記ステップ数更新手段により更新されたステップ数(図柄ステップ数カウンタの値)が特別なステップ数(例えば、11)であるか否かを判定する第1の処理と、特別なステップ数であると判定された場合に領域特定情報(図柄番号カウンタの値)を取得する第2の処理と、を含み、
前記基本処理実行手段は、第1の処理の結果、特別なステップ数(例えば、11)でないと判定された場合に割込処理(タイマ割込処理(メイン))の実行を許可する
ことを特徴としている。
この特徴によれば、第1の処理の結果特別なステップ数でないと判定された場合、すなわち領域特定情報を取得する時期でないと判定された場合には、割込処理の実行が許可されるので、割込処理の実行が禁止されたままとなることによりステッピングモータの駆動信号の出力に影響してしまうことを防止できる。
The slot machine of Means 3 of the present invention is the slot machine according to Means 2,
In the process in which the position specifying information acquisition unit (reel control process) acquires the region specifying information (value of the symbol number counter), the number of steps (value of the symbol step number counter) updated by the step number updating unit is special. First processing for determining whether or not the number of steps (for example, 11), and second processing for obtaining area specifying information (value of symbol number counter) when it is determined that the number of steps is special And including,
The basic process execution means permits execution of an interrupt process (timer interrupt process (main)) when it is determined as a result of the first process that the number of steps is not a special number (for example, 11). I am trying.
According to this feature, the execution of the interrupt process is permitted when it is determined that the number of steps is not the special number as a result of the first process, that is, when it is not the time to acquire the area specifying information. It is possible to prevent the output of the drive signal of the stepping motor from being affected by the execution of the interrupt processing being prohibited.

本発明の手段4のスロットマシンは、手段2または3に記載のスロットマシンであって、
特定ステップ数は、ステップ数の異なる第1のステップ数(例えば、16ステップが割り当てられた図柄では、16ステップ)と第2のステップ数(例えば、18ステップが割り当てられた図柄では、18ステップ)とを含み、
前記位置特定情報取得手段(リール回転停止処理)は、前記第1のステップ数(例えば、16ステップ)または前記第2のステップ数の一方を補正したステップ数(例えば、16ステップを補正した18ステップ、18ステップを補正した16ステップ)が特別なステップ数(例えば、11ステップまたは13ステップ)であるときに領域特定情報(図柄番号カウンタの値)を取得する
ことを特徴としている。
この特徴によれば、第1のステップ数に対応する領域であっても第2のステップ数に対応する領域であっても、ともに共通の特別なステップ数であるときに領域特定情報を取得することができる。
尚、前記第1のステップ数または前記第2のステップ数の一方を補正したステップ数とは、第1のステップ数または第2のステップ数の一方を減算または加算することである。
A slot machine according to means 4 of the present invention is the slot machine according to means 2 or 3,
The specific number of steps is a first number of steps (for example, 16 steps in a pattern to which 16 steps are assigned) and a second number of steps (for example, 18 steps in a pattern to which 18 steps are assigned) having different numbers of steps. Including and
The position specifying information acquisition unit (reel rotation stop process) is a step number (for example, 16 steps corrected 18 steps) in which one of the first step number (for example, 16 steps) or the second step number is corrected. , 16 steps corrected 18 steps) is a special number of steps (for example, 11 steps or 13 steps), the area specifying information (the value of the symbol number counter) is acquired.
According to this feature, the area specifying information is acquired when both the area corresponding to the first step number and the area corresponding to the second step number have the common special step number. be able to.
The step number obtained by correcting one of the first step number and the second step number means subtracting or adding one of the first step number and the second step number.

本発明の手段5のスロットマシンは、手段1〜4のいずれかに記載のスロットマシンであって、
表示帯の基準位置を検出する基準位置検出手段(リールセンサ33L、33C、33R)と、
前記基準位置検出手段(リールセンサ33L、33C、33R)の検出結果に応じて前記位置特定情報更新手段(リールステップ数等更新処理)により更新される位置特定情報(リールステップ数カウンタの値、図柄ステップ数カウンタの値)を初期値(0)に設定する位置特定情報初期化手段と、
を備える
ことを特徴としている。
この特徴によれば、表示帯の実際の位置と位置特定情報更新手段により更新される位置特定情報とを整合させることができる。
A slot machine according to means 5 of the present invention is the slot machine according to any one of means 1 to 4,
Reference position detecting means (reel sensors 33L, 33C, 33R) for detecting the reference position of the display band,
Position specifying information (value of reel step number counter, symbol) updated by the position specifying information updating unit (update process of reel step number etc.) according to the detection result of the reference position detecting unit (reel sensor 33L, 33C, 33R) Position specifying information initialization means for setting the value of the step number counter) to an initial value (0),
It is characterized by having.
According to this feature, it is possible to match the actual position of the display band with the position specifying information updated by the position specifying information updating means.

本発明の手段6のスロットマシンは、手段1〜5のいずれかに記載のスロットマシンであって、
前記割込禁止手段は、前記位置特定情報取得手段が取得した位置特定情報(図柄ステップ数カウンタの値)に基づいて表示帯を停止させる停止位置を特定する処理中も割込処理(タイマ割込処理(メイン))の実行を禁止する
ことを特徴としている。
この特徴によれば、位置特定情報を取得する処理中だけでなく、取得した位置特定情報に基づいて表示帯を停止させる停止位置を特定する処理中も割込処理の実行が禁止されるので、停止位置が特定されていない状態でステッピングモータの駆動が進んでしまうことにより停止制御が遅れてしまうことを防止できる。
A slot machine according to means 6 of the present invention is the slot machine according to any one of means 1 to 5,
The interrupt prohibition means is an interrupt process (timer interrupt) during the process of specifying the stop position at which the display band is stopped based on the position specifying information (the value of the symbol step number counter) acquired by the position specifying information acquiring device. The feature is that the execution of processing (main) is prohibited.
According to this feature, the execution of the interrupt process is prohibited not only during the process of acquiring the position specifying information but also during the process of specifying the stop position where the display band is stopped based on the acquired position specifying information. It is possible to prevent the stop control from being delayed due to the driving of the stepping motor progressing in a state where the stop position is not specified.

本発明の手段7のスロットマシンは、手段1〜6のいずれかに記載のスロットマシンであって、
異常が生じた可能性のある特定事象(投入払出エラー、ドア開放検出スイッチ25の出力状態の変化、リール回転エラー)が発生したか否かを判定する特定事象判定手段(投入払出エラーチェック処理、ドア開放チェック処理、回転エラーチェック処理)を備え、
前記特定事象判定手段は、前記導出操作手段(ストップスイッチ8L、8C、8R)が操作された後、位置特定情報(図柄番号カウンタの値)が取得されるまで前記特定事象が発生したか否かを判定しない
ことを特徴としている。
この特徴によれば、導出操作手段が操作された後、位置特定情報が取得されるまでの処理負荷を軽減することができる。
A slot machine according to means 7 of the present invention is the slot machine according to any one of means 1 to 6,
Specific event determining means (insertion/withdrawal error check process, which determines whether or not a specific event that may have caused an abnormality (insertion/withdrawal error, change in output state of door opening detection switch 25, reel rotation error) has occurred Door open check process, rotation error check process)
Whether or not the specific event occurs until the position identification information (value of the symbol number counter) is acquired after the derivation operation means (stop switches 8L, 8C, 8R) is operated by the specific event determination means. It is characterized by not judging.
According to this feature, it is possible to reduce the processing load until the position specifying information is acquired after the derivation operation unit is operated.

尚、本発明は、本発明の請求項に記載された発明特定事項のみを有するものであって良いし、本発明の請求項に記載された発明特定事項とともに該発明特定事項以外の構成を有するものであっても良い。 Note that the present invention may have only the invention specifying matters described in the claims of the present invention, and has a configuration other than the invention specifying matters described in the claims of the present invention. It may be one.

本発明が適用された実施例のスロットマシンの正面図である。FIG. 36 is a front view of the slot machine of the embodiment to which the present invention is applied. スロットマシンの内部構造を示す斜視図である。It is a perspective view showing an internal structure of the slot machine. リールの図柄配列を示す図である。It is a figure which shows the symbol arrangement of a reel. スロットマシンの構成を示すブロック図である。It is a block diagram showing a configuration of a slot machine. メイン制御部の構成を示すブロック図である。It is a block diagram which shows the structure of a main control part. メイン制御部が搭載するROM及びRAMのメモリマップを示す図である。It is a figure which shows the memory map of ROM and RAM which a main control part mounts. メイン制御部が搭載するROM及びRAMのメモリマップの詳細を示す図である。It is a figure which shows the detail of the memory map of ROM and RAM which a main control part mounts. 遊技プログラム及び非遊技プログラムの構成を示す図である。It is a figure which shows the structure of a game program and a non-game program. 遊技領域と非遊技領域との関係を示す図である。It is a figure which shows the relationship between a game area and a non-game area. (a)は、メイン処理の実行中に遊技プログラムに基づく処理から非遊技プログラムを呼び出す際の処理の流れを示すフローチャートであり、(b)は、タイマ割込処理の実行中に遊技プログラムに基づく処理から非遊技プログラムを呼び出す際の処理の流れを示すフローチャートである。(A) is a flowchart showing a flow of processing when a non-gaming program is called from processing based on a gaming program during execution of main processing, and (b) is based on gaming program during execution of timer interrupt processing. It is a flow chart which shows a flow of processing at the time of calling a non-gaming program from processing. メイン制御部が、第1の条件、第2の条件の成立時に初期化するRAMの領域を示す図である。It is a figure which shows the area|region of RAM which a main control part initializes when 1st conditions and 2nd conditions are satisfied. メイン制御部が外部出力基板に対して出力するメダルOUT信号とセキュリティ信号の出力タイミングについて説明するための図である。It is a figure for explaining the output timing of the medal OUT signal and the security signal which the main control part outputs to the external output board. リールモータの構成を示す図である。It is a figure which shows the structure of a reel motor. リールモータの励磁状況を示すタイミングチャートである。It is a timing chart which shows the excitation state of a reel motor. メイン制御部が実行するメイン処理の制御内容を示すフローチャートである。7 is a flowchart showing the control contents of main processing executed by the main control unit. メイン制御部が実行するリール制御処理の制御内容を示すフローチャートである。It is a flow chart which shows the control contents of the reel control processing which a main control part performs. メイン制御部が実行するリール回転開始処理の制御内容を示すフローチャートである。7 is a flowchart showing the control content of reel rotation start processing executed by the main control unit. メイン制御部が実行するリール回転停止処理の制御内容を示すフローチャートである。7 is a flowchart showing the control contents of reel rotation stop processing executed by the main control unit. 図柄ステップ数の割当とリール回転停止処理にける判定範囲の関係について説明するための図である。It is a diagram for explaining the relationship between the allocation of the number of symbol steps and the determination range in the reel rotation stop processing. メイン制御部が実行する停止制御テーブル設定処理の制御内容を示すフローチャートである。6 is a flowchart showing the control contents of a stop control table setting process executed by a main control unit. メイン制御部が実行するタイマ割込処理(メイン)の制御内容を示すフローチャートである。6 is a flowchart showing control contents of timer interrupt processing (main) executed by a main control unit. メイン制御部が実行するリールステップ数等更新処理の制御内容を示すフローチャートである。7 is a flowchart showing the control contents of a reel step number update processing executed by the main control unit. リール回転停止処理において図柄番号が取得される時期について説明するための図である。It is a figure for explaining the time when the symbol number is acquired in the reel rotation stop processing. 1図柄当たりの図柄ステップ数の割当の変形例を示す図である。It is a figure showing a modification of allocation of the number of symbol steps per symbol. 変形例における図柄ステップ数の割当とリール回転停止処理にける判定範囲の関係について説明するための図である。It is a figure for demonstrating the relationship of the allocation of the number of symbol steps in a modification, and the determination range in a reel rotation stop process.

本発明に係るスロットマシンを実施するための形態を実施例に基づいて以下に説明する。 A mode for carrying out a slot machine according to the present invention will be described below based on embodiments.

本発明が適用されたスロットマシンの実施例について図面を用いて説明すると、本実施例のスロットマシン1は、図1に示すように、前面が開口する筐体1aと、この筐体1aの側端に回動自在に枢支された前面扉1bと、から構成されている。 An embodiment of a slot machine to which the present invention is applied will be described with reference to the drawings. In the slot machine 1 of the present embodiment, as shown in FIG. 1, a housing 1a having a front opening and a side of the housing 1a are provided. The front door 1b is rotatably supported at its end.

本実施例のスロットマシン1の筐体1aの内部には、図2に示すように、外周に複数種の図柄が配列されたリール2L、2C、2R(以下、左リール、中リール、右リール)が水平方向に並設されており、図1に示すように、これらリール2L、2C、2Rに配列された図柄のうち連続する3つの図柄が前面扉1bに設けられた透視窓3から見えるように配置されている。 Inside the housing 1a of the slot machine 1 of the present embodiment, as shown in FIG. 2, reels 2L, 2C, 2R (hereinafter, left reel, middle reel, right reel) having a plurality of types of symbols arranged on the outer periphery are arranged. ) Are arranged side by side in the horizontal direction, and as shown in FIG. 1, three consecutive symbols among the symbols arranged on these reels 2L, 2C, 2R can be seen from the transparent window 3 provided on the front door 1b. Are arranged as follows.

リール2L、2C、2Rの外周部には、図3に示すように、それぞれ「赤7」、「青7」、「白7」、「BAR」、「スイカ」、「チェリーa」、「チェリーb」、「ベル」、「リプレイa」、「リプレイb」、「プラム」といった互いに識別可能な複数種類の図柄が所定の順序で、それぞれ21個ずつ描かれている。リール2L、2C、2Rの外周部に描かれた図柄は、前面扉1bの略中央に設けられた透視窓3において各々上中下三段に表示される。 As shown in FIG. 3, "red 7", "blue 7", "white 7", "BAR", "watermelon", "cherry a", and "cherry" are provided on the outer peripheral portions of the reels 2L, 2C, and 2R, respectively. A plurality of types of mutually distinguishable symbols such as “b”, “bell”, “replay a”, “replay b”, and “plum” are drawn in a predetermined order, 21 pieces each. The symbols drawn on the outer peripheral portions of the reels 2L, 2C, and 2R are displayed in upper, middle, and lower three tiers in the see-through window 3 provided substantially in the center of the front door 1b.

各リール2L、2C、2Rは、各々対応して設けられたリールモータ32L、32C、32R(図4参照)によって回転されることで、各リール2L、2C、2Rの図柄が透視窓3に連続的に変化しつつ表示される一方で、各リール2L、2C、2Rの回転が停止されることで、透視窓3に3つの連続する図柄が表示結果として導出表示されるようになっている。 The reels 2L, 2C, 2R are rotated by reel motors 32L, 32C, 32R (see FIG. 4) provided correspondingly, so that the symbols on the reels 2L, 2C, 2R are continuous to the see-through window 3. While the reels 2L, 2C, and 2R are stopped from rotating, three consecutive symbols are derived and displayed on the see-through window 3 as display results.

リール2L、2C、2Rの内側には、リール2L、2C、2Rそれぞれに対して、基準位置を検出するリールセンサ33L、33C、33Rと、リール2L、2C、2Rを背面から照射するリールLED55と、が設けられている。また、リールLED55は、リール2L、2C、2Rの連続する3つの図柄に対応する12のLEDからなり、各図柄をそれぞれ独立して照射可能とされている。 Inside the reels 2L, 2C, and 2R, reel sensors 33L, 33C, and 33R that detect reference positions for the reels 2L, 2C, and 2R, respectively, and a reel LED 55 that irradiates the reels 2L, 2C, and 2R from the back side are provided. , Are provided. The reel LED 55 is composed of 12 LEDs corresponding to three consecutive symbols on the reels 2L, 2C, and 2R, and each symbol can be independently illuminated.

また、リールセンサ33L、33C、33Rは、各リール2L、2C、2Rについて図柄番号0の図柄の領域の下端が各リールにおける所定位置を通過するときに、検出信号を出力するように配置されており、各リールについて図柄番号0の図柄の領域の下端がリール基準位置となる。 Further, the reel sensors 33L, 33C, 33R are arranged so as to output a detection signal when the lower end of the symbol region of the symbol number 0 for each reel 2L, 2C, 2R passes a predetermined position on each reel. The lower end of the symbol area of the symbol number 0 for each reel is the reel reference position.

前面扉1bの各リール2L、2C、2Rの手前側(遊技者側)の位置には、液晶表示器51(図1参照)の表示領域51aが配置されている。液晶表示器51は、液晶素子に対して電圧が印加されていない状態で透過性を有する液晶パネルを有しており、表示領域51aの透視窓3に対応する透過領域51b及び透視窓3を介して遊技者側から各リール2L、2C、2Rが視認できるようになっている。 A display area 51a of the liquid crystal display 51 (see FIG. 1) is arranged at the front side (player side) of each reel 2L, 2C, 2R of the front door 1b. The liquid crystal display 51 has a liquid crystal panel which is transparent in the state where no voltage is applied to the liquid crystal element, and through the transparent area 51b and the transparent window 3 corresponding to the transparent window 3 of the display area 51a. As a result, the reels 2L, 2C, 2R can be visually recognized from the player side.

前面扉1bには、図1に示すように、メダルを投入可能なメダル投入部4、メダルが払い出されるメダル払出口9、クレジット(遊技者所有の遊技用価値として記憶されているメダル数)を用いて、その範囲内において遊技状態に応じて定められた規定数の賭数のうち最大の賭数(本実施例では後述するRT0〜4の規定数として3、RBの規定数として2が定められている)を設定する際に操作されるMAXBETスイッチ6、クレジットとして記憶されているメダル及び賭数の設定に用いたメダルを精算する(クレジット及び賭数の設定に用いた分のメダルを返却させる)際に操作される精算スイッチ10、ゲームを開始する際に操作されるスタートスイッチ7、リール2L、2C、2Rの回転を各々停止する際に操作されるストップスイッチ8L、8C、8R、演出に用いられる演出用スイッチ56が遊技者により操作可能にそれぞれ設けられている。 As shown in FIG. 1, the front door 1b is provided with a medal insertion section 4 into which medals can be inserted, a medal payout opening 9 from which medals are paid out, and a credit (the number of medals stored as a gaming value owned by the player). The maximum number of bets out of the prescribed number of bets determined according to the gaming state within that range (in this embodiment, 3 as the prescribed number of RT0 to 4 which will be described later, and 2 as the prescribed number of RB). The MAXBET switch 6 that is operated when setting), and the medals stored as credits and the medals used for setting the bet number are settled (the medals used for setting the credit and the bet number are returned. Adjustment switch 10, which is operated when the game is started, start switch 7 which is operated when the game is started, and stop switches 8L, 8C and 8R which are operated when the rotations of the reels 2L, 2C and 2R are stopped respectively. The effect switches 56 used for are provided so as to be operated by the player.

尚、本実施例では、回転を開始した3つのリール2L、2C、2Rのうち、最初に停止するリールを第1停止リールと称し、また、その停止を第1停止と称する。同様に、2番目に停止するリールを第2停止リールと称し、また、その停止を第2停止と称し、3番目に停止するリールを第3停止リールと称し、また、その停止を第3停止あるいは最終停止と称する。 In this embodiment, of the three reels 2L, 2C, 2R that have started to rotate, the reel that first stops is referred to as a first stop reel, and the stop thereof is referred to as a first stop. Similarly, the reel that stops second is called the second stop reel, that stop is called the second stop, the reel that stops third is called the third stop reel, and that stop is the third stop. Alternatively, it is called a final stop.

また、前面扉1bには、図1に示すように、クレジットとして記憶されているメダル枚数が表示されるクレジット表示器11、入賞の発生により払い出されたメダル枚数やエラー発生時にその内容を示すエラーコード、後述のナビ報知によるリールの停止順を識別可能な情報等が表示される遊技補助表示器12、賭数が1設定されている旨を点灯により報知する1BETLED14、賭数が2設定されている旨を点灯により報知する2BETLED15、賭数が3設定されている旨を点灯により報知する3BETLED16、メダルの投入が可能な状態を点灯により報知する投入要求LED17、スタートスイッチ7の操作によるゲームのスタート操作が有効である旨を点灯により報知するスタート有効LED18、ウェイト(前回のゲーム開始から一定期間経過していないためにリールの回転開始を待機している状態)中である旨を点灯により報知するウェイト中LED19、リプレイゲーム中である旨を点灯により報知するリプレイ中LED20が設けられた遊技用表示部13が設けられている。 Further, as shown in FIG. 1, on the front door 1b, a credit indicator 11 for displaying the number of medals stored as credits, the number of medals paid out by the occurrence of a prize, and the content thereof when an error occurs are shown. A game auxiliary display 12 that displays an error code, information that can identify the stop order of reels by navigation notification, which will be described later, 1 bet LED 14 that lights up to inform that the bet number is set to 1, bet number is set to 2 2BET LED 15 that lights up to notify that the number of bets is set to 3BETLED 16, that lights up to notify that a state in which medals can be inserted is turned on, and a start switch 7 operates the game. Start valid LED 18 that lights up to indicate that the start operation is valid, and lights to indicate that the weight is in a waiting state (a state in which the reels are waiting to start rotation because a certain period has not elapsed since the start of the previous game) The game display unit 13 is provided with an in-wait LED 19 and a in-replay LED 20 for notifying by lighting that the replay game is in progress.

MAXBETスイッチ6の内部には、MAXBETスイッチ6の操作による賭数の設定操作が有効である旨を点灯により報知するBETスイッチ有効LED21(図4参照)が設けられており、ストップスイッチ8L、8C、8Rの内部には、該当するストップスイッチ8L、8C、8Rによるリールの停止操作が有効である旨を点灯により報知する左、中、右停止有効LED22L、22C、22R(図4参照)がそれぞれ設けられており、演出用スイッチ56の内部には、演出用スイッチ56の操作が有効である旨を点灯により報知する演出用LED56a(図4参照)が設けられている。 Inside the MAXBET switch 6, a BET switch valid LED 21 (see FIG. 4) for notifying by lighting that the setting operation of the bet number by the operation of the MAXBET switch 6 is provided, the stop switches 8L, 8C, Inside the 8R, there are provided left, middle, and right stop enable LEDs 22L, 22C, and 22R (see FIG. 4) that notify by lighting that the stop operation of the reels by the corresponding stop switches 8L, 8C, and 8R is effective. In the interior of the effect switch 56, there is provided an effect LED 56a (see FIG. 4) for notifying by lighting that the operation of the effect switch 56 is effective.

前面扉1bの内側には、図2に示すように、所定のキー操作により後述するエラー状態及び後述する打止状態を解除するためのリセット操作を検出するリセットスイッチ23、後述する設定値の変更中や設定値の確認中にその時点の設定値が表示される設定値表示器24、所定の契機に打止状態(リセット操作がなされるまでゲームの進行が規制される状態)に制御する打止機能の有効/無効を選択するための打止スイッチ36a、所定の契機に自動精算処理(クレジットとして記憶されているメダルを遊技者の操作によらず精算(返却)する処理)に制御する自動精算機能の有効/無効を選択するための自動精算スイッチ36b、メダル投入部4から投入されたメダルの流路を、筐体1aの内部に設けられた後述のホッパータンク34a(図2参照)側またはメダル払出口9側のいずれか一方に選択的に切り替えるための流路切替ソレノイド30、メダル投入部4から投入され、ホッパータンク34a側に流下したメダルを検出する投入メダルセンサ31、投入メダルセンサ31の上流側で異物の挿入を検出する投入口センサ26を有するメダルセレクタ29、前面扉1bの開放状態を検出するドア開放検出スイッチ25(図4参照)が設けられている。 Inside the front door 1b, as shown in FIG. 2, a reset switch 23 for detecting an error state described later and a reset operation for canceling a stopped state described later by a predetermined key operation, and a change of a set value described later. The set value display 24, which displays the set value at that time during the confirmation of the set value or the setting value, strikes at a predetermined trigger (a state in which the progress of the game is restricted until a reset operation is performed). Stop switch 36a for selecting valid/invalid of the stop function, automatic control for automatic settlement processing (processing for settlement (returning) medals stored as credits regardless of player's operation) at a predetermined timing An automatic settlement switch 36b for selecting valid/invalid of the settlement function, a flow path of medals thrown from the medal throwing section 4 side of a hopper tank 34a (see FIG. 2) described later provided inside the casing 1a. Alternatively, a flow passage switching solenoid 30 for selectively switching to one of the medal payout outlets 9 side, a put-in medal sensor 31 for detecting medals thrown into the hopper tank 34a side from the medal throwing unit 4, and a put-in medal sensor. A medal selector 29 having an insertion opening sensor 26 for detecting the insertion of a foreign object on the upstream side of 31 and a door opening detection switch 25 (see FIG. 4) for detecting the opened state of the front door 1b are provided.

筐体1aの内部には、図2に示すように、前述したリール2L、2C、2R、リールモータ32L、32C、32R(図4参照)、各リール2L、2C、2Rのリール基準位置をそれぞれ検出可能なリールセンサ33L、33C、33R(図4参照)からなるリールユニット2、外部出力信号を出力するための外部出力基板1000(図4参照)、メダル投入部4から投入されたメダルを貯留するホッパータンク34a、ホッパータンク34aに貯留されたメダルをメダル払出口9より払い出すためのホッパーモータ34b(図4参照)、ホッパーモータ34bの駆動により払い出されたメダルを検出する払出センサ34c(図4参照)からなるホッパーユニット34、電源ボックス100が設けられている。 As shown in FIG. 2, the reel 1L, 2C, 2R, the reel motors 32L, 32C, 32R (see FIG. 4), and the reel reference positions of the reels 2L, 2C, 2R are respectively provided inside the housing 1a. Reel unit 2 consisting of detectable reel sensors 33L, 33C, 33R (see FIG. 4), external output substrate 1000 (see FIG. 4) for outputting an external output signal, and stores medals inserted from the medal insertion portion 4. The hopper tank 34a, the hopper motor 34b for paying out the medals stored in the hopper tank 34a from the medal payout opening 9 (see FIG. 4), and the payout sensor 34c for detecting the medals paid out by driving the hopper motor 34b ( A hopper unit 34 (see FIG. 4) and a power supply box 100 are provided.

ホッパーユニット34の側部には、ホッパータンク34aから溢れたメダルが貯留されるオーバーフロータンク35が設けられている。オーバーフロータンク35の内部には、貯留されたメダルが満タン状態となったことを検出する満タンセンサ35a(図4参照)が設けられている。 An overflow tank 35 for storing medals overflowing from the hopper tank 34a is provided on the side of the hopper unit 34. Inside the overflow tank 35, a full tank sensor 35a (see FIG. 4) that detects that the stored medals are full is provided.

電源ボックス100の前面には、図2に示すように、設定変更状態または設定確認状態に切り替えるための設定キースイッチ37、通常時においてはエラー状態や打止状態を解除するためのリセットスイッチとして機能し、設定変更状態においては後述する内部抽選の当選確率(出玉率)の設定値を変更するための設定スイッチとして機能するリセット/設定スイッチ38、電源をon/offする際に操作される電源スイッチ39が設けられている。 As shown in FIG. 2, on the front surface of the power supply box 100, a setting key switch 37 for switching to a setting change state or a setting confirmation state, and a reset switch for canceling an error state or a stopped state in a normal state function However, in the setting change state, the reset/setting switch 38 that functions as a setting switch for changing the set value of the winning probability (ball-out rate) of the internal lottery, which will be described later, the power supply that is operated when the power is turned on/off. A switch 39 is provided.

尚、電源ボックス100は、筐体1aの内部に設けられており、さらに前面扉1bは、店員等が所持する所定のキー操作により開放可能な構成であるため、これら電源ボックス100の前面に設けられた設定キースイッチ37、リセット/設定スイッチ38、電源スイッチ39は、キーを所持する店員等の者のみが操作可能とされ、遊技者による操作ができないようになっている。また、所定のキー操作により検出されるリセットスイッチ23も同様である。特に、設定キースイッチ37は、キー操作により前面扉1bを開放したうえで、さらにキー操作を要することから、遊技場の店員のなかでも、設定キースイッチ37の操作を行うキーを所持する店員のみ操作が可能とされている。 Since the power supply box 100 is provided inside the housing 1a, and the front door 1b can be opened by a predetermined key operation carried by a clerk or the like, it is provided on the front surface of these power supply boxes 100. The set key switch 37, the reset/set switch 38, and the power switch 39 are operated only by a person having a key, such as a store clerk, and cannot be operated by the player. The same applies to the reset switch 23 detected by a predetermined key operation. In particular, since the setting key switch 37 requires the key operation after opening the front door 1b by the key operation, only the clerk in the amusement arcade who has the key to operate the setting key switch 37 It is possible to operate.

本実施例のスロットマシン1においてゲームを行う場合には、まず、メダルをメダル投入部4から投入するか、あるいはクレジットを使用して賭数を設定する。クレジットを使用するにはMAXBETスイッチ6を操作すれば良い。遊技状態に応じて定められた規定数の賭数が設定されると、入賞ラインLN(図1参照)が有効となり、スタートスイッチ7の操作が有効な状態、すなわち、ゲームが開始可能な状態となる。本実施例では、後述するRT0〜4における規定数の賭数として3枚が定められ、後述するRBにおける規定数の賭数として2枚が定められており、これら遊技状態に応じた規定数の賭数が設定されると入賞ラインLNが有効となる。尚、遊技状態に対応する規定数のうち最大数を超えてメダルが投入された場合には、その分はクレジットに加算される。 When playing a game in the slot machine 1 of the present embodiment, first, a medal is inserted from the medal insertion section 4 or a bet number is set by using a credit. To use the credit, the MAXBET switch 6 may be operated. When the specified number of bets set according to the gaming state is set, the pay line LN (see FIG. 1) becomes valid and the operation of the start switch 7 is valid, that is, the game can be started. Become. In this embodiment, three bets are set as the specified number of bets in RT0 to 4 described later, and two are set as the specified number of bets in RB to be described later, and the specified number of bets corresponding to these gaming states is set. When the number of bets is set, the pay line LN becomes effective. In addition, when the medals are thrown in exceeding the maximum number out of the prescribed number corresponding to the gaming state, the amount is added to the credit.

入賞ラインとは、各リール2L、2C、2Rの透視窓3に表示された図柄の組合せが入賞図柄の組合せであるかを判定するために設定されるラインである。本実施例では、図1に示すように、リール2Lの中段、リール2Cの中段、リール2Rの中段、すなわち中段に水平方向に並んだ図柄に跨って設定された入賞ラインLNのみが入賞ラインとして定められている。尚、本実施例では、1本の入賞ラインのみを適用しているが、複数の入賞ラインを適用しても良い。 The winning line is a line set to determine whether the combination of symbols displayed on the transparent window 3 of each reel 2L, 2C, 2R is a combination of winning symbols. In the present embodiment, as shown in FIG. 1, only the pay line LN set across the symbols arranged horizontally in the middle of the reel 2L, the middle of the reel 2C, the middle of the reel 2R, that is, the middle is the winning line. It is set. In this embodiment, only one pay line is applied, but a plurality of pay lines may be applied.

また、本実施例では、入賞ラインLNに入賞を構成する図柄の組合せが揃ったことを認識しやすくするために、入賞ラインLNとは別に、無効ラインLM1〜4を設定している。無効ラインLM1〜4は、これら無効ラインLM1〜4に揃った図柄の組合せによって入賞が判定されるものではなく、入賞ラインLNに特定の入賞を構成する図柄の組合せが揃った際に、無効ラインLM1〜4のいずれかに入賞ラインLNに揃った場合に入賞となる図柄の組合せ(例えば、ベル‐ベル‐ベル)が揃う構成とすることで、入賞ラインLNに特定の入賞を構成する図柄の組合せが揃ったことを認識しやすくするものである。 In addition, in the present embodiment, in order to make it easy to recognize that the winning line LN has a combination of symbols constituting the winning line, ineffective lines LM1 to 4 are set separately from the winning line LN. The ineffective lines LM1 to LM4 are not those in which the winning is determined by the combination of the symbols arranged in the ineffective lines LM1 to LM4, and the ineffective lines are formed when the combinations of the symbols constituting the specific winning are aligned in the winning line LN. By configuring a combination of symbols (for example, bell-bell-bell) that will be won when they are aligned on the pay line LN in any of LM1 to 4, it is possible to configure a specific prize on the pay line LN. This makes it easy to recognize that the combinations are complete.

本実施例では、図1に示すように、リール2Lの上段、リール2Cの上段、リール2Rの上段、すなわち上段に水平方向に並んだ図柄に跨って設定された無効ラインLM1、リール2Lの下段、リール2Cの下段、リール2Rの下段、すなわち下段に水平方向に並んだ図柄に跨って設定された無効ラインLM2、リール2Lの上段、リール2Cの中段、リール2Rの下段、すなわち右下がりに並んだ図柄に跨って設定された無効ラインLM3、リール2Lの下段、リール2Cの中段、リール2Rの上段、すなわち右上がりに並んだ図柄に跨って設定された無効ラインLM4の4種類が無効ラインLMとして定められている。 In the present embodiment, as shown in FIG. 1, the upper stage of the reel 2L, the upper stage of the reel 2C, the upper stage of the reel 2R, that is, the invalid line LM1 and the lower stage of the reel 2L set across the symbols arranged in the horizontal direction in the upper stage. , The lower stage of the reel 2C, the lower stage of the reel 2R, that is, the invalid line LM2 set across the symbols arranged horizontally in the lower stage, the upper stage of the reel 2L, the middle stage of the reel 2C, the lower stage of the reel 2R, that is, the right downward line. 4 types of invalid line LM3 set across the symbols, the invalid line LM3 set under the reel 2L, the lower stage of the reel 2L, the middle stage of the reel 2C, the upper stage of the reel 2R, that is, the invalid line LM4 set over the symbols arranged in the right upward direction. Is defined as.

また、本実施例では、入賞役として、入賞ラインLNに役として定められた所定の図柄の組合せ(例えば、「ベル‐スイカ‐チェリーb」)が揃ったときに入賞するとともに、かつ所定の図柄組合せが揃うことにより無効ラインLM1〜LM4のいずれかに所定の図柄組合せよりも認識しやすい指標となる図柄の組合せ(例えば、「スイカ‐スイカ‐スイカ」)が揃うことにより、無効ラインLM1〜LM4のいずれかに揃った図柄の組合せによって入賞したように見せることが可能な役を含む。以下では、所定の図柄の組合せが入賞ラインLNに揃ったときに無効ラインLM1〜LM4のいずれかに揃う図柄の組合せを、指標となる図柄の組合せと呼び、指標となる図柄の組合せを構成する図柄を指標図柄と呼ぶ。 In addition, in the present embodiment, as a winning combination, when a predetermined combination of symbols (for example, "bell-watermelon-cherry b") defined as a winning combination on the winning line LN is obtained, a predetermined symbol is obtained. When the combinations are aligned, a combination of symbols (for example, “watermelon-watermelon-watermelon”) that is an index that is easier to recognize than a predetermined symbol combination in any of the invalid lines LM1 to LM4 is aligned, and thus the invalid lines LM1 to LM4. Includes a winning combination that can be seen as a winning combination of symbols. In the following, when a predetermined symbol combination is aligned on the pay line LN, a symbol combination that is aligned on any of the ineffective lines LM1 to LM4 is referred to as an index symbol combination, and an index symbol combination is configured. The design is called an index design.

ゲームが開始可能な状態でスタートスイッチ7を操作すると、各リール2L、2C、2Rが回転し、各リール2L、2C、2Rの図柄が連続的に変動する。この状態でいずれかのストップスイッチ8L、8C、8Rを操作すると、対応するリール2L、2C、2Rの回転が停止し、透視窓3に表示結果が導出表示される。 When the start switch 7 is operated in a state where the game can be started, the reels 2L, 2C, 2R rotate, and the symbols on the reels 2L, 2C, 2R continuously change. When any of the stop switches 8L, 8C, 8R is operated in this state, the rotation of the corresponding reels 2L, 2C, 2R is stopped, and the display result is derived and displayed on the see-through window 3.

そして全てのリール2L、2C、2Rが停止されることで1ゲームが終了し、入賞ラインLN上に予め定められた図柄の組合せ(以下、役ともいう)が各リール2L、2C、2Rの表示結果として停止した場合には入賞が発生し、その入賞に応じて定められた枚数のメダルが遊技者に対して付与され、クレジットに加算される。また、クレジットが上限数(本実施例では50)に達した場合には、メダルが直接メダル払出口9(図1参照)から払い出されるようになっている。また、入賞ラインLN上に、遊技状態の移行を伴う図柄の組合せが各リール2L、2C、2Rの表示結果として停止した場合には図柄の組合せに応じた遊技状態に移行するようになっている。 Then, all the reels 2L, 2C, 2R are stopped to complete one game, and a predetermined symbol combination (hereinafter also referred to as a combination) on the pay line LN is displayed on each reel 2L, 2C, 2R. As a result, when the game is stopped, a prize is generated, and the number of medals determined according to the prize is awarded to the player and added to the credit. When the number of credits reaches the upper limit (50 in this embodiment), the medals are paid out directly from the medal payout exit 9 (see FIG. 1). Further, on the pay line LN, when the symbol combination accompanied by the transition of the game state is stopped as a display result of each reel 2L, 2C, 2R, the game state is shifted to the game state corresponding to the symbol combination. ..

尚、本実施例では、スタートスイッチ7の操作が有効な状態でスタートスイッチ7の操作が検出されたときにゲームが開始し、全てのリールが停止したときにゲームが終了する。また、ゲームを実行するための1単位の制御(ゲーム制御)は、前回のゲームの終了に伴う全ての制御が完了したときに開始し、当該ゲームの終了に伴う全ての制御が完了したときに終了する。 In the present embodiment, the game is started when the operation of the start switch 7 is detected while the operation of the start switch 7 is valid, and the game is ended when all the reels are stopped. Further, the control of one unit for executing the game (game control) starts when all the controls accompanying the end of the previous game are completed, and when all the controls associated with the end of the game are completed. finish.

また、本実施例では、3つのリールを用いた構成を例示しているが、リールを1つのみ用いた構成、2つのリールを用いた構成、4つ以上のリールを用いた構成としても良く、2以上のリールを用いた構成においては、2以上の全てのリールに導出された表示結果の組合せに基づいて入賞を判定する構成とすれば良い。また、本実施例では、物理的なリールにて可変表示装置が構成されているが、液晶表示器などの画像表示装置にて可変表示装置が構成されていても良い。 Further, although the present embodiment exemplifies a configuration using three reels, a configuration using only one reel, a configuration using two reels, and a configuration using four or more reels may be used. In the configuration using two or more reels, the winning determination may be made based on the combination of the display results derived to all the two or more reels. Further, in this embodiment, the variable display device is configured by a physical reel, but the variable display device may be configured by an image display device such as a liquid crystal display.

また、本実施例におけるスロットマシン1にあっては、ゲームが開始されて各リール2L、2C、2Rが回転して図柄の変動が開始した後、いずれかのストップスイッチ8L、8C、8Rが操作されたときに、当該ストップスイッチ8L、8C、8Rに対応するリールの回転が停止して図柄が停止表示される。ストップスイッチ8L、8C、8Rの操作から対応するリール2L、2C、2Rの回転を停止するまでの最大停止遅延時間は190ms(ミリ秒)である。 Further, in the slot machine 1 of the present embodiment, after the game is started and the reels 2L, 2C, 2R are rotated to start changing the symbols, one of the stop switches 8L, 8C, 8R is operated. When this is done, the rotation of the reels corresponding to the stop switches 8L, 8C, 8R is stopped and the symbols are stopped and displayed. The maximum stop delay time from the operation of the stop switches 8L, 8C, 8R to the stop of the rotation of the corresponding reels 2L, 2C, 2R is 190 ms (milliseconds).

リール2L、2C、2Rは、1分間に80回転し、80×21(1リール当たりの図柄コマ数)=1680コマ分の図柄を変動させるので、190msの間では最大で4コマの図柄を引き込むことができることとなる。つまり、停止図柄として選択可能なのは、ストップスイッチ8L、8C、8Rが操作されたときに表示されている図柄と、そこから4コマ先までにある図柄、合計5コマ分の図柄である。 The reels 2L, 2C, and 2R rotate 80 times per minute, and the symbols for 80×21 (the number of symbol frames per reel)=1680 frames are changed, so a maximum of 4 symbols are drawn in 190 ms. It will be possible. That is, the symbols that can be selected as the stop symbols are the symbols displayed when the stop switches 8L, 8C, and 8R are operated, and the symbols that are four frames ahead of the symbols, for a total of five symbols.

このため、例えば、ストップスイッチ8L、8C、8Rのいずれかが操作されたときに当該ストップスイッチに対応するリールの下段に表示されている図柄を基準とした場合、当該図柄から4コマ先までの図柄を下段に表示させることができるため、リール2L、2C、2R各々において、ストップスイッチ8L、8Rのうちいずれかが操作されたときに当該ストップスイッチに対応するリールの中段に表示されている図柄を含めて5コマ以内に配置されている図柄を入賞ライン上に表示させることができる。 Therefore, for example, when the symbols displayed in the lower row of the reel corresponding to the stop switch when any of the stop switches 8L, 8C, and 8R is used as a reference, the symbols from the symbol to four frames ahead Since the symbol can be displayed in the lower row, in each reel 2L, 2C, 2R, the symbol displayed in the middle row of the reel corresponding to the stop switch when any of the stop switches 8L, 8R is operated It is possible to display symbols arranged within 5 frames including the symbol on the pay line.

以下では、特に区別する必要がない場合にはリール2L、2C、2Rを単にリールという場合がある。また、リール2Lを左リール、リール2Cを中リール、リール2Rを右リールという場合がある。また、ストップスイッチ8L、8C、8Rの操作によりリール2L、2C、2Rを停止させる操作を停止操作という場合がある。 Hereinafter, the reels 2L, 2C, and 2R may be simply referred to as reels unless it is necessary to distinguish them. Further, the reel 2L may be referred to as a left reel, the reel 2C may be referred to as a middle reel, and the reel 2R may be referred to as a right reel. Further, an operation of stopping the reels 2L, 2C, 2R by operating the stop switches 8L, 8C, 8R may be referred to as a stop operation.

図4は、スロットマシン1の構成を示すブロック図である。スロットマシン1には、図4に示すように、遊技制御基板40、演出制御基板90、電源基板101が設けられており、遊技制御基板40によって遊技状態が制御され、演出制御基板90によって遊技状態に応じた演出が制御され、電源基板101によってスロットマシン1を構成する電気部品の駆動電源が生成され、各部に供給される。 FIG. 4 is a block diagram showing the configuration of the slot machine 1. As shown in FIG. 4, the slot machine 1 is provided with a game control board 40, an effect control board 90, and a power supply board 101. The game control board 40 controls the game state, and the effect control board 90 causes the game state. The effect according to is controlled, and the power supply board 101 generates drive power for the electric components that form the slot machine 1, and supplies the drive power to each unit.

電源基板101には、外部からAC100Vの電源が供給されるとともに、このAC100Vの電源からスロットマシン1を構成する電気部品の駆動に必要な直流電圧が生成され、遊技制御基板40及び演出制御基板90に供給されるようになっている。また、電源基板101には、前述したホッパーモータ34b、払出センサ34c、満タンセンサ35a、設定キースイッチ37、リセット/設定スイッチ38、電源スイッチ39が接続されている。 The power supply board 101 is supplied with an AC100V power supply from the outside, and a DC voltage necessary for driving the electric components of the slot machine 1 is generated from the AC100V power supply, and the game control board 40 and the effect control board 90 are generated. To be supplied to. Further, the hopper motor 34b, the dispensing sensor 34c, the full tank sensor 35a, the setting key switch 37, the reset/setting switch 38, and the power switch 39 are connected to the power supply board 101.

遊技制御基板40には、前述したMAXBETスイッチ6、スタートスイッチ7、ストップスイッチ8L、8C、8R、精算スイッチ10、リセットスイッチ23、打止スイッチ36a、自動精算スイッチ36b、投入メダルセンサ31、ドア開放検出スイッチ25、リールセンサ33L、33C、33Rが接続されているとともに、電源基板101を介して前述した払出センサ34c、満タンセンサ35a、設定キースイッチ37、リセット/設定スイッチ38が接続されており、これら接続されたスイッチ類の検出信号が入力されるようになっている。また、遊技制御基板40には、前述したクレジット表示器11、遊技補助表示器12、1〜3BETLED14〜16、投入要求LED17、スタート有効LED18、ウェイト中LED19、リプレイ中LED20、BETスイッチ有効LED21、左、中、右停止有効LED22L、22C、22R、設定値表示器24、流路切替ソレノイド30、リールモータ32L、32C、32Rが接続されているとともに、電源基板101を介して前述したホッパーモータ34bが接続されており、これら電気部品は、遊技制御基板40に搭載された後述のメイン制御部41の制御に基づいて駆動されるようになっている。 On the game control board 40, the MAXBET switch 6, the start switch 7, the stop switches 8L, 8C, 8R, the settlement switch 10, the reset switch 23, the stop switch 36a, the automatic settlement switch 36b, the insertion medal sensor 31, the door opening described above. The detection switch 25, the reel sensors 33L, 33C, 33R are connected, and the above-mentioned payout sensor 34c, full tank sensor 35a, setting key switch 37, reset/setting switch 38 are connected via the power supply substrate 101. The detection signals of these connected switches are input. Further, on the game control board 40, the credit indicator 11, the game auxiliary indicator 12, the 1 to 3 BET LEDs 14 to 16, the insertion request LED 17, the start valid LED 18, the wait LED 19, the replay LED 20, the BET switch valid LED 21, and the left, which are described above, are provided. , Middle, right stop valid LEDs 22L, 22C, 22R, set value display 24, flow path switching solenoid 30, reel motors 32L, 32C, 32R are connected, and the hopper motor 34b described above is connected via the power supply board 101. These electric components are connected to each other and are driven under the control of a main controller 41, which will be described later, mounted on the game control board 40.

遊技制御基板40には、遊技の進行に関する処理を行うととともに遊技制御基板40に搭載された制御回路の各部を直接的または間接的に制御するメイン制御部41と、所定周波数の発振信号となる制御用クロックCCLKを生成する制御用クロック生成回路42と、制御用クロックCCLKの発振周波数とは異なる所定周波数の発振信号となる乱数用クロックRCLKを生成する乱数用クロック生成回路43と、遊技制御基板40に直接または電源基板101を介して接続されたスイッチ類から入力された検出信号を取り込んでメイン制御部41に伝送するスイッチ検出回路44と、メイン制御部41から出力されたモータ駆動信号(ステッピングモータの位相信号)をリールモータ32L、32C、32Rに伝送するモータ駆動回路45と、メイン制御部41から出力されたソレノイド駆動信号を流路切替ソレノイド30に伝送するソレノイド駆動回路46と、メイン制御部41から出力されたLED駆動信号を遊技制御基板40に接続された各種表示器やLEDに伝送するLED駆動回路47と、スロットマシン1に供給される電源の電圧を監視して電圧の低下を検出したときに、その旨を示す電圧低下信号をメイン制御部41に対して出力する電断検出回路48と、電源投入時または電源遮断時等の電力供給が不安定な状態においてメイン制御部41にシステムリセット信号を与えるリセット回路49と、が搭載されている。 On the game control board 40, a main control section 41 that directly or indirectly controls each section of the control circuit mounted on the game control board 40 while performing processing relating to the progress of the game, and an oscillation signal of a predetermined frequency are provided. A control clock generation circuit 42 that generates a control clock CCLK, a random number clock generation circuit 43 that generates a random number clock RCLK that is an oscillation signal of a predetermined frequency different from the oscillation frequency of the control clock CCLK, and a game control board. A switch detection circuit 44 that receives a detection signal input from switches connected directly to the 40 or via the power supply board 101 and transmits the detection signal to the main control unit 41, and a motor drive signal (stepping signal output from the main control unit 41 A motor drive circuit 45 for transmitting a motor phase signal) to the reel motors 32L, 32C, 32R, a solenoid drive circuit 46 for transmitting a solenoid drive signal output from the main controller 41 to the flow path switching solenoid 30, and a main control The LED drive circuit 47 that transmits the LED drive signal output from the section 41 to the various displays and LEDs connected to the game control board 40, and the voltage of the power supply supplied to the slot machine 1 are monitored to reduce the voltage. When it is detected, the power failure detection circuit 48 that outputs a voltage drop signal to that effect to the main control unit 41, and the main control unit 41 when the power supply is unstable, such as when the power is turned on or off. A reset circuit 49 for supplying a system reset signal to the.

図5は、遊技制御基板40に搭載されたメイン制御部41の構成例を示している。メイン制御部41は、1チップマイクロコンピュータであり、外部バスインターフェイス501と、クロック回路502と、照合用ブロック503と、固有情報記憶回路504と、演算回路505と、リセット/割込コントローラ506と、CPU(Central Processing Unit)41aと、ROM(Read Only Memory)41bと、RAM(Random Access Memory)41cと、フリーランカウンタ回路507と、乱数回路508a、508bと、タイマ回路509と、割込コントローラ510と、パラレル入力ポート511と、シリアル通信回路512と、パラレル出力ポート513と、アドレスデコード回路514と、を備えて構成される。 FIG. 5 shows a configuration example of the main control unit 41 mounted on the game control board 40. The main control unit 41 is a one-chip microcomputer, and has an external bus interface 501, a clock circuit 502, a matching block 503, a unique information storage circuit 504, an arithmetic circuit 505, a reset/interrupt controller 506, A CPU (Central Processing Unit) 41a, a ROM (Read Only Memory) 41b, a RAM (Random Access Memory) 41c, a free-run counter circuit 507, random number circuits 508a and 508b, a timer circuit 509, and an interrupt controller 510. A parallel input port 511, a serial communication circuit 512, a parallel output port 513, and an address decoding circuit 514.

リセット/割込コントローラ506は、メイン制御部41の内部や外部にて発生する各種リセット、割込要求を制御するためのものである。リセット/割込コントローラ506は、指定エリア外走行禁止(IAT)回路506aとウォッチドッグタイマ(WDT)506bとを備える。IAT回路506aは、ユーザプログラムが指定エリア内で正しく実行されているか否かを監視する回路であり、指定エリア外でユーザプログラムが実行されたことを検出するとIAT発生信号を出力する機能を備える。また、ウォッチドッグタイマ506bは、設定期間毎にタイムアウト信号を発生させる機能を備える。 The reset/interrupt controller 506 is for controlling various reset and interrupt requests generated inside or outside the main controller 41. The reset/interrupt controller 506 includes an out-of-designated area prohibition (IAT) circuit 506a and a watchdog timer (WDT) 506b. The IAT circuit 506a is a circuit for monitoring whether or not the user program is correctly executed in the designated area, and has a function of outputting an IAT generation signal when detecting that the user program is executed outside the designated area. The watchdog timer 506b has a function of generating a time-out signal for each set period.

外部バスインターフェイス501は、メイン制御部41を構成するチップの外部バスと内部バスとのインターフェイス機能や、アドレスバス、データバス及び各制御信号の方向制御機能などを有するバスインターフェイスである。クロック回路502は、制御用クロックCCLKを2分周することなどにより、内部システムクロックSCLKを生成する回路である。照合用ブロック503は、外部の照合機と接続し、チップの照合を行う機能を備える。固有情報記憶回路504は、メイン制御部41の内部情報となる複数種類の固有情報を記憶する回路である。演算回路505は、乗算及び除算を行う回路である。 The external bus interface 501 is a bus interface having an interface function between an external bus and an internal bus of a chip constituting the main control unit 41, an address bus, a data bus, and a direction control function of each control signal. The clock circuit 502 is a circuit that generates the internal system clock SCLK by dividing the control clock CCLK by two. The matching block 503 has a function of connecting to an external matching machine and matching the chips. The unique information storage circuit 504 is a circuit that stores a plurality of types of unique information as internal information of the main control unit 41. The arithmetic circuit 505 is a circuit that performs multiplication and division.

CPU41aは、ROM41bから読み出した制御コードに基づいてユーザプログラム(ゲーム制御用の遊技制御処理プログラム)を実行することにより、スロットマシン1における遊技制御を実行する制御用CPUである。こうした遊技制御が実行されるときには、CPU41aがROM41bから固定データを読み出す固定データ読出動作や、CPU41aがRAM41cに各種の変動データを書き込んで一時記憶させる変動データ書込動作、CPU41aがRAM41cに一時記憶されている各種の変動データを読み出す変動データ読出動作、CPU41aが外部バスインターフェイス501やパラレル入力ポート511、シリアル通信回路512などを介してメイン制御部41の外部から各種信号の入力を受け付ける受信動作、CPU41aが外部バスインターフェイス501やシリアル通信回路512、パラレル出力ポート513などを介してメイン制御部41の外部へと各種信号を出力する送信動作等も行われる。 The CPU 41a is a control CPU that executes game control in the slot machine 1 by executing a user program (game control processing program for game control) based on the control code read from the ROM 41b. When such game control is executed, the CPU 41a reads fixed data from the ROM 41b to read fixed data, the CPU 41a writes variable data to the RAM 41c to temporarily store various data, and the CPU 41a temporarily stores to RAM 41c. A variable data read operation of reading various kinds of variable data, a reception operation in which the CPU 41a receives an input of various signals from the outside of the main control unit 41 via the external bus interface 501, the parallel input port 511, the serial communication circuit 512, and the like, the CPU 41a. A transmission operation for outputting various signals to the outside of the main control unit 41 via the external bus interface 501, the serial communication circuit 512, the parallel output port 513, and the like is also performed.

ROM41bには、ユーザプログラム(ゲーム制御用の遊技制御処理プログラム)を示す制御コードや固定データ等が記憶されている。RAM41cは、ゲーム制御用のワークエリア等を提供する。ここで、RAM41cの少なくとも一部は、バックアップ電源によってバックアップされているバックアップRAMであれば良い。すなわち、スロットマシン1への電力供給が停止しても、所定期間はRAM41cの少なくとも一部の内容が保存される。 The ROM 41b stores a control code indicating a user program (game control processing program for game control), fixed data, and the like. The RAM 41c provides a work area or the like for game control. Here, at least a part of the RAM 41c may be a backup RAM backed up by a backup power supply. That is, even if the power supply to the slot machine 1 is stopped, at least a part of the content of the RAM 41c is saved for a predetermined period.

フリーランカウンタ回路507として、8ビットのフリーランカウンタを搭載している。乱数回路508a、508bは、8ビット乱数や16ビット乱数といった、所定の更新範囲を有する乱数値となる数値データを生成する回路である。本実施例では、乱数回路508a、508bのうち16ビット乱数回路508bが生成するハードウェア乱数は、後述する内部抽選用の乱数として用いられる。タイマ回路509は、16ビットプログラマブルタイマであり、設定されたタイマ値を制御用クロックCCLKの入力に基づいてダウンカウントし、0000Hに達したときに割込コントローラへの割込要求信号を出力する。本実施例では、タイマ回路509を用いて定期的な割込要求や時間計測を行うことが可能である。 An 8-bit free-run counter is mounted as the free-run counter circuit 507. The random number circuits 508a and 508b are circuits that generate numerical data such as 8-bit random numbers and 16-bit random numbers, which are random number values having a predetermined update range. In this embodiment, the hardware random number generated by the 16-bit random number circuit 508b of the random number circuits 508a and 508b is used as a random number for internal lottery described later. The timer circuit 509 is a 16-bit programmable timer, counts down the set timer value based on the input of the control clock CCLK, and outputs an interrupt request signal to the interrupt controller when 0000H is reached. In the present embodiment, it is possible to use the timer circuit 509 to make periodic interrupt requests and time measurements.

割込コントローラ510は、割込端子からの外部割込要求や、内蔵の周辺回路(例えば、シリアル通信回路512、乱数回路508a、508b、タイマ回路509)からの割込要求を制御する回路である。パラレル入力ポート511は、8ビット幅の入力専用ポートを内蔵する。また、図4に示すメイン制御部41が備えるパラレル出力ポート513は、11ビット幅の出力専用ポートを内蔵する。シリアル通信回路512は、外部に対する入出力において非同期シリアル通信を行う回路である。 The interrupt controller 510 is a circuit that controls an external interrupt request from the interrupt terminal and an interrupt request from a built-in peripheral circuit (for example, the serial communication circuit 512, the random number circuits 508a and 508b, the timer circuit 509). .. The parallel input port 511 has a built-in 8-bit wide input-only port. Further, the parallel output port 513 included in the main control unit 41 shown in FIG. 4 has a built-in 11-bit width dedicated output port. The serial communication circuit 512 is a circuit that performs asynchronous serial communication in input/output to/from the outside.

アドレスデコード回路514は、メイン制御部41の内部における各機能ブロックのデコードや、外部装置用のデコード信号であるチップセレクト信号のデコードを行うための回路である。チップセレクト信号により、メイン制御部41の内部回路、あるいは、周辺デバイスとなる外部装置を、選択的に有効動作させて、CPU41aからのアクセスが可能となる。 The address decode circuit 514 is a circuit for decoding each functional block inside the main control unit 41 and a chip select signal which is a decode signal for an external device. By the chip select signal, the internal circuit of the main control unit 41 or an external device serving as a peripheral device is selectively activated to enable access from the CPU 41a.

メイン制御部41は、例えば、ROM41bの記憶領域のうちプログラム等が格納されていない領域へのアクセスがあったとき、RAM41cの記憶領域のうちアクセス禁止が設定された領域へのアクセスがあったとき、すなわち正常な動作ではアクセスすることのないメモリ領域へのアクセスがあったときにイリーガルアクセスリセットを発生させることで、遊技の進行を不能化させるようになっており、ROM41bの未使用領域や動作とは関係しない領域、RAM41cの未使用領域等に不正なプログラムが格納された場合であっても、不正なプログラムが実行されてしまうことを防止できる。 For example, when the main control unit 41 accesses an area of the storage area of the ROM 41b in which a program or the like is not stored, or an access prohibited area of the storage area of the RAM 41c is accessed. That is, the game progress is disabled by generating an illegal access reset when there is an access to a memory area that is not accessed in normal operation, and an unused area or operation of the ROM 41b is performed. Even if an unauthorized program is stored in an area unrelated to the above, an unused area of the RAM 41c, etc., it is possible to prevent the unauthorized program from being executed.

また、メイン制御部41は、内部または外部によるリセットが発生することで起動することとなるが、この際、ROM41bに割り当てられ、割込処理の先頭アドレスが設定されるベクタテーブルに設定された値が、未使用を示す値であるか、プログラム等が実際に格納された領域を示す値であるか、を判定し、いずれの値でもない場合には起動しないようになっており、割込の発生等により本来意図していない処理が実行されてしまうことを事前に防止できる。 Further, the main control unit 41 is activated when an internal or external reset occurs, but at this time, the value assigned to the ROM 41b and set in the vector table in which the start address of the interrupt process is set. Determines whether the value is an unused value or a value that indicates the area where the program, etc. is actually stored, and if it is neither value, it will not start and the interrupt It is possible to prevent in advance processing that is not originally intended to be executed due to occurrence or the like.

メイン制御部41は、パラレル出力ポート513を介してサブ制御部91に各種のコマンドを送信する。メイン制御部41からサブ制御部91へ送信されるコマンドは一方向のみで送られ、サブ制御部91からメイン制御部41へ向けてコマンドが送られることはない。また、本実施例では、パラレル出力ポート513を介してサブ制御部91に対してコマンドが送信される構成、すなわちコマンドがパラレル信号にて送信される構成であるが、シリアル通信回路512を介してサブ制御部91に対してコマンドを送信する構成、すなわちコマンドをシリアル信号にて送信する構成としても良い。 The main control unit 41 transmits various commands to the sub control unit 91 via the parallel output port 513. The command transmitted from the main control unit 41 to the sub control unit 91 is transmitted in only one direction, and the command is not transmitted from the sub control unit 91 to the main control unit 41. Further, in the present embodiment, the command is transmitted to the sub-control unit 91 via the parallel output port 513, that is, the command is transmitted as a parallel signal. However, the command is transmitted via the serial communication circuit 512. The sub-control unit 91 may be configured to transmit a command, that is, the command may be transmitted as a serial signal.

また、メイン制御部41は、遊技制御基板40に接続された各種スイッチ類の検出状態がパラレル入力ポート511から入力される。そしてメイン制御部41は、これらパラレル入力ポート511から入力される各種スイッチ類の検出状態に応じて段階的に移行するメイン処理を実行する。また、メイン制御部41は、割込の発生によりメイン処理に割り込んで割込処理を実行できるようになっている。本実施例では、タイマ回路509にてタイムアウトが発生したこと、すなわち一定時間間隔(本実施例では、約0.56ms)毎にタイマ割込処理(メイン)を実行する。また、メイン制御部41は、割込処理の実行中に他の割込を自動的に禁止するように設定されているとともに、複数の割込が同時に発生した場合には、予め定められた順位によって優先して実行する割込が設定されている。尚、割込処理の実行中に他の割込要因が発生し、割込処理が終了してもその割込要因が継続している状態であれば、割込処理が終了した時点で割込禁止が自動的に解除され、その時点で新たな割込が発生することとなる。尚、割込処理の実行中に他の割込を自動的に禁止するように設定され、割込処理が終了した時点で割込禁止が自動的に解除されるのではなく、割込処理の開始時にプログラムによって他の割込を禁止し、割込処理の終了時にプログラムによって割込禁止を解除するようにしても良い。 Further, the main control unit 41 receives the detection states of various switches connected to the game control board 40 from the parallel input port 511. Then, the main control unit 41 executes a main process that shifts stepwise according to the detection states of various switches input from the parallel input port 511. Further, the main control unit 41 can interrupt the main process when an interrupt occurs and execute the interrupt process. In this embodiment, the timer circuit 509 executes a time-out, that is, the timer interrupt process (main) is executed at regular time intervals (about 0.56 ms in this embodiment). Further, the main control unit 41 is set so as to automatically prohibit other interrupts during execution of the interrupt process, and when a plurality of interrupts occur at the same time, a predetermined order is set. Has set the interrupt to be executed with priority. If another interrupt factor occurs during the execution of the interrupt process and the interrupt factor continues even after the interrupt process ends, the interrupt will occur at the end of the interrupt process. The prohibition is automatically lifted, and a new interrupt will be generated at that time. Note that other interrupts are set to be automatically prohibited during execution of the interrupt process, and the interrupt prohibition is not automatically released when the interrupt process is completed. Other interrupts may be prohibited by the program at the start, and the interrupt prohibition may be canceled by the program at the end of the interrupt process.

メイン制御部41は、メイン処理として遊技制御基板40に接続された各種スイッチ類の検出状態が変化するまでは制御状態に応じた処理を繰り返しループし、各種スイッチ類の検出状態の変化に応じて段階的に移行する処理を実行する。また、メイン制御部41は、一定時間間隔(本実施例では、約0.56ms)毎にタイマ割込処理(メイン)を実行する。尚、タイマ割込処理(メイン)の実行間隔は、メイン処理において制御状態に応じて繰り返す処理が一巡する時間とタイマ割込処理(メイン)の実行時間とを合わせた時間よりも長い時間に設定されており、今回と次回のタイマ割込処理(メイン)との間で必ず制御状態に応じて繰り返す処理が最低でも一巡することとなる。 The main control unit 41 repeatedly loops the processing according to the control state until the detection states of the various switches connected to the game control board 40 change as the main processing, and responds to the change of the detection states of the various switches. Execute the process of shifting in stages. Further, the main control unit 41 executes a timer interrupt process (main) at regular time intervals (about 0.56 ms in this embodiment). Note that the execution interval of the timer interrupt process (main) is set to a time longer than the sum of the time during which the process repeated according to the control state in the main process completes and the execution time of the timer interrupt process (main). As a result, between the present time and the next timer interrupt process (main), the process that repeats in accordance with the control state must be completed at least once.

演出制御基板90には、演出用スイッチ56が接続されており、この演出用スイッチ56の検出信号が入力されるようになっている。また、液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の演出装置が接続されており、これら演出装置は、演出制御基板90に搭載された後述のサブ制御部91による制御に基づいて駆動されるようになっている。尚、本実施例では、演出制御基板90に搭載されたサブ制御部91により、液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の演出装置の出力制御が行われる構成であるが、サブ制御部91とは別に演出装置の出力制御を直接的に行う出力制御部を演出制御基板90または他の基板に搭載し、サブ制御部91がメイン制御部41からのコマンドに基づいて演出装置の出力パターンを決定し、サブ制御部91が決定した出力パターンに基づいて出力制御部が演出装置の出力制御を行う構成としても良く、このような構成では、サブ制御部91及び出力制御部の双方によって演出装置の出力制御が行われることとなる。また、本実施例では、演出装置として液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55を例示しているが、演出装置は、これらに限られず、例えば、機械的に駆動する表示装置や機械的に駆動する役モノなどを演出装置として適用しても良い。 A production switch 56 is connected to the production control board 90, and a detection signal of the production switch 56 is input. Also, production devices such as a liquid crystal display 51, a production effect LED 52, speakers 53 and 54, a reel LED 55, etc. are connected, and these production devices are controlled by a sub-control unit 91 mounted on a production control board 90, which will be described later. It is designed to be driven based on. In this embodiment, the sub-control unit 91 mounted on the effect control board 90 controls the output of the effect devices such as the liquid crystal display 51, the effect effect LEDs 52, the speakers 53 and 54, and the reel LEDs 55. However, in addition to the sub control unit 91, an output control unit that directly controls the output of the production device is mounted on the production control substrate 90 or another substrate, and the sub control unit 91 is based on the command from the main control unit 41. The output pattern of the rendering device may be determined, and the output control unit may control the output of the rendering device based on the output pattern determined by the sub control unit 91. In such a configuration, the sub control unit 91 and the output control unit may be used. The output control of the rendering device is performed by both the units. In addition, in the present embodiment, the liquid crystal display 51, the effect LED 52, the speakers 53 and 54, and the reel LED 55 are illustrated as the production device, but the production device is not limited to these, and, for example, a mechanically driven display. A device or a mechanically driven role object may be applied as the production device.

演出制御基板90は、サブCPU91a、ROM91b、RAM91c、I/Oポート91dを備えたマイクロコンピュータにより構成されて演出の制御を行うサブ制御部91と、演出制御基板90に接続された液晶表示器51の表示制御を行う表示制御回路92と、演出効果LED52と、リールLED55の駆動制御を行うLED駆動回路93と、スピーカ53、54からの音声出力制御を行う音声出力回路94と、電源投入時またはサブCPU91aからの初期化命令が一定時間入力されないときにサブCPU91aにリセット信号を与えるリセット回路95と、演出制御基板90に接続されたスイッチ類から入力された検出信号を検出するスイッチ検出回路96と、日付情報及び時刻情報を含む時間情報を出力する時計装置97と、スロットマシン1に供給される電源電圧を監視し、電圧低下を検出したときに、その旨を示す電圧低下信号をサブCPU91aに対して出力する電断検出回路98と、その他の回路等、が搭載されている。 The effect control board 90 is composed of a microcomputer including a sub CPU 91a, a ROM 91b, a RAM 91c, and an I/O port 91d, and controls the effect, and a liquid crystal display 51 connected to the effect control board 90. Display control circuit 92 for performing display control, effect effect LED 52, LED drive circuit 93 for performing drive control of reel LED 55, audio output circuit 94 for performing audio output control from speakers 53, 54, power-on or A reset circuit 95 that gives a reset signal to the sub CPU 91a when an initialization command from the sub CPU 91a is not input for a certain period of time, and a switch detection circuit 96 that detects a detection signal input from switches connected to the production control board 90. , A clock device 97 that outputs time information including date information and time information, and a power supply voltage supplied to the slot machine 1 are monitored, and when a voltage drop is detected, a voltage drop signal indicating that is sent to the sub CPU 91a. An electric power failure detection circuit 98 that outputs the signal and other circuits are mounted.

サブCPU91aは、遊技制御基板40から送信されるコマンドを受けて、演出を行うための各種の制御を行うとともに、演出制御基板90に搭載された制御回路の各部を直接的または間接的に制御する。 The sub CPU 91a receives a command transmitted from the game control board 40, performs various controls for performing an effect, and directly or indirectly controls each part of the control circuit mounted on the effect control board 90. ..

リセット回路95は、遊技制御基板40においてメイン制御部41にシステムリセット信号を与えるリセット回路49よりもリセット信号を解除する電圧が低く定められており、電源投入時においてサブ制御部91は、メイン制御部41よりも早い段階で起動するようになっている。一方で、電断検出回路98は、遊技制御基板40においてメイン制御部41に電圧低下信号を出力する電断検出回路48よりも電圧低下信号を出力する電圧が低く定められており、電断時においてサブ制御部91は、メイン制御部41よりも遅い段階で停電を検知し、後述する電断処理(サブ)を行うこととなる。 The reset circuit 95 is set to have a lower voltage for releasing the reset signal than the reset circuit 49 that gives the system reset signal to the main control unit 41 in the game control board 40, and the sub-control unit 91 controls the main control when the power is turned on. It is designed to be activated earlier than the unit 41. On the other hand, the power failure detection circuit 98 is set to have a lower voltage for outputting the voltage drop signal than the power failure detection circuit 48 for outputting the voltage drop signal to the main control unit 41 in the game control board 40. In, the sub control unit 91 detects the power failure at a stage later than the main control unit 41, and performs the power interruption process (sub) described later.

サブ制御部91は、メイン制御部41と同様に、割込機能を備えており、メイン制御部41からのコマンド受信時に割込を発生させて、メイン制御部41から送信されたコマンドを取得し、バッファに格納するコマンド受信割込処理を実行する。また、サブ制御部91は、システムクロックの入力数が一定数に到達する毎、すなわち一定時間間隔(約2ms)毎に割込を発生させて後述するタイマ割込処理(サブ)を実行する。また、サブ制御部91は、メイン制御部41とは異なり、コマンドの受信に基づいて割込が発生した場合には、タイマ割込処理(サブ)の実行中であっても、当該処理に割り込んでコマンド受信割込処理を実行し、タイマ割込処理(サブ)の契機となる割込が同時に発生してもコマンド受信割込処理を最優先で実行するようになっている。また、サブ制御部91にも、停電時においてバックアップ電源が供給されており、バックアップ電源が供給されている間は、RAM91cに記憶されているデータが保持されるようになっている。 Like the main control unit 41, the sub control unit 91 has an interrupt function, generates an interrupt when receiving a command from the main control unit 41, and acquires the command transmitted from the main control unit 41. , Execute the command reception interrupt process to store in the buffer. Further, the sub-control unit 91 generates an interrupt each time the number of inputs of the system clock reaches a fixed number, that is, at a fixed time interval (about 2 ms), and executes a timer interrupt process (sub) described later. Further, unlike the main control unit 41, the sub control unit 91 interrupts the process even if the timer interrupt process (sub) is being executed when the interrupt is generated based on the reception of the command. The command reception interrupt process is executed at 1, and the command reception interrupt process is executed with the highest priority even if the interrupts that trigger the timer interrupt process (sub) occur simultaneously. Further, the backup power supply is also supplied to the sub control unit 91 at the time of power failure, and the data stored in the RAM 91c is retained while the backup power supply is supplied.

本実施例のスロットマシン1は、設定値に応じてメダルの払出率が変わるものである。詳しくは、後述する内部抽選、ナビストック抽選、上乗せ抽選等の遊技者に対する有利度に影響する抽選において設定値に応じた当選確率を用いることにより、メダルの払出率が変わるようになっている。設定値は1〜6の6段階からなり、6が最も払出率が高く、5、4、3、2、1の順に値が小さくなるほど払出率が低くなる。すなわち設定値として6が設定されている場合には、遊技者にとって最も有利度が高く、5、4、3、2、1の順に値が小さくなるほど有利度が段階的に低くなる。 In the slot machine 1 of this embodiment, the payout rate of medals changes according to the set value. Specifically, the payout rate of medals is changed by using the winning probability according to the set value in the lottery such as the internal lottery, the navigation stock lottery, and the additional lottery, which will be described later, which affects the advantage to the player. The set value is made up of 6 levels from 1 to 6, where 6 is the highest payout rate, and the smaller the value is in the order of 5, 4, 3, 2, 1, the lower the payout rate. That is, when 6 is set as the set value, the advantage is the highest for the player, and as the value decreases in the order of 5, 4, 3, 2, 1, the advantage decreases in stages.

設定値を変更するためには、設定キースイッチ37をon状態としてからスロットマシン1の電源をonする必要がある。設定キースイッチ37をon状態として電源をonすると、設定値表示器24にRAM41cから読み出された設定値が表示値として表示され、リセット/設定スイッチ38の操作による設定値の変更が可能な設定変更状態に移行する。設定変更状態において、リセット/設定スイッチ38が操作されると、設定値表示器24に表示された表示値が1ずつ更新されていく(設定値6からさらに操作されたときは、設定値1に戻る)。そして、スタートスイッチ7が操作されると表示値を設定値として確定する。そして、設定キースイッチ37がoffされると、確定した表示値(設定値)がメイン制御部41のRAM41cに格納され、遊技の進行が可能な状態に移行する。 In order to change the set value, it is necessary to turn on the setting key switch 37 and then turn on the power of the slot machine 1. When the setting key switch 37 is turned on and the power is turned on, the setting value read from the RAM 41c is displayed as a display value on the setting value display 24, and the setting value can be changed by operating the reset/setting switch 38. Transition to change state. When the reset/setting switch 38 is operated in the setting change state, the display value displayed on the setting value display 24 is updated by 1 (when the setting value 6 is further operated, it is changed to the setting value 1). Return). When the start switch 7 is operated, the display value is set as the set value. Then, when the setting key switch 37 is turned off, the confirmed display value (setting value) is stored in the RAM 41c of the main control unit 41, and the game is allowed to proceed.

尚、設定キースイッチ37がon状態で電源投入された場合に、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定変更状態に移行する構成としても良く、このような構成とすることで、前面扉1bが開放されていない状態で不正に設定変更がされてしまうことを防止できる。また、前面扉1bの開放に対応する検出がされていることを条件に、設定変更状態に移行する構成においては、設定変更状態に移行後、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされなくなっても、設定変更状態を維持することが好ましく、これにより、設定変更中に前面扉1bが一時的に閉じてしまっても、再度、設定変更状態に移行させるための操作を必要とせず、設定変更操作が煩雑となってしまうことがない。また、設定変更状態に移行後、スタートスイッチ7が操作されて設定値が確定した後、設定キースイッチ37がoffとなったときに、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定変更状態を終了して遊技の進行が可能な状態に移行する構成としても良く、このような構成においても、前面扉1bが開放されていない状態で不正に設定変更がされてしまうことを防止できる。 It should be noted that, when the setting key switch 37 is turned on and the power is turned on, the door open detection switch 25 may detect the opening of the front door 1b, and the setting change state may be set. Of course, with such a configuration, it is possible to prevent the settings from being illegally changed while the front door 1b is not opened. Further, in the configuration in which the setting change state is entered on condition that the detection corresponding to the opening of the front door 1b is performed, the opening door detection switch 25 corresponds to the opening of the front door 1b after the setting change state. It is preferable to maintain the setting change state even if the detection is stopped, so that even if the front door 1b is temporarily closed during the setting change, the operation for shifting to the setting change state again can be performed. It is not necessary and the setting change operation does not become complicated. Further, after the start switch 7 is operated and the set value is confirmed after the setting is changed, when the setting key switch 37 is turned off, the door open detection switch 25 detects the opening of the front door 1b. It may be configured to end the setting change state and shift to a state in which the game can proceed on condition that the front door 1b is not opened even in such a configuration. It is possible to prevent the settings from being changed.

また、設定値を確認するためには、ゲーム終了後、賭数が設定されていない状態で設定キースイッチ37をon状態とすれば良い。このような状況で設定キースイッチ37をon状態とすると、設定値表示器24にRAM41cから読み出された設定値が表示されることで設定値を確認可能な設定確認状態に移行する。設定確認状態においては、ゲームの進行が不能であり、設定キースイッチ37をoff状態とすることで、設定確認状態が終了し、ゲームの進行が可能な状態に復帰することとなる。 Further, in order to confirm the set value, after the game is over, the setting key switch 37 may be turned on in a state where the bet number is not set. When the setting key switch 37 is turned on in such a situation, the setting value read out from the RAM 41c is displayed on the setting value display 24, so that the setting value is confirmed. In the setting confirmation state, the game cannot proceed, and by setting the setting key switch 37 to the off state, the setting confirmation state ends, and the game returns to a state in which the game can proceed.

尚、ゲーム終了後、賭数が設定されていない状態で設定キースイッチ37がon状態となったときに、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定確認状態に移行する構成としても良く、このような構成とすることで、前面扉1bが開放されていない状態で不正に設定値が確認されてしまうことを防止できる。また、前面扉1bの開放に対応する検出がされていることを条件に、設定確認状態に移行する構成においては、設定確認状態に移行後、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされなくなっても、設定確認状態を維持することが好ましく、これにより、設定確認中に前面扉1bが一時的に閉じてしまっても、再度、設定確認状態に移行させるための操作を必要とせず、設定確認操作が煩雑となってしまうことがない。また、設定確認状態に移行後、スタートスイッチ7が操作されて設定値が確定した後、設定キースイッチ37がoffとなったときに、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定確認状態を終了して遊技の進行が可能な状態に復帰する構成としても良く、このような構成においても、前面扉1bが開放されていない状態で不正に設定値が確認されてしまうことを防止できる。 After the game is over, when the setting key switch 37 is turned on in a state where the bet number is not set, it is detected that the door open detection switch 25 detects the opening of the front door 1b. In addition, the configuration may be changed to the setting confirmation state, and with such a configuration, it is possible to prevent the setting value from being illegally confirmed while the front door 1b is not opened. In addition, in the configuration that shifts to the setting confirmation state on the condition that the detection corresponding to the opening of the front door 1b has been performed, after the shift to the setting confirmation state, the front door 1b is opened by the door opening detection switch 25. It is preferable to maintain the setting confirmation state even if it is not detected, so that even if the front door 1b is temporarily closed during the setting confirmation, the operation for shifting to the setting confirmation state again can be performed. It is not necessary and the setting confirmation operation does not become complicated. Further, after the start switch 7 is operated and the set value is confirmed after the setting confirmation state, the door open detection switch 25 detects the opening of the front door 1b when the setting key switch 37 is turned off. It may be configured to end the setting confirmation state and return to a state in which the game can be progressed on condition that the front door 1b is not opened even in such a configuration. It is possible to prevent the set value from being confirmed.

本実施例のスロットマシン1においては、メイン制御部41は、タイマ割込処理(メイン)を実行する毎に、電断検出回路48からの電圧低下信号が検出されているか否かを判定する停電判定処理を行い、停電判定処理において電圧低下信号が検出されていると判定した場合に、次回復帰時にRAM41cのデータが正常か否かを判定するためのデータを設定する電断処理(メイン)を実行する。 In the slot machine 1 of the present embodiment, the main control unit 41 determines whether or not the voltage drop signal from the power interruption detection circuit 48 is detected every time the timer interrupt processing (main) is executed. When the determination processing is performed and it is determined that the voltage drop signal is detected in the power failure determination processing, the power interruption processing (main) for setting the data for determining whether the data of the RAM 41c is normal at the next recovery is performed. Execute.

そして、メイン制御部41は、その起動時においてRAM41cのデータが正常であることを条件に、RAM41cに記憶されているデータに基づいてメイン制御部41の処理状態を電断前の状態に復帰させるが、RAM41cのデータが正常でない場合には、RAM異常と判定し、RAM異常エラーコードをレジスタにセットしてRAM異常エラー状態に制御し、遊技の進行を不能化させるようになっている。 Then, the main control unit 41 restores the processing state of the main control unit 41 to the state before the power interruption based on the data stored in the RAM 41c, provided that the data in the RAM 41c is normal at the time of its activation. However, when the data in the RAM 41c is not normal, it is determined that the RAM is abnormal, the RAM abnormality error code is set in the register, the RAM abnormality error state is controlled, and the progress of the game is disabled.

エラー状態は、リセット操作(リセット/設定スイッチ38またはリセットスイッチ23の操作)により解除される通常エラー状態と、前述した設定変更状態に移行し、新たな設定値が設定されるまで解除されることがない特殊エラー状態と、を含み、RAM異常エラー状態は、特殊エラー状態であり、一度RAM異常エラー状態に制御されると、設定変更状態に移行し、新たな設定値が設定されるまで解除されることがない。 The error state must be released until a normal error state is released by a reset operation (operation of the reset/setting switch 38 or the reset switch 23) and the above-mentioned setting change state, and a new set value is set. There is no special error state, and the RAM abnormal error state is a special error state. Once the RAM abnormal error state is controlled, it shifts to the setting change state and is released until a new set value is set. Never be done.

また、サブ制御部91もタイマ割込処理(サブ)において電断検出回路98からの電圧低下信号が検出されているか否かを判定し、電圧低下信号が検出されていると判定した場合に、次回復帰時にRAM91cのデータが正常か否かを判定するためのデータを設定する電断処理(サブ)を実行する。 The sub control unit 91 also determines whether or not the voltage drop signal from the power failure detection circuit 98 is detected in the timer interrupt process (sub), and when it is determined that the voltage drop signal is detected, When returning next time, an electric power interruption process (sub) for setting data for determining whether the data in the RAM 91c is normal is executed.

そして、サブ制御部91は、その起動時においてRAM91cのデータが正常であることを条件に、RAM91cに記憶されているデータに基づいてサブ制御部91の処理状態を電断前の状態に復帰させるが、RAM91cのデータが正常でない場合には、RAM異常と判定し、RAM91cを初期化するようになっている。この場合、メイン制御部41と異なり、RAM91cが初期化されるのみで演出の実行が不能化されることはない。 Then, the sub-control unit 91 restores the processing state of the sub-control unit 91 to the state before the power interruption based on the data stored in the RAM 91c on condition that the data in the RAM 91c is normal at the time of its activation. However, if the data in the RAM 91c is not normal, it is determined that the RAM is abnormal and the RAM 91c is initialized. In this case, unlike the main control unit 41, the RAM 91c is only initialized and the execution of the effect is not disabled.

また、サブ制御部91は、その起動時においてRAM91cのデータが正常であると判断された場合でも、メイン制御部41から設定変更状態に移行した旨を示す後述の設定コマンドを受信した場合、起動後一定時間が経過してもメイン制御部41の制御状態が復帰した旨を示す後述の復帰コマンドも設定コマンドも受信しない場合にも、RAM91cを初期化するようになっている。この場合も、RAM91cが初期化されるのみで演出の実行が不能化されることはない。 Even if the sub-control unit 91 determines that the data in the RAM 91c is normal at the time of its activation, if the sub-control unit 91 receives a setting command, which will be described later, indicating that the main control unit 41 has changed to the setting change state, the sub-control unit 91 is activated. The RAM 91c is also initialized when neither a later-described return command nor a setting command indicating that the control state of the main control unit 41 has been returned is received even after a lapse of a certain time thereafter. Also in this case, the RAM 91c is only initialized and the execution of the effect is not disabled.

次に、メイン制御部41のRAM41cの初期化について説明する。メイン制御部41のRAM41cの格納領域のうちの使用可能領域は、遊技RAM領域、未使用領域4、非遊技RAM領域に区分されている(図7(b)参照)。さらに遊技RAM領域は、特別ワーク、重要ワーク、一般ワーク、未使用領域3、遊技スタック領域に区分されている。特別ワークは、設定値が変更されても初期化されないデータが格納されるワークであり、ソフトウェア乱数、設定値、遊技状態を示すデータ等が格納される。重要ワークは、特定の遊技状態(RB、BB)の終了時に初期化すると不都合のあるデータが格納されるワークであり、LEDの表示用データ、入力ポート、出力ポートの入出力データ、遊技時間の計時カウンタ等が格納される。一般ワークは、特定の遊技状態の終了時に初期化可能なデータが格納されるワークであり、停止図柄、メダルの払出枚数等が格納される。未使用領域3は、いずれのプログラムでも使用されないワークである。遊技スタック領域は、後述する遊技プログラムの実行中にメイン制御部41のレジスタから退避したデータが格納される領域である。 Next, the initialization of the RAM 41c of the main controller 41 will be described. The usable area of the storage area of the RAM 41c of the main control unit 41 is divided into a game RAM area, an unused area 4, and a non-game RAM area (see FIG. 7B). Furthermore, the game RAM area is divided into special work, important work, general work, unused area 3, and game stack area. The special work is a work that stores data that is not initialized even if the setting value is changed, and stores software random numbers, setting values, data indicating a gaming state, and the like. Important work is a work in which inconvenient data is stored if initialized at the end of a specific game state (RB, BB), LED display data, input port, output port input/output data, game time A time counter and the like are stored. The general work is a work in which data that can be initialized at the end of a specific game state is stored, and a stop symbol, the number of medals paid out, and the like are stored. The unused area 3 is a work that is not used by any program. The game stack area is an area where the data saved from the register of the main control unit 41 during the execution of the game program described later is stored.

本実施例においてメイン制御部41は、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されているとき、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されていないとき、設定変更状態が終了されたとき、特定の遊技状態(RB、BB)の終了時、1ゲームの終了時、の5つからなる初期化条件が成立した際に、各初期化条件に応じて初期化される領域の異なる5種類の初期化を行う。 In the present embodiment, the main control unit 41, when the data of the RAM 41c is destroyed at the time of starting with the setting key switch 37 being ON, when the data of the RAM 41c is being started at the time of starting with the setting key switch 37 being ON. When not initialized, when the setting change state is finished, when a specific game state (RB, BB) is finished, when one game is finished, each initial condition is established when five initialization conditions are satisfied. Five types of initialization are performed in which the areas to be initialized are different according to the initialization conditions.

初期化0は、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されているときに行う初期化であり、初期化0では、使用可能領域全ての領域が初期化される。初期化1は、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されていないときに行う初期化であり、初期化1では、遊技RAM領域の特別ワーク以外の領域、非遊技RAM領域の全ての領域が初期化される。初期化2は、設定キースイッチ37がONの状態での起動で設定変更状態が終了された後に行う初期化であり、初期化2では、遊技RAM領域のうち特別ワーク及び遊技スタック領域(使用中)以外の領域が初期化される。初期化3は、特定の遊技状態の終了時に行う初期化であり、初期化3では、遊技RAM領域のうち一般ワーク、未使用領域3及び遊技スタック領域(未使用)が初期化される。初期化4は、1ゲーム終了時に行う初期化であり、初期化4では、遊技RAM領域の未使用領域3及び遊技スタック領域(未使用)が初期化される。尚、設定値や遊技状態を示すデータの格納領域は、特別ワークに割り当てられており、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されていないとき、すなわちRAM41cのデータが正常で設定変更される場合には、設定値や遊技状態を示すデータが保持されることとなる。また、後述のタイマカウンタの格納領域は、重要ワークに割り当てられており、ゲームの終了時や特定の遊技状態の終了時には初期化されることなく保持されることとなる。 Initialization 0 is initialization performed when the data in the RAM 41c is destroyed at the time of startup with the setting key switch 37 in the ON state. In initialization 0, all usable areas are initialized. .. Initialization 1 is initialization performed when the data in the RAM 41c is not destroyed at the time of startup with the setting key switch 37 in the ON state. In initialization 1, in the game RAM area other than special work, non-operation All areas of the game RAM area are initialized. Initialization 2 is initialization that is performed after the setting change state has been completed by starting with the setting key switch 37 in the ON state. In initialization 2, the special work and game stack area (in use) in the game RAM area is used. Areas other than) are initialized. Initialization 3 is initialization performed at the end of a specific game state. In initialization 3, general work, unused area 3 and game stack area (unused) in the game RAM area are initialized. Initialization 4 is initialization performed at the end of one game. In initialization 4, the unused area 3 and the game stack area (unused) of the game RAM area are initialized. Incidentally, the storage area of the data indicating the set value and the game state is assigned to the special work, and when the data of the RAM 41c is not destroyed at the time of starting with the setting key switch 37 in the ON state, that is, the data of the RAM 41c. When the setting is changed normally, the setting value and data indicating the game state are held. A storage area of a timer counter, which will be described later, is assigned to an important work, and is retained without being initialized at the end of the game or at the end of a specific game state.

また、本実施例のメイン制御部41は、上述の初期化実行する際には、初期化対象のRAMアドレスとして開始アドレスと終了アドレスが指定されることで、指定された開始アドレスから1バイト分のデータを0で上書きした後、当該1バイトのデータの論理和を計算し、計算結果が0であれば、次のアドレスに移動する処理を、指定された終了アドレスに達するまで繰り返し行うことで、指定されたアドレスの範囲のRAM領域を初期化する。 In addition, the main control unit 41 of the present embodiment, when performing the above-described initialization, specifies the start address and the end address as the RAM addresses to be initialized, so that one byte from the specified start address. After overwriting the data of 0 with 0, the logical sum of the 1-byte data is calculated, and if the calculation result is 0, the process of moving to the next address is repeated until the specified end address is reached. , Initializes the RAM area in the specified address range.

本実施例におけるメイン制御部41は、リセットの発生により起動すると、起動時設定を行う。起動時設定では、メイン制御部41が備えるステータスフラグを初期化する。ステータスフラグは、命令の演算結果や実行結果の状態を保持するデータであり、特に割込の禁止/許可を設定する割込マスタ許可フラグを含む。割込マスタ許可フラグの初期値は割込の禁止を示す値であるため、メイン制御部41は、割込が禁止された状態で起動することとなる。その後、後述のHWパラメータを参照して各種機能を設定した後、プログラム/データ領域に格納されたプログラムに従って、リセットが発生したときに、割込禁止の状態で起動するとともに、その後、最初に実行する初期設定処理を開始する。 When the main control unit 41 in the present embodiment is activated by the occurrence of a reset, the main control unit 41 sets the activation time. In the startup setting, the status flag included in the main control unit 41 is initialized. The status flag is data that holds the state of the operation result or execution result of an instruction, and particularly includes an interrupt master permission flag that sets prohibition/permission of interrupt. Since the initial value of the interrupt master permission flag is a value indicating prohibition of interrupts, the main control unit 41 is activated in a state where interrupts are prohibited. After that, after setting various functions by referring to the HW parameters described later, when a reset occurs according to the program stored in the program/data area, it is activated in the interrupt-disabled state and then first executed. Start the initialization process.

メイン制御部41は、初期設定処理において、まず、割込を禁止に設定した後、起動時に設定キースイッチ37がONの状態であるか否かを判定し、起動時に設定キースイッチ37がONの状態であると判定された場合に、設定変更処理に移行し、設定変更処理の開始時にRAM41cの初期化を行う。この際、RAM41cのデータが正常であれば、特別ワークを保持してそれ以外の領域を初期化することで、設定変更後も変更前の制御状態(設定値や遊技状態等)の一部を保持することができる一方で、RAM41cのデータが正常でない場合には、特別ワークを含む使用可能領域の全ての領域を初期化することで、RAM41cのデータに異常を確実に解消することができるようになっている。 In the initial setting process, the main control unit 41 first determines whether or not the setting key switch 37 is in the ON state at the time of startup after setting the interrupt to be disabled, and the setting key switch 37 is turned on at the time of startup. If it is determined that the state is the state, the process proceeds to the setting change process, and the RAM 41c is initialized at the start of the setting change process. At this time, if the data in the RAM 41c is normal, by holding the special work and initializing the other areas, a part of the control state (setting value, game state, etc.) before the change is set even after the setting is changed. On the other hand, when the data in the RAM 41c is not normal, the data in the RAM 41c can be reliably corrected for an abnormality by initializing the entire usable area including the special work. It has become.

RAM41cを初期化した後、割込を許可に設定し、リセット/設定スイッチ38が操作れる毎に設定値を1〜6の範囲で1ずつ更新し、スタートスイッチ7のONが検出された後、設定キースイッチ37のONが検出されたときの設定値をRAM41cに格納して、設定変更処理を終了させる。 After the RAM 41c is initialized, the interrupt is set to allow, the set value is updated by 1 in the range of 1 to 6 each time the reset/setting switch 38 is operated, and after ON of the start switch 7 is detected, The setting value when the ON of the setting key switch 37 is detected is stored in the RAM 41c, and the setting changing process is ended.

このように、メイン制御部41は、割込マスタ許可フラグの初期値が割込の禁止を示す値であり、割込が禁止された状態で起動し、起動後の初期設定処理においても、まず、割込を禁止に設定したうえで、その後の初期設定処理を実行するようになっているので、意図しない割込が発生することを防止できる。 In this way, the main control unit 41 starts up in a state where the initial value of the interrupt master permission flag is prohibition of interrupts and interrupts are prohibited, and even in the initial setting process after activation, first, Since the interrupt is set to be prohibited and the subsequent initial setting process is executed, it is possible to prevent an unintended interrupt from occurring.

また、メイン制御部41は、設定変更処理の終了後、遊技単位毎にゲームの進行に応じて段階的に処理を行うメイン処理を実行する。また、メイン処理では、遊技単位毎にRAM41cの初期化を行うとともに、設定変更処理の終了時にもRAM41cの初期化を行う。そして、設定変更処理の終了後、メイン処理においてRAM41cの初期化を行う処理の前の段階からメイン処理を開始するようになっており、設定変更処理の終了後のRAM41cの初期化と、遊技単位毎のRAM41cの初期化と、を共通の処理にて行うことが可能となる。 In addition, the main control unit 41, after the setting change process is completed, executes a main process for performing processing step by step according to the progress of the game for each game unit. In the main process, the RAM 41c is initialized for each game unit, and the RAM 41c is also initialized at the end of the setting change process. Then, after the setting change process is completed, the main process is started from the stage before the process of initializing the RAM 41c in the main process, and the initialization of the RAM 41c is completed after the setting change process and the game unit. It is possible to perform the initialization of the RAM 41c for each of them in a common process.

本実施例のメイン制御部41は、設定変更処理及びメイン処理において、遊技領域初期化処理を実行することにより、RAM41cの所定領域を初期化する。遊技領域初期化処理では、初期化対象RAMの先頭アドレスと終了アドレスとが指定されることにより、初期化対象RAMの容量を算出し、初期化対象RAMの先頭アドレスから、初期化対象RAMの容量分の領域を順次クリアすることで、遊技RAM領域のうち指定された初期化対象RAMの領域を初期化する。 The main control unit 41 of this embodiment initializes a predetermined area of the RAM 41c by executing a game area initialization process in the setting change process and the main process. In the game area initialization process, the capacity of the initialization target RAM is calculated by specifying the start address and end address of the initialization target RAM, and the capacity of the initialization target RAM is calculated from the start address of the initialization target RAM. By sequentially clearing the minute area, the area of the designated initialization target RAM in the game RAM area is initialized.

尚、初期化対象RAMの先頭アドレスと終了アドレスとを指定することで、当該先頭アドレスを指定アドレスの初期値とし、指定アドレスのデータをクリアした後に指定アドレスを次のアドレスに更新する処理を、指定アドレスが当該終了アドレスとなるまで繰り返し実行することで、初期化対象RAMの先頭アドレスから終了アドレスまでの領域が初期化される構成としても良い。 By specifying the start address and end address of the initialization target RAM, the start address is set as the initial value of the specified address, and after the data of the specified address is cleared, the specified address is updated to the next address. The region from the start address to the end address of the initialization target RAM may be initialized by repeatedly executing the specified address until the end address is reached.

本実施例の非遊技領域初期化処理では、初期化対象RAMの容量分のRAM領域を初期化対象RAMの先頭アドレス(未使用領域4の先頭アドレス)から順次クリアすることで、初期化対象RAMの先頭アドレスから終了アドレスまでの領域、すなわち、未使用領域4及び非遊技RAM領域を初期化する。 In the non-gaming area initialization process of the present embodiment, the initialization target RAM is cleared by sequentially clearing the RAM area for the capacity of the initialization target RAM from the start address of the initialization target RAM (the start address of the unused area 4). The area from the start address to the end address, that is, the unused area 4 and the non-game RAM area are initialized.

尚、初期化対象RAMの先頭アドレスと終了アドレスとを指定することで、当該先頭アドレスを指定アドレスの初期値とし、指定アドレスのデータをクリアした後に指定アドレスを次のアドレスに更新する処理を、指定アドレスが当該終了アドレスとなるまで繰り返し実行することで、初期化対象RAMの先頭アドレスから終了アドレスまでの領域が初期化される構成としても良い。 By specifying the start address and end address of the initialization target RAM, the start address is set as the initial value of the specified address, and after the data of the specified address is cleared, the specified address is updated to the next address. The region from the start address to the end address of the initialization target RAM may be initialized by repeatedly executing the specified address until the end address is reached.

また、本実施例の非遊技領域初期化処理では、初期化対象RAMの先頭アドレスとして未使用領域4の先頭アドレスを設定することで、未使用領域4と非遊技RAM領域の全ての領域を初期化する構成であるが、非遊技領域初期化処理は、非遊技RAM領域の少なくとも一部の領域が初期化されるものであれば良く、非遊技RAM領域の一部の領域を初期化するものでも、非遊技RAM領域の一部の領域及び未使用領域4を初期化するものでも良い。 In addition, in the non-game area initialization processing of the present embodiment, by setting the start address of the unused area 4 as the start address of the initialization target RAM, all areas of the unused area 4 and the non-game RAM area are initialized. However, the non-game area initialization process may be such that at least a part of the non-game RAM area is initialized, and a part of the non-game RAM area is initialized. However, a part of the non-gaming RAM area and the unused area 4 may be initialized.

また、本実施例では、遊技領域初期化処理及び非遊技領域初期化処理において、指定アドレスに記憶されている1バイトのデータを0で上書きしてクリアし、その後、当該1バイトのデータの論理和を算出して、算出結果が0か否かを判定し、算出結果が0でない場合には、再度、1バイトのデータを0で上書きしてクリアする処理を行うことで、該当するアドレスのデータをクリアする構成であるが、指定アドレスに記憶されている1バイトのデータを0で上書きしてクリアするのみの構成でも良い。 Further, in the present embodiment, in the game area initialization processing and the non-game area initialization processing, the 1-byte data stored at the designated address is overwritten with 0 to be cleared, and then the logic of the 1-byte data is set. The sum is calculated, and it is determined whether or not the calculation result is 0. If the calculation result is not 0, the 1-byte data is again overwritten with 0 to clear it, and Although the data is cleared, the 1-byte data stored at the designated address may be overwritten with 0 and only cleared.

本実施例のスロットマシン1は、遊技状態(RT0〜RT4、RB)に応じて設定可能な賭数の規定数(本実施例では、RT0〜4においては3、RBにおいては2)が定められており、遊技状態に応じて定められた規定数の賭数が設定されたことを条件にゲームを開始させることが可能となる。尚、本実施例では、遊技状態に応じた規定数の賭数が設定された時点で、入賞ラインLNが有効化される。 In the slot machine 1 of the present embodiment, a specified number of bets that can be set according to the gaming state (RT0 to RT4, RB) (3 in RT0 to 4 and 2 in RB in this embodiment) is set. Therefore, it is possible to start the game on condition that the bet number of the prescribed number determined according to the gaming state is set. In the present embodiment, the pay line LN is activated at the time when a specified number of bets is set according to the gaming state.

そして、本実施例では、全てのリール2L、2C、2Rが停止した際に、有効化された入賞ライン(本実施例の場合、常に全ての入賞ラインが有効化されるため、以下では、有効化された入賞ラインを単に入賞ラインという)上に役と呼ばれる図柄の組合せが揃うと入賞となる。役は、同一図柄の組合せであっても良いし、異なる図柄を含む組合せであっても良い。 In the present embodiment, when all the reels 2L, 2C, 2R are stopped, the activated winning line (in the present embodiment, all the winning lines are always activated. The prize-winning line that has been made into is simply called the prize-winning line). The winning combination may be a combination of the same symbols or a combination including different symbols.

入賞となる役の種類は、遊技状態に応じて定められているが、大きく分けて、メダルの払い出しを伴う小役と、賭数の設定を必要とせずに次のゲームを開始可能となる再遊技役と、遊技者にとって有利な遊技状態への移行を伴う特別役と、がある。以下では、小役と再遊技役をまとめて一般役とも呼ぶ。遊技状態に応じて定められた各役の入賞が発生するためには、後述する内部抽選に当選して、当該役の当選フラグがRAM41cに設定されている必要がある。尚、これら各役の当選フラグのうち、小役及び再遊技役の当選フラグは、当該フラグが設定されたゲームにおいてのみ有効とされ、次のゲームでは無効となるが、特別役の当選フラグは、当該フラグにより許容された役の組合せが揃うまで有効とされ、許容された役の組合せが揃ったゲームにおいて無効となる。すなわち特別役の当選フラグが一度当選すると、例え、当該フラグにより許容された役の組合せを揃えることができなかった場合にも、その当選フラグは無効とされずに、次のゲームへ持ち越されることとなる。 The type of winning combination is determined according to the game state, but it can be broadly divided into small winning combinations with payout of medals and the next game that can be started without the need to set the bet number. There are a gaming role and a special role accompanied by a transition to a gaming state that is advantageous to the player. Below, the small winning combination and the re-playing combination are collectively referred to as a general winning combination. In order for the winning of each winning combination determined according to the gaming state to occur, it is necessary to win an internal lottery described later and the winning flag of the winning combination is set in the RAM 41c. Of the winning flags for each of these winning combinations, the winning flags for the small winning combination and the replaying winning combination are valid only in the game in which the flags are set, and are invalid in the next game, but the winning flags for the special winning combinations are The flag is valid until the combination of the allowed combinations is prepared by the flag, and is invalid in the game in which the combination of the allowed combinations is prepared. That is, once the winning flag of a special winning combination is won, even if the combination of winning combinations allowed by the flag cannot be aligned, the winning flag is not invalidated and carried over to the next game. Becomes

次に、本実施例の内部抽選について説明する。内部抽選は、メイン制御部41が、上記した各役への入賞を許容するか否かを、全てのリール2L、2C、2Rの表示結果が導出される以前(具体的には、スタートスイッチ7の検出時)に決定するものである。内部抽選では、まず、スタートスイッチ7の検出時に内部抽選用の乱数値(0〜65535の整数)を取得する。詳しくは、乱数回路508bにより生成され、乱数回路508bの乱数値レジスタに格納されている値をRAM41cに割り当てられた抽選用ワークに設定する。そして、遊技状態(RT0〜4、RB)に応じて定められた各役について、抽選用ワークに格納された数値データと、現在の遊技状態、賭数及び設定値に応じて定められた各役の判定値数に応じて入賞を許容するか否かの判定が行われる。 Next, the internal lottery of this embodiment will be described. In the internal lottery, the main control unit 41 determines whether or not the winning of each winning combination described above is permitted before the display results of all reels 2L, 2C, and 2R are derived (specifically, the start switch 7 Is detected). In the internal lottery, first, when the start switch 7 is detected, a random number value for the internal lottery (an integer of 0 to 65535) is acquired. Specifically, the value generated by the random number circuit 508b and stored in the random number value register of the random number circuit 508b is set in the lottery work assigned to the RAM 41c. Then, for each winning combination determined according to the gaming state (RT0 to 4, RB), numerical data stored in the lottery work and each winning combination determined according to the current gaming state, the bet number, and the set value. Whether or not the winning is allowed is determined according to the number of determination values.

内部抽選では、内部抽選の対象となる役、現在の遊技状態及び設定値に対応して定められた判定値数を、内部抽選用の乱数値(抽選用ワークに格納された数値データ)に順次加算し、加算の結果がオーバーフローしたときに、当該役に当選したものと判定される。このため、判定値数の大小に応じた確率(判定値数/65536)で役が当選することとなる。 In the internal lottery, the number of judgment values determined corresponding to the winning combination of the internal lottery, the current game state and the set value is sequentially applied to the random number value for the internal lottery (numerical data stored in the lottery work). It is determined that the winning combination has been won when the addition is made and the result of the addition overflows. Therefore, the winning combination is won with a probability (the number of judgment values/65536) according to the size of the number of judgment values.

そして、内部抽選の結果を示す当選番号をRAM41cに設定する。当選番号は、内部当選フラグの設定、ナビ報知、コマンド作成、リール2L、2C、2Rの停止制御等に用いられる。 Then, the winning number indicating the result of the internal lottery is set in the RAM 41c. The winning number is used for setting an internal winning flag, navigator notification, command creation, stop control of reels 2L, 2C, 2R, and the like.

また、いずれかの役の当選が判定された場合には、当選番号に基づいて当選が判定された役に対応する当選フラグをRAM41cに割り当てられた内部当選フラグ格納ワークに設定する。内部当選フラグ格納ワークは、2バイトの格納領域にて構成されており、そのうちの上位バイトが、特別役の当選フラグが設定される特別役格納ワークとして割り当てられ、下位バイトが、一般役の当選フラグが設定される一般役格納ワークとして割り当てられている。詳しくは、特別役が当選した場合には、当該特別役が当選した旨を示す特別役の当選フラグを特別役格納ワークに設定し、一般役が当選した場合には、当該一般役が当選した旨を示す一般役の当選フラグを一般役格納ワークに設定する。尚、いずれの役及び役の組合せにも当選しなかった場合には、特別役格納ワーク及び一般役格納ワークをクリアする。 Further, when it is determined that one of the winning combinations is won, the winning flag corresponding to the winning combination determined based on the winning number is set in the internal winning flag storing work assigned to the RAM 41c. The internal winning flag storage work is composed of a 2-byte storage area. The upper byte of the internal winning flag storage work is allocated as the special combination storing work in which the special combination winning flag is set, and the lower byte is the general combination winning combination. It is assigned as a general role storing work for which a flag is set. For more details, when a special role is won, the winning flag of the special role indicating that the special role is won is set in the special role storing work, and when the general role is won, the general role is won. The winning flag of the general role indicating that is set in the general role storing work. If none of the winning combinations and combinations of winning combinations are won, the special winning combination storing work and the general winning combination storing work are cleared.

次に、リール2L、2C、2Rの停止制御について説明する。メイン制御部41は、リールの回転が開始したとき、及びリールが停止し、かつ未だ回転中のリールが残っているときに、当選番号及びROM41bに格納されているテーブルインデックス、テーブル作成用データを参照して、回転中のリール別に停止制御テーブルを作成する。そして、ストップスイッチ8L、8C、8Rのうち、回転中のリールに対応するいずれかの操作が有効に検出されたときに、該当するリールの停止制御テーブルを参照し、参照した停止制御テーブルの滑りコマ数に基づいて、操作されたストップスイッチ8L、8C、8Rに対応するリール2L、2C、2Rの回転を停止させる制御を行う。 Next, stop control of the reels 2L, 2C, 2R will be described. The main control unit 41 displays the winning number and the table index and table creation data stored in the ROM 41b when the reel starts rotating, when the reel stops, and when there is still a reel still spinning. With reference to this, a stop control table is created for each spinning reel. When one of the stop switches 8L, 8C, and 8R corresponding to the rotating reel is effectively detected, the stop control table of the corresponding reel is referred to, and the reference stop control table is slipped. Control is performed to stop the rotation of the reels 2L, 2C, 2R corresponding to the operated stop switches 8L, 8C, 8R based on the number of frames.

本実施例では、滑りコマ数として0〜4の値が定められており、停止操作を検出してから最大4図柄を引き込んでリールを停止させることが可能である。すなわち停止操作を検出した停止操作位置を含め、最大5コマの範囲から図柄の停止位置を指定できるようになっている。また、1図柄分リールを移動させるのに1コマの移動が必要であるので、停止操作を検出してから最大4図柄を引き込んでリールを停止させることが可能であり、停止操作を検出した停止操作位置を含め、最大5図柄の範囲から図柄の停止位置を指定できることとなる。 In this embodiment, a value of 0 to 4 is set as the number of sliding symbols, and it is possible to pull in a maximum of 4 symbols and stop the reel after detecting the stop operation. That is, the stop position of the symbol can be specified from a maximum of 5 frames including the stop operation position where the stop operation is detected. Also, since it is necessary to move one frame to move the reel for one symbol, it is possible to pull in a maximum of four symbols and stop the reel after detecting the stop operation, and the stop is detected. Including the operation position, the stop position of the symbol can be specified from the range of maximum 5 symbols.

本実施例では、いずれかの役に当選している場合には、停止操作が行われた際に、入賞ライン上に最大4コマの引込範囲で当選している役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、当選していない役は、最大4コマの引込範囲で揃えずに停止させる制御が行われることとなる。特別役が前ゲーム以前から持ち越されている状態で小役が当選した場合など、特別役と小役が同時に当選している場合には、停止操作が行われた際に、入賞ライン上に最大4コマの引込範囲で当選している小役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、入賞ライン上に最大4コマの引込範囲で当選している小役を引き込めない場合には、入賞ライン上に最大4コマの引込範囲で当選している特別役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、当選していない役は、4コマの引込範囲で揃えずに停止させる制御が行われることとなる。すなわちこのような場合には、特別役よりも小役を入賞ライン上に揃える制御が優先され、小役を引き込めない場合にのみ、特別役を入賞させることが可能となる。尚、特別役と小役を同時に引き込める場合には、小役のみを引き込み、特別役と同時に小役が入賞ライン上に揃わないようになる。また、特別役と小役が同時に当選している場合に、小役よりも特別役を入賞ライン上に揃える制御が優先され、特別役を引き込めない場合にのみ、小役を入賞ライン上に揃える制御を行っても良い。 In the present embodiment, when one of the winning combinations has been won, when the stop operation is performed, it is possible to stop all the winning combinations within the withdrawal range of a maximum of four frames on the winning line. If possible, control is performed to stop them in line with each other, and a winning combination that has not been won is controlled to stop within the pull-in range of a maximum of four frames without being aligned. When a special role and a small role are won at the same time, such as when the special role has been carried over from before the previous game, when the special role and the small role are won at the same time, when the stop operation is performed, the maximum on the winning line If it is possible to stop all the winning combinations within the pull-in range of 4 frames, it will be controlled to stop all of them, and the winning combinations within the maximum pull-in range of 4 frames will be selected. If you can not pull in, if you can stop the special winning combination with a maximum pull-in range of 4 frames on the winning line, it will be controlled to stop it, and the winning combination will not be won. In the pull-in range of 4 frames, control is performed to stop without aligning. That is, in such a case, the control of aligning the small winning combination on the winning line is prioritized over the special winning role, and the special winning combination can be won only when the small winning combination cannot be drawn. In addition, when a special combination and a small combination can be drawn in at the same time, only the small combination is drawn in, and the small combination is not aligned with the special combination on the winning line. Also, when a special role and a small role are elected at the same time, the control of aligning the special role on the winning line is prioritized over the small role, and the small role is placed on the winning line only when the special role cannot be drawn. You may control to align.

また、本実施例では、特別役が前ゲーム以前から持ち越されている状態で再遊技役が当選した場合など、特別役と再遊技役が同時に当選している場合には、停止操作が行われた際に、入賞ライン上に最大4コマの引込範囲で再遊技役の図柄を揃えて停止させる制御を行う。尚、この場合、再遊技役を構成する図柄または同時当選する再遊技役を構成する図柄は、リール2L、2C、2Rのいずれについても5図柄以内、すなわち4コマ以内の間隔で配置されており、4コマの引込範囲で必ず任意の位置に停止させることができるので、特別役と再遊技役が同時に当選している場合には、遊技者によるストップスイッチ8L、8C、8Rの操作タイミングに関わらずに、必ず再遊技役が揃って入賞することとなる。すなわちこのような場合には、特別役よりも再遊技役を入賞ライン上に揃える制御が優先され、必ず再遊技役が入賞することとなる。尚、特別役と再遊技役を同時に引き込める場合には、再遊技役のみを引き込み、再遊技役と同時に特別役が入賞ライン上に揃わないようになる。 Further, in the present embodiment, the stop operation is performed when the special game and the re-game combination are simultaneously won, such as when the re-game combination is won while the special combination is carried over from the previous game. At this time, control is performed to align and stop the symbols of the re-play combination within the pull-in range of up to 4 frames on the pay line. In this case, the symbols constituting the re-gaming combination or the symbols constituting the re-gaming combination to be won at the same time are arranged within 5 symbols, that is, within an interval of 4 frames for any of the reels 2L, 2C, 2R. Since it can be stopped at any position within the pull-in range of 4 frames, regardless of the operation timing of the stop switches 8L, 8C, 8R by the player when the special combination and the re-game combination are simultaneously elected. Instead, all re-playing players will be awarded. That is, in such a case, the control of aligning the re-gaming combination on the pay line is prioritized over the special combination, and the re-gaming combination is always won. In addition, when the special combination and the re-gaming combination can be drawn in at the same time, only the re-playing combination is drawn in, and the special combination cannot be arranged on the pay line at the same time as the re-playing combination.

尚、本実施例では、停止操作が行われたタイミング別の滑りコマ数を特定可能な停止制御テーブルを用いてリールの停止制御を行う構成であるが、停止可能な位置を特定可能な停止位置テーブルから停止位置を特定し、特定した停止位置にリールを停止させる停止制御を行う構成、停止制御テーブルや停止位置テーブルを用いずに、停止操作がされたタイミングで停止可能な停止位置を検索・特定し、特定した停止位置にリールを停止させる停止制御を行う構成、停止制御テーブルを用いた停止制御、停止位置テーブルを用いた停止制御、停止制御テーブルや停止位置テーブルを用いずに停止可能な停止位置を検索・特定することによる停止制御を併用する構成、停止制御テーブルや停止位置テーブルを一部変更して停止制御を行う構成としても良い。 In this embodiment, the reel stop control is performed by using the stop control table that can specify the number of sliding pieces for each timing when the stop operation is performed. The stop position is specified from the table and the stop control is performed to stop the reel at the specified stop position. The stop position that can be stopped at the timing when the stop operation is performed is searched without using the stop control table or the stop position table. A configuration for performing stop control to stop the reel at a specified stop position, stop control using a stop control table, stop control using a stop position table, and stop without using a stop control table or stop position table A configuration may be used in which stop control by searching and specifying a stop position is also used, or a configuration in which stop control is performed by partially changing the stop control table or the stop position table.

本実施例においてメイン制御部41は、ゲームの開始後、リールの回転を開始させる毎にその時点、すなわちリールの回転を開始させた時点から経過した時間であるゲーム時間を計時するようになっており、1ゲームの終了後、メダルの投入等により規定数の賭数が設定され、ゲームの開始操作が有効となった状態でゲームの開始操作がされたときに、前のゲームのリール回転開始時点から計時を開始したゲーム時間が規定時間(本実施例では4.1秒)以上であれば、すなわち前のゲームのリール回転開始時点から規定時間が経過していれば、ウェイトを発生させず、その時点で当該ゲームにおける遊技のためのリールの回転を開始させる。一方、1ゲームの終了後、メダルの投入等により規定数の賭数が設定され、ゲームの開始操作が有効となった状態でゲームの開始操作がされたときに、前のゲームのリール回転開始時点から計時を開始したゲーム時間が規定時間未満であれば、すなわち前のゲームのリール回転開始時点から規定時間が経過していなければ、ウェイトを発生させて、その時点ではリールの回転を開始させず、前のゲームのリール回転開始時点から計時を開始したゲーム時間が規定時間に到達するまで待機し、規定時間に到達した時点でリールの回転を開始させる。 In this embodiment, the main control unit 41 measures the game time, which is the time elapsed from the start of the rotation of the reel, that is, the time elapsed each time the rotation of the reel is started, after the start of the game. When the game start operation is performed with the specified number of bets set by the insertion of medals after the end of one game and the game start operation is enabled, the reel rotation start of the previous game is started. If the game time when the timing is started from the time point is the specified time (4.1 seconds in this embodiment) or more, that is, if the specified time has elapsed from the reel rotation start time of the previous game, the wait is not generated. At that point, the rotation of the reel for the game in the game is started. On the other hand, after the end of one game, when the game start operation is performed with the specified number of bets set by inserting medals and the game start operation is enabled, the reel rotation start of the previous game is started. If the game time that started timing from the time is less than the specified time, that is, if the specified time has not elapsed since the reel rotation start time of the previous game, wait is generated and the reel starts to rotate at that time. Instead, the process waits until the game time when the timing starts from the reel rotation start time of the previous game reaches the specified time, and the reel rotation starts when the specified time is reached.

本実施例においてメイン制御部41は、遊技状態やエラーの発生状況などを示す外部出力信号を出力する制御を行う。これら外部出力信号は、外部出力基板1000、スロットマシン1が設置される遊技店(ホール)の情報提供端子板を介してホールコンピュータなどのホール機器に出力されるようになっている。 In the present embodiment, the main control unit 41 controls to output an external output signal indicating a game state, an error occurrence state, and the like. These external output signals are output to a hall device such as a hall computer through an external output board 1000 and an information providing terminal board of a game shop (hall) in which the slot machine 1 is installed.

メイン制御部41は、賭数の設定に用いられたメダル数を示すメダルIN信号、入賞の発生により遊技者に付与されたメダル数を示すメダルOUT信号、遊技状態がRB(レギュラーボーナス)中の旨を示すRB中信号、遊技状態がBB(ビッグボーナス)中の旨を示すBB中信号、後述するARTの開始を示すART信号、前面扉1bが開放中の旨を示すドア開放信号、後述する設定変更モードに移行している旨を示す設定変更信号、メダルセレクタの異常を示す投入エラー信号、ホッパーユニット34の異常を示す払出エラー信号をそれぞれ出力する。 The main control unit 41 has a medal IN signal indicating the number of medals used for setting the bet number, a medal OUT signal indicating the number of medals awarded to the player due to the occurrence of winning, and a gaming state of RB (regular bonus). RB signal indicating that, a BB signal indicating that the gaming state is BB (Big Bonus), an ART signal indicating the start of ART described later, a door opening signal indicating that the front door 1b is open, which will be described later. A setting change signal indicating that the mode is changed to the setting change mode, a throw-in error signal indicating an abnormality of the medal selector, and a payout error signal indicating an abnormality of the hopper unit 34 are output.

外部出力基板1000には、リレー回路、パラレル・シリアル変換回路、出力信号毎の端子が設けられ、情報提供端子板の回路と電気的に接続するための接続されるコネクタが設けられている。遊技制御基板40から出力された信号のうち、メダルIN信号、メダルOUT信号、RB中信号、BB中信号、ART信号は、リレー回路を介して、そのままパルス信号として情報提供端子板に出力される。これに対してドア開放信号、設定変更信号、投入エラー信号、払出エラー信号は、パラレル・シリアル変換回路にて、これらの信号を個別に識別可能なシリアル信号であるセキュリティ信号に変換されて情報提供端子板に出力される。 The external output board 1000 is provided with a relay circuit, a parallel/serial conversion circuit, a terminal for each output signal, and a connector to be electrically connected to the circuit of the information providing terminal board. Among the signals output from the game control board 40, the medal IN signal, the medal OUT signal, the RB middle signal, the BB middle signal, and the ART signal are directly output as pulse signals to the information providing terminal board via the relay circuit. .. On the other hand, the door open signal, the setting change signal, the closing error signal, and the payout error signal are converted by the parallel/serial conversion circuit into security signals that are serial signals that can be individually identified, and information is provided. Output to the terminal board.

次に、メイン制御部41がサブ制御部91に対して送信するコマンドについて説明する。 Next, a command transmitted from the main control unit 41 to the sub control unit 91 will be described.

本実施例では、メイン制御部41は、サブ制御部91に対して、投入枚数コマンド、クレジットコマンド、遊技状態コマンド、ART状態コマンド、内部当選コマンド、押し順コマンド、フリーズコマンド、ART抽選結果コマンド、リール加速情報コマンド、加速完了コマンド、停止操作時コマンド、滑りコマ数コマンド、停止コマンド、遊技終了コマンド、入賞判定コマンド、払出開始コマンド、払出終了コマンド、待機コマンド、打止コマンド、エラーコマンド、復帰コマンド、設定コマンド、設定確認コマンド、ドアコマンド、操作検出コマンドを含む複数種類のコマンドを送信する。これらコマンドは、コマンドの種類を示す1バイトの種類データとコマンドの内容を示す1バイトの拡張データとからなり、サブ制御部91は、種類データからコマンドの種類を判別できるようになっている。 In the present embodiment, the main control unit 41 instructs the sub control unit 91 to input a number-of-coins command, a credit command, a game state command, an ART state command, an internal winning command, a push order command, a freeze command, an ART lottery result command, Reel acceleration information command, acceleration completion command, stop operation command, sliding frame number command, stop command, game end command, winning determination command, payout start command, payout end command, standby command, stop command, error command, return command , A plurality of types of commands including a setting command, a setting confirmation command, a door command, and an operation detection command are transmitted. These commands consist of 1-byte type data indicating the type of command and 1-byte extension data indicating the content of the command, and the sub-control unit 91 can determine the type of command from the type data.

投入枚数コマンドは、メダルの投入枚数、すなわち賭数の設定に使用されたメダル枚数を特定可能なコマンドであり、ゲーム終了後(設定変更後)からゲーム開始までの状態であり、電断復帰時、または規定数の賭数が設定されていない状態においてメダルが投入されるか、MAXBETスイッチ6が操作されて賭数が設定されたときに送信される。また、投入枚数コマンドは、賭数の設定操作がなされたときに送信されるので、投入枚数コマンドを受信することで賭数の設定操作がなされたことを特定可能である。 The inserted number command is a command that can specify the number of inserted medals, that is, the number of medals used to set the bet number, and is a state from the end of the game (after setting change) to the start of the game, when power is restored. , Or when a medal is inserted in a state where the bet number of the specified number is not set, or when the bet number is set by operating the MAXBET switch 6. Further, since the thrown-in command is transmitted when the bet-number setting operation is performed, it is possible to specify that the bet-number setting operation has been performed by receiving the thrown-number command.

クレジットコマンドは、クレジットとして記憶されているメダル枚数を特定可能なコマンドであり、ゲーム終了後(設定変更後)からゲーム開始までの状態であり、規定数の賭数が設定されている状態において、メダルが投入されてクレジットが加算されたときに送信される。 The credit command is a command that can specify the number of medals stored as credits, which is a state from the end of the game (after the setting change) to the start of the game, and in the state where the bet number of the specified number is set, Sent when medals are inserted and credits are added.

遊技状態コマンドは、当該ゲームの遊技状態(RT0〜4、RB)を特定可能なコマンドであり、スタートスイッチ7が操作されてゲームが開始したときに送信される。 The game state command is a command that can specify the game state (RT0 to 4, RB) of the game, and is transmitted when the start switch 7 is operated to start the game.

ART状態コマンドは、AT中か否か、ART中か否か、後述する規定ゲーム数に到達するまでの残りゲーム数、前兆期間の残りゲーム数、ARTの残りゲーム数を特定可能なコマンドであり、ゲームが開始したときであって、遊技状態コマンドの後に送信される。 The ART status command is a command that can specify whether AT is in progress, whether ART is in progress, the number of games remaining until reaching a prescribed number of games described later, the number of games remaining in the precursory period, and the number of games remaining in ART. , When the game starts and is sent after the game state command.

内部当選コマンドは、内部抽選結果を特定可能なコマンドであり、スタートスイッチ7が操作されてゲームが開始したときであって、ART状態コマンドの後に送信される。内部当選コマンドは、特別役が当選しているか否かを特定可能な第1の内部当選コマンドと、一般役が当選しているか否かを特定可能な第2の内部当選コマンドと、を含み、第1の内部当選コマンドが送信された後に、第2の内部当選コマンドが送信される。 The internal winning command is a command that can specify the internal lottery result, and is transmitted when the start switch 7 is operated to start the game and after the ART state command. The internal winning command includes a first internal winning command capable of specifying whether or not a special role is won, and a second internal winning command capable of specifying whether or not a general role is won, After the first internal winning command is sent, the second internal winning command is sent.

押し順コマンドは、停止順を特定可能なコマンドであり、スタートスイッチ7が操作されてゲームが開始されたときであって、内部当選コマンドが送信された後、及び各リールの停止操作に伴う停止制御が行われる毎に、停止コマンドが送信された後に送信される。尚、後述のナビ報知が実行されるゲームにおいては、ゲーム開始時から遊技者にとって有利な停止順を特定可能な押し順コマンドが送信され、後述のナビ報知が実行されないゲームにおいては、有利な停止順が確定するまでは遊技者にとって有利な停止順を特定不能な押し順コマンドが送信され、有利な停止順が確定したときから遊技者にとって有利な停止順を特定可能な押し順コマンドが送信される。 The push order command is a command that can specify the stop order, and is when the start switch 7 is operated to start the game, after the internal winning command is transmitted, and when the reels are stopped. Each time control is performed, it is transmitted after the stop command is transmitted. In addition, in a game in which navigation notification described below is executed, a push order command that can specify a stop order that is advantageous to the player is transmitted from the start of the game, and in a game in which navigation notification described below is not executed, an advantageous stop Until the order is confirmed, a push order command that cannot identify the stop order that is advantageous to the player is transmitted, and from the time when the favorable stop order is determined, a push order command that can identify the stop order that is advantageous to the player is transmitted. It

遊技状態コマンド、ART状態コマンド、内部当選コマンドは、スタートスイッチ7が操作されてゲームが開始したときに送信されるので、これらコマンドを受信することで、スタートスイッチ7が操作されてゲームが開始したことを特定可能である。 The game state command, the ART state command, and the internal winning command are transmitted when the start switch 7 is operated to start the game. By receiving these commands, the start switch 7 is operated to start the game. Can be specified.

フリーズコマンドは、当該ゲームにおいて遊技の進行を所定期間にわたり遅延させるフリーズ状態に制御されるか否か、フリーズ状態に制御される場合にはその種類を特定可能なコマンドであり、ゲームが開始したときであって、内部当選コマンドの送信後に送信される。 The freeze command is a command that can specify whether or not the game is controlled to a freeze state in which the progress of the game is delayed for a predetermined period in the game, and the type of the freeze command is controlled when the game is started. And, it is transmitted after transmitting the internal winning command.

ART抽選結果コマンドは、後述のART抽選または上乗せ抽選に当選したか否か、当選したARTのゲーム数または上乗せされるゲーム数を特定可能なコマンドであり、ゲームが開始したときであって、ART抽選または上乗せ抽選が行われたゲームにおいて内部当選コマンドの送信後に送信される。 The ART lottery result command is a command that can specify whether or not an ART lottery or an additional lottery described below has been won, the number of games of the ART that has been won, or the number of games to be added, and when the game starts, the ART lottery result command It is transmitted after the internal winning command is transmitted in the game in which the lottery or the additional lottery is performed.

リール加速情報コマンドは、遊技の進行に伴いリールの回転が開始する旨を特定可能なコマンドであり、遊技の進行に伴いリールの回転を開始するときに送信する。尚、フリーズ状態の終了に伴ってリールの回転を開始するときにも送信されるため、フリーズコマンドによりフリーズ状態の開始が特定された後、リール加速情報コマンドを受信することで遊技の進行に伴いリールの回転が開始する旨だけではなく、フリーズ状態の終了も特定可能となる。 The reel acceleration information command is a command that can specify that the rotation of the reel starts with the progress of the game, and is transmitted when the rotation of the reel starts with the progress of the game. Since it is also sent when starting the rotation of the reel with the end of the freeze state, the start of the freeze state is specified by the freeze command, and the reel acceleration information command is received. It is possible to specify not only the start of rotation of the reel but also the end of the frozen state.

加速完了コマンドは、遊技の開始に伴うリールの加速が完了した旨を特定可能なコマンドであり、遊技が開始された際にリール2L、2C、2Rの回転が開始させた後、最初に全てのリール2L、2C、2Rが定速回転となったときに送信される。 The acceleration completion command is a command that can specify that the acceleration of the reel accompanying the start of the game has been completed, and after starting the rotation of the reels 2L, 2C, and 2R when the game is started, first of all Sent when the reels 2L, 2C, 2R rotate at a constant speed.

停止操作時コマンドは、停止するリールが左リール、中リール、右リールのいずれのリールであるか、該当するリールの停止操作位置の領域番号を特定可能なコマンドであり、各リールの停止操作に伴う停止制御が行われる毎に送信される。 The stop operation command is a command that can identify the reel to be stopped, that is, the left reel, the center reel, or the right reel, and the area number of the stop operation position of the corresponding reel. It is transmitted every time the accompanying stop control is performed.

滑りコマ数コマンドは、停止するリールが左リール、中リール、右リールのいずれのリールであるか、該当するリールの停止操作がされてから停止するまでに移動する滑りコマ数を特定可能なコマンドであり、各リールの停止操作に伴う停止制御が行われる毎に、対応する停止操作時コマンドが送信された後に送信される。 The sliding frame number command is a command that can specify whether the reel to be stopped is the left reel, the middle reel, or the right reel, and the number of sliding frames to move from the stop operation of the corresponding reel to the stop. That is, every time stop control associated with the stop operation of each reel is performed, it is transmitted after the corresponding stop operation command is transmitted.

停止コマンドは、停止するリールが左リール、中リール、右リールのいずれのリールであるか、該当するリールの停止位置の領域番号を特定可能なコマンドであり、各リールの停止操作に伴う停止制御が行われる毎に、対応する滑りコマ数コマンドが送信された後に送信される。 The stop command is a command that can specify the reel to be stopped, that is, the left reel, the center reel, or the right reel, and the area number of the stop position of the corresponding reel, and the stop control accompanying the stop operation of each reel. Is transmitted every time when the corresponding slide frame number command is transmitted.

停止操作時コマンド、滑りコマ数コマンド、停止コマンドは、いずれも停止するリールが左リール、中リール、右リールのいずれのリールであるか、を特定可能であり、かつ各リールの停止操作に伴う停止制御が行われる毎に送信されるので、これらコマンドを受信することで、いずれかのリールの停止操作がされたこと及び停止するリールを特定可能である。 Each of the stop operation command, the number of sliding frames command, and the stop command can specify whether the reel to be stopped is the left reel, the middle reel, or the right reel, and is accompanied by the stop operation of each reel. Since it is transmitted every time stop control is performed, by receiving these commands, it is possible to specify that one of the reels has been stopped and the reel to be stopped.

遊技終了コマンドは、遊技が終了された旨を特定可能なコマンドであり、遊技者が第3停止リールを停止させるためにストップスイッチを押下して、そのストップスイッチを離したときに送信される。 The game end command is a command that can specify that the game has ended, and is transmitted when the player depresses the stop switch to stop the third stop reel and releases the stop switch.

入賞判定コマンドは、入賞の有無、入賞ラインLNに揃った図柄の組合せ、並びに入賞の種類、入賞時のメダルの払出枚数を特定可能なコマンドであり、遊技者が第3停止リールを停止させるためにストップスイッチを押下して、そのストップスイッチを離したときであり、遊技終了コマンドの送信後に送信される。 The winning determination command is a command that can specify the presence or absence of a winning, a combination of symbols arranged on the winning line LN, the type of winning, and the number of medals to be paid out at the time of winning, so that the player stops the third stop reel. It is when the stop switch is pushed down and the stop switch is released, which is transmitted after the game end command is transmitted.

遊技終了コマンド、入賞判定コマンドは、いずれも遊技者が第3停止リールを停止させるためにストップスイッチを押下して、そのストップスイッチを離したときに送信されるので、これらコマンドを受信することで、1ゲームを進行させるのに必要な全ての操作が終了したことを特定可能である。 The game end command and the winning determination command are both transmitted when the player presses the stop switch to stop the third stop reel and releases the stop switch. Therefore, by receiving these commands It is possible to specify that all the operations required to progress one game have ended.

払出開始コマンドは、メダルの払出開始を通知するコマンドであり、入賞やクレジット(賭数の設定に用いられたメダルを含む)の精算によるメダルの払出が開始されたときに送信される。また、払出終了コマンドは、メダルの払出終了を通知するコマンドであり、入賞及びクレジットの精算によるメダルの払出が終了したときに送信される。 The payout start command is a command for notifying the start of payout of medals, and is transmitted when the payout of medals is started by winning or winning the credit (including medals used for setting the bet number). The payout end command is a command for notifying the end of payout of medals, and is transmitted when the payout of medals by winning and settlement of credits is completed.

待機コマンドは、待機状態へ移行する旨を示すコマンドであり、1ゲーム終了後、賭数が設定されずに終了推定時間(本実施例では60秒)経過して待機状態に移行するとき、クレジット(賭数の設定に用いられたメダルを含む)の精算によるメダルの払出が終了し、払出終了コマンドが送信された後に送信される。 The standby command is a command indicating a transition to the standby state, and when one game is finished and the estimated termination time (60 seconds in this embodiment) has elapsed without transition of the bet number, the credit is set. Sent after the payout of medals by the settlement of the medals (including medals used for setting the bet number) is completed and the payout end command is transmitted.

打止コマンドは、打止状態の発生または解除を示すコマンドであり、BB終了後、エンディング演出待ち時間が経過した時点で打止状態の発生を示す打止コマンドが送信され、リセット操作がなされて打止状態が解除された時点で、打止状態の解除を示す打止コマンドが送信される。 The stop command is a command indicating the occurrence or cancellation of the stop state, and when the ending production waiting time has elapsed after the end of the BB, the stop command indicating the occurrence of the stop state is transmitted, and the reset operation is performed. When the stopped state is released, a stopped command indicating the release of the stopped state is transmitted.

エラーコマンドは、エラー状態の発生または解除、エラー状態の種類を示すコマンドであり、エラーが判定され、エラー状態に制御された時点でエラー状態の発生及びその種類を示すエラーコマンドが送信され、リセット操作がなされてエラー状態が解除された時点で、エラー状態の解除を示すエラーコマンドが送信される。 The error command is a command that indicates the occurrence or cancellation of an error condition and the type of error condition, and when an error is determined and the error condition is controlled, the error command indicating the occurrence of the error condition and its type is sent and reset. When the operation is performed and the error state is released, an error command indicating release of the error state is transmitted.

復帰コマンドは、メイン制御部41が電断前の制御状態に復帰した旨を示すコマンドであり、メイン制御部41の起動時において電断前の制御状態に復帰した際に送信される。 The return command is a command indicating that the main control unit 41 has returned to the control state before the power failure, and is transmitted when the main control unit 41 returns to the control state before the power failure when the main control unit 41 is activated.

設定コマンドは、設定変更状態の開始または終了、設定変更後設定値を示すコマンドであり、設定変更状態に移行する時点で設定変更状態の開始を示す設定コマンドが送信され、設定変更状態の終了時に設定変更状態の終了及び設定変更後の設定値を示す設定コマンドが送信される。また、設定変更状態への移行に伴ってメイン制御部41の制御状態が初期化されるため、設定開始を示す設定コマンドによりメイン制御部41の制御状態が初期化されたことを特定可能である。 The setting command is a command that indicates the start or end of the setting change state and the setting value after the setting change.The setting command indicating the start of the setting change state is sent at the time of shifting to the setting change state, and when the setting change state ends. A setting command indicating the end of the setting change state and the setting value after the setting change is transmitted. Further, since the control state of the main control unit 41 is initialized along with the transition to the setting change state, it is possible to specify that the control state of the main control unit 41 has been initialized by the setting command indicating the setting start. ..

設定確認コマンドは、設定確認状態の開始または終了を示すコマンドであり、設定確認状態に移行する際に設定確認開始を示す設定確認コマンドが送信され、設定確認状態の終了時に設定確認終了を示す設定確認コマンドが送信される。 The setting confirmation command is a command that indicates the start or end of the setting confirmation state. When the setting confirmation state is entered, the setting confirmation command indicating the setting confirmation start is transmitted, and when the setting confirmation state ends, the setting confirmation end is set. A confirmation command is sent.

ドアコマンドは、ドア開放検出スイッチ25の検出状態、すなわちon(開放状態)/off(閉状態)を示すコマンドであり、電源投入時、1ゲーム終了時(ゲーム終了後、次のゲームの賭数の設定が開始可能となる前までの時点)、及びドア開放検出スイッチ25の検出状態が変化(onからoff、offからon)したときに送信される。 The door command is a command indicating the detection state of the door open detection switch 25, that is, on (open state)/off (closed state), and at the time of power-on, at the end of one game (after the game, the bet number of the next game). Before the setting can be started) and when the detection state of the door opening detection switch 25 changes (on to off, off to on).

操作検出コマンドは、操作スイッチ類(MAXBETスイッチ6、スタートスイッチ7、ストップスイッチ8L、8C、8R)の検出状態(on/off)を示すコマンドであり、一定時間毎に送信される。 The operation detection command is a command indicating the detection state (on/off) of the operation switches (MAXBET switch 6, start switch 7, stop switches 8L, 8C, 8R), and is transmitted at regular time intervals.

これらコマンドのうち操作検出コマンド以外のコマンドは、メイン処理において生成され、RAM41cに設けられたコマンドキューに一時格納され、その後のタイマ割込処理(メイン)のコマンド送信処理おいて送信される。 Of these commands, commands other than the operation detection command are generated in the main processing, temporarily stored in the command queue provided in the RAM 41c, and transmitted in the command transmission processing of the timer interrupt processing (main) thereafter.

一方、操作検出コマンドは、タイマ割込処理(メイン)のコマンド送信処理が10回実行される毎に、スイッチの検出状態に基づいて生成されるとともに、RAM41cに設けられたコマンドキューに一時格納され、その後のタイマ割込処理(メイン)のコマンド送信処理おいて送信される。 On the other hand, the operation detection command is generated based on the detection state of the switch every time the command transmission process of the timer interrupt process (main) is executed 10 times, and is temporarily stored in the command queue provided in the RAM 41c. Is transmitted in the command transmission process of the timer interrupt process (main) thereafter.

次に、メイン制御部41が演出制御基板90に対して送信するコマンドに基づいてサブ制御部91が実行する演出の制御について説明する。サブ制御部91は、メイン制御部41からのコマンドを受信した際に、コマンド受信割込処理を実行する。コマンド受信割込処理では、RAM91cに設けられた受信用バッファに、コマンド伝送ラインから取得したコマンドを格納する。 Next, the control of the production executed by the sub control unit 91 based on the command transmitted from the main control unit 41 to the production control board 90 will be described. The sub control unit 91 executes a command reception interrupt process when receiving a command from the main control unit 41. In the command reception interrupt process, the command acquired from the command transmission line is stored in the reception buffer provided in the RAM 91c.

サブ制御部91は、タイマ割込処理(サブ)において、受信用バッファに未処理のコマンドが格納されているか否かを判定し、未処理のコマンドが格納されている場合には、そのうち最も早い段階で受信したコマンドに基づいてROM91bに格納された制御パターンテーブルを参照し、制御パターンテーブルに登録された制御内容に基づいて液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の各種演出装置の出力制御を行う。制御パターンテーブルには、複数種類の演出パターン毎に、コマンドの種類に対応する液晶表示器51の表示パターン、演出効果LED52の点灯態様、スピーカ53、54の出力態様、リールLED55の点灯態様等、これら演出装置の制御パターンが登録されており、サブ制御部91は、コマンドを受信した際に、制御パターンテーブルの当該ゲームにおいてRAM91cに設定されている演出パターンに対応して登録された制御パターンのうち、受信したコマンドの種類に対応する制御パターンを参照し、当該制御パターンに基づいて演出装置の出力制御を行う。これにより演出パターン及び遊技の進行状況に応じた演出が実行されることとなる。 In the timer interrupt process (sub), the sub-control unit 91 determines whether or not an unprocessed command is stored in the reception buffer. If an unprocessed command is stored, the sub-control unit 91 is the earliest. The control pattern table stored in the ROM 91b is referred to based on the command received at the stage, and the liquid crystal display 51, the effect LED 52, the speakers 53 and 54, the reel LED 55, and the like are referred to based on the control content registered in the control pattern table. Performs output control of various performance devices. In the control pattern table, the display pattern of the liquid crystal display 51 corresponding to the type of command, the lighting mode of the effect LED 52, the output modes of the speakers 53 and 54, the lighting mode of the reel LED 55, and the like, for each of a plurality of types of effect patterns, The control patterns of these effect devices are registered, and when the sub-control unit 91 receives a command, the sub-control unit 91 selects the control patterns corresponding to the effect patterns registered in the RAM 91c in the game of the control pattern table. Among them, the control pattern corresponding to the received command type is referred to, and the output control of the effect device is performed based on the control pattern. As a result, an effect corresponding to the effect pattern and the progress of the game is executed.

尚、サブ制御部91は、あるコマンドの受信を契機とする演出の実行中に、新たにコマンドを受信した場合には、実行中の制御パターンに基づく演出を中止し、新たに受信したコマンドに対応する制御パターンに基づく演出を実行するようになっている。すなわち演出が最後まで終了していない状態でも、新たにコマンドを受信すると、受信した新たなコマンドが新たな演出の契機となるコマンドではない場合を除いて実行していた演出はキャンセルされて新たなコマンドに基づく演出が実行されることとなる。 When a new command is received during execution of an effect triggered by the reception of a certain command, the sub control unit 91 stops the effect based on the control pattern being executed, and changes to the newly received command. The effect based on the corresponding control pattern is executed. That is, even if the effect is not completed to the end, when a new command is received, the effect being executed will be canceled and a new command will be canceled unless the received new command is a command that triggers a new effect. The effect based on the command will be executed.

演出パターンは、内部当選コマンドを受信した際に、内部当選コマンドが示す内部抽選の結果に応じた選択率にて選択され、RAM91cに設定される。演出パターンの選択率は、ROM91bに格納された演出テーブルに登録されており、サブ制御部91は、内部当選コマンドを受信した際に、内部当選コマンドが示す内部抽選の結果に応じて演出テーブルに登録されている選択率を参照し、その選択率に応じて複数種類の演出パターンからいずれかの演出パターンを選択し、選択した演出パターンを当該ゲームの演出パターンとしてRAM91cに設定するようになっており、同じコマンドを受信しても内部当選コマンドの受信時に選択された演出パターンによって異なる制御パターンが選択されるため、結果として演出パターンによって異なる演出が行われることがある。 When the internal winning command is received, the effect pattern is selected at a selection rate according to the internal lottery result indicated by the internal winning command, and is set in the RAM 91c. The selection rate of the effect pattern is registered in the effect table stored in the ROM 91b, and when the sub-control unit 91 receives the internal winning command, the sub control unit 91 creates the effect table according to the result of the internal lottery indicated by the internal winning command. By referring to the registered selection rate, one of the effect patterns is selected from a plurality of effect patterns according to the selected rate, and the selected effect pattern is set in the RAM 91c as the effect pattern of the game. Therefore, even if the same command is received, a different control pattern is selected depending on the effect pattern selected when the internal winning command is received, and as a result, different effects may be performed depending on the effect pattern.

本実施例におけるスロットマシン1では、メイン制御部41により、内部抽選結果に応じて遊技者にとって有利となる停止順を遊技補助表示器12の点灯態様により報知するナビ報知を実行可能な報知期間となるアシストタイム(以下、ATという)に制御可能となっている。 In the slot machine 1 according to the present embodiment, the main control unit 41 provides a notification period in which navigation notification can be performed in which the stop order that is advantageous to the player according to the internal lottery result is notified by the lighting mode of the game auxiliary display device 12. It is possible to control the assist time (hereinafter referred to as AT).

メイン制御部41は、ATに制御している場合には、遊技状態に応じたナビ対象役に当選することにより、ナビ報知を実行して、当選したナビ報知役の当選番号に基づいて遊技者にとって有利となる停止順を報知するとともに、当該当選番号に基づいて遊技者にとって有利となる停止順を特定可能な押し順コマンドをサブ制御部91に対して送信することで、液晶表示器51等を用いたナビ演出を実行させる。また、本実施例においてメイン制御部41は、ATに制御していない通常状態であっても、一定の条件を満たすことにより、ナビ報知を実行し、ナビ演出を実行させることが可能である。 When the main control unit 41 is controlled by the AT, the navigation target notification is executed by winning the navigation target combination according to the game state, and the player is based on the winning number of the selected navigation notification combination. The liquid crystal display 51 and the like are notified by notifying the stop order that is advantageous for the player and transmitting a push order command that can specify the stop order that is advantageous for the player based on the winning number to the sub-control unit 91. The navigation effect using is executed. In addition, in the present embodiment, the main control unit 41 can execute the navigation notification and execute the navigation effect by satisfying a certain condition even in the normal state in which the AT is not controlling.

図6は、メイン制御部41が用いるメモリ領域のアドレスマップである。図6に示すように、メイン制御部41が用いるメモリ領域は、ROM41bに割り当てられたメモリ領域(0000H〜7FFFH)と、RAM41cに割り当てられたメモリ領域(F000H〜FFFFH)と、を含む。 FIG. 6 is an address map of the memory area used by the main control unit 41. As shown in FIG. 6, the memory area used by the main control unit 41 includes a memory area (0000H to 7FFFH) assigned to the ROM 41b and a memory area (F000H to FFFFH) assigned to the RAM 41c.

ROM41bのメモリ領域は、プログラム及び固定データが格納されるプログラム/データ領域(0000H〜26FFH)と、プログラムのタイトル、バージョン等の任意のデータを設定可能なROMコメント領域(2700H〜277FH)と、後述するCALLV命令のサブルーチンの上位アドレス及びタイマ割込処理(メイン)の先頭アドレスが設定されるベクタテーブル領域(2780H〜27A7H)と、メイン制御部41の内部機能をハードウェア的に設定するためのパラメータが設定されるHWパラメータ領域(27A8H〜27FFH)と、アクセスが禁止される未使用領域(2800H〜7FFFH)を含む。 The memory area of the ROM 41b includes a program/data area (0000H to 26FFH) in which programs and fixed data are stored, a ROM comment area (2700H to 277FH) in which arbitrary data such as the title and version of the program can be set, and A vector table area (2780H to 27A7H) in which the upper address of the subroutine of the CALLV instruction and the start address of the timer interrupt processing (main) are set, and a parameter for setting the internal function of the main control unit 41 by hardware. HW parameter area (27A8H to 27FFH) in which is set and an unused area (2800H to 7FFFH) in which access is prohibited.

ROM41bにおけるHWパラメータ領域に設定されるパラメータは、プログラム/データ領域で使用するROM領域の最終アドレス(HPRGEND)、アクセス禁止するRAM領域の開始アドレス(HRAMSTAT)及び最終アドレス(HRAMEND)を含む。 The parameters set in the HW parameter area in the ROM 41b include the final address (HPRGEND) of the ROM area used in the program/data area, the start address (HRAMSTAT) and the final address (HRAMEND) of the RAM area for which access is prohibited.

RAM41cのメモリ領域は、ワークとして使用可能な使用可能領域(F000H〜F400H)と、メイン制御部41に搭載されている各機能を制御するためのレジスタ群が格納される内部機能レジスタ領域(F4B0H〜F6FFH)と、アクセスが禁止される未使用領域(F401H〜F4AFH、F700H〜FFFFH)と、を含む。 The memory area of the RAM 41c is a usable area (F000H to F400H) that can be used as a work and an internal function register area (F4B0H to F4B0H to F4B0H to) that stores a group of registers for controlling each function installed in the main control unit 41. F6FFH) and unused areas (F401H to F4AFH, F700H to FFFFH) whose access is prohibited.

図7は、メイン制御部41のROM41bにおけるプログラム/データ領域及びRAM41cにおける使用可能領域のアドレスマップである。 FIG. 7 is an address map of the program/data area in the ROM 41b of the main control unit 41 and the usable area in the RAM 41c.

図7(a)に示すように、ROM41bにおけるプログラム/データ領域は、遊技の進行に係わる遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムが用いる遊技データが記憶される遊技データ領域と、未使用領域1と、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、非遊技プログラムが用いる非遊技データが記憶される非遊技データ領域と、未使用領域2と、を含む。 As shown in FIG. 7A, the program/data area in the ROM 41b includes a game program area in which a game program relating to the progress of a game is stored, a game data area in which game data used by the game program is stored, and It includes a use area 1, a non-game program area in which a non-game program that is not related to the progress of a game is stored, a non-game data area in which non-game data used by the non-game program is stored, and an unused area 2. ..

尚、遊技の進行とは、遊技を構成する一連のプロセスを進行させることであり、スロットマシンであれば、賭数を設定してゲームを開始可能とする段階、ゲームを開始してリールを回転させる段階、リールを停止させて表示結果を導出させる段階、表示結果に応じてメダル等の価値を付与する段階、を進行させることである。 It should be noted that the progress of the game is to proceed a series of processes constituting the game. In the case of a slot machine, the stage where the bet number is set and the game can be started, the game is started and the reels are rotated. This is to proceed with the step of allowing the reels to be stopped, the step of deriving the display result by stopping the reel, and the step of giving a value such as a medal or the like according to the display result.

遊技の進行に係わる遊技プログラム領域と、遊技の進行に係わらない非遊技プログラムと、がそれぞれ別個に割り当てられているとともに、遊技プログラム領域及び非プログラム領域のうちROM41bの記憶領域において後方に割り当てられていた非プログラム領域の手前の領域は、少なくとも16バイト以上の未使用領域1が割り当てられているため、遊技の進行に係わる遊技プログラム領域と、遊技の進行に係わらない非遊技プログラムと、を記憶領域の違いに応じて容易に特定することができる。 A game program area related to the progress of the game and a non-game program not related to the progress of the game are separately allocated, and are rearwardly allocated in the storage area of the ROM 41b of the game program area and the non-program area. Since the unused area 1 of at least 16 bytes or more is allocated to the area before the non-program area, the storage area for the game program area related to the progress of the game and the non-game program not related to the progress of the game Can be easily specified according to the difference.

また、遊技プログラム領域と遊技データ領域、非遊技プログラム領域と非遊技データ領域はそれぞれ連続する領域に割り当てられる一方、遊技の進行に係わる遊技プログラム領域及び遊技データ領域と、遊技の進行に係わらない非遊技プログラム及び非遊技データ領域と、が少なくとも16バイト以上の未使用領域1を挟んで連続しない領域に割り当てられているため、遊技の進行に係わる遊技プログラム領域及び遊技データ領域と、遊技の進行に係わらない非遊技プログラム及び非遊技データ領域と、を記憶領域の違いに応じて容易に特定することができる。 Further, while the game program area and the game data area, and the non-game program area and the non-game data area are respectively allocated to continuous areas, the game program area and the game data area related to the progress of the game and the non-related non-related to the progress of the game. Since the game program and the non-game data area are allocated to the areas which are not continuous across the unused area 1 of at least 16 bytes, the game program area and the game data area related to the progress of the game and the progress of the game It is possible to easily specify the non-gaming program and the non-gaming data area that are not related, according to the difference in the storage area.

尚、上記において記憶領域の前後とは、記憶領域に割り当てられたアドレス値の大小関係であり、アドレスが小さい方が前方となり、アドレスが大きい方が後方となる。このため、一の記憶領域よりも後方に割り当てられた記憶領域とは、一の記憶領域よりもアドレス値が大きい記憶領域が該当し、一の記憶領域よりも前方に割り当てられた記憶領域とは、一の記憶領域よりもアドレス値が小さい記憶領域が該当する。 In the above description, “before and after the storage area” refers to the magnitude relationship of the address values assigned to the storage area. The smaller address is the front and the larger address is the rear. Therefore, the storage area allocated behind the one storage area corresponds to a storage area having an address value larger than that of the one storage area, and the storage area allocated ahead of the one storage area is , A storage area having an address value smaller than that of the first storage area.

また、非遊技プログラム領域よりも後方に遊技プログラムが割り当てられ、非遊技プログラム領域よりも後方に割り当てられた遊技プログラムの手前に未使用領域が割り当てられた構成としても良く、このような構成においても遊技の進行に係わる遊技プログラム領域と、遊技の進行に係わらない非遊技プログラムと、を記憶領域の違いに応じて容易に特定することができる。 Further, the game program may be assigned to the rear side of the non-game program area, and the unused area may be assigned to the front of the game program assigned to the rear side of the non-game program area. It is possible to easily specify the game program area related to the progress of the game and the non-game program not related to the progress of the game according to the difference in the storage area.

また、遊技プログラム領域と、非遊技プログラム領域と、が未使用領域1を挟んで隣接する領域に割り当てられる構成としても良く、このような構成であっても、遊技の進行に係わる遊技プログラム領域と、遊技の進行に係わらない非遊技プログラムと、を記憶領域の違いに応じて容易に特定することができる。 Further, the game program area and the non-gaming program area may be allocated to areas adjacent to each other with the unused area 1 in between, and even with such a structure, the game program area related to the progress of the game The non-gaming program that is not related to the progress of the game can be easily specified according to the difference in the storage area.

また、ROM41bのプログラム/データ領域の未使用領域1、2には、全ての領域に0値が格納されているため、遊技プログラム領域及び遊技データ領域と、非遊技プログラム領域及び非遊技データと、未使用領域1、2と、を容易に区別することができるとともに、未使用領域1、2に不正なデータが格納されている場合でも容易に発見することができる。 Further, since 0 values are stored in all areas in the unused areas 1 and 2 of the program/data area of the ROM 41b, a game program area and a game data area, a non-game program area and a non-game data, The unused areas 1 and 2 can be easily distinguished from each other, and even if the unused areas 1 and 2 store illegal data, they can be easily found.

尚、ROM41bのプログラム/データ領域の未使用領域1、2における全ての領域に1が格納される構成としても良く、このような構成とした場合でも、遊技プログラム領域及び遊技データ領域と、非遊技プログラム領域及び非遊技データと、未使用領域1、2と、を容易に区別することができるとともに、未使用領域1、2に不正なデータが格納されている場合でも容易に発見することができる。 Incidentally, 1 may be stored in all areas in the unused areas 1 and 2 of the program/data area of the ROM 41b. Even in such a structure, the game program area and the game data area, and the non-game The program area and non-gaming data can be easily distinguished from the unused areas 1 and 2, and even if the unused areas 1 and 2 contain illegal data, they can be easily found. ..

また、遊技プログラム領域と、非遊技プログラム領域と、が別個の領域に割り当たられた構成であれば、遊技プログラム領域と、非遊技プログラム領域と、が隣接する領域にわら当てられる構成としても良く、このような構成であっても遊技の進行に係わる遊技プログラム領域と、遊技の進行に係わらない非遊技プログラムと、を記憶領域の違いに応じて容易に特定することができる。 Further, as long as the game program area and the non-gaming program area are allocated to separate areas, the game program area and the non-gaming program area may be arranged to be adjacent to each other. Even with such a configuration, it is possible to easily specify the game program area related to the progress of the game and the non-game program not related to the progress of the game according to the difference in the storage area.

また、遊技プログラム領域及び非遊技プログラム領域はいずれも、アドレスを2進数表記した場合に下位4桁の値が同じ0のアドレス(0H)から開始するようになっており、ROM41bのプログラム/データ領域のうち遊技の進行に係る遊技プログラム領域と、遊技の進行に係わらない非遊技プログラム領域と、を他の領域と容易に区別することができる。 Further, both the game program area and the non-gaming program area are designed to start from an address (0H) having the same lower four digits when the address is expressed in binary, and the program/data area of the ROM 41b. Among them, the game program area related to the progress of the game and the non-game program area not related to the progress of the game can be easily distinguished from other areas.

また、遊技プログラム領域及び非遊技プログラム領域はいずれも、アドレスを2進数表記した場合に下位4桁の値が同じ0のアドレスから開始するだけでなく、16進数表記した場合に下位1桁の値が同じ0のアドレス(0H)から開始するので、アドレスを2進数表記した場合だけでなく、16進数表記した場合にも遊技プログラム領域と、非遊技プログラム領域と、を他の領域と容易に区別することができる。 Further, in both the game program area and the non-gaming program area, when the address is represented by a binary number, not only the address with the same lower four digits starts from 0, but when the address is represented by a hexadecimal number, the lower one digit value is displayed. Since it starts from the same address (0H) of 0, the game program area and the non-gaming program area can be easily distinguished from other areas not only when the address is expressed in binary but also when expressed in hexadecimal. can do.

尚、遊技プログラム領域及び非遊技プログラム領域がいずれも、アドレスを2進数表記したか、16進数表記したか、に関わらず、下位N(Nは1以上の自然数)桁が同じ値のアドレスから開始する構成であれば、遊技プログラム領域と、非遊技プログラム領域と、を他の領域と容易に区別することが可能であり、例えば、下位N(Nは1以上の自然数)桁の値が同じ1のアドレスから開始する構成でも同様の効果が得られるものである。 It should be noted that both the game program area and the non-gaming program area start from addresses having the same lower N (N is a natural number of 1 or more) digits, regardless of whether the addresses are expressed in binary or hexadecimal. With such a configuration, it is possible to easily distinguish the game program area and the non-gaming program area from other areas. For example, the value of the lower N (N is a natural number of 1 or more) digits is 1 The same effect can be obtained with the configuration starting from the address.

図7(b)に示すように、RAM41cの使用可能領域は、遊技プログラムがワークとして用いる遊技RAM領域と、非遊技プログラムがワークとして用いる非遊技RAM領域と、未使用領域4と、を含んでおり、遊技RAM領域には、特別ワークと、重要ワークと、一般ワークと、未使用領域3と、遊技プログラムがデータを退避する遊技スタック領域と、が含まれ、非遊技RAM領域には、遊技プログラムが参照可能な領域と、遊技プログラムが参照不可能な領域と、非遊技プログラムがデータを退避する非遊技スタック領域と、が含まれる。尚、本実施例では、遊技スタック領域と非遊技スタック領域とをそれぞれ異なる領域に個別に備える構成であるが、遊技プログラム及び非遊技プログラムが共用する一のスタック領域を備える構成としても良い。 As shown in FIG. 7B, the usable area of the RAM 41c includes a game RAM area used as a work by the game program, a non-game RAM area used as a work by the non-gaming program, and an unused area 4. The game RAM area includes a special work, an important work, a general work, an unused area 3 and a game stack area in which a game program saves data, and a non-gaming RAM area includes a game. It includes an area where the program can be referred to, an area where the game program cannot be referred to, and a non-game stack area where the non-game program saves data. In the present embodiment, the game stack area and the non-game stack area are individually provided in different areas, but one stack area shared by the game program and the non-game program may be provided.

未使用領域3は、遊技プログラム及び非遊技プログラムのいずれも使用しない領域であり、予め定められた容量の遊技RAM領域に対して余剰となった領域である。 The unused area 3 is an area in which neither the game program nor the non-gaming program is used, and is an area which is a surplus with respect to the game RAM area having a predetermined capacity.

また、未使用領域4は、遊技プログラム及び非遊技プログラムのいずれも使用しない16バイト以上の領域である。遊技RAM領域と、非遊技RAM領域とが、未使用領域4を挟んで連続しない領域に割り当てられているため、遊技の進行に係わる遊技プログラムが用いる遊技RAM領域と、遊技の進行に係わらない非遊技プログラムが用いる非遊技RAM領域と、を記憶領域の違いに応じて容易に特定することができる。 The unused area 4 is an area of 16 bytes or more that neither the game program nor the non-gaming program uses. Since the game RAM area and the non-game RAM area are allocated to the areas which are not continuous with the unused area 4 interposed therebetween, the game RAM area used by the game program related to the progress of the game and the non-related non-progress of the game. The non-gaming RAM area used by the gaming program and the non-gaming RAM area can be easily specified according to the difference in the storage area.

以下では、遊技プログラム領域、遊技データ領域及び遊技RAM領域をまとめて遊技領域と称す場合があり、非遊技プログラム領域、非遊技データ領域及び非遊技RAM領域をまとめて非遊技領域と称す場合がある。また、未使用領域1及び未使用領域2、未使用領域3及び未使用領域4をまとめて未使用領域と称す場合がある。 In the following, the game program area, the game data area and the game RAM area may be collectively referred to as a game area, and the non-gaming program area, the non-gaming data area and the non-gaming RAM area may be collectively referred to as a non-gaming area. .. Further, the unused area 1 and the unused area 2, the unused area 3 and the unused area 4 may be collectively referred to as an unused area.

メイン制御部41は、HWパラメータ領域に設定されるパラメータに基づいて、ROM41bのプログラム/データ領域のうちアクセスが禁止された領域へのアクセスがあったとき、RAM41cの使用可能領域のうちアクセスが許可に設定されていない領域へのアクセスがあったとき、ROM41bのうちプログラム/データ領域以外の領域へのアクセスがあったとき、RAM41cのうち使用可能領域以外の領域へのアクセスがあったときに、すなわち正常な動作ではアクセスすることのないメモリ領域へのアクセスがあったときにイリーガルアクセスリセットを発生させることで、遊技の進行を不能化させるので、ROM41bの未使用領域や動作とは関係しない領域、RAM41cの未使用領域等に不正なプログラムが格納された場合であっても、不正なプログラムが実行されてしまうことを防止できる。 Based on the parameter set in the HW parameter area, the main control unit 41 permits access to the usable area of the RAM 41c when the area of the program/data area of the ROM 41b for which access is prohibited is accessed. When an area other than the program/data area of the ROM 41b is accessed, an area other than the usable area of the RAM 41c is accessed, That is, since an illegal access reset is generated when an access is made to a memory area that is not accessed in normal operation, the progress of the game is disabled, so an unused area of the ROM 41b and an area unrelated to the operation Even if an unauthorized program is stored in the unused area of the RAM 41c, it is possible to prevent the unauthorized program from being executed.

特に本実施例では、ROM41bのうちプログラムによってアクセスが許可されたプログラム/データ領域に遊技プログラム領域と、非遊技プログラム領域と、が割り当てられ、遊技プログラム領域よりも後方の非遊技プログラム領域の手前の領域に未使用領域1が割り当てられるとともに、HWパラメータ領域に設定されるパラメータに基づいて、プログラム/データ領域のうち遊技プログラム領域の先頭アドレスから非遊技プログラムの最終アドレスまでの領域を含む一かたまりの領域(遊技プログラム領域から非遊技データ領域までの領域)へのアクセスを一括して許可に設定する一方で、それ以外の領域、すなわちプログラム/データ領域のうち遊技プログラムや遊技データ、非遊技プログラム、非遊技データが格納されていない非遊技データよりも後の領域へのアクセスが禁止されるため、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。 In particular, in the present embodiment, a game program area and a non-gaming program area are assigned to the program/data area of the ROM 41b that is permitted to be accessed by the program, and are in front of the non-gaming program area behind the game program area. The unused area 1 is assigned to the area, and based on the parameter set in the HW parameter area, a block including the area from the start address of the game program area to the final address of the non-gaming program in the program/data area While the access to the area (area from the game program area to the non-game data area) is collectively set to allow, the other area, that is, the game program, the game data, the non-game program in the program/data area, Since access to the area after the non-gaming data in which the non-gaming data is not stored is prohibited, it is possible to prevent unintended control by the malicious program or the unauthorized data.

また、ROM41bのうちプログラムによってアクセスが許可されたプログラム/データ領域において非遊技プログラム領域よりも後方に遊技領域が割り当てられ、非遊技プログラム領域よりも後方の遊技プログラム領域の手前の領域に未使用領域が割り当てられるとともに、HWパラメータ領域に設定されるパラメータに基づいて、プログラム/データ領域のうち非遊技プログラム領域の先頭アドレスから遊技プログラムの最終アドレスまでの領域を含む一かたまりの領域へのアクセスを一括して許可に設定する一方で、それ以外の領域へのアクセスが禁止されるようにしても、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。 Further, in the program/data area of the ROM 41b that is permitted to be accessed by the program, a game area is assigned to the rear of the non-game program area, and an unused area is provided in the area before the game program area behind the non-game program area. Is assigned, and based on the parameters set in the HW parameter area, access to a group of areas including the area from the start address of the non-gaming program area to the end address of the gaming program in the program/data area is collectively performed. Then, even if the access to other areas is prohibited while the permission is set, the unintentional control by the unauthorized program or the unauthorized data can be prevented.

尚、プログラム/データ領域に遊技プログラム領域と、非遊技プログラム領域と、が割り当てられ、遊技プログラム領域よりも後方の非遊技プログラム領域の手前の領域に未使用領域1が割り当てられるとともに、プログラム/データ領域のうち遊技プログラム領域を含む一かたまりの領域(遊技プログラム領域から遊技データ領域までの領域)、非遊技プログラムを含む一かたまりの領域(非遊技プログラム領域から非遊技データ領域までの領域)へのアクセスをそれぞれ許可に設定し、他の領域へのアクセスを禁止する構成としても良く、このような構成とした場合でも、プログラム/データ領域のうち遊技プログラムや非遊技プログラムが格納されていない領域へのアクセスが禁止されるため、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。また、ROM41bのうちプログラムによってアクセスが許可されたプログラム/データ領域において非遊技プログラム領域よりも後方に遊技領域が割り当てられ、非遊技プログラム領域よりも後方の遊技プログラム領域の手前の領域に未使用領域が割り当てられるとともに、プログラム/データ領域のうち遊技プログラム領域を含む一かたまりの領域(遊技プログラム領域から遊技データ領域までの領域)、非遊技プログラムを含む一かたまりの領域(非遊技プログラム領域から非遊技データ領域までの領域)へのアクセスをそれぞれ許可に設定し、他の領域へのアクセスを禁止する構成としても良く、このような構成とした場合でも、プログラム/データ領域のうち遊技プログラムや非遊技プログラムが格納されていない領域へのアクセスが禁止されるため、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。 A game program area and a non-game program area are assigned to the program/data area, an unused area 1 is assigned to an area before the non-game program area behind the game program area, and the program/data is also assigned. Of the area, one area including the game program area (area from the game program area to the game data area), one area including the non-gaming program (area from the non-gaming program area to the non-gaming data area) The configuration may be such that access is set to be permitted and access to other areas is prohibited. Even with such a configuration, the program/data area is not stored in the area where the game program or the non-game program is stored. Access is prohibited, it is possible to prevent unintended control by an unauthorized program or unauthorized data. Further, in the program/data area of the ROM 41b that is permitted to be accessed by the program, a game area is assigned to the rear of the non-game program area, and an unused area is provided in the area before the game program area behind the non-game program area. Are allocated, and a group of areas including the game program area in the program/data area (areas from the game program area to the game data area), a group of areas including non-gaming programs (from the non-gaming program area to the non-gaming area) It may be configured such that access to each area up to the data area is permitted and access to other areas is prohibited. Even in such a configuration, a game program or a non-game in the program/data area Since access to the area where the program is not stored is prohibited, it is possible to prevent unintended control by an unauthorized program or unauthorized data.

また、上記では、プログラム/データ領域においてアクセスを許可する領域そのものを設定する構成であるが、プログラム/データ領域においてアクセスを禁止する領域を設定することで、間接的にアクセスを許可する領域が設定される構成としても良い。 Further, in the above, the area itself that allows access in the program/data area is set, but by setting the area that is prohibited in the program/data area, the area that is indirectly allowed is set. It may be configured to be.

メイン制御部41は、HWパラメータ領域に設定されるパラメータに基づいて、プログラム走行を許可する指定エリア以外の領域においてユーザプログラムが実行された場合、すなわち正常な動作ではユーザプログラムが実行されることのない領域でユーザプログラムが実行された場合に、IAT回路506aがIAT発生信号を出力することで、遊技の進行を不能化させるので、ROM41bの未使用領域や動作とは関係しない領域、RAM41cの未使用領域等に不正なプログラムが格納された場合であっても、不正なプログラムが実行されてしまうことを防止できる。 Based on the parameters set in the HW parameter area, the main control unit 41 determines whether the user program is executed in an area other than the designated area where the program running is permitted, that is, the user program is executed in a normal operation. When the user program is executed in the non-existing area, the IAT circuit 506a outputs the IAT generation signal to disable the progress of the game. Even if an unauthorized program is stored in the used area or the like, it is possible to prevent the unauthorized program from being executed.

特に本実施例では、ROM41bのうちプログラムによってアクセスが許可されたプログラム/データ領域に遊技プログラム領域と、非遊技プログラム領域と、が割り当てられ、遊技プログラム領域よりも後方の非遊技プログラム領域の手前の領域に未使用領域1が割り当てられるとともに、HWパラメータ領域に設定されるパラメータに基づいて、プログラム/データ領域のうち遊技プログラム領域、非遊技プログラム領域の各々について、IAT回路506aがプログラム走行を許可する指定エリアとして設定する一方で、それ以外の領域、すなわちプログラム/データ領域のうち遊技プログラムや非遊技プログラムが格納されていない領域でのプログラム走行が禁止されるため、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。 In particular, in the present embodiment, a game program area and a non-gaming program area are assigned to the program/data area of the ROM 41b that is permitted to be accessed by the program, and are in front of the non-gaming program area behind the game program area. The unused area 1 is assigned to the area, and the IAT circuit 506a permits the program running for each of the game program area and the non-gaming program area in the program/data area based on the parameter set in the HW parameter area. While setting as a designated area, program running is prohibited in other areas, that is, in areas of the program/data area where game programs and non-gaming programs are not stored. It is possible to prevent the control from being performed.

また、ROM41bのうちプログラムによってアクセスが許可されたプログラム/データ領域において非遊技プログラム領域よりも後方に遊技領域が割り当てられ、非遊技プログラム領域よりも後方の遊技プログラム領域の手前の領域に未使用領域が割り当てられるとともに、HWパラメータ領域に設定されるパラメータに基づいて、プログラム/データ領域のうち遊技プログラム領域、非遊技プログラム領域の各々について、IAT回路506aがプログラム走行を許可する指定エリアとして設定する一方で、それ以外の領域でのプログラム走行が禁止されるようにしても、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。 Further, in the program/data area of the ROM 41b that is permitted to be accessed by the program, a game area is assigned to the rear of the non-game program area, and an unused area is provided in the area before the game program area behind the non-game program area. Is assigned, and based on the parameters set in the HW parameter area, the IAT circuit 506a sets each of the game program area and the non-gaming program area in the program/data area as a designated area for permitting program running. Thus, even if the program running in the other area is prohibited, it is possible to prevent the unintended control by the illegal program or the illegal data.

尚、プログラム/データ領域に遊技プログラム領域と、非遊技プログラム領域と、が割り当てられ、遊技プログラム領域よりも後方の非遊技プログラム領域の手前の領域に未使用領域1が割り当てられるとともに、HWパラメータ領域に設定されるパラメータに基づいて、プログラム/データ領域のうち遊技プログラム領域の先頭アドレスから非遊技プログラムの最終アドレスまでの領域を含む一かたまりの領域(遊技プログラム領域から非遊技データ領域までの領域)について、IAT回路506aがプログラム走行を許可する指定エリアとして一括して設定し、他の領域でのプログラム走行が禁止される構成としても良く、このような構成とした場合でも、プログラム/データ領域のうち遊技プログラムや非遊技プログラムが格納されていない領域でのプログラム走行が禁止されるため、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。また、ROM41bのうちプログラムによってアクセスが許可されたプログラム/データ領域において非遊技プログラム領域よりも後方に遊技領域が割り当てられ、非遊技プログラム領域よりも後方の遊技プログラム領域の手前の領域に未使用領域が割り当てられるとともに、HWパラメータ領域に設定されるパラメータに基づいて、プログラム/データ領域のうち非遊技プログラム領域の先頭アドレスから遊技プログラムの最終アドレスまでの領域を含む一かたまりの領域(遊技プログラム領域から非遊技データ領域までの領域)について、IAT回路506aがプログラム走行を許可する指定エリアとして一括して設定し、他の領域でのプログラム走行が禁止されるようにしても、不正プログラムや不正データによる意図しない制御が行われてしまうことを防止できる。 Incidentally, a game program area and a non-game program area are assigned to the program/data area, an unused area 1 is assigned to an area before the non-game program area behind the game program area, and an HW parameter area is also assigned. Based on the parameters set in, the area of the program/data area including the area from the start address of the game program area to the end address of the non-gaming program (area from the game program area to the non-gaming data area) With respect to the above, the IAT circuit 506a may collectively set as a designated area for permitting program running, and program running in other areas may be prohibited. Even in such a configuration, the program/data area of Since the program running in the area where the game program or the non-gaming program is not stored is prohibited, it is possible to prevent unintended control by the unauthorized program or the unauthorized data. Further, in the program/data area of the ROM 41b that is permitted to be accessed by the program, a game area is assigned to the rear of the non-game program area, and an unused area is provided in the area before the game program area behind the non-game program area. Is assigned, and based on the parameters set in the HW parameter area, a group of areas (from the game program area) including the area from the start address of the non-gaming program area to the last address of the game program in the program/data area Even if the IAT circuit 506a collectively sets the non-gaming data area as a designated area for permitting the program running and prohibits the program running in other areas, it is caused by an illegal program or illegal data. It is possible to prevent unintended control.

また、上記では、プログラム/データ領域においてプログラム走行を許可する領域そのものを設定する構成であるが、プログラム/データ領域においてプログラム走行を禁止する領域を設定することで、間接的にプログラム走行を許可する領域が設定される構成としても良い。 Further, in the above, the area itself for permitting program running is set in the program/data area, but by setting the area for prohibiting program running in the program/data area, program running is indirectly allowed. The area may be set.

メイン制御部41が実行するプログラムは、プログラム全体の進行を管理するメインルーチンと、他のプログラムの実行中に呼び出されるサブルーチンと、を含む。 The program executed by the main control unit 41 includes a main routine that manages the progress of the entire program and a subroutine that is called during the execution of another program.

また、メイン制御部41にプログラム/データ領域に格納されたプログラムを実行させる命令として、CALL命令を含む。 Further, a CALL instruction is included as an instruction for causing the main control unit 41 to execute the program stored in the program/data area.

CALL命令は、メインルーチンまたはサブルーチンにおいて指定されたアドレスに格納されたサブルーチンを呼び出して実行させる命令である。メイン制御部41は、CALL命令によりサブルーチンを呼び出す場合には、呼び出し元のアドレスをスタック領域に格納し、指定されたアドレスに格納されたサブルーチンを呼び出して実行する。そして、当該サブルーチンの終了後、スタック領域に格納されている呼び出し元のアドレス、すなわちCALL命令を実行した呼び出し元のメインルーチンまたはサブルーチンのプログラムに復帰する。 The CALL instruction is an instruction to call and execute a subroutine stored at an address designated in a main routine or a subroutine. When the subroutine is called by the CALL instruction, the main control unit 41 stores the caller's address in the stack area, and calls and executes the subroutine stored at the specified address. Then, after the end of the subroutine, the address of the caller stored in the stack area, that is, the program of the main routine or the subroutine of the caller that executed the CALL instruction is restored.

また、CALL命令は、通常のCALL命令と、特殊なCALL命令であるCALLV命令と、を含む。通常のCALL命令は、上位アドレス及び下位アドレスの双方を指定して指定された上位アドレス及び下位アドレスによりアドレスを特定してサブルーチンを呼び出す命令であるのに対して、CALLV命令は、下位アドレスのみ指定することで、ROM41bのベクタテーブル領域に予め設定された上位アドレス及び指定された下位アドレスによりアドレスを特定してサブルーチンを呼び出す命令であり、通常のCALL命令に比較して少ないデータ量でサブルーチンを呼び出すことが可能となる。 Further, the CALL instruction includes a normal CALL instruction and a special CALLV instruction which is a special CALL instruction. A normal CALL instruction is an instruction that calls an subroutine by specifying an upper address and a lower address that are specified by specifying both an upper address and a lower address, whereas a CALLV instruction specifies only a lower address. By doing so, the instruction is an instruction to call a subroutine by specifying an address by a preset upper address and a specified lower address in the vector table area of the ROM 41b, and calls the subroutine with a smaller amount of data as compared with a normal CALL instruction. It becomes possible.

RST命令は、予め定められた複数の特定アドレスに対応する値を指定することで、指定された値に対応する特定アドレスに格納されたサブルーチンを呼び出して実行させる命令であり、上記した通常のCALL命令やCALLV命令に比較して少ないデータ量でサブルーチンを呼び出すことが可能となる。メイン制御部41は、RST命令によりサブルーチンを呼び出す場合には、呼び出し元のアドレスをスタック領域に格納し、指定された値に対応する特定アドレスに格納されたサブルーチンを呼び出して実行する。そして、当該サブルーチンの終了後、スタック領域に格納されている呼び出し元のアドレス、すなわちRST命令を実行した呼び出し元のメインルーチンまたはサブルーチンに復帰する。 The RST instruction is an instruction for calling and executing a subroutine stored in a specific address corresponding to a specified value by specifying a value corresponding to a plurality of predetermined specific addresses, and is the normal CALL described above. It is possible to call a subroutine with a smaller amount of data than an instruction or a CALLV instruction. When the subroutine is called by the RST instruction, the main control unit 41 stores the caller's address in the stack area and calls and executes the subroutine stored at the specific address corresponding to the designated value. Then, after the end of the subroutine, the process returns to the caller's address stored in the stack area, that is, the caller's main routine or subroutine that executed the RST instruction.

ジャンプ命令は、メインルーチンまたはサブルーチンにおいて指定されたアドレスに格納されたプログラムに移動する命令である。メイン制御部41は、ジャンプ命令により指定されたアドレスに格納されたプログラムに移動し、移動先のプログラムを実行する。この場合には、CALL命令やRST命令と異なり、移動後のプログラムが終了しても移動元のプログラムに復帰することはない。 The jump instruction is an instruction to move to the program stored at the address specified in the main routine or subroutine. The main control unit 41 moves to the program stored at the address designated by the jump instruction, and executes the destination program. In this case, unlike the CALL instruction and the RST instruction, even if the program after the movement ends, it does not return to the original program.

また、メイン制御部41にプログラム/データ領域に格納されたデータを読み出す命令としてLD命令を含む。LD命令は、メインルーチンまたはサブルーチンにおいて指定されたアドレスに格納されたデータを指定されたレジスタに読み出す命令である。メイン制御部41は、LD命令により指定されたアドレスに格納されたデータを読み出し、LD命令により指定されたレジスタに読み出したデータを格納する。 Further, the main control unit 41 includes an LD instruction as an instruction to read the data stored in the program/data area. The LD instruction is an instruction to read the data stored at the address designated in the main routine or the subroutine into the designated register. The main control unit 41 reads the data stored at the address designated by the LD instruction, and stores the read data in the register designated by the LD instruction.

ROM41bに格納された遊技プログラムのうち特に使用頻度の高いサブルーチンは、ROM41bの遊技プログラム領域のうち先頭アドレスが特定値(例えば00H)となる領域に格納されている。一方、ROM41bのベクタテーブル領域には、CALLV命令で呼び出すサブルーチンの上位アドレスとして特定値が設定されている。そして、メイン制御部41は、先頭アドレスの上位アドレスが特定値となるサブルーチンを呼び出すときに、CALLV命令を用いて下位アドレスのみ指定することで、上位アドレスとしてベクタテーブル領域に設定された特定値を特定し、下位アドレスとして指定された下位アドレスを特定し、上位及び下位を合わせたアドレスに格納されたサブルーチンを呼び出して実行する。このため、遊技プログラムのうち特に使用頻度の高いサブルーチンを呼び出す際に用いるアドレスの一部を構成する上位アドレスが特定値として予めベクタテーブルに設定されており、ベクタテーブルに設定された特定値に基づいてアドレスが特定されるため、上位アドレス及び下位アドレスの双方を指定してプログラムを呼び出す通常のCALL命令に比較して少ないデータ量にてサブルーチンを呼び出すことが可能となり、これらのサブルーチンを呼び出す際にアドレスを指定するためのプログラムの無駄を削減することができる。 Of the game programs stored in the ROM 41b, particularly frequently used subroutines are stored in an area of the game program area of the ROM 41b where the head address has a specific value (for example, 00H). On the other hand, in the vector table area of the ROM 41b, a specific value is set as the higher address of the subroutine called by the CALLV instruction. Then, the main control unit 41 specifies only the lower address by using the CALLV instruction when calling a subroutine in which the upper address of the start address has the specific value, so that the specific value set in the vector table area as the upper address. Then, the lower address specified as the lower address is specified, and the subroutine stored in the upper and lower addresses is called and executed. For this reason, the upper address that constitutes a part of the address used when calling a particularly frequently used subroutine in the game program is preset in the vector table as a specific value, and based on the specific value set in the vector table. Address is specified, the subroutine can be called with a smaller amount of data compared to the normal CALL instruction that calls the program by specifying both the upper address and the lower address. When calling these subroutines, It is possible to reduce the waste of the program for specifying the address.

尚、ROM41bに格納された非遊技プログラムのうち特に使用頻度の高いサブルーチンを、ROM41bの非遊技プログラム領域のうち先頭アドレスが特定値となる領域に格納するとともに、ROM41bのベクタテーブル領域に、CALLV命令で呼び出すサブルーチンの上位アドレスとして特定値を設定し、メイン制御部41が先頭アドレスの上位アドレスが特定値となるサブルーチンを呼び出すときに、CALLV命令を用いて下位アドレスのみ指定することで、これらのサブルーチンを呼び出して実行する構成とした場合でも、上位アドレス及び下位アドレスの双方を指定してプログラムを呼び出す通常のCALL命令に比較して少ないデータ量にてサブルーチンを呼び出すことが可能となり、これらのサブルーチンを呼び出す際にアドレスを指定するためのプログラムの無駄を削減することができる。 In addition, a subroutine with a high frequency of use among the non-gaming programs stored in the ROM 41b is stored in an area of the non-gaming program area of the ROM 41b where the start address has a specific value, and the CALLV instruction is stored in the vector table area of the ROM 41b. By setting a specific value as the upper address of the subroutine to be called by, and when the main control unit 41 calls the subroutine in which the upper address of the start address has the specific value, only the lower address is specified by using the CALLV instruction, thereby Even when configured to call and execute, subroutines can be called with a smaller amount of data compared to a normal CALL instruction that calls a program by specifying both the upper address and the lower address. It is possible to reduce the waste of the program for specifying the address when calling.

また、CALLV命令で呼び出す際に用いる上位アドレスを、ベクタテーブル領域ではなく、メイン制御部41の特定のレジスタに設定する構成としても良い。 Further, the upper address used when calling with the CALLV instruction may be set not in the vector table area but in a specific register of the main control unit 41.

また、CALLV命令に限らず、アドレスの一部が、ベクタテーブル領域に格納された値、特定のレジスタに設定された値等を用いて特定され、アドレスの残りの部分を指定することで、サブルーチンの格納アドレスが特定可能となる特殊なCALL命令を用いる構成であれば、サブルーチンを呼び出す際にアドレスを指定するためのプログラムの無駄を削減することができる。また、ベクタテーブル領域を構成する複数の領域に、それぞれアドレスよりもデータ量の小さい識別値を割り当て、これら複数の領域にそれぞれサブルーチンの格納アドレスを設定するとともに、識別値を指定することで、識別値に対応する領域に格納されたサブルーチンの格納アドレスを特定可能となる特殊なCALL命令を用いる構成であっても、サブルーチンを呼び出す際にアドレスを指定するためのプログラムの無駄を削減することができる。 In addition to the CALLV instruction, a part of the address is specified by using the value stored in the vector table area, the value set in a specific register, or the like, and the remaining part of the address is designated, so that the subroutine If the special CALL instruction is used to specify the storage address of, the waste of the program for designating the address when calling the subroutine can be reduced. Also, by assigning identification values having a smaller data amount than the addresses to each of the plurality of areas forming the vector table area, setting the storage address of the subroutine in each of the plurality of areas, and specifying the identification values, Even with a configuration using a special CALL instruction that can specify the storage address of the subroutine stored in the area corresponding to the value, it is possible to reduce the waste of the program for specifying the address when calling the subroutine. ..

また、ROM41bに格納された遊技データのうち特に使用頻度の高い遊技データを、ROM41bの遊技データ領域のうち先頭アドレスが特定値となる領域に格納するとともに、ROM41bのベクタテーブル領域に、特殊なLD命令で読み出すデータの上位アドレスとして特定値を設定し、メイン制御部41が先頭アドレスの上位アドレスが特定値となる遊技データを呼び出すときに、特殊なLD命令を用いて下位アドレスのみ指定することで、これらの遊技データを読み出す構成とした場合でも、上位アドレス及び下位アドレスの双方を指定してデータを読み出す通常のLD命令に比較して少ないデータ量にて遊技データを呼び出すことが可能となり、これらの遊技データを読み出す際にアドレスを指定するためのプログラムの無駄を削減することができる。 In addition, game data that is particularly frequently used among the game data stored in the ROM 41b is stored in a region of the game data region of the ROM 41b where the start address has a specific value, and a special LD is stored in the vector table region of the ROM 41b. By setting a specific value as the upper address of the data to be read by the instruction, and when the main control unit 41 calls the game data in which the upper address of the start address has the specific value, a special LD instruction is used to specify only the lower address. , Even when these game data are read out, it is possible to call the game data with a smaller data amount as compared with a normal LD instruction for reading data by designating both the upper address and the lower address. It is possible to reduce the waste of the program for designating the address when reading the game data.

また、ROM41bに格納された非遊技データのうち特に使用頻度の高い非遊技データを、ROM41bの非遊技データ領域のうち先頭アドレスが特定値となる領域に格納するとともに、ROM41bのベクタテーブル領域に、特殊なLD命令で読み出すデータの上位アドレスとして特定値を設定し、メイン制御部41が先頭アドレスの上位アドレスが特定値となる非遊技データを呼び出すときに、特殊なLD命令を用いて下位アドレスのみ指定することで、これらの非遊技データを読み出す構成とした場合でも、上位アドレス及び下位アドレスの双方を指定してデータを読み出す通常のLD命令に比較して少ないデータ量にて非遊技データを呼び出すことが可能となり、これらの非遊技データを読み出す際にアドレスを指定するためのプログラムの無駄を削減することができる。 Further, among the non-gaming data stored in the ROM 41b, the non-gaming data that is particularly frequently used is stored in the non-gaming data area of the ROM 41b in which the top address has a specific value, and in the vector table area of the ROM 41b. A specific value is set as the upper address of the data to be read by the special LD command, and when the main control unit 41 calls the non-gaming data in which the upper address of the start address is the specific value, only the lower address is used by using the special LD command. Even if it is configured to read out these non-gaming data by designating, the non-gaming data is called with a smaller amount of data compared to a normal LD command that designates both the upper address and the lower address to read the data. Therefore, it is possible to reduce the waste of the program for designating an address when reading these non-game data.

また、これらの場合でも特殊なLD命令で呼び出す際に用いる上位アドレスを、ベクタテーブル領域ではなく、メイン制御部41の特定のレジスタに設定する構成としても良い。 Further, even in these cases, the upper address used when calling with a special LD instruction may be set in a specific register of the main control unit 41 instead of in the vector table area.

また、アドレスの一部が、ベクタテーブル領域に格納された値、特定のレジスタに設定された値等を用いて特定され、アドレスの残りの部分を指定することで、データの格納アドレスが特定可能となる特殊なLD命令を用いる構成であれば、データを読み出す際にアドレスを指定するためのプログラムの無駄を削減することができる。また、ベクタテーブル領域を構成する複数の領域に、それぞれアドレスよりもデータ量の小さい識別値を割り当て、これら複数の領域にそれぞれデータの格納アドレスを設定するとともに、識別値を指定することで、識別値に対応する領域に格納されたデータの格納アドレスを特定可能となる特殊なLD命令を用いる構成であっても、データを読み出す際にアドレスを指定するためのプログラムの無駄を削減することができる。 In addition, part of the address can be specified using the value stored in the vector table area, the value set in a specific register, etc., and the data storage address can be specified by specifying the remaining part of the address. With a configuration that uses a special LD instruction that makes it possible to reduce waste of a program for designating an address when reading data. In addition, by assigning an identification value having a smaller data amount than an address to each of the plurality of areas that make up the vector table area, setting a storage address of data in each of these multiple areas, and specifying the identification value, Even with a configuration using a special LD instruction that can specify the storage address of the data stored in the area corresponding to the value, it is possible to reduce the waste of the program for designating the address when reading the data. ..

メイン制御部41は、システムリセット信号の入力によるシステムリセット、WDT506bによるWDTリセット、前述のイリーガルアクセスリセットが発生することで起動することとなるが、この際、ベクタテーブル領域に設定された値、すなわちCALLV命令のサブルーチンの上位アドレス及びタイマ割込処理(メイン)の先頭アドレスが、プログラム領域のうちプログラム等が実際に格納された領域を示す値であるか、またはFFFFH(未使用のベクタテーブル領域に設定される値)であるか、を判定し、ベクタテーブル領域に設定された値がプログラムが設定される領域外を示す値でもなく、FFFFHでもない場合には、起動しないようになっており、割込の発生等により本来意図していない処理が実行されてしまうことを事前に防止できる。 The main control unit 41 is activated by the system reset by the input of the system reset signal, the WDT reset by the WDT 506b, and the illegal access reset described above. At this time, the value set in the vector table area, that is, The upper address of the subroutine of the CALLV instruction and the start address of the timer interrupt process (main) are values indicating the area in which the program etc. are actually stored in the program area, or FFFFH (in the unused vector table area If the value set in the vector table area is neither a value indicating an area outside the area in which the program is set nor FFFFH, it does not start up. It is possible to prevent in advance processing that is not originally intended to be executed due to an interrupt or the like.

遊技プログラムとは、遊技の進行に係わるプログラムであり、当該プログラムに基づく処理を実行しないと、遊技の進行に支障をきたす処理を実行するためのプログラムである。一方、非遊技プログラムとは、遊技の進行に係わらないプログラムであり、遊技プログラムから呼び出されて当該プログラムに基づく処理が実行されずに遊技プログラムに復帰した場合でも、遊技を進行させることが可能な処理を実行するためのプログラムである。 The game program is a program relating to the progress of the game, and is a program for executing a process that hinders the progress of the game unless the process based on the program is executed. On the other hand, the non-gaming program is a program that is not related to the progress of the game, and it is possible to proceed with the game even when the game program is called and the processing based on the program is not executed and the game program is returned to. It is a program for executing processing.

遊技プログラムは、図8に示すように、遊技プログラムだけに含まれる遊技専用プログラムと、遊技プログラム及び非遊技プログラム双方に含まれる共通判定プログラム及び共通汎用プログラムと、を含む。 As shown in FIG. 8, the game program includes a game-only program included only in the game program, and a common determination program and a common general-purpose program included in both the game program and the non-game program.

遊技専用プログラムは、例えば、遊技開始待ち処理、内部抽選処理、リール制御処理、遊技終了時設定処理、外部出力1処理、初期設定処理、電断処理、エラー処理を含む。遊技開始待ち処理は、1ゲームの制御の終了後、メダルの投入等により賭数を設定し、規定数の賭数が設定された後、スタートスイッチ7が操作されることでゲームを開始させるための処理であり、内部抽選処理は、内部抽選を行い、当選フラグの設定等を行う処理であり、リール制御処理は、リールの回転を開始させ、ストップスイッチ8L、8C、8Rが操作されることでリールを停止させるための処理であり、遊技終了時設定処理は、停止したリールの停止位置に応じて入賞が発生したか否かを判定し、メダルの払出、再遊技の設定、遊技状態の移行等を行うための処理であり、外部出力1処理は、外部出力信号のうちメダルIN信号、メダルOUT信号、RB中信号、BB中信号、RT中信号の出力制御を行うための処理であり、初期設定処理は、電源投入時においてゲームを可能な状態とするための処理(バックアップ異常確認、レジスタ初期化等)であり、電断処理は、電断発生時に、その後電断前の状態に復帰できるようにするための処理であり、エラー処理は、各種の異常(メダルの投入異常、メダルセレクタ29内の異物検知、リール回転異常、メダルの払出異常、払出口付近の異物検知、RAM異常、設定値異常、ホッパータンク34aの空、オーバーフロータンク35の満タン検知等)が検知された場合に遊技を不能化するための処理である。また、特に図示しないが、遊技プログラムは、前述のATに関連する処理(ATに係る抽選やナビ報知に係る制御等)も含む。 The game dedicated program includes, for example, a game start waiting process, an internal lottery process, a reel control process, a game end time setting process, an external output 1 process, an initial setting process, an electric power interruption process, and an error process. In the game start waiting process, the number of bets is set by inserting medals after the end of the control of one game, and the game is started by operating the start switch 7 after the set number of bets is set. The internal lottery process is a process of performing an internal lottery and setting a winning flag, and the reel control process is to start the rotation of the reel and operate the stop switches 8L, 8C, 8R. It is a process for stopping the reels in the game end setting process, it is determined whether or not a winning has occurred according to the stop position of the stopped reel, payout of medals, setting of re-game, The external output 1 process is a process for controlling the output of the medal IN signal, the medal OUT signal, the RB middle signal, the BB middle signal, and the RT middle signal among the external output signals. , The initial setting process is a process for making the game possible when the power is turned on (backup abnormality confirmation, register initialization, etc.), and the power interruption process is the state before the power interruption after the power interruption occurs. The error processing is processing for enabling recovery, and various kinds of abnormalities (medal insertion abnormality, foreign matter detection inside the medal selector 29, reel rotation abnormality, medal payout abnormality, foreign matter detection near the payout opening, RAM abnormality). , Setting value abnormality, emptying of the hopper tank 34a, full tank detection of the overflow tank 35, etc.) is a process for disabling the game. Although not shown in particular, the game program also includes the above-described processing related to the AT (such as lottery related to AT and control related to navigation notification).

遊技プログラムにおける共通判定プログラムは、例えば、投入判定処理、払出判定処理を含む。投入判定処理は、投入メダルセンサ31によるメダルの正常な通過であるか否かを判定する処理であり、賭数の設定等のためにメダルの投入が可能な状態において実行される処理である。払出判定処理は、払出センサ34cによるメダルの正常な通過であるか否かを判定する処理であり、小役の入賞時やクレジットの精算時にメダルの払出が許可されている状態において実行される処理である。 The common determination program in the game program includes, for example, an insertion determination process and a payout determination process. The insertion determination process is a process of determining whether or not the medal is normally passed by the insertion medal sensor 31, and is a process that is executed in a state in which a medal can be inserted for setting a bet number or the like. The payout determination process is a process of determining whether or not the medal is normally passed by the payout sensor 34c, and is executed in a state in which the payout of the medal is permitted at the time of winning a small winning combination or when the credit is settled. Is.

遊技プログラムにおける共通汎用プログラムは、遊技プログラムを構成する複数種類の処理から呼び出されて実行される処理であり、例えば、カウンタ更新処理、ポート入力処理、データ変換処理、LED表示処理、データ設定処理、コマンド設定処理を含む。カウンタ更新処理は、指定されたカウンタ値を更新するための処理であり、ポート入力処理は、指定されたポートの入力状態を取得する処理であり、データ変換処理は、遊技データを用いて入力されたデータを変換して出力する処理であり、LED表示処理は、指定された値をLEDに表示させるために設定する処理であり、データ設定処理は、指定されたデータを設定する処理であり、コマンド設定処理は、指定されたコマンドをコマンドキューに設定する処理である。 The common general-purpose program in the game program is a process that is called and executed from a plurality of types of processes that form the game program. For example, a counter update process, a port input process, a data conversion process, an LED display process, a data setting process, Includes command setting processing. The counter update process is a process for updating the specified counter value, the port input process is a process for acquiring the input state of the specified port, and the data conversion process is input using game data. Is a process for converting and outputting the data, the LED display process is a process for setting a specified value to be displayed on the LED, and the data setting process is a process for setting the specified data. The command setting process is a process of setting the specified command in the command queue.

特に、遊技プログラムは、上述のように異常が検知された場合に、異常の種別に応じた解除条件(乱数異常、RAM異常、バックアップ異常、設定値異常の場合は、設定値の再設定、それ以外の異常の場合はリセット操作)が成立するまで遊技の進行を不能化するエラー処理を含む。 In particular, the game program, when the abnormality is detected as described above, the cancellation condition according to the type of abnormality (random number abnormality, RAM abnormality, backup abnormality, setting value abnormality, reset setting value, In the case of an error other than the above, it includes an error process that disables the progress of the game until the reset operation) is established.

非遊技プログラムは、図8に示すように、非遊技プログラムだけに含まれる非遊技専用プログラムと、遊技プログラムと同じ共通判定プログラム及び共通汎用プログラムと、を含む。 As shown in FIG. 8, the non-gaming program includes a non-gaming dedicated program included only in the non-gaming program, and a common determination program and a common general-purpose program that are the same as the game program.

非遊技専用プログラムは、例えば、試験信号出力処理、異物検知処理、ドア監視処理、外部出力2処理、投入メダルエラー判定処理、払出メダルエラー判定処理、停電判定処理、通常時コマンド送信処理、電断時コマンド送信処理を含む。試験信号出力処理は、遊技の結果に関連して発生する試験信号を出力するための処理であり、異物検知処理は、投入口センサ26によるメダル通路内の異物を検知するための処理であり、ドア監視処理は、前面扉1bの開放を検知するための処理であり、外部出力2処理は、外部出力信号のうちセキュリティ信号(ドア開放信号、設定変更信号、投入エラー信号、払出エラー信号)の出力制御を行うための処理であり、投入メダルエラー判定処理は、投入メダルセンサ31の検出状況に基づいて投入メダルの逆流検知、メダルセレクタ29内のメダル詰り検知、メダルセレクタ29内の異物検知を行うための処理であり、払出メダルエラー判定処理は、払出センサ34cの検出状況に基づいて払出メダルの逆流検知、払出口付近のメダル詰り検知、払出口付近の異物検知を行うための処理であり、停電判定処理は、電断検出回路48からの電圧低下信号が検出されているか否かを判定するための処理であり、通常時コマンド送信処理は、遊技専用プログラム及び非遊技専用プログラムのコマンド設定処理によりコマンドキューに設定されているコマンドのうち最初に設定された一のコマンドをサブ制御部91に対して送信するための処理であり、電断時コマンド送信処理は、コマンドキューに設定されている全てのコマンドをサブ制御部91に対して送信するための処理である。 The non-game dedicated program is, for example, test signal output processing, foreign matter detection processing, door monitoring processing, external output 2 processing, inserted medal error determination processing, payout medal error determination processing, power failure determination processing, normal command transmission processing, power interruption Includes hour command transmission processing. The test signal output process is a process for outputting a test signal generated in association with the result of the game, and the foreign substance detection process is a process for detecting a foreign substance in the medal passage by the slot sensor 26, The door monitoring process is a process for detecting the opening of the front door 1b, and the external output 2 process is a security signal (door opening signal, setting change signal, closing error signal, payout error signal) of the external output signals. The input medal error determination process is a process for performing output control, and detects the backward flow of inserted medals, the detection of clogging of medals in the medal selector 29, and the detection of foreign substances in the medal selector 29 in the inserted medal error determination process. The payout medal error determination process is a process for performing backflow detection of payout medals, detection of clogging of medals near the payout opening, and detection of foreign matter near the payout opening based on the detection status of the payout sensor 34c. The power failure determination process is a process for determining whether or not the voltage drop signal from the power failure detection circuit 48 is detected, and the normal time command transmission process is the command setting of the game dedicated program and the non-game dedicated program. This is a process for transmitting the first one command set among the commands set in the command queue by the process to the sub control unit 91, and the command transmission process during power interruption is set in the command queue. This is a process for transmitting all the existing commands to the sub control unit 91.

非遊技プログラムにおける共通汎用プログラムは、非遊技プログラムを構成する複数種類の処理から呼び出されて実行される処理であり、遊技プログラムにおける共通汎用プログラムと同様に、例えば、カウンタ更新処理、ポート入力処理、データ変換処理、LED表示処理、データ設定処理、コマンド設定処理を含む。 The common general-purpose program in the non-gaming program is a process that is called and executed from a plurality of types of processes that make up the non-gaming program, and similar to the common general-purpose program in the gaming program, for example, counter update processing, port input processing, It includes data conversion processing, LED display processing, data setting processing, and command setting processing.

非遊技プログラムは、遊技の進行に係わらない検知手段(投入口センサ26、満タンセンサ35a、ドア開放検出スイッチ25)の検出状況に基づいて所定の検出状況か否かを判定する処理を含む。 The non-gaming program includes a process of determining whether or not a predetermined detection status is based on the detection status of the detection means (the insertion port sensor 26, the full tank sensor 35a, the door opening detection switch 25) that are not related to the progress of the game.

また、非遊技プログラムは、複数の制御状態(遊技開始待ち処理、内部抽選処理、リール制御処理、遊技終了時設定処理)のうち特定の制御状態においては、遊技の進行に係わる検知手段として機能し、他の制御状態においては、遊技の進行に係わらない検出手段として機能する検出手段(例えば、投入メダルセンサ31、払出センサ34c)が、遊技の進行に係わらない制御状態での検出状況に基づいて所定の検出状況か否かを判定する処理(例えば、リール回転中のメダルの投入やメダルの払出が検出されたことによる異常を検知するための投入メダルの検出処理や払出メダルの検出処理)を含む。尚、このような判定処理は、遊技プログラムにおいて遊技の進行に係わる制御状態での検出状況に基づいて所定の検出状況か否かを判定する処理と同じ処理であるため、共通判定プログラムに該当する。 Further, the non-gaming program functions as a detection means relating to the progress of the game in a specific control state among a plurality of control states (game start waiting process, internal lottery process, reel control process, game end time setting process). In other control states, the detection means (for example, the inserted medal sensor 31, the payout sensor 34c) functioning as the detection means not related to the progress of the game is based on the detection status in the control state not related to the progress of the game. Processing for determining whether or not a predetermined detection situation (for example, detection processing of inserted medals and detection processing of paid-out medals for detecting an abnormality due to detection of insertion of medals during reel rotation or payout of medals) Including. It should be noted that such a determination process corresponds to a common determination program because it is the same as the process of determining whether or not a predetermined detection situation is based on the detection situation in the control state related to the progress of the game in the game program. ..

尚、遊技プログラムに含まれる処理のうち、外部出力1処理、遊技開始待ち処理においてメダルの投入数を計数する処理、流路切替ソレノイド30を切り替える処理、遊技終了時設定処理においてメダルの払出数を計数する処理、ホッパータンク34aが空になったことを検知する処理、ソフトウェア乱数を更新する処理、ATに関連する処理、内部当選コマンドの送信処理等、ゲームの進行に直接的には関連しないものであればこれらの処理の全部または一部が非遊技プログラムに含まれる構成であっても良い。一方で、非遊技プログラムに含まれる処理のうち遊技の進行に間接的に関連するものであればこれらの処理の全部または一部が遊技プログラムに含まれる構成であっても良い。 Among the processes included in the game program, the external output 1 process, the process of counting the number of inserted medals in the game start waiting process, the process of switching the flow path switching solenoid 30, the payout number of medals in the game end setting process. A process that is not directly related to the progress of the game, such as a process of counting, a process of detecting that the hopper tank 34a is empty, a process of updating a software random number, a process related to AT, a process of transmitting an internal winning command, etc. If so, all or part of these processes may be included in the non-gaming program. On the other hand, if the processing included in the non-gaming program is indirectly related to the progress of the game, all or a part of these processing may be included in the gaming program.

本実施例においてメイン制御部41のCPU41aは、図9に示すように、遊技プログラムに基づく処理において非遊技プログラムを呼び出して非遊技プログラムに基づく処理を実行し、非遊技プログラムに基づく処理の終了後、遊技プログラムに基づく処理に復帰する。 In the present embodiment, the CPU 41a of the main control unit 41 calls the non-gaming program in the processing based on the gaming program, executes the processing based on the non-gaming program, and after the processing based on the non-gaming program ends, as shown in FIG. , Returns to the processing based on the game program.

図9に示すように、CPU41aは、原則として遊技プログラムに基づく処理を実行するにあたり、遊技データ領域の遊技データを参照して遊技プログラムに基づく処理を実行するとともに、遊技RAM領域をワークとして使用し、遊技RAM領域の内容を参照及び更新することが可能である。また、CPU41aは、原則として非遊技プログラムに基づく処理を実行するにあたり、非遊技データ領域の遊技データを参照して非遊技プログラムに基づく処理を実行するとともに、非遊技RAM領域をワークとして使用し、非遊技RAM領域の内容を参照及び更新することが可能である。 As shown in FIG. 9, in principle, the CPU 41a refers to the game data in the game data area to execute the processing based on the game program when executing the processing based on the game program, and uses the game RAM area as work. , It is possible to refer to and update the contents of the game RAM area. In addition, in principle, the CPU 41a refers to the game data in the non-gaming data area to execute the processing based on the non-gaming program when executing the processing based on the non-gaming program, and uses the non-gaming RAM area as work. It is possible to refer to and update the contents of the non-gaming RAM area.

また、CPU41aは、遊技プログラムに基づく処理を実行するにあたり、非遊技データ領域を参照することはなく、非遊技RAM領域を更新することはないが、非遊技RAM領域を参照することは可能であり、非遊技プログラムに基づく処理を実行するにあたり、遊技データ領域を参照することはなく、遊技RAM領域を更新することはないが、遊技RAM領域を参照することは可能である。 Further, the CPU 41a does not refer to the non-gaming data area and does not update the non-gaming RAM area when executing the processing based on the game program, but can refer to the non-gaming RAM area. When executing the processing based on the non-gaming program, the gaming data area is not referred to and the gaming RAM area is not updated, but it is possible to refer to the gaming RAM area.

また、遊技プログラムに基づく処理は、非遊技RAM領域のうち遊技プログラムに必要な特定の領域(例えば、異常の検知を示すエラーフラグの設定領域等)のみ参照可能とされており、非遊技プログラムに基づく処理は、遊技RAM領域のうち非遊技プログラムに必要な特定の領域(例えば、内部当選フラグの設定領域、遊技状態の設定領域、RTの設定領域等)のみ参照可能とされている。また、非遊技RAM領域のうち遊技プログラムに基づく処理が参照可能な特定の領域、遊技RAM領域のうち非遊技プログラムに基づく処理が参照可能な特定の領域は、連続するアドレス領域に割り当てられることが好ましいが、一部または全部が連続しないアドレス領域に割り当てられる構成であっても良い。 Further, the processing based on the game program can refer only to a specific area necessary for the game program (for example, an area for setting an error flag indicating detection of abnormality) in the non-game RAM area. The processing based on the game RAM area can refer only to a specific area required for the non-gaming program (for example, an internal winning flag setting area, a game state setting area, an RT setting area, etc.). Further, a specific area in the non-gaming RAM area where processing based on the game program can be referred to and a specific area in the gaming RAM area where processing based on the non-gaming program can be referenced are assigned to consecutive address areas. Although preferable, a part or all of the address area may be allocated to discontinuous address areas.

このように本実施例では、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムが参照する遊技データが読み出し可能に記憶される遊技データ領域と、遊技プログラムが参照するワークデータが読み出し及び書き込み可能に記憶される遊技RAM領域と、遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、非遊技プログラムが参照する非遊技データが読み出し可能に記憶される非遊技データ領域と、非遊技プログラムが参照するワークデータが読み出し及び書き込み可能に記憶される非遊技RAM領域と、がそれぞれ別個に割り当てられているため、遊技プログラム、遊技データ及び遊技プログラムのワークデータと、非遊技プログラム、非遊技データ及び非遊技プログラムのワークデータと、を記憶領域の違いに応じて容易に特定することができる。 As described above, in this embodiment, a game program area in which a game program related to the progress of a game is stored, a game data area in which the game data referred to by the game program is readably stored, and work data referred to by the game program. Is a non-gaming program area in which a non-gaming program area in which a non-gaming program, which is a program called by a gaming program and which is readable and writable and which is called by a gaming program, is stored and a non-gaming program refers to A non-gaming data area in which data is readably stored and a non-gaming RAM area in which work data referred to by a non-gaming program is stored in a readable and writable manner are separately allocated, so a gaming program, The game data and the work data of the game program, and the non-gaming program, the non-gaming data, and the work data of the non-gaming program can be easily specified according to the difference in the storage area.

また、遊技プログラム領域及び遊技データ領域と、非遊技プログラム領域及び非遊技データ領域と、を分けることで、それぞれの機能に応じてROM41bに占める領域をコンパクトに管理することができるため、各領域において該当するデータを特定することがさらに容易となる。 Further, by dividing the game program area and the game data area from the non-game program area and the non-game data area, it is possible to manage the area occupied in the ROM 41b compactly according to the respective functions. It becomes easier to identify the relevant data.

また、本実施例では、遊技プログラムを実行する際に、非遊技RAM領域を参照することが可能であり、非遊技プログラムを実行する際に、遊技RAM領域を参照することが可能であるため、遊技プログラムを実行するにあたり、非遊技プログラムが使用していたデータを簡単に利用することができ、非遊技プログラムを実行するにあたり、遊技プログラムが使用していたデータを簡単に利用することができる。一方で、遊技プログラムを実行する際に、非遊技RAM領域を更新することは不可能であり、非遊技プログラムを実行する際に、遊技RAM領域を更新することは不可能であるため、遊技プログラムが非遊技プログラムの処理に影響を及ぼすことなく、非遊技プログラムが遊技プログラムの処理に影響を及ぼすことがない。 Further, in the present embodiment, it is possible to refer to the non-gaming RAM area when executing the game program, and it is possible to refer to the game RAM area when executing the non-gaming program. When executing the game program, the data used by the non-game program can be easily used, and when executing the non-game program, the data used by the game program can be easily used. On the other hand, when executing the game program, it is impossible to update the non-game RAM area, and when executing the non-game program, it is impossible to update the game RAM area, so the game program Does not affect the processing of the non-gaming program, and the non-gaming program does not affect the processing of the gaming program.

また、本実施例では、遊技プログラムに基づく処理は、非遊技RAM領域のうち遊技プログラムに必要な特定の領域(例えば、異常の検知を示すエラーフラグの設定領域等)のみ参照可能とされており、非遊技プログラムに基づく処理は、遊技RAM領域のうち非遊技プログラムに必要な特定の領域(例えば、内部当選フラグの設定領域、遊技状態の設定領域、RTの設定領域等)のみ参照可能とされているので、遊技プログラムが非遊技RAM領域において参照可能なデータ、非遊技プログラムが参照可能なデータが特定の領域に制限されているため、遊技プログラムまたは非遊技プログラムの参照先を容易に特定することができる。 Further, in this embodiment, the processing based on the game program can refer only to a specific area required for the game program (for example, an area for setting an error flag indicating abnormality detection) in the non-game RAM area. The process based on the non-gaming program can be referred to only a specific area (for example, an internal winning flag setting area, a game status setting area, an RT setting area, etc.) necessary for the non-gaming program in the game RAM area. Therefore, since the data that the game program can refer to in the non-gaming RAM area and the data that the non-gaming program can refer to are limited to a specific area, the reference destination of the game program or the non-gaming program can be easily specified. be able to.

本実施例のメイン制御部41は、図10(a)に示すように、メイン処理の実行中に、遊技プログラムに基づく処理から非遊技プログラムを呼び出すことが可能であり、図10(b)に示すように、タイマ割込処理の実行中に、遊技プログラムに基づく処理から非遊技プログラムを呼び出すことが可能である。 As shown in FIG. 10A, the main control unit 41 of the present embodiment can call the non-gaming program from the processing based on the gaming program during execution of the main processing, and as shown in FIG. As shown, it is possible to call the non-gaming program from the processing based on the gaming program during execution of the timer interrupt processing.

図10(a)に示すように、遊技プログラムに基づくメイン処理から非遊技プログラムを呼び出す際に、当該遊技プログラムでは、呼び出す対象の非遊技プログラムの開始アドレスを特定の領域に設定し、共通呼出処理1を実行する。共通呼出処理1は、遊技プログラムに含まれる処理であり、共通呼出処理1では、遊技プログラムのレジスタを遊技スタック領域に退避させるとともに、スタックポインタ(SP、遊技スタック領域の現在の位置を示すアドレス)を遊技RAM領域のSP退避領域に退避したうえで、割込マスタ許可フラグの値を割込禁止を示す値に設定することでタイマ割込を禁止に設定し、その後、特定の領域に設定されているアドレスの非遊技プログラムを呼び出す。 As shown in FIG. 10A, when calling the non-gaming program from the main processing based on the game program, in the game program, the start address of the non-gaming program to be called is set in a specific area, and the common calling process is executed. Execute 1. The common call process 1 is a process included in the game program. In the common call process 1, the register of the game program is saved in the game stack area and the stack pointer (SP, address indicating the current position of the game stack area). Is saved in the SP save area of the game RAM area, and the timer interrupt is disabled by setting the value of the interrupt master enable flag to a value indicating interrupt disabled, and then set in a specific area. Call the non-gaming program at the specified address.

これに対して、呼び出された非遊技プログラムに基づいて、非遊技プログラムのスタックポインタ(非SP、非遊技スタック領域の現在の位置を示すアドレス)を設定して、非遊技プログラムの処理を実行した後、呼び出し元の遊技プログラム、すなわち共通呼出処理1に復帰する。 On the other hand, based on the called non-gaming program, the stack pointer (non-SP, address indicating the current position of the non-gaming stack area) of the non-gaming program is set, and the processing of the non-gaming program is executed. After that, the game program of the calling source, that is, the common calling process 1 is returned to.

共通呼出処理1に復帰した後には、共通呼出処理1は、割込マスタ許可フラグの値を割込許可を示す値に設定することでタイマ割込の禁止を解除し、遊技スタック領域及びSP退避領域に退避させていたデータに基づいて、レジスタ及び遊技プログラムのスタックポインタを、非遊技プログラムを呼び出す前の状態に復帰させて終了する。 After returning to the common call process 1, the common call process 1 releases the prohibition of the timer interrupt by setting the value of the interrupt master permission flag to a value indicating the interrupt permission, and saves the game stack area and SP. Based on the data saved in the area, the stack pointer of the register and the game program is returned to the state before calling the non-game program, and the process ends.

このように、本実施例では、遊技プログラムが非遊技プログラムを呼び出す際に、共通呼出処理1により、割込を禁止に設定し、当該非遊技プログラムから遊技プログラムに復帰する際に、割込の禁止を解除するので、非遊技プログラムが実行されている期間にわたり割込を禁止に設定することができる。 As described above, in this embodiment, when the game program calls the non-gaming program, the common calling process 1 sets the interruption to be prohibited, and when the non-gaming program returns to the game program, the interruption is interrupted. Since the prohibition is released, the interrupt can be set to be prohibited during the period in which the non-gaming program is being executed.

尚、非遊技プログラムが、遊技プログラムに基づくメイン処理から呼び出された場合に、当該非遊技プログラムが、最初に割込を禁止に設定したうえで、各種処理を実行し、当該非遊技プログラムの最後に割込の禁止を解除する構成としても良く、このような構成とすることで、本実施例と同様に、非遊技プログラムが実行されている期間にわたり割込を禁止に設定することができる。また、非遊技プログラムにより割込の禁止及び解除の設定が行われるため、遊技プログラムの共通呼出処理1において割込の禁止の設定及び解除する必要がなくなり、遊技プログラムの容量を削減することができる。 Incidentally, when the non-gaming program is called from the main processing based on the gaming program, the non-gaming program first sets the interruption to be prohibited, then executes various processes, and the last of the non-gaming program is executed. It is also possible to cancel the prohibition of interrupts. With such a structure, it is possible to set the prohibition of interrupts for the period during which the non-gaming program is executed, as in the present embodiment. Further, since the prohibition and cancellation of the interruption are set by the non-gaming program, it is not necessary to set and cancel the prohibition of the interruption in the common calling process 1 of the gaming program, and the capacity of the gaming program can be reduced. ..

図10(b)に示すように、遊技プログラムに基づくタイマ割込処理から非遊技プログラムを呼び出す際に、当該遊技プログラムでは、呼び出す対象の非遊技プログラムの開始アドレスを特定の領域に設定し、共通呼出処理2を実行する。共通呼出処理2では、遊技プログラムのレジスタを遊技スタック領域に退避させるとともに、スタックポインタ(SP、遊技スタック領域の現在の位置を示すアドレス)を遊技RAM領域のSP退避領域に退避したうえで、特定の領域に設定されているアドレスの非遊技プログラムを呼び出す。 As shown in FIG. 10B, when the non-gaming program is called from the timer interrupt processing based on the game program, the start address of the non-gaming program to be called is set in a specific area in the game program, and common. Call processing 2 is executed. In the common call processing 2, the register of the game program is saved in the game stack area, and the stack pointer (SP, address indicating the current position of the game stack area) is saved in the SP save area of the game RAM area, and then specified. Call the non-gaming program at the address set in the area.

これに対して、呼び出された非遊技プログラムは、非遊技プログラムのスタックポインタを設定し、非遊技プログラムの処理を実行した後、呼び出し元の共通呼出処理2に復帰する。 On the other hand, the called non-gaming program sets the stack pointer of the non-gaming program, executes the processing of the non-gaming program, and then returns to the common calling processing 2 of the calling source.

共通呼出処理2に復帰した後には、共通呼出処理2は、遊技スタック領域及びSP退避領域に退避させていたデータに基づいてレジスタ及び遊技プログラムのスタックポインタを、非遊技プログラムを呼び出す前の状態に復帰させて終了する。 After returning to the common calling process 2, the common calling process 2 sets the register and the stack pointer of the game program to the state before calling the non-game program based on the data saved in the game stack area and the SP save area. Return and finish.

このように、共通呼出処理2では、呼出共通処理1と異なり、タイマ割込を禁止に設定及び解除しないが、上述のようにメイン制御部41では、タイマ割込処理の実行中に他の割込処理が実行されることが禁止されているので、非遊技プログラムが実行されている期間にわたり割込を禁止できる。 In this way, unlike the common call processing 1, the common call processing 2 does not set and release the timer interrupt, but as described above, the main control unit 41 does not interrupt other interrupts during execution of the timer interrupt processing. Since the execution of the interruption process is prohibited, the interruption can be prohibited during the period in which the non-gaming program is executed.

本実施例では、遊技プログラムが、共通呼出処理1及び共通呼出処理2を実行することで、非遊技プログラムを呼び出して非遊技プログラムを実行する際に、遊技プログラムが実際に使用していたレジスタであるか否かに関わらずレジスタの全ての領域を退避させて保護する処理が行われるため、遊技プログラムに復帰する際に、非遊技プログラムが呼び出された時点の状態から確実に復帰することができる。 In the present embodiment, the game program executes the common calling process 1 and the common calling process 2 so that the register actually used by the game program when the non-gaming program is called and the non-gaming program is executed Regardless of whether or not there is a process to save and protect all areas of the register, when returning to the game program, you can reliably return from the state when the non-gaming program was called ..

尚、共通呼出処理1及び共通呼出処理2を実行することなく、遊技プログラムにおいて遊技プログラムに基づく処理から非遊技プログラムを呼び出す直前に遊技プログラムが使用していたレジスタの値を保護し、非遊技プログラムに基づく処理が全て終了した後に、遊技プログラムに復帰した最初の段階で保護されているレジスタの値を復帰させる構成としても良く、このような構成とすることで、非遊技プログラムの呼び出し前にレジスタの保護処理が行われ、非遊技プログラムからの復帰後にレジスタの復旧処理が行われるため、非遊技プログラムによってレジスタに記憶されたデータが遊技プログラムに影響を及ぼすことがない。 Incidentally, without executing the common calling process 1 and the common calling process 2, the value of the register used by the game program immediately before calling the non-gaming program from the process based on the game program in the game program is protected, and the non-gaming program is protected. After all the processing based on the above, the value of the register protected at the first stage of returning to the game program may be restored, and by such a configuration, the register before calling the non-gaming program Since the protection process is performed and the register restoration process is performed after returning from the non-gaming program, the data stored in the register by the non-gaming program does not affect the gaming program.

また、非遊技プログラムが呼び出された場合に、当該非遊技プログラムが、最初に遊技プログラムのスタックポインタ及びレジスタを退避させ、当該非遊技プログラムの最後に遊技プログラムのスタックポインタ及びレジスタを復帰させる構成としても良く、このような構成とすることで、本実施例と同様に、遊技プログラムに復帰する際に、非遊技プログラムが呼び出された時点の状態から確実に復帰することができるとともに、遊技プログラムの容量を削減することができる。 Also, when the non-gaming program is called, the non-gaming program first saves the stack pointer and the register of the gaming program, and restores the stack pointer and the register of the gaming program at the end of the non-gaming program. Also, with such a configuration, when returning to the game program, it is possible to surely return from the state at the time when the non-gaming program is called, as well as in the present embodiment, and the game program The capacity can be reduced.

本実施例のメイン制御部41は、主にメイン処理に一定間隔(約0.56msの間隔)で割り込んで実行するタイマ割込処理(メイン)を実行可能である。尚、タイマ割込処理(メイン)とは、タイマ回路509のカウントに応じて発生する割込により実行される処理であり、タイマ割込処理(メイン)のプログラムが格納されたアドレスは、ベクタテーブルのタイマ割込に対応する値として設定されている。そして、タイマ割込が発生すると当該アドレスからの処理が実行される。また、タイマ割込処理(メイン)の実行期間中は自動的に他の割込が禁止される。 The main control unit 41 of the present embodiment can mainly execute a timer interrupt process (main) that interrupts and executes the main process at a constant interval (interval of about 0.56 ms). The timer interrupt process (main) is a process executed by an interrupt generated according to the count of the timer circuit 509, and the address where the program of the timer interrupt process (main) is stored is the vector table. It is set as the value corresponding to the timer interrupt of. Then, when the timer interrupt occurs, the process from the address is executed. Also, other interrupts are automatically prohibited during execution of the timer interrupt process (main).

本実施例では、タイマ割込処理(メイン)は、遊技プログラムに含まれる一方、タイマ割込処理(メイン)内において実行される停電判定処理、電断時コマンド送信処理、通常時コマンド送信処理、ドア監視処理は、非遊技プログラムに含まれており、メイン制御部41は、タイマ割込処理(メイン)において割込禁止を設定し、遊技プログラムのスタックポインタ及びレジスタを退避させたうえで、これらの非遊技プログラムを呼び出すようになっている。また、これらの非遊技プログラムからタイマ割込処理(メイン)に復帰した際には、遊技プログラムのスタックポインタ及びレジスタを当該非遊技プログラムの呼び出し前の状態に復帰させたうえで、その後の処理を実行するようになっている。尚、メイン制御部41は、割込処理の実行中に他の割込を禁止するように設定されているので、非遊技プログラムから復帰した後も割込禁止の状態で、その後の処理を実行する。 In the present embodiment, the timer interrupt process (main) is included in the game program, while the power interruption determination process, the power interruption command transmission process, the normal time command transmission process executed in the timer interruption process (main), The door monitoring process is included in the non-gaming program, and the main control unit 41 sets interrupt prohibition in the timer interrupt process (main), saves the stack pointer and the register of the gaming program, and then executes these. The non-gaming program of is called. Also, when returning from these non-gaming programs to the timer interrupt processing (main), the stack pointer and the register of the gaming program are restored to the state before the calling of the non-gaming program, and the subsequent processing is performed. Ready to run. Since the main control unit 41 is set to prohibit other interrupts during execution of the interrupt process, the subsequent process is executed in the interrupt prohibited state even after returning from the non-gaming program. To do.

また、タイマ割込処理(メイン)において実行する非遊技プログラムである停電判定処理、電断時コマンド送信処理、通常時コマンド送信処理、ドア監視処理は、これら非遊技プログラムの前に実行する必要のある処理(例えば、タイマ割込の分岐前に実行する必要のあるポート入力処理、モータ位相信号出力処理)を除く処理、すなわち非遊技プログラムよりも先に行っても後に行っても制御上影響のない処理よりも前に実行するようになっている。 In addition, the non-gaming program that is executed in the timer interrupt processing (main), the power outage determination processing, the power-off command transmission processing, the normal-time command transmission processing, and the door monitoring processing need to be executed before these non-gaming programs. Processes other than certain processes (for example, port input process and motor phase signal output process that need to be executed before the branch of the timer interrupt), that is, whether they are performed before or after the non-gaming program has an influence on control. It is supposed to be executed before any processing that does not exist.

本実施例のメイン制御部41は、遊技の進行に係る遊技プログラムと、当該遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムと、を実行することが可能であり、遊技プログラムに基づくメイン処理を実行するとともに、所定時間間隔毎にメイン処理に割り込んで遊技プログラムに基づくタイマ割込処理(メイン)を実行することが可能であって、メイン処理からも、タイマ割込処理(メイン)からも、非遊技プログラムを呼び出して実行することが可能である。 The main control unit 41 of the present embodiment is capable of executing a game program related to the progress of the game and a non-game program that is a program called by the game program and is not related to the progress of the game. It is possible to execute the main process based on the program and interrupt the main process at predetermined time intervals to execute the timer interrupt process (main) based on the game program. It is also possible to call and execute a non-gaming program from (main).

このような構成では、メイン制御部41では、非遊技プログラムを実行中にタイマ割込処理(メイン)が実行されることにより誤作動が生じる虞がある。 With such a configuration, in the main control unit 41, a malfunction may occur due to the timer interrupt process (main) being executed while the non-gaming program is being executed.

これに対して、本実施例のメイン制御部41は、遊技の進行に係る遊技プログラムと、当該遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムと、を実行することが可能であり、遊技プログラムに基づくメイン処理を実行するとともに、所定時間間隔毎にメイン処理に割り込んで遊技プログラムに基づくタイマ割込処理(メイン)を実行することが可能であって、メイン処理からも、タイマ割込処理(メイン)からも、非遊技プログラムを呼び出して実行することが可能な構成において、メイン処理から非遊技プログラムを呼び出すときには、他の処理の割込を禁止に設定した後に、当該非遊技プログラムを呼び出す一方で、タイマ割込処理(メイン)から非遊技プログラムを呼び出すとき、すなわち、さらに割込が生じる可能性が低い状況において非遊技プログラムを呼び出すときには、他の処理の割込を禁止に設定せずに、非遊技プログラムを呼び出すので、非遊技プログラムの実行中に割込が実行されることによる誤作動を防止しつつ、割込の禁止に係るプログラム容量を削減することができる。 On the other hand, the main control unit 41 of the present embodiment can execute a game program related to the progress of the game and a non-gaming program that is a program called by the game program and is not related to the progress of the game. It is possible to execute the main process based on the game program, and to interrupt the main process at predetermined time intervals to execute the timer interrupt process (main) based on the game program. In a configuration in which the non-gaming program can be called and executed from the timer interrupt processing (main) as well, when calling the non-gaming program from the main processing, after interrupts of other processing are set to be prohibited, While calling the non-gaming program, when calling the non-gaming program from the timer interrupt process (main), that is, when calling the non-gaming program in a situation where it is unlikely that an interrupt will occur, interrupt the other processes. Since the non-gaming program is called without setting the prohibition, it is possible to reduce the program capacity related to the prohibition of the interruption while preventing the malfunction due to the interruption being executed during the execution of the non-gaming program. ..

本実施例のメイン制御部41が実行するタイマ割込処理(メイン)は、遊技プログラムによる処理、例えば、LEDダイナミック表示処理や制御信号等出力処理等と、非遊技プログラムによる処理、例えば、通常時コマンド送信処理や、電断時コマンド送信処理等の処理と、を含む複数の処理により構成されており、該タイマ割込処理(メイン)を構成する複数の処理のうち、所定の遊技プログラムによる処理、特に、これら非遊技プログラムの先に実行しても後に実行しても問題のない処理よりも前に、非遊技プログラムを呼び出すので、すなわち、タイマ割込処理(メイン)を構成する複数の処理のうち極力早い段階で非遊技プログラムを呼び出すので、例えば、何らかの原因によりタイマ割込処理(メイン)が終了しないまま、次回タイマ割込が発生して二重に割込が生じてしまった場合でも、非遊技プログラムの実行中に他の割込が実行されてしまうことを防止できる。 The timer interrupt processing (main) executed by the main control unit 41 of the present embodiment is processing by a game program, for example, LED dynamic display processing, control signal output processing, and the like, and processing by a non-game program, for example, normal time. It is configured by a plurality of processes including a command transmission process and a process such as a command transmission process at the time of power failure, and among a plurality of processes constituting the timer interrupt process (main), a process by a predetermined game program In particular, since the non-gaming program is called before the processing that causes no problems even if these non-gaming programs are executed first or later, that is, a plurality of processes constituting the timer interrupt process (main) Since the non-gaming program is called as early as possible, for example, even if the timer interrupt process (main) does not end for some reason and the next timer interrupt occurs and a double interrupt occurs It is possible to prevent other interrupts from being executed while the non-gaming program is being executed.

本実施例のメイン制御部41は、遊技プログラムと非遊技プログラムとを実行可能であり、遊技プログラムが用いるデータを退避する遊技スタック領域と、非遊技プログラムが用いるデータを退避する非遊技スタック領域と、が別個に設けられたRAM41cを備えており、メイン制御部41は、遊技プログラムが用いるデータと、非遊技プログラムが用いるデータと、を別個に設けられたスタック領域にそれぞれ退避させるので、スタック領域の管理が容易となる。特に、タイマ割込の発生により退避される遊技プログラムが用いるデータと、タイマ割込処理(メイン)の実行中に行われる非遊技プログラムが用いるデータと、が混在して一のスタック領域に格納されるようなことがないので、スタックの管理が煩雑となってしまうことがない。 The main control unit 41 of this embodiment is capable of executing a game program and a non-gaming program, and a game stack area for saving data used by the game program and a non-game stack area for saving data used by the non-gaming program. , And RAM 41c provided separately, and the main control unit 41 saves the data used by the game program and the data used by the non-gaming program into the stack areas provided separately, respectively. Management becomes easier. Especially, the data used by the game program saved by the occurrence of the timer interrupt and the data used by the non-game program executed during the execution of the timer interrupt process are mixed and stored in one stack area. Since it does not occur, stack management does not become complicated.

本実施例のメイン制御部41は、非遊技プログラムを実行する際に、遊技プログラムで用いているレジスタ値を遊技スタック領域に退避した後、非遊技プログラムを呼び出して、当該非遊技プログラムにおける処理を実行し、非遊技プログラムにおける処理が終了したときに、退避させたレジスタ値を復帰させるので、非遊技プログラムを実行するのに伴い遊技プログラムが用いていたレジスタの値が変更されてしまうことを防止できる。 When executing the non-gaming program, the main control unit 41 of the present embodiment saves the register value used in the game program in the game stack area, and then calls the non-gaming program to perform the processing in the non-gaming program. By executing and executing the processing in the non-gaming program, the saved register value is restored, so the value of the register used by the gaming program is prevented from being changed as the non-gaming program is executed. it can.

また、遊技プログラムに基づく処理から非遊技プログラムを呼び出す際に、遊技プログラムで用いているレジスタの値を遊技スタック領域に退避させる呼出共通処理1または呼出共通処理2を呼び出すようになっており、メイン処理において非遊技プログラムを実行するためのプログラムを共通化することで、プログラム容量を削減できる。 When calling a non-game program from a process based on the game program, the call common process 1 or the call common process 2 for saving the value of the register used in the game program to the game stack area is called. The program capacity can be reduced by sharing the program for executing the non-gaming program in the processing.

尚、本実施例では、メイン処理において遊技プログラムに基づく処理から非遊技プログラムを呼び出す際には、呼出共通処理1を実行する一方、タイマ割込処理において遊技プログラムに基づく処理から非遊技プログラムを呼び出す際には、呼出共通処理1とは異なる呼出共通処理2を実行することで、遊技プログラムで用いているレジスタの値を遊技スタック領域に退避させる構成であるが、メイン処理において遊技プログラムに基づく処理から非遊技プログラムを呼び出す際にも、タイマ割込処理において遊技プログラムに基づく処理から非遊技プログラムを呼び出す際にも、共通の呼出共通処理を実行する構成であっても良い。 In the present embodiment, when calling a non-gaming program from a process based on the game program in the main process, the calling common process 1 is executed, while a non-gaming program is called from a process based on the game program in the timer interrupt process. In this case, the call common process 2 different from the call common process 1 is executed to save the value of the register used in the game program to the game stack area. However, in the main process, the process based on the game program is executed. A common calling common process may be executed when calling the non-gaming program from the above or when calling the non-gaming program from the process based on the gaming program in the timer interrupt process.

尚、本実施例のメイン制御部41は、メイン処理からも、タイマ割込処理(メイン)からも、非遊技プログラムを呼び出して実行することが可能な構成であり、メイン処理から非遊技プログラムを呼び出すときには、他の処理の割込を禁止に設定して、当該非遊技プログラムを呼び出す一方で、タイマ割込処理(メイン)から非遊技プログラムを呼び出すときには、他の処理の割込を禁止に設定せずに、非遊技プログラムを呼び出す構成であるが、メイン制御部41は、メイン処理から非遊技プログラムを呼び出すときにも、タイマ割込処理(メイン)から非遊技プログラムを呼び出すときにも、他の処理の割込を禁止する構成としても良い。 The main control unit 41 of the present embodiment is configured to call and execute the non-gaming program from both the main process and the timer interrupt process (main), and the non-gaming program is executed from the main process. When calling, set the interruption of other processing to be prohibited and call the non-gaming program, while when calling the non-gaming program from the timer interruption processing (main), set the interruption of other processing to be prohibited. The main control unit 41 calls the non-gaming program without calling the non-gaming program. The processing may be interrupted.

このような構成では、メイン制御部41は、メイン処理から非遊技プログラムを呼び出すときだけでなく、タイマ割込処理(メイン)から非遊技プログラムを呼び出すときにも、他の処理の割込を禁止するので、本実施例と同様に、非遊技プログラムの実行中に割込が実行されることによる誤作動を防止することができる。 In such a configuration, the main control unit 41 prohibits interruption of other processing not only when calling the non-gaming program from the main processing but also when calling the non-gaming program from the timer interruption processing (main). Therefore, similar to the present embodiment, it is possible to prevent a malfunction due to an interrupt being executed during execution of the non-gaming program.

特に、タイマ割込処理(メイン)を実行するときに、割込禁止が設定され、タイマ割込処理(メイン)の終了時に割込禁止が解除されることで、タイマ割込処理(メイン)の実行中に他の処理の割込が禁止されることとなるが、この場合でも、タイマ割込処理(メイン)から非遊技プログラムを呼び出すときに再度他の処理の割込を禁止するので、何らかの原因により割込禁止設定が解除されてしまった場合でも、非遊技プログラムの実行中に割込が実行されることによる誤作動を防止することができる。 In particular, when the timer interrupt process (main) is executed, the interrupt prohibition is set, and when the timer interrupt process (main) ends, the interrupt prohibition is released. Interruption of other processing will be prohibited during execution, but even in this case, when interrupting the non-gaming program from the timer interrupt processing (main), the interruption of other processing is prohibited again, so Even if the interrupt prohibition setting is canceled due to a cause, it is possible to prevent a malfunction due to an interrupt being executed while the non-gaming program is being executed.

また、前述のようにタイマ割込処理(メイン)を実行するときに、割込禁止が設定され、タイマ割込処理(メイン)の終了時に割込禁止が解除されることで、タイマ割込処理(メイン)の実行中に他の処理の割込が禁止される構成であるが、タイマ割込処理(メイン)から非遊技プログラムを呼び出すときに再度他の処理の割込を禁止する場合には、非遊技プログラムの呼び出し時に設定した他の処理の割込の禁止の設定を、該非遊技プログラムの終了後も維持することで、タイマ割込処理(メイン)の実行中にも関わらず、非遊技プログラムの実行により割込の禁止が解除されてしまうことを防止できる。 In addition, as described above, when the timer interrupt process (main) is executed, the interrupt prohibition is set, and when the timer interrupt process (main) ends, the interrupt prohibition is released. It is a configuration that the interruption of other processing is prohibited during execution of (main), but when the interruption of other processing is prohibited again when the non-gaming program is called from the timer interruption processing (main) , By setting the prohibition of the interruption of other processing set at the time of calling the non-gaming program even after the non-gaming program ends, the non-gaming is executed even while the timer interruption processing (main) is being executed. It is possible to prevent the prohibition of interrupt from being released by the execution of the program.

次に、メイン制御部41のRAM41cの初期化について、図11に基づいて説明する。 Next, initialization of the RAM 41c of the main controller 41 will be described with reference to FIG.

本実施例のメイン制御部41は、設定変更処理の開始時において、RAM41cの記憶内容が破壊されていると判定した場合に、遊技RAM領域、未使用領域4、非遊技RAM領域を初期化する、すなわち使用可能領域の全ての領域を初期化する初期化0を行う。 The main control unit 41 of the present embodiment initializes the game RAM area, the unused area 4, and the non-gaming RAM area when it is determined that the storage content of the RAM 41c is destroyed at the start of the setting change process. That is, initialization 0 is performed to initialize all the usable areas.

また、設定変更処理の開始時において、RAM41cの記憶内容が破壊されていないと判定した場合に、遊技RAM領域のうち特別ワークを除く領域、未使用領域4、非遊技RAM領域を初期化する、すなわち使用可能領域のうち特別ワーク以外の領域を初期化する初期化1を行う。 In addition, at the start of the setting change process, when it is determined that the storage contents of the RAM 41c is not destroyed, the area excluding the special work, the unused area 4, and the non-gaming RAM area in the game RAM area are initialized. That is, the initialization 1 for initializing the area other than the special work in the usable area is performed.

また、設定変更処理の終了時において、遊技RAM領域のうち重要ワーク、一般ワーク、未使用領域3、遊技スタック領域(未使用)を初期化する、すなわち遊技RAM領域のうち特別ワーク及び遊技スタック領域(使用中)以外の領域を初期化する初期化2を行う。 At the end of the setting change process, important work, general work, unused area 3, and game stack area (unused) in the game RAM area are initialized, that is, special work and game stack area in the game RAM area. Initialization 2 is performed to initialize areas other than (in use).

また、特定の遊技状態の終了時であり、かつ1ゲーム終了時に、遊技RAM領域のうち一般ワーク、未使用領域3及び遊技スタック領域(未使用)を初期化する初期化3を行う。 Further, at the end of a specific game state and at the end of one game, initialization 3 for initializing the general work, the unused area 3 and the game stack area (unused) in the game RAM area is performed.

また、特定の遊技状態の終了時でない1ゲーム終了時に、遊技RAM領域のうち未使用領域3、遊技スタック領域(未使用)を初期化する初期化4を行う。 Further, at the end of one game, which is not the end of a specific game state, an initialization 4 for initializing an unused area 3 and a game stack area (unused) in the game RAM area is performed.

このように、本実施例のメイン制御部41は、所定条件が成立したときに初期化0〜4を行い、所定条件として第1の条件が成立したときに、RAM41cの使用可能領域のうちの遊技プログラムが用いるデータが記憶されている遊技RAM領域の少なくとも一部を初期化し、所定条件として第2の条件が成立したときに、遊技RAM領域の少なくとも一部と、RAM41cの使用可能領域のうちの非遊技プログラムが用いる非遊技RAM領域の少なくとも一部を初期化する。 As described above, the main control unit 41 of the present embodiment performs initialization 0 to 4 when the predetermined condition is satisfied, and when the first condition is satisfied as the predetermined condition, the main control unit 41 determines that one of the usable areas of the RAM 41c. At least a part of the game RAM area in which the data used by the game program is stored, and when the second condition is satisfied as the predetermined condition, at least a part of the game RAM area and the usable area of the RAM 41c Initialize at least a part of the non-gaming RAM area used by the non-gaming program.

具体的には、図11に示すように、第1の条件として、1ゲームの終了時には、使用可能領域のうち遊技RAM領域の一部である、未使用領域3及び遊技スタック領域(未使用)を初期化するが、使用可能領域のうち非遊技RAM領域は初期化しない。また、第1条件として、特定の遊技状態の終了時には、使用可能領域のうち遊技RAM領域の一部である一般ワーク、未使用領域3、遊技スタック領域(未使用)を初期化するが、使用可能領域のうち非遊技RAM領域は初期化しない。また、第1条件として、設定変更状態が終了した後には、使用可能領域のうち遊技RAM領域の一部である重要ワーク、一般ワーク、未使用領域3、遊技スタック領域(未使用)を初期化するが、使用可能領域のうち非遊技RAM領域は初期化しない。 Specifically, as shown in FIG. 11, as a first condition, at the end of one game, an unused area 3 and a game stack area (unused) which are a part of the game RAM area in the usable area. Is initialized, but the non-gaming RAM area in the usable area is not initialized. In addition, as a first condition, at the end of a specific game state, general work, unused area 3, game stack area (unused), which is a part of the game RAM area of the usable area, is initialized, The non-gaming RAM area in the possible area is not initialized. Also, as the first condition, after the setting change state is completed, the important work, the general work, the unused area 3, and the game stack area (unused) which are part of the game RAM area in the usable area are initialized. However, the non-gaming RAM area in the usable area is not initialized.

一方、第2の条件として、設定変更状態を開始したときに、RAMに異常がない場合には、使用可能領域のうち遊技RAM領域の一部である重要ワーク、一般ワーク、未使用領域3、遊技スタック領域(未使用)、遊技スタック領域(使用)を初期化するとともに、非遊技RAM領域の全ての領域を初期化する。また、設定変更状態を開始したときに、RAMに異常がある場合には、使用可能領域のうち遊技RAM領域の全ての領域を初期化するとともに、遊技RAM領域の全ての領域を初期化する。 On the other hand, as a second condition, when there is no abnormality in the RAM when the setting change state is started, important work, general work, unused area 3, which is a part of the game RAM area of the available area, The game stack area (unused) and the game stack area (used) are initialized, and all areas of the non-game RAM area are initialized. Further, when the setting change state is started, if the RAM is abnormal, all areas of the game RAM area of the usable area are initialized and all areas of the game RAM area are initialized.

本実施例のメイン制御部41は、遊技の進行に係わる遊技プログラムと、遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムと、を実行可能であり、遊技プログラム及び非遊技プログラムを記憶するROM41bを備えている。 The main control unit 41 of this embodiment is capable of executing a game program related to the progress of the game and a non-game program that is a program called by the game program and is not related to the progress of the game. It has a ROM 41b for storing a program.

このような構成では、一のROM41bにおいて遊技プログラムと、非遊技プログラムと、が混在していると、どのプログラムが遊技の進行に係わるプログラムであるかの判別が困難である。 In such a configuration, when a game program and a non-game program are mixed in one ROM 41b, it is difficult to determine which program is related to the progress of the game.

これに対して、本実施例では、ROM41bは、遊技プログラムが記憶される遊技プログラム領域と、非遊技プログラムが記憶される非遊技プログラム領域と、を含んでおり、遊技プログラム領域と、非遊技プログラム領域と、がそれぞれ別個に割り当てられているため、遊技プログラムと、非遊技プログラムと、を記憶領域の違いに応じて容易に特定することができる。 On the other hand, in the present embodiment, the ROM 41b includes a game program area in which a game program is stored and a non-game program area in which a non-game program is stored, and the game program area and the non-game program are included. Since the areas and are separately allocated, the game program and the non-gaming program can be easily specified according to the difference in the storage areas.

また、本実施例のメイン制御部41は、遊技プログラムのワークとして用いられ、遊技プログラムが用いるデータを記憶する遊技RAM領域と、非遊技プログラムのワークとして用いられ、非遊技プログラムが用いるデータを記憶する非遊技RAM領域と、を含むRAM41cを備えており、RAM41cにおいて遊技RAM領域と、非遊技RAM領域と、がそれぞれ別個に割り当てられているため、遊技プログラムが用いるデータと、非遊技プログラムが用いるデータと、を記憶領域の違いに応じて容易に特定することができるとともに、メイン制御部41は、第1の初期化条件が成立したときに、遊技RAM領域の少なくとも一部を初期化し、第2の初期化条件が成立したときに、遊技RAM領域の少なくとも一部を初期化するとともに、非遊技RAM領域の少なくとも一部を初期化するため、RAM41cに記憶されている遊技プログラムが用いるデータと非遊技プログラムが用いるデータのうち状況に応じて適切なデータを初期化することができる。 Further, the main control unit 41 of the present embodiment is used as a work of the game program, and is used as a work RAM area for storing data used by the game program, and is used as a work of the non-gaming program, and stores data used by the non-gaming program. The RAM 41c including a non-gaming RAM area to be used is provided, and since the gaming RAM area and the non-gaming RAM area are separately allocated in the RAM 41c, the data used by the gaming program and the non-gaming program are used. The data and data can be easily specified according to the difference in the storage area, and the main controller 41 initializes at least a part of the game RAM area when the first initialization condition is satisfied, and When the initialization condition of 2 is satisfied, at least a part of the game RAM area is initialized, and at least a part of the non-gaming RAM area is initialized, so that the data used by the game program stored in the RAM 41c is used. Of the data used by the non-gaming program, appropriate data can be initialized according to the situation.

本実施例のメイン制御部41は、第1の初期化条件として、1ゲームが終了した時には、遊技RAM領域のうちの一部である未使用領域3及び遊技スタック領域(未使用)を初期化し、第1の初期化条件として、特別な遊技状態(BB)が終了した時で、かつ1ゲームが終了した時には、遊技RAM領域のうちの一部である一般ワーク、未使用領域3及び遊技スタック領域(未使用)を初期化し、第1の初期化条件として、設定変更が終了し、メイン処理が開始されたときには、遊技RAM領域のうちの一部である重要ワーク、一般ワークの領域、未使用領域3及び遊技スタック領域(未使用)を初期化するので、状況に応じて適切なデータを初期化することができる。 As a first initialization condition, the main control unit 41 of this embodiment initializes an unused area 3 and a game stack area (unused) which are a part of the game RAM area when one game ends. , As a first initialization condition, when a special game state (BB) is finished and one game is finished, general work which is a part of the game RAM area, unused area 3 and game stack Initialize the area (unused), as the first initialization condition, when the setting change is completed and the main processing is started, the important work, the general work area, which is a part of the game RAM area, the Since the use area 3 and the game stack area (unused) are initialized, it is possible to initialize appropriate data depending on the situation.

また、本実施例のメイン制御部41は、第2の初期化条件として、設定変更開始時でRAMに異常がないときには、遊技RAM領域のうち一部である重要ワーク、一般ワーク、未使用領域3、遊技スタック領域(未使用)及び遊技スタック領域(使用中)を初期化するとともに、非遊技RAM領域のうち、遊技プログラムから参照される領域、遊技プログラムから参照されない領域、非遊技スタック領域(未使用)及び非遊技スタック領域(使用中)、すなわち非遊技RAM領域の全ての領域を初期化し、第2の初期化条件として、設定変更開始時でRAMに異常があるときには、遊技RAM領域のうち、特別ワーク、重要ワーク、一般ワーク、未使用領域3、遊技スタック領域(未使用)及び遊技スタック領域(使用中)、すなわち遊技RAM領域の全ての領域を初期化するとともに、非遊技RAM領域のうち、遊技プログラムから参照される領域、遊技プログラムから参照されない領域、非遊技スタック領域(未使用)及び非遊技スタック領域(使用中)、すなわち非遊技RAM領域の全ての領域を初期化するため、RAM41cに記憶されている遊技プログラムが用いるデータと、非遊技プログラムが用いるデータと、のうち状況に応じて適切なデータを初期化することができる。 Further, the main control unit 41 of the present embodiment, as a second initialization condition, when there is no abnormality in the RAM at the start of setting change, important work, general work, unused area that is a part of the game RAM area 3. Initialize the game stack area (unused) and the game stack area (in use), and in the non-game RAM area, the area referenced by the game program, the area not referenced by the game program, and the non-game stack area ( Unused) and non-game stack area (in use), that is, all areas of the non-gaming RAM area are initialized, and as the second initialization condition, when there is an abnormality in the RAM at the start of setting change, the game RAM area Of these, special work, important work, general work, unused area 3, game stack area (unused) and game stack area (in use), that is, all areas of the game RAM area are initialized, and non-gaming RAM area Of the areas referenced by the game program, areas not referenced by the game program, non-gaming stack area (unused) and non-gaming stack area (in use), that is, to initialize all areas of the non-gaming RAM area Of the data used by the game program stored in the RAM 41c and the data used by the non-game program, appropriate data can be initialized depending on the situation.

尚、本実施例のメイン制御部41は、第1の初期化条件が成立したときに、遊技RAM領域の一部の領域を初期化する構成であるが、メイン制御部41は、第1の初期化条件が成立したときに、遊技RAM領域の少なくとも一部の領域を初期化するものであれば良く、遊技RAM領域の全ての領域を初期化するものでも良い。 The main controller 41 of the present embodiment is configured to initialize a part of the game RAM area when the first initialization condition is satisfied. When the initialization condition is satisfied, at least a part of the game RAM area may be initialized, and all the areas of the game RAM area may be initialized.

また、本実施例のメイン制御部41は、第2の初期化条件が成立したときに、遊技RAM領域の一部を初期化するとともに、非遊技RAM領域の全ての領域を初期化する構成であるが、メイン制御部41は、第2の初期化条件が成立したときに遊技RAM領域の少なくとも一部の領域を初期化するとともに、非遊技RAM領域の少なくとも一部の領域を初期化するものであれば良く、遊技RAM領域の全ての領域を初期化するものでも良いし、非遊技RAM領域の全ての領域を初期化するものでも良いし、非遊技RAM領域の少なくとも一部の領域を初期化するものでも良いし、遊技RAM領域及び非遊技RAM領域の双方の全ての領域を初期化するものでも良い。 Further, the main control unit 41 of the present embodiment is configured to initialize a part of the game RAM area and initialize all areas of the non-game RAM area when the second initialization condition is satisfied. However, the main control unit 41 initializes at least a part of the game RAM area when the second initialization condition is satisfied, and initializes at least a part of the non-gaming RAM area. If it is good, all the areas of the game RAM area may be initialized, all the areas of the non-gaming RAM area may be initialized, or at least a part of the non-gaming RAM area may be initialized. The game RAM may be initialized, or all areas of both the game RAM area and the non-game RAM area may be initialized.

本実施例のメイン制御部41は、遊技RAM領域を初期化するプログラムと、非遊技RAM領域を初期化するプログラムと、を別個のプログラムとして構成しているので、遊技プログラムが非遊技RAM領域の初期化をせずに済むため、遊技プログラムの容量を削減できる。また、第1の初期化条件が成立したときにも、第2の初期化条件が成立したときにも、遊技RAM領域を初期化するプログラムを共用できる。さらに遊技RAM領域を初期化するプログラムを遊技プログラムとして備え、非遊技RAM領域を初期化するプログラムを非遊技プログラムとして備えるので、遊技プログラムが非遊技RAM領域を初期化したり、非遊技プログラムが遊技RAM領域を初期化したりすることがなく、遊技プログラムが非遊技プログラムに影響を与えること、非遊技プログラムが遊技プログラムに影響を与えることを防止できる。 Since the main control unit 41 of this embodiment configures a program for initializing the game RAM area and a program for initializing the non-gaming RAM area as separate programs, the game program is a non-gaming RAM area. Since the initialization is not required, the capacity of the game program can be reduced. In addition, a program for initializing the game RAM area can be shared when the first initialization condition is satisfied and when the second initialization condition is satisfied. Further, since a program for initializing the game RAM area is provided as a game program and a program for initializing the non-gaming RAM area is provided as a non-gaming program, the gaming program initializes the non-gaming RAM area or the non-gaming program is the gaming RAM. It is possible to prevent the gaming program from affecting the non-gaming program and the non-gaming program from affecting the gaming program without initializing the area.

本実施例のメイン制御部41は、第1の初期化条件として、メイン処理において遊技終了時処理設定を行った後に、特定の遊技状態の終了時でないと判定されたとき、すなわち1ゲームが終了した時に遊技終了時の初期化対象RAMの先頭アドレスを設定し、遊技領域初期化処理を実行することで、遊技RAM領域のうち所定の領域を初期化するので、遊技単位毎に遊技の進行に係る不要な遊技RAM領域の一部の領域を初期化することができる。 As a first initialization condition, the main control unit 41 of the present embodiment performs the game end time process setting in the main process, and then determines that it is not the end time of the specific game state, that is, one game ends. By setting the start address of the initialization target RAM at the end of the game and executing the game area initialization process, a predetermined area of the game RAM area is initialized, so that the game progresses for each game unit. A part of the unnecessary game RAM area can be initialized.

本実施例のメイン制御部41は、設定キースイッチ37がONの状態で起動され、設定変更処理を開始したとき、すなわち設定変更操作が行われたことに基づいて第2の初期化条件が成立したときに、遊技領域初期化処理を実行して遊技RAM領域のうち所定の領域を初期化するとともに、非遊技領域初期化処理を実行して非遊技RAM領域のうち所定の領域を初期化するようになっており、遊技店員の設定変更操作(初期化操作)に基づいて遊技RAM領域と非遊技RAM領域の双方を初期化することができる。 The main control unit 41 of the present embodiment is activated when the setting key switch 37 is ON, and when the setting change process is started, that is, the setting change operation is performed, the second initialization condition is satisfied. When, the game area initialization processing is executed to initialize a predetermined area of the game RAM area, and the non-game area initialization processing is executed to initialize a predetermined area of the non-game RAM area. Thus, both the game RAM area and the non-game RAM area can be initialized based on the setting change operation (initialization operation) by the game shop staff.

本実施例のRAM41cの遊技RAM領域は、遊技プログラムに基づく制御を行う際にも非遊技プログラムに基づく制御を行う際にも用いられることのない未使用領域3を含み、第1の初期化条件の成立時にも、第2の初期化条件の成立時にも、未使用領域3を初期化するので、未使用領域3に不正なデータが記憶されることを防止できる。 The game RAM area of the RAM 41c of the present embodiment includes an unused area 3 that is not used when performing control based on the game program or when performing control based on the non-game program, and the first initialization condition Since the unused area 3 is initialized both when the above condition is satisfied and when the second initialization condition is satisfied, it is possible to prevent illegal data from being stored in the unused region 3.

尚、本実施例では、第1の初期化条件の成立時にも第2の初期化条件の成立時にも未使用領域3を初期化する構成であるが、少なくとも第1の初期化条件の成立時、第2の初期化条件の成立時のいずれか一方の条件の成立時に未使用領域3を初期化する構成であれば、未使用領域3に不正なデータが記憶されることを防止できる。また、第1の初期化条件が複数の条件を含む構成であれば、そのうち少なくとも一の条件の成立時に未使用領域3を初期化する構成であれば、未使用領域3に不正なデータが記憶されることを防止できる。第2の初期化条件が複数の条件を含む構成であっても同様である。 In the present embodiment, the unused area 3 is initialized both when the first initialization condition is satisfied and when the second initialization condition is satisfied, but at least when the first initialization condition is satisfied. If the unused area 3 is initialized when either one of the conditions of the second initialization condition is satisfied, it is possible to prevent illegal data from being stored in the unused region 3. In addition, if the first initialization condition includes a plurality of conditions, and if the unused area 3 is initialized when at least one of the conditions is satisfied, illegal data is stored in the unused area 3. Can be prevented. The same applies even if the second initialization condition includes a plurality of conditions.

本実施例のメイン制御部41は、遊技プログラムのワークとして用いられ、遊技プログラムが用いるデータを記憶する遊技RAM領域と、非遊技プログラムのワークとして用いられ、非遊技プログラムが用いるデータを記憶する非遊技RAM領域と、を含むRAM41cを備えており、当該RAM41cは、バックアップ電源によりスロットマシン1への電力供給が停止されてもRAM41cに記憶されたデータを所定期間保持可能な構成であって、メイン制御部41は、スロットマシン1への電力供給が開始したときに、初期設定処理を開始し、バックアップ電源により保持されているRAM41cに記憶されているデータに基づいてRAMの記憶内容が正常か否かを判定し、正常と判定された場合に、RAM41cに記憶されているデータに基づいて制御を再開する。 The main control unit 41 of the present embodiment is used as a work of a game program, a game RAM area for storing data used by the game program, and a non-game program used as work of a non-gaming program for storing data used by the non-gaming program. A game RAM area and a RAM 41c including the RAM 41c are provided. The RAM 41c has a configuration capable of holding data stored in the RAM 41c for a predetermined period even when power supply to the slot machine 1 is stopped by a backup power source. When the power supply to the slot machine 1 is started, the control unit 41 starts the initialization process, and determines whether the stored contents of the RAM are normal based on the data stored in the RAM 41c held by the backup power supply. If it is determined to be normal, the control is restarted based on the data stored in the RAM 41c.

このような構成において、スロットマシン1への電力供給が開始したときに、RAM41cの遊技RAM領域と非遊技RAM領域の双方の領域に記憶されたデータに基づいて、RAMの記憶内容が正常か否かを判定する際に、RAM41cに記憶されているデータ基づいて制御を再開する際の負荷が過大となる。 In such a configuration, when the power supply to the slot machine 1 is started, whether or not the storage content of the RAM is normal based on the data stored in both the game RAM area and the non-game RAM area of the RAM 41c. When determining whether or not it is too heavy to restart the control based on the data stored in the RAM 41c.

これに対して、本実施例のメイン制御部41は、スロットマシン1への電力供給が開始したときに、初期設定処理を開始し、バックアップ電源により保持されているRAM41cのうち遊技RAM領域のRAMパリティ、遊技RAM領域に記憶されている破壊診断用データに基づいてRAMの記憶内容が正常か否かを判定し、正常と判定された場合に、遊技RAM領域に記憶されているデータ及び非遊技RAM領域に記憶されているデータに基づいて制御を再開始するようになっており、非遊技RAM領域に記憶されており、遊技の進行に支障のない非遊技用のデータが正常か否かの判定を省くことで、遊技の進行が正常に行えることを担保しつつ、制御を再開する際の負荷を軽減することができる。 On the other hand, the main control unit 41 of the present embodiment starts the initial setting process when the power supply to the slot machine 1 is started, and the RAM in the game RAM area of the RAM 41c held by the backup power source. Parity, based on the destruction diagnosis data stored in the game RAM area, it is determined whether or not the storage content of the RAM is normal, and if determined to be normal, the data and non-game stored in the game RAM area. The control is restarted based on the data stored in the RAM area, and whether or not the non-game data stored in the non-gaming RAM area that does not hinder the progress of the game is normal. By omitting the determination, it is possible to reduce the load when resuming the control while ensuring that the game can proceed normally.

本実施例のRAM41cの遊技RAM領域は、遊技プログラムに基づく制御を行う際にも、非遊技プログラムに基づく制御を行う際にも、用いられることのない未使用領域3を含んでおり、メイン制御部41は、スロットマシン1への電力供給が開始されたときに、初期設定処理を実行し、初期設定処理において、未使用領域3を含む遊技RAM領域のRAMパリティを算出し、算出されたRAMパリティに基づいて遊技RAM領域の記憶内容が正常か否かを判定するので、未使用領域3に不正なデータが記憶されることを防止できる。 The game RAM area of the RAM 41c of the present embodiment includes an unused area 3 that is not used when performing control based on the game program or when performing control based on the non-game program. When the power supply to the slot machine 1 is started, the unit 41 executes the initial setting process, and in the initial setting process, calculates the RAM parity of the game RAM area including the unused area 3, and the calculated RAM Since it is determined whether or not the stored contents of the game RAM area are normal based on the parity, it is possible to prevent illegal data from being stored in the unused area 3.

本実施例のメイン制御部41は、スロットマシン1への電力供給が開始されたときに、初期設定処理を実行し、初期設定処理において、RAM41cの記憶内容が破壊されているか否かを判定し、RAM41cの記憶内容が破壊されていると判定した場合に、RAM異常フラグを設定してエラー処理に制御し、その後、自動的に復帰することがなくエラー状態を維持する一方、設定キースイッチ36がONの状態で、スロットマシン1への電力供給が開始されたときに、設定変更処理に制御し、遊技領域初期化処理を実行して遊技RAM領域を初期化するとともに、非遊技領域初期化処理を実行して非遊技RAM領域を初期化する、すなわちエラー状態が解除されることに伴い遊技RAM領域と非遊技RAM領域の双方を初期化するので、遊技RAM領域及び非遊技RAM領域のいずれかに異常が生じたまま遊技が進行してしまうことを防止できる。 The main control unit 41 of the present embodiment executes the initial setting process when the power supply to the slot machine 1 is started, and in the initial setting process, determines whether or not the storage content of the RAM 41c is destroyed. , If the stored contents of the RAM 41c are determined to be destroyed, the RAM abnormality flag is set to control the error processing, and thereafter, the error state is maintained without automatically recovering, while the setting key switch 36 is set. When the power supply to the slot machine 1 is started in the ON state, the setting change process is controlled, the game area initialization process is executed to initialize the game RAM area, and the non-game area is initialized. Initialize the non-gaming RAM area by executing the process, that is, both the gaming RAM area and the non-gaming RAM area are initialized as the error state is released, so either the gaming RAM area or the non-gaming RAM area It is possible to prevent the game from proceeding with some abnormality.

本実施例のメイン制御部41は、スロットマシン1への電力供給が開始されたときに、初期設定処理において、RAM41cの記憶内容が破壊されていると判定した場合に、RAM異常フラグを設定してエラー処理に制御し、その後、設定キースイッチ36がONの状態で、スロットマシン1への電力供給が開始され、設定変更処理が実行されることで、エラー状態が解除されることに伴い遊技RAM領域と非遊技RAM領域の双方を初期化する構成であるが、メイン制御部41は、スロットマシン1への電力供給が開始されたときに、初期設定処理において、RAM41cの記憶内容が破壊されていると判定した場合に、遊技RAM領域と非遊技RAM領域の双方を初期化し、エラー処理に制御するものであっても良い。このような構成では、エラー処理に制御する際に、遊技RAM領域と非遊技RAM領域の双方を初期化するので、本実施例と同様に、遊技RAM領域及び非遊技RAM領域のいずれかに異常が生じたまま遊技が進行してしまうことを防止できる。また、RAM41cの記憶内容が破壊されている判定されたとき、その後設定変更処理が実行されるときの双方で、遊技RAM領域と非遊技RAM領域の双方を初期化する構成でも良く、このような構成であっても、遊技RAM領域及び非遊技RAM領域のいずれかに異常が生じたまま遊技が進行してしまうことを防止できる。 When the power supply to the slot machine 1 is started, the main control unit 41 of the present embodiment sets the RAM abnormality flag when it is determined that the storage content of the RAM 41c is destroyed in the initialization process. Then, the setting key switch 36 is in the ON state, power supply to the slot machine 1 is started, and the setting change process is executed to cancel the error state. Although the RAM area and the non-gaming RAM area are both initialized, the main control section 41 destroys the stored contents of the RAM 41c in the initial setting process when the power supply to the slot machine 1 is started. If it is determined that the game RAM area and the non-game RAM area are both initialized, the error processing may be controlled. In such a configuration, when controlling the error processing, both the game RAM area and the non-game RAM area are initialized. Therefore, similar to the present embodiment, either the game RAM area or the non-game RAM area is abnormal. It is possible to prevent the game from proceeding with the occurrence of. In addition, both the game RAM area and the non-game RAM area may be initialized when it is determined that the stored contents of the RAM 41c are destroyed and when the setting change process is executed thereafter. Even with the configuration, it is possible to prevent the game from proceeding with an abnormality occurring in either the game RAM area or the non-game RAM area.

本実施例のメイン制御部41は、スロットマシン1への電力供給が停止され、電断検出回路48により電源電圧の低下が検出されたときに電断処理を実行し、電断処理において、RAM41cへのアクセスを禁止することで、遊技RAM領域及び非遊技RAM領域の双方へのアクセスを禁止するので、次回起動時にデータが破壊されているか否かの判定対象外となる非遊技RAM領域を利用して不正なデータが記憶されることを防止できる。 The main control unit 41 of the present embodiment executes the power interruption process when the power supply to the slot machine 1 is stopped and the power failure detection circuit 48 detects the decrease of the power supply voltage, and in the power interruption process, the RAM 41c. By prohibiting access to both the game RAM area and the non-gaming RAM area, you can use the non-gaming RAM area that is out of the judgment target whether the data is destroyed at the next startup. Therefore, it is possible to prevent illegal data from being stored.

次に、メイン制御部41が、遊技の進行を妨げることのない異常(例えば、リール回転中にメダルの投入や払出が検出されたことによる異常、払出処理中にメダルの投入が検出されたことによる異常)を検知した場合に、セキュリティ信号を出力する際の制御について、図12に基づいて説明する。 Next, the main control unit 41 is an abnormality that does not hinder the progress of the game (for example, an abnormality due to detection of insertion or payout of medals during reel rotation, detection of insertion of medals during payout processing). Control when outputting a security signal in the case of detecting (abnormality due to) is described with reference to FIG.

リール制御処理中及び払出処理中の投入エラーは、例えば、メダル投入口4から異物を挿入された場合や、メダルの流路に異物が存在した場合や、リール制御処理中及び払出処理中にも関わらず、メダル投入口4から投入されたメダルがホッパータンク34a側に流下した場合などに検出される。また、リール制御処理中の払出エラーは、払出タイミングではない場合にメダルが払い出された場合などに検出される。 The insertion error during the reel control process and the payout process may occur, for example, when a foreign substance is inserted from the medal insertion slot 4, when a foreign substance is present in the medal flow path, or during the reel control process and the payout process. Regardless, the medal inserted from the medal insertion slot 4 is detected when it flows down to the hopper tank 34a side. Further, the payout error during the reel control process is detected, for example, when a medal is paid out at a timing other than the payout timing.

図12(a)において、スタート操作、リール回転開始、第1停止、第2停止、第3停止、払出は遊技進行中の各タイミングを示す。具体的には、スタート操作は、スタートスイッチ7の操作を検出したタイミングを示す。リール回転開始は、リール2L、2C、2Rが回転を開始したタイミングを示す。第1停止は、全てのリール2L、2C、2Rが未だ回転中の状態で最初に行われる停止操作を検出したタイミングを示す。第2停止は、リール2L、2C、2Rのうちいずれか1つのリールの回転が既に停止し、2つのリールが回転中の状態、すなわち、2番目に行われる停止操作を検出したタイミングを示す。第3停止は、2つのリールの回転が既に停止し、1つのリールが回転中の状態、すなわち、3番目に行われる停止操作を検出したタイミングを示す。払出は、メダルの払出処理を行っているタイミングを示す。 In FIG. 12A, the start operation, the reel rotation start, the first stop, the second stop, the third stop, and the payout indicate the respective timings during the game progress. Specifically, the start operation indicates the timing when the operation of the start switch 7 is detected. The reel rotation start indicates the timing when the reels 2L, 2C, and 2R start rotating. The first stop indicates the timing at which the stop operation first performed while all the reels 2L, 2C, 2R are still spinning is detected. The second stop indicates a state in which the rotation of any one of the reels 2L, 2C, and 2R has already stopped and the two reels are rotating, that is, the timing when the second stop operation is detected. The third stop indicates a state in which the rotation of two reels has already stopped and one reel is rotating, that is, the timing at which the third stop operation is detected. The payout indicates the timing of the payout process of medals.

異常検出は、遊技の進行を妨げることのない異常を検出したタイミングを示す。メダル払出検出は、払い出されたメダルを払出センサ34cにより検出したタイミングを示す。メダルOUT信号は、1パルス出力することにより1枚のメダルが払い出された旨を示す信号である。セキュリティ信号は、遊技の進行を妨げることのない異常が発生したことを示す信号(例えば、投入エラー信号や払出エラー信号)の出力状況を示す。 The abnormality detection indicates the timing of detecting an abnormality that does not hinder the progress of the game. The medal payout detection indicates the timing at which the paid-out medal is detected by the payout sensor 34c. The medal OUT signal is a signal indicating that one medal has been paid out by outputting one pulse. The security signal indicates the output status of a signal (for example, an insertion error signal or a payout error signal) indicating that an abnormality that does not hinder the progress of the game has occurred.

図12(a)は、リール制御処理中に遊技の進行を妨げることのない異常を検出し、かつ、メダルの払出のある入賞が発生した場合におけるメダル払出検出、メダルOUT信号、セキュリティ信号の出力タイミングを示した図である。本実施例では、図示するように、リール制御処理中に遊技の進行を妨げることのない異常を検出した場合、異常を検出した直後にセキュリティ信号を出力するのではなく、払出処理を終了した後、かつ、メダルOUT信号の出力が完了する前にセキュリティ信号を出力する。これにより、リール制御処理中に異常が発生した状況で払い出されたメダルを認識することができる。すなわち、異常が発生した状況で付与された遊技価値を認識することができる。 FIG. 12A is a diagram showing the detection of an abnormality that does not hinder the progress of the game during the reel control process, and the detection of the medal payout, the output of the medal OUT signal, and the output of the security signal when the winning with the payout of the medal occurs It is the figure which showed the timing. In this embodiment, as shown in the figure, when an abnormality that does not hinder the progress of the game is detected during the reel control processing, the security signal is not output immediately after the abnormality is detected, but after the payout processing is completed. In addition, the security signal is output before the output of the medal OUT signal is completed. Thereby, the paid-out medals can be recognized in a situation where an abnormality occurs during the reel control process. That is, it is possible to recognize the game value provided in the situation where the abnormality occurs.

また、従来から知られているように、遊技中に異常検出したときに、遊技終了後に異常報知する場合、遊技に関する処理を終了した後に異常信号の出力を行うと、「遊技中の異常」と「遊技終了直後の異常」の区別がつかない。しかしながら、本実施例では、遊技を開始してから遊技媒体の付与を終了するまでの期間内の所定のタイミングで異常を検出した場合、遊技媒体の付与が終了した後、メダルOUT信号の出力を完了する前にセキュリティ信号の出力を開始する。これにより、例えば、遊技店のホールコンピュータなどが、収集ユニットによって収集されたメダルOUT信号とセキュリティ信号の出力タイミングを解析し、メダルOUT信号の出力が完了する前にセキュリティ信号が出力されていたことを検出することで、「遊技直後の異常」ではなく、「遊技中の異常」であることを区別することができる。 Further, as is known in the art, when an abnormality is detected during a game, if the abnormality is notified after the game is over, if an abnormal signal is output after the process related to the game is finished, the "abnormality during the game" will be given. There is no distinction between "abnormality immediately after the end of the game". However, in this embodiment, when an abnormality is detected at a predetermined timing within the period from the start of the game to the end of the addition of the game medium, the medal OUT signal is output after the end of the addition of the game medium. Start outputting security signals before completion. Thereby, for example, the hall computer of the amusement store analyzes the output timing of the medal OUT signal and the security signal collected by the collection unit, and the security signal is output before the output of the medal OUT signal is completed. By detecting "," it is possible to distinguish not "the abnormality immediately after the game" but "the abnormality during the game".

尚、図12(a)では、払出処理の終了後にメダルOUT信号が出力されるようになっていたが、例えば、図12(b)に示すように、メダル払出が検出される毎にメダルOUT信号が出力されるようにしても良い。そしてこのような場合でも、メダルOUT信号の出力を完了する前にセキュリティ信号の出力を開始するようになっていれば、例えば、最後のメダル払出の検出に対応するメダルOUT信号の出力を検出したタイミングでセキュリティ信号の出力を開始するようにすれば良い。 Note that, in FIG. 12A, the medal OUT signal is output after the payout process is completed, but for example, as shown in FIG. 12B, the medal OUT signal is detected every time the medal payout is detected. A signal may be output. Even in such a case, if the output of the security signal is started before the output of the medal OUT signal is completed, for example, the output of the medal OUT signal corresponding to the detection of the final medal payout is detected. The output of the security signal may be started at the timing.

次に、リールモータ32L、32C、32Rの構成及び当該リールモータを励磁する際の制御方法について、図13及び図14に基づいて説明する。 Next, a configuration of the reel motors 32L, 32C, 32R and a control method for exciting the reel motors will be described with reference to FIGS. 13 and 14.

図13は、リールモータ32L、32C、32Rの構成を示す図である。リールモータ32L、32C、32Rは、ハイブリッド型ステッピングモータであり、ステータ32bと、これに対向するロータ32aとで構成されている。尚、ロータ32aは、図示しない多数の歯車状突極を有し、これに回転軸と同方向に磁化された永久磁石が組み込まれている。これらリールモータ32L、32C、32Rでは、メイン制御部41の制御に基づきモータ駆動回路45から出力されるパルス信号を受け、ステータ32bの各励磁相φ1〜φ4が所定の手順に従って励磁されることにより、1パルスを受信する度に所定の角度(1ステップ)ずつロータ32aが回転する。 FIG. 13 is a diagram showing a configuration of the reel motors 32L, 32C, 32R. The reel motors 32L, 32C, 32R are hybrid type stepping motors, and are composed of a stator 32b and a rotor 32a facing the stator 32b. The rotor 32a has a large number of gear-shaped salient poles (not shown), in which permanent magnets magnetized in the same direction as the rotation shaft are incorporated. The reel motors 32L, 32C, 32R receive pulse signals output from the motor drive circuit 45 under the control of the main control unit 41, and the excitation phases φ1 to φ4 of the stator 32b are excited according to a predetermined procedure. Each time one pulse is received, the rotor 32a rotates by a predetermined angle (one step).

図14(a)は、リールモータ32L、32C、32Rの始動時の制御方法を示すタイミングチャートである。図において、φ1〜φ4は、各励磁相を示し、「ON」は励磁状態を、「OFF」は消磁状態を、各々示す。メイン制御部41は、リールモータ32L、32C、32Rの始動時において、停止相のみが励磁された状態から停止相を始点として後述する1−2相励磁方式にて回転方向に励磁を開始する。詳しくは、例えば停止相が(φ3、φ4)の場合には、(φ3、φ4)が励磁された状態から、(φ4)、(φ4、φ1)、(φ1)・・・の順で、φ1〜φ4を1相、2相、1相と交互に励磁する。 FIG. 14A is a timing chart showing a control method at the time of starting the reel motors 32L, 32C, 32R. In the figure, φ1 to φ4 indicate each excitation phase, “ON” indicates the excitation state, and “OFF” indicates the demagnetization state. At the time of starting the reel motors 32L, 32C, 32R, the main control unit 41 starts excitation in the rotational direction by a 1-2 phase excitation method, which will be described later, starting from the stop phase from a state in which only the stop phase is excited. Specifically, for example, when the stop phase is (φ3, φ4), from the state where (φ3, φ4) is excited, (φ4), (φ4, φ1), (φ1)... ~φ4 is alternately excited with one phase, two phases, and one phase.

仮に停止相とは異なる相を始点として励磁を開始した場合には、急激にロータ32aの永久磁石が励磁相に吸引されることとなり、回転の開始時にリールが振動してしまうこととなるが、本実施例では、停止相を始点として励磁を開始するので、ロータ32aと一体的に結合されているリールが滑らかに始動するようになる。 If the excitation is started with a phase different from the stop phase as the starting point, the permanent magnet of the rotor 32a is suddenly attracted to the excitation phase, and the reel vibrates at the start of rotation. In this embodiment, since the excitation is started with the stop phase as the starting point, the reel integrally connected to the rotor 32a can be smoothly started.

図14(b)は、リールモータ32L、32C、32Rの回転中及び停止時の制御方法を示すタイミングチャートである。 FIG. 14B is a timing chart showing a control method when the reel motors 32L, 32C, 32R are rotating and stopped.

まず、回転中、すなわちリールを停止させる条件が成立するまでの間は、1−2相励磁方式でリールモータを駆動して各リール2L、2C、2Rを回転させる。例えば、φ1〜φ4を励磁する旨を示すパルス信号を図14(b)に示すタイミングでON/OFFし、ロータ32aの回転方向に沿って、(φ4、φ1)、(φ1)、(φ1、φ2)、(φ2)、(φ2、φ3)、(φ3)、(φ3、φ4)、(φ4)、(φ4、φ1)・・・の順で、2相、1相、2相、1相、2相と1ステップ毎に交互にφ1〜φ4を励磁して、ロータ32aを回転させることにより、リール2L、2C、2Rを回転させる。 First, during rotation, that is, until the condition for stopping the reels is satisfied, the reel motor is driven by the 1-2 phase excitation method to rotate each reel 2L, 2C, 2R. For example, a pulse signal indicating that φ1 to φ4 is excited is turned ON/OFF at the timing shown in FIG. 14B, and (φ4, φ1), (φ1), (φ1, 2 phase, 1 phase, 2 phase, 1 phase in the order of φ2), (φ2), (φ2, φ3), (φ3), (φ3, φ4), (φ4), (φ4, φ1)... .Phi.1 to .phi.4 are alternately excited every two phases and one step to rotate the rotor 32a, thereby rotating the reels 2L, 2C, 2R.

次に、回転中のリールを停止させる条件が成立した場合、リールの停止制御に移行する。例えば、リールを停止させる条件が、停止条件成立ステップとして図14(b)に示す期間に成立した場合には、1−2相励磁方式での2相が励磁される状態に移行する時点Taまで待って、停止制御に移行する。 Next, when the condition for stopping the spinning reel is satisfied, the process proceeds to reel stop control. For example, when the condition for stopping the reels is satisfied during the period shown in FIG. 14B as the stop condition satisfaction step, up to the time point Ta at which the two-phase excitation in the 1-2 phase excitation method is performed. Wait, then shift to stop control.

リールの停止制御は、図14(b)に示されるように、全相励磁停止制御で行われる。全相励磁停止制御では、1−2相励磁方式でリールモータが駆動されている場合において、1相を励磁した状態から2相を励磁する状態に移行する時点Taから開始され、全相を励磁する状態を所定のホールド時間(T1+T2)だけ保持する制御である。例えば、図14(b)に示すように、(φ1)を励磁した状態から(φ1、φ2)を励磁する状態に移行する時点から、(φ1、φ2、φ3、φ4)を励磁した状態をホールド時間T1+T2だけ保持する。これにより、高速回転していた各リールモータのロータ32aは急制動がかけられる。その後、リールモータのロータ32aは、慣性力により数ステップ分(本実施例では、4ステップである。)回転して停止する。尚、リールモータのロータ32aが停止するまでに要するステップ数は、リールやリールモータの特性(重さや大きさ、電気機械的な性質)によって変化するので、リールの停止制御においては、当該特性に応じたステップ数で、全相励磁停止制御を行うことが好ましい。 The reel stop control is performed by all-phase excitation stop control, as shown in FIG. In the all-phase excitation stop control, when the reel motor is driven by the 1-2 phase excitation method, it starts from a time point Ta at which the state of exciting one phase is changed to the state of exciting two phases, and all phases are excited. The control is such that the state to be held is held for a predetermined hold time (T1+T2). For example, as shown in FIG. 14B, the state of exciting (φ1, φ2, φ3, φ4) is held from the time of transition from the state of exciting (φ1) to the state of exciting (φ1, φ2). Hold only time T1+T2. As a result, the rotor 32a of each reel motor that has been rotating at high speed is suddenly braked. After that, the rotor 32a of the reel motor rotates several steps (four steps in this embodiment) by the inertial force and stops. Since the number of steps required for the rotor 32a of the reel motor to stop changes depending on the characteristics (weight, size, electromechanical properties) of the reel and the reel motor, the characteristics are not set in the reel stop control. It is preferable to perform the all-phase excitation stop control with the corresponding number of steps.

全相励磁停止制御がT1+T2の間実行された後(Tc)、φ1、φ2を消磁し、停止相φ3、φ4の励磁状態を維持したまま、リールモータに印加する電圧を通常値(High状態)よりも低下させる(Low状態)。ロータ32aの停止後も、停止相φ3、φ4の励磁状態を通常値よりもLow状態の電圧で維持するのは、ホールディングトルクとディテントトルクとの位相差や摩擦の影響によるずれによって、ロータ32aが停止相φ3、φ4のホールディングトルク安定点から外れることを防止するためである。これにより、リールが一旦停止した後に微動すること、及び、次回リールモータを始動させる時のロータ32aの角度位置が、停止時の角度位置からずれてしまうことを防止できる。 After the all-phase excitation stop control is executed for T1+T2 (Tc), φ1 and φ2 are demagnetized, and the voltage applied to the reel motor is the normal value (High state) while maintaining the excitation state of the stopped phases φ3 and φ4. Lower (Low state). Even after the rotor 32a is stopped, the excitation state of the stop phases φ3 and φ4 is maintained at a voltage lower than the normal value because the phase difference between the holding torque and the detent torque and the shift due to the influence of friction cause the rotor 32a to move. This is for preventing deviation from the holding torque stable point of the stop phases φ3 and φ4. As a result, it is possible to prevent the reel from slightly moving after being temporarily stopped and from shifting the angular position of the rotor 32a when the reel motor is started next time from the angular position when stopped.

ロータ32aの停止後も維持されている停止相φ3、φ4の励磁状態は、次ゲームの開始操作が行われることなく所定時間(本実施例では30秒であり、待機状態(デモ演出)へ移行するのと同じタイミング)が経過した場合(Td)に解除される。すなわち、ロータ32aの停止後、次ゲームの開始操作が行われることなく所定時間が経過した場合には、φ1〜φ4が全て消磁されることになる。このため、例えば、励磁相が長時間継続して励磁されることによる発熱に伴って、ステッピングモータを構成する部品等に負担がかかることがないので、これら部品の劣化を防止することができる。また、本実施例では、次ゲームの開始操作が行われない状態が所定時間継続して待機状態(デモ演出)へ移行するタイミングで励磁状態が解除されるので、遊技客が遊技している間は、リールに配置された図柄がずれにくい状態を保つことができる一方、遊技客が遊技している可能性の低い状態では、ステッピングモータの構成部品にかかる負荷を軽減できるようになる。 The excitation state of the stop phases φ3 and φ4, which is maintained even after the rotor 32a is stopped, is for a predetermined time (30 seconds in this embodiment, without the start operation of the next game, and shifts to the standby state (demonstration). It is canceled when the same timing as that) elapses (Td). That is, after the rotor 32a is stopped, if a predetermined time elapses without starting the next game, φ1 to φ4 are all demagnetized. For this reason, for example, since heat is generated due to the excitation phase being continuously excited for a long time, no burden is placed on the components or the like constituting the stepping motor, and thus it is possible to prevent deterioration of these components. In addition, in the present embodiment, the excitation state is released at the timing when the state in which the start operation of the next game is not performed continues for the predetermined time and shifts to the standby state (demonstration effect). While the symbols arranged on the reels can be kept in a state in which they are unlikely to shift, it is possible to reduce the load on the components of the stepping motor in a state where it is unlikely that the player is playing the game.

次に、メイン制御部41が実行するタイマカウンタの更新処理の制御内容について説明する。本実施例では、RAM41cに割り当てられたタイマカウンタの値を定期的に更新し、特定の値(0)となることで時間の経過を特定するようになっている。従来は、複数種類の時間間隔を計測する場合に、計時を要する複数種類の処理内で、タイマ値の設定及び更新を行っており、複数種類のタイマ値を更新するためのプログラムをそれぞれの処理内に設ける必要があるため、プログラム容量が増大する要因となっていた。また、複数種類のタイマカウンタは、それぞれが用いられる処理毎のデータ群として割り当てられているため、一の処理においてまとめて更新するためには、それぞれの関連性のないアドレスの値を読み出す必要があった。 Next, the control content of the timer counter updating process executed by the main control unit 41 will be described. In the present embodiment, the value of the timer counter assigned to the RAM 41c is periodically updated, and when a specific value (0) is reached, the passage of time is specified. Conventionally, when measuring a plurality of types of time intervals, the timer value is set and updated within the plurality of types of processing that require timekeeping, and the programs for updating the plurality of types of timer values are respectively processed. Since it has to be provided inside, it has been a factor of increasing the program capacity. In addition, since a plurality of types of timer counters are assigned as a data group for each process in which they are used, it is necessary to read the values of unrelated addresses in order to collectively update them in one process. there were.

これに対して本実施例では、複数種類のタイマカウンタ値が格納される領域がRAM41cの所定の規則で連続するアドレスが割り当てられた領域に設定されるとともに、指定アドレスに格納されたタイマ値を更新する処理を、現在の指定アドレスに対して定数を加算することで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新するので、複数種類のアドレスをそれぞれ指定して当該アドレスの値を更新する処理を個々の処理で行う場合よりもプログラム容量を削減することができる。 On the other hand, in this embodiment, the area for storing a plurality of types of timer counter values is set in the area of the RAM 41c to which consecutive addresses are assigned according to a predetermined rule, and the timer value stored at the specified address is Since the updating process is repeatedly executed while changing the specified address for the area where multiple types of timer counter values are stored by adding a constant to the current specified address, multiple types of timer values are updated. It is possible to reduce the program capacity as compared with the case where the processing of individually designating a plurality of types of addresses and updating the value of the address is performed by each processing.

尚、指定アドレスに格納されたタイマ値を更新する処理を、所定の演算を行うことで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成であれば良く、例えば、現在の指定アドレスに対して定数を加算することで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成でも良いし、基準アドレスに対して処理数に応じた値(例えば、1バイトカウンタであれば、処理数1の場合に+1、処理数2の場合に+2、処理数3の場合に+3…)を加算または減算することで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成でも良い。 It should be noted that the process of updating the timer value stored in the specified address is repeatedly executed while changing the specified address for the area in which the plural types of timer counter values are stored by performing a predetermined calculation. The value may be updated. For example, by adding a constant to the current designated address and changing the designated address for the area in which multiple types of timer counter values are stored The timer value may be updated, or a value corresponding to the number of processes with respect to the reference address (for example, in the case of a 1-byte counter, the number of processes is 1 +1, the number of processes is +2, the number of processes is 2). In the case of 3, the configuration may be such that a plurality of types of timer values are updated by repeatedly adding and subtracting +3...) While changing a designated address for an area in which a plurality of types of timer counter values are stored.

また、メイン制御部41が備える一部のタイマカウンタのみ、タイマ値をRAM41cの所定の規則で連続するアドレスが割り当てられた領域に設定し、指定アドレスに格納されたタイマ値を更新する処理を、所定の演算を行うことで複数種類のタイマ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成でも良い。 Further, only a part of the timer counter included in the main control unit 41 sets a timer value in an area to which consecutive addresses are assigned according to a predetermined rule of the RAM 41c, and updates the timer value stored in the designated address. A configuration may be used in which a plurality of types of timer values are updated by repeatedly performing while changing a designated address for an area in which a plurality of types of timer values are stored by performing a predetermined calculation.

また、本実施例では、計測する期間の種類毎に別個のタイマカウンタを備える構成であるが、例えば、計測する期間が重複しない複数種類の期間について一のタイマカウンタを共用する構成としても良い。 Further, in the present embodiment, a separate timer counter is provided for each type of period to be measured, but for example, one timer counter may be shared for a plurality of types of periods in which the periods to be measured do not overlap.

また、本実施例では、メイン制御部41が実行する処理として、遊技の進行状況に関わらず予め定められた処理を定期的に行うタイマ割込処理(メイン)と、遊技の進行状況に応じて段階的に異なる処理を行うメイン処理と、を含み、メイン制御部41は、メイン処理において計時条件が成立した場合にタイマカウンタに初期値を設定し、タイマ割込処理(メイン)において複数種類のタイマ値を更新するようになっており、メイン処理を構成する各処理内に複数種類のタイマ値を更新する処理を設ける必要がないため、複数種類のタイマ値の更新に係るプログラム容量を削減することができる。 Further, in the present embodiment, as the processing executed by the main control unit 41, depending on the progress status of the game and the timer interruption processing (main) which regularly performs a predetermined processing regardless of the progress status of the game. The main control unit 41 sets the initial value to the timer counter when the timing condition is satisfied in the main process, and the main process that performs a different process stepwise, and a plurality of types in the timer interrupt process (main). Since the timer value is updated and it is not necessary to provide a process for updating multiple types of timer values in each process that constitutes the main process, the program capacity for updating multiple types of timer values is reduced. be able to.

尚、本実施例では、メイン処理に定期的に割り込んでタイマ割込処理(メイン)を実行する構成であるが、定期的に行うタイマ割込処理内で、遊技の進行状況に関わらず予め定められた処理を行う定期処理と、遊技の進行状況に応じて段階的に異なる処理を行うメイン処理と、の双方を行う構成としても良く、このような構成においても、メイン制御部41は、メイン処理において計時条件が成立した場合にタイマカウンタに初期値を設定し、定期処理において複数種類のタイマ値を更新する構成とすることで、メイン処理を構成する各処理内に複数種類のタイマ値を更新する処理を設ける必要がないため、複数種類のタイマ値の更新に係るプログラム容量を削減することができる。 In the present embodiment, the timer interrupt process (main) is executed by periodically interrupting the main process. However, the timer interrupt process is executed in a regular manner regardless of the progress of the game. The main control unit 41 may be configured to perform both a regular process for performing the given process and a main process for performing different processes stepwise according to the progress of the game. By setting the initial value to the timer counter when the timing condition is satisfied in the process and updating the multiple types of timer values in the regular process, multiple types of timer values can be set in each process that constitutes the main process. Since it is not necessary to provide a process for updating, it is possible to reduce the program capacity for updating a plurality of types of timer values.

また、本実施例では、時間カウンタ更新処理において、指定アドレスの値が0でないことを条件に当該アドレスの値を更新するようになっており、タイマ値が異常な値に更新されてしまうことを防止できる。 Further, in the present embodiment, in the time counter updating process, the value of the specified address is updated on condition that the value of the specified address is not 0, and the timer value may be updated to an abnormal value. It can be prevented.

また、本実施例では、時間カウンタ更新処理において、更新するタイマカウンタの数と同数の処理数を設定し、設定した処理数分、タイマ値を更新する処理を繰り返し実行する構成であるため、更新するタイマカウンタの数の管理が容易になるとともに、例えば、更新間隔が異なる複数種類のタイマカウンタを備える場合などに、設定する処理数に応じて更新するタイマ値の種類を任意に設定することができる。 Further, in the present embodiment, in the time counter updating process, the same number of processes as the number of timer counters to be updated is set, and the process of updating the timer value is repeatedly executed for the set number of processes. The number of timer counters to be updated can be easily managed. For example, when a plurality of types of timer counters having different update intervals are provided, the type of timer value to be updated can be arbitrarily set according to the number of processes to be set. it can.

尚、処理数、すなわち更新するタイマカウンタの数は、プログラムに設定されていても良いし、テーブルに設定された値を読み出して設定するようにしても良い。 The number of processes, that is, the number of timer counters to be updated may be set in the program or may be set by reading the value set in the table.

また、最初に処理数を設定することなく、最後に更新するタイマカウンタを予め設定するとともに、当該タイマカウンタのアドレスに到達するまでタイマ値を更新する処理を繰り返し実行する構成としたり、最後に更新するタイマカウンタの次のアドレスに特定のエンド値(例えば、FFh)を格納し、指定アドレスから読み出された値が特定のエンド値となるまでタイマ値を更新する処理を繰り返し実行する構成としても良い。 Also, without setting the number of processes first, the timer counter to be updated last is set in advance, and the process of updating the timer value is repeatedly executed until the address of the timer counter is reached. A specific end value (for example, FFh) may be stored at the next address of the timer counter to be updated, and the process of updating the timer value may be repeatedly executed until the value read from the specified address reaches the specific end value. good.

また、本実施例では、1バイトのタイマカウンタと、2バイトのタイマカウンタと、を備え、1バイトのタイマ値を更新する処理と、2バイトのタイマ値を更新する処理と、を別個に備えるため、1バイトのタイマ値を更新する処理と、2バイトのタイマ値を更新する処理と、を共通化する場合よりもプログラムの容量やRAM41cにおいてタイマ値が占有する容量を削減することができる。 Further, in this embodiment, a 1-byte timer counter and a 2-byte timer counter are provided, and a process for updating a 1-byte timer value and a process for updating a 2-byte timer value are separately provided. Therefore, the capacity of the program and the capacity occupied by the timer value in the RAM 41c can be reduced as compared with the case where the processing of updating the 1-byte timer value and the processing of updating the 2-byte timer value are made common.

尚、本実施例では、2バイトのタイマカウンタを備えることで1バイトを超える初期値に対応する相対的に長い時間を計測する構成であるが、例えば、更新間隔が異なるタイマカウンタ、例えば、タイマ割込処理(メイン)4回に1回更新する第1のタイマカウンタと、14回に1回更新する第2のタイマカウンタと、を備えることにより、2バイトのカウンタを設けることなく、相対的に長い時間間隔を計測する構成としても良く、このようにすることで、1バイトのタイマ値を更新する処理と、2バイトのタイマ値を更新する処理と、それぞれ設ける必要がなくなるため、タイマ値の更新に係るプログラム容量を削減できる。 In this embodiment, a 2-byte timer counter is provided to measure a relatively long time corresponding to an initial value exceeding 1 byte. However, for example, timer counters with different update intervals, for example, a timer Interrupt processing (main) By providing a first timer counter that updates once every four times and a second timer counter that updates once every fourteen times, it is possible to perform relative processing without providing a 2-byte counter. It may be configured to measure a long time interval, and by doing so, it is not necessary to provide a process for updating the 1-byte timer value and a process for updating the 2-byte timer value. It is possible to reduce the program capacity related to updating.

また、本実施例では、複数種類のタイマカウンタがRAM41cにおいて遊技の進行に応じて初期化されることのない特別ワークに割り当てられており、遊技の進行に応じて初期化されることがないため、遊技の進行状況に関わらず、遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐ期間の時間を計測することができる。 Further, in the present embodiment, a plurality of types of timer counters are assigned to the special work that is not initialized in the RAM 41c according to the progress of the game, and are not initialized in accordance with the progress of the game. , Regardless of the progress status of the game, it is possible to measure the time of the period straddling the timing when a part of the RAM 41c is initialized according to the progress of the game.

特に、本実施例では、計測期間が1遊技の終了するタイミング、すなわち遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのあるタイマカウンタだけでなく、計測期間が遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのないタイマカウンタについても他のタイマカウンタとともに特別ワークに割り当てられた領域に格納されているため、タイマカウンタの管理が容易になるとともに、計測期間が遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのないタイマカウンタを、計測期間が遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのあるタイマカウンタに変更する等、後の設計変更等によりタイマカウンタの用途を容易に変更することができる。また、上記のように計測する期間が重複しない複数種類の期間について一のタイマカウンタを共用する構成であれば、遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのある計測期間と、遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのない計測期間と、を一のタイマカウンタにて計測することが可能となる。 In particular, in the present embodiment, not only the timer counter that may cross the timing when one game ends in the measurement period, that is, the timing when a part of the RAM 41c is initialized according to the progress of the game, The timer counter, which does not cross the timing when a part of the RAM 41c is initialized according to the progress, is also stored in the area allocated to the special work together with the other timer counters, so that the timer counter can be easily managed. Along with this, a timer counter whose measurement period does not cross over the timing when a part of the RAM 41c is initialized according to the progress of the game, and the timing when a part of the RAM 41c is initialized during the measurement period as the game progresses The application of the timer counter can be easily changed by a later design change such as changing to a timer counter that may cross over. In addition, as described above, if one timer counter is shared for a plurality of types of periods in which the periods to be measured do not overlap, a part of the RAM 41c may cross the timing of initialization as the game progresses. It is possible to measure the measurement period and the measurement period that does not cross over the timing when a part of the RAM 41c is initialized according to the progress of the game, with one timer counter.

本実施例のメイン制御部41は、RAM41cの所定領域に後述のリール演出フラグが設定されている場合に、当該リール演出フラグに基づいてリール2L、2C、2Rを通常のゲームでは行われることのない特殊な変動態様(例えば、所定図柄揃え、リール微振動、リール逆回転、リール低速回転、一部のリールを回転させる一方で他のリールを回転させない一部回転)で変動させるリール演出を実行し、これら特殊な変動態様でリールを変動させることで、遊技者にとって有利な状況(例えば、後述するARTに制御されること、ART抽選での当選の可能性、所定役の当選の可能性)を示唆することが可能となっている。本実施例では、リール演出として、複数種類の第1リール演出及び第2リール演出を実行可能である。 When the reel effect flag described later is set in the predetermined area of the RAM 41c, the main control unit 41 of the present embodiment performs the reels 2L, 2C, 2R based on the reel effect flag in a normal game. There is no special variation mode (for example, predetermined symbol alignment, reel micro-vibration, reel reverse rotation, reel low-speed rotation, partial rotation that does not rotate other reels while rotating some reels). However, by varying the reels in these special variation modes, a situation that is advantageous to the player (for example, being controlled by ART described later, possibility of winning in ART lottery, possibility of winning a predetermined combination) It is possible to suggest. In this embodiment, a plurality of types of first reel effect and second reel effect can be executed as the reel effect.

第1リール演出は、リール2L、2C、2Rを特定の位置に停止させる、すなわち所定図柄を入賞ラインLNに揃える演出であり、本実施例では、第1リール演出として、リール2L、2C、2Rを所定期間にわたり微振動させた後に、入賞ラインLNに「赤7−赤7−赤7」を揃えて停止させる赤7揃い演出と、リール2L、2C、2Rを所定期間にわたり微振動させた後に、入賞ラインLNに「青7−青7−青7」を揃えて停止させる青7揃い演出と、を含む。 The first reel effect is an effect of stopping the reels 2L, 2C, 2R at a specific position, that is, aligning a predetermined symbol with the pay line LN, and in the present embodiment, as the first reel effect, the reels 2L, 2C, 2R. After a slight vibration for a predetermined period, a red 7 line-up effect of aligning and stopping "Red 7-Red 7-Red 7" on the pay line LN and after vibrating the reels 2L, 2C, 2R for a predetermined period , Blue 7-blue 7-blue 7-blue 7” on the pay line LN, and a blue 7-line effect that is stopped.

第2リール演出は、特定の位置にリールを停止させることのない演出であり、本実施例では、第2リール演出として、リール2L、2C、2Rを所定期間にわたり微振動させるリール微振動を行う微振動演出と、リール2L、2C、2Rを通常のゲームでの回転方向と反対方向に所定期間にわたり逆回転させるリール逆回転を行う逆回転演出と、リール2L、2C、2Rを通常のゲームでの回転速度よりも遅い低速で回転させる低速回転演出と、を含む。 The second reel effect is an effect that does not stop the reel at a specific position, and in the present embodiment, as the second reel effect, a slight reel vibration is performed to slightly vibrate the reels 2L, 2C, and 2R for a predetermined period. A slight vibration effect, a reverse rotation effect in which the reels 2L, 2C, and 2R are reversely rotated in a direction opposite to the rotation direction in a normal game for a predetermined period, and a reel reverse rotation effect is performed in a normal game. Low speed rotation effect of rotating at a low speed slower than the rotation speed of.

本実施例のメイン制御部41は、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選した場合には、ART(RT0でATに制御される状態)に制御するか否かを決定するART抽選を行う。ART抽選では、当選している所定の抽選対象役の種類に応じた割合(本実施例では、共通ベル、弱チェリー、スイカ、強チェリーの順で当選する割合がより高くなるように設定されている)で、ART抽選に当選し得るようになっている。そして、ART抽選に当選した場合には、ARTの制御を開始するまでの期間(前兆期間)の長さを決定する前兆期間抽選を行い、前兆期間抽選にて決定された前兆期間の計数を開始するとともに、ARTの制御を開始する際に実行するART開始演出の種類を決定するART開始演出抽選を行い、ART開始演出抽選にて決定されたART開始演出の種類を特定可能なART開始演出フラグをRAM41cの所定領域に設定する。その後、前兆期間抽選にて決定された前兆期間が経過したときに、ART開始演出の制御を開始して、ART開始演出フラグに基づいて特定されるリール演出の種類に対応するリール演出フラグをRAM41cの所定領域に設定し、当該リール演出フラグに基づいて後述のリール制御処理においてART開始演出抽選にて決定されたリール演出を実行させる。 When a predetermined lottery target combination (strong cherry, weak cherry, watermelon, common bell in this embodiment) is won in the internal lottery, the main control unit 41 of the present embodiment is controlled by the ART (RT0 to AT). The ART lottery for deciding whether or not to control the state) is performed. In the ART lottery, the proportion according to the type of the predetermined lottery target winning combination (in the present embodiment, the proportion of winning in the order of common bell, weak cherry, watermelon, and strong cherry is set to be higher). You can win the ART lottery. When winning the ART lottery, a precursory period lottery is performed to determine the length of the period (precursor period) until the control of the ART is started, and the counting of the precursory periods determined in the precursory period lottery is started. At the same time, the ART start production lottery for determining the type of the ART start production executed when starting the control of the ART is performed, and the ART start production flag capable of specifying the type of the ART start production determined in the ART start production lottery Is set in a predetermined area of the RAM 41c. After that, when the precursor period determined by the precursor period lottery has elapsed, the control of the ART start effect is started, and the reel effect flag corresponding to the reel effect type specified based on the ART start effect flag is set in the RAM 41c. The reel effect determined in the ART start effect lottery in the reel control process described later is executed based on the reel effect flag.

ART開始演出抽選では、ART抽選にて当選したARTの種類に応じて、上述の第1リール演出である赤7揃い演出、青7揃い演出のいずれかが当選するようになっており、ART抽選にて当選したARTについて遊技者にとって有利度が高いほど青7揃い演出が選択され得る割合が高くなるようになっている。これにより、ART開始演出として、青7揃い演出が実行される場合には、赤7揃い演出が実行される場合よりも遊技者にとって有利度が高いARTに制御される可能性が高い旨が示唆される一方で、赤7揃い演出が実行される場合であっても、遊技者にとって有利度が高いARTに制御される可能性があるので、ART開始演出においてARTに制御されることへの期待感を高めることができる。 In the ART start effect lottery, depending on the type of ART won in the ART lottery, one of the above-mentioned first reel effects, that is, the red 7 set effect and the blue 7 set effect, is won. The higher the degree of advantage for the player with respect to the winning ART is, the higher the ratio of blue 7 complete effects that can be selected. As a result, it is suggested that when the blue 7 set effect is executed as the ART start effect, it is more likely to be controlled to the ART which is more advantageous to the player than when the red 7 set effect is executed. On the other hand, even when the red 7 set production is executed, there is a possibility that it will be controlled to ART which is highly advantageous to the player, so expectation to be controlled to ART in the ART start production. It can enhance the feeling.

また、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選した場合には、RAM41cの所定領域を参照して、上述のART開始演出抽選に基づくリール演出フラグが設定されているか否かを判定し、当該リール演出フラグが設定されていない場合に、ART抽選に当選した可能性を示唆するART可能性示唆演出を実行するか否かを決定するART可能性示唆演出抽選を行う。ART可能性示唆演出抽選では、ART抽選の結果に応じた割合で、上述の第2リール演出である微振動演出、逆回転演出、低速回転演出のいずれかが選択され得るようになっており、ART可能性示唆演出抽選に当選した場合には、ART可能性示唆演出抽選にて当選したリール演出の種類を特定可能なリール演出フラグをRAM41cの所定領域に設定する。そして、その後のリール制御処理においてART可能性示唆演出としてART可能性示唆演出抽選にて決定されたリール演出を実行させる。 Further, when a predetermined lottery target combination (strong cherry, weak cherry, watermelon, common bell in the present embodiment) is won in the internal lottery, a predetermined area of the RAM 41c is referred to for the above-mentioned ART start effect lottery. It is determined whether or not the reel effect flag based on it is set, and if the reel effect flag is not set, it is determined whether or not to execute the ART possibility suggestion effect that suggests the possibility of winning the ART lottery. Perform ART possibility suggestion lottery. In the ART possibility suggestion effect lottery, any one of the above-mentioned second reel effect, that is, the micro-vibration effect, the reverse rotation effect, and the low-speed rotation effect can be selected at a rate according to the result of the ART lottery. When the ART possibility suggestion effect lottery is won, a reel effect flag capable of specifying the type of reel effect won in the ART possibility suggestion effect lottery is set in a predetermined area of the RAM 41c. Then, in the subsequent reel control process, the reel effect determined in the ART possibility suggesting effect lottery is executed as the ART possibility suggesting effect.

一方、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選した場合に、リール演出フラグが設定されている場合には、ART可能性示唆演出抽選を行わず、ART開始演出抽選に基づくリール演出フラグがRAM41cの所定領域に設定されている状態を維持することで、ART可能性示唆演出が実行されることを制限して、ART開始演出抽選により決定されたリール演出を優先して実行するようになっている。 On the other hand, when a predetermined lottery target combination (strong cherry, weak cherry, watermelon, common bell in the present embodiment) is won in the internal lottery, if the reel production flag is set, ART possibility suggestion production is performed. By maintaining the state in which the reel effect flag based on the ART start effect lottery is set in the predetermined area of the RAM 41c without performing the lottery, the ART possibility suggestion effect is restricted from being executed, and the ART start effect effect lottery is performed. The reel effect determined by is preferentially executed.

尚、本実施例では、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選したゲームにおいて、リール演出フラグが設定されていない場合には、ART可能性示唆演出抽選を行う一方で、リール演出フラグが設定されている場合には、ART可能性示唆演出抽選を行わない構成であるが、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選したゲームにおいて、リール演出フラグが設定されているか否かに関わらず、一律にART可能性示唆演出を実行する構成としても良く、このような構成においては、ART可能性示唆演出抽選に当選し、かつリール演出フラグがRAM41cの所定領域に未だ設定されていない場合には、ART可能性示唆演出抽選での抽選結果に基づいてリール演出フラグを設定する一方で、ART可能性示唆演出抽選に当選したものの、RAM41cの所定領域に既にリール演出フラグが設定されている場合には、ART可能性示唆演出抽選に当選したことに伴ってリール演出フラグを設定することなく、既に設定されているリール演出フラグを維持するようにすることで、ART可能性示唆演出抽選に当選したゲームが、上述のART開始演出抽選により決定されたリール演出が実行されるゲームである場合には、ART可能性示唆演出抽選に当選したことに伴うリール演出の実行が制限され、ART開始演出抽選により決定されたリール演出を優先して実行されせることができる。 In the present embodiment, in a game in which a predetermined lottery target combination (strong cherry, weak cherry, watermelon, common bell in the present embodiment) is won in the internal lottery, if the reel effect flag is not set, While the ART possibility suggestion effect lottery is performed, when the reel effect flag is set, the ART possibility suggestion effect lottery is not performed. However, in the internal lottery, a predetermined lottery target combination (in the present embodiment, is selected). , Strong cherry, weak cherry, watermelon, common bell), the ART possibility suggesting effect may be uniformly executed regardless of whether the reel effect flag is set or not. In the configuration, in the case where the ART possibility suggestion effect lottery is won and the reel effect flag is not yet set in the predetermined area of the RAM 41c, the reel effect flag is set based on the lottery result in the ART possibility suggestion effect lottery. On the other hand, if the reel possibility flag is already set in the predetermined area of the RAM 41c even though the player has won the ART possibility suggestion effect lottery, the reel effect flag is generated in association with winning the ART possibility suggestion effect lottery. By maintaining the reel effect flag that has already been set without setting, the game won in the ART possibility suggestion effect lottery executes the reel effect determined by the ART start effect lottery described above. In the case of a game in which the winning possibility is selected, the execution of the reel effect associated with winning the ART possibility suggestion effect lottery is restricted, and the reel effect determined by the ART start effect effect lottery can be preferentially executed.

また、ART可能性示唆演出抽選では、当該ART可能性示唆演出抽選の契機となった所定の抽選対象役が当選したことに伴い行われたART抽選に当選している場合には、逆回転演出または低速回転演出が選択され得る割合が、ART抽選に当選していない場合に比較して高く設定されているとともに、ART抽選に当選している場合に、逆回転演出が選択され得る割合は、低速回転演出が選択され得る割合に比較して高く設定されている。これにより、ART可能性示唆演出としてリール演出(微振動演出、逆回転演出、低速回転演出)が行われることで、ARTに制御される可能性が高い旨が示唆されるとともに、実行されるリール演出の種類に応じてARTに制御される可能性の高さを示唆することができ(本実施例では、微振動演出、低速回転演出、逆回転演出の順でARTに制御される可能性がより高い)、ART可能性示唆演出においてARTに制御されることへの期待感を高めることができる。 In addition, in the ART possibility suggestion production lottery, in the case where the ART lottery performed in association with the winning of the predetermined lottery target combination that triggered the ART possibility suggestion production lottery is won, the reverse rotation production is performed. Alternatively, the rate at which the low-speed rotation effect can be selected is set higher than that when the ART lottery is not won, and the ratio at which the reverse rotation effect can be selected when the ART lottery is won is: It is set higher than the rate at which the low speed rotation effect can be selected. As a result, a reel effect (fine vibration effect, reverse rotation effect, low speed rotation effect) is performed as the ART possibility suggesting effect, which suggests that the possibility of being controlled by the ART is high and the reel to be executed. It is possible to suggest a high possibility of being controlled by ART according to the type of effect (in the present embodiment, there is a possibility that ART is controlled in the order of slight vibration effect, low speed rotation effect, and reverse rotation effect). It is possible to increase the expectation of being controlled by ART in the ART possibility suggesting effect.

尚、本実施例では、第1リール演出は、リール2L、2C、2Rを所定期間にわたり微振動させた後に、所定図柄の組合せを入賞ラインLNに揃える演出であるが、少なくともリール2L、2C、2Rを特定の位置に停止させる演出すなわちリールを特定の位置で一旦停止させる演出であれば良く、リール2L、2C、2Rを特定の位置に停止させるのみの演出や、リール2L、2C、2Rを所定期間にわたり通常のゲームでは行われることのない特殊な変動態様(例えば、所定図柄揃え、リール微振動、リール逆回転、リール低速回転、リール一部回転、所定期間にわたりリールを変動させることなく制御した後に変動を開始させる態様)に制御した後、リール2L、2C、2Rを特定の位置に停止させる演出、リール2L、2C、2Rを特定の位置に停止させた後、特殊な変動態様で変動させる演出、第2リール演出を構成するリールの変動態様の一部または全部でリールを変動させた後に、リール2L、2C、2Rを特定の位置に停止させる演出、リール2L、2C、2Rを複数の特定の位置に順次停止させる演出等であっても良い。 In the present embodiment, the first reel effect is an effect of aligning a predetermined symbol combination on the pay line LN after the reels 2L, 2C, 2R are slightly vibrated for a predetermined period, but at least the reels 2L, 2C, 2R may be stopped at a specific position, that is, a reel may be temporarily stopped at a specific position, and only the reels 2L, 2C, 2R may be stopped at a specific position, or the reels 2L, 2C, 2R may be stopped. A special variation mode that is not performed in a normal game over a predetermined period (for example, predetermined symbol alignment, reel micro-vibration, reel reverse rotation, reel low speed rotation, reel partial rotation, control without changing the reel for a predetermined period) After the control, the reels 2L, 2C, 2R are stopped at a specific position, and the reels 2L, 2C, 2R are stopped at a specific position. Effect, a plurality of reels 2L, 2C, 2R in which the reels 2L, 2C, 2R are stopped at a specific position after the reels are changed in a part or all of the changing manners of the reels constituting the second reel effect It may be an effect of sequentially stopping at a specific position.

また、本実施例では、第2リール演出は、所定期間にわたり微振動、逆回転、または低速で回転させた後、リール2L、2C、2Rを所定の定速回転で回転させる演出であるが、特定の位置にリールを停止させることのない演出、すなわち停止制御テーブルを設定することなくリールを所定変動態様で変動させる演出であれば良く、通常のゲームでは行われることのない特殊な変動態様(所定期間にわたりリールを変動させることなく制御した後に変動を開始する態様、通常とは異なる方向の変動態様、通常の速度とは異なる速度での変動態様等)として、例えば、リール微振動、リール逆回転、リール低速回転、リール一部回転等の態様の組合せで変動させる演出であっても良い。 In addition, in the present embodiment, the second reel effect is an effect in which the reels 2L, 2C, and 2R are rotated at a predetermined constant speed rotation after being subjected to slight vibration, reverse rotation, or low speed rotation for a predetermined period. Any effect that does not stop the reel at a specific position, that is, an effect that causes the reel to fluctuate in a predetermined fluctuation mode without setting a stop control table, is a special fluctuation mode that is not performed in a normal game ( As a mode of starting fluctuation after controlling the reel for a predetermined period without fluctuation, a mode of fluctuation in a direction different from normal, a mode of fluctuation at a speed different from the normal speed, etc. The effect may be changed in a combination of modes such as rotation, low-speed reel rotation, and partial reel rotation.

本実施例のメイン制御部41は、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー)が当選した場合に、回転中のリールの停止操作を有効化するまでの期間を所定時間にわたり遅延させて、所定の役(本実施例では、強チェリー)が当選した可能性が高い旨を示唆する停止フリーズを行うことが可能であり、停止フリーズとして、第1停止操作が行われたときに実行され、次の停止操作、すなわち第2停止操作を有効化するまでの期間を遅延させる第1停止フリーズと、第2停止操作が行われたときに実行され、次の停止操作、すなわち第3停止操作を有効化するまでの期間を遅延させる第2停止フリーズと、第1停止フリーズ及び第2停止フリーズの双方を実行する第3停止フリーズと、が含まれる。 In the internal lottery, the main control unit 41 of the present embodiment, when a predetermined lottery target winning combination (strong cherry, weak cherry in the present embodiment) is won, a period until the stop operation of the spinning reel is activated. It is possible to perform a stop freeze that suggests that it is highly possible that a predetermined hand (strong cherry in this embodiment) has been won, by delaying for a predetermined time, and as the stop freeze, the first stop operation is performed. A first stop freeze that delays the period until the next stop operation is activated, i.e. the second stop operation is activated, and a second stop operation is performed when the second stop operation is performed and the next stop The second stop freeze that delays the operation, that is, the period until the third stop operation is validated, and the third stop freeze that performs both the first stop freeze and the second stop freeze are included.

メイン制御部41は、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー)が当選した場合に、RAM41cの所定領域を参照して、上述のART開始演出抽選に基づくリール演出フラグが設定されているか否かを判定し、当該リール演出フラグが設定されていない場合に、停止フリーズを行うか否か及び停止フリーズを行う場合の停止フリーズの種類を決定するフリーズ抽選を行い、フリーズ抽選にていずれかの停止フリーズが当選した場合に、フリーズ抽選にて当選した停止フリーズの種類を特定可能な停止フリーズフラグをRAM41cの所定領域に設定する。その後のリール制御処理において停止フリーズフラグに基づいて、所定のタイミングで停止フリーズを実行させる。 When a predetermined lottery target combination (strong cherry, weak cherry in this embodiment) is won in the internal lottery, the main control unit 41 refers to a predetermined area of the RAM 41c and reels based on the ART start effect lottery described above. A freeze lottery is performed to determine whether the production flag is set, and if the reel production flag is not set, determine whether to perform stop freeze and the type of stop freeze when performing stop freeze. If any of the stop freezes is won in the freeze lottery, a stop freeze flag that can specify the type of stop freeze won in the freeze lottery is set in a predetermined area of the RAM 41c. In the subsequent reel control process, the stop freeze is executed at a predetermined timing based on the stop freeze flag.

一方、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー)が当選した場合に、リール演出フラグが設定されている場合には、フリーズ抽選を行わず、停止フリーズフラグをRAM41cの所定領域に設定しないことで、停止フリーズが実行されることを制限して、ART開始演出抽選により決定されたリール演出が優先して実行されるようになっている。 On the other hand, when the predetermined lottery target combination (strong cherry, weak cherry in this embodiment) is won in the internal lottery, and the reel effect flag is set, the freeze lottery is not performed and the stop freeze flag is set. By not setting the area in the predetermined area of the RAM 41c, execution of the stop freeze is restricted, and the reel effect determined by the ART start effect lottery is preferentially executed.

尚、本実施例では、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー)が当選したゲームにおいて、リール演出フラグが設定されていない場合には、フリーズ抽選を行う一方で、リール演出フラグが設定されている場合には、フリーズ抽選を行わない構成であるが、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー)が当選したゲームにおいて、リール演出フラグが設定されているか否かに関わらず、一律にフリーズ演出を実行する構成としても良く、このような構成においては、フリーズ抽選に当選し、かつリール演出フラグがRAM41cの所定領域に設定されていない場合には、フリーズ抽選での抽選結果に基づいて停止フリーズフラグを設定する一方で、フリーズ抽選に当選したものの、RAM41cの所定領域にリール演出フラグが設定されている場合には、停止フリーズフラグを設定しないようにすることで、フリーズ抽選に当選したゲームが、上述のART開始演出抽選により決定されたリール演出が実行されるゲームである場合には、フリーズ抽選に当選したことに伴う停止フリーズの実行が制限され、ART開始演出抽選により決定されたリール演出のみを実行させることができる。 In this embodiment, in the game in which a predetermined lottery target combination (strong cherry, weak cherry in this embodiment) is won in the internal lottery, if the reel effect flag is not set, the freeze lottery is performed. In the case where the reel effect flag is set, the freeze lottery is not performed, but in the game in which the predetermined lottery target winning combination (strong cherry, weak cherry in this embodiment) is won in the internal lottery, The freeze effect may be uniformly executed regardless of whether or not the reel effect flag is set. In such a configuration, the freeze lottery is won and the reel effect flag is set in a predetermined area of the RAM 41c. If not, the stop freeze flag is set on the basis of the lottery result in the freeze lottery, while if the reel lottery flag is set in the predetermined area of the RAM 41c although the freeze freeze lottery is won. By not setting the freeze flag, if the game won in the freeze lottery is a game in which the reel effect determined by the ART start effect lottery is executed, it follows that the freeze lottery is won. The execution of the stop freeze is limited, and only the reel effect determined by the ART start effect lottery can be executed.

また、フリーズ抽選では、当該フリーズ抽選の契機となった内部抽選において当選している役(本実施例では、強チェリー、弱チェリー)の種類に応じて予め定められた割合で、第1停止フリーズ、第2停止フリーズ、第3停止フリーズのいずれかが選択され得るようになっており、所定の役として、強チェリーが当選している場合には、第1停止フリーズ、第2停止フリーズまたは第3停止フリーズが選択され、第3停止フリーズが第2停止フリーズよりも高い割合で選択され得るとともに、第2停止フリーズが第1停止フリーズよりも高い割合で選択され得るようになっている。また、弱チェリーが当選している場合には、第1停止フリーズ、第2停止フリーズ、またはハズレが選択され得るようになっており、第1停止フリーズが第2停止フリーズよりも高い割合で選択され得るようになっている。これにより、停止フリーズが行われることで、所定の役(本実施例では、強チェリー)が当選した可能性が高い旨が示唆されるとともに、実行される停止フリーズの種類に応じて所定の役が当選している可能性の高さを示唆することができ(本実施例では、第1停止フリーズ、第2停止フリーズ、第3停止フリーズの順で強チェリーが当選した可能性がより高い)、より有利な条件でART抽選が行われることへの期待感を高めることができる。 Further, in the freeze lottery, the first stop freeze is performed at a predetermined ratio according to the type of the winning combination (in this embodiment, strong cherry or weak cherry) in the internal lottery that triggered the freeze lottery. The second stop freeze or the third stop freeze can be selected, and when the strong cherry is elected as the predetermined role, the first stop freeze, the second stop freeze, or the second stop freeze is selected. Three stop freezes are selected, the third stop freeze can be selected at a higher rate than the second stop freeze, and the second stop freeze can be selected at a higher rate than the first stop freeze. When the weak cherry is elected, the first stop freeze, the second stop freeze, or the loss can be selected, and the first stop freeze is selected at a higher rate than the second stop freeze. It can be done. This suggests that a predetermined combination (in this embodiment, strong cherry) is highly likely to be won by performing the stop freeze, and a predetermined combination depending on the type of the stop freeze to be executed. It is possible to suggest that there is a high probability of winning (in this example, it is more likely that the strong cherry was won in the order of the first stop freeze, the second stop freeze, and the third stop freeze). , It is possible to increase the expectation that the ART lottery will be conducted under more advantageous conditions.

本実施例では、後述するように内部抽選にて強チェリーが当選することで、角チェリー1の図柄の組合せが入賞ラインLNに停止し得る一方で、弱チェリーが当選することで、角チェリー2の図柄の組合せが入賞ラインLNに停止し得るが、左リールを第1停止とする停止順で停止操作が行われることで、角チェリー1及び角チェリー2のいずれの図柄の組合せが入賞ラインLNに停止する際にも、まず左リールの下段に「チェリー」が停止することとなり、その停止態様に基づいて内部抽選にて強チェリーまたは弱チェリーのいずれが当選しているかを遊技者が識別することができないようになっている。これに対して、本実施例のメイン制御部41は、フリーズ抽選に当選することで、強チェリーが当選しているか、弱チェリーが当選しているかによって異なる割合で、停止操作が行われたときに停止フリーズを実行するので、停止フリーズが実行される態様によって、強チェリーが当選している可能性への期待感を高めることができる。 In this embodiment, as described later, the strong cherry is won in the internal lottery, so that the combination of the symbols of the corner cherry 1 can be stopped on the pay line LN, while the weak cherry is won, the corner cherry 2 is won. Although the combination of symbols can be stopped on the pay line LN, the stop operation is performed in the stop order with the left reel as the first stop, so that any combination of symbols of the corner cherry 1 and the corner cherry 2 is the prize line LN. When the player stops, the "cherry" first stops in the lower row of the left reel, and the player identifies whether the strong cherry or the weak cherry is won in the internal lottery based on the stop mode. You can't do it. On the other hand, when the main control unit 41 of the present embodiment wins the freeze lottery, when the stop operation is performed at different ratios depending on whether the strong cherry is won or the weak cherry is won. Since the stop freeze is executed in the first place, it is possible to increase the expectation of the possibility that the strong cherry is won depending on the mode in which the stop freeze is executed.

次に、メイン制御部41が、初期設定処理また設定変更処理の後に、実行するメイン処理について説明する。尚、メイン処理は一単位の遊技毎に繰り返し実行される。そして、メイン処理の一周期が遊技の一単位に相当している。尚、本実施例においてメイン処理は、遊技プログラムに含まれる。 Next, the main process executed by the main control unit 41 after the initial setting process or the setting changing process will be described. The main process is repeatedly executed for each game of one unit. Then, one cycle of the main processing corresponds to one unit of the game. The main processing in this embodiment is included in the game program.

図15に示すように、メイン処理では、遊技が開始されるまで待機する遊技開始待ち処理(Sa1)、遊技が開始されることに伴って内部抽選を行う内部抽選処理(Sa2)、リール2L、2C、2Rを回転及び停止させる制御を行うリール制御処理(Sa3)、全てのリール2L、2C、2Rが停止されて遊技が終了される際に各種設定等を行う遊技終了時設定処理(Sa4)が、順次繰り返し実行される。 As shown in FIG. 15, in the main process, a game start waiting process (Sa1) that waits until the game starts, an internal lottery process (Sa2) that performs an internal lottery accompanying the start of the game, a reel 2L, Reel control processing (Sa3) for controlling 2C and 2R to rotate and stop, game end setting processing (Sa4) for performing various settings when all reels 2L, 2C and 2R are stopped and the game ends. Is sequentially and repeatedly executed.

遊技開始待ち処理では、メイン制御部41は、まず、割込を禁止して、初期化対象のRAMの最終アドレス(遊技スタック領域(未使用)の最終アドレス)をセットし、指定されたアドレスで示されるRAM41cの領域をクリアする。この際、設定変更処理の後にメイン処理が開始された場合には、設定変更処理が終了される際に、初期化対象のRAMの先頭アドレスとして、使用可能領域のうち特別ワークが記憶されている領域の最終アドレスの次のアドレスが設定され、当該遊技開始待ち処理において、初期化対象のRAMの最終アドレスとして、遊技スタック領域(未使用)の最終アドレスが設定されて、遊技RAM領域のうち特別ワーク及び遊技スタック領域(使用中)以外の領域(重要ワーク、一般ワーク、未使用領域3、スタック領域(未使用))が初期化されることとなる。また、特定の遊技状態ではない遊技の終了時には、遊技終了時設定処理(Sa4)において遊技終了時の初期化対象のRAMの先頭アドレス(未使用領域3の先頭アドレス)が設定され、当該遊技開始待ち処理(Sa1)において、初期化対象のRAMの最終アドレス(遊技スタック領域(未使用)の最終アドレス)が設定されるため、使用可能領域のうち未使用領域3及び遊技スタック領域(未使用)が初期化されることとなる。また、特定の遊技状態の終了時であり、かつ遊技の終了時には、遊技終了時設定処理(Sa4)において特定の遊技状態の終了時の初期化対象のRAMの先頭アドレス(遊技RAM領域のうち特別ワークが記憶されている領域の最終アドレスの次のアドレス)が設定され、当該遊技開始待ち処理において、特定の遊技状態の終了時の初期化対象のRAMの最終アドレス(遊技スタック領域(未使用)の最終アドレス)が設定されるため、遊技RAM領域のうち一般ワーク、未使用領域3、遊技スタック領域(未使用)が初期化されることとなる。 In the game start waiting process, the main control unit 41 first prohibits interrupts, sets the final address of the RAM to be initialized (the final address of the game stack area (unused)), and sets the specified address. The area of the RAM 41c shown is cleared. At this time, if the main process is started after the setting change process, when the setting change process is finished, the special work of the usable area is stored as the start address of the RAM to be initialized. The address next to the final address of the area is set, and in the game start waiting process, the final address of the game stack area (unused) is set as the final address of the RAM to be initialized, and the special address in the game RAM area is set. Areas other than the work and game stack area (in use) (important work, general work, unused area 3, stack area (unused)) are initialized. Further, at the end of the game that is not in a specific game state, the start address of the RAM to be initialized at the end of the game (the start address of the unused area 3) is set in the game end setting process (Sa4), and the game starts. In the waiting process (Sa1), since the final address of the RAM to be initialized (the final address of the game stack area (unused)) is set, the unused area 3 and the game stack area (unused) of the usable area are set. Will be initialized. Also, at the end of the specific game state, and at the end of the game, in the game end time setting process (Sa4), the start address of the RAM to be initialized at the end of the specific game state (special in the game RAM area The address next to the final address of the area where the work is stored is set, and in the game start waiting process, the final address of the RAM to be initialized at the end of the specific game state (game stack area (unused)) Since the final address) is set, the general work, the unused area 3, and the game stack area (unused) in the game RAM area are initialized.

そして、RAM41cの所定領域をクリアした後、割込を許可し、賭数を設定可能な状態で待機し、遊技状態に応じた規定数の賭数が設定され、スタートスイッチ7が操作された時点でゲームを開始させる処理を実行する。 Then, after clearing a predetermined area of the RAM 41c, the interruption is permitted, the bet number is set in a standby state, the prescribed number of bets is set according to the gaming state, and the start switch 7 is operated. The process to start the game is executed with.

次いで、内部抽選処理(Sa2)では、スタートスイッチ7の操作の検出によるゲーム開始と同時にラッチされた内部抽選用の乱数値に基づいて上記した各役への入賞を許容するか(すなわち、表示結果の導出を許容するか否か)どうかを決定する処理(内部抽選)を行う。 Next, in the internal lottery process (Sa2), whether to allow the winning of each of the above-mentioned winning combinations based on the random number value for the internal lottery latched at the same time as the game is started by the detection of the operation of the start switch 7 (that is, the display result) Processing (internal lottery) is performed.

次いで、リール制御処理(Sa3)では、スタートスイッチ7が操作されたことに基づいて各リール2L、2C、2Rの回転を開始させるリール回転開始処理、Sa2のステップにおける内部抽選の結果及び遊技者によるストップスイッチ8L、8C、8Rの操作が検出されたことに応じてリール2L、2C、2Rの回転を停止させるリール回転停止処理を実行する。 Next, in the reel control process (Sa3), the reel rotation start process for starting the rotation of each reel 2L, 2C, 2R based on the operation of the start switch 7, the result of the internal lottery in the step of Sa2 and the player Reel rotation stop processing for stopping the rotation of the reels 2L, 2C, 2R is executed in response to the operation of the stop switches 8L, 8C, 8R being detected.

次いで、遊技終了時設定処理(Sa4)では、Sa3のステップにおいて全てのリール2L、2C、2Rの回転が停止したと判定した時点で、各リール2L、2C、2Rに導出された表示結果に応じて入賞が発生したか否かを判定する処理を実行する。そして、入賞が発生したと判定した場合に、その入賞に応じた払出枚数に基づきクレジットの加算並びにメダルの払出等の処理を行う。入賞が発生した場合にはメダルの払い出し等が終了した後に次のゲームに備えて遊技状態を設定する処理を実行する。また、入賞が発生しなかった場合にはリールが停止した後に、次のゲームに備えて遊技状態を設定する処理を実行する。 Next, in the game end setting process (Sa4), depending on the display result derived to each reel 2L, 2C, 2R at the time when it is determined that the rotation of all reels 2L, 2C, 2R has stopped in the step of Sa3. Processing for determining whether or not a winning has occurred. Then, when it is determined that a prize has been generated, processing such as addition of credits and payout of medals is performed based on the number of payouts corresponding to the prize. When a winning occurs, after the payout of medals and the like are completed, a process of setting a game state is executed in preparation for the next game. In addition, when the winning does not occur, after the reel is stopped, the process of setting the game state is executed in preparation for the next game.

遊技状態を設定する処理では、特定の遊技状態の終了時か否かを判定し、特定の遊技状態の終了時でない場合には、遊技終了時の初期化対象RAMの先頭アドレスをセットする一方で、特定の遊技状態の終了時である場合には、特定の遊技状態の終了時の初期化対象RAMの先頭アドレスをセットする。そして、Sa1のステップに戻り、Sa1〜Sa4の各処理が、順次繰り返し実行される。 In the process of setting the game state, it is determined whether or not the end of the specific game state, and if it is not the end of the specific game state, the initial address of the initialization target RAM at the end of the game is set. If it is the end of the specific game state, the head address of the initialization target RAM at the end of the specific game state is set. Then, returning to the step of Sa1, the processes of Sa1 to Sa4 are sequentially and repeatedly executed.

また、メイン処理では、ゲームの進行に応じてコマンドを生成してコマンドキューに設定するコマンド格納処理を実行し、設定されたコマンドは、その後のタイマ割込処理(メイン)において実行される通常時コマンド送信処理によりサブ制御部91に対して送信されるようになっている。 In the main process, a command storing process that generates commands according to the progress of the game and sets them in the command queue is executed. It is adapted to be transmitted to the sub control unit 91 by the command transmission process.

次に、メイン制御部41がメイン処理において実行するリール制御処理について、図16〜図20に基づいて説明する。リール制御処理は、リール2L、2C、2Rを回転及び停止させる処理であり、各リール2L、2C、2Rの回転を開始させるリール回転開始処理と、ストップスイッチ8L、8C、8Rの操作に応答して該当するリール2L、2C、2Rを停止させるリール回転停止処理を含み、メイン処理において内部抽選処理の後に実行される。図16は、メイン制御部41が実行するリール制御処理の制御内容を示すフローチャートであり、図17は、メイン制御部41がリール制御処理において実行するリール回転開始処理の制御内容を示すフローチャートであり、図18は、メイン制御部41がリール制御処理において実行するリール回転停止処理の制御内容を示すフローチャートであり、図19は、図柄ステップ数の割当とリール回転停止処理にける判定範囲の関係について説明するための図であり、図20は、メイン制御部41がリール制御処理において実行する停止制御テーブル設定処理の制御内容を示すフローチャートである。 Next, the reel control process executed by the main control unit 41 in the main process will be described with reference to FIGS. 16 to 20. The reel control process is a process for rotating and stopping the reels 2L, 2C, 2R, and responds to a reel rotation start process for starting the rotation of each reel 2L, 2C, 2R and an operation of the stop switches 8L, 8C, 8R. The reel rotation stop processing for stopping the corresponding reels 2L, 2C, 2R is included, and is executed after the internal lottery processing in the main processing. FIG. 16 is a flowchart showing the control contents of the reel control process executed by the main control unit 41, and FIG. 17 is a flowchart showing the control contents of the reel rotation start process executed by the main control unit 41 in the reel control process. FIG. 18 is a flowchart showing the control content of the reel rotation stop processing executed by the main control unit 41 in the reel control processing, and FIG. 19 is a relationship between the allocation of the number of symbol steps and the determination range in the reel rotation stop processing. FIG. 20 is a diagram for explaining and FIG. 20 is a flowchart showing the control content of the stop control table setting process executed by the main control unit 41 in the reel control process.

図16に示すように、リール制御処理では、まず、後述するリール回転開始処理を実行し(Sb1)、リール2L、2C、2Rの回転を開始させる。そして、リール回転開始処理が終了して、リール制御処理に戻った後には、回転中のリールの停止操作を有効化するまでの期間を所定時間にわたり遅延させる停止フリーズを行うか否かを、停止フリーズフラグに基づいて判定する(Sb2)。停止フリーズを行うと判定した場合は、停止フリーズフラグに基づいて特定されるタイミング、すなわち、停止フリーズが第1停止フリーズであれば、第1停止操作が行われた後であり、第2停止フリーズであれば、第2停止操作が行われた後であり、第3停止フリーズであれば、第1停止操作が行われた後及び第2停止操作が行われた後で場合に、遅延処理を実行する(Sb3)。 As shown in FIG. 16, in the reel control process, first, a reel rotation start process described later is executed (Sb1) to start the rotation of the reels 2L, 2C, 2R. Then, after the reel rotation start process is completed and the process returns to the reel control process, whether or not to perform a stop freeze for delaying the period until the stop operation of the spinning reel is validated for a predetermined time is stopped. The determination is made based on the freeze flag (Sb2). When it is determined to perform the stop freeze, the timing specified based on the stop freeze flag, that is, if the stop freeze is the first stop freeze, it is after the first stop operation is performed, and the second stop freeze is performed. If it is, after the second stop operation is performed, and if it is the third stop freeze, delay processing is performed when the first stop operation is performed and after the second stop operation is performed. Execute (Sb3).

遅延処理では、RAM41cの所定領域に設定されており、後述のSb28のステップにおいて、計時が開始される有効タイマの値に基づいて有効な停止操作が検出されたときからの経過時間が所定の遅延時間に達しているか否かを判定し、有効タイマの値が所定の遅延時間に達していない場合には、有効タイマの値が所定の遅延時間に達するまで待機する。そして、有効タイマの値が所定の遅延時間に達することで、当該遅延処理を終了して、リール制御処理に戻る。有効な停止操作が検出したときに計時が開始される有効タイマの値に基づいて所定の遅延時間が経過したと判定されるときに、当該遅延処理を終了するようにすることで、有効な停止操作が検出された後のリール回転停止処理が実行される期間が、該当リールが停止される際の滑りコマ数(0〜4)に応じて変動する場合であっても、その変動に応じて当該遅延処理の実行期間が変動することとなるので、有効な停止操作が検出された後の一律のタイミングで、当該遅延処理より後の処理を実行可能となっている。これにより、サブ制御部91側では、停止フリーズ中に所定の演出を行う場合に、メイン制御部41側で実行されている停止フリーズの終了タイミングに合わせた演出を行うことが可能となる。 In the delay process, the RAM 41c is set in a predetermined area, and the elapsed time from when a valid stop operation is detected based on the value of the valid timer at which time counting is started is delayed by a predetermined delay in step Sb28 described later. It is determined whether or not the time has been reached, and if the value of the valid timer has not reached the predetermined delay time, the process waits until the value of the valid timer reaches the predetermined delay time. Then, when the value of the valid timer reaches a predetermined delay time, the delay process is ended and the process returns to the reel control process. When it is determined that a predetermined delay time has elapsed based on the value of the valid timer that starts timing when a valid stop operation is detected, the delay process is terminated to enable the valid stop operation. Even if the period in which the reel rotation stop processing is executed after the operation is detected varies depending on the number of sliding frames (0 to 4) when the corresponding reel is stopped, the period varies depending on the variation. Since the execution period of the delay process varies, the process after the delay process can be executed at a uniform timing after the effective stop operation is detected. As a result, on the side of the sub-control unit 91, when performing a predetermined effect during the stop freeze, it is possible to perform an effect that matches the end timing of the stop freeze being executed on the side of the main controller 41.

尚、本実施例の遅延処理では、Sb29のステップにて計時が開始される有効化タイマに基づいて所定の遅延時間が経過しているか否かを判定する構成であるが、有効な停止操作が検出されたときからの経過時間に基づいて、所定の遅延時間に達しているか否かを判定可能な構成であれば良く、有効化タイマ以外の計時手段により有効な停止操作が検出されたときからの時間を計時する構成であっても良い。 In the delay process of the present embodiment, it is determined whether or not a predetermined delay time has elapsed based on the activation timer that starts time measurement in step Sb29. It suffices if the configuration is such that it can determine whether or not the predetermined delay time has been reached based on the elapsed time from the time when it is detected. The time may be measured.

Sb3のステップにおいて遅延処理を実行した後、またはSb2のステップにおいて停止フリーズを行わないと判定した後は、タイマ割込待ち処理を実行する(Sb4)。タイマ割込待ち処理では、タイマ割込を許可に設定して、タイマ割込処理(メイン)が1回行われるまで待機する。 After the delay processing is executed in the step Sb3 or after it is determined that the stop freeze is not executed in the step Sb2, the timer interrupt waiting processing is executed (Sb4). In the timer interrupt waiting process, the timer interrupt is set to enable and the process waits until the timer interrupt process (main) is performed once.

Sb4のステップのタイマ割込待ち処理が終了した後は、投入払出エラーチェック処理を実行する(Sb5)。投入払出エラーチェック処理では、投入メダルセンサ31の出力等に基づいてメダルセレクタの異常(以下、投入エラーという)、及び払出センサ34cの出力等に基づいてホッパーユニット34の異常(以下、払出エラーという)を検出する。そして、投入払出エラーチェック処理において投入エラー、払出エラーの少なくとも一方が検出された場合には(Sb6)、投入エラー、払出エラーが生じていることを特定可能な投入払出エラーフラグを設定する(Sb7)。 After the timer interrupt waiting process in the step Sb4 is completed, the insertion/withdrawal error check process is executed (Sb5). In the insertion/payout error check process, an abnormality of the medal selector (hereinafter referred to as an insertion error) based on the output of the insertion medal sensor 31 and an abnormality of the hopper unit 34 based on the output of the payment sensor 34c (hereinafter referred to as a payout error). ) Is detected. Then, when at least one of the input error and the output error is detected in the input/output error check process (Sb6), the input/output error flag that can specify that the input error or the output error has occurred is set (Sb7). ).

Sb7のステップにおいて、投入払出エラーフラグを設定した後、またはSb6のステップにおいて投入エラー、払出エラーのいずれも生じていないと判定した後は、ドア開放チェック処理を実行して(Sb8)、ドア開放検出スイッチ25の出力状態に変化が生じたか否かを判定する。そして、ドア開放検出スイッチ25の出力状態が変化していると判定した場合には(Sb9)、ドアコマンドをRAM41cのコマンドキューに設定する(Sb10)。尚、Sb10のステップにおいて設定されたドアコマンドは、次回のタイマ割込処理(メイン)にて実行される通常時コマンド送信処理により、サブ制御部91に対して送信されることとなる。 After the insertion/withdrawal error flag is set in step Sb7, or after it is determined in step Sb6 that neither the insertion error nor the withdrawal error has occurred, door opening check processing is executed (Sb8) to open the door. It is determined whether the output state of the detection switch 25 has changed. When it is determined that the output state of the door open detection switch 25 is changing (Sb9), the door command is set in the command queue of the RAM 41c (Sb10). The door command set in step Sb10 is transmitted to the sub control unit 91 by the normal command transmission process executed in the next timer interrupt process (main).

Sb10のステップにおいて、ドアコマンドを設定した後、またはSb9のステップにおいてドア開放検出スイッチ25の出力状態が変化していないと判定した後には、回転エラーチェック処理を実行する(Sb11)。回転エラーチェック処理では、後述するタイマ割込処理(メイン)において更新されるリールステップ数カウンタの値や当該処理において回転異常フラグが設定されているか否か等に基づいて、回転制御中のリールについて回転に関する異常が生じているか否かを判定する処理であり、停止操作が済んでいない回転制御中のリールのうち、リール基準位置が検出されることなく回転開始または前回リール基準位置が検出されてからのリールステップ数が所定ステップ数(本実施例では、400ステップであり、リールが1周するために要する336ステップよりも大きな値に設定されている。)を超えたリールがある場合、リールセンサ33L、33C、33Rによりリール基準位置が検出されたときに、リールステップ数カウンタの値がリールが1周するために要するステップ数(本実施例では、336ステップ)に達していない場合等に、リール回転の異常(以下、回転エラーという)が発生していると判定して、異常が生じていると判定した場合には、当該異常が生じているリールを特定可能な回転エラーフラグをRAM41cの所定領域に設定する。 After setting the door command in step Sb10 or after determining in step Sb9 that the output state of the door open detection switch 25 has not changed, the rotation error check process is executed (Sb11). In the rotation error check process, the reels under rotation control are determined based on the value of the reel step counter updated in the timer interrupt process (main) to be described later and whether or not the rotation abnormality flag is set in the process. This is a process for determining whether or not an abnormality related to rotation has occurred. Among the reels in the rotation control for which the stop operation has not been completed, the reel reference position is not detected and the reel reference position is detected last time without being detected. If there is a reel in which the number of reel steps from the predetermined number exceeds 400 (in the present embodiment, 400 steps, which is set to a value larger than 336 steps required for the reel to make one round), When the reel reference position is detected by the sensors 33L, 33C, 33R and the value of the reel step number counter does not reach the number of steps required for the reel to make one round (336 steps in this embodiment), etc. If it is determined that a reel rotation abnormality (hereinafter referred to as a rotation error) has occurred, and if it is determined that an abnormality has occurred, a rotation error flag that can identify the reel having the abnormality is set in the RAM 41c. Is set in a predetermined area.

そして、Sb11のステップにおける回転エラーチェック処理が終了した後、回転エラーフラグに基づいて回転制御中のいずれかのリールに回転エラーが生じていることが特定される場合には(Sb12)、回転制御中のリールの停止操作を無効に設定し(Sb13)、RAM41cの所定領域に設定されている回転異常フラグを消去し(Sb14)、RAM41cの所定領域に設定されているエラーカウンタに1加算して(Sb15)、当該エラーカウンタの値が所定値(本実施例では、3)未満であるか否かを判定する(Sb16)。そして、エラーカウンタの値が所定値未満でないと判定した場合、すなわちリールが正常に回転されずに、所定回数(本実施例では、3回)連続して回転エラーが検出されている場合には、エラー処理を実行する(Sb17)。エラー処理では、回転制御中の全てのリールの回転を停止させて、当該エラー処理により回転を停止させたリールを特定可能なように、RAM41cの所定領域に設定されている回転エラーフラグを更新するとともに、ゲームを進行させないように不能化するエラー状態に制御して待機する。その後、リセット操作により当該エラー状態が解除されることで、エラー処理を終了し、エラーカウンタを初期化して0に設定する(Sb18)。 Then, after the rotation error check process in step Sb11 is completed, if it is determined that a rotation error has occurred in any reel under rotation control based on the rotation error flag (Sb12), the rotation control is performed. The stop operation of the reel inside is invalidated (Sb13), the rotation abnormality flag set in the predetermined area of the RAM 41c is erased (Sb14), and 1 is added to the error counter set in the predetermined area of the RAM 41c. (Sb15), it is determined whether or not the value of the error counter is less than a predetermined value (3 in this embodiment) (Sb16). When it is determined that the value of the error counter is not less than the predetermined value, that is, when the reel is not normally rotated and the rotation error is detected a predetermined number of times (three times in the present embodiment) continuously, , Error processing is executed (Sb17). In the error processing, rotation of all reels under rotation control is stopped, and the rotation error flag set in a predetermined area of the RAM 41c is updated so that the reel whose rotation is stopped by the error processing can be specified. At the same time, the game is controlled in an error state that disables the game so that it does not progress, and the game stands by. After that, when the error state is released by the reset operation, the error processing is ended, the error counter is initialized and set to 0 (Sb18).

Sb16のステップにおいて、エラーカウンタの値が所定値未満であると判定した後、またはSb18のステップにおいてエラーカウンタを初期化した後には、回転エラーフラグに基づいて回転エラーが生じているリールを特定するとともに回転エラーフラグを解除し、特定されたリールの励磁パターンを一旦クリアしてリール始動時のパターンを新たに設定してリールモータを励磁させることで、回転制御を再度初めから行って、定速回転まで再度加速させる再度加速処理を実行する(Sb19)。その後、該当するリールを再度加速させたことを特定可能なリール再加速コマンドをRAM41cの所定領域に設定して(Sb20)、Sb4のステップに戻る。その後、再始動されたリールが正常に回転された場合には、回転エラーチェック処理において回転エラーが検出されることがなく、Sb12のステップにおいて、回転エラーが生じていないと判定されることとなる。 After it is determined in step Sb16 that the value of the error counter is less than the predetermined value, or after the error counter is initialized in step Sb18, the reel in which the rotation error has occurred is identified based on the rotation error flag. At the same time, the rotation error flag is cleared, the specified excitation pattern of the reel is cleared once, and the reel start pattern is newly set to excite the reel motor. The acceleration process for accelerating the rotation again is executed again (Sb19). After that, a reel reacceleration command that can specify that the corresponding reel has been accelerated again is set in a predetermined area of the RAM 41c (Sb20), and the process returns to the step Sb4. After that, when the restarted reel is normally rotated, no rotation error is detected in the rotation error check process, and it is determined in step Sb12 that no rotation error has occurred. ..

また、Sb11のステップにおける回転エラーチェック処理において、回転エラーフラグが設定されることがなく、回転制御中の全てのリールについて回転エラーが生じていることが特定されない場合には(Sb12)、タイマ割込を禁止に設定し(Sb21)、その後、後述するタイマ割込処理(メイン)により更新されてRAM41cの所定領域に設定されているリール速度状態フラグを取得して(Sb22)、当該リール速度状態フラグに基づいて、回転制御中のリールの回転状態が定速状態であるか否かをリール毎に特定し、回転制御中の全てのリールが定速回転で回転されているか否かを判定する(Sb23)。そして、Sb23のステップにおいて、少なくともいずれか1つのリールが定速回転で回転しておらず、回転制御中の全てのリールが定速回転で回転されている状況でないと判定した場合には、Sb4のステップに戻り、Sb4〜Sd23のステップを繰り返し実行して、回転制御中の全てのリールが定速回転で回転されている状況となるまで待機する。尚、リール速度状態フラグは、後述するタイマ割込処理(メイン)において更新され、タイマ割込処理(メイン)が行われた時点での、回転制御中の各リールモータが定速状態で回転しているか否かを特定可能な情報である。 Further, in the rotation error check process in the step Sb11, if the rotation error flag is not set and it is not specified that the rotation error has occurred for all reels under the rotation control (Sb12), the timer allocation is executed. The reel speed state flag is updated (Sb21), and then the reel speed state flag updated in the timer interrupt process (main) and set in the predetermined area of the RAM 41c is acquired (Sb22). Based on the flag, it is specified for each reel whether or not the rotation state of the reels under rotation control is a constant speed state, and it is determined whether or not all reels under rotation control are rotated at a constant speed rotation. (Sb23). Then, if it is determined in step Sb23 that at least one of the reels is not rotating at constant speed rotation and all reels under rotation control are not rotating at constant speed rotation, Sb4 Returning to the step, the steps Sb4 to Sd23 are repeatedly executed, and the process waits until all reels under rotation control are rotated at a constant speed. The reel speed state flag is updated in a timer interrupt process (main) described later, and each reel motor under rotation control rotates at a constant speed state at the time when the timer interrupt process (main) is performed. It is information that can specify whether or not

Sb4のステップに戻り、Sb4〜Sd23のステップを繰り返し実行して待機した後、Sb4のステップのタイマ割込待ち処理において実行されるタイマ割込処理(メイン)により、回転制御中の全てのリールについて回転状態が定速状態であることを特定可能にリール速度状態フラグが更新されることで、その後に実行されるSb23のステップにおいて、回転制御中の全てのリールが定速回転で回転されていると判定されることとなる。 After returning to the step of Sb4 and repeatedly executing the steps of Sb4 to Sd23 and waiting, all the reels under rotation control are processed by the timer interrupt process (main) executed in the timer interrupt waiting process of the step of Sb4. By updating the reel speed state flag so that it can be specified that the rotation state is the constant speed state, in the step of Sb23 executed thereafter, all reels under rotation control are rotated at the constant speed rotation. Will be determined.

一方、Sb23のステップにおいて、停止操作が済んでいない回転制御中の全てのリールが定速回転で回転されていると判定した場合には、回転開始フラグがRAM41cの所定領域に設定されているか否かに基づいて、全てのリールが定速回転となったと判定されたことが1回目であるか否かを判定して(Sb24)、回転開始フラグが設定されており、全てのリールが定速回転となったと判定されたことが1回目であると判定した場合には、全てのリールについて定速回転に加速させる制御が完了したことを特定可能な加速完了コマンドをRAM41cのコマンドキューに設定し(Sb25)、回転開始フラグをRAM41cの所定領域から消去する(Sb26)。 On the other hand, in the step Sb23, when it is determined that all the reels under the rotation control for which the stop operation has not been completed are rotated at the constant speed rotation, whether or not the rotation start flag is set in the predetermined area of the RAM 41c. Based on whether or not it is the first time that all the reels have been rotated at the constant speed, it is determined whether or not it is the first time (Sb24), the rotation start flag is set, and all the reels are rotated at the constant speed. When it is determined that it is the first time that the rotation has been performed, the acceleration completion command that can specify that the control for accelerating to the constant speed rotation is completed for all reels is set in the command queue of the RAM 41c. (Sb25), the rotation start flag is erased from the predetermined area of the RAM 41c (Sb26).

Sb24のステップにおいて、全てのリールが定速回転となったと判定されたことが1回目でないと判定した場合、すなわち回転制御中のリールが定速回転に一旦達したものの、Sb12のステップにおいて回転エラーが検出されて、Sb19のステップにより再度加速させられたことで、再度定速回転に達した場合、またはSb26のステップにおいて回転開始フラグを消去した場合には、RAM41cに設定されている有効タイマに基づいて所定時間が経過していると判定したときに(Sb27)、回転制御を行っている全てのリールについて停止操作の受け付けを有効に設定する(Sb28)。尚、当該回転制御を行っているリールについて停止操作の受付が既に有効に設定されている場合には、有効な状態を維持する。また、Sb27のステップにおいて有効タイマに基づいて所定時間が経過していないと判定した場合には、Sb4〜Sb27のステップを繰り返し実行して、所定時間が経過するまで待機する。 When it is determined that it is not the first time that all the reels are rotated at the constant speed in the step of Sb24, that is, the reel whose rotation is being controlled once reaches the constant speed rotation, but the rotation error is generated in the step of Sb12. Is detected and is accelerated again in step Sb19, and thus the constant speed rotation is reached again, or when the rotation start flag is erased in step Sb26, the valid timer set in the RAM 41c is set. When it is determined that the predetermined time has elapsed (Sb27), the acceptance of the stop operation is set to be valid for all reels for which rotation control is performed (Sb28). If the acceptance of the stop operation has already been set to be valid for the reel that is performing the rotation control, the valid state is maintained. If it is determined in step Sb27 that the predetermined time has not elapsed based on the valid timer, steps Sb4 to Sb27 are repeatedly executed, and the process waits until the predetermined time elapses.

そして、Sb28のステップにおいて停止操作の受付を有効に設定した後は、回転制御中のリールについて停止操作の受付が有効な状態で、有効な停止操作が検出されたか否かを判定する(Sb29)。すなわち連続する所定回数(本実施例では、2回)のタイマ割込処理(メイン)においてストップスイッチのポート入力データが同じ状態である場合にRAM41cの所定領域に設定され、今回と前回の入力データが同じ状態であることを示す確定データの履歴を参照して、回転制御中のストップスイッチのうち確定データがoffの状態からon状態に変化したものがある場合に、確定データがoffの状態からon状態に変化したストップスイッチについて、有効な停止操作が検出されたと判定する。これにより、ストップスイッチのon状態が一定期間(最低でも約2.24ms)以上継続して検知されたことを条件に、当該ストップスイッチについて有効な操作が検出されるようになっており、静電気などのノイズによってon状態が誤って検出されてしまうことを防止できる。 Then, after the acceptance of the stop operation is set to be valid in the step Sb28, it is determined whether or not the valid stop operation is detected while the acceptance of the stop operation is valid for the reel whose rotation is being controlled (Sb29). .. That is, when the port input data of the stop switch is in the same state in the timer interrupt processing (main) of a predetermined number of times consecutively (two times in this embodiment), it is set in the predetermined area of the RAM 41c, and the input data of this time and the previous time are set. Refer to the history of the confirmed data that indicates the same state, and if there is one of the stop switches during rotation control that has changed the confirmed data from the off state to the on state, the confirmed data is turned off. For the stop switch that has changed to the on state, it is determined that a valid stop operation has been detected. As a result, effective operation of the stop switch is detected, provided that the on state of the stop switch is continuously detected for a certain period (at least about 2.24 ms) for a certain period of time. It is possible to prevent the on state from being erroneously detected by the noise of.

尚、本実施例では、回転制御中のリールについて停止操作の受付が有効な状態で、ストップスイッチの確定データがoff状態からon状態に変化したことが検出されること、すなわち連続する所定回数のタイマ割込処理(メイン)においてポート入力データのon状態が検出されることで、回転制御中のリールについて有効な停止操作が検出されたと判定する構成であるが、1回のタイマ割込処理(メイン)においてストップスイッチのポート入力データのon状態が検出されることで、有効な停止操作が検出されたと判定する構成であっても良い。 In the present embodiment, it is detected that the finalized data of the stop switch is changed from the off state to the on state while the stop operation is valid for the reel whose rotation is being controlled, that is, the continuous predetermined number of times. In the timer interrupt process (main), when the on state of the port input data is detected, it is determined that a valid stop operation has been detected for the reel whose rotation is being controlled. A configuration may be adopted in which a valid stop operation is detected by detecting the on state of the port input data of the stop switch in (main).

Sb29のステップにおいて、有効な停止操作が検出されていないと判定した場合には、Sb4のステップに戻り、Sb4〜Sb29のステップを繰り返し実行して、有効な停止操作が検出されるまで待機する。その後、Sb29のステップにおいて有効な停止操作が検出された場合には、Sb21のステップによりタイマ割込が禁止された状態で、停止操作関連処理1を実行した後(Sb30)、タイマ割込を許可に設定し(Sb31)、停止操作関連処理2を実行する(Sb32)。停止操作関連処理1では、停止操作が行われたストップスイッチに対応する停止有効LEDを消灯に設定する処理、RAM41cの所定領域に設定されている有効タイマを初期化して、Sb28のステップにおいて有効な停止操作が検出されてからの経過時間の計測を開始させる処理等を行う。また、停止操作関連処理2では、Sb29のステップにおいて検出された有効な停止操作に対応するリールの停止操作の受付を無効に設定する処理等を行う。尚、Sb31のステップにおいてタイマ割込が許可に設定されることで、Sb21〜Sb30のステップにわたってタイマ割込が禁止に設定されている状態の期間内に、本来のタイマ割込のタイミングが含まれていた場合には、Sb31のステップにおいてタイマ割込が許可に設定されたときに、当該タイマ割込処理(メイン)を実行する一方、当該期間内に本来のタイマ割込のタイミングが含まれていない場合には、その後、タイマ割込のタイミングにおいてタイマ割込処理(メイン)を実行することとなる。 When it is determined in step Sb29 that a valid stop operation is not detected, the process returns to step Sb4, the steps Sb4 to Sb29 are repeatedly executed, and the process waits until a valid stop operation is detected. After that, when a valid stop operation is detected in step Sb29, the timer interrupt is prohibited in step Sb21, and after the stop operation related process 1 is executed (Sb30), the timer interrupt is permitted. (Sb31), and the stop operation related process 2 is executed (Sb32). In the stop operation-related process 1, the process of setting the stop enable LED corresponding to the stop switch on which the stop operation is performed to be turned off, the enable timer set in a predetermined area of the RAM 41c is initialized, and the process is enabled in step Sb28. The process of starting the measurement of the elapsed time after the stop operation is detected is performed. Further, in the stop operation-related process 2, a process of invalidating the acceptance of the reel stop operation corresponding to the valid stop operation detected in step Sb29 is performed. By setting the timer interrupt to be enabled in the step Sb31, the original timing of the timer interrupt is included in the period in which the timer interrupt is set to be disabled in the steps Sb21 to Sb30. If the timer interrupt is set to enable in step Sb31, the timer interrupt process (main) is executed while the original timer interrupt timing is included in the period. If not, then the timer interrupt process (main) is executed at the timer interrupt timing.

そして、Sb32のステップにおいて停止操作関連処理2を終了した後は、後述するリール回転停止処理を実行し(Sb33)、Sb29のステップにおいて検出された有効な停止操作に対応するリールを停止させるための制御を行う。その後、後述する停止制御テーブル設定処理を実行して(Sb34)、残りの回転制御中のリールについて停止制御テーブルを設定する。停止制御テーブル設定処理を実行した後には、Sb29のステップにおいて停止操作が検出されたリールが停止したか否かを判定し(Sb35)、当該リールが停止していないと判定した場合には、当該リールが停止するまで待機し、当該リールが停止していると判定した場合に、全てのリール2L、2C、2Rについて有効な停止操作が行われて停止したか否かを判定し(Sb36)、全てのリール2L、2C、2Rが停止していない場合には、Sb2のステップに戻り、停止していない残りのリールについてSb2〜Sb36のステップの制御を実行する。 Then, after the stop operation related process 2 is completed in the step Sb32, a reel rotation stop process described later is executed (Sb33) to stop the reel corresponding to the effective stop operation detected in the step Sb29. Take control. After that, a stop control table setting process, which will be described later, is executed (Sb34), and the stop control table is set for the remaining reels that are being controlled for rotation. After the stop control table setting process is executed, it is determined whether or not the reel in which the stop operation is detected is stopped in step Sb29 (Sb35), and when it is determined that the reel is not stopped, It waits until the reels stop, and when it is determined that the reels are stopped, it is determined whether or not all reels 2L, 2C, 2R have been stopped by a valid stop operation (Sb36), If all reels 2L, 2C, and 2R are not stopped, the process returns to step Sb2, and the control of steps Sb2 to Sb36 is executed for the remaining reels that are not stopped.

そして、全てのリール2L、2C、2Rについて有効な停止操作が行われ、Sb35のステップにおいて全てのリール2L、2C、2Rが停止したと判定した場合には、タイマ割込待ち処理を実行した後(Sb37)、投入払出エラーチェック処理を実行する(Sb38)。当該投入払出エラーチェック処理では、Sb5のステップと同様に、投入エラー、払出エラーを検出する。そして、Sb38のステップでの投入払出エラーチェック処理において投入エラー、払出エラーの少なくとも一方が検出された場合、またはSb7のステップにおいて投入払出エラーフラグが設定されている場合には、投入払出エラーが生じていると判定して(Sb39)、エラー処理を実行する(Sb40)。エラー処理では、ゲームを進行させないように不能化するエラー状態に制御して待機する。その後、リセット操作により当該エラー状態が解除されることで、エラー処理を終了させる。 Then, when a valid stop operation is performed for all reels 2L, 2C, 2R and it is determined in step Sb35 that all reels 2L, 2C, 2R have stopped, after executing the timer interrupt waiting process. (Sb37), the insertion/withdrawal error check processing is executed (Sb38). In the insertion/withdrawal error check process, the insertion error and the withdrawal error are detected as in the step Sb5. Then, if at least one of a deposit error and a dispense error is detected in the deposit/withdrawal error check processing in the step Sb38, or if the deposit/withdrawal error flag is set in the step Sb7, a deposit/withdrawal error occurs. It is determined that the error has occurred (Sb39), and error processing is executed (Sb40). In the error processing, the game is controlled in an error state in which it is disabled so that the game does not progress, and the game waits. After that, the error processing is terminated by canceling the error state by the reset operation.

尚、本実施例では、Sb7のステップにおいて投入払出エラーフラグが設定され、Sb39のステップにおいて投入払出エラーが生じていると判定した場合に、Sb40のステップにおいてエラー処理を実行する構成、すなわちリール2L、2C、2Rの回転制御中に投入払出エラーが検出された場合には、全てのリール2L、2C、2Rが停止された後に、当該投入払出エラーが検出されたことに基づくエラー処理を実行する構成であるが、メイン制御部41は、投入払出エラーチェック処理により投入払出エラーが検出されたときにエラー処理を実行する構成であっても良い。また、投入払出エラー以外のエラーについて、エラーが検出されたときにエラー処理を行う構成であっても良いし、リールの回転制御が終了した後に、エラー処理を行う構成であっても良い。 In the present embodiment, when the insertion/withdrawal error flag is set in step Sb7 and it is determined in step Sb39 that an insertion/withdrawal error has occurred, error processing is executed in step Sb40, that is, reel 2L. If a charging/dispensing error is detected during the rotation control of 2C, 2R, after all reels 2L, 2C, 2R are stopped, an error process based on the detection of the charging/dispensing error is executed. In the configuration, the main control unit 41 may be configured to execute an error process when a deposit/withdrawal error is detected by the deposit/withdrawal error check process. Further, regarding an error other than the insertion/withdrawal error, the error process may be performed when the error is detected, or the error process may be performed after the reel rotation control is completed.

Sb39のステップにおいて投入払出エラーが生じていないと判定した後、またはSb40のステップのエラー処理が終了した後は、第3停止のストップスイッチが操作中であるか否、すなわち第3停止のストップスイッチの押下が終了されて、当該ストップスイッチの確定データがoff状態となっているか否かを判定し(Sb41)、当該ストップスイッチが操作中である場合には、当該操作が終了されるまで待機する。そして、当該ストップスイッチの確定データがoff状態となっており、当該ストップスイッチが操作中でないと判定した後に、全てのリール2L、2C、2Rの停止が完了して、遊技が終了する旨を特定可能な遊技終了コマンドをコマンドキューに設定する(Sb42)。尚、Sb42のステップにおいて設定された遊技終了コマンドは、次回のタイマ割込処理(メイン)にて実行される通常時コマンド送信処理により、サブ制御部91に対して送信されることとなる。また、本実施例では、第3停止のストップスイッチの確定データがoff状態となっていること、すなわち連続する所定回数のタイマ割込処理(メイン)においてポート入力データのoff状態が検出されることで、第3停止のストップスイッチが操作中でないと判定する構成であるが、1回のタイマ割込処理(メイン)においてストップスイッチのポート入力データのoff状態が検出されることで、当該ストップスイッチの操作が終了されたと判定する構成であっても良い。 After it is determined in step Sb39 that the insertion/withdrawal error has not occurred, or after the error processing in step Sb40 is completed, it is determined whether the stop switch for the third stop is in operation, that is, the stop switch for the third stop. It is determined whether or not the confirmation data of the stop switch is in the off state after the pressing of is stopped (Sb41), and if the stop switch is in operation, wait until the operation is completed. .. Then, after the final data of the stop switch is in the off state and it is determined that the stop switch is not being operated, the stop of all reels 2L, 2C, 2R is completed, and it is specified that the game ends. Possible game end commands are set in the command queue (Sb42). The game end command set in step Sb42 is transmitted to the sub control unit 91 by the normal command transmission process executed in the next timer interrupt process (main). Further, in the present embodiment, the confirmed data of the stop switch for the third stop is in the off state, that is, the off state of the port input data is detected in the continuous predetermined number of times of the timer interrupt processing (main). In the configuration, it is determined that the stop switch for the third stop is not in operation. However, when the off state of the port input data of the stop switch is detected in one timer interrupt process (main), the stop switch is stopped. The configuration may be such that it is determined that the above operation has been completed.

Sb42のステップにおいて遊技終了コマンドを設定した後には、このリール制御処理を実行しているゲームにおいて特別役が入賞したか否かを判定し(Sb43)、特別役が入賞したと判定した場合は、操作終了時遅延処理を実行して(Sb44)、当該操作終了時遅延処理を開始したときから所定時間が経過するまで待機する。そして、当該所定時間が経過することで当該操作終了時遅延処理を終了し、リール制御処理に戻る。操作終了時遅延処理を実行することで、操作終了時遅延処理後の処理が、所定時間にわたり遅延するようになっている。 After setting the game end command in the step Sb42, it is determined whether or not the special role is won in the game in which the reel control process is executed (Sb43), and when it is determined that the special role is won, The operation end delay process is executed (Sb44), and the process waits until a predetermined time elapses from the start of the operation end delay process. Then, when the predetermined time elapses, the operation end delay process ends, and the process returns to the reel control process. By executing the operation end delay process, the process after the operation end delay process is delayed for a predetermined time.

そして、Sb44のステップにおける操作終了時遅延処理が終了した後、またはSb43のステップにおいて特別役が入賞していないと判定した後には、リール制御処理を終了させ、メイン処理に戻る。 Then, after the operation end delay process in step Sb44 is completed, or after it is determined in step Sb43 that no special winning combination has been won, the reel control process is ended and the process returns to the main process.

次に、メイン制御部41がリール制御処理において実行するリール回転開始処理について説明する。 Next, the reel rotation start processing executed by the main controller 41 in the reel control processing will be described.

図17に示すように、リール回転開始処理では、RAM41cの所定領域を参照して、上述のリール演出フラグが設定されているか否かを判定する(Sc1)。Sc1のステップにおいて、リール演出フラグが設定されていないと判定した場合には、RAM41cの所定領域に設定されているウェイトタイムカウンタを参照して、前回のゲームでのリール回転開始時点からウェイトタイム(本実施例では、約4.1秒)が経過したか否かを判定する(Sc2)。そして、所定のウェイトタイムが経過していないと判定した場合には、当該ウェイトタイムが経過するまで待機し、当該ウェイトタイムが経過したときに、ウェイトタイムカウンタを初期化して(Sc3)、新たなウェイトタイムの計時を開始させる。尚、ウェイトタイムカウンタは、タイマ割込処理(メイン)が行われる毎に更新されることで、前回のゲームでのリール回転開始時点からの経過時間が計時されるようになっている。 As shown in FIG. 17, in the reel rotation start processing, it is determined whether or not the above-described reel effect flag is set by referring to a predetermined area of the RAM 41c (Sc1). If it is determined in step Sc1 that the reel effect flag is not set, the wait time counter set in the predetermined area of the RAM 41c is referred to, and the wait time from the reel rotation start point in the previous game ( In this embodiment, it is determined whether about 4.1 seconds) has elapsed (Sc2). Then, if it is determined that the predetermined wait time has not elapsed, it waits until the wait time elapses, and when the wait time elapses, the wait time counter is initialized (Sc3), and a new wait time is set. Start timing of wait time. The wait time counter is updated each time the timer interrupt process (main) is performed, so that the elapsed time from the start of reel rotation in the previous game is measured.

Sc3のステップにおいてウェイトタイムカウンタを初期化した後には、全てのリールモータ32L、32C、32Rを始動させて所定の定速回転まで加速させるためのリールモータの励磁パターンを設定させる加速要求をRAM41cの所定領域に設定する(Sc4)。当該リール制御回転開始処理を含むリール制御処理において加速要求や、後述するリールの励磁パターンを設定するための各種要求を設定することで、その後のタイマ割込処理(メイン)において当該各種要求に応じた励磁パターンで各リールモータ32L、32C、32Rの各励磁相の励磁状態が順次更新されて、当該各種要求に応じた態様で回転等が行われることとなり、例えば、加速要求が設定された場合には、リールが停止している状態から定速回転まで加速され、その後は、定速状態で回転され、リール演出後加速要求が設定された場合には、リール演出が終了された状態のリールが定速状態まで加速され、その後は、定速状態で回転され、停止速要求が設定された場合には、定速状態で回転しているリールが減速され、後述するリール回転停止処理において設定された停止位置で停止され、微振動要求が設定された場合には、リールが上下に微振動するように移動されることとなる。 After the wait time counter is initialized in the step Sc3, an acceleration request for setting the excitation pattern of the reel motor for starting all the reel motors 32L, 32C, 32R and accelerating them to a predetermined constant speed rotation is stored in the RAM 41c. It is set in a predetermined area (Sc4). In the reel control process including the reel control rotation start process, by setting an acceleration request and various requests for setting a reel excitation pattern described later, the subsequent timer interrupt process (main) responds to the various requests. The excitation states of the respective excitation phases of the reel motors 32L, 32C, and 32R are sequentially updated with the excitation pattern described above, and rotation or the like is performed in a manner according to the various requests. For example, when an acceleration request is set. The reels are accelerated from a stopped state to a constant speed rotation, and then are rotated at a constant speed state, and when a post-reel production acceleration request is set, the reels in a state in which the reel production is finished Is accelerated to a constant speed state, and then is rotated in a constant speed state, and if a stop speed request is set, the reel rotating in the constant speed state is decelerated and set in the reel rotation stop processing described later. When the micro-vibration request is set, the reel is moved so as to vibrate vertically.

そして、Sc4のステップにおいて全てのリールについて加速要求を設定して、全てのリール2L、2C、2Rの加速を開始させた後には、全てのリール2L、2C、2Rについて後述する停止制御テーブル設定処理を実行し(Sc5)、各リール2L、2C、2Rについて停止操作が行われたタイミング別の滑りコマ数を特定可能な停止制御テーブルをRAM41cの所定領域に設定する。これにより、タイマ割込処理(メイン)による各リール2L、2C、2Rの加速制御中に、各リール2L、2C、2Rの停止制御テーブルが設定されることとなる。 Then, after the acceleration request is set for all reels in step Sc4 and the acceleration of all reels 2L, 2C, 2R is started, a stop control table setting process described later for all reels 2L, 2C, 2R is performed. Is executed (Sc5), and a stop control table capable of specifying the number of sliding frames for each timing when the stop operation is performed for each reel 2L, 2C, 2R is set in a predetermined area of the RAM 41c. Thereby, the stop control table of each reel 2L, 2C, 2R is set during the acceleration control of each reel 2L, 2C, 2R by the timer interrupt process (main).

Sc5のステップにおいて、停止制御テーブル設定処理を行った後は、スタートスイッチ7が操作されたことに基づいてリールの回転を開始した旨を特定可能な回転開始フラグをRAM41cの所定領域に設定して(Sc6)、リール制御処理に戻る。 In step Sc5, after performing the stop control table setting process, a rotation start flag that can specify that the rotation of the reel is started based on the operation of the start switch 7 is set in a predetermined area of the RAM 41c. (Sc6), the process returns to the reel control process.

一方、Sc1のステップにおいて、リール演出フラグが設定されていると判定した場合は、リール演出フラグに基づいて、リール演出の種類が第1リール演出であるか否かを判定し(Sc7)、第1リール演出である場合には、第1リール演出の制御を実行する(Sc8)。第1リール演出の制御では、リール2L、2C、2Rを所定期間にわたり微振動させるためのリールモータの励磁パターンを設定させる微振動要求をRAM41cの所定領域に設定してリール2L、2C、2Rの微振動制御を開始させた後、後述する停止制御テーブル設定処理を実行して、リール演出フラグに基づいて特定されるリール演出の種類に応じた図柄の組合せを、入賞ラインLNに停止させるように停止制御テーブルを設定し、リール2L、2C、2Rの微振動の制御を開始させてから所定期間が経過した後に、設定されている停止制御テーブルに従ってリール2L、2C、2Rを停止させる。そして、リール2L、2C、2Rを停止させた状態で、所定の時間が経過することで、第1リール演出を終了させる。 On the other hand, when it is determined in step Sc1 that the reel effect flag is set, it is determined whether the reel effect type is the first reel effect based on the reel effect flag (Sc7). If it is a one-reel effect, control of the first reel effect is executed (Sc8). In the control of the first reel effect, a fine vibration request for setting an excitation pattern of the reel motor for slightly vibrating the reels 2L, 2C, and 2R for a predetermined period is set in a predetermined area of the RAM 41c, and the reels 2L, 2C, and 2R are controlled. After starting the micro-vibration control, a stop control table setting process to be described later is executed to stop the combination of symbols according to the type of reel effect specified based on the reel effect flag on the pay line LN. After the stop control table is set and a predetermined period of time has passed after the control of the minute vibrations of the reels 2L, 2C, and 2R was started, the reels 2L, 2C, and 2R are stopped according to the set stop control table. Then, with the reels 2L, 2C, and 2R stopped, the first reel effect is ended when a predetermined time elapses.

第1リール演出を終了させた後は、Sc3のステップと同様に、ウェイトタイムカウンタを初期化し(Sc9)、各リール2L、2C、2Rについて始動させて定速回転まで加速させるための制御を開始する時期をランダムに決定して、決定結果をランダム加速開始時期としてRAM41cの所定領域に設定する(Sc10)。その後、各リール2L、2C、2Rについてランダム加速開始時期に達しているか否かを判定する(Sc11)。 After finishing the first reel effect, as in step Sc3, the wait time counter is initialized (Sc9), and the control for activating each reel 2L, 2C, 2R and accelerating to constant speed rotation is started. The time to be performed is randomly determined, and the determination result is set as a random acceleration start time in a predetermined area of the RAM 41c (Sc10). Then, it is determined whether or not the random acceleration start timing has been reached for each reel 2L, 2C, 2R (Sc11).

Sc11のステップにおいて、いずれかのリールについてランダム加速開始時期に達していると判定した場合には、該当するリールについて、始動させて所定の定速回転まで加速させるためにリールモータの励磁パターンを設定させる加速要求をRAM41cの所定領域に設定して加速を開始させる(Sc14)。そして、全てのリール2L、2C、2Rについて加速を開始させる設定が済んだか否かを判定し(Sc15)、加速を開始させる設定が済んでいないリールがある場合には、Sc11のステップに戻り、加速を開始させる設定が済んでいないリールについてランダム加速開始時期に達しているか否かを判定する。 If it is determined in step Sc11 that the random acceleration start timing has been reached for any reel, the reel motor excitation pattern is set to start and accelerate the reel to a predetermined constant speed rotation. The acceleration request to be set is set in a predetermined area of the RAM 41c to start acceleration (Sc14). Then, it is determined whether or not the setting for starting the acceleration is completed for all reels 2L, 2C, 2R (Sc15), and if there is a reel for which the setting for starting the acceleration is not completed, the process returns to the step of Sc11 It is determined whether or not the random acceleration start time has been reached for the reels that have not been set to start acceleration.

Sc11のステップにおいて、いずれのリールについてもランダム加速開始時期に達してしないと判定した場合には、各リール2L、2C、2Rについて停止制御テーブルの設定が済んでいるか否かを判定し(Sc12)、停止制御テーブルの設定が済んでいない場合には、Sc5のステップと同様に、全てのリール2L、2C、2Rについて後述する停止制御テーブル設定処理を実行し(Sc13)、各リール2L、2C、2Rについて停止制御テーブルを設定する。その後、Sc11のステップに戻り、その後、各リール2L、2C、2Rについてランダム加速開始時期に達しているか否かを判定する(Sc11)。 When it is determined in step Sc11 that the random acceleration start timing has not been reached for any reel, it is determined whether or not the stop control table has been set for each reel 2L, 2C, 2R (Sc12). If the stop control table has not been set, the stop control table setting process described below is executed for all reels 2L, 2C, and 2R as in step Sc5 (Sc13). Set the stop control table for 2R. After that, the process returns to the step of Sc11, and then it is determined whether or not the random acceleration start time has been reached for each reel 2L, 2C, 2R (Sc11).

Sc11〜Sc15のステップにより、各リール2L、2C、2Rの加速制御中に、全てのリールについて停止制御テーブルを設定することとなる。また、ランダム加速開始時期に基づいて、各リール2L、2C、2Rの加速を順次開始させることで、各リール2L、2C、2Rの回転の開始タイミングをランダムに遅延させ、その後のリール2L、2C、2Rの位置関係をランダムな関係にすることができ、リール2L、2C、2Rの位置関係が遊技における停止操作のタイミングの目安となってしまうことを防止できる。 By the steps of Sc11 to Sc15, the stop control table is set for all reels during the acceleration control of each reel 2L, 2C, 2R. Further, the start timing of the rotation of each reel 2L, 2C, 2R is randomly delayed by sequentially starting the acceleration of each reel 2L, 2C, 2R based on the random acceleration start time, and the subsequent reels 2L, 2C are then delayed. The positional relationship between the reels 2R can be made random, and the positional relationship between the reels 2L, 2C, and 2R can be prevented from becoming a reference for the timing of the stop operation in the game.

Sc15のステップにおいて、全てのリール2L、2C、2Rについて加速を開始させる設定が済んだと判定した場合には、Sc6のステップに進み、回転開始フラグをRAM41cの所定領域に設定して(Sc6)、リール制御処理に戻る。 If it is determined in step Sc15 that the acceleration of all reels 2L, 2C, 2R has been started, the process proceeds to step sc6, and the rotation start flag is set in a predetermined area of the RAM 41c (sc6). , And returns to the reel control process.

また、Sc1のステップにおいて、リール演出フラグが設定されていると判定した場合であって、Sc7のステップにおいて、リール演出の種類が第1リール演出でないと判定した場合、すなわちリール演出の種類が第2リール演出である場合には、Sc4のステップと同様に、全てのリール2L、2C、2Rについて後述する停止制御テーブル設定処理を実行した後に(Sc16)、第2リール演出の制御を実行する(Sc17)。第2リール演出では、リール演出フラグに基づいて特定される上述の特殊な変動態様でリール2L、2C、2Rを変動させる。そして、リール2L、2C、2Rを特殊な変動態様で変動させている状態または停止させた状態で、所定の時間が経過することで、第2リール演出を終了させる。 When it is determined in step Sc1 that the reel effect flag is set, and when it is determined in step Sc7 that the type of reel effect is not the first reel effect, that is, the type of reel effect is In the case of a two-reel effect, after executing a stop control table setting process to be described later for all reels 2L, 2C, and 2R (Sc16), similarly to the step of Sc4, the second reel effect control is executed ( Sc17). In the second reel effect, the reels 2L, 2C, and 2R are changed in the above-described special change mode specified based on the reel effect flag. Then, when the reels 2L, 2C, and 2R are being changed or stopped in a special changing manner, and the predetermined time has elapsed, the second reel effect is ended.

第2リール演出を終了させた後は、Sc3のステップと同様に、ウェイトタイムカウンタを初期化し(Sc18)、第2リール演出の態様に応じて、第2リール演出の終了に伴う各リール2L、2C、2Rの状態から所定の定速回転に加速させるためのリールモータの励磁パターンを設定させるリール演出後加速要求をRAM41cの所定領域に設定して、定速回転までの加速を開始させて(Sc19)、Sc6のステップに進み、回転開始フラグをRAM41cの所定領域に設定して、リール制御処理に戻る。 After the second reel effect is finished, the wait time counter is initialized (Sc18) as in the step of Sc3, and each reel 2L accompanying the end of the second reel effect, according to the aspect of the second reel effect, A post-reel production acceleration request for setting an excitation pattern of the reel motor for accelerating the 2C and 2R states to a predetermined constant speed rotation is set in a predetermined area of the RAM 41c to start acceleration to the constant speed rotation ( Sc19) and Sc6, the rotation start flag is set in a predetermined area of the RAM 41c, and the process returns to the reel control process.

次に、メイン制御部41がリール制御処理において実行するリール回転停止処理について説明する。 Next, the reel rotation stop processing executed by the main controller 41 in the reel control processing will be described.

図18に示すように、リール回転停止処理では、まず、タイマ割込を禁止に設定し(Sd1)、その後、RAM41cの所定領域に設定されている図柄ステップ数カウンタに基づいて、リール制御処理のSb28のステップで停止操作が検出されたリールの図柄ステップ数を取得し(Sd2)、当該図柄ステップ数が所定の判定範囲(0〜11ステップ)内にあるか否かを判定する(Sd3)。 As shown in FIG. 18, in the reel rotation stop process, first, the timer interrupt is set to be prohibited (Sd1), and then, based on the symbol step number counter set in a predetermined area of the RAM 41c, the reel control process is performed. In step Sb28, the number of symbol steps of the reel whose stop operation has been detected is acquired (Sd2), and it is determined whether or not the number of symbol steps is within a predetermined determination range (0 to 11 steps) (Sd3).

図柄ステップ数は、図19に示すように、リールモータの1周分のステップ数(本実施例では336ステップ)のうち1つの図柄に対応するステップ数である。本実施例では、1リールに配置された21図柄に対してリールモータの1周分の336ステップが均等に割り当てられることで、1図柄に対して16ステップが割り当てられており、一の図柄の下端が0ステップ(1ステップ目)、上端が15ステップ(16ステップ目)とされている。そして、図柄ステップ数カウンタは、リールの所定の判定位置(本実施例では、各リール2L、2C、2Rが停止したときの中段に位置する図柄に対応する図柄領域の最上端の位置、図23参照)を通過する図柄の図柄ステップ数を計数するためのカウンタであり、リール2L、2C、2R毎に0〜16ステップを計数可能なカウンタがステップ数カウンタとしてRAM41cの所定領域に設定されており、いずれの図柄ステップ数カウンタも後述するリールステップ数等更新処理において更新される。 As shown in FIG. 19, the number of symbol steps is the number of steps corresponding to one symbol of the number of steps for one revolution of the reel motor (336 steps in this embodiment). In this embodiment, 16 steps are assigned to one symbol by uniformly assigning 336 steps for one rotation of the reel motor to 21 symbols arranged on one reel, and one symbol is assigned to one symbol. The lower end is 0 step (1st step) and the upper end is 15 steps (16th step). And the symbol step number counter is a predetermined determination position of the reel (in this embodiment, the position of the uppermost end of the symbol region corresponding to the symbol positioned in the middle stage when each reel 2L, 2C, 2R is stopped, FIG. 23). Is a counter for counting the number of symbol steps of the symbol passing through, and a counter capable of counting 0 to 16 steps for each reel 2L, 2C, 2R is set as a step number counter in a predetermined area of the RAM 41c. Any of the symbol step number counters is updated in the reel step number etc. update processing described later.

また、図19に示すように、図柄ステップ数には、判定範囲と非判定範囲とが設定されている。判定範囲は、図柄ステップ数カウンタの値が取得される時点での図柄番号カウンタの値に基づいて特定される図柄番号の図柄を、滑りコマ数0で所定の停止位置(本実施例では、リールの中段の位置)に停止させることができる図柄ステップ数の範囲であり、本実施例では、一の図柄に割り当てられる16ステップのうちリールの回転方向前側の0〜11(1ステップ目〜12ステップ目)ステップの範囲である。一方、非判定範囲は、図柄ステップ数カウンタの値が取得される時点での図柄番号カウンタの値に基づいて特定される図柄番号の図柄を、滑りコマ数0で所定の停止位置(本実施例では、リールの中段の位置)に停止させることができない図柄ステップ数の範囲であり、本実施例では、一の図柄に割り当てられる16ステップのうち回転方向後側の12〜15ステップ(13ステップ目〜16ステップ目)の範囲である。 Further, as shown in FIG. 19, a determination range and a non-determination range are set for the number of symbol steps. The determination range is a symbol having a symbol number specified on the basis of the value of the symbol number counter at the time when the value of the symbol step number counter is acquired, and a predetermined stop position with the number of sliding symbols 0 (in the present embodiment, the reel. It is the range of the number of symbol steps that can be stopped at the middle position), and in the present embodiment, 0 to 11 (1st to 12th steps) on the front side in the rotation direction of the reel among the 16 steps assigned to one symbol. Eyes) Range of steps. On the other hand, the non-judgment range is a symbol having a symbol number specified based on the value of the symbol number counter at the time when the value of the symbol step number counter is acquired, a predetermined stop position with the number of sliding symbols of 0 (this embodiment). In the range of the number of symbol steps that cannot be stopped at the reel middle position), in the present embodiment, 12 to 15 steps (the 13th step) on the rear side in the rotation direction among the 16 steps assigned to one symbol. To the 16th step).

Sd3のステップにおいて、図柄ステップ数が所定の判定範囲(0〜11ステップ)内にないと判定した場合には、一旦、タイマ割込を許可に設定した後(Sb4)、Sb1のステップに戻り、Sd1〜Sd4のステップを繰り返し実行して、図柄ステップ数が所定の判定範囲内にあると判定されるまで待機する。尚、Sd1のステップにおいてタイマ割込が禁止に設定された後、Sb4のステップにおいてタイマ割込が許可に設定されることで、Sd1〜Sd4のステップにわたってタイマ割込が禁止に設定されている状態の期間内に、本来のタイマ割込のタイミングが含まれていた場合には、Sd4のステップにおいてタイマ割込が許可に設定されたときに、タイマ割込処理(メイン)を実行して、当該タイマ割込処理(メイン)におけるリールステップ数等更新処理において図柄ステップ数カウンタを更新する。一方、当該期間内に本来のタイマ割込のタイミングが含まれていない場合には、その後、再びタイマ割込が許可に設定されるときにタイマ割込処理(メイン)を実行して、図柄ステップ数カウンタを更新する。 In the step of Sd3, when it is determined that the number of symbol steps is not within the predetermined determination range (0 to 11 steps), once the timer interrupt is set to permit (Sb4), the process returns to the step of Sb1. The steps Sd1 to Sd4 are repeatedly executed, and the process waits until it is determined that the number of symbol steps is within the predetermined determination range. In addition, after the timer interrupt is set to be prohibited in the step Sd1, the timer interrupt is set to be enabled in the step Sb4, so that the timer interrupt is set to be disabled in the steps Sd1 to Sd4. If the original timer interrupt timing is included in the period of, the timer interrupt process (main) is executed when the timer interrupt is set to enable in step Sd4, and The symbol step number counter is updated in the reel step number updating process in the timer interrupt process (main). On the other hand, if the original timer interrupt timing is not included in the period, then the timer interrupt process (main) is executed when the timer interrupt is set to enable again, and the symbol step Update the number counter.

一方、Sd3のステップにおいて、図柄ステップ数が所定の判定範囲にあると判定した場合には、Sd1のステップにおいてタイマ割込が禁止に設定された状態を維持して、Sd5のステップに進み、RAM41cの所定領域に設定されている図柄番号カウンタの値を取得し、当該図柄番号カウンタの値を停止操作が行われたときの図柄番号(以下、操作時図柄番号と言う)としてRAM41cの所定領域に設定する(Sd6)。 On the other hand, when it is determined in step Sd3 that the number of symbol steps is within the predetermined determination range, the state in which the timer interrupt is set to be prohibited in step Sd1 is maintained, and the process proceeds to step Sd5 to RAM 41c. The value of the symbol number counter set in the predetermined area is acquired, and the value of the symbol number counter is set in the predetermined area of the RAM 41c as the symbol number when the stop operation is performed (hereinafter, referred to as the operation symbol number). Set (Sd6).

図柄番号カウンタは、上述の所定の判定位置(本実施例では、透視窓3における各リール2L、2C、2Rの中段に対応する領域の最上端の位置、図23参照)に位置している図柄の図柄番号を計数するためのカウンタであり、リール2L、2C、2R毎に一の図柄番号カウンタがRAM41cの所定領域に設定されており、いずれの図柄番号カウンタも後述するリールステップ数等更新処理において更新される。 The symbol number counter is located at the above-described predetermined determination position (in this embodiment, the uppermost position of the region corresponding to the middle stage of each reel 2L, 2C, 2R in the see-through window 3, see FIG. 23). Is a counter for counting the symbol numbers, and one symbol number counter for each reel 2L, 2C, 2R is set in a predetermined area of the RAM 41c, and any symbol number counter will be described later, such as a reel step number updating process. Will be updated in.

その後、該当するリールを停止させる際の滑りコマ数を設定する滑りコマ数設定処理を実行する(Sd7)。滑りコマ数設定処理では、停止制御テーブル設定処理によりRAM41cの所定領域に設定されている停止制御テーブルから、リール制御処理のSb28のステップで停止操作が検出されたリールに対応する停止制御テーブルを特定し、当該停止制御テーブルを参照して、操作時図柄番号に基づいて停止操作が行われたタイミングに対応する滑りコマ数を特定し、当該滑りコマ数をRAM41cの所定領域に設定する。また、当該滑りコマ数に応じた位置、すなわち滑りコマ数に対応する図柄番号の図柄で該当するリールを停止させるために停止速要求をRAM41cの所定領域に設定して、該当するリールを減速させて停止させる制動制御を開始させる。 After that, the sliding frame number setting process for setting the sliding frame number when stopping the corresponding reel is executed (Sd7). In the sliding frame number setting process, the stop control table corresponding to the reel in which the stop operation is detected in step Sb28 of the reel control process is specified from the stop control table set in the predetermined area of the RAM 41c by the stop control table setting process. Then, with reference to the stop control table, the number of sliding symbols corresponding to the timing at which the stop operation is performed is specified based on the operating symbol number, and the number of sliding symbols is set in a predetermined area of the RAM 41c. Further, a stop speed request is set in a predetermined area of the RAM 41c in order to stop the corresponding reel at a position corresponding to the number of sliding pieces, that is, a symbol having a symbol number corresponding to the number of sliding pieces, and the corresponding reel is decelerated. Start braking control.

RAM41cの所定領域に設定された滑りコマ数及び停止要求が、その後タイマ割込処理におけるリールモータの回転制御に関する処理(後述のリール回転制御処理)にて参照されることで、当該滑りコマ数に対応する図柄番号の図柄がリールの停止位置に位置し、かつ当該図柄の図柄ステップ数が所定のステップ数(本実施例では、11ステップ)となったときに、リールモータが全相励磁されてリールが滑りコマ数に対応する図柄で停止されることとなる。尚、本実施例では、滑りコマ数に基づいてリールに停止させる図柄の図柄番号を特定可能であり、当該図柄番号が割り当てられた図柄につての図柄ステップ数が所定のステップ数となることで、リールモータが全相励磁されてリールが滑りコマ数に対応する図柄で停止される構成であるが、滑りコマ数に基づいてリールに停止させるリールステップ数を特定可能な構成とし、当該リールステップ数に応じた所定のステップ数でリールモータを全相励磁することで、リールを滑りコマ数に対応する停止位置で停止される構成であっても良い。 The number of sliding symbols and the stop request set in the predetermined area of the RAM 41c are then referred to in a process related to reel motor rotation control in the timer interrupt process (reel rotation control process described later), so that the number of sliding symbols is determined. When the symbol of the corresponding symbol number is located at the reel stop position and the number of symbol steps of the symbol reaches a predetermined number of steps (11 steps in this embodiment), the reel motor is excited in all phases. The reel will be stopped at the symbol corresponding to the number of sliding pieces. In the present embodiment, it is possible to specify the symbol number of the symbol to be stopped on the reel based on the number of sliding symbols, and the symbol step number for the symbol to which the symbol number is assigned becomes the predetermined step number. The reel motor is excited in all phases and the reel is stopped at a symbol corresponding to the number of sliding pieces, but the number of reel steps to be stopped by the reel can be specified based on the number of sliding pieces. Alternatively, the reel motor may be stopped at a stop position corresponding to the number of sliding pieces by exciting the reel motor in all phases in a predetermined number of steps.

Sd7のステップにおいて滑りコマ数設定処理を実行した後は、タイマ割込を許可に設定する(Sd8)。Sd8のステップにおいてタイマ割込を許可に設定することで、Sd1〜Sd8のステップにわたってタイマ割込が禁止に設定されている状態の期間内に、本来のタイマ割込のタイミングが含まれていた場合には、Sd8のステップにおいてタイマ割込が許可に設定されたときに、タイマ割込処理(メイン)を実行して、当該タイマ割込処理(メイン)において、滑りコマ数設定処理(Sb7)で設定された滑りコマ数に基づいて、該当するリールを減速させて停止させるための制動制御を開始する。一方、当該期間内に本来のタイマ割込のタイミングが含まれていない場合には、その後、タイマ割込のタイミングにおいてタイマ割込処理(メイン)を実行して、該当するリールの制動制御を開始する。 After the sliding frame number setting process is executed in step Sd7, the timer interrupt is set to permit (Sd8). When the timer interrupt is set to be enabled in the step Sd8, and the original timer interrupt timing is included in the period in which the timer interrupt is set to be disabled in the steps Sd1 to Sd8. In step Sd8, when the timer interrupt is set to enable in the step Sd8, the timer interrupt process (main) is executed, and in the timer interrupt process (main), the sliding frame number setting process (Sb7) is executed. Braking control for decelerating and stopping the corresponding reel is started based on the set number of sliding symbols. On the other hand, if the original timer interrupt timing is not included in the period, then the timer interrupt process (main) is executed at the timer interrupt timing to start the braking control of the corresponding reel. To do.

そして、Sd8のステップにおいてタイマ割込を許可に設定した後は、停止位置設定処理を実行する(Sd9)。停止位置設定処理では、Sd6の滑りコマ数設定処理において特定した滑りコマ数及び操作時図柄番号に基づいてリールを停止させる位置の図柄(以下、停止位置図柄と言う)の図柄番号、所定の滑りコマ数で停止させる停止制御を行っているリールを特定し、当該リール及び停止位置図柄の図柄番号を特定可能な停止操作時コマンド、及び滑りコマ数設定処理において特定した滑りコマ数を特定可能な滑りコマ数コマンドを、コマンドキューに設定し、これらのコマンドを次回のタイマ割込において送信させる。 Then, after the timer interrupt is set to be permitted in step Sd8, the stop position setting process is executed (Sd9). In the stop position setting process, the symbol number of a symbol (hereinafter, referred to as a stop position symbol) at a position to stop the reel based on the number of sliding symbols and the operation symbol number identified in the sliding symbol number setting process of Sd6, a predetermined slip It is possible to specify the reel that is performing stop control to stop at the number of frames, specify the reel and stop position symbol number of the stop operation command, and the number of sliding frames specified in the sliding frame number setting process. The sliding frame number commands are set in the command queue, and these commands are transmitted at the next timer interrupt.

Sd9のステップにおいて停止位置設定処理を実行した後は、タイマ割込処理(メイン)におけるリール回転制御処理にてRAM41cの所定領域に設定され、リールの制御状態を特定可能なリール制御状態フラグを参照して(Sd10)、停止制御を行っているリールについて当該リールを減速させて停止させる制動制御が実行されたか否かを判定し(Sd11)、制動制御が実行されている場合には、リール回転停止処理を終了させてリール制御処理に復帰する。また、制動制御が実行されていないと判定した場合には、制動制御が実行されるまで待機して、制動制御が実行されたと判定したときに、リール回転停止処理を終了させてリール制御処理に復帰する。 After executing the stop position setting process in step Sd9, refer to the reel control state flag that is set in a predetermined area of the RAM 41c by the reel rotation control process in the timer interrupt process (main) and can specify the reel control state. Then, (Sd10), it is determined whether or not the braking control for decelerating and stopping the reel for which the stop control is performed is executed (Sd11). If the braking control is executed, the reel rotation is performed. The stop process is ended and the process returns to the reel control process. If it is determined that the braking control is not executed, the processing waits until the braking control is executed, and when it is determined that the braking control is executed, the reel rotation stop processing is ended and the reel control processing is executed. Return.

次に、メイン制御部41がリール制御処理において実行する停止制御テーブル設定処理について説明する。 Next, the stop control table setting process executed by the main control unit 41 in the reel control process will be described.

図20に示すように、停止制御テーブル設定処理では、まず、未停止のリールがあるか否か、すなわち有効な停止操作が行われておらず、回転制御が継続されているリールがあるか否かを判定する(Se1)。そして、未停止のリールがある場合には、タイマ割込待ち処理を実行して(Se2)、タイマ割込を許可に設定してタイマ割込処理(メイン)が1回行われるまで待機した後、タイマ割込を禁止に設定したうえで(Se3)、回転制御が継続されている一のリールについて停止制御テーブル設定処理を行い(Se4)、停止操作が行われたタイミング別の滑りコマ数を特定可能な停止制御テーブルをRAM41cの所定領域に設定する。 As shown in FIG. 20, in the stop control table setting process, first, it is determined whether or not there is a reel that is not stopped, that is, whether or not there is a reel that has not been subjected to a valid stop operation and whose rotation control is continued. It is determined (Se1). Then, if there is a reel that has not stopped, the timer interrupt waiting process is executed (Se2), the timer interrupt is set to enable, and after waiting until the timer interrupt process (main) is performed once, , After setting the timer interrupt to prohibit (Se3), the stop control table setting process is performed for one reel whose rotation control is continued (Se4), and the number of sliding symbols for each timing when the stop operation is performed is determined. A stop control table that can be specified is set in a predetermined area of the RAM 41c.

そして、一のリールについて停止制御テーブル設定処理が終了した後には、全ての未停止のリールについて停止制御テーブル設定処理が行われたか否かを判定し(Se5)、停止制御テーブル設定処理を行っていない未停止のリールが残っている場合には、Se2のステップに戻って、タイマ割込待ち処理を実行した後に、Se3のステップを経て、Se4のステップにおいて残りの一のリールについて停止制御テーブル設定処理を行って停止制御テーブルを設定する。 Then, after the stop control table setting process for one reel is completed, it is determined whether or not the stop control table setting process has been performed for all unstopped reels (Se5), and the stop control table setting process is performed. If there is an unstopped reel remaining, the process returns to the step of Se2 to execute the timer interruption waiting process, and then the step of Se3 is performed, and then the stop control table setting for the remaining one reel is performed in the step of Se4. Perform processing to set the stop control table.

そして、Se5のステップにおいて全ての未停止のリールについて、停止制御テーブルを設定済みであると判定した場合、またはSe1のステップにおいて未停止のリールがないと判定した場合に、停止制御テーブル設定処理を終了して、リール制御処理に戻る。 Then, if it is determined in step Se5 that the stop control tables have been set for all unstopped reels, or if it is determined in step Se1 that there are no unstopped reels, the stop control table setting process is performed. Upon completion, the process returns to the reel control process.

このように、本実施例のメイン制御部41は、ゲームの開始後にリール制御処理を実行して、リール2L、2C、2Rの回転を開始させた後、ストップスイッチ8L、8C、8Rの停止操作が検出されるまで待機し、有効なストップスイッチ8L、8C、8Rの操作が検出されることで、該当するリールの回転を所定の停止位置で停止させる制御を、全てのリールの回転を停止させるまで繰り返し行うとともに、少なくとも1つ以上のリールを回転制御している状態で、異常が生じた可能性のある特定事象が生じた否かを判定する構成である。 As described above, the main control unit 41 of the present embodiment executes the reel control process after the start of the game to start the rotation of the reels 2L, 2C, 2R, and then the stop operation of the stop switches 8L, 8C, 8R. Is waited for, and when the effective operation of the stop switches 8L, 8C, 8R is detected, the control for stopping the rotation of the corresponding reel at the predetermined stop position is stopped for the rotation of all reels. It is configured to determine whether or not a specific event that may have caused an abnormality has occurred while the rotation control of at least one or more reels is being performed.

このような構成では、リールの回転中において停止操作が行われた後、リールの回転を停止させる停止制御を行っている期間において、異常に関連する事象が生じたか否かの判定を行うと、停止制御を行っている期間に余計な処理を行うこととなり、停止制御の対象リールが意図しない停止位置で停止してしまう虞がある。 In such a configuration, after the stop operation is performed during the rotation of the reel, during the period of performing the stop control for stopping the rotation of the reel, it is determined whether an event related to the abnormality occurs, Extra processing is performed during the period in which the stop control is performed, and there is a possibility that the target reel of the stop control may stop at an unintended stop position.

これに対して、本実施例のメイン制御部41は、リール制御処理において、リール2L、2C、2Rの回転を開始させるリール回転開始処理を行った後、有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機し、有効なストップスイッチ8L、8C、8Rの停止操作が検出されることで、該当するリールの回転を停止させるリール回転停止処理を行う構成であって、リール回転開始処理の後に有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機している期間では、異常が生じた可能性のある特定事象が生じた否かを判定する異常判定処理を実行するので、リールの回転中の大半を占める状態では、特定事象を判定できる一方で、有効なストップスイッチ8L、8C、8Rの操作が検出された後からリール回転停止処理によりリールの回転が停止されるまでの期間では、異常判定処理を実行しないので、リールの停止に関する処理中の負荷が軽減されるため、リールの停止制御中に余計な処理が行われることにより停止制御の対象リールが意図しない位置でリールが停止してしまうことを防止できる。 On the other hand, in the reel control process, the main control unit 41 of the present embodiment performs the reel rotation start process for starting the rotation of the reels 2L, 2C, 2R, and then the effective stop switches 8L, 8C, 8R. A reel rotation stop process of stopping the rotation of the corresponding reel by waiting until the operation is detected and detecting the effective stop operation of the stop switches 8L, 8C, 8R, and starting the reel rotation. After the processing, during the period of waiting until the effective operation of the stop switches 8L, 8C, 8R is detected, the abnormality determination processing for determining whether or not a specific event that may have caused an abnormality has occurred is executed. Therefore, in a state in which the reel occupies most of the rotation, the specific event can be determined, but the rotation of the reel is stopped by the reel rotation stop processing after the effective operation of the stop switches 8L, 8C, 8R is detected. Since the abnormality determination process is not executed during the period up to, the load during the process related to the reel stop is reduced, and extra processing is performed during the reel stop control, so that the reel targeted for stop control does not reach the unintended position. It is possible to prevent the reel from stopping.

本実施例のメイン制御部41は、リール制御処理において、リール回転開始処理の後に有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機している期間に、異常判定処理の一つとして投入払出エラーチェック処理を実行することで、投入メダルセンサ31の出力に基づいてメダル投入部4からのメダルの投入に関する異常が生じた可能性があるか否かを判定するので、リールの回転中の大半を占める状態では、特定事象としてメダルの投入に関する異常を判定できる一方で、有効なストップスイッチ8L、8C、8Rの操作が検出された後からリール回転停止処理によりリールの回転が停止されるまでの期間では、投入払出エラーチェック処理を実行しないので、リールの停止に関する処理中の負荷が軽減されるため、リールの停止制御中に余計な処理が行われることにより停止制御の対象リールが意図しない位置でリールが停止してしまうことを防止できる。 In the reel control process, the main control unit 41 of the present embodiment waits for one of the abnormality determination processes while waiting for the operation of the effective stop switch 8L, 8C, 8R after the reel rotation start process to be detected. By executing the insertion/withdrawal error check process as described above, it is determined based on the output of the insertion medal sensor 31 whether or not there is a possibility that an abnormality related to the insertion of medals from the medal insertion portion 4 has occurred. In the state that occupies most of the inside, the abnormality related to the insertion of the medal can be determined as a specific event, but the reel rotation is stopped by the reel rotation stop processing after the effective operation of the stop switches 8L, 8C, 8R is detected. Since the insertion/withdrawal error check process is not executed during the period until the start of the reel, the load during the process related to the reel stop is reduced. It is possible to prevent the reel from stopping at an unintended position.

本実施例のメイン制御部41は、リール制御処理において、リール回転開始処理の後に有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機している期間に、異常判定処理の一つとして投入払出エラーチェック処理を実行することで、払出センサ34cの出力に基づいてホッパーユニット34によるメダルの払出に関する異常が生じた可能性があるか否かを判定するので、リールの回転中の大半を占める状態では、特定事象としてメダルの払出に関する異常を判定できる一方で、有効なストップスイッチ8L、8C、8Rの操作が検出された後からリール回転停止処理によりリールの回転が停止されるまでの期間では、投入払出エラーチェック処理を実行しないので、リールの停止に関する処理中の負荷が軽減されるため、リールの停止制御中に余計な処理が行われることにより停止制御の対象リールが意図しない位置でリールが停止してしまうことを防止できる。 In the reel control process, the main control unit 41 of the present embodiment waits for one of the abnormality determination processes while waiting for the operation of the effective stop switch 8L, 8C, 8R after the reel rotation start process to be detected. By executing the insertion/withdrawal error check process as described above, it is determined based on the output of the withdrawal sensor 34c whether or not there is a possibility that an abnormality regarding the payout of medals by the hopper unit 34 has occurred. In the state of occupying, the abnormality related to the payout of medals can be determined as a specific event, while the reel rotation is stopped by the reel rotation stop processing after the effective operation of the stop switches 8L, 8C, 8R is detected. During the period, since the insertion/withdrawal error check process is not executed, the load during the process related to the stop of the reel is reduced, and extra processing is performed during the stop control of the reel, so that the target reel of the stop control is at an unintended position. It is possible to prevent the reel from stopping.

本実施例のメイン制御部41は、リール制御処理において、リール回転開始処理の後に有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機している期間に、異常判定処理の一つとして回転エラーチェック処理を実行することで、リールセンサ33L、33C、33Rの出力に基づいてリールの回転に関する異常が生じた可能性があるか否かを判定するので、リールの回転中の大半を占める状態では、特定事象としてリールの回転に関する異常を判定できる一方で、有効なストップスイッチ8L、8C、8Rの操作が検出された後からリール回転停止処理によりリールの回転が停止されるまでの期間では、回転エラーチェック処理を実行しないので、リールの停止に関する処理中の負荷が軽減されるため、リールの停止制御中に余計な処理が行われることにより停止制御の対象リールが意図しない位置でリールが停止してしまうことを防止できる。 In the reel control process, the main control unit 41 of the present embodiment waits for one of the abnormality determination processes while waiting for the operation of the effective stop switch 8L, 8C, 8R after the reel rotation start process to be detected. By executing the rotation error check process as described above, it is determined whether or not there is a possibility that an abnormality relating to the rotation of the reel has occurred based on the outputs of the reel sensors 33L, 33C, 33R. In the occupied state, the abnormality related to the rotation of the reel can be determined as a specific event, while the period from the detection of the effective operation of the stop switches 8L, 8C, and 8R to the stop of the rotation of the reel by the reel rotation stop processing. In this case, since the rotation error check process is not executed, the load during the process related to the stop of the reel is reduced.Therefore, extra processing is performed during the stop control of the reel, so that the reel targeted for the stop control does not reach the intended position. Can be prevented from stopping.

本実施例のメイン制御部41は、リール制御処理において、リール回転開始処理の後に有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機している期間に、異常判定処理の一つとしてドア開放チェック処理を実行することで、ドア開放検出スイッチ25の出力状態に変化が生じたか否かを判定するので、リールの回転中の大半を占める状態では、特定事象としてドア開放検出スイッチ25の出力状態に変化が生じたか否かを判定できる一方で、有効なストップスイッチ8L、8C、8Rの操作が検出された後からリール回転停止処理によりリールの回転が停止されるまでの期間では、ドア開放チェック処理を実行しないので、リールの停止に関する処理中の負荷が軽減されるため、リールの停止制御中に余計な処理が行われることにより停止制御の対象リールが意図しない位置でリールが停止してしまうことを防止できる。 In the reel control process, the main control unit 41 of the present embodiment waits for one of the abnormality determination processes while waiting for the operation of the effective stop switch 8L, 8C, 8R after the reel rotation start process to be detected. By executing the door opening check process as described above, it is determined whether or not the output state of the door opening detection switch 25 has changed. Therefore, in a state where most of the reels are rotating, the door opening detection switch 25 is a specific event. While it is possible to determine whether or not the output state of the reel has changed, in the period from when the effective operation of the stop switches 8L, 8C, and 8R is detected to when the reel rotation is stopped by the reel rotation stop processing, Since the door open check processing is not executed, the load during processing related to reel stop is reduced, and extra processing is performed during reel stop control, causing the reel to stop at a position unintended by the reel subject to stop control. It can be prevented.

本実施例のメイン制御部41は、メイン処理においてリール制御処理を実行する一方で、メイン処理の実行中の定期的に割り込んでタイマ割込処理(メイン)を実行し、リール制御処理において、リール2L、2C、2Rの回転を開始させるリール回転開始処理を行った後、有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機している期間に、タイマ割込処理(メイン)が実行される毎に、異常判定処理を実行して特定事象が発生したか否かを判定するので、有効なストップスイッチ8L、8C、8Rの操作が検出されるまで待機している期間において異常判定処理を常時実行せずに済むため、処理負荷を軽減できる。 The main control unit 41 of the present embodiment executes the reel control process in the main process, while periodically executing the timer interrupt process (main) during the execution of the main process, and executes the reel control process in the reel control process. After performing the reel rotation start processing for starting the rotation of 2L, 2C, 2R, the timer interruption processing (main) is performed during the period waiting until the effective operation of the stop switches 8L, 8C, 8R is detected. Each time it is executed, the abnormality determination processing is executed to determine whether or not a specific event has occurred, so abnormality determination is performed during the period waiting until an effective operation of the stop switches 8L, 8C, 8R is detected. The processing load can be reduced because the processing does not have to be executed all the time.

本実施例のメイン制御部41は、リール制御処理において、リール2L、2C、2Rの回転を開始させるリール回転開始処理を行った後に、有効なストップスイッチ8L、8C、8Rの停止操作が検出されることで、該当するリールの回転を停止させるリール回転停止処理を行ってリールを停止させる制御を、全てのリールの回転を停止させるまで繰り返し行う構成であって、リール回転停止処理を行ってリールを停止された後、未だ回転中のリールがある場合に、有効なストップスイッチ8L、8C、8Rの停止操作が検出されるまでの期間において、異常判定処理を実行するので、リールの停止制御中の負荷を軽減しつつ、特定事象を判定できる。 In the reel control process, the main control unit 41 of the present embodiment detects the effective stop operation of the stop switches 8L, 8C, 8R after performing the reel rotation start process for starting the rotation of the reels 2L, 2C, 2R. Thus, the reel rotation stop processing for stopping the rotation of the corresponding reel and the control for stopping the reels are repeatedly performed until the rotation of all reels is stopped. If there is still a reel still spinning after being stopped, the abnormality determination process is executed during the period until the effective stop operation of the stop switches 8L, 8C, 8R is detected. It is possible to determine a specific event while reducing the load of.

また、本実施例のメイン制御部41は、異常判定処理として投入払出エラーチェック処理、回転エラー処理、ドア開放チェック処理を実行する構成であり、リール回転停止処理を行ってリールを停止された後、未だ回転中のリールがある場合に、有効なストップスイッチ8L、8C、8Rの停止操作が検出されるまでの期間において、異常判定処理を実行するので、リールの停止制御中の負荷を軽減しつつ、特定事象としてメダルの投入に関する異常、メダルの払出に関する異常、リールの回転に関する異常、ドア開放検出スイッチ25の出力状態に変化が生じたか否かを判定できる。 Further, the main control unit 41 of the present embodiment is configured to execute the insertion/withdrawal error check process, the rotation error process, and the door opening check process as the abnormality determination process, and after the reel rotation stop process is performed to stop the reels. If there is a reel still spinning, the abnormality determination process is executed during the period until the effective stop operation of the stop switches 8L, 8C, 8R is detected, so the load during reel stop control is reduced. At the same time, it is possible to determine whether or not there is a change in the output state of the door open detection switch 25, as a specific event, an abnormality related to inserting a medal, an abnormality related to payout of a medal, an abnormality related to rotation of a reel.

本実施例のメイン制御部41は、リール制御処理において、有効な停止操作が検出されることで、該当するリールの回転を停止させた後、未だ回転制御を行っているリールが残っている場合には、タイマ割込処理(メイン)が実行される毎に異常判定処理を実行しつつ、先の停止操作が検出されてから所定時間が経過するまで、停止操作が行われたか否か判定することなく待機し、当該所定時間が経過した後には、次の停止操作の受付を有効に設定して、タイマ割込処理(メイン)が実行される毎に異常判定処理及び停止操作が行われたか否かの判定を実行しつつ待機し、有効な停止操作が検出されることで、該当するリールを停止させる制御を、全てのリールの回転を停止させるまで繰り返し行う構成であって、有効な停止操作が検出された後から次の停止操作の受付が有効化されるまでの期間であって、停止操作が行われたか否かの判定を行わない期間においても、異常判定処理を実行するので、当該期間においても特定事象を判定できる。 When the effective stop operation is detected in the reel control process, the main control unit 41 of the present embodiment stops the rotation of the corresponding reel, and then there is still a reel whose rotation is being controlled. Is executed every time the timer interrupt process (main) is executed, and it is determined whether or not the stop operation is performed until a predetermined time elapses after the previous stop operation is detected. Without waiting, after the lapse of the predetermined time, whether the acceptance of the next stop operation is set to be valid and the abnormality determination processing and the stop operation are performed every time the timer interrupt processing (main) is executed It is configured such that the control for stopping the corresponding reels is repeated until the rotation of all reels is stopped by waiting while executing the determination as to whether or not a valid stop operation is detected. Since the abnormality determination process is executed even in the period after the operation is detected until the reception of the next stop operation is validated and the determination whether the stop operation is performed is not performed, The specific event can be determined even in the period.

特に、リール制御処理において、次の停止操作の受付を有効化する際に、有効化タイマに基づいて、有効な停止操作が検出された後から次の停止操作の受付が有効化されるまでの所定期間が経過したか否かを判定し、所定期間が経過している場合に、次の停止操作の受付を有効化するようになっているので、有効な停止操作が検出されてリールが停止されるまでの時間が、停止時の滑りコマ数(本実施例では、0〜4)によって異なることとなるものの、滑りコマ数に関わらず、有効な停止操作が検出された後から次の停止操作の受付を有効化するまでの期間を一定にすることができる。そして、メイン制御部41は、当該有効な停止操作が検出された後から次の停止操作の受付を有効化するまでの期間においても、タイマ割込処理(メイン)が実行される毎に異常判定処理を実行するので、当該期間においても特定事象を判定できる。 Particularly, in the reel control process, when the acceptance of the next stop operation is validated, after the valid stop operation is detected, the acceptance of the next stop operation is validated based on the validation timer. It is determined whether or not a predetermined period of time has passed, and if the predetermined period of time has passed, the acceptance of the next stop operation is validated, so a valid stop operation is detected and the reel stops. Although the time until it is changed depends on the number of sliding pieces at the time of stop (0 to 4 in this embodiment), the next stop after the effective stop operation is detected regardless of the number of sliding pieces. It is possible to keep the period until the acceptance of the operation valid. Then, the main control unit 41 determines the abnormality every time the timer interrupt process (main) is executed, even during the period after the valid stop operation is detected until the acceptance of the next stop operation is validated. Since the process is executed, the specific event can be determined even in the period.

また、本実施例のメイン制御部41は、異常判定処理として投入払出エラーチェック処理、回転エラー処理、ドア開放チェック処理を実行する構成であり、停止操作が行われたか否かの判定を行わない期間においても、異常判定処理を実行するので、当該期間においても特定事象としてメダルの投入に関する異常、メダルの払出に関する異常、リールの回転に関する異常、ドア開放検出スイッチ25の出力状態に変化が生じたか否かを判定できる。 In addition, the main control unit 41 of the present embodiment is configured to execute insertion/withdrawal error check processing, rotation error processing, and door opening check processing as abnormality determination processing, and does not determine whether or not a stop operation has been performed. Since the abnormality determination process is executed during the period as well, whether or not a medal insertion abnormality, a medal payout abnormality, a reel rotation abnormality, or an output state of the door opening detection switch 25 has changed as a specific event during the period. It can be determined whether or not.

本実施例のメイン制御部41は、メイン処理においてリール制御処理を実行する一方で、メイン処理の実行中の定期的に割り込んでタイマ割込処理(メイン)を実行し、リール制御処理において、リール2L、2C、2Rの回転を開始させるリール回転開始処理を行った後、有効な停止操作が検出されるまで待機している期間に、タイマ割込処理(メイン)が実行される毎に、停止操作が検出されたか否かを判定するので、有効な停止操作が検出されるまで待機している期間において、停止操作が検出されたか否かを常時判定せずに済むため、処理負荷を軽減できる。 The main control unit 41 of the present embodiment executes the reel control process in the main process, while periodically executing the timer interrupt process (main) during the execution of the main process, and executes the reel control process in the reel control process. After performing reel rotation start processing to start rotation of 2L, 2C, and 2R, stop each time timer interrupt processing (main) is executed during a period of waiting until a valid stop operation is detected. Since it is determined whether or not an operation is detected, it is not necessary to constantly determine whether or not a stop operation is detected during the period of waiting until a valid stop operation is detected, so the processing load can be reduced. ..

また、このように、本実施例のメイン制御部41は、リール制御処理において、ストップスイッチ8L、8C、8Rによる停止操作の受付を有効に設定する前に、リール回転開始処理を実行して、当該リール回転開始処理においてリールを用いてリール演出を実行するとともに、リール演出の終了後に、停止制御テーブル設定処理を実行して、各リール2L、2C、2Rについて停止制御を行うための停止制御テーブルを設定する構成である。 Further, as described above, in the reel control process, the main control unit 41 executes the reel rotation start process before effectively setting the acceptance of the stop operation by the stop switches 8L, 8C, and 8R in the reel control process. In the reel rotation start process, a reel control is performed by using a reel, and after the reel control is finished, a stop control table setting process is performed to perform a stop control for each reel 2L, 2C, 2R. Is a configuration for setting.

このような構成では、リール演出の終了後に停止制御テーブルを設定するために、リール演出後にリールを停止せずにそのまま所定の定速回転に移行する場合などに停止制御テーブルの設定が間に合わなくなったり、停止操作の有効化が遅れる虞がある。 In such a configuration, since the stop control table is set after the reel effect is finished, the setting of the stop control table may not be in time when the reel shifts to a predetermined constant speed rotation without stopping after the reel effect. However, the activation of the stop operation may be delayed.

これに対して、本実施例のメイン制御部41は、リール制御処理において、ストップスイッチ8L、8C、8Rによる停止操作の受付を有効に設定する前に、リール回転開始処理を実行して、当該リール回転開始処理においてリール演出を実行する構成であり、リール演出として、特定の位置にリールを停止させる第1リール演出と、特定の位置にリールを停止させることのない第2リール演出とを実行可能であって、リール回転開始処理において、第1リール演出を実行する場合には、該第1リール演出の終了後に停止制御テーブル設定処理を実行して、全てのリール2L、2C、2Rについて停止制御テーブルを設定し、第2リール演出が実行される場合には、該第2リール演出を実行する前に、停止制御テーブル設定処理を実行して、全てのリール2L、2C、2Rについて停止制御テーブルを設定するので、第1リール演出が実行される場合には、第1リール演出を終了する際には、停止操作が有効とされるまでにリールを定速回転とするために加速させる制御を行う必要があり、該第1リール演出の終了後に停止制御テーブルを設定しても、加速させる制御も行われるので、該停止制御テーブルの設定により必要以上に停止操作の有効化が遅れることがない一方で、第2リール演出が実行される場合、すなわち第2リール演出の終了後にリールを定速回転とするために加速するための制御が第1リール演出よりも少なくて済む場合には、該第2リール演出の終了前に停止制御テーブルを設定すること、すなわち該第2リール演出が終了する前までに停止制御テーブルの設定を完了させることで、停止制御テーブルの設定により停止操作の有効化が遅れてしまうことを防止できる。 On the other hand, in the reel control process, the main control unit 41 of the present embodiment executes the reel rotation start process before validly setting the acceptance of the stop operation by the stop switches 8L, 8C, 8R, and In the reel rotation start process, a reel effect is executed. As the reel effect, a first reel effect that stops the reel at a specific position and a second reel effect that does not stop the reel at a specific position are executed. When it is possible to execute the first reel effect in the reel rotation start process, the stop control table setting process is executed after the end of the first reel effect to stop all reels 2L, 2C, 2R. When the control table is set and the second reel effect is executed, stop control table setting processing is executed before executing the second reel effect, and stop control is performed for all reels 2L, 2C, and 2R. Since the table is set, when the first reel effect is executed, when terminating the first reel effect, the control for accelerating the reel to rotate at a constant speed until the stop operation is validated. Even if the stop control table is set after the end of the first reel effect, the control for accelerating is also performed. Therefore, the setting of the stop control table may delay the activation of the stop operation more than necessary. On the other hand, when the second reel effect is executed, that is, when the control for accelerating the reel to rotate at a constant speed after the end of the second reel effect requires less control than the first reel effect, By setting the stop control table before the end of the second reel effect, that is, by completing the setting of the stop control table before the end of the second reel effect, the stop operation is enabled by the setting of the stop control table. Can be prevented from being delayed.

また、本実施例のメイン制御部41は、第1リール演出が実行される場合には、該第1リール演出の終了後に、停止制御テーブル設定処理を実行して、遊技において各リール2L、2C、2Rについて停止制御を行うための停止制御テーブルを設定するので、第1リール演出に伴いリールを停止させるための停止制御テーブルを設定するRAM41cの領域と、遊技においてリールを停止させるための停止制御テーブルを設定するRAM41cの領域とを、共通の所定領域とすることができる。 Further, in the case where the first reel effect is executed, the main control unit 41 of the present embodiment executes the stop control table setting process after the end of the first reel effect, and each reel 2L, 2C in the game. Since the stop control table for performing the stop control for 2R is set, the area of the RAM 41c for setting the stop control table for stopping the reel according to the first reel effect and the stop control for stopping the reel in the game The area of the RAM 41c for setting the table can be a common predetermined area.

尚、本実施例では、メイン制御部41は、第1リール演出の終了時にリール2L、2C、2Rを所定の図柄が入賞ラインLNに揃うように停止させ、その後、リールを定速回転まで加速させる際には、各リール2L、2C、2Rをランダムに遅延させて順次回転を開始させる構成であるが、第1リール演出として、所定の図柄の組合せを入賞ラインLNに揃えずに停止させる構成とするとともに、リール2L、2C、2Rの回転開始をランダムに遅延させる制御を行わずに、第1リール演出の終了に伴い停止状態であるリールを通常の回転開始時と同様に一律のタイミングで始動させて定速回転まで加速させる構成としても良く、このような構成においても、本実施例と同様に、第1リール演出が実行される場合には、該第1リール演出の終了後に停止制御テーブルを設定する構成とすることで、該停止制御テーブルの設定により必要以上に停止操作の有効化が遅れることがない。 In this embodiment, the main control unit 41 stops the reels 2L, 2C, 2R at the end of the first reel effect so that the predetermined symbols are aligned with the pay line LN, and then accelerates the reels to a constant speed. When doing, the reels 2L, 2C, and 2R are delayed at random and sequentially started to rotate, but as the first reel effect, a configuration in which a predetermined symbol combination is stopped without being aligned with the pay line LN At the same time, the reels 2L, 2C, and 2R are not controlled to be delayed at random, and the reels that are in a stopped state at the end of the first reel effect are uniformly distributed at the same timing as when the normal rotation is started. It may be configured to be started and accelerated to a constant speed rotation. Even in such a configuration, when the first reel effect is executed, the stop control is performed after the end of the first reel effect. By setting the table, the setting of the stop control table does not delay the activation of the stop operation more than necessary.

また、本実施例では、メイン制御部41は、第1リール演出を実行する場合には、該第1リール演出の終了後に停止制御テーブル設定処理を実行して、全てのリール2L、2C、2Rについて停止制御テーブルを設定する構成であるが、少なくとも第1リール演出において停止制御テーブルを使用するリールの制御が終了した以後に、遊技のために停止制御テーブルの設定を開始する構成であれば良く、例えば、第1リール演出中であっても所定の停止図柄の組合せを入賞ラインLNに停止させる制御が終了したときに、遊技のための停止制御テーブル設定処理を開始することで、第1リール演出の制御と並行して停止制御テーブルの設定を行う構成であっても良い。 Further, in the present embodiment, when executing the first reel effect, the main control unit 41 executes the stop control table setting process after the end of the first reel effect, and all the reels 2L, 2C, 2R. Regarding the configuration of setting the stop control table, it is sufficient if the configuration of setting the stop control table for the game is started at least after the control of the reels using the stop control table is finished in the first reel effect. , For example, by starting the stop control table setting process for the game when the control for stopping the combination of the predetermined stop symbols on the pay line LN is finished even during the first reel effect, the first reel The stop control table may be set in parallel with the effect control.

また、本実施例では、メイン制御部41は、第2リール演出が実行される場合には、該第2リール演出を開始する前に停止制御テーブル設定処理を実行して、遊技のために全てのリール2L、2C、2Rについて停止制御テーブルを設定する構成であるが、メイン制御部41は、少なくとも第2リール演出の終了前に停止制御テーブル設定処理を実行する構成であれば良く、第2リール演出の実行中すなわち第2リール演出の制御と並行して停止制御テーブルを設定する構成でも良い。 Further, in the present embodiment, when the second reel effect is executed, the main control unit 41 executes the stop control table setting process before starting the second reel effect, so that all of the game is performed for a game. The configuration is such that the stop control table is set for the reels 2L, 2C, and 2R, but the main control unit 41 may be configured to execute the stop control table setting process at least before the end of the second reel effect. The stop control table may be set while the reel effect is being executed, that is, in parallel with the control of the second reel effect.

また、本実施例では、メイン制御部41は、停止制御テーブル設定処理において、ROM41bに格納されているテーブルインデックス、テーブル作成用データを参照して、回転中のリール別に停止操作が行われたタイミング別の滑りコマ数を特定可能にRAM41cの所定領域に設定することで、回転中のリールについて停止操作が行われる前に、停止制御テーブルを予め作成して設定する構成であるが、停止制御テーブル設定処理は、回転中のリールについて停止操作が有効となる前に、予め停止制御テーブルをRAM41cの所定領域に設定する処理であれば良く、ROM41bに格納されている停止制御テーブルをRAM41cの所定領域に複製することで停止制御テーブルをRAM41cの所定領域に設定する構成、ROM41bに圧縮された状態で格納されている停止制御テーブルをRAM41cの所定領域に展開して設定することで停止制御テーブルを設定する構成、ROM41bに格納されている停止制御テーブルの一部をRAM41cの所定領域に複製または展開して設定することで停止制御テーブルをRAM41cの所定領域に設定する構成、ROM41bに格納されているテーブルインデックス、テーブル作成用データを参照せずに、停止操作がされたタイミングに応じて停止可能な停止位置を検索・特定してRAM41cの所定領域に設定する処理を、全ての停止操作のタイミングについて行うことで停止制御テーブルを作成して、予めRAM41cの所定領域に設定する構成、ROM41bに格納されている基準となる停止制御テーブルをRAM41cの所定領域に設定した後、当該停止制御テーブルの一部を遊技状況等に応じて変更することで停止制御テーブルを作成して、予めRAM41cの所定領域に設定する構成、これらの構成を組合せて停止制御テーブルを作成して設定する構成等であっても良い。 Further, in the present embodiment, the main control unit 41 refers to the table index and the table creation data stored in the ROM 41b in the stop control table setting process, and the timing at which the stop operation is performed for each spinning reel. By setting another number of sliding symbols in a predetermined area of the RAM 41c so that it can be specified, a stop control table is created and set in advance before the stop operation is performed on the spinning reel. The setting process may be a process of setting the stop control table in a predetermined area of the RAM 41c in advance before the stop operation of the spinning reel becomes effective, and the stop control table stored in the ROM 41b is set in the predetermined area of the RAM 41c. A configuration in which the stop control table is set in a predetermined area of the RAM 41c by duplicating it into a storage medium, and the stop control table stored in the ROM 41b in a compressed state is expanded and set in a predetermined area of the RAM 41c to set the stop control table A configuration for setting the stop control table in a predetermined area of the RAM 41c by copying or expanding a part of the stop control table stored in the ROM 41b into a predetermined area of the RAM 41c and setting the table. A process of searching and identifying a stop position where a stop operation can be performed and setting the stop position in a predetermined area of the RAM 41c according to the timing when the stop operation is performed is performed for all the stop operation timings without referring to the index and the table creation data. In this way, a stop control table is created and set in advance in a predetermined area of the RAM 41c. After setting a reference stop control table stored in the ROM 41b in a predetermined area of the RAM 41c, a part of the stop control table is set. The stop control table may be created by changing it according to the game situation or the like, and may be set in a predetermined area of the RAM 41c in advance, or the stop control table may be created and set by combining these configurations. ..

本実施例のメイン制御部41は、リール制御処理でのリール回転開始処理において、リール演出を行うか否かを判定し、リール演出を行わないと判定した場合には、全てのリール2L、2C、2Rを所定の定速回転まで加速させる制御を開始させた後、停止制御テーブル設定処理を実行して、各リール2L、2C、2Rについて停止制御テーブルを設定することで、リール2L、2C、2Rが定速回転となる前に停止制御テーブルを設定するので、リール2L、2C、2Rが定速回転となった後、速やかにストップスイッチ8L、8C、8Rの操作を有効化することができる。 In the reel rotation start process of the reel control process, the main control unit 41 of the present embodiment determines whether or not the reel effect is performed, and when it is determined that the reel effect is not performed, all the reels 2L, 2C. , 2R is started to control to accelerate to a predetermined constant speed rotation, and then a stop control table setting process is executed to set a stop control table for each reel 2L, 2C, 2R. Since the stop control table is set before the 2R becomes the constant speed rotation, after the reels 2L, 2C, 2R become the constant speed rotation, the operation of the stop switches 8L, 8C, 8R can be quickly activated. ..

尚、実施例では、メイン制御部41は、リール回転開始処理においてリール演出を行わないと判定した場合は、全てのリール2L、2C、2Rを所定の定速回転まで加速させる制御を開始させた後、各リール2L、2C、2Rについて停止制御テーブルを設定する構成であるが、リール演出を行わないと判定した場合に、全てのリール2L、2C、2Rの回転が開始された後、所定の定速回転に加速されるまでの間に、回転制御中のリールについて停止制御テーブルを設定する構成であれば良く、リール演出を行わないと判定した場合には、回転制御中の停止制御テーブルの設定を行った後に、全てのリール2L、2C、2Rを所定の定速回転まで加速させる制御を実行する構成、リールを所定の定速回転まで加速させる制御と回転制御中のリールの停止制御テーブルを設定する処理とを並行して実行する構成でも良い。 In the embodiment, the main control unit 41 starts control to accelerate all the reels 2L, 2C, and 2R to a predetermined constant speed rotation when it is determined that the reel effect is not performed in the reel rotation start process. After that, the stop control table is set for each of the reels 2L, 2C, and 2R. However, when it is determined that the reel effect is not performed, the rotation of all the reels 2L, 2C, and 2R is started, and then the predetermined control is performed. It suffices that the stop control table is set for the reels under rotation control until the reels are controlled to rotate at a constant speed. If it is determined that the reel effect is not performed, the stop control table under rotation control is changed. A configuration for executing control to accelerate all reels 2L, 2C, and 2R to a predetermined constant speed rotation after setting, a control for accelerating the reels to a predetermined constant speed rotation, and a reel stop control table during rotation control It may be configured to execute the processing for setting the.

本実施例のメイン制御部41は、リール演出として、リール2L、2C、2Rを加速する際の変動態様を通常のゲームとは異なる態様とする第2リール演出を実行可能であり、リール制御処理でのリール回転開始処理において、第2リール演出を実行する場合には、該第2リール演出の終了前に停止制御テーブル設定処理を実行して、全てのリール2L、2C、2Rについて停止制御テーブルを設定するので、第2のリール演出の終了後、すぐにリールが定速回転となっても、速やかにストップスイッチ8L、8C、8Rの操作を有効化できる。 As the reel effect, the main control unit 41 of the present embodiment can execute a second reel effect in which the variation mode when accelerating the reels 2L, 2C, and 2R is different from the normal game, and the reel control process. In the reel rotation start process in step 1, when the second reel effect is executed, the stop control table setting process is executed before the end of the second reel effect, and the stop control table for all reels 2L, 2C, 2R. Is set, the operation of the stop switches 8L, 8C, 8R can be promptly validated even if the reel is rotated at a constant speed immediately after the end of the second reel effect.

本実施例のメイン制御部41は、リール制御処理において、各リール2L、2C、2Rの回転を開始させた後、全てのリールの加速が完了して定速回転となったと判定した場合に、当該リールの加速が完了した旨を特定可能な加速完了コマンドを設定してサブ制御部91に対して送信させる一方で、リール制御処理において、各リール2L、2C、2Rの回転を開始させた後、回転エラーチェック処理を実行していずれかのリールの回転異常が検出されたときには、再加速手処理を実行して該当するリールを再度加速させ、その後、リールが定速回転となったと判定した場合には、加速完了コマンドを設定することなく、当該コマンドを送信させないので、サブ制御部91側で、加速完了コマンドを受信したときには、リールの回転異常による再度の加速完了ではなく、ゲーム開始後の最初の加速完了であることを特定でき、サブ制御部91は、当該加速完了コマンドに基づいて全てのリール2L、2C、2Rが最初に定速回転となったこと伴う演出(例えば、第1停止操作の指示)を実行することができる。 In the reel control process, when the main control unit 41 of the present embodiment determines that all the reels 2L, 2C, and 2R have started to rotate, and then all of the reels have been accelerated to become the constant speed rotation, After starting the rotation of each reel 2L, 2C, 2R in the reel control process while setting an acceleration completion command that can specify that the acceleration of the reel is completed and transmitting it to the sub-control unit 91. When the rotation error check processing is executed and any reel rotation abnormality is detected, the re-acceleration manual processing is executed to accelerate the corresponding reel again, and then it is determined that the reel is rotated at a constant speed. In this case, the acceleration completion command is not set and the command is not transmitted. Therefore, when the acceleration completion command is received on the sub-control unit 91 side, it is not the completion of the acceleration again due to the abnormal rotation of the reel, but the start of the game. It is possible to specify that the first acceleration is completed, and the sub-control unit 91 causes the reels 2L, 2C, and 2R to rotate at a constant speed for the first time based on the acceleration completion command (for example, the first effect). The instruction of the stop operation) can be executed.

本実施例のメイン制御部41は、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選したゲームにおいて、当該内部抽選の抽選結果に基づいて行われるART抽選に当選した場合には、前兆期間が経過した後のゲームにおいて、ART開始演出としてリール演出を実行させる、すなわちリール演出を実行するゲームよりも前のゲームにおいて内部抽選にて所定の抽選対象役が当選したことに応じてリール演出を実行可能であるので、リール演出を実行するゲームよりも前のゲームにおいて成立した特定の条件としてART抽選が行われること、すなわち内部抽選にて所定の抽選対象役が当選することが成立することで、そのゲーム以降の動向を注目させることができる。 In the game in which a predetermined lottery target combination (strong cherry, weak cherry, watermelon, common bell in the present embodiment) is won in the internal lottery, the main control unit 41 of the present embodiment is based on the lottery result of the internal lottery. When the player wins the ART lottery to be performed, the reel effect is executed as the ART start effect in the game after the precursor period elapses, that is, the predetermined lottery is performed by the internal lottery in the game before the game in which the reel effect is executed. Since the reel effect can be executed in response to the winning of the lottery target winning combination, the ART lottery is performed as a specific condition established in the game before the game in which the reel effect is executed, that is, the internal lottery is predetermined. When the winning target of the lottery is won, the trend after the game can be paid attention.

尚、本実施例では、リール演出を実行するゲームよりも前のゲームにおいて成立した特定の条件とは、リール演出を実行するゲームよりも前の内部抽選にて所定の抽選対象役が当選することであるが、リール演出を実行するゲームよりも前のゲームにおいて成立する条件あれば良く、例えば、リール演出を実行するゲームまでに所定数のゲームが行われたことや、リール演出を実行するゲームよりも前の複数ゲームにおいて所定の図柄の組合せが、入賞ラインLNに停止されたこと、リール演出を実行するゲームよりも前のゲームにおいて内部抽選とは独立して実行される抽選に当選したこと等であっても良い。また、特定の条件が成立してから所定ゲーム数が経過することでリール演出を実行する構成でも良いし、特定の条件が成立したゲームの後に、別の条件が成立することでリール演出を実行する構成でも良い。 In the present embodiment, the specific condition established in the game prior to the game in which the reel effect is executed is that a predetermined lottery target winning combination is won in the internal lottery prior to the game in which the reel effect is executed. However, it suffices that the condition is satisfied in the game prior to the game in which the reel effect is executed. For example, a predetermined number of games have been played before the game in which the reel effect is executed, or the game in which the reel effect is executed. A combination of predetermined symbols in a plurality of games prior to the game is stopped on the pay line LN, and winning of a lottery executed independently of the internal lottery in the game prior to the game that executes the reel effect And so on. Further, the reel effect may be executed when a predetermined number of games have passed after the specific condition is satisfied, or the reel effect is executed when another condition is satisfied after the game where the specific condition is satisfied. It may be configured.

また、本実施例では、ART抽選に当選した場合には、前兆期間が経過した後のゲームにおいて、ART開始演出としてリール演出を実行させる構成であり、当該リール演出として、特定の位置にリールを停止させる第1リール演出を適用しているが、当該リール演出として特定の位置にリールを停止させることがない第2リール演出を適用する構成であっても良く、このような構成であっても、内部抽選にて所定の抽選対象役が当選することが成立することで、そのゲーム以降の動向を注目させることができる。 In addition, in the present embodiment, when the ART lottery is won, the reel effect is executed as the ART start effect in the game after the precursor period has elapsed, and the reel is placed at a specific position as the reel effect. Although the first reel effect to be stopped is applied, the second reel effect that does not stop the reel at a specific position may be applied as the reel effect, or such a configuration is also applicable. By establishing that a predetermined lottery target winning combination is won in the internal lottery, it is possible to draw attention to the trend after the game.

本実施例のメイン制御部41は、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選したゲームにおいて、ART可能性示唆演出抽選を行って、当該ART可能性示唆演出抽選に当選したときには、当該ゲームにおいてART可能性示唆演出としてリール演出を実行させることが可能であるので、所定の条件として内部抽選において所定の抽選対象役が当選したゲームの動向を注目させることができる。 In the internal lottery, the main control unit 41 of the present embodiment performs an ART possibility suggestion effect lottery in a game in which a predetermined lottery target combination (strong cherry, weak cherry, watermelon, common bell in this embodiment) is won. , When the ART possibility suggestion effect lottery is won, it is possible to execute the reel effect as the ART possibility suggestion effect in the game, so that the predetermined lottery target combination is won in the internal lottery as the predetermined condition. The trend of can be paid attention.

尚、本実施例では、内部抽選において所定の抽選対象役が当選したことに基づいてART可能性示唆演出抽選を行い、ART可能性示唆演出抽選に当選した場合に、当該ART可能性示唆演出抽選の契機となった内部抽選が行われたゲームにおいて、ART可能性示唆演出としてリール演出を実行する構成であるが、ART可能性示唆演出としてのリール演出は、当該リール演出を行うゲームにおいて所定条件が成立したことに基づいて実行されるものあれば良く、内部抽選以外の他の条件(ART抽選の当選結果等)が成立したこと基づいて実行する構成としても良い。 In the present embodiment, the ART possibility suggestion production lottery is performed based on the predetermined lottery target winning combination in the internal lottery, and when the ART possibility suggestion production lottery is won, the ART possibility suggestion production lottery is performed. In the game in which the internal lottery triggered by the above is performed, the reel effect is executed as the ART possibility suggesting effect. However, the reel effect as the ART possibility suggesting effect is a predetermined condition in the game in which the reel effect is performed. It suffices that it is executed based on the fact that the condition is established, and that it is executed based on the condition other than the internal lottery being established (such as the result of winning the ART lottery).

また、本実施例では、ART可能性示唆演出抽選に当選した場合には、当該ART可能性示唆演出抽選に当選したゲームにおいて、ART可能性示唆演出としてリール演出を実行させる構成であり、当該リール演出として、特定の位置にリールを停止させることがない第2リール演出を適用しているが、当該リール演出として特定の位置にリールを停止させる第1リール演出を適用する構成であっても良く、このような構成であっても、内部抽選にて所定の抽選対象役が当選することが成立することで、そのゲーム以降の動向を注目させることができる。 Further, in the present embodiment, when the ART possibility suggestion production lottery is won, the reel production is executed as the ART possibility suggestion production in the game won in the ART possibility suggestion production lottery. As the effect, the second reel effect that does not stop the reel at the specific position is applied, but the first reel effect that stops the reel at the specific position may be applied as the reel effect. Even with such a configuration, if a predetermined lottery target combination is won in the internal lottery, it is possible to draw attention to the trend after the game.

本実施例のメイン制御部41は、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー、スイカ、共通ベル)が当選したことに基づいて行われるART抽選に当選した場合には、前兆期間が経過した後に、ART開始演出としてリール演出を実行させることが可能であるとともに、内部抽選において所定の抽選対象役が当選したゲームにおいて、ART可能性示唆演出抽選を行って、当該ART可能性示唆演出抽選に当選したときには、当該ゲームにおいてART可能性示唆演出としてリール演出を実行させることが可能であって、ART可能性示唆演出抽選に当選したゲームにおいて、ART開始演出を実行する場合には、ART可能性示唆演出の実行を制限して、ART開始演出のみを実行するので、特定の条件として内部抽選にて所定の抽選対象役が当選したことに基づいて予めリール演出が実行されることが決まっている状況で、さらに所定の条件として内部抽選にて所定の抽選対象役が当選したこと基づくリール演出が制限されることでリール演出を実行することに伴う制御が複雑となってしまうことがない。 When the main control unit 41 of the present embodiment wins the ART lottery performed based on the fact that a predetermined lottery target combination (strong cherry, weak cherry, watermelon, common bell in the present embodiment) is won in the internal lottery In the game, the reel effect can be executed as the ART start effect after the precursor period has elapsed, and the ART possibility suggestion effect effect lottery is performed in the game in which the predetermined lottery target winning combination is won in the internal lottery. When the ART possibility suggestion production lottery is won, reel production can be executed as the ART possibility suggestion production in the game, and the ART start production is executed in the game won in the ART possibility suggestion production lottery. In this case, since the execution of the ART possibility suggestion effect is limited and only the ART start effect is executed, the reel effect is preliminarily set based on the fact that a predetermined lottery target winning combination is won in the internal lottery as a specific condition. In a situation where it is decided to be executed, the reel effect based on the fact that a predetermined lottery target winning combination is won in the internal lottery is further limited as a predetermined condition, and the control accompanying the execution of the reel effect becomes complicated. It never becomes.

また、このように、本実施例のメイン制御部41は、リール制御処理において、停止制御テーブル設定処理を実行して、各リール2L、2C、2Rについて停止制御を行うための停止制御テーブルを設定する構成である。 Further, as described above, the main control unit 41 of the present embodiment executes the stop control table setting process in the reel control process to set the stop control table for performing the stop control for each reel 2L, 2C, 2R. It is a configuration that does.

このような構成では、複数のリールが回転している状況で一のリールの停止操作がされた場合に、当該停止操作がされたリールの停止後に、残りのリールについてさらに停止制御テーブルを設定するようにすると、一のリールの停止後、残りのリールについての停止制御テーブルの設定が間に合わなくなったり、停止操作の有効化が遅れる虞がある。 With such a configuration, when one reel is stopped while the plurality of reels are rotating, after the reel that has been stopped is stopped, the stop control table is further set for the remaining reels. In this case, after one reel is stopped, the settings of the stop control tables for the remaining reels may not be in time, or the activation of the stop operation may be delayed.

これに対して、本実施例のメイン制御部41は、リール制御処理において、有効な停止操作が検出されたときに、停止制御テーブル設定処理を実行して、未だ回転制御を行っている残りのリールについて停止制御テーブルの設定を行い、その後、全てのリールが停止していないと判定した場合に、残りのリールについて停止操作を検出するための制御を行うので、複数のリールの変動中にいずれかのリールに対応するストップスイッチが操作されたときに、該ストップスイッチに対応するリールが停止される前に他の回転制御中のリールについて停止制御テーブルを設定されて、停止制御テーブルの設定によりストップスイッチの有効かが遅れてしまうことを防止できる。 On the other hand, the main control unit 41 of the present embodiment executes the stop control table setting process when a valid stop operation is detected in the reel control process, and the remaining rotation control is still performed. When the stop control table is set for the reels and then it is determined that not all reels are stopped, the control for detecting the stop operation is performed for the remaining reels. When the stop switch corresponding to that reel is operated, the stop control table is set for the other reels under rotation control before the reel corresponding to the stop switch is stopped. It is possible to prevent the effectiveness of the stop switch from being delayed.

本実施例のメイン制御部41は、リール制御処理にて実行する停止制御テーブル設定処理において、未停止のリールがあるか否かを判定して、未停止のリールがある場合には、未停止のリールのうちの一のリールについて停止制御テーブルを設定する処理を、未停止の全てのリールに対して順次行うことで、3つのリール2L、2C、2Rの回転制御中にいずれかのリールに対応するストップスイッチが操作されたときには、該ストップスイッチに対応するリールが停止される前に他の2つの回転制御中のリールの停止制御テーブルを設定し、2つのリールの回転制御中にいずれかのリールに対応するストップスイッチが操作されたときには、該ストップスイッチに対応するリールが停止される前に他の1つの回転制御中のリールの停止制御テーブルを設定するので、いずれの状況においても停止制御テーブルの設定によりストップスイッチ8L、8C、8Rの有効化が遅れてしまうことを防止できる。 In the stop control table setting process executed in the reel control process, the main control unit 41 of the present embodiment determines whether there is an unstopped reel. The process of setting the stop control table for one of the reels is sequentially performed for all the reels that have not been stopped, so that one of the reels is controlled during rotation control of the three reels 2L, 2C, 2R. When the corresponding stop switch is operated, the reel stop control table for the other two rotation controls is set before the reel corresponding to the stop switch is stopped, and one of the reel stop control tables is controlled during the rotation control of the two reels. When the stop switch corresponding to the reel is operated, the reel stop control table for the other reel under rotation control is set before the reel corresponding to the stop switch is stopped. It is possible to prevent the delay of activation of the stop switches 8L, 8C, 8R by setting the control table.

本実施例のメイン制御部41は、メイン処理においてリール制御処理を実行する一方で、メイン処理の実行中の定期的に割り込んでタイマ割込処理(メイン)を実行し、リール制御処理において、制御テーブル設定処理を実行して、回転制御中のリールの停止制御テーブルを設定する構成であり、制御テーブル設定処理では、タイマ割込処理(メイン)が実行されるまで待機し、タイマ割込処理(メイン)が実行される毎に、回転制御中の一のリールについて停止制御テーブルを設定する制御を繰り返し実行して、回転制御中の全てのリールの停止制御テーブルを設定するので、停止制御テーブルを設定する処理が行われる期間にタイマ割込処理(メイン)が意図せず実行されることで制御が複雑となってしまうことがない。 The main control unit 41 of the present embodiment executes the reel control process in the main process, while periodically executing the timer interrupt process (main) during execution of the main process. The configuration is such that a table setting process is executed to set a stop control table for the reels under rotation control. In the control table setting process, the process waits until the timer interrupt process (main) is executed, and the timer interrupt process ( Each time (main) is executed, the control for setting the stop control table for one reel under rotation control is repeatedly executed to set the stop control table for all reels under rotation control. Control is not complicated because the timer interrupt process (main) is unintentionally executed during the period in which the setting process is performed.

尚、本実施例では、メイン制御部41は、リール制御処理において実行する制御テーブル設定処理において、タイマ割込処理(メイン)が実行される毎に、回転制御中の一のリールについて停止制御テーブルを設定する制御を繰り返し実行することで、回転制御中の全てのリールについて停止制御テーブルを設定する処理を、回転制御中の一のリール毎に分割して実行する構成であるが、タイマ割込処理(メイン)が実行される時間間隔未満の時間で一の処理が完了するように、回転制御中の全てのリールについて停止制御テーブルを設定する処理を複数個に分割する構成であれば良く、例えば、回転制御中の一のリールについて停止制御テーブルを設定する処理を複数段階に分けて、一の段階が終了する毎に、タイマ割込処理(メイン)を実行させた後、次段階の処理を実行する制御を繰り返し行うことで、回転制御中の全てのリールについて停止制御テーブルを設定する構成であっても良い。このような構成においても、停止制御テーブル設定処理が行われる期間において意図しないタイミングでタイマ割込処理(メイン)が実行されることで制御が複雑となってしまうことがない。 In this embodiment, the main control unit 41 sets the stop control table for one reel under rotation control every time the timer interrupt process (main) is executed in the control table setting process executed in the reel control process. By repeating the control for setting the stop control table for all reels under rotation control, the processing for setting the stop control table is executed separately for each reel under rotation control. The process of setting the stop control table for all reels under rotation control may be divided into a plurality of processes so that one process is completed in a time period less than the time interval in which the process (main) is executed. For example, the process of setting the stop control table for one reel under rotation control is divided into a plurality of stages, and the timer interrupt process (main) is executed every time one stage is completed, and then the process of the next stage is executed. The stop control table may be set for all reels under rotation control by repeatedly performing control for executing. Even in such a configuration, the control does not become complicated because the timer interrupt process (main) is executed at an unintended timing during the period in which the stop control table setting process is performed.

本実施例のメイン制御部41は、内部抽選において所定の抽選対象役(本実施例では、強チェリー、弱チェリー)が当選した場合に、フリーズ抽選を行い、当該フリーズ抽選にて停止フリーズが当選した場合には、複数のリールの回転制御中にいずれかのリールに対応するストップスイッチが操作されたときに、他の回転制御中のリールに対応するストップスイッチの有効化を遅延させる遅延処理を実行することが可能であり、リール制御処理において、有効なストップスイッチによる停止操作が検出されたときに、当該停止操作に対応するリールを停止させる制御を行い、回転制御中の他のリールについて停止制御テーブル設定処理を行った後に、遅延処理を実行する、すなわちフリーズ抽選に当選したことに基づいて遅延処理を実行する場合には、該遅延処理を開始する前に他の回転制御中のリールの停止制御テーブルを設定するので、遅延処理の終了後、速やかにストップスイッチの操作を有効化できる。 The main control unit 41 of this embodiment performs a freeze lottery when a predetermined lottery target combination (strong cherry, weak cherry in this embodiment) is won in the internal lottery, and a stop freeze is won in the freeze lottery. In this case, when the stop switch corresponding to one of the reels is operated during the rotation control of the plurality of reels, a delay process for delaying the activation of the stop switch corresponding to the reels under the other rotation control is delayed. It is possible to execute, and in the reel control process, when the stop operation by the effective stop switch is detected, the reel corresponding to the stop operation is controlled to be stopped, and the other reels under the rotation control are stopped. After performing the control table setting process, when performing the delay process, that is, when performing the delay process based on winning the freeze lottery, before starting the delay process, the reels in the other spin control are started. Since the stop control table is set, the operation of the stop switch can be promptly validated after the end of the delay process.

次に、メイン制御部41が所定の間隔で起動処理やゲーム処理に割り込んで実行するタイマ割込処理(メイン)について、図21に基づいて説明する。 Next, the timer interrupt process (main) executed by the main control unit 41 by interrupting the start process and the game process at predetermined intervals will be described with reference to FIG.

図21に示すように、タイマ割込処理(メイン)では、まず、タイマ割込を禁止に設定し(Sf1)、使用中のレジスタをスタック領域に退避させる(Sf2)。尚、タイマ割込処理(メイン)の実行期間中は自動的に他の割込が禁止されるようになっており、Sf1のステップによりプログラムの実行によっても他の割込が禁止されることで、2重に他の割込が禁止にされることとなり、これにより、タイマ割込処理(メイン)の実行中に、重複して他の割込が実行されてしまうことを回避できる。 As shown in FIG. 21, in the timer interrupt process (main), first, the timer interrupt is prohibited (Sf1), and the register in use is saved in the stack area (Sf2). It should be noted that other interrupts are automatically prohibited during execution of the timer interrupt process (main), and other interrupts are also prohibited by executing the program in step Sf1. This will doubly prohibit other interrupts, which can prevent other interrupts from being duplicated during the execution of the timer interrupt process (main).

Sf2のステップにおいてレジスタを退避させた後は、停電判定処理を実行する(Sf3)。停電判定処理では、電断検出回路48から電圧低下信号が入力されているか否かを判定し、電圧低下信号が入力されていれば、前回の停電判定処理でも電圧低下信号が入力されていたか否かを判定し、前回の停電判定処理でも電圧低下信号が入力されていた場合には停電と判定し、その旨を示す電断フラグを設定する。 After saving the registers in the step Sf2, a power failure determination process is executed (Sf3). In the power failure determination process, it is determined whether or not the voltage drop signal is input from the power failure detection circuit 48. If the voltage drop signal is input, it is determined whether or not the voltage drop signal was also input in the previous power failure determination process. If the voltage drop signal is input even in the previous power failure determination processing, it is determined that there is a power failure, and the power failure flag indicating that effect is set.

Sf3のステップにおける停電判定処理の後、電断フラグが設定されているか否かを判定し(Sf4)、電断フラグが設定されていなければ、Sf5に進み、電断フラグが設定されていた場合には、電断処理(メイン)を実行する。電断処理(メイン)では、破壊診断用データ(本実施例では、5A(H))をセットする処理、全ての出力ポートを初期化する処理、RAM41cの全ての格納領域(未使用領域及び未使用スタック領域を含む)の排他的論理和が0になるようにRAMパリティ調整用データを計算してセットし、RAM41cへのアクセスを禁止する処理等を実行した後、電圧が低下してCPU41aが停止するまで待機する。 After the power failure determination process in step Sf3, it is determined whether or not the power failure flag is set (Sf4). If the power failure flag is not set, the process proceeds to Sf5 and the power failure flag is set. For that, the power interruption process (main) is executed. In the power interruption process (main), the process of setting the destruction diagnosis data (5A(H) in this embodiment), the process of initializing all the output ports, and all the storage areas (the unused area and the unused area) of the RAM 41c. RAM parity adjustment data is calculated and set so that the exclusive OR of (including the used stack area) becomes 0, and after the processing of prohibiting access to the RAM 41c is executed, the voltage drops and the CPU 41a Wait until you stop.

Sf4のステップにおいて電断フラグが設定されていないと判断した場合には、入力ポートから各種スイッチ類の検出データを入力するポート入力処理(Sf5)、スイッチ類の検出状態に変化があったか否かの判定、操作検出コマンドの送信要求等を行うスイッチ入力判定処理(Sf21)を実行する。 If it is determined in step Sf4 that the power failure flag has not been set, a port input process for inputting detection data of various switches from the input port (Sf5) and whether or not there is a change in the detection state of the switches A switch input determination process (Sf21) for making a determination, a request to send an operation detection command, and the like is executed.

次いで、4種類のタイマ割込1〜4から当該タイマ割込処理(メイン)において実行すべきタイマ割込を識別するための分岐用カウンタを1進めるように更新する(Sf7)。Sf7のステップでは、分岐用カウンタ値が0〜2の場合に1が加算され、カウンタ値が3の場合に0に更新される。すなわち分岐用カウンタ値は、タイマ割込処理(メイン)が実行される毎に、0→1→2→3→0・・・の順番でループする。そして、分岐用カウンタの値は、タイマ割込処理(メイン)において実行される各処理において参照され、例えば、分岐用カウンタが所定値となったときに所定の制御を実行する等、各処理内の制御が分岐されることとなる。 Next, the branch counter for identifying the timer interrupt to be executed in the timer interrupt processing (main) from the four types of timer interrupts 1 to 4 is updated so as to be incremented by 1 (Sf7). In the step of Sf7, 1 is added when the branch counter value is 0 to 2 and updated to 0 when the counter value is 3. That is, the branch counter value loops in the order of 0→1→2→3→0... Every time the timer interrupt process (main) is executed. Then, the value of the branch counter is referred to in each process executed in the timer interrupt process (main), and for example, a predetermined control is executed when the branch counter reaches a predetermined value. Control will be branched.

Sf7のステップにおいてタイマ割込の分岐用カウンタを更新した後は、各種時間カウンタを更新する時間カウンタ更新処理(Sf8)、各種LED等の表示器をダイナミック点灯させるための点灯信号を設定して送信等を行うLEDダイナミック表示処理(Sf9)、外部出力信号の出力設定を更新して送信等する外部出力信号更新処理(Sf10)、コマンドキューに設定されたドアコマンドや操作終了コマンド等の各種コマンドを送信させる等を行うコマンド送信処理(Sf11)、を順次実行する。 After updating the timer interrupt branching counter in step Sf7, time counter update processing (Sf8) for updating various time counters, setting and sending a lighting signal for dynamically lighting various LEDs and other indicators LED dynamic display processing (Sf9) for performing the above, external output signal updating processing (Sf10) for updating and transmitting the output setting of the external output signal, and various commands such as door commands and operation end commands set in the command queue. A command transmission process (Sf11) for performing transmission etc. is sequentially executed.

その後、ゲームの進行状況等に応じて各リールモータ32L、32C、32Rの励磁パターンの設定等を行ってリールの回転を制御するリール回転制御処理を実行する(Sf12)。リール回転制御処理では、ゲームの進行状況等に応じて上述のメイン処理のリール制御処理において設定された加速要求等の各種要求に基づいて、ROM41bの特定の領域のアドレスを指定する。当該ROM41bの特定の領域のアドレスには、リールの制御態様(加速、リール演出後加速、定速回転、停止、微振動等)に応じてリールモータの励磁相(φ1、φ2、φ3、φ4)を順次励磁するための励磁パターン及び励磁パターンの更新タイミングが記憶されている。そして、後述するリールステップ数等更新処理により更新されるリールステップ数カウンタ及び図柄ステップ数カウンタに基づいて当該更新タイミングとなったことが特定されるときに、指定する特定の領域のアドレスをRAM41cの所定領域に設定する。当該リール回転制御処理により指定されて設定されたアドレスから特定される励磁パターンが後述するモータ位相信号出力制御において参照されて、当該励磁パターンに応じた駆動信号が各リールモータ32L、32C、32Rに出力されることで、各リールモータ32L、32C、32Rが所定の制御態様で回転、停止等されることとなる。例えば、上述のリール回転停止処理にてRAM41cの所定領域に停止要求が設定されている場合には、当該停止要求が設定されていることに基づいて、RAM41cの所定領域を参照して、該当するリールを停止させる際の滑りコマ数を特定する。そして、当該滑りコマ数に基づいて所定の停止位置(本実施例では、リールの中段の位置)に停止させる図柄の図柄番号を特定し、図柄番号カウンタの値が当該図柄番号となり、かつ図柄ステップ数カウンタの値が所定の全相励磁制御の開始ステップ(本実施例では、各図柄共に12ステップ目)となったときに、停止要求に応じて指定する特定の領域のアドレスをRAM41cの所定領域に設定する。その後、当該アドレスがモータ位相信号出力制御において参照され、当該アドレスから特定される励磁パターンに応じた駆動信号が該当するリールモータに出力されることで、当該リールモータが停止されることとなる。 After that, the reel rotation control processing for controlling the rotation of the reel is performed by setting the excitation patterns of the reel motors 32L, 32C, 32R according to the progress of the game and the like (Sf12). In the reel rotation control process, an address of a specific area of the ROM 41b is designated based on various requests such as an acceleration request set in the reel control process of the above-mentioned main process according to the progress status of the game and the like. At the address of the specific area of the ROM 41b, the excitation phase (φ1, φ2, φ3, φ4) of the reel motor according to the reel control mode (acceleration, post-reel production acceleration, constant speed rotation, stop, slight vibration, etc.). The excitation pattern for sequentially exciting the and the update timing of the excitation pattern are stored. Then, when it is determined that the update timing has been reached based on the reel step number counter and the symbol step number counter updated by the reel step number update processing described later, the address of the specific area to be designated is stored in the RAM 41c. Set in a predetermined area. An excitation pattern specified by the address designated and set by the reel rotation control process is referred to in a motor phase signal output control described later, and a drive signal corresponding to the excitation pattern is supplied to each reel motor 32L, 32C, 32R. By being output, the reel motors 32L, 32C, 32R are rotated, stopped, etc. in a predetermined control mode. For example, when a stop request is set in a predetermined area of the RAM 41c in the reel rotation stop processing described above, the predetermined area of the RAM 41c is referred to based on the fact that the stop request is set, and it is applicable. Specify the number of sliding pieces when stopping the reel. Then, the symbol number of the symbol to be stopped at a predetermined stop position (in the present embodiment, the middle position of the reel) is specified based on the number of sliding pieces, and the value of the symbol number counter becomes the symbol number, and the symbol step When the value of the number counter reaches a predetermined all-phase excitation control start step (in the present embodiment, each symbol is the 12th step), an address of a specific area designated in response to a stop request is set in a predetermined area of the RAM 41c. Set to. After that, the address is referred to in the motor phase signal output control, and the drive signal corresponding to the excitation pattern specified from the address is output to the corresponding reel motor, whereby the reel motor is stopped.

また、リール回転制御処理では、後述するリールステップ数等更新処理を実行することで、RAM41cの所定領域に設定されているリールステップ数カウンタ(各リール2L、2C、2Rについて、そのタイマ割込時点でのリール基準位置からのステップ数を計数するカウンタであり、本実施例では、0〜400ステップを計数可能であり、リールが1周するために要する336ステップよりも大きな値に設定されている。)、図柄ステップ数カウンタ(後述する判定位置におけるそのタイマ割込時点での図柄ステップを計数するカウンタであり、本実施例では、0〜16ステップを計数可能であり、リールの1図柄当たりのステップ数(本実施例では16ステップ)よりも大きな値に設定されている。)、図柄番号カウンタ(そのタイマ割込時点で入賞ラインLN上に位置する図柄の図柄番号を計数するカウンタ)をそれぞれ更新する処理を実行するとともに、リールの回転状態が定速状態であるか否かを特定可能なリール速度状態フラグをRAM41cの所定領域に設定する。 In the reel rotation control process, a reel step number counter (for each reel 2L, 2C, 2R) set in a predetermined area of the RAM 41c is executed by executing a reel step number updating process described later. Is a counter for counting the number of steps from the reel reference position in the present embodiment. In this embodiment, it is possible to count 0 to 400 steps, and is set to a value larger than 336 steps required for the reel to make one turn. ), a symbol step number counter (a counter for counting the symbol steps at the time of the timer interruption at the determination position described later, and in the present embodiment, it is possible to count 0 to 16 steps, and one symbol per reel. It is set to a value larger than the number of steps (16 steps in the present embodiment), and a symbol number counter (a counter for counting the symbol numbers of symbols located on the pay line LN at the time of the timer interruption). While performing the updating process, a reel speed state flag capable of specifying whether or not the reel rotation state is the constant speed state is set in a predetermined area of the RAM 41c.

Sf12のステップにおいてリール回転制御処理を実行した後は、ソレノイド駆動回路46に対して制御信号を送信する等の処理を行うポート出力処理、(Sf13)、上述のSf12のステップのリール回転制御処理において指定された励磁パターンで各リールモータの各励磁相を励磁するためのモータ位相信号を各リールモータ32L、32C、32に対して出力するモータ位相信号出力処理を実行する(Sf14)。 After the reel rotation control processing is executed in the step Sf12, the port output processing for performing processing such as transmitting a control signal to the solenoid drive circuit 46 (Sf13), in the reel rotation control processing in the step Sf12 described above. A motor phase signal output process of outputting a motor phase signal for exciting each excitation phase of each reel motor to the respective reel motors 32L, 32C, 32 with the designated excitation pattern is executed (Sf14).

その後、Sf2のステップにおいて退避させたレジスタを、タイマ割込処理(メイン)の開始時の状態に復帰させ(Sf15)、タイマ割込を許可に設定して(Sf16)、タイマ割込処理(メイン)を終了させて、当該タイマ割込処理(メイン)が開始されたときのメイン処理に復帰させる。 After that, the registers saved in step Sf2 are returned to the state at the start of the timer interrupt processing (main) (Sf15), the timer interrupt is set to enable (Sf16), and the timer interrupt processing (main) is performed. ) Is ended, and the main processing when the timer interrupt processing (main) is started is returned to.

次に、メイン制御部41がタイマ割込処理(メイン)のリール回転制御処理内で実行する処理の1つであるリールステップ数等更新処理について、図22に基づいて説明する。 Next, the reel step number update processing, which is one of the processing executed by the main control unit 41 in the reel rotation control processing of the timer interrupt processing (main), will be described with reference to FIG.

メイン制御部41は、上述のタイマ割込処理(メイン)において、リール回転処理により各リールモータ32L、32C、32Rの回転を開始させた後、励磁パターンに応じて定められた所定の更新タイミング(例えば、リールが定速回転されているときは、タイマ割込が1回実行される毎、リールが加速制御されているときは、加速状況に応じてタイマ割込が所定回数実行される毎等)となる毎に、各リール2L、2C、2Rについて、リールステップ数等更新処理を実行して、リールステップ数カウンタ、図柄ステップ数カウンタ、図柄番号カウンタを更新する。 In the timer interrupt process (main) described above, the main control unit 41 starts the rotation of each reel motor 32L, 32C, 32R by the reel rotation process, and then the predetermined update timing (corresponding to the excitation pattern) ( For example, when the reel is rotated at a constant speed, each time a timer interrupt is executed, when the reel is under acceleration control, each time a timer interrupt is executed a predetermined number of times according to the acceleration situation, etc. ), each reel 2L, 2C, 2R, the reel step number update processing is executed, and the reel step number counter, the symbol step number counter, and the symbol number counter are updated.

図22に示すように、リールステップ数等更新処理では、まず、一のリール(本実施例では、左リール)のリールステップ数カウンタ及び図柄ステップ数カウンタにそれぞれ1加算した後(Sg1、Sg2)、当該図柄ステップ数カウンタの値が図柄ステップ数が1巡りしたこととなる16に達しているか否かを判定する(Sg3)。 As shown in FIG. 22, in the process of updating the reel step number, etc., first, after adding 1 to the reel step number counter and the symbol step number counter of one reel (the left reel in this embodiment) (Sg1, Sg2) , It is determined whether or not the value of the symbol step number counter has reached 16 which means that the number of symbol steps has reached one round (Sg3).

Sg3のステップにおいて図柄ステップ数カウンタの値が16に達していると判定した場合は、当該図柄ステップ数カウンタを初期化して0に設定し(Sg4)、左リールの図柄番号カウンタに1加算する(Sg5)。その後、当該図柄番号カウンタの値が1リール当たりの図柄の総数である21に達したか否か、すなわち左リールが1周したか否かを判定し(Sg6)、図柄番号カウンタの値が21に達している場合には、当該図柄番号カウンタを初期化して0に設定する(Sg7)。 When it is determined that the value of the symbol step number counter has reached 16 in the step of Sg3, the symbol step number counter is initialized and set to 0 (Sg4), and 1 is added to the symbol number counter of the left reel ( Sg5). Then, it is determined whether or not the value of the symbol number counter has reached 21 which is the total number of symbols per reel, that is, whether or not the left reel has made one round (Sg6), and the value of the symbol number counter is 21. If it has reached, the symbol number counter is initialized and set to 0 (Sg7).

そして、Sg7のステップにおいて左リールの図柄番号カウンタを初期化した場合、または、Sg6のステップにおいて左リールの図柄番号カウンタが21に達していないと判定した場合、Sg3のステップにおいて左リールの図柄ステップ数カウンタが16に達していないと判定した場合は、左リールのリールセンサ33Lによりリール基準位置が検出されたか否かを判定し(Sg8)、Sg8のステップにおいてリール基準位置が検出されたと判定した場合は、左リールのステップ数カウンタがリールが1周したこととなる336に達しているか否か(Sg9)、当該左リールの図柄ステップ数カウンタが1巡りして初期化されて0であるか否か(Sg10)、当該左リールの図柄番号カウンタが1巡りして初期化されて0であるか否か(Sg11)を順次判定する。 Then, when the symbol number counter of the left reel is initialized in the step of Sg7, or when it is determined that the symbol number counter of the left reel has not reached 21 in the step of Sg6, the symbol step of the left reel in the step of Sg3 When it is determined that the number counter has not reached 16, it is determined whether or not the reel reference position is detected by the reel sensor 33L of the left reel (Sg8), and it is determined that the reel reference position is detected in step Sg8. In the case, whether or not the step number counter of the left reel has reached 336, which means that the reel has made one round (Sg9), is the symbol step number counter of the left reel cycled once and initialized to 0? Whether or not (Sg10), the symbol number counter of the left reel is initialized by going through one cycle, and whether or not it is 0 (Sg11) is sequentially determined.

そして、Sg9のステップにおいてステップ数カウンタが336に達しており、Sg10のステップにおいて図柄ステップ数カウンタが0であり、Sg11のステップにおいて図柄番号カウンタが0であると判定された場合には、左リールのリールモータ32Lが定速状態に対応する励磁パターンで励磁されているか否か、すなわち左リールが定速状態であるか否かを判定し(Sg12)、Sg12のステップにおいて、励磁パターンが定速状態に対応するものであると判定した場合は、RAM41cの所定領域に設定されており、左リールの速度状態を特定可能なリール速度状態フラグを、当該リールが定速状態である旨を特定可能な値に更新する(Sg14)。 Then, in the step of Sg9, the step number counter has reached 336, in the step of Sg10, the symbol step number counter is 0, and in the step of Sg11, it is determined that the symbol number counter is 0, the left reel. It is determined whether or not the reel motor 32L is excited in the excitation pattern corresponding to the constant speed state, that is, whether the left reel is in the constant speed state (Sg12), and in the step Sg12, the excitation pattern is set to the constant speed state. If it is determined that the reel corresponds to the state, the reel speed state flag that is set in a predetermined area of the RAM 41c and that can specify the speed state of the left reel can specify that the reel is in the constant speed state. To a different value (Sg14).

一方で、Sg9のステップにおいてステップ数カウンタが336に達していないと判定した場合、Sg10のステップにおいて図柄ステップ数カウンタが0でないと判定した場合、Sg11のステップにおいて図柄番号カウンタが0でないと判定された場合には、リールが1周して、リール基準位置が検出されたにも関わらず図柄ステップ数または図柄番号が1巡りしていないこと、またはリール基準位置が検出されていないにも関わらず、リールが1周するために要するステップ数を超えたステップ数がリールステップ数により計数されていることから、各カウンタによる各ステップ数の計数値と実際のリールの回転状況とに不整合が生じており、左リールの回転に異常が発生している可能性があるので、当該リールの回転に異常が発生している旨を特定可能な回転異常フラグをRAM41cに設定する(Sg16)。その後、左リールの図柄ステップ数カウンタ、図柄番号カウンタを初期化して0に設定する(Sg17、Sg18)。 On the other hand, if it is determined in step Sg9 that the step number counter has not reached 336, if it is determined in step Sg10 that the symbol step number counter is not 0, it is determined in step Sg11 that the symbol number counter is not 0. In the case of, if the reel makes one round and the reel reference position is detected, the number of symbol steps or the symbol number is not one round, or the reel reference position is not detected. Since the number of steps exceeding the number of steps required for the reel to make one round is counted by the number of reel steps, there is a mismatch between the count value of each step by each counter and the actual reel rotation state. Since there is a possibility that the rotation of the left reel is abnormal, a rotation abnormality flag that can specify that the rotation of the reel is abnormal is set in the RAM 41c (Sg16). After that, the symbol step number counter and the symbol number counter of the left reel are initialized and set to 0 (Sg17, Sg18).

そして、Sg12のステップにおいて励磁パターンが定速状態に対応するものでないと判定した場合、またはSg18のステップにおいて図柄番号カウンタを初期化した後には、リール速度状態フラグを左リールが非定速状態である旨を特定可能な値に更新する(Sg19)。 Then, if it is determined in step Sg12 that the excitation pattern does not correspond to the constant speed state, or after the symbol number counter is initialized in step Sg18, the reel speed state flag is set to the non-constant speed state of the left reel. The fact that there is is updated to a identifiable value (Sg19).

Sg13のステップまたはSg19のステップにおいてリール速度状態フラグを更新した後は、左リールのリールステップ数カウンタを初期化して0に設定し(Sg14)、左リールについてのリールステップ数等更新処理を終了させる。その後は、中右リールについてもリールステップ数等更新処理を実行することで、リールステップ数カウンタ、図柄ステップ数カウンタ、図柄番号カウンタを更新する。 After the reel speed state flag is updated in step Sg13 or step Sg19, the reel step number counter for the left reel is initialized and set to 0 (Sg14), and the reel step number etc. update processing for the left reel is completed. .. After that, the reel step number counter, the symbol step number counter, and the symbol number counter are updated by performing the reel step number updating process for the middle right reel.

このように、リールステップ数等更新処理では、リールステップ数カウンタを、各リールモータ32L、32C、32Rの励磁パターンが更新される毎に、1加算するとともに、リールセンサ33L、33C、33Rによりリール基準位置が検出される毎に、初期化するとで、リール基準位置が検出されるときのリールのステップ数を0ステップ(1ステップ目)として、リールモータの励磁パターンの更新に対応して336ステップをリールステップ数として計数する。 As described above, in the reel step number update processing, the reel step number counter is incremented by 1 each time the excitation pattern of each reel motor 32L, 32C, 32R is updated, and the reel sensor 33L, 33C, 33R is used to reel the reel step number counter. Initialization is performed every time the reference position is detected, and the number of steps of the reel when the reel reference position is detected is set to 0 step (first step), and 336 steps are performed corresponding to the update of the excitation pattern of the reel motor. Is counted as the number of reel steps.

また、図柄ステップ数カウンタを、各リールモータ32L、32C、32Rの励磁パターンが更新される毎に、1加算するとともに、当該加算により16ステップに達したとき、及び、リールセンサ33L、33C、33Rによりリール基準位置が検出されたときに、0以外の値である場合に、初期化する、すなわちリール基準位置が検出されるとき(図柄番号0の図柄の領域の下端が基準位置にあるとき)のリールモータのステップ数を0ステップ(1ステップ目)として16ステップ毎に当該図柄ステップ数カウンタを初期化することで、各図柄について最下端を領域の0ステップ(1ステップ目)として、リールモータの励磁パターンの更新に対応して16ステップを図柄ステップ数として計数する。 Further, the symbol step number counter is incremented by 1 every time the excitation patterns of the reel motors 32L, 32C, 32R are updated, and when 16 steps are reached by the addition, and the reel sensors 33L, 33C, 33R. When the reel reference position is detected by, when it is a value other than 0, it is initialized, that is, when the reel reference position is detected (when the lower end of the symbol area of the symbol number 0 is at the reference position) By setting the number of steps of the reel motor as 0 step (first step) and initializing the symbol step number counter every 16 steps, the lowest end of each symbol is set as 0 step (first step) of the area, and the reel motor 16 steps are counted as the number of symbol steps in response to the update of the excitation pattern.

また、図柄番号カウンタを、図柄ステップ数カウンタが初期化される毎に、1加算するとともに、当該加算により21に達したとき、及び、リールセンサ33L、33C、33Rによりリール基準位置が検出されたときに、0以外の値である場合に、初期化する、すなわちリール基準位置が検出されるとき(図柄番号0の図柄が基準位置にあるとき)の図柄番号を0として21図柄毎に当該図柄番号カウンタを初期化することで、各リールについて図柄番号0の図柄が基準位置を通過しているときの図柄番号カウンタの値を0として、リールモータの励磁パターンの更新に対応して図柄番号を計数する。 In addition, the symbol number counter is incremented by 1 each time the symbol step number counter is initialized, and when the number reaches 21 by the addition, the reel reference position is detected by the reel sensors 33L, 33C, 33R. Sometimes, when it is a value other than 0, it is initialized, that is, when the reel reference position is detected (when the symbol with the symbol number 0 is at the reference position), the symbol number is set to 0, and the symbol for each 21 symbols. By initializing the number counter, the value of the symbol number counter when the symbol number 0 symbol is passing the reference position for each reel is set to 0, and the symbol number is changed corresponding to the excitation pattern of the reel motor. Count.

これらにより、リールセンサ33L、33C、33Rによりリール基準位置が検出されるときには、リールステップ数カウンタ、図柄ステップ数カウンタ、図柄番号カウンタの各カウンタは初期値となり、リール基準位置からのリールモータのステップ数に応じて、リールステップ数、図柄ステップ数、図柄番号が計数されるようになっている。 With these, when the reel reference position is detected by the reel sensors 33L, 33C, 33R, the reel step number counter, the symbol step number counter, and the symbol number counter become initial values, and the step of the reel motor from the reel reference position. According to the number, the number of reel steps, the number of symbol steps, and the symbol number are counted.

以上のように、本実施例のメイン制御部41は、回転制御中のリールについて有効なストップスイッチの操作が検出された場合に、メイン処理のリール回転停止処理において、タイマ割込処理(メイン)のリールステップ数等更新処理により更新されるリールの図柄ステップ数カウンタに基づいて、停止操作位置となる図柄番号を取得し、該当するリールを停止させる制御を行う。そして、リール回転停止処理において停止操作位置となる図柄番号を取得する際には、図柄ステップ数カウンタの値が判定範囲(本実施例では、0〜11ステップ)にあって非判定範囲(本実施例では、12〜15ステップの4ステップ)にないこと、すなわち、図柄ステップ数カウンタの値が予め定められた特定の範囲内にないことを条件として図柄番号を取得する、すなわち図柄ステップ数カウンタの値が特定の範囲にない場合は、その時の図柄番号を取得する一方で、図柄ステップ数カウンタの値が特定の範囲にないある場合は、当該図柄ステップ数カウンタの値が、特定の範囲外となることを待って、図柄ステップ数カウンタの値が特定の範囲外となったときに図柄番号を取得するようになっている。 As described above, the main control unit 41 of the present embodiment, in the reel rotation stop process of the main process, detects the timer interrupt process (main) when the effective operation of the stop switch is detected for the reel whose rotation is being controlled. Based on the symbol step number counter of the reel updated by the reel step number update processing, the symbol number at the stop operation position is acquired, and control is performed to stop the corresponding reel. Then, when acquiring the symbol number which is the stop operation position in the reel rotation stop processing, the value of the symbol step number counter is in the determination range (0 to 11 steps in this embodiment) and is not the determination range (this embodiment). In the example, it is not in 4 steps of 12 to 15 steps), that is, the symbol number is acquired on the condition that the value of the symbol step number counter is not within a predetermined specific range, that is, the symbol step number counter. If the value is not in the specific range, while the symbol number at that time is obtained, if the value of the symbol step number counter is not in the specific range, the value of the symbol step number counter is outside the specific range. Waiting that, when the value of the symbol step number counter is out of a specific range, the symbol number is acquired.

メイン制御部41が図柄番号を取得することがない図柄ステップ数は、リールモータを全相励磁して停止させる際に、該当するリールについて全相励磁の制御を開始した後、当該リールのリールモータのロータが停止するまでに慣性力により回転するステップ数以上のステップ数であり、本実施例では、当該特定の範囲を図柄ステップ数カウンタの12〜15の4ステップの範囲とする構成である。 The number of symbol steps in which the main control unit 41 does not acquire the symbol number is the reel motor of the reel after starting the control of all-phase excitation for the corresponding reel when the reel motor is all-phase excited and stopped. The number of steps is equal to or greater than the number of steps rotated by inertial force until the rotor stops, and in the present embodiment, the specific range is a range of 4 steps of 12 to 15 of the symbol step number counter.

詳しくは、図23(a)に示すように、透視窓3における各リール2L、2C、2Rの中段に対応する領域の最上端の位置を判定位置として、当該判定位置に位置する図柄について図柄ステップ数を図柄ステップ数カウンタにより計数し、また、当該判定位置に位置する図柄の図柄番号を図柄番号カウンタにより計数し、ストップスイッチが操作された際に、当該図柄ステップ数カウンタの値が非判定範囲である特定の範囲内(本実施例では、12〜15ステップ)になく判定範囲にある場合には、その際の図柄番号カウンタの値を停止操作位置となる図柄番号として取得する。一方、図23(b)に示すように、ストップスイッチが操作された際に、当該図柄ステップ数カウンタの値が非判定範囲である特定の範囲内(本実施例では、12〜15ステップ)にある場合には、その際の図柄番号カウンタの値を停止操作位置として取得せず、判定位置の図柄ステップ数が特定の範囲外(本実施例では、0〜11ステップ)となるまで待機して、その後、リールがさらに回転されることで、判定位置を通過する図柄が次の図柄となり、図柄番号カウンタが更新されるとともに、図柄ステップ数カウンタの値が特定の範囲外(本実施例では、0〜11ステップ)となって判定範囲内の値(本実施例では、0ステップ)となったときに、そのときの図柄番号カウンタの値を停止操作位置となる図柄番号として取得する。 Specifically, as shown in FIG. 23(a), the position of the uppermost end of the region corresponding to the middle stage of each reel 2L, 2C, 2R in the see-through window 3 is set as the determination position, and the symbol step for the symbol located at the determination position The number is counted by the symbol step number counter, and the symbol number of the symbol located at the determination position is counted by the symbol number counter, and when the stop switch is operated, the value of the symbol step number counter is the non-determination range. In the case where it is not within the specific range (12 to 15 steps in this embodiment) but is within the determination range, the value of the symbol number counter at that time is acquired as the symbol number which is the stop operation position. On the other hand, as shown in FIG. 23B, when the stop switch is operated, the value of the symbol step number counter falls within a specific range (12 to 15 steps in this embodiment) which is a non-determination range. In some cases, the value of the symbol number counter at that time is not acquired as the stop operation position, and waits until the number of symbol steps at the determination position falls outside a specific range (0 to 11 steps in this embodiment). , Then, the reel is further rotated, the symbol that passes the determination position becomes the next symbol, the symbol number counter is updated, and the value of the symbol step number counter is outside the specific range (in the present embodiment, When it becomes a value within the judgment range (0 to 11 steps) (0 step in this embodiment), the value of the symbol number counter at that time is acquired as the symbol number which is the stop operation position.

上述のように、本実施例では、リールモータが全相励磁停止制御を開始されてから慣性力で4ステップ分回転して停止することになるので、判定位置(図23(a)(b)参照)を通過する図柄についての図柄ステップ数カウンタの値が非判定範囲内すなわち特定の範囲内にあるときに、全相励磁停止制御を開始して当該リールモータを停止させようとする場合には、全相励磁停止制御を開始するときの図柄番号カウンタの値に基づいて特定される図柄を、リールの中段の位置に滑りコマ数0で停止させることができない。例えば、図23(b)に示すように、図柄番号カウンタの値が10であり、図柄ステップ数カウンタの値が12〜15であり、判定位置での図柄ステップ数が13〜16ステップ目であるときに、停止操作が行われた場合に、仮に、当該図柄ステップ数の範囲内のいずれかのタイミングで全相励磁停止制御を開始することとすると、図柄ステップ数カウンタの値が15を跨いで0以降となる位置、すなわち図柄番号11の図柄の領域の少なくとも一部がリールの中段の領域に跨る位置で、当該リールが停止することとなり、当該停止操作が行われたときの図柄番号カウンタの値に基づいて特定される図柄番号10の図柄をリールの中段の位置に停止させることができない。すなわち、停止操作が行われたときの図柄番号カウンタの値に基づいて特定される図柄番号の図柄に対して少なくとも1コマを滑りコマ数として、当該図柄番号以外の図柄がリールの中段の位置に停止させることとなる。 As described above, in the present embodiment, since the reel motor is rotated by the inertial force for 4 steps and stopped after the all-phase excitation stop control is started, the reel motor is stopped at the determination position (FIGS. 23A and 23B). When the value of the symbol step number counter for the symbol passing through the reference) is within the non-judgment range, that is, within the specific range, when starting the all-phase excitation stop control and stopping the reel motor concerned, , The symbol specified based on the value of the symbol number counter when starting the all-phase excitation stop control cannot be stopped at the middle position of the reel with the number of sliding symbols being 0. For example, as shown in FIG. 23(b), the value of the symbol number counter is 10, the value of the symbol step number counter is 12 to 15, and the symbol step number at the determination position is the 13th to 16th steps. At that time, if the stop operation is performed, if all-phase excitation stop control is started at any timing within the range of the symbol step number, the value of the symbol step number counter crosses 15 Positions after 0, that is, at a position where at least a part of the symbol area of the symbol number 11 spans the middle area of the reel, the reel is stopped, and the symbol number counter when the stop operation is performed. It is not possible to stop the symbol of the symbol number 10 specified based on the value at the middle position of the reel. That is, at least one frame is set as the number of sliding frames for the symbol of the symbol number specified based on the value of the symbol number counter when the stop operation is performed, and symbols other than the symbol number are located at the middle position of the reel. It will be stopped.

一方、判定位置(図23(a)(b)参照)を通過する図柄についての図柄ステップ数カウンタの値が判定範囲内すなわち特定の範囲外にあるときに、全相励磁停止制御を開始して当該リールモータを停止させようとする場合には、全相励磁停止制御を開始するときの図柄番号カウンタの値に基づいて特定される図柄を、リールの中段の位置に滑りコマ数0で停止させることができる。例えば、図23(a)に示すように、図柄番号カウンタの値が10であり、図柄ステップ数カウンタの値が0〜11であり、判定位置での図柄ステップ数が1〜12ステップ目であるときに、停止操作が行われた場合には、図柄ステップ数カウンタの値が11となるとき、すなわち停止位置での図柄ステップ数が1図柄の図柄ステップ数の最終値であるときに、全相励磁停止制御を開始することで、図柄ステップ数カウンタの値が15となる位置、すなわち図柄番号が10の図柄をリールの中段の位置で、当該リールを停止させることができる。すなわち、停止操作が行われたときの図柄番号カウンタの値に基づいて特定される図柄番号の図柄を滑りコマ数0でリールの中段の位置に停止させることができる。 On the other hand, when the value of the symbol step number counter for the symbol passing through the determination position (see FIGS. 23(a) and (b)) is within the determination range, that is, outside the specific range, the all-phase excitation stop control is started. When the reel motor is to be stopped, the symbol specified based on the value of the symbol number counter at the time of starting the all-phase excitation stop control is stopped at the middle position of the reel with the number of sliding symbols being 0. be able to. For example, as shown in FIG. 23(a), the value of the symbol number counter is 10, the value of the symbol step number counter is 0 to 11, and the symbol step number at the determination position is the 1st to 12th step. When, when the stop operation is performed, when the value of the symbol step number counter becomes 11, that is, when the symbol step number at the stop position is the final value of the symbol step number of one symbol, all phases By starting the excitation stop control, it is possible to stop the reel at the position where the value of the symbol step number counter is 15, that is, the symbol with the symbol number 10 at the middle position of the reel. That is, the symbol having the symbol number specified based on the value of the symbol number counter when the stop operation is performed can be stopped at the middle position of the reel with the number of sliding symbols 0.

このように、図柄ステップ数カウンタの値が判定範囲内すなわち特定の範囲外にあるときに取得された図柄番号を停止操作位置とすることで、当該図柄番号に基づいてリールの中段の位置に停止させることができる図柄を特定する際に、図柄ステップ数がいずれの範囲にあるときに当該図柄番号が取得されたか、すなわち当該図柄番号の図柄をリールの中段の位置に停止させることが可能であるか否かを考慮することなく、当該図柄番号をリールの停止位置の特定に用いることができる。 In this way, by setting the symbol number acquired when the value of the symbol step number counter is within the judgment range, that is, outside the specific range, as the stop operation position, the reel is stopped at the middle position based on the symbol number. When designating the symbol that can be made, it is possible to stop the symbol of the symbol number in which range the symbol step number is obtained, that is, the symbol of the symbol number can be stopped at the middle position of the reel. The symbol number can be used to identify the reel stop position without considering whether or not it is.

従来のスロットマシンでは、リールモータとしてステッピングモータを用いて、リールを回転、停止させることが可能であり、リールに配置された図柄毎に割り当てられた図柄ステップ数を計数し、当該図柄ステップ数に基づいて図柄番号を更新するとともに、リールの停止操作がされたときの図柄番号に応じて滑りコマ数を決定する構成であり、停止操作が検出されてからすぐにリールを停止させることはできないことから、停止操作が検出されたときの図柄ステップ数が当該図柄では停止することのできない一定の範囲のステップ数である場合には、リールの停止操作がされたときの図柄番号に1加算した値を停止操作が検出されたときの図柄番号として取得するようになっている。 In a conventional slot machine, a reel can be rotated and stopped by using a stepping motor as a reel motor, and the number of symbol steps assigned to each symbol arranged on the reel is counted, and the number of symbol steps is calculated. It is a configuration that updates the symbol number based on it and determines the number of sliding pieces according to the symbol number when the reel stop operation is performed, and it is not possible to stop the reel immediately after the stop operation is detected. From, if the number of symbol steps when the stop operation is detected is the number of steps within a certain range that cannot be stopped with the symbol, the value obtained by adding 1 to the symbol number when the reel stop operation is performed Is acquired as the symbol number when the stop operation is detected.

このような構成では、停止操作が検出されたときの図柄ステップ数に応じて、停止操作が検出されたときの図柄番号に1加算して図柄番号を取得する必要があり、停止操作がされたときの図柄番号を特定するために余計な処理が必要となってしまうこととなる。 In such a configuration, depending on the number of symbol steps when the stop operation is detected, it is necessary to add 1 to the symbol number when the stop operation is detected to obtain the symbol number, and the stop operation is performed. An extra process is required to specify the symbol number at that time.

これに対して、本実施例のスロットマシン1は、リールモータ32L、32C、32Rとしてステッピングモータを備え、リール2L、2C、2Rを回転、停止させることが可能な構成であり、スロットマシン1のメイン制御部41は、ステッピングモータの励磁状態を変化させるための励磁パターンに応じて定められた所定の更新タイミング毎に更新される図柄ステップ数カウンタ(またはリールステップ数カウンタ)と、当該図柄ステップ数カウンタによりリールの1図柄あたりに割り当てられた所定のステップ数(本実施例では、16ステップ)が計数される毎に更新される図柄番号カウンタと、を備えており、有効なリールの停止操作が行われた際に、図柄番号カウンタから取得した図柄番号に基づいて当該停止操作に対応する停止位置を特定し、当該停止位置で該当するリールを停止させるリール回転停止処理を実行する構成であり、リール回転停止処理では、図柄ステップ数カウンタの値が特定の範囲(本実施例では、12〜15の範囲)であるときには、図柄番号を取得せず、特定の範囲外となったとき(本実施例では、0となったとき)に、図柄番号カウンタの値を図柄番号として取得するので、リールの停止操作がされたときの図柄ステップ数に応じて図柄番号を特定するために余計な処理、例えば、図柄ステップ数カウンタの値が特定の範囲である場合に、図柄番号カウンタの値を1加算した値を図柄番号として取得する処理等を、行うことなく簡素な手順で図柄番号を取得することができる。 On the other hand, the slot machine 1 of the present embodiment is provided with stepping motors as the reel motors 32L, 32C, 32R, and is configured to rotate and stop the reels 2L, 2C, 2R. The main control unit 41 is a symbol step number counter (or a reel step number counter) that is updated at each predetermined update timing determined according to an excitation pattern for changing the excitation state of the stepping motor, and the symbol step number. The counter is provided with a symbol number counter that is updated every time a predetermined number of steps (16 steps in this embodiment) assigned to one symbol of the reel by the counter is counted, and an effective reel stop operation is provided. When performed, the stop position corresponding to the stop operation is specified based on the symbol number acquired from the symbol number counter, and the reel rotation stop process of stopping the reel at the stop position is executed, In the reel rotation stop processing, when the value of the symbol step number counter is within a specific range (range of 12 to 15 in the present embodiment), the symbol number is not acquired, and the symbol number is out of the specific range (this implementation). In the example, when it becomes 0), the value of the symbol number counter is acquired as a symbol number, so extra processing for specifying the symbol number according to the symbol step number when the reel is stopped, For example, when the value of the symbol step number counter is in a specific range, the symbol number is obtained by a simple procedure without performing a process of obtaining a value obtained by adding 1 to the value of the symbol number counter as the symbol number. You can

尚、本実施例では、リールモータ32L、32C、32Rを用いて、外周面に複数の図柄が配置されたリール2L、2C、2Rを回転させることで、遊技者から視認可能な複数の図柄を移動させる変動表示を行うことが可能な構成であるが、複数の図柄を移動させる変動表示を行う手段は、リール以外であっても良く、例えば、外周面に複数の図柄が配置されたベルトを移動させることで変動表示を行うことが可能な構成等であっても良い。 In the present embodiment, the reel motors 32L, 32C, 32R are used to rotate the reels 2L, 2C, 2R each having a plurality of symbols arranged on the outer peripheral surface, so that a plurality of symbols visible to the player can be obtained. Although it is a configuration capable of performing variable display for moving, means for performing variable display for moving a plurality of symbols may be other than reels, for example, a belt having a plurality of symbols arranged on the outer peripheral surface. It may be configured such that variable display can be performed by moving the display.

また、本実施例では、メイン制御部41は、ステッピングモータの励磁状態を変化させるための励磁パターンに応じて定められた所定の更新タイミング毎に、リールステップ数等更新処理を実行して、図柄ステップ数カウンタを更新し、当該図柄ステップ数カウンタにより、リールの1図柄あたりに割り当てられた所定のステップ数(本実施例では、16ステップ)が計数される毎に図柄番号カウンタを更新する構成であるが、ステッピングモータの励磁状態を変化させるための励磁パターンに応じて定められた所定の更新タイミング毎に更新され、リールの基準位置からのステップ数を計数するためのリールステップ数カウンタにより、リールの1図柄あたりに割り当てられた所定のステップ数(本実施例では、16ステップ)が計数される毎に図柄番号カウンタを更新する構成であっても良い。 In addition, in the present embodiment, the main control unit 41 executes an updating process such as the reel step number for each predetermined update timing determined according to the excitation pattern for changing the excitation state of the stepping motor, and the symbol The number of steps counter is updated, and the symbol number counter is updated each time a predetermined number of steps (16 steps in this embodiment) assigned to one symbol of the reel is counted by the symbol step number counter. However, the reel step number counter for counting the number of steps from the reel reference position is updated at each predetermined update timing determined according to the excitation pattern for changing the excitation state of the stepping motor. The design number counter may be updated each time a predetermined number of steps (16 steps in this embodiment) assigned to each symbol is counted.

本実施例のメイン制御部41は、リール回転停止処理において、図柄ステップ数カウンタの値が特定の範囲内(本実施例では、12〜15の4ステップの範囲内)にある場合には、図柄番号カウンタから図柄番号を取得しない構成であり、当該特定の範囲は、図柄ステップ数カウンタの値が当該範囲内にあるときに図柄番号カウンタに基づいて特定される図柄番号の図柄を、所定の停止位置に停止させることができなくなる範囲であるので、停止操作された際に、リール回転停止処理において取得した図柄番号を用いることで、当該図柄番号により特定される図柄を停止位置に停止できなくなるというようなことがないため、取得した図柄番号を補正する処理をせずに済む。 In the reel rotation stop process, the main control unit 41 of the present embodiment, when the value of the symbol step number counter is within a specific range (in the present embodiment, within the range of 4 steps of 12 to 15), the symbol It is a configuration in which the symbol number is not acquired from the number counter, and the specific range is a predetermined stop of the symbol of the symbol number specified based on the symbol number counter when the value of the symbol step number counter is within the range. Since it is a range where it can not be stopped at the position, when the stop operation is performed, by using the symbol number acquired in the reel rotation stop process, the symbol specified by the symbol number cannot be stopped at the stop position. Since such a case does not occur, it is not necessary to correct the acquired symbol number.

尚、本実施例では、メイン制御部41は、リール回転停止処理において、図柄ステップ数カウンタの値が特定の範囲(本実施例では、12〜15の範囲)であるときには、図柄番号を取得せず、特定の範囲外となったとき(本実施例では、0となったとき)に、図柄番号カウンタの値を図柄番号として取得する構成であるが、メイン制御部41は、リール回転停止処理において、図柄ステップ数カウンタの値が少なくとも特定の範囲外であるときに図柄番号カウンタの値を図柄番号として取得する構成であれば良く、図柄ステップ数カウンタの値が特定の範囲外の範囲うちの特定の値(例えば、0〜11のうちの11)となったときに、図柄番号カウンタの値を図柄番号として取得する構成であっても良い。このような構成では、停止操作に応じて図柄番号を取得するにあたり、図柄ステップ数が特定の値であるときに図柄番号カウンタの値を図柄番号として取得するので、リールの停止操作がされたときの図柄ステップ数に応じて図柄番号を特定するために余計な処理、例えば、図柄ステップ数カウンタの値が所定の範囲である場合に、図柄番号カウンタを1加算した値を図柄番号として取得する処理等を行うことなく、簡素な手順で図柄番号を取得することができる。 In the present embodiment, the main control unit 41, in the reel rotation stop processing, when the value of the symbol step number counter is in a specific range (in the present embodiment, the range of 12 to 15), obtains the symbol number. However, when it is out of the specific range (when it becomes 0 in this embodiment), the value of the symbol number counter is acquired as the symbol number. However, the main control unit 41 performs the reel rotation stop process. In, in the range where the value of the symbol step number counter is outside the specific range, the value of the symbol number counter may be acquired as the symbol number when the value of the symbol step number counter is out of the specific range at least. The value of the symbol number counter may be acquired as the symbol number when it becomes a specific value (for example, 11 out of 0 to 11). In such a configuration, when the symbol number is acquired according to the stop operation, the value of the symbol number counter is acquired as the symbol number when the number of symbol steps is a specific value, so when the reel is stopped. Extra processing to specify the symbol number according to the number of symbol steps, for example, when the value of the symbol step number counter is within a predetermined range, a value obtained by adding 1 to the symbol number counter is acquired as the symbol number. The symbol number can be acquired by a simple procedure without performing the above.

また、このような構成では、図柄ステップ数カウンタの値が特定の範囲外の範囲うちの特定の値は、次回図柄ステップ数カウンタが更新されると現在の図柄番号カウンタから特定される図柄番号の図柄の領域でリールを停止させることができなくなる図柄ステップ数、すなわち、図柄番号カウンタに基づいて特定される図柄番号の図柄を所定の停止位置に停止させることができる図柄ステップ数の範囲内の値のうち最後に更新される値、とすることで、図柄ステップ数カウンタの値が特定の範囲外から特定の範囲内の値に更新される1ステップ前の特定の値となったときに図柄番号カウンタから図柄番号を取得するので、図柄ステップ数カウンタの値が一の特定の範囲外にあるときに、その時点での図柄番号カウンタから図柄番号を取得せずに、図柄ステップ数カウンタが次の特定の範囲外となるまで待って次の図柄番号を取得するようなことがなく、停止操作されたタイミングと停止する図柄の領域とが大きくずれてしまうことを防止できる。 Further, in such a configuration, the value of the symbol step number counter is a specific value within a range outside the specific range, the symbol number specified from the current symbol number counter when the symbol step number counter is updated next time. The number of symbol steps that makes it impossible to stop the reel in the symbol area, that is, a value within the range of the number of symbol steps that can stop the symbol with the symbol number specified based on the symbol number counter at a predetermined stop position. Of the values that are updated at the end, the symbol number when the value of the symbol step number counter becomes a specific value one step before that is updated from a value outside the specific range to a value within the specific range. Since the symbol number is obtained from the counter, when the value of the symbol step number counter is out of one specific range, the symbol step number counter does not acquire the symbol number from the symbol number counter at that time, There is no need to wait until it is out of the specific range to obtain the next symbol number, and it is possible to prevent the timing at which the stop operation is performed and the region of the symbol to be stopped from largely deviating.

本実施例のメイン制御部41は、リールの停止操作された際に図柄ステップ数カウンタに基づいて図柄番号を特定する構成であり、リール回転制御処理において、リールステップ数等更新処理で更新される図柄ステップ数カウンタに基づいて、リールを停止させるための駆動信号を出力するか否か判定し、図柄ステップ数カウンタに基づいてリールモータの励磁パターンの更新タイミングとなったことが特定されるときに、停止操作が行われたリールを停止させるための駆動信号を出力するので、停止操作がされた際に図柄番号を特定する場合も、リールモータを停止させるための駆動信号を出力するか否か判定する場合も、共通のリールステップ数等更新処理により更新される図柄ステップ数が用いられるため、当該処理に用いるステップ数を更新する処理及び当該ステップ数を格納する領域を削減することができる。 The main control unit 41 of the present embodiment is configured to identify the symbol number based on the symbol step number counter when the reel is stopped, and is updated by the reel step number updating process in the reel rotation control process. Based on the symbol step number counter, it is determined whether or not to output a drive signal for stopping the reel, and when it is specified that the excitation timing of the reel motor excitation pattern has been determined based on the symbol step number counter. Since the drive signal for stopping the reel on which the stop operation is performed is output, whether or not to output the drive signal for stopping the reel motor even when the symbol number is specified when the stop operation is performed Also in the case of determination, since the symbol step number updated by the common reel step number updating process is used, it is possible to reduce the process for updating the step number used for the process and the area for storing the step number.

尚、本実施例では、メイン制御部41は、図柄ステップ数カウンタに基づいて図柄番号を特定し、図柄ステップ数カウンタに基づいてリールモータの駆動信号を出力するか否か判定する構成であるが、リールステップ数等更新処理により更新されるリールステップ数カウンタに基づいて図柄番号を特定するとともに、リールモータの駆動信号を出力するか否か判定する構成であっても良い。このような構成であっても、本実施例の構成と同様に、停止操作がされた際に図柄番号を特定する場合も、リールモータを停止させるための駆動信号を出力するか否か判定する場合も、共通のリールステップ数等更新処理により更新されるリールステップ数を用いることで、当該処理に用いるステップ数を更新する処理及び当該ステップ数を格納する領域を削減することができる。 In the present embodiment, the main control unit 41 is configured to identify the symbol number based on the symbol step number counter and determine whether to output the reel motor drive signal based on the symbol step number counter. The symbol number may be specified based on the reel step number counter updated by the reel step number updating process, and whether the reel motor drive signal is output may be determined. Even with such a configuration, similarly to the configuration of the present embodiment, when the symbol number is specified when the stop operation is performed, it is determined whether to output the drive signal for stopping the reel motor. Also in this case, by using the common reel step number and other reel step number update processing, it is possible to reduce the process for updating the step number used in the process and the area for storing the step number.

本実施例のメイン制御部41は、リール2L、2C、2Rそれぞれに対して、リール基準位置を検出するリールセンサ33L、33C、33Rを備えており、リールステップ数等更新処理において、当該リールセンサ33L、33C、33Rによりリール基準位置が検出されたことに応じて図柄ステップ数カウンタを初期値に設定するので、リール2L、2C、2Rの実際の位置とリールステップ数等更新処理により更新される図柄ステップ数カウンタの値とを整合させることができる。 The main control unit 41 of the present embodiment includes reel sensors 33L, 33C, 33R for detecting the reel reference position for each of the reels 2L, 2C, 2R. Since the symbol step number counter is set to the initial value in response to the reel reference position being detected by 33L, 33C, 33R, the actual position of the reels 2L, 2C, 2R and the reel step number and the like are updated by the updating process. It is possible to match the value of the symbol step number counter.

また、本実施例では、メイン制御部41は、リールステップ数等更新処理において、当該リールセンサ33L、33C、33Rによりリール基準位置が検出されたことに応じてリールステップ数カウンタを初期値に設定するので、リール2L、2C、2Rの実際の位置とリールステップ数等更新処理により更新されるリールステップ数カウンタの値とを整合させることができる。 Further, in the present embodiment, the main control unit 41 sets the reel step number counter to an initial value in response to the reel reference position being detected by the reel sensor 33L, 33C, 33R in the reel step number updating processing. Therefore, it is possible to match the actual positions of the reels 2L, 2C, and 2R with the value of the reel step number counter updated by the updating process of the reel step number and the like.

本実施例のメイン制御部41は、異常が生じた可能性のある特定事象として投入払出エラー、ドア開放検出スイッチ25の出力状態の変化、リール回転エラーが発生したか否かを判定する投入払出エラーチェック処理、ドア開放チェック処理、回転エラーチェック処理を実行可能であり、リール制御処理において、少なくとも、有効なストップスイッチ8L、8C、8Rの操作が検出された後、リール回転停止処理において図柄番号カウンタの値が取得されるまでの期間において、特定事象が発生したか否かを判定しないので、停止操作がされた後、図柄番号カウンタの値が取得されるまでの処理負荷を軽減することができる。 The main control unit 41 of the present embodiment determines whether or not an insertion/withdrawal error, a change in the output state of the door opening detection switch 25, or a reel rotation error has occurred as a specific event that may have caused an abnormality. The error check process, the door opening check process, and the rotation error check process can be executed, and at least in the reel control process, after the valid operation of the stop switches 8L, 8C, and 8R is detected, the symbol number in the reel rotation stop process. In the period until the value of the counter is acquired, it is not determined whether a specific event has occurred, so it is possible to reduce the processing load until the value of the symbol number counter is acquired after a stop operation has been performed. it can.

本実施例では、メイン制御部41は、メイン処理と当該メイン処理に所定時間間隔毎に割込で各種処理を行うタイマ割込処理(メイン)を実行可能であり、タイマ割込処理(メイン)においてリール2L、2C、2Rを回転させるための処理を実行する一方、メイン処理において、回転制御を行っている全てのリールが定速で回転している状態であると判定したことを条件に、停止操作の受付を有効化する処理を実行する構成である。 In this embodiment, the main control unit 41 can execute a main process and a timer interrupt process (main) that performs various processes by interrupting the main process at predetermined time intervals, and the timer interrupt process (main). In the main process, it is determined that all reels that are performing rotation control are rotating at a constant speed while the process for rotating the reels 2L, 2C, and 2R is executed. It is a configuration for executing a process for validating acceptance of a stop operation.

このような構成では、メイン処理において停止操作の受付を有効化するか否かの判定中にタイマ割込処理(メイン)が実行されると、当該判定に用いられるリールの回転状態が変わってしまう可能性があり、正確な判定を行えない虞がある。 With such a configuration, if the timer interrupt process (main) is executed during the determination of whether or not to accept the stop operation in the main process, the rotation state of the reel used for the determination changes. There is a possibility that accurate determination cannot be performed.

これに対して、本実施例のメイン制御部41は、メイン処理においてリール制御処理を実行して、回転制御中のリールの速度状態が定速状態であると判定したことを条件に、停止操作の受付を有効化する処理を実行する一方、タイマ割込処理(メイン)においてリール回転制御処理及びモータ位相信号出力処理を実行して、リールモータ32L、32C、32Rを回転、停止させるための駆動信号を出力する構成であり、タイマ割込処理(メイン)では、リールステップ数等更新処理を実行して、回転制御中のリールについて速度状態が定速状態であるか否かを特定可能なリール速度状態フラグを設定し、メイン処理では、タイマ割込を禁止に設定した後、タイマ割込が禁止に設定されている状態で、少なくとも一のリールについてリール速度状態フラグを取得し、当該リール速度状態フラグに基づいてリールが定速状態であることが特定されることを条件に、リールの停止操作の受付を有効化するので、メイン処理においてリール速度状態フラグを取得する処理中にタイマ割込が実行され、リール速度状態フラグの設定が変更されてしまうことがないため、停止操作の受付を有効化するか否かの判定を正確に行うことができる。 On the other hand, the main control unit 41 of the present embodiment executes the reel control process in the main process, and performs the stop operation on the condition that it is determined that the speed state of the reel under rotation control is the constant speed state. Drive for rotating and stopping the reel motors 32L, 32C, 32R by executing reel rotation control processing and motor phase signal output processing in the timer interrupt processing (main) while executing the processing for validating the acceptance of In the timer interrupt process (main), the signal output is performed, and the reel step number update process is executed to identify whether or not the speed state of the reel whose rotation is being controlled is the constant speed state. After setting the speed status flag and disabling the timer interrupt in the main process, acquire the reel speed status flag for at least one reel with the timer interrupt disabled, and Since the acceptance of the reel stop operation is enabled on the condition that the reel is specified to be in the constant speed state based on the state flag, the timer interrupt is performed during the process of acquiring the reel speed state flag in the main process. Is executed and the setting of the reel speed state flag is not changed, it is possible to accurately determine whether or not to accept the stop operation.

本実施例のメイン制御部41は、リール2L、2C、2Rそれぞれに対して、リール基準位置を検出するリールセンサ33L、33C、33Rを備えており、タイマ割込処理(メイン)において、リールモータ32L、32C、32Rの駆動信号が出力される毎に実行するリールステップ数等更新処理において、図柄ステップ数カウンタ及びリールステップ数カウンタを更新する構成であり、リールステップ数等更新処理において、リールセンサ33L、33C、33Rによりリール基準位置が検出されたときに、リールステップ数カウンタの値及び図柄ステップ数カウンタの値が正常であるか否かを判定し、リールステップ数カウンタの値及び図柄ステップ数カウンタの値が正常な値(本実施例では、リールステップ数カウンタは、336ステップ、図柄ステップ数カウンタは、0ステップ)であると判定した場合に、リール速度状態フラグを該当するリールの速度状態が定速状態である旨を特定可能に更新するので、リールステップ数カウンタまたは図柄ステップ数カウンタに基づいて特定されるリールの位置と実際のリールの位置とがずれた状態で、停止操作の受付が有効化されてしまうことを防止できる。 The main control unit 41 of the present embodiment includes reel sensors 33L, 33C, 33R for detecting the reel reference position for each of the reels 2L, 2C, 2R, and in the timer interrupt process (main), the reel motor is used. In the reel step number update processing executed each time a drive signal of 32L, 32C, 32R is output, the symbol step number counter and the reel step number counter are updated. In the reel step number update processing, the reel sensor When the reel reference position is detected by 33L, 33C, 33R, it is determined whether or not the value of the reel step number counter and the value of the symbol step number counter are normal, and the value of the reel step number counter and the symbol step number. When it is determined that the counter value is a normal value (in this embodiment, the reel step number counter is 336 steps, the symbol step number counter is 0 step), the reel speed state flag is set to the corresponding reel speed state. Since it is possible to identify that the constant speed state, it is possible to accept the stop operation while the reel position specified based on the reel step number counter or the symbol step number counter deviates from the actual reel position. Can be prevented from being activated.

本実施例のメイン制御部41は、リール2L、2C、2Rそれぞれに対して、リール基準位置を検出するリールセンサ33L、33C、33Rを備えており、タイマ割込処理(メイン)において、リールモータ32L、32C、32Rの駆動信号が出力される毎に実行するリールステップ数等更新処理において、図柄ステップ数カウンタ及びリールステップ数カウンタを更新する構成であり、リールステップ数等更新処理において、リールセンサ33L、33C、33Rによりリール基準位置が検出されたときに、リールステップ数カウンタの値及び図柄ステップ数カウンタの値が正常であるか否かを判定し、リールステップ数カウンタの値または図柄ステップ数カウンタの値の少なくともいずれか一方が正常な値(本実施例では、リールステップ数カウンタは、336ステップ、図柄ステップ数カウンタは、0ステップ)でないと判定した場合に、リール速度状態フラグを該当するリールの速度状態が定速状態でない旨を特定可能に更新するので、一度、リール速度状態フラグが定速状態を特定可能に設定された後も、リールステップ数カウンタまたは図柄ステップ数カウンタに基づいて特定されるリールの位置と実際のリールの位置とがずれた場合には、停止操作が有効に受け付けられてしまうことを防止できる。 The main control unit 41 of the present embodiment includes reel sensors 33L, 33C, 33R for detecting the reel reference position for each of the reels 2L, 2C, 2R, and in the timer interrupt process (main), the reel motor is used. In the reel step number update processing executed each time a drive signal of 32L, 32C, 32R is output, the symbol step number counter and the reel step number counter are updated, and the reel sensor number update processing is performed. When the reel reference position is detected by 33L, 33C, 33R, it is determined whether or not the value of the reel step number counter and the value of the symbol step number counter are normal, and the value of the reel step number counter or the symbol step number. When it is determined that at least one of the counter values is not a normal value (in the present embodiment, the reel step number counter is 336 steps, the symbol step number counter is 0 step), the reel speed state flag is applicable. Since it is possible to identify that the speed state of the reel is not a constant speed state, once even after the reel speed state flag is set to be able to specify the constant speed state, based on the reel step number counter or the symbol step number counter. It is possible to prevent the stop operation from being effectively accepted when the position of the specified reel deviates from the actual position of the reel.

尚、本実施例では、リール基準位置が検出されたときに、リールステップ数カウンタの値及び図柄ステップ数カウンタの値が正常であるか否かを判定し、少なくともいずれか一方のカウンタの値が正常な値でないと判定した場合に、リール速度状態フラグを速度状態が定速状態でない旨を特定可能に更新する構成であるが、リールステップ数カウンタ、図柄ステップ数カウンタのいずれか一方のカウンタについてのみ、その値が正常であるか否かを判定し、その値が正常な値でないと判定した場合に、リール速度状態フラグを速度状態が定速状態でない旨を特定可能に更新する構成であっても良い。このような構成であっても、本実施例の構成と同様の作用効果を奏する。 In this embodiment, when the reel reference position is detected, it is determined whether or not the value of the reel step number counter and the value of the symbol step number counter are normal, and the value of at least one of the counters is When it is determined that it is not a normal value, the reel speed state flag is configured to be updated so that it can be specified that the speed state is not a constant speed state, but for either one of the reel step number counter and the symbol step number counter Only, it is determined whether or not the value is normal, and when it is determined that the value is not a normal value, the reel speed state flag is updated to be able to specify that the speed state is not the constant speed state. May be. Even with such a configuration, the same operational effects as the configuration of the present embodiment are achieved.

本実施例のメイン制御部41は、メイン処理のリール制御処理において、タイマ割込を禁止に設定し、当該タイマ割込が禁止の状態で、回転制御中の全てのリールについてリール速度状態フラグを参照して、回転制御中の全てのリールが定速回転で回転されているか否かを判定し、回転制御中の全てのリールが定速回転で回転していることを条件に、停止操作の受付を有効化する、すなわち回転制御中のリールが複数であっても全てのリールについてリール速度状態フラグを参照する処理を実行する期間にわたりタイマ割込の実行を禁止するので、タイマ割込の実行の禁止を効率的に行うことができる。 In the reel control process of the main process, the main control unit 41 of the present embodiment sets the timer interrupt to the prohibition state, and sets the reel speed state flag for all reels under the rotation control in the state where the timer interruption is prohibited. With reference to this, it is determined whether or not all reels under rotation control are rotated at constant speed rotation, and if all reels under rotation control are rotated at constant speed rotation, the stop operation is stopped. Execution of timer interrupt is enabled because the acceptance is enabled, that is, the execution of the timer interrupt is prohibited during the period in which the process of referring to the reel speed status flag is executed for all reels even if there are multiple reels under rotation control. Can be banned efficiently.

本実施例のメイン制御部41は、メイン処理のリール制御処理において、タイマ割込を禁止に設定し、当該タイマ割込が禁止の状態で、回転制御中の全てのリールについてリール速度状態フラグを参照する処理を行った後、当該タイマ割込が禁止の状態を維持して、当該リール速度状態フラグに基づいてリールが定速状態で回転されているか否かを判定する処理を行うので、リール速度状態フラグを参照する処理中だけでなく、参照したリール速度状態フラグに基づいてリールが定速状態か否かを判定する処理中もタイマ割込の実行が禁止され、リール速度状態フラグが変更されてしまうことがないため、停止操作の受付を有効化するか否かの判定を正確に行うことができる。 In the reel control process of the main process, the main control unit 41 of the present embodiment sets the timer interrupt to the prohibition state, and sets the reel speed state flag for all reels under the rotation control in the state where the timer interruption is prohibited. After performing the process of referencing, the timer interrupt is maintained in the prohibited state, and the process of determining whether or not the reel is rotated at the constant speed state based on the reel speed state flag is performed. Execution of the timer interrupt is prohibited and the reel speed status flag is changed not only during the processing that refers to the speed status flag but also during the processing that determines whether the reel is in the constant speed status based on the referenced reel speed status flag. Therefore, it is possible to accurately determine whether or not to accept the stop operation acceptance.

本実施例のメイン制御部41は、メイン処理のリール回転停止処理において、タイマ割込を禁止に設定し、当該タイマ割込が禁止の状態で、タイマ割込処理(メイン)のリールステップ数等更新処理により更新される図柄ステップ数カウンタの値を取得するので、図柄ステップ数カウンタの値を取得する処理中にタイマ割込が実行され、図柄ステップ数カウンタが変更されてしまうことを防止できる。 In the reel rotation stop process of the main process, the main control unit 41 of the present embodiment sets the timer interrupt to be prohibited, and when the timer interrupt is prohibited, the number of reel steps of the timer interrupt process (main), etc. Since the value of the symbol step number counter updated by the updating process is obtained, it is possible to prevent the timer interrupt from being executed during the process of obtaining the value of the symbol step number counter and changing the symbol step number counter.

本実施例では、メイン制御部41は、メイン処理と当該メイン処理に所定時間間隔毎に割込で各種処理を行うタイマ割込処理(メイン)を実行可能であり、タイマ割込処理(メイン)においてリールステップ数カウンタ、図柄ステップ数カウンタ、図柄番号カウンタ等のリールの位置に関する情報を更新する一方、メイン処理において、停止操作が行われたときのリールの位置を特定する構成である。 In this embodiment, the main control unit 41 can execute a main process and a timer interrupt process (main) that performs various processes by interrupting the main process at predetermined time intervals, and the timer interrupt process (main). In, while updating information about the position of the reel such as the reel step number counter, the symbol step number counter, and the symbol number counter, the reel position when the stop operation is performed is specified in the main process.

このような構成では、メイン処理において、停止操作が行われたときのリールの位置を特定する処理の実行中に、タイマ割込が実行されると、リールの位置を特定する際に用いられるリールの位置に関する情報が更新されて変わってしまう可能性があり、停止操作がされたときのリールの位置を正確に特定できない虞がある。 With such a configuration, in the main process, when the timer interrupt is executed during the process of specifying the position of the reel when the stop operation is performed, the reel used for specifying the position of the reel. The information regarding the position of the reel may be updated and changed, and the position of the reel when the stop operation is performed may not be accurately specified.

これに対して、本実施例のメイン制御部41は、タイマ割込処理(メイン)のリール回転制御処理において、リールモータ32L、32C、32Rを回転、停止させるための駆動信号を出力する処理を実行し、当該駆動信号によりリールモータの励磁状態を変化させる毎に、リールステップ数等更新処理を実行して、図柄番号カウンタ等のリールの位置に関する情報を更新する一方、メイン処理のリール制御処理において、リールの停止操作が行われたときに、タイマ割込を禁止に設定した状態で、リールの位置に関する情報の少なくとも1つを参照して、当該リールの位置に関する情報に基づいて、停止操作が行われたリールを停止させる停止位置を特定するので、リールの位置に関する情報を参照する処理中にタイマ割込が実行され、リールの位置に関する情報が変更されてしまうことがないため、停止操作がされたときのリールの位置を正確に特定することができる。 On the other hand, in the reel rotation control process of the timer interrupt process (main), the main control unit 41 of the present embodiment outputs a drive signal for rotating and stopping the reel motors 32L, 32C, 32R. Executed, each time the excitation state of the reel motor is changed by the drive signal, update processing such as the number of reel steps is executed to update information about the position of the reel such as the symbol number counter, while the reel control processing of the main processing When the reel stop operation is performed, at least one piece of information about the reel position is referred to in the state where the timer interrupt is set to be prohibited, and the stop operation is performed based on the information about the reel position. Since the stop position at which the reel is stopped is specified, the timer interrupt is not executed during the process of referring to the information about the reel position, and the information about the reel position is not changed. It is possible to accurately specify the position of the reel when the reels are removed.

尚、本実施例では、リールの位置に関する情報として、図柄番号、すなわちリールの図柄の領域を特定可能な情報を用いる構成であるが、リールの位置に関する情報として、リールモータの駆動信号の出力に応じて毎に更新されるリールステップ数や、図柄ステップ数を用いる構成であっても良い。 In this embodiment, as the information about the position of the reel, the symbol number, that is, the information capable of specifying the area of the symbol on the reel is used, but as the information about the position of the reel, the drive signal of the reel motor is output. Alternatively, the number of reel steps or the number of symbol steps updated each time may be used.

また、本実施例では、リールステップ数カウンタ、図柄ステップ数カウンタ、図柄番号カウンタが、0を起点として割り当てられた値をカウントする構成であるが、0以外の値(例えば1)を起点として割り当てられた値をカウントする構成としても良い。また、起点となる値に加算することでリールステップ数、図柄ステップ数、図柄番号を特定するものに限らず、起点となる値から減算することでリールステップ数、図柄ステップ数、図柄番号を特定するものでも良い。さらに更新される毎に加算または減算される値は1を超える値であっても良い。 Further, in the present embodiment, the reel step number counter, the symbol step number counter, and the symbol number counter are configured to count the value assigned with 0 as a starting point, but a value other than 0 (for example, 1) is assigned as a starting point. The configuration may be such that the counted values are counted. Also, the reel step number, the symbol step number, and the symbol number are not limited to those that are added to the starting point value, but the reel step number, the symbol step number, and the symbol number are specified by subtracting from the starting point value. You can do it. The value added or subtracted each time it is updated may exceed 1.

本実施例のメイン制御部41は、タイマ割込処理(メイン)のリール回転制御処理において、リールモータ32L、32C、32Rを回転、停止させるための駆動信号を出力する処理を実行し、当該駆動信号によりリールモータの励磁状態を変化させる毎に、リールステップ数等更新処理を実行して、リールの位置に関する情報として図柄番号を特定可能な図柄番号カウンタ等を更新する一方、メイン処理のリール制御処理において、リールの停止操作が行われたときに、タイマ割込を禁止に設定した状態で、図柄番号カウンタの値を参照して、当該図柄番号カウンタの値に基づいて、停止操作が行われたリールを停止させる停止位置を特定するので、図柄番号カウンタの値を参照する処理中にタイマ割込が実行され、図柄番号カウンタが変更されてしまうことがないため、停止操作がされたときのリールの位置を正確に特定することができる。 In the reel rotation control process of the timer interrupt process (main), the main control unit 41 of the present embodiment executes a process of outputting a drive signal for rotating and stopping the reel motors 32L, 32C, 32R, and the drive. Each time the excitation state of the reel motor is changed by a signal, the reel step number update processing is executed to update the symbol number counter or the like that can specify the symbol number as information about the reel position, while the reel control of the main processing is performed. In the process, when the reel stop operation is performed, with the timer interrupt set to prohibit, the value of the symbol number counter is referenced, and the stop operation is performed based on the value of the symbol number counter. Since the stop position for stopping the reel is specified, a timer interrupt is executed during the process of referring to the value of the symbol number counter, and the symbol number counter is not changed, so when the stop operation is performed The position of the reel can be accurately specified.

本実施例のメイン制御部41は、メイン処理のリール回転停止処理において、図柄ステップ数カウンタの値が判定範囲内にあるか否か、すなわち特定の範囲外にあるか否かを判定する第1の処理と、判定範囲内にあり特定の範囲外にないと判定した場合に図柄番号カウンタの値を取得する第2の処理と、を実行可能であり、第1の処理の結果、図柄ステップ数カウンタの値が特定の範囲外にあると判定した場合にタイマ割込の実行を許可することで、第1の処理の結果特定の範囲外にあると判定した場合、すなわち図柄番号を取得する時期でないと判定された場合には、タイマ割込の実行が許可されるので、タイマ割込の実行が禁止されたままとなることによりリールモータ32L、32C、32Rの駆動信号の出力に影響してしまうことを防止できる。 In the reel rotation stop processing of the main processing, the main control unit 41 of the present embodiment determines whether or not the value of the symbol step number counter is within the determination range, that is, whether or not it is outside the specific range. And the second process of acquiring the value of the symbol number counter when it is determined that it is within the determination range and not outside the specific range, the result of the first process, the number of symbol steps When it is determined that the value of the counter is out of the specific range, by permitting execution of the timer interrupt, as a result of the first process, it is determined that the value is out of the specific range, that is, when the symbol number is acquired If it is determined that the timer interrupt execution is not permitted, execution of the timer interrupt remains prohibited, which affects the output of the drive signals of the reel motors 32L, 32C, and 32R. It can be prevented.

尚、本実施例のメイン制御部41は、メイン処理のリール回転停止処理において、図柄ステップ数カウンタの値が特定の範囲外にあるか否かを判定する第1の処理と、特定の範囲外にないと判定した場合に図柄番号カウンタの値を取得する第2の処理と、を実行可能であり、第1の処理の結果、図柄ステップ数カウンタの値が特定の範囲外にあると判定した場合にタイマ割込の実行を許可する構成であるが、メイン制御部41は、図柄ステップ数カウンタの値が特定の値(例えば、11)であるか否かを判定する第1の処理と、特定の値であると判定した場合に図柄番号カウンタの値を取得する第2の処理と、を実行可能であり、第1の処理の結果、図柄ステップ数カウンタの値が特定の値でないと判定した場合にタイマ割込の実行を許可する構成であっても良い。このような構成では、第1の処理の結果特定の値でないと判定した場合、すなわち図柄番号を取得する時期でないと判定された場合に、タイマ割込の実行が許可されるので、タイマ割込の実行が禁止されたままとなることによりリールモータ32L、32C、32Rの駆動信号の出力に影響してしまうことを防止できる。 In the reel rotation stop process of the main process, the main control unit 41 of the present embodiment is the first process of determining whether the value of the symbol step number counter is outside the specific range, and the outside of the specific range. If it is determined that it is not, it is possible to execute the second process of acquiring the value of the symbol number counter, and as a result of the first process, it is determined that the value of the symbol step number counter is out of the specific range. In the case where the execution of the timer interrupt is permitted, the main control section 41 determines the value of the symbol step number counter is a specific value (for example, 11) and the first processing, When it is determined to be a specific value, the second process of acquiring the value of the symbol number counter can be executed, and as a result of the first process, it is determined that the value of the symbol step number counter is not a specific value. In this case, the timer interrupt may be permitted to be executed. In such a configuration, when it is determined that the result is not a specific value as a result of the first processing, that is, when it is determined that it is not time to acquire the symbol number, execution of the timer interrupt is permitted, so the timer interrupt is performed. It is possible to prevent the output of the drive signals of the reel motors 32L, 32C, and 32R from being affected by the execution of the process being prohibited.

本実施例のメイン制御部41は、メイン処理のリール回転停止処理において、タイマ割込を禁止した状態で、リールの停止操作が行われたときの図柄番号カウンタの値を取得した後、当該タイマ割込を禁止にした状態を維持して、当該取得した図柄番号カウンタの値に基づいて滑りコマ数を特定する、すなわちリールを停止させる停止位置を特定するので、図柄番号カウンタの値を取得する処理中だけでなく、取得した図柄番号カウンタの値に基づいてリールを停止させる停止位置を特定する処理中もタイマ割込の実行が禁止されるので、停止位置が特定されていない状態でリールモータの駆動が進んでしまうことにより停止制御が遅れてしまうことを防止できる。すなわち、仮に、図柄番号カウンタの値を取得した後、タイマ割込の実行を一旦許可して、その後、図柄番号カウンタの値に基づいて滑りコマ数を特定するような構成では、図柄番号カウンタの値が取得されているにも関わらず、滑りコマ数が設定されていない状態で、タイマ割込が実行されてしまう場合があり、このような場合のタイマ割込では、滑りコマ数が設定されていないので、リールの停止制御が開始されることがなく、当該タイマ割込が終了した後であって図柄番号カウンタの値に基づいて滑りコマ数が設定された後に実行されるタイマ割込において、リールの停止制御が開始されることとなる一方で、本実施例のように、タイマ割込の実行が禁止される状態を維持して、リールの停止操作が行われたときの図柄番号カウンタの値を取得し後、図柄番号カウンタの値に基づいて滑りコマ数を特定するまでの一連の処理を実行することで、図柄番号カウンタの値を取得した次のタイマ割込において、当該図柄番号に基づいて設定した滑りコマ数によるリールの停止制御を開始させることができる。 In the reel rotation stop process of the main process, the main control unit 41 of the present embodiment acquires the value of the symbol number counter when the reel stop operation is performed in the state where the timer interrupt is prohibited, and then the timer Maintaining the state of prohibiting interruption, the number of sliding symbols is specified based on the acquired value of the symbol number counter, that is, the stop position for stopping the reel is specified, so the value of the symbol number counter is acquired. Not only during processing, but also during processing to specify the stop position to stop the reel based on the acquired value of the symbol number counter, execution of the timer interrupt is prohibited, so the reel motor is not specified in the stop position. It is possible to prevent the stop control from being delayed due to the progress of the driving of. That is, temporarily, after acquiring the value of the symbol number counter, once permitting the execution of the timer interrupt, and then specifying the number of sliding symbols based on the value of the symbol number counter, in the symbol number counter Even if the value is acquired, the timer interrupt may be executed in the state where the number of sliding symbols is not set.In such a case, the number of sliding symbols is set in the timer interrupt. Since the reel stop control is not started, the timer interrupt is executed after the timer interrupt is finished and the number of sliding symbols is set based on the value of the symbol number counter. While the reel stop control is started, the symbol number counter when the reel stop operation is performed while maintaining the state in which the execution of the timer interrupt is prohibited as in the present embodiment After acquiring the value of, by performing a series of processes until the number of sliding pieces is specified based on the value of the symbol number counter, in the next timer interrupt that acquired the value of the symbol number counter, the symbol number It is possible to start the reel stop control based on the number of sliding symbols set based on the above.

本実施例では、1リールに配置される図柄数は21図柄であり、リールモータは一周するために336ステップを要し、1リールの21図柄の全てに対して1図柄あたり16ステップを均等に割り当てることで、リールを1周させたときに21図柄を1巡りさせることが可能な構成であるが、1リールの図柄数を20図柄、すなわちリールを1周させるために要するステップ数を均等に分割できない図柄数として、リールを1周させたときに20図柄を1巡りさせることが可能な構成であっても良い。このような構成では、1図柄に割り当てるステップ数を16ステップと18ステップとすること、すなわち1図柄に割り当てるステップ数を偶数または奇数のいずれかで統一することが好ましい。 In this embodiment, the number of symbols arranged on one reel is 21 symbols, the reel motor requires 336 steps to complete one round, and 16 steps per symbol are evenly applied to all 21 symbols on one reel. By allocating, it is possible to make one round of 21 symbols when the reel makes one round, but the number of symbols on one reel is 20 symbols, that is, the number of steps required to make one round of the reel is even. As the number of symbols that cannot be divided, it may be possible to have a configuration in which 20 symbols can be made to make one round when the reel makes one round. In such a configuration, it is preferable that the number of steps to be assigned to one symbol is 16 steps and 18 steps, that is, the number of steps to be assigned to one symbol is either an even number or an odd number.

このような1リールの図柄数を、リールを1周させるために要するステップ数を均等に分割できない図柄数とする構成においても、本実施例の全相励磁停止制御を適用してリールを停止させる場合には、リールモータが全相励磁停止制御を開始されてから慣性力で4ステップ分回転して停止することになるので、リールモータの所定のステップ数を所定位置に停止させるためには、図柄に割り当てられた図柄ステップ数のうち最後のステップ数の4ステップ前で、全相励磁停止制御を開始することとなる。 Even in such a configuration that the number of symbols of one reel is the number of symbols that cannot be evenly divided into the number of steps required to rotate the reel once, the reels are stopped by applying the all-phase excitation stop control of the present embodiment. In this case, since the reel motor is rotated by the inertial force for 4 steps and stopped after the all-phase excitation stop control is started, in order to stop the reel motor at a predetermined number of steps at a predetermined position, Four steps before the final step number among the symbol step numbers assigned to the symbol, the all-phase excitation stop control is started.

ここで、仮に、一のリールについて1図柄に割り当てるステップ数を偶数及び奇数が混在する構成として、当該リールが本実施例の1−2相励磁方式で回転制御されている場合に、ある一の図柄を所定の位置(透視窓3の上段、中段、下段のいずれかの領域に当該図柄の領域が一致するように停止する位置)に停止させるために全相励磁停止制御を開始すべきステップ数では、1図柄に割り当てられたステップ数の違いによって、1相で励磁される場合と、2相で励磁される場合とがあり得る。例えば、図24(a)に示すように、1のリールについて1図柄に割り当てるステップ数が16ステップ、17ステップとされる図柄を含む構成では、16ステップが割り当てられた図柄1については、12ステップ目の2相で励磁されるステップ、17ステップが割り当てられた図柄3についても、46ステップ目の2相で励磁されるステップが全相励磁制御の開始タイミングとなる一方で、17ステップが割り当てられた図柄2については、29ステップ目の1相で励磁されるステップが全相励磁のタイミングとなる。 Here, assuming that the number of steps assigned to one symbol for one reel is a mixture of an even number and an odd number, when the reel is rotationally controlled by the 1-2 phase excitation method of the present embodiment, there is one The number of steps at which all-phase excitation stop control should be started to stop the design at a predetermined position (position where the region of the design matches the upper, middle, or lower region of the transparent window 3) Then, depending on the difference in the number of steps assigned to one symbol, there may be a case where one phase is excited and a case where two phases are excited. For example, as shown in FIG. 24(a), in a configuration including a symbol in which the number of steps assigned to one symbol for one reel is 16 steps, 17 steps, 12 steps for the symbol 1 to which 16 steps are assigned. Regarding the step 3 excited by the second phase of the eye, the symbol 3 to which 17 steps are assigned, the step excited by the second phase of the 46th step becomes the start timing of the all-phase excitation control, while 17 steps are assigned. With respect to the design 2, the step of being excited in the 1st phase of the 29th step is the timing of all-phase excitation.

このように、一のリールについて1図柄に割り当てるステップ数を偶数及び奇数が混在する構成では、1図柄に割り当てられたステップ数の違いによって、全相励磁停止制御の開始タイミングとなるステップが1相で励磁するステップの場合と2相で励磁するステップの場合とがあり、1相で励磁するステップと2相で励磁するステップとでは、現在位置に留まろうとする力が異なるので、リールを停止させるために共通の全相励磁制御を適用すると、リールが慣性で動作する量が変化して実際にリールが停止するまでの動きにばらつきが生じていてしまうこととなる。 In this way, in a configuration in which even and odd numbers of steps assigned to one symbol are mixed for one reel, the step that is the start timing of the all-phase excitation stop control is one phase due to the difference in the number of steps assigned to one symbol. There are two cases, one for exciting with and the other for exciting with two phases. Since the force for staying at the current position is different between the one-phase exciting step and the two-phase exciting step, the reel is stopped. If the common all-phase excitation control is applied to achieve this, the amount by which the reel operates due to inertia changes, and the movement until the reel actually stops varies.

これに対して、一のリールについて1図柄に割り当てるステップ数を偶数または奇数のいずれかで統一する構成として、当該リールが本実施例の1−2相励磁方式で回転制御されている場合に、ある一の図柄を所定の位置に停止させるために全相励磁停止制御を開始すべきステップ数では、1図柄に割り当てられたステップ数の違い関わらず、同じ相で励磁される場合のみとなる。例えば、図24(b)に示すように、1のリールについて1図柄に割り当てるステップ数を偶数に統一して、1のリールについて1図柄に割り当てるステップ数が16ステップ、18ステップとされる図柄を含む構成では、16ステップが割り当てられた図柄1については、12ステップ目の2相で励磁されるステップ、同じく16ステップが割り当てられた図柄3についても、46ステップ目の2相で励磁されるステップが全相励磁制御の開始タイミングとなるとともに、18ステップが割り当てられた図柄2についても、29ステップ目の1相で励磁されるステップが全相励磁のタイミングとなる。 On the other hand, when the number of steps to be assigned to one symbol for one reel is unified by either an even number or an odd number, when the reel is rotationally controlled by the 1-2 phase excitation method of the present embodiment, With respect to the number of steps to start the all-phase excitation stop control in order to stop a certain symbol at a predetermined position, regardless of the difference in the number of steps assigned to one symbol, it is only when excited in the same phase. For example, as shown in FIG. 24(b), the number of steps assigned to one symbol for one reel is unified to an even number, and the number of steps assigned to one symbol for one reel is 16 steps and 18 steps. In the configuration including, for the design 1 to which 16 steps are assigned, the step to be excited in the 2nd phase of the 12th step, and also for the design 3 to which 16 steps are also assigned, the step to be excited in the 2nd phase of the 46th step Is the start timing of the all-phase excitation control, and also for the symbol 2 to which 18 steps are assigned, the step excited in the first phase of the 29th step becomes the timing of all-phase excitation.

このように、一のリールについて1図柄に割り当てるステップ数を偶数または奇数のいずれかで統一する構成では、1図柄に割り当てられたステップ数の違いに関わらず、全相励磁停止制御の開始タイミングとなるステップが同じ相で励磁される場合のみであり、いずれのステップにおいても現在位置に留まろうとする力が同じになるので、リールを停止させるために共通の全相励磁制御を適用する場合でも、リールが慣性で動作する量が変化してしまうことを抑えて、実際にリールが停止するまでの動きのばらつきを低減させることができる。 In this way, in a configuration in which the number of steps assigned to one symbol for one reel is unified by either an even number or an odd number, regardless of the difference in the number of steps assigned to one symbol, the start timing of all-phase excitation stop control and It is only when the steps are excited in the same phase, and the force to stay at the current position is the same in any step, so even when applying the common all-phase excitation control to stop the reels. It is possible to suppress a change in the amount of movement of the reel due to inertia and reduce variations in movement until the reel actually stops.

尚、リールが停止するまでに要するステップ数は、リールやリールモータの特性(重さや大きさ、電気機械的な性質)等によって変化するので、リールの停止制御においては、当該特性に応じたステップ数で、全相励磁停止制御を行うことで、同様の作用効果を奏する。 Since the number of steps required until the reels stop varies depending on the characteristics (weight, size, electromechanical properties) of the reels and reel motors, etc. By performing the all-phase excitation stop control with a number, the same effect can be obtained.

このように、1リールの図柄数を20図柄、すなわちリールを1周させるために要するステップ数を均等に分割できない図柄数として、リールを1周させたときに20図柄を1巡りさせることが可能な構成において、本実施例のように、メイン制御部41は、有効なリールの停止操作が行われた際に、リール回転停止処理を実行して、図柄ステップ数カウンタの値が特定の範囲(非判定範囲)であるときには、図柄番号を取得せず、特定の範囲外(判定範囲)となったときには、図柄番号カウンタの値を図柄番号として取得する構成にあっては、1図柄に割り当てられたステップ数が異なる図柄のうちの一の図柄については、図柄ステップ数カウンタの値が、当該図柄に対応する第1の特定の範囲(第1の非判定範囲)であるときには、図柄番号を取得せず、第1の特定の範囲外(第1の判定範囲)となったときに、図柄番号カウンタの値を図柄番号として取得する一方で、1図柄に割り当てられたステップ数が異なる他の図柄については、図柄ステップ数カウンタの値が、第1の特定の範囲を加算または減算等の演算により補正した第2の特定の範囲(第2の非判定範囲)であるときには、図柄番号を取得せず、第2の特定の範囲外(第2の非判定範囲)となったときに、図柄番号カウンタの値を図柄番号として取得する構成とすることで、停止操作が行われたときの図柄番号カウンタの値が、第1の特定の範囲に対応する図柄番号であっても、第2の特定の範囲に対応する図柄番号であっても、ともに図柄ステップ数カウンタの値が共通の特定の範囲(共通のステップ数からなる特定の範囲)以外であるときに図柄番号カウンタの値を取得することができる。 In this way, the number of symbols on one reel is 20 symbols, that is, the number of steps required to make one round of the reel cannot be equally divided, and it is possible to make one round of 20 symbols when the reel makes one round. In such a configuration, as in the present embodiment, the main control unit 41 executes reel rotation stop processing when a valid reel stop operation is performed, and the value of the symbol step number counter is within a specific range ( When it is in the non-judgment range), the symbol number is not acquired, and when it goes out of the specific range (judgment range), the value of the symbol number counter is acquired as the symbol number. For one of the symbols with different step numbers, when the value of the symbol step number counter is in the first specific range (first non-determination range) corresponding to the symbol, the symbol number is acquired. Without, when it goes out of the first specific range (first determination range), the value of the symbol number counter is acquired as the symbol number, while other symbols in which the number of steps assigned to one symbol is different Regarding, when the value of the symbol step number counter is the second specific range (second non-determination range) in which the first specific range is corrected by an operation such as addition or subtraction, the symbol number is acquired. Without, the second specific range (the second non-judgment range), when it is configured to acquire the value of the symbol number counter as the symbol number, the symbol number when the stop operation is performed Whether the value of the counter is the symbol number corresponding to the first specific range or the symbol number corresponding to the second specific range, the specific range in which the value of the symbol step number counter is common The value of the symbol number counter can be acquired when the value is other than (a specific range including the common number of steps).

具体的には、例えば、図25(a)に示すように、リールを1周させるために要するステップ数を均等に分割できない20図柄のリールであって、16ステップを割り当てられた図柄と、18ステップを割り当てられた図柄とを配置する構成では、16ステップが割り当てられた図柄については、本実施例(図19参照)と同様に、16の図柄ステップ数のうち第1の特定の範囲(12〜15)を非判定範囲とし、当該第1の特定の範囲外(0〜11)を判定範囲とする一方で、18ステップが割り当てられた図柄については、第1の特定の範囲(12〜15)を、2ステップ分(16ステップと18ステップの差分)だけ加算して補正した第2の特定の範囲(14〜17)を非判定範囲とし、当該第2の特定の範囲外(0〜13)を判定範囲とする構成とすることで、図柄ステップ数として16ステップが割り当てられた図柄であっても、18ステップが割り当てられた図柄であっても、ともに図柄番号カウンタの値が共通の特定の範囲(停止操作が行われたときの図柄番号カウンタの値に対応する図柄でリールを停止させることができない4ステップからなる特定の範囲)以外であるときに図柄番号カウンタの値を取得することができる。 Specifically, for example, as shown in FIG. 25( a ), a reel of 20 symbols in which the number of steps required to make one round of the reel cannot be equally divided, and a symbol to which 16 steps are assigned, 18 In the configuration in which the symbols to which the steps are assigned are arranged, the symbols to which the 16 steps are assigned are similar to the present embodiment (see FIG. 19) in the first specific range (12 in the number of 16 symbol steps). 15 to 15) is a non-judgment range, and the outside of the first specific range (0 to 11) is a judgment range, while the symbols to which 18 steps are allocated are the first specific range (12 to 15). ) Is added by 2 steps (difference between 16 steps and 18 steps) and corrected, and the second specific range (14 to 17) is set as the non-determination range, and the second specific range (0 to 13) is excluded. ) As the determination range, whether the symbols are assigned 16 steps as the number of symbol steps or the symbols to which 18 steps are assigned, both have a common value of the symbol number counter. To obtain the value of the symbol number counter when it is outside the range (a specific range consisting of four steps in which the reel cannot be stopped with the symbol corresponding to the value of the symbol number counter when the stop operation is performed) You can

また、図25(b)に示すように、例えば、20図柄のリールであって、16ステップを割り当てられた図柄と、18ステップを割り当てられた図柄とを配置する構成において、18ステップが割り当てられた図柄について、第3の特定の範囲(14〜17)を非判定範囲とし、当該第3の特定の範囲外(0〜13)を判定範囲とする一方で、16ステップが割り当てられた図柄については、第3の特定の範囲を、16ステップと18ステップの差分だけ減算して補正した第4の特定の範囲(12〜15)を非判定範囲とし、当該第4の特定の範囲外(0〜13)を判定範囲とする構成とすることでも、上述の例と同様に、いずれの図柄についても、ともに図柄番号カウンタの値が共通の特定の範囲(停止操作が行われたときの図柄番号カウンタの値に対応する図柄でリールを停止させることができない4ステップからなる特定の範囲)以外であるときに図柄番号カウンタの値を取得することができる。 Further, as shown in FIG. 25(b), for example, in a reel of 20 symbols, in a configuration in which a symbol assigned with 16 steps and a symbol assigned with 18 steps are arranged, 18 steps are assigned. Regarding the symbols, the third specific range (14 to 17) is set as the non-determination range, and the outside of the third specific range (0 to 13) is set as the determination range, while the symbols to which 16 steps are assigned Is the fourth specific range (12 to 15) obtained by subtracting the difference between the 16th step and the 18th step and correcting the third specific range as a non-judgment range, and is outside the fourth specific range (0 ~ 13) as the determination range, similarly to the above-mentioned example, with respect to any of the symbols, a specific range in which the value of the symbol number counter is common (the symbol number when the stop operation is performed) The value of the symbol number counter can be acquired when the value is other than the specific range consisting of 4 steps in which the reel cannot be stopped with the symbol corresponding to the value of the counter.

尚、上述の例では、図柄ステップ数として16ステップが割り当てられた図柄または18ステップが割り当てられた図柄のいずれかの一方の図柄についての特定の範囲(停止操作が行われたときの図柄番号カウンタの値に対応する図柄でリールを停止させることができない4ステップからなる特定の範囲)を、加算または減算する補正を行って、他方の図柄についての特定の範囲とする構成であるが、1図柄に割り当てられた図柄ステップ数が少ない方の図柄についての特定の範囲を、補正を行うことなく、他の図柄についての特定の範囲として適用する構成、例えば、16ステップの図柄であっても、18ステップの図柄であっても、ともに共通の特定のステップとして11を境にして特定の範囲(12〜15または12〜170)と、特定の範囲外(0〜11)を設定する構成であっても良い。このような構成では、図柄ステップ数として16ステップが割り当てられた図柄及び18ステップが割り当てられた図柄について、図柄ステップ数カウンタの値が共通の特定の範囲外(0〜11)であるときに、図柄番号値を取得して当該リールを停止させる停止制御を共通の処理で行うことが可能となる。尚、共通の特定のステップは、1図柄に割り当てられたステップ数が異なる図柄のいずれの図柄においても、滑りコマ数0で当該図柄を所定の位置に停止させることができるステップであり、1図柄に割り当てられたステップ数が最も小さい図柄の判定範囲(後の4ステップよりも前のステップ)の最後の値である。 In the above example, a specific range for one of the symbols to which 16 steps are assigned as the number of symbol steps or the symbols to which 18 steps are assigned (the symbol number counter when the stop operation is performed) The specific range consisting of 4 steps in which the reel cannot be stopped in the symbol corresponding to the value of) is corrected by adding or subtracting, and is a specific range for the other symbol. The specific range for the symbol having the smaller number of symbol steps assigned to is applied as a specific range for other symbols without correction, for example, even if the symbol has 16 steps, 18 Even in the case of the pattern of steps, a specific range (12 to 15 or 12 to 170) and a range outside the specific range (0 to 11) are set with 11 as a common specific step. Is also good. In such a configuration, for the symbols to which 16 steps are assigned as the number of symbol steps and the symbols to which 18 steps are assigned, when the value of the symbol step number counter is outside the common specific range (0 to 11), It becomes possible to perform the stop control for acquiring the symbol number value and stopping the reel by a common process. In addition, the common specific step is a step in which the symbol can be stopped at a predetermined position with the number of sliding symbols 0 in any of the symbols in which the number of steps assigned to one symbol is different. It is the last value of the judgment range of the symbol with the smallest number of steps assigned to (the step before the last four steps).

このように、1リールを1周させるために要するステップ数を均等に分割できない図柄数のリールであって、1図柄に割り当てられたステップ数が異なる図柄のうちの一の図柄については、図柄ステップ数カウンタの値が、当該図柄に対応する第1の特定の範囲(第1の非判定範囲)であるときには、図柄番号を取得せず、第1の特定の範囲外(第1の判定範囲)となったときに、図柄番号カウンタの値を図柄番号として取得する一方で、1図柄に割り当てられたステップ数が異なる他の図柄については、図柄ステップ数カウンタの値が、第1の特定の範囲を加算または減算等して補正した第2の特定の範囲(第2の非判定範囲)であるときには、図柄番号を取得せず、第2の特定の範囲外(第2の非判定範囲)となったときに、図柄番号カウンタの値を図柄番号として取得する構成であるが、図柄ステップ数カウンタの値が、特定の値であるか否かに基づいて、図柄番号を取得するまたは取得しない構成であっても良い。 In this way, a reel having a number of symbols that cannot be evenly divided into the number of steps required for one reel to make one revolution, and one of symbols having a different number of steps assigned to one symbol is a symbol step. When the value of the number counter is in the first specific range (first non-judgment range) corresponding to the symbol, the symbol number is not acquired and is out of the first specific range (first judgment range) When the value becomes, the value of the symbol number counter is acquired as the symbol number, while for other symbols in which the number of steps assigned to one symbol is different, the value of the symbol step number counter is the first specific range. When it is the second specific range (second non-determination range) that is corrected by adding or subtracting, the symbol number is not acquired, and it is outside the second specific range (second non-determination range). When it becomes, the value of the symbol number counter is acquired as the symbol number, but the value of the symbol step number counter is based on whether or not it is a specific value. May be

このような構成としては、例えば、1図柄に割り当てられたステップ数が異なる図柄のうちの一の図柄(例えば、16ステップが割り当てられた図柄)については、図柄ステップ数カウンタの値が、当該図柄に対応する第1の特定の値(第1の判定値、例えば、11ステップ)であるときには、図柄ステップ数カウンタの値を図柄番号として取得し、第1の特定の値以外の値(例えば、0〜10ステップ及び12〜15ステップ)であるときには、そのときの図柄番号カウンタの値を取得せず、その後第1の特定の値となったときに、図柄番号カウンタの値を図柄番号として取得する一方で、1図柄に割り当てられたステップ数が異なる図柄のうちの他の図柄(例えば、18ステップが割り当てられた図柄)については、図柄ステップ数カウンタの値が、第1の特定の値を加算または減算等して補正した第2の特定の値(例えば、16ステップと18ステップの差分の2ステップ分を加算した13ステップ)であるときには、図柄ステップ数カウンタの値を図柄番号として取得し、第2の特定の値以外の値(例えば、0〜12ステップ及び14〜17ステップ)であるときには、そのときの図柄カウンタの値を取得せずに、その後第2の特定の値となったときに、図柄番号カウンタの値を図柄番号として取得する構成であっても良く、このような構成とすることで、停止操作が行われたときの図柄番号カウンタの値が、第1の特定の値に対応する図柄番号であっても、第2の特定の値に対応する図柄番号であっても、ともに図柄ステップ数カウンタの値が共通の特定の範囲(その時点での図柄番号カウンタの値に基づいて特定される図柄を滑りコマ数0で所定の位置に停止させることができない、図柄ステップ数のうち最後の4ステップの範囲)の直前であるときに図柄番号カウンタの値を取得することができる。 As such a configuration, for example, for one of the symbols having a different number of steps assigned to one symbol (for example, a symbol to which 16 steps are assigned), the value of the symbol step number counter is the symbol concerned. When it is the first specific value (first determination value, for example, 11 steps) corresponding to, the value of the symbol step number counter is acquired as the symbol number, and a value other than the first specific value (for example, When it is 0 to 10 steps and 12 to 15 steps), the value of the symbol number counter at that time is not acquired, and when it becomes the first specific value thereafter, the value of the symbol number counter is acquired as the symbol number. On the other hand, for other symbols (for example, symbols to which 18 steps are assigned) of the symbols having different number of steps assigned to one symbol, the value of the symbol step number counter is the first specific value. When it is the second specific value corrected by addition or subtraction (for example, 13 steps by adding 2 steps of the difference between 16 steps and 18 steps), the value of the symbol step number counter is acquired as the symbol number. , When the value is a value other than the second specific value (for example, 0 to 12 steps and 14 to 17 steps), the value of the symbol counter at that time is not acquired, and then becomes the second specific value. At this time, the value of the symbol number counter may be acquired as the symbol number. With such a configuration, the value of the symbol number counter when the stop operation is performed is the first specific value. Whether it is the symbol number corresponding to the value or the symbol number corresponding to the second specific value, the value of the symbol step number counter is in a common specific range (the value of the symbol number counter at that point). It is not possible to stop the symbol specified on the basis of the number of sliding symbols at a predetermined position, and the value of the symbol number counter is acquired immediately before the last 4 steps of the symbol step number). You can

また、例えば、1図柄に割り当てられたステップ数が異なる図柄のいずれの図柄についても、滑りコマ数0で当該図柄を所定の位置に停止させることができるステップであり、1図柄に割り当てられたステップ数が最も小さい図柄の判定範囲(例えば、18ステップが割り当てられた図柄と16ステップが割り当てられた図柄を含む構成において、16ステップが割り当てられた図柄における、0〜11ステップ)の最後の値(例えば、11ステップ)を共通の特定の値として、当該共通の特定の値であるときには、図柄ステップ数カウンタの値を図柄番号として取得し、共通の特定の値以外の値であるときには、そのときの図柄番号カウンタの値を取得せず、その後共通の特定の値となったときに、図柄番号カウンタの値を図柄番号として取得する構成であっても良く、このような構成とすることで、1図柄に割り当てられたステップ数が異なる図柄のいずれの図柄についても、共通の判定範囲停止操作が行われたときの図柄番号カウンタの値が、共通の特定の値であるときに、図柄番号カウンタの値を取得することができる。 Further, for example, for any of the symbols having a different number of steps assigned to one symbol, this is a step in which the symbol can be stopped at a predetermined position with the number of sliding symbols being 0, and the step assigned to one symbol. The final value of the determination range of the symbol with the smallest number (for example, in the configuration including the symbol to which 18 steps are assigned and the symbol to which 16 steps are assigned, 0 to 11 steps in the symbol to which 16 steps are assigned) ( For example, 11 steps) as a common specific value, when the common specific value, the value of the symbol step number counter is acquired as a symbol number, when it is a value other than the common specific value, then The value of the symbol number counter is not acquired, and when it becomes a common specific value after that, the value of the symbol number counter may be acquired as the symbol number. With such a configuration, For any of the symbols having different numbers of steps assigned to one symbol, when the value of the symbol number counter when the common judgment range stop operation is performed is a common specific value, the symbol number counter The value of can be obtained.

尚、図24で示す例では、リールステップ数が1を起点としてカウントする構成であるが、上記実施例と同様に、リールステップ数が0を起点としてカウントする構成としても良い。 In the example shown in FIG. 24, the reel step number is counted from 1 as a starting point, but as in the above embodiment, the reel step number may be counted from 0 as a starting point.

以上、本発明の実施例を図面により説明してきたが、本発明はこの実施例に限定されるものではなく、本発明の主旨を逸脱しない範囲における変更や追加があっても本発明に含まれることは言うまでもない。 Although the embodiment of the present invention has been described above with reference to the drawings, the present invention is not limited to this embodiment, and modifications and additions within the scope of the present invention are included in the present invention. Needless to say.

前記実施例では、本発明を遊技用価値としてメダル並びにクレジットを用いて賭数が設定されるスロットマシンに適用した例について説明したが、遊技用価値として遊技球を用いて賭数を設定するスロットマシンや、遊技用価値としてクレジットのみを使用して賭数を設定する完全クレジット式のスロットマシンに適用しても良い。遊技球を遊技用価値として用いる場合は、例えば、メダル1枚分を遊技球5個分に対応させることができ、前記実施例で賭数として3を設定する場合は、15個の遊技球を用いて賭数を設定するものに相当する。 In the above embodiment, the example in which the present invention is applied to the slot machine in which the bet number is set by using the medal and the credit as the game value is explained, but the slot in which the bet number is set by using the game ball as the game value. It may be applied to a machine or a fully credit type slot machine in which bets are set by using only credits as a gaming value. When the game balls are used as the game value, for example, one medal can be made to correspond to five game balls, and when the bet number is set to 3 in the above-described embodiment, 15 game balls are used. It is equivalent to setting the bet number using.

さらに、メダル及び遊技球等の複数種類の遊技用価値のうちいずれか1種類のみを用いるものに限定されるものではなく、例えば、メダル及び遊技球等の複数種類の遊技用価値を併用できるものであっても良い。すなわち、メダル及び遊技球等の複数種類の遊技用価値のいずれを用いても賭数を設定してゲームを行うことが可能であり、かつ入賞の発生によってメダル及び遊技球等の複数種類の遊技用価値のいずれをも払い出し得るスロットマシンを適用しても良い。 Further, the present invention is not limited to the use of any one of a plurality of types of gaming values such as medals and gaming balls, and, for example, a combination of a plurality of types of gaming value such as medals and gaming balls. May be That is, it is possible to set the bet number and play the game by using any of a plurality of types of gaming values such as medals and game balls, and a plurality of types of games such as medals and game balls due to the occurrence of a prize. You may apply the slot machine which can pay out any of the value.

1 スロットマシン
2L、2C、2R リール
6 MAXBETスイッチ
7 スタートスイッチ
8L、8C、8R ストップスイッチ
41 メイン制御部
91 サブ制御部
1 slot machine 2L, 2C, 2R reel 6 MAXBET switch 7 start switch 8L, 8C, 8R stop switch 41 main controller 91 sub controller

Claims (1)

各々が識別可能な複数種類の識別情報が配置された表示帯をステッピングモータにより移動させることで変動表示可能な可変表示部を備え、
前記可変表示部の変動表示を停止することで表示結果を導出し、該表示結果に応じて入賞が発生可能なスロットマシンにおいて、
遊技者が表示結果を導出させるために操作する導出操作手段と、
基本処理を実行する基本処理実行手段と、
基本処理に定期的に割り込んで割込処理を実行する割込処理実行手段と、を備え、
前記割込処理実行手段は、
前記割込処理において、前記ステッピングモータに対して駆動信号を出力するための処理を実行する駆動信号出力処理手段と、
前記割込処理において、表示帯の変動状態を設定する変動状態設定手段と、
前記割込処理において、前記ステッピングモータに対して駆動信号が出力されることに基づき表示帯の位置を特定可能な位置特定情報を更新する位置特定情報更新手段と、
前記割込処理において、前記導出操作手段の操作状態を示す操作状態情報を更新する操作状態情報更新手段と、を含み、
前記基本処理実行手段は、
前記基本処理において、異常が生じた可能性のある特定事象が発生したか否かを判定する特定事象判定手段と、
前記基本処理において、前記操作状態情報を参照し、前記操作状態情報が示す操作状態に基づいて前記導出操作手段の操作が受け付けられたか否かを判定する導出操作受付判定手段と、
前記基本処理において、変動状態を取得し、取得した変動状態が特定の変動状態であることを条件に前記導出操作手段の操作の受付を有効化する有効化手段と、
前記基本処理において、前記導出操作手段の操作に応じて位置特定情報を取得する位置特定情報取得手段と、
前記基本処理において、前記位置特定情報取得手段が取得した位置特定情報に基づいて表示帯を停止させる停止位置を特定する停止位置特定手段と、
前記基本処理において、前記割込処理の実行の禁止を設定する割込設定手段と、を含み、
前記割込設定手段は、変動状態を取得する処理中における前記割込処理の実行の禁止を設定し、
前記割込設定手段は、位置特定情報を取得する処理中における前記割込処理の実行の禁止を設定し、
前記導出操作受付判定手段は、前記導出操作手段の操作を待機している状態において前記割込処理が実行される毎に1回、前記導出操作手段の操作が受け付けられたか否かを判定し、
前記特定事象判定手段は、前記導出操作手段の操作を待機している状態において前記割込処理が実行される毎に1回、前記特定事象が発生したか否かを判定し、
前記導出操作受付判定手段は、前記導出操作手段の操作を待機している状態において、前記割込処理が終了した後、前記特定事象が発生したか否かが判定された後に前記導出操作手段の操作が受け付けられたか否かを判定する、スロットマシン。
A variable display unit is provided which can be variably displayed by moving a display band in which a plurality of types of identification information that can be identified are arranged by a stepping motor
In a slot machine in which a display result is derived by stopping the variable display of the variable display unit, and a prize can be generated according to the display result,
Derivation operation means that the player operates to derive the display result,
Basic processing execution means for executing basic processing,
An interrupt process execution means for periodically interrupting the basic process and executing the interrupt process,
The interrupt processing execution means,
Drive signal output processing means for executing a process for outputting a drive signal to the stepping motor in the interrupt process;
In the interrupt process, a variable state setting means for setting the variable state of the display band,
In the interrupt process, position specifying information updating means for updating position specifying information capable of specifying the position of the display band based on the output of the drive signal to the stepping motor,
In the interrupt processing, including an operation state information updating unit for updating the operation state information indicating the operation state of the derivation operation unit,
The basic processing execution means is
In the basic process, a specific event determination means for determining whether a specific event that may have occurred anomaly,
In the basic process, referring to the operation state information, derived operation acceptance determination means for determining whether or not the operation of the derivation operation means is accepted based on the operation state indicated by the operation state information,
In the basic process, an enabling unit that acquires a variation state and validates acceptance of an operation of the derivation operation unit on condition that the obtained variation state is a specific variation state,
In the basic process, a position specifying information acquisition unit that acquires position specifying information according to an operation of the derivation operation unit,
In the basic process, stop position specifying means for specifying a stop position for stopping the display band based on the position specifying information acquired by the position specifying information acquisition means,
In the basic process, an interrupt setting means for setting prohibition of execution of the interrupt process,
The interrupt setting means sets prohibition of execution of the interrupt process during the process of acquiring the fluctuation state,
The interrupt setting means sets prohibition of execution of the interrupt process during a process of acquiring position specifying information ,
The derivation operation acceptance determination means determines whether or not the operation of the derivation operation means has been accepted once each time the interrupt processing is executed while waiting for the operation of the derivation operation means,
The specific event determination means determines whether or not the specific event has occurred once each time the interrupt processing is executed while waiting for the operation of the derivation operation means,
The derivation operation acceptance determination means, in the state of waiting for the operation of the derivation operation means, after the interrupt processing is finished, it is determined whether or not the specific event occurs, A slot machine that determines whether an operation has been accepted .
JP2016155316A 2016-08-08 2016-08-08 Slot machine Active JP6715725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016155316A JP6715725B2 (en) 2016-08-08 2016-08-08 Slot machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016155316A JP6715725B2 (en) 2016-08-08 2016-08-08 Slot machine

Publications (3)

Publication Number Publication Date
JP2018023413A JP2018023413A (en) 2018-02-15
JP2018023413A5 JP2018023413A5 (en) 2020-02-13
JP6715725B2 true JP6715725B2 (en) 2020-07-01

Family

ID=61193353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016155316A Active JP6715725B2 (en) 2016-08-08 2016-08-08 Slot machine

Country Status (1)

Country Link
JP (1) JP6715725B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7149760B2 (en) * 2018-08-07 2022-10-07 株式会社三共 slot machine
JP7365677B2 (en) 2019-09-24 2023-10-20 株式会社ユニバーサルエンターテインメント gaming machine
JP7365678B2 (en) 2019-09-24 2023-10-20 株式会社ユニバーサルエンターテインメント gaming machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015134024A (en) * 2014-01-16 2015-07-27 株式会社藤商事 Game machine

Also Published As

Publication number Publication date
JP2018023413A (en) 2018-02-15

Similar Documents

Publication Publication Date Title
JP6560627B2 (en) Slot machine
JP6677984B2 (en) Gaming machine
JP6250010B2 (en) Slot machine
JP6554398B2 (en) Slot machine
JP6554402B2 (en) Slot machine
JP6715725B2 (en) Slot machine
JP6250009B2 (en) Slot machine
JP6560625B2 (en) Slot machine
JP6689060B2 (en) Slot machine
JP6832623B2 (en) Slot machine
JP6712927B2 (en) Slot machine
JP6689071B2 (en) Amusement machine
JP6554399B2 (en) Slot machine
JP6712928B2 (en) Slot machine
JP6767197B2 (en) Slot machine
JP6554401B2 (en) Slot machine
JP6554400B2 (en) Slot machine
JP6660142B2 (en) Gaming machine
JP6560624B2 (en) Slot machine
JP6560626B2 (en) Slot machine
JP6721321B2 (en) Slot machine
JP6677985B2 (en) Gaming machine
JP2017029594A (en) Game machine
JP2017225713A (en) Slot machine
JP2017225712A (en) Slot machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200422

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200609

R150 Certificate of patent or registration of utility model

Ref document number: 6715725

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