JP2016154579A - Pachinko game machine - Google Patents

Pachinko game machine Download PDF

Info

Publication number
JP2016154579A
JP2016154579A JP2015032594A JP2015032594A JP2016154579A JP 2016154579 A JP2016154579 A JP 2016154579A JP 2015032594 A JP2015032594 A JP 2015032594A JP 2015032594 A JP2015032594 A JP 2015032594A JP 2016154579 A JP2016154579 A JP 2016154579A
Authority
JP
Japan
Prior art keywords
random number
value
game
lottery
symbol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015032594A
Other languages
Japanese (ja)
Other versions
JP6492743B2 (en
Inventor
芝野 憲司
Kenji Shibano
憲司 芝野
洋平 小西
Yohei Konishi
洋平 小西
光裕 芥川
Mitsuhiro Akutagawa
光裕 芥川
謙吾 池谷
Kengo Iketani
謙吾 池谷
山本 和典
Kazunori Yamamoto
和典 山本
隆光 浅井
Takamitsu Asai
隆光 浅井
幸男 小野澤
Yukio Onozawa
幸男 小野澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sammy Corp
Original Assignee
Sammy Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sammy Corp filed Critical Sammy Corp
Priority to JP2015032594A priority Critical patent/JP6492743B2/en
Publication of JP2016154579A publication Critical patent/JP2016154579A/en
Application granted granted Critical
Publication of JP6492743B2 publication Critical patent/JP6492743B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a Pachinko game machine capable of appropriately processing various random number generation functions of main control means.SOLUTION: A Pachinko game machine becomes a security mode for performing predetermined security check after initial setting of both of a 16-bit random number and an 8-bit random number, shifts to a user mode via the security mode, executes control start processing, and game progress interrupt processing executed at a predetermined period so as to advance a game, clears error information in the control start processing when the control start processing is started, and completes the security check before voltage is below a value required for operation of a CPU when the voltage is equal to or less than a predetermined value during the security mode.SELECTED DRAWING: Figure 4

Description

本発明は、遊技媒体として遊技球を用いるぱちんこ遊技機に関するものである。   The present invention relates to a pachinko gaming machine that uses a game ball as a game medium.

一般に、ぱちんこ遊技機においては、メイン基板(主制御基板などともいう)と、主制御基板からのコマンドを受信して演出等に係る制御を行うサブ基板(副制御基板などともいう)が備えられている。さらに、メイン基板は、搭載したCPUの機能に基づき、所定の数値範囲で乱数値を発生させ、始動口入賞等の所定のタイミングで乱数値を取得する。そして、メイン基板は、取得した乱数値に基づき、大当り抽選、各種図柄抽選、及び、各種変動パターン抽選などを行う。
特開2014−124346号公報
In general, pachinko machines are provided with a main board (also referred to as a main control board) and a sub board (also referred to as a sub control board) that receives commands from the main control board and performs control related to effects and the like. ing. Further, the main board generates a random value in a predetermined numerical range based on the function of the mounted CPU, and acquires the random value at a predetermined timing such as a start opening prize. Then, the main board performs a jackpot lottery, various symbol lotteries, various variation pattern lotteries, and the like based on the acquired random number value.
JP 2014-124346 A

ところで、上述のようなメイン基板を備えたぱちんこ遊技機においては、多様な乱数値を発生させる機能を備えて、種々の抽選に対し最適な乱数発生機能を選択できるようにすることが望ましい。しかし、ぱちんこ遊技機においては、CPUとして、個々にIDナンバー等の固有情報は異なるが、初期設定や制御機能については共通し、公的な認証を受けたものが用いられている。また、このようなCPUを、複数の遊技機製造業者や、機種が異なる各種の遊技機に、個々に搭載することが行われている。このため、CPUに備えられた各種の乱数発生機能のうちのいずれを使用するかは、機種毎の設計に依存することとなるが、いずれの乱数発生機能を使用する場合についても、ランダム性の確保等の観点から、適正な処理を予め定めておく必要がある。   By the way, in the pachinko gaming machine provided with the main board as described above, it is desirable to provide a function for generating various random numbers so that an optimal random number generation function can be selected for various lotteries. However, in the pachinko gaming machine, although the unique information such as the ID number is different for each CPU, the initial setting and the control function are common and those that have received public authentication are used. In addition, such CPUs are individually installed in a plurality of gaming machine manufacturers and various types of gaming machines of different models. For this reason, which of the various random number generation functions provided in the CPU is to be used depends on the design of each model. Appropriate processing needs to be determined in advance from the viewpoint of securing and the like.

本発明はこうした課題に鑑みてなされたものであり、その目的とするところは、主制御手段の各種の乱数発生機能について適正な処理を行うことが可能なぱちんこ遊技機を提供することにある。   The present invention has been made in view of these problems, and an object of the present invention is to provide a pachinko gaming machine capable of performing appropriate processing for various random number generation functions of a main control means.

上記課題を解決するために本発明は、遊技を司る主制御手段(メインCPUなど)と、
前記主制御手段と通信可能に接続され、前記主制御手段からの演出に係る演出制御指令に応じた制御処理を行う演出制御手段と、を備え、
遊技領域に発射された遊技媒体が前記遊技領域を流下して所定の始動領域(第1始動入賞口、第2始動入賞口など)を通過したことに基づき、前記遊技進行割込み処理において、大当り抽選を行うことが可能であり、
前記大当りとなった場合に通常よりも遊技者に有利な特別遊技を実行するぱちんこ遊技機であり、
前記主制御手段は、
16ビット乱数発生手段(16ビット乱数用の乱数回路など)と、8ビット乱数発生手段(8ビット乱数用の乱数回路)と、を備え、
前記16ビット乱数発生手段、及び、前記8ビット乱数発生手段のうち、前記16ビット乱数発生手段のみを利用するようになっており、
ぱちんこ遊技機の電源投入に伴い、前記16ビット乱数発生手段及び8ビット乱数発生手段の双方の初期設定の後に、所定のセキュリティチェックを行うセキュリティモードとなり、前記セキュリティモードを経てユーザモードへ移行し、制御開始処理と、遊技進行のために所定周期で実行される遊技進行割込み処理とを実行し、
所定のエラーが発生したことが判定された場合には、前記所定のエラーに係るエラー情報(エラーフラグなど)の設定を行い、
ぱちんこ遊技機に供給される電圧が所定値以下となった場合に、電源断となることを示す電源断確認情報の設定を行い、
前記制御開始処理が開始されると、前記制御開始処理において、
前記エラー情報のクリアを行い、
前記電源断確認情報が設定されていることを判定した場合(S30でYESの場合など)に、前記電源断に備える電源断処理(S301〜S307など)を実行し、
前記セキュリティモード中に前記電圧が所定値以下となった場合に、
前記電圧が前記主制御手段の動作に必要な値を下回るまでの間に、前記セキュリティチェックを完了することを特徴とするぱちんこ遊技機である。
In order to solve the above problems, the present invention provides a main control means (main CPU, etc.) for managing the game,
Production control means connected to the main control means so as to be communicable, and performing a control process in accordance with an effect control command related to the effect from the main control means,
In the game progress interruption process, the big hit lottery is based on the fact that the game medium launched into the game area has flowed down the game area and passed through a predetermined start area (first start winning opening, second starting winning opening, etc.) Is possible and
A pachinko gaming machine that executes a special game that is more advantageous to the player than usual when the jackpot is won,
The main control means includes
16-bit random number generation means (such as a random number circuit for 16-bit random numbers) and 8-bit random number generation means (random number circuits for 8-bit random numbers),
Of the 16-bit random number generation means and the 8-bit random number generation means, only the 16-bit random number generation means is used,
With the power-on of the pachinko machine, after the initial setting of both the 16-bit random number generation means and the 8-bit random number generation means, it becomes a security mode for performing a predetermined security check, and transitions to the user mode through the security mode, Execute a control start process and a game progress interrupt process executed at a predetermined cycle for the progress of the game,
When it is determined that a predetermined error has occurred, error information (such as an error flag) related to the predetermined error is set,
When the voltage supplied to the pachinko machine falls below the specified value, set the power-off confirmation information indicating that the power will be turned off.
When the control start process is started, in the control start process,
Clear the error information,
When it is determined that the power-off confirmation information is set (for example, YES in S30), power-off processing (S301 to S307, etc.) in preparation for the power-off is executed.
When the voltage becomes a predetermined value or less during the security mode,
The pachinko gaming machine is characterized in that the security check is completed before the voltage falls below a value necessary for the operation of the main control means.

本発明によれば、始動口の開放に係る演出を有効に行うことが可能なぱちんこ遊技機を提供。   According to the present invention, there is provided a pachinko gaming machine capable of effectively performing an effect relating to opening of a start port.

本発明の一実施例のぱちんこ遊技機の前面側における基本的な構造を示す図である。It is a figure which shows the basic structure in the front side of the pachinko game machine of one Example of this invention. ぱちんこ遊技機の背面側における基本的な構造を示す図である。It is a figure which shows the basic structure in the back side of a pachinko game machine. ぱちんこ遊技機の機能ブロックを示す図である。It is a figure which shows the functional block of a pachinko gaming machine. ぱちんこ遊技機の主要な基板構成を示す説明図である。It is explanatory drawing which shows the main board | substrate structures of a pachinko game machine. メイン基板の基本的な構成を示す説明図である。It is explanatory drawing which shows the basic composition of a main board | substrate. サブメイン基板及びサブサブ基板の機能的構成を示す説明図である。It is explanatory drawing which shows the functional structure of a sub main board | substrate and a sub sub board | substrate. (a)は特別図柄等表示装置を示す説明図、(b1)は演出図柄表示装置における装飾図柄の変動中の表示例を示す説明図、(b2)は同じく装飾図柄の停止中の表示例を示す説明図である。(A) is an explanatory diagram showing a display device such as a special symbol, (b1) is an explanatory diagram showing a display example of a decorative symbol in the effect symbol display device during a change, and (b2) is a display example when the decorative symbol is stopped. It is explanatory drawing shown. 当否判定テーブルを模式的に示す図である。It is a figure which shows typically a success / failure determination table. (a)は第1の抽選に係る図柄判定テーブルを模式的に示す図、(b)は第2の抽選に係る図柄判定テーブルを模式的に示す図(c)ははずれに係る図柄判定テーブルを模式的に示す図である。(A) is a diagram schematically showing a symbol determination table related to the first lottery, (b) is a diagram schematically showing a symbol determination table related to the second lottery, and (c) is a symbol determination table related to a loss. It is a figure shown typically. 変動パターンテーブルを模式的に示す図である。It is a figure which shows a fluctuation pattern table typically. はずれ用の変動パターンテーブルを詳細に示す図である。It is a figure which shows the fluctuation pattern table for detachment in detail. メイン基板における制御開始処理を示すフローチャートである。It is a flowchart which shows the control start process in a main board | substrate. 図12に続く制御開始処理を示すフローチャートである。It is a flowchart which shows the control start process following FIG. メイン基板における遊技進行割込み処理を示すフローチャートである。It is a flowchart which shows the game progress interruption process in a main board | substrate. (a)は初期値乱数更新テーブルを示す図表、(b)は初期値更新型乱数更新テーブルを示す同じく図表である。(A) is a chart showing an initial value random number update table, and (b) is a chart showing an initial value update type random number update table. メイン基板における電源断確認情報設定の処理を示す説明図である。It is explanatory drawing which shows the process of the power-off confirmation information setting in a main board | substrate. メイン基板における電源断所要時間を示す説明図である。It is explanatory drawing which shows the power-supply required time in a main board | substrate. セキュリティモードを示すタイミングチャートである。It is a timing chart which shows security mode.

以下、本発明の一実施例に係る遊技機であるぱちんこ遊技機について説明する。本実施例のぱちんこ遊技機においては、従来にいう第1種ぱちんこ遊技機に相当する遊技が複数混在する。その複数の遊技としての第1の遊技と第2の遊技とが、同時に実行されないよう第2の遊技が優先的に実行される。またこれらの遊技性を両立させるために、本実施例のぱちんこ遊技機は、複数の始動入賞口、複数の特別図柄表示装置、複数の保留ランプ、複数の大入賞口を備える。
<ぱちんこ遊技機の正面構成及びゲーム性の概要>
Hereinafter, a pachinko gaming machine which is a gaming machine according to an embodiment of the present invention will be described. In the pachinko gaming machine of the present embodiment, a plurality of games corresponding to the conventional type 1 pachinko gaming machine are mixed. The second game is preferentially executed so that the first game and the second game as the plurality of games are not executed simultaneously. In order to achieve both of these game characteristics, the pachinko gaming machine according to the present embodiment includes a plurality of start winning openings, a plurality of special symbol display devices, a plurality of holding lamps, and a plurality of large winning openings.
<Summary of front configuration and game characteristics of pachinko machines>

図1は、ぱちんこ遊技機の前面側における基本的な構造を示す。ぱちんこ遊技機10は、主に遊技機枠と遊技盤で構成される。ぱちんこ遊技機10の遊技機枠は、外枠11、前枠12、透明板13、扉14、上球皿15、下球皿16、および発射ハンドル17を含む。外枠11は、開口部分を有し、ぱちんこ遊技機10を設置すべき位置に固定するための枠体である。前枠12は、外枠11の開口部分に整合する枠体であり、図示しないヒンジ機構により外枠11へ開閉可能に取り付けられる。前枠12は、遊技媒体である遊技球を発射する機構や、遊技盤を着脱可能に収容させるための機構、遊技球を誘導または回収するための機構等を含む。   FIG. 1 shows a basic structure on the front side of a pachinko gaming machine. The pachinko gaming machine 10 is mainly composed of a gaming machine frame and a gaming board. The gaming machine frame of the pachinko gaming machine 10 includes an outer frame 11, a front frame 12, a transparent plate 13, a door 14, an upper ball dish 15, a lower ball dish 16, and a launch handle 17. The outer frame 11 has an opening and is a frame for fixing the pachinko gaming machine 10 to a position where it should be installed. The front frame 12 is a frame body that aligns with the opening portion of the outer frame 11, and is attached to the outer frame 11 so as to be opened and closed by a hinge mechanism (not shown). The front frame 12 includes a mechanism for launching a game ball as a game medium, a mechanism for detachably storing a game board, a mechanism for guiding or collecting the game ball, and the like.

透明板13は、ガラスなどにより形成され、扉14により支持される。扉14は、図示しないヒンジ機構により前枠12へ開閉可能に取り付けられる。上球皿15は、皿ユニット200に設けられ、遊技球の貯留、発射レールへの遊技球の送り出し、下球皿16への遊技球の抜き取り等の機構を有する。下球皿16は、同じく皿ユニット200に設けられ、遊技球の貯留、抜き取り等の機構を有する。下球皿16の下方に位置する下部前板18には複数のスピーカ19が設けられており、遊技状態や演出パターンなどに応じたBGMや各種効果音などが出力される。   The transparent plate 13 is made of glass or the like and is supported by the door 14. The door 14 is attached to the front frame 12 so as to be openable and closable by a hinge mechanism (not shown). The upper ball tray 15 is provided in the tray unit 200, and has mechanisms such as storage of game balls, delivery of game balls to the launch rail, and extraction of game balls to the lower ball tray 16. The lower ball tray 16 is also provided in the tray unit 200 and has mechanisms for storing and extracting game balls. The lower front plate 18 positioned below the lower ball tray 16 is provided with a plurality of speakers 19 for outputting BGM, various sound effects, and the like according to the gaming state and effect pattern.

遊技盤50は、扉14の陰に隠れた外レールと内レールにより区画された遊技領域52上に、アウト口58、演出図柄表示装置60、第1始動入賞口62、第2始動入賞口63、センター飾り64、第1大入賞口91、第2大入賞口92、作動口68(本実施例では左作動口68a及び右作動口68bの2つ)、一般入賞口72を含む。さらに遊技領域52には、図示しない多数の遊技釘や風車などの機構が設置される。   The game board 50 has an out port 58, an effect symbol display device 60, a first start winning port 62, and a second starting winning port 63 on a game area 52 defined by an outer rail and an inner rail hidden behind the door 14. , A center ornament 64, a first grand prize winning port 91, a second major prize winning port 92, an operation port 68 (two in this embodiment, a left working port 68a and a right working port 68b), and a general winning port 72. Furthermore, in the game area 52, a number of game nails, windmills, and the like (not shown) are installed.

また、遊技領域52の外における正面から見て左下の部位には、特別図柄等表示装置53(主制御表示装置)が設置されており、この特別図柄等表示装置53には、図7(a)に示すように、第1特別図柄表示装置70、第2特別図柄表示装置71が設けられている。なお、本実施例においては、第1特別図柄表示装置70及び第2特別図柄表示装置71を総称して特別図柄表示装置と称する場合もある。   In addition, a special symbol display device 53 (main control display device) is installed in the lower left part of the game area 52 as viewed from the front, and the special symbol display device 53 is shown in FIG. ), A first special symbol display device 70 and a second special symbol display device 71 are provided. In the present embodiment, the first special symbol display device 70 and the second special symbol display device 71 may be collectively referred to as a special symbol display device.

図1及び図3に示すように、第1始動入賞口62は第1の遊技に対応する始動入賞口として設けられ、第2始動入賞口63は第2の遊技に対応する始動入賞口として設けられる。第1始動入賞口62は、始動入賞検出装置74を備える。始動入賞検出装置74は、第1始動入賞口62への遊技球の入球を検出するセンサであり、入球時にその入球を示す第1始動入賞情報を生成(出力)する。   As shown in FIGS. 1 and 3, the first start winning opening 62 is provided as a starting winning opening corresponding to the first game, and the second starting winning opening 63 is provided as a starting winning opening corresponding to the second game. It is done. The first start winning opening 62 includes a start winning detection device 74. The start winning detection device 74 is a sensor that detects the entrance of a game ball into the first start winning opening 62, and generates (outputs) first start winning information indicating the winning at the time of entering.

第2始動入賞口63は、始動入賞検出装置75と、普通電動役物(所謂「電動チューリップ」。図示略。)と、普通電動役物を開閉させるための普通電動役物ソレノイド76を備える。始動入賞検出装置75は、第2始動入賞口63への遊技球の入球を検出するセンサであり、入球時にその入球を示す第2始動入賞情報を生成(出力)する。普通電動役物ソレノイド76の駆動力により普通電動役物が拡開されると、所謂電チューサポートがされている状態となり、第2始動入賞口63への入球容易性が高まる。   The second start winning opening 63 includes a start winning detection device 75, a normal electric accessory (so-called “electric tulip”, not shown), and a normal electric accessory solenoid 76 for opening and closing the normal electric accessory. The start winning detection device 75 is a sensor that detects the entry of a game ball into the second start winning opening 63, and generates (outputs) second start winning information indicating the winning at the time of entering. When the ordinary electric combination is expanded by the driving force of the ordinary electric combination solenoid 76, a so-called electric chew support is provided, and the ease of entering the second start winning prize port 63 is enhanced.

なお、第2始動入賞口63は第1始動入賞口62の下、すなわち第1始動入賞口62によって遊技球の入球が阻害される位置に設けられる。そのため、普通電動役物が拡開しない間は、第2始動入賞口63への入球は第1始動入賞口62により阻害されることとなり、第2始動入賞口63は入球困難な状態が維持される。したがって、遊技において第2始動入賞口63への入球を狙うためには、普通電動役物を拡開させる必要がある。なお、本実施例では、普通電動役物が拡開された結果、第2始動入賞口63への入球容易性は、第1始動入賞口62への入球容易性よりも高くなっているが、第1遊技と第2遊技の結果得られる利益等に応じて適宜設定すればよく、普通電動役物が拡開していない場合には一切入球しない構造、或いは第1始動入賞口62と同程度の開口巾を有するようにしても良い。   Note that the second start winning opening 63 is provided below the first starting winning opening 62, that is, at a position where the first start winning opening 62 prevents the game ball from entering. Therefore, while the ordinary electric accessory is not expanded, the entry to the second start winning opening 63 is hindered by the first start winning opening 62, and the second start winning opening 63 is in a state where it is difficult to enter the ball. Maintained. Therefore, in order to aim at entering the second start winning opening 63 in the game, it is necessary to expand the ordinary electric accessory. In this embodiment, as a result of the expansion of the ordinary electric accessory, the ease of entering the second start winning opening 63 is higher than the ease of entering the first start winning opening 62. However, what is necessary is just to set suitably according to the profit etc. which are obtained as a result of a 1st game and a 2nd game, and the structure which does not enter at all when a normal electric accessory is not expanded, or the 1st start winning opening 62 You may make it have the same opening width as.

ここで、第2始動入賞口63を拡開により開放する態様には、通常時における開放態様と、後述する特定遊技時における開放態様とがある。これらのうち通常時における開放態様には、例えば0.2秒程度の比較的短い時間で終わる短開放(以下では「ショート開放」と称する場合がある)や、この短開放の開放時間を延長して例えば5秒程度の開放を行う長開放(以下では「ロング開放」と称する場合がある)などがある。また、特定遊技時における開放態様には、例えば5秒程度の開放を行う長開放がある。ここで、以下では、短開放が行われている状態を「短開放状態」と称し、長開放が行われている状態を「長開放状態」と称することが可能である。そして、第2始動入賞口63を開放させるか否かや、どの態様で開放させるかは、普通電動役物に係る普通図柄に係る当り抽選の結果に基づいて決まるが、普通図柄や、普通図柄に係る当り抽選については後述する。   Here, in the aspect which opens the 2nd start winning opening 63 by expansion, there exist the release aspect in normal time, and the open aspect in the time of the specific game mentioned later. Among these, the normal opening mode includes a short opening that ends in a relatively short time of, for example, about 0.2 seconds (hereinafter sometimes referred to as “short opening”), and the opening time of this short opening is extended. For example, there is a long open (for example, sometimes referred to as “long open”) that opens for about 5 seconds. Moreover, in the opening mode at the time of a specific game, for example, there is a long opening that opens for about 5 seconds. Here, in the following, a state in which the short opening is performed can be referred to as a “short opening state”, and a state in which the long opening is performed can be referred to as a “long opening state”. Whether or not the second start winning opening 63 is to be opened and in what mode is determined based on the result of the winning lottery related to the normal symbol related to the ordinary electric accessory. The winning lottery will be described later.

一般入賞口72は、遊技球の入球を検出するための一般入賞検出装置73(図3のブロック図を参照)を複数備える。一般入賞検出装置73は、一般入賞口72への遊技球の入球を検出するセンサであり、入球時にその入球を示す一般入賞情報を生成(出力)する。なお、一般入賞検出装置73は、一般入賞口に対して個々に有しても良いし、複数の一般入賞口72に入球した遊技球を一括して集合、検出しても良く、或いは各一般入賞口の配置位置(上下・左右)や設定される賞球個数(例えば、5個賞球と10個賞球など。)に応じて適宜グループ化して集合、検出しても良い。   The general winning opening 72 includes a plurality of general winning detecting devices 73 (see the block diagram of FIG. 3) for detecting the entering of game balls. The general winning detection device 73 is a sensor that detects the entry of a game ball into the general winning opening 72, and generates (outputs) general winning information indicating the winning at the time of winning. The general winning detection device 73 may be individually provided for the general winning opening, or may collect and detect the game balls that have entered the plurality of general winning openings 72, or Depending on the arrangement position (up / down / left / right) of the general winning opening and the number of prize balls set (for example, 5 prize balls and 10 prize balls), they may be appropriately grouped and detected.

図1に示すように、第1大入賞口91は第1の遊技に対応する大入賞口として設けられ、第2大入賞口92は第2の遊技に対応する大入賞口として設けられる。第1大入賞口91は、遊技球の入球を検出するための入賞検出装置78(図3のブロック図を参照)と、第1大入賞口91を開閉させるための第1の開閉扉(図示略)、及び第1の開閉扉を駆動する大入賞口ソレノイド80を備える。入賞検出装置78は、第1大入賞口91への遊技球の入球を検出するセンサであり、入球時にその入球を示す第1大入賞口入賞情報を生成(出力)する。   As shown in FIG. 1, the first big prize opening 91 is provided as a big prize opening corresponding to the first game, and the second big prize opening 92 is provided as a big prize opening corresponding to the second game. The first grand prize winning port 91 includes a winning detection device 78 (see the block diagram of FIG. 3) for detecting the entrance of a game ball, and a first opening / closing door for opening and closing the first big winning port 91 ( And a special prize opening solenoid 80 for driving the first opening / closing door. The winning detection device 78 is a sensor that detects the entry of a game ball into the first big winning opening 91, and generates (outputs) first big winning opening winning information indicating the winning at the time of winning.

第2大入賞口92は、遊技球の入球を検出するための入賞検出装置79と、第2大入賞口92を開閉させるための第2の開閉扉、及び第2の開閉扉を駆動する大入賞口ソレノイド81を備える。入賞検出装置79は、第2大入賞口92への遊技球の入球を検出するセンサであり、入球時にその入球を示す第2大入賞口入賞情報を生成(出力)する。   The second grand prize opening 92 drives a prize detection device 79 for detecting the entry of a game ball, a second opening / closing door for opening / closing the second big prize opening 92, and the second opening / closing door. A big prize opening solenoid 81 is provided. The winning detection device 79 is a sensor that detects the entry of a game ball into the second grand prize opening 92, and generates (outputs) second grand prize opening winning information indicating the winning at the time of winning.

第1大入賞口91は、第1特別図柄192(図7(a)を参照)が所定の態様にて停止したときに「大当り」として開放状態となる横長方形状の入賞口である。第1大入賞口91はアウト口58の上方の位置に設けられる。第2大入賞口92は、第2特別図柄193が所定の態様にて停止したときに「大当り」として開放状態となる横長方形状の入賞口である。第2大入賞口92はアウト口58の右上方の位置に設けられる。   The first big winning opening 91 is a horizontal rectangular winning opening that is opened as a “big hit” when the first special symbol 192 (see FIG. 7A) stops in a predetermined manner. The first grand prize winning port 91 is provided at a position above the out port 58. The second big winning opening 92 is a horizontal rectangular winning opening that is opened as a “big hit” when the second special symbol 193 stops in a predetermined manner. The second grand prize winning port 92 is provided at a position on the upper right side of the out port 58.

なお、本実施例においては、第1大入賞口91、第2大入賞口92の前方に装飾板91b,92bが各々設けられており、各装飾板には、遊技領域52を装飾するための文字や図形などが描かれている。この装飾板91b,92bには、第1の開閉扉、第2の開閉扉、第1大入賞口91、及び第2大入賞口92を遊技者が視認できるように透明な材質が採用されているが、装飾板91b,92bを不透明としてもよい。また、第1大入賞口91と第2大入賞口92は1の大入賞口(たとえば第1大入賞口91)のみを配置して共通的に利用しても良い。   In this embodiment, decorative plates 91b and 92b are respectively provided in front of the first grand prize winning port 91 and the second grand prize winning port 92, and each decorative plate is used for decorating the game area 52. Characters and figures are drawn. The decorative plates 91b and 92b are made of a transparent material so that the player can visually recognize the first opening / closing door, the second opening / closing door, the first big winning opening 91, and the second big winning opening 92. However, the decorative plates 91b and 92b may be opaque. In addition, the first grand prize winning port 91 and the second grand prize winning port 92 may be used in common by arranging only one grand prize winning port (for example, the first grand prize winning port 91).

遊技領域52の略中央に演出図柄表示装置60が設けられ、その左下方に離れて第1の遊技に対応する第1特別図柄表示装置70と第2の遊技に対応する第2特別図柄表示装置71とが互いに左右に隣接する形で設けられている(図7(a)を参照)。第1特別図柄表示装置70には第1の遊技に対応する第1特別図柄192の変動が表示され、第2特別図柄表示装置71には第2の遊技に対応する第2特別図柄193の変動が表示される。第1特別図柄192は、第1始動入賞口62への遊技球の入球を契機として行われる第1の抽選の結果に対応した図柄であり、その変動表示が所定の当り態様にて停止されたときに大当りが発生し特別遊技(後述する)が実行される。第2特別図柄193は、第2始動入賞口63への遊技球の入球を契機として行われる第2の抽選の結果に対応した図柄であり、その変動表示が所定の当り態様にて停止されたときに大当りが発生し特別遊技(後述する)が実行される。   An effect symbol display device 60 is provided substantially at the center of the game area 52, and a first special symbol display device 70 corresponding to the first game and a second special symbol display device corresponding to the second game are separated to the lower left. 71 are provided adjacent to each other on the left and right (see FIG. 7A). The first special symbol display device 70 displays the variation of the first special symbol 192 corresponding to the first game, and the second special symbol display device 71 displays the variation of the second special symbol 193 corresponding to the second game. Is displayed. The first special symbol 192 is a symbol corresponding to the result of the first lottery performed when the game ball enters the first start winning opening 62, and its variable display is stopped in a predetermined hit state. A big hit occurs and a special game (described later) is executed. The second special symbol 193 is a symbol corresponding to the result of the second lottery performed when the game ball enters the second start winning opening 63, and its variable display is stopped in a predetermined hit mode. A big hit occurs and a special game (described later) is executed.

第1特別図柄表示装置70および第2特別図柄表示装置71は、例えば右下隅にドットが付加された7セグメントLED(7セグメント表示体)で構成される表示手段であり、第1特別図柄192および第2特別図柄193はそれぞれ「0」〜「8」の9種類の数字で表される。なお、図7(a)における第2特別図柄の右側には、特別遊技における単位遊技の回数を示すラウンド数表示装置(図番省略)が2桁の7セグメントLEDとして設けられており、後述する第1又は第2特別遊技の発生に応じて両特別遊技のラウンド数を共用的に表示するようになっている。   The first special symbol display device 70 and the second special symbol display device 71 are display means composed of, for example, a 7-segment LED (7-segment display body) with dots added at the lower right corner. The second special symbol 193 is represented by nine types of numbers “0” to “8”. On the right side of the second special symbol in FIG. 7A, a round number display device (not shown) indicating the number of unit games in the special game is provided as a two-digit 7-segment LED, which will be described later. According to the occurrence of the first or second special game, the number of rounds of both special games is displayed in common.

図7(b1),(b2)に示すように、演出図柄表示装置60の表示領域194には、第1特別図柄192や第2特別図柄193に係る演出に用いられる左の装飾図柄190a、中の装飾図柄190b、右の装飾図柄190cの変動や停止の様子が表示される。さらに、演出図柄表示装置60の表示領域194には、第1特別図柄192や第2特別図柄193に関係する各種の予告表示、演出のための各種のカットイン表示、及び、各種の背景表示なども行われる。演出図柄表示装置60は、たとえば液晶ディスプレイである。装飾図柄190a〜190cは、第1特別図柄192で示される第1の抽選の結果表示または第2特別図柄193で示される第2の抽選の結果表示を視覚的に演出するための図柄である。演出図柄表示装置60は、装飾図柄190a〜190cとして、例えばスロットマシンのゲームを模した複数列の図柄変動の動画像を表示領域194に表示する。   As shown in FIGS. 7B1 and 7B2, in the display area 194 of the effect symbol display device 60, the left decorative symbol 190a used for the effect related to the first special symbol 192 and the second special symbol 193, the middle The decorative pattern 190b and the decorative pattern 190c on the right are displayed in the state of fluctuation or stoppage. Further, in the display area 194 of the effect symbol display device 60, various notice displays related to the first special symbol 192 and the second special symbol 193, various cut-in displays for the effect, various background displays, and the like. Is also done. The effect symbol display device 60 is, for example, a liquid crystal display. The decorative symbols 190a to 190c are symbols for visually producing the first lottery result display shown by the first special symbol 192 or the second lottery result display shown by the second special symbol 193. The effect symbol display device 60 displays, as the decorative symbols 190 a to 190 c, for example, a plurality of rows of symbol variation moving images simulating a game of a slot machine in the display area 194.

演出図柄表示装置60は、本実施例では液晶ディスプレイで構成されるが、機械式のドラムやLEDなどの他の表示手段で構成されてもよい。なお、第1特別図柄192および第2特別図柄193は必ずしも演出的な役割をもつことを要しないため、本実施例では演出図柄表示装置60の左下方の第1特別図柄表示装置70および第2特別図柄表示装置71にて目立たない大きさで表示させるが、特別図柄自体に演出的な役割をもたせて装飾図柄を表示させないような手法を採用する場合には、特別図柄を演出図柄表示装置60のような液晶ディスプレイに表示させてもよい。また、本実施例では、装飾図柄190a〜190cを、演出図柄表示装置60において、第1特別図柄192と第2特別図柄193とで共通で採用したものを例示しているが、個別に表示したり、装置自体を別個に設けてもよく、本実施例のように共用する場合にはいずれの特別図柄に対応した表示であるかを示す表示を演出図柄表示装置60の隅部に表示しても良い。   The effect symbol display device 60 is configured by a liquid crystal display in this embodiment, but may be configured by other display means such as a mechanical drum or LED. Since the first special symbol 192 and the second special symbol 193 do not necessarily have a role of production, in the present embodiment, the first special symbol display device 70 and the second special symbol display device 70 at the lower left of the production symbol display device 60 are used. When the special symbol display device 71 displays an inconspicuous size, but adopts a technique in which the special symbol itself has an effect role and does not display the decorative symbol, the special symbol is displayed on the effect symbol display device 60. You may display on a liquid crystal display like this. In this embodiment, the decorative symbols 190a to 190c are commonly used in the first special symbol 192 and the second special symbol 193 in the effect symbol display device 60, but are individually displayed. Alternatively, the device itself may be provided separately, and when it is shared as in this embodiment, a display indicating which special symbol is displayed is displayed at the corner of the effect symbol display device 60. Also good.

左右の作動口68a,68bのうち、左作動口68aは、遊技盤50の左側方中段位置に設けられ、右作動口68bは、遊技盤50の右側方で且つ第2大入賞口92の右上方の位置に設けられる。各作動口68a,68bは、各々が通過検出装置69a,69b(図3を参照)を含む。通過検出装置69a,69bは、対応する作動口68a,68bにおける遊技球の通過を検出するセンサであり、通過時にその通過を示す通過情報を生成(出力)する。作動口68a,68bへの遊技球の通過は第2始動入賞口63の普通電動役物を拡開させるための抽選の契機となる。   Of the left and right operation ports 68a and 68b, the left operation port 68a is provided at the middle position on the left side of the game board 50, and the right operation port 68b is on the right side of the game board 50 and on the upper right side of the second grand prize winning port 92. It is provided at the position. Each of the operation ports 68a and 68b includes passage detection devices 69a and 69b (see FIG. 3). The passage detection devices 69a and 69b are sensors that detect the passage of the game ball at the corresponding operation ports 68a and 68b, and generate (output) passage information indicating the passage at the time of passage. The passing of the game ball to the operation ports 68a and 68b triggers a lottery for expanding the ordinary electric combination of the second start winning prize port 63.

遊技者が発射ハンドル17を手で回動させると、その回動角度に応じた強度で上球皿15に貯留された遊技球が1球ずつ内レールと外レールに案内されて遊技領域52へ発射される。遊技者が発射ハンドル17の回動位置を手で固定させると一定の時間間隔で遊技球の発射が繰り返される。遊技領域52の上部へ発射された遊技球は、複数の遊技釘や風車に当りながらその当り方に応じた方向へ落下する。遊技球が一般入賞口72、第1始動入賞口62、第2始動入賞口63、第1大入賞口91、第2大入賞口92の各入賞口へ落入すると、その入賞口の種類に応じた賞球が上球皿15または下球皿16に払い出される。一般入賞口72等の各入賞口に落入した遊技球はセーフ球として処理され、アウト口58に落入した遊技球はアウト球として処理される。なお、各入賞口は遊技球が通過するゲートタイプのものを含み、本願において「落入」、「入球」、「入賞」というときは「通過」を含むものとする。   When the player rotates the launch handle 17 by hand, the game balls stored in the upper ball tray 15 with the strength according to the rotation angle are guided one by one to the inner rail and the outer rail to the game area 52. Fired. When the player fixes the rotation position of the firing handle 17 by hand, the game ball is repeatedly fired at regular time intervals. The game ball launched to the upper part of the game area 52 falls in a direction according to the way of hitting while hitting a plurality of game nails and windmills. When a game ball falls into each of the general winning opening 72, the first starting winning opening 62, the second starting winning opening 63, the first large winning opening 91, and the second large winning opening 92, the type of the winning opening is determined. The corresponding prize ball is paid out to the upper ball tray 15 or the lower ball tray 16. A game ball dropped into each winning hole such as the general winning hole 72 is processed as a safe ball, and a game ball dropped into the out hole 58 is processed as an out ball. Each winning opening includes a gate type through which a game ball passes. In this application, “incoming”, “entering”, and “winning” include “passing”.

遊技球が第1始動入賞口62に入球すると、第1特別図柄表示装置70において第1特別図柄192が変動表示され、演出図柄表示装置60の表示領域194において装飾図柄190a〜190cが変動表示される。遊技球が第2始動入賞口63に入球すると、第2特別図柄表示装置71において第2特別図柄193が変動表示され、演出図柄表示装置60の表示領域194において装飾図柄190a〜190cが変動表示される(図7(b1)を参照)。第1特別図柄192、第2特別図柄193、装飾図柄190a〜190cの変動表示は、表示に先だって決定された変動時間の経過後に停止される(図7(b2)を参照)。停止時の第1特別図柄192および装飾図柄190a〜190cが大当り態様であった場合、通常遊技よりも遊技者に有利な遊技状態である特別遊技に移行し、第1大入賞口91の開閉動作が開始される。このときスロットマシンのゲームを模した装飾図柄190a〜190cは、3つの図柄を一致させるような表示態様をとる。停止時の第2特別図柄193および装飾図柄190a〜190cが大当り態様であった場合、通常遊技よりも遊技者に有利な遊技状態である特別遊技に移行し、第2大入賞口92の開閉動作が開始される。   When the game ball enters the first start winning opening 62, the first special symbol 192 is variably displayed on the first special symbol display device 70, and the decorative symbols 190a to 190c are variably displayed on the display area 194 of the effect symbol display device 60. Is done. When the game ball enters the second start winning opening 63, the second special symbol 193 is variably displayed on the second special symbol display device 71, and the decorative symbols 190a to 190c are variably displayed on the display area 194 of the effect symbol display device 60. (See FIG. 7B1). The variable display of the first special symbol 192, the second special symbol 193, and the decorative symbols 190a to 190c is stopped after the lapse of the variable time determined prior to display (see FIG. 7 (b2)). When the first special symbol 192 and the decorative symbols 190a to 190c at the time of the stop are in a big hit mode, the game shifts to a special game that is more advantageous to the player than the normal game, and the opening / closing operation of the first grand prize winning port 91 is performed. Is started. At this time, the decorative symbols 190a to 190c simulating a game of a slot machine take a display mode in which three symbols are matched. When the second special symbol 193 and the decorative symbols 190a to 190c at the time of the stop are in a big hit mode, the game shifts to a special game that is more advantageous to the player than the normal game, and the opening / closing operation of the second big prize opening 92 Is started.

特別遊技は、第1大入賞口91または第2大入賞口92が開放される単位遊技が複数回繰り返される遊技であり、単位遊技が最大回数である16回(16R(ラウンド))繰り返される特別遊技と、単位遊技が10回(10R(ラウンド))繰り返される特別遊技と、単位遊技が最少回数である4回(4R(ラウンド))だけ繰り返される特別遊技などがある。また、大当りの種類に応じて、16回の単位遊技を行う特別遊技、10回の単位遊技を行う特別遊技、及び、4回の単位遊技を行う特別遊技の何れにも複数の態様が設定されているが、具体的な大当りの種類については後述する。また、各ラウンドにおいては、第1大入賞口91または第2大入賞口92において、所定数(例えば9個)の遊技球が検出された場合、又は、開放して所定時間(例えば約30秒)が経過した場合に、終了条件が成立して第1大入賞口91または第2大入賞口92が閉鎖される。   The special game is a game in which the unit game in which the first grand prize port 91 or the second grand prize port 92 is opened is repeated a plurality of times, and the unit game is repeated a maximum of 16 times (16R (round)). There are a game, a special game in which a unit game is repeated 10 times (10R (round)), a special game in which a unit game is repeated a minimum of 4 times (4R (round)), and the like. In addition, depending on the type of jackpot, a plurality of modes are set for any of a special game for 16 unit games, a special game for 10 unit games, and a special game for 4 unit games. However, specific types of jackpots will be described later. In each round, when a predetermined number (for example, nine) of game balls are detected at the first grand prize winning port 91 or the second grand winning port 92, or when it is released for a predetermined time (for example, about 30 seconds). ) Elapses, the end condition is established and the first grand prize winning port 91 or the second big winning prize port 92 is closed.

特別遊技が発生した場合であって抽選などの所定の条件が満たされた場合、特別遊技の終了後に特定遊技として確率変動遊技(以下、「確変」という)や変動時間短縮遊技(以下、「時短」という)が開始される。確変中は、通常の確率状態より大当りの確率が高い抽選が行われ、比較的早期に新たな特別遊技が発生する。また、16R大当りの場合、10R大当りの場合、及び、4R大当りの場合の何れにおいても、その特別遊技の終了後に確変が開始される。時短中は、第1特別図柄192または第2特別図柄193の変動時間が概ね短縮される。   When a special game occurs and a predetermined condition such as a lottery is satisfied, after the end of the special game, as a specific game, a probability variation game (hereinafter referred to as “probability variation”) or a variable time reduction game (hereinafter “time reduction”) ") Is started. During the probability change, a lottery with a higher probability of jackpot than the normal probability state is performed, and a new special game is generated relatively early. Further, in the case of 16R big hit, in the case of 10R big hit and in the case of 4R big hit, the probability change is started after the end of the special game. During the time reduction, the fluctuation time of the first special symbol 192 or the second special symbol 193 is substantially shortened.

さらに、本実施例においては、確変状態は、特別遊技終了後の第1特別図柄192及び第2特別図柄193の合計の変動回数が所定回数(ここでは104回)に達するまで継続され、時短は、同じく合計の変動回数が所定回数(ここでは100回)に達するまで継続される。つまり、本実施例においては、特定遊技状態が、特別遊技終了後の所定の変動回数の間に限り継続するタイプのゲーム性が採用されている。さらに、確変状態が継続する確変期間(所謂ST期間)と、時短状態が継続する時短期間とでは、互いに終期が異なっており、確変期間が時短期間よりも所定期間(ここでは変動回数にして4回分)長く継続するようになっている。なお、確変期間と時短期間を同じ変動回数に設定してもよく、確変期間が時短期間よりも短くてもよい。また、確変期間の変動回数を、例えば4回のような相対的に短い期間としてもよい。   Further, in this embodiment, the probability variation state is continued until the total number of changes of the first special symbol 192 and the second special symbol 193 after the special game ends reaches a predetermined number (here, 104 times). Similarly, the process is continued until the total number of fluctuations reaches a predetermined number (here, 100). In other words, in this embodiment, a game characteristic of a type in which the specific gaming state continues only for a predetermined number of times of fluctuation after the special game ends is adopted. Further, the probability variation period (so-called ST period) in which the probability variation state continues and the time variation period in which the time reduction state continues are different from each other, and the probability variation period is a predetermined period (here, the number of fluctuations is 4). Times) will continue for a long time. Note that the probability variation period and the short time period may be set to the same number of fluctuations, and the probability variation period may be shorter than the short time period. Further, the number of fluctuations in the probability variation period may be a relatively short period such as four.

第1特別図柄192、第2特別図柄193および装飾図柄190a〜190cの時短中は、特定遊技の一つである入球容易状態が実施される。この時短中の入球容易状態は、普通図柄(後述する)の時短、開放抽選の確率変動(普通図柄の抽選に係る確率変動)、普通電動役物の開放延長が実施されることにより第2始動入賞口63への入球容易性が高められる状態である。普通図柄の時短は、普通図柄の変動時間が通常状態より短縮される状態である。開放抽選の確率変動は、開放抽選の当り確率を通常状態より高める状態である。普通電動役物の開放延長は、普通電動役物の開放時間を通常時の短開放よりも長くして長開放を行うものである。   During the time shortening of the first special symbol 192, the second special symbol 193, and the decorative symbols 190a to 190c, the easy entry state, which is one of the specific games, is performed. The easy-to-enter state during this time is the second when the normal symbol (to be described later) is shortened, the probability variation of the open lottery (probability variation related to the regular symbol lottery), and the opening extension of the ordinary electric accessory. This is a state in which the ease of entering the start winning opening 63 is improved. The normal symbol time reduction is a state in which the variation time of the normal symbol is shortened from the normal state. The probability variation of the open lottery is a state in which the winning probability of the open lottery is higher than the normal state. In the extension extension of the ordinary electric accessory, the opening time of the ordinary electric accessory is made longer by setting the opening time longer than the short opening in the normal time.

このように、入球容易状態においては、一定時間あたりの普通図柄の変動回数が通常状態よりも増加する可能性が高まる上、第2始動入賞口63への入球容易性も増すため、第2始動入賞口63への入球数が増加する可能性も高い。したがって、第1特別図柄192、第2特別図柄193および装飾図柄190a〜190cの時短および入球容易状態により、その期間中は第2始動入賞口63への入球による賞球を得られる機会が増加する結果、持ち玉をほとんど減らさずに遊技し続けることが可能となる。   As described above, in the easy entry state, the possibility that the number of fluctuations of the normal symbol per certain time increases as compared to the normal state increases, and the ease of entering the second start winning opening 63 also increases. There is a high possibility that the number of balls entering the 2-start winning prize opening 63 will increase. Therefore, the first special symbol 192, the second special symbol 193, and the decorative symbols 190a to 190c have a short time and easy entry, so that there is an opportunity to obtain a prize ball by entering the second start winning opening 63 during that period. As a result of the increase, it becomes possible to continue to play the game with almost no decrease in possession.

なお、本実施例における時短中の入球容易状態は、普通図柄の時短、開放抽選の確率変動、普通電動役物の開放延長という3つの機能を用いて第2始動入賞口63への入球容易性を高める。ただし、変形例としては、これら3つの機能のうち、1つまたは2つの機能を用いて第2始動入賞口63への入球容易性を高める構成としてもよい。このように3つの機能のうち一部だけを用いても第2始動入賞口63への入球容易性を高めることは可能である。また、3つの機能のうち少なくともいずれかを、実施する期間と実施しない期間とで遊技状態に応じて切り替える構成としてもよい。   In the present embodiment, the easy entry state during the short time is that the ball enters the second start winning opening 63 using the three functions of the normal symbol time, the probability variation of the open lottery, and the open extension of the normal electric accessory. Increase ease. However, as a modified example, it is possible to use one or two of these three functions to increase the ease of entering the second start winning opening 63. Thus, even if only a part of the three functions is used, it is possible to improve the ease of entering the second start winning prize port 63. Moreover, it is good also as a structure which switches according to a gaming state at least any one of three functions by the period to implement and the period which does not implement.

また、本実施例では、普通図柄の時短は、特別図柄の時短の終了に伴って終了し、特別図柄の時短が終了した以降に開始される普通図柄の変動時間(変動パターン)は、通常状態のために設けられた変動パターンの中から決定される。   Also, in this embodiment, the normal symbol time reduction ends with the end of the special symbol time reduction, and the normal symbol change time (variation pattern) that starts after the special symbol time reduction ends is in the normal state. It is determined from the variation patterns provided for the purpose.

さらに、このような入球容易状態における普通電動役物の開放パターン(特定遊技時の開放態様)としては、前述のように、例えば5秒程度の長開放を行うものが採用されている。そして、この長開放の具体的態様としては、開放の開始から終了までの開放期間を1回の開放により構成した連続開放態様を例示できる。また、これ以外の態様としては、開放の開始から終了までの開放期間を複数回の開放により構成した断続開放態様などがある。そして、この断続開放態様としては、例えば、2.32秒、1.60秒、1.60秒の各開放時間の間に、一旦閉鎖状態となるインターバル時間を介在させて、合計で例えば5.52(=2.32+1.60+1.60)秒の開放時間を確保したものなどを例示できる。また、本実施例では、この他にも、2.96秒、1.14秒、1.56秒の各開放時間の組合せによる開放パターンや、1.14秒、1.60秒、1.60秒、1.14秒の開放の各開放時間の組合せによる開放パターンなども設けられている。   Further, as described above, for example, an open pattern of a normal electric accessory in such an easy-to-enter state (open mode at the time of a specific game) that is open for a long time of about 5 seconds is employed. And as a specific mode of this long opening, the continuous opening mode which constituted the opening period from the start of opening to the end by one opening can be illustrated. Further, as other modes, there is an intermittent open mode in which the open period from the start to the end of the open is configured by a plurality of releases. As this intermittent release mode, for example, a total of, for example, 5.2 seconds, 1.60 seconds, and 1.60 seconds, with an interval time for temporarily closing between the open times. An example in which an open time of 52 (= 2.32 + 1.60 + 1.60) seconds is secured can be exemplified. In addition, in this embodiment, in addition to this, an opening pattern based on combinations of opening times of 2.96 seconds, 1.14 seconds, and 1.56 seconds, 1.14 seconds, 1.60 seconds, and 1.60. An opening pattern by combining each opening time of 1 second and 1.14 seconds is also provided.

なお、上述の連続開放態様及び断続開放態様の何れを実行するかを抽選により選択することや、各種の断続開放態様の何れを実行するかを抽選することなども可能である。また、ここで説明した特定遊技時の長開放の開放態様を、以下では「特定遊技時長開放」(又は「時短時長開放」)と称する場合がある。さらに、断続開放態様における例えば0.5秒の短時間の開放は、「特定遊技時短開放」又は「時短時短開放」等と称することが可能である。   In addition, it is also possible to select which of the above-described continuous release mode and intermittent release mode is to be executed by lottery, or which of various intermittent release modes is to be executed. In addition, the long release opening mode at the time of the specific game described here may be referred to as “specific game long time release” (or “short time short time release”) below. Furthermore, a short-time release of 0.5 seconds, for example, in the intermittent release mode can be referred to as “short opening at a specific game” or “short opening at a short time”.

左作動口68a(又は右作動口68b)を遊技球が通過すると、所定時間、前述の普通図柄と呼ばれる図柄が普通図柄表示装置59に変動表示される。普通図柄表示装置59は特別図柄等表示装置53に設けられており、本実施例では星形の三つのランプが所定の組合せで点灯と消灯を繰り返す形で普通図柄の変動表示を表現し、どのような組合せのランプが最終的に点灯したまま変動停止するかによって普通図柄の抽選結果を表す。所定時間の経過後に普通図柄の変動表示が所定の当り態様にて停止すると、第2始動入賞口63の普通電動役物が所定時間拡開する。なお、本実施における「ランプ」の用語はLED等も含む意味を有している。   When the game ball passes through the left working port 68a (or the right working port 68b), the symbol called the normal symbol is variably displayed on the normal symbol display device 59 for a predetermined time. The normal symbol display device 59 is provided in the special symbol display device 53. In the present embodiment, the normal symbol display device 59 expresses the normal symbol variation display in such a manner that three star-shaped lamps are repeatedly turned on and off in a predetermined combination. The lottery result of the normal symbol is represented by whether or not the combination lamps are finally turned on and change and stop. When the normal symbol variation display stops in a predetermined hit state after the predetermined time has elapsed, the normal electric accessory of the second start winning opening 63 is expanded for a predetermined time. In addition, the term “lamp” in this embodiment has a meaning including LEDs and the like.

上述のような普通図柄に係る当り抽選においては、はずれ図柄と当り図柄とが設けられている。そして、本実施例においては、当たり図柄に、ショート当り図柄とロング当り図柄とが設けられており、普通図柄に係る当り抽選は、大きく分けて、はずれ図柄、ショート当り図柄、ロング当り図柄の3種類の図柄を用いて行われるようになっている。さらに、本実施例では、ショート当り図柄として2種類の図柄が設けられており、ロング当り図柄として1種類の図柄が設けられている。なお、本実施例では、上述のように普通図柄の表示に三つのランプが用いられているので、例えば、ショート当り図柄やロング当り図柄の種類を更に増やすことが可能である。   In the winning lottery related to the normal symbol as described above, a lost symbol and a winning symbol are provided. In this embodiment, a symbol per short and a symbol per long are provided in the winning symbol, and the winning lottery related to the normal symbol is roughly divided into three symbols: a missing symbol, a symbol per short, and a symbol per long. It is designed to use different types of symbols. Further, in the present embodiment, two types of symbols are provided as the short per symbol, and one type of symbol is provided as the long per symbol. In the present embodiment, since three lamps are used for displaying normal symbols as described above, for example, it is possible to further increase the types of symbols per short and symbols per long.

普通図柄に係る当り抽選に所定の確率で当せんした場合には、当り図柄に応じて第2始動入賞口63が開放される。また、普通図柄に係る当り抽選における当り態様には、前述の短開放に対応したものと、長開放に対応したものとがある。なお、以下では、このような通常時における第2始動入賞口63の短開放を「通常時短開放」と称し、長開放を「通常時長開放」と称する場合がある。また、通常時長開放についても、前述の特定遊技時長開放(時短時長開放)と同様に、連続開放態様の他に断続開放態様などを採用し、これらに対応した当り図柄を予め設定しておくことが可能である。さらに、はずれを含めた普通図柄に係る当り抽選の全体における通常時長開放の当選確率を、例えば1.8%程度とすることが考えられる。また、本実施例では、通常時長開放における開放時間は5.4秒程度(0.2秒の開放の後に一旦閉鎖を経て5.2秒の開放を行う断続開放態様)となっている。さらに、本実施例では、普通図柄に係る当りについては、0.2秒の短開放に対応した2種類の当りと、上述の長開放に対応した1種類の当りとが設けられている。また、通常時長開放と前述の時短時長開放とに、同じ開放パターンのものがあってもよい。   When the winning lottery related to the normal symbol is won with a predetermined probability, the second start winning opening 63 is opened according to the winning symbol. In addition, the winning mode in the winning lottery related to the normal symbol includes the one corresponding to the short opening described above and the one corresponding to the long opening. In the following, the short opening of the second start winning opening 63 in the normal time may be referred to as “normal time short opening”, and the long opening may be referred to as “normal time long opening”. Also, for regular time release, as with the above-mentioned specific game time release (time duration release), in addition to the continuous release mode, an intermittent release mode, etc. is adopted, and a winning symbol corresponding to these is set in advance. It is possible to keep. Furthermore, it is conceivable that the winning probability of the normal time length release in the entire winning lottery related to the normal symbol including the gap is, for example, about 1.8%. In this embodiment, the opening time in the normal time opening is about 5.4 seconds (intermittent opening mode in which the opening is performed for 0.2 seconds after the opening for 0.2 seconds and then the opening is closed). Further, in the present embodiment, the hits related to the normal symbol are provided with two types of hits corresponding to the short opening of 0.2 seconds and one type of hits corresponding to the above-mentioned long opening. Moreover, the same open pattern may be used for the normal time length release and the above-mentioned short time time length release.

演出図柄表示装置60の周囲には、センター飾り64が設けられる。センター飾り64は、遊技球の流路、演出図柄表示装置60の保護、装飾等の機能を有する。多数の遊技効果ランプ(LED等、図示しない)がセンター飾り64の内部に設けられ、点滅等することで演出の役割を果たす。また、センター飾り64には、可動演出部材93,94が設けられており、これらが演出用のギミックを構成している。さらに、センター飾り64の、正面から見て右側の部位には遊技球通路部65が形成されている。そして、遊技球を遊技領域52の右側に向けて発射する所謂右打ちが行われると、センター飾り64の上方を通った遊技球が、この遊技球通路部65を流下して、右作動口68bや第2大入賞口92が配置された領域へ向かうことが可能となっている。   A center ornament 64 is provided around the effect symbol display device 60. The center decoration 64 has functions such as a flow path of the game ball, protection of the effect symbol display device 60, and decoration. A large number of game effect lamps (LEDs, etc., not shown) are provided inside the center ornament 64 and play a role of production by blinking or the like. Further, the center decoration 64 is provided with movable effect members 93 and 94, which constitute an effect gimmick. Further, a game ball passage portion 65 is formed in a portion of the center ornament 64 on the right side when viewed from the front. When a so-called right hit is performed in which the game ball is fired toward the right side of the game area 52, the game ball passing above the center decoration 64 flows down the game ball passage portion 65, and the right operation port 68b. It is possible to go to the area where the second big winning opening 92 is arranged.

また、第1の遊技に対応する第1特図保留ランプ20は第1特別図柄表示装置70の上方に設けられ、第2の遊技に対応する第2特図保留ランプ21は第2特別図柄表示装置71の上方に設けられ、普通図柄変動に対応する普図保留ランプ22は普通図柄表示装置59の主に左側に設けられる。   The first special figure holding lamp 20 corresponding to the first game is provided above the first special symbol display device 70, and the second special figure holding lamp 21 corresponding to the second game is displayed as the second special symbol display. The universal symbol holding lamp 22 provided above the device 71 and corresponding to the normal symbol variation is provided mainly on the left side of the normal symbol display device 59.

第1特図保留ランプ20および第2特図保留ランプ21は、それぞれ2個のランプからなり、それぞれの点灯個数または点滅個数によって第1の遊技および第2の遊技のそれぞれにおける当否抽選値の保留数を表示する。第1特図保留ランプ20における当否抽選値の保留数は、第1特別図柄192の変動中または特別遊技の実行中に第1始動入賞口62へ入賞した個数であり、図柄変動がまだ実行されていない入賞球の数を示す。第2特図保留ランプ21における当否抽選値の保留数は、第2特別図柄193いずれかの変動中または特別遊技の実行中に第2始動入賞口63へ入賞した個数であり、図柄変動がまだ実行されていない入賞球の数を示す。   Each of the first special figure hold lamp 20 and the second special figure hold lamp 21 is composed of two lamps, and the lottery value hold for each of the first game and the second game is held depending on the number of lights or the number of blinks. Display a number. The number of hold of the winning / failing lottery value in the first special symbol holding lamp 20 is the number of winning in the first start winning opening 62 during the fluctuation of the first special symbol 192 or during the execution of the special game, the symbol variation is still executed Indicates the number of winning balls that are not. The number of hold of the success / failure lottery value in the second special symbol holding lamp 21 is the number of winning in the second start winning slot 63 during the fluctuation of any of the second special symbol 193 or during the execution of the special game, the symbol fluctuation is still Indicates the number of winning balls that have not been executed.

すなわち、先に行われている図柄変動が終了していない場合には変動開始条件が成立せず、新たな図柄変動は開始されないが、当該図柄変動が終了すると変動開始条件が成立し、新たな図柄変動が開始されることとなる。この際、保留記憶されていた乱数値を用いた抽選が実行され、大当りの有無や図柄の変動パターンなどが決定される。なお、本実施例の場合は、前述のように第2の遊技が優先的に実行されるので、第1特別図柄192については、第2特別図柄193の保留抽選値に対応する図柄変動が全て終わって、保留抽選値が全て消化されたことも変動開始条件となる。   That is, if the previously performed symbol variation has not ended, the variation start condition is not satisfied, and a new symbol variation is not started, but when the symbol variation ends, the variation start condition is satisfied and a new symbol variation is established. Symbol variation will be started. At this time, a lottery using the random number value stored on hold is executed, and the presence / absence of the big hit, the variation pattern of the symbol, and the like are determined. In the case of the present embodiment, since the second game is preferentially executed as described above, all of the symbol variations corresponding to the reserved lottery value of the second special symbol 193 are all for the first special symbol 192. It is also a variable start condition that all the pending lottery values have been consumed.

普図保留ランプ22もまた3個のランプからなり、その点灯個数または点滅個数によって普通図柄変動の保留数を表示する。普通図柄変動の保留数は、普通図柄の変動中に作動口68a(又は68b)を通過した遊技球の個数であり、普通図柄の変動がまだ実行されていない普通図柄抽選の数を示す。   The regular figure holding lamp 22 is also composed of three lamps, and displays the number of holdings of normal symbol fluctuations depending on the number of lighting or blinking. The number of normal symbol fluctuations held is the number of game balls that have passed through the operating port 68a (or 68b) during the normal symbol fluctuation, and indicates the number of normal symbol lotteries for which the normal symbol fluctuation has not yet been executed.

そして、普通図柄に関しても同様に、先に行われている図柄変動が終了していない場合には変動開始条件が成立せず、新たな図柄変動は開始されないが、当該図柄変動が終了すると変動開始条件が成立し、新たな図柄変動が開始されることとなる。この際、保留記憶されていた乱数値を用いた抽選が実行され、当りの有無や図柄の変動パターンなどが決定される。   Similarly, for normal symbols, if the previously performed symbol variation has not ended, the variation start condition is not satisfied, and a new symbol variation is not started, but when the symbol variation ends, the variation starts. The condition is established and a new symbol variation is started. At this time, a lottery using the random number value stored on hold is executed, and the presence / absence of winning, the variation pattern of symbols, and the like are determined.

操作ボタン82は、遊技者が遊技機側所定の指示を入力するために操作するボタンである。この操作ボタン82は、上球皿15の上部の外壁面に設けられており、上球皿15の左右方向の中央近傍に位置している。   The operation button 82 is a button operated by the player to input a predetermined instruction on the gaming machine side. The operation button 82 is provided on the outer wall surface of the upper part of the upper ball tray 15 and is located near the center of the upper ball dish 15 in the left-right direction.

操作ボタン82は、ボタン演出が実行された場合に遊技者によって操作され、遊技者に対し、自分が遊技の演出や当否抽選に参加しているような感覚を与える機能を発揮するものである。ボタン演出としては、例えば装飾図柄の変動表示過程で行われるリーチ演出中に、演出図柄表示装置60の表示領域194に操作ボタン82の図柄とともに、「Push」、「連打せよ」、「長押しせよ」等といった文字や、或いは残り時間を示すインジケータの動画などが表示され、遊技者がこれに従って操作ボタン82を操作すると、登場人物がコメントを発するような演出や、味方キャラクタが敵キャラクタに対する攻撃を行うような演出が挙げられる。また、本実施例においては、操作ボタン82の操作に応答して可動演出部材93,94が所定の動作を行った場合には、その時のリーチ演出に係る大当りの信頼度が高く、操作ボタン82を操作しても可動演出部材93,94が所定の動作を行わない場合には、その時のリーチ演出に係る大当りの信頼度が低い、といった態様で演出が実行されることもある。   The operation button 82 is operated by the player when the button effect is executed, and exhibits a function of giving the player a feeling that he / she participates in the game effect or the lottery. As the button effect, for example, during the reach effect that is performed in the process of displaying the decorative symbol, “Push”, “Let's hit repeatedly”, “Long press” along with the symbol of the operation button 82 in the display area 194 of the effect symbol display device 60. ”Or a video of an indicator indicating the remaining time is displayed, and when the player operates the operation button 82 in accordance with this, an effect such that the character gives a comment or an ally character attacks the enemy character. There is an effect to perform. In this embodiment, when the movable effect members 93 and 94 perform a predetermined operation in response to the operation of the operation button 82, the reliability of the jackpot related to the reach effect at that time is high, and the operation button 82 If the movable effect members 93 and 94 do not perform a predetermined operation even if the button is operated, the effect may be executed in such a manner that the reliability of the jackpot related to the reach effect at that time is low.

通常時は操作ボタン82の操作が無効となっているが、ボタン演出中は操作ボタン82の操作が有効となるボタン操作有効期間となっている。ボタン操作有効期間は、予め設定された一定時間となっている。なお、操作ボタン82に振動モータ(図示略)を組み合わせて、操作ボタン82を振動させる振動演出や、操作ボタン82の動作範囲を拡大して操作ボタン82を突没させるといった演出態様や、操作ボタン82を比較的大きく突出させるといった演出態様を実行することも可能である。   Although the operation of the operation button 82 is normally disabled, it is a button operation effective period in which the operation of the operation button 82 is enabled during the button production. The button operation effective period is a predetermined time set in advance. It should be noted that the operation button 82 is combined with a vibration motor (not shown) to vibrate the operation button 82, an effect mode in which the operation range of the operation button 82 is expanded and the operation button 82 is projected and retracted, and the operation button It is also possible to execute an effect such that 82 is protruded relatively large.

演出図柄表示装置60の表示領域194の下部には、図7(b1),(b2)中に示すように、第1の遊技における当否抽選値の保留数を示す第1保留数表示部196と、第2の遊技における当否抽選値の保留数を示す第2保留数表示部197とが表示される。ちなみに、保留表示については第1の遊技、第2の遊技の保留数が増加すると、夫々の遊技者からみて左側(図7(a)でも左側)を基準として順次表示が変化するようになっており、通常遊技時に多く入賞する第1始動入賞口62側(第1の遊技)の保留表示を基準側(左側)に、通常時にほとんど入賞しない第2始動入賞口63側(第2の遊技)の保留表示を右側に表示している。これは通常時の保留状態を遊技者が直感的に把握しやすくなることが期待できるためである。なお、普通図柄表示装置59の表示内容に対応した普通装飾図柄を、普通図柄表示装置59とは別途設けてもよく、この場合は、例えば演出図柄表示装置60を利用することが可能である。
<<本実施例における主要な演出内容の概要>>
At the bottom of the display area 194 of the effect symbol display device 60, as shown in FIGS. 7 (b1) and (b2), a first hold number display unit 196 indicating the number of hold of the winning / failing lottery value in the first game, Then, a second hold number display section 197 indicating the number of hold of the success / failure lottery value in the second game is displayed. By the way, with regard to the hold display, when the number of hold of the first game and the second game increases, the display changes sequentially with reference to the left side (left side in FIG. 7A) as seen from each player. The hold display on the first start winning opening 62 side (first game) that wins many times during normal games is displayed on the reference side (left side), and the second start winning port 63 side (second game) that rarely wins during normal games. Is displayed on the right. This is because it can be expected that the player can easily grasp the normal hold state intuitively. Note that a normal decorative symbol corresponding to the display content of the normal symbol display device 59 may be provided separately from the normal symbol display device 59. In this case, for example, the effect symbol display device 60 can be used.
<< Summary of main effects in this embodiment >>

本実施例においては、多数の演出パターン(変動演出パターン)が備えられ、遊技の状況に応じて選択された演出パターンに応じて、演出図柄表示装置60に動画が表示される。各状況における演出パターンは、選択された演出パターンに更に、所定のキャラクタやアイテムの動画などを組合わせることで構成される場合もある。
<<通常時長開放に係る演出内容の概要>>
In this embodiment, a large number of effect patterns (variable effect patterns) are provided, and a moving image is displayed on the effect symbol display device 60 according to the effect pattern selected according to the game situation. The effect pattern in each situation may be configured by further combining a selected character or an animation of an item with the selected effect pattern.
<< Outline of production contents related to regular opening time >>

また、本実施例においては、前述の第2始動入賞口63における通常時長開放に関係した演出が、演出図柄表示装置60やスピーカ19等を用いて実行される場合がある。そして、この通常時長開放に関係した演出として、通常時長開放が実行されるか否を示す抽選演出と、この抽選演出の結果に対応して実行される長開放用演出とが設けられている。なお、以下では、通常時長開放のことを単に「長開放」と称する場合がある。   Further, in the present embodiment, there is a case where the effect related to the normal time opening at the second start winning opening 63 is executed using the effect symbol display device 60, the speaker 19, and the like. Then, as the effects related to the normal time release, there are provided a lottery effect indicating whether or not the normal time release is executed, and a long release effect executed corresponding to the result of the lottery effect. Yes. In the following, the normal long time release may be simply referred to as “long open”.

これらのうち抽選演出としては、例えば、ルーレットやおみくじ、或いは、2桁の図柄合わせ、といった抽選に係る動画表示を行うものを例示できる。さらに、上述の普通図柄に係る当り抽選において通常時長開放に当せんしている場合には、当せんを示す内容の抽選演出が実行され、通常時長開放に当せんしていない場合には、はずれを示す内容の抽選演出が実行される。   Among these, as the lottery effect, for example, those that display a moving image related to the lottery such as roulette, fortune, or two-digit symbol matching can be exemplified. In addition, when the normal lottery for the above-mentioned normal symbol is won, the lottery effect with the content indicating the win is executed. A lottery effect with the content shown is executed.

また、はずれを示す内容の抽選演出は、通常時長開放に当せんしておらず、且つ、所定の確率で抽選演出に係る変動パターンが選択された場合に実行される。さらに、はずれの抽選演出に係る変動パターンが選択される場合としては、メイン基板102において選択される場合と、サブメイン基板301で独自に選択される場合とがある。そして、本実施例において抽選演出は、通常時長開放に当せんしている場合には高い確率(例えば100%)で実行され、通常時長開放に当せんしていない場合には、低い確率(例えば0.1%程度)で実行される。   In addition, the lottery effect with the content indicating a loss is executed when the normal pattern is not released and the variation pattern related to the lottery effect is selected with a predetermined probability. Further, as a case where the variation pattern related to the off-lot lottery effect is selected, there are a case where it is selected on the main board 102 and a case where it is independently selected on the sub main board 301. In the present embodiment, the lottery effect is executed with a high probability (for example, 100%) when the normal time is open, and the low probability (for example, when the normal time is not open) (About 0.1%).

さらに、抽選演出の内容と、第2始動入賞口63の開放パターンとの関係を多様に設定することが可能である。例えば、抽選演出の内容としてルーレットを用いた演出を採用し、ルーレットの目として設けられた選択肢に、「開放」、「×」、「チャンス」、「リーチ」等を割り当てる。そして、通常時長開放に当せんしなかった場合に、抽選演出の内容として「×」が選択される様子を表示し、第2始動入賞口63の開放を行わない、又は、短開放のみ行うようにする。さらに、通常時長開放に当せんした場合には、ルーレットにおいて「開放」が選択される演出を実行し、必ず長開放を行う。また、変動演出において、段階的に発展する内容の演出や、スーパーリーチに発展する内容の演出などが実行される場合には、抽選演出に係るルーレットにおいて「チャンス」或いは「リーチ」が選択される様子を表示し、第2始動入賞口63の開放を行わない、又は、短開放のみ行うようにする、といったことが考えられる。   Furthermore, it is possible to set various relationships between the contents of the lottery effect and the opening pattern of the second start winning opening 63. For example, an effect using roulette is adopted as the content of the lottery effect, and “open”, “x”, “chance”, “reach”, etc. are assigned to the options provided as roulette eyes. Then, when the normal time-long opening is not won, the state where “×” is selected as the content of the lottery effect is displayed, and the second start winning opening 63 is not opened, or only the short opening is performed. To. Furthermore, when the normal long-time opening is hit, an effect that “open” is selected in the roulette is executed, and the long opening is always performed. In addition, when the production of contents that develops in stages or the production of contents that develop into super reach is executed in the variable production, “chance” or “reach” is selected in the roulette related to the lottery production. It is conceivable that the state is displayed and the second start winning opening 63 is not opened or only the short opening is performed.

また、前述の「長開放用演出」は、前述の第2始動入賞口63における通常時長開放に関係した特別な演出という位置付けにあるが、制御上は、長開放と長開放用演出との直接的な関係付けは行われていない。つまり、本実施例では、右打ちが行われていない通常の場合(左打ち時)には、第1始動入賞口62への入賞が殆どである一方、右打ち時には、第1始動入賞口62には殆ど入球することはなく、入賞が発生する場合は概ね第2始動入賞口63のものとなる。さらに、前述したように、第2の遊技が第1の遊技よりも優先して実行されるため、長開放の際に第2始動入賞口63への入賞があった場合には、第1特別図柄192に係る保留記憶情報があっても、次回の変動演出は第2特別図柄193に対応したものとなる。そして、本実施例においては、長開放用演出は、特定遊技時とは異なる通常遊技時の第2特別図柄193の変動に係る演出として、100%の割合で実行されるようになっている。   In addition, the above-mentioned “long opening effect” is positioned as a special effect related to the normal long time opening at the above-mentioned second start winning opening 63. There is no direct relationship. In other words, in the present embodiment, in the normal case where the right-handed is not performed (left-handed), most of the winnings are made to the first start winning opening 62, while in the right-handed, the first starting winning opening 62 is used. In most cases, there will be no entry to the ball, and if a win occurs, it will generally be that of the second start winning opening 63. Further, as described above, since the second game is executed with priority over the first game, if there is a winning at the second start winning opening 63 at the time of long release, the first special Even if there is the stored storage information related to the symbol 192, the next variation effect corresponds to the second special symbol 193. In the present embodiment, the long opening effect is executed at a rate of 100% as an effect related to the variation of the second special symbol 193 in the normal game different from that in the specific game.

長開放用演出は、ノーマル変動演出では表示されないような場面、人物、或いは、アイテムなどの特別な画像要素の表示が行われたり、これらの特別な画像要素に伴う音出力や光装飾などが組み合されたりするものである。この長開放用演出としては、例えば、長開放用演出以外の演出では出現することのないキャラクタが登場して長開放用演出専用の特別な行為を行うものや、長開放用演出専用の特別な抽選装置(所謂クルーンタイプの遊技球振分け装置など)において遊技球がV入賞口に入球するか否かの様子を表示するもの、などを例示できる。   Special effects such as scenes, people, or items that are not displayed in the normal variation effect are displayed in the long opening effect, and sound output and light decoration associated with these special image elements are combined. It is something that is combined. As the effect for long opening, for example, a character that does not appear in an effect other than the effect for long opening appears and performs a special action dedicated to the effect for long opening, For example, a lottery device (a so-called Kroon type game ball sorting device or the like) that displays whether or not a game ball enters a V winning opening can be exemplified.

そして、通常時に、短縮変動の変動パターンがメイン基板102において選択された場合には、サブメイン基板301において遊技の状況が判定され、短縮変動に対応した変動時間で実行される長開放用演出の演出変動パターンが、必ず選択される。また、特定遊技中の所定期間(ここでは後述する「電サポ」期間中)に、メイン基板102において短縮変動変動パターンが選択された場合には、サブメイン基板301において遊技の状況が判定され、長開放用演出と、長開放用演出以外の変動演出に係る演出変動パターンを併せ持った変動演出パターンテーブルを用いて、演出変動パターン抽選が実行される。そして、この演出変動パターン抽選により、長開放用演出、或いは、他の変動演出の何れかの変動演出パターンが選択される。   When the variation pattern of the shortening variation is selected on the main board 102 at the normal time, the state of the game is determined on the sub-main board 301, and the effect for the long opening is executed with the variation time corresponding to the shortening variation. A production variation pattern is always selected. In addition, when a shortened variation variation pattern is selected on the main board 102 during a predetermined period during a specific game (here, “electric support” period described later), the state of the game is determined on the sub main board 301, The effect variation pattern lottery is executed using the variation effect pattern table having the effect variation pattern related to the variation effect other than the effect for long opening and the variation effect other than the effect for long release. Then, by this effect variation pattern lottery, a variation effect pattern of either the long opening effect or another variation effect is selected.

また、本実施例では、保留数に関わらずに長開放用変動パターンの選択が行われるが、これに限定されず、保留数が多い場合には、例えば、変動時間の短い長開放用変動パターンが選択されるようにしてもよい。さらに、変動パターンの割り当てに係る基本的な構成については後述する。なお、長開放用演出や、前述の抽選演出を、先読み演出(後述する)として行うことが可能である。
<<大当りに伴う遊技の概要>>
In this embodiment, the long release variation pattern is selected regardless of the number of holdings. However, the present invention is not limited to this, and when the number of holdings is large, for example, the long opening variation pattern with a short variation time is used. May be selected. Further, a basic configuration related to the allocation of the variation pattern will be described later. It is possible to perform the long opening effect and the above-described lottery effect as a pre-reading effect (described later).
<< Summary of games with jackpot >>

第1の遊技において大当り(第1特図当り)が発生した場合、第1大入賞口91を用いた特別遊技が実行される。そして、第1の抽選に係る大当りの種類に応じたパターンで第1大入賞口91が開放動作し、出球の有無や出球の量についての結果が得られる。また、本実施例では、前述のように全ての大当りに確変や時短が付与されており、特別遊技の後に右打ちを伴う遊技が行われる。すなわち、第1の遊技における特別遊技の終了後、演出図柄表示装置60の画像や音声などによって右打ちを促す演出が実行される。そして、遊技者が、発射ハンドル17の回動量を時計回りに増やして発射力を強め、遊技球を遊技領域52の右側の領域に向けて発射すると、センター飾り64の上方を通った遊技球が、センター飾り64の遊技球通路部65に進入し、センター飾り64を流下する。さらに、センター飾り64から放出された遊技球は、複数の遊技釘や他の構造物に当りながらその当り方に応じた方向へ落下する。   When a big hit (per 1st special figure) occurs in the first game, a special game using the first big winning opening 91 is executed. Then, the first grand prize winning opening 91 is opened in a pattern corresponding to the type of jackpot related to the first lottery, and the result regarding the presence / absence of the ball and the amount of the ball to be obtained is obtained. Further, in this embodiment, as described above, all big hits are given certainty and time saving, and a game with a right hand is played after a special game. That is, after the end of the special game in the first game, an effect that prompts the player to make a right strike is executed by an image or sound on the effect symbol display device 60. Then, when the player increases the turning amount of the launch handle 17 clockwise to increase the launching power and launches the game ball toward the region on the right side of the game region 52, the game ball passing above the center ornament 64 is Then, it enters the game ball passage portion 65 of the center decoration 64 and flows down the center decoration 64. Further, the game ball released from the center ornament 64 falls in a direction according to the way of hitting while hitting a plurality of game nails and other structures.

センター飾り64から放出された多数の遊技球のうちの一部は、右作動口68b(図1参照)を通過して通過検出装置69b(図3を参照)により検出される。そして、前述のように、右作動口68bを遊技球が通過すると、所定時間、前述の普通図柄と呼ばれる図柄が普通図柄表示装置59(図3、図7(a)参照)に変動表示され、普通図柄の変動表示が所定の当り態様にて停止すると、第2始動入賞口63の普通電動役物が所定時間拡開する。   A part of the large number of game balls emitted from the center ornament 64 passes through the right operation port 68b (see FIG. 1) and is detected by the passage detection device 69b (see FIG. 3). Then, as described above, when the game ball passes through the right operation port 68b, the symbol called the normal symbol is variably displayed on the normal symbol display device 59 (see FIGS. 3 and 7A) for a predetermined time, When the normal symbol variation display stops in a predetermined hit state, the normal electric accessory at the second start winning opening 63 is expanded for a predetermined time.

本実施例においては、遊技領域52の右側に達した遊技球を、釘等によって、第2始動入賞口63や第2大入賞口92の周辺に導くことが可能となっており、第2始動入賞口63の普通電動役物が1回拡開した際に、多くの場合は1個、状況によっては数個程度の遊技球が、第2始動入賞口63に入球し得るようになっている。さらに、本実施例では、一部を除いた確変大当りには時短が付加されるようになっており、時短中は普通電動役物の開放延長が行われる。   In the present embodiment, the game ball reaching the right side of the game area 52 can be guided to the vicinity of the second start winning opening 63 and the second big winning opening 92 by a nail or the like. When the ordinary electric accessory at the winning opening 63 is expanded once, in many cases, one game ball can enter the second starting winning opening 63 depending on the situation. Yes. Further, in this embodiment, a time reduction is added to the probability variation big hits except for a part, and during the time reduction, the normal electric accessory is opened and extended.

第2始動入賞口63への入球に基づき、第2の遊技の大当り(第2特図当り)が発生した場合、第2大入賞口92を用いた特別遊技が実行される。そして、前述した第2の抽選に係る大当りの種類に応じたパターンで第2大入賞口92が開放動作し、出球の有無や出球の量についての結果が得られる。また、前述のように、発生した大当りの種類に応じて、特別遊技の終了後の確変や時短の有無が決まる。   When the second game big hit (per second special figure) occurs based on the ball entering the second start winning opening 63, a special game using the second big winning opening 92 is executed. Then, the second grand prize winning opening 92 is opened in a pattern corresponding to the type of jackpot related to the second lottery described above, and results regarding the presence / absence of the outgoing ball and the amount of the outgoing ball are obtained. In addition, as described above, the probability change after the end of the special game and the presence or absence of time reduction are determined according to the type of jackpot that has occurred.

なお、大当り、特別遊技、右打ち、時短、電チューサポート等の関係については、上述のものに限らず、例えば、第1の遊技又は第2の遊技に係る特別遊技中に右打ちを行うもの、確変を伴わない通常大当りに係る特別遊技後について時短を付与するもの、一部の確変大当りについては特別遊技後に時短を付与しないものなど、種々の関係を採用することが可能である。
<ぱちんこ遊技機の背面構成及び電気的構成の概要>
In addition, the relations such as jackpot, special game, right handed, short time, electric Chu support etc. are not limited to those described above, for example, right handed during the special game related to the first game or the second game It is possible to adopt various relationships such as those that give a short time after a special game related to a normal jackpot without a probability change, and those that give a short time after a special game for a part of a certain probability change big hit.
<Outline of rear and electrical configuration of pachinko machines>

図2は、ぱちんこ遊技機の背面側における基本的な構造を示す。図2に示すように前枠12の背面には、遊技球を誘導又は回収するための機構を備えたセット基盤39が取着されており、このセット基盤39の下方に、遊技機全体に電源を供給するための電源ユニット48、遊技機枠側の制御を行う払出制御基板45が取り付けられている。また、遊技盤背面には、遊技全体を統括制御するメイン基板(主制御基板)102、メイン基板102から受信される情報や独自に入力される情報に基づいて液晶ユニット42(演出図柄表示装置60)等の各種演出装置の動作を制御するサブ基板104がセット基盤39の開口に対応するような位置に取り付けられている。   FIG. 2 shows a basic structure on the back side of the pachinko gaming machine. As shown in FIG. 2, a set base 39 having a mechanism for guiding or collecting game balls is attached to the back of the front frame 12, and a power source is connected to the entire gaming machine below the set base 39. And a payout control board 45 for controlling the gaming machine frame side are attached. Also, on the back of the game board, there is a main board (main control board) 102 that performs overall control of the entire game, and the liquid crystal unit 42 (effect symbol display device 60 based on information received from the main board 102 or information input uniquely. The sub-board 104 that controls the operation of various rendering devices such as) is attached at a position corresponding to the opening of the set base 39.

セット基盤39には、その上部に賞球を貯留する賞球タンク44、賞球タンク44に貯留された遊技球を整流案内する賞球通路、賞球通路と連絡し賞球タンク44内に貯留された球を1球単位で下方に流下排出可能な払出ユニット43、払出ユニット43から流下された遊技球を賞球として球皿(上球皿15又は下球皿16)に案内する賞球排出通路が図2のように遊技盤の上方から背面視右側部に亘って逆L字状に形成・配置されるとともに、遊技盤の背面中央に対応する位置に適宜広さの開口部が設けられている。   The set base 39 is connected to a prize ball tank 44 for storing a prize ball in the upper part thereof, a prize ball passage for rectifying and guiding a game ball stored in the prize ball tank 44, and stored in the prize ball tank 44. The payout unit 43 that can discharge the discharged balls downward in units of one ball, and the game balls that have flowed down from the payout unit 43 as prize balls discharge to the ball tray (upper ball tray 15 or lower ball tray 16). As shown in FIG. 2, the passage is formed and arranged in an inverted L shape from the upper side of the game board to the right side of the rear view, and an opening having an appropriate width is provided at a position corresponding to the center of the rear side of the game board. ing.

電源ユニット48は図2のように遊技機の背面視左下に設けられており、遊技機外部から供給される交流電源を遊技機全体(メイン基板102、サブ基板104を含む制御装置や液晶ユニット42等の演出装置など)で使用する各種の電圧に変換・生成して供給するものである。電源ユニット48の右側には、電源ユニット48から遊技機各部へ供給する電源を遮断するために傾倒スイッチで構成される電源スイッチ40が、遊技球が直撃落下してもオフにならないように、下側に傾倒したとき(スイッチの中央より下を押したとき)にオンとなるように設けられている。   As shown in FIG. 2, the power supply unit 48 is provided on the lower left side of the gaming machine as viewed from the rear, and AC power supplied from the outside of the gaming machine is supplied to the entire gaming machine (a control device including the main board 102 and the sub board 104, and the liquid crystal unit 42). Etc.) are converted, generated and supplied to various voltages used in the production device. On the right side of the power supply unit 48, a power switch 40 composed of a tilt switch for shutting off the power supplied from the power supply unit 48 to each part of the gaming machine is provided so that it does not turn off even if the game ball falls directly. It is provided to turn on when tilted to the side (when the switch is pushed down from the center of the switch).

払出制御基板45は、図2のように遊技機の背面視右下に設けられており、主に、メイン基板102からの払出に係る指令や外部からの貸出要求に応じて払出ユニット43を制御する払出制御機能と、発射ハンドル17の操作量に応じた強度で遊技球を遊技領域に発射するように発射装置を制御する発射制御機能とを備えたものであり、CPU・ROM・RWM(リードライトメモリ、以下略。)を中心に適宜入出力回路等を備えている。   As shown in FIG. 2, the payout control board 45 is provided in the lower right side of the gaming machine as viewed from the back. The payout control board 45 mainly controls the payout unit 43 in accordance with an instruction related to payout from the main board 102 or an external lending request. And a firing control function for controlling the launching device so as to launch a game ball to the game area with an intensity corresponding to the amount of operation of the launching handle 17, and a CPU / ROM / RWM (lead An input / output circuit or the like is provided as appropriate mainly with a write memory (hereinafter abbreviated).

メイン基板102は、図2のように遊技盤50の背面視中央下部に設けられており、主に、第1始動入賞口62、第2始動入賞口63へ入賞したことに基づく抽選処理等、遊技機の出球に関する処理や、サブ基板(演出制御基板)104、払出制御基板45等に対する制御指令(制御コマンド)、遊技状態情報等を出力する処理など、遊技機全体の中心的な制御機能を備えたものであり、前述の払出制御基板45と同様にCPU・ROM・RWMや適宜入出力回路を備えている。   As shown in FIG. 2, the main board 102 is provided at the lower center in the rear view of the game board 50, and mainly a lottery process based on winning in the first start winning opening 62 and the second starting winning opening 63, etc. Central control functions of the entire gaming machine, such as processing related to the game machine's launching, processing to output control commands (control commands) for the sub board (production control board) 104, payout control board 45, etc., gaming state information, etc. As with the above-described payout control board 45, a CPU, a ROM, an RWM, and an appropriate input / output circuit are provided.

サブ基板104は、図2のように遊技盤の背面視中央上部に、液晶ユニット42と一体的に設けられており、主に、液晶ユニット42(演出図柄表示装置60)における表示内容を制御する機能を備えたものであり、先のメイン基板102、払出制御基板45と同様にCPU・ROM・RWMや適宜入出力回路を備えている。なお、サブ基板104は画像を制御する機能を有する関係上、サブ基板用の主CPUに加え、画像用のVDP、VDPを制御する画像制御専用のCPUも搭載している。   The sub-board 104 is integrally provided with the liquid crystal unit 42 at the upper center of the game board as viewed from the rear as shown in FIG. 2, and mainly controls the display content in the liquid crystal unit 42 (the effect symbol display device 60). Similar to the main board 102 and the payout control board 45, a CPU, a ROM, an RWM, and an appropriate input / output circuit are provided. Since the sub-board 104 has a function of controlling an image, in addition to the main CPU for the sub-board, a CPU dedicated to image control for controlling the VDP for images and VDP is also mounted.

そして、これらのメイン基板102、払出制御基板45、およびサブ基板104は、遊技制御装置100を構成する。なお、メイン基板102、払出制御基板45、およびサブ基板104の詳細については後述する。また、サブ基板104については、演出制御の主体的な機能を担う主サブ基板(本実施例ではサブメイン基板301)と、画像作成などの特定の演出機能に特化した副サブ基板(本実施例ではサブサブ基板302)とに分かれているが、「サブ基板」の用語はこれらを総称したものである。そして、サブメイン基板301とサブサブ基板302の詳細については後述する。また、セット基盤39の図2中における右上部には、メイン基板102や払出制御基板45等からの信号をぱちんこ遊技機10の外部の機器へ中継する外部中継端子基板49が設けられている。
<ぱちんこ遊技機の主要な機能ブロック及び機能の概要>
The main board 102, the payout control board 45, and the sub board 104 constitute a game control apparatus 100. Details of the main board 102, the payout control board 45, and the sub board 104 will be described later. As for the sub-board 104, a main sub-board (sub-main board 301 in this embodiment) responsible for the main function of effect control and a sub-sub-board specialized for a specific effect function such as image creation (this implementation). In the example, it is divided into a sub-sub board 302), but the term “sub-board” is a general term for these. Details of the sub main board 301 and the sub sub board 302 will be described later. 2 is provided with an external relay terminal board 49 that relays signals from the main board 102, the payout control board 45, and the like to devices outside the pachinko gaming machine 10.
<Outline of main functional blocks and functions of pachinko machines>

図3は、本実施例のぱちんこ遊技機10における遊技制御装置100と、遊技制御装置100に対する入出力機器とを機能ブロックにより示している。ぱちんこ遊技機10において、遊技制御装置100は、第1始動入賞口62、第2始動入賞口63、第1大入賞口91、第2大入賞口92、一般入賞口72、作動口68(本実施例では68a,68b)、第1特別図柄表示装置70、第2特別図柄表示装置71、演出図柄表示装置60、普通図柄表示装置59、操作ボタン82、スピーカ19、遊技効果ランプ90のそれぞれと電気的に接続されており、各種制御信号の送受信を可能とする。遊技制御装置100は、遊技の基本動作だけでなく、図柄変動表示や電飾等の演出的動作も制御する。遊技制御装置100は、遊技の基本動作や遊技の進行を含むぱちんこ遊技機10の全体動作を制御する主制御装置としてのメイン基板102と、図柄の演出等を制御する副制御装置としてのサブ基板104とに機能を分担させた形態で構成される。なお、実際には遊技制御装置100の機能の一部として存在する払出制御基板45及び、この払出制御基板45により制御される部分の機能については一般的なものを採用可能であるため、図3での記載及び説明は割愛し、必要な部分については、適宜説明する。   FIG. 3 shows the game control device 100 and the input / output devices for the game control device 100 in the pachinko gaming machine 10 of this embodiment by functional blocks. In the pachinko gaming machine 10, the game control device 100 includes a first start winning port 62, a second starting winning port 63, a first major winning port 91, a second major winning port 92, a general winning port 72, an operating port 68 (this 68a, 68b in the embodiment), the first special symbol display device 70, the second special symbol display device 71, the effect symbol display device 60, the normal symbol display device 59, the operation button 82, the speaker 19, and the game effect lamp 90, respectively. It is electrically connected and enables transmission and reception of various control signals. The game control apparatus 100 controls not only the basic operation of the game, but also staging operations such as symbol variation display and electrical decoration. The game control device 100 includes a main substrate 102 as a main control device that controls the overall operation of the pachinko gaming machine 10 including basic operations of the game and the progress of the game, and a sub substrate as a sub-control device that controls design effects and the like. 104 is configured in such a manner that functions are shared. Note that since the payout control board 45 that actually exists as a part of the functions of the game control apparatus 100 and the functions of the parts controlled by the payout control board 45 can be general, FIG. Descriptions and explanations in are omitted, and necessary parts will be explained as appropriate.

また、本実施例においてブロック図中のブロックとして説明されている構成(特に各種の機能的手段や機能的部分)については、CPUやROM、RWMによって実現されている機能に該当するものが含まれている。
<ぱちんこ遊技機の電気的構成の詳細>
In addition, configurations (particularly various functional means and functional parts) described as blocks in the block diagram in this embodiment include those corresponding to functions realized by the CPU, ROM, and RWM. ing.
<Details of electrical configuration of pachinko machines>

次に、前述の各電気的構成(図2,図3参照)のうち主要なものについて説明する。先ず、図4に示すように、ぱちんこ遊技機10には、電源基板251、払出制御基板45、メイン基板102、及びサブ基板104が備えられている。電源基板251には、上記払出制御基板45等が接続されている。払出制御基板45には、上記メイン基板102、遊技球等貸出装置接続端子板252、及びハンドル接続基板253等が接続されており、メイン基板102には、遊技盤接続基板254や、演出インターフェースA基板(図示略)等が接続されている。そして、遊技盤接続基板254には、図柄表示基板256が接続されている。   Next, main ones of the above-described electrical configurations (see FIGS. 2 and 3) will be described. First, as shown in FIG. 4, the pachinko gaming machine 10 includes a power supply board 251, a payout control board 45, a main board 102, and a sub board 104. The payout control board 45 and the like are connected to the power supply board 251. The payout control board 45 is connected to the main board 102, the gaming ball lending device connection terminal board 252, the handle connection board 253, and the like. The main board 102 is connected to the game board connection board 254 and the effect interface A. A substrate (not shown) or the like is connected. A symbol display board 256 is connected to the game board connection board 254.

ここで、電源基板251は、前述の電源ユニット48に備えられている。また、払出制御基板45には、図示を省略するが、エラーの種別の表示などに用いられる状態表示部や、球貸しに係る金銭処理や球貸処理を実行するカードユニットなども接続されている。さらに、遊技球等貸出装置接続端子板は、球貨操作に用いられる球貨操作基板(図示略)等が接続される。ハンドル接続基板253には、発射装置のタッチスイッチ(図示略)や発射停止スイッチ(図示略)等が接続される。また、遊技盤接続基板254には、図柄表示基板256のほか、前述の通過検出装置69、普通電動役物ソレノイド76、第1大入賞口91の入賞検出装置78や大入賞口ソレノイド80、第2大入賞口92の入賞検出装置79や大入賞口ソレノイド81、一般入賞検出装置73,磁気センサや電波センサ(図示略)等が接続されている。さらに、図柄表示基板256は、前述の特別図柄等表示装置53に備えられているものであり、図柄表示基板256には、第1特別図柄表示装置70や第2特別図柄表示装置71が設けられている。   Here, the power supply board 251 is provided in the power supply unit 48 described above. Although not shown, the payout control board 45 is also connected to a status display unit used for displaying the type of error, a card unit for executing monetary processing related to ball lending and ball lending processing, and the like. . Furthermore, a game ball lending device connection terminal board is connected to a ball operation board (not shown) used for ball operation. A touch switch (not shown) of a launching device, a firing stop switch (not shown), and the like are connected to the handle connection board 253. In addition to the symbol display board 256, the game board connection board 254 includes the above-described passage detection device 69, the ordinary electric accessory solenoid 76, the winning detection device 78 of the first big winning opening 91, the big winning opening solenoid 80, A winning detection device 79 for the two major winning ports 92, a large winning port solenoid 81, a general winning detection device 73, a magnetic sensor, a radio wave sensor (not shown), and the like are connected. Further, the symbol display board 256 is provided in the above-described special symbol display device 53, and the symbol display board 256 is provided with a first special symbol display device 70 and a second special symbol display device 71. ing.

前述の演出インターフェースA基板は、メイン基板102と他の機器とを中継するものであり、この演出インターフェースA基板には、サブ基板104や、演出インターフェースB基板(図示略)が接続されている。また、サブ基板104には、前述の液晶ユニット42が接続されている。   The effect interface A board described above relays the main board 102 and other devices, and the effect interface A board is connected to the sub board 104 and the effect interface B board (not shown). Further, the liquid crystal unit 42 is connected to the sub-board 104.

演出インターフェースB基板は、演出インターフェースA基板やサブ基板104と他の機器とを中継するものであり、この演出インターフェースB基板には、図示を省略するが、プラ枠接続基板、各種の枠電飾基板、各種の枠モータ、センター飾り64の各種電飾基板、可動演出部材93,94の各種の可動体モータ等が接続されている。ここで、枠モータは、遊技機枠に備えられた可動演出部材(図示略)の駆動に用いられるものである。   The effect interface B board relays the effect interface A board or the sub board 104 and other devices. Although not shown, the effect interface B board is a plastic frame connection board and various frame illuminations. A board, various frame motors, various electric decoration boards of the center decoration 64, various movable body motors of the movable effect members 93 and 94, and the like are connected. Here, the frame motor is used to drive a movable effect member (not shown) provided in the gaming machine frame.

プラ枠接続基板には、上球皿15や下球皿16に設けられた皿電飾接続基板259、各種スピーカ19に接続される各種スピーカ接続基板のうちの下スピーカ接続基板260が接続されており、皿電飾接続基板259には、演出ボタン基板261が接続されている。演出ボタン基板261は、操作ボタン82が備えられたボタン装置に設けられているもので、操作ボタンが押圧操作されたことを検出するスイッチ(図示略)や、操作ボタン用発光体82a(図示略)等を搭載している。   Connected to the plastic frame connection board are the dish illumination connection board 259 provided on the upper ball dish 15 and the lower ball dish 16, and the lower speaker connection board 260 among the various speaker connection boards connected to the various speakers 19. In addition, the effect button substrate 261 is connected to the dish illumination connection substrate 259. The effect button substrate 261 is provided in a button device provided with an operation button 82, and a switch (not shown) for detecting that the operation button is pressed or an operation button light emitter 82a (not shown). ) Etc. are installed.

次に、電源基板251やメイン基板102等の構成について説明する。図4に示すように、メイン基板102には、演算装置である1チップマイコンとしてのCPU501が搭載されている。また、メイン基板102には、CPU501により実行される各種の制御プログラムや固定値データを記憶したROM502と、そのROM502内に記憶される制御プログラムの実行に際して各種のデータ等を一時的に記憶するためのメモリであるRWM503と、CPU501の外部に所定のデータの出力を行うデータ出力部516と、そのほか、割込回路やタイマ回路、データ送受信回路などの各種回路(図示略)が形成されている。   Next, the configuration of the power supply board 251 and the main board 102 will be described. As shown in FIG. 4, a CPU 501 as a one-chip microcomputer that is an arithmetic device is mounted on the main board 102. The main board 102 also stores a ROM 502 storing various control programs executed by the CPU 501 and fixed value data, and various data temporarily when executing the control program stored in the ROM 502. In addition, an RWM 503, a data output unit 516 that outputs predetermined data to the outside of the CPU 501, and various circuits (not shown) such as an interrupt circuit, a timer circuit, and a data transmission / reception circuit are formed.

上述のCPU501としては、例えば樹脂パッケージングされたCPU装置内の1チップマイコンを利用可能であり、本実施例では、CPU装置内に、図示は省略するが、制御用クロック生成回路、乱数用クロック生成回路、16ビット乱数用の乱数回路、8ビットの乱数用の乱数回路が形成されている。上述の16ビット乱数用の乱数回路、及び、8ビットの乱数用の乱数回路は、内蔵乱数であるハードウエア乱数(後述する)を発生させるためのものである。なお、図4中のROM502やRWM503は、CPU装置に内蔵されたもの、及び、CPU装置に対して外付けられたものを含む包括的な概念のものである。   As the above-described CPU 501, for example, a one-chip microcomputer in a CPU device that is resin-packaged can be used. In this embodiment, although not shown in the figure, a control clock generation circuit, a random number clock, A generation circuit, a random number circuit for 16-bit random numbers, and a random number circuit for 8-bit random numbers are formed. The above-described 16-bit random number random number circuit and 8-bit random number random number circuit are for generating hardware random numbers (which will be described later) as internal random numbers. Note that the ROM 502 and RWM 503 in FIG. 4 are comprehensive concepts including those built in the CPU device and those externally attached to the CPU device.

RWM503は、ぱちんこ遊技機10の電源の遮断後においても電源基板251からバックアップ電圧が供給されてデータを保持(バックアップ)できる構成となっており、RWM503には、各種のデータ等を一時的に記憶するためのメモリやエリア(図示略)の他に、バックアップエリア503aが設けられている。   The RWM 503 has a configuration in which a backup voltage is supplied from the power supply board 251 even after the power supply of the pachinko gaming machine 10 is cut off and data can be retained (backed up). The RWM 503 temporarily stores various data and the like. In addition to a memory and an area (not shown), a backup area 503a is provided.

バックアップエリア503aは、停電(瞬間的な電圧降下による停電を含む)などの発生により電源が遮断された場合(電断が生じた場合)において、電源遮断時のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアであり、電源投入時(停電解消による電源投入を含む。以下同様)には、バックアップエリア503aの情報に基づいてぱちんこ遊技機10の状態が電源遮断前の状態に復帰される。バックアップエリア503aへの書き込みはNMI割込処理(電源断処理)によって電源遮断時に実行され、バックアップエリア503aに書き込まれた各値の復帰は電源投入時の制御開始処理において実行される。バックアップエリア503aとしては、CPU501に対して外付けされバックアップ電源の接続された外部RWMを利用することが可能である。   The backup area 503a has a stack pointer, each register, I / O when the power is shut down (when power is cut off) due to a power failure (including a power failure due to an instantaneous voltage drop). This is an area for storing values such as O. When power is turned on (including power-on due to power failure cancellation, the same applies hereinafter), the pachinko gaming machine 10 is powered off based on information in the backup area 503a. The previous state is restored. Writing to the backup area 503a is executed at the time of power-off by an NMI interrupt process (power-off process), and restoration of each value written to the backup area 503a is executed in a control-start process at power-on. As the backup area 503a, an external RWM externally connected to the CPU 501 and connected to a backup power source can be used.

メイン基板102には、停電等による電源遮断を監視する停電監視回路部506が設けられている。この停電監視回路部506は、停電等の発生による電源遮断時に、メイン基板102のCPU501のNMI端子504、及び払出制御基板45のNMI端子514へ停電信号を出力するための回路である。停電監視回路部506は、電源基板251の電源部541から出力される最大電圧である直流安定(例えば30ボルト)の電圧を監視し、この電圧が所定電圧未満になった場合に停電(電源遮断)の発生と判断して、電断信号をメイン基板102におけるCPU501のNMI端子504や他の基板へ出力する。電断信号の入力によって、メイン基板102におけるCPU501、払出制御基板45におけるCPU511は、即座にNMI割込処理を実行する。ここで、NMI端子への信号入力は、停電監視回路506から適正に電断信号の出力があった場合のほか、ノイズの混入などの場合にも生じ得るものである。   The main board 102 is provided with a power failure monitoring circuit unit 506 for monitoring power interruption due to a power failure or the like. The power failure monitoring circuit unit 506 is a circuit for outputting a power failure signal to the NMI terminal 504 of the CPU 501 of the main board 102 and the NMI terminal 514 of the payout control board 45 when the power is cut off due to the occurrence of a power failure or the like. The power failure monitoring circuit unit 506 monitors the DC stable voltage (for example, 30 volts) which is the maximum voltage output from the power source unit 541 of the power supply board 251 and when this voltage becomes less than a predetermined voltage, the power failure (power shutdown) ) Is generated, and a power interruption signal is output to the NMI terminal 504 of the CPU 501 on the main board 102 or another board. In response to the input of the power interruption signal, the CPU 501 on the main board 102 and the CPU 511 on the payout control board 45 immediately execute an NMI interrupt process. Here, the signal input to the NMI terminal can occur not only when the power failure monitoring circuit 506 properly outputs the power interruption signal but also when noise is mixed.

なお、電源基板251の電源部541は、直流安定電圧が所定電圧未満になった後においても、NMI割込処理の実行に充分な時間の間、制御系の駆動電圧である5ボルトの電圧の出力を正常値に維持するように構成されている。よって、メイン基板102及び払出制御基板45は、NMI割込処理を正常に実行し完了することができる。   The power supply unit 541 of the power supply board 251 has a voltage of 5 volts, which is the drive voltage of the control system, for a time sufficient to execute the NMI interrupt processing even after the DC stable voltage becomes less than the predetermined voltage. It is configured to maintain the output at a normal value. Therefore, the main board 102 and the payout control board 45 can normally execute and complete the NMI interrupt process.

また、本実施例においては、サブメイン基板301にも、停電監視回路部506から電断信号に基づき、メイン基板102から、電断信号となり電源電圧の低下の有無を示す値(0又は1)が入力されている。サブメイン基板301のバックアップ機能については後述する。   In the present embodiment, the sub main board 301 also has a value (0 or 1) indicating whether or not the power supply voltage is reduced from the main board 102 based on the power interruption signal from the power failure monitoring circuit unit 506. Is entered. The backup function of the sub main board 301 will be described later.

なお、停電監視回路部506は、メイン基板102以外の部位に配置することも可能である。例えば、電源基板251上に停電監視回路部506を形成して、電源基板251上において停電監視回路部506から各基板へ電断信号を入力してもよい。また、メイン基板102から払出制御基板45への電断信号の入力を省略することも可能である。また、電源基板251の機能を、メイン基板102が発揮できるようにしてもよい。この場合、電源部541をメイン基板102上に形成することなどが考えられる。   Note that the power failure monitoring circuit unit 506 can be disposed in a part other than the main board 102. For example, the power failure monitoring circuit unit 506 may be formed on the power supply substrate 251 and a power interruption signal may be input from the power failure monitoring circuit unit 506 to each substrate on the power supply substrate 251. It is also possible to omit the input of the power interruption signal from the main board 102 to the payout control board 45. Further, the main board 102 may be able to exhibit the function of the power supply board 251. In this case, it is conceivable to form the power supply unit 541 on the main substrate 102.

払出制御基板45において、演算装置であるCPU511は、そのCPU511により実行される制御プログラムや固定値データ等を記憶したROM512と、ワークメモリ等として使用されるRWM513とを備えている。   In the payout control board 45, the CPU 511 that is an arithmetic device includes a ROM 512 that stores a control program executed by the CPU 511, fixed value data, and the like, and an RWM 513 that is used as a work memory and the like.

払出制御基板45のRWM513は、メイン基板102のRWM503と同様に、ぱちんこ遊技機10の電源の遮断後においても電源基板251からバックアップ電圧が供給されてデータを保持(バックアップ)できる構成となっており、RWM513には、各種のデータ等を一時的に記憶するためのメモリやエリアの他に、バックアップエリア513aが設けられている。   The RWM 513 on the payout control board 45 is configured to hold (backup) data by supplying a backup voltage from the power board 251 even after the power supply of the pachinko gaming machine 10 is shut off, like the RWM 503 on the main board 102. The RWM 513 is provided with a backup area 513a in addition to a memory and an area for temporarily storing various data.

バックアップエリア513aは、停電などの発生により電源が遮断された場合において、電源遮断時のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアであり、電源投入時には、このバックアップエリア513aの情報に基づいてぱちんこ遊技機10の状態が電源遮断前の状態に復帰される。バックアップエリア513aへの書き込みはNMI割込処理によって電源遮断時に実行され、バックアップエリア513aに書き込まれた各値の復帰は電源投入時のメイン処理において実行される。   The backup area 513a is an area for storing the stack pointer, registers, I / O, and other values when the power is cut off when the power is cut off due to a power failure or the like. Based on the information in the backup area 513a, the state of the pachinko gaming machine 10 is restored to the state before the power is shut off. Writing to the backup area 513a is executed when the power is shut off by the NMI interrupt process, and restoration of each value written to the backup area 513a is executed in the main process when the power is turned on.

サブ基板104は、サブメイン基板301と、サブサブ基板302とにより構成されている。このうちサブメイン基板301は、CPU521と、ROM(プログラムROM)522と、ワークRWM523と、入力ポート527と、出力ポート528、バスライン(図示略)などを備えている。そして、入力ポート527の入力側にはメイン基板102の出力側が接続され、入力ポート527の出力側には、CPU521、ROM522、ワークRWM523、及び出力ポート528などが接続されている。また、サブメイン基板301には、音出力制御に用いられる音制御回路820が備えられている。   The sub board 104 includes a sub main board 301 and a sub sub board 302. Among these, the sub-main board 301 includes a CPU 521, a ROM (program ROM) 522, a work RWM 523, an input port 527, an output port 528, a bus line (not shown), and the like. The output side of the main board 102 is connected to the input side of the input port 527, and the CPU 521, ROM 522, work RWM 523, output port 528, and the like are connected to the output side of the input port 527. The sub main board 301 is provided with a sound control circuit 820 used for sound output control.

サブサブ基板302は、ビデオRWM(ビデオメモリ)524と、キャラクタROM525と、画像コントローラ526と、入力ポート530と、出力ポート529と、バスライン(図示略)などを備えている。そして、入力ポート527の入力側にはサブメイン基板301の出力側が接続され、入力ポート530の出力側には、ビデオRWM524、キャラクタROM525と、画像コントローラ526、及び出力ポート529が接続されている。   The sub-sub board 302 includes a video RWM (video memory) 524, a character ROM 525, an image controller 526, an input port 530, an output port 529, a bus line (not shown), and the like. The input side of the input port 527 is connected to the output side of the sub main board 301, and the output side of the input port 530 is connected to the video RWM 524, the character ROM 525, the image controller 526, and the output port 529.

サブメイン基板301のCPU521は、メイン基板102から送信される図柄表示用の演出制御コマンド(指令)に基づいて演出図柄表示装置60の表示を制御する。ROM522は、CPU521により実行される各種の制御プログラムや固定値データを記憶するためのメモリであり、ワークRWM523は、CPU521による各種プログラムの実行時に使用されるワークデータやフラグを一時的に記憶するためのメモリである。   The CPU 521 of the sub main board 301 controls the display of the effect symbol display device 60 based on the effect control command (command) for symbol display transmitted from the main substrate 102. The ROM 522 is a memory for storing various control programs and fixed value data executed by the CPU 521, and the work RWM 523 is for temporarily storing work data and flags used when the CPU 521 executes various programs. Memory.

サブサブ基板302のビデオRWM524は、演出図柄表示装置60に表示される表示データを記憶するためのメモリであり、ビデオRWM524の内容を書き替えることにより、演出図柄表示装置60の表示内容が変更される。キャラクタROM525は、演出図柄表示装置60に表示される図柄などのキャラクタデータを記憶するためのメモリである。画像コントローラ526は、CPU521、ビデオRWM524、出力ポート529のそれぞれのタイミングを調整してデータの読み書きに介在すると共に、ビデオRWM524に記憶される表示データを、キャラクタROM525から所定のタイミングで読み出し、更に予め優先順位を定めたレイヤの順に図柄を重ねて演出図柄表示装置60に表示させるものである。   The video RWM 524 of the sub-sub board 302 is a memory for storing display data displayed on the effect symbol display device 60, and the display contents of the effect symbol display device 60 are changed by rewriting the contents of the video RWM 524. . The character ROM 525 is a memory for storing character data such as symbols displayed on the effect symbol display device 60. The image controller 526 adjusts the timing of the CPU 521, the video RWM 524, and the output port 529 to intervene in reading and writing data, and reads display data stored in the video RWM 524 from the character ROM 525 at a predetermined timing. The design is displayed on the effect design display device 60 by superimposing the designs in the order of the layers in which the priorities are determined.

電源基板251は、ぱちんこ遊技機10の各部に電源を供給するための電源部541と、初期化スイッチ544を有する初期化スイッチ回路部543とを備えている。電源部541は、図示しない電源経路を通じて、メイン基板102や払出制御基板45等に対して各々に必要な動作電圧を供給する。その概要としては、電源部541は、外部より供給される所定の電圧を取り込み、各種スイッチ、モータ、ロジック回路等を駆動するための所定量の電圧をメイン基板102や払出制御基板45等に対して供給する。   The power supply board 251 includes a power supply unit 541 for supplying power to each unit of the pachinko gaming machine 10 and an initialization switch circuit unit 543 having an initialization switch 544. The power supply unit 541 supplies necessary operating voltages to the main board 102, the payout control board 45, and the like through a power supply path (not shown). As its outline, the power supply unit 541 takes in a predetermined voltage supplied from the outside, and supplies a predetermined amount of voltage for driving various switches, motors, logic circuits, etc. to the main board 102, the payout control board 45, and the like. Supply.

初期化スイッチ回路部543は、電源投入時に例えば遊技場店員等によって初期化スイッチ544が押下された場合に、メイン基板102及び払出制御基板45へ、バックアップデータをクリアするためのRWM消去信号を出力する回路を備えている。メイン基板102及び払出制御基板45は、ぱちんこ遊技機10の電源投入時に、RWM消去信号を入力した場合に、それぞれのバックアップエリア503a,513aのデータをクリアする。
<メイン基板及びサブ基板の機能的構成>
The initialization switch circuit unit 543 outputs an RWM erase signal for clearing backup data to the main board 102 and the payout control board 45 when the initialization switch 544 is pressed by, for example, a game hall clerk at power-on. It has a circuit to do. When the RWM erase signal is input when the pachinko gaming machine 10 is turned on, the main board 102 and the payout control board 45 clear the data in the respective backup areas 503a and 513a.
<Functional configuration of main board and sub board>

次に、メイン基板102及びサブ基板104について機能的な側面から説明する。本実施例におけるメイン基板102は、図5に示すように、入球判定手段110、第1抽選手段126、第2抽選手段128、普図抽選手段136、保留制御手段116、メイン表示制御手段118、条件保持手段176、特別遊技制御手段120、特定遊技制御手段122、開閉制御手段124、事前情報通知手段157、コマンド送信手段332を備える。   Next, the main board 102 and the sub board 104 will be described from a functional side. As shown in FIG. 5, the main board 102 in the present embodiment is a ball determination unit 110, a first lottery unit 126, a second lottery unit 128, a general drawing lottery unit 136, a holding control unit 116, and a main display control unit 118. , Condition holding means 176, special game control means 120, specific game control means 122, opening / closing control means 124, advance information notification means 157, and command transmission means 332.

一方、本実施例におけるサブ基板104は、前述のようにサブメイン基板301とサブサブ基板302とにより構成されており、このうちサブメイン基板301は、図6中に示すように、パターン記憶手段130、図柄態様決定手段131、演出決定手段132、演出表示制御手段134を備える。また、サブメイン基板301は、コマンド受信手段304、演出態様送信手段305を備える。さらに、サブ基板104には、スピーカ出力等の制御を行うための音制御手段312と、遊技効果ランプ出力等の制御を行う光制御手段313とが備えられている。   On the other hand, the sub-board 104 in this embodiment is constituted by the sub-main board 301 and the sub-sub-board 302 as described above. Of these, the sub-main board 301 is the pattern storage means 130 as shown in FIG. , Symbol mode determining means 131, effect determining means 132, and effect display control means 134. The sub main board 301 includes command receiving means 304 and effect mode transmitting means 305. Further, the sub-board 104 is provided with sound control means 312 for controlling speaker output and the like, and light control means 313 for controlling game effect lamp output and the like.

なお、メイン基板102に含まれる各機能ブロックは、いずれかがメイン基板102ではなくサブメイン基板301に搭載されるかたちで構成されてもよい。同様に、サブメイン基板301に含まれる各機能ブロックは、いずれかがサブメイン基板301ではなくメイン基板102に搭載されるかたちで構成されてもよい。   Each functional block included in the main board 102 may be configured such that any one of the functional blocks is mounted on the sub main board 301 instead of the main board 102. Similarly, each functional block included in the sub main board 301 may be configured such that any one of the functional blocks is mounted on the main board 102 instead of the sub main board 301.

ただし、メイン基板102とサブメイン基板301の間におけるデータの送受信はメイン基板102からサブメイン基板301への一方向であるため、そのような一方向でのデータ送受信にて全体動作が実現されるよう各構成がメイン基板102とサブメイン基板301に配置される。このようにメイン基板102からサブメイン基板301へのデータ送信の一方向性が保たれるため、サブメイン基板301に含まれる構成からメイン基板102に含まれる構成へはデータを送信することができず、データ送信の要求もできない。したがって、メイン基板102で生成された情報は、メイン基板102がサブメイン基板301へ一方的に送信しない限りサブメイン基板301から参照することはできない。   However, since data transmission / reception between the main board 102 and the sub main board 301 is unidirectional from the main board 102 to the sub main board 301, the entire operation is realized by such data transmission / reception in one direction. Each component is arranged on the main board 102 and the sub main board 301. As described above, since the one-way transmission of data from the main board 102 to the sub main board 301 is maintained, data can be transmitted from the configuration included in the sub main board 301 to the configuration included in the main board 102. In addition, no data transmission can be requested. Therefore, the information generated on the main board 102 cannot be referred to from the sub main board 301 unless the main board 102 unilaterally transmits the information to the sub main board 301.

また、サブサブ基板302は、サブメイン基板301と同じく図6中に示すように、演出態様受信手段308、演出実行手段309などを備えている。
<<メイン基板の主要な機能>>
Further, as shown in FIG. 6, the sub sub board 302 includes an effect mode receiving unit 308, an effect executing unit 309, and the like, as in the sub main board 301.
<< Main functions of main board >>

入球判定手段110は、各入賞口への遊技球の入球を判定する。入球判定手段110は、第1始動入賞情報を受け取ると遊技球が第1始動入賞口62に入賞したと判断し、第2始動入賞情報を受け取ると遊技球が第2始動入賞口63に入賞したと判断する。入球判定手段110は、第1大入賞口入賞情報を受け取ると遊技球が第1大入賞口91に入賞したと判断し、第2大入賞口入賞情報を受け取ると遊技球が第2大入賞口92に入賞したと判断し、一般入賞情報を受け取ると遊技球が一般入賞口72に入賞したと判断する。入球判定手段110は、通過情報を受け取ると遊技球が作動口68を通過したと判断する。   The entrance determination means 110 determines whether or not a game ball has entered each winning opening. When receiving the first start winning information, the winning determination means 110 determines that the game ball has won the first start winning opening 62, and when receiving the second start winning information, the game ball won the second start winning opening 63. Judge that When receiving the first grand prize opening winning information, the winning determination means 110 determines that the gaming ball has won the first big winning opening 91, and receiving the second big winning opening winning information, the gaming ball receives the second big winning prize. When it is determined that a winning is made in the mouth 92 and the general winning information is received, it is determined that the game ball has won the general winning opening 72. When receiving the passage information, the ball entering determination unit 110 determines that the game ball has passed through the operation port 68.

第1始動入賞口62への入球に対応する第1の抽選を実行する第1抽選手段126は、第1抽選値取得手段112、第1当否判定手段113、第1パターン決定手段114、第1図柄決定手段320を含む。第2始動入賞口63への入球に対応する第2の抽選を実行する第2抽選手段128は、第2抽選値取得手段115、第2当否判定手段117、第2パターン決定手段119、第2図柄決定手段322を含む。第1の抽選の結果は、第1特別図柄表示装置70において第1特別図柄192の変動表示の形で示され、演出図柄表示装置60の表示領域194において装飾図柄190a〜190cの変動表示の形で示される。第2の抽選の結果は、第2特別図柄表示装置71において第2特別図柄193の変動表示の形で示され、演出図柄表示装置60の表示領域194において装飾図柄190a〜190cの変動表示の形で示される。   The first lottery means 126 for executing the first lottery corresponding to entering the first start winning opening 62 is the first lottery value acquiring means 112, the first winning / failing determining means 113, the first pattern determining means 114, the first 1 design determination means 320 is included. The second lottery means 128 for executing the second lottery corresponding to the ball entering the second start winning opening 63 is the second lottery value acquiring means 115, the second winning / failing determining means 117, the second pattern determining means 119, the second 2 symbol determination means 322 is included. The result of the first lottery is shown in the form of variable display of the first special symbol 192 in the first special symbol display device 70, and in the display area 194 of the effect symbol display device 60 in the form of variable display of the decorative symbols 190a to 190c. Indicated by The result of the second lottery is shown in the form of variable display of the second special symbol 193 on the second special symbol display device 71, and in the display area 194 of the effect symbol display device 60, the form of variable display of the decorative symbols 190a to 190c. Indicated by

第1抽選手段126および第2抽選手段128は、図柄変動を開始するにあたり、その図柄変動に対応する抽選の結果を図柄変動の制御コマンドとともに演出決定手段132へ送信する。   When the first lottery means 126 and the second lottery means 128 start the symbol variation, the lottery result corresponding to the symbol variation is transmitted to the effect determining unit 132 together with the symbol variation control command.

第1抽選値取得手段112は、第1始動入賞口62への入球を契機に、第1の抽選のために乱数の値を第1当否抽選値として取得する。第2抽選値取得手段115は、第2始動入賞口63への入球を契機に、第2の抽選のために乱数の値を第2当否抽選値として取得する。たとえば、当否抽選のために第1当否抽選値および第2当否抽選値として取得する値は「0」から「65535」までの数値範囲から取得される。本実施例では、第1当否抽選値及び第2当否抽選値として取得する乱数は、ハードウエアで構成された1の生成装置を共用したハードウエア乱数(CPU501の内部で生成される内蔵乱数)とソフトウエアの乱数生成プログラム(割込毎に更新するカウンタ等)により抽出したソフトウエア乱数(ソフト乱数)とを演算(加算)した2段構成の乱数発生手段により生成されている。ちなみに、取得タイミングが全く同一であれば第1始動入賞口の入球に基づくハードウエア乱数の値と第2始動入賞口の入球に基づくハードウエア乱数の値とは同一の値が取得されるため一方の乱数取得系のみが故障して想定外の遊技確率とならないように設計されている。第1抽選値取得手段112および第2抽選値取得手段115が第1当否抽選値または第2当否抽選値として取得する値は、保留制御手段116により一時的に保留される。ただし、保留制御手段116により保留される所定の保留上限数を超えない範囲で第1当否抽選値と第2当否抽選値が保留される。   The first lottery value acquisition unit 112 acquires a random number value as the first winning / no-win lottery value for the first lottery when the first start winning opening 62 is entered. The second lottery value acquisition unit 115 acquires a random number value as the second winning / no-win lottery value for the second lottery when the player enters the second start winning opening 63. For example, the values acquired as the first winning / nothing lottery value and the second winning / nothing lottery value for the winning / losing lottery are acquired from a numerical range from “0” to “65535”. In the present embodiment, the random numbers acquired as the first winning / losing lottery value and the second winning / losing lottery value are a hardware random number (built-in random number generated inside the CPU 501) sharing one generating device configured by hardware. It is generated by a two-stage random number generation means that calculates (adds) a software random number (soft random number) extracted by a software random number generation program (a counter or the like that is updated every interrupt). Incidentally, if the acquisition timings are exactly the same, the hardware random number value based on the first start winning opening and the hardware random number value based on the second starting winning opening are acquired the same value. Therefore, it is designed so that only one random number acquisition system fails and does not have an unexpected game probability. The value acquired by the first lottery value acquisition unit 112 and the second lottery value acquisition unit 115 as the first winning / losing lottery value or the second winning / losing lottery value is temporarily held by the holding control unit 116. However, the first success / failure lottery value and the second success / failure lottery value are suspended within a range not exceeding the predetermined retention upper limit number retained by the suspension control means 116.

第1当否判定手段113は、第1当否抽選値に基づき、特別遊技へ移行するか否かを判定する当否判定を実行する。第2当否判定手段117は、第2当否抽選値に基づき、特別遊技へ移行するか否かを判定する当否判定を実行する。第1当否判定手段113および第2当否判定手段117は、当否判定で参照する当否判定テーブルを保持する。
<<当否抽選に係る置数>>
The first winning / failing determining means 113 executes a determining whether or not to shift to the special game based on the first winning / failing lottery value. The second winning / failing determination means 117 executes a determination of whether or not to shift to the special game based on the second winning / failing lottery value. The first success / failure determination unit 113 and the second success / failure determination unit 117 hold a success / failure determination table referred to in the determination of success / failure.
<< Numerical numbers related to the lottery >>

図8は、第1当否抽選値、或いは第2当否抽選値となる乱数値である特別図柄当り乱数(以下では「当否乱数」と称する)と抽選結果との対応を示している。本図の当否判定テーブルには、大当り、及び、はずれの判定結果と当否抽選値とが対応付けられており、対応付けられたそれぞれの範囲設定に応じて大当り当否確率が定まる。第1当否判定手段113および第2当否判定手段117(図5参照)は、本判定としての当否判定において本図の当否判定テーブルを参照する。第1当否判定手段113による第1の抽選と第2当否判定手段117による第2の抽選のいずれにおいても、通常時には当否抽選値が「63239〜63402」の範囲に該当したときのみ大当りとなる。確変時には大当りの範囲が拡大され、当否抽選値が「63239〜63402」の範囲に該当する場合だけでなく、「63403〜64878」の範囲に該当する場合にも大当りとなる。このように、大当りに該当する範囲は遊技状態に応じて変化する。   FIG. 8 shows a correspondence between a random number per special symbol (hereinafter referred to as “success / random number”) that is a random value serving as the first winning / losing lottery value or the second winning / losing lottery value and the lottery result. The success / failure determination table of this figure associates the determination result of the big hit / out and the winning / failing lottery value, and the big success / failure probability is determined according to each of the associated range settings. The first hit determination unit 113 and the second hit determination unit 117 (see FIG. 5) refer to the determination table of FIG. In both the first lottery performed by the first winning / failing determination unit 113 and the second lottery performed by the second winning / failing determination unit 117, a big hit is made only when the winning / losing lottery value falls within the range of “63239 to 63402” in normal times. When the probability changes, the range of the big hit is expanded, and not only when the winning / losing lottery value falls within the range of “63239 to 63402” but also when the lottery falls within the range of “63403 to 64878”. Thus, the range corresponding to the big hit changes according to the gaming state.

また、本実施例においては、当否抽選値が「0〜63238」、及び「64879〜65535」となった場合、大当り範囲に該当しないはずれとなる。すなわち、当否乱数値範囲の下限値である「0」から「63238」までの範囲と、上限値である「65535」に対応する抽選結果がはずれである。   Further, in this embodiment, when the success / failure lottery values are “0 to 63238” and “64879 to 65535”, the result is not corresponding to the big hit range. That is, the lottery result corresponding to the upper limit value “65535” and the range from “0” to “63238” which is the lower limit value of the success / failure random value range are different.

このように、当否乱数の数値範囲に対して、抽選結果毎に連続する数値からなるグループが形成されている。そして、例えば第1の抽選においては、図8中に示すように、数値範囲「0〜63238」が第1のはずれグループ、「63239〜63402」が第1の大当りグループ、「63403〜64878」が第2の大当りグループ、「64879〜65535」が第2のはずれグループとなっている。   In this way, a group consisting of consecutive numbers for each lottery result is formed in the numerical range of the random numbers. For example, in the first lottery, as shown in FIG. 8, the numerical value range “0-63238” is the first outlier group, “63239-63402” is the first jackpot group, and “63403-64878” is The second jackpot group, “64879-65535”, is the second outlier group.

そして、第1のはずれに対応する乱数個数は63239個である。さらに、大当り1(第1の大当りグループ)に対応する乱数個数は164個であり、大当り2(第2の大当りグループ)に対応する乱数個数は1476個である。そして、第1の遊技における通常確率時の大当り確率は164/65536であり、高確率時の大当り確率は1640(=1476+164)/65536である。   The number of random numbers corresponding to the first loss is 63239. Furthermore, the number of random numbers corresponding to jackpot 1 (first jackpot group) is 164, and the number of random numbers corresponding to jackpot 2 (second jackpot group) is 1476. The big hit probability at the normal probability in the first game is 164/65536, and the big hit probability at the high probability is 1640 (= 1476 + 164) / 65536.

また、上述のように、当否乱数は「0〜65535」の範囲の値をとり得るものであり、本実施例では、当否乱数は「0〜65535」の数値範囲の内蔵乱数(ハードウエア乱数)と、「0〜65520」の数値範囲の特別図柄当りソフト乱数(ソフトウエア乱数)との合算により得られている。内蔵乱数は、内蔵乱数テーブルから抽出された値である。内蔵乱数テーブルにおいては、所定範囲の数値(例えば「0〜65535」)が任意の順序で配列されており、CPU501に入力されるクロックを用いハードウエア(カウンタ回路)によりカウント値が1ずつ加算される毎に、内蔵乱数テーブル中に任意に配列された数値が、数値の大小関係と直接には関係なく、配列された順序に従って取得対象となる。そして、取得された内蔵乱数テーブル中の数値が、抽出されてソフト乱数との演算に用いられる。このような内蔵乱数は、ハードウエア的な構成を含む乱数生成装置による乱数であるともいえる。   Further, as described above, the success / failure random number can take a value in the range of “0 to 65535”. In this embodiment, the failure / randomness number is a built-in random number (hardware random number) in the numerical range of “0 to 65535”. And a soft random number (software random number) per special symbol in the numerical range of “0 to 65520”. The built-in random number is a value extracted from the built-in random number table. In the built-in random number table, numerical values in a predetermined range (for example, “0 to 65535”) are arranged in an arbitrary order, and a count value is incremented by 1 by hardware (counter circuit) using a clock input to the CPU 501. Each time a numerical value arbitrarily arranged in the built-in random number table becomes an acquisition target according to the arrangement order regardless of the magnitude relation of the numerical values. Then, the numerical values in the acquired internal random number table are extracted and used for calculation with the soft random numbers. It can be said that such a built-in random number is a random number generated by a random number generation device including a hardware configuration.

一方、ソフトウエア乱数は、プログラミングされたカウンタにより割込み毎にカウント値を1ずつ加算して、昇順或いは降順に配列された数値を取得対象とするソフトウエア的な構成の乱数生成装置による乱数であるといえる。そして、本実施例では、特別図柄当りソフト乱数の乱数個数は、素数である「65521」となっており、加算元である内蔵乱数に対して加算されるソフトウエア乱数のほうが、内蔵乱数よりも、乱数値範囲(乱数の大きさ)が小さく設定されている。なお、当否乱数の生成にあたっては、内蔵乱数とソフトウエア乱数とを単純に合算することに限らず、例えば積算する、或いは、所定数の加減乗除のうちの何れかをしたうえで互いに合算する等、他の演算により行ってもよい。   On the other hand, the software random number is a random number generated by a random number generation device having a software configuration in which numerical values arranged in ascending order or descending order are obtained by adding one count value for each interrupt by a programmed counter. It can be said. In this embodiment, the random number of soft random numbers per special symbol is “65521” which is a prime number, and the software random number added to the built-in random number as the addition source is more than the built-in random number. The random value range (the size of the random number) is set small. In addition, the generation of the random number is not limited to simply adding the built-in random number and the software random number, but for example, adding or adding / subtracting / adding / subtracting a predetermined number is performed. , Another calculation may be used.

なお、本実施例では、当否乱数を、ハードウエア乱数とソフトウエア乱数との組み合わせにより作成しているが、これに限定されず、何れか一方のみで当否乱数を作成することも可能である。
<<図柄抽選に係る置数>>
In this embodiment, the success / failure random number is created by a combination of a hardware random number and a software random number, but the present invention is not limited to this, and it is possible to create the success / failure random number using only one of them.
<< Numerical numbers related to symbol lottery >>

図5に示す第1図柄決定手段320および第2図柄決定手段322は、別途取得する前述の図柄抽選値(特別図柄当り図柄乱数。以下では「図柄乱数」ともいう。)と、上述の当否判定の結果とに基づいて、図柄の変動開始にあたってその停止図柄を決定する。第1図柄決定手段320および第2図柄決定手段322は、特別図柄の停止図柄を決定するために参照する複数の図柄判定テーブルを保持する。第1図柄決定手段320および第2図柄決定手段322は、当否判定結果に応じて異なる図柄判定テーブルを参照する。   The first symbol determination means 320 and the second symbol determination means 322 shown in FIG. 5 separately obtain the above-described symbol lottery value (design random number per special symbol; hereinafter, also referred to as “symbol random number”) and the above-described determination of success / failure. Based on the result, the stop symbol is determined at the start of symbol variation. The first symbol determination means 320 and the second symbol determination means 322 hold a plurality of symbol determination tables that are referred to in order to determine the stop symbol of the special symbol. The first symbol determination unit 320 and the second symbol determination unit 322 refer to different symbol determination tables depending on the determination result.

図9は、図柄判定テーブルを模式的に示す図である。図9(a)は第1の抽選に係る当否判定結果が大当りであった場合に参照するテーブルであり、図9(b)は第2の抽選に係る当否判定結果が大当りであった場合に参照するテーブルであり、図9(c)は当否判定結果がはずれであった場合に参照するテーブルである。第1図柄決定手段320および第2図柄決定手段322は、図柄判定において本図の図柄判定テーブルを参照する。各図柄判定テーブルには、「0」〜「8」の数字で表される特別図柄と第1図柄抽選値または第2図柄抽選値との対応関係が定められている。特別図柄の種類はそれぞれ大当り、はずれの当否判定結果と対応付けられており、所定の奇数の数字が大当りに対応し、所定の偶数の数字がはずれに対応する。   FIG. 9 is a diagram schematically showing a symbol determination table. FIG. 9A is a table that is referred to when the determination result of the first lottery is a big win, and FIG. 9B is the case where the determination result of the second lottery is a big hit. FIG. 9C is a table to be referred to when the determination result is out of place. The first symbol determination means 320 and the second symbol determination means 322 refer to the symbol determination table of this diagram in symbol determination. In each symbol determination table, the correspondence between the special symbol represented by the numbers “0” to “8” and the first symbol lottery value or the second symbol lottery value is defined. Each type of special symbol is associated with a jackpot or loss determination result. A predetermined odd number corresponds to a big hit, and a predetermined even number corresponds to a loss.

図9(a)に示すように、第1の抽選においては、特別図柄「0」〜「8」のうち所定の奇数の数字である特別図柄「7」,「5」,「3」,「1」、及び、偶数の数字である「0」,「2」が、各々図柄抽選値「0〜124」,「125〜499」,「500〜714」,「715〜734」,「735〜799」,「800〜999」に対応付けられている。さらに、特別図柄「7」,「5」,「3」,「1」,「0」,「2」には、後述する16R確変と10R確変の各種大当りが各々対応付けられている。ここで、第1の抽選に係る特別図柄について、前述の第1特別図柄のほか、第1特図、特図1、特別図柄1、図柄1などと称することがある。   As shown in FIG. 9A, in the first lottery, special symbols “7”, “5”, “3”, “3”, which are predetermined odd numbers among the special symbols “0” to “8”. 1 and even numbers “0” and “2” are symbol lottery values “0 to 124”, “125 to 499”, “500 to 714”, “715 to 734”, and “735”, respectively. 799 ”and“ 800 to 999 ”. Further, special symbols “7”, “5”, “3”, “1”, “0”, “2” are associated with various jackpots of 16R probability variation and 10R probability variation described later. Here, the special symbol relating to the first lottery may be referred to as the first special symbol, the special symbol 1, the special symbol 1, the symbol 1, etc. in addition to the first special symbol described above.

また、図9(b)に示すように、第2の抽選においては、特別図柄「7」,「3」,「0」、「2」が、各々図柄抽選値「0〜499」,「500〜669」,「670〜799」,「800〜999」に対応付けられている。さらに、特別図柄「7」,「3」,「0」、「2」には、後述する16R確変と4R確変の各種大当りが各々対応付けられている。ここで、第2の抽選に係る特別図柄について、前述の第2特別図柄のほか、第2特図、特図2、特別図柄2、図柄2などと称することがある。   Also, as shown in FIG. 9B, in the second lottery, the special symbols “7”, “3”, “0”, “2” are symbol lottery values “0-499”, “500”, respectively. To 669 ”,“ 670 to 799 ”, and“ 800 to 999 ”. Further, special symbols “7”, “3”, “0”, and “2” are associated with various jackpots of 16R probability variation and 4R probability variation described later. Here, the special symbol related to the second lottery may be referred to as the second special symbol, the special symbol 2, the special symbol 2, the symbol 2, etc. in addition to the second special symbol described above.

以下に、上述の第1の抽選及び第2の抽選における大当りの種類について説明する。先ず、本実施例では、単位遊技を16回繰り返す大当り(以下、適宜「16R大当り」とも称する)や、単位遊技を10回繰り返す大当り(以下、適宜「10R大当り」とも称する)、単位遊技を4回繰り返す大当り(以下、適宜「4R大当り」とも称する)がある。これらの大当りは、特別遊技において、第1大入賞口91または第2大入賞口92は約30秒間開放されたとき、または第1大入賞口91または第2大入賞口92に9球以上の遊技球が落入したときに大入賞口を一旦閉鎖して1回の単位遊技を終了させるものがある。このような特別遊技は、遊技者に遊技球を獲得させることを目的とする所謂出球あり当りであるとともに、遊技者により多くの遊技球を獲得させようとするものである。また、本実施例では、前述の確変や時短等といった特定遊技状態は、全ての大当りについて発生する。そして、遊技者がより多くの出球を期待できる16R確変の当せん確率は、第1の抽選では12.5%、第2の抽選では50%であり、第1の抽選よりも第2の抽選で16R確変が発生し易くなっている。   Hereinafter, the types of jackpots in the first lottery and the second lottery described above will be described. First, in this embodiment, a big hit that repeats a unit game 16 times (hereinafter also referred to as “16R big hit” as appropriate), a big hit that repeats a unit game 10 times (hereinafter also referred to as “10R big hit” as appropriate), and 4 unit games. There is a big hit (hereinafter also referred to as “4R big hit” as appropriate). These special jackpots are more than nine balls in the special game when the first grand prize opening 91 or the second big prize opening 92 is opened for about 30 seconds or in the first big prize opening 91 or the second big prize opening 92. There is one in which a single winning game is completed by temporarily closing the big prize opening when a game ball is dropped. Such a special game is a so-called out-of-ball game with the aim of allowing a player to acquire game balls, and also attempts to acquire more game balls by the player. Further, in the present embodiment, the specific gaming state such as the above-mentioned probability change and time reduction occurs for all the big hits. And, the winning probability of 16R probability change that the player can expect more balls is 12.5% in the first lottery and 50% in the second lottery, which is the second lottery than the first lottery. Therefore, the 16R probability change is likely to occur.

続いて、図9(c)に示す通り、特別図柄「0」〜「8」のうち偶数の数字である特別図柄「4」「6」「8」がはずれに対応付けられている。特別図柄「4」は図柄抽選値の範囲「0〜332」に対応付けられ、特別図柄「6」は図柄抽選値の範囲「333〜665」に対応付けられ、特別図柄「8」は図柄抽選値の範囲「666〜999」に対応付けられる。   Subsequently, as illustrated in FIG. 9C, the special symbols “4”, “6”, and “8”, which are even numbers among the special symbols “0” to “8”, are associated with the outliers. The special symbol “4” is associated with the symbol lottery value range “0-332”, the special symbol “6” is associated with the symbol lottery value range “333-665”, and the special symbol “8” is symbol lottery. Corresponding to the value range “666-999”.

また、本実施例では当否抽選の結果が大当りである場合、前述の図柄乱数の数値範囲における上限値である「999」には、16R大当り以外の大当りとなる特別図柄(非16R大当り図柄)が割当てられている。また、これに限らず、下限値である「0」に非16R大当り図柄の抽選結果を割当ててもよく、更に上限値及び下限値の双方に非16R大当り図柄の抽選結果を割当ててもよい。   Further, in this embodiment, when the result of the lottery is a big hit, a special symbol (non-16R big hit symbol) that is a big hit other than the 16R big hit is added to the upper limit value “999” in the numerical range of the above-described symbol random number. Assigned. In addition, the lottery result of the non-16R big hit symbol may be assigned to the lower limit “0”, and the lottery result of the non-16R big hit symbol may be assigned to both the upper limit value and the lower limit value.

上述した図柄抽選は、ソフトウエア乱数により行われており、ソフトウエア乱数とハードウエア乱数の双方を用いる当否抽選に比べて、乱数の生成過程が簡略化されている。これは、当否抽選が不正行為の対象となり易いのに対し、図柄抽選は、当否抽選に比べれば不正行為の対象となり難いため、図柄抽選については、ハードウエア乱数を生成するのに必要な水晶発振器等の部品を用いずに済む構成としたためである。なお、これに限定されず、図柄乱数を、ハードウエア乱数のみで作成することや、ハードウエア乱数とソフトウエア乱数との組み合わせにより作成することなどが可能である。   The above-described symbol lottery is performed by software random numbers, and the random number generation process is simplified as compared with the winning lottery using both software random numbers and hardware random numbers. This is because the lottery is likely to be a subject of fraud, whereas the symbol lottery is not subject to fraud compared to the lottery, so the crystal oscillator required to generate hardware random numbers for the symbol lottery This is because a configuration that does not require the use of such components is used. However, the present invention is not limited to this, and it is possible to create a design random number using only a hardware random number or a combination of a hardware random number and a software random number.

また、前述のように、図柄乱数の数値範囲に対して、抽選結果毎に連続する数値からなるグループが形成されている。そして、例えば、第1の抽選において、大当りの場合は、図9(a)中に示すように、数値範囲「0〜124」、「125〜499」、「500〜714」、「715〜734」、「735〜799」、及び、「800〜999」が、それぞれ特別図柄「7」、「5」、「3」、「1」、「0」、及び、「2」に対応付けられた各グループとなっている。さらに、第2の抽選において、大当りの場合は、図9(b)中に示すように、数値範囲「0〜499」、「500〜669」、「670〜799」、及び、「800〜999」が、それぞれ特別図柄「7」、「3」、「0」、及び、「2」に対応付けられた各グループとなっている。さらに、はずれの場合には、図9(c)中に示すように、数値範囲「0〜332」、「333〜665」、「666〜999」が、それぞれ特別図柄「4」、「6」、及び、「8」に対応付けられた各グループとなっている。
<<変動パターン抽選に係る置数>>
In addition, as described above, a group composed of numerical values that are consecutive for each lottery result is formed in the numerical range of the design random numbers. For example, in the first lottery, in the case of a big hit, as shown in FIG. 9A, numerical ranges “0 to 124”, “125 to 499”, “500 to 714”, “715 to 734”. ”,“ 735-799 ”, and“ 800-999 ”are associated with the special symbols“ 7 ”,“ 5 ”,“ 3 ”,“ 1 ”,“ 0 ”, and“ 2 ”, respectively. Each group. Furthermore, in the second lottery, in the case of a big hit, as shown in FIG. 9B, numerical ranges “0 to 499”, “500 to 669”, “670 to 799”, and “800 to 999”. "Are groups associated with the special symbols" 7 "," 3 "," 0 ", and" 2 ", respectively. Furthermore, in the case of a deviation, as shown in FIG. 9C, the numerical ranges “0 to 332”, “333 to 665”, and “666 to 999” are special symbols “4” and “6”, respectively. , And each group associated with “8”.
<< Numerics related to variation pattern lottery >>

図5に戻り、第1パターン決定手段114は、第1特別図柄表示装置70および演出図柄表示装置60に表示させる図柄変動の表示過程が定められた変動パターンを、別途取得する第1パターン抽選値に基づいて複数の変動パターンの中から決定する。第2パターン決定手段119は、第2特別図柄表示装置71および演出図柄表示装置60に表示させる図柄変動の表示過程が定められた変動パターンを、別途取得する第2パターン抽選値に基づいて複数の変動パターンの中から決定する。第1パターン決定手段114および第2パターン決定手段119は、それぞれ図柄変動を開始する際に変動パターンテーブルを参照してその図柄変動の変動パターンを決定する。第1パターン決定手段114および第2パターン決定手段119は、変動パターンを決定するために参照する変動パターン選択基準として複数の変動パターンテーブルをそれぞれ保持または共有する。   Returning to FIG. 5, the first pattern determining means 114 separately acquires a variation pattern in which a variation process of the symbol variation to be displayed on the first special symbol display device 70 and the effect symbol display device 60 is determined. Is determined from a plurality of fluctuation patterns. The second pattern determining means 119 has a plurality of variation patterns in which a symbol variation display process to be displayed on the second special symbol display device 71 and the effect symbol display device 60 is determined based on a second pattern lottery value separately acquired. Determine from the variation pattern. The first pattern determining unit 114 and the second pattern determining unit 119 each determine a variation pattern of the symbol variation with reference to the variation pattern table when starting the symbol variation. The first pattern determination unit 114 and the second pattern determination unit 119 each hold or share a plurality of variation pattern tables as variation pattern selection criteria to be referred to for determining the variation pattern.

変動パターンには、特別図柄を変動表示させるときの変動開始から停止までの変動時間が定められており、その種類によって長短様々な変動時間をもつ。すなわち、各変動パターンには、その図柄変動の終了条件としてパターンごとに変動表示時間が定められており、その変動表示時間の経過時に特別図柄の変動が停止される。複数の変動パターンテーブルは、変動パターンと抽選値との対応関係としてそれぞれ変動時間の選択傾向(選択される変動パターンの変動表示時間の長短に係る傾向)が異なるように定められている。   In the variation pattern, a variation time from a variation start to a stop when the special symbol is variably displayed is determined, and has various variation times depending on the type. That is, for each variation pattern, a variation display time is defined for each pattern as an end condition of the symbol variation, and the variation of the special symbol is stopped when the variation display time elapses. The plurality of variation pattern tables are determined so that the variation time selection tendency (the trend related to the variation display time of the variation pattern to be selected) is different as the correspondence relationship between the variation pattern and the lottery value.

複数の変動パターンテーブルには、他の変動パターンテーブルとは演出内容の傾向が異なる選択基準である限定頻度パターンテーブルが含まれる。この限定頻度パターンテーブルは、特定の傾向の変動演出パターン(限定頻度パターン演出)がサブメイン基板301側で選択されるようにする限定頻度パターンを備えた変動パターンテーブルである。そして、本実施例においては、特別遊技終了後の特定遊技に関係して、所定の限定頻度パターンテーブルが用いられる場合があるが、この点については後述する。   The plurality of variation pattern tables include a limited frequency pattern table that is a selection criterion that is different from the other variation pattern tables in the tendency of the effect contents. This limited frequency pattern table is a variable pattern table having a limited frequency pattern that allows a variation effect pattern (limited frequency pattern effect) having a specific tendency to be selected on the sub-main substrate 301 side. In the present embodiment, a predetermined limited frequency pattern table may be used in relation to the specific game after the end of the special game, which will be described later.

図10は、変動パターンテーブルを模式的に示す図である。第1パターン決定手段114または第2パターン決定手段119は、当否判定結果がはずれのときは図10(a)に示されるはずれ用の変動パターンを参照する。第1パターン決定手段114および第2パターン決定手段119は、変動パターン判定において本図の変動パターンテーブルを参照する。当否判定結果が16R大当りのときは図10(b)に示される16R大当り用の変動パターンテーブルを参照する。当否判定結果が4R大当りまたは10R大当りのときは図10(c)に示される4R大当りまたは10R大当り用の変動パターンテーブルを参照する。   FIG. 10 is a diagram schematically showing the variation pattern table. The first pattern determining unit 114 or the second pattern determining unit 119 refers to the variation pattern for deviation shown in FIG. 10A when the result of the determination is wrong. The first pattern determination unit 114 and the second pattern determination unit 119 refer to the variation pattern table of this figure in variation pattern determination. When the determination result is 16R big hit, the fluctuation pattern table for 16R big hit shown in FIG. When the determination result is 4R jackpot or 10R jackpot, the variation pattern table for 4R jackpot or 10R jackpot shown in FIG. 10C is referred.

図10(a)においては、パターン抽選値「0〜2599」には「スーパー1」というスーパーリーチが対応付けられ、パターン抽選値「2600〜4999」には「スーパー2」というスーパーリーチが対応付けられている。パターン抽選値「5000〜49999」には「ノーマル1」「ノーマル2」「リーチなし」のいずれかの変動パターンが対応付けられている。このように、当否判定結果がはずれの場合、スーパーリーチ、ノーマルリーチ、リーチなしのいずれも選択される可能性がある。なお、はずれ用の変動パターンテーブルにおいて、特に「リーチなし」の変動パターンを選択するとき、時短状態においては通常状態よりもさらに変動時間が概ね短い変動パターンが選択されるよう異なるテーブルを参照する。また、はずれ用の変動パターンテーブルは保留数ごとに参照すべき欄が異なるように規定されるが、通常状態を例とするその詳細は後述する図11において説明する。   In FIG. 10A, the pattern lottery value “0 to 2599” is associated with the super reach “super 1”, and the pattern lottery value “2600 to 4999” is associated with the super reach “super 2”. It has been. The pattern lottery value “5000 to 49999” is associated with any variation pattern of “normal 1”, “normal 2”, and “no reach”. As described above, when the determination result is out of order, any of super reach, normal reach, and no reach may be selected. In the variation pattern table for loss, particularly when a variation pattern of “no reach” is selected, a different table is referred to so that a variation pattern having a shorter variation time than the normal state is selected in the short time state. Further, the variation pattern table for loss is defined so that the column to be referred to is different for each number of reservations, and details of the normal state will be described later with reference to FIG.

図10(b)においては、パターン抽選値「0〜23519」には「スーパー1」のスーパーリーチが対応付けられ、パターン抽選値「23520〜47039」には「スーパー2」のスーパーリーチが対応付けられている。パターン抽選値「47040〜48999」には「ノーマル1」のリーチが対応付けられ、パターン抽選値「49000〜49999」には「ノーマル2」のリーチが対応付けられている。このように、当否判定結果が16R大当りの場合はリーチ付きの変動パターンが選択される。   In FIG. 10B, the super lot of “Super 1” is associated with the pattern lottery value “0 to 23519”, and the super reach of “Super 2” is associated with the pattern lottery value “23520 to 47039”. It has been. The pattern lottery value “47040 to 48999” is associated with the reach of “normal 1”, and the pattern lottery value “4900 to 49999” is associated with the reach of “normal 2”. As described above, when the determination result is 16R big hit, a variation pattern with reach is selected.

図10(c)においては、パターン抽選値「0〜23999」には「スーパー3」というスーパーリーチが対応付けられ、パターン抽選値「24000〜49999」には「ノーマル3」というノーマルリーチが対応付けられている。このように当否判定結果が4R大当りまたは10R大当りの場合は「スーパー3」または「ノーマル3」がそれぞれ約50%の確率で選択される。   In FIG. 10C, the pattern lottery value “0-23999” is associated with the super reach “super 3”, and the pattern lottery value “24000-49999” is associated with the normal reach “normal 3”. ing. As described above, when the determination result is 4R big hit or 10R big hit, “Super 3” or “Normal 3” is selected with a probability of about 50%.

上述したパターン抽選は、図柄抽選と同様に、ソフトウエア乱数により行われており、ソフトウエア乱数とハードウエア乱数の双方を用いる当否抽選に比べて、乱数の生成過程が簡略化されている。これは、図柄抽選と同様に、当否抽選が不正行為の対象となり易いのに対し、パターン抽選は、当否抽選に比べれば不正行為の対象となり難いため、パターン抽選については、ハードウエア乱数を生成するのに必要な水晶発振器等の部品を用いずに済む構成としたためである。なお、これに限定されず、変動パターン抽選に係る乱数を、ハードウエア乱数のみで作成することや、ハードウエア乱数とソフトウエア乱数との組み合わせにより作成することなどが可能である。   The pattern lottery described above is performed by software random numbers as in the case of the symbol lottery, and the random number generation process is simplified as compared with the random lottery using both software random numbers and hardware random numbers. This is similar to the symbol lottery, where the winning lottery is likely to be subject to fraud, whereas the pattern lottery is less likely to be subject to fraud than the winning lottery, so a hardware random number is generated for the pattern lottery. This is because it is possible to eliminate the use of parts such as a crystal oscillator necessary for the above. However, the present invention is not limited to this, and it is possible to create a random number related to the variation pattern lottery using only a hardware random number, or a combination of a hardware random number and a software random number.

また、前述のように、変動パターン抽選値(以下、「変動パターン乱数」ともいう)の数値範囲に対して、抽選結果毎に連続する数値からなるグループが形成されている。そして、はずれの場合には、図10(a)中に示すように、パターン抽選値「0〜2599」、「2600〜4999」、「5000〜49999」は、それぞれ「スーパー1」のグループ、「スーパー2」のグループ、「ノーマル1」、「ノーマル2」、「リーチなし」が対応付けられたグループとなっている。また、16R大当りの場合には、図10(b)に示すように、パターン抽選値「0〜23519」、「23520〜47039」、「47040〜48999」、及び、「49000〜49999」は、それぞれ「スーパー1」、「スーパー2」、「ノーマル1」、「ノーマル2」の各リーチが対応付けられたグループとなっている。さらに、4R大当りまたは10R大当りの場合は、図10(c)に示すように、パターン抽選値「0〜23999」、「24000〜49999」は、それぞれ「スーパー3」、「ノーマル3」の各リーチが対応付けられたグループとなっている。なお、上述の「スーパー1」、「スーパー2」、「ノーマル1」、「ノーマル2」、及び、「リーチなし」の他の変動パターンを追加してもよく、更にこれらの各変動パターンを、例えば異なる変動時間の変動パターンに細分化してもよい。   In addition, as described above, a group of numerical values that are continuous for each lottery result is formed in the numerical range of the variable pattern lottery values (hereinafter also referred to as “variable pattern random numbers”). In the case of a loss, as shown in FIG. 10A, the pattern lottery values “0 to 2599”, “2600 to 4999”, and “5000 to 49999” are the “super 1” group, “ The group of “Super 2”, “Normal 1”, “Normal 2”, and “No reach” are associated with each other. Also, in the case of 16R big hit, as shown in FIG. 10B, the pattern lottery values “0-23519”, “23520-47039”, “47040-48999”, and “49000-49999” Each of “Super 1”, “Super 2”, “Normal 1”, and “Normal 2” reach is associated with each other. Furthermore, in the case of 4R big hit or 10R big hit, as shown in FIG. 10 (c), the pattern lottery values “0-23999” and “24000-49999” are the respective reach of “Super 3” and “Normal 3”. Are associated groups. It should be noted that other variation patterns of “super 1”, “super 2”, “normal 1”, “normal 2” and “no reach” described above may be added. For example, it may be subdivided into variation patterns with different variation times.

図11は、はずれ用の変動パターンテーブルを詳細に示す図である。本図の変動パターンテーブル210aにおいては、保留数ごとにそれぞれ変動パターンに対応付けられたパターン抽選値の範囲が異なる。具体的には、保留数が少ないほど変動時間が相対的に長い変動パターンに割当てられたパターン抽選値の範囲が広くされており、それら変動時間の長い変動パターンが選択される確率を高めている。そのため、第1保留手段144または第2保留手段146による保留数が少ないほど平均的な変動時間が長くなる。したがって、第1保留手段144または第2保留手段146による保留数が所定数、例えば1〜2個より少なくなった場合に、変動時間の長い変動パターンの選択確率が通常より高くなり、変動時間が比較的長くなりやすい。   FIG. 11 is a diagram showing the variation pattern table for loss in detail. In the fluctuation pattern table 210a of this figure, the range of the pattern lottery value associated with the fluctuation pattern is different for each number of holds. Specifically, the smaller the number of holds, the wider the range of pattern lottery values assigned to variation patterns with a relatively long variation time, and the probability that a variation pattern with a long variation time will be selected is increased. . Therefore, the average fluctuation time becomes longer as the number of holdings by the first holding unit 144 or the second holding unit 146 is smaller. Therefore, when the number of holdings by the first holding unit 144 or the second holding unit 146 is less than a predetermined number, for example, 1 to 2, the selection probability of the variation pattern having a long variation time becomes higher than usual, and the variation time is increased. It tends to be relatively long.

第1欄212aには、第1保留手段144による第1の抽選の結果保留数または第2保留手段146による第2の抽選の結果保留数が1の場合のパターン抽選値範囲と変動パターンとの対応関係が示される。同様に、第2欄214aa、第3欄216a、第4欄218aaに、第1保留手段144による第1の抽選の結果保留数または第2保留手段146による第2の抽選の結果保留数がそれぞれ2、3、4の場合のパターン抽選値範囲と変動パターンとの対応関係が示される。すなわち、第1欄212a、第2欄214aa、第3欄216a、第4欄218aaが保留数ごとの変動パターンテーブルを示すと考えることができる。本図では、はずれのときに選択され得る複数の変動パターンを変動時間別に5種類に分類した例を説明するが、実際にはそれらの分類ごとに複数の変動演出パターンが用意されており、全体で数十種類の変動演出パターンがそれぞれの分類ごとの抽選値範囲に対応付けられていることに等しい。   In the first column 212a, a pattern lottery value range and a variation pattern in the case where the number of results held by the first lottery 144 and the number of results held by the second lottery 146 are 1 are shown. Correspondence is shown. Similarly, in the second column 214aa, the third column 216a, and the fourth column 218aa, the number of results held by the first lottery 144 by the first holding unit 144 or the number of results held by the second lottery 146 by the second lottery 146, respectively. The correspondence between the pattern lottery value range and the variation pattern in the cases of 2, 3, and 4 is shown. That is, it can be considered that the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa indicate the variation pattern table for each number of holds. In this figure, an example will be described in which a plurality of variation patterns that can be selected at the time of deviation are classified into five types according to variation time, but actually, a plurality of variation effect patterns are prepared for each of those classifications, This is equivalent to the fact that dozens of types of variation effect patterns are associated with the lottery value ranges for the respective categories.

第1範囲222には、抽選値が0から2599までのパターン抽選値に該当する場合の変動パターンとして、第1欄212a、第2欄214aa、第3欄216a、第4欄218aaのいずれにも「スーパー1」というスーパーリーチの変動パターンが対応付けられる。第2範囲224には、抽選値が2600から4999までのパターン抽選値に該当する場合の変動パターンとして、第1欄212a、第2欄214aa、第3欄216a、第4欄218aaのいずれにも「スーパー2」というスーパーリーチの変動パターンが対応付けられる。このように、抽選値が0から2599までのパターン抽選値と抽選値が2600から4999までのパターン抽選値の場合には、保留数にかかわらず同じ変動時間の変動パターンが選択される。   The first range 222 includes any of the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa as a variation pattern when the lottery value corresponds to a pattern lottery value from 0 to 2599. A super reach variation pattern of “super 1” is associated. The second range 224 includes any of the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa as a variation pattern when the lottery value corresponds to a pattern lottery value from 2600 to 4999. A super reach variation pattern of “super 2” is associated. Thus, in the case of a pattern lottery value with a lottery value from 0 to 2599 and a pattern lottery value with a lottery value from 2600 to 4999, a variation pattern with the same variation time is selected regardless of the number of holdings.

第3範囲226には、抽選値が5000から49999までのパターン抽選値に該当する場合の変動パターンとして、第1欄212a、第2欄214aa、第3欄216a、第4欄218aaにはそれぞれノーマルリーチである「ノーマル1」「ノーマル2」と「リーチなし」の3種類の変動パターンが対応付けられる。ただし、それぞれの変動パターンが対応付けられるパターン抽選値の範囲は保留数によって異なる。第1欄212aでは、「ノーマル1」「ノーマル2」「リーチなし」のそれぞれが対応付けられる抽選値範囲の大きさがそれぞれほぼ等しく、5000から49999をほぼ3等分した範囲が対応付けられている。これに対し、第2欄214aaでは、「ノーマル1」「ノーマル2」のそれぞれに対応付けられる抽選値範囲の大きさが「リーチなし」に対応付けられる抽選値範囲よりやや小さい。また、第3欄216aでは「ノーマル1」「ノーマル2」のそれぞれに対応付けられる抽選値範囲の大きさがさらに小さくなり、第4欄218aaにて「ノーマル1」「ノーマル2」のそれぞれに対応付けられる抽選値範囲の大きさはまたさらに小さくなっている。   The third range 226 includes normal reach in the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa as a variation pattern when the lottery value corresponds to a pattern lottery value from 5000 to 49999. The three types of variation patterns “normal 1”, “normal 2”, and “no reach” are associated with each other. However, the range of pattern lottery values associated with each variation pattern varies depending on the number of holds. In the first column 212a, the sizes of the lottery value ranges to which “normal 1”, “normal 2”, and “no reach” are associated are approximately equal to each other, and ranges in which 5000 to 49999 are divided into approximately three equal portions are associated. Yes. On the other hand, in the second column 214aa, the size of the lottery value range associated with each of “normal 1” and “normal 2” is slightly smaller than the lottery value range associated with “no reach”. In addition, in the third column 216a, the size of the lottery value range associated with each of “normal 1” and “normal 2” is further reduced, and in the fourth column 218aa, it corresponds to each of “normal 1” and “normal 2”. The size of the lottery value range to be attached is further reduced.

「ノーマル1」「ノーマル2」の変動時間は「リーチなし」の変動時間より長くてもよく、また「リーチなし」のときは時短状態のように変動時間が短縮される場合もあるため、上記の第3範囲226の設定内容に応じて平均的な変動時間が異なることとなる。保留数が1から2、3、4と多くなるにつれて「ノーマル1」および「ノーマル2」のパターン抽選値範囲は小さくなり、逆に「リーチなしはずれ」のパターン抽選値範囲が大きくなる。したがって、保留数が多いほど平均的な変動時間は短くなり、逆に保留数が少ないほど平均的な変動時間は長くなる。このように保留数ごとにパターン抽選値範囲と変動パターンの対応関係が異なる変動パターンテーブルを用いることにより、保留数が少なくなったときに変動時間の長い変動パターンが選択されやすくなる制御を実現することができる。また、装飾図柄190の変動パターンとして、第1特別図柄192及び第2特別図柄193の各々の連続した複数回の変動に跨って適用されるような変動パターンを設定してもよい。   The fluctuation time of “Normal 1” and “Normal 2” may be longer than the fluctuation time of “No reach”, and when “No reach”, the fluctuation time may be shortened like a short time state. Depending on the setting contents of the third range 226, the average variation time will be different. As the number of holds increases from 1 to 2, 3, and 4, the pattern lottery value range of “Normal 1” and “Normal 2” decreases, and conversely, the pattern lottery value range of “out of reach” increases. Therefore, the average fluctuation time becomes shorter as the number of holds increases, and conversely, the average change time becomes longer as the number of holds decreases. In this way, by using a variation pattern table in which the correspondence between the pattern lottery value range and the variation pattern is different for each number of holdings, control that makes it easy to select a variation pattern with a long variation time when the number of holdings decreases is realized. be able to. Further, as the variation pattern of the decorative symbol 190, a variation pattern that is applied across a plurality of consecutive variations of the first special symbol 192 and the second special symbol 193 may be set.

さらに、変動パターンの選択傾向に関して、確変中であるか否か、当否抽選の結果、第1の抽選に係る保留数、及び、第2の抽選に係る保留数との関係において、選択傾向を設定するようにしてもよい。このようにすることにより、例えば、確変中で且つ当否抽選の結果がはずれである場合には、第1特別図柄192については、第1の抽選に係る保留数及び第2の抽選に係る保留数に関わらず、変動時間が相対的に長いものとして規定された変動パターンが選択される確率を相対的に高く設定し、第2特別図柄193については、第1の抽選に係る保留数に関わらず、第2の抽選に係る保留数に応じて、変動時間が相対的に長いものとして規定された変動パターンが選択される確率を相対的に低く設定する、といったことが可能である。また、確変中で且つ当否抽選の結果が大当りである場合には、第1の抽選に係る保留数及び第2の抽選に係る保留数に関わらず、変動時間が相対的に短いものとして規定された変動パターンが選択される確率を相対的に低く設定する、といったことも可能である。   Furthermore, regarding the selection tendency of the variation pattern, the selection tendency is set in relation to whether or not the probability is changing, the result of the success / failure lottery, the number of holdings related to the first lottery, and the number of holdings related to the second lottery. You may make it do. By doing in this way, for example, when there is a probability change and the result of the lottery decision is out of place, with respect to the first special symbol 192, the number of reservations related to the first lottery and the number of reservations related to the second lottery Regardless, regardless of the number of holds related to the first lottery, the probability that the variation pattern defined as having a relatively long variation time is selected is set to be relatively high. It is possible to set a relatively low probability that a variation pattern defined as having a relatively long variation time will be selected in accordance with the number of holds relating to the second lottery. In addition, if the winning lottery result is a big hit, the variation time is defined as being relatively short regardless of the number of holdings related to the first lottery and the number of holdings related to the second lottery. It is also possible to set a relatively low probability that a variation pattern is selected.

さらに、図10及び図11に一例を示したような変動パターンテーブルに関して、図示は省略するが、更に細分化された変動パターンテーブルが設けられている。これらの変動パターンテーブルの細分化は、前述のように、第1抽選及び第2抽選の何れであるか、大当りであるか否か、保留数が幾つであるか、といった属性のほか、大当りの種類が何れのものであるか、大当り抽選の確率状態が高確率であるか否か、時短中であるか否か、といった属性にも基づいて行われている。   Further, regarding the variation pattern table as shown in FIG. 10 and FIG. 11, although not shown, a more detailed variation pattern table is provided. As described above, these fluctuation pattern tables are subdivided into attributes such as which one of the first lottery and second lottery, whether or not it is a big win, how many holdings, as well as the big win This is performed based on attributes such as which type, whether or not the probability status of the big hit lottery is high, and whether or not the time is short.

また、前述した「スーパー1」、「スーパー2」、「ノーマル1」、「ノーマル2」、「リーチなし」といった変動パターンも、更に細分化されて複数の変動パターンにより構成されている。また、各変動パターンには、個別に名称の付与や選択確率の割り振りが行われている。そして、各変動パターンの名称は、使用される遊技状態(通常、リーチ、確変、時短、大当りなどの各状態)や、サブメイン基板301で選択される変動演出パターンとの関係を、開発者等が想起できるようなものとなっている。   The variation patterns such as “super 1”, “super 2”, “normal 1”, “normal 2”, and “no reach” are further divided into a plurality of variation patterns. Each variation pattern is individually assigned a name and assigned a selection probability. The name of each variation pattern indicates the relationship between the game state used (usually, reach, probability variation, time reduction, jackpot, etc.) and the variation effect pattern selected on the sub-main board 301. Is something that can be recalled.

ここで、一つの変動パターンテーブルに、互いに異なる名称で且つ同じ変動時間の変動パターンが属するようにしたり、或いは、互いに異なる変動パターンテーブルに、同じ名称で同じ変動時間の変動パターンが属するようにする、といったことも可能である。   Here, a variation pattern having a different name and the same variation time belongs to one variation pattern table, or a variation pattern having the same name and the same variation time belongs to a variation pattern table different from each other. It is also possible.

そして、メイン基板102において遊技の状況に応じて選択された変動パターンが、前述の演出制御コマンドの一部としてサブメイン基板301に通知されることで、サブメイン基板301により、演出図柄表示装置60等を用いて実行される変動演出パターンが選択される。そして、多くの場合には、メイン基板102で選択される変動パターンに対して、サブ基板104側においては、同じ変動時間で内容の異なる複数の変動演出パターンが、選択対象として対応付けられている。このため、例えば、メイン基板102からサブメイン基板301に対して、或る特定の名称の変動パターンが指定された場合でも、サブメイン基板301で選択された変動演出パターンが異なり、異なる内容の演出が実行される、といったことがある。
<<普通図柄に係る抽選手段>>
Then, the variation pattern selected according to the game situation on the main board 102 is notified to the sub main board 301 as a part of the above-described effect control command, so that the sub main board 301 causes the effect symbol display device 60. A variation effect pattern to be executed using the above is selected. In many cases, on the side of the sub-board 104, a plurality of variation effect patterns having different contents in the same variation time are associated as selection targets with respect to the variation pattern selected on the main substrate 102. . For this reason, for example, even when a variation pattern with a specific name is designated from the main board 102 to the sub-main board 301, the variation effect pattern selected on the sub-main board 301 is different, and effects with different contents are produced. May be executed.
<< Lottery for normal symbols >>

図5に戻り、普図抽選手段136は、各作動口68a,68bにおける遊技球の通過の検出に基づき普図(普通図柄)抽選を実行するものであり、普図抽選値取得手段137、普図当否判定手段138、普図パターン決定手段139、普図図柄決定手段140を含む。普図抽選の結果は、普通図柄表示装置59(図3,図7(a)参照)においては、普通図柄の変動表示及び停止表示の形で示される。   Returning to FIG. 5, the general drawing lottery means 136 executes a general drawing (ordinary symbol) lottery based on the detection of the passing of the game ball at each of the operation ports 68a and 68b. The figure determination unit 138, a general pattern determination unit 139, and a general symbol determination unit 140 are included. The result of the regular drawing lottery is displayed in the form of normal symbol variation display and stop display on the normal symbol display device 59 (see FIGS. 3 and 7A).

普図抽選手段136は、普通図柄表示装置59に表示させる普通図柄の停止図柄を決定するために参照すべき図柄判定テーブルを保持する。その図柄判定テーブルには、抽選値と普通図柄との対応関係が定められており、普図抽選手段136は、普図抽選値取得手段137、普図当否判定手段138、普図パターン決定手段139、及び普図図柄決定手段140により、普通図柄の変動パターンや停止図柄を、図柄判定テーブルを参照して決定する。決定された停止図柄が所定の図柄となった場合に普通図柄が当りに該当したと判定され、その停止図柄にて普通図柄の変動表示が停止された後に開閉制御手段124が第2始動入賞口63の普通電動役物を当りの種類に対応した態様で所定時間拡開する。普通図柄の抽選値は、保留制御手段116により一時的に保留される。ただし、保留制御手段116により保留される所定の保留上限数を超えない場合にだけ抽選値が保留される。   The general symbol lottery means 136 holds a symbol determination table to be referred to in order to determine the stop symbol of the normal symbol to be displayed on the normal symbol display device 59. In the symbol determination table, the correspondence between the lottery value and the normal symbol is determined, and the normal symbol lottery means 136 includes the normal symbol lottery value acquisition unit 137, the normal symbol win / fail determination unit 138, and the normal symbol pattern determination unit 139. And the normal symbol determining means 140 determine the variation pattern of the normal symbol and the stop symbol with reference to the symbol determination table. When the determined stop symbol becomes a predetermined symbol, it is determined that the normal symbol is a hit, and after the stop display of the normal symbol is stopped at the stop symbol, the opening / closing control means 124 sets the second start winning opening. The 63 ordinary electric accessories are expanded for a predetermined time in a manner corresponding to the hit type. The lottery value of the normal symbol is temporarily held by the hold control means 116. However, the lottery value is held only when the predetermined hold upper limit number held by the hold control means 116 is not exceeded.

本実施例においては、普通図柄に関しては、普図当否判定手段138に係る当否乱数、普図図柄決定手段140に係る図柄乱数、普図パターン決定手段139に係る変動パターン乱数の何れも、全てソフト乱数のみを用いて作成される。そして、それぞれの乱数範囲は、当否乱数が0〜282、図柄乱数が0〜262、変動パターン乱数が0〜232となっている。なお、これに限定されず、普通図柄に係る乱数を、ハードウエア乱数とすることや、ハードウエア乱数とソフトウエア乱数との組み合わせによるものとすることが可能である。
<<メイン基板におけるその他の主要な機能>>
In this embodiment, as for the normal symbols, all of the random numbers of the pass / fail random numbers related to the universal symbol determination unit 138, the random numbers of the symbols of the normal symbol determination unit 140, and the fluctuation pattern random numbers of the universal symbol pattern determination unit 139 are all soft. Created using only random numbers. In each random number range, the validity random number is 0 to 282, the design random number is 0 to 262, and the variation pattern random number is 0 to 232. However, the present invention is not limited to this, and a random number related to a normal symbol can be a hardware random number or a combination of a hardware random number and a software random number.
<< Other main functions of main board >>

保留制御手段116は、第1保留手段144、第2保留手段146、普図保留手段147を含む。第1保留手段144は、新たに第1の抽選が実行されるときにそれ以前の抽選に対応する図柄変動が表示されている場合、新たな第1の抽選に係る特図抽選値をその抽選値に対応する図柄の変動表示開始まで保留する。本実施例では第1の抽選に係る特図抽選値として4個を上限として乱数値を保持する。第2保留手段146は、新たに第2の抽選が実行されるときにそれ以前の抽選に対応する図柄変動が表示されている場合、新たな第2の抽選に係る特図抽選値をその抽選値に対応する図柄の変動表示開始まで保留する。本実施例では第2の抽選に係る特図抽選値として4個を上限として乱数値を保持する。普図保留手段147は、作動口68a,68bにおける遊技球の通過に伴い普図抽選手段136により取得された普通図柄用保留情報としての普図抽選値を、各々4個を上限とし、保留球として保持する。これらの保留数がそれぞれ第1特図保留ランプ20、第2特図保留ランプ21、普図保留ランプ22の点灯数または点滅数により表される。第1保留手段144および第2保留手段146による保留の数は演出図柄表示装置60の表示領域194にも表示される。   The holding control unit 116 includes a first holding unit 144, a second holding unit 146, and a general drawing holding unit 147. If the symbol change corresponding to the previous lottery is displayed when the first lottery is newly executed, the first holding means 144 draws the special drawing lottery value related to the new first lottery. Suspend until the variable display start of the symbol corresponding to the value. In the present embodiment, the special drawing lottery value related to the first lottery is held up to four random numbers. If the symbol change corresponding to the previous lottery is displayed when the second lottery is newly executed, the second holding means 146 draws the special drawing lottery value related to the new second lottery. Suspend until the variable display start of the symbol corresponding to the value. In the present embodiment, the special figure lottery value related to the second lottery is held up to four random numbers. The universal symbol holding means 147 has an upper limit of four universal symbol lottery values as normal symbol holding information obtained by the universal symbol lottery means 136 obtained by the passing of the game balls at the operation ports 68a and 68b. Hold as. These holding numbers are represented by the number of lighting or blinking of the first special figure holding lamp 20, the second special figure holding lamp 21, and the general figure holding lamp 22, respectively. The number of holdings by the first holding unit 144 and the second holding unit 146 is also displayed in the display area 194 of the effect symbol display device 60.

第2保留手段146に保留された抽選値は第1保留手段144に保留された抽選値より優先的に消化されて図柄変動が表示される。そのため、第1保留手段144に大当りの抽選値が保留されていても第2保留手段146に保留がある限りは第1保留手段144の大当り抽選値に対応する図柄変動は表示されない。したがって、第1保留手段144に大当りの保留があっても、さらに第2保留手段146へ大当りの保留が入るまで打ち続けることで、複数回の連続的な大当りを獲得できる可能性がある。   The lottery value held by the second holding means 146 is preferentially digested over the lottery value held by the first holding means 144 and the symbol variation is displayed. Therefore, even if the big hit lottery value is held in the first holding means 144, the symbol variation corresponding to the big hit lottery value of the first holding means 144 is not displayed as long as the second holding means 146 holds. Therefore, even if there is a big hit hold in the first holding means 144, there is a possibility that multiple consecutive big hits can be obtained by continuing to hit the second hold means 146 until a big hit hold is entered.

メイン表示制御手段118は、第1特図制御手段148、第2特図制御手段150、普図制御手段153を含む。第1特図制御手段148は、第1抽選手段126による第1の抽選の結果として決定された変動パターンにしたがい第1特別図柄192の変動を第1特別図柄表示装置70に表示させる。第2特図制御手段150は、第2抽選手段128による第2の抽選の結果として決定された変動パターンにしたがい第2特別図柄193の変動を第2特別図柄表示装置71に表示させる。   The main display control means 118 includes first special figure control means 148, second special figure control means 150, and universal figure control means 153. The first special symbol control means 148 causes the first special symbol display device 70 to display the fluctuation of the first special symbol 192 according to the fluctuation pattern determined as a result of the first lottery by the first lottery means 126. The second special symbol control means 150 causes the second special symbol display device 71 to display the fluctuation of the second special symbol 193 according to the fluctuation pattern determined as a result of the second lottery by the second lottery means 128.

第1特図制御手段148は、第2保留手段146により第2の抽選に係る特図抽選値が保留されている場合は第1の抽選に対応する図柄変動表示の開始を留保する。一方、第2特図制御手段150は、第1保留手段144により第1の抽選に係る特図抽選値が保留されているか否かにかかわらず第2の抽選に対応する図柄変動表示を開始する。これにより、第1保留手段144と第2保留手段146の双方によって抽選値が保留されていた場合、第2保留手段146によって保留された抽選値が優先的に読み出されて図柄変動が表示される。そのような場合、第2保留手段146の保留数が0になるまでは第1保留手段144に保留された抽選値は読み出されずその図柄変動も開始しない。   When the special drawing lottery value related to the second lottery is held by the second holding unit 146, the first special figure control unit 148 reserves the start of the symbol variation display corresponding to the first lottery. On the other hand, the second special figure control means 150 starts the symbol fluctuation display corresponding to the second lottery regardless of whether or not the special drawing lottery value related to the first lottery is held by the first holding means 144. . Thereby, when the lottery value is held by both the first holding means 144 and the second holding means 146, the lottery value held by the second holding means 146 is preferentially read and the symbol variation is displayed. The In such a case, the lottery value held in the first holding means 144 is not read until the number of holdings in the second holding means 146 becomes zero, and the symbol variation thereof does not start.

第1特図制御手段148および第2特図制御手段150は、第1特別図柄192および第2特別図柄193の変動表示を開始するタイミングと停止するタイミングにて、変動開始コマンドと変動停止コマンドを前述の演出表示制御手段134へ送信する。変動開始コマンドを送信するとき、決定された当否判定結果、停止図柄、変動パターンのそれぞれを示す値と第1の抽選と第2の抽選のいずれであるかを示す値とを変動開始コマンドとともに演出表示制御手段134へ送信する。変動停止コマンドを送信するとき、あらためて停止図柄を示す値を変動停止コマンドとともに演出表示制御手段134へ送信する。これにより、メイン表示制御手段118および演出表示制御手段134による変動表示が同期し、連動が保たれる。普図制御手段153は、普図抽選手段136による抽選の結果を普通図柄の変動表示として普通図柄表示装置59に表示させる。   The first special figure control means 148 and the second special figure control means 150 issue a change start command and a change stop command at the timing of starting and stopping the change display of the first special symbol 192 and the second special symbol 193, respectively. It transmits to the above-mentioned effect display control means 134. When transmitting the variation start command, the determined result determination result, the stop symbol, the value indicating each variation pattern, and the value indicating either the first lottery or the second lottery are produced together with the variation start command. It transmits to the display control means 134. When transmitting the variation stop command, a value indicating the stop symbol is transmitted to the effect display control means 134 together with the variation stop command. Thereby, the fluctuation display by the main display control means 118 and the effect display control means 134 is synchronized, and the interlock is maintained. The normal symbol control means 153 causes the normal symbol display device 59 to display the lottery result by the normal symbol lottery means 136 as a normal symbol variation display.

条件保持手段176は、大入賞口の開放を伴う単位遊技を複数回含む特別遊技へ移行するための条件として特別遊技作動条件を保持する。特別遊技作動条件は、第1の抽選または第2の抽選で特別遊技へ移行する旨を示す結果となり、その抽選に対応する図柄変動が停止したことを条件の内容とする。   The condition holding means 176 holds a special game operating condition as a condition for shifting to a special game including a unit game that involves opening a special winning opening a plurality of times. The special game operation condition is a result indicating that the game shifts to the special game in the first lottery or the second lottery, and the content of the condition is that the symbol variation corresponding to the lottery is stopped.

特別遊技制御手段120は、第1抽選手段126による第1の抽選が特別遊技への移行を示す結果となった場合、第1特別図柄192が所定の大当り態様で停止されたときに特別遊技作動条件が成立したと判定し、第1大入賞口91を開放させることにより特別遊技を実行する。同様に、特別遊技制御手段120は、第2抽選手段128による第2の抽選が特別遊技への移行を示す結果となった場合、第2特別図柄193が所定の大当り態様で停止されたときに特別遊技作動条件が成立したと判定し、第2大入賞口92を開放させることにより特別遊技を実行する。   When the first lottery by the first lottery means 126 results in the transition to the special game, the special game control unit 120 operates the special game when the first special symbol 192 is stopped in a predetermined big hit mode. It is determined that the condition is satisfied, and the special game is executed by opening the first big winning opening 91. Similarly, the special game control means 120, when the second lottery by the second lottery means 128 results in the transition to the special game, when the second special symbol 193 is stopped in a predetermined big hit mode It is determined that the special game operation condition is satisfied, and the special game is executed by opening the second big prize opening 92.

特定遊技制御手段122は、確変および時短の状態における通常遊技を制御する。特定遊技制御手段122は、大当りの種類に応じて、その特別遊技の終了後に時短状態へ移行させる。一方、特別遊技の終了後に確変状態へ移行させるのは、第1図柄決定手段320または第2図柄決定手段322により決定された図柄が確変への移行を伴う大当り図柄であった場合に限られる。時短状態は、第1特別図柄192および第2特別図柄193の変動表示回数の合計が特別遊技の終了時点から数えて所定の終了条件回数、たとえば100回に達するまで継続される。第1特別図柄192および第2特別図柄193の変動表示時間が概ね短くなるよう、第1パターン決定手段114および第2パターン決定手段119が変動時間の短い変動パターンを選択する。一方、確変状態は、全ての種類の大当りに付帯しており、特別遊技後の合計の変動表示回数が所定数(ここでは104回)に達するまで継続される。確変状態の間は第1当否判定手段113または第2当否判定手段117による当否判定結果が大当りとなる確率が高い値のまま維持される。   The specific game control means 122 controls the normal game in the state of probability change and time saving. The specific game control means 122 shifts to the time-saving state after the end of the special game according to the type of jackpot. On the other hand, the transition to the probability variation state after the end of the special game is limited to the case where the symbol determined by the first symbol determination means 320 or the second symbol determination means 322 is a jackpot symbol accompanying the transition to probability variation. The time-short state is continued until the total number of variable display times of the first special symbol 192 and the second special symbol 193 reaches a predetermined number of end conditions, for example, 100 times from the end of the special game. The first pattern determining unit 114 and the second pattern determining unit 119 select a variation pattern having a short variation time so that the variation display time of the first special symbol 192 and the second special symbol 193 is substantially shortened. On the other hand, the probability variation state is attached to all types of jackpots, and continues until the total number of variation displays after the special game reaches a predetermined number (here, 104 times). During the probability variation state, the probability that the success / failure determination result by the first success / failure determination unit 113 or the second success / failure determination unit 117 is a big hit is maintained at a high value.

事前情報通知手段157は、第1始動入賞口62に入球があった際、その入球に対応する図柄変動表示が開始されるか否かにかかわらず、その入球に対する第1抽選手段126による抽選値を示す情報をサブメイン基板301へ送信する。また、第2始動入賞口63に入球があった際、その入球に対応する図柄変動表示が開始されるか否かにかかわらず、その入球に対する第2抽選手段128による抽選値を示す情報(保留抽選値)をサブメイン基板301へ送信する。保留抽選値には、第1始動入賞口62と第2始動入賞口63のいずれへの入球かを示す情報と、事前判定結果としての当否範囲・図柄範囲・パターン範囲とが含まれる。   Prior information notifying means 157, when there is a ball entering the first start winning opening 62, the first lottery means 126 for the ball regardless of whether the symbol variation display corresponding to the ball is started. The information indicating the lottery value is transmitted to the sub main board 301. In addition, when the second start winning opening 63 is entered, the lottery value by the second lottery means 128 is shown for the entered regardless of whether or not the symbol variation display corresponding to the entered is started. Information (holding lottery value) is transmitted to the sub main board 301. The holding lottery value includes information indicating whether the first start winning opening 62 or the second starting winning opening 63 is entered, and a pre-determination result / design range / pattern range.

なお、このような事前情報の通知により、例えば、確変継続回数の残り回数に応じて予告の演出を異ならせるといった演出が可能となる。より具体的には、確変継続回数の残り回数が少なくなるほど、頻繁に予告演出を実行する、保留制御手段116に保留された情報を事前判定し予告演出を連続的に実行する、といったことが考えられる。   In addition, the notification of such prior information enables, for example, an effect that the effect of the notice is changed according to the remaining number of times of the probability variation continuation. More specifically, as the remaining number of the probability variation continuations decreases, the notice effect is frequently executed, or the information held in the hold control unit 116 is determined in advance and the notice effect is continuously executed. It is done.

開閉制御手段124は、第2始動入賞口63の普通電動役物や第1大入賞口91、第2大入賞口92の開閉を制御する。開閉制御手段124は、普通図柄が特定の態様で停止されると、普通電動役物ソレノイド76に開放指示を送り、第2始動入賞口63の普通電動役物を開放させる。開閉制御手段124は、特別遊技において、大入賞口ソレノイド80または大入賞口ソレノイド81に開放指示を送り、第1大入賞口91または第2大入賞口92を開放させる。また、開閉制御手段124は、通常特別遊技後の確変状態および時短状態においては第2始動入賞口63の拡開機構を通常状態に比べて長い時間拡開させる開放延長を実行する。
<<サブメイン基板の主要な機能>>
The opening / closing control means 124 controls the opening / closing of the ordinary electric accessory of the second start winning opening 63, the first big winning opening 91, and the second big winning opening 92. When the normal symbol is stopped in a specific manner, the opening / closing control means 124 sends an opening instruction to the ordinary electric accessory solenoid 76 to open the ordinary electric accessory at the second start winning prize opening 63. In the special game, the opening / closing control means 124 sends an opening instruction to the big prize opening solenoid 80 or the big prize opening solenoid 81 to open the first big prize opening 91 or the second big prize opening 92. In addition, the opening / closing control means 124 performs an opening extension that causes the expansion mechanism of the second start winning opening 63 to be expanded for a longer time than in the normal state in the probability changing state and the short time state after the normal special game.
<< Main functions of sub-main board >>

サブメイン基板301においては、メイン基板102からの各種コマンドをコマンド受信手段304が受信し、後述のように、図柄態様決定手段131、演出決定手段132、演出表示制御手段134などにより決定及び制御された演出態様に係る演出態様情報が、演出態様送信手段305を介して、サブサブ基板302へ送信される。   In the sub-main board 301, the command receiving unit 304 receives various commands from the main board 102, and is determined and controlled by a symbol mode determining unit 131, an effect determining unit 132, an effect display control unit 134, and the like as will be described later. The production mode information related to the production mode is transmitted to the sub-sub board 302 via the production mode transmission means 305.

サブメイン基板301に備えられたパターン記憶手段130は、装飾図柄190a〜190cの変動において演出図柄表示装置60に表示させる演出的な画像内容とその表示過程が定められた複数の演出パターンを保持する。演出パターンには、装飾図柄190a〜190cの変動表示における変動開始から停止までの変動過程と演出過程が定められた複数の変動演出パターンと、装飾図柄の変動表示とは別に表示されて大当りへの期待度の高さを変動表示の停止前に予告的に示唆する複数の予告演出パターンとが含まれる。   The pattern storage means 130 provided on the sub-main substrate 301 holds a plurality of effect patterns in which effect image contents to be displayed on the effect symbol display device 60 and its display process are determined in the variation of the decorative symbols 190a to 190c. . The effect pattern is displayed separately from a plurality of variation effect patterns in which the variation process from the variation start to the stop and the variation process in the variation display of the decoration symbols 190a to 190c are defined, and the variation display of the decoration symbol. A plurality of notice effect patterns that imply a high degree of expectation in advance before stopping the variable display are included.

演出決定手段132は、第1抽選手段126から受け取る第1の抽選の結果または第2抽選手段128から受け取る第2の抽選の結果に応じて、演出表示制御手段134によって演出図柄表示装置60へ表示させる演出内容を決定する。演出決定手段132は、第1パターン決定手段114または第2パターン決定手段119により決定された特別図柄の変動パターンに対応する複数の変動演出パターンデータの中からいずれかを選択してパターン記憶手段130から読み出す。演出決定手段132は、装飾図柄190a〜190cの停止図柄の組合せを第1抽選手段126または第2抽選手段128が決定する特別図柄の停止図柄や変動パターンに基づいて決定する。   The effect determining means 132 is displayed on the effect symbol display device 60 by the effect display control means 134 according to the result of the first lottery received from the first lottery means 126 or the result of the second lottery received from the second lottery means 128. The contents of the production to be performed are determined. The effect determining unit 132 selects any one of a plurality of variation effect pattern data corresponding to the variation pattern of the special symbol determined by the first pattern determining unit 114 or the second pattern determining unit 119 and selects the pattern storage unit 130. Read from. The effect determination means 132 determines the combination of the stop symbols of the decorative symbols 190a to 190c based on the stop symbol or variation pattern of the special symbol determined by the first lottery means 126 or the second lottery means 128.

装飾図柄190a〜190cの停止図柄は、3つの図柄の組合せとして形成され、たとえば第1抽選手段126または第2抽選手段128による当否判定結果が大当りの特別遊技への移行を示す場合には特定の組合せ、例えば「777」や「555」のように3つの図柄が揃った組合せが選択される。この場合、装飾図柄190a〜190cとして揃える数字には、第1特別図柄192や第2特別図柄193と同じ数字に係る装飾図柄を選択することが可能である。たとえば、第1特別図柄192または第2特別図柄193が「7」の場合は装飾図柄190a〜190cが「777」となる。あるいは、3つの図柄の少なくとも一つに当りであることを示す特定の図柄が含まれる図柄の組み合わせによっても、その大当りを示すようにしてもよい。そして、演出決定手段132は、装飾図柄190a〜190cの停止図柄組合せと装飾図柄の変動演出パターンデータを演出表示制御手段134へ送る。   The stop symbols of the decorative symbols 190a to 190c are formed as a combination of three symbols. For example, if the determination result of the first lottery means 126 or the second lottery means 128 indicates a shift to a special game of big hit A combination, for example, a combination of three symbols such as “777” and “555” is selected. In this case, it is possible to select a decorative symbol related to the same number as the first special symbol 192 and the second special symbol 193 as the numbers aligned as the decorative symbols 190a to 190c. For example, when the first special symbol 192 or the second special symbol 193 is “7”, the decorative symbols 190 a to 190 c are “777”. Or you may make it show the big hit also by the combination of the design in which the specific symbol which shows that it is a hit is at least one of three symbols. Then, the effect determining unit 132 sends the stop symbol combinations of the decorative symbols 190a to 190c and the decorative symbol variation effect pattern data to the effect display control unit 134.

装飾図柄の変動演出パターンデータには、装飾図柄の変動表示態様、すなわち装飾図柄の変動開始から変動停止までの変動過程と演出過程が定義される。変動演出パターンには、あと一つ図柄が揃えば大当りとなるリーチ状態を経てから当り態様またははずれ態様である停止図柄組合せを表示するリーチパターンと、リーチ状態を経ずにはずれ態様である停止図柄組合せを表示するリーチなしパターンが含まれる。特に、リーチ状態を経るときのパターンとしては、長短様々な変動時間をもつパターンが含まれ、前述のように、相対的に変動時間の短いリーチパターンを「ノーマルリーチ」と称し、変動時間の長いリーチパターンを「スーパーリーチ」と称する。各変動演出パターンには、その図柄変動の終了条件としてパターンごとに変動時間が定められており、その変動時間の経過時に図柄変動が停止される。演出決定手段132は、特別図柄の変動パターンに応じて、特別図柄と変動時間が等しい装飾図柄の変動演出パターンを選択する。   In the decorative pattern variation effect pattern data, a decorative symbol variation display mode, that is, a variation process from a variation start to a variation stop and a variation process are defined. The variation effect pattern includes a reach pattern that displays a stop symbol combination that is a hit state or a disagreement mode after a reach state that becomes a big hit if one more symbols are aligned, and a stop pattern that is a slip state without passing a reach state An unreachable pattern that displays the combination is included. In particular, the patterns that go through the reach state include patterns with various short and long fluctuation times. As described above, a reach pattern with a relatively short fluctuation time is called “normal reach” and a reach with a long fluctuation time is used. The pattern is called “super reach”. Each variation effect pattern has a variation time for each pattern as an end condition of the symbol variation, and the symbol variation is stopped when the variation time elapses. The effect determining means 132 selects a variation effect pattern of a decorative symbol having the same variation time as the special symbol, according to the variation pattern of the special symbol.

サブメイン基板301における上述のノーマルリーチ、スーパーリーチは、前述のメイン基板102における「ノーマル1」、「ノーマル2」、「スーパー1」、「スーパー2」といった変動パターンに対応したものである。また、サブメイン基板301における上述のリーチなしパターンは、同じくメイン基板102における「リーチなし」の変動パターンに対応したものである。そして、本実施例のぱちんこ遊技機10においては、メイン基板102の各変動パターンに対応して、サブメイン基板301の変動パターンが多数設けられており、メイン基板102で選択された変動パターンがサブメイン基板301にコマンドとして通知されると、サブメイン基板301では、指定された変動パターンに対して選択可能な複数の変動パターンのうちから、何れかの変動パターンが選択される。なお、メイン基板102における変動パターンが更に細分化されている場合には、サブメイン基板301における変動パターンも、メイン基板102における細分化に対応してより多数設けられる。また、サブメイン基板301における各種変動パターンは、前述の各種の予告演出パターンとの組合せで用いられることもある。   The above-described normal reach and super reach on the sub main board 301 correspond to the fluctuation patterns such as “normal 1”, “normal 2”, “super 1”, and “super 2” on the main board 102 described above. The above-described non-reach pattern on the sub-main substrate 301 corresponds to the “no reach” variation pattern on the main substrate 102 as well. In the pachinko gaming machine 10 of the present embodiment, a large number of variation patterns of the sub-main substrate 301 are provided corresponding to each variation pattern of the main substrate 102, and the variation pattern selected on the main substrate 102 is the sub-pattern. When notified to the main board 301 as a command, the sub-main board 301 selects one of the plurality of fluctuation patterns that can be selected for the designated fluctuation pattern. When the variation pattern on the main substrate 102 is further subdivided, a larger number of variation patterns on the sub-main substrate 301 are provided corresponding to the subdivision on the main substrate 102. In addition, the various variation patterns on the sub main board 301 may be used in combination with the above-described various notice effect patterns.

演出表示制御手段134は、第1演出制御手段168および第2演出制御手段170を含む。演出表示制御手段134は、遊技効果ランプ90の点灯および消灯や、スピーカ19からの音声出力などの音出力(サウンド)に係る演出処理のための制御を行う。   The effect display control means 134 includes a first effect control means 168 and a second effect control means 170. The effect display control means 134 performs control for effect processing related to sound output (sound) such as lighting and extinguishing of the game effect lamp 90 and sound output from the speaker 19.

第1演出制御手段168および第2演出制御手段170は、第1抽選手段126による第1の抽選の結果または第2抽選手段128による第2の抽選の結果を、選択された変動演出パターンデータにしたがって装飾図柄190a〜190cとして演出図柄表示装置60の表示領域194に変動表示させる。   The first effect control means 168 and the second effect control means 170 use the first lottery result by the first lottery means 126 or the second lottery result by the second lottery means 128 as the selected variation effect pattern data. Therefore, the decorative symbols 190 a to 190 c are displayed in a variable manner in the display area 194 of the effect symbol display device 60.

第1演出制御手段168は、第2保留手段146により第2の抽選の結果が保留されている場合は第1の抽選に対応する図柄変動表示の開始を留保する。第2演出制御手段170は、第1保留手段144により第1の抽選の結果が保留されているか否かにかかわらず第2の抽選に対応する図柄変動表示を開始する。これにより、第1保留手段144と第2保留手段146の双方によって抽選値が保留されていた場合は第2保留手段146により保留された抽選値が優先的に読み出されて装飾図柄の変動が表示される。そのような場合、第2保留手段146の保留数が0になるまでは第1保留手段144に保留された抽選値は読み出されずその装飾図柄の変動も開始しない。このように演出表示制御手段134は、装飾図柄190a〜190cの変動表示を含む図柄変動演出を演出図柄表示装置60に表示させる。   When the second lottery 146 holds the result of the second lottery, the first effect control unit 168 reserves the start of the symbol variation display corresponding to the first lottery. The second effect control means 170 starts the symbol fluctuation display corresponding to the second lottery regardless of whether or not the first lottery result is held by the first holding means 144. As a result, when the lottery value is held by both the first holding means 144 and the second holding means 146, the lottery value held by the second holding means 146 is preferentially read out, and the decorative design fluctuates. Is displayed. In such a case, the lottery value held by the first holding unit 144 is not read until the number of holdings of the second holding unit 146 becomes zero, and the variation of the decorative design does not start. Thus, the effect display control means 134 causes the effect symbol display device 60 to display the symbol variation effect including the variation display of the decorative symbols 190a to 190c.

演出決定手段132は、事前情報通知手段157により通知された保留抽選結果を所定のバッファ領域に格納する。さらに、演出決定手段132は、メイン基板102の第1抽選手段126および第2抽選手段128から通知された本判定結果としての当該変動(その時に実行されている変動表示)に関する抽選結果と、事前情報通知手段157により予め通知されてバッファ領域に格納した保留抽選結果とにしたがって予告演出を表示させる。具体的には、将来時点において図柄変動が行われる保留抽選結果における大当りの発生有無を示唆するための前兆となる予告演出を表示させる。なお、演出決定手段132は、予告演出を表示させるか否かを決定するための所定の予告抽選を実行し、(例えば予め定められた確率にて)その予告抽選に当選したことを条件として、予告演出を表示させる。このように保留抽選結果中の事前判定結果に応じて設定される予告演出は「先読み演出」と呼ばれる。   The effect determination unit 132 stores the pending lottery result notified by the prior information notification unit 157 in a predetermined buffer area. Further, the effect determination means 132 includes a lottery result regarding the change (change display executed at that time) as the main determination result notified from the first lottery means 126 and the second lottery means 128 of the main board 102, The notice effect is displayed in accordance with the reserved lottery result notified in advance by the information notification means 157 and stored in the buffer area. Specifically, a notice effect that is a precursor to suggest the presence or absence of a big hit in the result of the pending lottery in which symbol variation is performed at a future time is displayed. The effect determining means 132 executes a predetermined notice lottery for determining whether or not to display the notice effect, and on condition that the notice lottery is won (for example, with a predetermined probability). A notice effect is displayed. Thus, the notice effect set according to the preliminary determination result in the pending lottery result is called “prefetch effect”.

また、演出決定手段132は、入賞情報に設定された第1保留手段144における保留数(以下、「第1の保留数」とも呼ぶ。)と第2保留手段146における保留数(以下、「第2の保留数」とも呼ぶ。)、および、図柄変動の実行状況(すなわち保留の消化状況)に応じて、現在時点での第1の保留数および第2の保留数を特定する。演出表示制御手段134は、演出決定手段132において特定された第1の保留数および第2の保留数を、演出図柄表示装置60の第1保留数表示部196および第2保留数表示部197に表示させる。また、演出決定手段132において保留数が新たに特定されると、第1保留数表示部196および第2保留数表示部197の表示を逐次更新する。
<<先読み演出の各種パターン>>
In addition, the effect determining unit 132 is configured to set the number of holds in the first holding unit 144 (hereinafter also referred to as “first holding number”) and the number of holdings in the second holding unit 146 (hereinafter referred to as “first” in the winning information). 2), and the first hold number and the second hold number at the current time point are specified in accordance with the execution state of the symbol variation (that is, the holding state). The effect display control unit 134 displays the first hold number and the second hold number specified by the effect determining unit 132 on the first hold number display unit 196 and the second hold number display unit 197 of the effect symbol display device 60. Display. Further, when the number of holdings is newly specified by the effect determining means 132, the display of the first holding number display unit 196 and the second holding number display unit 197 is sequentially updated.
<< Various patterns for prefetching production >>

前述の先読み演出が実行される場合は、それ以前に出現している通常の演出パターンとは異なる演出パターン(視覚的なものや聴覚的なもの等を含む)が実行されるが、このような先読み演出に係る演出パターンの具体的態様や実行開始タイミングは一様ではなく、変化に富んでいる。   When the above-mentioned pre-reading effect is executed, an effect pattern (including visual and auditory ones) different from the normal effect pattern that appears before that is executed. The specific mode and execution start timing of the production pattern related to the pre-reading production are not uniform and are varied.

例えば、先読み演出の一例として、図7(b1),(b2)中に示す第1保留数表示部196や第2保留数表示部197での保留表示を用いるもの挙げることができる。さらに、保留表示において行われる通常と異なる演出パターン(以下では「保留変化」と称する)としては、保留球表示の色彩、形状、或いは模様等を変化させるものや、フラッシュを繰返すように保留表示を点滅させるもの、又はこれらの組合せによるものなどを挙げることができる。そして、これらのうち保留球表示の形態を変化させるものとしては、保留球表示の色彩を、例えば通常は緑色であるのに対し、所定のタイミングで赤色や金色に変化させるもの等を例示できる。さらに、保留球表示の形状を変化させるものとしては、通常の真円形状から演出のストーリーに関係する各種アイテムや人物の形態(いずれも動画を含む)に変化させるものや、保留変化前の形態に対して相似形を保ったまま拡大させるものなどを例示することができる。また、保留球表示の模様を変化させるものとしては、通常の模様なしの単色柄の表示から動物体表模様に変化させるものなどを例示することができる。さらに、保留表示を点滅させるものとしては、点滅の周期を異ならせるものなどを例示することができる。   For example, as an example of the pre-reading effect, a display using a hold display on the first hold number display unit 196 or the second hold number display unit 197 shown in FIGS. 7B1 and 7B2 can be used. Furthermore, as a different production pattern (hereinafter referred to as “holding change”) performed in the hold display, a change in the color, shape, or pattern of the hold ball display, or a hold display so that the flash is repeated. What blinks or a combination thereof can be cited. Among these, examples of changing the form of the reserved sphere display include those that change the color of the reserved sphere display to, for example, normally green, but to red or gold at a predetermined timing. In addition, the shape of the holding ball display can be changed from the normal perfect circle shape to various items and person forms related to the production story (all of which include moving images), or the form before the change of hold For example, it is possible to magnify the image while keeping the similar shape. Moreover, as what changes the pattern of a holding ball display, what changes from the display of a normal monochromatic pattern without a pattern to an animal body surface pattern etc. can be illustrated. Further, examples of blinking the hold display include those that vary the blinking cycle.

さらに、このような保留変化のタイミングも多様であり、例示すれば、保留変化の対象となる始動入賞(遊技球の検出。以下では「対象入賞」と称する場合がある。)を基準としたものや、他の始動入賞(同様に以下では「他入賞」と称する場合がある)を基準としたものを挙げることができる。さらに、他入賞を基準とする保留変化のタイミングには、対象入賞よりも先に発生した始動入賞(以下では「先行入賞」と称する場合がある)に係る変動表示(以下では「先行変動」と称する場合がある)の状態を基準とするものや、対象入賞よりも後に発生した始動入賞(以下では「後行入賞」と称する場合がある)を基準としたものなどがある。   Furthermore, the timing of such a holding change is also various, for example, based on the start winning (the detection of a game ball, which may be referred to as “target winning” in the following) that is the target of the holding change. Or, other starting prizes (also referred to as “other prizes” in the following) may be used as a reference. Furthermore, at the timing of the pending change based on other winnings, a change display (hereinafter referred to as “advance fluctuation”) related to a start winning that occurred prior to the target winning (hereinafter sometimes referred to as “preceding winning”). And the like based on the start prize (hereinafter sometimes referred to as “follow-up prize”) generated after the target prize.

これらのうち、対象入賞を基準とする保留変化としては、サブ基板104に備えられた機能的手段である演出表示制御手段134が、対象入賞に係る事前判定結果に基づき、対象入賞に対応した保留表示の開始当初から保留変化を実行する態様がある。また、対象入賞に対応した保留表示を当初は通常の保留表示パターンで開始し、所定時間が経過すると保留変化させるものなども考えられる。   Among these, as the hold change based on the target winning, the effect display control means 134 which is a functional means provided in the sub-board 104 is based on the preliminary determination result related to the target winning and holds corresponding to the target winning. There is a mode in which the pending change is executed from the beginning of the display. In addition, it is conceivable that the hold display corresponding to the target winning is initially started with a normal hold display pattern, and the hold change is made after a predetermined time.

また、先行入賞や先行変動の状態を基準とした保留変化としては、以下のようなものを挙げることができる。例えば、対象入賞に係る保留表示は通常の表示パターンで開始され、この後、対象入賞が発生した際に実行されていた変動表示が終了する。そして、それまで保留されていた先行入賞に係る始動入賞情報のうち、最も早く保留記憶されたもの(1個目の保留記憶であったもの)に係る変動表示が開始される。そして、対象入賞に係る保留表示が一つ下位の保留表示(例えば、4個目から3個目の保留表示に移行されたもの)にシフトされた際に、通常の保留表示パターンから特殊な表示パターンに変化する。   Moreover, the following can be mentioned as a pending change on the basis of the state of a preceding winning prize or a preceding fluctuation. For example, the hold display related to the target winning is started with a normal display pattern, and thereafter, the variable display that was executed when the target winning is generated is ended. Then, the variable display related to the one that has been stored on hold earlier (the one that was stored on the first hold) among the start winning information related to the preceding winning that has been held until then is started. Then, when the hold display related to the target winning is shifted to a hold display that is one lower level (for example, shifted from the 4th to the 3rd hold display), a special display from the normal hold display pattern is displayed. It changes to a pattern.

また、この先行入賞や先行変動の状態を基準とした保留変化として、先行変動を利用し、複数の変動表示(複数の始動入賞情報)に跨り、連続して実行されるものを挙げることができる。そして、この連続した保留変化の演出パターンとしては、以下のようなものを例示できる。例えば、図7(b1),(b2)中の第1保留数表示部196における第4番目の位置(4個目の位置(左端の位置))で対象入賞に係る保留表示が行われる際に、他の位置(例えば第1〜第3の位置)にある通常の保留表示の色彩(例えば緑色)とは異なる色彩(例えば赤色)で表示する。そして、保留の消化が進み、対象入賞に係る保留表示の位置が第3番目の位置、第2番目の位置、第1番目の位置へと右側(第2保留数表示部197の場合は左側)へシフトする度に、保留表示の色彩が、オレンジ色、金色、虹色と順次変化する。   Further, as the pending change based on the state of the preceding winnings or the preceding fluctuations, there can be cited those which are executed continuously using the preceding fluctuations and straddling a plurality of fluctuation displays (a plurality of starting winning information). . And the following can be illustrated as an effect pattern of this continuous reservation change. For example, when the hold display related to the target winning is performed at the fourth position (fourth position (leftmost position)) in the first hold number display section 196 in FIGS. 7B1 and 7B2 The display is performed in a color (for example, red) that is different from the color (for example, green) of the normal hold display at another position (for example, the first to third positions). Then, the reservation of the hold proceeds, and the position of the hold display related to the target winning is the right side to the third position, the second position, and the first position (left side in the case of the second hold number display section 197). Each time the shift to, the color of the hold display changes in order of orange, gold, and rainbow.

また、前述の後行入賞を基準とした保留変化として、以下のようなものを例示できる。例えば、始動入賞が検出される度に、前述の演出決定手段が、対象入賞に係る保留変化を行うか否かの抽選(保留変化実行抽選)を行い、抽選結果が保留変化を行う旨のものであった場合に、対象入賞に係る保留表示がどの位置に表示されるかに関係なく、その際に行われる対象入賞の保留表示を保留変化させる。また、これに限らず、保留変化実行抽選の結果が保留変化を行う旨のものであった場合に、対象入賞に係る保留表示が所定の位置(例えば第2番目の位置)にシフトされた際に、それまでとは異なる態様に保留変化させることも考えられる。なお、保留変化実行抽選を、毎回の始動入賞について行うことに限らず、例えば所定の条件が成立した場合(例えば、特定の演出モード中や、所定の演出が実行されている間、など)に限って行うようにしてもよい。   Moreover, the following things can be illustrated as a pending | holding change on the basis of the above-mentioned subsequent winning prize. For example, every time a start prize is detected, the above-described effect determination means performs a lottery (holding change execution lottery) as to whether or not to perform a holding change related to the target winning, and the lottery result changes to hold. If it is, regardless of the position where the hold display related to the target winning is displayed, the hold display of the target winning performed at that time is changed to hold. Further, not limited to this, when the hold change execution lottery result indicates that the hold change is performed, the hold display related to the target winning is shifted to a predetermined position (for example, the second position). In addition, it may be possible to change the mode to a different mode. It should be noted that the hold change execution lottery is not limited to each start winning prize, but for example when a predetermined condition is satisfied (for example, during a specific effect mode or while a predetermined effect is being executed). You may make it carry out only.

なお、本実施例では、先読み演出に係る演出パターンとして保留表示を例に挙げているが、本発明はこれに限定されるものではなく、例えば、演出パターンの停止のための制御にも適用可能である。そして、演出パターンの停止のための制御の態様としては、例えば、複数回の変動表示に亘り連続性のある演出(以下では「連続予告」と称する。擬似的なものを含む。)が実行された場合に、当該連続予告を終了するか否かの抽選を、先読みした遊技状態の抽選結果に基づいて決定することが挙げられる。   In the present embodiment, the hold display is taken as an example of the effect pattern related to the prefetch effect, but the present invention is not limited to this, and can be applied to control for stopping the effect pattern, for example. It is. And as a mode of control for stopping an effect pattern, for example, an effect (hereinafter referred to as “continuous notice”, including a pseudo one) that is continuous over a plurality of variable displays is executed. In such a case, a lottery for determining whether or not to end the continuous notice is determined based on the lottery result of the pre-read gaming state.

以上例示したような先読み演出に関して、特別図柄の図柄群の種別を伝える構成を採用することが可能である。すなわち、前述の第1特別図柄192(或いは第2特別図柄193)として、例えば各々256種類等の多数の図柄を設定し、第1特別図柄表示装置70(或いは第2特別図柄表示装置71)を構成するLEDの点灯パターンの違いによって多数の図柄を区別できるようにする。そして、これらの多数の図柄を、当否抽選の結果に紐付けた態様で、例えば16種類に分類し、各々が複数の図柄群からなる複数のグループを形成する。さらに、各図柄群に対して、サブメイン基板301で識別可能な符号を割当て、メイン基板102からサブメイン基板301へ、乱数抽選により取得された数値が属する図柄群の符号を、演出パターンを指定するコマンドに含めて送信する。そして、サブメイン基板301は、メイン基板102からのコマンドに基づき、何れの図柄群に係るコマンドであるかを判定し、判定結果に基づき、当否抽選の結果に関連付けて先読み演出を実行する。   Regarding the pre-reading effects as exemplified above, it is possible to adopt a configuration for transmitting the type of symbol group of special symbols. That is, as the first special symbol 192 (or the second special symbol 193), for example, a large number of 256 types or the like are set, and the first special symbol display device 70 (or the second special symbol display device 71) is set. A large number of symbols can be distinguished by the difference in the lighting pattern of the constituent LEDs. Then, these many symbols are classified into, for example, 16 types in a manner associated with the result of the lottery determination, and a plurality of groups each including a plurality of symbol groups are formed. Furthermore, a code that can be identified by the sub-main board 301 is assigned to each symbol group, and an effect pattern is designated from the main board 102 to the sub-main board 301 as the code of the symbol group to which the numerical value obtained by random number lottery belongs. Included in the command to be sent. Then, the sub-main board 301 determines which symbol group the command relates to based on the command from the main board 102, and executes the pre-reading effect in association with the result of the lottery determination based on the determination result.

なお、先読み演出に係るコマンドは、当否、当り図柄、変動パターン、保留球数の4つの情報を1セットとして含むよう、構成することが可能である。さらに、当否乱数、図柄乱数、変動パターン乱数は、前述のようにグループ分けされているので、グループを示す情報をコマンドに含めて通信を行うことが可能である。なお、「グループ分け」の用語を「ブロック分け」、「群分け」等の用語に置き換えても、技術上の意義が同様のものとすることができる。   Note that the command related to the pre-reading effect can be configured to include four pieces of information, that is, whether or not, winning symbol, variation pattern, and number of reserved balls as one set. Furthermore, since the random number, the design random number, and the variation pattern random number are grouped as described above, it is possible to perform communication by including information indicating the group in the command. It should be noted that even if the term “grouping” is replaced with a term such as “blocking” or “grouping”, the technical significance can be the same.

また、状況に応じて先読みコマンドの送信条件を変更設定し、送信条件が設定された状況においては、送信条件に応じたコマンド送信を行うという構成も採用が可能である。例えば、大当り中(特別遊技中)は、第2の遊技に係る第2特別図柄193のみを有効とし、第2特別図柄193に係るコマンドのみを送信することが考えられる。また、第1の遊技及び第2の遊技の何れに係る抽選であるのかといった点や、通常の遊技状態であるのか又は確変(或いは時短や電チューサポート)などがある特定遊技状態であるのかといった点、などに応じ、使用するテーブル類(例えば、当否判定テーブル、図柄判定テーブル、変動パターンテーブル、など)を切換えることも可能である。   Further, it is possible to adopt a configuration in which the transmission condition of the prefetch command is changed and set according to the situation, and the command transmission according to the transmission condition is performed in the situation where the transmission condition is set. For example, during a big hit (during a special game), only the second special symbol 193 related to the second game is valid, and only the command related to the second special symbol 193 may be transmitted. Also, whether it is a lottery related to the first game or the second game, whether it is a normal game state, or whether it is a specific game state with certainty (or time reduction or electronic Chu support), etc. Depending on the point, etc., it is also possible to switch the tables to be used (for example, a determination table, a symbol determination table, a variation pattern table, etc.).

なお、保留表示については、上述のような先読み演出を行う遊技状態に限らず、他の種々の遊技状態に応じた態様で行うことが可能である。例えば、大当り抽選の確率が通常確率の場合と高確率の場合で互いの保留表示の態様を異ならせること、普通電動役物の開放延長を行っている場合(開放延長機能作動中の場合)と開放延長を行っていない場合(開放延長機能未作動の場合)で互いの保留表示の態様を異ならせること、などが可能である。保留表示の具体的な態様としては、第1保留数表示部196(または第2保留数表示部197)の形状を、真円から特定のキャラクタやアイテムの形状に変える、といったことを挙げることができる。なお、遊技状態に応じ異ならせた保留表示態様での演出の開始や終了のタイミングを、対応する遊技状態が発生したタイミングに対し遅延させたり、早めたりすることも可能である。
<メイン基板からサブメイン基板へ送信される各種コマンド>
Note that the hold display is not limited to the gaming state in which the pre-reading effect as described above is performed, but can be performed in a manner according to various other gaming states. For example, when the probability of jackpot lottery is a normal probability and when the probability is a high probability, the display mode of each other is different, when the extension of normal electric equipment is being extended (when the open extension function is in operation) When the opening extension is not performed (when the opening extension function is not activated), it is possible to change the display mode of each other. As a specific mode of the hold display, the shape of the first hold number display unit 196 (or the second hold number display unit 197) is changed from a perfect circle to a shape of a specific character or item. it can. It should be noted that it is possible to delay or speed up the start and end timing of the effect in the hold display mode that varies depending on the gaming state with respect to the timing at which the corresponding gaming state occurs.
<Various commands transmitted from the main board to the sub main board>

次に、メイン基板102からサブメイン基板301へ送信される各種コマンドについて説明する。先ず、コマンドの送信タイミングとしては、初期画面表示中、客待ちデモ(待機デモ)中、特別図柄の図柄変動開始時、特別図柄の図柄確定時、特別図柄の図柄確定中、大当り開始デモ時、大当り中大入賞口開放時、大当り中大入賞口閉鎖時、当り終了デモ時、大当り終了デモ終了時などがある。このうち初期画面表示中は、ぱちんこ遊技機10の電源投入後、客待ちデモが開始されて定常状態に入るまでの期間である。また、始動入賞時、電断復帰時、及び、エラー検出時は、何れの場合であってもコマンド送信が行われる。さらに、RWMクリア時にもコマンド送信が実行される。   Next, various commands transmitted from the main board 102 to the sub main board 301 will be described. First, as command transmission timing, during initial screen display, during customer waiting demo (standby demo), at the time of special symbol change start, at the time of special symbol determination, at the time of special symbol determination, at the time of jackpot start demonstration, There are times when the jackpot is open, the jackpot is closed, the winning demonstration is over, and the jackpot is ended. Among these, the initial screen display is a period from when the pachinko gaming machine 10 is powered on until the customer waiting demonstration starts and enters a steady state. In addition, command transmission is performed in any case at the time of start winning, at the time of power failure recovery, and at the time of error detection. Furthermore, command transmission is executed even when the RWM is cleared.

これらのうち、RWMクリア時のコマンドとしては、演出表示器初期化、演出LED初期化、各種エラーのコマンドがある。演出表示器初期化コマンドは、演出図柄表示装置60に所定のはずれ図柄を表示するためのものである。演出LED初期化コマンドは、通信が正常である場合に遊技効果ランプ90の一部を点灯させるものである。各種エラーコマンドは、エラーの状態に合わせた演出表示等を行うためのものである。   Among these, commands for RWM clear include commands for effect display initialization, effect LED initialization, and various errors. The effect indicator initialization command is for displaying a predetermined off symbol on the effect symbol display device 60. The effect LED initialization command is to turn on a part of the game effect lamp 90 when communication is normal. The various error commands are used for effect display according to the error state.

客待ちデモのコマンドとしては、客待ちデモコマンドがある。この客待ちデモコマンドは、演出図柄表示装置60や遊技効果ランプ90を客待ちデモ用に設定し、音声を消去するためのものである。   As a customer waiting demo command, there is a customer waiting demo command. This customer waiting demonstration command is for setting the effect symbol display device 60 and the game effect lamp 90 for the customer waiting demonstration and deleting the sound.

特別図柄の図柄変動開始時のコマンドとしては、図柄1記憶数、図柄2記憶数、通信検査1、通信検査2、演出回数A〜Z、演出選択状態0〜2、変動付加情報、図柄1演出パターン、図柄2演出パターン、図柄1キャラクタ演出、図柄2キャラクタ演出のコマンドがある。図柄1記憶数コマンドは、第1特別図柄192の保留記憶数を示すものであり、図柄2記憶数コマンドは、第2特別図柄193の保留記憶数を示すものである。通信検査1コマンド及び通信検査2コマンドは、正常な通信がなされているか否かの確認のためのものである。演出回数A〜Zの各種コマンドは、前述の限定頻度テーブルにしたがった演出に係る回数を示すものであり、演出選択状態0〜2の各種コマンドは、限定頻度テーブルにしたがった演出の種類を示すものである。変動付加情報コマンドは、変動時間を加減するための情報を示すものである。図柄1演出パターンコマンドは、第1特別図柄192の変動パターンに対応したコマンドを送信するためのものであり、図柄2演出パターンコマンドは、第2特別図柄193の変動パターンに対応したコマンドを送信するためのものである。図柄1キャラクタ演出コマンドは、第1特別図柄192の図柄に対応したコマンドを送信するためのものであり、図柄2キャラクタ演出コマンドは、第2特別図柄193の図柄に対応したコマンドを送信するためのものである。   As a command at the time of starting the symbol change of the special symbol, the number of symbols 1 stored, the number of symbols 2 stored, the communication inspection 1, the communication inspection 2, the number of times of production A to Z, the production selection state 0 to 2, the variation additional information, the design 1 production There are commands for pattern, symbol 2 effect pattern, symbol 1 character effect, symbol 2 character effect. The symbol 1 memory number command indicates the number of reserved memories of the first special symbol 192, and the symbol 2 memory number command indicates the number of reserved memories of the second special symbol 193. The communication check 1 command and the communication check 2 command are for confirming whether or not normal communication is being performed. The various commands of the production times A to Z indicate the number of productions according to the above-described limited frequency table, and the various commands of the production selection states 0 to 2 indicate the types of production according to the limited frequency table. Is. The fluctuation additional information command indicates information for adjusting the fluctuation time. The symbol 1 effect pattern command is for transmitting a command corresponding to the variation pattern of the first special symbol 192, and the symbol 2 effect pattern command is for transmitting a command corresponding to the variation pattern of the second special symbol 193. Is for. The symbol 1 character effect command is for transmitting a command corresponding to the symbol of the first special symbol 192, and the symbol 2 character effect command is for transmitting a command corresponding to the symbol of the second special symbol 193. Is.

なお、本実施例では、特別図柄の図柄変動開始時のコマンドに、前述の普通図柄に係る抽選演出に関するもの(抽選演出コマンド)が含まれる。そして、この抽選演出に関するコマンドは、上述の変動付加情報コマンドに含まれるコマンドとして設けることが可能である。ここで、抽選演出に関するコマンドの送信タイミングを、特別図柄の図柄変動開始時ではなく、他のタイミングとしてもよい。そして、抽選演出に関するコマンドの他の送信タイミングとしては、特別図柄の変動中を例示でき、特別図柄の変動中に、長開放の当せんの都度、送信する、といったことが可能である。また、長開放に当せんしていることが判定されれば、特別図柄の変動開始時及び特別図柄の変動中の何れであっても抽選演出コマンドの送信を行える、といった制御態様も採用が可能である。   In the present embodiment, the command at the time of starting the symbol change of the special symbol includes a lottery effect (lottery effect command) related to the above-described normal symbol. The command related to the lottery effect can be provided as a command included in the above-described variable additional information command. Here, the transmission timing of the command related to the lottery effect may be set to other timing instead of the time of starting the symbol variation of the special symbol. As another transmission timing of the command related to the lottery effect, it is possible to exemplify during the change of the special symbol, and during the change of the special symbol, it is possible to transmit each time the long opening is won. In addition, if it is determined that the game is long open, it is possible to adopt a control mode in which a lottery effect command can be transmitted at the time of starting the change of the special symbol or during the change of the special symbol. is there.

特別図柄の図柄確定時のコマンドとしては、図柄1演出パターン停止、図柄2演出パターン停止のコマンドがある。図柄1演出パターン停止コマンド、及び、図柄2演出パターン停止コマンドは、それぞれ、第1特別図柄192や第2特別図柄193に基づく装飾図柄190a〜190cを停止させるためのものである。   As a command for determining a special symbol, there are a symbol 1 effect pattern stop command and a symbol 2 effect pattern stop command. The symbol 1 effect pattern stop command and the symbol 2 effect pattern stop command are used to stop the decorative symbols 190a to 190c based on the first special symbol 192 and the second special symbol 193, respectively.

特別図柄の図柄確定中のコマンドとしては、変動時間短縮回数0(低確率時)、変動時間短縮回数A〜Z(低確率時)、変動時間短縮回数0(高確率時)、確率変動中(所定変動回数まで)のコマンドがある。これらは、その時の遊技状態に関するコマンドを送信するためのものであり、演出モード表示や時短回数表示などに使用される。   The commands for determining a special symbol include: 0 fluctuation time reduction (low probability), fluctuation time reduction times A to Z (low probability), 0 fluctuation time reduction (high probability), and probability fluctuation ( Command). These are for transmitting a command relating to the gaming state at that time, and are used for the production mode display, the short-time display, and the like.

大当り開始デモ時のコマンドとしては、図柄1大当り開始デモ、図柄2大当り開始デモ、発射位置指定のコマンドがある。図柄1大当り開始デモコマンド、及び、図柄2大当り開始デモコマンドは、第1特別図柄192や第2特別図柄193の大当り図柄に基づいた開始デモを表示させるためのものである。発射位置指定コマンドは、所謂左打ちや右打ちにより、遊技者に、第1大入賞口91及び第2大入賞口92の間で遊技球の打ち分けを行わせる場合に発射位置を報知するためのものである。   As the command for the big hit start demonstration, there are a symbol one big hit start demonstration, a symbol two big hit start demonstration, and a command for specifying a launch position. The symbol 1 jackpot start demo command and the symbol 2 jackpot start demo command are for displaying a start demo based on the jackpot symbol of the first special symbol 192 or the second special symbol 193. The launch position designation command is used to notify the launch position when the player places a game ball between the first grand prize winning port 91 and the second big prize winning port 92 by so-called left-handed or right-handed. belongs to.

発射位置指定コマンドは、大当り開始デモ時と同様に、所謂左打ちや右打ちにより、遊技者に、第1大入賞口91及び第2大入賞口92の間で遊技球の打ち分けを行わせる場合に発射位置を報知するためのものである。   The firing position designation command causes the player to place a game ball between the first big winning opening 91 and the second big winning opening 92 by so-called left hitting or right hitting as in the big hit start demonstration. In this case, the launch position is notified.

大当り中大入賞口開放時のコマンドとしては、図柄1大当り中デモ1〜16、図柄2大当り中デモ1〜16のコマンドがある。これらは、第1特別図柄192や第2特別図柄193の大当り図柄及びラウンド数に基づいた演出を表示させるためのものである。   The commands for opening the jackpot medium / large prize winning opening include the commands of symbol 1 big hit middle demo 1-16 and symbol 2 big hit middle demo 1-16. These are for displaying effects based on the jackpot symbol of the first special symbol 192 and the second special symbol 193 and the number of rounds.

大当り中大入賞口閉鎖時のコマンドとしては、大入賞口閉鎖演出コマンドがある。これは、大入賞口閉鎖演出を表示させるためのものである。   As a command at the time of closing the jackpot, the winning prize closing command is available. This is for displaying the special prize closing effect.

当り終了デモ時のコマンドとしては、図柄1当り終了デモ、図柄2当り終了デモのコマンドがある。これらは、第1特別図柄192や第2特別図柄193の当り図柄に基づいた当り終了デモ演出を表示させるためのものである。   As a command at the time of winning / ending demo, there are a command of ending demo per symbol 1 and a command of finishing demo per symbol 2. These are for displaying a winning end demonstration effect based on the winning symbols of the first special symbol 192 and the second special symbol 193.

大当り終了デモ終了時のコマンドとしては、発射位置指定コマンドがある。これは、第1始動入賞口62、第2始動入賞口63、第1大入賞口91、及び、第2大入賞口92の位置関係などの理由によって、発射位置の打ち分けが必要な場合に、発射位置を報知するためのものである。   As a command at the time of the big hit end demonstration, there is a launch position designation command. This is a case where it is necessary to distinguish the launch positions for reasons such as the positional relationship of the first start winning opening 62, the second starting winning opening 63, the first big winning opening 91, and the second big winning opening 92. In order to notify the launch position.

始動入賞時のコマンドとしては、当り予告(当り予告演出)、図柄予告(当り図柄予告演出)、変動予告(パターン予告演出)、図柄1記憶数、図柄2記憶数のコマンドがある。当り予告、図柄予告、変動予告の各コマンドは、事前情報通知手段157による前述の先読み演出に係るコマンド(先読みコマンド)である。そして、当り予告コマンドは、当否乱数の乱数値範囲を送信するためものであり、抽選確率に応じた当否の情報などを含んでいる。図柄予告コマンドは、図柄乱数の乱数値範囲を送信するためのものであり、当りの種類に係る情報などを含んでいる。さらに、変動予告コマンドは、変動パターンの乱数範囲を送信するためのものであり、変動パターンのグループの種別(リーチなし、ノーマルリーチ、又は、スーパーリーチなど)の指定に利用可能である。図柄1記憶数、図柄2記憶数のコマンドは、第1特別図柄192や第2特別図柄193の保留記憶数を伝えるためのものである。そして、本実施例では、当否抽選の結果、先読み演出の有無や期間などの情報は、当り予告、図柄予告、変動予告の各コマンドによって、サブメイン基板301に伝えられるようになっている。   As a command at the time of starting winning a prize, there are a command of winning notice (per notice notice effect), symbol notice (per symbol notice effect), change notice (pattern notice effect), symbol 1 memory number, symbol 2 memory number. Each command of the advance notice, the symbol notice, and the change notice is a command (prefetch command) related to the prefetch effect described above by the prior information notifying unit 157. The winning advance notice command is used to transmit a random number range of pass / fail random numbers, and includes information on pass / fail according to the lottery probability. The symbol advance command is for transmitting a random number range of symbol random numbers, and includes information related to the hit type. Furthermore, the change notice command is for transmitting a random number range of the change pattern, and can be used to specify the type of change pattern group (no reach, normal reach, super reach, etc.). The command of the number of stored symbols 1 and the number of stored symbols 2 is for transmitting the number of reserved memories of the first special symbol 192 and the second special symbol 193. In this embodiment, as a result of the lottery determination, information such as the presence / absence of a pre-reading effect and a period is transmitted to the sub-main board 301 by each command of hitting notice, symbol notice, and change notice.

電断復帰時のコマンドとしては、通信検査1、通信検査2、電断復帰用遊技状態A〜E、演出回数A〜Z、演出選択状態0〜2、図柄1キャラクタ演出、図柄2キャラクタ演出、電断復帰当り状態、電断復帰時特別図柄1状態、電断復帰時特別図柄2状態、発射位置指定、エラーa〜d、図柄1記憶数、図柄2記憶数のコマンドがある。   As the command at the time of power interruption return, communication inspection 1, communication inspection 2, game state A to E for power interruption recovery, production times A to Z, production selection states 0 to 2, design 1 character production, design 2 character production, There are commands for the power failure return state, special symbol 1 state upon power interruption return, special symbol 2 state upon power interruption return, launch position designation, errors a to d, symbol 1 memory count, symbol 2 memory count.

通信検査1、通信検査2のコマンドは、正常な通信がなされているか否かの確認のためのものである。電断復帰用遊技状態A〜Eのコマンドは、電断時の遊技状態に応じて異なるコマンドを送信するためのものである。演出回数A〜Zのコマンドは、前述の限定頻度テーブルにしたがった演出に係る回数を示すものであり、演出選択状態0〜2のコマンドは、限定頻度テーブルにしたがった演出の種類を示すものである。図柄1キャラクタ演出、図柄2キャラクタ演出コマンドは、第1特別図柄192や第2特別図柄193の図柄に対応したコマンドを送信するためのものである。   The commands of the communication inspection 1 and the communication inspection 2 are for confirming whether or not normal communication is being performed. The commands for the game states A to E for power interruption return are for transmitting different commands depending on the game state at the time of power interruption. The commands for the number of performances A to Z indicate the number of times related to the performance according to the above-described limited frequency table, and the commands for the effect selection states 0 to 2 indicate the types of effects according to the limited frequency table. is there. The symbol 1 character effect and the symbol 2 character effect command are for transmitting commands corresponding to the symbols of the first special symbol 192 and the second special symbol 193.

電断復帰当り状態コマンドは、当り中か否かに応じて異なるコマンドを送信するためのものである。電断復帰時特別図柄1状態、電断復帰時特別図柄2状態のコマンドは、第1特別図柄192や第2特別図柄193の、待機中・変動中・当たり中などの状態に応じたコマンドを送信するためのものである。発射位置指定コマンドは、前述のように、状況に応じた適切な発射位置を指定するためのものである。エラーa〜dは、エラーの有無及び種類を送信するためのものである。図柄1記憶数、図柄2記憶数のコマンドは、第1特別図柄192や第2特別図柄193の保留記憶数を伝えるためのものである。
<メイン基板の主要な制御処理>
The power interruption return state command is used to transmit a different command depending on whether or not a hit is being made. The special symbol 1 state at the time of power interruption return and the special symbol 2 state at the time of power interruption return are the commands according to the status of the first special symbol 192 and the second special symbol 193 such as waiting, changing and hitting. It is for sending. The launch position designation command is for designating an appropriate launch position according to the situation as described above. Errors a to d are for transmitting the presence and type of error. The command of the number of stored symbols 1 and the number of stored symbols 2 is for transmitting the number of reserved memories of the first special symbol 192 and the second special symbol 193.
<Main control processing of main board>

次に、上述の構成のぱちんこ遊技機10のメイン基板102における主要な制御処理について、図12〜図17に基づいて説明する。ここで説明するぱちんこ遊技機10の主要な制御処理は、ぱちんこ遊技機10の電源投入に伴いるメイン基板102に搭載されているCPU501(メインCPU)が実行する初期設定や、メイン基板102において実行される制御開始処理と電源断処理(図12及び図13参照)、遊技進行割込み処理(図14参照)、及び電源断確認情報設定の処理である。
<<システムリセットの動作>>
Next, main control processing in the main board 102 of the pachinko gaming machine 10 configured as described above will be described with reference to FIGS. The main control processing of the pachinko gaming machine 10 described here is executed by the CPU 501 (main CPU) mounted on the main board 102 when the pachinko gaming machine 10 is turned on, or executed by the main board 102. Control start processing and power-off processing (see FIGS. 12 and 13), game progress interruption processing (see FIG. 14), and power-off confirmation information setting processing.
<< System reset operation >>

先ず、本実施例のぱちんこ遊技機10においては、後述する割込み処理時間監視手段からのタイムアウト信号や、走行監視手段(走行監視回路)からの走行監視信号が発生したときにユーザリセットを発生させるか、システムリセットを発生させるかを予め設定しておくことが可能である。上述の走行監視回路は、遊技制御のためのユーザプログラムが指定エリア内で正しく実行されているか否かを監視する機能を有するものである。   First, in the pachinko gaming machine 10 according to the present embodiment, is a user reset generated when a time-out signal from an interrupt processing time monitoring unit, which will be described later, or a travel monitoring signal from a travel monitoring unit (running monitoring circuit) is generated? It is possible to set in advance whether to generate a system reset. The travel monitoring circuit described above has a function of monitoring whether or not a user program for game control is correctly executed in a designated area.

上述のシステムリセットを発生させることが設定されている場合には、ぱちんこ遊技機10に対して電源が投入され電力供給が開始されると、CPU501は、プログラム管理エリア(後述する)の設定内容に従って、内部リセット動作の設定や各種乱数回路の設定など、CPU501の各種設定を行う。具体的には、プログラム管理エリアのリセット設定の設定内容に従った内部リセットの動作の設定や、プログラム管理エリアの16ビット乱数初期設定1、16ビット乱数初期設定2、16ビット乱数初期設定3、8ビット乱数初期設定1、8ビット乱数初期設定2の設定内容に従った、16ビット乱数用及び8ビット乱数用の各種設定などを行う。   When the system reset is set to occur, when the pachinko gaming machine 10 is turned on and the power supply is started, the CPU 501 follows the setting contents of the program management area (described later). Various settings of the CPU 501 such as setting of an internal reset operation and setting of various random number circuits are performed. Specifically, an internal reset operation setting according to the setting contents of the reset setting in the program management area, a 16-bit random number initial setting 1, a 16-bit random number initial setting 2, a 16-bit random number initial setting 3, Various settings for 16-bit random numbers and 8-bit random numbers are performed in accordance with the settings of 8-bit random number initial setting 1 and 8-bit random number initial setting 2.

この後、CPU501は、セキュリティモード(後述する)に移行し、セキュリティチェックを実行する。そして、CPU501は、セキュリティチェックを終了すると、ユーザモードに移行し、後述するようにユーザプログラムの実行を開始する。   Thereafter, the CPU 501 shifts to a security mode (described later) and executes a security check. After completing the security check, the CPU 501 shifts to the user mode and starts executing the user program as will be described later.

次いで、ユーザプログラムが実行されているときに(具体的には、後述する制御開始処理内の循環処理や遊技進行割込み処理の実行中に)、後述する割込み処理時間監視手段からのタイムアウト信号や、走行監視手段からの走行監視信号が発生すると、ここでは内部リセット動作の設定としてシステムリセットが設定されていることから、タイムアウト信号や走行監視信号の発生に基づいてシステムリセットが発生する。そして、前述のように、CPU501は、CPUコアを含む全ての内部回路を初期化するとともに、プログラム管理エリアの設定内容に従って、各種設定を行う。そして、CPU501は、前述のセキュリティモードに移行し、セキュリティチェックを実行する。さらに、CPU501は、ユーザモードに移行し、前述のユーザプログラムの実行を開始する。   Next, when the user program is being executed (specifically, during the execution of a circulation process or a game progress interruption process in a control start process described later), a timeout signal from an interrupt processing time monitoring unit described later, When a travel monitoring signal is generated from the travel monitoring means, a system reset is generated based on the generation of a time-out signal or a travel monitoring signal because the system reset is set as the internal reset operation setting here. As described above, the CPU 501 initializes all internal circuits including the CPU core and performs various settings according to the setting contents of the program management area. Then, the CPU 501 shifts to the security mode described above and executes a security check. Further, the CPU 501 shifts to the user mode and starts executing the above-described user program.

一方、後述する割込み処理時間監視手段からのタイムアウト信号や、走行監視手段からの走行監視信号が発生したときにユーザリセットを発生させるように設定した場合には、ぱちんこ遊技機10に対して電源が投入され電力供給が開始されてからの処理は、上述のシステムリセットを発生させる場合と同様となっている。しかし、その後に、前述のユーザプログラムが実行されているときに、タイムアウト信号や走行監視信号が発生すると、内部リセット動作の設定としてユーザリセットが設定されていることから、タイムアウト信号や走行監視信号の発生にもとづいてユーザリセットが発生する。そして、ユーザリセットが発生した場合には、CPU501においては、CPU501の内部回路のうち、所定の回路の初期化が行われる。ここで、所定の回路としては、CPUコア、タイマ回路、フリーランカウンタ回路、演算回路、パラレル入力ポート、パラレル出力ポート、シリアル通信回路、及び、割り込みコントローラなどがある。そして、そのままユーザプログラムの先頭のアドレスに戻り、ユーザプログラムの実行が先頭のアドレスから再び開始される。具体的には、制御開始処理(後述する)を再び開始する。   On the other hand, when a time-out signal from the interrupt processing time monitoring means described later or a travel monitoring signal from the travel monitoring means is set to generate a user reset, the pachinko gaming machine 10 is powered on. The processing after the power is turned on and the power supply is started is the same as that in the case where the system reset is generated. However, if a time-out signal or a travel monitoring signal occurs after the above-described user program is being executed, the user reset is set as the internal reset operation setting. A user reset occurs based on the occurrence. When a user reset occurs, the CPU 501 initializes a predetermined circuit among the internal circuits of the CPU 501. Here, the predetermined circuit includes a CPU core, a timer circuit, a free-run counter circuit, an arithmetic circuit, a parallel input port, a parallel output port, a serial communication circuit, and an interrupt controller. Then, it returns to the top address of the user program as it is, and the execution of the user program is started again from the top address. Specifically, the control start process (described later) is started again.

続いて、システムリセットの具体的動作について説明する。本実施例においては、CPU501がシステムリセットを受け付けると、前述のようにCPUコアを含むすべての内部回路が初期化され、所定の端子に係る信号(ここではPRG端子に係る出力信号)がL(ロウ)レベルであれば、セキュリティモードに移行する。PRG端子がH(ハイ)レベルであれば、プログラムモード(PROMモード)に移行する。より具体的には、PRG端子からの出力信号がLレベルで固定された信号であればセキュリティモードに移行し、Hレベルで固定された信号であればプログラムモードに移行する。   Subsequently, a specific operation of the system reset will be described. In this embodiment, when the CPU 501 accepts a system reset, as described above, all internal circuits including the CPU core are initialized, and a signal related to a predetermined terminal (here, an output signal related to the PRG terminal) is L ( If the level is low), the security mode is entered. If the PRG terminal is at the H (high) level, the program mode (PROM mode) is entered. More specifically, if the output signal from the PRG terminal is a signal fixed at the L level, the mode is shifted to the security mode, and if the signal is fixed at the H level, the mode is shifted to the program mode.

本実施例のCPU501における基本回路の動作モードには、上述のセキュリティモード、ユーザモード、PROMモードの3種類がある。これらのうち、セキュリティモードは、書き換え不能なブートプログラムに従って、内蔵ROMのプログラムデータエリアに記憶されたユーザプログラムが所定の条件を満たすか否かを確認するセキュリティチェックを行った後に、内蔵ROMのプログラム管理エリアに記憶された各種設定を用いて、ユーザプログラムを実行するための環境設定を行うモードである。   There are three types of operation modes of the basic circuit in the CPU 501 of the present embodiment: the above-described security mode, user mode, and PROM mode. Among these, the security mode is a program in the built-in ROM after performing a security check to check whether the user program stored in the program data area of the built-in ROM satisfies a predetermined condition according to a non-rewritable boot program. This is a mode for performing environment setting for executing the user program using various settings stored in the management area.

上述のセキュリティチェックにおいてユーザプログラムが満たすべき所定の条件としては、例えば、ユーザプログラムを基に計算された認証コードが、記憶している認証コードと一致したか否か、といったものを例示できる。また、認証コードとしては、ユーザプログラムに基づいて決定され、ユーザプログラムと共に記憶されるようなものを例示できる。そして、このセキュリティチェックで異常が発見されなかった場合には、自動的にユーザモードに移行し、リセットアドレス(ここでは0000H)よりユーザプログラムの実行が開始される。一方、セキュリティチェックで異常が発見された場合には、基本回路の動作を停止する。   Examples of the predetermined condition that should be satisfied by the user program in the above-described security check include, for example, whether or not the authentication code calculated based on the user program matches the stored authentication code. Moreover, as an authentication code, what is determined based on a user program and memorize | stored with a user program can be illustrated. If no abnormality is found by this security check, the mode automatically shifts to the user mode, and the execution of the user program is started from the reset address (here, 0000H). On the other hand, when an abnormality is found in the security check, the operation of the basic circuit is stopped.

上述のユーザモードは、内蔵ROMのプログラムデータエリアにユーザが記憶したユーザプログラムを実行するモードである。また、前述のPROMモードは、CPU501の外部から内蔵ROMのプログラムデータエリアにユーザプログラムを書き込むためのモードである。
<<プログラム管理エリア>>
The above-described user mode is a mode for executing a user program stored in the program data area of the built-in ROM. The PROM mode described above is a mode for writing a user program from the outside of the CPU 501 to the program data area of the built-in ROM.
<< Program management area >>

また、図示は省略するが、CPU501の動作のために規定されているアドレスマップには、プログラムコード/データエリアとプログラム管理エリアとを含んでおり、これらのうちプログラムコード/データエリアは、ユーザプログラムやデータを格納するエリアである。また、プログラム管理エリアは、CPU501がシステムリセット時に内部リセット動作の設定など各種設定を行うために必要な情報を格納する記憶領域である。また、アドレスマップの所定エリアは、内蔵レジスタに割り当てられた内蔵レジスタエリアとなっており、この内蔵レジスタエリアには、エリアには、割込み処理時間監視手段である所定のタイマのためのスタートレジスタ、当該タイマのためのクリアレジスタ、内部情報レジスタや、乱数回路で用いる各種レジスタなどが含まれている。   Although not shown, the address map defined for the operation of the CPU 501 includes a program code / data area and a program management area. Of these, the program code / data area is a user program. And an area for storing data. The program management area is a storage area for storing information necessary for the CPU 501 to perform various settings such as the setting of an internal reset operation when the system is reset. The predetermined area of the address map is a built-in register area assigned to the built-in register. The built-in register area includes a start register for a predetermined timer which is an interrupt processing time monitoring unit, A clear register for the timer, an internal information register, various registers used in a random number circuit, and the like are included.

さらに、上述のプログラム管理エリアには、ヘッダ、プログラムコードエンドアドレス、プログラムコードスタートアドレス2、プログラムコードエンドアドレス2、リセット設定、16ビット乱数初期設定1、16ビット乱数初期設定2、16ビット乱数初期設定3、8ビット乱数初期設定1、8ビット乱数初期設定2、セキュリティ時間設定、乱数クロック監視設定などが含まれている。
<<セキュリティモードの延長機能>>
The program management area includes a header, a program code end address, a program code start address 2, a program code end address 2, a reset setting, a 16-bit random number initial setting 1, a 16-bit random number initial setting 2, and a 16-bit random number initial. Settings 3, 8-bit random number initial setting 1, 8-bit random number initial setting 2, security time setting, random number clock monitoring setting, and the like are included.
<< Extension function of security mode >>

本実施例におけるCPU501の特徴的な機能の一つとして、セキュリティモードの延長機能を挙げることができる。このセキュリティモードの延長機能は、前述のシステムリセット後に発生するセキュリティモードの時間を、「固定延長」及び「ランダム延長」の2つの方法により延長するものである。そして、セキュリティモードの延長機能においては、2つの方法で設定された時間の加算時間が、延長される時間となる。   One of the characteristic functions of the CPU 501 in the present embodiment is an extension function of the security mode. This security mode extension function extends the security mode time generated after the above-described system reset by two methods of “fixed extension” and “random extension”. In the extension function of the security mode, the addition time of the time set by the two methods becomes the extended time.

すなわち、このセキュリティモードにおいて、図18中の最上段に示すようにリセット入力があり、図中の最下段に示す動作モードとして、予め決まった規定のセキュリティモード時間が経過して(一定のクロック数(−276.5SCLK)がカウントされて)セキュリティチェックが終了した後には、一定の期間の経過を待つ固定延長時間が設けられている。そして、この固定延長時間が終了したしたときに、図中の中段に示すように、Hレベルのリセット出力を出力するが、このリセット出力後には、動作モードとして、ランダムな期間の経過を待つランダム延長時間が設けられている。なお、本実施例では、厳密には、このランダム延長時間が終了した後、更に予め決まった所定時間(ここでは276.5×CPU501の内部システムクロック(SCLK))が経過すると、セキュリティモードが終了し、前述のユーザモードに移行するようになっている。このようなセキュリティモード時間中に、前述のセキュリティチェックが行われるため、セキュリティチェックの時間を適正に確保できる。さらに、上述の固定延長時間、及び、ランダム延長時間は、前述のプログラム管理エリアにおいて設定されているものである。以下に、「固定延長」及び「ランダム延長」について、より具体的に説明する。
<<<セキュリティモードの固定延長>>>
That is, in this security mode, there is a reset input as shown in the uppermost part of FIG. 18, and a predetermined security mode time has passed (as a fixed number of clocks) as the operation mode shown in the lowermost part of the figure. After the security check is completed (when 277.5SCLK is counted), a fixed extension time is provided to wait for a certain period of time. When this fixed extension time is over, an H level reset output is output as shown in the middle part of the figure. After this reset output, a random waiting for the elapse of a random period is performed as the operation mode. Extended time is provided. In this embodiment, strictly speaking, after the random extension time is over, the security mode is finished when a predetermined time (here, 276.5 × the internal system clock (SCLK) of the CPU 501) further elapses. Then, it shifts to the above-mentioned user mode. Since the above-described security check is performed during such a security mode time, it is possible to appropriately secure the security check time. Furthermore, the above-described fixed extension time and random extension time are set in the above-described program management area. Hereinafter, “fixed extension” and “random extension” will be described in more detail.
<<< Fixed extension of security mode >>>

前述の固定延長においては、予め規定されているセキュリティモード時間を、設定した時間分延長することができる。延長する時間は、プログラム管理エリアのセキュリティ時間設定における下位6ビット(ビット番号0〜5)を用いて設定する。そして、下位5ビット(ビット番号0〜4)の値を「00001」、「01000」、「10000」、「11111」の4種類とし、最下位ビットを「0」又は「1」とすることで、システムクロック周波数(或いはシステムクロック周期)を変数とする8つの固定延長時間を表すことを例示できる。   In the above-described fixed extension, a predetermined security mode time can be extended by a set time. The extension time is set using the lower 6 bits (bit numbers 0 to 5) in the security time setting of the program management area. Then, the values of the lower 5 bits (bit numbers 0 to 4) are set to four types “00001”, “01000”, “10000”, and “11111”, and the least significant bit is set to “0” or “1”. It can be illustrated that eight fixed extension times with the system clock frequency (or system clock period) as variables are represented.

より具体的には、下位5ビット(ビット番号0〜4)の値を「00001」とした場合に、ビット番号5の値が「0」であれば、設定内容を2^22×内部システムクロック周期×1とし、ビット番号5の値が「1」であれば、設定内容を2^24×内部システムクロック周期×1とすることを例示できる。そして、ビット番号5の値が「0」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約0.42secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約0.26secとなる。また、ビット番号5の値が「1」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約1.68secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約1.05secとなる。   More specifically, if the value of the lower 5 bits (bit numbers 0 to 4) is “00001” and the value of bit number 5 is “0”, the setting content is 2 ^ 22 × internal system clock. If the cycle × 1 and the value of bit number 5 is “1”, the setting content can be exemplified as 2 ^ 24 × internal system clock cycle × 1. When the value of bit number 5 is “0”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is about 0.42 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 0.26 sec. When the value of bit number 5 is “1”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is about 1.68 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 1.05 sec.

さらに、下位5ビット(ビット番号0〜4)の値を「01000」とした場合に、ビット番号5の値が「0」であれば、設定内容を2^22×内部システムクロック周期×8とし、ビット番号5の値が「1」であれば、設定内容を2^24×内部システムクロック周期×8とすることを例示できる。そして、ビット番号5の値が「0」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約3.36secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約2.10secとなる。また、ビット番号5の値が「1」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約13.42secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約8.39secとなる。   Furthermore, if the value of the lower 5 bits (bit numbers 0 to 4) is “01000” and the value of bit number 5 is “0”, the setting content is 2 ^ 22 × internal system clock cycle × 8. If the value of bit number 5 is “1”, the setting content can be exemplified as 2 ^ 24 × internal system clock period × 8. When the value of bit number 5 is “0”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is about 3.36 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 2.10 sec. When the value of bit number 5 is “1”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is about 13.42 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 8.39 sec.

また、下位5ビット(ビット番号0〜4)の値を「10000」とした場合に、ビット番号5の値が「0」であれば、設定内容を2^22×内部システムクロック周期×16とし、ビット番号5の値が「1」であれば、設定内容を2^24×内部システムクロック周期×16とすることを例示できる。そして、ビット番号5の値が「0」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約6.71secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約4.19secとなる。また、ビット番号5の値が「1」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約26.84secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約16.78secとなる。   If the value of the lower 5 bits (bit numbers 0 to 4) is “10000” and the value of bit number 5 is “0”, the setting content is 2 ^ 22 × internal system clock cycle × 16. If the value of bit number 5 is “1”, the setting content can be exemplified as 2 ^ 24 × internal system clock period × 16. When the value of bit number 5 is “0”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is about 6.71 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 4.19 sec. When the value of bit number 5 is “1”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is about 26.84 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 16.78 sec.

さらに、下位5ビット(ビット番号0〜4)の値を「11111」とした場合に、ビット番号5の値が「0」であれば、設定内容を2^22×内部システムクロック周期×31とし、ビット番号5の値が「1」であれば、設定内容を2^24×内部システムクロック周期×31とすることを例示できる。そして、ビット番号5の値が「0」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約13.00secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約8.13secとなる。また、ビット番号5の値が「1」の場合、内部システムクロック周波数が10.0MHzであれば、固定延長時間は約52.01secとなり、内部システムクロック周波数が16.0MHzであれば、固定延長時間は約32.51secとなる。
<<<セキュリティモードのランダム延長>>>
Furthermore, if the value of the lower 5 bits (bit numbers 0 to 4) is “11111” and the value of bit number 5 is “0”, the setting content is 2 ^ 22 × internal system clock cycle × 31. If the value of bit number 5 is “1”, the setting content can be exemplified as 2 ^ 24 × internal system clock period × 31. When the value of bit number 5 is “0”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is about 13.00 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 8.13 sec. When the value of bit number 5 is “1”, if the internal system clock frequency is 10.0 MHz, the fixed extension time is approximately 52.01 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension is performed. The time is about 32.51 sec.
<<< Random extension of security mode >>>

前述のランダム延長においては、予め規定されているセキュリティモード時間を、ランダムな時間分延長することができる。延長する時間は、プログラム管理エリアのセキュリティ時間設定の7〜6ビットを用いて設定する。そして、7〜6ビットの値「00」には延長しないことの割り当てを行い、値「01」、「10」、「11」により、システムクロック周波数(或いはシステムクロック周期)を変数とする3種類の設定内容を表すことを例示できる。   In the above-described random extension, the predetermined security mode time can be extended by a random time. The extension time is set using 7 to 6 bits of the security time setting in the program management area. Then, the assignment of not extending to the 7 to 6-bit value “00” is performed, and three types using the system clock frequency (or system clock cycle) as a variable according to the values “01”, “10”, and “11”. It can be illustrated that the set content of is expressed.

より具体的には、7〜6ビットの値を「01」とした場合に、設定内容を0〜2^5×255とすることで、内部システムクロック周波数が10.0MHzであれば、ランダム延長時間は0〜0.816msとなり、内部システムクロック周波数が16.0MHzであれば、ランダム延長時間は0〜0.51msとなる。また、7〜6ビットの値を「10」とした場合に、設定内容を0〜2^10×255とすることで、内部システムクロック周波数が10.0MHzであれば、ランダム延長時間は0〜26.112msとなり、内部システムクロック周波数が16.0MHzであれば、ランダム延長時間は0〜16.32msとなる。さらに、7〜6ビットの値を「11」とした場合に、設定内容を0〜2^15×255とすることで、内部システムクロック周波数が10.0MHzであれば、ランダム延長時間は0〜835.584msとなり、内部システムクロック周波数が16.0MHzであれば、ランダム延長時間は0〜522.24msとなる。   More specifically, when the value of 7 to 6 bits is set to “01”, by setting the setting content to 0 to 2 ^ 5 × 255, if the internal system clock frequency is 10.0 MHz, random extension The time is 0 to 0.816 ms, and if the internal system clock frequency is 16.0 MHz, the random extension time is 0 to 0.51 ms. Further, when the value of 7 to 6 bits is “10”, the setting content is set to 0 to 2 ^ 10 × 255, so that if the internal system clock frequency is 10.0 MHz, the random extension time is 0 to 0. If the internal system clock frequency is 16.0 MHz, the random extension time is 0 to 16.32 ms. Further, when the value of 7 to 6 bits is “11”, the setting content is set to 0 to 2 ^ 15 × 255, and if the internal system clock frequency is 10.0 MHz, the random extension time is 0 to 0. If the internal system clock frequency is 16.0 MHz, the random extension time is 0 to 522.24 ms.

このように、ランダム延長時間の設定においては、7〜6ビットの値を「00」とする場合(延長しない場合)を除き、全ての設定(7〜6ビットの値を「00」、「10」、又は、「11」とする場合)で、「0ms」を含んだ範囲でのランダム延長を行うこととなる。そして、ランダム延長を行う設定においても、実質的に、ランダム延長を行わないのと同じ設定が可能であり、7〜6ビットの値を「00」、「10」、又は、「11」に保ちつつ、広範囲で自由度の高いランダム延長時間の設定が可能となっている。
<<メインCPUの初期設定>>
Thus, in the setting of the random extension time, all the settings (the values of 7 to 6 bits are set to “00” and “10” except when the value of 7 to 6 bits is set to “00” (when the value is not extended). ”Or“ 11 ”), random extension within a range including“ 0 ms ”is performed. And in the setting to perform random extension, the same setting as that in which random extension is not performed is possible, and the value of 7 to 6 bits is kept at “00”, “10”, or “11”. However, it is possible to set a random extension time with a wide range and a high degree of freedom.
<< Initial setting of main CPU >>

次に、CPU501の他の特徴的である、乱数設定機能について説明する。本実施例のCPU501における乱数設定機能には、16ビット乱数に係る3つの設定機能(16ビット乱数初期設定1、16ビット乱数初期設定2、16ビット乱数初期設定3)と、8ビット乱数に係る2つの乱数設定機能(8ビット乱数初期設定1、8ビット乱数初期設定2)がある。そして、これらの各種の乱数設定機能については、8ビットの設定データによって、具体的な内容の指定が行われる。
<<<16ビット乱数の初期設定>>>
Next, a random number setting function that is another characteristic of the CPU 501 will be described. The random number setting function in the CPU 501 of the present embodiment includes three setting functions related to 16-bit random numbers (16-bit random number initial setting 1, 16-bit random number initial setting 2, 16-bit random number initial setting 3), and 8-bit random numbers There are two random number setting functions (8-bit random number initial setting 1, 8-bit random number initial setting 2). For these various random number setting functions, specific contents are designated by 8-bit setting data.
<<< Initial setting of 16-bit random number >>>

これらのうち、上述の16ビット乱数初期設定1においては、上述の設定データにより、2つのチャネル(ch0、ch1)に係る起動方法、更新クロック、乱数列変更方法の設定が行われる。先ず、設定データのうちの最上位ビット(ビット番号7)により、16ビット乱数ch1の起動方法が設定される。このビット番号7の値が「0」の場合は、ソフトウエアにより定められた最大値での起動が設定され、「1」の場合は前述のユーザモードへの移行に伴って自動起動されることとなる。ここで、ユーザモードへの移行は、CPU501の起動直後に、後述するセキュリティチェックが行われ、その後に実行される。そして、ユーザモードへの移行により、前述の制御開始処理(図12参照)が実行される。また、ビット番号7に係る起動方法の選択や、ビット番号7が「0」の場合の最大値の設定については後述する。   Among these, in the 16-bit random number initial setting 1 described above, the start method, the update clock, and the random number sequence change method related to the two channels (ch0, ch1) are set by the above-described setting data. First, the starting method of the 16-bit random number ch1 is set by the most significant bit (bit number 7) in the setting data. When the value of bit number 7 is “0”, activation at the maximum value determined by the software is set, and when it is “1”, it is automatically activated along with the transition to the user mode described above. It becomes. Here, the transition to the user mode is performed immediately after the CPU 501 is activated, after which a security check described later is performed. And the above-mentioned control start process (refer FIG. 12) is performed by transfer to user mode. The selection of the activation method related to bit number 7 and the setting of the maximum value when bit number 7 is “0” will be described later.

さらに、ビット番号6により、更新クロックが設定される。このビット番号6の値が「0」の場合はCPU501の内部システムクロックが指定され、「1」の場合は内部乱数更新用の外部クロック(ここではCPU501の所定端子(RCK端子)に入力される信号)を分周(ここでは2分周)したもの(外部クロック2分周信号)が指定される。   Furthermore, an update clock is set by bit number 6. When the value of this bit number 6 is “0”, the internal system clock of the CPU 501 is designated, and when it is “1”, it is input to an external clock for updating internal random numbers (here, a predetermined terminal (RCK terminal) of the CPU 501). Signal) is divided (here, divided by 2) (external clock divided by 2 signal).

また、ビット番号5及びビット番号4により、乱数列変更方法が設定される。そして、ビット番号5及び4の値が「00」の場合は変更しないことが指定され、「01」の場合はソフトウエアで変更することが指定される。また、ビット番号5及び4の値が「10」の場合は2周目から自動で変更することが指定され、「11」の場合は1周目から自動で変更することが指定される。   A random number sequence changing method is set by bit number 5 and bit number 4. When the values of the bit numbers 5 and 4 are “00”, it is specified that the bit number is not changed. When the values of the bit numbers 5 and 4 are “10”, it is designated to automatically change from the second round, and when “11”, the automatic change from the first round is designated.

さらに、ビット番号3〜0の下位4ビットは、16ビット乱数ch0の設定に割り当てられている。そして、ビット番号3により起動方法が設定され、ビット番号2により更新クロックが設定され、ビット番号1及び0により乱数列変更方法が設定される。さらに、各ビットの値と設定内容との関係は、前述の16ビット乱数ch1と同じである。   Further, the lower 4 bits of bit numbers 3 to 0 are assigned to the setting of 16-bit random number ch0. Then, the activation method is set by bit number 3, the update clock is set by bit number 2, and the random number sequence change method is set by bit numbers 1 and 0. Furthermore, the relationship between the value of each bit and the setting content is the same as that of the 16-bit random number ch1 described above.

つまり、ビット番号3の値が「0」の場合は、ビット番号7が「0」の場合と同様に、ソフトウエアによる最大値設定での起動となり、「1」の場合は前述のユーザモードへの移行に伴って自動起動されることとなる。さらに、ビット番号2の値が「0」の場合は内部システムクロックが指定され、「1」の場合は前述の外部クロック2分周信号が指定される。また、ビット番号1及び0の値が順に「00」の場合は変更しないことが指定され、「01」の場合はソフトウエアで変更することが指定される。さらに、ビット番号1及び0の値が「10」の場合は2周目から自動で変更することが指定され、「11」の場合は1周目から自動で変更することが指定される。   That is, when the value of bit number 3 is “0”, the activation is performed by the maximum value setting by software, as in the case of bit number 7 being “0”. It will be automatically activated with the transition. Further, when the value of bit number 2 is “0”, the internal system clock is designated, and when the value is “1”, the above-described external clock divide-by-2 signal is designated. Further, when the values of bit numbers 1 and 0 are “00” in order, it is designated that the bit numbers are not changed, and when “01”, the software is designated to be changed. Further, when the values of the bit numbers 1 and 0 are “10”, it is designated to change automatically from the second round, and when “11”, the automatic change is designated from the first round.

次に、前述の16ビット乱数初期設定2においては、16ビット乱数初期設定1と同様に、設定データにより、2つのチャネル(ch3、ch2)に係る起動方法、更新クロック、乱数列変更方法の設定が行われる。さらに、16ビット乱数初期設定2に係る設定データと、設定内容との関係も、16ビット乱数初期設定1と同様である。   Next, in the 16-bit random number initial setting 2 described above, similarly to the 16-bit random number initial setting 1, setting of the start method, update clock, and random number sequence change method for two channels (ch3 and ch2) is performed according to the setting data. Is done. Further, the relationship between the setting data related to the 16-bit random number initial setting 2 and the setting contents is the same as that of the 16-bit random number initial setting 1.

そして、ビット番号7の値やビット番号3の値が「0」の場合はソフトウエアによる最大値設定での起動となり、「1」の場合は前述のユーザモードへの移行に伴って自動起動されることとなる。さらに、ビット番号6の値やビット番号2の値が「0」の場合は内部システムクロックが指定され、「1」の場合は前述の外部クロック2分周信号が指定される。また、ビット番号5及び4の値や、ビット番号1及び0の値が「00」の場合は変更しないことが指定され、「01」の場合はソフトウエアで変更することが指定される。さらに、ビット番号5及び4の値や、ビット番号1及び0の値が「10」の場合は2周目から自動で変更することが指定され、「11」の場合は1周目から自動で変更することが指定される。   When the value of bit number 7 or bit number 3 is “0”, the activation is performed with the maximum value setting by software, and when it is “1”, it is automatically activated along with the transition to the user mode described above. The Rukoto. Further, when the value of bit number 6 or the value of bit number 2 is “0”, the internal system clock is designated, and when the value is “1”, the aforementioned external clock divide-by-2 signal is designated. In addition, when the values of bit numbers 5 and 4 and the values of bit numbers 1 and 0 are “00”, it is specified that they are not changed, and when they are “01”, they are specified to be changed by software. Furthermore, when the values of bit numbers 5 and 4 and the values of bit numbers 1 and 0 are “10”, it is specified to automatically change from the second lap, and when “11”, automatically from the first lap. It is specified to be changed.

次に、前述の16ビット乱数初期設定3においては、8ビットの設定データにより、16ビット乱数のスタート値(初期値)が設定される。すなわち、設定データのうちの最上位ビット(ビット番号7)により、16ビット乱数ch3のスタート値が設定される。このビット番号7の値が「0」の場合は、スタート値が固定値(ここでは0001H)に設定され、「1」の場合は、スタート値がIDナンバー(後述する)を基にした値に設定される。また、設定データのうちのビット番号6により、16ビット乱数ch3のスタート値を、システムリセット毎に変更するか否かが設定される。そして、このビット番号6の値が「0」の場合は変更しないことが指定され、「1」の場合は変更することが指定される。   Next, in the 16-bit random number initial setting 3 described above, a start value (initial value) of a 16-bit random number is set by 8-bit setting data. That is, the start value of the 16-bit random number ch3 is set by the most significant bit (bit number 7) in the setting data. When the value of bit number 7 is “0”, the start value is set to a fixed value (here, 0001H), and when it is “1”, the start value is set to a value based on an ID number (described later). Is set. Whether or not to change the start value of the 16-bit random number ch3 at every system reset is set by bit number 6 in the setting data. When the value of the bit number 6 is “0”, it is designated not to be changed, and when it is “1”, it is designated to be changed.

ここで、上述のIDナンバーは、CPU501に設定された固有情報の1つである。例えば、CPU501には、固有情報として、ROMコード、チップ個別ナンバー、IDナンバーといった3種類の固有情報を記憶することが可能である。これらの固有情報の記憶は、固有情報記憶回路を備えることにより可能である。これらの固有情報のうち、ROMコードは、例えば、ROM502(図4参照)における所定領域の記憶データから生成される4バイトの数値であり、生成方法の異なる4つの数値により構成することが可能である。チップ個別ナンバーは、例えば、CPU501の製造時に付与される4バイトの番号であり、CPU501内のマイクロコンピュータを構成するチップ毎に異なる数値を示すものとすることが可能である。IDナンバーは、例えば、CPU501の製造時に付与される8バイトの番号であり、マイクロコンピュータを構成するチップ毎に異なる数値を示すものとすることが可能である。   Here, the above-described ID number is one of unique information set in the CPU 501. For example, the CPU 501 can store three types of unique information such as a ROM code, a chip individual number, and an ID number as unique information. Such unique information can be stored by providing a unique information storage circuit. Among these pieces of unique information, the ROM code is a 4-byte numerical value generated from, for example, stored data in a predetermined area in the ROM 502 (see FIG. 4), and can be composed of four numerical values with different generation methods. is there. The chip individual number is, for example, a 4-byte number assigned when the CPU 501 is manufactured, and can indicate a different numerical value for each chip constituting the microcomputer in the CPU 501. The ID number is, for example, an 8-byte number assigned when the CPU 501 is manufactured, and can indicate a different numerical value for each chip constituting the microcomputer.

また、チップ個別ナンバーはユーザプログラムから読み取ることができる一方、IDナンバーはユーザプログラムから読み取ることができないように設定することが可能である。なお、固有情報記憶回路は、例えばROM502の所定領域を用いることなどにより、ROM54に含まれるようにしてもよい。あるいは、固有情報記憶回路は、例えばCPU501の内蔵レジスタを用いることなどにより、CPU501に含まれるようにしてもよい。   The chip individual number can be read from the user program, while the ID number can be set so as not to be read from the user program. The unique information storage circuit may be included in the ROM 54 by using a predetermined area of the ROM 502, for example. Alternatively, the unique information storage circuit may be included in the CPU 501 by using, for example, a built-in register of the CPU 501.

さらに、前述の設定データのうちのビット番号5及び4は、16ビット乱数ch2のスタート値に係る設定に用いられ、ビット番号3及び2は、16ビット乱数ch1のスタート値に係る設定に用いられ、ビット番号1及び0は、16ビット乱数ch0のスタート値に係る設定に用いられる。さらに、ビット番号5、ビット番号3、ビット番号1は、ch2、ch1、ch0のそれぞれにおけるスタート値の設定に用いられる。そして、各々のビット番号の値が「0」の場合は、前述のビット番号7の場合と同様に、スタート値が固定値(ここでは0001H)に設定され、「1」の場合は、スタート値が前述のIDナンバーを基にした値に設定される。   Further, bit numbers 5 and 4 of the setting data described above are used for setting related to the start value of the 16-bit random number ch2, and bit numbers 3 and 2 are used for setting related to the start value of the 16-bit random number ch1. Bit numbers 1 and 0 are used for setting related to the start value of the 16-bit random number ch0. Further, bit number 5, bit number 3, and bit number 1 are used for setting start values in ch2, ch1, and ch0, respectively. When the value of each bit number is “0”, the start value is set to a fixed value (here, 0001H) as in the case of bit number 7 described above, and when the value is “1”, the start value Is set to a value based on the aforementioned ID number.

続いて、ビット番号4、ビット番号2、ビット番号0は、ch2、ch1、ch0のそれぞれにおいて、スタート値を、システムリセット毎に変更するか否かの設定に用いられる。そして、各々のビット番号の値が「0」の場合は、前述のビット番号7の場合と同様に、変更しないことが指定され、「1」の場合は変更することが指定される。ここで、偶数である前述のビット番号6、ビット番号4、ビット番号2、ビット番号0に関して、システムリセット毎にスタート値を変更する「1」を選択した場合、スタート値は、「0」を指定した場合のような固定値とはならない。このことにより、システムリセット毎にスタート値を変更する場合は、予期せず初期値が何らかの固定値となってしまう、といったことが防止される。
<<<8ビット乱数の初期設定>>>
Subsequently, bit number 4, bit number 2, and bit number 0 are used for setting whether or not to change the start value for each system reset in ch2, ch1, and ch0. When the value of each bit number is “0”, it is designated not to change, as in the case of bit number 7 described above, and when it is “1”, it is designated to change. Here, regarding the above-described bit number 6, bit number 4, bit number 2, and bit number 0 that are even numbers, when “1” that changes the start value at each system reset is selected, the start value is “0”. It will not be a fixed value as specified. As a result, when the start value is changed at each system reset, it is possible to prevent the initial value from becoming a fixed value unexpectedly.
<<< Initial setting of 8-bit random number >>>

次に、8ビット乱数の初期設定について説明する。先ず、8ビット乱数初期設定1においては、前述の16ビット乱数初期設定1と同様に、設定データにより、2つのチャネル(ch0、ch1)に係る起動方法、更新クロック、乱数列変更方法の設定が行われる。先ず、設定データのうちの最上位ビット(ビット番号7)により、8ビット乱数ch1の起動方法が設定される。このビット番号7の値が「0」の場合は、ソフトウエアにより定められた最大値での起動が設定され、「1」の場合は前述のユーザモードへの移行に伴って自動起動されることとなる。ここで、ユーザモードへの移行は、CPU501の起動直後に、後述するセキュリティチェックが行われ、その後に実行される。そして、ユーザモードへの移行により、前述の制御開始処理(図12参照)が実行される。   Next, initial setting of an 8-bit random number will be described. First, in the 8-bit random number initial setting 1, similarly to the 16-bit random number initial setting 1 described above, the setting of the starting method, the update clock, and the random number sequence changing method for the two channels (ch0, ch1) is set by the setting data. Done. First, the activation method of the 8-bit random number ch1 is set by the most significant bit (bit number 7) in the setting data. When the value of bit number 7 is “0”, activation at the maximum value determined by the software is set, and when it is “1”, it is automatically activated along with the transition to the user mode described above. It becomes. Here, the transition to the user mode is performed immediately after the CPU 501 is activated, after which a security check described later is performed. And the above-mentioned control start process (refer FIG. 12) is performed by transfer to user mode.

さらに、ビット番号6により、更新クロックが設定される。このビット番号6の値が「0」の場合は内部システムクロックが指定され、「1」の場合は前述の外部クロック2分周信号が指定される。   Furthermore, an update clock is set by bit number 6. When the value of bit number 6 is “0”, the internal system clock is designated, and when it is “1”, the above-mentioned external clock divide-by-2 signal is designated.

また、ビット番号5及びビット番号4により、乱数列変更方法が設定される。そして、ビット番号5及び4の値が「00」の場合は変更しないことが指定され、「01」の場合はソフトウエアで変更することが指定される。また、ビット番号5及び4の値が「10」の場合は2周目から自動で変更することが指定され、「11」の場合は1周目から自動で変更することが指定される。   A random number sequence changing method is set by bit number 5 and bit number 4. When the values of the bit numbers 5 and 4 are “00”, it is specified that the bit number is not changed. When the values of the bit numbers 5 and 4 are “10”, it is designated to automatically change from the second round, and when “11”, the automatic change from the first round is designated.

さらに、ビット番号3〜0の下位4ビットは、8ビット乱数ch0の設定に割り当てられている。そして、ビット番号3により起動方法が設定され、ビット番号2により更新クロックが設定され、ビット番号1及び0により乱数列変更方法が設定される。さらに、各ビットの値と設定内容との関係は、前述の8ビット乱数ch1と同じである。   Further, the lower 4 bits of bit numbers 3 to 0 are assigned to the setting of the 8-bit random number ch0. Then, the activation method is set by bit number 3, the update clock is set by bit number 2, and the random number sequence change method is set by bit numbers 1 and 0. Furthermore, the relationship between the value of each bit and the setting content is the same as that of the above-described 8-bit random number ch1.

つまり、ビット番号3の値が「0」の場合は、ビット番号7が「0」の場合と同様に、ソフトウエアによる最大値設定での起動となり、「1」の場合は前述のユーザモードへの移行に伴って自動起動されることとなる。さらに、ビット番号2の値が「0」の場合は内部システムクロックが指定され、「1」の場合は前述の外部クロック2分周信号が指定される。また、ビット番号1及び0の値が順に「00」の場合は変更しないことが指定され、「01」の場合はソフトウエアで変更することが指定される。さらに、ビット番号1及0の値が「10」の場合は2周目から自動で変更することが指定され、「11」の場合は1周目から自動で変更することが指定される。   That is, when the value of bit number 3 is “0”, the activation is performed by the maximum value setting by software, as in the case of bit number 7 being “0”. It will be automatically activated with the transition. Further, when the value of bit number 2 is “0”, the internal system clock is designated, and when the value is “1”, the above-described external clock divide-by-2 signal is designated. Further, when the values of bit numbers 1 and 0 are “00” in order, it is designated that the bit numbers are not changed, and when “01”, the software is designated to be changed. Further, when the values of the bit numbers 1 and 0 are “10”, it is designated to automatically change from the second round, and when “11”, the automatic change from the first round is designated.

次に、前述の8ビット乱数初期設定2においては、8ビット乱数初期設定1と同様に、設定データにより、2つのチャネル(ch3、ch2)に係る起動方法、更新クロック、乱数列変更方法の設定が行われる。さらに、8ビット乱数初期設定2に係る設定データと、設定内容との関係も、8ビット乱数初期設定1と同様である。   Next, in the above-described 8-bit random number initial setting 2, similarly to the 8-bit random number initial setting 1, the setting of the activation method, the update clock, and the random number sequence changing method for the two channels (ch 3 and ch 2) are set by the setting data. Is done. Further, the relationship between the setting data related to the 8-bit random number initial setting 2 and the setting contents is the same as that of the 8-bit random number initial setting 1.

そして、ビット番号7の値やビット番号3の値が「0」の場合は、ソフトウエアによる最大値設定での起動となり、「1」の場合は前述のユーザモードへの移行に伴って自動起動されることとなる。さらに、ビット番号6の値やビット番号2の値が「0」の場合は内部システムクロックが指定され、「1」の場合は前述の外部クロック2分周信号が指定される。また、ビット番号5及び4の値や、ビット番号1及び0の値が「00」の場合は変更しないことが指定され、「01」の場合はソフトウエアで変更することが指定される。さらに、ビット番号5及び4の値や、ビット番号1及び0の値が「10」の場合は2周目から自動で変更することが指定され、「11」の場合は1周目から自動で変更することが指定される。
<<<16ビット乱数の概要>>>
If the value of bit number 7 or bit number 3 is “0”, the activation is performed with the maximum value setting by software. If it is “1”, the activation is automatically performed in accordance with the shift to the user mode described above. Will be. Further, when the value of bit number 6 or the value of bit number 2 is “0”, the internal system clock is designated, and when the value is “1”, the aforementioned external clock divide-by-2 signal is designated. In addition, when the values of bit numbers 5 and 4 and the values of bit numbers 1 and 0 are “00”, it is specified that they are not changed, and when they are “01”, they are specified to be changed by software. Furthermore, when the values of bit numbers 5 and 4 and the values of bit numbers 1 and 0 are “10”, it is specified to automatically change from the second lap, and when “11”, automatically from the first lap. It is specified to be changed.
<<< Overview of 16-bit random numbers >>>

16ビット乱数としては、4チャネル(RL0〜RL3)の16ビット擬似乱数があり、それぞれ独立して動作させることが可能である。そして、この16ビット乱数は、0から65535までの乱数値を発生させる。以下に、本実施おける16ビット乱数の概要を説明する。   The 16-bit random numbers include 4-channel (RL0 to RL3) 16-bit pseudo-random numbers that can be operated independently. The 16-bit random number generates a random value from 0 to 65535. The outline of the 16-bit random number in this embodiment will be described below.

先ず、16ビット乱数に係る更新クロックの選択について説明する。本実施例における16ビット乱数では、前述の乱数回路の各チャネルを更新するためのクロック(カウントクロック)の選択が可能である。このカウントクロックとしては、内部システムクロック、及び、外部クロック(RCK端子への入力クロック)の2分周がある。何れのカウントクロックについても、個別に所定の設定を行うことが可能であり、各々の設定は、前述の16ビット乱数初期設定1、又は、16ビット乱数初期設定2における設定データの所定ビット(ここではビット番号2)により行うことができる。   First, selection of an update clock related to a 16-bit random number will be described. With the 16-bit random number in this embodiment, it is possible to select a clock (count clock) for updating each channel of the random number circuit described above. As the count clock, there are two frequency divisions of an internal system clock and an external clock (input clock to the RCK terminal). Each count clock can be individually set with a predetermined setting, and each setting is a predetermined bit of setting data (here, 16-bit random number initial setting 1 or 16-bit random number initial setting 2) Then, it can be performed by bit number 2).

上述の内部システムクロック、及び、外部クロックの2分周のうち、内部システムクロックは、自動的に更新が行われるものである。一方、外部クロックの2分周については、内部乱数更新用にRCK端子から入力された外部クロック信号を2分周して得られた信号により更新が行われる。   Of the above-mentioned internal system clock and external clock divided by 2, the internal system clock is automatically updated. On the other hand, the external clock divided by two is updated by a signal obtained by dividing the external clock signal input from the RCK terminal by two for internal random number update.

RCK端子に入力可能な信号の周波数は、CPU501を動作させるためにEX端子に入力された外部クロック信号の周波数以下に制限されている。つまり、RCK端子に入力可能な信号の周波数は、EX端子に入力されたクロック信号の周波数以下としなければならない。また、CPU501には、クロック監視機能が備えられており、入力されたクロックの監視を行うことが可能となっている。この入力クロックの監視を行う場合は、プログラム管理エリアの前述の乱数クロック監視設定を利用することとなる。   The frequency of the signal that can be input to the RCK terminal is limited to be equal to or lower than the frequency of the external clock signal input to the EX terminal in order to operate the CPU 501. That is, the frequency of the signal that can be input to the RCK terminal must be equal to or lower than the frequency of the clock signal input to the EX terminal. Further, the CPU 501 is provided with a clock monitoring function, and can monitor the input clock. When monitoring this input clock, the above-described random number clock monitoring setting in the program management area is used.

入力クロックの監視において、異常を検知した場合は、内部情報レジスタのRCERビットがセットされて「1」の値となる。このRCERビットは、内部情報レジスタをリード後にクリアされて「0」となるが、引き続き異常状態が継続される場合は、再度RCERビットが「1」にセットされる。   When monitoring the input clock, if an abnormality is detected, the RCER bit of the internal information register is set to a value of “1”. The RCER bit is cleared to “0” after reading the internal information register. If the abnormal state continues, the RCER bit is set to “1” again.

続いて、16ビット乱数の起動方法について説明する。前述した各チャネルの16ビット乱数を起動する方法は、以降で説明するように、最大値設定で起動する方法と、ユーザモード移行で自動起動する方法の2つから選択できる。そして、何れの起動方法も、前述したプログラム管理エリアの16ビット乱数初期設定1、16ビット乱数初期設定2の各々において、選択が可能となっている。さらに、これら起動方法は、前述の各チャネルについて、個別に設定が可能である。   Next, a method for starting a 16-bit random number will be described. As described below, the method for starting the 16-bit random number of each channel can be selected from the method of starting with the maximum value setting and the method of starting automatically with user mode transition. Any of the activation methods can be selected in each of the 16-bit random number initial setting 1 and the 16-bit random number initial setting 2 in the program management area described above. Further, these activation methods can be individually set for each of the aforementioned channels.

上述の最大値設定で起動する方法においては、各チャネルに対応した最大値設定レジスタに、最大値を設定すると、16ビット乱数が起動される。より具体的には、いずれのチャネルについても、最大値設定レジスタの上位バイト設定後に、16ビット乱数が起動される。したがって、最大値設定レジスタの下位バイトを設定しただけでは、16ビット乱数は起動されない。   In the method of starting with the maximum value setting described above, a 16-bit random number is started when the maximum value is set in the maximum value setting register corresponding to each channel. More specifically, for any channel, a 16-bit random number is activated after setting the upper byte of the maximum value setting register. Therefore, the 16-bit random number is not activated only by setting the lower byte of the maximum value setting register.

上述のユーザモード移行で自動起動する方法においては、ユーザモード移行で、最大値をFFFFHとして、16ビット乱数が自動的に起動される。そして、この起動方法を選択した場合は、最大値の設定をすることはできない。   In the above-described method of automatic activation by the user mode transition, a 16-bit random number is automatically activated by the user mode transition with the maximum value set to FFFFH. When this activation method is selected, the maximum value cannot be set.

続いて、上述の最大値の設定について説明する。本実施例においては、各チャネルの16ビット乱数が発生する乱数の最大値を、256から65535までの範囲で、任意の値で設定することができる。ここで、設定可能な最大値256から65535のうちの最小の値である256は、1バイトで表すことが可能な数値(0から255)の最大の値である255よりも更に大きい値となっている。最大値を設定する場合は、プログラム管理エリアの16ビット乱数初期設定1、16ビット乱数初期設定2での起動を、「最大値設定で起動」を選択して行い、使用するチャネルの16ビット乱数最大値設定レジスタに最大値を設定する。そして、この16ビット乱数における最大値設定レジスタに設定された乱数の範囲で、前述の乱数回路が乱数値を発生させる。最大値設定レジスタはリード/ライトが可能であるが、ライトはシステムリセット後、1回のみ可能となっている。そして、最大値設定レジスタにおける上位バイトと下位バイトのうち、上位バイトに設定を行うと乱数が起動されるようになっている。そして、最大値設定レジスタの下位バイトを設定しただけでは、16ビット乱数は起動されないようになっている。   Subsequently, the setting of the above maximum value will be described. In this embodiment, the maximum value of the random number generated by the 16-bit random number of each channel can be set to an arbitrary value within the range of 256 to 65535. Here, the minimum value 256 among the maximum values 256 to 65535 that can be set is a value that is larger than the maximum value 255 of the numerical value (0 to 255) that can be expressed by 1 byte. ing. When setting the maximum value, start with 16-bit random number initial setting 1 and 16-bit random number initial setting 2 in the program management area by selecting “Start with maximum value setting”, and use the 16-bit random number of the channel to be used Set the maximum value in the maximum value setting register. Then, the random number circuit described above generates a random number value within the range of the random number set in the maximum value setting register in the 16-bit random number. The maximum value setting register can be read / written, but writing can be performed only once after the system reset. A random number is activated by setting the upper byte among the upper byte and lower byte in the maximum value setting register. A 16-bit random number is not activated only by setting the lower byte of the maximum value setting register.

この設定された最大値を上限として、すべて(0から設定した最大値まで)の値を得ることができる。例えば最大値を300とした場合に、乱数値は、0から300までの301個の値のうち、一致しない(重複しない)何れかの値となるように順次更新され、最後の値(301個目の値であり、言い換えれば300回目の更新値である。)の次は、更に、0から300までの301個の値のうち、一致しない(重複しない)何れかの値となる。そして、この最大値の設定は、各チャネルについて個別に設定が可能である。なお、最大値の設定前に、乱数値の取り込みが行われた場合は、取り込まれた乱数値のリードを行うようにすることが必要である。つまり、最大値の設定前は、乱数が起動されていない状況にあり、最大値設定前に取得した乱数値については、有効性が担保できないため、リードすることによりレジスタから削除し、抽選には使用されないようにしている。言い換えれば、本実施例においては、最大値の設定前でも乱数の取得がされる場合があるが、設定前のタイミングで取得された場合には、リードすることで、取得した乱数値をレジスタから削除している。このことにより、レジスタに残った乱数値を使用してしまうことを防止できる。そして、最大値の設定前の取込値に対する管理を徹底でき、不測の事態の発生を防止できる。   With this set maximum value as the upper limit, all values (from 0 to the set maximum value) can be obtained. For example, when the maximum value is 300, the random number value is sequentially updated so as to be any value that does not match (does not overlap) among 301 values from 0 to 300, and the last value (301 items). Next to the value of the eye, in other words, the update value for the 300th time), any of the 301 values from 0 to 300 does not match (does not overlap). This maximum value can be set individually for each channel. If a random value is taken in before setting the maximum value, it is necessary to read the taken random value. In other words, the random number is not activated before the maximum value is set, and the validity of the random number value acquired before the maximum value setting cannot be guaranteed. It is not used. In other words, in this embodiment, random numbers may be acquired even before the maximum value is set, but when acquired at the timing before setting, the acquired random value is read from the register by reading. It has been deleted. This can prevent the random number remaining in the register from being used. And it is possible to thoroughly manage the acquired value before setting the maximum value, and to prevent the occurrence of unexpected situations.

続いて、上述のように設定された乱数列が一巡する周期について説明する。上述の16ビット乱数が一巡する周期は、設定した最大値により、算出式が異なる。つまり、最大値が2^m−1(m=9〜16)の場合、16ビット乱数が一巡する周期=(1/カウントクロックの周波数)×(最大値+1)の算出式により、乱数列の一巡周期が算出される。例えば、最大値設定が65535(=2^16−1)の場合、更新周波数(カウントクロックの周波数)が10.0MHzであれば、乱数列の一巡周期は6.5536msとなり、更新周波数が16.0MHzであれば、4.096msとなる。   Next, a cycle in which the random number sequence set as described above makes a round will be described. The calculation cycle of the cycle in which the 16-bit random number makes a round differs depending on the set maximum value. That is, when the maximum value is 2 ^ m−1 (m = 9 to 16), the cycle of the 16-bit random number makes a cycle = (1 / frequency of the count clock) × (maximum value + 1). A round cycle is calculated. For example, when the maximum value setting is 65535 (= 2 ^ 16-1), if the update frequency (count clock frequency) is 10.0 MHz, the round cycle of the random number sequence is 6.5536 ms, and the update frequency is 16. If it is 0 MHz, it becomes 4.096 ms.

同様に、最大値が16383(=2^14−1)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は1.6384msとなり、更新周波数が16.0MHzであれば、1.024msとなる。また、最大値が4095(=2^12−1)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.4096msとなり、更新周波数が16.0MHzであれば、0.256msとなる。さらに、最大値が1023(=2^10−1)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.1024msとなり、更新周波数が16.0MHzであれば、0.064msとなる。また、最大値が511(=2^9−1)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.0512msとなり、更新周波数が16.0MHzであれば、0.032msとなる。   Similarly, when the maximum value is 16383 (= 2 ^ 14-1), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 1.6384 ms, and if the update frequency is 16.0 MHz, 1 .024 ms. When the maximum value is 4095 (= 2 ^ 12-1), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.4096 ms, and if the update frequency is 16.0 MHz, the cycle is 0.00. 256 ms. Further, in the case where the maximum value is 1023 (= 2 ^ 10-1), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.1024 ms, and if the update frequency is 16.0 MHz, 0. 064 ms. When the maximum value is 511 (= 2 ^ 9-1), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.0512 ms, and if the update frequency is 16.0 MHz, the cycle is 0.00. 032 ms.

一方、最大値が2^m−1(m=9〜16)以外の場合、16ビット乱数が一巡する周期=(32/カウントクロックの周波数)×(最大値+1)の算出式により、乱数列の一巡周期が算出される。例えば、最大値が65534(=2^16−2)の場合、更新周波数(カウントクロックの周波数)が10.0MHzであれば、乱数列の一巡周期は209.7120msとなり、更新周波数が16.0MHzであれば、131.070msとなる。   On the other hand, when the maximum value is other than 2 ^ m−1 (m = 9 to 16), a random number sequence is calculated according to a calculation formula of a cycle of a 16-bit random number = (32 / count clock frequency) × (maximum value + 1). Is calculated. For example, when the maximum value is 65534 (= 2 ^ 16-2), if the update frequency (count clock frequency) is 10.0 MHz, the round cycle of the random number sequence is 209.7120 ms, and the update frequency is 16.0 MHz. Then, it becomes 131.070 ms.

同様に、最大値が16382(=2^14−2)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は52.4256msとなり、更新周波数が16.0MHzであれば、32.766msとなる。また、最大値が4094(=2^12−2)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は13.1040msとなり、更新周波数が16.0MHzであれば、8.190msとなる。さらに、最大値が1022(=2^10−2)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は3.2736msとなり、更新周波数が16.0MHzであれば、2.046msとなる。また、最大値が510(=2^9−2)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は1.6352msとなり、更新周波数が16.0MHzであれば、1.022msとなる。さらに、最大値が256(=2^8)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.8224msとなり、更新周波数が16.0MHzであれば、0.514msとなる。   Similarly, when the maximum value is 16382 (= 2 ^ 14-2), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 52.4256 ms, and if the update frequency is 16.0 MHz, 32 766 ms. When the maximum value is 4094 (= 2 ^ 12-2), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 13.1040 ms, and if the update frequency is 16.0 MHz, then 8. 190 ms. Furthermore, when the maximum value is 1022 (= 2 ^ 10-2), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 3.2736 ms, and if the update frequency is 16.0 MHz, 046 ms. When the maximum value is 510 (= 2 ^ 9-2), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 1.6352 ms, and if the update frequency is 16.0 MHz, then 1. 022 ms. Further, when the maximum value is 256 (= 2 ^ 8), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.8224 ms, and if the update frequency is 16.0 MHz, it is 0.514 ms. Become.

続いて、上述の乱数列におけるスタート値の選択について説明する。本実施例においては、上述の16ビット乱数の、1周目からのスタート値を、「0001H」、IDナンバーを基にした値、又は、システムリセット毎に変動する値のうちから、個別に設定することが可能である。そして、スタート値の設定は、プログラム管理エリアの16ビット乱数初期設定3により、各チャネル毎に、個別に行うことが可能である。   Subsequently, selection of a start value in the above random number sequence will be described. In the present embodiment, the start value from the first round of the above 16-bit random number is set individually from “0001H”, a value based on the ID number, or a value that changes at each system reset. Is possible. The start value can be set individually for each channel by the 16-bit random number initial setting 3 in the program management area.

上述の「0001H」をスタート値とする場合は、前述の乱数回路を更新する際のスタート値を、「0001H」とする。また、上述のIDナンバーを基にした値をスタート値とする場合は、乱数回路を更新する際のスタート値を、IDナンバーを基にした値とする。この時のスタート値は、CPU501に内蔵されたマイクロコンピュータのチップ毎に異なる値となる。さらに、上述のシステムリセット毎に変動する値をスタート値とする場合は、乱数回路を更新する際のスタート値を、システムリセット毎に変動する値とする。このときは、CPU501に内蔵された個別のチップについても、システムリセットが入力される度に、スタート値が異なる値となる。   When the above-described “0001H” is set as the start value, the start value when the random number circuit is updated is set to “0001H”. When the value based on the ID number is used as the start value, the start value when updating the random number circuit is set as a value based on the ID number. The start value at this time is different for each microcomputer chip built in the CPU 501. Furthermore, when the value that changes at each system reset described above is used as the start value, the start value when the random number circuit is updated is set to a value that changes at each system reset. At this time, each individual chip built in the CPU 501 also has a different start value each time a system reset is input.

続いて、乱数列変更方法の選択について説明する。上述の16ビット乱数が発生する乱数列は、通常は0から65353(最大値を設定した場合は最大値)の範囲で一定の規則で更新されるが、本実施例においては、この乱数列の並びを変更することができる。ただし、任意で並び順を選ぶことはできない。乱数列は、プログラム管理エリアの16ビット乱数初期設定1、16ビット乱数初期設定2に指定することにより、次の4つの方法から選択できる。そして、乱数列の変更方法については、個別に設定することが可能である。   Next, selection of a random number sequence changing method will be described. The random number sequence in which the above 16-bit random number is generated is normally updated with a constant rule in the range of 0 to 65353 (maximum value when the maximum value is set). You can change the order. However, it is not possible to select the order of arrangement. The random number sequence can be selected from the following four methods by specifying 16-bit random number initial setting 1 and 16-bit random number initial setting 2 in the program management area. The random number sequence changing method can be individually set.

本実施例において、設定が可能な乱数列の変更方法は、乱数列を変更しない、ソフトウエアにより変更する、2周目から自動的に乱数列を変更する、1周目から自動的に乱数列を変更する、の4態様である。これらのうち、乱数列を変更しない方法においては、乱数列は変更されず、変更されない一定の規則にしたがって乱数値が更新される。   In this embodiment, the random number sequence changing method that can be set is not to change the random number sequence, it is changed by software, the random number sequence is automatically changed from the second round, and the random number sequence is automatically started from the first round. Are four modes. Among these, in the method that does not change the random number sequence, the random number sequence is not changed, and the random number value is updated according to a certain rule that is not changed.

上述のソフトウエアにより変更する方法においては、ユーザプログラムにより、乱数列が変更される。この方法においては、各チャネルを個別に変更することが可能である。そして、乱数列の変更には、乱数列変更レジスタが用いられており、この乱数列変更レジスタの8ビットのうちの対応するビットに「1」をライトすることにより、乱数列変更機能が有効になる。   In the method of changing by the above-described software, the random number sequence is changed by the user program. In this method, each channel can be changed individually. A random number sequence change register is used to change the random number sequence, and the random number sequence change function is enabled by writing “1” to the corresponding bit of the 8 bits of the random number sequence change register. Become.

前述の乱数回路の動作中における一巡については(乱数列の途中においては)、乱数列は変更されず、次の周期の始めからの乱数列が変更される。乱数列の変更を指定するための処理である乱数列変更要求が受け付けられると、乱数列変更レジスタの対応するビットは「0」にクリアされる。なお、乱数列の変更は何回でも実行できる。ただし、変更した後に次の変更の要求がない場合は、直前の変更パターンが継続される。   For one round during the operation of the random number circuit (in the middle of the random number sequence), the random number sequence is not changed, and the random number sequence from the beginning of the next cycle is changed. When a random number sequence change request, which is a process for designating the change of the random number sequence, is accepted, the corresponding bit of the random number sequence change register is cleared to “0”. The random number sequence can be changed any number of times. However, if there is no request for the next change after the change, the previous change pattern is continued.

例えば、n周期目の乱数列のスタート後、乱数列の変更要求があった場合は、n周期目の乱数列の最後の乱数値の生成後、次のn+1周期目の乱数列は、n周期中に変更要求があった新たな乱数列となる。その後、乱数列の変更要求がなければ、n+2周期目、n+3周期目の乱数列は、n+1周期目と同じ乱数列となる。そして、例えば、n+3周期目の途中で乱数列の変更要求があれば、n+4周期目以降の乱数列は、n+3周期中に変更要求があった新たな乱数列となる。   For example, if there is a request for changing the random number sequence after the start of the nth random number sequence, after the generation of the last random number value of the nth random number sequence, This is a new random number sequence that has been requested to be changed. Thereafter, if there is no request for changing the random number sequence, the random number sequence in the n + 2 period and the n + 3 period is the same random number sequence as in the n + 1 period. For example, if there is a random number sequence change request in the middle of the (n + 3) period, the random number sequence after the (n + 4) period becomes a new random number sequence for which there was a change request during the (n + 3) period.

前述の2周目から自動的に乱数列を変更する方法においては、2周目から発生する乱数列が、自動的に変更される。そして、乱数列が一巡する度に、自動的に乱数列が変更される。また、上述の1周目から自動的に乱数列を変更する方法においては、1周目から発生する乱数列が、自動的に変更される。そして、乱数列が一巡する度に、自動的に乱数列が変更される。   In the method of automatically changing the random number sequence from the second round described above, the random number sequence generated from the second round is automatically changed. Each time the random number sequence makes a round, the random number sequence is automatically changed. Further, in the method of automatically changing the random number sequence from the first round described above, the random number sequence generated from the first round is automatically changed. Each time the random number sequence makes a round, the random number sequence is automatically changed.

続いて、乱数値取込方法について説明する。本実施例においては、16ビット乱数は、各チャネルに対して、3つの方法で乱数値を取り込むことができる。この3つの方法としては、ソフトウエアによる第1の取込方法、第2の取込方法、及び、外部端子入力による取込方法を挙げることができる。なお、以下では、ソフトウエアによる第1の取込方法を「ソフトウエアによる取込1」、ソフトウエアによる第2の取込方法を「ソフトウエアによる取込2」、外部端子入力による取込方法を「外部端子入力による取込」と称する。   Next, a random value fetching method will be described. In the present embodiment, 16-bit random numbers can be fetched by three methods for each channel. As these three methods, there are a first acquisition method by software, a second acquisition method, and an acquisition method by external terminal input. In the following, the first acquisition method by software is “software acquisition 1”, the second acquisition method by software is “software acquisition 2”, and the external terminal input is the acquisition method. Is referred to as “capture by external terminal input”.

上述の3つの取込方法のうち、ソフトウエアによる取込1は、外部更新クロックを選択した場合のものであり、ソフトウエアによる取込1においては、ユーザプログラムにより、乱数値が取り込まれる。乱数値を格納するレジスタは、各チャネル毎に1つ準備されている。そして、乱数ソフトラッチレジスタの取り込みたいレジスタに対応するビットに、「1」をライトすることにより、対応するチャネルのソフトラッチ乱数値レジスタに乱数値が取り込まれる。乱数値が取り込まれると、乱数ソフトラッチフラグレジスタの対応ビットがセットされて「1」となる。ただし、乱数値のリードを行わずに、乱数ソフトラッチレジスタにライトした場合は、乱数値を取り込むことができないようになっている。このことにより、乱数ソフトラッチレジスタを適正に利用でき、乱数値の取込みに係る処理の適正化が可能になる。   Of the above-described three capture methods, software capture 1 is when an external update clock is selected. In software capture 1, a random value is captured by a user program. One register for storing a random value is prepared for each channel. Then, by writing “1” to the bit corresponding to the register that the random number soft latch register wants to capture, the random value is captured into the soft latch random value register of the corresponding channel. When the random value is fetched, the corresponding bit of the random number soft latch flag register is set to “1”. However, if the random number value is not read and written to the random number soft latch register, the random number value cannot be fetched. As a result, the random number soft latch register can be properly used, and the processing related to the fetching of the random number value can be optimized.

上述の3つの取込方法のうち、ソフトウエアによる取込2は、前述の内部システムクロックを選択した場合のものであり、ソフトウエアによる取込2においては、対応するチャネルのソフトラッチ乱数レジスタの下位バイトからリードを行うと同時に、上位バイトの値が取り込まれる。そして、この場合は、乱数ソフトラッチフラグレジスタの対応ビットはセットされず、「1」にならない。このことにより、内部システムクロックを選択した場合における乱数値の取込みに係る処理を適正化できる。なお、このソフトウエアによる取込2は、更新クロックとして、内部システムクロックが選択されている場合のみ有効なものである。   Of the above-described three capture methods, software capture 2 is for the case where the internal system clock is selected. In software capture 2, the soft latch random number register of the corresponding channel is used. At the same time as reading from the lower byte, the value of the upper byte is fetched. In this case, the corresponding bit of the random number soft latch flag register is not set and does not become “1”. As a result, it is possible to optimize the processing related to taking in the random number value when the internal system clock is selected. This software acquisition 2 is effective only when the internal system clock is selected as the update clock.

上述の3つの取込方法のうち、外部端子入力による取込においては、乱数値を格納するレジスタは、チャネル0については2つ(上位バイトと下位バイトの組が2セット)、チャネル1〜3については各々1つ(合計で3セット)準備されている。それぞれのレジスタに、どの外部端子を介して情報を取り込むかの設定は、チャネル毎に設けられたハードラッチ選択レジスタを用いて行う。   Of the above-described three capture methods, in the capture by external terminal input, the number of registers for storing random numbers is two for channel 0 (two sets of upper byte and lower byte), and channels 1 to 3 One is prepared for each (3 sets in total). The setting of which external terminal takes the information into each register is performed using a hard latch selection register provided for each channel.

このハードラッチ選択レジスタは、チャネル0が使用されるときは2つ設定され、それ以外のチャネルが設定される場合は1つ設定される。   Two hard latch selection registers are set when channel 0 is used, and one is set when other channels are set.

あらかじめ、入力ポート制御レジスタで設定された期間以上の、アクティブ信号を入力されると、各チャネル毎に設けられたハードラッチ選択レジスタに、乱数値が取り込まれる。   When an active signal is input in advance for a period longer than the period set in the input port control register, a random value is taken into a hard latch selection register provided for each channel.

入力ポート制御レジスタは、8つ設けられており、ハードラッチ選択レジスタは、チャネル0が使用されるときには2つ設定され、チャネル1〜3が使用されるときには1つ設定される。   Eight input port control registers are provided, and two hard latch selection registers are set when channel 0 is used, and one is set when channels 1 to 3 are used.

乱数値が取り込まれると、対応したチャネル毎に設けられた16ビット乱数ハードラッチフラグレジスタの対応ビットがセットされて「1」となる。この16ビット乱数ハードラッチフラグレジスタは、いずれのチャネルが使用される場合についても2つ設定される。   When the random number value is taken in, the corresponding bit of the 16-bit random number hard latch flag register provided for each corresponding channel is set to “1”. Two 16-bit random number hard latch flag registers are set regardless of which channel is used.

続いて、16ビット乱数に係る異常の検出について説明する。本実施例においては、16ビット乱数の動作異常を、「外部クロック周波数異常」及び「更新異常」の2つの状態について検出することができる。そして、検出した状態は、内部情報レジスタで確認することができる。   Next, detection of an abnormality related to a 16-bit random number will be described. In the present embodiment, an operation abnormality of a 16-bit random number can be detected in two states of “external clock frequency abnormality” and “update abnormality”. The detected state can be confirmed by the internal information register.

上述の外部クロック周波数異常については、乱数更新用クロックとして、外部クロックを選択した場合、周波数の監視が行われるようになっている。そして、監視を行う場合は、プログラム管理エリアの前述の乱数クロック監視設定により、入力クロックの設定を行うようになている。設定された周波数の低下を検出した場合、内部情報レジスタのRCERビットがセットされて「1」となる。このRCERビットは、内部情報レジスタをリード後に、クリアされて「0」なるが、引き続き異常状態が継続される場合は、再度RCERビットがセットされて「1」となる。   Regarding the above-described abnormality in the external clock frequency, when an external clock is selected as the random number update clock, the frequency is monitored. When monitoring is performed, the input clock is set by the above-described random number clock monitoring setting in the program management area. When a decrease in the set frequency is detected, the RCER bit of the internal information register is set to “1”. The RCER bit is cleared to “0” after reading the internal information register. However, if the abnormal state continues, the RCER bit is set to “1” again.

上述の更新異常については、16ビット乱数の更新状態が監視され、異常を検知した場合、対応する内部情報レジスタのRLERビットがセットされて「1」となる。このRLERビットは、内部情報レジスタをリード後に、クリアされて「0」となるが、引き続き異常状態が継続される場合は、再度RLERビットがセットされて「1」となる。
<<<8ビット乱数の概要>>>
Regarding the above update abnormality, the update state of the 16-bit random number is monitored, and when the abnormality is detected, the RLER bit of the corresponding internal information register is set to “1”. The RLER bit is cleared to “0” after reading the internal information register. However, if the abnormal state continues, the RLER bit is set to “1” again.
<<< Outline of 8-bit random numbers >>>

本実施例においては、上述の16ビット乱数に加えて、前述のように8ビット乱数を生成することが可能となっている。この8ビット乱数としては、4チャネル(RS0〜RS3)の8ビット擬似乱数があり、それぞれ独立して動作させることが可能である。そして、この8ビット乱数は、0から255までの乱数値を発生する。以下に、本実施おける8ビット乱数の概要を説明する。   In this embodiment, in addition to the 16-bit random number described above, an 8-bit random number can be generated as described above. As this 8-bit random number, there is a 4-channel (RS0 to RS3) 8-bit pseudo-random number, which can be operated independently. The 8-bit random number generates a random value from 0 to 255. The outline of the 8-bit random number in this embodiment will be described below.

先ず、8ビット乱数に係る更新クロックの選択について説明する。本実施例における8ビット乱数では、前述の乱数回路の各チャネルを更新するためのクロック(カウントクロック)の選択が可能である。このカウントクロックとしては、内部システムクロック、及び、外部クロック(RCK端子への入力クロック)の2分周がある。何れのカウントクロックについても、個別に所定の設定を行うことが可能であり、各々の設定は、前述の8ビット乱数初期設定1、又は、8ビット乱数初期設定2における設定データの所定ビット(ここではビット番号2)により行うことができる。   First, selection of an update clock related to an 8-bit random number will be described. With the 8-bit random number in this embodiment, it is possible to select a clock (count clock) for updating each channel of the random number circuit described above. As the count clock, there are two frequency divisions of an internal system clock and an external clock (input clock to the RCK terminal). Each count clock can be individually set with a predetermined setting, and each setting is a predetermined bit of the setting data in the aforementioned 8-bit random number initial setting 1 or 8-bit random number initial setting 2 (here Then, it can be performed by bit number 2).

上述の内部システムクロック、及び、外部クロックの2分周のうち、内部システムクロックは、自動的に更新が行われるものである。一方、外部クロックの2分周については、内部乱数更新用にRCK端子から入力されたクロック信号を2分周して得られた信号により更新が行われる。   Of the above-mentioned internal system clock and external clock divided by 2, the internal system clock is automatically updated. On the other hand, the external clock divided by two is updated by a signal obtained by dividing the clock signal input from the RCK terminal by two for internal random number update.

RCK端子に入力可能な信号の周波数は、CPU501を動作させるためにEX端子に入力された外部クロック信号の周波数以下に制限されている。つまり、RCK端子に入力可能な信号の周波数は、EX端子に入力されたクロック信号の周波数以下としなければならない。また、CPU501には、クロック監視機能が備えられており、入力されたクロックの監視を行うことが可能となっている。この入力クロックの監視を行う場合は、プログラム管理エリアの前述の乱数クロック監視設定を利用することとなる。   The frequency of the signal that can be input to the RCK terminal is limited to be equal to or lower than the frequency of the external clock signal input to the EX terminal in order to operate the CPU 501. That is, the frequency of the signal that can be input to the RCK terminal must be equal to or lower than the frequency of the clock signal input to the EX terminal. Further, the CPU 501 is provided with a clock monitoring function, and can monitor the input clock. When monitoring this input clock, the above-described random number clock monitoring setting in the program management area is used.

入力クロックの監視において、異常を検知した場合は、内部情報レジスタのRCERビットがセットされて「1」の値となる。このRCERビットは、内部情報レジスタをリード後にクリアされて「0」となるが、引き続き異常状態が継続される場合は、再度RCERビットが「1」にセットされる。   When monitoring the input clock, if an abnormality is detected, the RCER bit of the internal information register is set to a value of “1”. The RCER bit is cleared to “0” after reading the internal information register. If the abnormal state continues, the RCER bit is set to “1” again.

続いて、8ビット乱数の起動方法について説明する。前述した各チャネルの8ビット乱数を起動する方法は、以降で説明するように、最大値設定で起動する方法と、ユーザモード移行で自動起動する方法の2つから選択できる。そして、何れの起動方法も、前述したプログラム管理エリアの8ビット乱数初期設定1、8ビット乱数初期設定2の各々において、選択が可能となっている。さらに、これら起動方法は、前述の各チャネルについて、個別に設定が可能である。   Next, an 8-bit random number activation method will be described. As described below, the method for starting the 8-bit random number of each channel described above can be selected from two methods: starting with the maximum value setting and automatically starting with user mode transition. Any of the activation methods can be selected in each of the above-described 8-bit random number initial setting 1 and 8-bit random number initial setting 2 in the program management area. Further, these activation methods can be individually set for each of the aforementioned channels.

上述の最大値設定で起動する方法においては、各チャネルに対応した最大値設定レジスタに、最大値を設定すると、8ビット乱数が起動される。ここでは、16ビット乱数の場合(例えば「00FFH」とする場合)と異なり、例えば「FFH」のみの設定で起動される。つまり、16ビット乱数の場合のような、最大値設定レジスタの上位バイト設定後に乱数が起動されるという処理は行われない。   In the method of starting with the maximum value setting described above, an 8-bit random number is started when the maximum value is set in the maximum value setting register corresponding to each channel. Here, unlike the case of a 16-bit random number (for example, “00FFH”), for example, it is activated with only “FFH” set. That is, the process of starting the random number after setting the upper byte of the maximum value setting register as in the case of a 16-bit random number is not performed.

上述のユーザモード移行で自動起動する方法においては、ユーザモード移行で、最大値をFFHとして、8ビット乱数が自動的に起動される。そして、この起動方法を選択した場合は、最大値の設定をすることはできない。   In the above-described method of automatically starting by the user mode transition, the 8-bit random number is automatically started by setting the maximum value to FFH by the user mode transition. When this activation method is selected, the maximum value cannot be set.

続いて、上述の最大値の設定について説明する。本実施例においては、各チャネルの8ビット乱数が発生する乱数の最大値を、16から255までの範囲で、任意の値を設定することができる。最大値を設定する場合は、プログラム管理エリアの8ビット乱数初期設定1、8ビット乱数初期設定2での起動を、「最大値設定で起動」を選択して行い、使用するチャネルの8ビット乱数最大値設定レジスタに最大値を設定する。ここでは、16ビット乱数の場合と異なり、上位バイトを設定すると乱数が起動される、といった処理は行われない。つまり、下位バイトに上位バイトを組み合せた、例えば「00FFH」といった設定は必要なく、下位の、例えば「FFH」のみの設定で、乱数が起動される。   Subsequently, the setting of the above maximum value will be described. In this embodiment, an arbitrary value can be set in the range of 16 to 255 as the maximum value of the random number generated by the 8-bit random number of each channel. When setting the maximum value, start with the 8-bit random number initial setting 1 and 8-bit random number initial setting 2 in the program management area by selecting “Start with maximum value setting” and use the 8-bit random number of the channel to be used. Set the maximum value in the maximum value setting register. Here, unlike the case of a 16-bit random number, a process of starting a random number when an upper byte is set is not performed. That is, a setting such as “00FFH” in which the upper byte is combined with the lower byte is not necessary, and the random number is activated with only the lower setting such as “FFH”.

この設定された最大値を上限として、すべて(0から設定した最大値まで)の値を得ることができる。例えば最大値を100とした場合に、乱数値は、0から100までの101個の値のうち、一致しない(重複しない)何れかの値となるように順次更新され、最後の値(101個目の値であり、言い換えれば100回目の更新値である。)の次は、更に、0から100までの101個の値のうち、一致しない(重複しない)何れかの値となる。そして、この最大値の設定は、各チャネルについて個別に設定が可能である。なお、最大値の設定前に、乱数値の取り込みが行われた場合は、取り込まれた乱数値のリードを行うようにすることが必要である。つまり、最大値の設定前は、乱数が起動されていない状況にあり、最大値設定前に取得した乱数値については、有効性が担保できないため、リードすることによりレジスタから削除し、抽選には使用されないようにしている。言い換えれば、本実施例においては、最大値の設定前でも乱数の取得がされる場合があるが、設定前のタイミングで取得された場合には、リードすることで、取得した乱数値をレジスタから削除している。このことにより、レジスタに残った乱数値を使用してしまうことを防止できる。そして、最大値の設定前の取込値に対する管理を徹底でき、不測の事態の発生を防止できる。この点も16ビット乱数の場合と同様である。   With this set maximum value as the upper limit, all values (from 0 to the set maximum value) can be obtained. For example, when the maximum value is set to 100, the random number value is sequentially updated so as to be one of the 101 values from 0 to 100 that do not match (do not overlap), and the last value (101 items). Next to the value of the eye, in other words, the update value for the 100th time), any of the 101 values from 0 to 100 does not match (does not overlap). This maximum value can be set individually for each channel. If a random value is taken in before setting the maximum value, it is necessary to read the taken random value. In other words, the random number is not activated before the maximum value is set, and the validity of the random number value acquired before the maximum value setting cannot be guaranteed. It is not used. In other words, in this embodiment, random numbers may be acquired even before the maximum value is set, but when acquired at the timing before setting, the acquired random value is read from the register by reading. It has been deleted. This can prevent the random number remaining in the register from being used. And it is possible to thoroughly manage the acquired value before setting the maximum value, and to prevent the occurrence of unexpected situations. This is the same as in the case of 16-bit random numbers.

続いて、上述のように設定された乱数列が一巡する周期について説明する。上述の8ビット乱数が一巡する周期は、設定した最大値により、算出式が異なる。つまり、最大値が2^m−1(m=5〜8)の場合、8ビット乱数が一巡する周期=(1/カウントクロックの周波数)×(最大値+1)の算出式により、乱数列の一巡周期が算出される。例えば、最大値設定が255(=2^8−1)の場合、更新周波数(カウントクロックの周波数)が10.0MHzであれば、乱数列の一巡周期は0.0256msとなり、更新周波数が16.0MHzであれば、0.016msとなる。   Next, a cycle in which the random number sequence set as described above makes a round will be described. The calculation cycle for the cycle of the 8-bit random number is different depending on the set maximum value. That is, when the maximum value is 2 ^ m−1 (m = 5 to 8), the cycle of the 8-bit random number makes a cycle of = (1 / count clock frequency) × (maximum value + 1). A round cycle is calculated. For example, when the maximum value setting is 255 (= 2 ^ 8-1), if the update frequency (count clock frequency) is 10.0 MHz, the round cycle of the random number sequence is 0.0256 ms, and the update frequency is 16. If it is 0 MHz, it will be 0.016 ms.

同様に、最大値設定が127(=2^7−1)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.0128msとなり、更新周波数が16.0MHzであれば、0.008msとなる。また、最大値設定が63(=2^6−1)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.0064msとなり、更新周波数が16.0MHzであれば、0.004msとなる。さらに、最大値設定が31(=2^5−1)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.0032msとなり、更新周波数が16.0MHzであれば、0.002msとなる。   Similarly, when the maximum value setting is 127 (= 2 ^ 7-1), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.0128 ms, and if the update frequency is 16.0 MHz, 0.008 ms. When the maximum value setting is 63 (= 2 ^ 6-1), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.0064 ms, and if the update frequency is 16.0 MHz, 0. .004 ms. Further, when the maximum value setting is 31 (= 2 ^ 5-1), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.0032 ms, and if the update frequency is 16.0 MHz, 0. 0.002 ms.

一方、最大値が2^m−1(m=5〜8)以外の場合、8ビット乱数が一巡する周期=(16/カウントクロックの周波数)×(最大値+1)の算出式により、乱数列の一巡周期が算出される。例えば、最大値設定が254(=2^8−2)の場合、更新周波数(カウントクロックの周波数)が10.0MHzであれば、乱数列の一巡周期は0.4080msとなり、更新周波数が16.0MHzであれば、0.255msとなる。   On the other hand, when the maximum value is other than 2 ^ m−1 (m = 5 to 8), the random number sequence is calculated by the following formula: cycle of 8-bit random number = (16 / frequency of count clock) × (maximum value + 1) Is calculated. For example, when the maximum value setting is 254 (= 2 ^ 8-2), if the update frequency (count clock frequency) is 10.0 MHz, the round cycle of the random number sequence is 0.4080 ms, and the update frequency is 16. If it is 0 MHz, it becomes 0.255 ms.

同様に、最大値設定が126(=2^7−2)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.2032msとなり、更新周波数が16.0MHzであれば、0.127msとなる。また、最大値設定が62(=2^6−2)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.1008msとなり、更新周波数が16.0MHzであれば、0.063msとなる。さらに、最大値設定が30(=2^5−2)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.0496msとなり、更新周波数が16.0MHzであれば、0.031msとなる。また、最大値設定が16(=2^4)の場合、更新周波数が10.0MHzであれば、乱数列の一巡周期は0.0272msとなり、更新周波数が16.0MHzであれば、0.017msとなる。   Similarly, when the maximum value setting is 126 (= 2 ^ 7-2), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.2032 ms, and if the update frequency is 16.0 MHz, 0.127 ms. When the maximum value setting is 62 (= 2 ^ 6-2), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.1008 ms, and if the update frequency is 16.0 MHz, 0. .063 ms. Further, when the maximum value setting is 30 (= 2 ^ 5-2), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.0496 ms, and if the update frequency is 16.0 MHz, 0. 0.031 ms. When the maximum value setting is 16 (= 2 ^ 4), if the update frequency is 10.0 MHz, the round cycle of the random number sequence is 0.0272 ms, and if the update frequency is 16.0 MHz, 0.017 ms. It becomes.

続いて、乱数列変更方法の選択について説明する。上述の8ビット乱数が発生する乱数列は、通常は0から255(最大値を設定した場合は最大値)の範囲で一定の規則で更新されるが、本実施例においては、この乱数列の並びを変更することができる。ただし、任意で並び順を選ぶことはできない。乱数列は、プログラム管理エリアの8ビット乱数初期設定1、8ビット乱数初期設定2に指定することにより、次の4つの方法から選択できる。そして、乱数列の変更方法については、個別に設定することが可能である。   Next, selection of a random number sequence changing method will be described. The random number sequence in which the above 8-bit random number is generated is normally updated according to a certain rule in the range of 0 to 255 (maximum value when the maximum value is set). You can change the order. However, it is not possible to select the order of arrangement. The random number sequence can be selected from the following four methods by specifying the 8-bit random number initial setting 1 and the 8-bit random number initial setting 2 in the program management area. The random number sequence changing method can be individually set.

本実施例において、設定が可能な乱数列の変更方法は、乱数列を変更しない、ソフトウエアにより変更する、2周目から自動的に乱数列を変更する、1周目から自動的に乱数列を変更する、の4態様である。これらのうち、乱数列を変更しない方法においては、乱数列は変更されず、変更されない一定の規則にしたがって乱数値が更新される。   In this embodiment, the random number sequence changing method that can be set is not to change the random number sequence, it is changed by software, the random number sequence is automatically changed from the second round, and the random number sequence is automatically started from the first round. Are four modes. Among these, in the method that does not change the random number sequence, the random number sequence is not changed, and the random number value is updated according to a certain rule that is not changed.

上述のソフトウエアにより変更する方法においては、ユーザプログラムにより、乱数列が変更される。この方法においては、各チャネルを個別に変更することが可能である。そして、乱数列の変更には、乱数列変更レジスタが用いられており、この乱数列変更レジスタの8ビットのうちの対応するビットに「1」をライトすることにより、乱数列変更機能が有効になる。   In the method of changing by the above-described software, the random number sequence is changed by the user program. In this method, each channel can be changed individually. A random number sequence change register is used to change the random number sequence, and the random number sequence change function is enabled by writing “1” to the corresponding bit of the 8 bits of the random number sequence change register. Become.

前述の乱数回路の動作中における一巡については(乱数列の途中においては)、乱数列は変更されず、次の周期の始めからの乱数列が変更される。乱数列の変更を指定するための処理である乱数列変更要求が受け付けられると、乱数列変更レジスタの対応するビットは「0」にクリアされる。なお、乱数列の変更は何回でも実行できる。ただし、変更した後に次の変更の要求がない場合は、直前の変更パターンが継続される。   For one round during the operation of the random number circuit (in the middle of the random number sequence), the random number sequence is not changed, and the random number sequence from the beginning of the next cycle is changed. When a random number sequence change request, which is a process for designating the change of the random number sequence, is accepted, the corresponding bit of the random number sequence change register is cleared to “0”. The random number sequence can be changed any number of times. However, if there is no request for the next change after the change, the previous change pattern is continued.

例えば、n周期目の乱数列のスタート後、乱数列の変更要求があった場合は、n周期目の乱数列の最後の乱数値の生成後、次のn+1周期目の乱数列は、n周期中に変更要求があった新たな乱数列となる。その後、乱数列の変更要求がなければ、n+2周期目、n+3周期目の乱数列は、n+1周期目と同じ乱数列となる。そして、例えば、n+3周期目の途中で乱数列の変更要求があれば、n+4周期目以降の乱数列は、n+3周期中に変更要求があった新たな乱数列となる。   For example, if there is a request for changing the random number sequence after the start of the nth random number sequence, after the generation of the last random number value of the nth random number sequence, This is a new random number sequence that has been requested to be changed. Thereafter, if there is no request for changing the random number sequence, the random number sequence in the n + 2 period and the n + 3 period is the same random number sequence as in the n + 1 period. For example, if there is a random number sequence change request in the middle of the (n + 3) period, the random number sequence after the (n + 4) period becomes a new random number sequence for which there was a change request during the (n + 3) period.

前述の2周目から自動的に乱数列を変更する方法においては、2周目から発生する乱数列が、自動的に変更される。そして、乱数列が一巡する度に、自動的に乱数列が変更される。また、上述の1周目から自動的に乱数列を変更する方法においては、1周目から発生する乱数列が、自動的に変更される。そして、乱数列が一巡する度に、自動的に乱数列が変更される。   In the method of automatically changing the random number sequence from the second round described above, the random number sequence generated from the second round is automatically changed. Each time the random number sequence makes a round, the random number sequence is automatically changed. Further, in the method of automatically changing the random number sequence from the first round described above, the random number sequence generated from the first round is automatically changed. Each time the random number sequence makes a round, the random number sequence is automatically changed.

続いて、乱数値取込方法について説明する。本実施例においては、8ビット乱数は、各チャネルに対して、3つの方法で乱数値を取り込むことができる。この3つの方法としては、ソフトウエアによる第1の取込方法、第2の取込方法、及び、外部端子入力による取込方法を挙げることができる。なお、以下では、ソフトウエアによる第1の取込方法を「ソフトウエアによる取込1」、ソフトウエアによる第2の取込方法を「ソフトウエアによる取込2」、外部端子入力による取込方法を「外部端子入力による取込」と称する。   Next, a random value fetching method will be described. In this embodiment, the 8-bit random number can be fetched for each channel by three methods. As these three methods, there are a first acquisition method by software, a second acquisition method, and an acquisition method by external terminal input. In the following, the first acquisition method by software is “software acquisition 1”, the second acquisition method by software is “software acquisition 2”, and the external terminal input is the acquisition method. Is referred to as “capture by external terminal input”.

上述の3つの取込方法のうち、ソフトウエアによる取込1は、外部更新クロックを選択した場合のものであり、ソフトウエアによる取込1においては、ユーザプログラムにより、乱数値が取り込まれる。乱数値を格納するレジスタは、各チャネル毎に1つ準備されている。そして、乱数ソフトラッチレジスタの取り込みたいレジスタに対応するビットに、「1」をライトすることにより、対応するチャネルのソフトラッチ乱数値レジスタに乱数値が取り込まれる。乱数値が取り込まれると、乱数ソフトラッチフラグレジスタの対応ビットがセットされて「1」となる。ただし、乱数値のリードを行わずに、乱数ソフトラッチレジスタにライトした場合は、乱数値を取り込むことができないようになっている。このことにより、乱数ソフトラッチレジスタを適正に利用でき、乱数値の取込みに係る処理の適正化が可能になる。   Of the above-described three capture methods, software capture 1 is when an external update clock is selected. In software capture 1, a random value is captured by a user program. One register for storing a random value is prepared for each channel. Then, by writing “1” to the bit corresponding to the register that the random number soft latch register wants to capture, the random value is captured into the soft latch random value register of the corresponding channel. When the random value is fetched, the corresponding bit of the random number soft latch flag register is set to “1”. However, if the random number value is not read and written to the random number soft latch register, the random number value cannot be fetched. As a result, the random number soft latch register can be properly used, and the processing related to the fetching of the random number value can be optimized.

上述の3つの取込方法のうち、ソフトウエアによる取込2は、前述の内部システムクロックを選択した場合のものであり、ソフトウエアによる取込2においては、対応するチャネルのソフトラッチ乱数レジスタを、16ビット乱数の場合と異なり、直接リードすることができる。ここでは、16ビット乱数の場合のような、リードを行うと同時に、上位バイトの値が取り込まれる、といった処理は行われない。そして、この場合は、乱数ソフトラッチフラグレジスタの対応ビットはセットされず、「1」にならない。このソフトウエアによる取込2は、更新クロックとして、内部システムクロックが選択されている場合のみ有効なものである。   Of the above-described three capture methods, software capture 2 is for the case where the internal system clock is selected. In software capture 2, the soft latch random number register of the corresponding channel is set. Unlike the case of a 16-bit random number, it can be read directly. Here, as in the case of a 16-bit random number, a process of reading the upper byte value at the same time as reading is not performed. In this case, the corresponding bit of the random number soft latch flag register is not set and does not become “1”. This software acquisition 2 is valid only when the internal system clock is selected as the update clock.

上述の3つの取込方法のうち、外部端子入力による取込においては、乱数値を格納するレジスタは、各チャネルに1つ準備されている。それぞれのレジスタに、どの外部端子を介して情報を取り込むかの設定は、8ビット乱数ハードラッチ選択レジスタを用いて行う。この8ビット乱数ハードラッチ選択レジスタは、チャネル0が使用されるときは2つ設定され、それ以外のチャネルが設定される場合は1つ設定される。   Among the above-described three capture methods, one register for storing a random value is prepared for each channel in the capture by external terminal input. The setting of which external terminal takes information into each register is performed using an 8-bit random number hard latch selection register. Two 8-bit random number hard latch selection registers are set when channel 0 is used, and one is set when other channels are set.

あらかじめ、入力ポート制御レジスタで設定された期間以上の、アクティブ信号を入力されると、各チャネル毎に設けられた8ビット乱数ハードラッチ選択レジスタに、乱数値が取り込まれる。   When an active signal is input for a period of time set in advance in the input port control register, a random number value is taken into an 8-bit random number hard latch selection register provided for each channel.

乱数値が取り込まれると、8ビット乱数ハードラッチフラグレジスタの対応ビットがセットされて「1」になる。   When the random value is fetched, the corresponding bit of the 8-bit random number hard latch flag register is set to “1”.

本実施例においては、上述のように8ビット乱数となるカウンタ値の生成が可能であるが、ぱちんこ遊技機10における各種の抽選制御に関して、16ビット乱数が使用されており、8ビット乱数は使用されていない。つまり、CPU501は、8ビット乱数を使用した抽選機能を有するものの、8ビット乱数は使用せず、16ビット乱数のみを利用している。さらに、8ビット乱数は、前述のように、更新クロックの選択、起動方法、最大値の設定、乱数列が一巡する周期、乱数列変更方法の選択、及び、乱数値取込方法に関して、16ビット乱数とビット数の相違を除き同様の機能を有している。
<<制御開始処理>>
In the present embodiment, a counter value that is an 8-bit random number can be generated as described above, but a 16-bit random number is used for various lottery controls in the pachinko gaming machine 10, and the 8-bit random number is used. It has not been. That is, the CPU 501 has a lottery function using 8-bit random numbers, but does not use 8-bit random numbers but uses only 16-bit random numbers. Further, as described above, the 8-bit random number is 16 bits regarding the selection of the update clock, the activation method, the setting of the maximum value, the cycle of the random number sequence, the selection of the random number sequence change method, and the random number value acquisition method. It has the same function except for the difference between the random number and the bit number.
<< Control start processing >>

次に、前述の制御開始処理について説明する。図12及び図13に示す制御開始処理は、ぱちんこ遊技機10の電源投入によりCPU501の製造コードを利用したセキュリティチェックが行われた後に開始される制御処理であり、この制御開始処理においては、後述する電源投入時に必要な設定(S1〜S4)を実行後、初期化スイッチ544の操作状態(S5)、電断時状況確認処理(S6〜S8)における電源断情報フラグの値、及びRWM領域の加算結果(チェックサムデータ)に対応して、電源断復帰時の処理(S9〜S17)、RWMの初期化時の処理(S24〜S26)、遊技進行割込み用の計時設定の処理(S27)、循環処理(S33(S28〜S32))、電源断確認情報設定時の処理(S301〜S307)等を実行する。
<<<電源投入時に必要な設定>>>
Next, the aforementioned control start process will be described. The control start process shown in FIG. 12 and FIG. 13 is a control process that is started after a security check using the manufacturing code of the CPU 501 is performed by turning on the pachinko gaming machine 10, and this control start process will be described later. After executing the necessary settings (S1 to S4) when the power is turned on, the operation state of the initialization switch 544 (S5), the value of the power interruption information flag in the power interruption status confirmation processing (S6 to S8), and the RWM area Corresponding to the addition result (checksum data), processing at the time of power-off recovery (S9 to S17), processing at initialization of RWM (S24 to S26), timing setting processing for game progress interruption (S27), Circulation processing (S33 (S28 to S32)), processing for setting power-off confirmation information (S301 to S307), and the like are executed.
<<< Required settings at power-on >>>

電源投入時に必要な設定として、スタックポインタの設定(S1)、割込みモードの設定(S2)、及びRWM503へのアクセス許可の設定(S3)が行われ、続いて内蔵レジスタの初期設定が行われる(S4)。   As necessary settings at power-on, stack pointer setting (S1), interrupt mode setting (S2), and access permission to RWM 503 are set (S3), and then the internal registers are initialized ( S4).

これらのうちスタックポインタの設定(S1)の処理においては、スタック領域を確保するため、スタックポインタにスタックポインタの初期値としてセットし、スタックポインタが特定の番地にセットされる。次に、割込みモードの設定(S2)においては、所定番号のモードを設定し、RWMのアクセス許可設定(S3)においては、RWMへのアクセスを許可するため、所定のレジスタにアクセス許可データをセットする。これにより、マスカブル割込みが特定の割込みモードに設定され、CPU内蔵RWMがアクセス許可にされる。さらに、内蔵レジスタの設定(S4)においては、内蔵レジスタ初期設定テーブルを用いて、遊技進行割込み使用設定値やクロック源選択値等といった対応する各種の設定値がセットされる。なお、メイン基板102における割込みについては後述する。
<<<RWMクリアスイッチの操作状態の確認>>>
Among these, in the process of setting the stack pointer (S1), in order to secure the stack area, the stack pointer is set as the initial value of the stack pointer, and the stack pointer is set at a specific address. Next, in the interrupt mode setting (S2), a mode of a predetermined number is set, and in the access permission setting (S3) of the RWM, access permission data is set in a predetermined register to permit access to the RWM. To do. As a result, the maskable interrupt is set to a specific interrupt mode and the CPU built-in RWM is permitted access. Further, in the setting of the internal register (S4), various corresponding setting values such as a game progress interrupt use setting value and a clock source selection value are set using the internal register initial setting table. The interrupt in the main board 102 will be described later.
<<< Confirmation of RWM Clear Switch Operation Status >>>

初期化スイッチ544の操作状態の確認の処理(S5)においては、入力ポートを介して入力される初期化スイッチ544の出力信号の状態が確認される。RWMクリアスイッチが押されたか(オンされたか)否かが判定され、押されていなければ(S5:NO)、後述する電断時状況判定処理(S6〜S8)中の電源断情報フラグの値の判定処理(S6)へ進む。一方、初期化スイッチ544が押されていれば(S5:YES)、RWMの初期化時の処理(S24〜S26)の処理が行われる。   In the confirmation process (S5) of the operation state of the initialization switch 544, the state of the output signal of the initialization switch 544 input via the input port is confirmed. It is determined whether or not the RWM clear switch has been pressed (turned on). If it has not been pressed (S5: NO), the value of the power-off information flag during the power interruption status determination process (S6 to S8) to be described later The process proceeds to the determination process (S6). On the other hand, if the initialization switch 544 has been pressed (S5: YES), the RWM initialization process (S24 to S26) is performed.

ここで、初期化スイッチ544は、対応する入力ポートのRWMクリアスイッチビットが5回連続でオンと判定された場合に操作されたと判断される。また、初期化スイッチ544が押されたか否かの情報の判定はこのとき1回だけ行われ、以降は判定が行われない。   Here, it is determined that the initialization switch 544 has been operated when the RWM clear switch bit of the corresponding input port is determined to be on for five consecutive times. In addition, the determination of whether or not the initialization switch 544 has been pressed is performed only once at this time, and is not performed thereafter.

また、この初期化スイッチ544の状態確認の処理(S5)においては、RWM先頭アドレス(番地)が相対アドレスの基準値としてセットされ、入力確認回数(ここでは5回)のセット、対応する入力ポート値の入力、当該入力ポートの値のうちのRWMクリアスイッチビットの検査、検査結果の確認、セットされた入力確認回数に亘り繰り返される入力確認、等の制御処理を実行する。
<<<電断時状況確認処理>>>
Further, in the state confirmation process (S5) of the initialization switch 544, the RWM head address (address) is set as the reference value of the relative address, the number of input confirmation times (here, 5 times) is set, and the corresponding input port Control processing such as input of a value, inspection of an RWM clear switch bit in the value of the input port, confirmation of an inspection result, input confirmation repeated for the set number of input confirmations, and the like are executed.
<<< Situation confirmation process at power interruption >>>

初期化スイッチ544の操作がなかった場合の電断時状況確認処理(S6〜S8)においては、電源断情報フラグの値が読込まれ、読込まれた値が所定の電源断正常データに一致するか否かが判定される(S6)。電源断正常データは、電源がオフする電源断(電断)が生じた際に、電源断の処理が正常に行われた場合に保存されるものである。そして、電源断情報フラグの値が電源断正常データに一致せず、S6における判定結果がNOとなった場合には、初期化スイッチ544の操作があった場合と同様に、制御処理は後述するRWMの初期化時の処理(S24以降)へ移行する。   In the power interruption status confirmation processing (S6 to S8) when the initialization switch 544 is not operated, the value of the power interruption information flag is read, and whether the read value matches predetermined power interruption normal data. It is determined whether or not (S6). The power-off normal data is stored when the power-off process is normally performed when a power-off (power-off) that turns off the power occurs. If the value of the power-off information flag does not match the power-off normal data and the determination result in S6 is NO, the control process will be described later as in the case where the initialization switch 544 is operated. The process proceeds to RWM initialization processing (after S24).

電源断情報フラグの値が電源断正常データに一致した場合(S6:YES)場合には、チェックサムデータが算出される(S7)。このチェックサムデータの算出の処理においては、図示は省略するが、チェックサムデータとして初期値がセットされ、チェックサムデータに対して所定の演算が行われた後、演算後のチェックサムデータが0と異なるか否かの判定が実行される。   If the value of the power-off information flag matches the power-off normal data (S6: YES), checksum data is calculated (S7). In the checksum data calculation process, although not shown, an initial value is set as the checksum data, a predetermined calculation is performed on the checksum data, and the checksum data after the calculation is 0. A determination is made as to whether or not.

チェックサムデータが0でなかった場合(S8:NO)、即ち再開準備処理実行条件が成立していない場合には、相対アドレスの基準値の上位にRWM先頭上位がセットされ、この場合にもRWMの初期化時の処理(S24以降)へ移行する。一方、チェックサムデータが0であった場合(S8:YES)には、後述する電源断復帰時の処理(S9〜S17)へ移行する。
<<<電源断復帰時の処理>>>
If the checksum data is not 0 (S8: NO), that is, if the resumption preparation process execution condition is not satisfied, the RWM head high is set above the reference value of the relative address. The process proceeds to the initialization process (after S24). On the other hand, when the checksum data is 0 (S8: YES), the process proceeds to power-off recovery processing (S9 to S17) described later.
<<< Processing at power-off recovery >>>

電源断復帰時の処理においては、スタックポインタにスタックポインタバッファの値がセットされ、スタックポインタが電源断時に保存した値に戻される(S9)。さらに、メイン基板102とサブ基板104との通信線の検査を行うため、演出制御コマンドをサブ基板104へ送信する要求がされ(S10,S11)、装飾ランプ(遊技効果ランプ)及び効果音(音響演出)の演出を電源断発生前の状態に戻すため、演出制御コマンドをサブ基板104へ送信する要求がされる(S10,S11)。また、特別図柄表示装置(70,71)の作動保留球数に対応したコマンドの要求を行うため、図柄記憶数コマンド要求処理が実行される(S12)。   In the process at the time of power-off recovery, the value of the stack pointer buffer is set in the stack pointer, and the stack pointer is restored to the value stored at the time of power-off (S9). Furthermore, in order to inspect the communication line between the main board 102 and the sub board 104, a request to send an effect control command to the sub board 104 is made (S10, S11), a decoration lamp (game effect lamp) and a sound effect (sound) In order to return the effect of (effect) to the state before the occurrence of the power interruption, a request to transmit the effect control command to the sub-board 104 is made (S10, S11). Further, in order to make a request for a command corresponding to the number of suspended balls in the special symbol display device (70, 71), symbol memory number command request processing is executed (S12).

さらに、ソレノイドが電源断発生前の出力状態に戻される(S13)。具体的には、第2始動入賞口63、第1大入賞口91、第2大入賞口92の開放/閉鎖状態を電源断前の状態に復帰させるため、普通電動役物ソレノイド76、大入賞口ソレノイド80,81についてのソレノイド作動ビットが順に検査される。普通電動役物ソレノイド制御のソレノイド作動ビットがオンの場合、電源断前に第2始動入賞口63が開放中と判断し、第2始動入賞口63を開放させるため、ソレノイド作動設定値を普通電動役物ソレノイド制御に格納する。続いて、第1大入賞ソレノイド制御のソレノイド作動ビットがオンの場合、電源断前に第1大入賞口91が開放中と判断し、第1大入賞口91を開放させるため、ソレノイド作動設定値を普通電動役物ソレノイド制御に格納する。また、第2大入賞ソレノイド制御のソレノイド作動ビットがオンの場合、電源断前に第2大入賞口92が開放中と判断し、第1大入賞口91を開放させるため、ソレノイド作動設定値を普通電動役物ソレノイド制御に格納する。   Further, the solenoid is returned to the output state before the occurrence of power interruption (S13). Specifically, in order to return the open / closed state of the second start winning opening 63, the first big winning opening 91, and the second big winning opening 92 to the state before the power is turned off, the normal electric accessory solenoid 76, the big winning prize The solenoid actuation bits for the mouth solenoids 80, 81 are inspected in turn. When the solenoid operation bit of the normal electric accessory solenoid control is on, it is determined that the second start winning port 63 is open before the power is turned off, and the second start winning port 63 is opened. Store in the accessory solenoid control. Subsequently, when the solenoid operation bit of the first grand prize solenoid control is on, it is determined that the first big prize port 91 is open before the power is turned off, and the first big prize port 91 is opened. Is stored in the normal electric accessory solenoid control. When the solenoid operation bit of the second grand prize solenoid control is on, it is determined that the second big prize opening 92 is open before the power is turned off, and the solenoid action setting value is set to open the first big prize opening 91. Store in the normal electric accessory solenoid control.

この後、以降の特別図柄の設定の処理(S14)へ進み、特別図柄表示装置(70,71)の確率変動機能の作動状態の情報が設定される。この処理においては、特別図柄モードフラグの値がロードされ(言換えれば、特別図柄モードフラグの値が組み込まれ)、所定のレジスタにストアされる。次に、電源復帰の設定(S15)、及びデータ格納処理(S16)が実行される、さらに、払出制御基板との通信線異常の検出設定(S17)が実行され、ここでは、エラーフラグのアドレスがセットされ、エラー1フラグの内容の通信線異常ビットがセットされる。そして、制御処理は、後述する遊技進行割込み用の計時設定の処理(S27)へ進む。
<<<RWMの初期化時の処理>>>
Thereafter, the process proceeds to the subsequent special symbol setting process (S14), and information on the operating state of the probability variation function of the special symbol display device (70, 71) is set. In this process, the value of the special symbol mode flag is loaded (in other words, the value of the special symbol mode flag is incorporated) and stored in a predetermined register. Next, the power recovery setting (S15) and the data storage process (S16) are executed, and further, the communication line abnormality detection setting with the payout control board is executed (S17). Here, the error flag address is set. Is set, and the communication line abnormality bit of the content of the error 1 flag is set. Then, the control process proceeds to a time setting process (S27) for a game progress interrupt described later.
<<< Processing at initialization of RWM >>>

RWMの初期化時の処理(S24〜S28)においては、RWM領域をクリアした後(S24)、RWMの初期設定(S25)、演出表示器(演出図柄表示装置60)の初期化(S26)、及び遊技進行割込み用の計時設定(S27)を行う。このうちRWM領域のクリア(S24)においては、各種のエラー発生時に設定されるエラーフラグの情報を含めてクリが行われる。そして、RWM領域のクリア(S24)からRWMの初期設定(S25)の処理においては、RWM全領域にクリアデータ(00H)がセットされ、クリアデータが相対アドレスの基準値としてストアされ、この基準値が+1される。さらに、この基準値のビット7が検査され、検査結果の判定が実行される。検査結果の判定の処理において、検査結果が0であれば、前述のクリアデータを上記基準値にストアする処理に戻り、初期化データ設定テーブルのアドレスがセットされる。これにより、RWMの初期値が設定される。なお、RWM領域のクリアは、全領域に対して行うものに限定されず、例えば特定の情報が記憶された一部の領域のみや、未使用の領域を除いた領域のみをクリアするようにしてもよい。   In the RWM initialization process (S24 to S28), after clearing the RWM area (S24), initial setting of the RWM (S25), initialization of the effect indicator (effect symbol display device 60) (S26), And the time setting for game progress interruption is performed (S27). Among these, in the clearing of the RWM area (S24), clearing is performed including information on error flags set when various errors occur. In the process of clearing the RWM area (S24) to initial setting of the RWM (S25), clear data (00H) is set in the entire RWM area, and the clear data is stored as the reference value of the relative address. Is incremented by one. Further, bit 7 of the reference value is inspected, and the inspection result is determined. If the inspection result is 0 in the inspection result determination process, the process returns to the process of storing the clear data in the reference value, and the address of the initialization data setting table is set. Thereby, the initial value of RWM is set. Note that the clearing of the RWM area is not limited to that performed for all areas. For example, only a part of the area where specific information is stored or only an area excluding an unused area is cleared. Also good.

演出表示器の初期化(S26)においては、演出図柄表示装置60の初期化、エラー状態及び不正賞球監視情報のコマンド送信要求を行うため、演出初期コマンド設定テーブルのアドレスを引数としてコマンド要求データ設定処理を実行する。
<<<遊技進行割込み用の計時設定の処理>>>
In initialization of the effect display (S26), command request data is used with the address of the effect initial command setting table as an argument to initialize the effect symbol display device 60, and to send a command transmission request for error status and illegal prize ball monitoring information. Execute the setting process.
<<< Processing of timing setting for game progress interruption >>>

遊技進行割込み用の計時設定の処理(S27)においては、遊技進行割込みを起動させるため、対応するカウンタ設定レジスタに所定の大きさのカウント値をセットし、遊技進行割込みを例えば4ms毎に発生させる。
<<<循環処理>>>
In the time setting process for game progress interrupt (S27), in order to start the game progress interrupt, a count value of a predetermined size is set in the corresponding counter setting register, and a game progress interrupt is generated every 4 ms, for example. .
<<< Circulation >>>

遊技進行割込み用の計時設定(S27)の後には、割込み処理時間監視手段である所定のタイマの再帰(リスタート)準備や、各種乱数の初期値の生成に用いられる乱数関係値の更新を行う循環処理(S33(S28〜S32))が実行される。この循環処理(S33)においては、遊技機の管理を行うため、先ず、割込みを禁止する(S28)。さらに、割込み処理時間監視手段を再帰させる準備のため、割込み処理時間監視手段クリアレジスタに第1再帰情報となる所定の値をセットする(S29)。この第1再帰情報は、予め定められた例えば55H等の値である。また、電源断確認情報が設定されているか否かが判定され(S30)、設定されている場合には(S30:Yes)、後述する電源断処理(S301〜S307)に移行する。   After the time setting for game progress interruption (S27), preparation for recursion (restart) of a predetermined timer which is an interrupt processing time monitoring means and update of random number related values used for generating initial values of various random numbers are performed. Circulation processing (S33 (S28 to S32)) is executed. In this circulation process (S33), in order to manage gaming machines, interrupts are first prohibited (S28). Further, in preparation for recurring the interrupt processing time monitoring means, a predetermined value as the first recursion information is set in the interrupt processing time monitoring means clear register (S29). The first recursive information is a predetermined value such as 55H. Further, it is determined whether or not the power-off confirmation information is set (S30). If it is set (S30: Yes), the process proceeds to power-off processing (S301 to S307) described later.

前述の電源断確認情報が設定されているか否かの判定(S30)において、設定されていないと判定された場合には(S30:No)、初期値乱数更新処理を実行し(S31)、普通図柄当り初期値乱数、特別図柄当り図柄初期値乱数、及び特別図柄当りソフト初期値乱数を更新する。この後、割込みを許可した後(S32)、再度割込み禁止(S28)の処理に戻り、それ以降の処理(S28〜S32)を順次繰り返して制御処理を循環させる。   If it is determined that the power-off confirmation information is set (S30), if it is not set (S30: No), an initial value random number update process is executed (S31). The initial value random number per symbol, the initial symbol random number per special symbol, and the soft initial value random number per special symbol are updated. Thereafter, after permitting the interrupt (S32), the process returns to the interrupt prohibition (S28) process again, and the subsequent processes (S28 to S32) are sequentially repeated to circulate the control process.

割込み許可(S28)が実行される毎に前述の遊技進行割込みが可能となり、遊技進行割込み処理は、S27で設定された周期情報に基づいて、所定の周期(ここでは4ms周期)毎に繰返される。
<<<電源断処理>>>
Each time the interrupt permission (S28) is executed, the above-described game progress interrupt becomes possible, and the game progress interrupt process is repeated every predetermined period (here, 4ms period) based on the period information set in S27. .
<<< Power-off process >>>

電源断確認情報が設定されているか否かの判定(S30)において、設定されていると判定された場合には(S30:Yes)、CPU501が強制再帰手段として機能し、第22再帰情報の設定が行われ(S301)、割込み処理時間監視手段の監視用計時が強制的に初期化され、計時が再帰させられる。この強制的な第2再帰情報の設定(S301)により、電力供給が再開された場合には、監視用計時が再帰した状態で、制御処理が開始される。つまり、電源断発生時に監視用計時を強制的に再帰させておくことにより、電力供給を再開した直後の制御処理において、監視用計時が再帰しないまま、制御処理が進行することを防止できるようになっている。   If it is determined in the determination (S30) whether the power-off confirmation information is set (S30: Yes), the CPU 501 functions as a forced recursion unit and sets the 22nd recursion information. (S301), the monitoring time of the interrupt processing time monitoring means is forcibly initialized, and the time is recurred. When the power supply is resumed by setting the second recursive information forcibly (S301), the control process is started with the monitoring time recursed. In other words, by forcibly recurring the monitoring timing when the power is cut off, the control processing can be prevented from proceeding without recurring monitoring timing in the control processing immediately after the power supply is resumed. It has become.

続いて、電源投入時の情報フラグ(電源断情報フラグ)のアドレスがセットされ、当該電源断情報フラグの値が読み出されて、電源投入時の情報が正常に保存されているか否かが判定される(S302)。そして、電源投入時の情報が正常に保存されていた場合には(S302:Yes)、電源断正常データ(ここでは55H)が設定され(S304)、電源断となる際のRWMのチェックサムが算出されて(S305)、チェックサムデータが作成される。そして、アクセス禁止の設定を行い(S306)、電源断時ループ処理(S307)により、供給電圧が所定値以下となって電源断となるのを待つ。   Subsequently, the address of the power-on information flag (power-off information flag) is set, the value of the power-off information flag is read, and it is determined whether the information at the time of power-on is stored normally (S302). If the information at the time of power-on is normally stored (S302: Yes), power-off normal data (55H in this case) is set (S304), and the RWM checksum at the time of power-off is set. Calculated (S305), checksum data is created. Then, access prohibition is set (S306), and the power-off loop processing (S307) waits for the supply voltage to become a predetermined value or less and power-off.

前述の電源投入時の情報が正常に保存されているか否かの判定(S302)において、判定結果が正常に保存されていない(S302:No)となった場合には、電源断異常データが設定(S303)された後、前述のアクセス禁止の処理(S306)に移行する。
<<<電源断確認情報設定の処理>>>
In the determination of whether or not the information at the time of power-on is normally stored (S302), if the determination result is not normally stored (S302: No), the power failure error data is set. After (S303), the process proceeds to the aforementioned access prohibition process (S306).
<<< Processing for setting power-off confirmation information >>>

次に、前述のS30において判定される電源断確認情報を設定する場合の制御処理について説明する。先ず、電源投入がされた後、所定の処理を経て制御開始処理(図12及び図13参照)が開始され、更に制御開始処理中に実行される遊技進行割込み用の計時設定の処理(図13中にS27で示す)などを経て、ループ処理が開始される。このループ処理は、図13中の循環処理(S33)に対応するものである。   Next, the control process when setting the power-off confirmation information determined in S30 described above will be described. First, after the power is turned on, a control start process (see FIG. 12 and FIG. 13) is started through a predetermined process, and further a time setting process for game progress interruption (FIG. 13) executed during the control start process. The loop process is started through the process (shown in S27). This loop processing corresponds to the circulation processing (S33) in FIG.

ループ処理の開始後、遊技進行割込み処理の開始タイミングが到来すると、図14に示す遊技進行割込み処理が実行される。この後、遊技進行割込み処理の途中で電源電圧の低下が発生した場合、NMI端子への信号入力によるノンマスカブル割込み処理(NMI処理)に伴い、制御処理は所定のアドレス(ここでは0066H番地)にジャンプし移行する。そして、制御プログラムにより上述の所定のアドレス(0066H)以降に規定された内容に従い、NMI処理が発生したことを示す電源断確認情報が設定され、この電源断確認情報を設定するための電源断確認情報設定の処理がリターンに抜け、遊技進行割込み処理中の電断発生時の処理に戻る。そして、当該周期の遊技進行割込み処理において実行されるべき残りの処理が全て完了してリターンに抜け、制御開始処理(ここでは図13中のS33に対応するループ処理)に戻る。   When the start timing of the game progress interrupt process comes after the start of the loop process, the game progress interrupt process shown in FIG. 14 is executed. After this, if a power supply voltage drop occurs during the game progress interrupt process, the control process jumps to a predetermined address (address 0066H in this case) along with the non-maskable interrupt process (NMI process) by signal input to the NMI terminal. Then migrate. Then, in accordance with the contents specified after the predetermined address (0066H) by the control program, power-off confirmation information indicating that NMI processing has occurred is set, and power-off confirmation for setting this power-off confirmation information The information setting process returns to the return, and the process returns to the process when the power interruption occurs during the game progress interrupt process. Then, all the remaining processes to be executed in the game progress interruption process in the cycle are completed, the process returns to the return, and the process returns to the control start process (here, the loop process corresponding to S33 in FIG. 13).

また、上記ループ処理中に電源電圧の低下が発生した場合、NMI処理に伴い、前述の場合と同様に制御処理は所定のアドレス(0066H)に移行する。そして、電源断確認情報が設定されてリターンに抜け、制御開始処理(ここではループ処理(S33))に戻る。   If a drop in power supply voltage occurs during the loop process, the control process shifts to a predetermined address (0066H) in the same way as described above with the NMI process. Then, the power-off confirmation information is set, the process returns to the return, and the process returns to the control start process (here, the loop process (S33)).

そして、前述のように電源断確認情報が設定されているか否かが判定される(図13中のS30)。ここで、電源断確認情報が設定されていなければ、ループ処理開始の処理に移行し循環処理(図13中のS33)が継続される。一方、電源断確認情報が設定されていれば、電源断処理(前述のS301〜S307に対応)が実行され、電源断処理の終了後、電源断となる。   Then, it is determined whether or not the power-off confirmation information is set as described above (S30 in FIG. 13). Here, if the power-off confirmation information is not set, the process proceeds to the loop process start process and the circulation process (S33 in FIG. 13) is continued. On the other hand, if the power-off confirmation information is set, the power-off process (corresponding to S301 to S307 described above) is executed, and the power is turned off after the power-off process is completed.

また、本実施例においては、ノンマスカブル割込みが発生した場合に、実行中の命令が命令単位で完遂される。例えば、図16中に符号552で示す制御処理(ここではLD(ロード)命令)の実行中にノンマスカブル割込みが発生すると、この制御処理552は当該命令の実行中は継続され、このLD命令の実行が終わってから前述の電源断確認情報が設定される。つまり、電源断確認情報の設定時期は、命令単位の制御処理によって定まり、このような命令を完遂してから電源断確認情報が設定される。   In this embodiment, when a non-maskable interrupt occurs, the instruction being executed is completed in units of instructions. For example, if a non-maskable interrupt occurs during the execution of the control process indicated by reference numeral 552 in FIG. 16 (in this case, an LD (load) instruction), the control process 552 is continued during the execution of the instruction, and the execution of the LD instruction is executed. After the above is completed, the power-off confirmation information is set. That is, the setting time of the power-off confirmation information is determined by the control processing in units of instructions, and the power-off confirmation information is set after completing such an instruction.

ここで、上述のような命令を含む制御処理は、プログラムモジュール毎の制御処理(本実施例では、例えば制御開始処理(図12,13参照)、遊技進行割込み処理(図14参照)、初期値乱数更新処理(S31,S48)、入力処理(S45)、その他の処理)に限られるものではなく、各種データの設定や算出など(S1〜S10、S41〜S44、その他)といった制御処理も含む概念である。すなわち、遊技進行割込み処理を例に挙げれば、例えば第2再帰情報のセット(S43)の制御処理を構成する特定の命令の実行中にノンマスカブル割込みが発生した場合には、この特定の命令の実行が終わってから電源断確認情報が設定される。そして、この電源断確認情報を設定するための電源断確認情報設定の処理がリターンに抜け、遊技進行割込み処理中の電断発生時の処理に戻る。そして、当該周期の遊技進行割込み処理において実行されるべき残りの処理が全て完了してリターンに抜け、制御開始処理(図13中のS33に対応するループ処理)に戻り、電源断処理(前述のS301〜S307に対応)が実行される。   Here, the control process including the above-described command includes a control process for each program module (in this embodiment, for example, a control start process (see FIGS. 12 and 13), a game progress interrupt process (see FIG. 14), an initial value, and the like. It is not limited to random number update processing (S31, S48), input processing (S45), and other processing), but also includes control processing such as setting and calculation of various data (S1 to S10, S41 to S44, etc.). It is. That is, taking the game progress interrupt process as an example, for example, when a non-maskable interrupt occurs during execution of a specific instruction constituting the control process of the second recursive information set (S43), execution of this specific instruction Power off confirmation information is set after ending. Then, the process for setting the power-off confirmation information for setting the power-off confirmation information is returned to the return, and the process returns to the process when the power interruption occurs during the game progress interruption process. Then, all the remaining processes to be executed in the game progress interruption process in the cycle are completed, the process returns to the return, the process returns to the control start process (loop process corresponding to S33 in FIG. 13), and the power-off process (described above) (Corresponding to S301 to S307) is executed.

また、例えば各種乱数更新処理(S46)内の特定の命令の実行中にノンマスカブル割込みが発生した場合にも、この特定の命令の実行が終わってから電源断確認情報が設定される。そして、電源断確認情報設定の処理がリターンに抜け、遊技進行割込み処理中の電断発生時の処理に戻り、当該周期の遊技進行割込み処理において実行されるべき残りの処理が全て完了して制御開始処理に戻り、前述の場合と同様に電源断処理が実行される。   For example, when a non-maskable interrupt occurs during execution of a specific instruction in various random number update processes (S46), the power-off confirmation information is set after the execution of the specific instruction is completed. Then, the process for setting power-off confirmation information is returned to the return, the process returns to the process at the occurrence of power interruption during the game progress interrupt process, and all the remaining processes to be executed in the game progress interrupt process in the cycle are completed and controlled. Returning to the start process, the power-off process is executed in the same manner as described above.

このような制御態様は、遊技中における様々な局面においてノンマスカブル割込みが発生した場合にも同様である。例えば、後述する入賞監視処理(S51)の開始から賞球制御処理(S52)の終了までの間の特定の命令の実行中にノンマスカブル割込みが発生した場合には、この特定の命令の実行が終わってから電源断確認情報が設定される。そして、入賞監視処理(S51)、或いは賞球制御処理(S52)に戻り、当該周期の遊技進行割込み処理において実行されるべき残りの処理が全て完了してリターンに抜け、制御開始処理(図13中のS33に対応するループ処理)に戻り、電源断処理(前述のS301〜S307に対応)が実行される。   Such a control mode is the same when a non-maskable interrupt occurs in various situations during the game. For example, when a non-maskable interrupt occurs during the execution of a specific instruction from the start of a prize monitoring process (S51) described later to the end of the prize ball control process (S52), the execution of the specific instruction is finished. After that, the power-off confirmation information is set. Then, the process returns to the winning monitor process (S51) or the prize ball control process (S52), and all the remaining processes to be executed in the game progress interrupt process in the cycle are completed and the process returns to the return, and the control start process (FIG. 13). Returning to the loop processing corresponding to S33 in the middle), the power-off processing (corresponding to S301 to S307 described above) is executed.

さらに、遊技進行割込み処理内の他の制御処理について説明すれば、特別図柄の変動に係る制御処理を規定した特別図柄制御処理(S57)、大当り抽選判定を行う処理を含んだ特別図柄変動開始監視制御処理(S60)、エラー検知及びエラー報知に係る制御処理を規定した異常検知処理(S61)、或いはその他の制御処理において特定の命令の実行中にノンマスカブル割込みが発生した場合にも、その時の命令の実行が終わってから電源断確認情報が設定され、当該周期の遊技進行割込み処理において実行されるべき残りの処理が全て完了してから、電源断処理が実行される。   Further, other control processes in the game progress interruption process will be described. Special symbol control start process (S57) defining a control process related to special symbol fluctuation, special symbol fluctuation start monitoring including a process of performing a big hit lottery determination Even when a non-maskable interrupt occurs during execution of a specific command in the control processing (S60), the abnormality detection processing (S61) defining the control processing related to error detection and error notification, or other control processing, the command at that time After the execution of is completed, the power-off confirmation information is set, and the power-off process is executed after all the remaining processes to be executed in the game progress interruption process of the cycle are completed.

続いて、NMI入力があってから電源断までの所要時間の管理について説明する。本実施例においては、電源電圧が下がって所定値に達してから電源断となるまでの時間である電源断所要時間は、電源断所要時間設定手段によって設定されている。電源断所要時間設定手段としては、例えば、電源基板251に設けられたコンデンサ等の、放電を制御する機器を利用することが可能である。電源断所要時間は、図17中に符号Mで示すように、電源電圧が正常値(例えば30V)から徐々に下がり始め、電源基板251が電断信号を出力する値である電断信号出力電圧(例えば18V)に達してから、メイン基板102のCPU501に入力される供給電圧である5Vに達するのに要する時間である。本実施例において電源断所要時間Xは、制御開始処理を完遂するのに要する時間A、遊技進行割込み処理を完遂するのに要する時間B、電源断確認情報を設定するのに要する時間C、及び電源断処理を完遂するのに要する時間Dの総和よりも大きく、A+B+C+D<Xの関係が成立するよう設定されている。   Next, the management of the time required from when there is an NMI input until the power is turned off will be described. In this embodiment, the power-off required time, which is the time from when the power supply voltage decreases to reach a predetermined value until the power is turned off, is set by the power-off required time setting means. As the power-off required time setting means, for example, a device that controls discharge, such as a capacitor provided on the power supply board 251, can be used. The power-off required time is a power-off signal output voltage that is a value at which the power-supply board 251 outputs a power-off signal as the power-supply voltage starts to gradually decrease from a normal value (for example, 30 V) as indicated by a symbol M in FIG. This is the time required to reach 5V, which is the supply voltage input to the CPU 501 of the main board 102, after reaching (for example, 18V). In this embodiment, the power-off required time X is a time A required to complete the control start process, a time B required to complete the game progress interrupt process, a time C required to set the power-off confirmation information, and It is set so that the relationship of A + B + C + D <X is satisfied, which is larger than the total time D required to complete the power-off process.

また、電源断所要時間は、メイン基板102に従属して各種制御コマンドを受信するサブ基板104が電源断処理を開始するタイミングよりも先に終了するよう設定されている。つまり、ぱちんこ遊技機10の電源がオフする際には、メイン基板102のみでなく、副制御手段であるサブ基板104でも、その制御処理の内容に応じて、電源断に備える電源断処理が実行されるが、サブ基板104で実行される電源断処理の開始タイミングは、メイン基板102において電源断所要時間が経過して、電源断処理が終了した後となっている。なお、サブ基板104のみでなく、例えば払出制御基板54にも同様に、メイン基板102において電源断所要時間が経過した後に、電源断処理を開始するようにしてもよい。また、このようなメイン基板102の電源断所要時間と、副制御手段の電源断処理の開始時期との関係を、払出制御基板54のみに適用してもよい。さらに、サブ基板104及び払出制御基板54以外に、制御機能を有する副制御手段が備えられている場合には、その副制御手段に適用することも可能である。
<<<初期値乱数更新処理>>>
Further, the power-off required time is set to end before the timing at which the sub-board 104 that receives various control commands depending on the main board 102 starts the power-off process. That is, when the power of the pachinko gaming machine 10 is turned off, not only the main board 102 but also the sub board 104 as the sub-control means executes the power-off process in preparation for power-off according to the contents of the control process. However, the start timing of the power-off process executed in the sub-board 104 is after the power-off required time has elapsed in the main board 102 and the power-off process is completed. In addition, not only the sub-board 104 but also the payout control board 54, for example, the power-off process may be started after the power-off required time has elapsed in the main board 102. In addition, the relationship between the power-off required time of the main board 102 and the start time of the power-off process of the sub-control unit may be applied only to the payout control board 54. Further, in the case where a sub control means having a control function is provided in addition to the sub board 104 and the payout control board 54, it is also possible to apply to the sub control means.
<<< Initial value random number update processing >>>

前述の初期値乱数更新処理(S31)においては、普通図柄当り初期値乱数、特別図柄当り図柄初期値乱数、及び特別図柄当りソフト初期値乱数を更新するため、初期値乱数更新テーブルから乱数の更新回数取得し、更新回数分、初期値乱数の更新を行う。乱数の更新回数の取得においては、初期値乱数更新テーブル(図15(a)参照)の左列1行目の欄のデータアドレス(0D10H)の示す内容(乱数個数)を乱数の更新回数とする。なお、ここでは、乱数個数は、普通図柄当り初期値乱数、特別図柄当り図柄初期値乱数、特別図柄当りソフト初期値乱数の3つになる。さらに、更新回数分の初期値乱数の更新の処理においては、更新回数分、初期値乱数更新テーブルの普通図柄当り初期値乱数のアドレス(下位)のデータアドレス(0D13H)を引数として2バイトソフト乱数更新処理(後述する)を実行する。なお、更新回数が2回以上の場合、前回実行した2バイトソフト乱数更新処理で取得した相対アドレスの基準値を引数とする。そして、2バイトソフト乱数更新処理で得られた乱数値を用い、初期値乱数更新処理(S31)における乱数関係値が生成される。   In the initial value random number update process (S31), the initial value random number per normal symbol, the symbol initial value random number per special symbol, and the soft initial value random number per special symbol are updated. The number of times is acquired, and the initial random number is updated for the number of times of update. In the acquisition of the random number update count, the content (number of random numbers) indicated by the data address (0D10H) in the first column of the first column of the initial random number update table (see FIG. 15A) is used as the random number update count. . Here, the number of random numbers is three: an initial value random number per normal symbol, a symbol initial value random number per special symbol, and a soft initial value random number per special symbol. Furthermore, in the process of updating the initial value random number for the number of times of update, a 2-byte soft random number for the number of times of update, using as an argument the data address (0D13H) of the initial value random number address (lower order) per normal symbol of the initial value random number update table. Update processing (described later) is executed. When the number of updates is two or more, the reference value of the relative address acquired by the previously executed 2-byte soft random number update process is used as an argument. Then, using the random number value obtained by the 2-byte soft random number update process, a random number related value in the initial value random number update process (S31) is generated.

具体的には、相対アドレスの基準値として初期値乱数更新テーブルのアドレスがセットされ、乱数個数として上記基準値の内容がロードされる(言換えれば、上記基準値の内容が組み込まれる)。次に、上記基準値が+1され、乱数個数の退避が行われた後、2バイトソフト乱数更新処理が実行される。さらに、乱数個数の復帰が行われ、乱数個数を−1した結果が0でなければ前述の乱数個数の退避の処理に戻り、0であれば初期値乱数更新処理(S31)を抜ける。   Specifically, the address of the initial value random number update table is set as the reference value of the relative address, and the content of the reference value is loaded as the number of random numbers (in other words, the content of the reference value is incorporated). Next, after the reference value is incremented by 1 and the number of random numbers is saved, a 2-byte soft random number update process is executed. Further, the number of random numbers is restored, and if the result of decrementing the number of random numbers by -1 is not 0, the process returns to the process for saving the number of random numbers, and if it is 0, the initial value random number update process (S31) is exited.

また、初期値乱数更新処理(S31)においては、乱数関係値に異常があった場合に、その乱数関係値の補正が行われる。この乱数関係値の補正の処理においては、2バイトソフト乱数更新処理において得られた乱数値を基にして乱数関係値が生成され、この乱数関係値から所定値を減算する。減算した結果が0であれば、乱数関係値が正常であると判定して乱数関係値をストアするが、0未満の場合、乱数関係値が正常であると判定し、乱数関係値の最大値+1を補正値としてセットし、この補正値を乱数関係値に加算してから、得られた乱数関係値のストアを実行する。これにより、乱数関係値の異常が検出されるとともに、異常であった乱数関係値が補正される。つまり、乱数関係値の補正は、乱数関係値に対する所定の演算を行い、演算結果が所定の値とならなかった場合に、乱数関係値の補正を行うものである。
<<<2バイトソフト乱数更新処理>>>
In addition, in the initial value random number update process (S31), if there is an abnormality in the random number related value, the random number related value is corrected. In this random number related value correction process, a random number related value is generated based on the random number value obtained in the 2-byte soft random number update process, and a predetermined value is subtracted from this random number related value. If the result of subtraction is 0, it is determined that the random number related value is normal and stores the random number related value, but if it is less than 0, it is determined that the random number related value is normal and the maximum value of the random number related value +1 is set as a correction value, the correction value is added to the random number related value, and then the obtained random number related value is stored. Thereby, the abnormality of the random number related value is detected, and the abnormal random number related value is corrected. That is, the random number related value is corrected by performing a predetermined calculation on the random number related value and correcting the random number related value when the calculation result does not become the predetermined value.
<<< 2-byte soft random number update process >>>

前述の2バイトソフト乱数更新処理においては、入力された相対アドレスの基準値から乱数の最大値、乱数の格納アドレスを取得し、乱数の更新を行う。乱数の最大値の取得においては、上記基準値+0の示す内容を乱数最大値下位、上記基準値+1の示す内容を乱数最大値上位とする。乱数の格納アドレスの取得においては、上記基準値+2の示す内容を乱数格納アドレス下位とし、RWM先頭上位アドレスを乱数格納アドレス上位とする。乱数の更新においては、乱数を+1し、乱数最大値を超える場合には0にするため、取得した乱数格納アドレスの示す内容から2バイトの乱数を取得し、取得した乱数を+1する。加算した結果、取得した乱数最大値を超えた場合、0をセットする。なお、更新した乱数は、取得した乱数格納アドレスに格納した後、出力する乱数データにセットする。また、上記基準値+3を出力する上記基準値にセットする。
<<遊技進行割込み処理>>
In the above-described 2-byte soft random number update process, the maximum random number value and random number storage address are acquired from the input relative address reference value, and the random number is updated. In the acquisition of the maximum value of the random number, the content indicated by the reference value +0 is the lower value of the random number maximum value, and the content indicated by the reference value +1 is the higher value of the random number maximum value. In the acquisition of the random number storage address, the content indicated by the reference value +2 is the lower random number storage address, and the RWM head upper address is the higher random number storage address. In updating the random number, the random number is incremented by +1, and when the random number exceeds the maximum value, the random number is incremented by 0. Therefore, a 2-byte random number is acquired from the content indicated by the acquired random number storage address, and the acquired random number is incremented by one. As a result of addition, if the obtained random number maximum value is exceeded, 0 is set. The updated random number is stored in the obtained random number storage address and then set in the output random number data. Further, the reference value +3 is set to the reference value to be output.
<< Game progress interrupt processing >>

次に、遊技進行割込み用の計時設定(S27)の処理において設定された周期情報に基づき4ms周期で繰返される遊技進行割込み処理について説明する。なお、説明に先立ち、以下で用いる「特別電動役物」、「条件装置」、「役物連続作動装置」の用語について説明する。これらは何れもぱちんこ遊技機10の制御処理における概念上の機器を表しており、これらのうち「特別電動役物」は、第1大入賞口91、第2大入賞口92を作動させることとなるものである。また、「条件装置」は、第1大入賞口91や第2大入賞口92に進入した遊技球が検出された場合に作動するものであり、「役物連続作動装置」は、特別電動役物を連続して複数回作動させることができるものである。   Next, the game progress interrupt process repeated at a cycle of 4 ms based on the period information set in the process of time setting for game progress interrupt (S27) will be described. Prior to the description, the terms “special electric accessory”, “condition device”, and “substantial action continuous operation device” used below will be described. Each of these represents a conceptual device in the control process of the pachinko gaming machine 10, and among these, the “special electric accessory” operates the first grand prize port 91 and the second major prize port 92. It will be. In addition, the “condition device” is activated when a game ball that has entered the first grand prize winning port 91 or the second grand prize winning port 92 is detected. An object can be operated several times in succession.

図14に示すように、遊技進行割込み処理においては、割込み動作条件の設定(S41,S42)、割込み処理時間監視手段の再帰(S43)、遊技機の管理(S45〜S70)、割込みの許可(S71)を順に行い、遊技進行割込みが発生する前の処理に復帰させる。   As shown in FIG. 14, in the game progress interrupt processing, setting of interrupt operation conditions (S41, S42), recursion of interrupt processing time monitoring means (S43), management of gaming machines (S45 to S70), interrupt permission ( S71) is performed in order to return to the process before the game progress interruption occurs.

具体的には、割込み動作条件の設定の処理(S41,S42)においては、割込みフラグをクリアするため、割込み動作条件設定値が、遊技進行割込み制御レジスタに格納され(S41)、割込み動作条件設定値が、所定の入力端子に対応した制御レジスタにセットされる(S42)。この後、第2再帰情報がセットされ(S43)、更に第2再帰情報が割込み処理時間監視手段レジスタにセットされる(S44)。第2再帰情報は、後述するように、先にセットされた第1再帰情報とともに、割込み処理時間監視手段の監視用計時を再帰させてリスタートさせるための条件となるものである。   Specifically, in the interrupt operation condition setting process (S41, S42), in order to clear the interrupt flag, the interrupt operation condition setting value is stored in the game progress interrupt control register (S41), and the interrupt operation condition setting is performed. The value is set in the control register corresponding to the predetermined input terminal (S42). Thereafter, the second recursion information is set (S43), and the second recursion information is further set in the interrupt processing time monitoring means register (S44). As will be described later, the second recursion information is a condition for recurring and restarting the monitoring time of the interrupt processing time monitoring means together with the first recursion information set previously.

遊技機の管理(S45〜S70)においては、遊技機の管理を行うため、以下の処理を順に実行する。先ず、特定の信号の入力を監視するため、入力処理(S45)を実行する。ここで監視の対象となっているのは、遊技盤面に取り付けられている各種スイッチ、受け皿満タンスイッチ、開放信号、磁気検知信号、電波検知信号、ガラス未検出信号、及び断線短絡電源異常検知信号である。   In the management of gaming machines (S45 to S70), the following processing is executed in order to manage gaming machines. First, an input process (S45) is executed to monitor the input of a specific signal. What is monitored here is the various switches attached to the game board surface, the pan full switch, the open signal, the magnetic detection signal, the radio wave detection signal, the glass non-detection signal, and the disconnection short circuit power supply abnormality detection signal It is.

続いて、各種乱数更新処理(S46)を実行し、普通図柄変動パターン乱数、及び変動パターン乱数を更新する。さらに、初期値更新型乱数更新処理(S47)を実行し、普通図柄当り乱数、特別図柄当り図柄乱数、及び特別図柄当りソフト乱数を更新する。次に、初期値乱数更新処理(S48)を実行し、普通図柄当り初期値乱数、特別図柄当り図柄初期値乱数、及び特別図柄当りソフト初期値乱数を更新する。また、2バイトタイマの更新を行うため、タイマ減算処理(S49)を実行し、第2始動入賞口63の有効期間を設定するため、第2始動口の有効期間設定処理(S50)を実行する。   Subsequently, various random number update processing (S46) is executed to update the normal symbol variation pattern random number and the variation pattern random number. Further, an initial value update type random number update process (S47) is executed to update the random numbers per ordinary symbol, the symbol random numbers per special symbol, and the soft random numbers per special symbol. Next, an initial value random number update process (S48) is executed to update the initial value random number per normal symbol, the symbol initial value random number per special symbol, and the soft initial value random number per special symbol. Further, in order to update the 2-byte timer, a timer subtraction process (S49) is executed, and in order to set an effective period of the second start winning opening 63, an effective period setting process (S50) of the second start opening is executed. .

さらに、入賞監視処理(S51)が実行され、賞球を払い出す回数の記憶、盤用外部情報の出力要求の作成、及びサブ基板104に送信するコマンドの送信要求が行われる。続いて、払出制御基板45を制御するため、賞球制御処理(S52)を実行する。   Further, a winning monitoring process (S 51) is executed to store the number of times a prize ball is paid out, create an output request for board external information, and send a command to be sent to the sub-board 104. Subsequently, in order to control the payout control board 45, a prize ball control process (S52) is executed.

次に、遊技球が普通図柄作動ゲート(作動口68a,68b)を通過したとき、普通図柄に係る乱数を記憶するため、普通図柄作動ゲート監視処理(S53)を実行し、普通図柄表示装置又は普通図柄電動役物に係る処理を行うため、普通図柄制御処理(S54)を実行する。さらに、普通図柄の変動開始の監視を行うため、普通図柄変動開始監視処理(S55)を実行する。また、遊技球の第1始動入賞口62及び第2始動入賞口63の入賞の監視を行うため、始動口監視制御処理(S56)を実行し、第1特別図柄表示装置70又は第2特別図柄表示装置71に係る処理を行うため、特別図柄制御処理(S57)を実行する。続いて、特別電動役物に係る処理を行うため、特別電動役物制御処理(S58)を実行し、第1大入賞口91又は第2大入賞口92の有効期間に係る処理を行うため、大入賞口有効期間設定処理(S59)を実行し、第1特別図柄192及び第2特別図柄193の変動開始の監視を行うため、特別図柄変動開始監視制御処理(S60)を実行する。   Next, when the game ball passes through the normal symbol operation gate (operation ports 68a, 68b), in order to store a random number related to the normal symbol, a normal symbol operation gate monitoring process (S53) is executed, and the normal symbol display device or In order to perform the process related to the normal symbol electric accessory, the normal symbol control process (S54) is executed. Further, the normal symbol variation start monitoring process (S55) is executed in order to monitor the normal symbol variation start. In addition, in order to monitor the winnings of the first starting winning port 62 and the second starting winning port 63 of the game ball, the starting port monitoring control process (S56) is executed, and the first special symbol display device 70 or the second special symbol is executed. In order to perform a process related to the display device 71, a special symbol control process (S57) is executed. Subsequently, in order to perform the process related to the special electric accessory, the special electric accessory control process (S58) is executed, and the process related to the validity period of the first grand prize port 91 or the second grand prize port 92 is performed. The special winning opening valid period setting process (S59) is executed, and the special symbol fluctuation start monitoring control process (S60) is executed in order to monitor the fluctuation start of the first special symbol 192 and the second special symbol 193.

次に、磁気の監視、断線・短絡・電源の監視、電波の監視、ガラス枠セット・遊技盤の枠の開閉状態の監視、及びペアガラスの監視を行うため、異常検知処理(S61)を実行し、入球通過時間異常の検出を行うため、入球通過時間異常検出処理(S62)を実行する。さらに、特別電動役物が連続して作動する回数、エラー状態、普通図柄表示装置の作動保留球数、及び特別図柄表示装置の作動保留球数の表示要求を行うため、遊技状態表示処理(S63)を実行し、発射ハンドル17のタッチ状態(操作量の状態を含む)の監視を行うため、ハンドル状態信号検査処理(S64)を実行する。また、特別図柄の表示、普通図柄の表示、特別図柄表示装置(70,71)の作動保留球数の表示、普通図柄表示装置の作動保留球数の表示、遊技状態の表示、特別電動役物が連続して作動する回数の表示、及びエラーの表示を行うため、LED出力処理(S65)を実行する。   Next, anomaly detection processing (S61) is performed to monitor magnetism, disconnection / short circuit / power supply monitoring, radio wave monitoring, glass frame set / game board frame open / closed status monitoring, and paired glass monitoring Then, in order to detect an abnormality in the incoming ball passage time, an incoming ball passage time abnormality detection process (S62) is executed. In addition, in order to make a display request for the number of times that the special electric accessory is continuously operated, the error state, the number of the operation reserved balls of the normal symbol display device, and the number of the operation reserved balls of the special symbol display device, a game state display process (S63). ) And a handle state signal inspection process (S64) is executed to monitor the touch state (including the operation amount state) of the firing handle 17. In addition, special symbol display, normal symbol display, special symbol display device (70, 71) display of the number of active reserve balls, normal symbol display device display of the number of active reserve balls, game state display, special electric accessory LED output processing (S65) is executed in order to display the number of times of continuous operation and error display.

続いて、遊技球の発射の禁止/許可の信号を出力するため、発射制御信号出力処理(S66)を実行し、試験装置に出力する信号を作成し出力するため、試験信号出力処理(S67)を実行する。さらに、普通電動役物ソレノイド、第1大入賞口開放ソレノイド、及び第2大入賞口開放ソレノイドの出力データの出力を行うため、ソレノイド出力処理(S68)を実行し、演出制御コマンドを送信するため、演出制御コマンド送信処理(S69)を実行し、外部端子(外部中継端子基板49(図2参照)の各種外部出力端子)に信号を出力するため、外部情報出力処理(S70)を実行する。   Subsequently, a firing control signal output process (S66) is executed in order to output a signal for prohibiting / permitting the launch of the game ball, and a test signal output process (S67) in order to create and output a signal to be output to the test apparatus. Execute. Further, in order to output the output data of the normal electric accessory solenoid, the first big prize opening opening solenoid, and the second big prize opening opening solenoid, the solenoid output processing (S68) is executed, and an effect control command is transmitted. The effect control command transmission process (S69) is executed, and the external information output process (S70) is executed to output signals to the external terminals (various external output terminals of the external relay terminal board 49 (see FIG. 2)).

この後、割込み許可(S71)が実行され、制御処理がリターン(RET)に抜ける。そして、次回の遊技割込みが実行されるまでの残余時間を利用して、制御開始処理の前述の循環処理(S28〜S32)が実行される。
<<<入力処理>>>
Thereafter, the interrupt permission (S71) is executed, and the control process returns to the return (RET). Then, using the remaining time until the next game interrupt is executed, the above-described circulation process (S28 to S32) of the control start process is executed.
<<< Input processing >>>

入力処理(S45)は、スイッチ入力に係る制御モジュールであり、この入力処理(S45)においては、遊技盤面に取り付けられている各スイッチや、断線短絡電源異常検知信号、開放信号、電波検知信号、及び、タッチ状態信号の各種信号の入力を監視するため、入力情報テーブルから検査回数、入力ポートアドレス、レベルマスクデータ、レベルアドレス、立ち上りマスクデータを取得し、スイッチ入力を検査回数分行う。   The input process (S45) is a control module related to switch input. In this input process (S45), each switch attached to the game board surface, a disconnection short circuit power supply abnormality detection signal, an open signal, a radio wave detection signal, In order to monitor the input of various signals of the touch state signal, the number of inspections, the input port address, the level mask data, the level address, and the rising mask data are acquired from the input information table, and the switch input is performed for the number of inspections.

検査回数、入力ポートアドレス、レベルマスクデータ、レベルアドレス、立ち上りマスクデータの取得においては、入力情報テーブルのアドレス(入力情報テーブル+0)が示す内容を検査回数とし、入力情報テーブル+1から入力ポートアドレス、レベルマスクデータ、レベルアドレス、立ち上りマスクデータを検査回数分取得する。   In obtaining the number of inspections, the input port address, the level mask data, the level address, and the rising mask data, the contents indicated by the address of the input information table (input information table +0) are used as the number of inspections, and the input port address from the input information table +1 Level mask data, level address, and rising mask data are acquired for the number of inspections.

スイッチ入力においては、取得した入力ポートのレベルデータを作成した後、取得した立ち上がりマスクデータが0以外の場合、立ち上がりデータを作成する。レベルデータの作成においては、取得したレベルマスクデータが示すビットの状態を、取得した入力ポートから所定期間(例えば5μs)以上の間隔を開けて、所定回数(例えば5回)連続で読み込み、5回の読み込みが全て一致したビットを今回のレベルデータとして、取得したレベルアドレスに格納する。レベルデータの上位アドレス(レベル上位アドレス)はRWM先頭上位アドレス(0F0H)としている。また、5回の読み込みで1回も一致しなかったビットとしては、前回のレベルデータを格納する。   In switch input, after the level data of the acquired input port is created, if the acquired rising mask data is other than 0, the rising data is created. In creating the level data, the state of the bit indicated by the acquired level mask data is read continuously for a predetermined number of times (for example, 5 times) at intervals of a predetermined period (for example, 5 μs) from the acquired input port, and 5 times. Are stored in the acquired level address as the current level data. The upper address (level upper address) of the level data is the RWM head upper address (0F0H). Further, the previous level data is stored as a bit that has not been matched even once in five readings.

立ち上がりデータの作成においては、取得した立ち上がりマスクデータが示すビットの立ち上がりデータを作成するため、今回と前回のレベルデータの排他的論理和を演算し、排他的論理和の結果と今回のレベルデータの論理積を演算する。さらに、作成した立ち上がりデータと、取得した立ち上がりマスクデータの論理積を演算し、この論理積の結果を取得したレベルアドレスのアドレスに+1したアドレスの領域に格納する。
<<<各種乱数更新処理>>>
In creating rising data, in order to create rising data of the bit indicated by the acquired rising mask data, the exclusive OR of the current and previous level data is calculated, and the result of the exclusive OR and the current level data Calculate logical product. Further, the logical product of the generated rising data and the acquired rising mask data is calculated, and the result of this logical product is stored in the area of the address added to the acquired address of the level address.
<<<< Random number update process >>>>

各種乱数更新処理(S46)においては、普通図柄変動パターン乱数及び変動パターン乱数を更新する。普通図柄変動パターン乱数の更新においては、普通図柄変動パターン乱数を+1し、最大値(ここでは232)を超える場合は0にするため、普通図柄変動パターン乱数の下位アドレス及び普通図柄変動パターン乱数最大値+1(ここでは223)を引数としてRWM更新処理を実行する。変動パターン乱数の更新においては、変動パターン乱数を更新するため、変動パターン乱数の値から所定値(ここでは3511)を減算する。減算した結果が0未満の場合、減算した結果に変動パターン乱数最大値+1(ここでは50000)を加算する。演算した結果は、変動パターン乱数に格納する。
<<<初期値更新型乱数更新処理>>>
In the various random number update processing (S46), the normal symbol variation pattern random number and the variation pattern random number are updated. In the update of the normal symbol variation pattern random number, the normal symbol variation pattern random number is incremented by 1 and set to 0 when exceeding the maximum value (232 in this case), the lower address of the normal symbol variation pattern random number and the normal symbol variation pattern random number maximum The RWM update process is executed with the value +1 (here, 223) as an argument. In updating the variation pattern random number, a predetermined value (3511 in this case) is subtracted from the value of the variation pattern random number in order to update the variation pattern random number. If the subtraction result is less than 0, the variation pattern random number maximum value + 1 (here, 50000) is added to the subtraction result. The calculated result is stored in a fluctuation pattern random number.
<<< Initial value update type random number update process >>>

初期値更新型乱数更新処理(S47)においては、普通図柄当り乱数、特別図柄当り図柄乱数、及び特別図柄当りソフト乱数を更新するため、初期値更新型乱数更新テーブル(図15(b)参照)から更新する乱数の数、乱数の最大値、初期値更新型乱数のアドレス、初期値ワークのアドレスを取得し、初期値更新型乱数の更新を行う。   In the initial value update type random number update process (S47), the initial value update type random number update table (see FIG. 15B) is used to update the random numbers per normal symbol, the symbol random numbers per special symbol, and the soft random numbers per special symbol. Obtain the number of random numbers to be updated, the maximum random number value, the address of the initial value update type random number, the address of the initial value work, and update the initial value update type random number.

更新する乱数の数、乱数の最大値、初期値更新型乱数のアドレス、及び初期値ワークのアドレスの取得においては、初期値更新型乱数更新テーブルの左列1行目の欄のデータアドレス(0D30H)の示す内容(乱数個数)を更新する乱数の数とし、初期値更新型乱数更新テーブルの左列2行目の欄以降から乱数の最大値、初期値更新型乱数のアドレス、及び初期値ワークのアドレスを、更新する乱数の数分、順次取得する。   In the acquisition of the number of random numbers to be updated, the maximum random number value, the initial value update type random number address, and the initial value work address, the data address (0D30H) in the first column of the left column of the initial value update type random number update table ) (Number of random numbers) is the number of random numbers to be updated, and the maximum random number, initial value update random number address, and initial value work from the second column on the left column of the initial value update random number update table Are sequentially acquired for the number of random numbers to be updated.

初期値更新型乱数の更新においては、初期値更新型乱数を+1し、最大値を超える場合は0にするため、初期値更新型乱数更新テーブル内の初期値更新型乱数の最大値が記載されているアドレスを引数として、2バイトソフト乱数更新処理を実行する。実行の結果、更新した初期値更新型乱数の値が取得した初期値ワークの内容と一致した場合、初期値更新型乱数の初期値を更新するため、取得した初期値ワークのアドレスから2行下のアドレス(0D37H),3行下のアドレス(0D38H)が示す初期値乱数の内容を新しい初期値とし、取得した初期値更新型乱数のアドレス及び取得した初期値ワークのアドレスに格納する。
<<<初期値乱数更新処理>>>
In the initial value update type random number update, the initial value update type random number is incremented by +1 and set to 0 when the maximum value is exceeded, so the maximum value of the initial value update type random number in the initial value update type random number update table is described. The 2-byte soft random number update process is executed using the current address as an argument. As a result of execution, if the updated initial value update type random number value matches the contents of the acquired initial value work random number, the initial value of the initial value update type random number is updated two lines below the acquired initial value work address. The contents of the initial value random number indicated by the address (0D37H) and the address three lines below (0D38H) are set as new initial values and stored in the acquired initial value update type random number address and the acquired initial value work address.
<<< Initial value random number update processing >>>

初期値乱数更新処理については、制御開始処理で実行される初期値乱数更新処理と同じプログラムモジュールが用いられているが、乱数関係値の更新の周期が遊技進行割込みの周期(ここでは4ms)となる点で、制御開始処理中に実行される場合とは異なっている。
<<<タイマ減算処理>>>
For the initial value random number update process, the same program module as the initial value random number update process executed in the control start process is used. This is different from the case where it is executed during the control start process.
<<< Timer Subtraction Processing >>>

タイマ減算処理(S49)においては、2バイトタイマの更新を行うため、2バイトタイマ更新テーブルのアドレス(2バイトタイマ更新テーブルのアドレス+0)の内容をタイマ数とし、次のアドレス(2バイトタイマ更新テーブルのアドレス+1)からタイマ数分、2バイトタイマの下位アドレスの取得を行う。また、取得した2バイトタイマの検査を行い、検査の結果、2バイトタイマの値が0以外の場合、2バイトタイマの更新(2バイトタイマの内容−1)を行う。検査の結果、2バイトタイマの値が0の場合、2バイトタイマの更新は行わない。
<<<始動口2有効期間設定処理>>>
In the timer subtraction process (S49), in order to update the 2-byte timer, the contents of the 2-byte timer update table address (2-byte timer update table address + 0) are set as the number of timers, and the next address (2-byte timer update) The lower address of the 2-byte timer is acquired for the number of timers from the table address + 1). Also, the obtained 2-byte timer is inspected. If the 2-byte timer value is other than 0 as a result of the inspection, the 2-byte timer is updated (contents of 2-byte timer-1). If the value of the 2-byte timer is 0 as a result of the inspection, the 2-byte timer is not updated.
<<< Starting Port 2 Valid Period Setting Process >>>

始動口2の有効期間設定処理(S50)においては、第2始動入賞口63の有効期間を設定するため、普通図柄ステイタス(後述する)の値及び始動口2有効延長タイマの値に対応した値を始動口2有効期間フラグ(の記憶領域)に格納する。普通図柄ステイタスの値、及び、始動口2有効延長タイマの値に対応した始動口2有効期間フラグに格納する値の関係は、普通図柄ステイタスの値が普通電動役物作動中を示す3である場合、始動口2有効延長タイマの値は何も設定されず、始動口2有効期間フラグに格納する値として所定の始動口2有効期間データ(1)が用いられる。一方、普通図柄ステイタスの値が普通電動役物作動中以外の値を示す場合、始動口2有効延長タイマの値が0でなければ、始動口2有効期間フラグに格納する値として所定の始動口2有効期間データ(1)が用いられる。また、普通図柄ステイタスの値が普通電動役物作動中以外の値を示す場合、始動口2有効延長タイマの値が0であれば、始動口2有効期間フラグに格納する値として所定の始動口2無効期間データ(0)が用いられる。
<<<入賞監視処理>>>
In the effective period setting process (S50) of the start port 2, in order to set the effective period of the second start winning port 63, a value corresponding to the value of the normal symbol status (described later) and the value of the start port 2 effective extension timer Is stored in the start port 2 effective period flag (storage area thereof). The relationship between the value of the normal symbol status and the value stored in the start port 2 effective period flag corresponding to the value of the start port 2 effective extension timer is 3 in which the normal symbol status value indicates that the normal electric accessory is operating. In this case, no value is set for the start port 2 effective extension timer, and predetermined start port 2 effective period data (1) is used as a value stored in the start port 2 effective period flag. On the other hand, if the value of the normal symbol status indicates a value other than that during normal electric accessory operation, and if the value of the start port 2 effective extension timer is not 0, the predetermined start port is stored as the value stored in the start port 2 effective period flag. 2 Valid period data (1) is used. In addition, when the value of the normal symbol status indicates a value other than that during the operation of the normal electric accessory, if the value of the start port 2 effective extension timer is 0, the predetermined start port is stored as the value stored in the start port 2 effective period flag. 2 Invalid period data (0) is used.
<<< winning monitoring process >>>

入賞監視処理(S51)においては、賞球を払出す回数の記憶、外部端子(前述の外部中継端子基板49(図2参照)の各種外部出力端子)へ出力するセキュリティの出力要求の作成、及び、演出制御基板(ここではサブメイン基板301)に送信するコマンドの送信要求を行うため、入賞監視テーブルのアドレス(入賞監視テーブル+0)の示す内容を検査回数とし、検査回数分、遊技球のスイッチ通過検査を行う。スイッチ通過検査の結果、遊技球がスイッチを通過したと判断した場合、賞球回数の記憶、外部端子へ出力するセキュリティの出力要求の作成、及び、コマンドの送信要求を行う。ここで、入賞監視テーブルの構成は、検査回数、及び、各種遊技球検出装置(遊技球スイッチ)の検査データからなり、検査データの構成は、スイッチビットデータ、EVENTデータ、MODEデータ、賞球判定データ、無効期間有無判定データからなる。
<<<賞球制御処理>>>
In the winning monitoring process (S51), storage of the number of times a prize ball is paid out, creation of a security output request to be output to an external terminal (various external output terminals of the aforementioned external relay terminal board 49 (see FIG. 2)), and In order to make a transmission request for a command to be transmitted to the effect control board (here, the sub-main board 301), the contents indicated by the winning monitoring table address (winning monitoring table +0) are set as the number of inspections, and the game ball switches for the number of inspections. Perform pass inspection. As a result of the switch passage inspection, when it is determined that the game ball has passed the switch, the number of prize balls is stored, a security output request to be output to an external terminal is created, and a command transmission request is made. Here, the configuration of the winning monitoring table includes the number of inspections and inspection data of various game ball detection devices (game ball switches). The configuration of the inspection data includes switch bit data, EVENT data, MODE data, and winning ball determination Data and invalid period presence / absence judgment data.
<<< Prize Ball Control Processing >>>

賞球制御処理(S52)においては、払出制御基板45を制御するため、払出制御基板45からのデータ受信の監視、払出制御基板45へのコマンド送信要求、払出制御基板45へのコマンド送信及び払出制御基板45からの受信データ検査を順に行う。払出制御基板45からのデータ受信の監視においては、データ受信監視処理を実行する。払出制御基板45へのコマンド送信要求においては、払出コマンド要求処理を実行する。払出制御基板45へのコマンド送信及び払出制御基板45からの受信データ検査においては、払出コマンド制御処理を実行する。
<<<普通図柄作動ゲート監視処理>>>
In the prize ball control process (S52), in order to control the payout control board 45, monitoring of data reception from the payout control board 45, a command transmission request to the payout control board 45, command transmission to the payout control board 45 and payout Inspection of received data from the control board 45 is performed in order. In monitoring data reception from the payout control board 45, data reception monitoring processing is executed. In a command transmission request to the payout control board 45, payout command request processing is executed. In command transmission to the payout control board 45 and reception data inspection from the payout control board 45, payout command control processing is executed.
<<< Normal symbol operation gate monitoring process >>>

普通図柄作動ゲート監視処理(S53)においては、遊技球の普通図柄作動ゲート(ここでは作動口68a,68b)通過を監視し、普通図柄作動ゲートを通過していると判断した場合には、普通図柄作動保留球数(普通図柄の保留数)の更新を行う。更新の結果、普通図柄作動保留球数の値が最大数である4未満のときに遊技球の通過を確認した場合、普通図柄に係る乱数の記憶を行う。
<<<普通図柄制御処理>>>
In the normal symbol operation gate monitoring process (S53), the normal symbol operation gate (in this case, the operation ports 68a and 68b) of the game ball is monitored, and if it is determined that the game ball passes the normal symbol operation gate, Renew the number of symbol operation hold balls (ordinary symbol hold number). As a result of the update, when it is confirmed that the game ball has passed when the value of the number of normal symbol operation reserved balls is less than the maximum number of 4, the random number related to the normal symbol is stored.
<<< Normal symbol control processing >>>

普通図柄制御処理(S54)においては、普通図柄表示装置59又は普通電動役物に係る処理を行うため、普通図柄の状態を監視し、普通図柄制御中と判断した場合に、普通図柄表示装置59又は普通電動役物に係る処理を実行する。普通図柄の状態の監視においては、前述の普通図柄ステイタスが0の以外の場合、普通図柄制御中と判断する。普通図柄制御処理中、普通図柄ステイタスの値は1〜4をとり、各普通図柄ステイタス1〜4において対応する制御モジュールが実行される。そして、普通図柄ステイタス1は普通図柄変動中、普通図柄ステイタス2は普通図柄停止図柄表示中、普通図柄ステイタス3は普通電動役物作動中、普通図柄ステイタス4は普通電動役物作動終了デモ中に対応している。
<<<普通図柄変動開始監視処理>>>
In the normal symbol control process (S54), since the normal symbol display device 59 or the process related to the ordinary electric accessory is performed, the state of the normal symbol is monitored, and when it is determined that the normal symbol control is being performed, the normal symbol display device 59 is displayed. Or the process which concerns on a normal electric accessory is performed. In monitoring the state of the normal symbol, if the normal symbol status is other than 0, it is determined that the normal symbol control is in progress. During the normal symbol control process, the value of the normal symbol status takes 1 to 4, and the corresponding control module is executed in each normal symbol status 1 to 4. The normal symbol status 1 is during normal symbol fluctuation, the normal symbol status 2 is during normal symbol stop symbol display, the normal symbol status 3 is during normal electric character operation, and the normal symbol status 4 is during normal electric character operation end demonstration. It corresponds.
<<< Normal symbol variation start monitoring process >>>

普通図柄変動開始監視処理(S55)においては、普通図柄の作動状態を監視し、普通図柄の変動を開始させると判断した場合、普通図柄作動保留球数の更新、当り判定、停止図柄の決定、普通図柄の変動設定を行う。普通図柄の作動状態の監視においては、普通図柄ステイタスの値が、普通図柄変動待機中を示す0の場合、かつ、普通図柄作動保留球数の値が0以外の場合、普通図柄の変動を開始させると判断する。普通図柄作動保留球数の更新においては、普通図柄作動保留球数の内容を−1する。当り判定、停止図柄の決定においては、普通図柄当り判定処理を実行する。普通図柄の変動設定においては、普通図柄変動パターン番号の設定、普通図柄の変動時間の設定の後、普通図柄の状態設定及び当り判定、変動パターン決定に使用したRWMのクリアを行う。   In the normal symbol fluctuation start monitoring process (S55), when the normal symbol operating state is monitored and it is determined that the normal symbol fluctuation is started, the normal symbol operation holding ball number update, hit determination, stop symbol determination, Set normal symbol variation. When monitoring the normal symbol operating state, if the normal symbol status value is 0, indicating that normal symbol variation is on standby, and if the normal symbol operation holding ball count value is other than 0, normal symbol variation starts. Judge that you want to. In updating the number of normal symbol operation reservation balls, the content of the number of normal symbol operation reservation balls is decremented by one. In the determination of the hit determination and the stop symbol, the normal symbol hit determination process is executed. In the normal symbol fluctuation setting, after setting the normal symbol fluctuation pattern number and the normal symbol fluctuation time, the RWM used for normal symbol state setting and hit determination and fluctuation pattern determination is cleared.

普通図柄変動パターン番号の設定においては、確率変動機能検査処理を実行し、実行の結果、取得した普通確変作動データ及び普通図柄変動制御テーブルのアドレスを引数としてバイトデータ取得処理を実行する。実行の結果、取得した基底アドレスと取得した1バイトデータを加算して算出したアドレス及び普通図柄変動パターン判定領域の値を引数として1バイト選択番号取得処理を実行する。実行の結果、取得した選択番号を普通図柄変動パターン番号とする。普通図柄の変動時間の設定においては、普通図柄変動時間テーブルアドレスを基準として(−2して)得た値及び普通図柄変動パターン番号を引数として1バイト選択番号取得処理を実行する。実行の結果、取得した2バイトデータを普通図柄タイマに格納する。普通図柄の状態設定及び当り判定、変動パターン決定に使用したRWMのクリアにおいては、普通図柄の状態を普通図柄変動中にするため、普通図柄変動中状態設定テーブルのアドレスを引数としてデータ格納処理を実行する。また、当り判定に使用した普通図柄当り判定領域及び変動パターンの決定に使用した普通図柄変動パターン判定領域を0でクリアする。
<<<始動口監視制御処理>>>
In setting the normal symbol variation pattern number, the probability variation function inspection processing is executed, and as a result of the execution, byte data acquisition processing is executed using the acquired normal probability variation operation data and the address of the normal symbol variation control table as arguments. As a result of the execution, a 1-byte selection number acquisition process is executed with the address calculated by adding the acquired base address and the acquired 1-byte data and the value of the normal symbol variation pattern determination area as arguments. As a result of execution, the acquired selection number is set as a normal symbol variation pattern number. In setting the variation time of the normal symbol, the 1-byte selection number acquisition process is executed using the value obtained with reference to the normal symbol variation time table address (-2) and the normal symbol variation pattern number as arguments. As a result of execution, the acquired 2-byte data is stored in the normal symbol timer. In clearing the RWM used for normal symbol state setting, hit determination, and variation pattern determination, the data storage process is performed using the normal symbol variation state setting table address as an argument to set the normal symbol state to normal symbol variation. Run. Further, the normal symbol per-determination determination region used for the hit determination and the normal symbol variation pattern determination region used for determination of the variation pattern are cleared to zero.
<<< Starting Port Monitoring and Control Processing >>>

始動口監視制御処理(S56)においては、遊技球の始動口1(第1始動入賞口62)入賞及び始動口2(第2始動入賞口63)入賞の監視を行う。始動口1及び始動口2の何れについても、対応する監視テーブル(始動口1監視テーブル又は始動口2監視テーブル)を用いて始動口監視処理が実行されるが、始動口2については、始動口2有効期間フラグの値を検査し、検査の結果、始動口2有効期間フラグの値が所定の始動口2有効期間データである場合に、始動口監視処理が実行される。
<<<特別図柄制御処理>>>
In the starting port monitoring control process (S56), the game ball starting port 1 (first starting winning port 62) winning and starting port 2 (second starting winning port 63) winning are monitored. For both the start port 1 and the start port 2, the start port monitoring process is executed using the corresponding monitoring table (start port 1 monitoring table or start port 2 monitoring table). The value of the 2 effective period flag is inspected, and when the value of the start port 2 effective period flag is predetermined start port 2 effective period data as a result of the inspection, the start port monitoring process is executed.
<<< Special Symbol Control Processing >>>

特別図柄制御処理(S57)においては、当り待ちの状態の検査を行い、当り待ちの状態と判断した場合、特別図柄表示装置1(第1特別図柄表示装置70)又は特別図柄表示装置2(第2特別図柄表示装置71)に係る処理を実行する。当り待ち状態の検査においては、特電遊技ステイタス(後述する)の値が0の場合、当り待ちの状態であると判断する。特別図柄表示装置1又は特別図柄表示装置2に係る処理においては、特別図柄表示装置1又は特別図柄表示装置2に係る処理の何れかを行うため、特図2遊技ステイタスの値を検査する。検査の結果、0の場合、特別図柄表示装置1に係る処理を行うと判断し、0以外の場合、特別図柄表示装置2に係る処理を行うと判断する。特別図柄表示装置1に係る処理、及び、特別図柄表示装置2に係る処理の各々においては、対応する特図遊技ステイタス(特図1遊技ステイタス又は特図2遊技ステイタス)のアドレス及び特図制御テーブル(特図1制御テーブル又は特図2制御テーブル)のアドレスを引数として特別図柄制御汎用処理を実行する。
<<<特別電動役物制御処理>>>
In the special symbol control process (S57), the waiting state is inspected, and when it is determined that the winning state is the special symbol display device 1 (first special symbol display device 70) or special symbol display device 2 (first 2 The processing related to the special symbol display device 71) is executed. In the hit waiting state test, if the value of the special electric game status (described later) is 0, it is determined that the hit waiting state. In the process related to the special symbol display device 1 or the special symbol display device 2, the value of the special symbol 2 game status is inspected in order to perform any of the processes related to the special symbol display device 1 or the special symbol display device 2. If the result of the inspection is 0, it is determined that the process related to the special symbol display device 1 is performed. If the result is other than 0, it is determined that the process related to the special symbol display device 2 is performed. In each of the processing related to the special symbol display device 1 and the processing related to the special symbol display device 2, the address and the special symbol control table of the corresponding special game status (special game 1 game status or special game 2 game status). The special symbol control general-purpose process is executed with the address of the special figure 1 control table or special figure 2 control table as an argument.
<<< Special Electric Appliance Control Process >>>

特別電動役物制御処理(S58)においては、特別電動役物に係る処理を行うため、条件装置及び特別電動役物の作動状態を検査し、条件装置が作動中又は特別電動役物が作動中と判断した場合、特別電動役物に係る処理を実行する。条件装置及び特別電動役物の作動状態の検査においては、特電遊技ステイタスの値が0以外の場合、条件装置が作動中又は特別電動役物が作動中と判断する。条件装置が作動中又は特別電動役物が作動中、特電遊技ステイタスの値は1〜8をとり、各特電遊技ステイタス1〜8において対応する制御モジュールが実行される。そして、特電遊技ステイタス1は大入賞口開放準備中、特電遊技ステイタス2は特別電動役物作動中、特電遊技ステイタス3は大入賞口閉鎖中、特電遊技ステイタス4は大当り終了デモ中に対応している。
<<<大入賞口有効期間設定処理>>>
In the special electric accessory control process (S58), in order to perform processing related to the special electric accessory, the operating state of the condition device and the special electric accessory is inspected, and the condition device is operating or the special electric accessory is operating. If it is determined, the process related to the special electric accessory is executed. In the inspection of the operating state of the condition device and the special electric accessory, if the value of the special electric game status is other than 0, it is determined that the condition device is operating or the special electric accessory is operating. While the condition device is operating or the special electric accessory is operating, the value of the special electric game status takes 1 to 8, and the corresponding control module is executed in each special electric game status 1 to 8. The special electric game status 1 is in preparation for the opening of the big prize opening, the special electric game status 2 is in operation of the special electric accessory, the special electric game status 3 is in the closing of the special prize opening, and the special electric game status 4 is in the big hit end demonstration. Yes.
<<< Big prize opening period setting process >>>

大入賞口有効期間設定処理(S59)においては、大入賞口有効期間バッファの値に対応した値を大入賞口有効期間フラグに格納する。例えば、大入賞口有効期間バッファの値が0の場合、大入賞口無効期間データを大入賞口有効期間フラグに格納し、大入賞口有効期間バッファの値が0以外の場合、大入賞口有効期間データを大入賞口有効期間フラグに格納する。本実施例では、大入賞口として第1大入賞口91及び第2大入賞口92を備えているが、何れについても同様の制御処理を適用することが可能である。
<<<特別図柄変動開始監視制御処理>>>
In the big prize opening validity period setting process (S59), a value corresponding to the value of the big prize opening validity period buffer is stored in the big prize opening validity period flag. For example, if the value of the prize winning unit valid period buffer is 0, the prize winning unit invalid period data is stored in the prize winning unit valid period flag, and if the value of the prize winning unit valid period buffer is other than 0, the prize winning unit valid The period data is stored in the big prize opening validity period flag. In the present embodiment, the first prize winning port 91 and the second prize winning opening 92 are provided as the prize winning openings, but the same control process can be applied to both.
<<< Special Symbol Variation Start Monitoring Control Process >>>

特別図柄変動開始監視制御処理(S60)においては、特別図柄1(ここでは第1特別図柄192)及び特別図柄2(ここでは第1特別図柄192の変動開始の監視を行う。特別図柄1及び特別図柄2の何れにおいても、特図遊技ステイタス(特図1遊技ステイタス又は特図2遊技ステイタス)のアドレス及び特図変動開始監視テーブル(特図1変動開始監視テーブル又は特図2変動開始監視テーブル)のアドレスを引数として特別図柄変動開始監視処理を実行する。
<<<異常検知処理>>>
In the special symbol variation start monitoring control process (S60), the variation start of the special symbol 1 (here, the first special symbol 192) and the special symbol 2 (here, the first special symbol 192) is monitored. In any of the symbols 2, the address of the special figure game status (special figure 1 game status or special figure 2 game status) and the special figure fluctuation start monitoring table (special figure 1 fluctuation start monitoring table or special figure 2 fluctuation start monitoring table) The special symbol variation start monitoring process is executed with the address of.
<<< Anomaly detection processing >>>

異常検知処理(S61)においては、磁気の監視、断線・短絡・電源の監視、電波の監視、ガラス枠セット・遊技盤の枠・裏セット(ここではセット基盤39)の開閉状態の監視等を行うためエラー判定値の作成を行う。その後、エラー状態の検査、エラー状態の記憶、及び、演出制御基板(ここではサブメイン基板301)への遊技機のエラー状態演出の表示要求を順に行う。なお、エラー状態の検査でエラー状態に変化無しと判断した場合、エラー状態の記憶、及び、演出制御基板への遊技機のエラー状態演出の表示要求は行わない。   In the abnormality detection process (S61), magnetic monitoring, disconnection / short circuit / power supply monitoring, radio wave monitoring, glass frame set / game board frame / back set (here, set base 39) open / closed state monitoring, etc. To do so, create an error judgment value. After that, the error state inspection, the storage of the error state, and the display request of the error state effect of the gaming machine to the effect control board (here, the sub main board 301) are sequentially performed. If it is determined in the error state inspection that there is no change in the error state, the storage of the error state and the display of the error state effect of the gaming machine on the effect control board are not performed.

エラー判定値の作成においては、エラー判定値を作成するため、磁気検知信号の検査、断線短絡電源異常検知信号の検査、電波検知信号の検査、及び、開放信号の検査を順に行う。ただし、これらの検査に使用する検査データは、受信信号レベルの値とエラーフラグの値を排他的論理和した結果に通信異常マスクデータで論理積した値としている。エラー状態の検査においては、エラー状態の検査を行うため、エラーフラグ比較値とエラーフラグの値を比較し、一致した場合、エラー状態に変化無しと判断する。なお、エラーフラグの比較値は、エラー判定値の作成で作成したエラー判定値のビット0に通信線異常判定の値のビット0を反映した値としている。エラー状態の記憶においては、エラー状態の検査で作成したエラーフラグ比較値をエラーフラグに格納する。演出制御基板への遊技機のエラー状態演出の表示要求においては、MODE(エラーA)データ、及び、エラー状態の検査で作成したエラーフラグ比較値を引数としてコマンド要求設定処理を実行する。
<<<入球通過時間異常検出処理>>>
In creating the error judgment value, in order to create the error judgment value, the magnetic detection signal inspection, the disconnection short circuit power supply abnormality detection signal inspection, the radio wave detection signal inspection, and the open signal inspection are sequentially performed. However, the inspection data used for these inspections is a value obtained by logically ANDing the result of exclusive OR of the value of the received signal level and the value of the error flag with the communication abnormality mask data. In the error state inspection, the error flag comparison value is compared with the error flag value to check the error state, and if they match, it is determined that there is no change in the error state. The comparison value of the error flag is a value reflecting bit 0 of the communication line abnormality determination value in bit 0 of the error determination value created in creating the error determination value. In storing the error state, the error flag comparison value created in the error state inspection is stored in the error flag. In the display request of the error state effect of the gaming machine to the effect control board, the command request setting process is executed using the MODE (error A) data and the error flag comparison value created in the error state inspection as arguments.
<<< Entry Entry Time Abnormality Detection Processing >>>

入球通過時間異常検出処理(S62)においては、入球通過時間異常の検出を行うため、各スイッチ(各入賞検出装置)レベルの連続オン時間の監視を行い、監視の結果、前回から変化があったと判断した場合、入球通過時間異常の設定、コマンドの送信要求、外部端子へ出力するセキュリティの出力要求の作成を順に行う。ただし、各スイッチレベルの連続オン時間の監視で、連続オン時間が異常ではないと判断した場合、外部端子へ出力するセキュリティの出力要求の作成は行わない。   In the incoming ball passage time abnormality detection process (S62), in order to detect the incoming ball passage time abnormality, the continuous on time of each switch (each winning detection device) level is monitored. If it is determined that there has been, the setting of an abnormal entry time, a command transmission request, and a security output request to be output to an external terminal are created in order. However, when it is determined that the continuous on time is not abnormal in the monitoring of the continuous on time at each switch level, a security output request to be output to the external terminal is not created.

各スイッチレベルの連続オン時間の監視においては、各スイッチレベルの連続オン時間の監視を行うため、連続スイッチテーブルのアドレスの示す内容を検査回数とし、検査回数分、スイッチビットデータを順次取得する。取得した各スイッチビットデータに対応したタイマアドレスの取得、スイッチレベルのオン時間の計測を行い、連続オン時間が異常と判断した場合、各スイッチビットデータに対応したアドレスに記憶されたEVENTデータの取得を行う。連続オン時間が異常ではないと判断した場合、EVENT(エラーB0)データ(00H)を設定する。なお、取得したEVENTデータと入球通過時間異常フラグ(後述する)の値が異なる場合、前回から変化があったと判断する。入球通過時間異常の設定においては、EVENTデータを入球通過時間異常フラグに格納する。コマンドの送信要求においては、MODE(エラーB)データ(9EH)及びEVENTデータを引数としてコマンド要求設定処理を実行する。外部端子へ出力するセキュリティの出力要求の作成においては、異常センサ検知タイマのアドレス+1を引数として信号出力要求処理を実行する。
<<<遊技状態表示処理>>>
In monitoring the continuous on-time of each switch level, in order to monitor the continuous on-time of each switch level, the content indicated by the address of the continuous switch table is set as the number of inspections, and switch bit data is sequentially acquired for the number of inspections. Obtain the timer address corresponding to each acquired switch bit data, measure the switch level on time, and if the continuous on time is determined to be abnormal, obtain the EVENT data stored at the address corresponding to each switch bit data I do. If it is determined that the continuous on-time is not abnormal, EVENT (error B0) data (00H) is set. In addition, when the value of the acquired EVENT data and the ball passing time abnormality flag (described later) is different, it is determined that there has been a change from the previous time. In setting the ball passing time abnormality, the EVENT data is stored in the ball passing time abnormality flag. In the command transmission request, the command request setting process is executed with MODE (error B) data (9EH) and EVENT data as arguments. In creating the security output request to be output to the external terminal, the signal output request process is executed with the address +1 of the abnormality sensor detection timer as an argument.
<<< Game state display processing >>>

遊技状態表示処理(S63)においては、特別電動役物が連続して作動する回数、エラー状態、普通図柄表示装置の作動保留球数、及び、特別図柄表示装置の作動保留球数の表示要求を行うため、特別電動役物が連続して作動する回数の表示データ作成、エラー状態の表示データ作成、普通図柄表示装置の作動保留球数の表示データ作成、及び、特別図柄表示装置の作動保留球数の表示データ作成を行う。   In the game state display process (S63), the display request for the number of times that the special electric accessory is continuously operated, the error state, the number of the operation reserved balls of the normal symbol display device, and the number of the operation reserved balls of the special symbol display device is issued. In order to perform the display data creation of the number of times that the special electric accessory is operated continuously, the display data creation of the error state, the creation of the display data of the number of suspension balls of the normal symbol display device, and the operation suspension ball of the special symbol display device Create number display data.

特別電動役物が連続して作動する回数の表示データ作成においては、特別電動役物が連続して作動する回数の表示データを作成するため、最大作動回数比較テーブルのアドレスから検査回数を取得する。取得した検査回数分、最大作動回数比較テーブルの最終ラウンドデータと大入賞口最大開放回数の値を順次比較し、一致した場合、一致した時の検査回数を特別電動役物が連続して作動する回数の表示データとして特電作動回数表示番号の領域に格納する。全て一致しなかった場合、0を表示データとして特電作動回数表示番号の領域に格納する。   In creating display data of the number of times that the special electric accessory operates continuously, in order to create display data of the number of times that the special electric accessory operates continuously, the number of inspections is acquired from the address of the maximum operation number comparison table. . For the number of inspections acquired, the final round data in the maximum operation number comparison table and the value of the maximum winning opening maximum opening number are sequentially compared. If they match, the special electric accessory operates continuously for the number of inspections when they match. It is stored in the area of the special electric operation number display number as display data of the number of times. If all do not match, 0 is stored as display data in the area of the special electric operation number display number.

エラー状態の表示データ作成においては、エラー状態の表示データを作成するため、状態表示灯1及び状態表示灯2の表示データの作成並びに主制御エラー表示灯の表示データの作成を行う。普通図柄表示装置の作動保留球数の表示データ作成、及び、特別図柄表示装置の作動保留球数の表示データ作成においては、作動保留球数更新テーブルのアドレスの示す内容を更新回数として、更新回数分、作動保留球数の下位アドレス及び点滅タイマの下位アドレスを順次取得し、点滅タイマの更新及び表示パターン番号の作成を行う。
<<<ハンドル状態信号検査処理>>>
In creating the display data of the error state, in order to create the display data of the error state, the display data of the status indicator lamp 1 and the status indicator lamp 2 and the display data of the main control error indicator lamp are created. In the creation of display data for the number of reserved balls for operation of the normal symbol display device and the display data for the number of reserved balls for operation of the special symbol display device, the contents indicated by the address of the number of operation reserved balls update table are used as the number of updates. Minutes, the lower address of the number of pending operation balls and the lower address of the blinking timer are sequentially obtained, the blinking timer is updated, and the display pattern number is created.
<<< Handle state signal inspection process >>>

ハンドル状態信号検査処理(S64)においては、発射ハンドル17のタッチ状態の監視を行うため、ハンドル状態の検査を行い、検査の結果、ハンドル状態に変化ありと判断した場合、ハンドル状態監視タイマの減算、ハンドル状態の更新、ハンドル状態監視タイマの設定、及び、ハンドル状態演出のコマンド送信要求を行う。検査の結果、ハンドル状態に変化なしと判断した場合、ハンドル状態監視タイマの設定を行う。なお、ハンドル状態監視タイマの減算において、ハンドルタイマ減算中と判断した場合、ハンドル状態に関する以降の処理は行わない。   In the handle state signal inspection process (S64), in order to monitor the touch state of the firing handle 17, the handle state is inspected, and if it is determined that the handle state has changed as a result of the inspection, the handle state monitoring timer is subtracted. , Handle state update, handle state monitoring timer setting, and handle state effect command transmission request. As a result of the inspection, if it is determined that there is no change in the handle state, a handle state monitoring timer is set. In the subtraction of the handle state monitoring timer, when it is determined that the handle timer is being subtracted, the subsequent processing relating to the handle state is not performed.

ハンドル状態の検査においては、ハンドル状態の検査を行うため、受信信号レベルの値及びハンドル状態フラグの値を検査する。そして、受信信号レベルの値を示すビットが0で、ハンドル状態フラグの値が00Hの場合、ハンドル状態に変化なしと判断し、ハンドル状態フラグの値が01Hの場合、ハンドル状態に変化ありと判断する。また、受信信号レベルの値を示すビットが1で、ハンドル状態フラグの値が00Hの場合、ハンドル状態に変化ありと判断し、ハンドル状態フラグの値が01Hの場合、ハンドル状態に変化なしと判断する。   In checking the handle state, in order to check the handle state, the value of the received signal level and the value of the handle state flag are checked. When the bit indicating the value of the received signal level is 0 and the value of the handle state flag is 00H, it is determined that there is no change in the handle state, and when the value of the handle state flag is 01H, it is determined that the handle state is changed. To do. Further, when the bit indicating the value of the received signal level is 1 and the value of the handle state flag is 00H, it is determined that there is a change in the handle state, and when the value of the handle state flag is 01H, it is determined that there is no change in the handle state. To do.

ハンドル状態監視タイマの減算においては、ハンドル状態監視タイマの減算を行うため、ハンドル状態監視タイマの内容を−1する。減算の結果、0以外の場合、タイマ減算中と判断する。ハンドル状態の更新においては、ハンドル状態の更新を行うため、ハンドル状態フラグの値に対応した値をハンドル状態フラグに格納する。ハンドル状態フラグの値が00Hの場合、ハンドル状態フラグに格納する値は01Hとなり、ハンドル状態フラグの値が01Hの場合、ハンドル状態フラグに格納する値は00Hとなる。   In the subtraction of the handle state monitoring timer, the value of the handle state monitoring timer is decremented by 1 to subtract the handle state monitoring timer. If the result of subtraction is other than 0, it is determined that the timer is being subtracted. In updating the handle state, in order to update the handle state, a value corresponding to the value of the handle state flag is stored in the handle state flag. When the value of the handle state flag is 00H, the value stored in the handle state flag is 01H, and when the value of the handle state flag is 01H, the value stored in the handle state flag is 00H.

ハンドル状態監視タイマの設定においては、ハンドル状態監視タイマの設定を行うため、ハンドル状態監視タイマにハンドル状態監視時間を格納する。ハンドル状態演出のコマンド送信要求においては、ハンドル状態演出のコマンド送信要求を行うため、MODE(ハンドル状態情報)データと、所定の値である7FHを論理積した結果、及び、ハンドル状態フラグの下位アドレスを引数としてコマンド要求設定処理を実行する。
<<<LED出力処理>>>
In setting the handle state monitoring timer, in order to set the handle state monitoring timer, the handle state monitoring time is stored in the handle state monitoring timer. In the command transmission request of the handle state effect, in order to make a command transmission request of the handle state effect, the result of ANDing MODE (handle state information) data and 7FH which is a predetermined value, and the lower address of the handle state flag The command request setting process is executed using as an argument.
<<< LED output processing >>>

LED出力処理(S65)においては、特別図柄の表示、普通図柄の表示、特別図柄表示装置の作動保留球数の表示、普通図柄表示装置の作動保留球数の表示、遊技状態の表示、特別電動役物が連続して作動する回数の表示、役物連続作動装置未作動時の特別電動役物置の作動状態の表示、(右打ちや左打ちの)打ち分け表示、及び、エラー表示を行うため、表示の初期化、表示データの出力を順次行う。   In the LED output process (S65), special symbol display, normal symbol display, special symbol display device operation hold ball number display, normal symbol display device operation hold ball number display, gaming state display, special electric drive In order to display the number of times an accessory is operated continuously, to display the operating state of the special electric accessory storage when the accessory continuous operation device is not operating, to display a right-handed or left-handed display, and to display an error Display initialization and display data output are sequentially performed.

表示の初期化においては、表示を初期化するため、クリアデータをセグメント出力ポートへ出力する。表示データの出力においては、表示データを出力するため、表示するデータに対応したデジットを出力した後、表示するデータを出力する。表示するデータに対応したデジットを出力するため、デジットカウンタの更新後、デジットのデータ出力を取得し、取得した出力データを出力する。なお、本実施例では、7セグ表示体に表示するデータ出力にあたっては、遊技の状況に応じて7セグデコーダが用いられる。そして、このLED出力処理で出力されるデータには、7セグ表示体の各セグメントのオン・オフを示すセグメントデータや、7セグデコーダへ送信されるパターンデータなどが含まれるが、7セグ表示体を制御するための構成や、より具体的な制御態様については後述する。
<<<発射制御信号出力処理>>>
In the display initialization, clear data is output to the segment output port in order to initialize the display. In the display data output, in order to output the display data, after the digit corresponding to the data to be displayed is output, the data to be displayed is output. In order to output the digit corresponding to the data to be displayed, after the digit counter is updated, the digit data output is obtained and the obtained output data is outputted. In this embodiment, when outputting data to be displayed on the 7-segment display, a 7-segment decoder is used according to the game situation. The data output by this LED output process includes segment data indicating on / off of each segment of the 7-segment display, pattern data transmitted to the 7-segment decoder, etc. A configuration for controlling and a more specific control mode will be described later.
<<< Launch control signal output processing >>>

発射制御信号出力処理(S66)においては、遊技球の発射の禁止/許可の信号を出力するため、払出制御基板45との通信状態及び断線短絡電源異常に対応した発射の禁止/許可の設定及び発射の禁止/許可の出力データの取得後、発射の禁止/許可の信号の出力を行う。払出制御基板45との通信状態及び断線短絡電源異常に対応した発射の禁止/許可の設定及び発射の禁止/許可の出力データの取得においては、ビット設定要求を反映したフラグを作成し、出力データを取得する。   In the firing control signal output process (S66), in order to output a signal for prohibiting / permitting the launch of the game ball, setting of the prohibition / permission of launch corresponding to the communication state with the payout control board 45 and the disconnection short circuit power supply abnormality and After obtaining the output data for prohibiting / permitting firing, a signal for prohibiting / permitting firing is output. In the acquisition of output data of prohibition / permission of launch and the prohibition / permission of launch corresponding to the communication state with the payout control board 45 and disconnection short circuit power supply abnormality, a flag reflecting the bit setting request is created and output data To get.

ビット設定要求を反映したフラグの作成においては、エラーフラグの通信異常ビット又はエラーフラグの断線短絡電源異常ビットがオンの場合、ビットクリア要求ありとフラグに反映し、それ以外の場合、ビットセット要求ありとフラグに反映する。出力データの取得においては、ビット設定要求を反映したフラグ、デジット等バッファのアドレス、及び、発射許可信号ビットデータを引数としてビットデータ設定処理を実行する。実行の結果、取得したビットデータを出力データとする。発射の禁止/許可の信号の出力においては、発射の禁止/許可の信号を出力するため、取得した出力データをデジット等出力ポートへ出力する。
<<<試験信号出力処理>>>
When creating a flag that reflects a bit setting request, if the error flag communication error bit or error flag disconnection short-circuit power supply error bit is on, the bit clear request is reflected in the flag, otherwise the bit set request It is reflected in the flag. In the acquisition of output data, a bit data setting process is executed with a flag reflecting a bit setting request, a buffer address such as a digit, and a firing permission signal bit data as arguments. As a result of execution, the acquired bit data is used as output data. In outputting the prohibition / permission signal, the acquired output data is output to an output port such as a digit in order to output a prohibition / permission signal.
<<< Test signal output processing >>>

試験信号出力処理(S67)においては、試験装置に出力する信号を作成し、対応した出力ポートに出力する。複数の試験信号出力ポートのうち、試験信号出力ポート1は、各特別図柄の変動中、大当り、役物連続作動装置作動中、条件装置作動中の信号を対応付けられた各端子から出力する。試験信号出力ポート2は、普通電動役物開放延長状態、普通図柄変動時間短縮状態、普通図柄高確率状態、特別図柄変動時間短縮状態、特別図柄高確率状態の信号を対応付けられた各端子から出力する。試験信号出力ポート3は、普通電動役物作動中信号、普通図柄変動中信号、普通図柄当り信号、特別電動役物作動中信号を対応付けられた各端子から出力する。各試験信号出力ポート1〜3に出力する信号の作成のため、試験信号データテーブル1〜3のうち対応する試験信号データテーブルのアドレスを引数として出力データ作成処理を行う。   In the test signal output process (S67), a signal to be output to the test apparatus is created and output to the corresponding output port. Of the plurality of test signal output ports, the test signal output port 1 outputs a signal indicating that the special symbol is changing, the jackpot, the accessory continuous operating device is operating, or the condition device operating from each terminal associated therewith. The test signal output port 2 is connected to each terminal to which signals of the normal electric accessory open extended state, the normal symbol variation time shortened state, the normal symbol high probability state, the special symbol variation time shortened state, and the special symbol high probability state are associated. Output. The test signal output port 3 outputs a normal electric accessory operating signal, an ordinary symbol changing signal, an ordinary symbol per signal, and a special electric accessory operating signal from the associated terminals. In order to create signals to be output to the test signal output ports 1 to 3, output data creation processing is performed using the address of the corresponding test signal data table among the test signal data tables 1 to 3 as an argument.

試験信号出力ポート5は、遊技機エラー状態、発射位置指定、図柄データの信号を対応付けられた各端子から出力する。試験信号出力ポート5に出力する信号の作成においては、普通図柄組合せ番号の下位2ビットを図柄データのビット0,1とする。また、試験端子エラー出力マスクデータを引数としてエラー検査処理を実行する。実行の結果、エラー検出ありの場合、遊技機エラー中と判断し、遊技機エラー状態信号のオンを作成する。それ以外の場合、遊技機エラー状態信号のオフを作成する。打ち分け状態フラグの値が0の場合、発射位置指定信号1〜3のオフを作成する。それ以外の場合は、発射位置指定信号1のオン、発射位置指定信号2及び発射位置指定信号3のオフを作成する。試験信号出力ポート6及び試験信号出力ポート7は、図柄データの信号を対応付けられた各端子から出力する。
<<<ソレノイド出力処理>>>
The test signal output port 5 outputs gaming machine error status, launch position designation, and symbol data signals from the associated terminals. In creating a signal to be output to the test signal output port 5, the lower 2 bits of the normal symbol combination number are used as bits 0 and 1 of symbol data. Further, the error inspection process is executed with the test terminal error output mask data as an argument. If an error is detected as a result of the execution, it is determined that a gaming machine error is occurring, and a gaming machine error state signal is turned on. Otherwise, create an off of gaming machine error status signal. When the value of the hit state flag is 0, the launch position designation signals 1 to 3 are created off. In other cases, the launch position designation signal 1 is turned on, and the launch position designation signal 2 and the launch position designation signal 3 are turned off. The test signal output port 6 and the test signal output port 7 output a symbol data signal from each associated terminal.
<<< Solenoid output processing >>>

ソレノイド出力処理(S68)においては、普通電動役物ソレノイド及び大入賞口開放ソレノイドの出力データの出力を行うため、普通電動役物ソレノイドの出力データの取得、大入賞口開放ソレノイドの出力データの取得、及び、出力データの出力を行う。普通電動役物ソレノイドの出力データの取得、及び、大入賞口開放ソレノイドの出力データの取得においては、それぞれ、ソレノイド作動フラグ及びソレノイド作動タイマの取得、出力データの取得、ソレノイド作動タイマの更新を順に行う。出力データの出力においては、取得した普通電動役物ソレノイドの出力データ、及び、大入賞口開放ソレノイドの出力データの論理和の結果をソレノイド出力ポートへ出力する。
<<<演出制御コマンド送信処理>>>
In the solenoid output process (S68), the output data of the normal electric accessory solenoid and the large winning opening opening solenoid are output, so the output data of the normal electric accessory solenoid and the output data of the large winning opening release solenoid are acquired. And output data. When acquiring the output data of the normal electric accessory solenoid and the output data of the large opening opening solenoid, the solenoid operation flag and solenoid operation timer are acquired, the output data is acquired, and the solenoid operation timer is updated in order. Do. In the output data output, the logical output result of the output data of the obtained ordinary electric accessory solenoid and the output data of the special prize opening opening solenoid is output to the solenoid output port.
<<< Direction control command transmission process >>>

演出制御コマンド送信処理(S69)においては、演出制御基板へ送信するコマンドの送信要求を検査し、送信要求があると判断した場合、要求するコマンドデータを取得し、使用したコマンドバッファのクリアを行い、取得したコマンドデータに対応したMODEデータの取得、MODEデータの出力、MODEデータの保持、取得したコマンドデータに対応したEVENTデータの取得、EVENTデータの出力を順次行う。コマンドデータの送出タイミングは、演出データストローブにより規定され、演出データストローブ信号のオン時間(ここでは2μs以上)の後の所定時間(ここでは46μs以上)が演出データ保持時間となっている。   In the effect control command transmission process (S69), the transmission request of the command to be transmitted to the effect control board is inspected, and when it is determined that there is a transmission request, the requested command data is acquired and the used command buffer is cleared. Then, MODE data corresponding to the acquired command data is acquired, MODE data is output, MODE data is held, EVENT data corresponding to the acquired command data is acquired, and EVENT data is output sequentially. The transmission timing of the command data is defined by the effect data strobe, and a predetermined time (here, 46 μs or more) after the on time (here, 2 μs or more) of the effect data strobe signal is the effect data holding time.

コマンドの送信要求の検査においては、コマンド要求書き込み位置(領域)の値とコマンド要求読み込み位置(領域)の値を比較し、値が一致しない場合、コマンドの送信要求があると判断する。要求するコマンドデータの取得においては、コマンド要求読み込み位置に格納されたアドレス算出値と位置補正ビットデータの論理積の2倍値とコマンドバッファのアドレスを加算し、加算の結果、取得したアドレスの内容をコマンドデータとする。なお、コマンド要求読み込み位置に格納されたアドレス算出値の取得後、コマンドデータの読み込み位置の内容を更新するため、コマンド要求読み込み位置を+1する。コマンドバッファのクリアにおいては、コマンドバッファをクリアするため、取得したコマンドデータが格納されていたコマンドバッファを0でクリアする。   In the inspection of the command transmission request, the value of the command request writing position (area) is compared with the value of the command request reading position (area), and if the values do not match, it is determined that there is a command transmission request. To obtain the requested command data, add the calculated value of the address stored in the command request reading position and the logical product of the position correction bit data and the address of the command buffer. Is command data. After obtaining the calculated address value stored at the command request reading position, the command request reading position is incremented by 1 in order to update the contents of the command data reading position. In clearing the command buffer, the command buffer in which the acquired command data is stored is cleared to 0 in order to clear the command buffer.

取得したコマンドデータに対応したMODEデータの取得においては、取得したコマンドデータ上位をMODEデータとする。MODEデータの出力においては、取得したMODEデータを演出コマンド出力ポートに出力した後、演出データストローブを出力するため、ストローブ出力処理を実行する。MODEデータの保持においては、MODEデータの保持のため、所定時間(ここでは46μs以上)ウェイトする。取得したコマンドデータに対応したEVENTデータの取得においては、取得したコマンドデータ下位をEVENTデータとする。EVENTデータの出力においては、取得したEVENTデータを前述のものと同じ演出コマンド出力ポートに出力した後、演出データストローブを出力するため、ストローブ出力処理を実行する。
<<<外部情報出力処理>>>
In acquiring MODE data corresponding to the acquired command data, the upper order of the acquired command data is set as MODE data. In outputting the MODE data, after the acquired MODE data is output to the effect command output port, a strobe output process is executed to output the effect data strobe. In holding the MODE data, a wait is performed for a predetermined time (here, 46 μs or more) in order to hold the MODE data. In the acquisition of EVENT data corresponding to the acquired command data, the acquired command data lower order is defined as EVENT data. In outputting EVENT data, after the acquired EVENT data is output to the same effect command output port as described above, strobe output processing is executed in order to output the effect data strobe.
<<< External information output processing >>>

外部情報出力処理(S70)においては、外部入力端子に出力する信号を作成し、作成した信号の出力を行う。外部情報出力ポートの構成には、外部情報1〜外部情報6、及び、セキュリティを含み、残りの一つのビットは未使用である。外部情報1、外部情報3〜外部情報6の作成においては、外部情報データテーブルのアドレスを引数として出力データ作成処理を実行する。   In the external information output process (S70), a signal to be output to the external input terminal is created and the created signal is output. The configuration of the external information output port includes external information 1 to external information 6 and security, and the remaining one bit is unused. In creating external information 1, external information 3 to external information 6, output data creation processing is executed using the address of the external information data table as an argument.

外部情報2の作成においては、外部情報2を作成するため、始動口情報タイマの所定のビットの検査を行い、検査の結果、始動口情報タイマの所定のビットのオン/オフに合わせて外部情報2のオン/オフを作成する。セキュリティの作成においては、外部情報エラー出力マスクデータを引数としてエラー検査処理を実行する。実行の結果、エラー検出あの場合、出力データのセキュリティビットのオンを作成する。それ以外の場合、出力データのセキュリティビットのオフを作成する。作成した信号の出力においては、作成した外部情報1〜外部情報6及びセキュリティを外部情報出力ポートに出力する。
<<メイン基板における割込み>>
In creating the external information 2, in order to create the external information 2, a predetermined bit of the start port information timer is inspected. As a result of the inspection, the external information is matched with ON / OFF of the predetermined bit of the start port information timer. Create 2 on / off. In creating security, error check processing is executed using external information error output mask data as an argument. If an error is detected as a result of execution, the security bit of output data is turned on. Otherwise, the output data security bit is turned off. In outputting the created signal, the created external information 1 to external information 6 and security are output to the external information output port.
<< Interrupt on main board >>

次に、メイン基板102における割込みについて説明する。メイン基板102においてはマスカブル割込みとノンマスカブル割込みが行われ、このうちマスカブル割込みはPT0Iによるものである。PT0Iによるマスカブル割込みは、システムクロックを分周して4msの割込み周期を実現しており、この割込み周期で前述の遊技進行割込み処理(PTC0割込み処理)を実行させる。   Next, an interruption in the main board 102 will be described. On the main board 102, maskable interrupts and non-maskable interrupts are performed. Of these, maskable interrupts are caused by PT0I. The maskable interrupt by PT0I divides the system clock to realize an interrupt period of 4 ms, and the aforementioned game progress interrupt process (PTC0 interrupt process) is executed in this interrupt period.

一方、ノンマスカブル割込みは、メイン基板102が電源断を検知して電断信号を出力し、この電断信号がノンマスカブル割込み端子504に入力されると発生する。   On the other hand, the non-maskable interrupt is generated when the main board 102 detects a power-off and outputs a power-off signal, and this power-off signal is input to the non-maskable interrupt terminal 504.

遊技進行割込み処理は、割込み処理時間監視手段により監視されており、この割込み処理時間監視手段が、CPU501のプログラム管理エリアの機能設定に設定されたタイムアウト時間内に初期化されてリスタートすることができない場合は、タイムアウトとなって前述のユーザリセットが発生する。そして、前述のようにCPU501のコアがリセットされ、制御開始処理が実行される。割込み処理時間監視手段のリスタートは、制御開始処理内の循環処理中と、遊技進行割込み処理中のそれぞれで再帰情報が設定されて内蔵タイマが初期化されると実行される。
<<メイン基板における乱数>>
The game progress interrupt processing is monitored by the interrupt processing time monitoring means, and this interrupt processing time monitoring means may be initialized and restarted within the timeout time set in the function setting of the program management area of the CPU 501. If this is not possible, a timeout occurs and the above-mentioned user reset occurs. Then, as described above, the core of the CPU 501 is reset, and the control start process is executed. The restart of the interrupt processing time monitoring means is executed when recursive information is set and the internal timer is initialized during the cyclic processing in the control start processing and during the game progress interrupt processing.
<< Random number on main board >>

次に、メイン基板102において用いられる乱数について説明する。本実施例における乱数は、役物作動に係る乱数と、遊技の用に供されるその他の乱数に分かれる。役物作動に係る乱数には、普通図柄当り乱数、普通図柄当り初期値乱数、特別図柄当り乱数、特別図柄当りソフト乱数、特別図柄当りソフト初期値乱数、特別図柄当り図柄乱数、及び特別図柄当り図柄初期値乱数の7種類がある。   Next, random numbers used in the main board 102 will be described. The random number in the present embodiment is divided into a random number related to the operation of the accessory and another random number used for games. Random numbers related to the action of the actors include random numbers per ordinary symbol, initial random numbers per ordinary symbol, random numbers per special symbol, soft random numbers per special symbol, soft initial value random numbers per special symbol, random symbols per special symbol, and per special symbol There are seven types of symbol initial value random numbers.

普通図柄当り乱数は、普通図柄表示装置の抽選に使用する乱数である。乱数の値は「0〜282」をとり、乱数の大きさは283である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻し、乱数が1周した場合は、その時の普通図柄当り初期値乱数の値を普通図柄当り乱数の値とするものである。更新時期は、遊技進行割込み毎であり、遊技進行割込み毎に1回更新される。取得時期は、作動口68a,68bの通過検出装置69a,69bにより遊技球の通過を検出した時である。当せんすることとなる乱数値の数は、低確率の場合と高確率の場合で異なり、低確率時は11個、高確率時は282個である。   The random number per ordinary symbol is a random number used for the lottery of the ordinary symbol display device. The value of the random number is “0 to 282”, and the size of the random number is 283. The update method is to first add 1 to the previous random number, and return to 0 if the addition result exceeds the maximum value, and if the random number makes one round, the initial random number value per normal symbol at that time is the normal symbol value. The value is a random number per hit. The update time is for each game progress interrupt, and is updated once for each game progress interrupt. The acquisition time is when the passage of the game ball is detected by the passage detection devices 69a and 69b of the operation ports 68a and 68b. The number of random values to be won differs depending on whether the probability is low or high, and is 11 at low probability and 282 at high probability.

普通図柄当り初期値乱数は、普通図柄当り乱数の初期値、及び普通図柄当り乱数の終了値を決定するための乱数である。乱数の値は「0〜282」をとり、乱数の大きさは283である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻すものである。更新時期は、遊技進行割込み毎であり、また、遊技進行割込みを実行していない間も更新がされる。   The initial value random number per ordinary symbol is a random number for determining the initial value of the random number per ordinary symbol and the end value of the random number per ordinary symbol. The value of the random number is “0 to 282”, and the size of the random number is 283. In the updating method, 1 is first added to the previous random number, and when the added result exceeds the maximum value, it is returned to 0. The update time is for each game progress interrupt, and the update is performed even while the game progress interrupt is not executed.

特別図柄当り乱数は、CPU501の乱数回路の所定のチャネル(ここでは「chA」と例示する)で生成した乱数(ハードウエア乱数)をソフトウエアで取り込んで取得し、特別図柄表示装置(70,71)の抽選に使用する乱数である。乱数の値は「0〜065535」をとり、乱数の大きさは65536である。更新方法は、CPU501のRCK(乱数用クロック)端子に入力された水晶発振器の2クロックで1回更新するものである。乱数のスタート値としては、本実施例ではCPU501のIDナンバーを基にした値が設定されおり、電源のオン(またはオフ)に伴って実行されるシステムリセット毎に変更される。乱数列の変更方法としては、本実施例では乱数列が一巡する度に、自動的に乱数列を更新するものが設定されている。更新時期は、RCK端子に入力されたクロック信号の2分周クロックによって設定されるタイミングである。   The random number per special symbol is acquired by acquiring a random number (hardware random number) generated by a predetermined channel (here, “chA” in the figure) of the random number circuit of the CPU 501 with software, and the special symbol display device (70, 71). ) Is a random number used in the lottery. The value of the random number is “0-065535”, and the size of the random number is 65536. The update method is to update once with two clocks of the crystal oscillator input to the RCK (random number clock) terminal of the CPU 501. In this embodiment, a random number start value is set based on the ID number of the CPU 501 and is changed every time the system is reset when the power is turned on (or off). As a method for changing the random number sequence, in the present embodiment, a method for automatically updating the random number sequence every time the random number sequence makes a round is set. The update time is a timing set by a divide-by-2 clock of the clock signal input to the RCK terminal.

取得時期は、第1始動入賞口62の始動入賞検出装置74又は第2始動入賞口63の始動入賞検出装置75で異なる。第1始動入賞口62の始動入賞検出装置74の場合は、入力信号がOFF→ONとなることによって、CPU501のP0端子にロウレベルが入力され、乱数回路のchAから取り込まれた乱数値(ハードウエア乱数の乱数値)が、乱数値レジスタ(RA0D)に格納される。ソフトウエアにより、第1始動入賞口62の始動入賞検出装置74の入力信号がOFF→ONとなったと判断した時に乱数値レジスタ(RA0D)に格納された内蔵乱数(ハードウエア乱数)を取得する。なお、特別図柄当り乱数は、取得した内蔵乱数に特別図柄当りソフト乱数を加算した値となる。   The acquisition timing differs depending on the start winning detection device 74 of the first start winning port 62 or the start winning detection device 75 of the second start winning port 63. In the case of the start winning detection device 74 of the first start winning opening 62, when the input signal is turned from OFF to ON, a low level is input to the P0 terminal of the CPU 501, and a random value (hardware) fetched from chA of the random number circuit. Random number) is stored in a random value register (RA0D). The internal random number (hardware random number) stored in the random number register (RA0D) is acquired when it is determined by software that the input signal of the start winning detection device 74 of the first start winning opening 62 is changed from OFF to ON. The random number per special symbol is a value obtained by adding a soft random number per special symbol to the acquired internal random number.

一方、第2始動入賞口63の始動入賞検出装置75の場合は、入力信号がOFF→ONとなった場合に、CPU501のP1端子にロウレベルが入力され、乱数回路のチャネルAから取り込まれた乱数値が、乱数値レジスタ(RA1D)に格納される点で、第1始動入賞口62の始動入賞検出装置74の場合と異なっている。   On the other hand, in the case of the start winning detection device 75 of the second start winning opening 63, when the input signal is changed from OFF to ON, a low level is input to the P1 terminal of the CPU 501, and the disturbance taken in from the channel A of the random number circuit. The numerical value is stored in the random value register (RA1D), which is different from the case of the start winning detection device 74 of the first start winning opening 62.

特別図柄当り乱数について、大当りに当せんすることとなる乱数の値の数は、低確率の場合と高確率の場合で異なり、低確率時は164個、高確率時は1640個である。   Regarding the random number per special symbol, the number of random number values that will be hit with a big hit is different between a low probability and a high probability, and is 164 at a low probability and 1640 at a high probability.

また、特別図柄当り乱数に関し、乱数の周期は、大きさが65536である乱数が所定のスピードで更新がされることから、約0.013s(秒)となる。   Regarding the random number per special symbol, the random number period is about 0.013 s (seconds) because a random number having a size of 65536 is updated at a predetermined speed.

特別図柄当りソフト乱数は、特別図柄表示装置(70,71)の抽選に使用する乱数であり、前述のように乱数回路のchAで生成した内蔵乱数の取得時、取得した内蔵乱数に加算される。乱数の値は「0〜65520」をとり、乱数の大きさは65521である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻し、乱数が1周した場合は、その時の特別図柄当りソフト初期値乱数の値を特別図柄当りソフト乱数の値とするものである。更新時期は、遊技進行割込み毎であり、遊技進行割込み毎に1回更新される。取得時期は、第1始動入賞口62の始動入賞検出装置74又は第2始動入賞口63の始動入賞検出装置75により遊技球の入賞を検出した時である。   The soft random number per special symbol is a random number used for the lottery of the special symbol display device (70, 71), and is added to the acquired internal random number when acquiring the internal random number generated by the chA of the random number circuit as described above. . The value of the random number is “0 to 65520”, and the size of the random number is 65521. The update method first adds 1 to the previous random number, and if the addition result exceeds the maximum value, it returns to 0, and if the random number makes one round, the value of the soft initial value random number per special symbol at that time is special The value is a soft random number per symbol. The update time is for each game progress interrupt, and is updated once for each game progress interrupt. The acquisition time is when a winning of a game ball is detected by the starting winning detection device 74 of the first starting winning opening 62 or the starting winning detection device 75 of the second starting winning opening 63.

特別図柄当りソフト初期値乱数は、特別図柄当りソフト乱数の初期値及び特別図柄当りソフト乱数の終了値を決定するための乱数であり、乱数の値は「0〜65520」をとり、乱数の大きさは65521である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻すものである。更新時期は、遊技進行割込み毎であり、また、遊技進行割込みを実行していない間も更新がされる。   The soft initial value random number per special symbol is a random number for determining the initial value of the soft random number per special symbol and the end value of the soft random number per special symbol. The value of the random number is “0 to 65520”, the size of the random number The height is 65521. In the updating method, 1 is first added to the previous random number, and when the added result exceeds the maximum value, it is returned to 0. The update time is for each game progress interrupt, and the update is performed even while the game progress interrupt is not executed.

特別図柄当り図柄乱数は、大当りとなる図柄の組合せの決定に使用する乱数である。乱数の値は「0〜999」をとり、乱数の大きさは1000である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻し、乱数が1周した場合は、その時の特別図柄当りソフト初期値乱数の値を特別図柄当り図柄乱数の値とするものである。更新時期は、遊技進行割込み毎であり、遊技進行割込み毎に1回更新される。取得時期は、第1始動入賞口62の始動入賞検出装置74又は第2始動入賞口63の始動入賞検出装置75により遊技球の入賞を検出した時である。   The symbol random number per special symbol is a random number used to determine a symbol combination that is a big hit. The value of the random number is “0 to 999”, and the size of the random number is 1000. The update method first adds 1 to the previous random number, and if the addition result exceeds the maximum value, it returns to 0, and if the random number makes one round, the value of the soft initial value random number per special symbol at that time is special The value is a symbol random number per symbol. The update time is for each game progress interrupt, and is updated once for each game progress interrupt. The acquisition time is when a winning of a game ball is detected by the starting winning detection device 74 of the first starting winning opening 62 or the starting winning detection device 75 of the second starting winning opening 63.

特別図柄当り図柄初期値乱数は、特別図柄当り図柄乱数の初期値及び特別図柄当り図柄乱数の終了値を決定するための乱数であり、乱数の値は「0〜999」をとり、乱数の大きさは1000である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻すものである。更新時期は、遊技進行割込み毎であり、また、遊技進行割込みを実行していない間も更新がされる。   The symbol initial value random number per special symbol is a random number for determining the initial value of the symbol random number per special symbol and the end value of the symbol random number per special symbol. The size is 1000. In the updating method, 1 is first added to the previous random number, and when the added result exceeds the maximum value, it is returned to 0. The update time is for each game progress interrupt, and the update is performed even while the game progress interrupt is not executed.

遊技の用に供されるその他の乱数には、普通図柄変動パターン乱数、変動パターン乱数の2種類がある。これらのうち普通図柄変動パターン乱数は、普通図柄表示装置の変動パターン選択に使用する乱数であり、乱数の値は「0〜232」をとり、乱数の大きさは233である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻すものである。更新時期は、遊技進行割込み毎であり、遊技進行割込み毎に1回更新される。取得時期は、作動口68a,68bの通過検出装置69a,69bにより遊技球の通過を検出した時である。   There are two types of random numbers that are used for games: normal symbol variation pattern random numbers and variation pattern random numbers. Among these, the normal symbol variation pattern random number is a random number used for variation pattern selection of the ordinary symbol display device. In the updating method, 1 is first added to the previous random number, and when the added result exceeds the maximum value, it is returned to 0. The update time is for each game progress interrupt, and is updated once for each game progress interrupt. The acquisition time is when the passage of the game ball is detected by the passage detection devices 69a and 69b of the operation ports 68a and 68b.

変動パターン乱数は、特別図柄表示装置(70,71)の変動パターン選択に使用する乱数であり、乱数の値は「0〜49999」をとり、乱数の大きさは50000である。更新方法は、先ず前回の乱数から3511を減算し、減算した結果が0未満の場合には、減算した結果に50000を加算するものである。更新時期は、遊技進行割込み毎であり、遊技進行割込み毎に1回更新される。取得時期は、第1始動入賞口62の始動入賞検出装置74又は第2始動入賞口63の始動入賞検出装置75により遊技球の入賞を検出した時である。
<その他の個々の制御処理態様>
<<コマンド送信タイミングに係る制御態様>>
The variation pattern random number is a random number used for variation pattern selection of the special symbol display device (70, 71), the value of the random number is “0-49999”, and the size of the random number is 50,000. In the update method, first, 3511 is subtracted from the previous random number, and if the subtraction result is less than 0, 50000 is added to the subtraction result. The update time is for each game progress interrupt, and is updated once for each game progress interrupt. The acquisition time is when a winning of a game ball is detected by the starting winning detection device 74 of the first starting winning opening 62 or the starting winning detection device 75 of the second starting winning opening 63.
<Other individual control processing modes>
<< Control Mode Related to Command Transmission Timing >>

本実施例では、メイン基板102からサブメイン基板301に出力される演出制御コマンドは、送信の前に、コマンド要求により、コマンドバッファに一旦格納される。コマンドバッファは、複数のバッファをリングバッファとして機能させたものであり、コマンド送信のための制御処理(ここでは演出制御コマンド送信処理(S69))において、コマンドバッファに蓄積された順に、1回の遊技進行割込み処理で1コマンドずつ、コマンドバッファから取出されて送信される。なお、優先順位が高く設定されたコマンドから先に送信するような手法も採用可能である。また、各種の制御処理において、送信が必要となったコマンドが発生した場合に、随時コマンド送信を行うことも可能である。このような手法を採用した場合には、1回の遊技進行割込み処理中に、例えば演出制御コマンド送信処理(S69)のような一つの制御処理モジュール内で集約的に演出コマンドの送信が行われるのではなく、コマンド送信の必要が生じる都度、各制御処理モジュール内で、逐次的にコマンド送信が行われることになる。このため、コマンド送信が次回以降の遊技進行割込み処理に持ち越されるといった事態が生じ難い。そして、例えば始動入賞時のコマンドや、特別図柄の変動開始時のコマンド送信に遅れを生じることがなく、迅速なコマンド処理が可能となる。
<<保留記憶の更新に係る制御態様>>
In the present embodiment, the effect control command output from the main board 102 to the sub main board 301 is temporarily stored in the command buffer in response to a command request before transmission. The command buffer is obtained by causing a plurality of buffers to function as a ring buffer. In the control processing for command transmission (in this case, the production control command transmission processing (S69)), the command buffer is executed once in the order stored in the command buffer. In the game progress interruption process, one command is taken out from the command buffer and transmitted. It is also possible to adopt a method in which a command set with a high priority is transmitted first. In various control processes, when a command that needs to be transmitted is generated, it is possible to transmit the command as needed. When such a method is adopted, during one game progress interruption process, for example, an effect command is transmitted collectively in one control processing module such as an effect control command transmission process (S69). Instead, each time a command needs to be transmitted, command transmission is performed sequentially within each control processing module. For this reason, it is difficult for a situation in which command transmission is carried over to the next game progress interrupt process. For example, there is no delay in the command at the time of starting winning and the command transmission at the time of starting the variation of the special symbol, and quick command processing is possible.
<< Control mode related to update of pending storage >>

本実施例では、前述のように、第2の遊技が優先される構成が採用されており、第1及び第2の複数の遊技の実行順序に規則性が設けられているため、保留記憶の更新は、第2の遊技、或いは、第1の遊技毎に順に行われる。したがって、第2の遊技、或いは、第1の遊技毎に、保留記憶された情報の更新のみを行えば、保留記憶された情報の更新が完了する。しかし、これに限定されず、例えば、第1の遊技を優先する構成や、何れかの遊技を優先させるのではなく、始動入賞が発生し保留記憶された順に、保留記憶を消化する構成なども採用が可能である。このうち、始動入賞が発生した順に保留記憶を消化する構成を採用した場合には、消化に応じた保留記憶情報の更新、複数の遊技の合計保留数の更新、及び、入賞順序の記憶を行うことにより、全体として、保留記憶された情報の更新を行うことができる。   In the present embodiment, as described above, the configuration in which the second game is prioritized is adopted, and regularity is provided in the execution order of the first and second games. The update is performed sequentially for each second game or each first game. Accordingly, if only the information stored on hold is updated for each second game or first game, the update of information stored on hold is completed. However, the present invention is not limited to this. For example, a configuration in which priority is given to the first game, or a configuration in which the reserved memory is digested in the order in which the start winnings are generated and stored in a reserved manner, instead of giving priority to any game. Adoption is possible. Among these, in the case of adopting the configuration in which the reserved memory is digested in the order in which the start winnings are generated, the reserved memory information is updated according to the digestion, the total number of pending games is updated, and the winning order is stored. As a result, the information stored on hold can be updated as a whole.

また、本実施例では、保留記憶が更新されたことをサブメイン基板301に伝えるため、前述のように図柄記憶数コマンド(図柄1記憶数コマンドや図柄2記憶数コマンド)の要求が行われるが、1つのコマンドに図柄1記憶数コマンド、及び、図柄2記憶数コマンドの双方を含めることにより、必要なプログラムやメモリの容量を削減できる。
<<変動パターンの抽選に係る制御態様>>
Further, in this embodiment, in order to notify the sub-main board 301 that the reserved memory has been updated, the symbol memory number command (symbol 1 memory number command or symbol 2 memory number command) is requested as described above. By including both the symbol 1 memory number command and the symbol 2 memory number command in one command, the necessary program and memory capacity can be reduced.
<< Control mode related to variation pattern lottery >>

続いて、変動パターンの抽選に係る各種態様について説明する。ここで説明する変動パターンの決定の態様は、一のぱちんこ遊技機10において、何れかが選択されて適用されてもよく、或いは、適宜併用されていてもよい。そして、複数の態様を併用する場合には、例えば、当否結果等の要素に基づき、態様の使い分けを行うことが可能である。   Next, various aspects related to the variation pattern lottery will be described. Any one of the variation pattern determination modes described here may be selected and applied in one pachinko gaming machine 10 or may be used in combination as appropriate. And when using a some aspect together, it is possible to use an aspect properly, for example based on elements, such as a success / failure result.

本実施例では、変動パターンの決定には、前述のように、当否結果、保留球数、特別図柄(図柄群の場合もある)、及び、変動パターン選択状態(特別図柄のステイタス情報)が決定要素として用いられているが、これらの決定要素の組合せに対応した変動パターンが選択される。そして、変動パターンの決定に伴い、変動パターンと紐付けされ対になっている変動時間が決定される。さらに、本実施例では、変動パターンの決定に関し、当否抽選の結果が大当りの場合と、はずれの場合とで、決定の要素を異ならせることが行われている。すなわち、大当りの場合には、演出状態(特別図柄のステイタス情報など)、特別図柄群、当否乱数を基に、これらに紐付けされた中から変動パターンが選択される。一方、はずれの場合には、演出状態、保留球数、当否乱数を基に、これらに紐付けされた中から変動パターンが選択される。このうち、大当りの場合で、演出上の再抽選の時間が付与される変動パターンについては、演出状態(特定の演出の有無など)と、特別図柄群とに基づき、再抽選の時間の付与の有無が決定され、決定された結果が、メイン基板102からサブメイン基板301へ送信される。   In the present embodiment, as described above, the determination of the variation pattern includes the result of success / failure, the number of reserved balls, a special symbol (which may be a symbol group), and a variation pattern selection state (special symbol status information). Although used as an element, a variation pattern corresponding to a combination of these determining elements is selected. Then, with the determination of the variation pattern, the variation time associated with the variation pattern is determined. Further, in the present embodiment, regarding the determination of the variation pattern, the determination elements are different depending on whether the result of the success / failure lottery is a big hit or not. In other words, in the case of a big hit, a variation pattern is selected from among the performance patterns (such as special symbol status information), the special symbol group, and the random number of success / failure, which are linked to them. On the other hand, in the case of a loss, a variation pattern is selected from among those linked to these based on the production state, the number of reserved balls, and the random number of success / failure. Of these, in the case of a big win, for the variation pattern that gives the re-lottery time in the production, the re-lottery time is given based on the production state (whether there is a specific production, etc.) and the special symbol group. The presence / absence is determined, and the determined result is transmitted from the main board 102 to the sub main board 301.

また、変動パターン及び変動時間の決定に際して、決定された演出パターン番号(別の言い方をすれば、演出パターンの内容)に応じた後続的な変動時間の決定を行うことが可能である。例えば、選択された変動パターンが、限定頻度パターン演出に対応したものである場合に、それに応じた変動時間の延長分を事後的に決定するといったことが考えられる。   Further, when determining the variation pattern and the variation time, it is possible to determine the subsequent variation time according to the determined effect pattern number (in other words, the contents of the effect pattern). For example, when the selected variation pattern corresponds to the limited frequency pattern effect, it is conceivable that the extension of the variation time corresponding to the selected variation pattern is determined afterwards.

また、前述のように特別図柄の図柄変動開始時のコマンドとして変動付加情報のコマンドを設定することにより、遊技状態や当り図柄といった要素に関係づけて先に決定した変動時間に、後発的に付加時間を加算する演出が行うことができる。そして、この様な態様で、総合的な変動時間を決定する場合には、以下のように、予め設けられる変動パターンの数を少なく抑えつつ、多様な変動パターンを作成することが可能である。すなわち、擬似的な連続予告(所謂「擬似連」)を行う場合について考えれば、擬似連の変動パターンを単に個別に設定した場合には、演出の種類数と同じ数の変動パターンを予め設けておく必要がある。そして、このように全て個別に演出パターンを用意した場合には、変動パターンの合計数が大となって、例えば256個を超えるほどの数に達することも考えられる。このため、多数の変動パターンに対して識別可能な符号を与えるためには、従来よりも符号を表すためのビット数やバイト数を増やす必要が生じてしまう。   In addition, as described above, by setting a variable additional information command as a command at the start of special symbol variation, it is added later to the previously determined variation time in relation to factors such as gaming state and winning symbol. An effect of adding time can be performed. When determining the total variation time in this manner, it is possible to create various variation patterns while reducing the number of variation patterns provided in advance as follows. That is, considering the case of performing pseudo continuous notice (so-called “pseudo train”), if the pseudo train variation pattern is simply set individually, the same number of variation patterns as the number of types of effects are provided in advance. It is necessary to keep. When all the production patterns are prepared individually as described above, the total number of variation patterns becomes large, for example, reaching a number exceeding 256. For this reason, in order to provide an identifiable code for a large number of variation patterns, it is necessary to increase the number of bits and bytes for representing the code as compared with the conventional case.

しかし、変動付加情報(変動付加パターン)を用いることにより、相対的に少ない数の基本の変動パターンに対し、例えば乱数抽選した変動付加情報を繋げて、事後的に変動パターンを形成することが可能である。そして、このことにより、変動パターンの組合せにより新たな変動パターンを形成できるので、予め設けておく変動パターンの数を過大とすることなく、多様な変動パターンを作成できる。なお、変動付加情報に係る乱数値も、先読み演出用のコマンドとして、始動入賞発生時に、メイン基板102からサブメイン基板301に送信することが可能である。また、限定頻度パターン演出が実行される場合に変動付加情報の付加が行われ易くなるよう、変動付加パターンの出現確率を設定しておくことなども可能である。なお、変動付加情報を用いる例を更に挙げれば、装飾図柄190a〜190cの組合せとして最初から確変図柄である「777」が表示された場合には変動付加情報の設定は行わず、装飾図柄190a〜190cの組合せとして、一旦非確変図柄である「666」が表示された場合には、「777」に昇格させるか否かの結果が表示されるまでの演出(例えば、揺れ変動の演出や、変動態様の展開を表す演出など)を、変動付加情報を設定して行う、といったことがある。   However, by using fluctuation additional information (fluctuation addition pattern), it is possible to connect the fluctuation additional information drawn by random numbers, for example, to a relatively small number of basic fluctuation patterns and form a fluctuation pattern afterwards. It is. As a result, a new variation pattern can be formed by combining the variation patterns, so that a variety of variation patterns can be created without excessively increasing the number of variation patterns provided in advance. Note that the random value related to the variation additional information can also be transmitted as a pre-reading effect command from the main board 102 to the sub-main board 301 when the start winning is generated. In addition, when the limited frequency pattern effect is executed, it is also possible to set the appearance probability of the variation addition pattern so that the variation addition information is easily added. In addition, to further give an example of using variable additional information, when “777” which is a probable variable symbol is displayed from the beginning as a combination of the decorative symbols 190a to 190c, the variable additional information is not set and the decorative symbols 190a to 190a are set. As a combination of 190c, once “666”, which is a non-probable variation, is displayed, an effect until the result of whether or not to promote to “777” is displayed (for example, an effect of shaking fluctuation, There is a case where an effect representing the development of an aspect is performed by setting variable additional information.

また、本実施例では、変動パターンは、保留球数を要素として決定されており、保留球数が幾つであるかに応じて、参照される変動パターンテーブルが異なる。変動パターンテーブルは、保留球数0〜4に対応して設けられている。保留0〜3の4つだけではなく、保留4に対応する変動パターンテーブルが設けられているのは、以下の理由による。例えば、保留球数が4つの状況から新たな変動表示が開始され、保留球数が3となった場合を考える。その時点で実行されている遊技進行割込み処理中の、未だ制御処理が、後の遊技進行割込み処理中の処理である変動パターンの決定に至らない段階において、保留球数が3となっている状態から新たな始動入賞が発生すると、変動パターンの決定時には、保留球数が加算されて4となっている。したがって、このような状況も変動パターンの決定の要素とし得るよう、保留球数0〜4に対応して変動パターンテーブルが設けられているのである。   In the present embodiment, the variation pattern is determined using the number of reserved balls as an element, and the variation pattern table to be referenced differs depending on the number of reserved balls. The variation pattern table is provided corresponding to the number of reserved balls 0-4. The reason why the variation pattern table corresponding to the hold 4 is provided in addition to the four holds 0 to 3 is as follows. For example, consider a case where a new variation display is started from a situation where the number of held balls is four and the number of held balls is three. A state in which the number of reserved balls is 3 at the stage where the control process during the game progress interrupt process being executed at that time does not yet lead to the determination of the variation pattern which is the process during the subsequent game progress interrupt process When a new start win occurs, the number of reserved balls is added to 4 when the variation pattern is determined. Therefore, a fluctuation pattern table is provided corresponding to the number of reserved balls 0 to 4 so that such a situation can also be used as an element for determining the fluctuation pattern.

ただし、本発明はこれに限定されるものではなく、変動パターンテーブルは、保留球数0〜3に対応して設けるようにしてもよい。この場合、制御処理上、保留球数3の状態から変動パターンの決定までの間の始動入賞が加算されない構成とすることが可能である。なお、何れの態様についても、4個以外の最大保留数(例えば8)が設定されたタイプのぱちんこ遊技機にも適用が可能である。   However, the present invention is not limited to this, and the variation pattern table may be provided corresponding to the number of reserved balls 0-3. In this case, in the control processing, it is possible to adopt a configuration in which the start winnings during the period from the number of reserved balls 3 to the determination of the variation pattern are not added. Note that any aspect can be applied to a pachinko gaming machine of a type in which a maximum number of reserves (for example, 8) other than four is set.

また、変動パターン乱数の取得タイミングとしては、変動パターン抽選時とすることが可能である。すなわち、変動パターン乱数は、特別電動役物等の役物作動に係る乱数ではないので、適正な遊技を行うための要素としては、当否乱数などに比べて、例えば公正な遊技を目指すうえでの制約を設ける必要性が低くなる。したがって、始動入賞時には敢えて変動パターン乱数の取得はせず、例えば、別途設けられたタイミングとして変動パターン抽選時に、変動パターン乱数を取得し、記憶することが考えられる。このようにすることにより、始動入賞時に記憶すべき情報の数を減らすことができ、プログラムやメモリの容量削減が可能となる。
<<図柄の指定に係る制御態様>>
Further, the variation pattern random number acquisition timing can be the variation pattern lottery time. In other words, the fluctuation pattern random number is not a random number related to the operation of an accessory such as a special electric accessory. Therefore, as an element for performing an appropriate game, for example, when aiming for a fair game compared to a random number or the like The need to provide constraints is reduced. Therefore, it is conceivable that the fluctuation pattern random number is not acquired at the time of starting winning a prize, and for example, the fluctuation pattern random number is acquired and stored at the time of fluctuation pattern lottery as a separately provided timing. By doing so, the number of information to be stored at the time of starting winning a prize can be reduced, and the capacity of the program and memory can be reduced.
<< Control mode related to design designation >>

本実施例においては、前述のように、確変とするか否かの決定は特別図柄により決定される。このため、特別図柄当り図柄乱数(図柄乱数)により図柄が決定されるとともに、確変の有無も決定される。さらに、確変となる確率(割合)は、確変と対応付けられた図柄の選択確率によって決まる。なお、図柄乱数を示す符号の上位バイトの値に基づき使用する図柄判定テーブルを決定し、その後、図柄乱数の下位バイトの値に基づき、決定した図柄判定テーブルから図柄を決定することなども可能である。本実施例では、図柄乱数の数値範囲が「0〜999」に設定されているので、これらの数値の二値符号コードを利用することができる。そして、このようにすることにより、メモリやプログラムの容量を削減できる。また、当り図柄(図柄群であってもよい)に対してラウンド数や時短回数等の遊技状態の振分けを行い、当り図柄に応じて、その後のラウンド数や時短回数等が決定されるようにしてもよい。このようにすることにより、遊技状態の固有のデータの記憶や制御処理を行う必要がなく、メモリやプログラムの容量を削減できる。さらに、メイン基板102からサブメイン基板301へ当り図柄等を伝えるコマンド(例えば、本実施例では、図柄1演出パターン、図柄2演出パターンの各コマンド)に、遊技状態を伝える情報(遊技状態指定情報)を付加することも可能である。このコマンドは、作成されてから直ぐにサブメイン基板301へ送信されるものではなく、作成されて一時記憶され、所定のタイミングを待ってからサブメイン基板301へ送信されるものである。
<<特別図柄と装飾図柄の変動時間の関係>>
In the present embodiment, as described above, whether or not to change the probability is determined by a special symbol. For this reason, a symbol is determined by a symbol random number (symbol random number) per special symbol, and whether or not there is a probability change is also determined. Further, the probability (ratio) of probability change is determined by the selection probability of the symbol associated with the probability change. It is also possible to determine the symbol determination table to be used based on the value of the upper byte of the code indicating the symbol random number, and then determine the symbol from the determined symbol determination table based on the value of the lower byte of the symbol random number. is there. In this embodiment, since the numerical range of the design random number is set to “0 to 999”, the binary code code of these numerical values can be used. By doing so, the capacity of the memory and program can be reduced. In addition, the game state such as the number of rounds and the number of times reduced is assigned to the winning symbol (which may be a symbol group), and the number of subsequent rounds and the number of reduced times are determined according to the winning symbol. May be. By doing so, it is not necessary to store and control data unique to the gaming state, and the capacity of the memory and program can be reduced. Furthermore, information (game state designation information) that conveys the game state to a command that conveys a symbol or the like from the main board 102 to the sub-main board 301 (for example, each command of the symbol 1 effect pattern and the symbol 2 effect pattern in this embodiment). ) Can also be added. This command is not sent to the sub-main board 301 immediately after being created, but is created and temporarily stored, and is sent to the sub-main board 301 after waiting for a predetermined timing.
<< Relationship between special symbol and decorative symbol variation time >>

前述のように、特別図柄(第1特別図柄192又は第2特別図柄193)と、これに対応した装飾図柄190a〜190cとは、互いに同期して変動開始及び変動停止するよう制御されるものであるが、状況によっては、装飾図柄190a〜190cの変動時間が、特別図柄(第1特別図柄192又は第2特別図柄193)の変動時間に対してある程度短くなり得るものである。   As described above, the special symbol (the first special symbol 192 or the second special symbol 193) and the decorative symbols 190a to 190c corresponding to the special symbol are controlled so as to start and stop changing in synchronization with each other. However, depending on the situation, the variation time of the decorative symbols 190a to 190c can be shortened to some extent with respect to the variation time of the special symbol (the first special symbol 192 or the second special symbol 193).

すなわち、特別図柄の変動や変動パターンの決定がされ、特別図柄の変動が開始される際に、メイン基板102からサブメイン基板301に対し装飾図柄の変動開始コマンド(変動開始時のコマンド)が送信されるが、所定のコマンド(例えば変動開始時のコマンドの最初のコマンド)の送信及び受信に要する時間や、コマンドバッファ(本実施例ではリングバッファタイプが用いられている)にセットされ待機しているコマンド(先入れのコマンド)が全て送出されるまでの時間などの影響を受け、その分、装飾図柄の変動開始が特別図柄の変動開始よりも遅延することが考えられる。さらに、特別図柄の変動停止時には、変動停止コマンド(特別図柄の図柄確定時のコマンド)がサブメイン基板301に送信されるが、所定のコマンド(例えば図柄確定時変動開始時のコマンドの最初のコマンド)の送信及び受信に要する時間や、コマンドバッファの混み具合(送信待機中のコマンドの数の程度)により、装飾図柄の変動停止が遅延することも考えられる。   That is, when the variation of the special symbol or the variation pattern is determined and the variation of the special symbol is started, the main substrate 102 sends a decoration symbol variation start command (command at the start of variation) to the sub-main substrate 301. However, the time required for transmission and reception of a predetermined command (for example, the first command at the start of fluctuation) and the command buffer (in this embodiment, the ring buffer type is used) are set and waited. Depending on the time until all the commands (first-in command) are sent out, it is conceivable that the variation start of the decorative symbol will be delayed from that of the special symbol. Further, at the time of stoppage of variation of the special symbol, a variation stop command (command for determining the symbol of the special symbol) is transmitted to the sub-main board 301. ) May be delayed due to the time required for transmission and reception and the degree of command buffer congestion (the number of commands waiting for transmission).

このように、装飾図柄の変動時間は、特別図柄の変動時間に対してある程度短くなり得るものであり、特別図柄が変動開始した後に装飾図柄が変動開始し、特別図柄が変動停止した後に装飾図柄が変動停止するということが生じ得る。なお、装飾図柄の変動開始時と変動停止時との遅延の程度についは、通常は、変動開始時には送信すべきコマンドの数が相対的に多く、停止時には相対的に少ないことから、変動停止時の遅延の程度は、変動開始時に比べて小さい(少ない)と考えられる。
<本実施例に係る発明の作用効果>
In this way, the variation time of the decorative symbol can be shortened to some extent with respect to the variation time of the special symbol, the decorative symbol starts to vary after the special symbol starts to vary, and the decorative symbol after the special symbol stops varying. Can happen to stop fluctuating. Note that the degree of delay between the start of change and the stop of change in the decorative symbol is usually that the number of commands to be transmitted is relatively large at the start of change and relatively small at the stop. The degree of delay is considered to be small (less) compared to the time of starting the fluctuation.
<Operational effects of the invention according to the present embodiment>

以上説明したように本実施例のぱちんこ遊技機10においては、CPU501に16ビット乱数発生機能と、8ビット乱数発生機能とが備えられている。このため、多様な乱数を用いて、大当り抽選等の遊技制御を行うことが可能である。さらに、本実施例においては、16ビット乱数発生機能及び8ビット乱数発生機能のうち、16ビット乱数発生機能のみが乱数抽選に用いられており、8ビット乱数発生機能は用いられていない。しかし、CPU501の電源投入時等には、16ビット乱数用の乱数回路、及び、8ビット乱数用の乱数回路の両方の初期化が行われ、その後にセキュリティモードに移行できるようになっている。したがって、使用しない乱数発生機能についても確実に初期化を行うことができ、使用していない乱数発生機能を利用した不正行為などを防止することが可能となる。   As described above, in the pachinko gaming machine 10 of this embodiment, the CPU 501 is provided with a 16-bit random number generation function and an 8-bit random number generation function. Therefore, it is possible to perform game control such as big hit lottery using various random numbers. Further, in this embodiment, only the 16-bit random number generation function is used for random number lottery among the 16-bit random number generation function and the 8-bit random number generation function, and the 8-bit random number generation function is not used. However, when the CPU 501 is powered on, both the random number circuit for 16-bit random numbers and the random number circuit for 8-bit random numbers are initialized, and then the mode can be shifted to the security mode. Therefore, it is possible to reliably initialize a random number generation function that is not used, and to prevent an illegal act using the random number generation function that is not used.

つまり、ぱちんこ遊技機におけるCPUは、前述したIDナンバー等の固有情報を異ならせつつ、遊技制御機能については共通化がされており、複数の遊技機製造業者や機種で使用されるものである。このため、多種類の乱数発生機能を備えることにより、長年にわたり、多種類のぱちんこ遊技機に使用できるようになると考えることができる。しかし、このような利点がある反面、使用しない乱数機能があっても、その乱数機能を削除するということはできず、使用しない乱数機能を残したまま、ぱちんこ遊技機に使用することになる。このため、例えば、電源断時に使用しない乱数回路に残存した乱数値を、電源投入等の直後に使用して、故意に大当りを発生させる、或いは、確変図柄に当せんし易くする、といった、不使用の乱数機能を利用した不正が行われることも考えられる。このような事情に対し、本実施例のように、電源投入等の際に、使用されない乱数回路についても、使用される乱数回路とともに初期化を行うことにより、例示したような不正行為が行われるのを未然に防ぐことができ、CPUにおける乱数の信頼性を向上することが可能となる。そして、CPUの各種の乱数発生機能について適正な処理を行うことが可能となる。   In other words, the CPU in the pachinko gaming machine has a common game control function while differentiating the unique information such as the ID number described above, and is used by a plurality of gaming machine manufacturers and models. For this reason, it can be considered that by providing various types of random number generation functions, the system can be used for various types of pachinko gaming machines for many years. However, although there is such an advantage, even if there is a random number function that is not used, the random number function cannot be deleted, and the random number function that is not used is left in the pachinko machine. For this reason, for example, the random number remaining in the random number circuit that is not used when the power is turned off is used immediately after the power is turned on, etc., to intentionally generate a big hit or to make it easy to hit the probability variation pattern. It is also possible that fraud using the random number function is performed. For such a situation, as shown in this embodiment, when the power is turned on or the like, even when the random number circuit is not used, by performing initialization together with the random number circuit to be used, the illegal act illustrated is performed. Can be prevented, and the reliability of random numbers in the CPU can be improved. And it becomes possible to perform an appropriate process about various random number generation functions of CPU.

また、本実施例においては、当否抽選において、ハードウエア乱数とソフトウエア乱数の両方を用いて作成された乱数が使用されているので、不使用の乱数回路を利用した不正が行われても、高い安全性で当否抽選を行うことが可能あるが、上述のように、電源投入時等に、不使用の乱数回路の初期化を確実に行っておくことにより、より一層高い安全性を確保することができる。   Further, in this embodiment, since random numbers created using both hardware random numbers and software random numbers are used in the success / failure lottery, even if fraud using an unused random number circuit is performed, Although it is possible to perform lottery determination with high safety, as described above, even when the power is turned on, it is ensured that the unused random number circuit is initialized to ensure even higher safety. be able to.

ここで、本実施例においては、ハードウエア乱数は当否抽選にのみ使用されているが、本発明はこれに限定されるものではなく、特別図柄の図柄抽選、変動パターン抽選、普通図柄に係る抽選といった他の抽選にも用いることが可能である。そして、その場合は、ハードウエア乱数を単独で使用することや、当否抽選と同様にソフトウエア乱数と併せて使用することが可能である。   Here, in this embodiment, the hardware random number is used only for the winning / losing lottery, but the present invention is not limited to this, and the lottery concerning the special symbol, the variation pattern lottery, the normal symbol lottery It can be used for other lotteries. In that case, it is possible to use a hardware random number alone or in combination with a software random number in the same manner as the winning lottery.

さらに、本実施例においては、制御開始処理(図12、図13参照)のRWMの初期化時の処理(S24〜S28)で、RWM領域のクリア(S24)が行われる。したがって、このS24において前述した各種のエラーフラグのクリアを行うことができる。ここでクリアされるエラーフラグには、前述の電波検知信号に基づく電波エラーフラグなども含まれる。   Further, in this embodiment, the RWM area is cleared (S24) in the RWM initialization process (S24 to S28) in the control start process (see FIGS. 12 and 13). Therefore, the various error flags described above can be cleared in S24. The error flag cleared here includes a radio wave error flag based on the above-described radio wave detection signal.

また、本実施例においては、電源電圧が下がって所定値に達してから電源断となるまでの時間である電源断所要時間は、制御開始処理を完遂するのに要する時間A、遊技進行割込み処理を完遂するのに要する時間B、電源断確認情報を設定するのに要する時間C、及び電源断処理を完遂するのに要する時間Dの総和よりも大きく設定されている(図17参照)。そして、この電源断所要時間は、電源投入等の後、制御開始処理が開始されるまでの時間内に行われるハードウエアの初期化とセキュリティチェックに要する時間よりも長くなっている。したがって、セキュリティモード中に電源電圧が所定値以下となった場合に、電圧値がCPU501の動作に必要な値を下回るまでの間に、セキュリティチェックを完了することが可能である。   In this embodiment, the time required for power-off, which is the time from when the power-supply voltage decreases to a predetermined value until the power is turned off, is the time A required to complete the control start process, the game progress interrupt process Is set to be larger than the sum of time B required to complete the process, time C required to set the power-off confirmation information, and time D required to complete the power-off process (see FIG. 17). The time required for power-off is longer than the time required for hardware initialization and security check that is performed within the time from when the power is turned on until the control start processing is started. Therefore, when the power supply voltage becomes equal to or lower than a predetermined value during the security mode, the security check can be completed before the voltage value falls below a value necessary for the operation of the CPU 501.

なお、本発明は、上述の実施例に限らず、種々に変更することが可能である。例えば、演出図柄表示装置60として、複数の液晶表示器等を用いたものを採用してもよい。この場合、複数の表示器の配置として、互いに隣接させるもの、離間して配置するもの、一方を相対的に大型の表示器とし、他方を相対的に小型の表示器としたもの、少なくとも一つを通常は隠しておき演出内容に応じて出現させるもの、などを挙げることができる。さらに、例えば、装飾図柄190a〜190cの表示を一方の表示器で行い、他方の表示器に第1保留数表示部196及び第2保留数表示部197や、信号機198などを付帯的に表示するもの、複数の画面間で表示対象(キャラクタ、装飾図柄、保留数表示部、など)を移動させるもの、なども採用が可能である。   The present invention is not limited to the above-described embodiments, and various modifications can be made. For example, as the effect symbol display device 60, a device using a plurality of liquid crystal displays may be employed. In this case, as the arrangement of the plurality of display devices, at least one display device that is adjacent to each other, spaced from each other, one of which is a relatively large display device and the other of which is a relatively small display device. Are usually hidden and made to appear according to the contents of the production. Furthermore, for example, the decorative symbols 190a to 190c are displayed on one display, and the first reserved number display unit 196, the second reserved number display unit 197, the traffic light 198, and the like are incidentally displayed on the other display unit. It is also possible to adopt an object that moves a display object (character, decorative pattern, number of holdings display, etc.) between a plurality of screens.

また、大当りの判定で大当りと判定された場合に、大当り図柄、確変の有無、時短の有無、普通電動役物の開放延長の有無、各種開始デモ開始時間、各種終了デモ時間、特別電動役物の作動パターンなどを決定し、その結果の参照は、全て纏めてではなく、これらの情報を必要とする各種制御処理中で個々に必要に応じたタイミングに分けて行うことが可能である。   Also, if the big hit is determined to be a big hit, the big hit symbol, presence / absence of change in time, presence / absence of time reduction, presence / absence of open extension of normal electric components, various start demonstration start times, various end demonstration times, special electric components It is possible to determine the operation pattern and the like, and to refer to the results, not separately, but separately at various timings as needed during various control processes that require such information.

また、特別遊技の開始後に、例えば遊技球が特定の領域を通過したことを契機に、確変の有無、時短の有無、普通電動役物の開放延長の有無、特別電動役物の作動パターンなどのうちの少なくとも何れか一つを決定するタイプ(「球確スペック」などともいう)のぱちんこ遊技機においては、例えば大当り終了デモの所要時間を、確変か非確変(通常)かといった遊技状態に応じて異ならせておき、大当りと判定された場合に、大当り終了デモ開始時に、決定された遊技状態に応じた時間で、大当り終了デモを実行することが可能である。   In addition, after the start of a special game, for example, when a game ball has passed a specific area, whether there is a certain change, whether there is a short time, whether there is an open extension of a normal electric accessory, an operation pattern of a special electric accessory, etc. For pachinko machines of the type that decides at least one of them (also called “ball accuracy specs”), for example, the time required for the big hit end demo depends on the gaming state, whether it is probabilistic or non-probable (normal) When it is determined that the jackpot is ended, it is possible to execute the jackpot end demo at a time corresponding to the determined gaming state at the start of the jackpot end demo.

また、本実施例では、大当り中以外であること、第1特別図柄192(又は、第2特別図柄193)が変動待機中であること、及び、変動開始対象となる特別図柄の作動保留球数が0以外であること、が変動開始の条件とされており、更に、第2始動入賞口63を用いる第2の遊技が第1の遊技に優先されている。しかし、これに限定されるものではなく、例えば、第1の遊技を優先する構成や、何れかの遊技を優先させるのではなく、始動入賞が発生し保留記憶された順に、保留記憶を消化する構成なども採用が可能である。このうち、後者の入賞順に図柄変動を行うタイプのものにおいては、上述の各変動開始条件に加えて、例えば当否判定の順序と消化順序(入賞順)と一致していることを確認し、一致していることが確認できたことを変動開始条件の一つとすることが可能である。   Further, in this embodiment, it is other than the big hit, the first special symbol 192 (or the second special symbol 193) is waiting for the change, and the number of the operation holding balls of the special symbol for which the change is to be started. The fact that is other than 0 is a condition for starting the variation, and the second game using the second start winning opening 63 is prioritized over the first game. However, the present invention is not limited to this. For example, instead of prioritizing the first game or any game, the reserved memory is digested in the order in which the start winnings are generated and stored. A configuration can also be adopted. Among these, in the latter type in which the symbols are changed in order of winning, it is confirmed that, for example, the success / failure determination order matches the digestion order (winning order) in addition to the above-described change start conditions. It can be set as one of the fluctuation start conditions that it has been confirmed that it has done.

さらに、上述のように第1の遊技及び第2の遊技の図柄変動を入賞順に行うタイプにおいては、一方の遊技が当せんしている場合には、他方の遊技の当否判定を行わないようにすることも可能である。ここで、他方の遊技の当否判定を行わない態様としては、先の当せんした遊技の大当りの遊技が終わるまでは、後の遊技の当否判定を行わない態様や、後の遊技の始動入賞を例えば当否判定については無効にする態様、などが考えられる。すなわち、これらの各種態様のように、複数の始動口を用いた場合の遊技の内容等の事情に応じて、図柄の変動開始の条件を適正に設定することが可能である。   Further, in the type in which the first game and the second game are subjected to symbol changes in the order of winning as described above, when one game is won, the other game is not judged to be successful. It is also possible. Here, as a mode in which the determination of whether or not the other game is successful is not performed, a mode in which the success determination of the subsequent game is not performed until the big hit game of the previous game is completed, or the start winning of the subsequent game is, for example, For example, an invalid mode may be considered. That is, as in these various aspects, it is possible to appropriately set the condition for starting the variation of the symbols in accordance with the circumstances such as the contents of the game when a plurality of starting holes are used.

また、前述の条件装置の作動終了後の遊技状態の記憶の順序について、適正な態様を設定することが可能である。例えば、特別図柄の確率変動、開放延長機能等、特別電動役物の開放パターン、変動パターンの選択状態(限定頻度パターンを含む)、開始デモ及び終了デモの時間の順に設定することが可能である。   In addition, it is possible to set an appropriate aspect for the order of storing the game state after the operation of the condition device is completed. For example, it is possible to set in order of the time of the opening pattern of the special electric accessory, the selection state of the fluctuation pattern (including the limited frequency pattern), the start demonstration and the end demonstration, such as the probability variation of the special symbol, the opening extension function, etc. .

また、本実施例では、前述のように、待機デモの表示要求をメイン基板102で行い、メイン基板102からサブメイン基板301へ客待ちデモコマンドを送信しているが、このコマンド送信に関する具体的態様として、大当り終了時(終了デモ終了時)、或いは、特別図柄の変動停止時、といった所定のタイミングでタイマをセットして計時を行い、特別図柄の変動待機中はタイマを減算し、タイマ値が0になった際に、待機デモのコマンド送信を行うことが考えられる。さらに、特別図柄の保留記憶がない場合に限り、待機デモのコマンドをサブメイン基板301へ送信するようにしてもよい。このように、待機デモのコマンド送信に関して、大当り終了や図柄の変動停止を計時の基準としたり、保留球数によって、コマンド送信の有無を変更することが可能である。また、メイン基板102から客待ちデモコマンドの送受信を行わず、例えば、サブメイン基板301で変動停止コマンド受信後にタイマ計測を行い、所定時間経過後に客待ちデモの表示のための制御を行うようにしてもよい。   In this embodiment, as described above, a standby demonstration display request is made on the main board 102, and a customer waiting demonstration command is transmitted from the main board 102 to the sub-main board 301. As a mode, the timer is set at a predetermined timing such as when the big hit ends (when the end demo ends) or when the special symbol fluctuation stops, and the timer value is subtracted while waiting for the special symbol fluctuation. It is conceivable that a standby demo command is transmitted when becomes 0. Furthermore, a standby demo command may be transmitted to the sub-main board 301 only when there is no special symbol hold storage. As described above, with regard to the command transmission of the standby demonstration, it is possible to use the jackpot end or the symbol fluctuation stop as a reference for timing, or change the presence / absence of command transmission depending on the number of reserved balls. In addition, the customer wait demo command is not transmitted / received from the main board 102, for example, the timer measurement is performed after the variable stop command is received by the sub main board 301, and the control for displaying the customer wait demo is performed after a predetermined time elapses. May be.

また、本実施例では、内蔵乱数(ハードウエア乱数)にソフト乱数を加算した値を大当り判定で使用する当否乱数として用いているが、内蔵乱数とソフト乱数により構成される当否乱数の使用条件を遊技の状況に応じて定めることも可能である。例えば、始動口入賞があり、かつ、そのときの保留球数が最大値に達していないと判断した場合に、内蔵乱数とソフト乱数により構成される当否乱数を当否判定に用い、そのときの保留球数が最大値に達している場合には、例えばソフト乱数のみ(或いは内蔵乱数のみ)を当否乱数として用いることが考えられる。なお、本実施例では、取得された各種乱数の記憶は、当否乱数、図柄乱数、変動パターン乱数について行われているが、本発明はこれに限定されず、例えば、先読み演出機能の有無などによる必要性に応じ、変動パターン乱数の記憶を行わない構成とすることなども可能である。   In this embodiment, a value obtained by adding a soft random number to a built-in random number (hardware random number) is used as a go / no-go random number used in jackpot determination. It can also be determined according to the game situation. For example, if it is determined that there is a start opening prize and the number of balls held at that time has not reached the maximum value, a pass / fail random number composed of a built-in random number and a soft random number is used for the go / no-go determination, and the hold at that time When the number of balls has reached the maximum value, for example, it is conceivable to use only a soft random number (or only a built-in random number) as the success / failure random number. In the present embodiment, the storage of the various random numbers obtained is performed for the random number, the design random number, and the variation pattern random number. However, the present invention is not limited to this, for example, depending on the presence or absence of the prefetch effect function. It is possible to adopt a configuration in which the fluctuation pattern random number is not stored according to necessity.

また、第1の遊技と第2の遊技における始動入賞に係る制御処理を例に挙げれば、別の遊技であることに基づく制御内容の違いはあるものの、制御処理の基本構成は同様とすることができる。このため、本実施例では、制御プログラム上は、RWM503の使用記憶領域をオフセットして相違させるなどし、その他のプログラム内容は多くの部分を共通化することで、第1の遊技と第2の遊技の制御を行っている。このようにすることで、プログラムの記憶容量を少なくすることが可能である。しかし、これに限らず、全く別の処理として制御モジュールを分けて作成してもよい。このようにした場合には、制御処理の速度を向上させることができる。   In addition, if the control process related to the start winning prize in the first game and the second game is taken as an example, the basic configuration of the control process is the same although there is a difference in the control content based on being another game. Can do. For this reason, in this embodiment, on the control program, the used storage area of the RWM 503 is offset and made different, and other program contents are shared in many parts, so that the first game and the second game are shared. The game is controlled. By doing so, it is possible to reduce the storage capacity of the program. However, the present invention is not limited to this, and the control modules may be created separately as completely different processing. In this case, the speed of the control process can be improved.

また、本実施例では、第1の遊技及び第2の遊技の図柄変動の優先順位を定めているため、特別図柄の作動状態の監視において、特別図柄(第1特別図柄192、又は、第2特別図柄193)が変動待機中であるか否かの確認を行っている。しかし、本発明はこれに限定されず、例えば、第1の遊技及び第2の遊技の特別図柄の変動を、並列して同時に行えるようにしたタイプのぱちんこ遊技機の場合においては、第1の遊技及び第2の遊技の図柄変動について、変動待機中であるか否かの確認を行う必要がなくなる。なお、この場合、第1の遊技及び第2の遊技の特別図柄が、互いに独立して変動できるよう、制御処理モジュールを分けて作成することが望ましい。
<電源断時におけるメイン基板の制御処理に係る発明の第二実施例>
Also, in this embodiment, since the priority order of the first game and the second game is determined, the special symbol (the first special symbol 192 or the second special symbol 192) It is confirmed whether or not the special symbol 193) is waiting for fluctuation. However, the present invention is not limited to this. For example, in the case of a pachinko gaming machine of the type in which the special symbols of the first game and the second game can be changed simultaneously in parallel, It is not necessary to confirm whether or not the game is waiting for the change in symbols of the game and the second game. In this case, it is desirable to create the control processing modules separately so that the special symbols of the first game and the second game can be varied independently of each other.
<Second Embodiment of the Invention Related to Control Processing of Main Board at Power Off>

次に、電源断時におけるメイン基板の制御処理に係る第二実施例について説明する。なお、前述の実施例と同様の部分については同一番号を付し、その説明は省略する。前述の第一実施例においては、電源の供給電圧が低下してCPU501のNMI端子504(図4参照)に電断信号が入力されると電源断確認情報が設定されるが、第二実施例においては、電断信号の入力があったとしても、その電断信号の入力態様が所定条件を満たさなければ電源断確認情報の設定が行われない。この所定条件としては、電断信号の入力回数や入力期間などを例示することができる。   Next, a second embodiment relating to the control process of the main board when the power is turned off will be described. In addition, the same number is attached | subjected about the part similar to the above-mentioned Example, The description is abbreviate | omitted. In the first embodiment described above, the power-off confirmation information is set when the supply voltage of the power source decreases and a power-off signal is input to the NMI terminal 504 (see FIG. 4) of the CPU 501, but the second embodiment In, even if a power interruption signal is input, the power interruption confirmation information is not set unless the input state of the power interruption signal satisfies a predetermined condition. Examples of the predetermined condition include the number of times the power interruption signal is input and the input period.

例えば、電断信号は第一電断信号と第二電断信号とに分けられており、第一電断信号は第二実施例の電断信号と同様のものである。そして、第一電断信号は、CPU501のNMI端子504に入力される。一方、第二電断信号は、第一電断信号の出力に伴ってCPU501に向けて出力されるものであり、第一電断信号がCPU501に入力されると、第二電断信号はCPU501の他の入力端子に入力される。CPU501は、第一電断信号がNMI端子504に入力されると、その時に実行されていた命令を第二実施例と同様に完遂した後、制御プラグラム上に規定された所定のアドレス(ここでは0066H番地)に制御処理をジャンプさせて移行させる。さらに、CPU501は、第二電断信号の入力回数を監視しており、入力回数が例えば5回に達していれば、上述の所定のアドレス(0066H)以降の内容に従い電源断確認情報の設定を実行する。   For example, the power interruption signal is divided into a first power interruption signal and a second power interruption signal, and the first power interruption signal is the same as the power interruption signal of the second embodiment. Then, the first power interruption signal is input to the NMI terminal 504 of the CPU 501. On the other hand, the second power interruption signal is output to the CPU 501 along with the output of the first power interruption signal. When the first power interruption signal is input to the CPU 501, the second power interruption signal is output to the CPU 501. To other input terminals. When the first power interruption signal is input to the NMI terminal 504, the CPU 501 completes the instruction being executed at that time in the same manner as in the second embodiment, and then, a predetermined address (here, the control program) is defined. The control process is jumped to and transferred to address 0066H. Furthermore, the CPU 501 monitors the number of times of input of the second power interruption signal. If the number of times of input has reached, for example, five times, the CPU 501 sets the power interruption confirmation information according to the content after the predetermined address (0066H). Run.

第二電断信号の入力が5回以上ない場合においても、NMI端子504に第一電断信号が入力されることに伴って、CPU501は、制御処理を前述の所定のアドレス(0066H)に移行させる。しかし、所定のアドレスへの移行を行うものの、それ以外の電源断に備えるための制御処理は何ら行わず、電源断確認情報の設定は実行しない。そして、一旦前述の所定アドレス(0066H)への移行を行った後には、移行する前の、例えば遊技進行割込み処理中の制御処理に戻る。つまり、第二電断信号の入力態様が所定条件を満たさなくても制御処理は一旦所定のアドレス(0066H)に移行するが、それ以降の電源断確認情報の設定等のための制御処理を何ら行うことなく、移行前の制御処理に戻る。   Even when the second power interruption signal is not input five times or more, the CPU 501 shifts the control process to the predetermined address (0066H) as the first power interruption signal is input to the NMI terminal 504. Let However, although a transition to a predetermined address is performed, no other control processing for preparing for power-off is performed, and power-off confirmation information is not set. After the transition to the predetermined address (0066H), the process returns to the control process before the transition, for example, during the game progress interrupt process. That is, even if the input state of the second power interruption signal does not satisfy the predetermined condition, the control process temporarily shifts to a predetermined address (0066H). However, the control process for setting the power interruption confirmation information after that is not performed. Return to the control process before the transition without performing it.

第二電断信号の入力回数は、遊技進行割込み処理が繰り返される毎に加算される。つまり、本実施例では、5回の遊技進行割込み処理に亘り第二電断信号の入力が繰り返された場合に所定条件が満たされたと判定される。   The number of times the second power interruption signal is input is added each time the game progress interruption process is repeated. That is, in the present embodiment, it is determined that the predetermined condition is satisfied when the second power interruption signal is repeatedly input over five game progress interruption processes.

この第二実施例によれば、電源電圧が低下していない場合に例えばノイズ等の影響によりNMI端子504に信号入力があったとしても、信号入力があったことのみを原因として電源断確認情報が設定されてしまうことを防止できる。したがって、電源断とする必要がなく電源断となるべきでないような状況において、誤って電断処理が実行されてしまうことを防止できる。さらに、本実施例のように、所定のアドレスに制御処理を移行させた後に、電源断確認情報を設定することなく直ぐにその処理を抜ける構成とすることにより、第一電断信号が入力に伴うノンマスカブル割込みの機能を利用したまま、より確実な電源断確認情報の設定を行うことが可能となる。   According to the second embodiment, even if there is a signal input to the NMI terminal 504 due to the influence of noise or the like when the power supply voltage is not lowered, the power-off confirmation information only due to the signal input. Can be prevented from being set. Therefore, it is possible to prevent the power interruption process from being erroneously performed in a situation where it is not necessary to turn off the power and should not be turned off. Further, as in this embodiment, after the control process is transferred to a predetermined address, the process is immediately exited without setting the power-off confirmation information, so that the first power-off signal is accompanied by the input. It is possible to set power-off confirmation information more reliably while using the non-maskable interrupt function.

すなわち、遊技機の各種制御基板に用いられるCPUは、ハードウエア割込みであるNMIの機能を備えているのが一般的であり、CPUには、NMI機能のための入力端子や電子回路部分(論理回路を含む)が備えられている。しかし、NMI端子504への信号入力を無視してしまうような制御処理を行うこととした場合には、NMIの機能を削除するための設計変更が、プログラム上、及び回路設計上で必要となる。また、NMI端子や、NMIのための電子回路部分を残したまま、これらを使用せず、例えば接地しておくような措置を採った場合には、不使用(又は未使用)の端子や機能が残ってしまい、不正行為に利用されてしまうことも考え得る。これに対して本実施例のように、NMI端子504に第一電断信号が入力されると制御処理を所定のアドレス(0066H)に移行させるという構成を採用することにより、NMI機能のための構成を削除せずに利用したまま、メイン基板102の設計変更を最小限に抑えながらノイズ等への対策を施すことが可能となる。   That is, a CPU used for various control boards of a gaming machine generally has an NMI function that is a hardware interrupt, and the CPU has an input terminal for an NMI function and an electronic circuit part (logic Circuit). However, when control processing that ignores the signal input to the NMI terminal 504 is performed, a design change for deleting the function of the NMI is necessary in the program and circuit design. . In addition, when an NMI terminal or an electronic circuit part for the NMI is left and these are not used and, for example, grounding is taken, an unused (or unused) terminal or function is used. May remain and be used for fraud. On the other hand, as in this embodiment, by adopting a configuration in which when the first power interruption signal is input to the NMI terminal 504, the control processing is shifted to a predetermined address (0066H), the NMI function It is possible to take measures against noise and the like while minimizing design changes of the main board 102 while using the configuration without deleting it.

なお、本実施例においては、第二電断信号の入力態様が満たすべき所定条件として、5回の入力を定めているが、本発明はこれに限定されるものではなく、5回以外の回数を設定してもよい。また、所定回数に限られるものではなく、例えば所定期間に亘る入力を条件としてもよい。さらに、第二電断信号を生成するために、第一電断信号の信号経路を分岐させてCPU501に直接的に入力することや、第一電断信号の分岐信号をスイッチング回路に入力することなどが考えられる。また、第一電断信号と第二電断信号とは、CPU501に同期して入力されることが望ましいが、本実施例の作用効果を奏することが可能な範囲で第二電断信号が遅延する構成を採用してもよい。さらに、第二電断信号の入力回数は、遊技進行割込み処理が繰り返される毎に加算されるものとしているが、本発明はこれに限定されず、例えば1回の遊技進行割込み処理中に複数回計数され得る事項に基づいて、所定条件となる回数をカウントしてもよい。
<封入式遊技機への適用>
In the present embodiment, five inputs are defined as the predetermined condition to be satisfied by the input mode of the second power interruption signal, but the present invention is not limited to this, and the number of times other than five is determined. May be set. Moreover, it is not restricted to predetermined number of times, For example, it is good also as conditions on the input over a predetermined period. Furthermore, in order to generate the second power interruption signal, the signal path of the first power interruption signal is branched and directly input to the CPU 501, or the branch signal of the first power interruption signal is input to the switching circuit. Etc. are considered. In addition, it is desirable that the first power interruption signal and the second power interruption signal are input in synchronization with the CPU 501, but the second power interruption signal is delayed as long as the operational effects of the present embodiment can be achieved. You may employ | adopt the structure to do. Further, the number of times the second power interruption signal is input is added every time the game progress interrupt process is repeated. However, the present invention is not limited to this, and for example, a plurality of times during one game progress interrupt process. You may count the frequency | count which becomes a predetermined condition based on the matter which can be counted.
<Application to enclosed game machines>

また、本願発明は、遊技者が獲得した遊技媒体としての遊技球を、前述のように、遊技者に対し直接的に払出して遊技者が賞球に触れることができるようにしているぱちんこ遊技機に限られず、例えば封入循環式のぱちんこ遊技機にも適用が可能である。封入循環式のぱちんこ遊技機としては以下のようなものを例示できる。なお、前述の実施例のぱちんこ遊技機10と同様の部分については同じ符号を付して説明する。   The present invention also provides a pachinko gaming machine in which a game ball as a game medium acquired by a player is directly paid out to the player as described above so that the player can touch the prize ball. However, the present invention can be applied to, for example, a sealed circulation pachinko game machine. Examples of the enclosed circulation pachinko game machine include the following. In addition, the same code | symbol is attached | subjected and demonstrated about the part similar to the pachinko game machine 10 of the above-mentioned Example.

すなわち、封入循環式のぱちんこ遊技機は、内部に遊技媒体としての遊技球を封入しており、遊技者が発射ハンドル17を操作することにより、発射装置の発射モータを駆動させて封入球を1発ずつ遊技盤50前面の遊技領域52に打込んで遊技ができるように構成されている。遊技領域52の構成としては、前述のぱちんこ遊技機10のように遊技球を遊技者に引き渡すタイプのぱちんこ遊技機と同様の構成を採用できる。さらに、遊技球を遊技者に引き渡す必要がないことから、遊技球を一旦溜めるための上球皿15、下球皿16といった構成はなくてもよい。   In other words, the enclosed circulation type pachinko gaming machine has a game ball as a game medium enclosed therein, and the player operates the launch handle 17 to drive the launch motor of the launch device, and the enclosed ball 1 It is configured so that a game can be played by driving into the game area 52 on the front of the game board 50 one by one. As the configuration of the gaming area 52, a configuration similar to a pachinko gaming machine of a type in which a game ball is handed over to a player like the pachinko gaming machine 10 described above can be adopted. Furthermore, since it is not necessary to hand over the game balls to the player, there is no need for the upper ball tray 15 and the lower ball tray 16 for temporarily collecting the game balls.

遊技領域52で入賞した遊技球、及び入賞しなかった遊技球はセット基盤39に形成された球回収樋に案内され、揚送装置(図示略)により揚送される。揚送装置は、揚送モータにより回転する揚送用スクリューが内蔵されており、この揚送用スクリューが回転することによりパチンコ球(遊技球)が揚送される。揚送装置の背部には、揚送途中のパチンコ球と接触することによりそのパチンコ球を研磨する研磨部材が設けられており、パチンコ球は揚送されつつ、その表面が研磨される。   A game ball won in the game area 52 and a game ball that has not won a prize are guided to a ball collecting basket formed on the set base 39 and are lifted by a lifting device (not shown). The lifting device has a built-in lifting screw that is rotated by a lifting motor, and the pachinko ball (game ball) is lifted by the rotation of the lifting screw. A polishing member for polishing the pachinko ball by contacting the pachinko ball in the middle of lifting is provided on the back of the lifting device, and the surface of the pachinko ball is polished while being lifted.

揚送装置の球入口側(下方側)及び球排出口側(上方側)には、遊技球の検出スイッチが設けられており、これら検出スイッチにより、揚送されるパチンコ球が検出される。揚送装置の球排出口の近傍には球発射装置が設けられており、揚送後の(上方側の)検出スイッチで検出された遊技球は、球送り装置により球発射装置に供給される。球送り装置は、遊技者が発射ハンドル17を操作して遊技球を1発打つ毎に次の遊技球を1つ打球発射位置に送り込む機能を有する。さらに、遊技球の循環経路途中に遊技球過不足検出スイッチが設けられ、循環経路内のパチンコ球が所定個数(たとえば50個)になっているか否かを検出する。   A game ball detection switch is provided on the ball inlet side (lower side) and the ball outlet side (upper side) of the lifting device, and the pachinko balls to be lifted are detected by these detection switches. A ball launching device is provided in the vicinity of the ball discharge port of the lifting device, and the game ball detected by the detection switch (upper side) after the lifting is supplied to the ball launching device by the ball feeding device. . The ball feeding device has a function of feeding the next game ball to the hitting ball launch position every time the player operates the launch handle 17 to hit one game ball. Further, a game ball excess / deficiency detection switch is provided in the middle of the circulation path of the game balls, and detects whether or not the number of pachinko balls in the circulation path is a predetermined number (for example, 50).

ぱちんこ遊技機の所定側の側方位置に該ぱちんこ遊技機に対して遊技用装置の一例のカードユニット(CU)が1対1に対応設置されている。この点は、前述のぱちんこ遊技機10と同様である。カードユニットは、会員登録をしていない一般の遊技者に対して発行される遊技用記録媒体であるプリペイド機能を備えるビジターカードや、該遊技場に会員登録した会員遊技者に対して発行される遊技用記録媒体である会員カードを受付けて、それらカードの記録情報により特定される遊技者所有の遊技価値(たとえばカード残高、持球数、あるいは貯球数等)を用いて対応するぱちんこ遊技機における封入球を弾発発射させて遊技ができるようにするための機能を有する。なお、ビジターカードや会員カードはICカードで構成されている。   A card unit (CU) as an example of a gaming device is installed in a one-to-one correspondence with the pachinko gaming machine at a side position on a predetermined side of the pachinko gaming machine. This is the same as the pachinko gaming machine 10 described above. The card unit is issued to a visitor card having a prepaid function, which is a game recording medium issued to a general player who has not registered as a member, or a member player who has registered as a member in the game hall. Pachinko machines that accept membership cards, which are game recording media, and use the game value (for example, card balance, number of balls held, number of balls stored, etc.) owned by the player specified by the record information of those cards It has a function for allowing the game to be performed by bullet firing the encapsulated ball. The visitor card and membership card are composed of IC cards.

このぱちんこ遊技機においては、現在の持球数の管理は、カードユニット側においてぱちんこ遊技機側の遊技球数の変動を算出することにより行われている。ぱちんこ遊技機側においても現在の遊技球数の算出・記憶を行なっているが、その遊技球数はぱちんこ遊技機側において遊技球数が0となったときにぱちんこ遊技機自ら打球発射を迅速に停止させる制御を行なうためだけに用いられる副次的なものである。このようにすることにより、ぱちんこ遊技機側における遊技球数に関する主管理機能をカードユニット側に持たせてぱちんこ遊技機側のコストを抑えることにより、封入式遊技機を導入する遊技場のランニングコストを軽減することができる。   In this pachinko gaming machine, management of the current number of balls is performed by calculating fluctuations in the number of gaming balls on the pachinko gaming machine side on the card unit side. The pachinko game machine also calculates and stores the current number of game balls, but when the number of game balls reaches 0 on the pachinko game machine side, the pachinko game machine quickly launches the ball. It is a secondary thing used only for performing the control to stop. By doing this, the running cost of the game hall where the enclosed game machine is introduced by holding down the cost of the pachinko gaming machine side by providing the card unit side with the main management function regarding the number of game balls on the pachinko gaming machine side Can be reduced.

ぱちんこ遊技機とCUとが遊技場に設置されて初めて電気的に接続された状態で電源を立上げたときには、ぱちんこ遊技機側の払出制御基板は、メイン基板からメインチップIDを送信してもらい、そのメインチップIDをCU側に送信するとともに、払出制御基板自身が記憶している払出チップIDをカードユニット側へ送信する。カードユニット側では、それら送信されてきたメインチップIDと払出チップIDとを記憶する。次に、接続時刻すなわちカードユニット側とぱちんこ遊技機側とが接続されて通信が開始された時刻のデータがカードユニット側からぱちんこ遊技機側へ送信され、ぱちんこ遊技機側ではその送信されてきた接続時刻を記憶する。   When the power supply is turned on for the first time after the pachinko gaming machine and the CU are electrically connected after being installed in the amusement hall, the payout control board on the pachinko gaming machine side sends the main chip ID from the main board. The main chip ID is transmitted to the CU side, and the payout chip ID stored in the payout control board itself is transmitted to the card unit side. On the card unit side, the transmitted main chip ID and payout chip ID are stored. Next, the data of the connection time, that is, the time when the card unit side and the pachinko gaming machine side are connected and communication is started is transmitted from the card unit side to the pachinko gaming machine side, and the pachinko gaming machine side transmits the data. Stores connection time.

それ以降の電源投入時においては、ぱちんこ遊技機側からカードユニット側へそれら3つの情報、すなわち、メインチップIDと払出チップIDと前回の接続時刻データとが送信される。   When the power is turned on thereafter, these three pieces of information, that is, the main chip ID, the payout chip ID, and the previous connection time data are transmitted from the pachinko gaming machine side to the card unit side.

カードユニット側では、それら送信されてきたデータと既に記憶しているデータとを照合し、前回と同じぱちんこ遊技機が接続されているか否かを判別する。なお、接続時刻のデータは、電源が立上げられる度にカードユニット側とぱちんこ遊技機側との通信が開始された新たな接続時刻データがカードユニット側からぱちんこ遊技機側へ送信されてその新たな接続時刻データをぱちんこ遊技機側において記憶することとなる。   On the card unit side, the transmitted data and the already stored data are collated to determine whether or not the same pachinko gaming machine as the previous one is connected. The connection time data is sent from the card unit side to the pachinko gaming machine side when the communication between the card unit side and the pachinko gaming machine side is started each time the power is turned on. Connection time data is stored on the pachinko gaming machine side.

カードユニットからぱちんこ遊技機に対しては、ぱちんこ遊技機に対してメインチップID等の送信が要求され、ぱちんこ遊技機からカードユニットに対してはメインチップID等が送信される。さらに、カードユニットからぱちんこ遊技機に対して認証が要求され、ぱちんこ遊技機からカードユニットに対しては、カードユニットからの認証要求の受理の通知が行われる。また、カードユニットからぱちんこ遊技機に対して、リカバリ情報の送信が要求され、ぱちんこ遊技機からカードユニットに対して、ぱちんこ遊技機で保持しているリカバリ情報が送信される。続いて、カードユニットからぱちんこ遊技機に対して、ぱちんこ遊技機に対して接続状態であることが通知され、ぱちんこ遊技機からカードユニットに対して、接続状態であることが通知される。また、カードユニットからぱちんこ遊技機に対して、リカバリ情報のクリア、接続ID(通信開始時刻)のバックアップの要求がされ、ぱちんこ遊技機からカードユニットに対して、リカバリ情報のクリア、接続ID(通信開始時刻)のバックアップの終了が通知される。   The card unit requests the pachinko gaming machine to transmit the main chip ID and the like to the pachinko gaming machine, and the pachinko gaming machine transmits the main chip ID and the like to the card unit. Further, authentication is requested from the card unit to the pachinko gaming machine, and the pachinko gaming machine is notified of acceptance of the authentication request from the card unit. Further, the card unit requests the pachinko gaming machine to transmit recovery information, and the pachinko gaming machine transmits the recovery information held in the pachinko gaming machine to the card unit. Subsequently, the card unit notifies the pachinko gaming machine that it is connected to the pachinko gaming machine, and the pachinko gaming machine notifies the card unit that it is connected. Also, the card unit requests the pachinko gaming machine to clear the recovery information and backs up the connection ID (communication start time). The pachinko gaming machine requests the card unit to clear the recovery information and connect the ID (communication). The end of backup at (start time) is notified.

さらに、カードユニットからぱちんこ遊技機に対して、各種(遊技動作)が指示され、遊技台情報(加減算データ等)の送信が要求される。カードユニットはこのコマンドを使用して、遊技台の状態を定期的に確認する。ぱちんこ遊技機からカードユニットに対しては、遊技動作指示の実行結果および遊技台情報(加減算データ等)が通知される。カードユニットからぱちんこ遊技機に対しては、通信コネクションの接合を要求するコマンドが送信される。   Further, various (gaming operations) are instructed from the card unit to the pachinko gaming machine, and transmission of gaming machine information (addition / subtraction data, etc.) is requested. The card unit uses this command to periodically check the status of the game machine. The pachinko gaming machine is notified of the execution result of the gaming operation instruction and gaming machine information (addition / subtraction data, etc.) to the card unit. A command requesting connection of a communication connection is transmitted from the card unit to the pachinko gaming machine.

また、ぱちんこ遊技機で遊技をしている最中に遊技球がなくなったことが検知された場合には、払出制御基板は自動的に打球発射モータの駆動を停止させて球を遊技領域に打込めない遊技禁止状態に制御する。なお、打球発射が停止するのみで、その段階で既に可変表示装置が可変表示中であった場合にはその可変表示を続行する。また発射停止制御を行なった段階で第1始動入賞口62や第2始動入賞口63の保留球数の記憶がある場合には、その記憶に基づいた可変表示装置の可変表示制御が続行される。   Also, when it is detected that there is no game ball while playing a game with a pachinko machine, the payout control board automatically stops driving the ball launch motor and hits the ball into the game area. Control to a prohibited game state. It should be noted that if the variable display device is already in variable display at that stage, the variable display is continued only by stopping the hitting of the hit ball. If there is a storage of the number of balls held in the first start winning opening 62 or the second starting winning opening 63 at the stage where the firing stop control is performed, the variable display control of the variable display device based on the storage is continued. .

遊技球数の主たる管理はカードユニットで行なわれているが、ぱちんこ遊技機において遊技球数が0になったことに伴う遊技禁止制御(発射停止制御)を行なうときにのみ、ぱちんこ遊技機側における遊技球数が0になったことを判定して遊技禁止制御(発射停止制御)を行なう。その後、動作応答として、最終的な球関連情報をカードユニットに送信して最終的な遊技球数「0」をカードユニット側において確定させる。このように制御する理由は、ぱちんこ遊技機側において遊技球数が0になった瞬間に打球発射停止制御を行なう必要があるためである。   The main management of the number of game balls is performed in the card unit, but only on the pachinko game machine side when the game prohibition control (launching stop control) when the game ball number becomes 0 in the pachinko game machine is performed. It is determined that the number of game balls has become 0, and game prohibition control (launch stop control) is performed. Thereafter, as the operation response, final ball-related information is transmitted to the card unit, and the final number of game balls “0” is determined on the card unit side. The reason for controlling in this way is that it is necessary to perform the hitting stop control at the moment when the number of game balls becomes zero on the pachinko gaming machine side.

たとえば、遊技球数の主たる管理を行なっているカードユニット側において、ぱちんこ遊技機側から送られてくる遊技球数=0になったときの加算球数および減算球数を含む動作応答のレスポンスの受信を待って、カードユニット側において最終的な遊技球数を算出してそれが0となることにより、遊技を禁止させるための禁止要求有の動作指示のコマンドをぱちんこ遊技機側へ送信し、それを受けて初めてぱちんこ遊技機側において打球発射停止制御を行なった場合には、レスポンスおよびコマンドの送受信の間に、パチンコ球が弾発発射されてその間に新たな減算球数が発生する可能性があり、ぱちんこ遊技機側において、遊技球数が既に「0」になっているにも拘らず新たな減算球数が発生して結局遊技球数がマイナスになってしまうという不都合が生じる。このような不都合を防止するため、遊技球数が0になったときの打球発射停止制御のみ、ぱちんこ遊技機側における遊技球数に基づいて制御している。   For example, on the card unit side which mainly manages the number of game balls, the response of the action response including the number of added balls and the number of subtracted balls when the number of game balls sent from the pachinko game machine side becomes 0 Waiting for reception, the final number of game balls is calculated on the card unit side, and when it becomes 0, a command for operation instruction with a prohibition request for prohibiting the game is transmitted to the pachinko game machine side, If the pachinko machine is controlled to stop hitting the ball for the first time after that, the pachinko ball may be shot and fired during the response and command transmission / reception, and a new number of subtraction balls may be generated during that time. On the pachinko machine side, a new subtraction ball number is generated even though the game ball number is already “0”, and the game ball number eventually becomes negative. Inconvenience say occurs. In order to prevent such inconvenience, only the batting launch stop control when the number of game balls becomes zero is controlled based on the number of game balls on the pachinko gaming machine side.

このように、打球発射停止制御に代表されるような遊技制御は、ぱちんこ遊技機自身が記憶している遊技球数に基づいて行なうために、カードユニットで管理記憶している遊技球数に基づいてこのような遊技制御を行なう場合に比較して、遊技球数の変動に即した遊技制御をリアルタイムで行なうことができる。   In this way, the game control represented by the hitting ball stoppage control is performed based on the number of game balls stored in the pachinko game machine itself, and therefore based on the number of game balls managed and stored in the card unit. Compared with the case where such game control is performed, game control can be performed in real time in accordance with the fluctuation of the number of game balls.

なお、ここでは、打球発射停止制御を払出制御基板が行なう例を示しているが、メイン基板が打球発射停止制御を行なうように構成してもよい。この場合、たとえば、払出制御基板は、遊技球数0を判定した段階で遊技球数が0であることを示す信号をメイン基板へ送信する。メイン基板は、この信号を受けて、発射モータの駆動を禁止する。   Here, an example is shown in which the payout control board performs the hitting shot stop control, but the main board may be configured to perform the hitting shot stop control. In this case, for example, the payout control board transmits a signal indicating that the number of game balls is 0 to the main board when the number of game balls is determined to be 0. The main board receives this signal and inhibits the driving of the firing motor.

カードユニットによるこのような遊技禁止の処理は、前枠12や扉14の開放があった時や、各種カードの返却操作が遊技者によって行われたときにも実行される。なお、ぱちんこ遊技機は、禁止拒否の応答が可能となっており、異常等の何らかの事情によりカードユニットの指示に従えず、例えば前枠12や扉14の開放ができないといった状況の場合には、この禁止拒否の応答をカードユニットへ送信する。なお、遊技禁止には、発射モータの駆動の禁止のみでなく、その他の遊技事項、例えば球貸なども含まれている。   Such a game prohibition process by the card unit is also executed when the front frame 12 or the door 14 is opened, or when various player return operations are performed by the player. In addition, the pachinko gaming machine can respond to the prohibition refusal, and in the situation where the front frame 12 and the door 14 cannot be opened, for example, due to some circumstances such as abnormalities, the card unit cannot be instructed. This prohibition rejection response is transmitted to the card unit. The game prohibition includes not only prohibition of driving of the launch motor but also other game items such as ball rental.

また、このような封入循環式のぱちんこ遊技機においては、球貸を所定金額(例えば500円分や1000円分)ごとに行わず、投入金額(例えば10000円)分の球貸を纏めておこなうことも可能である。遊技者への遊技球の引き渡しを必要としないので、このような球貸形態への適応は容易に行うことができる。   In addition, in such an enclosed circulation type pachinko game machine, ball lending is not performed for every predetermined amount (for example, 500 yen or 1000 yen), but lending for an input amount (for example, 10,000 yen) is performed collectively. It is also possible. Since it is not necessary to deliver the game ball to the player, it is possible to easily adapt to such a ball rental form.

なお、本願発明においては、カードユニットを添設した形態のものをも含めてぱちんこ遊技機として包括的に把握することが可能である。   In addition, in this invention, it is possible to grasp | ascertain comprehensively as a pachinko game machine also including the thing which attached the card unit.

10 ぱちんこ遊技機、50 遊技盤、52 遊技領域、62 第1始動入賞口、
63 第2始動入賞口、91 第1大入賞口、92 第2大入賞口、102 メイン基板、
113 第1当否判定手段、117 第2当否判定手段、126 第1抽選手段、
128 第2抽選手段、132 演出決定手段、136 普図抽選手段、
192 第1特別図柄、193 第2特別図柄、301 サブメイン基板、
501 CPU。
10 Pachinko machines, 50 game boards, 52 game areas, 62 first start prize opening,
63 2nd starting prize opening, 91 1st grand prize opening, 92 2nd big prize opening, 102 main board,
113 first winning / failing determination means, 117 second winning / failing determination means, 126 first lottery means,
128 second lottery means, 132 production determining means, 136 ordinary drawing lottery means,
192 1st special symbol, 193 2nd special symbol, 301 sub-main board,
501 CPU.

Claims (1)

遊技を司る主制御手段と、
前記主制御手段と通信可能に接続され、前記主制御手段からの演出に係る演出制御指令に応じた制御処理を行う演出制御手段と、を備え、
遊技領域に発射された遊技媒体が前記遊技領域を流下して所定の始動領域を通過したことに基づき、前記遊技進行割込み処理において、大当り抽選を行うことが可能であり、
前記大当りとなった場合に通常よりも遊技者に有利な特別遊技を実行するぱちんこ遊技機であり、
前記主制御手段は、
16ビット乱数発生手段と、8ビット乱数発生手段と、を備え、
前記16ビット乱数発生手段、及び、前記8ビット乱数発生手段のうち、前記16ビット乱数発生手段のみを利用するようになっており、
ぱちんこ遊技機の電源投入に伴い、前記16ビット乱数発生手段及び8ビット乱数発生手段の双方の初期設定の後に、所定のセキュリティチェックを行うセキュリティモードとなり、前記セキュリティモードを経てユーザモードへ移行し、制御開始処理と、遊技進行のために所定周期で実行される遊技進行割込み処理とを実行し、
所定のエラーが発生したことが判定された場合には、前記所定のエラーに係るエラー情報の設定を行い、
ぱちんこ遊技機に供給される電圧が所定値以下となった場合に、電源断となることを示す電源断確認情報の設定を行い、
前記制御開始処理が開始されると、前記制御開始処理において、
前記エラー情報のクリアを行い、
前記電源断確認情報が設定されていることを判定した場合に、前記電源断に備える電源断処理を実行し、
前記セキュリティモード中に前記電圧が所定値以下となった場合に、
前記電圧が前記主制御手段の動作に必要な値を下回るまでの間に、前記セキュリティチェックを完了することを特徴とするぱちんこ遊技機。
Main control means to control the game,
Production control means connected to the main control means so as to be communicable, and performing a control process in accordance with an effect control command related to the effect from the main control means,
Based on the fact that the game medium launched in the game area has flowed down the game area and passed the predetermined start area, it is possible to perform a big hit lottery in the game progress interruption process,
A pachinko gaming machine that executes a special game that is more advantageous to the player than usual when the jackpot is won,
The main control means includes
16-bit random number generation means, and 8-bit random number generation means,
Of the 16-bit random number generation means and the 8-bit random number generation means, only the 16-bit random number generation means is used,
With the power-on of the pachinko machine, after the initial setting of both the 16-bit random number generation means and the 8-bit random number generation means, it becomes a security mode for performing a predetermined security check, and transitions to the user mode through the security mode, Execute a control start process and a game progress interrupt process executed at a predetermined cycle for the progress of the game,
If it is determined that a predetermined error has occurred, error information relating to the predetermined error is set,
When the voltage supplied to the pachinko machine falls below the specified value, set the power-off confirmation information indicating that the power will be turned off.
When the control start process is started, in the control start process,
Clear the error information,
When it is determined that the power-off confirmation information is set, a power-off process for preparing for the power-off is executed,
When the voltage becomes a predetermined value or less during the security mode,
The pachinko gaming machine is characterized in that the security check is completed until the voltage falls below a value necessary for the operation of the main control means.
JP2015032594A 2015-02-23 2015-02-23 Pachinko machine Active JP6492743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015032594A JP6492743B2 (en) 2015-02-23 2015-02-23 Pachinko machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015032594A JP6492743B2 (en) 2015-02-23 2015-02-23 Pachinko machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019037120A Division JP6664067B2 (en) 2019-03-01 2019-03-01 Gaming machine

Publications (2)

Publication Number Publication Date
JP2016154579A true JP2016154579A (en) 2016-09-01
JP6492743B2 JP6492743B2 (en) 2019-04-03

Family

ID=56824202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015032594A Active JP6492743B2 (en) 2015-02-23 2015-02-23 Pachinko machine

Country Status (1)

Country Link
JP (1) JP6492743B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021112398A (en) * 2020-01-20 2021-08-05 株式会社平和 Game machine
JP2021112396A (en) * 2020-01-20 2021-08-05 株式会社平和 Game machine
JP2021112397A (en) * 2020-01-20 2021-08-05 株式会社平和 Game machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000237436A (en) * 1999-02-22 2000-09-05 Sophia Co Ltd Game machine
JP2002186757A (en) * 2000-12-22 2002-07-02 Sanyo Product Co Ltd Game machine
JP2008237233A (en) * 2007-03-23 2008-10-09 Fujishoji Co Ltd Game machine
JP2012110471A (en) * 2010-11-24 2012-06-14 Sophia Co Ltd Game machine
JP2014028076A (en) * 2012-07-31 2014-02-13 Daito Giken:Kk Game board
JP2014236961A (en) * 2013-05-10 2014-12-18 株式会社三共 Game machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000237436A (en) * 1999-02-22 2000-09-05 Sophia Co Ltd Game machine
JP2002186757A (en) * 2000-12-22 2002-07-02 Sanyo Product Co Ltd Game machine
JP2008237233A (en) * 2007-03-23 2008-10-09 Fujishoji Co Ltd Game machine
JP2012110471A (en) * 2010-11-24 2012-06-14 Sophia Co Ltd Game machine
JP2014028076A (en) * 2012-07-31 2014-02-13 Daito Giken:Kk Game board
JP2014236961A (en) * 2013-05-10 2014-12-18 株式会社三共 Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021112398A (en) * 2020-01-20 2021-08-05 株式会社平和 Game machine
JP2021112396A (en) * 2020-01-20 2021-08-05 株式会社平和 Game machine
JP2021112397A (en) * 2020-01-20 2021-08-05 株式会社平和 Game machine

Also Published As

Publication number Publication date
JP6492743B2 (en) 2019-04-03

Similar Documents

Publication Publication Date Title
JP5904675B2 (en) Pachinko machine
JP2015084830A (en) Pachinko game machine
JP2015084844A (en) Pachinko game machine
JP6168089B2 (en) Pachinko machine
JP6399348B2 (en) Pachinko machine
JP6492743B2 (en) Pachinko machine
JP6399346B2 (en) Pachinko machine
JP2015084841A (en) Pachinko game machine
JP2015084842A (en) Pachinko game machine
JP2015084843A (en) Pachinko game machine
JP2015084840A (en) Pachinko game machine
JP6399347B2 (en) Pachinko machine
JP6481417B2 (en) Pachinko machine
JP6481418B2 (en) Pachinko machine
JP2015051195A (en) Pachinko game machine
JP6492744B2 (en) Pachinko machine
JP6664067B2 (en) Gaming machine
JP6481420B2 (en) Pachinko machine
JP6481419B2 (en) Pachinko machine
JP6069230B2 (en) Pachinko machine
JP2015084832A (en) Pachinko game machine
JP2016154582A (en) Pachinko game machine
JP2015051200A (en) Pachinko game machine
JP2015051202A (en) Pachinko game machine
JP2015051196A (en) Pachinko game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181106

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190218

R150 Certificate of patent or registration of utility model

Ref document number: 6492743

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250