JP6929157B2 - Slot machine - Google Patents

Slot machine Download PDF

Info

Publication number
JP6929157B2
JP6929157B2 JP2017152369A JP2017152369A JP6929157B2 JP 6929157 B2 JP6929157 B2 JP 6929157B2 JP 2017152369 A JP2017152369 A JP 2017152369A JP 2017152369 A JP2017152369 A JP 2017152369A JP 6929157 B2 JP6929157 B2 JP 6929157B2
Authority
JP
Japan
Prior art keywords
medal
game
state
medals
value
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
JP2017152369A
Other languages
Japanese (ja)
Other versions
JP2019030413A (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 JP2017152369A priority Critical patent/JP6929157B2/en
Publication of JP2019030413A publication Critical patent/JP2019030413A/en
Application granted granted Critical
Publication of JP6929157B2 publication Critical patent/JP6929157B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Description

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

この種のスロットマシンとして、クレジットから最大賭数分のメダルを投入するためのマックスベットボタンが操作されたことに伴うクレジットからのメダルの投入処理中に、外部からのメダルの投入が検出された場合には、クレジットからのメダルの投入処理よりも外部から投入されたメダルの検出に伴う投入処理を優先して行い、その後、クレジットからのメダルの投入処理を再開するようにしたものが提案されている(例えば、特許文献1参照)。 As this type of slot machine, the insertion of medals from the outside was detected during the process of inserting medals from credits due to the operation of the max bet button for inserting medals for the maximum number of medals from credits. In this case, it is proposed that the process of inserting medals from credits is prioritized over the process of inserting medals from externals, and then the process of inserting medals from credits is restarted. (See, for example, Patent Document 1).

特開2017−18487号公報Japanese Unexamined Patent Publication No. 2017-18487

特許文献1に記載のスロットマシンでは、クレジットからのメダルの投入処理中に、外部からのメダルの投入が検出された場合にクレジットからのメダルの投入処理を中断して外部から投入されたメダルの検出に伴う投入処理を行うものであり、処理が複雑となってしまうものであった。 In the slot machine described in Patent Document 1, when the insertion of medals from the outside is detected during the processing of inserting medals from credits, the processing of inserting medals from credits is interrupted and the medals inserted from the outside are inserted. The input process is performed along with the detection, which complicates the process.

本発明は、このような問題点に着目してなされたものであり、賭数の設定に伴う処理が複雑化することのないスロットマシンを提供することを目的とする。 The present invention has been made by paying attention to such a problem, and an object of the present invention is to provide a slot machine in which processing associated with setting a bet number is not complicated.

上記課題を解決するために、本発明の請求項1のスロットマシンは、
各々が識別可能な複数種類の識別情報を変動表示可能な可変表示部を備え、
前記可変表示部の変動表示を停止することで表示結果を導出し、該表示結果に応じて入賞が発生可能なスロットマシンにおいて、
規定数の賭数が設定されることで遊技を開始可能とする遊技開始可能化手段と、
遊技媒体の投入を検出する投入検出手段と、
遊技者所有の遊技用価値を記憶する遊技用価値記憶手段と、
遊技者が遊技用価値を用いて賭数を設定する際に操作する賭数設定操作手段と、
投入された遊技媒体が前記投入検出手段の検出範囲を正常に通過したことを判定した場合に賭数を加算する第1処理及び賭数設定操作手段が操作されたことに基づいて遊技用価値を減算し、賭数を加算する第2処理を行う処理手段と、
を備え、
前記処理手段は、前記第2処理において、投入された遊技媒体が前記投入検出手段の検出範囲にあるか否かを判定し、前記検出範囲にないと判定されたことを条件に遊技用価値を減算し、賭数を加算する処理を行うことが可能であり、前記第2処理の開始後、当該第2処理が完了するまで前記第1処理を行わない
ことを特徴としている。
本発明の手段1のスロットマシンは、
各々が識別可能な複数種類の識別情報を変動表示可能な可変表示部(リール2L、2C、2R)を複数備え、
前記可変表示部(リール2L、2C、2R)の変動表示を停止することで表示結果を導出し、複数の可変表示部の表示結果の組合せに応じて入賞が発生可能なスロットマシン(スロットマシン1)において、
規定数の賭数が設定されることで遊技を開始可能とする遊技開始可能化手段(遊技開始待ち処理)と、
遊技媒体(メダル)の投入を検出する投入検出手段(投入メダルセンサ31a〜31c)と、
遊技者所有の遊技用価値(クレジット)を記憶する遊技用価値記憶手段(RAM41c)と、
遊技者が遊技用価値を用いて賭数を設定する際に操作する賭数設定操作手段(MAXBETスイッチ6)と、
遊技媒体の投入が検出されたことに基づいて賭数を加算する第1処理(メダル投入信号処理)及び前記賭数設定操作手段(MAXBETスイッチ6)が操作されたことに基づいて遊技用価値を減算し、賭数を加算する第2処理(操作入力受付処理)を行う処理手段(メイン制御部41)と、
を備え、
前記処理手段は、前記第2処理(操作入力受付処理)において遊技媒体(メダル)の投入が検出されているか否かを判定し、遊技媒体の投入が検出されていないと判定された場合に遊技用価値(クレジット)を減算し、賭数を加算する処理(メダル投入実行処理)を行うことが可能であり、前記第2処理(操作入力受付処理)の開始後、当該第2処理が完了するまで前記第1処理(メダル投入信号処理)を行わない
ことを特徴としている。
この特徴によれば、処理手段は、遊技媒体の投入が検出されたことに基づいて賭数を加算する第1処理と、賭数設定操作手段が操作されたことに基づいて遊技用価値を減算し、賭数を加算する第2処理と、を行うとともに、第2処理において遊技媒体の投入が検出されているか否かを判定し、遊技媒体の投入が検出されていない場合に遊技用価値を減算し、賭数を加算する処理を行うことが可能であり、第2処理の開始後、当該第2処理が完了するまでは第1処理を行わないため、遊技媒体の投入が検出されている状況で第2処理が行われてしまうことがなく、また、遊技用価値を減算し、賭数を加算する第2処理を中断して、遊技媒体の投入が検出されたことに基づき賭数を加算する第1処理が優先されるようなことがなく、処理が複雑となってしまうことがない。
In order to solve the above problems, the slot machine according to claim 1 of the present invention is used.
Equipped with a variable display unit that can variablely display multiple types of identification information that can be identified by each
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.
A game start enabling means that enables a game to be started by setting a specified number of bets,
Input detection means for detecting the input of the game medium,
A game value storage means for storing the game value owned by the player,
The bet number setting operation means that the player operates when setting the bet number using the game value, and
The game value is determined based on the first process of adding the bet number when it is determined that the inserted game medium has normally passed the detection range of the input detection means and the operation of the bet number setting operation means. A processing means for performing a second process of subtracting and adding the number of bets,
With
In the second process, the processing means determines whether or not the charged gaming medium is within the detection range of the input detecting means, and determines the value for gaming on the condition that it is determined that the charging medium is not within the detection range. It is possible to perform the process of subtracting and adding the number of bets, and after the start of the second process, the first process is not performed until the second process is completed.
It is characterized by that.
The slot machine of means 1 of the present invention
A plurality of variable display units (reels 2L, 2C, 2R) capable of variablely displaying a plurality of types of identification information, each of which can be identified, are provided.
A slot machine (slot machine 1) capable of deriving a display result by stopping the variable display of the variable display units (reels 2L, 2C, 2R) and generating a prize according to a combination of display results of a plurality of variable display units. )
A game start enabling means (game start waiting process) that enables a game to be started by setting a specified number of bets, and
Insertion detection means (insertion medal sensors 31a to 31c) for detecting the insertion of a game medium (medal), and
A game value storage means (RAM 41c) for storing a game value (credit) owned by a player, and
The bet number setting operation means (MAXBET switch 6) operated by the player when setting the bet number using the game value, and
The game value is calculated based on the operation of the first process (medal insertion signal processing) for adding the bet number based on the detection of the insertion of the game medium and the bet number setting operation means (MAXBET switch 6). A processing means (main control unit 41) that performs a second process (operation input reception process) of subtracting and adding the number of bets, and
With
The processing means determines whether or not the insertion of the game medium (medal) is detected in the second process (operation input reception process), and when it is determined that the insertion of the game medium is not detected, the game is played. It is possible to perform a process of subtracting the utility value (credit) and adding the number of bets (medal insertion execution process), and after the start of the second process (operation input acceptance process), the second process is completed. It is characterized in that the first processing (medal insertion signal processing) is not performed until.
According to this feature, the processing means subtracts the game value based on the first process of adding the bet number based on the detection of the input of the game medium and the operation of the bet number setting operation means. Then, the second process of adding the number of bets is performed, and it is determined whether or not the input of the game medium is detected in the second process, and if the input of the game medium is not detected, the value for the game is calculated. It is possible to perform a process of subtracting and adding the number of bets, and since the first process is not performed until the second process is completed after the start of the second process, the input of the game medium is detected. The second process is not performed in the situation, and the second process of subtracting the game value and adding the bet number is interrupted, and the bet number is calculated based on the detection of the input of the game medium. The first process to be added is not prioritized, and the process is not complicated.

尚、手段1において前記第2処理の開始後、当該第2処理が完了するまで前記第1処理を行わないとは、前記第2処理の開始後、当該第2処理が完了してから前記第1処理が行われる構成、すなわち前記第2処理が完了するまで前記第1処理が行われる契機とならない構成でも良いし、前記第2処理の開始後、当該第2処理が完了するまで前記第1処理が禁止される構成、すなわち前記第2処理が完了するまでに前記第1処理が行われる契機となっても前記第1処理が行われない構成でも良い。 In addition, after the start of the second process in the means 1, the first process is not performed until the second process is completed. After the start of the second process, the second process is completed after the second process is completed. A configuration in which one process is performed, that is, a configuration that does not trigger the first process to be performed until the second process is completed, may be used, or after the start of the second process, the first process is completed until the second process is completed. A configuration in which the processing is prohibited, that is, a configuration in which the first processing is not performed even if the first processing is performed by the time the second processing is completed may be used.

本発明の手段2のスロットマシンは、手段1に記載のスロットマシンであって、
前記処理手段(メイン制御部41)は、段階的に処理を進める基本処理(メイン処理)を実行する基本処理実行手段を備え、
前記基本処理は、遊技が開始されるまで複数の処理を繰り返し実行する遊技開始待ち処理を含み、
前記遊技開始待ち処理では、前記第1処理(メダル投入信号処理)及び前記第2処理(操作入力受付処理)を含む複数の処理が繰り返し実行される
ことを特徴としている。
The slot machine of the means 2 of the present invention is the slot machine according to the means 1.
The processing means (main control unit 41) includes basic processing executing means for executing basic processing (main processing) in which processing is advanced step by step.
The basic process includes a game start waiting process in which a plurality of processes are repeatedly executed until the game is started.
The game start waiting process is characterized in that a plurality of processes including the first process (medal input signal process) and the second process (operation input reception process) are repeatedly executed.

本発明の手段3のスロットマシンは、手段2に記載のスロットマシンであって、
前記第1処理(メダル投入信号処理)では、前記投入検出手段(投入メダルセンサ31a〜31c)による遊技媒体(メダル)の検出状態の遷移を取得し、取得した遊技媒体の検出状態の遷移が正常と判定した場合に賭数または遊技用価値(クレジット)を加算する処理(メダル投入処理)を行う
ことを特徴としている。
The slot machine of the means 3 of the present invention is the slot machine according to the means 2.
In the first process (medal insertion signal processing), the transition of the detection state of the game medium (medal) by the insertion detection means (insertion medal sensors 31a to 31c) is acquired, and the transition of the detection state of the acquired game medium is normal. It is characterized by performing a process (medal insertion process) of adding the number of bets or the game value (credit) when it is determined.

本発明の手段4のスロットマシンは、手段2または3に記載のスロットマシンであって、
前記第1処理(メダル投入信号処理)では、既に設定されている設定済み賭数(投入済み枚数)を取得し、取得した設定済み賭数に基づいて賭数を加算可能か否かを判定し、賭数を加算可能であると判定された場合に賭数を加算する第1賭数加算処理を行い、賭数を加算可能でないと判定された場合に遊技用価値(クレジット)を加算する遊技用価値加算処理を行う
ことを特徴としている。
The slot machine of means 4 of the present invention is the slot machine according to means 2 or 3.
In the first process (medal insertion signal processing), the already set set bet number (inserted number) is acquired, and it is determined whether or not the bet number can be added based on the acquired set bet number. , A game in which the first bet number addition process for adding the bet number is performed when it is determined that the bet number can be added, and the game value (credit) is added when it is determined that the bet number cannot be added. It is characterized by performing value addition processing.

本発明の手段5のスロットマシンは、手段2〜4のいずれかに記載のスロットマシンであって、
前記第2処理(操作入力受付処理)では、
遊技媒体(メダル)の投入が検出されているか否かを判定し、
遊技媒体の投入が検出されていないと判定された場合には、前記賭数設定操作手段(MAXBETスイッチ6)の操作が有効である旨を示す操作有効フラグ(MAXBETスイッチ受付有効フラグ)を設定し、遊技媒体の投入が検出されていると判定された場合には、前記操作有効フラグを設定せず、
前記操作有効フラグが設定されている場合に、前記賭数設定操作手段が操作されているか否かを判定し、前記賭数設定操作手段が操作されていると判定された場合に、遊技用価値(クレジット)を減算し、賭数を加算する第2賭数加算処理を行う
ことを特徴としている。
この特徴によれば、遊技媒体の投入が検出されている場合に、賭数設定操作手段が操作されていても当該操作が有効とならないため、遊技媒体の投入が検出されている状況で第2処理が行われてしまうことがない。
The slot machine of means 5 of the present invention is the slot machine according to any one of means 2 to 4.
In the second process (operation input reception process),
It is determined whether or not the insertion of the game medium (medal) is detected, and
When it is determined that the insertion of the game medium has not been detected, an operation valid flag (MAXBET switch reception valid flag) indicating that the operation of the bet number setting operation means (MAXBET switch 6) is valid is set. , If it is determined that the insertion of the game medium has been detected, the operation valid flag is not set, and the operation valid flag is not set.
When the operation valid flag is set, it is determined whether or not the bet number setting operation means is operated, and when it is determined that the bet number setting operation means is operated, the game value. It is characterized by performing a second bet number addition process in which (credit) is subtracted and the bet number is added.
According to this feature, when the insertion of the game medium is detected, the operation is not effective even if the bet number setting operation means is operated, so that the second operation is performed in the situation where the insertion of the game medium is detected. No processing is done.

本発明の手段6のスロットマシンは、手段4または5に記載のスロットマシンであって、
前記第1賭数加算処理または前記第2賭数加算処理では、設定済み賭数に加算後の賭数を設定し、加算後の賭数(投入済み枚数)を特定可能な賭数制御情報(投入枚数コマンド)を作成する処理(メダル投入実行処理)を行う
ことを特徴としている。
The slot machine of means 6 of the present invention is the slot machine according to means 4 or 5.
In the first bet number addition process or the second bet number addition process, the bet number after addition is set in the set bet number, and the bet number control information (bet number control information) capable of specifying the bet number after addition (the number of inserted bets) ( It is characterized by performing a process (medal insertion execution processing) for creating a insertion number command).

本発明の手段7のスロットマシンは、手段6に記載のスロットマシンであって、
前記第1処理(メダル投入信号処理)または前記第2処理(操作入力受付処理)では、前記第1賭数加算処理または前記第2賭数加算処理を行った後、前記第1賭数加算処理または前記第2賭数加算処理で作成された賭数制御情報(投入枚数コマンド)を演出制御手段に対して送信するための格納領域(コマンドキュー)に設定する賭数制御情報設定処理(通信データ格納処理)を行う
ことを特徴としている。
The slot machine of the means 7 of the present invention is the slot machine according to the means 6.
In the first process (medal insertion signal processing) or the second process (operation input reception process), after performing the first bet number addition process or the second bet number addition process, the first bet number addition process is performed. Alternatively, the bet number control information setting process (communication data) for setting the bet number control information (input number command) created in the second bet number addition process in the storage area (command queue) for transmitting to the effect control means. It is characterized by performing storage processing).

本発明の手段8のスロットマシンは、手段7に記載のスロットマシンであって、
前記第1処理(メダル投入信号処理)または前記第2処理(操作入力受付処理)では、前記賭数制御情報設定処理(通信データ格納処理)を行った後、賭数を表示する賭数表示器(クレジット表示器11)に表示される表示データを一旦消去し(投入枚数LEDオフデータの設定)、設定済み賭数として設定された加算後の賭数を表示させるための表示データ(投入枚数LED表示データ)を設定する
ことを特徴としている。
The slot machine of the means 8 of the present invention is the slot machine according to the means 7.
In the first process (medal insertion signal process) or the second process (operation input reception process), a bet number display that displays the bet number after performing the bet number control information setting process (communication data storage process). Display data for temporarily erasing the display data displayed on (credit display 11) (setting of input number LED off data) and displaying the added bet number set as the set bet number (insertion number LED). It is characterized by setting the display data).

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

本発明が適用された実施例のスロットマシンの正面図である。It is a front view of the slot machine of the Example to which this invention was applied. スロットマシンの構成を示すブロック図である。It is a block diagram which shows the structure of a slot machine. メイン制御部が搭載するRAMにおける遊技領域と非遊技領域との関係を示す図である。It is a figure which shows the relationship between the game area and the non-game area in the RAM mounted on the main control unit. メイン制御部が行うメイン処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the main processing performed by the main control unit. メイン制御部が行う遊技開始待ち処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the game start waiting process performed by the main control unit. メイン制御部が行うメダル投入実行処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the medal insertion execution processing performed by the main control unit. メイン制御部が行うメダル投入時処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the medal insertion processing performed by the main control unit. メイン制御部が行うメダル手入れ許可設定処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the medal care permission setting process performed by the main control unit. メイン制御部が行う投入状況判定処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the input status determination processing performed by the main control unit. メイン制御部が行う最大投入枚数セット処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the maximum input number setting process performed by a main control unit. メイン制御部が行うメダル投入信号処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the medal insertion signal processing performed by the main control unit. メダル投入信号処理においてメダルの正常な通過が判定されるメダル投入信号の状態遷移について説明するためのタイミングチャートである。It is a timing chart for demonstrating the state transition of the medal insertion signal which determines the normal passage of a medal in the medal insertion signal processing. メイン制御部が行うメダルブロッカオフ処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the medal blocker off processing performed by the main control unit. メイン制御部が行うメダル投入処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the medal insertion process performed by the main control unit. メイン制御部が行う操作入力受付処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the operation input reception process performed by the main control unit. メイン制御部が行う操作入力受付処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the operation input reception process performed by the main control unit. メイン制御部が行う操作入力受付処理の制御内容を示すフロー図である。It is a flow chart which shows the control content of the operation input reception process performed by the main control unit. メイン制御部が行うタイマ割込み処理(メイン)の制御内容を示すフロー図である。It is a flow chart which shows the control content of a timer interrupt process (main) performed by a main control part.

本発明に係る遊技機を実施するための形態を実施例に基づいて以下に説明する。 A mode for carrying out the gaming machine according to the present invention will be described below based on examples.

本発明が適用されたスロットマシンの実施例について図面を用いて説明する。本実施例のスロットマシン1は、図1に示すように、前面が開口する筐体1aと、この筐体1aの側端に回動自在に枢支された前面扉1bと、から構成されている。スロットマシン1の内部には、互いに識別可能な複数種類の図柄が所定の順序で、それぞれ同数ずつ配列されたリール2L、2C、2R(以下、左リール、中リール、右リール)が水平方向に並設されており、図1に示すように、これらリール2L、2C、2Rに配列された図柄のうち連続する3つの図柄が、スロットマシン1の正面の略中央に設けられた透視窓3において各々上中下三段に表示されて遊技者側から見えるように配置されている。 Examples of the slot machine to which the present invention is applied will be described with reference to the drawings. As shown in FIG. 1, the slot machine 1 of the present embodiment includes a housing 1a having an open front surface and a front door 1b rotatably pivotally supported at a side end of the housing 1a. There is. Inside the slot machine 1, reels 2L, 2C, and 2R (hereinafter, left reel, middle reel, and right reel) in which a plurality of types of symbols that can be distinguished from each other are arranged in the same number in a predetermined order are arranged in the horizontal direction. As shown in FIG. 1, three consecutive symbols among the symbols arranged on the reels 2L, 2C, and 2R are arranged side by side in the see-through window 3 provided in the substantially center of the front surface of the slot machine 1. Each is displayed in the upper, middle, and lower three stages and is arranged so that it can be seen from the player side.

尚、本実施例では、3つのリールを用いた構成を例示しているが、リールを1つのみ用いた構成、2つのリールを用いた構成、4つ以上のリールを用いた構成としても良い。また、本実施例では、リール2L、2C、2Rにより図柄を可変表示させる可変表示部を構成しているが、可変表示部は、リール以外であっても良く、例えば、外周面に複数の図柄が配置されたベルトを移動させることで図柄を変動表示させることが可能な構成も良い。また、本実施例では、物理的なリールにて可変表示部を構成しているが、液晶表示器などの画像表示装置にて可変表示部を構成しても良い。 In this embodiment, a configuration using three reels is illustrated, but a configuration using only one reel, a configuration using two reels, and a configuration using four or more reels may be used. .. Further, in this embodiment, the variable display unit for variably displaying the symbols by the reels 2L, 2C, and 2R is configured, but the variable display unit may be other than the reel, for example, a plurality of symbols on the outer peripheral surface. It is also possible to change the design by moving the belt on which the reels are placed. Further, in this embodiment, the variable display unit is configured by a physical reel, but the variable display unit may be configured by an image display device such as a liquid crystal display.

スロットマシン1の正面には、図1に示すように、メダルを投入可能なメダル投入部4、メダルが払い出されるメダル払出口9、クレジット(遊技者所有の遊技用価値として記憶されているメダル数)を用いて、その範囲内において遊技状態に応じて定められた規定数(後述のBB以外の遊技状態では、1または3であり、BB中では、2)の賭数のうち最大の賭数を設定する際に操作されるMAXBETスイッチ6、クレジットとして記憶されているメダル及び賭数の設定に用いたメダルを精算する(クレジット及び賭数の設定に用いた分のメダルを返却させる)際または賭数1を設定する際に操作される精算スイッチ10、ゲームを開始する際に操作されるスタートスイッチ7、リール2L、2C、2Rの回転を各々停止する際に操作されるストップスイッチ8L、8C、8Rが遊技者により操作可能にそれぞれ設けられている。 On the front of the slot machine 1, as shown in FIG. 1, a medal insertion section 4 into which medals can be inserted, a medal payout exit 9 from which medals are paid out, and credits (the number of medals stored as a player-owned gaming value) ) Is used to determine the specified number according to the gaming state within that range (1 or 3 in a gaming state other than BB described later, and 2) in the BB, which is the largest bet number. MAXBET switch 6 operated when setting, when paying for the medals stored as credits and the medals used for setting the number of bets (returning the medals used for setting the credits and the number of bets) or Settlement switch 10 operated when setting the bet number 1, start switch 7 operated when starting the game, stop switches 8L, 8C operated when stopping the rotation of the reels 2L, 2C and 2R, respectively. , 8R are provided so as to be operable by the player.

また、スロットマシン1の正面には、図1に示すように、クレジットとして記憶されているメダル枚数が表示されるクレジット表示器11、入賞の発生により払い出されたメダル枚数やエラー発生時にその内容を示すエラーコード等が表示される遊技補助表示器12、賭数が1設定されている旨を点灯により報知する1BETLED14、賭数が2設定されている旨を点灯により報知する2BETLED15、賭数が3設定されている旨を点灯により報知する3BETLED16、メダルの投入が可能な状態を点灯により報知する投入要求LED17、スタートスイッチ7の操作によるゲームのスタート操作が有効である旨を点灯により報知するスタート有効LED18、ウェイト(前回のゲーム開始から一定期間経過していないためにリールの回転開始を待機している状態)中である旨を点灯により報知するウェイト中LED19、リプレイゲーム中である旨を点灯により報知するリプレイ中LED20が設けられた遊技用表示部13が設けられている。 Further, on the front of the slot machine 1, as shown in FIG. 1, a credit display 11 displaying the number of medals stored as credits, the number of medals paid out due to the occurrence of a prize, and the contents when an error occurs. A game auxiliary display 12 that displays an error code or the like indicating 3 3BETLED16 that notifies by lighting that it is set, insertion request LED17 that notifies by lighting that a medal can be inserted, and start that notifies by lighting that the game start operation by operating the start switch 7 is effective. Effective LED18, weighting LED19 that notifies by lighting that the wait (a state of waiting for the start of rotation of the reel because a certain period of time has not passed since the previous game start) is in progress, and lighting that the replay game is in progress. A game display unit 13 is provided with an LED 20 during replay to be notified by.

MAXBETスイッチ6の内部には、MAXBETスイッチ6の操作による賭数の設定操作が有効である旨を点灯により報知するBETスイッチ有効LED21(図2参照)が設けられており、ストップスイッチ8L、8C、8Rの内部には、該当するストップスイッチ8L、8C、8Rによるリールを停止させる操作が有効である旨を点灯により報知する左、中、右停止有効LED22L、22C、22R(図2参照)がそれぞれ設けられている。 Inside the MAXBET switch 6, a BET switch effective LED21 (see FIG. 2) is provided to notify by lighting that the betting number setting operation by operating the MAXBET switch 6 is effective, and the stop switches 8L, 8C, Inside the 8R, there are left, middle, and right stop effective LEDs 22L, 22C, and 22R (see FIG. 2) that notify by lighting that the operation of stopping the reel by the corresponding stop switches 8L, 8C, and 8R is effective. It is provided.

スロットマシン1の内部には、所定のキー操作によりスロットマシン1の外部から後述するエラー状態を解除するためのリセット操作を検出するリセットスイッチ23、後述する設定値の変更中や設定値の確認中にその時点の設定値が表示される設定値表示器24、メダル投入部4から投入されたメダルの流路を、スロットマシン1の内部に設けられた後述のホッパータンク(図示略)側またはメダル払出口9側のいずれか一方に選択的に切り替えるための流路切替ソレノイド30、メダル投入部4から投入され、ホッパータンク側に流下したメダルを検出する投入メダルセンサ31a〜31cを有するメダルセレクタが設けられている。 Inside the slot machine 1, there is a reset switch 23 that detects a reset operation for canceling an error state described later from the outside of the slot machine 1 by a predetermined key operation, and the setting value described later is being changed or the setting value is being confirmed. The hopper tank (not shown) side or the medal, which will be described later, is provided inside the slot machine 1 for the flow path of the medal inserted from the set value display 24 and the medal insertion unit 4 in which the set value at that time is displayed. A medal selector having a flow path switching solenoid 30 for selectively switching to either one of the payout outlets 9 side, and medal selectors 31a to 31c having inserted medal sensors 31a to 31c for detecting medals inserted from the medal insertion unit 4 and flowing down to the hopper tank side. It is provided.

スロットマシン1の内部には、前述したリール2L、2C、2R、リールモータ32L、32C、32R、各リール2L、2C、2Rのリール基準位置をそれぞれ検出可能なリールセンサ33L、33C、33R(図2参照)からなるリールユニット、メダル投入部4から投入されたメダルを貯留するホッパータンク(図示略)、ホッパータンクに貯留されたメダルをメダル払出口9より払い出すためのホッパーモータ34b(図2参照)、ホッパーモータ34bの駆動により払い出されたメダルを検出する払出センサ34c(図2参照)からなるホッパーユニットが設けられている。 Inside the slot machine 1, reel sensors 33L, 33C, 33R that can detect the reel reference positions of the above-mentioned reels 2L, 2C, 2R, reel motors 32L, 32C, 32R, and each reel 2L, 2C, 2R, respectively (FIG. 2), a hopper tank (not shown) for storing medals inserted from the medal insertion unit 4, and a hopper motor 34b (FIG. 2) for paying out medals stored in the hopper tank from the medal payout outlet 9. A hopper unit including a payout sensor 34c (see FIG. 2) for detecting medals paid out by driving a hopper motor 34b is provided.

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

また、スロットマシン1の内部には、設定変更状態または設定確認状態に切り替えるための設定キースイッチ37、通常時においてはエラー状態を解除するためのリセットスイッチとして機能し、設定変更状態においては後述する内部抽選の当選確率(出玉率)の設定値を変更するための設定スイッチとして機能するリセット/設定スイッチ38が設けられている。 Further, inside the slot machine 1, it functions as 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 in a normal state, and will be described later in the setting change state. A reset / setting switch 38 that functions as a setting switch for changing the set value of the winning probability (ball output rate) of the internal lottery is provided.

尚、設定キースイッチ37、リセット/設定スイッチ38は、スロットマシン1の内部に設けられており、所定のキー操作により開放可能な扉を開放しない限り操作不可能とされており、所定のキーを所持する店員のみが操作可能となる。特に、設定キースイッチ37は、さらにキー操作を要することから、遊技店の店員のなかでも、設定キースイッチ37の操作を行うキーを所持する店員のみ操作が可能とされている。また、リセットスイッチ23は、扉を開放する必要はないが、所定のキーを用いたキー操作を必要とするため、所定のキーを所持する店員のみが操作可能となる。 The setting key switch 37 and the reset / setting switch 38 are provided inside the slot machine 1 and cannot be operated unless the door that can be opened is opened by a predetermined key operation. Only the clerk who owns it can operate it. In particular, since the setting key switch 37 requires further key operation, only the clerk who has the key to operate the setting key switch 37 can operate the setting key switch 37 among the clerk of the game store. Further, the reset switch 23 does not need to open the door, but requires a key operation using a predetermined key, so that only a clerk who possesses the predetermined key can operate the reset switch 23.

図2は、スロットマシン1の構成を示すブロック図である。スロットマシン1には、図2に示すように、遊技制御基板40、演出制御基板90が設けられており、遊技制御基板40によって遊技の制御が行われ、演出制御基板90によって遊技状態に応じた演出の制御が行われる。 FIG. 2 is a block diagram showing the configuration of the slot machine 1. As shown in FIG. 2, the slot machine 1 is provided with a game control board 40 and an effect control board 90. The game control board 40 controls the game, and the effect control board 90 responds to the game state. The production is controlled.

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

遊技制御基板40には、メインCPU41a、ROM41b、RAM41c、I/Oポート41dを備えたマイクロコンピュータにより構成され、遊技の制御を行うメイン制御部41が搭載されている。 The game control board 40 is composed of a microcomputer provided with a main CPU 41a, a ROM 41b, a RAM 41c, and an I / O port 41d, and is equipped with a main control unit 41 that controls the game.

メイン制御部41は、遊技の進行に伴う操作が検出されることに応じて遊技を進行させるための各種の制御を行うとともに、サブ制御部91に各種のコマンドを送信する。メイン制御部41からサブ制御部91へ送信されるコマンドは一方向のみで送られ、サブ制御部91からメイン制御部41へ向けてコマンドが送られることはない。 The main control unit 41 performs various controls for advancing the game in response to the detection of an operation accompanying the progress of the game, and transmits various commands to the sub control unit 91. The command transmitted from the main control unit 41 to the sub control unit 91 is sent in only one direction, and the command is not sent from the sub control unit 91 to the main control unit 41.

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

演出制御基板90には、液晶表示器51(図1参照)、リールLED(図示略)等の演出装置が接続されており、これら演出装置は、演出制御基板90に搭載されたサブ制御部91による制御に基づいて駆動されるようになっている。サブ制御部91は、メイン制御部41から送信されるコマンドを受けて、演出を行うための各種の制御等を行うことが可能である。 A liquid crystal display 51 (see FIG. 1), a reel LED (not shown), and other effect devices are connected to the effect control board 90, and these effect devices are mounted on the effect control board 90. It is driven based on the control by. The sub control unit 91 can receive a command transmitted from the main control unit 41 and perform various controls for performing the effect.

本実施例のスロットマシン1は、設定値に応じてメダルの払出率が変わる構成である。詳しくは、内部抽選等の遊技者に対する有利度に影響する抽選において設定値に応じた当選確率を用いることにより、メダルの払出率が変わるようになっている。設定値は1〜6の6段階からなり、6が最も払出率が高く、5、4、3、2、1の順に値が小さくなるほど払出率が低くなる。すなわち設定値として6が設定されている場合には、遊技者にとって最も有利度が高く、5、4、3、2、1の順に値が小さくなるほど有利度が段階的に低くなる。 The slot machine 1 of this embodiment has a configuration in which the medal payout rate changes according to the set value. Specifically, the medal payout rate is changed by using the winning probability according to the set value in the lottery that affects the advantage to the player such as the internal lottery. The set value is composed of 6 stages from 1 to 6, with 6 having the highest payout rate, and the smaller the value 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 highest for the player, and the smaller the value in the order of 5, 4, 3, 2, 1 is, the lower the advantage is.

設定値を変更するためには、設定キースイッチ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 power of the slot machine 1 after turning on the setting key switch 37. 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. Move to the changed 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, the setting value is changed to 1). return). Then, when the start switch 7 is operated, the display value is fixed 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 shifts to a state in which the game can proceed.

本実施例のスロットマシン1は、遊技状態に応じて設定可能な賭数の規定数が定められており、遊技状態に応じて定められた規定数の賭数が設定されたことを条件にゲームを開始させることが可能となる。尚、本実施例では、遊技状態に応じた規定数の賭数が設定された時点で、入賞ラインLNが有効化される。 In the slot machine 1 of the present embodiment, a specified number of bets that can be set according to the gaming state is determined, and the game is provided on the condition that the specified number of bets determined according to the gaming state is set. Can be started. In this embodiment, the winning line LN is activated when a predetermined number of bets are set according to the gaming state.

入賞ラインとは、各リール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 perspective windows 3 of the reels 2L, 2C, and 2R is a combination of winning symbols. In this embodiment, as shown in FIG. 1, only the winning line LN set across the symbols arranged horizontally in the middle stage of the reel 2L, the middle stage of the reel 2C, and the middle stage of the reel 2R, that is, the middle stage wins a prize. It is defined as a line. In this embodiment, only one winning line is applied, but a plurality of winning lines may be applied.

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

本実施例のスロットマシン1においてゲームを行う場合には、まず、メダルをメダル投入部4から投入するか、あるいはMAXBETスイッチ6を操作してクレジットを使用して賭数を設定する。遊技状態に応じて定められた規定数の賭数が設定されると、入賞ラインLN(図1参照)が有効となり、スタートスイッチ7の操作が有効な状態、すなわち、ゲームが開始可能な状態となる。尚、遊技状態に対応する規定数のうち最大数を超えてメダルが投入された場合には、その分はクレジットに加算される。 When playing a game in the slot machine 1 of this embodiment, first, a medal is inserted from the medal insertion unit 4, or a MAXBET switch 6 is operated to set a bet number using credits. When the specified number of bets determined according to the game state is set, the winning 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. If more than the maximum number of medals are inserted out of the specified number corresponding to the gaming state, that amount will be added to the credit.

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

停止制御では、各ストップスイッチについて操作が行われたときから最大停止遅延時間(本実施例では、190ms(ミリ秒))以内に、操作に対応するリール2L、2C、2Rの回転を停止させる制御が行われる。リール2L、2C、2Rを1分間に80回転させ、80(回転)×20(1リール当たりの図柄コマ数、例えば、20コマ)=1600コマ分の図柄を変動させるので、予め定められた最大停止遅延時間(190ms)が経過するまでの間では、最大で4コマ分の図柄を引き込むことができることとなる。つまり、停止制御では、ストップスイッチ8L、8C、8Rが操作されたときに表示されている図柄と、そこから4コマ先までにある図柄、合計5コマ分(引込範囲)の図柄から一の図柄を選択して、リール2L、2R、2Rに導出させることが可能である。 In the stop control, the rotation of the reels 2L, 2C, and 2R corresponding to the operation is stopped within the maximum stop delay time (190 ms (millisecond) in this embodiment) from the time when the operation is performed for each stop switch. Is done. The reels 2L, 2C, and 2R are rotated 80 times per minute, and 80 (rotation) x 20 (the number of symbol frames per reel, for example, 20 frames) = 1600 frames of symbols are varied, so a predetermined maximum. Until the stop delay time (190 ms) elapses, a maximum of four frames of symbols can be drawn in. That is, in the stop control, one symbol from the symbol displayed when the stop switches 8L, 8C, 8R are operated and the symbol up to 4 frames ahead, for a total of 5 frames (retraction range). Can be selected and led to the reels 2L, 2R, and 2R.

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

入賞となる役の種類は、遊技状態に応じて定められ、メダルの払い出しを伴う小役と、賭数の設定を必要とせずに次のゲームを開始可能となる再遊技役と、遊技者にとって有利な遊技状態への移行を伴う特別役と、がある。以下では、小役と再遊技役をまとめて一般役とも呼ぶ。遊技状態に応じて定められた各役の入賞が発生するためには、内部抽選に当選して、当該役の当選フラグが設定されている必要がある。内部抽選は、メイン制御部41が、上記した各役への入賞を許容するか否かを、全てのリール2L、2C、2Rの表示結果が導出される以前(具体的には、スタートスイッチ7の検出時)に乱数を用いて決定するものである。尚、これら各役の当選フラグのうち、小役及び再遊技役の当選フラグは、当該フラグが設定されたゲームにおいてのみ有効とされ、次のゲームでは無効となるが、特別役の当選フラグは、当該フラグにより許容された役の組合せが揃うまで有効とされ、許容された役の組合せが揃ったゲームにおいて無効となる。すなわち特別役の当選フラグが一度当選すると、例え、当該フラグにより許容された役の組合せを揃えることができなかった場合にも、その当選フラグは無効とされずに、次のゲームへ持ち越されることとなる。 The types of winning roles are determined according to the game status, and for the player, a small winning combination that involves paying out medals, a re-gaming role that allows the next game to be started without the need to set the number of bets, and the player. There is a special role that accompanies the transition to an advantageous gaming state. In the following, the small role and the replaying role will be collectively referred to as the general role. In order for each winning combination determined according to the game state to be won, it is necessary to win the internal lottery and set the winning flag of the winning combination. The internal lottery is performed before the display results of all reels 2L, 2C, and 2R are derived (specifically, the start switch 7) whether or not the main control unit 41 allows the winning of each of the above-mentioned combinations. Is determined by using a random number (at the time of detection). Of the winning flags for each of these winning combinations, the winning flags for the small winning combination and the replaying 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 combination are , It is valid until the combinations of the allowed combinations are complete by the flag, and is invalid in the game in which the combinations of the allowed combinations are complete. That is, once the winning flag of the special role is won, even if the combination of the winning combination permitted by the flag cannot be aligned, the winning flag is not invalidated and is carried over to the next game. It becomes.

本実施例のスロットマシン1では、1ゲームの終了時にリール2L、2C、2Rの入賞ラインLN上に、予め定められた入賞役の図柄組合せが表示結果として導出した場合に入賞が発生する。入賞ラインLN上に、特別役の図柄組合せ(例えば、「7‐7‐7」等)が停止し、当該特別役の入賞が発生することで、ボーナス状態(BB)へ移行させる。BBは、予め定められた所定の終了条件(例えば、メダルの払出枚数が316枚を超えること)が成立するまで、RBに連続して制御される遊技状態である。RBとは、内部抽選での小役の当選確率が高まることによって他の遊技状態よりも遊技者にとって有利となる遊技状態であり、RB中に予め定められた所定ゲーム数を消化したとき、または予め定められた種類の役(種類は、いずれでも可)が所定回数入賞したとき、のいずれか早いほうで終了する遊技状態である。BB中に制御されるRBでは、内部抽選にて特別役及び再遊技役が抽選対象外とされることで、小役の当選確率が、BB(RB)に制御されていない状態よりも高い高確率(1/1.0)であり、1ゲームあたりのメダルの払出率が100%を超えるようになっている。また、BB中においては、賭数の規定数が2に設定されている。 In the slot machine 1 of the present embodiment, a prize is generated when a predetermined combination of winning combinations of winning combinations is derived as a display result on the winning lines LN of the reels 2L, 2C, and 2R at the end of one game. When the symbol combination of the special role (for example, "7-7-7", etc.) is stopped on the winning line LN and the special role is won, the player shifts to the bonus state (BB). The BB is a gaming state that is continuously controlled by the RB until a predetermined end condition (for example, the number of medals paid out exceeds 316) is satisfied. RB is a gaming state that is more advantageous to the player than other gaming states by increasing the probability of winning a small winning combination in the internal lottery, and when a predetermined number of games are exhausted during RB, or When a predetermined type of combination (any type is acceptable) wins a predetermined number of times, the game state ends at whichever is earlier. In the RB controlled during the BB, the special winning combination and the replaying combination are excluded from the lottery in the internal lottery, so that the winning probability of the small winning combination is higher than that in the state where the BB (RB) does not control the winning combination. It is a probability (1 / 1.0), and the medal payout rate per game exceeds 100%. Further, in the BB, the specified number of bets is set to 2.

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

[メイン制御部のメモリ領域とプログラムについて]
本実施例のメイン制御部41は、上述のようにROM41b、RAM41cを備え、ROM41bのメモリ領域には、プログラム及び固定データが予め記憶されているプログラム/データ領域が含まれ、RAM41cのメモリ領域には、ワークとして使用可能な使用可能領域と、メイン制御部41に搭載されている各機能を制御するためのレジスタ群が格納される内部機能レジスタ領域とが含まれる。
[About the memory area and program of the main control unit]
The main control unit 41 of this embodiment includes a ROM 41b and a RAM 41c as described above, and the memory area of the ROM 41b includes a program / data area in which a program and fixed data are stored in advance, and the memory area of the RAM 41c includes a program / data area. Includes a usable area that can be used as a work and an internal function register area in which a group of registers for controlling each function mounted on the main control unit 41 is stored.

ROM41bにおけるプログラム/データ領域は、遊技の進行に係わる遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムが用いる遊技データが記憶される遊技データ領域と、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、非遊技プログラムが用いる非遊技データが記憶される非遊技データ領域と、を含む。 The program / data area in the ROM 41b stores a game program area in which a game program related to the progress of the game is stored, a game data area in which the game data used by the game program is stored, and a non-game program not related to the progress of the game. It includes a non-game program area to be played and a non-game data area in which non-game data used by the non-game program is stored.

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

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

以下では、遊技プログラム領域、遊技データ領域及び遊技RAM領域をまとめて遊技領域と称す場合があり、非遊技プログラム領域、非遊技データ領域及び非遊技RAM領域をまとめて非遊技領域と称す場合がある。 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-game program area, the non-game data area, and the non-game RAM area may be collectively referred to as a non-game area. ..

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

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

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

また、遊技プログラムに基づく処理は、非遊技RAM領域のうち遊技プログラムに必要な特定の領域(例えば、異常の検知を示すエラーフラグの設定領域等)のみ参照可能とされており、非遊技プログラムに基づく処理は、遊技RAM領域のうち非遊技プログラムに必要な特定の領域(例えば、内部当選フラグの設定領域、遊技状態の設定領域、RTの設定領域等)のみ参照可能とされている。 Further, in the processing based on the game program, only a specific area (for example, an error flag setting area indicating abnormality detection) required for the game program can be referred to in the non-game RAM area, and the non-game RAM area can be referred to. In the processing based on the game RAM area, only a specific area necessary for the non-game program (for example, an internal winning flag setting area, a game state setting area, an RT setting area, etc.) can be referred to.

次に、メイン制御部41が遊技プログラム及び非遊技プログラムを実行することで行う各種処理の制御内容について、図4〜図18に基づいて説明する。 Next, the control contents of various processes performed by the main control unit 41 by executing the game program and the non-game program will be described with reference to FIGS. 4 to 18.

[メイン処理について]
メイン制御部41が基本処理として行うメイン処理の制御内容について、図4に基づいて説明する。尚、メイン処理は、一単位の遊技毎に繰り返し実行される。そして、メイン処理の一周期が遊技の一単位に相当している。また、メイン処理は、遊技プログラムに含まれ、複数の処理を含む。以下、特に非遊技プログラムに含まれる旨を示さない処理は、遊技プログラムに含まれる。尚、遊技プログラムにより呼び出される遊技プログラムには、非遊技プログラムを呼び出すものもある。
[About main processing]
The control content of the main process performed by the main control unit 41 as the basic process will be described with reference to FIG. The main process is repeatedly executed for each unit of game. And one cycle of the main process corresponds to one unit of the game. Further, the main process is included in the game program and includes a plurality of processes. Hereinafter, processes not particularly indicated to be included in the non-game program are included in the game program. Some of the game programs called by the game program call non-game programs.

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

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

[遊技開始待ち処理について]
次に、本実施例のメイン制御部41が行う遊技開始待ち処理の制御内容について、図5に基づいて説明する。尚、遊技開始待ち処理は、遊技プログラムに含まれており、遊技プログラムに含まれるメイン処理において呼び出されるサブルーチンである。
[About game start waiting processing]
Next, the control content of the game start waiting process performed by the main control unit 41 of the present embodiment will be described with reference to FIG. The game start waiting process is included in the game program and is a subroutine called in the main process included in the game program.

図5に示すように、遊技開始待ち処理では、まず、メダル投入枚数表示処理を行い(Sb1)、スロットマシン1に賭数として投入済みのメダル枚数に応じた1〜3BETLED14〜16をON状態(点灯状態)に制御する。その後、ホッパータンクが満タン状態である旨を特定可能なエラーコード(E1)を所定のレジスタに準備し(Sb2)、所定のポート入力バッファを参照して、満タンセンサ35aの確定データに基づいてホッパータンクが満タン状態であるか否かを判定する(Sb3)。 As shown in FIG. 5, in the game start waiting process, first, the number of medals inserted is displayed (Sb1), and 1 to 3 BETLEDs 14 to 16 are turned on according to the number of medals inserted into the slot machine 1 as the number of bets (Sb1). Control to lighting state). After that, an error code (E1) capable of identifying that the hopper tank is full is prepared in a predetermined register (Sb2), the predetermined port input buffer is referred to, and based on the confirmed data of the full tank sensor 35a. It is determined whether or not the hopper tank is full (Sb3).

Sb3のステップにおいてホッパータンクが満タン状態であると判定した場合には、エラー処理を行う(Sb4)。エラー処理では、遊技の進行が不能化されるエラー状態に制御する。また、所定のレジスタに準備されているエラーコード(E1)を特定可能なエラーコマンドをサブ制御部91に対して送信し、当該エラーコード(E1)をRAM41cの所定領域にその他の処理でも参照可能なエラーフラグとして設定する。また、当該エラーコード(E1)を遊技補助表示器12に表示させるように制御する。その後は、所定のレジスタに準備されているエラーコード(E1)に応じたエラー状態の解除条件が成立したことが特定されるまでエラー状態の制御を行う。エラーコード(E1)がレジスタに設定されてエラー状態に移行された場合には、満タンセンサ35aの確定データがOFF状態となるまで待機し、当該満タンセンサ35aの確定データがOFF状態となることで、エラー状態を解除する旨のエラーコマンド(解除)をサブ制御部91に対して送信し、エラー処理を終了させて、Sb5のステップへ進む。 If it is determined in the step of Sb3 that the hopper tank is full, error processing is performed (Sb4). In error processing, control is performed in an error state in which the progress of the game is disabled. Further, an error command capable of identifying the error code (E1) prepared in the predetermined register is transmitted to the sub-control unit 91, and the error code (E1) can be referred to the predetermined area of the RAM 41c in other processing. Set as an error flag. Further, the error code (E1) is controlled to be displayed on the game auxiliary display 12. After that, the error state is controlled until it is specified that the error state release condition corresponding to the error code (E1) prepared in the predetermined register is satisfied. When the error code (E1) is set in the register and the error state is entered, the process waits until the confirmed data of the full tank sensor 35a is turned OFF, and the confirmed data of the full sensor 35a is turned OFF. , An error command (cancellation) to cancel the error state is transmitted to the sub-control unit 91, the error processing is terminated, and the process proceeds to the step of Sb5.

Sb3のステップにおいてホッパータンクが満タン状態でないと判定した場合、及びSb4のステップにおけるエラー処理を終了した場合には、RAM41cの所定領域に設定されている再遊技用メダルカウンタの値を所定のレジスタに読み込む(Sb5)。尚、再遊技用メダルカウンタには、メイン処理における前回の遊技終了時設定処理により、前回の遊技の結果に応じた値が設定されており、前回の遊技において再遊技役が入賞して再遊技が付与された場合には、再び遊技を行うために必要な賭数に相当する数値(例えば、1や3等)が設定されている一方で、前回の遊技において再遊技が付与されなかった場合には、0が設定されている。 When it is determined that the hopper tank is not full in the step Sb3, or when the error processing in the step Sb4 is completed, the value of the replay medal counter set in the predetermined area of the RAM 41c is set to a predetermined register. Read into (Sb5). In the re-game medal counter, a value corresponding to the result of the previous game is set by the setting process at the end of the previous game in the main process, and the re-game combination wins the re-game in the previous game. When is granted, a numerical value (for example, 1 or 3, etc.) corresponding to the number of bets required to play the game again is set, but the replay is not granted in the previous game. Is set to 0.

その後、RAM41cの再遊技用メダルカウンタをクリアし(Sb6)、Sb5のステップにおいて読み込んだ再遊技用メダルカウンタの値が0より大きいか否か、すなわち再遊技が付与されている否かを判定し(Sb7)、再遊技が付与されている場合には、メダル投入実行処理を行う(Sb8)。メダル投入実行処理では、後述するように、当該メダル投入実行処理の開始時に所定のレジスタに設定されている値(Sb8のステップにおいては、Sb5のステップにて読み込まれた再遊技用メダルカウンタの値)を、現在設定されている賭数に加算する。また、1〜3BETLED14〜16のうち現在設定されている賭数に対応するLEDをON状態(点灯状態)に制御し、現在設定されている賭数に対応しないLEDをOFF状態(消灯状態)に制御して、設定されている賭数を報知する。また、賭数の設定に使用されたメダル枚数を特定可能な投入枚数コマンドをサブ制御部91に対して送信する。 After that, the replay medal counter of the RAM 41c is cleared (Sb6), and it is determined whether or not the value of the replay medal counter read in the step of Sb5 is greater than 0, that is, whether or not the replay is granted. (Sb7), if the re-game is granted, the medal insertion execution process is performed (Sb8). In the medal insertion execution process, as will be described later, the value set in the predetermined register at the start of the medal insertion execution process (in the step of Sb8, the value of the medal counter for re-gambling read in the step of Sb5). ) Is added to the currently set number of bets. Further, among 1 to 3 BETLEDs 14 to 16, the LED corresponding to the currently set bet number is controlled to the ON state (lighting state), and the LED not corresponding to the currently set bet number is turned to the OFF state (lighting state). It controls and notifies the set number of bets. Further, a command for the number of inserted medals that can specify the number of medals used for setting the number of bets is transmitted to the sub-control unit 91.

Sb7のステップにおいて再遊技用メダルカウンタの値が0である、すなわち再遊技が付与されていないと判定した場合、及びSb8のステップにおいて再遊技が付与されたことによりメダル投入実行処理を行った後は、メダル手入れ許可設定処理を行う(Sb9)。メダル手入れ許可設定処理では、後述するように、RAM41cの所定領域に記憶されている現在設定されている賭数の値及び現在のクレジットの値等に基づいて、新たに遊技者等によりメダル投入部4から投入されるメダルを賭数またはクレジットに加算することができる状況か否かを判定し、判定結果に応じて、メダルの投入を許可する旨を示すメダル手入れ許可フラグ(許可)、または、メダルの投入を許可しない旨を示すメダル手入れ許可フラグ(不許可)のいずれかをRAM41cの所定領域に設定する。 After the medal insertion execution process is performed when the value of the medal counter for re-gaming is 0 in the step of Sb7, that is, when it is determined that the re-game has not been granted, or because the re-game has been granted in the step of Sb8. Performs the medal care permission setting process (Sb9). In the medal care permission setting process, as will be described later, a medal insertion unit is newly created by a player or the like based on the currently set bet value and the current credit value stored in the predetermined area of the RAM 41c. It is determined whether or not the medals inserted from 4 can be added to the number of bets or credits, and depending on the determination result, a medal care permission flag (permission) indicating that the medals are permitted to be inserted, or a medal care permission flag (permission), or One of the medal care permission flags (not permitted) indicating that the medal insertion is not permitted is set in the predetermined area of the RAM 41c.

Sb9のステップにおいてメダル手入れ許可設定処理を行った後は、割込み1回待ち処理を行う(Sb10)。割込み1回待ち処理を行うことで、タイマ割込み処理(メイン)が行われて各種スイッチ類の検出状態やLEDの点灯状態、各種タイマ等が更新されることとなり、これらの各種スイッチ類の検出状態が更新された状態で、その後の処理(例えば、後述のメダル投入払出エラーチェック処理、メダル投入信号処理、操作入力受付処理等)を行わせるようになっている。 After performing the medal care permission setting process in the step of Sb9, the process of waiting for one interrupt is performed (Sb10). By performing the interrupt wait processing once, the timer interrupt processing (main) is performed and the detection status of various switches, the lighting status of the LED, the various timers, etc. are updated, and the detection status of these various switches is updated. Is updated, and subsequent processing (for example, medal insertion / withdrawal error check processing, medal insertion signal processing, operation input reception processing, etc., which will be described later) is performed.

Sb10のステップにおいて割込み1回待ち処理を行ってタイマ割込みが1回行われた後は、メダル投入部4からのメダルの投入に関する異常やホッパーからのメダルの払い出しに関する異常が検出されているか否かを判定するメダル投入払出エラーチェック処理を行う(Sb11)。 After the interrupt wait processing is performed once in the step of Sb10 and the timer interrupt is performed once, whether or not an abnormality related to medal insertion from the medal insertion unit 4 or an error related to medal payout from the hopper is detected. Performs medal insertion / withdrawal error check processing (Sb11).

メダル投入払出エラーチェック処理では、後述するタイマ割込処理によりRAM41cの所定領域に投入エラーフラグや払出エラーフラグが設定されているか否かに基づいて、メダルの投入や払出に関する異常が発生しているか否かを判定し、メダルの投入に関する異常が発生していると判定した場合は、メダルの投入に関する異常が発生している旨を示すエラーコード(E5)を所定のレジスタに準備して、エラー処理を行う。また、メダルの払出に関する異常が発生していると判定した場合は、メダルの払出に関する異常が発生している旨を示すエラーコード(E4)を所定のレジスタに準備して、エラー処理を行う。 In the medal insertion / withdrawal error check process, whether or not an abnormality related to medal insertion / withdrawal has occurred based on whether or not the insertion error flag and the withdrawal error flag are set in the predetermined area of the RAM 41c by the timer interrupt processing described later. If it is determined whether or not an error has occurred regarding the insertion of medals, an error code (E5) indicating that an abnormality has occurred regarding the insertion of medals is prepared in a predetermined register and an error occurs. Perform processing. If it is determined that an abnormality related to medal payout has occurred, an error code (E4) indicating that an abnormality related to medal payout has occurred is prepared in a predetermined register and error processing is performed.

投入エラーフラグは、メダルの投入に関する異常が発生している旨を示すフラグであり、後述するセンサ監視処理により、後述のメダル手入れ許可フラグが設定されていない期間、すなわちメダル投入部4からのメダルの投入が許可されている期間外において、例えば、メダルセレクタ29内に配置された投入メダルセンサ31a〜31cの検出範囲内にメダル等(メダルや異物等)が詰まっていること等により、投入メダルセンサ31a〜31cによりメダル等が検出されたことに基づいて、タイマ割込処理によりRAM41cの所定領域に設定される。また、払出エラーフラグは、メダルの払出に関する異常が発生している旨を示すフラグであり、後述するセンサ監視処理により、メダルが払出される払出期間外において、例えば、払出センサ34cの検出範囲内にメダル等(メダルや異物等)が詰まっていること等により、払出センサ34cによりメダル等が検出されたことに基づいて、タイマ割込処理によりRAM41cの所定領域に設定される。 The insertion error flag is a flag indicating that an abnormality related to medal insertion has occurred, and is a period during which the medal care permission flag described later is not set by the sensor monitoring process described later, that is, the medal from the medal insertion unit 4. Outside the period in which the insertion of medals is permitted, for example, medals (medals, foreign objects, etc.) are clogged within the detection range of the insertion medal sensors 31a to 31c arranged in the medal selector 29, so that the insertion medals are inserted. Based on the detection of medals and the like by the sensors 31a to 31c, the medals and the like are set in a predetermined area of the RAM 41c by the timer interrupt processing. Further, the payout error flag is a flag indicating that an abnormality related to medal payout has occurred, and is within the detection range of the payout sensor 34c, for example, outside the payout period when the medal is paid out by the sensor monitoring process described later. Based on the fact that medals or the like are detected by the payout sensor 34c due to the fact that medals or the like (medals, foreign matter, etc.) are clogged in the medals or the like, the medals or the like are set in a predetermined area of the RAM 41c by the timer interrupt process.

メダル投入払出エラーチェック処理により行われるエラー処理では、投入エラーフラグまたは払出エラーフラグに基づいて特定される発生中のエラーの種類に応じたエラー状態の解除条件が成立したことが特定されるまでエラー状態の制御を行う。エラー処理では、エラー状態の解除条件として、リセットスイッチ23またはリセット/設定スイッチ38の操作が検出されることで、エラー状態を解除する旨を示すエラー解除フラグをRAM41cの所定領域に設定して、当該エラー処理を終了させるように制御が行われる。エラー解除フラグが設定されることで、所定の解除条件が成立してエラー処理が終了されたことをその後の処理等で判定できるようになっている。 In the error processing performed by the medal insertion / withdrawal error check processing, an error occurs until it is specified that the condition for canceling the error state according to the type of error occurring, which is specified based on the insertion error flag or the withdrawal error flag, is satisfied. Control the state. In the error processing, as an error state release condition, an error release flag indicating that the error state is released by detecting the operation of the reset switch 23 or the reset / setting switch 38 is set in a predetermined area of the RAM 41c. Control is performed so as to terminate the error processing. By setting the error release flag, it can be determined in the subsequent processing or the like that the predetermined release condition is satisfied and the error processing is completed.

Sb11のステップにおいてメダル投入払出エラーチェック処理を行った後は、RAM41cの所定領域にエラー解除フラグが設定されているか否かに基づいて、メダル投入払出エラーチェック処理にてエラー処理が実行された後、エラー状態が解除されたか否かを判定する(Sb12)。 After performing the medal insertion / withdrawal error check process in the step of Sb11, after the error process is executed in the medal insertion / withdrawal error check process based on whether or not the error release flag is set in the predetermined area of the RAM 41c. , It is determined whether or not the error state is cleared (Sb12).

Sb12のステップにおいてメダル投入払出エラーチェック処理にてエラー処理が実行された後、エラー状態が解除されたと判定した場合は、Sb10のステップに戻り、Sb10〜Sb12のステップの各処理を再び行う。その後、メダルの投入や払出に関する異常が検出されない状態で、Sb10〜Sb12のステップの各処理が行われることで、エラー解除フラグが設定されていない状態で、Sb12のステップの処理が行われることとなる。 If it is determined that the error state has been cleared after the error processing is executed in the medal insertion / withdrawal error check processing in the step of Sb12, the process returns to the step of Sb10 and each processing of the steps of Sb10 to Sb12 is performed again. After that, each process of the steps Sb10 to Sb12 is performed in a state where an abnormality related to the insertion and withdrawal of medals is not detected, so that the process of the step Sb12 is performed in a state where the error release flag is not set. Become.

一方、Sb12のステップにおいてエラー解除フラグが設定されていないと判定した場合は、メダル投入信号処理を行う(Sb13)。メダル投入信号処理では、メダル投入信号の遷移に基づいてメダルの投入状況を判定する。そして、正常なメダルの投入が検出された場合は、賭数の設定やクレジットにメダルを受け付けて、メダル投入信号処理を終了する。一方、異常なメダルの投入が検出された場合は、エラーコード(E5)を準備してエラー処理を行う。その後、エラー状態が解除されてエラー処理が終了されることで、メダル投入信号処理を終了する。 On the other hand, when it is determined that the error release flag is not set in the step of Sb12, the medal insertion signal processing is performed (Sb13). In the medal insertion signal processing, the medal insertion status is determined based on the transition of the medal insertion signal. Then, when a normal medal insertion is detected, the medal is accepted for setting the number of bets and credits, and the medal insertion signal processing is completed. On the other hand, when an abnormal medal insertion is detected, an error code (E5) is prepared and error processing is performed. After that, the error state is released and the error processing is completed, so that the medal insertion signal processing is completed.

Sb13のステップにおいてメダル投入信号処理を行った後は、各種スイッチの操作を受け付ける有効化して、操作が有効化されているスイッチの操作が行われることで、当該スイッチによる操作を受け付ける操作入力受付処理を行う(Sb14)。操作入力受付処理では、後述するように、メダル投入信号の遷移に基づいてメダルが通過中でないときに、各種スイッチ(MAXBETスイッチ6やスタートスイッチ7等)毎に予め定められた有効化条件が成立しているか否かを判定して、有効化条件が成立している場合には、該当するスイッチによる操作の受け付けを有効化する処理を行う。また、操作の受け付けが有効化されているスイッチについて操作が検出されている場合に、操作が検出されているスイッチに応じた処理を行った後、操作入力受付処理を終了させる。また、特に、スタートスイッチ7について操作の受け付けを有効化した状態で、当該スタートスイッチ7について操作が検出されている場合には、スタートフラグをRAM41cの所定領域に設定する。 After the medal insertion signal processing is performed in the step of Sb13, the operation of the various switches is accepted, and the operation of the switch for which the operation is enabled is performed. (Sb14). In the operation input reception process, as will be described later, when the medal is not passing based on the transition of the medal insertion signal, a predetermined activation condition is established for each of the various switches (MAXBET switch 6, start switch 7, etc.). If the activation condition is satisfied, the process of validating the acceptance of the operation by the corresponding switch is performed. Further, when the operation is detected for the switch for which the operation acceptance is enabled, the operation input acceptance process is terminated after performing the process according to the switch for which the operation is detected. Further, in particular, when the operation acceptance of the start switch 7 is enabled and the operation is detected for the start switch 7, the start flag is set in the predetermined area of the RAM 41c.

Sb14のステップにおいて操作入力受付処理を行った後は、RAM41cの所定領域にスタートフラグが設定されているか否かに基づいてスタートスイッチ7による有効な操作が検出されたか否かを判定する(Sb15)。所定のレジスタにスタートフラグが設定されておらず、スタートスイッチ7による有効な操作が検出されなかったと判定した場合は、Sb16のステップに進み、スタート有効LED18の点灯状態を制御するLED表示処理を行う。 After performing the operation input acceptance process in the step of Sb14, it is determined whether or not an effective operation by the start switch 7 is detected based on whether or not the start flag is set in the predetermined area of the RAM 41c (Sb15). .. If it is determined that the start flag is not set in the predetermined register and the effective operation by the start switch 7 is not detected, the process proceeds to the step of Sb16, and the LED display process for controlling the lighting state of the start effective LED 18 is performed. ..

LED表示処理では、Sb14のステップの操作入力受付処理によりスタートスイッチ7による操作が有効に設定されている状態において、リセットスイッチ23以外のスイッチ類の操作が検出されない場合に、スタート有効LED18をON状態(点灯状態)に制御し、スタートスイッチ7による操作が有効に設定されている状態において、リセットスイッチ23以外のスイッチ類の操作が検出される場合、及びスタートスイッチ7による操作が有効に設定されていない場合に、スタート有効LED18をOFF状態(消灯状態)に制御して、スタート有効LED18の点灯状態によりスタートスイッチ7による操作が有効であるか無効であるかを報知する。 In the LED display process, when the operation by the start switch 7 is effectively set by the operation input reception process in the step of Sb14 and the operation of the switches other than the reset switch 23 is not detected, the start effective LED 18 is turned on. When the operation of switches other than the reset switch 23 is detected in the state of being controlled to (lit state) and the operation by the start switch 7 is set to be valid, the operation by the start switch 7 is set to be valid. If not, the start effective LED 18 is controlled to the OFF state (off state), and it is notified whether the operation by the start switch 7 is valid or invalid depending on the lighting state of the start effective LED 18.

Sb15のステップにおいて、スタートフラグが設定されており、スタートスイッチ7による有効な操作が検出されたと判定した場合は、内部抽選用の乱数値を乱数回路から取得して、RAM41cの所定領域に設定する(Sb17)。その後、設定されている賭数を特定可能なメダル投入状態データをRAM41cの所定領域に設定し(Sb18)、スタート有効LED18をOFF状態(消灯状態)に設定し(Sb19)、メダル手入れ許可フラグをRAM41cの所定領域からクリアし(Sb20)、遊技補助表示器12における払出枚数の表示をクリアするように制御して(Sb21)、遊技開始待ち処理を終了させ、メイン処理に戻る。その後、メイン処理では、Sb17のステップにおいて取得された乱数値を用いて内部抽選が行われ、スタートスイッチ7の操作が検出されたことに応じてリール2L、2C、2Rの回転が開始されることで、一遊技が開始されることとなる。 When the start flag is set in the step of Sb15 and it is determined that an effective operation by the start switch 7 is detected, a random number value for internal lottery is acquired from the random number circuit and set in a predetermined area of the RAM 41c. (Sb17). After that, the medal insertion state data that can specify the set number of bets is set in a predetermined area of the RAM 41c (Sb18), the start valid LED 18 is set to the OFF state (off state) (Sb19), and the medal care permission flag is set. It clears from the predetermined area of the RAM 41c (Sb20), controls so as to clear the display of the number of payouts on the game auxiliary display 12 (Sb21), ends the game start waiting process, and returns to the main process. After that, in the main process, an internal lottery is performed using the random number value acquired in the step of Sb17, and the rotation of the reels 2L, 2C, and 2R is started according to the detection of the operation of the start switch 7. Then, one game will be started.

このように、メイン制御部41は、遊技開始待ち処理において、遊技を進行させるための遊技進行信号が検出されているか否かを判定するメダル投入信号処理や操作入力受付処理を行うようになっている。そして、メダル投入信号処理では、遊技進行信号として投入メダルセンサ31a〜31cにより正常なメダルの投入を示すメダル投入信号が検出されているか否かを判定することが可能である。また、操作入力受付処理では、遊技進行信号としてMAXBETスイッチ6等のスイッチ類の操作状況を示す信号が検出されているか否かを判定することが可能である。 In this way, the main control unit 41 has come to perform medal insertion signal processing and operation input reception processing for determining whether or not a game progress signal for advancing the game has been detected in the game start waiting process. There is. Then, in the medal insertion signal processing, it is possible to determine whether or not a medal insertion signal indicating normal medal insertion is detected by the insertion medal sensors 31a to 31c as a game progress signal. Further, in the operation input reception process, it is possible to determine whether or not a signal indicating the operation status of the switches such as the MAXBET switch 6 is detected as the game progress signal.

また、メイン制御部41は、遊技開始待ち処理において、メダル投入払出エラーチェック処理を行うようになっており、当該メダル投入払出エラーチェック処理において、特定エラーとして、メダルの投入に関する異常(メダル投入部4からのメダルの投入が許可されている投入許可期間外で、投入メダルセンサ31a〜31cがメダル等を検出するメダルの投入に関する異常)やメダルの払出に関する異常(払出期間外で払出センサ34cがメダル等を検出するメダルの払出に関する異常)が発生しているか否かを判定し、いずれかの異常が発生しているときには、遊技の進行を不能化するエラー状態に制御するエラー処理を実行する。 Further, the main control unit 41 performs a medal insertion / withdrawal error check process in the game start waiting process, and in the medal insertion / withdrawal error check process, an abnormality related to medal insertion (medal insertion unit) is performed as a specific error. Abnormalities related to medal insertion (abnormality related to medal insertion in which the inserted medal sensors 31a to 31c detect medals, etc.) and medals payout (outside the payout period) It is determined whether or not an abnormality related to the payout of medals that detects medals, etc. has occurred, and if any of the abnormalities has occurred, an error process that controls an error state that disables the progress of the game is executed. ..

また、遊技開始待ち処理では、遊技を進行させる投入メダルセンサ31a〜31c、払出センサ34c、MAXBETスイッチ6等の各種センサやスイッチ類の信号が検出されているか否かが判定されるメダル投入信号処理や操作入力受付処理を最初に行う前に、メダル投入払出エラーチェック処理を実行してメダルの投入や払出に関する異常が発生しているかを判定するようになっている。 Further, in the game start waiting process, the medal insertion signal processing for determining whether or not the signals of various sensors and switches such as the insertion medal sensors 31a to 31c, the payout sensor 34c, and the MAXBET switch 6 for advancing the game are detected. And before the operation input acceptance process is first performed, the medal insertion / withdrawal error check process is executed to determine whether or not an abnormality related to the medal insertion / withdrawal has occurred.

また、メダルの投入に関する異常は、例えば、メダルセレクタ29内に配置された投入メダルセンサ31a〜31cの検出範囲内にメダル等が詰まっていること等により、メダル投入部4からのメダルの投入が許可されている投入許可期間以外の期間において、投入メダルセンサ31a〜31cによりメダル等(メダルや異物等)が検出されることで、当該異常が発生していると判定され、投入メダルセンサ31a〜31cの検出範囲内に詰まっているメダル等を物理的に取り除くことで解消可能である。 Further, the abnormality related to the insertion of medals is that, for example, medals or the like are clogged within the detection range of the insertion medal sensors 31a to 31c arranged in the medal selector 29, so that the medals are inserted from the medal insertion unit 4. When medals or the like (medals, foreign objects, etc.) are detected by the inserted medal sensors 31a to 31c during a period other than the permitted insertion permitted period, it is determined that the abnormality has occurred, and the inserted medal sensors 31a to 31a to This can be solved by physically removing the medals and the like that are stuck within the detection range of 31c.

また、メダルの払出に関する異常は、例えば、払出センサ34cの検出範囲内にメダル等が詰まっていること等により、メダルの払出制御が行われる払出期間以外の期間において、払出センサ34cによりメダル等(メダルや異物等)が検出されることで、当該異常が発生していると判定され、払出センサ34cの検出範囲内に詰まっているメダル等を物理的に取り除くことで解消可能である。 Further, an abnormality related to the payout of medals is caused by, for example, a medal or the like being clogged within the detection range of the payout sensor 34c, and the medal or the like is caused by the payout sensor 34c during a period other than the payout period in which the medal payout control is performed. By detecting medals, foreign matter, etc.), it is determined that the abnormality has occurred, and this can be resolved by physically removing the medals, etc. that are clogged within the detection range of the payout sensor 34c.

また、遊技開始待ち処理では、割込1回待ち処理を実行して少なくとも1回のタイマ割込処理が実行されることを待った後、メダル投入払出エラーチェック処理を実行して、メダルの投入や払出に関する異常が発生しているか否かを判定するようになっている。 Further, in the game start waiting process, after executing the interrupt once wait process and waiting for the timer interrupt process to be executed at least once, the medal insertion / withdrawal error check process is executed to insert medals. It is designed to determine whether or not an abnormality related to payout has occurred.

また、遊技開始待ち処理では、割込1回待ち処理を実行して1回のタイマ割込処理が実行される毎に、メダル投入払出エラーチェック処理、メダル投入信号処理、操作入力受付処理を実行し、メダル投入払出エラーチェック処理において、メダルの投入や払出に関する異常が発生しているか否かを判定し、メダル投入信号処理及び操作入力受付処理において、遊技を進行させる投入メダルセンサ31a〜31c、払出センサ34c、MAXBETスイッチ6等の各種センサやスイッチ類の信号が検出されているか否かを判定するようになっている。 Further, in the game start waiting process, each time the interrupt process is executed once and the timer interrupt process is executed once, the medal insertion / withdrawal error check process, the medal insertion signal process, and the operation input acceptance process are executed. Then, in the medal insertion / withdrawal error check process, it is determined whether or not an abnormality related to the insertion / withdrawal of the medal has occurred, and in the medal insertion signal processing and the operation input reception processing, the insertion medal sensors 31a to 31c, which advance the game. It is designed to determine whether or not the signals of various sensors such as the payout sensor 34c and the MAXBET switch 6 and the switches are detected.

また、遊技開始待ち処理では、メダル投入払出エラーチェック処理を実行し、当該メダル投入払出エラーチェック処理では、メダルの投入や払出に関する異常が発生しているか否かを判定し、異常が発生しているときには、遊技の進行を不能化するエラー状態に制御するエラー処理を実行する。そして、エラー状態が解除されることで、メダル投入払出エラーチェック処理を終了させた後、メダル投入信号処理や操作入力受付処理により最初に遊技を進行させる各種センサやスイッチ類の信号が検出されているか否かが判定される前に、再びメダル投入払出エラーチェック処理を実行して、メダルの投入や払出に関する異常が発生しているか否かを判定するようになっている。 Further, in the game start waiting process, a medal insertion / withdrawal error check process is executed, and in the medal insertion / withdrawal error check process, it is determined whether or not an abnormality related to medal insertion / withdrawal has occurred, and an abnormality occurs. When there is, error processing is executed to control the error state that disables the progress of the game. Then, by canceling the error state, after the medal insertion / withdrawal error check processing is completed, the signals of various sensors and switches that first advance the game are detected by the medal insertion signal processing and the operation input reception processing. Before it is determined whether or not the medal is inserted or withdrawn, the medal insertion / withdrawal error check process is executed again to determine whether or not an abnormality related to the insertion or withdrawal of the medal has occurred.

また、遊技開始待ち処理では、メダル投入払出エラーチェック処理を実行して、エラー処理を行ってエラー状態に制御した場合には、当該エラー処理を終了する際に、エラー状態を解除する旨を示すエラー解除フラグをRAM41cの所定領域に設定することで、エラー状態に移行された後、当該エラー状態が解除されたことを、当該エラー処理の終了後の処理において判定できるようになっている。 Further, in the game start waiting process, when the medal insertion / withdrawal error check process is executed and the error process is performed to control the error state, it indicates that the error state is canceled when the error process is completed. By setting the error release flag in a predetermined area of the RAM 41c, it is possible to determine in the process after the end of the error process that the error state has been released after the error state has been shifted.

また、遊技開始待ち処理では、メダル投入払出エラーチェック処理を行った後、RAM41cの所定領域にエラー解除フラグが設定されているか否かを判定し、当該エラー解除フラグが設定されている場合には、割込み1回待ち処理を行った後、再びメダル投入払出エラーチェック処理を行うことで、メダル投入払出エラーチェック処理によりエラー処理が一度行われた場合には、当該エラー処理の終了後に割込み1回待ち処理を行って、投入メダルセンサ31a〜31cや払出センサ34c等の検出状態を更新した後、メダル投入信号処理や操作入力受付処理を最初に行う前に、再び、メダル投入払出エラーチェック処理を行ってメダルの投入や払出に関する異常が発生しているか否かを判定するようになっている。 Further, in the game start waiting process, after performing the medal insertion / withdrawal error check process, it is determined whether or not the error release flag is set in the predetermined area of the RAM 41c, and if the error release flag is set, it is determined. , After performing the wait process for one interrupt, the medal insertion / withdrawal error check process is performed again. If the error process is performed once by the medal insertion / withdrawal error check process, one interrupt is performed after the error processing is completed. After performing the waiting process and updating the detection status of the inserted medal sensors 31a to 31c, the payout sensor 34c, etc., the medal insertion / withdrawal error check process is performed again before the medal insertion signal processing and the operation input acceptance processing are first performed. It is designed to go and determine whether or not there is an error in inserting or paying out medals.

また、遊技開始待ち処理では、メダル投入払出エラーチェック処理を行った後、RAM41cの所定領域にエラー解除フラグが設定されているか否かを判定し、当該エラー解除フラグが設定されていない場合に、メダル投入信号処理や操作入力処理を行うようになっており、メダル投入払出エラーチェック処理によりエラー処理が行われた後、メダル投入信号処理や操作入力受付処理を最初に行う前に、再びメダル投入払出エラーチェック処理が行われるような場合であって、最後のメダル投入払出エラーチェック処理においてエラー処理が行われない場合、すなわちメダルの投入や払出に関する異常が発生していない状態となった場合に、メダル投入信号処理や操作入力処理により、遊技を進行させる各種センサやスイッチ類の信号が検出されているか否かを判定させることができるようになっている。 Further, in the game start waiting process, after performing the medal insertion / withdrawal error check process, it is determined whether or not the error release flag is set in the predetermined area of the RAM 41c, and if the error release flag is not set, The medal insertion signal processing and operation input processing are performed, and after the error processing is performed by the medal insertion / withdrawal error check processing, the medal insertion is performed again before the medal insertion signal processing and operation input reception processing are first performed. When the payout error check process is performed and the error process is not performed in the final medal insertion / withdrawal error check process, that is, when there is no abnormality related to the medal insertion / withdrawal. By the medal insertion signal processing and the operation input processing, it is possible to determine whether or not the signals of various sensors and switches that advance the game are detected.

[メダル投入実行処理及びメダル手入れ許可設定処理について]
次に、本実施例のメイン制御部41が遊技開始待ち処理から呼び出して行うメダル投入実行処理及びメダル手入れ許可設定処理の制御内容について、図6〜図10に基づいて説明する。尚、メダル投入実行処理及びメダル手入れ許可設定処理は、遊技プログラムに含まれており、遊技プログラムに含まれる遊技開始待ち処理において呼び出されるサブルーチンである。
[About medal insertion execution processing and medal care permission setting processing]
Next, the control contents of the medal insertion execution process and the medal care permission setting process, which are called from the game start waiting process by the main control unit 41 of the present embodiment, will be described with reference to FIGS. 6 to 10. The medal insertion execution process and the medal care permission setting process are included in the game program, and are subroutines that are called in the game start waiting process included in the game program.

メダル投入実行処理は、上述の遊技開始待ち処理において再遊技用メダルカウンタ値が0より大きいと判定された場合、すなわち再遊技が付与されており、当該再遊技の付与に伴い次ゲームを行うための賭数を設定する場合や、後述のメダル投入信号処理においてメダルの正常な通過が検出されたことにより賭数を設定する場合、または後述の操作入力受付処理において賭数を設定するための精算スイッチ10の操作が検出されたことにより賭数を設定する場合等に呼び出される。また、メダル投入実行処理は、新たに賭数に設定する値(以下、投入枚数と呼ぶ場合がある。)が、所定のレジスタに読み込まれている状態で呼び出されるようになっている。例えば、遊技開始待ち処理では、Sb5〜Sb8のステップにより、再遊技用メダルカウンタの値が投入枚数として所定のレジスタに読み込まれている状態でメダル投入実行処理を呼び出し、メダル投入信号処理では、Sh25のステップにおけるメダル投入処理により投入枚数として1が所定のレジスタに読み込まれている状態でメダル投入実行処理を呼び出し、操作入力受付処理では、Sk52のステップの処理により投入枚数として1が所定のレジスタに読み込まれている状態でメダル投入実行処理を呼び出す。 In the medal insertion execution process, when it is determined in the above-mentioned game start waiting process that the re-game medal counter value is greater than 0, that is, the re-game is granted, and the next game is performed in association with the re-game grant. Settlement for setting the bet number, when setting the bet number when the normal passage of the medal is detected in the medal insertion signal processing described later, or when setting the bet number in the operation input reception processing described later. It is called when the bet number is set when the operation of the switch 10 is detected. Further, the medal insertion execution process is called in a state where a value newly set for the number of bets (hereinafter, may be referred to as the number of inserts) is read in a predetermined register. For example, in the game start waiting process, the medal insertion execution process is called in a state where the value of the re-game medal counter is read into a predetermined register as the number of inserted medals by the steps Sb5 to Sb8, and in the medal insertion signal process, Sh25. In the operation input reception process, the medal insertion execution process is called in a state where 1 as the number of inserted sheets is read in the predetermined register by the medal insertion process in the step of Sk52, and 1 as the number of inserted sheets is set in the predetermined register by the process of the Sk52 step. Call the medal insertion execution process while it is being read.

図6に示すように、メダル投入実行処理では、まず、RAM41cの所定領域を参照して、現在スロットマシン1に投入されて賭数として設定されているメダルの枚数(以下、投入済み枚数と呼ぶ場合がある。)を取得する(Sc1)。そして、所定のレジスタに読み込まれている投入枚数の値とSc1のステップにおいて取得した投入済み枚数の値との和を算出する(Sc2)。そして、RAM41cに記憶されている投入済み枚数を、Sc2のステップにおいて算出した値に更新して、新たな投入済み枚数をRAM41cの所定領域に記憶させる(Sc3)。 As shown in FIG. 6, in the medal insertion execution process, first, the number of medals currently inserted into the slot machine 1 and set as the number of bets (hereinafter referred to as the number of inserted medals) is referred to by referring to the predetermined area of the RAM 41c. In some cases) (Sc1). Then, the sum of the value of the number of inserted sheets read in the predetermined register and the value of the number of inserted sheets acquired in the step of Sc1 is calculated (Sc2). Then, the inserted number of sheets stored in the RAM 41c is updated to the value calculated in the step of Sc2, and the new inserted number of sheets is stored in the predetermined area of the RAM 41c (Sc3).

その後、新たに賭数に投入したメダル枚数を特定可能な投入枚数コマンドを送信するための所定データを所定のレジスタに設定し(Sc4)、メダル投入時処理を行う(Sc5)。 After that, predetermined data for transmitting a command for the number of inserted medals that can specify the number of medals newly inserted into the number of bets is set in a predetermined register (Sc4), and processing at the time of inserting medals is performed (Sc5).

図7に示すように、メダル投入時処理では、まず、通信データ格納処理を行って(Sd1)、所定のレジスタに設定されている所定データ(例えば、投入枚数コマンドを送信するためのデータ)に基づいてコマンドを生成してコマンドキューに格納し、当該コマンドをサブ制御部91に対して送信させるように制御する。 As shown in FIG. 7, in the medal insertion processing, first, the communication data storage processing is performed (Sd1), and the predetermined data set in the predetermined register (for example, the data for transmitting the insertion number command) is input. Based on this, a command is generated and stored in the command queue, and the sub-control unit 91 is controlled to transmit the command.

Sd1のステップにおいて通信データ格納処理を行った後は、RAM41cの所定領域を参照して賭数に設定されているメダル枚数を取得し(Sd2)、当該賭数のメダル枚数を、1〜3BETLED14〜16(以下、1〜3BETLED14〜16をまとめて投入枚数表示LEDと呼ぶ場合がある。)を用いて投入枚数を表示するための投入枚数表示用データに変換する(Sd3)。また、投入枚数表示LEDのすべてのLEDをOFF状態(消灯状態)に制御して表示態様を非表示状態とするための投入枚数LEDオフデータを、ROM41bの所定領域から所定のレジスタに読み込み(Sd4)、当該投入枚数LEDオフデータをRAM41cの所定領域に設定されている出力バッファのうち投入枚数表示LEDに対して制御信号を出力させる出力ポートに対応する出力バッファに格納する(Sd5)。 After performing the communication data storage process in the step of Sd1, the number of medals set in the bet number is acquired by referring to the predetermined area of the RAM 41c (Sd2), and the number of medals of the bet number is set to 1 to 3 BETLED14 to. 16 (hereinafter, 1 to 3 BETLEDs 14 to 16 may be collectively referred to as a number of inserted number display LEDs) is used to convert the data into data for displaying the number of inserted sheets (Sd3). Further, the input number LED off data for controlling all the LEDs of the input number display LED to the OFF state (off state) to hide the display mode is read from the predetermined area of the ROM 41b into a predetermined register (Sd4). ), The input number LED off data is stored in the output buffer corresponding to the output port for outputting the control signal to the input number display LED among the output buffers set in the predetermined area of the RAM 41c (Sd5).

その後、Sd3のステップにて作成された投入枚数表示用データ及び投入枚数LEDオフデータに基づいて、賭数に設定されているメダル枚数に基づいて該当する投入枚数表示LEDを表示態様または非表示態様に制御するための投入枚数LED表示データを生成すし(Sd6)、当該投入枚数LED表示データを投入枚数表示LEDの出力バッファに格納する(Sd7)。出力バッファに格納された投入枚数LED表示データは、その後行われるタイマ割込処理(メイン)により参照されて、当該データに基づいて該当する投入枚数表示LEDがON状態(点灯態様)またはOFF状態(消灯状態)に制御されることで、賭数に設定されているメダル枚数が1〜3BETLED14〜16の点灯態様により報知されるようになっている。 After that, based on the insertion number display data and the insertion number LED off data created in the step of Sd3, the corresponding insertion number display LED is displayed or not displayed based on the number of medals set in the bet number. The input number LED display data for controlling is generated (Sd6), and the input number LED display data is stored in the output buffer of the input number display LED (Sd7). The input number LED display data stored in the output buffer is referred to by the timer interrupt process (main) performed thereafter, and the corresponding input number LED display LED is in the ON state (lighting mode) or OFF state (lighting mode) based on the data. By being controlled to the off state), the number of medals set in the bet number is notified by the lighting mode of the 1 to 3 BET LEDs 14 to 16.

また、投入枚数表示LEDの出力バッファに、投入枚数LEDオフデータを格納した後、投入枚数LED表示データを格納するようになっている。これにより、投入枚数表示LEDの出力バッファは、一旦すべての投入枚数表示LEDを非表示態様とするデータが設定され、その後、賭数の設定されているメダル枚数に応じたLEDを表示態様とするデータが設定されることとなるので、賭数の更新に伴い新たな投入枚数LED表示データが設定される以前における投入枚数表示LEDの表示態様が、賭数の更新後に引き継がれてしまうことを防止できるようになっている。 Further, after storing the input number LED off data in the output buffer of the input number LED, the input number LED display data is stored. As a result, the output buffer of the inserted number display LED is once set with data in which all the inserted number display LEDs are hidden, and then the LED corresponding to the number of medals for which the bet number is set is set as the display mode. Since the data will be set, it is possible to prevent the display mode of the input number LED display before the new input number LED display data is set due to the update of the bet number from being inherited after the bet number update. You can do it.

Sd7のステップにおいて投入枚数LED表示データを所定の出力バッファに格納した後は、RAM41cの所定領域に設定されているクレジットカウンタの値を所定のレジスタに読み込んで取得し(Sd8)、RAM41cの所定領域に設定されている出力バッファのうちクレジット表示器11の上位桁用表示器に対して制御信号を出力させる出力ポートに対応する所定の出力バッファのアドレスをROM41bの所定領域から読み込んで所定のレジスタに設定する(Sd9)。そして、Sd8のステップにおいて取得したクレジットカウンタの値を10で除算した商を所定のレジスタに算出し(Sd10)、当該商の値に基づいてクレジットカウンタの値が2桁であるか否かを判定する(Sd11)。具体的には、クレジットカウンタの値を10で除算した商が0である場合には、クレジットカウンタの値が1桁であると判定し、当該商が1以上である場合には、クレジットカウンタの値が2桁であると判定する。 After storing the input number LED display data in the predetermined output buffer in the step of Sd7, the value of the credit counter set in the predetermined area of the RAM 41c is read into the predetermined register and acquired (Sd8), and the predetermined area of the RAM 41c is obtained. Of the output buffers set to, the address of the predetermined output buffer corresponding to the output port for outputting the control signal to the upper digit display of the credit display 11 is read from the predetermined area of the ROM 41b and set to the predetermined register. Set (Sd9). Then, the quotient obtained by dividing the value of the credit counter acquired in the step of Sd8 by 10 is calculated in a predetermined register (Sd10), and it is determined whether or not the value of the credit counter is two digits based on the value of the quotient. (Sd11). Specifically, when the quotient obtained by dividing the value of the credit counter by 10 is 0, it is determined that the value of the credit counter is one digit, and when the quotient is 1 or more, the value of the credit counter is determined. It is determined that the value has two digits.

Sd11のステップにおいて、クレジットカウンタの値が2桁でないと判定した場合には、クレジット表示器11の上位桁用表示器の表示態様を非表示(無表示状態)とするための非表示用データを、上述の商が設定されている所定のレジスタに上書きして設定した後(Sd12)、7セグ表示データ格納処理を行う(Sd13)。一方、Sd11のステップにおいて、クレジットカウンタの値が2桁であると判定した場合には、Sd10のステップにおいて算出した商が所定のレジスタに設定されている状態で、Sd13のステップに進み7セグ表示データ格納処理を行う。 When it is determined in the step of Sd11 that the value of the credit counter is not two digits, the non-display data for hiding (non-displaying) the display mode of the upper digit display of the credit display 11 is displayed. After overwriting and setting the predetermined register in which the above-mentioned quotient is set (Sd12), the 7-segment display data storage process is performed (Sd13). On the other hand, when it is determined in the step of Sd11 that the value of the credit counter is two digits, the process proceeds to the step of Sd13 and the 7-segment display is performed with the quotient calculated in the step of Sd10 set in a predetermined register. Performs data storage processing.

7セグ表示データ格納処理では、当該7セグ表示データ格納処理の開始時に所定のレジスタに設定されている商の値または非表示用データの値に基づいて、クレジット表示器11の表示用データを特定してROM41bの所定領域から読み出す。そして、当該表示用データを、Sd9のステップにおいて設定されたアドレスに基づいて特定されるクレジット表示器11の上位桁用表示器の出力バッファに格納した後、7セグ表示データ格納処理を終了させて呼び出し元の処理に戻る。 In the 7-segment display data storage process, the display data of the credit display 11 is specified based on the value of the quotient or the value of the non-display data set in a predetermined register at the start of the 7-segment display data storage process. Then, the data is read from the predetermined area of the ROM 41b. Then, after storing the display data in the output buffer of the upper digit display of the credit display 11 specified based on the address set in the step of Sd9, the 7-segment display data storage process is terminated. Return to the caller's processing.

Sd13のステップにおいて7セグ表示データ格納処理を行った後は、Sd8のステップにおいて取得したクレジットカウンタの値を10で除算した余りを所定のレジスタに設定する(Sd14)。また、Sd9のステップにおいて設定されたクレジット表示器11の上位桁用表示器の出力バッファのアドレスから1減算することで特定される出力バッファのアドレスを、別の所定のレジスタに設定する(Sd15)。 After performing the 7-segment display data storage process in the step of Sd13, the remainder obtained by dividing the value of the credit counter acquired in the step of Sd8 by 10 is set in a predetermined register (Sd14). Further, the address of the output buffer specified by subtracting 1 from the address of the output buffer of the upper digit display of the credit display 11 set in the step of Sd9 is set in another predetermined register (Sd15). ..

その後、7セグ表示データ格納処理を行い(Sd16)、当該7セグ表示データ格納処理が終了することで、メダル投入時処理を終了させて呼び出し元の処理(例えば、メダル投入実行処理等)に戻る。Sd16のステップにおいて行われる7セグ表示データ格納処理では、当該7セグ表示データ格納処理の開始時に所定のレジスタに設定されている余りの値に基づいて、クレジット表示器11の表示用データを特定してROM41bの所定領域から読み出す。そして、当該表示用データを、Sd15のステップにおいて設定されたアドレスに基づいて特定されるクレジット表示器11の下位桁用表示器の出力バッファに格納した後、7セグ表示データ格納処理を終了させて呼び出し元のメダル投入時処理に戻る。 After that, the 7-segment display data storage process is performed (Sd16), and when the 7-segment display data storage process is completed, the medal insertion process is terminated and the process returns to the caller's process (for example, medal insertion execution process). .. In the 7-segment display data storage process performed in the step of Sd16, the display data of the credit display 11 is specified based on the remainder value set in the predetermined register at the start of the 7-segment display data storage process. Read from the predetermined area of ROM 41b. Then, after storing the display data in the output buffer of the lower digit display of the credit display 11 specified based on the address set in the step of Sd15, the 7-segment display data storage process is terminated. Return to the process when the caller's medal is inserted.

Sd13及びSd16のステップにおいてクレジット表示器11の出力バッファに格納された表示用データは、その後行われるタイマ割込処理により参照されて、当該データに基づいて該当するクレジット表示器11の各セグメントがON状態(点灯態様)またはOFF状態(消灯状態)に制御されることで、クレジットカウンタの値を示す数字がクレジット表示器11に表示されるようになっている。尚、クレジットカウンタの値が1桁である場合には、クレジット表示器11の上位桁用表示器の出力バッファに非表示用データが設定されることで、当該上位桁用表示器はOFF状態(消灯状態)に制御されることとなり、いずれの数字等も表示されないようになっている。 The display data stored in the output buffer of the credit display 11 in the steps of Sd13 and Sd16 is referred to by the timer interrupt processing performed thereafter, and each segment of the corresponding credit display 11 is turned on based on the data. By being controlled to a state (lighting mode) or an OFF state (lighting state), a numerical value indicating the value of the credit counter is displayed on the credit display 11. When the value of the credit counter is one digit, the non-display data is set in the output buffer of the upper digit display of the credit display 11, so that the upper digit display is in the OFF state ( It will be controlled to the off state), and none of the numbers will be displayed.

メダル投入時処理が行われた後のメダル投入実行処理では、当該メダル投入実行処理を終了させて、遊技開始待ち処理に戻る。遊技開始待ち処理では、その後、メダル手入れ許可設定処理が行われる。 In the medal insertion execution process after the medal insertion execution process is performed, the medal insertion execution process is terminated and the process returns to the game start waiting process. In the game start waiting process, the medal care permission setting process is then performed.

図8に示すように、メダル手入れ許可設定処理では、まず、遊技プログラムに含まれる投入状況判定処理を呼び出して(Se1)、クレジットに記憶されているメダル枚数の値及び賭数に設定されているメダル枚数の値等に基づいて算出される投入状況判定用値を取得する。 As shown in FIG. 8, in the medal care permission setting process, first, the insertion status determination process included in the game program is called (Se1), and the value of the number of medals and the number of bets stored in the credit are set. Acquire the insertion status determination value calculated based on the value of the number of medals and the like.

図9に示すように、投入状況判定処理では、まず、遊技プログラムに含まれる最大投入枚数セット処理を行う(Sf1)。最大投入枚数セット処理では、後述するように、遊技状態(通常状態または特別状態)に応じて次回のゲームを開始させるための賭数の規定数を特定し、特定された規定数の値を、賭数に投入可能なメダル枚数の最大値(以下、最大投入枚数と呼ぶ場合がある。)として所定のレジスタに取得する。 As shown in FIG. 9, in the input status determination process, first, the maximum input number set process included in the game program is performed (Sf1). In the maximum input number setting process, as will be described later, a specified number of bets for starting the next game is specified according to the gaming state (normal state or special state), and the value of the specified specified number is set. It is acquired in a predetermined register as the maximum value of the number of medals that can be inserted into the number of bets (hereinafter, may be referred to as the maximum number of inserted medals).

そして、Sf1のステップにおいて取得した最大投入枚数の値とクレジットの最大値(本実施例では、50)とを加算した後、1減算することで、判定用枚数値を算出する(Sf2)。その後、RAM41cの所定領域を参照して、当該処理を行う時点でのクレジットに記憶されているメダル枚数と、賭数に投入済みのメダル枚数とを取得し(Sf3、Sf4)、クレジットのメダル枚数の値と賭数に投入済みのメダル枚数の値とを加算することで、当該処理を行う時点においてスロットマシン1に投入されている遊技者所有のメダル枚数(以下、現在枚数と呼ぶ場合がある。)を算出する(Sf5)。 Then, the value of the maximum number of inserted sheets acquired in the step of Sf1 and the maximum value of credits (50 in this embodiment) are added and then subtracted by 1 to calculate the value of the number of sheets for determination (Sf2). After that, referring to the predetermined area of the RAM 41c, the number of medals stored in the credit at the time of performing the processing and the number of medals already inserted in the bet number are acquired (Sf3, Sf4), and the number of medals of the credit is obtained. By adding the value of ) Is calculated (Sf5).

そして、Sf5のステップにおいて算出された現在枚数の値からSf2のステップにおいて算出された判定用枚数値を減算することで、スロットマシン1における遊技者所有のメダルの投入状況を示す投入状況判定用値を算出する(Sf6)。その後、投入状況判定用値を所定のレジスタに記憶させた状態で、当該投入状況判定処理を終了させて呼び出し元のメダル手入れ許可設定処理に戻る。 Then, by subtracting the determination number value calculated in the Sf2 step from the current number value calculated in the Sf5 step, the insertion status determination value indicating the insertion status of the player-owned medals in the slot machine 1 is obtained. Is calculated (Sf6). After that, with the insertion status determination value stored in a predetermined register, the insertion status determination process is terminated and the process returns to the caller's medal care permission setting process.

尚、判定用枚数は、遊技状態に応じた賭数の最大値とクレジットの最大値との和を1減算して補正した値であり、投入状況判定用値は、現在枚数と判定用枚数値との比較結果(差分)を示す値であり、投入状況判定用値が1であるときには、スロットマシン1に投入されている遊技者所有のメダル枚数が、スロットマシン1に投入可能な最大メダル枚数(賭数に設定可能なメダル枚数の最大値(規定数)とクレジットに記憶可能なメダル枚数の最大値との和)に達している状況であり、遊技者等がメダル投入部4よりメダルを投入しても、賭数及びクレジットのいずれにもメダルを加算させることができない状況である旨を示し、判定用枚数値が1以外の値であるときには、スロットマシン1に投入されている遊技者所有のメダル枚数が、スロットマシン1に投入可能な最大メダル枚数よりも1以上少ない状況であり、遊技者等がメダル投入部4よりメダルを投入することで、賭数またはクレジットにメダルを加算させることが可能な状況である旨を示す。また、特に、判定用枚数値が0であるときには、スロットマシン1に投入されている遊技者所有のメダル枚数が、スロットマシン1に投入可能な最大メダル枚数よりも1少ない状況であり、メダル投入部4よりメダルがあと1枚正常に投入されることで、スロットマシン1に投入されている遊技者所有のメダル枚数がスロットマシン1に投入可能な最大メダル枚数に達する状況である旨を示す。 The number of slots for judgment is a value corrected by subtracting 1 from the sum of the maximum value of the number of bets and the maximum value of credits according to the game state, and the value for determining the input status is the value of the current number of cards and the number of cards for judgment. It is a value indicating the comparison result (difference) with, and when the insertion status determination value is 1, the number of medals owned by the player inserted in the slot machine 1 is the maximum number of medals that can be inserted into the slot machine 1. (The sum of the maximum number of medals that can be set for the number of bets (specified number) and the maximum number of medals that can be stored in credits) has been reached. It indicates that the medals cannot be added to either the number of bets or the credits even if the slot machine is inserted, and when the number of judgment sheets is a value other than 1, the player inserted in the slot machine 1 The number of medals owned is one or more less than the maximum number of medals that can be inserted into the slot machine 1, and a player or the like inserts medals from the medal insertion unit 4 to add medals to the number of bets or credits. Indicates that the situation is possible. Further, in particular, when the determination number value is 0, the number of medals owned by the player inserted in the slot machine 1 is one less than the maximum number of medals that can be inserted into the slot machine 1, and medals are inserted. When one more medal is normally inserted from the section 4, it is shown that the number of medals owned by the player that has been inserted into the slot machine 1 reaches the maximum number of medals that can be inserted into the slot machine 1.

メダル手入れ許可設定処理では、Se1のステップにおいて投入状況判定処理を行った後、所定のレジスタに記憶されている投入状況判定用値から1減算し(Se2)、減算結果が0であるか否かを判定する(Se3)。 In the medal care permission setting process, after the insertion status determination processing is performed in the step of Se1, 1 is subtracted from the insertion status determination value stored in the predetermined register (Se2), and whether or not the subtraction result is 0. Is determined (Se3).

そして、Se3のステップにおいて減算結果が0でないと判定された場合、すなわち投入状況判定処理により取得された投入状況判定用値が1以外の値であり、遊技者等がメダル投入部4よりメダルを投入することで、賭数またはクレジットにメダルを加算させることが可能な状況であることが特定される場合には、メダル投入部4からのメダルの投入を許可する旨を示すメダル手入れ許可フラグ(許可)をRAM41cの所定領域に設定する(Se4)。 Then, when it is determined that the subtraction result is not 0 in the step of Se3, that is, the insertion status determination value acquired by the insertion status determination process is a value other than 1, and the player or the like receives a medal from the medal insertion unit 4. When it is specified that it is possible to add medals to the number of bets or credits by inserting medals, a medal care permission flag indicating that medals from the medal insertion unit 4 are allowed to be inserted ( Allow) is set in a predetermined area of the RAM 41c (Se4).

一方、Se3のステップにおいて減算結果が0であると判定された場合、すなわち投入状況判定処理により取得された投入状況判定用値が1であり、遊技者等がメダル投入部4よりメダルを投入しても、賭数及びクレジットのいずれにもメダルを加算させることができない状況であることが特定される場合には、メダルの投入を許可しない旨を示すメダル手入れ許可フラグ(不許可)をRAM41cの所定領域に設定する(Se5)。 On the other hand, when the subtraction result is determined to be 0 in the step of Se3, that is, the insertion status determination value acquired by the insertion status determination process is 1, and the player or the like inserts medals from the medal insertion unit 4. However, if it is specified that medals cannot be added to either the number of bets or credits, a medal care permission flag (not allowed) indicating that medals are not allowed to be inserted is set in the RAM 41c. Set to a predetermined area (Se5).

Se4のステップにおいてメダル手入れ許可フラグ(許可)を設定した後、及びSe5のステップにおいてメダル手入れ許可フラグ(不許可)を設定した後は、当該メダル手入れ許可設定処理を終了させて、呼び出し元の遊技開始待ち処理に戻る。 After setting the medal care permission flag (permission) in the step of Se4 and setting the medal care permission flag (disapproval) in the step of Se5, the medal care permission setting process is terminated and the caller's game Return to the start waiting process.

次いで、投入状況判定処理等において呼び出される最大投入枚数セット処理の制御内容について、図10に基づいて説明する。 Next, the control content of the maximum number of sheets set process called in the input status determination process and the like will be described with reference to FIG.

図10に示すように、最大投入枚数セット処理では、まず、賭数に投入可能なメダル枚数の最大値(最大投入枚数)として、遊技状態がBBに制御されていない通常状態における遊技(以下、一般遊技と呼ぶ場合がある。)を行うときの規定数の最大値(本実施例では、1、3のうちの3)を所定のレジスタに設定する(Sg1)。 As shown in FIG. 10, in the maximum insertion number setting process, first, as the maximum value (maximum insertion number) of the number of medals that can be inserted into the bet number, the game in the normal state in which the game state is not controlled by the BB (hereinafter, The maximum value of the specified number (3 out of 1 and 3 in this embodiment) when performing a general game (may be called a general game) is set in a predetermined register (Sg1).

その後、RAM41cの所定領域に再遊技中フラグが設定されているか否かに基づいて、再遊技中であるか否かを判定する(Sg2)。尚、再遊技中フラグは、再遊技中であるか否かを特定可能なフラグである。再遊技中フラグは、前回の遊技にて再遊技役が入賞して再遊技が付与された場合に、当該前回の遊技の終了時に行われる遊技終了時設定処理によりRAM41cの所定領域に設定され、次回の遊技(再遊技)の終了時にクリアされるようになっている。 After that, it is determined whether or not the re-game is in progress based on whether or not the re-game in-game flag is set in the predetermined area of the RAM 41c (Sg2). The replaying flag is a flag that can specify whether or not the replaying is in progress. The replaying flag is set in a predetermined area of the RAM 41c by the game end setting process performed at the end of the previous game when the replaying combination wins a prize in the previous game and the replaying game is given. It is designed to be cleared at the end of the next game (re-game).

Sg2のステップにおいて再遊技中であると判定した場合は、RAM41cの所定領域を参照して、再遊技が付与されたことに伴い賭数に設定されているメダル枚数(投入済み枚数)を取得する(Sg3)。尚、再遊技中である場合には、上述の遊技開始待ち処理において行われるメダル投入実行処理により再遊技用メダルカウンタに基づいて特定されるメダル枚数(1枚または3枚)が賭数に設定されている。 When it is determined in the step of Sg2 that the replay is in progress, the number of medals (the number of inserted medals) set in the bet number is acquired with reference to the predetermined area of the RAM 41c. (Sg3). If the game is being re-gamed, the number of medals (1 or 3) specified based on the re-game medal counter by the medal insertion execution process performed in the above-mentioned game start waiting process is set as the bet number. Has been done.

そして、Sg3のステップにおいて取得した投入済み枚数の値が1であるか否かを判定する(Sg4)。Sg4のステップにおいて投入済み枚数の値が1であると判定した場合、すなわち前回の遊技が賭数を1として行われて、1枚賭の再遊技が付与されている場合は、Sg1のステップにより所定のレジスタに設定されている最大投入枚数を、1枚賭の再遊技中の最大投入枚数(1)に変更して設定する(Sg5)。 Then, it is determined whether or not the value of the number of inserted sheets acquired in the step of Sg3 is 1 (Sg4). If it is determined in the step of Sg4 that the value of the number of inserted sheets is 1, that is, if the previous game is performed with the number of bets set to 1, and a re-game of one bet is granted, the step of Sg1 is performed. The maximum number of inserts set in the predetermined register is changed to the maximum number of inserts (1) during the replay of one bet (Sg5).

Sg2のステップにおいて再遊技中でないと判定した場合、及びSg4のステップにおいて投入済み枚数の値が1でないと判定した場合、Sg5のステップにおいて最大投入枚数として1枚賭の再遊技中の最大投入枚数(1)を所定のレジスタに設定した後は、RAM41cの所定領域を参照して、遊技状態フラグを取得する(Sg6)。遊技状態フラグは、遊技状態がBBに制御されていない通常状態であるかBB中であるかを特定可能なフラグである。特別役が入賞した遊技の終了時に行われる遊技終了時設定処理により、BB中である旨を特定可能な遊技状態フラグ(BB中)がRAM41cの所定領域に設定される。そして、BBの終了条件が成立してBBが終了される遊技の終了時に行われる遊技終了時設定処理により、遊技状態フラグ(BB中)がクリアされて、通常状態である旨を特定可能な遊技状態フラグ(通常)がRAM41cの所定領域に設定される。遊技状態フラグ(通常)は、遊技状態フラグ(BB中)が設定される際にクリアされる。 If it is determined in the step of Sg2 that the game is not being replayed, or if it is determined in the step of Sg4 that the value of the number of inserted cards is not 1, then the maximum number of cards inserted during the replay of one bet is set as the maximum number of cards inserted in the step of Sg5. After setting (1) in the predetermined register, the game state flag is acquired by referring to the predetermined area of the RAM 41c (Sg6). The game state flag is a flag that can identify whether the game state is a normal state that is not controlled by the BB or is in the BB. A game state flag (during BB) that can identify that the player is in BB is set in a predetermined area of the RAM 41c by the game end setting process performed at the end of the game in which the special role has won a prize. Then, the game state flag (during BB) is cleared by the game end time setting process performed at the end of the game in which the BB end condition is satisfied and the BB is ended, and the game can be specified to be in the normal state. A state flag (normal) is set in a predetermined area of the RAM 41c. The game status flag (normal) is cleared when the game status flag (during BB) is set.

そして、Sg6のステップにおいて取得した遊技状態フラグに基づいて遊技状態がBB中であるか否かを判定する(Sg7)。Sg7のステップにおいて遊技状態がBB中であると判定した場合は、Sg1のステップまたはSg5のステップにより所定のレジスタに設定されている最大投入枚数を、BB中における遊技(以下、特別遊技と呼ぶ場合がある。)を行うときの最大投入枚数(本実施例では、規定数2)に変更して設定する(Sg8)。 Then, it is determined whether or not the game state is in BB based on the game state flag acquired in the step of Sg6 (Sg7). When it is determined that the game state is in BB in the step of Sg7, the maximum number of input sheets set in the predetermined register by the step of Sg1 or the step of Sg5 is the game in BB (hereinafter, referred to as a special game). (There is)) is changed to the maximum number of sheets to be input (specified number 2 in this embodiment) and set (Sg8).

Sg7のステップにおいて遊技状態がBB中でないと判定した場合、及びSg8のステップにおいて最大投入枚数を変更した後は、最大投入枚数セット処理を終了して呼び出し元の処理(例えば、投入状況判定処理等)に戻る。 When it is determined in the step of Sg7 that the gaming state is not in BB, and after the maximum number of inserted sheets is changed in the step of Sg8, the maximum number of inserted sheets set process is terminated and the caller's process (for example, input status determination process, etc.) ) Return.

[メダル投入信号処理について]
次に、本実施例のメイン制御部41が遊技開始待ち処理から呼び出して行うメダル投入信号処理の制御内容について、図11に基づいて説明する。尚、メダル投入信号処理は、遊技プログラムに含まれており、遊技プログラムに含まれる遊技開始待ち処理において呼び出されるサブルーチンである。
[About medal insertion signal processing]
Next, the control content of the medal insertion signal processing that the main control unit 41 of the present embodiment calls from the game start waiting process will be described with reference to FIG. The medal insertion signal processing is included in the game program, and is a subroutine called in the game start waiting process included in the game program.

図11に示すように、メダル投入信号処理では、まず、上述の遊技開始待ち処理のメダル手入れ許可設定処理においてメダル投入部4からのメダルの投入を許可する旨を示すメダル手入れ許可フラグが設定されているか否かを判定する(Sh1)。そして、メダル手入れ許可フラグが設定されていない場合は、メダル投入信号処理を終了して、呼び出し元の遊技開始待ち処理に戻る。一方、メダル手入れ許可フラグが設定されている場合は、RAM41cの所定領域に設定されているメダル投入信号状態遷移データを参照する(Sh2)。メダル投入信号状態遷移データは、投入メダルセンサ31a〜31cの検出信号(以下、メダル投入信号と呼ぶ場合がある)の状態の遷移を特定可能なデータであり、非遊技プログラムに含まれるメダルセンサチェック処理により、投入メダルセンサ31a〜31cの入力データ等に基づいて所定のタイミングで更新されて、RAM41cの非遊技RAM領域の所定領域に設定されている。 As shown in FIG. 11, in the medal insertion signal processing, first, in the above-mentioned medal maintenance permission setting process of the game start waiting process, a medal maintenance permission flag indicating that the medal insertion from the medal insertion unit 4 is permitted is set. It is determined whether or not it is (Sh1). If the medal care permission flag is not set, the medal insertion signal processing is terminated and the process returns to the caller's game start waiting process. On the other hand, when the medal care permission flag is set, the medal insertion signal state transition data set in the predetermined area of the RAM 41c is referred to (Sh2). The medal insertion signal state transition data is data that can identify the state transition of the detection signals (hereinafter, may be referred to as medal insertion signals) of the insertion medal sensors 31a to 31c, and is the medal sensor check included in the non-game program. By the processing, it is updated at a predetermined timing based on the input data and the like of the input medal sensors 31a to 31c, and is set in the predetermined area of the non-gaming RAM area of the RAM 41c.

そして、Sh2のステップにおいて参照したメダル投入信号状態遷移データに基づいて、メダルセレクタ29における投入メダルセンサ31a〜31cの検出範囲を、メダル投入部4から投入されたメダルが通過中であるか否かを判定する(Sh3)。投入メダルセンサ31a〜31cの検出範囲をメダルが通過中でないと判定した場合は、流路切替ソレノイド30をON状態に制御して(Sh4)、メダル投入部4から投入されたメダルがメダルセレクタ29内のメダル流入流路29a及びメダル受入流路29bを流下してホッパータンクに導かれるように、メダル投入部4から投入されたメダルの流路をスロットマシン1の内部に設けられたホッパータンク側に切替えるように制御する。その後、メダル投入部4からメダルを投入可能である旨を示す投入要求LED17をON状態に制御し(Sh5)、メダル投入信号無視タイマをクリアする(Sh6)。 Then, based on the medal insertion signal state transition data referred to in the step of Sh2, whether or not the medal inserted from the medal insertion unit 4 is passing through the detection range of the insertion medal sensors 31a to 31c in the medal selector 29. Is determined (Sh3). When it is determined that the medal is not passing through the detection range of the inserted medal sensors 31a to 31c, the flow path switching solenoid 30 is controlled to the ON state (Sh4), and the medal inserted from the medal insertion unit 4 is the medal selector 29. The flow path of medals inserted from the medal insertion unit 4 is provided inside the slot machine 1 on the hopper tank side so as to flow down the medal inflow flow path 29a and the medal acceptance flow path 29b and be guided to the hopper tank. Control to switch to. After that, the insertion request LED 17 indicating that the medal can be inserted from the medal insertion unit 4 is controlled to the ON state (Sh5), and the medal insertion signal ignore timer is cleared (Sh6).

ここで、メダル投入信号無視タイマは、流路切替ソレノイド30をOFF状態に設定する際に、少なくとも流路切替ソレノイド30をOFF状態とする制御信号の出力を設定してから、当該流路切替ソレノイド30が作動してメダル投入部4から投入されたメダルの流路がメダル払出口9側に実際に切り替えられるまでの切替時間の経過を計時して、切替時間の計時中には所定処理においてメダル投入信号を無視するように制御するためのタイマである。メダル投入信号無視タイマには、メダルの流路を切り替えるために流路切替ソレノイド30の制御信号の出力が設定された際に、少なくとも流路切替ソレノイド30の制御信号の出力設定を行ってから実際にメダルの流路が切り替えられるまでの所定時間(本実施例では、504ミリ秒)が設定される。その後、タイマ割込み処理(メイン)によりメダル投入信号無視タイマが減算されて更新され、0となることで切替時間が経過したことを特定できるようになっている。 Here, the medal insertion signal ignore timer sets the output of the control signal that turns the flow path switching solenoid 30 to the OFF state at least when setting the flow path switching solenoid 30 to the OFF state, and then sets the flow path switching solenoid 30. The elapse of the switching time until the 30 is activated and the flow path of the medal inserted from the medal insertion unit 4 is actually switched to the medal payout outlet 9 side is timed, and during the timekeeping of the switching time, medals are processed in a predetermined process. It is a timer for controlling so as to ignore the input signal. When the output of the control signal of the flow path switching solenoid 30 is set for the medal insertion signal ignore timer in order to switch the flow path of the medal, at least the output of the control signal of the flow path switching solenoid 30 is set before the actual operation. A predetermined time (504 milliseconds in this embodiment) until the flow path of the medal is switched to is set. After that, the timer interrupt processing (main) subtracts and updates the medal insertion signal ignoring timer, and when it becomes 0, it is possible to specify that the switching time has elapsed.

Sh3のステップにおいて投入メダルセンサ31a〜31cの検出範囲をメダルが通過中であると判定した場合、及びSh6のステップにおいてメダル投入信号無視タイマをクリアした後は、メイン制御部41が備えるレジスタのうち演算結果が格納されるフラグレジスタの値を、遊技RAM領域の遊技スタック領域に所定の順序で記憶させることで退避させた後(Sh7)、タイマ割込みを禁止に設定し(Sh8)、非遊技プログラムに含まれるメダルセンサ処理を行った後(Sh9)、タイマ割込みを許可に設定し(Sh10)、Sh7のステップにおいて退避させたレジスタの値を、退避させるときと逆の順序で遊技スタック領域から順次読み出してフラグレジスタに設定することで、当選情報出力処理を行う前の状態にフラグレジスタを復帰させる(Sh11)。 Among the registers provided in the main control unit 41, when it is determined that the medal is passing through the detection range of the insertion medal sensors 31a to 31c in the step of Sh3, and after the medal insertion signal ignore timer is cleared in the step of Sh6. After saving the value of the flag register in which the calculation result is stored by storing it in the game stack area of the game RAM area in a predetermined order (Sh7), the timer interrupt is set to disabled (Sh8), and the non-game program After performing the medal sensor processing included in (Sh9), the timer interrupt is set to enable (Sh10), and the values of the registers saved in the step of Sh7 are sequentially set from the game stack area in the reverse order of saving. By reading it out and setting it in the flag register, the flag register is restored to the state before the winning information output process is performed (Sh11).

メダルセンサ処理では、まず、呼び出し元の遊技プログラムにより使用されていたスタックポインタSPが示すアドレスの値を非遊技RAM領域の所定領域に記憶させて退避させる。その後、当該スタックポインタSPの値として非遊技スタック領域の所定アドレス(前回の非遊技プログラムの終了時に記憶されたアドレス)を設定することで、スタックポインタSPを非遊技プログラム用に設定する。そして、メイン制御部41が備えるすべてのレジスタの値を非遊技スタック領域に所定の順序で記憶させることで退避させる。 In the medal sensor process, first, the value of the address indicated by the stack pointer SP used by the calling game program is stored in a predetermined area of the non-game RAM area and saved. After that, the stack pointer SP is set for the non-game program by setting a predetermined address of the non-game stack area (the address stored at the end of the previous non-game program) as the value of the stack pointer SP. Then, the values of all the registers included in the main control unit 41 are stored in the non-game stack area in a predetermined order to be saved.

その後、メダル投入信号状態遷移データが正常であるか否かを判定する。そして、メダル投入信号状態遷移データが正常である場合には、メダルが投入メダルセンサ31a〜31cの検出範囲を正常に通過した旨を示すメダル通過状態参照データ(正常通過)またはメダルが投入メダルセンサ31a〜31cの検出範囲を通過し始めたことを検知した旨を示すメダル通過状態参照データ(メダル検知)、投入メダルセンサ31a〜31cの検出範囲でのメダルの通過状態が前回の判定時から変化していない旨を示すメダル通過状態参照データ(変化なし)をRAM41cの非遊技RAM領域の所定領域に設定する。その後、投入メダルセンサ31a〜31cの入力データに基づいてメダル投入信号状態遷移データを更新する。一方、メダル投入信号状態遷移データに異常がある場合には、メダル投入信号に関する異常が検出された旨を示すエラーコード(E5)を特定可能なメダル関連エラーデータを非遊技RAM領域の所定領域に設定する等の処理を行う。また、メダルが投入メダルセンサ31a〜31cの検出範囲を通過し始めたことを検知することで、非遊技RAM領域に設定されているメダル通過時間タイマによる計時を新たに開始させるように設定し、メダルが投入メダルセンサ31a〜31cの検出範囲を正常に通過したことを検知することで、メダル通過時間タイマによる計時を終了させるように設定する。 After that, it is determined whether or not the medal insertion signal state transition data is normal. Then, when the medal insertion signal state transition data is normal, the medal passing state reference data (normal passage) indicating that the medal has normally passed the detection range of the insertion medal sensors 31a to 31c or the medal is the insertion medal sensor. The medal passing state reference data (medal detection) indicating that it has detected that it has started to pass through the detection range of 31a to 31c, and the passing state of medals in the detection range of the inserted medal sensors 31a to 31c have changed from the previous judgment. The medal passing state reference data (no change) indicating that the medal has not been passed is set in a predetermined area of the non-gaming RAM area of the RAM 41c. After that, the medal insertion signal state transition data is updated based on the input data of the insertion medal sensors 31a to 31c. On the other hand, when there is an abnormality in the medal insertion signal state transition data, the medal-related error data that can identify the error code (E5) indicating that the abnormality related to the medal insertion signal has been detected is placed in a predetermined area of the non-game RAM area. Perform processing such as setting. Further, by detecting that the medal has started to pass through the detection range of the inserted medal sensors 31a to 31c, it is set to newly start the time counting by the medal passing time timer set in the non-game RAM area. By detecting that the medal has normally passed the detection range of the inserted medal sensors 31a to 31c, the time counting by the medal passing time timer is set to end.

そして、メダルセンサ処理を開始した際に退避させていたレジスタの値を非遊技スタック領域から順次読み出して、メダルセンサ処理を開始したときの状態にすべてのレジスタを復帰させる。その後、メダルセンサ処理を開始した際に非遊技RAM領域の所定領域に退避させたスタックポインタSPの値を、スタックポインタSPに設定することで、メダルセンサ処理を開始したときの状態にスタックポインタSPを復帰させて、メダルセンサ処理を終了させる。 Then, the values of the registers saved when the medal sensor processing is started are sequentially read from the non-game stack area, and all the registers are restored to the state when the medal sensor processing is started. After that, by setting the value of the stack pointer SP saved in the predetermined area of the non-game RAM area when the medal sensor processing is started to the stack pointer SP, the stack pointer SP is set to the state when the medal sensor processing is started. Is restored to end the medal sensor processing.

Sh11のステップにおいてレジスタを復帰させた後には、非遊技RAM領域の所定領域を参照してメダル関連エラーデータを所定のレジスタに読み込み(Sh12)、エラーコード(E5)が設定されているか否かを判定する(Sh13)。そして、エラーコード(E5)が設定されている場合すなわちメダル関連エラーデータが所定のレジスタに読み込まれて、エラーコード(E5)が所定のレジスタに準備されている場合には、エラー処理を行って(Sh14)、遊技の進行を不能化するエラー状態に制御する。 After returning the register in the step of Sh11, the medal-related error data is read into the predetermined register (Sh12) with reference to the predetermined area of the non-game RAM area, and whether or not the error code (E5) is set is determined. Judgment (Sh13). Then, when the error code (E5) is set, that is, when the medal-related error data is read into the predetermined register and the error code (E5) is prepared in the predetermined register, error processing is performed. (Sh14), control is performed in an error state that disables the progress of the game.

エラー処理では、遊技の進行が不能化されるエラー状態に制御する。また、所定のレジスタに準備されているエラーコード(E5)を特定可能なエラーコマンドをサブ制御部91に対して送信し、当該エラーコード(E5)をRAM41cの所定領域にその他の処理でも参照可能なエラーフラグとして設定する。また、当該エラーコード(E5)を遊技補助表示器12に表示させるように制御する。その後は、所定のレジスタに準備されているエラーコード(E5)に応じたエラー状態の解除条件が成立したことが特定されるまでエラー状態の制御を行う。エラーコード(E5)が所定のレジスタに準備されてエラー状態に移行された場合には、エラー状態の解除条件として、投入メダルセンサ31a〜31cの検出状態がOFF状態であり、かつリセット/設定スイッチ38またはリセットスイッチ23がON状態となったことが成立するまで、遊技を進行させる制御を行わずに待機する。そして、当該解除条件が成立することで、エラー解除フラグをRAM41cの所定領域に設定するとともに、エラー状態を解除する旨を示すエラーコマンド(解除)をサブ制御部91に対して送信し、エラー処理を終了させてメダル投入信号処理に戻る。 In error processing, control is performed in an error state in which the progress of the game is disabled. Further, an error command capable of identifying the error code (E5) prepared in the predetermined register is transmitted to the sub-control unit 91, and the error code (E5) can be referred to the predetermined area of the RAM 41c in other processing. Set as an error flag. Further, the error code (E5) is controlled to be displayed on the game auxiliary display 12. After that, the error state is controlled until it is specified that the error state release condition corresponding to the error code (E5) prepared in the predetermined register is satisfied. When the error code (E5) is prepared in a predetermined register and the state shifts to the error state, the detection state of the inserted medal sensors 31a to 31c is the OFF state and the reset / setting switch is used as a condition for canceling the error state. Until it is established that the 38 or the reset switch 23 is in the ON state, the player waits without controlling the progress of the game. Then, when the release condition is satisfied, the error release flag is set in the predetermined area of the RAM 41c, and an error command (release) indicating that the error state is released is transmitted to the sub-control unit 91 to perform error processing. Is terminated and the process returns to the medal insertion signal processing.

Sh13のステップにおいてメダル関連エラーデータとしてエラーコード(E5)が設定されていないと判定した場合、及びSh14のステップのエラー処理が終了した後は、RAM41cの非遊技RAM領域の所定領域に設定されているメダル通過状態参照データを参照して(Sh15)、メダル通過状態参照データの内容を判定する(Sh16、Sh17)。 When it is determined that the error code (E5) is not set as the medal-related error data in the step of Sh13, and after the error processing of the step of Sh14 is completed, the error code (E5) is set in a predetermined area of the non-gaming RAM area of the RAM 41c. The contents of the medal passing state reference data are determined by referring to the medal passing state reference data (Sh15) (Sh16, Sh17).

Sh16のステップにおいて、メダル通過状態参照データ(変化なし)が設定されていると判定した場合は、メダル投入信号処理を終了して遊技開始待ち処理に戻る。一方、Sh16のステップにおいて、メダル通過状態参照データ(変化なし)が設定されていないと判定し、Sh17のステップにおいて、メダル通過状態参照データ(メダル検知)が設定されていると判定した場合は、Sh18のステップに進み、Sh17のステップにおいて、メダル通過状態参照データ(正常通過)が設定されており、メダル通過状態参照データ(メダル検知)が設定されていないと判定した場合には、Sh21のステップへ進む。 If it is determined in the step of Sh16 that the medal passing state reference data (no change) is set, the medal insertion signal processing is terminated and the process returns to the game start waiting process. On the other hand, if it is determined that the medal passing state reference data (no change) is not set in the Sh16 step, and it is determined that the medal passing state reference data (medal detection) is set in the Sh17 step, it is determined. If it is determined that the medal passing state reference data (normal passing) is set and the medal passing state reference data (medal detection) is not set in the step of Sh18, the step of Sh21 is performed. Proceed to.

Sh17のステップにおいてメダル通過状態参照データ(メダル通過)が設定されていると判定した場合には、投入状況判定処理を行って(Sh18)、上述の投入状況判定用値を所定のレジスタに取得し、当該所定のレジスタに設定されている投入状況判定用値に基づいて最終メダルの受付時であるか否かを判定する(Sh19)。 When it is determined that the medal passing state reference data (medal passing) is set in the step of Sh17, the insertion status determination process is performed (Sh18), and the above-mentioned insertion status determination value is acquired in a predetermined register. , It is determined whether or not the final medal is being accepted based on the insertion status determination value set in the predetermined register (Sh19).

具体的には、投入状況判定用値が0である場合には、最終メダルの受付時であり、メダルの投入が可能でないと判定し、投入状況判定用値が0でない場合には、最終メダルの受付時でなく、メダルの投入が可能であると判定する。投入状況判定用値が0であるときには、上述のように、スロットマシン1に投入されている遊技者所有のメダル枚数が、スロットマシン1に投入可能な最大メダル枚数よりも1少ない状況であり、メダル投入部4よりメダルがあと1枚正常に投入されることで、スロットマシン1に投入されている遊技者所有のメダル枚数がスロットマシン1に投入可能な最大メダル枚数に達する状況である。また、Sh17のステップにおいて参照されるメダル通過状態参照データ(メダル検知)は、メダル投入部4から投入されたメダルが投入メダルセンサ31a〜31cの検出範囲を通過し始めたことが検知されたときにメダルセンサ処理により設定されるようになっており、当該メダルは、検出範囲を正常に通過し終えることで、賭数またはクレジットに加算されるメダルとして受け付けられることとなる。よって、メダル通過状態参照データ(メダル検知)が設定されており、かつ投入状況判定用値が0であるときに、賭数及びクレジットに加算可能な最終メダルの受付時であると判定する。また、最終メダルの受付時には、投入メダルセンサ31a〜31cの検出範囲を通過しているメダルが賭数またはクレジットに加算されることで、賭数及びクレジットが最大値に達することとなり、以後、メダル投入部4よりメダルが投入されても賭数及びクレジットに加算することができず、スロットマシン1へメダルを投入できなくなる。 Specifically, when the insertion status determination value is 0, it is determined that the final medal is not inserted, and when the insertion status determination value is not 0, the final medal is received. It is judged that medals can be inserted, not at the time of reception. When the insertion status determination value is 0, as described above, the number of medals owned by the player inserted in the slot machine 1 is one less than the maximum number of medals that can be inserted into the slot machine 1. When one more medal is normally inserted from the medal insertion unit 4, the number of medals owned by the player that has been inserted into the slot machine 1 reaches the maximum number of medals that can be inserted into the slot machine 1. Further, the medal passing state reference data (medal detection) referred to in the step of Sh17 is when it is detected that the medals inserted from the medal insertion unit 4 have started to pass through the detection range of the insertion medal sensors 31a to 31c. The medal is set by the medal sensor processing, and the medal is accepted as a medal to be added to the number of bets or credits when the medal has normally passed through the detection range. Therefore, when the medal passing state reference data (medal detection) is set and the insertion status determination value is 0, it is determined that the final medal that can be added to the bet number and the credit is accepted. In addition, when the final medal is accepted, the number of medals and medals that have passed the detection range of the inserted medal sensors 31a to 31c are added to the number of bets or credits, so that the number of bets and credits reach the maximum value. Even if a medal is inserted from the insertion unit 4, it cannot be added to the number of bets and credits, and the medal cannot be inserted into the slot machine 1.

Sh19のステップにおいて、最終メダルの受付時であると判定した場合には、メダルブロッカオフ処理を行って(Sh20)、後述するように流路切替ソレノイド30をOFF状態に設定することで、メダル投入部4から投入されたメダルの流路をホッパータンク側からメダル払出口9側に切り替えて、投入メダルセンサ31cにより検出されているメダルより後にメダル投入部4に投入されたメダルを、メダル返却流路29cを介してメダル払出口9から返却するように制御する。 In the step of Sh19, when it is determined that the final medal is being accepted, the medal blocker is turned off (Sh20), and the flow path switching solenoid 30 is set to the OFF state as described later to insert medals. The flow path of the medals inserted from the section 4 is switched from the hopper tank side to the medal payout outlet 9 side, and the medals inserted into the medal insertion section 4 after the medals detected by the insertion medal sensor 31c are returned. It is controlled to return the medal from the medal payout exit 9 via the road 29c.

また、メダルブロッカオフ処理では、流路切替ソレノイド30をOFF状態に設定した後、遊技RAM領域に設定されているメダル投入信号状態遷移データを参照して、投入メダルセンサ31a〜31cの検出範囲をメダルが通過中か否かを判定し、当該検出範囲をメダルが通過中である場合には、上述のメダル投入信号無視タイマに所定時間(本実施例では、504ミリ秒に対応する値)を設定して、メダル投入信号無視タイマによる所定時間の計時を開始させる。これにより、メダルブロッカオフ処理の終了後から所定時間にわたり後述のセンサ監視処理において、メダル投入信号の状態にかかわらず、メダル投入信号の異常が判定されてセンサエラー参照データが設定されるようなことがないようになっている。 Further, in the medal blocker off processing, after the flow path switching solenoid 30 is set to the OFF state, the detection range of the inserted medal sensors 31a to 31c is determined by referring to the medal insertion signal state transition data set in the game RAM area. It is determined whether or not the medal is passing, and if the medal is passing through the detection range, a predetermined time (in this embodiment, a value corresponding to 504 milliseconds) is set in the above-mentioned medal insertion signal ignore timer. Set and start the time counting of the predetermined time by the medal insertion signal ignore timer. As a result, in the sensor monitoring process described later for a predetermined time after the end of the medal blocker off process, an abnormality of the medal insertion signal is determined and sensor error reference data is set regardless of the state of the medal insertion signal. There is no such thing.

Sh20のステップにおいてメダルブロッカオフ処理を行った後は、メダル投入信号処理を終了させて遊技開始待ち処理に戻る。一方、最終受付フラグに基づいて、次に受け付けるメダルがクレジットに加算可能な最終メダルでないと判定される場合には、メダルブロッカオフ処理を行わずにメダル投入信号処理を終了させて遊技開始待ち処理に戻る。 After performing the medal blocker off processing in the step of Sh20, the medal insertion signal processing is terminated and the process returns to the game start waiting processing. On the other hand, if it is determined based on the final reception flag that the next medal to be accepted is not the final medal that can be added to the credit, the medal insertion signal processing is terminated without performing the medal blocker off processing, and the game start waiting processing is performed. Return to.

Sh17のステップにおいてメダル通過状態参照データ(正常通過)が設定されており、メダル通過状態参照データ(メダル検知)が設定されていないと判定した場合には、ポート入力バッファの所定領域を参照して、投入メダルセンサ31bの確定データを取得し(Sh21)、当該確定データがON状態であるか否かを判定する(Sh22)。そして、投入メダルセンサ31bの確定データがON状態であると判定した場合は、ポート入力バッファの所定領域を参照して、投入メダルセンサ31cの入力データを取得し(Sh23)、当該入力データがOFF状態であるか否かを判定する(Sh24)。 When it is determined that the medal passing state reference data (normal passing) is set in the step of Sh17 and the medal passing state reference data ( medal detection ) is not set, the predetermined area of the port input buffer is referred to. , The confirmed data of the inserted medal sensor 31b is acquired (Sh21), and it is determined whether or not the confirmed data is in the ON state (Sh22). Then, when it is determined that the confirmed data of the inserted medal sensor 31b is in the ON state, the input data of the inserted medal sensor 31c is acquired by referring to the predetermined area of the port input buffer (Sh23), and the input data is turned OFF. It is determined whether or not it is in a state (Sh24).

Sh19のステップにおいて投入メダルセンサ31bの確定データがON状態でないと判定した場合、及び、投入メダルセンサ31bの確定データがON状態であり、かつ、Sh20のステップにおいて当該投入メダルセンサ31bの入力データがOFF状態でないと判定した場合、すなわちメダル受入流路29bをメダルが通過中である場合または当該メダル受入流路29bにメダルがない場合には、メダル投入信号処理を終了させる。一方、Sh22のステップにおいて投入メダルセンサ31bの確定データがON状態であると判定し、かつ、Sh24のステップにおいて当該投入メダルセンサ31bの入力データがOFF状態である判定した場合、すなわちメダル受入流路29bにおいて投入メダルセンサ31cがメダルを検出可能な検出位置をメダルが通過し終えたときである場合には、メダル投入処理を行う(Sh25)。 When it is determined that the confirmed data of the inserted medal sensor 31b is not in the ON state in the step of Sh19, and the confirmed data of the inserted medal sensor 31b is in the ON state, and the input data of the inserted medal sensor 31b is in the Sh20 step. When it is determined that the state is not OFF, that is, when a medal is passing through the medal receiving flow path 29b or when there is no medal in the medal receiving flow path 29b, the medal insertion signal processing is terminated. On the other hand, when it is determined in the step of Sh22 that the confirmed data of the inserted medal sensor 31b is in the ON state, and in the step of Sh24, it is determined that the input data of the inserted medal sensor 31b is in the OFF state, that is, the medal acceptance flow path. When the medal has passed the detection position where the inserted medal sensor 31c can detect the medal in 29b, the medal insertion process is performed (Sh25).

メダル投入処理では、RAM41cの所定領域に記憶されている現在設定されている賭数を参照して、最大投入枚数(規定数)まで賭数にメダルが投入されているか否かを判定する。そして、最大投入枚数(規定数)の賭数が設定されていない場合には、現在の賭数に1加算して賭数を更新する処理を行い、既に、最大投入枚数(規定数)の賭数が設定されている場合には、クレジットカウンタの値に1加算してクレジットを更新する処理を行う。 In the medal insertion process, it is determined whether or not medals have been inserted into the bet number up to the maximum number of bets (specified number) by referring to the currently set bet number stored in the predetermined area of the RAM 41c. Then, when the maximum number of bets (specified number) is not set, the process of adding 1 to the current number of bets to update the number of bets is performed, and the maximum number of bets (specified number) has already been bet. If the number is set, the process of updating the credit by adding 1 to the value of the credit counter is performed.

Sh25のステップにおいてメダル投入処理を行った後は、メダル手入れ許可設定処理を行って(Sh26)、現在設定されている賭数の値及び現在のクレジットの値等に基づいて、遊技者等によりメダル投入部4から新たに投入されるメダルを賭数またはクレジットに加算することができる状況である場合に、メダル投入部4からのメダルの投入を許可する旨を示すメダル手入れ許可フラグ(許可)をRAM41cの所定領域に設定する。 After the medal insertion process is performed in the step of Sh25, the medal care permission setting process is performed (Sh26), and the medal is awarded by the player or the like based on the currently set bet number value and the current credit value. When the medal newly inserted from the insertion unit 4 can be added to the number of bets or credits, a medal care permission flag (permission) indicating that the medal insertion from the medal insertion unit 4 is permitted is set. It is set in a predetermined area of the RAM 41c.

Sh26のステップにおいてメダル手入れ許可設定処理を行った後、メダル手入れ許可フラグ(許可)が設定されていない場合は、メダル投入信号無視タイマに予め定められた所定値(本実施例では、504ミリ秒に対応する値)を設定してメダル投入信号無視タイマによる所定時間の計時を開始させた後(Sh28)、メダル投入信号処理を終了させる。一方、メダル手入れ許可フラグ(許可)が設定されている場合は、メダル投入信号無視タイマの設定を行わずに、メダル投入信号処理を終了させる。尚、メダル投入信号無視タイマは、Sh28のステップにおいて所定値(本実施例では、504ミリ秒に対応する値)が設定された後、所定時間毎に減算されて、予め定められた所定時間(本実施例では4.1秒)が経過したときに、0となるようになっておりメダル投入信号無視タイマが0か否かに基づいて所定時間が経過したか否かを判定できるようになっている。 If the medal care permission flag (permission) is not set after the medal care permission setting process is performed in the step of Sh26, a predetermined value (504 milliseconds in this embodiment) predetermined in the medal insertion signal ignore timer is set. (Value corresponding to) is set to start the time counting of a predetermined time by the medal insertion signal ignore timer (Sh28), and then the medal insertion signal processing is terminated. On the other hand, when the medal care permission flag (permission) is set, the medal insertion signal processing is terminated without setting the medal insertion signal ignore timer. The medal insertion signal ignore timer is decremented at predetermined time intervals after a predetermined value (value corresponding to 504 milliseconds in this embodiment) is set in the Sh28 step, and the predetermined time (predetermined time) ( In this embodiment, it becomes 0 when 4.1 seconds) elapses, and it is possible to determine whether or not a predetermined time has elapsed based on whether or not the medal insertion signal ignore timer is 0 or not. ing.

[メダルセンサ処理でのメダル投入信号遷移状態の判定について]
図12に示すように、非遊技プログラムに含まれるメダルセンサ処理におけるメダル投入信号状態遷移が正しいか否かの判定では、投入メダルセンサ1〜3(投入メダルセンサ31a〜31c)により当該投入メダルセンサ1〜3の検出範囲をメダルが通過し始めたことが検出される際には、投入メダルセンサ1(投入メダルセンサ31a)がOFF状態からON状態となった後、投入メダルセンサ2(投入メダルセンサ31b)がOFF状態からON状態となり、その後、投入メダルセンサ3(投入メダルセンサ31b)がOFF状態からON状態となる遷移が、メダル投入信号遷移状態データに基づいて特定される場合に、メダル投入信号状態遷移が正しいと判定されるようになっている。
[Determination of medal insertion signal transition state in medal sensor processing]
As shown in FIG. 12, in determining whether or not the medal insertion signal state transition in the medal sensor processing included in the non-game program is correct, the insertion medal sensors 1 to 3 (insertion medal sensors 31a to 31c) are used to determine whether or not the insertion medal signal state transition is correct. When it is detected that the medals have begun to pass through the detection ranges 1 to 3, the insertion medal sensor 1 (insertion medal sensor 31a) is changed from the OFF state to the ON state, and then the insertion medal sensor 2 (insertion medal) A medal when the transition from the OFF state to the ON state of the sensor 31b) and then from the OFF state to the ON state of the insertion medal sensor 3 (insertion medal sensor 31b) is specified based on the medal insertion signal transition state data. The input signal state transition is determined to be correct.

また、投入メダルセンサ1〜3により当該投入メダルセンサ1〜3の検出範囲をメダルが通過したことが検出される際には、投入メダルセンサ1がON状態からOFF状態となった後、投入メダルセンサ2がON状態からOFF状態となり、その後、投入メダルセンサ3がON状態からOFF状態となる遷移が、メダル投入信号遷移状態データに基づいて特定される場合、及び投入メダルセンサ1がON状態からOFF状態となった後、投入メダルセンサ3がON状態からOFF状態となり、その後、投入メダルセンサ2がON状態からOFF状態となる遷移が、メダル投入信号遷移状態データに基づいて特定される場合に、メダル投入信号状態遷移が正しいと判定されるようになっている。 Further, when it is detected by the insertion medal sensors 1 to 3 that the medal has passed through the detection range of the insertion medal sensors 1 to 3, the insertion medal sensor 1 is changed from the ON state to the OFF state, and then the insertion medal is inserted. When the transition from the ON state to the OFF state of the sensor 2 and then from the ON state to the OFF state of the insertion medal sensor 3 is specified based on the medal insertion signal transition state data, and when the insertion medal sensor 1 is from the ON state. When the transition from the ON state to the OFF state of the inserted medal sensor 3 and then from the ON state to the OFF state of the inserted medal sensor 2 is specified based on the medal insertion signal transition state data. , The medal insertion signal state transition is determined to be correct.

そして、メダルセンサ処理では、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ1〜3のいずれかがON状態であると判定されることで、メダル通過状態参照データ(検知)が設定されることとなる。すなわち、投入メダルセンサ1〜3のうち投入メダルセンサ1が最初にOFF状態からON状態に変化する場合に、メダル投入信号遷移状態データが正しいと判定されるので、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ1がON状態となったときに、メダル通過状態参照データ(検知)が設定されることとなる。 Then, in the medal sensor processing, it is determined that the medal insertion signal transition state data is correct, and it is determined that any of the insertion medal sensors 1 to 3 is in the ON state, so that the medal passing state reference data (detection) ) Will be set. That is, when the inserted medal sensor 1 of the inserted medal sensors 1 to 3 first changes from the OFF state to the ON state, it is determined that the medal insertion signal transition state data is correct, so that the medal insertion signal transition state data is correct. The medal passing state reference data (detection) is set when the inserted medal sensor 1 is turned on.

また、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ1〜3のすべてがON状態であると判定されることで、メダル通過状態参照データ(正常通過)が設定されることとなる。すなわち、投入メダルセンサ1〜3のうち投入メダルセンサ2が最後にON状態からOFF状態に変化する場合、及び投入メダルセンサ3が最後にON状態からOFF状態に変化する場合に、メダル投入信号遷移状態データが正しいと判定されるので、メダル投入信号遷移状態データが正しいと判定されており、かつ投入メダルセンサ2及び3がOFF状態となったときに、メダル通過状態参照データ(正常通過)が設定されることとなる。 Further, the medal passing state reference data (normal passing) is set by determining that the medal insertion signal transition state data is correct and that all of the insertion medal sensors 1 to 3 are in the ON state. It will be. That is, the medal insertion signal transition occurs when the insertion medal sensor 2 of the insertion medal sensors 1 to 3 finally changes from the ON state to the OFF state, and when the insertion medal sensor 3 finally changes from the ON state to the OFF state. Since it is determined that the state data is correct, when the medal insertion signal transition state data is determined to be correct and the insertion medal sensors 2 and 3 are in the OFF state, the medal passing state reference data (normal passage) is displayed. It will be set.

遊技プログラムに含まれる上述のメダル投入信号処理では、Sh16及びSh17のステップによりメダル通過状態参照データ(正常通過)が設定されていると判定した後に、Sh21〜Sh24のステップにより投入メダルセンサ1〜3の入力データがON状態からOFF状態となったことが特定される場合に、その後のメダル投入処理等に進むようになっている。すなわち、メダルセンサチェック処理によりメダル通過状態参照データ(正常通過)が設定された際に、投入メダルセンサ2または3のON状態からOFF状態への立下りが検出されることで、正常なメダルの投入が検出されるようになっている。 In the above-mentioned medal insertion signal processing included in the game program, after determining that the medal passing state reference data (normal passage) is set by the steps of Sh16 and Sh17, the inserted medal sensors 1 to 3 are performed by the steps of Sh21 to Sh24. When it is specified that the input data of the above is changed from the ON state to the OFF state, the process proceeds to the subsequent medal insertion process or the like. That is, when the medal passing state reference data (normal passing) is set by the medal sensor check process, the falling of the inserted medal sensor 2 or 3 from the ON state to the OFF state is detected, so that the normal medal Input is detected.

[メダルブロッカオフ処理について]
次に、本実施例のメイン制御部41がメダル投入信号処理から呼び出して行うメダルブロッカオフ処理の制御内容について、図13に基づいて説明する。尚、メダルブロッカオフ処理は、遊技プログラムに含まれており、遊技プログラムに含まれるメダル投入信号処理等において呼び出されるサブルーチンである。
[About medal blocker off processing]
Next, the control content of the medal blocker off processing, which is called from the medal insertion signal processing by the main control unit 41 of the present embodiment, will be described with reference to FIG. The medal blocker off process is included in the game program and is a subroutine called in the medal insertion signal processing or the like included in the game program.

図13に示すように、メダルブロッカオフ処理では、RAM41cの所定領域に設定されている出力バッファのうち流路切替ソレノイド30に対して制御信号を出力させる出力ポートに対応する所定の出力バッファを参照して、流路切替ソレノイド30の出力状態(ON状態またはOFF状態)を取得した後(Si1)、流路切替ソレノイド30の出力状態をOFF状態に制御するように該当する出力バッファの値を設定する(Si2)。流路切替ソレノイド30の出力状態をOFF状態に制御することで、メダル投入部4から投入されたメダルの流路がホッパータンク側からメダル払出口9側に切り替えられることとなる。 As shown in FIG. 13, in the medal blocker off process, among the output buffers set in the predetermined area of the RAM 41c, refer to the predetermined output buffer corresponding to the output port for outputting the control signal to the flow path switching solenoid 30. Then, after acquiring the output state (ON state or OFF state) of the flow path switching solenoid 30 (Si1), the value of the corresponding output buffer is set so as to control the output state of the flow path switching solenoid 30 to the OFF state. (Si2). By controlling the output state of the flow path switching solenoid 30 to the OFF state, the flow path of the medals inserted from the medal insertion unit 4 can be switched from the hopper tank side to the medal payout outlet 9.

そして、BETスイッチ有効LED21をOFF状態(非点灯状態)に制御するように、BETスイッチ有効LED21に対して制御信号を出力する出力ポートに対応する所定の出力バッファの値を設定する(Si3)。また、投入要求LED17をOFF状態(非点灯状態)に制御するように、投入要求LED17に対して制御信号を出力する出力ポートに対応する所定の出力バッファの値を設定する(Si4)。 Then, the value of the predetermined output buffer corresponding to the output port that outputs the control signal to the BET switch effective LED 21 is set so as to control the BET switch effective LED 21 to the OFF state (non-lighting state) (Si3). Further, a predetermined output buffer value corresponding to the output port for outputting the control signal to the ON request LED 17 is set so as to control the ON request LED 17 to the OFF state (non-lighting state) (Si4).

その後、Si1のステップにおいて取得した流路切替ソレノイド30の出力状態がOFF状態であったか否かを判定する(Si5)。Si5のステップにおいて流路切替ソレノイド30の出力状態がOFF状態でなかったと判定した場合は、RAM41cの所定領域に設定されているメダル投入信号状態遷移データを参照して(Si6)、当該メダル投入信号状態遷移データに基づいて、メダルセレクタ29における投入メダルセンサ31a〜31cの検出範囲を、メダル投入部4から投入されたメダルが通過中であるか否かを判定する(Si7)。そして、Si7のステップにおいて、メダルが通過中でないと判定した場合は、メダル投入信号無視タイマに上述の所定時間(本実施例では、504ミリ秒)を設定して、切替時間の計時を開始させる。上述のように、切替時間の計時中には所定処理においてメダル投入信号を無視するように制御することとなる。 After that, it is determined whether or not the output state of the flow path switching solenoid 30 acquired in the step of Si1 is the OFF state (Si5). When it is determined in the step of Si5 that the output state of the flow path switching solenoid 30 is not in the OFF state, the medal insertion signal is referred to the medal insertion signal state transition data set in the predetermined area of the RAM 41c (Si6). Based on the state transition data, it is determined whether or not the medal inserted from the medal insertion unit 4 is passing through the detection range of the inserted medal sensors 31a to 31c in the medal selector 29 (Si7). Then, in the step of Si7, when it is determined that the medal is not passing, the above-mentioned predetermined time (504 milliseconds in this embodiment) is set in the medal insertion signal ignoring timer, and the timing of the switching time is started. .. As described above, during the timing of the switching time, the medal insertion signal is controlled to be ignored in the predetermined process.

Si5のステップにおいて流路切替ソレノイド30の出力状態がOFF状態であったと判定した場合、及びSi7のステップにおいてメダルが通過中であると判定した場合、Si8のステップにおいてメダル投入信号無視タイマに所定時間を設定した後は、メダルブロッカオフ処理を終了させて呼び出し元の処理(例えば、メダル投入信号処理等)に戻る。 When it is determined that the output state of the flow path switching solenoid 30 is in the OFF state in the step of Si5, or when it is determined that the medal is passing in the step of Si7, the medal insertion signal ignore timer is set for a predetermined time in the step of Si8. After setting, the medal blocker off processing is terminated and the process returns to the caller's processing (for example, medal insertion signal processing, etc.).

[メダル投入処理について]
次に、本実施例のメイン制御部41がメダル投入信号処理から呼び出して行うメダル投入処理の制御内容について、図14に基づいて説明する。尚、メダル投入処理は、遊技プログラムに含まれており、遊技プログラムに含まれるメダル投入信号処理等において呼び出されるサブルーチンである。
[About medal insertion process]
Next, the control content of the medal insertion process called from the medal insertion signal processing by the main control unit 41 of the present embodiment will be described with reference to FIG. The medal insertion process is included in the game program and is a subroutine called in the medal insertion signal processing or the like included in the game program.

図14に示すように、メダル投入処理では、まず、上述の最大投入枚数セット処理を行って(Sj1)、遊技状態に応じて賭数に投入可能なメダル枚数の最大値(最大投入枚数)を所定のレジスタに取得する。また、RAM41cの所定領域を参照して現在賭数として設定されているメダル枚数(投入済み枚数)を取得する(Sj2)。そして、賭数またはクレジットに加算するメダル枚数(以下、投入枚数と呼ぶ場合がある。)として1を所定のレジスタに設定する(Sj3)。 As shown in FIG. 14, in the medal insertion process, first, the above-mentioned maximum insertion number setting process is performed (Sj1), and the maximum value (maximum insertion number) of the number of medals that can be inserted into the bet number according to the gaming state is determined. Get to a given register. Further, the number of medals (the number of inserted medals) currently set as the number of bets is acquired by referring to the predetermined area of the RAM 41c (Sj2). Then, 1 is set in a predetermined register as the number of medals to be added to the number of bets or credits (hereinafter, may be referred to as the number of inserted medals) (Sj3).

その後、Sj2のステップにおいて取得した投入済み枚数の値が、Sj1のステップにおいて取得した最大投入枚数の値未満であるか否かを判定する(Sj4)。
Sj4のステップにおいて投入済み枚数の値が最大投入枚数の値未満でないと判定した場合、すなわち現在設定されている賭数が最大投入枚数(規定数)に達している場合には、クレジットに投入枚数(1)を加算し(Sj5)、クレジットに加算したメダル枚数(1枚)を特定可能なクレジット加算コマンドを送信するための所定データを所定のレジスタに設定した後(Sj6)、メダル投入時処理を行う(Sj7)。一方、Sj4のステップにおいて投入済み枚数の値が最大投入枚数の値未満であると判定した場合、すなわち現在設定されている賭数が最大投入枚数(規定数)未満であり、賭数にメダルを加算可能である場合には、所定のレジスタに投入枚数の値(1)が設定されている状態で、メダル投入実行処理を行って(Sj8)、当該投入枚数(1枚)を賭数に加算した後、メダル投入時処理を行う(Sj7)。メダル投入実行処理では、当該メダル投入実行処理の終了時に、新たに賭数に投入したメダル枚数(1枚)を特定可能な投入枚数コマンドを送信するための所定データが所定のレジスタに設定される。
After that, it is determined whether or not the value of the number of inserted sheets acquired in the step of Sj2 is less than the value of the maximum number of inserted sheets acquired in the step of Sj1 (Sj4).
If it is determined in the step of Sj4 that the value of the number of inserted sheets is not less than the value of the maximum number of inserted sheets, that is, if the currently set number of bets has reached the maximum number of inserted sheets (specified number), the number of inserted sheets in the credit After adding (1) (Sj5) and setting predetermined data for transmitting a credit addition command capable of specifying the number of medals added to credits (1) in a predetermined register (Sj6), processing at the time of inserting medals. (Sj7). On the other hand, when it is determined in the step of Sj4 that the value of the number of inserted sheets is less than the value of the maximum number of inserted sheets, that is, the currently set number of bets is less than the maximum number of inserted sheets (specified number), and a medal is added to the number of bets. If it is possible to add, the medal insertion execution process is performed (Sj8) with the value (1) of the number of inserted sheets set in the predetermined register, and the number of inserted sheets (1 sheet) is added to the number of bets. After that, processing at the time of inserting medals is performed (Sj7). In the medal insertion execution process, at the end of the medal insertion execution process, predetermined data for transmitting a command for the number of inserted medals (1) that can specify the number of medals newly inserted in the bet number is set in a predetermined register. ..

Sj7のステップにおけるメダル投入時処理では、当該メダル投入時処理の開始時に所定のレジスタに設定されている所定データに基づいてクレジット加算コマンドまたは投入枚数コマンドをサブ制御部91に対して送信する処理を行った後、RAM41cの所定領域に設定されている新たな投入済み枚数に応じて該当する1〜3BETLED14〜16をON状態(点灯状態)またはOFF状態(消灯状態)に制御する処理、及び新たなクレジットの値に応じた表示態様にクレジット表示器11の表示態様を更新する処理を行う。そして、メダル投入時処理を終了させてメダル投入実行処理に戻る。 In the medal insertion time processing in the step of Sj7, a process of transmitting a credit addition command or a insertion number number command to the sub control unit 91 based on the predetermined data set in the predetermined register at the start of the medal insertion time processing is performed. After that, a process of controlling the corresponding 1 to 3 BETLEDs 14 to 16 to an ON state (lighting state) or an OFF state (lighting state) according to the new number of inserted sheets set in the predetermined area of the RAM 41c, and a new process. The process of updating the display mode of the credit display 11 to the display mode according to the value of the credit is performed. Then, the process at the time of inserting the medal is terminated, and the process returns to the execution process of inserting the medal.

Sj7のステップにおいてメダル投入時処理を行った後は、メダル投入処理を終了して、呼び出し元の処理(例えば、メダル投入信号処理等)に戻る。 After performing the medal insertion processing in the step of Sj7, the medal insertion processing is ended, and the process returns to the caller's processing (for example, medal insertion signal processing, etc.).

[操作入力受付処理について]
次に、本実施例のメイン制御部41が遊技開始待ち処理から呼び出して行う操作入力受付処理の制御内容について、図15〜図17に基づいて説明する。尚、操作入力受付処理は、遊技プログラムに含まれており、遊技プログラムに含まれる遊技開始待ち処理等において呼び出されるサブルーチンである。
[About operation input reception processing]
Next, the control contents of the operation input reception process called from the game start waiting process by the main control unit 41 of the present embodiment will be described with reference to FIGS. 15 to 17. The operation input reception process is a subroutine that is included in the game program and is called in the game start waiting process or the like included in the game program.

図15に示すように、操作入力受付処理では、まず、RAM41cの所定領域に記憶され、各スイッチについて操作受付けに関する状態(有効または無効)を特定可能な入力受付有効状態判定用データを初期化して、すべてのスイッチについて操作受付けが有効でない旨が特定される状態とする。入力受付有効状態判定用データは、複数ビットで構成されるデータであり、各ビットの値は、該当するスイッチの操作受付けに関する状態に対応しており、該当するスイッチの受付有効フラグまたは受付無効フラグとなる。後述するように一のスイッチについて操作受付けが有効な状況であるときには、当該スイッチの操作受付が有効である旨を示す有効値(例えば、1)が当該スイッチに対応する所定ビットに設定され、一のスイッチについて操作受付けが有効でない状況であるときには、当該スイッチの操作受付が有効でない旨を示す無効値(例えば、0)が当該スイッチに対応する所定ビットに設定されるようになっている。入力受付有効状態判定用データを初期化する際には、当該入力受付有効状態判定用データの全てのビットの値を無効値に設定するようになっている。 As shown in FIG. 15, in the operation input reception process, first, the input reception valid state determination data stored in the predetermined area of the RAM 41c and capable of specifying the state (valid or invalid) related to the operation acceptance for each switch is initialized. , It is assumed that operation acceptance is not valid for all switches. The input reception valid status determination data is data composed of a plurality of bits, and the value of each bit corresponds to the status related to the operation acceptance of the corresponding switch, and the reception valid flag or the reception invalid flag of the corresponding switch. It becomes. As will be described later, when the operation acceptance of one switch is valid, an effective value (for example, 1) indicating that the operation reception of the switch is valid is set to a predetermined bit corresponding to the switch, and the operation acceptance is set to one. When the operation acceptance of the switch is not valid, an invalid value (for example, 0) indicating that the operation reception of the switch is not valid is set to a predetermined bit corresponding to the switch. When initializing the input reception valid state determination data, the values of all the bits of the input reception valid state determination data are set to invalid values.

Sk1のステップにおいて入力受付有効状態判定用データを初期化した後は、最大投入枚数セット処理を行って(Sk2)、遊技状態に応じて賭数に投入可能なメダル枚数の最大値(最大投入枚数)を取得する。そして、RAM41cの非遊技RAM領域の所定領域に設定されているメダル投入信号状態遷移データを参照して(Sk3)、当該メダル投入信号状態遷移データに基づき投入メダルセンサ31a〜31cの検出範囲をメダルが通過中であるか否かを判定する(Sk4)。 After initializing the input reception valid state determination data in the Sk1 step, the maximum number of inserted medals is set (Sk2), and the maximum number of medals that can be inserted into the bet number according to the gaming state (maximum number of inserted medals). ) To get. Then, referring to the medal insertion signal state transition data set in the predetermined area of the non-gaming RAM area of the RAM 41c (Sk3), the detection range of the insertion medal sensors 31a to 31c is set based on the medal insertion signal state transition data. Determines whether or not is passing (Sk4).

Sk4のステップにおいて、投入メダルセンサ31a〜31cの検出範囲をメダルが通過中であると判定した場合は、後述のSk15のステップに進む。この場合には、後述するSk5のステップ〜Sk14のステップの処理が行われないこととなり、入力受付有効状態判定用データは、初期化されたままの状態であり、いずれのスイッチについても操作受付が有効でない旨を示す無効値が設定されている状態である。この状態では、Sk15のステップ以降の処理においていずれのスイッチについても有効な操作入力は検出されない。 If it is determined in the Sk4 step that the medal is passing through the detection range of the inserted medal sensors 31a to 31c, the process proceeds to the Sk15 step described later. In this case, the processing of the steps Sk5 to Sk14, which will be described later, is not performed, and the data for determining the input reception valid state is in the initialized state, and the operation reception is performed for any of the switches. An invalid value indicating that it is not valid is set. In this state, no valid operation input is detected for any of the switches in the processing after the Sk15 step.

一方、Sk4のステップにおいて、投入メダルセンサ31a〜31cの検出範囲をメダルが通過中でないと判定した場合は、入力受付有効状態判定用データにおける複数ビットのうち精算スイッチ10に対応するビットの値を有効値に設定することで、精算スイッチ10による操作受付けが有効である旨を示す精算スイッチ受付有効フラグをRAM41cの所定領域に設定する(Sk5)。また、精算スイッチ10の場合と同様に、設定キースイッチ37について入力受付有効状態判定用データにおける該当するビットの値を有効値に設定することで、設定キースイッチ37による操作受付けが有効である旨を示す設定キースイッチ受付有効フラグをRAM41cの所定領域に設定する(Sk6)。 On the other hand, in the Sk4 step, when it is determined that the medal is not passing through the detection range of the inserted medal sensors 31a to 31c, the value of the bit corresponding to the settlement switch 10 among the plurality of bits in the input reception valid state determination data is set. By setting it to a valid value, a checkout switch acceptance valid flag indicating that operation acceptance by the checkout switch 10 is valid is set in a predetermined area of the RAM 41c (Sk5). Further, as in the case of the settlement switch 10, by setting the value of the corresponding bit in the input reception valid state determination data for the setting key switch 37 to a valid value, the operation acceptance by the setting key switch 37 is effective. The key switch reception valid flag indicating is set in a predetermined area of the RAM 41c (Sk6).

その後、RAM41cの所定領域を参照して現在賭数として設定されているメダル枚数(投入済み枚数)を取得し(Sk7)、投入済み枚数とSk2のステップにおいて取得した最大投入枚数とを比較して、投入済み枚数が投入済み枚数に達しているか否かを判定する(Sk8)。 After that, the number of medals currently set as the number of bets (the number of inserted medals) is acquired by referring to the predetermined area of the RAM 41c (Sk7), and the number of inserted medals is compared with the maximum number of inserted medals acquired in the step of Sk2. , It is determined whether or not the number of inserted sheets has reached the number of inserted sheets (Sk8).

Sk8のステップにおいて、投入済み枚数が投入済み枚数に達していると判定した場合は、精算スイッチ10や設定キースイッチ37の場合と同様に、スタートスイッチ7について入力受付有効状態判定用データにおける該当するビットの値を有効値に設定することで、スタートスイッチ7による操作受付けが有効である旨を示すスタートスイッチ受付有効フラグをRAM41cの所定領域に設定する(Sk14)。一方、Sk8のステップにおいて、投入済み枚数が投入済み枚数に達していないと判定した場合は、RAM41cの所定領域に再遊技中フラグが設定されているか否かに基づいて、再遊技中であるか否かを判定する(Sk9)。 When it is determined in the step of Sk8 that the number of inserted sheets has reached the number of inserted sheets, it corresponds to the input reception valid state determination data for the start switch 7 as in the case of the settlement switch 10 and the setting key switch 37. By setting the bit value to a valid value, a start switch reception valid flag indicating that operation acceptance by the start switch 7 is valid is set in a predetermined area of the RAM 41c (Sk14). On the other hand, if it is determined in the Sk8 step that the number of inserted sheets has not reached the number of inserted sheets, is it being replayed based on whether or not the replaying flag is set in the predetermined area of the RAM 41c? Whether or not it is determined (Sk9).

そして、Sk9のステップにおいて、再遊技中であると判定した場合は、Sk14のステップに進み、スタートスイッチ受付有効フラグをRAM41cの所定領域に設定する。一方、Sk9のステップにおいて、再遊技中であると判定した場合は、RAM41cの所定領域に設定されているクレジットカウンタを参照して、クレジットが1以上あるか否かを判定し(Sk10)、クレジットが1以上ある場合には、精算スイッチ10等の場合と同様に、MAXBET6スイッチ7について入力受付有効状態判定用データにおける該当するビットの値を有効値に設定することで、MAXBET6スイッチ7による操作受付けが有効である旨を示すMAXBET6スイッチ受付有効フラグをRAM41cの所定領域に設定する(Sk11)。 Then, when it is determined in the step of Sk9 that the game is being replayed, the process proceeds to the step of Sk14, and the start switch reception valid flag is set in the predetermined area of the RAM 41c. On the other hand, in the step of Sk9, when it is determined that the replay is in progress, it is determined whether or not there is one or more credits by referring to the credit counter set in the predetermined area of the RAM 41c (Sk10), and the credits are credited. When is 1 or more, the operation is accepted by the MAXBET6 switch 7 by setting the value of the corresponding bit in the input reception valid state determination data for the MAXBET6 switch 7 as a valid value, as in the case of the settlement switch 10 and the like. The MAXBET6 switch reception valid flag indicating that is valid is set in a predetermined area of the RAM 41c (Sk11).

Sk11のステップにおいてMAXBET6スイッチ受付有効フラグをRAM41cの所定領域に設定した場合、またはSk10のステップにおいてクレジットが1以上ないと判定した場合には、RAM41cの所定領域に設定されている遊技状態フラグを参照して、遊技状態がBB中であるか否かを判定する(Sk12)。Sk12のステップにおいて遊技状態がBB中であると判定した場合は、後述するSk15のステップへ進む。一方、Sk12のステップにおいて遊技状態がBB中でないと判定した場合は、RAM41cの所定領域を参照して投入済み枚数を取得し、投入済み枚数が1であるか否か、すなわち賭数として1枚のメダルが投入(設定)されているか否かを判定する(Sk13)。 When the MAXBET6 switch reception valid flag is set in the predetermined area of the RAM 41c in the step of Sk11, or when it is determined that the credit is not 1 or more in the step of Sk10, the game state flag set in the predetermined area of the RAM 41c is referred to. Then, it is determined whether or not the game state is in BB (Sk12). If it is determined in the step of Sk12 that the gaming state is in BB, the process proceeds to the step of Sk15 described later. On the other hand, when it is determined in the step of Sk12 that the gaming state is not in BB, the inserted number is acquired by referring to the predetermined area of the RAM 41c, and whether or not the inserted number is 1, that is, one bet. It is determined whether or not the medals of (Sk13) have been inserted (set).

そして、Sk13のステップにおいて賭数として1枚のメダルが投入されていると判定した場合は、Sk14のステップに進み、スタートスイッチ受付有効フラグをRAM41cの所定領域に設定し、Sk13のステップにおいて賭数として1枚のメダルが投入されていないと判定した場合は、スタートスイッチ受付有効フラグを設定せずに、Sk15のステップに進む。 If it is determined that one medal has been inserted as the bet number in the Sk13 step, the process proceeds to the Sk14 step, the start switch reception valid flag is set in the predetermined area of the RAM 41c, and the bet number is set in the Sk13 step. If it is determined that one medal has not been inserted, the process proceeds to the Sk15 step without setting the start switch reception valid flag.

次いで、図16に示すように、Sk4、Sk12、Sk13、Sk14のステップからSk15のステップに進んだ場合には、ポート入力バッファの所定領域を参照して、後述のタイマ割込処理に含まれるポート入力処理により更新される各スイッチの確定データ及びエッジデータ(ONエッジデータ)を取得し(Sk15)、当該確定データ及びエッジデータ(ONエッジデータ)に基づいて2つ以上の複数のスイッチがON状態であるか否かを判定する(Sk16)。 Next, as shown in FIG. 16, when the process proceeds from the steps Sk4, Sk12, Sk13, and Sk14 to the step Sk15, the port included in the timer interrupt process described later is referred to with reference to a predetermined area of the port input buffer. The confirmation data and edge data (ON edge data) of each switch updated by the input process are acquired (Sk15), and two or more switches are in the ON state based on the confirmation data and the edge data (ON edge data). It is determined whether or not it is (Sk16).

Sk16のステップにおいて2つ以上の複数のスイッチがON状態であると判定した場合は、当該操作入力受付処理を終了させて呼び出し元の遊技開始待ち処理に戻る。一方、Sk16のステップにおいて2つ以上の複数のスイッチがON状態でないと判定した場合、すなわちいずれか一のスイッチのみがON状態であると判定した場合は、Sk5〜Sk14までの処理により更新された入力受付有効状態判定用データとSk15のステップにおいて取得した各スイッチの確定データ及びエッジデータ(ONエッジデータ)に基づいて、有効な操作入力を抽出する(Sk17)。有効な操作入力とは、受付有効フラグが設定されており、かつ確定データまたはエッジデータがON状態であるスイッチの操作入力である。すなわち、入力受付有効状態判定用データに受付有効フラグ(有効値)が設定されている状態で、当該受付有効フラグが設定されているスイッチの操作が行われることで、当該スイッチの操作が有効な操作入力として判定されることとなる。 If it is determined in the Sk16 step that two or more switches are in the ON state, the operation input acceptance process is terminated and the process returns to the caller's game start waiting process. On the other hand, when it is determined in the step of Sk16 that two or more switches are not in the ON state, that is, when it is determined that only one of the switches is in the ON state, it is updated by the processing of Sk5 to Sk14. Based on the input reception valid state determination data and the confirmation data and edge data (ON edge data) of each switch acquired in the step of Sk15, valid operation inputs are extracted (Sk17). The valid operation input is the operation input of the switch in which the reception valid flag is set and the confirmation data or the edge data is in the ON state. That is, the operation of the switch is valid by operating the switch in which the reception valid flag is set while the reception valid flag (valid value) is set in the input reception valid state determination data. It will be judged as an operation input.

その後、Sk17のステップによる有効な操作入力の抽出結果に基づいて、有効な操作入力が検出されたスイッチが、MAXBETスイッチ6、スタートスイッチ7、精算スイッチ10、設定キースイッチ37のいずれであるかを特定して、特定されたスイッチに応じた処理を行う。 After that, based on the extraction result of the valid operation input by the step of Sk17, which of the MAXBET switch 6, the start switch 7, the settlement switch 10, and the setting key switch 37 is detected as the valid operation input. Identify and perform processing according to the identified switch.

有効な操作入力としてスタートスイッチ7が操作された場合は(Sk18)、スタートスイッチ7が操作された旨を示すスタートフラグを所定レジスタに設定した後(Sk30)、メダルブロッカオフ処理を行って(Sk31)、流路切替ソレノイド30をOFF状態としてメダルの流路をメダル払出口9側に切り替える処理を行う。そして、メダルブロッカオフ処理が終了することで操作入力受付処理を終了させて呼び出し元である遊技開始待ち処理に戻る。 When the start switch 7 is operated as a valid operation input (Sk18), a start flag indicating that the start switch 7 is operated is set in a predetermined register (Sk30), and then a medal blocker off process is performed (Sk31). ), The flow path switching solenoid 30 is turned off, and the flow path of the medal is switched to the medal payout outlet 9 side. Then, when the medal blocker off process is completed, the operation input acceptance process is terminated and the process returns to the game start waiting process that is the caller.

また、有効な操作入力として設定キースイッチ37が操作された場合は(Sk19)、設定値表示器24に設定値を表示させる設定値表示処理を行う(Sk29)。そして、設定値表示処理が終了することで操作入力受付処理を終了させて呼び出し元である遊技開始待ち処理に戻る。 Further, when the setting key switch 37 is operated as a valid operation input (Sk19), the setting value display process for displaying the set value on the set value display 24 is performed (Sk29). Then, when the set value display process is completed, the operation input acceptance process is terminated and the process returns to the game start waiting process that is the caller.

また、有効な操作入力としてMAXBETスイッチ6が操作された場合は(Sk20)、Sk2のステップにおいて取得され所定レジスタに設定されている最大投入枚数から、RAM41cの所定領域に記憶されている現在の賭数を減算して、賭数に新たに投入可能なメダル枚数を算出した後(Sk21)、RAM41cの所定領域に記憶されているクレジットカウンタに基づいて現在のクレジットに記憶されているメダル枚数を取得する(Sk22)。そして、新たに投入可能なメダル枚数と現在のクレジットのメダル枚数を比較して、クレジットのメダル枚数が新たに投入可能なメダル枚数以上であるか否かを判定する(Sk23)。 Further, when the MAXBET switch 6 is operated as a valid operation input (Sk20), the current bet stored in the predetermined area of the RAM 41c from the maximum number of inserted sheets acquired in the step of Sk2 and set in the predetermined register. After subtracting the number to calculate the number of medals that can be newly inserted into the bet number (Sk21), the number of medals stored in the current credit is acquired based on the credit counter stored in the predetermined area of the RAM 41c. (Sk22). Then, the number of medals that can be newly inserted is compared with the number of medals of the current credit, and it is determined whether or not the number of medals of the credit is equal to or greater than the number of medals that can be newly inserted (Sk23).

Sk23のステップにおいて、クレジットのメダル枚数が新たに投入可能なメダル枚数以上であると判定した場合は、新たに投入可能なメダル枚数を賭数に投入する投入枚数として設定して所定レジスタに記憶させる(Sk24)。一方、Sk23のステップにおいて、クレジットのメダル枚数が新たに投入可能なメダル枚数以上でないと判定した場合は、クレジットのメダル枚数を賭数に投入する投入枚数として設定して所定レジスタに記憶させる(Sk28)。 If it is determined in the Sk23 step that the number of credit medals is greater than or equal to the number of medals that can be newly inserted, the number of newly inserted medals is set as the number of inserted medals to be inserted and stored in a predetermined register. (Sk24). On the other hand, in the step of Sk23, when it is determined that the number of credit medals is not more than the number of medals that can be newly inserted, the number of credit medals is set as the number of inserted medals to be inserted and stored in a predetermined register (Sk28). ).

そして、Sk24またはSk28のステップにおいて投入枚数を所定レジスタに設定した後は、当該所定レジスタに記憶されている投入枚数をクレジットカウンタから減算する(Sk25)。そして、メダル投入実行処理を行って(Sk26)、所定レジスタに記憶されている投入枚数を賭数に加算させる等の処理を行った後、メダル投入時処理を行って(Sk27)、メダル投入実行処理により新たに設定された賭数を表示させるように1〜3BETLED14〜16の表示態様を更新する処理や、MAXBETスイッチ6の操作により賭数が設定されたことに伴い減算されたクレジット値に応じた表示にクレジット表示器11の表示態様を更新する処理を行う。その後、メダル投入時処理が終了されることで操作入力受付処理を終了させて呼び出し元である遊技開始待ち処理に戻る。 Then, after setting the number of inserted sheets in the predetermined register in the step of Sk24 or Sk28, the number of inserted sheets stored in the predetermined register is subtracted from the credit counter (Sk25). Then, a medal insertion execution process is performed (Sk26), a process such as adding the number of inserts stored in the predetermined register to the bet number is performed, and then a medal insertion time process is performed (Sk27) to execute the medal insertion. According to the process of updating the display mode of 1-3 BETLEDs 14 to 16 so as to display the bet number newly set by the process, and the credit value subtracted due to the bet number being set by the operation of the MAXBET switch 6. A process of updating the display mode of the credit display 11 is performed on the display. After that, when the process at the time of inserting the medal is completed, the operation input acceptance process is terminated and the process returns to the game start waiting process which is the caller.

また、有効な操作入力としてスタートスイッチ7、設定キースイッチ37、MAXBETスイッチ6以外のスイッチ、すなわち精算スイッチ10が操作された場合は(Sk20)、Sk33のステップに進む。 If a switch other than the start switch 7, the setting key switch 37, and the MAXBET switch 6, that is, the settlement switch 10 is operated as an effective operation input (Sk20), the process proceeds to the Sk33 step.

尚、本実施例では、Sk20のステップにおいて有効な操作入力としてMAXBETスイッチ6が操作された場合は、最大投入枚数から現在の賭数を減算して、賭数に新たに投入するメダル枚数を算出し、算出されたメダル枚数をメダル投入実行処理により一括して投入済み枚数に加算する(Sk20〜Sk26のステップ)構成であるが、有効な操作入力としてMAXBETスイッチ6が操作された場合は、賭数に投入するメダル枚数として1を設定し、メダル投入実行処理を実行して現在の賭数に1加算する処理を、最大投入枚数と現在の賭数とが一致するまで繰り返し行う構成、すなわち最大投入枚数までのメダル枚数を1ずつ投入済み枚数に加算する構成でも良い。 In this embodiment, when the MAXBET switch 6 is operated as an effective operation input in the Sk20 step, the current number of medals is subtracted from the maximum number of inserted medals to calculate the number of medals to be newly inserted into the number of bets. Then, the calculated number of medals is collectively added to the number of inserted medals by the medal insertion execution process (steps of Sk20 to Sk26), but if the MAXBET switch 6 is operated as a valid operation input, a bet is made. 1 is set as the number of medals to be inserted into the number, and the process of executing the medal insertion execution process and adding 1 to the current number of bets is repeated until the maximum number of inserted medals and the current number of bets match, that is, the maximum. The number of medals up to the number of inserted medals may be added to the number of inserted medals one by one.

図17に示すように、Sk33のステップでは、ポート入力バッファの所定領域を参照して、精算スイッチ10のエッジデータを取得し、ONエッジデータが設定されているか否かを判定する(Sk34)。 As shown in FIG. 17, in the Sk33 step, the edge data of the settlement switch 10 is acquired with reference to a predetermined area of the port input buffer, and it is determined whether or not the ON edge data is set (Sk34).

そして、Sk34のステップにおいて精算スイッチ10についてONエッジデータが設定されていると判定した場合は、精算スイッチ10が押下操作されている時間が所定時間(本実施例では、3秒)に達したか否かを計測するためにRAM41cの所定領域に設定されている精算スイッチタイマに初期値(本実施例では、3秒に相当する値)を設定する(Sk35)。 Then, when it is determined that the ON edge data is set for the settlement switch 10 in the step of Sk34, has the time during which the settlement switch 10 is pressed reaches a predetermined time (3 seconds in this embodiment)? An initial value (a value corresponding to 3 seconds in this embodiment) is set in the settlement switch timer set in a predetermined area of the RAM 41c in order to measure whether or not the data is set (Sk35).

Sk35において精算スイッチタイマに初期値を設定した後、またはSk34のステップにおいて精算スイッチ10についてONエッジデータが設定されていないと判定した場合は、RAM41cに設定されている精算スイッチタイマの値を所定レジスタに読み込み(Sk36)、当該精算スイッチタイマの値が0であるか否かを判定する(Sk37)。 After setting the initial value of the settlement switch timer in Sk35, or when it is determined in the step of Sk34 that the ON edge data is not set for the settlement switch 10, the value of the settlement switch timer set in the RAM 41c is set as a predetermined register. (Sk36), and determines whether or not the value of the settlement switch timer is 0 (Sk37).

Sk37のステップにおいて精算スイッチタイマの値が0でないと判定した場合は、精算スイッチタイマ値を1減算し(Sk38)、減算後の精算スイッチタイマ値が1であるか否かを判定する(Sk39)。Sk39のステップにおいて精算スイッチタイマ値が1であると判定した場合、すなわち精算スイッチ10の押下操作が所定時間(本実施例では、3秒)にわたり継続して行われたことが特定される場合には、精算処理を行って(Sk51)、賭数に設定されているメダル枚数またはクレジットに記憶されているメダル枚数をメダル払出口9から返却するようにホッパーモータ34bを駆動させるように制御する。また、精算処理では、賭数が設定されているか否かを判定し、1以上の賭数が設定されている場合には、賭数に設定されているメダル枚数を返却するための制御を行う。一方、賭数が設定されていない場合には、クレジットに記憶されているメダル枚数を返却するための制御を行うようになっている。 When it is determined that the value of the settlement switch timer is not 0 in the step of Sk37, the settlement switch timer value is subtracted by 1 (Sk38), and it is determined whether or not the settlement switch timer value after the subtraction is 1 (Sk39). .. When it is determined in the step of Sk39 that the settlement switch timer value is 1, that is, when it is specified that the pressing operation of the settlement switch 10 is continuously performed for a predetermined time (3 seconds in this embodiment). Performs a settlement process (Sk51) and controls to drive the hopper motor 34b so that the number of medals set in the bet number or the number of medals stored in the credit is returned from the medal payout outlet 9. Further, in the settlement process, it is determined whether or not the bet number is set, and if one or more bets are set, control is performed to return the number of medals set in the bet number. .. On the other hand, when the number of bets is not set, the control for returning the number of medals stored in the credit is performed.

Sk39のステップにおいて、精算スイッチタイマ値が1でないと判定した場合は、ポート入力バッファの所定領域を参照して、精算スイッチ10の確定データを取得し、確定データがOFF状態であるか否かを判定する(Sk40)。Sk40のステップにおいて、精算スイッチ10の確定データがOFF状態であると判定した場合は、精算スイッチタイマをクリアして0に設定した後(Sk41)、RAM41cの所定領域に再遊技中フラグが設定されているか否かに基づいて再遊技中であるか否かを判定する(Sk42)。そして、Sk42のステップにおいて再遊技中でないと判定した場合は、RAM41cの所定領域を参照して賭数に設定されているメダル枚数を取得し、賭数に設定されているメダル(投入済みメダル)があるか否かを判定し(Sk43)、賭数に設定されているメダルがない場合は、RAM41cの所定領域に設定されているクレジットカウンタを参照してクレジットが1以上あるか否かを判定し(Sk44)、クレジットが1以上ある場合には、賭数に設定する投入枚数として1を所定レジスタに設定し(Sk45)、上述のSk25のステップに進む。所定レジスタに投入枚数として1が設定された状態でSk25のステップ以降の処理が行われることで、1枚のメダルが賭数に設定されることとなる。 If it is determined that the settlement switch timer value is not 1 in the Sk39 step, the confirmation data of the settlement switch 10 is acquired by referring to the predetermined area of the port input buffer, and whether or not the confirmation data is in the OFF state is determined. Judgment (Sk40). When it is determined in the step of Sk40 that the confirmation data of the settlement switch 10 is in the OFF state, the settlement switch timer is cleared and set to 0 (Sk41), and then the replaying flag is set in the predetermined area of the RAM 41c. It is determined whether or not the game is being replayed based on whether or not the game is being played (Sk42). Then, when it is determined in the step of Sk42 that the replay is not in progress, the number of medals set in the bet number is acquired by referring to the predetermined area of the RAM 41c, and the medals set in the bet number (inserted medals). If there is no medal set in the bet number, it is determined whether or not there is one or more by referring to the credit counter set in the predetermined area of the RAM 41c. Then (Sk44), if there are 1 or more medals, 1 is set in the predetermined register as the number of input sheets to be set in the bet number (Sk45), and the process proceeds to the above-mentioned Sk25 step. By performing the processing after the Sk25 step in a state where 1 is set as the number of inserted cards in the predetermined register, one medal is set as the number of bets.

Sk40のステップにおいて精算スイッチ10の確定データがOFF状態でないと判定した場合、すなわち精算スイッチ10の押下操作が継続されており、その後、精算スイッチタイマの値が1となる可能性がある場合、Sk42のステップにおいて再遊技中であると判定した場合、すなわち再遊技中であるため遊技者が賭数を設定することができない場合、Sk44のステップにおいてクレジットがないと判定した場合、すなわちクレジットを用いて賭数を設定することができない場合には、操作入力受付処理を終了させて遊技開始待ち処理に戻るように制御する。 When it is determined in the step of Sk40 that the confirmation data of the settlement switch 10 is not in the OFF state, that is, when the pressing operation of the settlement switch 10 is continued and the value of the settlement switch timer may become 1 thereafter, Sk42 When it is determined that the player is replaying in the step of, that is, the player cannot set the number of bets because the game is being replayed, or when it is determined that there is no credit in the step of Sk44, that is, using the credit. If the number of bets cannot be set, control is performed so that the operation input acceptance process is terminated and the process returns to the game start waiting process.

また、Sk43のステップにおいて、賭数に設定されているメダル(投入済みメダル)があると判定した場合は、投入済みメダルが1枚であるか否かを判定し(Sk46)、投入済みメダルが1枚である場合は、投入済みメダルの枚数がクレジットの空き(クレジットの最大値と現在のクレジットの値の差分)よりも少ないか否かを判定する(Sk47)。 Further, in the step of Sk43, when it is determined that there is a medal (inserted medal) set in the number of bets, it is determined whether or not there is one inserted medal (Sk46), and the inserted medal is determined. If it is one, it is determined whether or not the number of inserted medals is less than the vacancy of credits (the difference between the maximum value of credits and the current value of credits) (Sk47).

そして、Sk46のステップにおいて投入済みメダル枚数が1枚であると判定した場合、Sk47のステップにおいて投入済みメダルの枚数がクレジットの空きよりも多いと判定した場合は、操作入力受付処理を終了させて遊技開始待ち処理に戻るように制御する。 Then, when it is determined that the number of inserted medals is one in the Sk46 step, and when it is determined in the Sk47 step that the number of inserted medals is larger than the vacant credit, the operation input acceptance process is terminated. Control to return to the game start waiting process.

一方、Sk46のステップにおいて投入済みメダル枚数が1枚でないと判定した場合、すなわち投入済みメダル枚数が2枚または3枚であると判定した場合であり、かつSk47のステップにおいて投入済みメダルの枚数がクレジットの空きよりも少ないと判定した場合は、クレジットカウンタに1加算した後(Sk48)、賭数として設定されている投入済みメダル枚数から1減算する(Sk49)処理を、投入済みメダル枚数が0となるまで(Sk50)繰り返し行うことで、賭数に設定されている投入済みメダルをすべてクレジットに一旦返却する。その後、上述のSk45のステップに進み、賭数に設定する投入枚数として1を所定レジスタに設定し(Sk45)、上述のSk25のステップに進む。所定レジスタに投入枚数として1が設定された状態でSk25のステップ以降の処理が行われることで、1枚のメダルが賭数に設定されることとなる。 On the other hand, when it is determined that the number of inserted medals is not one in the step of Sk46, that is, when it is determined that the number of inserted medals is two or three, and the number of inserted medals is determined in the step of Sk47. If it is determined that the number of medals is less than the vacancy of credits, 1 is added to the credit counter (Sk48), and then 1 is subtracted from the number of inserted medals set as the number of bets (Sk49). By repeating this process until (Sk50), all the inserted medals set in the bet number are once returned to the credit. After that, the process proceeds to the above-mentioned Sk45 step, 1 is set in the predetermined register as the number of input sheets to be set in the bet number (Sk45), and the process proceeds to the above-mentioned Sk25 step. By performing the processing after the Sk25 step in a state where 1 is set as the number of inserted cards in the predetermined register, one medal is set as the number of bets.

[タイマ割込み処理について]
次に、メイン制御部41が行うタイマ割込み処理(メイン)の制御内容について、図18に基づいて説明する。尚、タイマ割込み処理(メイン)は、遊技プログラムに含まれるサブルーチンである。
[Timer interrupt processing]
Next, the control content of the timer interrupt processing (main) performed by the main control unit 41 will be described with reference to FIG. The timer interrupt process (main) is a subroutine included in the game program.

図18に示すように、タイマ割込み処理(メイン)では、まず、すべての表レジスタと裏レジスタを交換した後(Sm1)、タイマ割込を禁止に設定し(Sm2)、電断が発生しているか否かを判定する電断判定処理を行う(Sm3)。電断判定処理では、スロットマシン1が備える各電気機器等に電力を供給するための電源ボックスから出力される出力電圧が予め定められた所定の閾値より低下した状態が、予め定められた所定期間以上にわたり継続されているか否かを判定し、当該出力電圧が所定の閾値より低下した状態が所定期間(本実施例では、連続する2回のタイマ割込みが行わる期間)以上にわたり継続していると判定した場合は、スロットマシン1への電力供給が停止されて電断が発生していると判定して、その旨を示す電断フラグをRAM41cの所定領域に設定して、当該電断判定処理を終了する。一方、電源ボックスの出力電圧が所定の閾値より低下した状態が所定期間(本実施例では、連続する2回のタイマ割込みが行わる期間)以上にわたり継続していないと判定した場合は、スロットマシン1への電力供給が正常に継続されているので、電断フラグを設定せずに、電断判定処理を終了する。 As shown in FIG. 18, in the timer interrupt processing (main), first, after exchanging all the front and back registers (Sm1), the timer interrupt is set to prohibit (Sm2), and a power failure occurs. Performs a power failure determination process to determine whether or not it is present (Sm3). In the power failure determination process, a state in which the output voltage output from the power supply box for supplying electric power to each electric device included in the slot machine 1 is lower than a predetermined threshold value is set for a predetermined predetermined period. It is determined whether or not the output voltage is continued over the above, and the state in which the output voltage is lower than the predetermined threshold continues for a predetermined period (in this embodiment, a period in which two consecutive timer interrupts are performed) or more. If it is determined that the power supply to the slot machine 1 has been stopped and a power failure has occurred, a power failure flag indicating that effect is set in a predetermined area of the RAM 41c, and the power failure determination is made. End the process. On the other hand, if it is determined that the state in which the output voltage of the power supply box has dropped below a predetermined threshold value has not continued for a predetermined period (in this embodiment, a period in which two consecutive timer interrupts are performed), the slot machine Since the power supply to 1 is normally continued, the power failure determination process is terminated without setting the power failure flag.

Sm3のステップにおいて電断判定処理を行った後は、RAM41cの所定領域に設定されているか否かを判定し(Sm4)、電断フラグが設定されていると判定した場合には、電断処理を行う。 After performing the power failure determination process in the step of Sm3, it is determined whether or not it is set in the predetermined area of the RAM 41c (Sm4), and if it is determined that the power failure flag is set, the power failure process is performed. I do.

電断処理では、メイン制御部41が備えるすべてのレジスタの値、スタックポインタSPにより示される遊技スタック領域の現在のアドレス、遊技RAM領域の所定領域の内容を、バックアップ電源によりバックアップされている遊技RAM領域の所定領域に記憶させることで退避させる。尚、バックアップ電源によりバックアップされている遊技RAM領域は、スロットマシン1への電力供給が停止しても、バックアップ電源により電力が供給される限り当該遊技RAM領域の記憶内容が保存されるようになっている。 In the power failure processing, the values of all the registers included in the main control unit 41, the current address of the game stack area indicated by the stack pointer SP, and the contents of the predetermined area of the game RAM area are backed up by the backup power supply. It is saved by storing it in a predetermined area of the area. In the game RAM area backed up by the backup power supply, even if the power supply to the slot machine 1 is stopped, the stored contents of the game RAM area are saved as long as the power is supplied by the backup power supply. ing.

そして、メイン制御部41が備えるパラレル出力ポートを、所定の順序で順次の初期化して出力状態をOFF状態にする。また、RAM41cの所定領域に破壊診断用データ、RAM41cのパリティ調整用データを、バックアップ電源によりバックアップされている遊技RAM領域の所定領域に設定する。その後、RAM41cへのアクセスを禁止に設定し、ループ処理に入る。この状態で、電源ボックスの出力電圧が、メイン制御部41の動作に必要な電圧よりも低下すると、メイン制御部41は内部的に動作停止状態になる。 Then, the parallel output ports included in the main control unit 41 are sequentially initialized in a predetermined order to turn off the output state. Further, the destruction diagnosis data and the parity adjustment data of the RAM 41c are set in the predetermined area of the RAM 41c in the predetermined area of the game RAM area backed up by the backup power supply. After that, the access to the RAM 41c is set to be prohibited, and the loop processing is started. In this state, if the output voltage of the power supply box becomes lower than the voltage required for the operation of the main control unit 41, the main control unit 41 is internally stopped.

スロットマシン1への電力供給が停止される場合に、電断処理が実行され、電断前のレジスタの値が退避されるとともに、RAM41cの遊技RAM領域の所定領域の内容もバックアップ電源が供給されることで保持されることで、スロットマシン1への電力供給が再開された際に、電断前の制御状態に復帰させることができるようになっている。 When the power supply to the slot machine 1 is stopped, the power interruption process is executed, the value of the register before the power interruption is saved, and the backup power is also supplied to the contents of the predetermined area of the game RAM area of the RAM 41c. By holding the power supply to the slot machine 1, the control state before the power failure can be restored when the power supply to the slot machine 1 is restarted.

Sm4のステップにおいて、電断フラグが設定されていないと判定した場合は、メイン処理により制御されるゲームの進行段階に応じて各種制御を行うための処理(例えば、各種センサやスイッチ類の入力データ等の更新に関するポート入力処理、投入メダルセンサ31a〜31cや払出センサ34cの検出信号の遷移に異常があるか否かを判定するセンサ監視処理、メダル通過時間タイマを更新するメダル通過時間タイマ更新処理、出力ポートに接続された各種LED等の表示器(例えば、クレジット表示器11等)をダイナミック点灯させるLEDダイナミック表示処理等)を順次実行する。 When it is determined in the step of Sm4 that the power interruption flag is not set, processing for performing various controls according to the progress stage of the game controlled by the main processing (for example, input data of various sensors and switches). Port input processing related to updating, etc., sensor monitoring processing to determine whether there is an abnormality in the transition of the detection signals of the input medal sensors 31a to 31c and the payout sensor 34c, medal passage time timer update processing to update the medal passage time timer , LED dynamic display processing for dynamically lighting a display such as various LEDs connected to an output port (for example, a credit display 11 or the like) is sequentially executed.

タイマ割込処理では、当該タイマ割込処理において行う複数の処理の一つとして、例えば、ポート入力処理(Sm6)や、センサ監視処理、メダル通過時間タイマ更新処理、LEDダイナミック表示処理等を実行する。 In the timer interrupt process, for example, port input process (Sm6), sensor monitoring process, medal passage time timer update process, LED dynamic display process, etc. are executed as one of a plurality of processes performed in the timer interrupt process. ..

ポート入力処理では、該タイマ割込処理(メイン)が行われた時点で入力ポートから入力される各種センサやスイッチ類の検出状態に基づいて、各種センサやスイッチ類毎に入力状態データ(各種スイッチ類の現在の入力状態を示す入力データ、前回と今回の入力データが同じ状態である旨を示す確定データ、前回から確定データが変化した旨を示すエッジデータ(OFF状態からON状態に変化した旨を示すONエッジデータ及びON状態からOFF状態に変化した旨を示すOFFエッジデータ))を各々生成して、各データをRAM41cの所定領域に設けられたポート入力バッファの所定領域に設定する。ポート入力バッファに設定された各種センサやスイッチ類の入力データ、確定データ、エッジデータは、上述のメイン処理の遊技開始時待ち処理において行われる操作入力受付処理等の各種処理にて参照され、センサやスイッチ類の入力状況に応じてゲームの進行に関する処理が行われることとなる。 In the port input process, input status data (various switches) for each sensor and switch is based on the detection status of various sensors and switches input from the input port when the timer interrupt process (main) is performed. Input data indicating the current input state of the type, confirmed data indicating that the previous and current input data are in the same state, edge data indicating that the confirmed data has changed from the previous time (indicating that the state has changed from the OFF state to the ON state). The ON edge data indicating that the data is displayed and the OFF edge data indicating that the ON state has changed to the OFF state)) are generated, and each data is set in a predetermined area of the port input buffer provided in the predetermined area of the RAM 41c. The input data, confirmation data, and edge data of various sensors and switches set in the port input buffer are referred to in various processes such as the operation input reception process performed in the game start wait process of the above-mentioned main process, and the sensors are used. Processing related to the progress of the game will be performed according to the input status of the switches and switches.

センサ監視処理は、非遊技プログラムに含まれ、上述のメダル手入れ許可フラグが設定されていない期間、すなわちメダル投入部4からのメダルの投入が許可されている期間外において、投入メダルセンサ31a〜31cによりメダル等が検出されたか否かを判定し、投入メダルセンサ31a〜31cによりメダル等が検出された場合に、メダルの投入に関する異常が発生している旨を示すセンサエラー参照データを非遊技RAM領域の所定領域に設定する。また、上述のメイン処理により実行される遊技終了時設定処理により小役の入賞に伴いメダルを払い出す払出制御が行われている期間外において、払出センサ34cによりメダル等が検出されたか否かを判定し、払出センサ34cによりメダル等が検出された場合に、メダルの払出に関する異常が発生している旨を示すセンサエラー参照データを非遊技RAM領域の所定領域に設定する。 The sensor monitoring process is included in the non-game program, and the inserted medal sensors 31a to 31c are included in the period when the above-mentioned medal care permission flag is not set, that is, outside the period when the medal insertion from the medal insertion unit 4 is permitted. It is determined whether or not a medal or the like has been detected by Set to a predetermined area of the area. In addition, it is determined whether or not the medal or the like is detected by the payout sensor 34c outside the period during which the payout control for paying out the medal is performed according to the winning of the small winning combination by the game end setting process executed by the above-mentioned main process. When the determination is made and a medal or the like is detected by the payout sensor 34c, sensor error reference data indicating that an abnormality related to the payout of the medal has occurred is set in a predetermined area of the non-game RAM area.

センサ監視処理により設定されたセンサエラー参照データは、センサ監視処理の終了後にタイマ割込処理において行われる遊技プログラムに含まれる所定処理により参照され、当該所定処理により、設定されているセンサエラー参照データに基づいて特定される異常に応じて、投入エラーフラグ、払出エラーフラグが遊技RAM領域の所定領域に設定される。そして、当該投入エラーフラグ、払出エラーフラグは、上述のメダル投入払出エラーチェック処理において参照され、投入エラーフラグ、払出エラーフラグが設定されている場合には、対応するエラー状態に制御されることとなる。 The sensor error reference data set by the sensor monitoring process is referred to by a predetermined process included in the game program performed in the timer interrupt process after the end of the sensor monitoring process, and the sensor error reference data set by the predetermined process. The input error flag and the payout error flag are set in a predetermined area of the game RAM area according to the abnormality specified based on the above. Then, the insertion error flag and the payout error flag are referred to in the above-mentioned medal insertion / payment error check process, and when the insertion error flag and the payout error flag are set, they are controlled to the corresponding error states. Become.

メダル通過時間タイマ更新処理では、上述のメダルセンサ処理によりメダル通過時間タイマによる計時を開始する旨が設定された後、当該計時を終了させる旨が設定されるときまでの期間にわたり、メダル通過時間タイマ更新処理が実行される毎に、メダル通過時間タイマの値に所定値を加算することで更新する。 In the medal passing time timer update process, the medal passing time timer is set for a period from the time when it is set to start the time counting by the medal passing time timer by the above-mentioned medal sensor processing until the time when it is set to end the time counting. Each time the update process is executed, the update is performed by adding a predetermined value to the value of the medal passing time timer.

LEDダイナミック表示処理では、出力ポートに接続された各種LED等の表示器(クレジット表示器11、遊技補助表示器12、1〜3BETLED14〜16、投入要求LED17、スタート有効LED18、ウェイト中LED19、リプレイ中LED20等)の点灯状態をメイン処理等の各処理による設定に応じてダイナミック点灯させるための点灯信号を設定し、各種LED等の表示器に対して送信するように制御する。これにより、各種LED等の表示器が所定点灯態様に制御されることとなる。 In the LED dynamic display processing, indicators such as various LEDs connected to the output port (credit indicator 11, game auxiliary indicator 12, 1-3 BETLED 14 to 16, input request LED 17, start effective LED 18, wait LED 19, replaying). A lighting signal for dynamically lighting the lighting state of the LED 20 etc.) is set according to the setting by each process such as the main process, and is controlled to be transmitted to the indicators such as various LEDs. As a result, indicators such as various LEDs are controlled to a predetermined lighting mode.

Sm4のステップにおいて、電断フラグが設定されていないと判定し、タイマ割込処理において行う複数の処理が全て終了した後は、すべての表レジスタと裏レジスタを交換し(Sm7)、タイマ割込を許可に設定して(Sm8)、タイマ割込み処理を終了させて、当該タイマ割込み処理が開始されたときのメイン処理に復帰させる。 In the step of Sm4, it is determined that the power interruption flag is not set, and after all the plurality of processes performed in the timer interrupt process are completed, all the front registers and the back registers are exchanged (Sm7), and the timer interrupt is interrupted. Is set to allow (Sm8), the timer interrupt process is terminated, and the process returns to the main process when the timer interrupt process is started.

このように、メイン制御部41は、タイマ割込処理において、遊技制御基板40に接続された投入メダルセンサ31a〜31cや払出センサ34c、MAXBETスイッチ6等の各種センサやスイッチ類の検出状況を取得して、これら各種センサやスイッチ類の入力データ、確定データ、エッジデータを更新するポート入力処理を実行するようになっている。これにより、上述の遊技開始待ち処理における割込1回待ち処理が行われて、タイマ割込処理が行われる毎に、各種センサやスイッチ類の入力データ、確定データ、エッジデータが更新されるようになっている。 In this way, the main control unit 41 acquires the detection status of various sensors and switches such as the input medal sensors 31a to 31c, the payout sensor 34c, and the MAXBET switch 6 connected to the game control board 40 in the timer interrupt processing. Then, the port input process for updating the input data, confirmation data, and edge data of these various sensors and switches is executed. As a result, the interrupt one-time wait process in the above-mentioned game start wait process is performed, and the input data, confirmation data, and edge data of various sensors and switches are updated each time the timer interrupt process is performed. It has become.

[作用効果について1]
従来のスロットマシンとして、クレジットから最大賭数分のメダルを投入するためのマックスベットボタンが操作されたことに伴うクレジットからのメダルの投入処理中に、外部からのメダルの投入が検出された場合には、クレジットからのメダルの投入処理よりも外部から投入されたメダルの検出に伴う投入処理を優先して行い、その後、クレジットからのメダルの投入処理を再開するように構成したものがある。
[About action and effect 1]
As a conventional slot machine, when the insertion of medals from the outside is detected during the process of inserting medals from credits due to the operation of the max bet button for inserting medals for the maximum number of medals from credits. There is a configuration in which the insertion process associated with the detection of medals inserted from the outside is prioritized over the insertion process of medals from credits, and then the insertion process of medals from credits is restarted.

このような構成では、クレジットからのメダルの投入処理中に、外部からのメダルの投入が検出された場合にクレジットからのメダルの投入処理を中断して外部から投入されたメダルの検出に伴う投入処理を行うものであり、処理が複雑となってしまう。 In such a configuration, if the insertion of medals from the outside is detected during the insertion process of medals from the credit, the insertion process of the medals from the credit is interrupted and the insertion of the medals inserted from the outside is detected. The processing is performed, and the processing becomes complicated.

これに対して、本実施例のスロットマシン1は、遊技の制御を行うメイン制御部41と、遊技媒体であるメダルの投入を検出する投入メダルセンサ31a〜31cと、遊技者所有のクレジットを記憶するRAM41cと、遊技者がクレジットを用いて賭数を設定する際に操作するMAXBETスイッチ6と、を備え、メイン制御部41は、規定数の賭数が設定されることで遊技を開始可能とする遊技開始待ち処理において、メダルの投入が検出されたことに基づいて賭数またはクレジットを加算するメダル投入信号処理、及びMAXBETスイッチ6が操作されたことに基づいてクレジットを減算し、賭数を加算する操作入力受付処理と、を含む処理を実行可能な構成であり、メイン制御部41は、操作入力受付処理において、メダル投入信号状態遷移データに基づいて投入メダルセンサ31a〜31cによりメダルの投入(通過)が検出されているか否かを判定し、メダルの投入が検出されていないと判定された場合に、MAXBETスイッチ6による操作受付を有効化し、当該MAXBETスイッチ6の操作が検出されることで、クレジットを減算し、賭数を加算するメダル投入実行処理を行うことが可能であり、操作入力受付処理を開始した後、当該操作入力受付処理が完了するまで、メダル投入信号処理を行わない構成である。 On the other hand, the slot machine 1 of the present embodiment stores the main control unit 41 that controls the game, the inserted medal sensors 31a to 31c that detect the insertion of medals that are the game medium, and the credits owned by the player. The RAM 41c is provided, and the MAXBET switch 6 is operated when the player sets the number of bets using credits. The main control unit 41 can start the game by setting the specified number of bets. In the game start waiting process, the number of bets or credits are added based on the detection of the insertion of medals, and the number of bets is subtracted based on the operation of the MAXBET switch 6. The main control unit 41 inserts medals by the insertion medal sensors 31a to 31c based on the medal insertion signal state transition data in the operation input reception processing. It is determined whether or not (passing) is detected, and when it is determined that the insertion of medals is not detected, the operation reception by the MAXBET switch 6 is enabled and the operation of the MAXBET switch 6 is detected. It is possible to perform the medal insertion execution process of subtracting credits and adding the number of bets, and after starting the operation input acceptance process, the medal insertion signal process is not performed until the operation input acceptance process is completed. It is a composition.

この構成によれば、メイン制御部41は、メダルの投入が検出されたことに基づいて賭数またはクレジットを加算するメダル投入信号処理(第1処理)と、MAXBETスイッチ6が操作されたことに基づいてクレジットを減算し、賭数を加算する操作入力受付処理(第2処理)と、を行うとともに、操作入力受付処理においてメダルの投入が検出されているか否かを判定し、メダルの投入が検出されていない場合にクレジットを減算し、賭数を加算するメダル投入実行処理を行うことが可能であり、操作入力受付処理の開始後、当該操作入力受付処理が完了するまではメダル投入信号処理を行わないため、メダルの投入が検出されている状況で操作入力受付処理が行われてしまうことがなく、また、クレジットを減算し、賭数を加算する操作入力受付処理を中断して、メダルの投入が検出されたことに基づき賭数またはクレジットを加算するメダル投入信号処理が優先されるようなことがなく、処理が複雑となってしまうことがない。 According to this configuration, the main control unit 41 performs the medal insertion signal processing (first processing) for adding the number of bets or credits based on the detection of the insertion of medals, and the MAXBET switch 6 is operated. Based on the operation input reception process (second process) in which credits are subtracted and the number of bets is added, it is determined whether or not the operation input reception process has detected the insertion of medals, and the medals are inserted. It is possible to perform the medal insertion execution process of subtracting credits and adding the number of bets when it is not detected, and after the start of the operation input acceptance process, the medal insertion signal processing is performed until the operation input acceptance process is completed. Since the operation input acceptance process is not performed in the situation where the insertion of the medal is detected, the operation input acceptance process for subtracting the credit and adding the bet number is interrupted, and the medal The medal insertion signal processing for adding the number of bets or credits based on the detection of the insertion is not prioritized, and the processing is not complicated.

尚、本実施例では、遊技開始待ち処理において、操作入力受付処理の開始後、当該操作入力受付処理が完了してからメダル投入信号処理を行い得る構成であり、操作入力受付処理が完了するまでメダル投入信号処理が行われる契機とならない構成とすることで、操作入力受付処理の開始後、当該操作入力受付処理が完了するまでメダル投入信号処理を行わない構成であるが、操作入力受付処理の開始後、当該操作入力受付処理が完了するまでメダル投入信号処理の実行を禁止する構成、すなわち操作入力受付処理が完了するまでにメダル投入信号処理が行われる契機となっても当該メダル投入処理が行われない構成とすることで、操作入力受付処理の開始後、当該操作入力受付処理が完了するまでメダル投入信号処理を行わない構成としても良い。 In this embodiment, in the game start waiting process, after the operation input reception process is started, the medal insertion signal processing can be performed after the operation input reception process is completed, until the operation input reception process is completed. By configuring the configuration so that it does not trigger the medal insertion signal processing, the medal insertion signal processing is not performed until the operation input reception processing is completed after the operation input reception processing is started. After the start, the execution of the medal insertion signal processing is prohibited until the operation input acceptance processing is completed, that is, the medal insertion processing is performed even if the medal insertion signal processing is performed by the time the operation input acceptance processing is completed. By adopting a configuration in which the operation input reception process is not performed, the medal insertion signal processing may not be performed until the operation input reception process is completed after the operation input reception process is started.

例えば、操作入力受付処理において、MAXBETスイッチ6による操作受付が有効な状態で当該MAXBETスイッチ6の操作が検出されることで、賭数を1加算する処理を賭数が遊技状態に応じた規定数に達するまで一定の時間間隔を空けて繰り返し行うような構成では、MAXBETスイッチ6が操作されたことに伴う賭数の設定処理が比較的長時間にわたることとなり、操作入力受付処理を行っている途中で、メダル投入部4から投入されたメダルが投入メダルセンサ31a〜31cの検出範囲に到達することでメダル投入信号処理を行うべき状況となり得る。このような構成において、操作入力受付処理の開始後、当該操作入力受付処理が完了するまでの期間にわたりメダル投入処理の実行を禁止する構成とすることで、操作入力受付処理を中断してメダル投入信号処理が優先されるようなことがなく、処理が複雑となってしまうことがない。また、このような構成においては、操作入力受付処理が完了するまでメダル投入信号処理の実行を禁止するとともに、メダル投入信号処理を禁止している期間においてメダル投入信号処理が行われる契機となった場合には、操作入力受付処理が完了するまでメダル投入信号処理の実行を遅延させて、操作入力受付処理が完了後に、メダル投入信号処理を行う構成とすることで、メダル投入信号処理を禁止している期間において投入メダルセンサ31a〜31cにより検出されたメダルを少なくともクレジットに加算することができ、メダル投入信号処理を禁止している期間に投入されたメダルがクレジット及び賭数に加算されることなくスロットマシン1の内部に取り込まれてしまうこと、いわゆる飲み込まれてしまうことを防止することができる。 For example, in the operation input reception process, when the operation of the MAXBET switch 6 is detected while the operation reception by the MAXBET switch 6 is valid, the process of adding 1 to the bet number is performed by the specified number of bets according to the game state. In a configuration in which the process is repeated at regular intervals until the value is reached, the process of setting the number of medals associated with the operation of the MAXBET switch 6 takes a relatively long time, and the operation input acceptance process is being performed. Then, when the medals inserted from the medal insertion unit 4 reach the detection range of the insertion medal sensors 31a to 31c, the medal insertion signal processing should be performed. In such a configuration, the operation input reception process is interrupted and the medal insertion is performed by prohibiting the execution of the medal insertion process during the period from the start of the operation input reception process to the completion of the operation input reception process. Signal processing is not prioritized and processing is not complicated. Further, in such a configuration, the execution of the medal insertion signal processing is prohibited until the operation input acceptance processing is completed, and the medal insertion signal processing is performed during the period during which the medal insertion signal processing is prohibited. In this case, the execution of the medal insertion signal processing is delayed until the operation input reception processing is completed, and the medal insertion signal processing is performed after the operation input reception processing is completed, thereby prohibiting the medal insertion signal processing. The medals detected by the inserted medal sensors 31a to 31c can be added to at least the credits during the period, and the medals inserted during the period during which the medal insertion signal processing is prohibited are added to the credits and the number of bets. It is possible to prevent it from being taken into the inside of the slot machine 1 without being swallowed, that is, being swallowed.

本実施例のスロットマシン1は、段階的に処理を進める基本処理であるメイン処理を実行可能であり、当該メイン処理は、スタートスイッチ7の操作受付が有効な状態で、当該スタートスイッチ7の操作が検出されることで遊技が開始されるまで複数の処理を繰り返し実行する遊技開始待ち処理を含み、遊技開始待ち処理では、メダル投入処理及び操作入力受付処理を含む複数の処理を繰り返し実行する構成である。 The slot machine 1 of the present embodiment can execute the main process, which is a basic process for advancing the process step by step, and the main process is the operation of the start switch 7 with the operation reception of the start switch 7 enabled. Includes a game start waiting process that repeatedly executes a plurality of processes until the game is started by detecting Is.

本実施例のスロットマシン1は、メダル投入処理を実行可能であり、当該メダル投入処理では、投入メダルセンサ31a〜31cによるメダルの検出状態の遷移を取得し、取得したメダルの検出状態の遷移が正常と判定した場合に賭数またはクレジットを加算する処理を行う構成である。 The slot machine 1 of the present embodiment can execute the medal insertion process, and in the medal insertion process, the transition of the medal detection state by the insertion medal sensors 31a to 31c is acquired, and the transition of the acquired medal detection state is obtained. It is a configuration in which a process of adding a bet number or a credit is performed when it is determined to be normal.

本実施例のスロットマシン1は、メダル投入信号処理を実行可能であり、メダル投入信号処理は、メダル投入処理を含み、当該メダル投入処理では、既に設定されている設定済みの賭数(投入済みメダル枚数)を取得し、取得した設定済み賭数に基づいて賭数を加算可能か否かを判定し、賭数が規定数に達しておらず賭数を加算可能であると判定された場合に賭数を加算するメダル投入実行処理を行い、賭数を加算可能でないと判定された場合にクレジットを加算する処理を行う構成である。 The slot machine 1 of the present embodiment can execute the medal insertion signal processing, the medal insertion signal processing includes the medal insertion processing, and the set bet number (inserted) already set in the medal insertion processing. (Number of medals) is acquired, and it is determined whether or not the number of bets can be added based on the acquired set number of bets, and when it is determined that the number of bets has not reached the specified number and the number of bets can be added. This is a configuration in which a medal insertion execution process for adding the number of bets is performed, and a process for adding credits is performed when it is determined that the number of bets cannot be added.

本実施例のスロットマシン1は、操作入力受付処理を実行可能であり、当該操作入力受付処理では、メダル投入信号状態遷移データに基づいて投入メダルセンサ31a〜31cによりメダルの投入(通過)が検出されているか否かを判定し、メダルの投入が検出されていないと判定された場合には、MAXBETスイッチ6の操作が有効である旨を示すMAXBETスイッチ受付有効フラグを設定し、メダルの投入が検出されていると判定された場合には、MAXBETスイッチ受付有効フラグを設定せず、MAXBETスイッチ受付有効フラグが設定されている場合に、MAXBETスイッチ6が操作されているか否かを判定し、MAXBETスイッチ6が操作されていると判定された場合に、クレジットを減算し、賭数を加算する処理を行う構成である。 The slot machine 1 of the present embodiment can execute the operation input reception process, and in the operation input reception process, the insertion (passage) of medals is detected by the insertion medal sensors 31a to 31c based on the medal insertion signal state transition data. If it is determined whether or not the medal has been inserted and it is determined that the medal insertion has not been detected, the MAXBET switch reception valid flag indicating that the operation of the MAXBET switch 6 is valid is set, and the medal insertion is performed. If it is determined that the MAXBET switch has been detected, the MAXBET switch reception valid flag is not set, and if the MAXBET switch reception valid flag is set, it is determined whether or not the MAXBET switch 6 is operated, and the MAXBET switch 6 is operated. When it is determined that the switch 6 is operated, the credit is subtracted and the number of bets is added.

この構成によれば、投入メダルセンサ31a〜31cによりメダルの投入が検出されている場合に、MAXBETスイッチ6が操作されていても当該操作が有効とならないため、メダルの投入が検出されている状況で操作入力受付処理においてクレジットを減算し、賭数を加算するメダル投入実行処理が行われてしまうことがない。 According to this configuration, when the insertion of medals is detected by the insertion medal sensors 31a to 31c, the operation is not effective even if the MAXBET switch 6 is operated, so that the insertion of medals is detected. In the operation input reception process, the medal insertion execution process of subtracting credits and adding the number of bets is not performed.

本実施例のスロットマシン1は、メダル投入信号処理では、既に設定されている設定済み賭数を取得し、取得した設定済み賭数に基づいて賭数を加算可能か否かを判定し、賭数を加算可能であると判定された場合に賭数を加算する第1賭数加算処理を行い、操作入力受付処理では、MAXBETスイッチ受付有効フラグが設定されている場合に、MAXBETスイッチ6が操作されているか否かを判定し、当該MAXBETスイッチ6が操作されていると判定された場合に、クレジットを減算し、賭数を加算する第2賭数加算処理を行うことが可能な構成であり、第1賭数加算処理または第2賭数加算処理では、設定済み賭数に加算後の賭数を設定し、加算後の賭数を特定可能な投入枚数コマンドを作成する処理を行う構成である。 In the medal insertion signal processing, the slot machine 1 of the present embodiment acquires the already set set bet number, determines whether or not the bet number can be added based on the acquired set bet number, and bets. When it is determined that the number can be added, the first bet number addition process for adding the bet number is performed, and in the operation input acceptance process, the MAXBET switch 6 is operated when the MAXBET switch acceptance valid flag is set. It is possible to perform a second bet number addition process of subtracting credits and adding bets when it is determined that the MAXBET switch 6 is being operated. , In the first bet number addition process or the second bet number addition process, the bet number after addition is set in the set bet number, and the input number command that can specify the bet number after addition is created. be.

本実施例のスロットマシン1は、メダル投入信号処理では、既に設定されている設定済み賭数を取得し、取得した設定済み賭数に基づいて賭数を加算可能か否かを判定し、賭数を加算可能であると判定された場合に賭数を加算する第1賭数加算処理を行い、操作入力受付処理では、MAXBETスイッチ受付有効フラグが設定されている場合に、MAXBETスイッチ6が操作されているか否かを判定し、当該MAXBETスイッチ6が操作されていると判定された場合に、クレジットを減算し、賭数を加算する第2賭数加算処理を行うことが可能な構成であり、メダル投入信号処理または操作入力受付処理では、第1賭数加算処理または第2賭数加算処理を行った後、第1賭数加算処理または第2賭数加算処理で作成された投入枚数コマンドをサブ制御部91に対して送信するためのコマンドキューに設定する通信データ格納処理を行う構成である。 In the medal insertion signal processing, the slot machine 1 of the present embodiment acquires the already set set bet number, determines whether or not the bet number can be added based on the acquired set bet number, and bets. When it is determined that the number can be added, the first bet number addition process for adding the bet number is performed, and in the operation input acceptance process, the MAXBET switch 6 is operated when the MAXBET switch acceptance valid flag is set. It is possible to perform a second bet number addition process of subtracting credits and adding bets when it is determined that the MAXBET switch 6 is being operated. , In the medal insertion signal processing or operation input reception processing, after performing the first bet number addition process or the second bet number addition process, the input number command created by the first bet number addition process or the second bet number addition process. Is configured to perform communication data storage processing set in the command queue for transmitting to the sub-control unit 91.

本実施例のスロットマシン1は、メダル投入信号処理または操作入力受付処理では、メダル投入時処理を実行可能であり、当該メダル投入時処理において、通信データ格納処理を行った後、投入枚数LEDオフデータを1〜3BETLED14〜16の出力バッファに設定することで、設定されている賭数を1〜3BETLED14〜16に表示させるための投入枚数LED表示データを一旦消去し、設定済み賭数として新たに設定された賭数を表示させるための投入枚数LED表示データを1〜3BETLED14〜16の出力バッファに設定する構成である。 In the slot machine 1 of this embodiment, the medal insertion signal processing or the operation input reception processing can execute the medal insertion time processing, and in the medal insertion time processing, after the communication data storage processing is performed, the insertion number LED is turned off. By setting the data in the output buffers of 1 to 3 BETLEDs 14 to 16, the input number LED display data for displaying the set bet number on the 1 to 3 BETLEDs 14 to 16 is temporarily erased, and a new bet number is set as the set bet number. The input number LED display data for displaying the set bet number is set in the output buffers of 1 to 3 BETLEDs 14 to 16.

尚、本実施例では、メダル投入時処理において、投入枚数LEDオフデータを1〜3BETLED14〜16の出力バッファに設定することで、投入枚数LED表示データを一旦消去した後、直ぐに、新たな投入枚数LED表示データを当該出力バッファに設定する構成であるが、メダル投入時処理において、投入枚数LEDオフデータを1〜3BETLED14〜16の出力バッファに設定することで、投入枚数LED表示データを一旦消去した後、タイマ割込処理が少なくとも1回行われて、投入枚数LEDオフデータに基づいて1〜3BETLED14〜16の表示態様が一旦非表示態様(消灯態様)に制御されてから、新たな投入枚数LED表示データを当該出力バッファに設定する構成でも良い。このような構成とすることで、賭数が更新される際に、1〜3BETLED14〜16が非表示態様となり、その後、新たな賭数に対応する1〜3BETLED14〜16が表示態様(点灯態様)となるので、賭数が更新がされた旨を遊技者等に認識させることができる。 In this embodiment, by setting the inserted number LED off data in the output buffers of 1 to 3 BETLEDs 14 to 16 in the medal insertion process, the inserted number LED display data is once erased, and then a new inserted number is immediately inserted. The LED display data is set in the output buffer. However, in the medal insertion process, the number of inserted LED display data is temporarily erased by setting the inserted number LED off data in the output buffers of 1 to 3 BETLEDs 14 to 16. After that, the timer interrupt process is performed at least once, and the display modes of 1 to 3 BETLEDs 14 to 16 are once controlled to the non-display mode (light-off mode) based on the input number LED off data, and then a new input number LED The display data may be set in the output buffer. With such a configuration, when the bet number is updated, the 1st to 3rd BETLEDs 14 to 16 are hidden, and then the 1st to 3rd BETLEDs 14 to 16 corresponding to the new bet number are displayed (lighting mode). Therefore, it is possible to make the player or the like recognize that the number of bets has been updated.

[作用効果について2]
従来のスロットマシンとして、上限の賭数が設定されている状態で、かつクレジットも上限に到達するか、クレジットが上限に到達している状態で、かつ賭数が上限に到達すると、メダルの投入を受け付けないように構成されたものがある。
[About action and effect 2]
As a conventional slot machine, when the maximum number of bets is set and the credit reaches the upper limit, or when the credit reaches the upper limit and the number of bets reaches the upper limit, a medal is inserted. Some are configured not to accept.

このような構成では、メダルが投入可能か否かを判断するにあたり、クレジットが上限に到達しているか、賭数が上限に到達しているか、をそれぞれ判断する必要がある。 In such a configuration, in determining whether or not a medal can be inserted, it is necessary to determine whether the credit has reached the upper limit and whether the number of bets has reached the upper limit.

これに対して、本実施例のスロットマシン1は、遊技の制御を行うメイン制御部41と、遊技媒体であるメダルの投入を検出する投入メダルセンサ31a〜31cと、を備え、メイン制御部41は、遊技者所有のクレジットを記憶するRAM41cと、メダルの投入が検出されたことに基づいて賭数またはクレジットを加算するメダル投入処理と、メダルの投入が可能であるか否かを判定するメダル投入信号処理と、メダルの投入が可能でないと判定された場合にメダルの投入を禁止するメダルブロッカオフ処理と、を含む処理を実行可能であり、遊技状態に応じて設定可能な賭数の上限値(規定値)が異なり、メダル投入信号処理では、投入状況判定処理において最大投入枚数セット処理を実行して現在の遊技状態に応じて設定可能な賭数の上限値を取得し、また投入状況判定処理において、取得した賭数の上限値とクレジットの上限値(本実施例では、50)とにより算出された判定値(判定用枚数)と、設定済みの賭数と記憶されている現在のクレジットとにより算出された実数値(現在枚数)と、を比較した結果を補正して設定される投入状況判定用値に基づいて、投入メダルセンサ31a〜31cにより現在検出されているメダルが賭数またはクレジットに加算可能な最終メダルであるか否かを判定することで、メダルの投入が可能であるか否かを判定する構成である。 On the other hand, the slot machine 1 of the present embodiment includes a main control unit 41 that controls the game, and insertion medal sensors 31a to 31c that detect the insertion of medals that are game media, and the main control unit 41. Is a RAM 41c that stores the credits owned by the player, a medal insertion process that adds the number of bets or credits based on the detection of the insertion of medals, and a medal that determines whether or not the insertion of medals is possible. Processing including insertion signal processing and medal blocker off processing that prohibits insertion of medals when it is determined that insertion of medals is not possible can be executed, and the upper limit of the number of bets that can be set according to the gaming state can be executed. The value (specified value) is different, and in the medal insertion signal processing, the maximum insertion number set processing is executed in the insertion status determination processing to acquire the upper limit of the number of bets that can be set according to the current gaming state, and the insertion status is also obtained. In the judgment process, the judgment value (number of judgments) calculated by the upper limit of the acquired bet number and the upper limit of the credit (50 in this embodiment), and the set number of bets are stored as the current number of bets. The number of medals currently detected by the inserted medal sensors 31a to 31c is the number of bets based on the input status determination value set by correcting the result of comparing the real value (current number) calculated by the credit. Alternatively, by determining whether or not the final medal can be added to the credit, it is determined whether or not the medal can be inserted.

この構成によれば、投入状況判定処理において、賭数の上限値(規定数)とクレジットの上限値とにより算出された判定値(判定用枚数)と、設定済みの賭数と記憶されているクレジットとにより算出された実数値(現在枚数)と、を比較した結果に基づく値によりメダルの投入が可能であるか否かが判定されるので、賭数の上限値と設定済み賭数の比較、クレジットの上限値と現在のクレジットの比較を別個に行う必要がなく、また、現在の遊技状態に応じて設定可能な賭数の上限値を取得し、取得した賭数の上限値に基づいて判定値が算出されるため、遊技状態に応じて設定可能な賭数の上限値が変化する場合でも、メダルの投入が可能であるか否かの判定を簡素に行うことができる。 According to this configuration, in the input status determination process, the determination value (determination number) calculated by the upper limit value (specified number) of the bet number and the upper limit value of the credit, and the set bet number are stored. Since it is judged whether or not it is possible to insert a medal based on the value based on the result of comparing the real value (current number) calculated by the credit, the comparison between the upper limit of the number of bets and the set number of bets. , It is not necessary to compare the credit upper limit and the current credit separately, and the upper limit of the number of bets that can be set according to the current playing state is acquired, and based on the upper limit of the acquired bets. Since the determination value is calculated, it is possible to simply determine whether or not the medal can be inserted even when the upper limit of the number of bets that can be set changes according to the game state.

本実施例のスロットマシン1は、メダル投入信号処理において投入状況判定処理を実行可能であり、当該投入状況判定処理は、現在の遊技状態に応じて設定可能な賭数の上限値を設定する最大投入枚数セット処理を含み、当該最大投入枚数セット処理により設定された賭数の上限値を用いて演算することにより投入状況判定値を算出するとともに、最大投入枚数セット処理は、最初に滞在率の最も高い通常状態(BBに制御されていない遊技状態)において設定可能な賭数の上限値(本実施例では、3)を設定した後、通常状態でなくBBに制御されている特別状態(第2状態)であるか否かを判定し、特別状態であると判定された場合には、当該特別状態において設定可能な賭数の上限値(本実施例では、2)を設定する構成である。 The slot machine 1 of the present embodiment can execute the insertion status determination processing in the medal insertion signal processing, and the insertion status determination processing sets the maximum value of the number of bets that can be set according to the current gaming state. The input status judgment value is calculated by calculating using the upper limit of the number of bets set by the maximum input number set process including the input number set process, and the maximum input number set process first determines the stay rate. After setting the upper limit of the number of bets that can be set in the highest normal state (game state that is not controlled by BB) (3 in this embodiment), a special state that is controlled by BB instead of the normal state (first state). 2 states) is determined, and if it is determined to be a special state, the upper limit of the number of bets that can be set in the special state (2 in this embodiment) is set. ..

この構成によれば、最大投入枚数セット処理では、最初に滞在率の最も高い通常状態において設定可能な賭数の上限値が設定されるので、賭数の上限値を設定し直す頻度を低くできる。 According to this configuration, in the maximum input number setting process, the upper limit of the number of bets that can be set in the normal state with the highest stay rate is first set, so that the frequency of resetting the upper limit of the number of bets can be reduced. ..

本実施例のスロットマシン1は、遊技開始待ち処理、投入状況判定処理、最大投入枚数セット処理を含む処理を実行可能であり、投入状況判定処理は、最大投入枚数セット処理により設定される賭数の上限値を用いて投入状況判定用値を算出する構成であり、遊技開始待ち処理は、遊技状態が通常状態であるときにおいて賭数として複数種類の規定数(本実施例では、1または3)のうちいずれの規定数のメダルが設定されていても遊技を開始可能とし、最大投入枚数セット処理は、遊技状態が特別状態であるか否かを判定する前に、RAM41cの所定領域に再遊技中フラグが設定されているか否かに基づいて、前回の遊技において再遊技の付与を伴う再遊技入賞が発生したか否かを判定して、再遊技中フラグが設定されており、前回の遊技において再遊技入賞が発生したと判定された場合には、前回の遊技において設定された賭数を、当該最大投入枚数セット処理が行われているときの賭数の上限値として設定する構成である。 The slot machine 1 of the present embodiment can execute a process including a game start waiting process, an input status determination process, and a maximum input number set process, and the input status determination process is a bet number set by the maximum input number set process. The input status determination value is calculated using the upper limit value of, and the game start waiting process is a predetermined number of a plurality of types (1 or 3 in this embodiment) as the number of bets when the game state is the normal state. ), Whichever of the specified number of medals is set, the game can be started, and the maximum input number setting process is re-established in the predetermined area of the RAM 41c before determining whether or not the game state is a special state. Based on whether or not the in-game flag is set, it is determined whether or not a re-gambling prize with the granting of the re-gambling has occurred in the previous game, and the re-gambling flag is set, and the previous game is set. When it is determined that a re-game winning has occurred in the game, the number of bets set in the previous game is set as the upper limit of the number of bets when the maximum input number setting process is performed. be.

この構成によれば、最大投入枚数セット処理により、複数種類の規定数のうちいずれの規定数が設定されていても遊技を開始可能となる通常状態において再遊技入賞が発生した場合でも、正確に賭数の上限値が設定されるので、投入状況判定処理において投入状況判定用値を正確に算出することができる。 According to this configuration, even if a re-game winning occurs in a normal state where the game can be started regardless of which of the specified numbers of the plurality of types is set by the maximum input number setting process, it is accurate. Since the upper limit of the number of bets is set, the input status determination value can be accurately calculated in the input status determination process.

本実施例のスロットマシン1は、メダル投入信号処理を実行可能であり、当該投入状況判定処理は、投入状況判定処理を呼び出して実行することで、現在の遊技状態に応じて設定可能な賭数の上限値(規定数)とクレジットの上限値とを加算して1を減算することで判定値(判定用枚数)を算出するとともに、設定済みの賭数と記憶されているクレジットとを加算した値を実数値(現在枚数)として算出し、実数値から判定値を減算した値を投入状況判定用値として算出させ、メダル投入信号状態遷移データに基づいて投入メダルセンサ31a〜31cによりメダルの投入が検出されている場合には、投入状況判定用値が0であるとき、すなわち実数値が判定値と一致するときにメダルの投入が可能でないと判定する構成である。 The slot machine 1 of the present embodiment can execute the medal insertion signal processing, and the insertion status determination processing can be set according to the current gaming state by calling and executing the insertion status determination processing. The judgment value (number of judgments) was calculated by adding the upper limit (specified number) of and the upper limit of credits and subtracting 1, and the set number of bets and the stored credits were added. The value is calculated as a real value (current number of sheets), the value obtained by subtracting the judgment value from the real value is calculated as the value for determining the insertion status, and the insertion medals are inserted by the insertion medal sensors 31a to 31c based on the medal insertion signal state transition data. When is detected, it is determined that the medal cannot be inserted when the insertion status determination value is 0, that is, when the real value matches the determination value.

この構成によれば、メダル体の投入が検出されており、メダルがあと1投入されると賭数もクレジットも上限値に到達するときには、その時点でメダルの投入が可能でないと判定され、メダルの投入が禁止されるので、メダルの禁止が遅れることによりメダルが飲み込まれてしまうことを防止できる。 According to this configuration, the insertion of a medal body is detected, and when one more medal is inserted and the number of bets and the credit reach the upper limit, it is determined that the medal cannot be inserted at that time, and the medal is inserted. Since the insertion of medals is prohibited, it is possible to prevent the medals from being swallowed due to the delay in the prohibition of medals.

本実施例のスロットマシン1は、メダル投入信号処理において、メダルの投入が可能であると判定された場合にメダルの投入を許可するメダル手入れ許可設定処理を実行可能であり、メダル手入れ許可設定処理は、投入状況判定処理を呼び出して実行し、当該投入状況判定処理により、設定済みの賭数と記憶されているクレジットとを加算することで算出される実数値(現在枚数)から、現在の遊技状態に応じて設定可能な賭数の上限値(規定数)とクレジットの上限値とを加算して1を減算することで算出される判定値(判定用枚数)を、減算することで投入状況判定用値を算出し、当該投入状況判定用値を1減算して補正した値が0でないとき、すなわち補正した値に基づいて実数値と判定値とが一致しないときにメダルの投入が可能であると判定する構成である。 The slot machine 1 of the present embodiment can execute the medal care permission setting process for permitting the insertion of medals when it is determined in the medal insertion signal processing that the medal can be inserted, and the medal care permission setting process. Calls and executes the input status determination process, and from the real value (current number) calculated by adding the set bet number and the stored credit by the input status determination process, the current game The input status by subtracting the judgment value (number of judgments) calculated by adding the upper limit of the number of bets (specified number) and the upper limit of credits that can be set according to the state and subtracting 1. It is possible to insert a medal when the judgment value is calculated and the value corrected by subtracting 1 from the insertion status judgment value is not 0, that is, when the real value and the judgment value do not match based on the corrected value. It is a configuration that determines that there is.

この構成によれば、メダル投入信号処理においてメダルブロッカオフ処理を行ってメダルの投入を禁止する場合にも、メダル投入信号処理においてメダル手入れ許可設定処理を行ってメダルの投入を許可する場合にも、共通の方法で算出された投入状況判定用値を用いることができる。 According to this configuration, the medal blocker off processing is performed in the medal insertion signal processing to prohibit the insertion of medals, and the medal maintenance permission setting processing is performed in the medal insertion signal processing to permit the insertion of medals. , The input status determination value calculated by a common method can be used.

尚、本実施例では、メダル手入れ許可設定処理では、投入状況判定処理において実数値(現在枚数)から判定値(判定用枚数)を減算することで算出された投入状況判定用値を、補正(1減算)し、補正した投入状況判定用値に基づいてメダルの投入が可能であるか否かを判定する構成であるが、投入状況判定処理において実数値(現在枚数)を補正(1減算)し、補正した実数値(現在枚数)から判定値(判定用枚数)を減算することで算出された投入状況判定用値に基づいてメダルの投入が可能であるか否かを判定する構成でも良いし、投入状況判定処理において判定値(判定用枚数)を補正(1加算)し、実数値(現在枚数)から補正した判定値(判定用枚数)を減算することで算出された投入状況判定用値に基づいてメダルの投入が可能であるか否かを判定する構成でも良い。 In this embodiment, in the medal care permission setting process, the insertion status determination value calculated by subtracting the determination value (judgment number) from the real value (current number) in the insertion status determination process is corrected ( It is configured to determine whether or not it is possible to insert a medal based on the corrected insertion status determination value (1 subtraction), but the real value (current number) is corrected (1 subtraction) in the insertion status determination process. However, it may be configured to determine whether or not it is possible to insert medals based on the insertion status determination value calculated by subtracting the determination value (determination number) from the corrected real value (current number). Then, in the input status determination process, the determination value (number of sheets for determination) is corrected (added by 1), and the corrected determination value (number of sheets for determination) is subtracted from the real value (current number of sheets) for the input status determination. It may be configured to determine whether or not it is possible to insert a medal based on the value.

また、本実施例では、メダル手入れ許可設定処理では、メダル投入信号処理においてメダルブロッカオフ処理を行ってメダルの投入を禁止する際に実行する投入状況判定処理を実行し、当該投入状況判定処理により算出される投入状況判定値の補正値に基づいて、メダルの投入が可能であるか否かを判定する構成、すなわちメダル手入れ許可設定処理とメダル投入信号処理において共通の投入状況判定値に基づいてメダルの投入が可能であるか否かを判定する構成であるが、メダル手入れ許可設定処理とメダル投入信号処理とでそれぞれ別々の計算方法により算出された判定用の値に基づいてメダルの投入が可能であるか否かを判定する構成でも良い。 Further, in the present embodiment, in the medal care permission setting process, the medal blocker off process is executed in the medal insertion signal processing to execute the insertion status determination process executed when the insertion of medals is prohibited, and the insertion status determination process is performed. Based on the corrected value of the calculated insertion status judgment value, the configuration for determining whether or not the medal can be inserted, that is, based on the common insertion status judgment value in the medal care permission setting process and the medal insertion signal process. It is configured to judge whether or not it is possible to insert medals, but medals can be inserted based on the judgment values calculated by different calculation methods for the medal care permission setting process and the medal insertion signal process. It may be configured to determine whether or not it is possible.

[作用効果について3]
従来の遊技機では、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、がそれぞれ別個にROMに割り当てられた構成のものがある。このような構成では、非遊技プログラムにおいてメダルの通過の不正を検知しているが、遊技プログラムにおいては投入されたメダルの通過のみを判定しているため、非遊技プログラムが正常に動作しなかった場合に、不正が行われていてもメダルの通過が判定されてしまう虞がある。
[About action and effect 3]
In the conventional gaming machine, a game program area in which a game program related to the progress of the game is stored and a non-game program area in which a non-game program not related to the progress of the game is stored are separately assigned to the ROM. There is a configuration. In such a configuration, the non-game program detects fraudulent passage of medals, but the game program determines only the passage of inserted medals, so the non-game program does not operate normally. In that case, there is a risk that the passage of the medal will be determined even if the fraud is performed.

これに対して、本実施例の遊技機であるスロットマシン1は、プログラムを記憶可能な記憶領域を有するROM41bと、当該ROM41bに記憶されたプログラムに基づいて制御を行うメイン制御部41と、を備え、ROM41bの記憶領域は、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、を含み、遊技プログラムにおいて第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であること、すなわち入力データがON状態からOFF状態に変化したことが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、非遊技プログラムにおいて第2条件として、投入メダルセンサ31a〜31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行い、遊技プログラムでは、第1検出処理及び第2検出処理の双方で遊技媒体の通過が検出されたときに賭け数及びクレジットに加算する遊技媒体が通過したことを判定する構成である。 On the other hand, the slot machine 1 which is the gaming machine of the present embodiment has a ROM 41b having a storage area capable of storing a program and a main control unit 41 which controls based on the program stored in the ROM 41b. The storage area of the ROM 41b is a game program area in which a game program related to the progress of the game is stored, and a non-game program area in which a non-game program not related to the progress of the game is stored, which is a program called by the game program. As the first condition in the game program, the confirmation data of the input medal sensor 31b or 31c is in the ON state, and the input data is in the OFF state, that is, the input data has changed from the ON state to the OFF state. When the fact is established, the first detection process (medal insertion signal processing) for detecting the passage of the medal, which is the game medium, is performed, and as the second condition in the non-game program, based on the detection state of the insertion medal sensors 31a to 31c. The passage of the medal, which is the game medium, is detected when it is established that the medal insertion signal state transition data specified in the above is normal and the confirmation data of the insertion medal sensor 31b or 31c has changed from the ON state to the OFF state. The second detection process (medal sensor check process) is performed, and in the game program, when the passage of the game medium is detected in both the first detection process and the second detection process, the game medium to be added to the bet number and the credit is passed. It is a configuration that determines what has been done.

このような構成では、遊技の進行に係る遊技プログラムが記憶される遊技プログラム領域と、遊技プログラムによって呼び出されるプログラムであり、遊技の進行に係わらない非遊技プログラムが記憶される非遊技プログラム領域と、が別個に割り当てられた構成において、遊技プログラムにおいて第1条件が成立することで遊技媒体の通過を検出する第1検出処理、及び遊技プログラムにおいて第2条件が成立することで遊技媒体の通過を検出する第2検出処理の双方で遊技媒体の通過が検出されたときに遊技媒体の通過を判定するので、遊技プログラムの容量を増やすことなく、遊技媒体の通過を適切に判定することができる。 In such a configuration, a game program area in which a game program related to the progress of the game is stored, a non-game program area in which a non-game program that is a program called by the game program and is not related to the progress of the game is stored, and a non-game program area. Is separately assigned, the first detection process for detecting the passage of the game medium when the first condition is satisfied in the game program, and the detection of the passage of the game medium when the second condition is satisfied in the game program. Since the passage of the game medium is determined when the passage of the game medium is detected in both of the second detection processes, the passage of the game medium can be appropriately determined without increasing the capacity of the game program.

本実施例のスロットマシン1は、第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であることが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、第2条件として、投入メダルセンサ31a〜31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第2条件は、第1条件よりも多くの情報を含むメダル投入信号の状態遷移に基づいて成立する構成である。このような構成では、遊技プログラムの容量を増やすことなく、遊技媒体の通過に係る不正を排除することができる。 In the slot machine 1 of the present embodiment, as the first condition, it is established that the confirmation data of the input medal sensor 31b or 31c is in the ON state and the input data is in the OFF state. The first detection process (medal insertion signal processing) for detecting the passage is performed, and as the second condition, the medal insertion signal state transition data specified based on the detection states of the insertion medal sensors 31a to 31c is normal and insertion. The second detection process (medal sensor check process) for detecting the passage of the medal, which is the game medium, is performed when the confirmation data of the medal sensor 31b or 31c is changed from the ON state to the OFF state. The two conditions are configured to be satisfied based on the state transition of the medal insertion signal containing more information than the first condition. With such a configuration, it is possible to eliminate fraud related to the passage of the game medium without increasing the capacity of the game program.

本実施例のスロットマシン1は、非遊技プログラムであるメダルセンサチェック処理において、第2条件として、投入メダルセンサ31a〜31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第2検出処理により遊技媒体の通過が正常に検出されなかったときに異常と判定して、メダル関連エラー参照データ(E5)を設定する構成である。このような構成では、遊技プログラムの容量を増やすことなく、遊技媒体の通過に係る不正を検知することができる。 In the slot machine 1 of this embodiment, in the medal sensor check process, which is a non-game program, the medal insertion signal state transition data specified based on the detection states of the insertion medal sensors 31a to 31c is normal as the second condition. In addition, the second detection process (medal sensor check process) for detecting the passage of the medal, which is the game medium, is performed when the confirmation data of the inserted medal sensor 31b or 31c is changed from the ON state to the OFF state. There is a configuration in which, when the passage of the game medium is not normally detected by the second detection process, it is determined as abnormal and the medal-related error reference data (E5) is set. With such a configuration, fraud related to the passage of the game medium can be detected without increasing the capacity of the game program.

本実施例のスロットマシン1は、第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であることが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、第2条件として、投入メダルセンサ31a〜31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第1検出処理及び第2検出処理において、共通の投入メダルセンサ31a〜31cを用いて遊技媒体の通過を検出する構成である。このような構成では、共通のセンサを対象として遊技プログラムと非遊技プログラムの双方で遊技媒体の通過を検出するため、遊技プログラムの容量を増やすことなく、遊技媒体の通過を適切に判定することができる。 In the slot machine 1 of the present embodiment, as the first condition, it is established that the confirmation data of the input medal sensor 31b or 31c is in the ON state and the input data is in the OFF state. The first detection process (medal insertion signal processing) for detecting the passage is performed, and as the second condition, the medal insertion signal state transition data specified based on the detection states of the insertion medal sensors 31a to 31c is normal and insertion. The second detection process (medal sensor check process) for detecting the passage of the medal, which is the game medium, is performed when the confirmation data of the medal sensor 31b or 31c is changed from the ON state to the OFF state. In the first detection process and the second detection process, the passage of the game medium is detected by using the common input medal sensors 31a to 31c. In such a configuration, since the passage of the game medium is detected in both the game program and the non-game program by targeting a common sensor, it is possible to appropriately determine the passage of the game medium without increasing the capacity of the game program. can.

本実施例のスロットマシン1は、一定期間毎に定期処理を実行するタイマ割込み処理(メイン)により、投入メダルセンサ31a〜31cの検出状態を取得可能であり、第1条件として、投入メダルセンサ31bまたは31cの確定データがON状態であり、かつ入力データがOFF状態であることが成立することで、遊技媒体であるメダルの通過を検出する第1検出処理(メダル投入信号処理)を行い、第2条件として、投入メダルセンサ31a〜31cの検出状態に基づいて特定されるメダル投入信号状態遷移データが正常であり、かつ投入メダルセンサ31bまたは31cの確定データがON状態からOFF状態に変化したことが成立することで遊技媒体であるメダルの通過を検出する第2検出処理(メダルセンサチェック処理)を行う構成であり、第1検出処理及び第2検出処理では、同じタイマ割込み処理(メイン)にて取得された投入メダルセンサ31a〜31cの検出状態を用いて遊技媒体の通過を検出する構成である。このような構成では、同じタイマ割込み処理(メイン)にて取得した投入メダルセンサ31a〜31cの検出状態を用いて遊技プログラムと非遊技プログラムの双方で遊技媒体の通過を検出するため、遊技プログラムの容量を増やすことなく、遊技媒体の通過を適切に判定することができる。 The slot machine 1 of the present embodiment can acquire the detection states of the insertion medal sensors 31a to 31c by the timer interrupt processing (main) that executes the periodic processing at regular intervals, and as the first condition, the insertion medal sensor 31b Alternatively, when it is established that the confirmed data of 31c is in the ON state and the input data is in the OFF state, the first detection process (medal insertion signal processing) for detecting the passage of the medal, which is the game medium, is performed. As two conditions, the medal insertion signal state transition data specified based on the detection states of the insertion medal sensors 31a to 31c is normal, and the confirmation data of the insertion medal sensors 31b or 31c has changed from the ON state to the OFF state. The second detection process (medal sensor check process) for detecting the passage of the medal, which is the game medium, is performed when is satisfied. In the first detection process and the second detection process, the same timer interrupt process (main) is used. The configuration is such that the passage of the game medium is detected by using the detection states of the input medal sensors 31a to 31c acquired in the above steps. In such a configuration, the passage of the game medium is detected in both the game program and the non-game program by using the detection states of the inserted medal sensors 31a to 31c acquired by the same timer interrupt process (main). It is possible to appropriately determine the passage of the game medium without increasing the capacity.

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

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

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

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 control unit 91 Sub control unit

Claims (1)

各々が識別可能な複数種類の識別情報を変動表示可能な可変表示部を備え、
前記可変表示部の変動表示を停止することで表示結果を導出し、該表示結果に応じて入賞が発生可能なスロットマシンにおいて、
規定数の賭数が設定されることで遊技を開始可能とする遊技開始可能化手段と、
遊技媒体の投入を検出する投入検出手段と、
遊技者所有の遊技用価値を記憶する遊技用価値記憶手段と、
遊技者が遊技用価値を用いて賭数を設定する際に操作する賭数設定操作手段と、
投入された遊技媒体が前記投入検出手段の検出範囲を正常に通過したことを判定した場合に賭数を加算する第1処理及び賭数設定操作手段が操作されたことに基づいて遊技用価値を減算し、賭数を加算する第2処理を行う処理手段と、
を備え、
前記処理手段は、前記第2処理において、投入された遊技媒体が前記投入検出手段の検出範囲にあるか否かを判定し、前記検出範囲にないと判定されたことを条件に遊技用価値を減算し、賭数を加算する処理を行うことが可能であり、前記第2処理の開始後、当該第2処理が完了するまで前記第1処理を行わない、スロットマシン。
Equipped with a variable display unit that can variablely display multiple types of identification information that can be identified by each
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.
A game start enabling means that enables a game to be started by setting a specified number of bets,
Input detection means for detecting the input of the game medium,
A game value storage means for storing the game value owned by the player,
The bet number setting operation means that the player operates when setting the bet number using the game value, and
The game value is determined based on the first process of adding the bet number when it is determined that the inserted game medium has normally passed the detection range of the input detection means and the operation of the bet number setting operation means. A processing means for performing a second process of subtracting and adding the number of bets,
With
The processing means, in the second processing, the inserted game media is determined whether the detection range of the closing detection means, a value for a game on condition that it is judged not in the detection range A slot machine that can perform a process of subtracting and adding a bet number, and does not perform the first process until the second process is completed after the start of the second process.
JP2017152369A 2017-08-07 2017-08-07 Slot machine Active JP6929157B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017152369A JP6929157B2 (en) 2017-08-07 2017-08-07 Slot machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017152369A JP6929157B2 (en) 2017-08-07 2017-08-07 Slot machine

Publications (2)

Publication Number Publication Date
JP2019030413A JP2019030413A (en) 2019-02-28
JP6929157B2 true JP6929157B2 (en) 2021-09-01

Family

ID=65523956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017152369A Active JP6929157B2 (en) 2017-08-07 2017-08-07 Slot machine

Country Status (1)

Country Link
JP (1) JP6929157B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019063305A (en) * 2017-10-02 2019-04-25 株式会社三共 Game machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5502797B2 (en) * 2011-04-28 2014-05-28 株式会社三共 Slot machine
JP2015154827A (en) * 2014-02-20 2015-08-27 株式会社オリンピア Game machine
JP6106219B2 (en) * 2015-07-14 2017-03-29 株式会社藤商事 Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019063305A (en) * 2017-10-02 2019-04-25 株式会社三共 Game machine
JP7044509B2 (en) 2017-10-02 2022-03-30 株式会社三共 Slot machine

Also Published As

Publication number Publication date
JP2019030413A (en) 2019-02-28

Similar Documents

Publication Publication Date Title
JP6965081B2 (en) Pachinko machine
JP7114280B2 (en) game machine
JP7057854B2 (en) Pachinko machine
JP4376850B2 (en) Slot machine
JP6654837B2 (en) Gaming machine
JP7237451B2 (en) game machine
JP2017046844A (en) Game machine
JP2004016733A (en) Game machine
JP2008080068A (en) Slot machine
JP5794458B2 (en) Slot machine
JP2007222237A (en) Slot machine
JP2008043390A (en) Slot machine using game balls
JP6929157B2 (en) Slot machine
JP5144082B2 (en) Slot machine
JP2007325737A (en) Slot machine
JP2008188298A (en) Slot machine
JP5039300B2 (en) Slot machine using game balls
JP7044509B2 (en) Slot machine
JP2019030414A (en) Slot machine
JP6792691B2 (en) Game machine
JP4616806B2 (en) Slot machine
JP4790501B2 (en) Slot machine
JP7018266B2 (en) Pachinko machine
JP4616803B2 (en) Slot machine
JP6006816B2 (en) Slot machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210712

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210810

R150 Certificate of patent or registration of utility model

Ref document number: 6929157

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150