JP6664067B2 - Gaming machine - Google Patents

Gaming machine Download PDF

Info

Publication number
JP6664067B2
JP6664067B2 JP2019037120A JP2019037120A JP6664067B2 JP 6664067 B2 JP6664067 B2 JP 6664067B2 JP 2019037120 A JP2019037120 A JP 2019037120A JP 2019037120 A JP2019037120 A JP 2019037120A JP 6664067 B2 JP6664067 B2 JP 6664067B2
Authority
JP
Japan
Prior art keywords
random number
value
lottery
symbol
game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019037120A
Other languages
Japanese (ja)
Other versions
JP2019081037A (en
Inventor
芝野 憲司
憲司 芝野
洋平 小西
洋平 小西
光裕 芥川
光裕 芥川
謙吾 池谷
謙吾 池谷
山本 和典
和典 山本
隆光 浅井
隆光 浅井
幸男 小野澤
幸男 小野澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sammy Corp
Original Assignee
Sammy Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sammy Corp filed Critical Sammy Corp
Priority to JP2019037120A priority Critical patent/JP6664067B2/en
Publication of JP2019081037A publication Critical patent/JP2019081037A/en
Application granted granted Critical
Publication of JP6664067B2 publication Critical patent/JP6664067B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

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

一般に、ぱちんこ遊技機においては、メイン基板(主制御基板などともいう)と、主制御基板からのコマンドを受信して演出等に係る制御を行うサブ基板(副制御基板などともいう)が備えられている。さらに、メイン基板は、搭載したCPUの機能に基づき、所定の数値範囲で乱数値を発生させ、始動口入賞等の所定のタイミングで乱数値を取得する。そして、メイン基板は、取得した乱数値に基づき、大当り抽選、各種図柄抽選、及び、各種変動パターン抽選などを行う。
特開2014−124346号公報
Generally, a pachinko gaming machine includes 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 number in a predetermined numerical range based on the function of the mounted CPU, and obtains the random number at a predetermined timing such as starting opening prize. Then, the main board performs a jackpot lottery, various symbol lotteries, various variation pattern lotteries, and the like based on the obtained 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 optimum random number generating function can be selected for various lotteries. However, in the pachinko gaming machines, although individual information such as an ID number is different for each CPU, the CPU has a common initial setting and a control function, and a publicly authenticated CPU is used. Further, such CPUs are individually mounted on a plurality of game machine manufacturers and various game machines having different models. For this reason, which one of the various random number generation functions provided in the CPU is used depends on the design of each model. From the viewpoint of securing or the like, it is necessary to determine an appropriate process in advance.

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

本発明に係る遊技機は、16ビット乱数発生手段と、8ビット乱数発生手段と、を備え、前記16ビット乱数発生手段、及び前記8ビット乱数発生手段のうち、前記16ビット乱数発生手段のみが使用されるようになっており、電源が投入され、前記16ビット乱数発生手段、及び8ビット乱数発生手段の初期設定の後に所定のセキュリティチェックを行うセキュリティモードとなり、その後ユーザモードとなって、制御開始処理と、割込み処理とが実行可能となるよう構成されており、電源断処理では、スタックポインタのバックアップが実行可能となるよう構成されており、制御開始処理では、電源断処理でバックアップしたスタックポインタが復帰可能となる(S1など)よう構成されており、割込み処理では、時間を計測するための所定のタイマ減算処理(S49など)が実行可能であり、タイマ値がN(Nは0ではない)である状況下での所定のタイマ減算処理ではタイマ値がN−1となり、タイマ値が0で
ある状況下での所定のタイマ減算処理ではタイマ値が0となるよう構成されており、セキュリティモード中に電源断が発生した場合、電圧が主制御手段の動作に必要な値を下回るまでに、所定のセキュリティチェックが完了しているよう構成されていることを特徴とする。
また、上記課題を解決するために本発明は、遊技を司る主制御手段(メインCPUなど)と、前記主制御手段と通信可能に接続され、前記主制御手段からの演出に係る演出制御指令に応じた制御処理を行う演出制御手段と、を備え、遊技領域に発射された遊技媒体が前記遊技領域を流下して所定の始動領域(第1始動入賞口、第2始動入賞口など)を通過したことに基づき、前記遊技進行割込み処理において、大当り抽選を行うことが可能であり、前記大当りとなった場合に通常よりも遊技者に有利な特別遊技を実行するぱちんこ遊技機であり、前記主制御手段は、16ビット乱数発生手段(16ビット乱数用の乱数回路など)と、8ビット乱数発生手段(8ビット乱数用の乱数回路)と、を備え、前記16ビット乱数発生手段、及び、前記8ビット乱数発生手段のうち、前記16ビット乱数発生手段のみを利用するようになっており、ぱちんこ遊技機の電源投入に伴い、前記16ビット乱数発生手段及び8ビット乱数発生手段の双方の初期設定の後に、所定のセキュリティチェックを行うセキュリティモードとなり、前記セキュリティモードを経てユーザモードへ移行し、制御開始処理と、遊技進行のために所定周期で実行される遊技進行割込み処理とを実行し、所定のエラーが発生したことが判定された場合には、前記所定のエラーに係るエラー情報(エラーフラグなど)の設定を行い、ぱちんこ遊技機に供給される電圧が所定値以下となった場合に、電源断となることを示す電源断確認情報の設定を行い、前記制御開始処理が開始されると、前記制御開始処理において、前記エラー情報のクリアを行い、前記電源断確認情報が設定されていることを判定した場合(S30でYESの場合など)に、前記電源断に備える電源断処理(S301〜S307など)を実行し、前記セキュリティモード中に前記電圧が所定値以下となった場合に、前記電圧が前記主制御手段の動作に必要な値を下回るまでの間に、前記セキュリティチェックを完了することを特徴とする態様であってもよい。
The gaming machine according to the present invention includes: a 16-bit random number generating unit; and an 8-bit random number generating unit. Of the 16-bit random number generating unit and the 8-bit random number generating unit, only the 16-bit random number generating unit is provided. After the power is turned on , the security mode for performing a predetermined security check after the initial setting of the 16-bit random number generation means and the 8-bit random number generation means is set , and then the user mode is set. The start processing and the interrupt processing are configured to be executable. In the power-off processing, the stack pointer backup is configured to be executable. In the control start processing, the stack backed up by the power-off processing is configured. The pointer is configured to be able to return (S1 or the like), and in the interrupt processing, the time for measuring the time is set. A predetermined timer subtraction process (S49 and the like) can be executed, and in a predetermined timer subtraction process in a situation where the timer value is N (N is not 0), the timer value becomes N−1 and the timer value becomes 0. The timer value is set to 0 in a predetermined timer subtraction process under a certain situation, and when the power is cut off during the security mode, the timer value is reduced until the voltage falls below a value necessary for the operation of the main control means. , A predetermined security check has been completed.
Further, in order to solve the above-mentioned problem, the present invention provides a main control means (main CPU or the like) for controlling a game, and an effect control command related to an effect from the main control means, which is communicably connected to the main control means. Effect control means for performing a control process in accordance with the above, wherein the game medium ejected to the game area flows down the game area and passes through a predetermined start area (a first start winning opening, a second start winning opening, etc.). Based on this, in the game progress interruption process, it is possible to perform a jackpot lottery, a pachinko gaming machine that executes a special game more advantageous to the player than usual when the jackpot is reached, The control means includes a 16-bit random number generating means (such as a random number circuit for 16-bit random number) and an 8-bit random number generating means (random number circuit for 8-bit random number). Of the bit random number generating means, only the 16-bit random number generating means is used, and when the pachinko gaming machine is turned on, both the 16-bit random number generating means and the 8-bit random number generating means are initialized. After that, a security mode for performing a predetermined security check is entered, the mode is shifted to the user mode via the security mode, and a control start process and a game progress interruption process executed in a predetermined cycle for the game progress are executed. If it is determined that an error has occurred, error information (such as an error flag) relating to the predetermined error is set, and if the voltage supplied to the pachinko gaming machine falls below a predetermined value, the power When the power off confirmation information indicating that the power is turned off is set, and the control start processing is started, the control start processing includes: When error information is cleared and it is determined that the power-off confirmation information is set (eg, YES in S30), power-off processing (S301 to S307, etc.) for the power-off is executed, When the voltage becomes equal to or less than a predetermined value during the security mode, the security check is completed before the voltage falls below a value necessary for the operation of the main control unit. There may be.

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

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

以下、本発明の一実施例に係る遊技機であるぱちんこ遊技機について説明する。本実施例のぱちんこ遊技機においては、従来にいう第1種ぱちんこ遊技機に相当する遊技が複数混在する。その複数の遊技としての第1の遊技と第2の遊技とが、同時に実行されないよう第2の遊技が優先的に実行される。またこれらの遊技性を両立させるために、本実施例のぱちんこ遊技機は、複数の始動入賞口、複数の特別図柄表示装置、複数の保留ランプ、複数の大入賞口を備える。
<ぱちんこ遊技機の正面構成及びゲーム性の概要>
Hereinafter, a pachinko gaming machine which is a gaming machine according to one embodiment of the present invention will be described. In the pachinko gaming machine according to the present embodiment, a plurality of games corresponding to the first type pachinko gaming machine in the related art 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. Further, in order to achieve both of these amusements, the pachinko gaming machine of the present embodiment is provided with a plurality of start winning ports, a plurality of special symbol display devices, a plurality of holding lamps, and a plurality of large winning ports.
<Outline of the front structure of pachinko gaming machines and gameplay>

図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 mainly includes 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 bowl 15, a lower bowl 16, and a firing handle 17. The outer frame 11 has an opening, and is a frame for fixing the pachinko gaming machine 10 at a position where the pachinko gaming machine 10 is to be installed. The front frame 12 is a frame body that matches the opening of the outer frame 11, and is attached to the outer frame 11 so as to be openable and closable by a hinge mechanism (not shown). The front frame 12 includes a mechanism for firing a game ball as a game medium, a mechanism for detachably housing a game board, a mechanism for guiding or collecting game balls, and the like.

透明板13は、ガラスなどにより形成され、扉14により支持される。扉14は、図示しないヒンジ機構により前枠12へ開閉可能に取り付けられる。上球皿15は、皿ユニット200に設けられ、遊技球の貯留、発射レールへの遊技球の送り出し、下球皿16への遊技球の抜き取り等の機構を有する。下球皿16は、同じく皿ユニット200に設けられ、遊技球の貯留、抜き取り等の機構を有する。下球皿16の下方に位置する下部前板18には複数のスピーカ19が設けられており、遊技状態や演出パターンなどに応じたBGMや各種効果音などが出力される。   The transparent plate 13 is formed 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 plate unit 200 and has a mechanism for storing game balls, sending out game balls to the firing rail, extracting game balls to the lower ball plate 16, and the like. The lower ball plate 16 is also provided in the plate unit 200 and has a mechanism for storing and extracting game balls. A plurality of loudspeakers 19 are provided on a lower front plate 18 located below the lower ball tray 16, and BGM, various sound effects, and the like according to a game state, an effect pattern, and the like are output.

遊技盤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 design display device 60, a first start winning port 62, and a second start winning port 63 on a game area 52 defined by an outer rail and an inner rail hidden behind the door 14. , A center decoration 64, a first special winning opening 91, a second special winning opening 92, an operating opening 68 (in this embodiment, a left operating opening 68 a and a right operating opening 68 b), and a general winning opening 72. Further, in the game area 52, a number of mechanisms such as game nails and windmills (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 provided at a lower left portion when viewed from the front outside the game area 52, and the special symbol display device 53 includes the special symbol display device 53 shown in FIG. 1), a first special symbol display device 70 and a second special symbol display device 71 are provided. In this 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 starting 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. Can be 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 entry of a game ball into the first start winning opening 62, and generates (outputs) first start winning information indicating the entry when the ball is entered.

第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 (a 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 entry when the ball is entered. When the ordinary electric accessory is expanded by the driving force of the ordinary electric auditors solenoid 76, a so-called electric chew support is provided, and the ease of entering the second starting winning opening 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と同程度の開口巾を有するようにしても良い。
The second start winning opening 63 is provided below the first start winning opening 62, that is, at a position where the first start winning opening 62 prevents game balls from entering. Therefore, while the normal electric auditorium does not spread, the ball entering the second starting winning port 63 is impeded by the first starting winning port 63, and the second starting winning port 63 is in a state where it is difficult to enter the ball. Will be maintained. Therefore, in order to aim for the ball to enter the second start winning opening 63 in the game, it is usually necessary to expand the electric powered accessory. In the present embodiment, as a result of the normal electric accessory being expanded, the ease of entering the second starting winning opening 63 is higher than the ease of entering the first starting winning opening 62. However, it may be set appropriately according to the profits obtained as a result of the first game and the second game, and the structure in which the ball does not enter at all when the electric powered accessory is not expanded, or the first starting winning opening 62 The opening width may be approximately the same as the opening width.

ここで、第2始動入賞口63を拡開により開放する態様には、通常時における開放態様と、後述する特定遊技時における開放態様とがある。これらのうち通常時における開放態様には、例えば0.2秒程度の比較的短い時間で終わる短開放(以下では「ショート開放」と称する場合がある)や、この短開放の開放時間を延長して例えば5秒程度の開放を行う長開放(以下では「ロング開放」と称する場合がある)などがある。また、特定遊技時における開放態様には、例えば5秒程度の開放を行う長開放がある。ここで、以下では、短開放が行われている状態を「短開放状態」と称し、長開放が行われている状態を「長開放状態」と称することが可能である。そして、第2始動入賞口63を開放させるか否かや、どの態様で開放させるかは、普通電動役物に係る普通図柄に係る当り抽選の結果に基づいて決まるが、普通図柄や、普通図柄に係る当り抽選については後述する。   Here, there are two modes of opening the second start winning opening 63 by expanding them, that is, a normal mode and a later-described specific game mode. Of these, the opening mode at the normal time includes a short opening that may be completed in a relatively short time of, for example, about 0.2 seconds (hereinafter, may be referred to as a “short opening”), or extending the opening time of the short opening. For example, there is a long opening (hereinafter sometimes referred to as “long opening”) in which the opening is performed for about 5 seconds, for example. Further, as an opening mode at the time of the specific game, there is a long opening in which the opening is performed for about 5 seconds, for example. 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 to open the second starting winning opening 63 and in what manner it is opened are determined based on the result of the winning lottery for the ordinary symbol related to the ordinary electric auditors, but the ordinary symbol and the ordinary symbol are determined. The hit lottery according to 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 in FIG. 3) for detecting the entering of a game ball. 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 entering when the ball is entered. Note that the general winning detection device 73 may be provided individually for the general winning opening, may collectively collect and detect game balls that have entered the plurality of general winning openings 72, or They may be appropriately grouped and collected and detected according to the arrangement position (up and down, left and right) of the general winning opening and the set number of prize balls (for example, 5 prize balls and 10 prize balls).

図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 special winning opening 91 is provided as a special winning opening corresponding to the first game, and the second special winning opening 92 is provided as a special winning opening corresponding to the second game. The first special winning opening 91 includes a winning detecting device 78 (see the block diagram in FIG. 3) for detecting the entry of a game ball, and a first opening / closing door (for opening and closing the first special winning opening 91). (Not shown), and a special winning 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 large winning opening 91, and generates (outputs) first large winning opening winning information indicating the entering when the ball is entered.

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

第1大入賞口91は、第1特別図柄192(図7(a)を参照)が所定の態様にて停止したときに「大当り」として開放状態となる横長方形状の入賞口である。第1大入賞口91はアウト口58の上方の位置に設けられる。第2大入賞口92は、第2特別図柄193が所定の態様にて停止したときに「大当り」として開放状態となる横長方形状の入賞口である。第2大入賞口92はアウト口58の右上方の位置に設けられる。   The first special 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 big winning opening 91 is provided at a position above the out opening 58. The second special 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 big winning opening 92 is provided at a position on the upper right of the out opening 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 provided in front of the first special winning opening 91 and the second special winning opening 92, respectively, and each decorative plate is used to decorate the game area 52. Characters and figures are drawn. The decorative plates 91b and 92b are made of a transparent material so that a 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 special winning opening 91 and the second special winning opening 92 may be arranged such that only one special winning opening (for example, the first special winning opening 91) is arranged and commonly used.

遊技領域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 is separated from the lower left by a first special symbol display device 70 corresponding to the first game and a second special symbol display device corresponding to the second game. 71 are provided adjacent to each other on the left and right sides (see FIG. 7A). The fluctuation of the first special symbol 192 corresponding to the first game is displayed on the first special symbol display device 70, and the fluctuation of the second special symbol 193 corresponding to the second game is displayed on the second special symbol display device 71. Is displayed. The first special symbol 192 is a symbol corresponding to the result of the first lottery performed when a game ball enters the first starting winning opening 62, and its variable display is stopped in a predetermined hitting mode. When a big hit occurs, 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 starting winning opening 63, and the variable display thereof is stopped in a predetermined hit mode. When a big hit occurs, 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 constituted by, for example, a 7-segment LED (7-segment display) with a dot added to 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 (illustration omitted) indicating the number of unit games in the special game is provided as a 2-digit 7-segment LED, which will be described later. The number of rounds of both special games is displayed in common according to the occurrence of the first or second special game.

図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. 7 (b1) and 7 (b2), a display area 194 of the effect symbol display device 60 includes a left decorative symbol 190a used for an effect relating to the first special symbol 192 and the second special symbol 193, and a center. Of the decorative symbol 190b and the right decorative symbol 190c are displayed. Furthermore, 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 performed. 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 result display of the first lottery shown by the first special symbol 192 or the result display of the second lottery shown by the second special symbol 193. The effect symbol display device 60 displays, as the decorative symbols 190a to 190c, moving images of a plurality of columns of symbol fluctuations simulating, for example, 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 constituted by a liquid crystal display in the present embodiment, but may be constituted 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 to have a staging role, in the present embodiment, the first special symbol display 70 and the second special symbol In the case where the special symbol display device 71 displays the image in an inconspicuous size, but employs a method in which the special symbol itself has a staging role and does not display the decorative symbol, the special symbol display device 60 displays the special symbol. May be displayed on a liquid crystal display such as Further, in the present embodiment, the decorative symbols 190a to 190c, which are commonly used by the first special symbol 192 and the second special symbol 193 in the effect symbol display device 60, are illustrated individually. Or, the device itself may be provided separately, and in the case of sharing as in the present embodiment, a display indicating which special symbol corresponds to the display is displayed at the corner of the effect symbol display device 60. Is 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 operating ports 68a, 68b, the left operating port 68a is provided at the middle position on the left side of the game board 50, and the right operating port 68b is on the right side of the game board 50 and on the upper right of the second big winning port 92. Is provided at one side. Each of the working ports 68a, 68b includes a passage detection device 69a, 69b (see FIG. 3). The passage detection devices 69a and 69b are sensors for detecting the passage of the game ball at the corresponding operating ports 68a and 68b, and generate (output) passage information indicating the passage at the time of passage. Passing of the game balls to the operating ports 68a and 68b is a trigger for a lottery for expanding the ordinary electric auditorium at the second starting winning port 63.

遊技者が発射ハンドル17を手で回動させると、その回動角度に応じた強度で上球皿15に貯留された遊技球が1球ずつ内レールと外レールに案内されて遊技領域52へ発射される。遊技者が発射ハンドル17の回動位置を手で固定させると一定の時間間隔で遊技球の発射が繰り返される。遊技領域52の上部へ発射された遊技球は、複数の遊技釘や風車に当りながらその当り方に応じた方向へ落下する。遊技球が一般入賞口72、第1始動入賞口62、第2始動入賞口63、第1大入賞口91、第2大入賞口92の各入賞口へ落入すると、その入賞口の種類に応じた賞球が上球皿15または下球皿16に払い出される。一般入賞口72等の各入賞口に落入した遊技球はセーフ球として処理され、アウト口58に落入した遊技球はアウト球として処理される。なお、各入賞口は遊技球が通過するゲートタイプのものを含み、本願において「落入」、「入球」、「入賞」というときは「通過」を含むものとする。   When the player turns the firing handle 17 by hand, the game balls stored in the upper ball tray 15 are guided by the inner rail and the outer rail one by one to the game area 52 with the strength corresponding to the rotation angle. Fired. When the player fixes the rotation position of the firing handle 17 by hand, the firing of the game ball is repeated at a fixed time interval. The game ball fired at the upper part of the game area 52 hits a plurality of game nails or windmills, and falls in a direction according to how the ball is hit. When the 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 changed. The corresponding prize ball is paid out to the upper ball plate 15 or the lower ball plate 16. Game balls dropped into each winning port such as the general winning port 72 are processed as safe balls, and game balls dropped into the out port 58 are processed as out balls. In addition, each winning opening includes a gate type through which a game ball passes, and in the present application, "fall-in", "entering ball", 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 starting winning opening 62, the first special symbol 192 is displayed in a variable manner on the first special symbol display device 70, and the decorative symbols 190a to 190c are displayed in a variable manner in 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 displayed in a variable manner on the second special symbol display device 71, and the decorative symbols 190a to 190c are displayed in a variable manner in the display area 194 of the effect symbol display device 60. (See FIG. 7 (b1)). 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 elapse of the variable time determined prior to the display (see FIG. 7 (b2)). When the first special symbol 192 and the decorative symbols 190a to 190c at the time of stoppage are in a big hit mode, the game shifts to a special game which is a game state more advantageous to the player than the normal game, and the opening and closing operation of the first big winning opening 91 is performed. Is started. At this time, the decorative symbols 190a to 190c imitating the game of the slot machine have a display mode in which the three symbols match. When the second special symbol 193 and the decorative symbols 190a to 190c at the time of stoppage are in a big hit mode, the game shifts to a special game which is a game state more advantageous to the player than the normal game, and the opening and closing operation of the second big winning opening 92 is performed. 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 a unit game in which the first special winning opening 91 or the second special winning opening 92 is opened is repeated a plurality of times, and a special game in which the unit game is repeated 16 times (16R (round)) which is the maximum number of times. There are a special game in which a game and a unit game are repeated 10 times (10R (round)), a special game in which a unit game is repeated a minimum number 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 the special game in which the unit game is performed 16 times, the special game in which the unit game is performed 10 times, and the special game in which the unit game is performed 4 times. However, specific types of big hits will be described later. In each round, when a predetermined number (for example, nine) of game balls is detected in the first special winning opening 91 or the second special winning opening 92, or when the game balls are opened for a predetermined time (for example, about 30 seconds). ) Has elapsed, the end condition is satisfied, and the first special winning opening 91 or the second special winning opening 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, a probability variation game (hereinafter, referred to as “probable change”) or a variation time reduction game (hereinafter, “time reduction”) as a specific game after the special game is completed. ") Is started. During the probability change, a lottery with a higher probability of a big hit than the normal probability state is performed, and a new special game is generated relatively early. In addition, in any of the case of the 16R jackpot, the case of the 10R jackpot, and the case of the 4R jackpot, the probability change is started after the end of the special game. During working hours, the fluctuation time of the first special symbol 192 or the second special symbol 193 is substantially reduced.

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

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

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

なお、本実施例における時短中の入球容易状態は、普通図柄の時短、開放抽選の確率変動、普通電動役物の開放延長という3つの機能を用いて第2始動入賞口63への入球容易性を高める。ただし、変形例としては、これら3つの機能のうち、1つまたは2つの機能を用いて第2始動入賞口63への入球容易性を高める構成としてもよい。このように3つの機能のうち一部だけを用いても第2始動入賞口63への入球容易性を高めることは可能である。また、3つの機能のうち少なくともいずれかを、実施する期間と実施しない期間とで遊技状態に応じて切り替える構成としてもよい。   In the present embodiment, the easy entry state during the time reduction is based on three functions of shortening the time of the ordinary symbol, changing the probability of the open lottery, and extending the opening of the ordinary electric accessory, and entering the second start winning opening 63. Increase ease. However, as a modified example, a configuration may be employed in which one or two of these three functions are used to increase the ease of entering the second starting winning opening 63. As described above, even if only some of the three functions are used, it is possible to increase the ease of entering the second starting winning opening 63. Further, at least one of the three functions may be switched between a period in which the function is performed and a period in which the function is not performed in accordance with a game state.

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

さらに、このような入球容易状態における普通電動役物の開放パターン(特定遊技時の開放態様)としては、前述のように、例えば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, as the opening pattern (opening mode at the time of a specific game) of the ordinary electric accessory in such an easy-to-enter state, as described above, for example, a pattern that performs a long opening of about 5 seconds is employed. As a specific mode of the long opening, a continuous opening mode in which the opening period from the start to the end of the opening is constituted by one opening can be exemplified. As another mode, there is an intermittent open mode in which the open period from the start to the end of the open is constituted by a plurality of opens. As the intermittent opening mode, for example, a total of, e.g., 5.32 seconds, 1.60 seconds, and 1.60 seconds is interposed by an interval time for once closing the state between the opening 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 a combination of opening times of 2.96 seconds, 1.14 seconds, and 1.56 seconds, 1.14 seconds, 1.60 seconds, and 1.60 seconds An opening pattern based on a combination of each opening time of seconds and 1.14 seconds is also provided.

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

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

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

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

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

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

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

すなわち、先に行われている図柄変動が終了していない場合には変動開始条件が成立せず、新たな図柄変動は開始されないが、当該図柄変動が終了すると変動開始条件が成立し、新たな図柄変動が開始されることとなる。この際、保留記憶されていた乱数値を用いた抽選が実行され、大当りの有無や図柄の変動パターンなどが決定される。なお、本実施例の場合は、前述のように第2の遊技が優先的に実行されるので、第1特別図柄192については、第2特別図柄193の保留抽選値に対応する図柄変動が全て終わって、保留抽選値が全て消化されたことも変動開始条件となる。   In other words, if the previously performed symbol change is not completed, the change start condition is not satisfied, and a new symbol change is not started. However, when the symbol change is completed, the change start condition is satisfied, and a new symbol change is performed. The symbol change will be started. At this time, a lottery is executed using the random numbers stored and stored, and the presence or absence of a big hit, a pattern variation pattern, and the like are determined. In the case of the present embodiment, since the second game is executed with priority as described above, for the first special symbol 192, all symbol fluctuations corresponding to the reserved lottery value of the second special symbol 193 are performed. After the completion, all the held lottery values are exhausted, which is also a condition for starting the fluctuation.

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

そして、普通図柄に関しても同様に、先に行われている図柄変動が終了していない場合には変動開始条件が成立せず、新たな図柄変動は開始されないが、当該図柄変動が終了すると変動開始条件が成立し、新たな図柄変動が開始されることとなる。この際、保留記憶されていた乱数値を用いた抽選が実行され、当りの有無や図柄の変動パターンなどが決定される。   In the same manner, if the symbol change that has been performed earlier is not finished, the change start condition is not satisfied and a new symbol change is not started, but the change starts when the symbol change ends. The condition is satisfied, and a new symbol change is started. At this time, a lottery is executed using the random number value stored and held, and the presence or absence of a hit, a pattern fluctuation pattern, 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 above the upper bowl 15 and is located near the center of the upper bowl 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 exerts a function of giving the player a feeling as if he / she participates in the effect of the game or the lottery. As the button effect, for example, during the reach effect performed in the process of changing the display of the decorative symbol, "Push", "Press repeatedly", and "Press and hold" together with the symbol of the operation button 82 in the display area 194 of the effect symbol display device 60. , Etc., or a moving image of an indicator indicating the remaining time, etc., and when the player operates the operation button 82 in accordance therewith, an effect in which a character makes a comment or an ally character attacks the enemy character Directing such as performing. Further, in the present 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 big hit 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 the predetermined operation even if is operated, the effect may be executed in such a manner that the reliability of the big hit related to the reach effect at that time is low.

通常時は操作ボタン82の操作が無効となっているが、ボタン演出中は操作ボタン82の操作が有効となるボタン操作有効期間となっている。ボタン操作有効期間は、予め設定された一定時間となっている。なお、操作ボタン82に振動モータ(図示略)を組み合わせて、操作ボタン82を振動させる振動演出や、操作ボタン82の動作範囲を拡大して操
作ボタン82を突没させるといった演出態様や、操作ボタン82を比較的大きく突出させるといった演出態様を実行することも可能である。
Normally, the operation of the operation button 82 is invalid, but during the button effect, the button operation is valid during which the operation of the operation button 82 is valid. The button operation validity period is a preset fixed time. In addition, a vibration effect in which the operation button 82 is vibrated by combining a vibration motor (not shown) with 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 protruded and retracted, It is also possible to execute an effect mode in which the projection 82 protrudes 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 lower part of the display area 194 of the effect symbol display device 60, as shown in FIGS. 7 (b1) and 7 (b2), a first reserved number display section 196 indicating the reserved number of winning / rejecting lottery values in the first game is provided. , A second holding number display section 197 indicating the holding number of the winning / failure lottery value in the second game is displayed. By the way, as for the hold display, when the number of hold of the first game and the second game is increased, the display is sequentially changed based on the left side (the left side in FIG. 7A) as seen from each player. The first start winning opening 62 side (first game) which is often won at the time of the normal game is set to the reference side (left side), and the second start winning opening 63 side (the second game) which hardly wins at the normal time is displayed. Is displayed on the right. This is because it can be expected that the player can easily and intuitively grasp the hold state in the normal state. In addition, 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.
<<< Outline of main production contents in this example >>>

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

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

これらのうち抽選演出としては、例えば、ルーレットやおみくじ、或いは、2桁の図柄合わせ、といった抽選に係る動画表示を行うものを例示できる。さらに、上述の普通図柄に係る当り抽選において通常時長開放に当せんしている場合には、当せんを示す内容の抽選演出が実行され、通常時長開放に当せんしていない場合には、はずれを示す内容の抽選演出が実行される。   Among these, as the lottery effect, for example, a roulette, a fortune lottery, or a two-digit pattern matching that performs a moving image display related to the lottery can be exemplified. Furthermore, in the case of hitting the normal length opening in the lottery pertaining to the above-mentioned ordinary symbols, a lottery effect of the content indicating the winning is executed, and in the case where the normal length opening is not hit, the omission is performed. A lottery effect with the contents shown is executed.

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

さらに、抽選演出の内容と、第2始動入賞口63の開放パターンとの関係を多様に設定することが可能である。例えば、抽選演出の内容としてルーレットを用いた演出を採用し、ルーレットの目として設けられた選択肢に、「開放」、「×」、「チャンス」、「リーチ」等を割り当てる。そして、通常時長開放に当せんしなかった場合に、抽選演出の内容として「×」が選択される様子を表示し、第2始動入賞口63の開放を行わない、又は、短開放のみ行うようにする。さらに、通常時長開放に当せんした場合には、ルーレットにおいて「開放」が選択される演出を実行し、必ず長開放を行う。また、変動演出において、段階的に発展する内容の演出や、スーパーリーチに発展する内容の演出などが実行され
る場合には、抽選演出に係るルーレットにおいて「チャンス」或いは「リーチ」が選択される様子を表示し、第2始動入賞口63の開放を行わない、又は、短開放のみ行うようにする、といったことが考えられる。
Further, it is possible to variously set the relationship between the content 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", and the like are assigned to options provided as eyes of roulette. Then, when the normal length opening is not hit, a state in which “×” is selected as the content of the lottery effect is displayed, and the second starting winning opening 63 is not opened or only the short opening is performed. To Furthermore, when the normal length release is hit, an effect of selecting “open” is performed on the roulette, and the long release is always performed. In addition, in the case of a fluctuating production, when a production of a content that evolves in stages or a production of a content that develops into a super reach is executed, “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-described “long opening effect” is positioned as a special effect related to the normal long opening at the second starting winning opening 63 described above. No direct association has been made. That is, in the present embodiment, in the normal case where right-handing is not performed (at the time of left-handing), most of the winning in the first starting winning opening 62 is performed. Rarely hits the ball, and when a prize occurs, it is almost the one of the second starting winning port 63. Further, as described above, since the second game is executed prior to the first game, if a winning in the second starting winning opening 63 occurs during the long opening, the first special game is executed. Even if there is the reserved storage information related to the symbol 192, the next variable effect corresponds to the second special symbol 193. In the present embodiment, the effect for long opening is performed at a rate of 100% as an effect relating to the fluctuation of the second special symbol 193 during the normal game different from the specific game.

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

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

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

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

センター飾り64から放出された多数の遊技球のうちの一部は、右作動口68b(図1参照)を通過して通過検出装置69b(図3を参照)により検出される。そして、前述のように、右作動口68bを遊技球が通過すると、所定時間、前述の普通図柄と呼ばれる図柄が普通図柄表示装置59(図3、図7(a)参照)に変動表示され、普通図柄の変動表示が所定の当り態様にて停止すると、第2始動入賞口63の普通電動役物が所定時間拡開する。   Some of the many game balls emitted from the center decoration 64 pass through the right operating port 68b (see FIG. 1) and are detected by the passage detection device 69b (see FIG. 3). Then, as described above, when the game ball passes through the right operating port 68b, a symbol called the aforementioned ordinary symbol is variably displayed on the ordinary symbol display device 59 (see FIGS. 3 and 7A) for a predetermined time, When the change display of the normal symbol is stopped in a predetermined hitting mode, the normal electric accessory in 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 that has reached the right side of the game area 52 can be guided around the second starting winning opening 63 or the second big winning opening 92 with a nail or the like. When the ordinary electric accessory in the winning opening 63 is opened once, in many cases one game ball or, depending on the situation, several game balls can enter the second starting winning opening 63. I have. Further, in this embodiment, a time saving is added to the probability variable jackpot except for a part, and during the time saving, the opening of the normal electric accessory is extended.

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

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

図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 below the set base 39, power is supplied to the entire gaming machine. And a payout control board 45 for controlling the gaming machine frame side. Also, on the back of the game board, a main board (main control board) 102 for controlling the entire game, a liquid crystal unit 42 (a production symbol display device 60) based on information received from the main board 102 or information input independently. ) Are mounted at positions corresponding to the openings of the set base 39.

セット基盤39には、その上部に賞球を貯留する賞球タンク44、賞球タンク44に貯留された遊技球を整流案内する賞球通路、賞球通路と連絡し賞球タンク44内に貯留された球を1球単位で下方に流下排出可能な払出ユニット43、払出ユニット43から流下された遊技球を賞球として球皿(上球皿15又は下球皿16)に案内する賞球排出通路が図2のように遊技盤の上方から背面視右側部に亘って逆L字状に形成・配置されるとともに、遊技盤の背面中央に対応する位置に適宜広さの開口部が設けられている。   The set base 39 has a prize ball tank 44 for storing a prize ball thereon, a prize ball passage for rectifying and guiding the game balls stored in the prize ball tank 44, and a prize ball passage communicating with the prize ball passage and stored in the prize ball tank 44. A payout unit 43 capable of discharging a dropped ball downward in a unit of one ball, and award ball discharge for guiding a game ball dropped from the payout unit 43 to a ball plate (upper ball plate 15 or lower ball plate 16) as a prize ball. As shown in FIG. 2, the passage is formed and arranged in an inverted L shape from above the game board to the right side in rear view, and an opening having an appropriate width is provided at a position corresponding to the center of the back 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 at the lower left of the game machine when viewed from the rear. The power supply unit 48 supplies AC power supplied from outside the game machine to the entire game machine (a control device including the main board 102 and the sub board 104, And the like, and converts them into various voltages to be used in the production device, and supplies them. On the right side of the power supply unit 48, a power switch 40 composed of a tilt switch for shutting off the power supply from the power supply unit 48 to each part of the gaming machine is provided so that the power switch 40 is not turned off even if the game ball falls directly. The switch is turned on when tilted to the side (when the switch is pressed below the center of the switch).

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

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

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

そして、これらのメイン基板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 the game control device 100. The 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 the present embodiment) having a main function of effect control and a sub-sub-board (in this embodiment) specialized for a specific effect function such as image creation. In the example, it is divided into a sub-sub board 302), but the term "sub-sub board" is a generic term for these. The details of the sub main board 301 and the sub sub board 302 will be described later. An external relay terminal board 49 for relaying signals from the main board 102, the payout control board 45, and the like to a device outside the pachinko gaming machine 10 is provided in the upper right portion of the set base 39 in FIG.
<Outline of main function blocks and functions of pachinko machine>

図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, by functional blocks, a game control device 100 in the pachinko gaming machine 10 of the present embodiment and input / output devices for the game control device 100. In the pachinko gaming machine 10, the game control device 100 includes a first starting winning opening 62, a second starting winning opening 63, a first winning opening 91, a second winning opening 92, a general winning opening 72, an operating opening 68 (book) In the embodiment, each of 68a, 68b), the first special symbol display device 70, the second special symbol display device 71, the effect symbol display device 60, the ordinary symbol display device 59, the operation button 82, the speaker 19, and the game effect lamp 90. It is electrically connected and enables transmission and reception of various control signals. The game control device 100 controls not only basic operations of the game but also staging operations such as symbol change display and illumination. The game control device 100 includes a main board 102 as a main control device for controlling the entire operation of the pachinko gaming machine 10 including a basic operation of the game and a progress of the game, and a sub-board as a sub-control device for controlling the production of symbols and the like. It is configured in a form in which the function is shared with 104. Since the payout control board 45 actually existing as a part of the functions of the game control device 100 and the functions of the parts controlled by the payout control board 45 can be general ones, FIG. The description and explanation in the above are omitted, and necessary parts will be described as appropriate.

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

次に、前述の各電気的構成(図2,図3参照)のうち主要なものについて説明する。先ず、図4に示すように、ぱちんこ遊技機10には、電源基板251、払出制御基板45、メイン基板102、及びサブ基板104が備えられている。電源基板251には、上記払出制御基板45等が接続されている。払出制御基板45には、上記メイン基板102、遊技球等貸出装置接続端子板252、及びハンドル接続基板253等が接続されており、メイン基板102には、遊技盤接続基板254や、演出インターフェースA基板(図示略)等が接続されている。そして、遊技盤接続基板254には、図柄表示基板256が接続されている。   Next, the main components 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, a game ball or the like lending device connection terminal plate 252, a handle connection board 253, and the like. The main board 102 is connected to a game board connection board 254, an effect interface A, and the like. A substrate (not shown) and the like are connected. The 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 money processing and ball lending processing for ball lending, and the like. . Furthermore, a ball operation panel (not shown) or the like used for ball operation is connected to the game ball rental device connection terminal plate. The handle connection board 253 is connected to a touch switch (not shown) of the launch device, a launch stop switch (not shown), and the like. The game board connection board 254 includes, in addition to the symbol display board 256, the above-described passage detection device 69, the ordinary electric accessory solenoid 76, the prize detection device 78 of the first large winning opening 91, the large winning opening solenoid 80, The winning detection device 79 of the big winning opening 92, the winning opening solenoid 81, the general winning detecting device 73, a magnetic sensor, a radio wave sensor (not shown), and the like are connected. Further, the symbol display substrate 256 is provided in the above-described special symbol display device 53, and the symbol display substrate 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 above-mentioned effect interface A board relays the main board 102 and other devices. The effect interface A board is connected to a sub-board 104 and an effect interface B board (not shown). The above-mentioned liquid crystal unit 42 is connected to the sub-substrate 104.

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

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

次に、電源基板251やメイン基板102等の構成について説明する。図4に示すように、メイン基板102には、演算装置である1チップマイコンとしてのCPU501が搭載されている。また、メイン基板102には、CPU501により実行される各種の制御プログラムや固定値データを記憶したROM502と、そのROM502内に記憶される制御プログラムの実行に際して各種のデータ等を一時的に記憶するためのメモリであるR
WM503と、CPU501の外部に所定のデータの出力を行うデータ出力部516と、そのほか、割込回路やタイマ回路、データ送受信回路などの各種回路(図示略)が形成されている。
Next, configurations of the power supply board 251 and the main board 102 will be described. As shown in FIG. 4, on the main board 102, a CPU 501 as a one-chip microcomputer as an arithmetic unit is mounted. In addition, the main board 102 has a ROM 502 storing various control programs executed by the CPU 501 and fixed value data, and temporarily stores various data when executing the control programs stored in the ROM 502. The memory of R
A WM 503, a data output unit 516 for outputting predetermined data outside 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 CPU 501 described above, for example, a one-chip microcomputer in a resin-packaged CPU device can be used. In the present embodiment, a control clock generation circuit, a random number clock A generation circuit, a random number circuit for a 16-bit random number, and a random number circuit for an 8-bit random number are formed. The random number circuit for the 16-bit random number and the random number circuit for the 8-bit random number are for generating a hardware random number (described later), which is a built-in random number. Note that the ROM 502 and the RWM 503 in FIG. 4 are of a general concept including those built in the CPU device and those external 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 to retain data (backup) even after the power of the pachinko gaming machine 10 is cut off, and the RWM 503 temporarily stores various data and the like. A backup area 503a is provided in addition to a memory and an area (not shown) for performing the operation.

バックアップエリア503aは、停電(瞬間的な電圧降下による停電を含む)などの発生により電源が遮断された場合(電断が生じた場合)において、電源遮断時のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアであり、電源投入時(停電解消による電源投入を含む。以下同様)には、バックアップエリア503aの情報に基づいてぱちんこ遊技機10の状態が電源遮断前の状態に復帰される。バックアップエリア503aへの書き込みはNMI割込処理(電源断処理)によって電源遮断時に実行され、バックアップエリア503aに書き込まれた各値の復帰は電源投入時の制御開始処理において実行される。バックアップエリア503aとしては、CPU501に対して外付けされバックアップ電源の接続された外部RWMを利用することが可能である。   The backup area 503a stores a stack pointer, a register, and an I / O when the power is cut off (when a power cut occurs) due to a power failure (including a power failure due to a momentary voltage drop). This is an area for storing a value such as O. When the power is turned on (including power-on due to blackout of electricity, the same applies hereinafter), the state of the pachinko gaming machine 10 is turned off based on the information in the backup area 503a. It returns to the previous state. Writing to the backup area 503a is executed when power is turned off by NMI interrupt processing (power cutoff processing), and restoration of each value written to the backup area 503a is executed in control start processing when power is turned on. As the backup area 503a, an external RWM external to the CPU 501 and connected to a backup power supply 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 506 for monitoring power interruption due to a power failure or the like. The power failure monitoring circuit 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 a DC stable (for example, 30 volt) voltage which is the maximum voltage output from the power supply unit 541 of the power supply board 251, and when the voltage falls below a predetermined voltage, a power failure (power cutoff) occurs. ), And outputs a power interruption signal to the NMI terminal 504 of the CPU 501 on the main board 102 or another board. Upon input of the power interruption signal, the CPU 501 of the main board 102 and the CPU 511 of the payout control board 45 immediately execute the NMI interrupt processing. 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 keeps the control system drive voltage of 5 volts for a time sufficient for executing the NMI interrupt process even after the DC stable voltage becomes lower than the predetermined voltage. The output is configured to maintain a normal value. Therefore, the main board 102 and the payout control board 45 can normally execute and complete the NMI interrupt processing.

また、本実施例においては、サブメイン基板301にも、停電監視回路部506から電断信号に基づき、メイン基板102から、電断信号となり電源電圧の低下の有無を示す値(0又は1)が入力されている。サブメイン基板301のバックアップ機能については後述する。   Further, in the present embodiment, the sub-main board 301 also becomes a power-off signal from the main board 102 based on the power-off signal from the power failure monitoring circuit unit 506, and indicates a value (0 or 1) indicating whether or not the power supply voltage has dropped. 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上に形成することなどが考えられる。   In addition, the power failure monitoring circuit unit 506 can be arranged 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 function of the power supply board 251 may be performed by the main board 102. In this case, the power supply unit 541 may be formed on the main substrate 102.

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

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

バックアップエリア513aは、停電などの発生により電源が遮断された場合において、電源遮断時のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアであり、電源投入時には、このバックアップエリア513aの情報に基づいてぱちんこ遊技機10の状態が電源遮断前の状態に復帰される。バックアップエリア513aへの書き込みはNMI割込処理によって電源遮断時に実行され、バックアップエリア513aに書き込まれた各値の復帰は電源投入時のメイン処理において実行される。   The backup area 513a is an area for storing the values of the stack pointer, registers, I / O, and the like when the power is turned off when the power is turned off due to the occurrence of a power failure. Based on the information in the backup area 513a, the state of the pachinko gaming machine 10 is returned to the state before power-off. The writing to the backup area 513a is executed when the power is turned off by the NMI interrupt processing, and the restoration of each value written to the backup area 513a is executed in the main processing 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. 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, the ROM 522, the work RWM 523, the 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 an effect control command (command) for symbol display transmitted from the main substrate 102. The ROM 522 is a memory for storing various control programs executed by the CPU 521 and fixed value data. The work RWM 523 temporarily stores work data and flags used when the CPU 521 executes the various programs. Memory.

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

電源基板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 an outline, the power supply unit 541 takes in a predetermined voltage supplied from the outside, and applies a predetermined amount of voltage for driving various switches, motors, logic circuits, and the like 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 erasure 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 arcade clerk when the power is turned on. The circuit which does. The main board 102 and the payout control board 45 clear the data in the backup areas 503a and 513a when the RWM erasing signal is input when the power of the pachinko gaming machine 10 is turned on.
<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 substrate 102 and the sub substrate 104 will be described from a functional aspect. As shown in FIG. 5, the main board 102 in this embodiment includes a ball entry determining unit 110, a first lottery unit 126, a second lottery unit 128, a general drawing lottery unit 136, a hold 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 notifying means 157, and command transmitting means 332.

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

なお、メイン基板102に含まれる各機能ブロックは、いずれかがメイン基板102ではなくサブメイン基板301に搭載されるかたちで構成されてもよい。同様に、サブメイン基板301に含まれる各機能ブロックは、いずれかがサブメイン基板301ではなくメイン基板102に搭載されるかたちで構成されてもよい。   Each of the functional blocks included in the main board 102 may be configured such that any one of them is mounted on the sub main board 301 instead of the main board 102. Similarly, each of the functional blocks included in the sub main board 301 may be configured such that any one of them 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 and reception between the main board 102 and the sub main board 301 is performed in one direction from the main board 102 to the sub main board 301, the whole operation is realized by data transmission and reception in such one direction. Each component is arranged on the main board 102 and the sub main board 301. As described above, since the unidirectionality of data transmission 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. And cannot request data transmission. Therefore, the information generated by 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などを備えている。
<<メイン基板の主要な機能>>
6, the sub-sub-board 302 includes an effect-mode receiving unit 308, an effect executing unit 309, and the like, as shown in FIG.
<< Main functions of main board >>

入球判定手段110は、各入賞口への遊技球の入球を判定する。入球判定手段110は、第1始動入賞情報を受け取ると遊技球が第1始動入賞口62に入賞したと判断し、第2始動入賞情報を受け取ると遊技球が第2始動入賞口63に入賞したと判断する。入球判定手段110は、第1大入賞口入賞情報を受け取ると遊技球が第1大入賞口91に入賞したと判断し、第2大入賞口入賞情報を受け取ると遊技球が第2大入賞口92に入賞したと判断し、一般入賞情報を受け取ると遊技球が一般入賞口72に入賞したと判断する。入球判定手段110は、通過情報を受け取ると遊技球が作動口68を通過したと判断する。   The entering ball judging means 110 judges whether a game ball enters each winning opening. The winning determination unit 110 determines that the game ball has won the first start winning opening 62 when the first starting winning information is received, and the game ball wins the second starting winning opening 63 when the second starting winning information is received. Judge that you have done. The winning determination unit 110 determines that the game ball has won the first winning opening 91 when receiving the first winning opening information, and receives the second winning winning information when receiving the second winning opening information. When it is determined that the mouth 92 has been won, and when the general winning information is received, it is determined that the game ball has won the general winning opening 72. Upon receiving the passage information, the entering ball judging means 110 judges that the game ball has passed the operating 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 the ball entry into the first start winning opening 62 includes a first lottery value acquisition means 112, a first success / failure determination means 113, a first pattern determination means 114, One symbol determining means 320 is included. The second lottery means 128 for executing the second lottery corresponding to the ball entry into the second starting winning opening 63 includes a second lottery value acquiring means 115, a second hit / failure determining means 117, a second pattern determining means 119, It includes two symbol determination means 322. The result of the first lottery is shown in the form of a variable display of the first special symbol 192 on the first special symbol display device 70, and in the form of a variable display of the decorative symbols 190a to 190c in the display area 194 of the effect symbol display device 60. Indicated by The result of the second lottery is shown in the form of a variable display of the second special symbol 193 on the second special symbol display device 71, and in the form of a variable display of the decorative symbols 190a to 190c in the display area 194 of the effect symbol display device 60. Indicated by

第1抽選手段126および第2抽選手段128は、図柄変動を開始するにあたり、その図柄変動に対応する抽選の結果を図柄変動の制御コマンドとともに演出決定手段132へ送信する。   When starting the symbol change, the first lottery means 126 and the second lottery means 128 transmit the result of the lottery corresponding to the symbol change to the effect determination means 132 together with the symbol change 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 acquiring means 112 acquires a value of a random number as a first success / failure lottery value for the first lottery when the ball enters the first start winning opening 62. The second lottery value acquiring means 115 acquires the value of the random number as the second success / failure lottery value for the second lottery when the ball enters the second starting winning opening 63. For example, the values obtained as the first win / fail lottery value and the second win / fail lottery value for the win / fail lottery are obtained from a numerical range from “0” to “65535”. In the present embodiment, the random numbers to be obtained as the first success / failure lottery value and the second success / failure lottery value are a hardware random number (a built-in random number generated inside the CPU 501) that shares one generation device constituted by hardware. It is generated by a two-stage random number generating means that calculates (adds) a software random number (soft random number) extracted by a software random number generation program (a counter updated at each interruption). Incidentally, if the acquisition timings are exactly the same, the same value is obtained as the value of the hardware random number based on the entry of the first starting winning opening and the value of the hardware random number based on the entering of the second starting winning opening. Therefore, it is designed so that only one of the random number acquisition systems fails and does not have an unexpected game probability. The values 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 are 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 a predetermined suspension upper limit number suspended by the suspension control means 116.

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

図8は、第1当否抽選値、或いは第2当否抽選値となる乱数値である特別図柄当り乱数(以下では「当否乱数」と称する)と抽選結果との対応を示している。本図の当否判定テ
ーブルには、大当り、及び、はずれの判定結果と当否抽選値とが対応付けられており、対応付けられたそれぞれの範囲設定に応じて大当り当否確率が定まる。第1当否判定手段113および第2当否判定手段117(図5参照)は、本判定としての当否判定において本図の当否判定テーブルを参照する。第1当否判定手段113による第1の抽選と第2当否判定手段117による第2の抽選のいずれにおいても、通常時には当否抽選値が「63239〜63402」の範囲に該当したときのみ大当りとなる。確変時には大当りの範囲が拡大され、当否抽選値が「63239〜63402」の範囲に該当する場合だけでなく、「63403〜64878」の範囲に該当する場合にも大当りとなる。このように、大当りに該当する範囲は遊技状態に応じて変化する。
FIG. 8 shows the correspondence between a random number per special symbol (hereinafter, referred to as a “pass / fail random number”), which is a random number value serving as a first success / failure lottery value or a second success / failure lottery value, and a lottery result. In the win / fail judgment table of this drawing, the jackpot / losing determination result is associated with the win / win lottery value, and the hit / win probability is determined according to the associated range setting. The first contact determination unit 113 and the second contact determination unit 117 (see FIG. 5) refer to the contact determination table in the drawing in the contact determination as the final determination. In each of the first lottery by the first hit determination unit 113 and the second lottery by the second hit determination unit 117, a big hit is normally obtained only when the hit lottery value falls within the range of “63239 to 63402”. At the time of probable change, the range of the jackpot is expanded, and the jackpot becomes a jackpot not only when the win / fail lottery value falls within the range of “63239 to 63402” but also 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 the present embodiment, when the winning / rejecting lottery value is “0 to 63238” and “64879 to 65535”, it is out of the range of the big hit. That is, the lottery result corresponding to the range from “0” to “63238”, which is the lower limit of the success / failure random number range, and the upper limit, “65535”, is out of place.

このように、当否乱数の数値範囲に対して、抽選結果毎に連続する数値からなるグループが形成されている。そして、例えば第1の抽選においては、図8中に示すように、数値範囲「0〜63238」が第1のはずれグループ、「63239〜63402」が第1の大当りグループ、「63403〜64878」が第2の大当りグループ、「64879〜65535」が第2のはずれグループとなっている。   In this way, a group consisting of continuous numerical values for each lottery result is formed for the numerical range of the random numbers. Then, for example, in the first lottery, as shown in FIG. 8, the numerical range “0 to 63238” is the first outlier group, “63239 to 63402” is the first big hit group, and “63403 to 64878” is The second big hit group, "64879-65535", is the second outlying 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 outlier is 63239. Further, the number of random numbers corresponding to the jackpot 1 (the first jackpot group) is 164, and the number of random numbers corresponding to the jackpot 2 (the second jackpot group) is 1476. And the big hit probability at the time of the normal probability in the first game is 164/65536, and the big hit probability at the time of the high probability is 1640 (= 1476 + 164) / 65536.

また、上述のように、当否乱数は「0〜65535」の範囲の値をとり得るものであり、本実施例では、当否乱数は「0〜65535」の数値範囲の内蔵乱数(ハードウエア乱数)と、「0〜65520」の数値範囲の特別図柄当りソフト乱数(ソフトウエア乱数)との合算により得られている。内蔵乱数は、内蔵乱数テーブルから抽出された値である。内蔵乱数テーブルにおいては、所定範囲の数値(例えば「0〜65535」)が任意の順序で配列されており、CPU501に入力されるクロックを用いハードウエア(カウンタ回路)によりカウント値が1ずつ加算される毎に、内蔵乱数テーブル中に任意に配列された数値が、数値の大小関係と直接には関係なく、配列された順序に従って取得対象となる。そして、取得された内蔵乱数テーブル中の数値が、抽出されてソフト乱数との演算に用いられる。このような内蔵乱数は、ハードウエア的な構成を含む乱数生成装置による乱数であるともいえる。   Further, as described above, the pass / fail random number can take a value in the range of “0 to 65535”. In this embodiment, the pass / fail random 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 a numerical range of “0 to 65520”. The internal random number is a value extracted from the internal random number table. In the built-in random number table, numerical values within a predetermined range (for example, “0 to 65535”) are arranged in an arbitrary order, and the count value is incremented by one by hardware (counter circuit) using a clock input to the CPU 501. Each time the numerical values are arbitrarily arranged in the built-in random number table, the numerical values are obtained in the order in which they are arranged, regardless of the magnitude relation of the numerical values directly. Then, the numerical value in the acquired internal random number table is extracted and used for the calculation with the soft random number. 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 software-based random number generation device that adds a count value by one for each interrupt by a programmed counter and obtains numerical values arranged in ascending or descending order. It can be said that. In the present embodiment, the 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 larger than the built-in random number. , The random number value range (the size of the random number) is set small. Note that the generation of the pass / fail random numbers is not limited to simply adding the built-in random numbers and the software random numbers. For example, the random numbers may be added or multiplied or multiplied by a predetermined number and then added together. , And other calculations.

なお、本実施例では、当否乱数を、ハードウエア乱数とソフトウエア乱数との組み合わせにより作成しているが、これに限定されず、何れか一方のみで当否乱数を作成すること
も可能である。
<<図柄抽選に係る置数>>
In the present embodiment, the pass / fail random number is created by a combination of a hardware random number and a software random number. However, the present invention is not limited to this.
<< The number of symbols pertaining to the 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 are separately acquired with the above-mentioned symbol lottery value (a symbol random number per special symbol, hereinafter also referred to as “symbol random number”) and the above-mentioned hit / fail judgment. Based on the result, the stop symbol is determined when the symbol starts to change. The first symbol determination means 320 and the second symbol determination means 322 hold a plurality of symbol determination tables that are referred to determine a special symbol stop symbol. The first symbol determination means 320 and the second symbol determination means 322 refer to different symbol determination tables depending on the result of the hit determination.

図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 referred to when the result of the first lottery is a big hit, and FIG. 9B is a table to be referred to when the second result of the lottery is a big hit. FIG. 9C is a table to be referred to when the result of the determination is incorrect. The first symbol determination means 320 and the second symbol determination means 322 refer to the symbol determination table of this figure in symbol determination. In each symbol determination table, a correspondence relationship between a special symbol represented by numerals “0” to “8” and a first symbol lottery value or a second symbol lottery value is defined. Each type of special symbol is associated with a jackpot / missing result determination result. A predetermined odd number corresponds to a jackpot, and a predetermined even number corresponds to a miss.

図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", "735 to 735", respectively. 799 "and" 800 to 999 ". Further, the special symbols "7", "5", "3", "1", "0", and "2" are respectively associated with various jackpots of 16R probability change and 10R probability change described later. Here, the special symbol related to the first lottery may be referred to as a first special symbol, a special symbol 1, a special symbol 1, a symbol 1, etc. in addition to the above-described first special symbol.

また、図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などと称することがある。   In addition, as shown in FIG. 9B, in the second lottery, the special symbols “7”, “3”, “0”, and “2” are symbol lottery values “0 to 499” and “500”, respectively. To 669 "," 670 to 799 ", and" 800 to 999 ". Further, the special symbols "7", "3", "0", and "2" are associated with various jackpots of 16R probability change and 4R probability change described later, respectively. Here, the special symbol related to the second lottery may be referred to as a second special symbol, a special symbol 2, a special symbol 2, a symbol 2, etc. in addition to the above-described second special symbol.

以下に、上述の第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 big hits in the first and second lotteries will be described. First, in the present embodiment, a jackpot in which a unit game is repeated 16 times (hereinafter, also appropriately referred to as “16R jackpot”), a jackpot in which a unit game is repeated 10 times (hereinafter, also appropriately referred to as “10R jackpot”), and a unit game of 4 There is a jackpot that is repeated twice (hereinafter, also appropriately referred to as “4R jackpot”). In the special game, these jackpots are obtained when the first special winning opening 91 or the second special winning opening 92 is opened for about 30 seconds, or when the first special winning opening 91 or the second special winning opening 92 has nine or more balls. In some games, when a game ball drops in, a special winning opening is temporarily closed to end one unit game. Such a special game is a so-called out-of-ball hit for the purpose of causing a player to acquire a game ball, and is intended to cause the player to acquire more game balls. Further, in the present embodiment, the above-described specific game state such as the probability change and the time saving occurs for all the big hits. The winning probability of the 16R probability change in which 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. , 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 shown in FIG. 9 (c), special symbols "4", "6", and "8", which are even numbers among the special symbols "0" to "8", are associated with the loss. The special symbol "4" is associated with the symbol lottery value range "0 to 332", the special symbol "6" is associated with the symbol lottery value range "333 to 665", and the special symbol "8" is symbol lottery. It is associated with the value range “666 to 999”.

また、本実施例では当否抽選の結果が大当りである場合、前述の図柄乱数の数値範囲における上限値である「999」には、16R大当り以外の大当りとなる特別図柄(非16R大当り図柄)が割当てられている。また、これに限らず、下限値である「0」に非16R大当り図柄の抽選結果を割当ててもよく、更に上限値及び下限値の双方に非16R大当り図柄の抽選結果を割当ててもよい。   In the present embodiment, when the result of the winning or losing lottery is a big hit, a special symbol (a non-16R big hit symbol) which is a big hit other than the 16R big hit is set to “999” which is the upper limit in the numerical range of the above-mentioned symbol random number. Have been assigned. In addition, the lottery result of the non-16R big hit symbol may be assigned to the lower limit value “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 using software random numbers, and the process of generating random numbers is simplified as compared to the random lottery using both software random numbers and hardware random numbers. This is because the random lottery is likely to be subject to fraudulent acts, whereas the symbol lottery is less likely to be subject to fraudulent acts than the random lottery, so the crystal oscillator required to generate hardware random numbers for the symbol lottery This is because the configuration does not require the use of such components. The present invention is not limited to this, and it is possible to create the symbol random number only with the hardware random number, or to create the symbol random number with a combination of the hardware random number and the 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」に対応付けられた各グループとなっている。
<<変動パターン抽選に係る置数>>
Further, as described above, a group consisting of continuous numerical values is formed for each lottery result in the numerical range of the symbol random numbers. Then, for example, in the case of a big hit in the first lottery, as shown in FIG. "," 735-799 ", and" 800-999 "are associated with special symbols" 7 "," 5 "," 3 "," 1 "," 0 ", and" 2 ", respectively. Each group has become. Further, in the second lottery, in the case of a big hit, as shown in FIG. 9B, the numerical ranges “0-499”, “500-669”, “670-799”, and “800-999” "Are groups associated with the special symbols" 7 "," 3 "," 0 ", and" 2 ", respectively. Further, in the case of a loss, 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”.
<< Number of fluctuation 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 determination unit 114 obtains a first pattern lottery value for separately acquiring a variation pattern in which a display process of 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 based on The second pattern determination unit 119 determines a plurality of variation patterns in which the display process of symbol variation 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. Determined from fluctuation patterns. The first pattern determination unit 114 and the second pattern determination unit 119 each refer to a variation pattern table when starting a symbol variation and determine a variation pattern of 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 a variation pattern.

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

複数の変動パターンテーブルには、他の変動パターンテーブルとは演出内容の傾向が異なる選択基準である限定頻度パターンテーブルが含まれる。この限定頻度パターンテーブルは、特定の傾向の変動演出パターン(限定頻度パターン演出)がサブメイン基板301側で選択されるようにする限定頻度パターンを備えた変動パターンテーブルである。そして、本実施例においては、特別遊技終了後の特定遊技に関係して、所定の限定頻度パターンテーブルが用いられる場合があるが、この点については後述する。   The plurality of variation pattern tables include a limited frequency pattern table that is a selection criterion having a tendency of the effect content different from other variation pattern tables. This limited frequency pattern table is a variation pattern table provided with a limited frequency pattern that allows a variation effect pattern of a particular tendency (limited frequency pattern effect) to be selected on the sub main board 301 side. In the present embodiment, a predetermined limited frequency pattern table may be used in relation to a 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 illustrating a fluctuation pattern table. The first pattern determining means 114 or the second pattern determining means 119 refers to the variation pattern for deviation shown in FIG. The first pattern determination unit 114 and the second pattern determination unit 119 refer to the fluctuation pattern table of FIG. If the result of the determination is a 16R jackpot, the variation pattern table for the 16R jackpot shown in FIG. 10B is referred to. When the result is 4R jackpot or 10R jackpot, the variation pattern table for 4R jackpot or 10R jackpot shown in FIG. 10C is referred to.

図10(a)においては、パターン抽選値「0〜2599」には「スーパー1」というスーパーリーチが対応付けられ、パターン抽選値「2600〜4999」には「スーパー2」というスーパーリーチが対応付けられている。パターン抽選値「5000〜49999」には「ノーマル1」「ノーマル2」「リーチなし」のいずれかの変動パターンが対応付けられている。このように、当否判定結果がはずれの場合、スーパーリーチ、ノーマルリーチ、リーチなしのいずれも選択される可能性がある。なお、はずれ用の変動パターンテーブルにおいて、特に「リーチなし」の変動パターンを選択するとき、時短状態においては通常状態よりもさらに変動時間が概ね短い変動パターンが選択されるよう異なるテーブルを参照する。また、はずれ用の変動パターンテーブルは保留数ごとに参照すべき欄が異なるように規定されるが、通常状態を例とするその詳細は後述する図11において説明する。   In FIG. 10A, a super reach of “super 1” is associated with the pattern lottery value “0 to 2599”, and a super reach of “super 2” is associated with the pattern lottery value “2600 to 4999”. Have been. One of the fluctuation patterns of “normal 1”, “normal 2”, and “no reach” is associated with the pattern lottery values “5000 to 49999”. As described above, when the result of the determination is incorrect, any of super reach, normal reach, and no reach may be selected. In the variation pattern table for the outlier, when a variation pattern of "no reach" is particularly selected, a different table is referred to so that a variation pattern whose variation time is generally shorter in the time reduction state than in the normal state is selected. Further, the variation pattern table for the loss is defined so that the column to be referred to differs depending on the number of holdings, and details of a 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 pattern lottery value “0-23519” is associated with the super reach of “super 1”, and the pattern lottery value “23520-47039” is associated with the super reach of “super 2”. Have been. The reach of “normal 1” is associated with the pattern lottery value “47040-48999”, and the reach of “normal 2” is associated with the pattern lottery value “4900-49999”. As described above, when the result of the hit determination is the 16R big hit, the fluctuation pattern with the 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 result is a 4R jackpot or a 10R jackpot, “Super 3” or “Normal 3” is selected with a probability of about 50%.

上述したパターン抽選は、図柄抽選と同様に、ソフトウエア乱数により行われており、ソフトウエア乱数とハードウエア乱数の双方を用いる当否抽選に比べて、乱数の生成過程が簡略化されている。これは、図柄抽選と同様に、当否抽選が不正行為の対象となり易いのに対し、パターン抽選は、当否抽選に比べれば不正行為の対象となり難いため、パターン抽選については、ハードウエア乱数を生成するのに必要な水晶発振器等の部品を用いずに済む構成としたためである。なお、これに限定されず、変動パターン抽選に係る乱数を、ハードウエア乱数のみで作成することや、ハードウエア乱数とソフトウエア乱数との組
み合わせにより作成することなどが可能である。
The pattern lottery described above is performed by software random numbers, similarly to the symbol lottery, and the process of generating random numbers is simplified as compared with the random lottery using both software random numbers and hardware random numbers. This is because, like the symbol lottery, the random lottery is easily targeted for fraud, whereas the pattern lottery is less likely to be fraudulent than the random lottery, so a hardware random number is generated for the pattern lottery. This is because the configuration does not require the use of components such as a crystal oscillator necessary for the above. 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 hardware random numbers, or to create a combination of hardware random numbers and software random numbers.

また、前述のように、変動パターン抽選値(以下、「変動パターン乱数」ともいう)の数値範囲に対して、抽選結果毎に連続する数値からなるグループが形成されている。そして、はずれの場合には、図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」、及び、「リーチなし」の他の変動パターンを追加してもよく、更にこれらの各変動パターンを、例えば異なる変動時間の変動パターンに細分化してもよい。   Further, as described above, a group consisting of continuous numerical values for each lottery result is formed in the numerical range of the variable pattern lottery value (hereinafter also referred to as “variable pattern random number”). Then, 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 groups of “super 1” and “super 1”, respectively. The group of “super 2” is associated with “normal 1”, “normal 2”, and “no reach”. In addition, in the case of the 16R big hit, as shown in FIG. 10B, the pattern lottery values “0 to 23519”, “23520 to 47039”, “47040 to 48999”, and “490000 to 49999” are respectively Each group of “super 1”, “super 2”, “normal 1”, and “normal 2” is associated with each other. Further, in the case of a 4R jackpot or a 10R jackpot, as shown in FIG. 10C, the pattern lottery values “0 to 23999” and “24000 to 49999” are the respective reach of “Super 3” and “Normal 3”. Are associated groups. It should be noted that the above-mentioned “super 1”, “super 2”, “normal 1”, “normal 2”, and other variation patterns of “no reach” may be added. For example, it may be subdivided into fluctuation patterns with different fluctuation times.

図11は、はずれ用の変動パターンテーブルを詳細に示す図である。本図の変動パターンテーブル210aにおいては、保留数ごとにそれぞれ変動パターンに対応付けられたパターン抽選値の範囲が異なる。具体的には、保留数が少ないほど変動時間が相対的に長い変動パターンに割当てられたパターン抽選値の範囲が広くされており、それら変動時間の長い変動パターンが選択される確率を高めている。そのため、第1保留手段144または第2保留手段146による保留数が少ないほど平均的な変動時間が長くなる。したがって、第1保留手段144または第2保留手段146による保留数が所定数、例えば1〜2個より少なくなった場合に、変動時間の長い変動パターンの選択確率が通常より高くなり、変動時間が比較的長くなりやすい。   FIG. 11 is a diagram showing the variation pattern table for the loss in detail. In the variation pattern table 210a of this figure, the range of the pattern lottery value associated with the variation pattern differs for each number of hold. Specifically, the range of the pattern lottery value assigned to the variation pattern having a relatively longer variation time is wider as the number of holdings is smaller, and the probability that a variation pattern with a longer variation time is selected is increased. . Therefore, the smaller the number of holdings by the first holding unit 144 or the second holding unit 146, the longer the average fluctuation time. Therefore, when the number of holdings by the first holding unit 144 or the second holding unit 146 becomes smaller than a predetermined number, for example, one or two, the selection probability of a change pattern having a long change time becomes higher than usual, and the change time becomes longer. Relatively easy to be 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, the pattern lottery value range and the variation pattern when the number of results of the first lottery by the first storing means 144 or the number of results of the second lottery by the second storing means 146 is 1 are shown. The correspondence is shown. Similarly, in the second column 214aa, the third column 216a, and the fourth column 218aa, the number of first lottery results held by the first holding means 144 or the number of second lottery results held by the second holding means 146 are respectively stored. The correspondence between the pattern lottery value range and the variation pattern in the cases of 2, 3, and 4 is shown. In other words, it can be considered that the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa indicate a variation pattern table for each number of suspensions. In this figure, an example in which a plurality of variation patterns that can be selected at the time of a loss are classified into five types according to variation time will be described. In practice, however, a plurality of variation effect patterns are prepared for each of these classifications. Is equivalent to that several dozen types of fluctuation effect patterns are associated with the lottery value range for each classification.

第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までのパターン抽選値の場合には、保留数にかかわらず同じ変動時間の変動パターンが選択される。   In the first range 222, any of the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa is 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 with the super reach. In the second range 224, as a variation pattern when the lottery value corresponds to the pattern lottery value from 2600 to 4999, any of the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa A super-reach fluctuation pattern of “super 2” is associated with the super-reach. As described above, when the lottery value is a pattern lottery value from 0 to 2599 and the lottery value is a pattern lottery value from 2600 to 4999, a fluctuation pattern having the same fluctuation time is selected regardless of the number of holds.

第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」のそれぞれに対応付けられる抽選値範囲の大きさはまたさらに小さくなっている。   In the third range 226, as a variation pattern when the lottery value corresponds to a pattern lottery value from 5000 to 49999, the first column 212a, the second column 214aa, the third column 216a, and the fourth column 218aa each have a normal reach. And three types of fluctuation patterns of “normal 1”, “normal 2”, and “no reach”. However, the range of the pattern lottery value to which each variation pattern is associated differs depending on the number of holdings. In the first column 212a, the sizes of the lottery value ranges to which "Normal 1", "Normal 2", and "No Reach" are respectively associated are almost equal, and the ranges obtained by equally dividing 5000 to 49999 into three are associated. I have. 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 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, the size of the lottery value range is corresponding to each of “normal 1” and “normal 2”. The size of the lottery value range to be attached is still smaller.

「ノーマル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”. In the case of “No reach”, the fluctuation time may be shortened like a time saving state. Will vary depending on the setting of the third range 226. As the number of reservations increases from 1 to 2, 3, and 4, the pattern lottery value range of “normal 1” and “normal 2” becomes smaller, and conversely, the pattern lottery value range of “without reach” becomes larger. Therefore, the average fluctuation time becomes shorter as the number of reservations increases, and the average fluctuation time becomes longer as the number of reservations decreases. As described above, by using the fluctuation pattern table in which the correspondence between the pattern lottery value range and the fluctuation pattern is different for each number of reservations, it is possible to realize a control in which a fluctuation pattern having a long fluctuation time is easily selected when the number of reservations decreases. be able to. Further, as the variation pattern of the decorative symbol 190, a variation pattern that is applied over a plurality of successive variations of each 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 being changed, the result of the success / failure lottery, the number of reservations related to the first lottery, and the number of reservations related to the second lottery. You may make it. By doing in this way, for example, in the case of a probability change and the result of the success / failure lottery is incorrect, for the first special symbol 192, the number of reservations related to the first lottery and the number of reservations related to the second lottery Irrespective of this, the probability that the fluctuation pattern defined as the fluctuation time is relatively long is set relatively high, and the second special symbol 193 is set regardless of the number of holds related to the first lottery. In addition, it is possible to set a relatively low probability that a variation pattern defined as having a relatively long variation time is selected according to the number of holds related to the second lottery. In addition, if the result of the lottery is a jackpot during the probability change, regardless of the number of holds related to the first lottery and the number of holds related to the second lottery, the fluctuation time is defined as being relatively short. It is also possible to set the probability that the changed fluctuation pattern is selected to be relatively low.

さらに、図10及び図11に一例を示したような変動パターンテーブルに関して、図示は省略するが、更に細分化された変動パターンテーブルが設けられている。これらの変動パターンテーブルの細分化は、前述のように、第1抽選及び第2抽選の何れであるか、大当りであるか否か、保留数が幾つであるか、といった属性のほか、大当りの種類が何れのものであるか、大当り抽選の確率状態が高確率であるか否か、時短中であるか否か、といった属性にも基づいて行われている。   Further, with respect to the variation pattern table as exemplified in FIGS. 10 and 11, although not shown, a more detailed variation pattern table is provided. As described above, these subdivisions of the variation pattern table include attributes such as the first lottery and the second lottery, whether or not there is a big hit, the number of holdings, and the big hit. The determination is made based on attributes such as what kind is, whether or not the probability state of the jackpot lottery is high probability, and whether or not it is during working hours.

また、前述した「スーパー1」、「スーパー2」、「ノーマル1」、「ノーマル2」、「リーチなし」といった変動パターンも、更に細分化されて複数の変動パターンにより構成されている。また、各変動パターンには、個別に名称の付与や選択確率の割り振りが行
われている。そして、各変動パターンの名称は、使用される遊技状態(通常、リーチ、確変、時短、大当りなどの各状態)や、サブメイン基板301で選択される変動演出パターンとの関係を、開発者等が想起できるようなものとなっている。
Further, the above-described variation patterns such as “super 1”, “super 2”, “normal 1”, “normal 2”, and “no reach” are further subdivided and configured by 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 (normal, reach, probability change, time saving, big hit, etc.) and the variation effect pattern selected on the sub-main board 301 by the developer or the like. 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 different variation pattern tables. And so on.

そして、メイン基板102において遊技の状況に応じて選択された変動パターンが、前述の演出制御コマンドの一部としてサブメイン基板301に通知されることで、サブメイン基板301により、演出図柄表示装置60等を用いて実行される変動演出パターンが選択される。そして、多くの場合には、メイン基板102で選択される変動パターンに対して、サブ基板104側においては、同じ変動時間で内容の異なる複数の変動演出パターンが、選択対象として対応付けられている。このため、例えば、メイン基板102からサブメイン基板301に対して、或る特定の名称の変動パターンが指定された場合でも、サブメイン基板301で選択された変動演出パターンが異なり、異なる内容の演出が実行される、といったことがある。
<<普通図柄に係る抽選手段>>
Then, the variation pattern selected according to the state of the game on the main board 102 is notified to the sub-main board 301 as a part of the above-described effect control command. And the like, a variable effect pattern to be executed is selected. In many cases, on the sub-board 104 side, a plurality of variation effect patterns having different contents with the same variation time are associated with the variation pattern selected on the main board 102 as a selection target. . 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 an effect of different content is provided. Is executed.
<< Lottery means for ordinary symbols >>

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

普図抽選手段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 for determining the stop symbol of the ordinary symbol to be displayed on the ordinary symbol display device 59. In the symbol determination table, the correspondence between the lottery values and the ordinary symbols is defined, and the general figure lottery means 136 includes a general figure lottery value acquisition means 137, a general figure hit / fail determination means 138, and a general figure pattern determination means 139. , And the ordinary symbol determination means 140 determines the variation pattern and the stop symbol of the ordinary symbol with reference to the symbol determination table. When the determined stop symbol becomes a predetermined symbol, it is determined that the ordinary symbol has hit, and after the variable symbol of the ordinary symbol is stopped at the stopped 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 type of hit. Ordinary symbol lottery values are temporarily held by the holding control means 116. However, the lottery value is reserved only when the number does not exceed a predetermined retention upper limit number retained by the retention control unit 116.

本実施例においては、普通図柄に関しては、普図当否判定手段138に係る当否乱数、普図図柄決定手段140に係る図柄乱数、普図パターン決定手段139に係る変動パターン乱数の何れも、全てソフト乱数のみを用いて作成される。そして、それぞれの乱数範囲は、当否乱数が0〜282、図柄乱数が0〜262、変動パターン乱数が0〜232となっている。なお、これに限定されず、普通図柄に係る乱数を、ハードウエア乱数とすることや、ハードウエア乱数とソフトウエア乱数との組み合わせによるものとすることが可能である。
<<メイン基板におけるその他の主要な機能>>
In the present embodiment, regarding the ordinary symbol, all of the random number of the pass / fail of the general symbol decision unit 138, the symbol of the symbol of the general symbol decision unit 140, and the random number of the variation pattern of the regular symbol pattern determination unit 139 are all software. Created using only random numbers. In each of the random number ranges, the pass / fail random numbers are 0 to 282, the symbol random numbers are 0 to 262, and the variation pattern random numbers are 0 to 232. In addition, the present invention is not limited to this, and it is possible to use a random number related to a symbol as a hardware random number, or a combination of a hardware random number and a software random number.
<< Other main functions on the 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 means 116 includes a first holding means 144, a second holding means 146, and a general-purpose holding means 147. When a symbol change corresponding to a previous lottery is displayed when a new first lottery is executed, the first holding unit 144 changes the special figure lottery value related to the new first lottery to the lottery. Hold until the start of the variable display of the symbol corresponding to the value. In the present embodiment, a random number value is held as an upper limit of four special figure lottery values related to the first lottery. When the symbol change corresponding to the previous lottery is displayed when the second lottery is newly performed, the second holding unit 146 sets the special figure lottery value related to the new second lottery to the lottery. Hold until the start of the variable display of the symbol corresponding to the value. In the present embodiment, a random number value is held up to four as the special figure lottery value related to the second lottery. The general figure holding means 147 sets the general figure lottery value as the ordinary symbol holding information acquired by the general figure lottery means 136 along with the passage of the game ball in the operating ports 68a and 68b, with the upper limit being four balls each. Hold as The number of these reservations is represented by the number of lighting or blinking of the first special drawing reservation lamp 20, the second special drawing reservation lamp 21, and the general drawing reservation 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 in the second holding means 146 is digested with priority over the lottery value held in the first holding means 144, and the symbol variation is displayed. For this reason, even if the jackpot lottery value is held in the first holding unit 144, the symbol change corresponding to the jackpot lottery value of the first holding unit 144 is not displayed as long as the second holding unit 146 holds. Therefore, even if the first holding unit 144 holds a jackpot, it is possible that a plurality of continuous jackpots can be acquired by continuing to hit the jackpot until the jackpot is held in the second holding unit 146.

メイン表示制御手段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 a first special figure control means 148, a second special figure control means 150, and a general figure control means 153. The first special symbol control means 148 causes the first special symbol display device 70 to display the variation of the first special symbol 192 according to the variation pattern determined as a result of the first lottery by the first lottery device 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に保留された抽選値は読み出されずその図柄変動も開始しない。   The first special figure control means 148 reserves the start of the symbol variation display corresponding to the first lottery when the special figure lottery value related to the second lottery is reserved by the second retaining means 146. On the other hand, the second special figure control means 150 starts the symbol variation display corresponding to the second lottery regardless of whether the special figure 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 unit 144 and the second holding unit 146, the lottery value held by the second holding unit 146 is read out preferentially and the symbol variation is displayed. You. In such a case, the lottery value held in the first holding unit 144 is not read out until the number of holdings in the second holding unit 146 becomes 0, and the symbol change 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 transmit a fluctuation start command and a fluctuation stop command at the timing of starting and stopping the fluctuation display of the first special symbol 192 and the second special symbol 193. This is transmitted to the above-mentioned effect display control means 134. When transmitting the fluctuation start command, a value indicating each of the determined pass / fail judgment result, the stop symbol, and the fluctuation pattern, and a value indicating whether the current drawing is the first lottery or the second lottery are produced together with the fluctuation start command. This is transmitted to the display control means 134. When transmitting the fluctuation stop command, the value indicating the stop symbol is transmitted to the effect display control means 134 together with the fluctuation stop command. Thereby, the variable displays by the main display control means 118 and the effect display control means 134 are synchronized, and the interlock is maintained. The general symbol control means 153 displays the result of the lottery by the general symbol lottery means 136 on the ordinary symbol display device 59 as a variation display of the ordinary symbol.

条件保持手段176は、大入賞口の開放を伴う単位遊技を複数回含む特別遊技へ移行するための条件として特別遊技作動条件を保持する。特別遊技作動条件は、第1の抽選または第2の抽選で特別遊技へ移行する旨を示す結果となり、その抽選に対応する図柄変動が停止したことを条件の内容とする。   The condition holding unit 176 holds a special game operation condition as a condition for shifting to a special game including a plurality of unit games with opening of a special winning opening. The special game operation condition is a result indicating that the game is shifted to the special game in the first lottery or the second lottery, and the condition content is that the symbol change 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 indicates the transition to the special game, the special game control means 120 performs the special game operation 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 special winning opening 91. Similarly, when the second lottery by the second lottery means 128 indicates a transition to the special game, the special game control means 120 determines whether 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 winning 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 the big hit. On the other hand, the transition to the probable change 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 big hit symbol accompanied by a transition to the probability change. The time saving state is continued until the total of the variable display counts of the first special symbol 192 and the second special symbol 193 reaches a predetermined end condition count, for example, 100 times, counting from the end time of the special game. The first pattern determining means 114 and the second pattern determining means 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 probable change state accompanies all types of jackpots, and is continued until the total number of times of variable display after the special game reaches a predetermined number (here, 104 times). During the probable change state, the result of the determination by the first determination unit 113 or the determination of the determination by the second determination unit 117 is maintained at a value with a high probability of a big hit.

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

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

開閉制御手段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 opening / closing of the ordinary electric accessory of the second starting winning opening 63, the first winning opening 91, and the second winning opening 92. When the ordinary symbol is stopped in a specific mode, the opening / closing control means 124 sends an opening instruction to the ordinary electric auditors product solenoid 76 to open the ordinary electric auditors at the second starting winning opening 63. The opening / closing control means 124 sends an opening instruction to the special winning opening solenoid 80 or the special winning opening solenoid 81 in the special game to open the first special winning opening 91 or the second special winning opening 92. In addition, the opening / closing control means 124 executes an opening extension in which the expanding mechanism of the second start winning opening 63 is expanded for a longer time than in the normal state in the certain change state and the time saving 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, various commands from the main board 102 are received by the command receiving unit 304, and are determined and controlled by the symbol mode determining unit 131, the effect determining unit 132, the effect display control unit 134, and the like, as described later. The production mode information relating to the produced production mode is transmitted to the sub-sub-substrate 302 via the production mode transmission unit 305.

サブメイン基板301に備えられたパターン記憶手段130は、装飾図柄190a〜1
90cの変動において演出図柄表示装置60に表示させる演出的な画像内容とその表示過程が定められた複数の演出パターンを保持する。演出パターンには、装飾図柄190a〜190cの変動表示における変動開始から停止までの変動過程と演出過程が定められた複数の変動演出パターンと、装飾図柄の変動表示とは別に表示されて大当りへの期待度の高さを変動表示の停止前に予告的に示唆する複数の予告演出パターンとが含まれる。
The pattern storage means 130 provided on the sub-main board 301 stores the decorative symbols 190a to 190a.
The effect image content to be displayed on the effect symbol display device 60 in the fluctuation of 90c and a plurality of effect patterns in which the display process is determined are held. In the effect pattern, a plurality of variable effect patterns in which the change process from the start to the stop of the change and the effect process in the change display of the decorative symbols 190a to 190c are determined, and the change display of the decorative symbol are displayed separately to the big hit. A plurality of announcement effect patterns that suggest the degree of expectation in advance before the display of the fluctuation is stopped 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 determination means 132 is displayed on the effect symbol display device 60 by the effect display control means 134 in accordance with the first lottery result received from the first lottery means 126 or the second lottery result received from the second lottery means 128. Decide the production contents to be performed. The effect deciding means 132 selects any one of a plurality of fluctuation effect pattern data corresponding to the fluctuation pattern of the special symbol determined by the first pattern deciding means 114 or the second pattern deciding means 119, and stores the pattern storing means 130 Read from The effect determination unit 132 determines the combination of the stop symbols of the decorative symbols 190a to 190c based on the stop symbol or the variation pattern of the special symbol determined by the first lottery unit 126 or the second lottery unit 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, when the result of the success / failure judgment by the first lottery means 126 or the second lottery means 128 indicates the transition to the special game of the big hit, a specific A combination, for example, a combination of three symbols such as “777” or “555” is selected. In this case, it is possible to select a decorative symbol related to the same numeral as the first special symbol 192 or 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 190a to 190c are "777". Alternatively, the big hit may be indicated by a combination of the symbols including a specific symbol indicating that the hit is at least one of the three symbols. Then, the effect deciding means 132 sends the stop symbol combination of the decorative symbols 190a to 190c and the variable effect pattern data of the decorative symbol to the effect display control device 134.

装飾図柄の変動演出パターンデータには、装飾図柄の変動表示態様、すなわち装飾図柄の変動開始から変動停止までの変動過程と演出過程が定義される。変動演出パターンには、あと一つ図柄が揃えば大当りとなるリーチ状態を経てから当り態様またははずれ態様である停止図柄組合せを表示するリーチパターンと、リーチ状態を経ずにはずれ態様である停止図柄組合せを表示するリーチなしパターンが含まれる。特に、リーチ状態を経るときのパターンとしては、長短様々な変動時間をもつパターンが含まれ、前述のように、相対的に変動時間の短いリーチパターンを「ノーマルリーチ」と称し、変動時間の長いリーチパターンを「スーパーリーチ」と称する。各変動演出パターンには、その図柄変動の終了条件としてパターンごとに変動時間が定められており、その変動時間の経過時に図柄変動が停止される。演出決定手段132は、特別図柄の変動パターンに応じて、特別図柄と変動時間が等しい装飾図柄の変動演出パターンを選択する。   In the decorative effect change effect pattern data, a change display mode of the decorative symbol, that is, a change process and an effect process from the start of the change to the stop of the change of the decorative symbol are defined. The fluctuation effect pattern includes a reach pattern that displays a stop symbol combination that is a hit state or a release mode after a reach state where one more symbol is aligned and a stop pattern that is a departure mode without a reach state. Includes a no-reach pattern that indicates the combination. In particular, the pattern when going through the reach state includes a pattern having various long and short fluctuation times. As described above, a reach pattern with a relatively short fluctuation time is referred to as a “normal reach” and a reach with a long fluctuation time. The pattern is called "super reach". In each variation effect pattern, a variation time is determined for each pattern as a condition for ending 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-mentioned non-reach pattern on the sub-main board 301 also corresponds to the variation pattern of “no reach” on the main board 102. In the pachinko gaming machine 10 according to the present embodiment, a large number of variation patterns of the sub main board 301 are provided corresponding to each variation pattern of the main board 102, and the variation pattern selected on the main board 102 is When notified as a command to the main board 301, the sub main board 301 selects one of the plurality of change patterns that can be selected for the specified change pattern. When the variation pattern on the main board 102 is further subdivided, a larger number of variation patterns on the sub main board 301 are provided corresponding to the subdivision on the main board 102. Further, various fluctuation patterns on the sub-main board 301 may be used in combination with the various announcement effect patterns described above.

演出表示制御手段134は、第1演出制御手段168および第2演出制御手段170を含む。演出表示制御手段134は、遊技効果ランプ90の点灯および消灯や、スピーカ19からの音声出力などの音出力(サウンド)に係る演出処理のための制御を行う。   Effect display control means 134 includes first effect control means 168 and second effect control means 170. The effect display control means 134 performs control for effect processing related to sound output (sound) such as turning on and off 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 convert the result of the first lottery by the first lottery means 126 or the result of the second lottery by the second lottery means 128 into the selected variable effect pattern data. Therefore, the decorative symbols 190a to 190c are variably displayed 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に表示させる。   The first effect control means 168 reserves the start of the symbol variation display corresponding to the first lottery when the result of the second lottery is held by the second holding means 146. The second effect control unit 170 starts the symbol variation display corresponding to the second lottery regardless of whether or not the result of the first lottery is held by the first holding unit 144. Thereby, when the lottery value is held by both the first holding unit 144 and the second holding unit 146, the lottery value held by the second holding unit 146 is read out preferentially, and the variation of the decorative symbol is changed. Is displayed. In such a case, the lottery value held in the first holding unit 144 is not read out until the number of holdings in the second holding unit 146 becomes 0, and the decoration symbol does not start to change. In this way, the effect display control means 134 causes the effect symbol display device 60 to display the symbol variation effect including the variable 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 held lottery result notified by the advance information notification unit 157 in a predetermined buffer area. Further, the effect determination means 132 determines a lottery result regarding the fluctuation (variation display being 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, and A notice effect is displayed in accordance with the held lottery result notified in advance by the information notifying means 157 and stored in the buffer area. More specifically, an announcement effect is displayed as a precursor to suggest whether or not a big hit has occurred in the result of the holding lottery in which the symbol is changed at a future time. The effect determination means 132 executes a predetermined announcement lottery for deciding whether or not to display an announcement effect, and on condition that the lottery is won (for example, with a predetermined probability). Display a notice effect. The preview effect set in accordance with the preliminary determination result in the held lottery result in this way is called a "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 determination unit 132 determines the number of reservations in the first reservation unit 144 (hereinafter, also referred to as “first reservation number”) and the number of reservations in the second reservation unit 146 (hereinafter, “first”) set in the winning information. The first and second hold numbers at the present time are specified in accordance with the state of execution of the symbol change (that is, the state of the hold). The effect display control means 134 displays the first number of holdings and the second number of holdings specified by the effect determining means 132 in the first number of holdings display portion 196 and the second number of holdings display portion 197 of the effect symbol display device 60. Display. When the number of holdings is newly specified by the effect determination unit 132, the display of the first holding number display unit 196 and the second holding number display unit 197 is sequentially updated.
<< Various patterns of look-ahead production >>

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

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

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

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

また、先行入賞や先行変動の状態を基準とした保留変化としては、以下のようなものを挙げることができる。例えば、対象入賞に係る保留表示は通常の表示パターンで開始され、この後、対象入賞が発生した際に実行されていた変動表示が終了する。そして、それまで保留されていた先行入賞に係る始動入賞情報のうち、最も早く保留記憶されたもの(1個目の保留記憶であったもの)に係る変動表示が開始される。そして、対象入賞に係る保留表示が一つ下位の保留表示(例えば、4個目から3個目の保留表示に移行されたもの)にシフトされた際に、通常の保留表示パターンから特殊な表示パターンに変化する。   The following changes can be cited as the pending changes based on the state of the preceding winning or the preceding change. For example, the hold display related to the target prize starts in a normal display pattern, and thereafter, the variable display that has been executed when the target prize has occurred ends. Then, among the start winning information related to the preceding winning which has been held up to that time, the variable display of the earliest held storage information (the first held storage information) is started. When the hold display related to the target prize is shifted to the next lower hold display (for example, the display shifted from the fourth hold display to the third hold display), a special display is performed from the normal hold display pattern. Change 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 winning or the preceding fluctuation, there can be cited one that is executed continuously over a plurality of fluctuation displays (a plurality of starting winning information) using the preceding fluctuation. . And the following can be illustrated as an effect pattern of this continuous pending change. For example, when the hold display related to the target prize is performed at the fourth position (the fourth position (left end position)) in the first hold number display unit 196 in FIGS. 7B1 and 7B2. Are displayed in a color (for example, red) different from the color (for example, green) of the normal reserved display at another position (for example, the first to third positions). Then, the hold progresses, and the position of the hold display related to the target prize is shifted to the third position, the second position, and the first position to the right (the left in the case of the second hold number display unit 197). The color of the hold display changes in order of orange, gold, and rainbow each time it shifts to.

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

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

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

なお、先読み演出に係るコマンドは、当否、当り図柄、変動パターン、保留球数の4つの情報を1セットとして含むよう、構成することが可能である。さらに、当否乱数、図柄乱数、変動パターン乱数は、前述のようにグループ分けされているので、グループを示す情報をコマンドに含めて通信を行うことが可能である。なお、「グループ分け」の用語を「ブロック分け」、「群分け」等の用語に置き換えても、技術上の意義が同様のものとすることができる。   It should be noted that the command related to the pre-reading effect can be configured so as to include, as one set, four pieces of information such as a success / failure, a hit symbol, a variation pattern, and the number of reserved balls. Further, since the random number of the pass / fail, the symbol random number, and the random number of the fluctuation pattern are grouped as described above, it is possible to perform communication by including information indicating the group in the command. 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 also possible to adopt a configuration in which the transmission condition of the prefetch command is changed and set according to the situation, and in the situation where the transmission condition is set, the command is transmitted according to the transmission condition. For example, during a big hit (during a special game), it is conceivable that only the second special symbol 193 relating to the second game is made valid and only the command relating to the second special symbol 193 is transmitted. In addition, whether the lottery is related to the first game or the second game, whether the game is in the normal game state, or whether the game is in the specific game state with certainty change (or time saving or electric chew support) or the like. It is also possible to switch tables to be used (for example, a hit / fail judgment table, a symbol judgment table, a variation pattern table, etc.) according to points.

なお、保留表示については、上述のような先読み演出を行う遊技状態に限らず、他の種々の遊技状態に応じた態様で行うことが可能である。例えば、大当り抽選の確率が通常確率の場合と高確率の場合で互いの保留表示の態様を異ならせること、普通電動役物の開放延長を行っている場合(開放延長機能作動中の場合)と開放延長を行っていない場合(開
放延長機能未作動の場合)で互いの保留表示の態様を異ならせること、などが可能である。保留表示の具体的な態様としては、第1保留数表示部196(または第2保留数表示部197)の形状を、真円から特定のキャラクタやアイテムの形状に変える、といったことを挙げることができる。なお、遊技状態に応じ異ならせた保留表示態様での演出の開始や終了のタイミングを、対応する遊技状態が発生したタイミングに対し遅延させたり、早めたりすることも可能である。
<メイン基板からサブメイン基板へ送信される各種コマンド>
Note that the hold display is not limited to the above-described game state in which the look-ahead effect is performed, but can be performed in a mode according to various other game states. For example, when the probability of a jackpot lottery is a normal probability and a high probability, the holding display modes are different from each other. In the case where the opening extension is not performed (when the opening extension function is not operated), it is possible to make the holding display modes different from each other. As a specific mode of the hold display, changing the shape of the first hold number display section 196 (or the second hold number display section 197) from a perfect circle to the shape of a specific character or item may be mentioned. it can. It is also possible to delay or advance the timing of starting or ending an effect in the hold display mode that is changed according to the game state with respect to the timing at which the corresponding game state occurs.
<Various commands sent from main board to 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, the command transmission timings are as follows: during initial screen display, during a customer waiting demonstration (standby demonstration), when a special symbol design starts to change, when a special symbol design is confirmed, when a special symbol design is confirmed, during a big hit demonstration, At the time of opening the big hit big win winning opening, at the time of big hit middle big winning opening closing, at the time of the hit end demonstration, at the time of the big hit end demonstration end. The display of the initial screen is a period from the power-on of the pachinko gaming machine 10 to the start of the customer waiting demonstration and the transition to the steady state. In addition, at the time of start winning, at the time of recovery from power interruption, and at the time of error detection, a command is transmitted in any case. Further, command transmission is also performed at the time of RWM clear.

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

客待ちデモのコマンドとしては、客待ちデモコマンドがある。この客待ちデモコマンドは、演出図柄表示装置60や遊技効果ランプ90を客待ちデモ用に設定し、音声を消去するためのものである。   As a command for the customer waiting demo, there is a customer waiting demo command. The 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 for erasing the voice.

特別図柄の図柄変動開始時のコマンドとしては、図柄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の図柄に対応したコマンドを送信するためのものである。   The command at the start of the symbol change of the special symbol includes the number of stored symbols 1, the number of stored symbols 2, the communication test 1, the communication test 2, the number of productions A to Z, the production selection status 0 to 2, the variation additional information, and the design 1 production There are commands for a pattern, a design 2 effect pattern, a design 1 character effect, and a design 2 character effect. The symbol 1 storage number command indicates the number of storages of the first special symbol 192, and the symbol 2 storage number command indicates the number of storages of the second special symbol 193. The communication inspection 1 command and the communication inspection 2 command are for confirming whether or not normal communication is performed. The various commands of the number of effects A to Z indicate the number of effects related to the effect according to the above-described limited frequency table, and the various commands in the effect selection states 0 to 2 indicate the type of effect according to the limited frequency table. Things. 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. It is for. The design 1 character production command is for transmitting a command corresponding to the design of the first special design 192, and the design 2 character production command is for transmitting a command corresponding to the design of the second special design 193. Things.

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

特別図柄の図柄確定時のコマンドとしては、図柄1演出パターン停止、図柄2演出パターン停止のコマンドがある。図柄1演出パターン停止コマンド、及び、図柄2演出パターン停止コマンドは、それぞれ、第1特別図柄192や第2特別図柄193に基づく装飾図柄190a〜190cを停止させるためのものである。   Commands for determining the symbol of the special symbol include commands for stopping a symbol 1 effect pattern and a symbol 2 effect pattern. The symbol 1 effect pattern stop command and the symbol 2 effect pattern stop command are for stopping 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 during the special symbol pattern determination are as follows: fluctuation time reduction frequency 0 (low probability), fluctuation time reduction frequency AZ (low probability), fluctuation time reduction frequency 0 (high probability), probability fluctuation ( Command up to a predetermined number of changes). These are for transmitting a command relating to the game state at that time, and are used for effect mode display, time saving number display, and the like.

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

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

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

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

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

大当り終了デモ終了時のコマンドとしては、発射位置指定コマンドがある。これは、第1始動入賞口62、第2始動入賞口63、第1大入賞口91、及び、第2大入賞口92の位置関係などの理由によって、発射位置の打ち分けが必要な場合に、発射位置を報知するためのものである。   A command at the end of the big hit demonstration is a launch position designation command. This is necessary when the firing positions need to be separated due to the positional relationship between 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. , To notify the launch position.

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

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

通信検査1、通信検査2のコマンドは、正常な通信がなされているか否かの確認のためのものである。電断復帰用遊技状態A〜Eのコマンドは、電断時の遊技状態に応じて異なるコマンドを送信するためのものである。演出回数A〜Zのコマンドは、前述の限定頻度テーブルにしたがった演出に係る回数を示すものであり、演出選択状態0〜2のコマンドは、限定頻度テーブルにしたがった演出の種類を示すものである。図柄1キャラクタ演出、図柄2キャラクタ演出コマンドは、第1特別図柄192や第2特別図柄193の図柄に対応したコマンドを送信するためのものである。   The commands of the communication test 1 and the communication test 2 are for confirming whether or not normal communication is performed. The commands in the power-off recovery game states A to E are for transmitting different commands depending on the game state at the time of power failure. The commands of the number of effects A to Z indicate the number of effects related to the effect according to the above-mentioned limited frequency table, and the commands of the effect selection states 0 to 2 indicate the type of effect according to the limited frequency table. is there. The design 1 character effect and design 2 character effect commands 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 failure recovery hit state command is for transmitting a different command depending on whether or not the power is hit. The command of the special symbol 1 state at the time of power failure recovery and the special symbol 2 state at the time of power failure recovery are commands according to the state 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. The errors a to d are for transmitting the presence or absence and the type of the error. The command of the number of memorized symbols 1 and the number of memorized symbols 2 is used to convey 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 having the above-described configuration will be described with reference to FIGS. The main control processing of the pachinko gaming machine 10 described here is performed by the CPU 501 (main CPU) mounted on the main board 102 when the power of the pachinko gaming machine 10 is turned on, and executed on the main board 102. The control start processing and the power-off processing (see FIGS. 12 and 13), the game progress interruption processing (see FIG. 14), and the power-off confirmation information setting processing are performed.
<< System reset operation >>

先ず、本実施例のぱちんこ遊技機10においては、後述する割込み処理時間監視手段からのタイムアウト信号や、走行監視手段(走行監視回路)からの走行監視信号が発生したときにユーザリセットを発生させるか、システムリセットを発生させるかを予め設定しておくことが可能である。上述の走行監視回路は、遊技制御のためのユーザプログラムが指定エリア内で正しく実行されているか否かを監視する機能を有するものである。   First, in the pachinko gaming machine 10 according to the present embodiment, whether a user reset is generated when a timeout signal from an interrupt processing time monitoring unit described later or a running monitoring signal from a running monitoring unit (running monitoring circuit) is generated. It is possible to set in advance whether a system reset is to be generated. The above-described traveling monitoring circuit 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 above-described system reset is set, when the power is supplied to the pachinko gaming machine 10 and the power supply is started, the CPU 501 causes the pachinko gaming machine 10 to perform the setting in the program management area (described later). , Various settings of the CPU 501, such as settings of an internal reset operation and various random number circuits. Specifically, the setting of the internal reset operation according to the setting contents of the reset setting of the program management area, the initial setting of 16-bit random number 1, the initial setting of 16-bit random number 2, the initial setting of 16-bit random number 3, Various settings for a 16-bit random number and an 8-bit random number are performed according to the settings of the 8-bit random number initial setting 1 and the 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. Then, after finishing the security check, the CPU 501 shifts to the user mode, and starts executing the user program as described later.

次いで、ユーザプログラムが実行されているときに(具体的には、後述する制御開始処理内の循環処理や遊技進行割込み処理の実行中に)、後述する割込み処理時間監視手段からのタイムアウト信号や、走行監視手段からの走行監視信号が発生すると、ここでは内部リセット動作の設定としてシステムリセットが設定されていることから、タイムアウト信号や走行監視信号の発生に基づいてシステムリセットが発生する。そして、前述のように、CPU501は、CPUコアを含む全ての内部回路を初期化するとともに、プログラム管理エリアの設定内容に従って、各種設定を行う。そして、CPU501は、前述のセキュリティモードに移行し、セキュリティチェックを実行する。さらに、CPU501は、ユーザモードに移行し、前述のユーザプログラムの実行を開始する。   Next, when a user program is being executed (specifically, during execution of a cycling process or a game progress interrupt process in a control start process described later), a timeout signal from an interrupt process time monitoring unit described later, When a traveling monitoring signal is generated from the traveling monitoring means, a system reset is generated based on the generation of a time-out signal or a traveling monitoring signal because a system reset is set as the internal reset operation setting here. Then, as described above, the CPU 501 initializes all the 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 an interrupt processing time monitoring unit to be described later or a setting to generate a user reset occurs when a traveling monitoring signal from the traveling monitoring unit is generated, power is supplied to the pachinko gaming machine 10. The processing after the power is turned on and the power supply is started is the same as the case where the system reset is generated. However, if a time-out signal or a running monitoring signal is generated while 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, a predetermined circuit among the internal circuits of the CPU 501 is initialized in 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, an interrupt controller, and the like. Then, the process returns to the head address of the user program, and the execution of the user program is restarted from the head 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 receives a system reset, all the internal circuits including the CPU core are initialized as described above, and a signal related to a predetermined terminal (here, an output signal related to the PRG terminal) is set to L ( If it is at the (low) level, the mode shifts to the security mode. If the PRG terminal is at the H (high) level, the mode shifts to the program mode (PROM mode). More specifically, if the output signal from the PRG terminal is a signal fixed at the L level, the mode shifts to the security mode, and if the output signal is fixed at the H level, the mode shifts 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 them, the security mode performs a security check to confirm whether a user program stored in a program data area of a built-in ROM satisfies a predetermined condition according to a non-rewritable boot program, and then executes a program of the built-in ROM. In this mode, an environment for executing a user program is set using various settings stored in the management area.

上述のセキュリティチェックにおいてユーザプログラムが満たすべき所定の条件としては、例えば、ユーザプログラムを基に計算された認証コードが、記憶している認証コードと一致したか否か、といったものを例示できる。また、認証コードとしては、ユーザプログラムに基づいて決定され、ユーザプログラムと共に記憶されるようなものを例示できる。そして、このセキュリティチェックで異常が発見されなかった場合には、自動的にユーザモードに移行し、リセットアドレス(ここでは0000H)よりユーザプログラムの実行が開始される。一方、セキュリティチェックで異常が発見された場合には、基本回路の動作を停止する。   Examples of the predetermined condition to be satisfied by the user program in the above security check include, for example, whether or not an authentication code calculated based on the user program matches a stored authentication code. Further, as the authentication code, a code determined based on the user program and stored together with the user program can be exemplified. If no abnormality is found in the 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, if 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 by the user in the program data area of the internal ROM. The above-described PROM mode is a mode for writing a user program from outside the CPU 501 to the program data area of the internal 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. And data storage area. The program management area is a storage area for storing information necessary for the CPU 501 to perform various settings such as an internal reset operation at the time of a system reset. A predetermined area of the address map is a built-in register area assigned to a built-in register. The built-in register area includes a start register for a predetermined timer serving as an interrupt processing time monitoring unit, The register includes a clear register for the timer, an internal information register, various registers used in a random number circuit, and the like.

さらに、上述のプログラム管理エリアには、ヘッダ、プログラムコードエンドアドレス、プログラムコードスタートアドレス2、プログラムコードエンドアドレス2、リセット設定、16ビット乱数初期設定1、16ビット乱数初期設定2、16ビット乱数初期設定3、8ビット乱数初期設定1、8ビット乱数初期設定2、セキュリティ時間設定、乱数クロック監視設定などが含まれている。
<<セキュリティモードの延長機能>>
Furthermore, 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 setting. Setting 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 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. The extension function of the security mode extends the time of the security mode that occurs 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 is the extension time.

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

より具体的には、下位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, when 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 value of the bit number 5 is “1”, the setting content can be exemplified as 2 設定 24 × the internal system clock period × 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 time is fixed. 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 time is fixed. 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となる。   Further, when 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 cycle × 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 time is fixed. 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 time is fixed. 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となる。   When 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 cycle × 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 time is fixed. 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 time is fixed. 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となる。
<<<セキュリティモードのランダム延長>>>
Further, when 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 period × 31. If the value of bit number 5 is “1”, the setting content can be exemplified as 2 ^ 24 × internal system clock cycle × 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 time is fixed. The time is about 8.13 seconds. 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 52.01 sec. If the internal system clock frequency is 16.0 MHz, the fixed extension time is fixed. The time is about 32.51 sec.
<<<< random extension of security mode >>>>

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

より具体的には、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”, the setting content is set to 0 to 2 × 5 × 255, and if the internal system clock frequency is 10.0 MHz, the random extension is performed. 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. When the value of 7 to 6 bits is set to “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 set to 0 to 10. 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”, by setting the setting content to 0 to 2 ^ 15 × 255, if the internal system clock frequency is 10.0 MHz, the random extension time is 0 to 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の初期設定>>
As described above, in the setting of the random extension time, all the settings (the values of the 7 to 6 bits are set to “00”, “10”, except when the value of the 7 to 6 bits are set to “00” (when the extension is not performed)). ”Or“ 11 ”), random extension is performed in a range including“ 0 ms ”. In the setting for performing the random extension, the same setting as that for not performing the random extension is possible, and the value of 7 to 6 bits is maintained at “00”, “10”, or “11”. In addition, it is possible to set a random extension time with a high degree of freedom over a wide range.
<<< Main CPU initial setting >>

次に、CPU501の他の特徴的である、乱数設定機能について説明する。本実施例のCPU501における乱数設定機能には、16ビット乱数に係る3つの設定機能(16ビット乱数初期設定1、16ビット乱数初期設定2、16ビット乱数初期設定3)と、8ビット乱数に係る2つの乱数設定機能(8ビット乱数初期設定1、8ビット乱数初期設定2)がある。そして、これらの各種の乱数設定機能については、8ビットの設定データによって、具体的な内容の指定が行われる。
<<<16ビット乱数の初期設定>>>
Next, a random number setting function, which is another characteristic of the CPU 501, will be described. The random number setting function of the CPU 501 of the present embodiment includes three setting functions relating to a 16-bit random number (16-bit random number initial setting 1, 16-bit random number initial setting 2, 16-bit random number initial setting 3), and an 8-bit random number. There are two random number setting functions (8-bit random number initial setting 1 and 8-bit random number initial setting 2). The specific contents of these various random number setting functions are specified 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 above-described 16-bit random number initial setting 1, the setting method sets the starting method, the update clock, and the random number sequence changing method for the two channels (ch0 and ch1) based on the setting data. First, the activation method of the 16-bit random number ch1 is set by the most significant bit (bit number 7) of the setting data. If the value of this bit number 7 is "0", the activation at the maximum value determined by the software is set. If the value is "1", the activation is automatically performed with the transition to the user mode described above. Becomes Here, the transition to the user mode is performed immediately after the activation of the CPU 501, by performing a security check described later, and thereafter. Then, by shifting to the user mode, the above-described control start processing (see FIG. 12) is executed. The selection of the activation method related to the bit number 7 and the setting of the maximum value when the bit number 7 is “0” will be described later.

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

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

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

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

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

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

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

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

また、チップ個別ナンバーはユーザプログラムから読み取ることができる一方、IDナンバーはユーザプログラムから読み取ることができないように設定することが可能である。なお、固有情報記憶回路は、例えばROM502の所定領域を用いることなどにより、ROM54に含まれるようにしてもよい。あるいは、固有情報記憶回路は、例えばCPU501の内蔵レジスタを用いることなどにより、CPU501に含まれるようにしてもよい。   Further, it is possible to set so that the chip individual number can be read from the user program, while the ID number cannot 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 a built-in register of the CPU 501, for example.

さらに、前述の設定データのうちのビット番号5及び4は、16ビット乱数ch2のスタート値に係る設定に用いられ、ビット番号3及び2は、16ビット乱数ch1のスタート値に係る設定に用いられ、ビット番号1及び0は、16ビット乱数ch0のスタート値に係る設定に用いられる。さらに、ビット番号5、ビット番号3、ビット番号1は、ch2、ch1、ch0のそれぞれにおけるスタート値の設定に用いられる。そして、各々のビット番号の値が「0」の場合は、前述のビット番号7の場合と同様に、スタート値が固定値(ここでは0001H)に設定され、「1」の場合は、スタート値が前述のIDナンバーを基にした値に設定される。   Further, the bit numbers 5 and 4 of the above-described setting data are used for setting the start value of the 16-bit random number ch2, and the bit numbers 3 and 2 are used for setting the start value of the 16-bit random number ch1. , Bit numbers 1 and 0 are used for setting 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 a start value in each of ch2, ch1, and ch0. 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. 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 the start value is changed at each system reset in each of ch2, ch1, and ch0. When the value of each bit number is “0”, it is specified that no change is made, as in the case of the above-described bit number 7, and when it is “1”, it is specified that it is changed. Here, with respect to the above-mentioned bit number 6, bit number 4, bit number 2, and bit number 0, which are even numbers, when “1” that changes the start value for each system reset is selected, the start value is “0”. It does not have a fixed value as specified. As a result, when the start value is changed every system reset, it is possible to prevent the initial value from unexpectedly becoming a fixed value.
<<<< Initial setting of 8-bit random number >>>>

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

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

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

さらに、ビット番号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 starting method is set by bit number 3, the update clock is set by bit number 2, and the random number sequence changing method is set by bit numbers 1 and 0. Further, the relationship between the value of each bit and the setting content is the same as 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周目から自動で変更することが指定される。   In other words, when the value of bit number 3 is “0”, similarly to the case where bit number 7 is “0”, the operation is started with the maximum value setting by software. It will be automatically started with the transition of. Further, when the value of bit number 2 is “0”, the internal system clock is specified, and when the value is “1”, the above-mentioned external clock divided by 2 signal is specified. When the values of bit numbers 1 and 0 are “00” in order, it is specified that no change is made, and when the value is “01”, it is specified that the change is made by software. Further, when the value of the bit numbers 1 and 0 is “10”, it is specified that the change is automatically performed from the second round, and when the value is “11”, it is specified that the change is automatically performed from the first round.

次に、前述の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 data sets the activation method, update clock, and random number sequence changing method for the two channels (ch3 and ch2). Is performed. Further, the relationship between the setting data relating to the 8-bit random number initialization 2 and the setting contents is the same as in the 8-bit random number initialization 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 the bit number 7 or the value of the bit number 3 is "0", the software is started with the maximum value setting by software. Will be done. Further, when the value of the bit number 6 or the value of the bit number 2 is “0”, the internal system clock is designated, and when the value is “1”, the above-mentioned external clock divided by 2 signal is designated. When the values of bit numbers 5 and 4 and the values of bit numbers 1 and 0 are “00”, no change is specified, and when “01”, change is specified by software. Further, when the values of bit numbers 5 and 4 and the values of bit numbers 1 and 0 are “10”, it is specified that the value is automatically changed from the second lap. It is specified to change.
<<<< Overview of 16-bit random number >>>>

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

先ず、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, a clock (count clock) for updating each channel of the above-described random number circuit can be selected. The count clock includes an internal system clock and an external clock (input clock to the RCK terminal) divided by two. For each of the count clocks, it is possible to individually perform a predetermined setting. Each setting is performed by using a predetermined bit of the setting data in the above-described 16-bit random number initial setting 1 or 16-bit random number initial setting 2 (here, Can be performed by using bit number 2).

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

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

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

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

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

上述のユーザモード移行で自動起動する方法においては、ユーザモード移行で、最大値をFFFFHとして、16ビット乱数が自動的に起動される。そして、この起動方法を選択した場合は、最大値の設定をすることはできない。   In the above-described method of automatically starting in the transition to the user mode, the 16-bit random number is automatically activated in the transition to the user mode, with the maximum value being FFFFH. If 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, setting of the above-described maximum value will be described. In the present embodiment, the maximum value of the random number that generates a 16-bit random number for each channel can be set to any value within the range from 256 to 65535. Here, the minimum value 256 of the settable maximum values 256 to 65535 is a value larger than the maximum value 255 of the numerical value (0 to 255) that can be represented by 1 byte. ing. To set the maximum value, start the 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, within the range of the random number set in the maximum value setting register in the 16-bit random number, the above-described random number circuit generates a random number value. The maximum value setting register can be read / written, but can be written only once after a system reset. When a setting is made to the upper byte of the upper byte and the lower byte in the maximum value setting register, a random number is started. The 16-bit random number is not activated simply by setting the lower byte of the maximum value setting register.

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

続いて、上述のように設定された乱数列が一巡する周期について説明する。上述の16ビット乱数が一巡する周期は、設定した最大値により、算出式が異なる。つまり、最大値が2^m−1(m=9〜16)の場合、16ビット乱数が一巡する周期=(1/カウントクロックの周波数)×(最大値+1)の算出式により、乱数列の一巡周期が算出される。例えば、最大値設定が65535(=2^16−1)の場合、更新周波数(カウントクロックの周波数)が10.0MHzであれば、乱数列の一巡周期は6.5536msとなり、更新周波数が16.0MHzであれば、4.096msとなる。   Subsequently, a cycle in which the random number sequence set as described above makes one cycle will be described. The calculation formula of the cycle in which the above-described 16-bit random number makes one 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) x (maximum value + 1). One cycle is calculated. For example, when the maximum value setting is 65535 (= 2 ^ 16−1), if the update frequency (frequency of the count clock) is 10.0 MHz, one cycle of the random number sequence is 6.5536 ms, and the update frequency is 16. If it is 0 MHz, it will be 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 cycle period of the random number sequence is 1.6384 ms, and if the update frequency is 16.0 MHz, 1 cycle .024 ms. When the maximum value is 4095 (= 2 ^ 12-1), if the update frequency is 10.0 MHz, the cycle period of the random number sequence is 0.4096 ms, and if the update frequency is 16.0 MHz, the cycle is 0.10. This is 256 ms. Furthermore, when the maximum value is 1023 (= 2 ^ 10-1), if the update frequency is 10.0 MHz, the cycle period of the random number sequence is 0.1024 ms, and if the update frequency is 16.0 MHz, the cycle is 0.10 ms. 064 ms. When the maximum value is 511 (= 2 ^ 9-1), if the update frequency is 10.0 MHz, the cycle of the random number sequence is 0.0512 ms, and if the update frequency is 16.0 MHz, the cycle is 0.1. 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), the random number sequence is calculated by a calculation formula of a cycle in which a 16-bit random number makes a cycle = (32 / frequency of count clock) × (maximum value + 1). Is calculated. For example, when the maximum value is 65534 (= 2 ^ 16-2), if the update frequency (the frequency of the count clock) is 10.0 MHz, the cycle period of the random number sequence is 209.7120 ms, and the update frequency is 16.0 MHz. If so, it is 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 cycle of the random number sequence is 52.4256 ms, and if the update frequency is 16.0 MHz, the cycle is 32. .766 ms. When the maximum value is 4094 (= 2 ^ 12-2), if the update frequency is 10.0 MHz, the cycle period of the random number sequence is 13.1040 ms, and if the update frequency is 16.0 MHz, 8. This is 190 ms. Further, when the maximum value is 1022 (= 2 ^ 10-2), if the update frequency is 10.0 MHz, the cycle period of the random number sequence is 3.2736 ms, and if the update frequency is 16.0 MHz, 2. 046 ms. When the maximum value is 510 (= 2 ^ 9−2), if the update frequency is 10.0 MHz, the cycle of the random number sequence is 1.6352 ms, and if the update frequency is 16.0 MHz, 1. 022 ms. Further, when the maximum value is 256 (= 2 ^ 8), if the update frequency is 10.0 MHz, the 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により、各チャネル毎に、個別に行うことが可能である。
Next, selection of a start value in the above-described random number sequence will be described. In the present embodiment, the start value of the 16-bit random number from the first cycle is individually set from “0001H”, a value based on the ID number, or a value that changes every system reset. It is possible to The start value can be set individually for each channel by the 16-bit random number initialization 3 in the program management area.

上述の「0001H」をスタート値とする場合は、前述の乱数回路を更新する際のスタート値を、「0001H」とする。また、上述のIDナンバーを基にした値をスタート値とする場合は、乱数回路を更新する際のスタート値を、IDナンバーを基にした値とする。この時のスタート値は、CPU501に内蔵されたマイクロコンピュータのチップ毎に異なる値となる。さらに、上述のシステムリセット毎に変動する値をスタート値とする場合は、乱数回路を更新する際のスタート値を、システムリセット毎に変動する値とする。このときは、CPU501に内蔵された個別のチップについても、システムリセットが入力される度に、スタート値が異なる値となる。   When the above-mentioned “0001H” is used as the start value, the start value when updating the above-described random number circuit is “0001H”. When a value based on the above-described ID number is used as the start value, a start value when updating the random number circuit is set to a value based on the ID number. The start value at this time is different for each chip of the microcomputer built in the CPU 501. Further, when the value that changes every time the system is reset is used as the start value, the start value used when updating the random number circuit is set to a value that changes every time the system is reset. At this time, the start value of the individual chip incorporated in the CPU 501 is different each time the 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 above-described random number sequence in which the 16-bit random number is generated is normally updated according to a certain rule in the range of 0 to 65353 (the maximum value when the maximum value is set). The order can be changed. However, it is not possible to arbitrarily select the order. The random number sequence can be selected from the following four methods by designating the 16-bit random number initial setting 1 and the 16-bit random number initial setting 2 in the program management area. Then, the method of changing the random number sequence can be set individually.

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

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

前述の乱数回路の動作中における一巡については(乱数列の途中においては)、乱数列は変更されず、次の周期の始めからの乱数列が変更される。乱数列の変更を指定するための処理である乱数列変更要求が受け付けられると、乱数列変更レジスタの対応するビットは「0」にクリアされる。なお、乱数列の変更は何回でも実行できる。ただし、変更した後に次の変更の要求がない場合は、直前の変更パターンが継続される。   For one round during the operation of the above-described 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 a change in 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 to change the random number sequence after the start of the random number sequence in the n-th cycle, after the generation of the last random number value in the random number sequence in the n-th cycle, It becomes a new random number sequence for which a change was requested. Thereafter, if there is no request to change the random number sequence, the random number sequences in the (n + 2) -th cycle and the (n + 3) -th cycle are the same as the (n + 1) -th cycle. Then, for example, if there is a request to change the random number sequence in the middle of the (n + 3) th cycle, the random number sequence after the (n + 4) th cycle becomes a new random number sequence requested to be changed during the (n + 3) th cycle.

前述の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. Then, every time the random number sequence makes a round, the random number sequence is automatically changed. In the method of automatically changing the random number sequence from the first round, the random number sequence generated from the first round is automatically changed. Then, every 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 method of capturing a random value will be described. In the present embodiment, a 16-bit random number can take in a random number value for each channel by three methods. These three methods include a first capturing method by software, a second capturing method, and a capturing method by external terminal input. In the following, the first capture method by software is “capture by software 1”, the second capture method by software is “capture by software 2”, and the capture method by external terminal input. Is referred to as “acquisition by external terminal input”.

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

上述の3つの取込方法のうち、ソフトウエアによる取込2は、前述の内部システムクロックを選択した場合のものであり、ソフトウエアによる取込2においては、対応するチャネルのソフトラッチ乱数レジスタの下位バイトからリードを行うと同時に、上位バイトの値が取り込まれる。そして、この場合は、乱数ソフトラッチフラグレジスタの対応ビットはセットされず、「1」にならない。このことにより、内部システムクロックを選択した場合における乱数値の取込みに係る処理を適正化できる。なお、このソフトウエアによる取込2は、更新クロックとして、内部システムクロックが選択されている場合のみ有効なものである。   Of the above three acquisition methods, software acquisition 2 is a case in which the above-described internal system clock is selected. In software acquisition 2, software acquisition 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 captured. 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 capturing the random value when the internal system clock is selected. Note that the capture 2 by software is effective only when the internal system clock is selected as the update clock.

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

あらかじめ、入力ポート制御レジスタで設定された期間以上の、アクティブ信号を入力されると、各チャネル毎に設けられたハードラッチ選択レジスタに、乱数値が取り込まれる。   When an active signal is inputted for a period longer than the period set in the input port control register in advance, a random number 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 hard latch selection register is set when channels 1 to 3 are used.

乱数値が取り込まれると、対応したチャネル毎に設けられた16ビット乱数ハードラッチフラグレジスタの対応ビットがセットされて「1」となる。この16ビット乱数ハードラッチフラグレジスタは、いずれのチャネルが使用される場合についても2つ設定される。   When the random number value is captured, 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, the abnormal operation of the 16-bit random number can be detected in two states of “external clock frequency abnormality” and “update abnormality”. Then, the detected state can be confirmed in the internal information register.

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

上述の更新異常については、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 again to "1".
<<<< Overview of 8-bit random number >>>>

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

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

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

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

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

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

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

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

続いて、上述の最大値の設定について説明する。本実施例においては、各チャネルの8ビット乱数が発生する乱数の最大値を、16から255までの範囲で、任意の値を設定することができる。最大値を設定する場合は、プログラム管理エリアの8ビット乱数初期設定1、8ビット乱数初期設定2での起動を、「最大値設定で起動」を選択して行い、使用するチャネルの8ビット乱数最大値設定レジスタに最大値を設定する。ここでは、16ビット乱数の場合と異なり、上位バイトを設定すると乱数が起動される、といった処理は行われない。つまり、下位バイトに上位バイトを組み合せた、例えば「00FFH」といった設定は必要なく、下位の、例えば「FFH」のみの設定で、乱数が起動される。   Subsequently, setting of the above-described maximum value will be described. In this embodiment, the maximum value of the random number generated by the 8-bit random number of each channel can be set to any value within a range from 16 to 255. To set the maximum value, start 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 select 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 the 16-bit random number, the process of starting the random number when the upper byte is set is not performed. That is, there is no need to set a lower byte, for example, "00FFH", which is a combination of a lower byte and a higher byte.

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

続いて、上述のように設定された乱数列が一巡する周期について説明する。上述の8ビット乱数が一巡する周期は、設定した最大値により、算出式が異なる。つまり、最大値が2^m−1(m=5〜8)の場合、8ビット乱数が一巡する周期=(1/カウントクロックの周波数)×(最大値+1)の算出式により、乱数列の一巡周期が算出される。例えば、最大値設定が255(=2^8−1)の場合、更新周波数(カウントクロックの周波数)が10.0MHzであれば、乱数列の一巡周期は0.0256msとなり、更新周波数が16.0MHzであれば、0.016msとなる。   Subsequently, a cycle in which the random number sequence set as described above makes one cycle will be described. The calculation formula for the cycle in which the 8-bit random number makes one cycle differs 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 = (1 / frequency of the count clock) x (maximum value + 1). One 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 cycle of the random number sequence is 0.0256 ms, and the update frequency is 16. If it is 0 MHz, it is 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 cycle period 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 cycle period of the random number sequence is 0.0064 ms, and if the update frequency is 16.0 MHz, the cycle is 0. .004 ms. Further, when the maximum value setting is 31 (= 2 ^ 5-1), if the update frequency is 10.0 MHz, the cycle period of the random number sequence is 0.0032 ms, and if the update frequency is 16.0 MHz, 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), a random number sequence is calculated by a calculation formula of a cycle in which an 8-bit random number makes a cycle = (16 / count clock frequency) × (maximum value + 1). Is calculated. For example, when the maximum value setting is 254 (= 2 ^ 8−2), if the update frequency (frequency of the count clock) is 10.0 MHz, one cycle of the random number sequence is 0.4080 ms, and the update frequency is 16. If it is 0 MHz, it is 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 cycle period 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 cycle of the random number sequence is 0.1008 ms, and if the update frequency is 16.0 MHz, the cycle is 0. 0.063 ms. Furthermore, when the maximum value setting is 30 (= 2 ^ 5-2), if the update frequency is 10.0 MHz, the cycle period 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 cycle period of the random number sequence is 0.0272 ms, and if the update frequency is 16.0 MHz, it is 0.017 ms. 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-mentioned 8-bit random number is generated is normally updated according to a fixed rule in the range of 0 to 255 (the maximum value when the maximum value is set). The order can be changed. However, it is not possible to arbitrarily select the order. The random number sequence can be selected from the following four methods by designating the 8-bit random number initial setting 1 and the 8-bit random number initial setting 2 in the program management area. Then, the method of changing the random number sequence can be set individually.

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

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

前述の乱数回路の動作中における一巡については(乱数列の途中においては)、乱数列は変更されず、次の周期の始めからの乱数列が変更される。乱数列の変更を指定するための処理である乱数列変更要求が受け付けられると、乱数列変更レジスタの対応するビットは「0」にクリアされる。なお、乱数列の変更は何回でも実行できる。ただし、変更した後に次の変更の要求がない場合は、直前の変更パターンが継続される。   For one round during the operation of the above-described 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 a change in 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 to change the random number sequence after the start of the random number sequence in the n-th cycle, after the generation of the last random number value in the random number sequence in the n-th cycle, It becomes a new random number sequence for which a change was requested. Thereafter, if there is no request for changing the random number sequence, the random number sequences in the (n + 2) th cycle and the (n + 3) th cycle are the same as the (n + 1) th cycle. Then, for example, if there is a request to change the random number sequence in the middle of the (n + 3) th cycle, the random number sequence after the (n + 4) th cycle becomes a new random number sequence for which the change request was made during the (n + 3) th cycle.

前述の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. Then, every time the random number sequence makes a round, the random number sequence is automatically changed. In the method of automatically changing the random number sequence from the first round, the random number sequence generated from the first round is automatically changed. Then, every 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 method of capturing random numbers will be described. In this embodiment, the 8-bit random number can take in the random number value for each channel in three ways. These three methods include a first capturing method by software, a second capturing method, and a capturing method by external terminal input. In the following, the first acquisition method by software is “acquisition by software 1”, the second acquisition method by software is “acquisition by software 2”, and the acquisition method by external terminal input. Is referred to as “acquisition by external terminal input”.

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

上述の3つの取込方法のうち、ソフトウエアによる取込2は、前述の内部システムクロックを選択した場合のものであり、ソフトウエアによる取込2においては、対応するチャネルのソフトラッチ乱数レジスタを、16ビット乱数の場合と異なり、直接リードすることができる。ここでは、16ビット乱数の場合のような、リードを行うと同時に、上位バイトの値が取り込まれる、といった処理は行われない。そして、この場合は、乱数ソフトラッチフラグレジスタの対応ビットはセットされず、「1」にならない。このソフトウエアによる取込2は、更新クロックとして、内部システムクロックが選択されている場合のみ有効なものである。   Of the above three capture methods, software capture 2 is a case where the above-described 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 the 16-bit random number, it can be read directly. Here, as in the case of the 16-bit random number, the process of reading and simultaneously taking in the value of the upper byte 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". The fetch 2 by software is effective only when the internal system clock is selected as the update clock.

上述の3つの取込方法のうち、外部端子入力による取込においては、乱数値を格納するレジスタは、各チャネルに1つ準備されている。それぞれのレジスタに、どの外部端子を介して情報を取り込むかの設定は、8ビット乱数ハードラッチ選択レジスタを用いて行う。この8ビット乱数ハードラッチ選択レジスタは、チャネル0が使用されるときは2つ設定され、それ以外のチャネルが設定される場合は1つ設定される。   In the above-described three capturing methods, in capturing by external terminal input, one register for storing a random number value is prepared for each channel. The setting of the external terminal through which information is to be taken 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 longer than the period set in the input port control register in advance, 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 number value is captured, 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, it is possible to generate a counter value that is an 8-bit random number as described above. However, for various lottery controls in the pachinko gaming machine 10, a 16-bit random number is used, and an 8-bit random number is used. It has not been. That is, the CPU 501 has a lottery function using an 8-bit random number, but does not use an 8-bit random number and uses only a 16-bit random number. Further, as described above, the 8-bit random number is a 16-bit random number for 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 number of bits.
<< 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 above-described control start processing will be described. The control start process shown in FIGS. 12 and 13 is a control process that is started after a security check using the production code of the CPU 501 is performed by turning on the power of the pachinko gaming machine 10. This control start process will be described later. After performing 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-off information flag in the power-off state confirmation processing (S6 to S8), and the RWM area In response to the addition result (checksum data), processing at the time of power-off recovery (S9 to S17), processing at the time of RWM initialization (S24 to S26), processing of time setting for interrupting game progress (S27), A circulation process (S33 (S28 to S32)), a process at the time of setting power-off confirmation information (S301 to S307), and the like are executed.
<<<< Settings required at power-on >>>>

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

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

初期化スイッチ544の操作状態の確認の処理(S5)においては、入力ポートを介して入力される初期化スイッチ544の出力信号の状態が確認される。RWMクリアスイッチが押されたか(オンされたか)否かが判定され、押されていなければ(S5:NO)、後述する電断時状況判定処理(S6〜S8)中の電源断情報フラグの値の判定処理(S6)へ進む。一方、初期化スイッチ544が押されていれば(S5:YES)、RWMの初期化時の処理(S24〜S26)の処理が行われる。   In the process of confirming the operation state of the initialization switch 544 (S5), 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 the switch has not been pressed (S5: NO), the value of the power-off information flag in the power-off state determination process (S6 to S8) described later The process proceeds to the determination process (S6). On the other hand, if the initialization switch 544 is pressed (S5: YES), the processing of the RWM initialization (S24 to S26) is performed.

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

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

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

電源断情報フラグの値が電源断正常データに一致した場合(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 process of calculating the checksum data, although not shown, an initial value is set as the checksum data, a predetermined operation is performed on the checksum data, and the calculated checksum data is set to 0. A determination is made as to whether it is different from.

チェックサムデータが0でなかった場合(S8:NO)、即ち再開準備処理実行条件が成立していない場合には、相対アドレスの基準値の上位にRWM先頭上位がセットされ、この場合にもRWMの初期化時の処理(S24以降)へ移行する。一方、チェックサムデータが0であった場合(S8:YES)には、後述する電源断復帰時の処理(S9〜S17)へ移行する。
<<<電源断復帰時の処理>>>
If the checksum data is not 0 (S8: NO), that is, if the restart preparation processing execution condition is not satisfied, the RWM head is set to the higher order of the reference value of the relative address. The process proceeds to the process at the time of initialization (S24 and thereafter). On the other hand, if the checksum data is 0 (S8: YES), the processing shifts to the power-off recovery processing (S9 to S17) described later.
<<<< Process 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 returned to the value stored at the time of power-off (S9). Further, in order to inspect the communication line between the main board 102 and the sub-board 104, a request for transmitting an effect control command to the sub-board 104 is made (S10, S11), and a decorative lamp (game effect lamp) and a sound effect (sound) In order to return the effect of (effect) to the state before the power-off, a request to transmit an effect control command to the sub-board 104 is made (S10, S11). Further, a symbol storage number command request process is executed to request a command corresponding to the number of active balls of the special symbol display devices (70, 71) (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 power failure occurred (S13). Specifically, in order to restore the open / closed state of the second starting winning opening 63, the first winning opening 91, and the second winning opening 92 to the state before the power was turned off, the ordinary electric accessory solenoid 76, the big winning The solenoid actuation bits for the mouth solenoids 80, 81 are checked in sequence. When the solenoid operation bit of the ordinary electric accessory solenoid control is on, it is determined that the second start winning opening 63 is open before the power is turned off, and the second start winning opening 63 is opened. Stored in the accessory solenoid control. Subsequently, when the solenoid operation bit of the first big winning solenoid control is ON, it is determined that the first big winning opening 91 is open before the power is turned off, and the solenoid operation setting value is set to open the first big winning opening 91. Is stored in the normally-operated accessory solenoid control. When the solenoid operation bit of the second big winning solenoid control is ON, it is determined that the second big winning opening 92 is open before the power is turned off, and the first big winning opening 91 is opened. Normally stored in the electric accessory solenoid control.

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

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 process of initializing the RWM (S24 to S28), after clearing the RWM area (S24), initializing the RWM (S25), initializing the effect display (effect symbol display device 60) (S26), Then, time setting for interrupting the game progress (S27) is performed. In the clearing of the RWM area (S24), the clearing is performed including the information of the error flag set when various errors occur. Then, in the processing from the clearing of the RWM area (S24) to the initial setting of the RWM (S25), clear data (00H) is set in the entire RWM area, and the clear data is stored as a reference value of the relative address. Is incremented by one. Further, bit 7 of this reference value is inspected, and the judgment of the inspection result is executed. In the inspection result determination process, if the inspection result is 0, the process returns to the process of storing the above-described clear data to the reference value, and the address of the initialization data setting table is set. Thereby, the initial value of RWM is set. The clearing of the RWM area is not limited to clearing the entire area. For example, it is possible to clear only a partial area in which specific information is stored or only an area excluding an unused area. Is also good.

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

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

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

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

電源断確認情報が設定されているか否かの判定(S30)において、設定されていると判定された場合には(S30:Yes)、CPU501が強制再帰手段として機能し、第22再帰情報の設定が行われ(S301)、割込み処理時間監視手段の監視用計時が強制的に初期化され、計時が再帰させられる。この強制的な第2再帰情報の設定(S301)により、電力供給が再開された場合には、監視用計時が再帰した状態で、制御処理が開始される。つまり、電源断発生時に監視用計時を強制的に再帰させておくことにより、電力供給を再開した直後の制御処理において、監視用計時が再帰しないまま、制御処理が進行することを防止できるようになっている。   If it is determined that the power-off confirmation information is set (S30), if it is determined that the power-off confirmation information is set (S30: Yes), the CPU 501 functions as a forced recursion unit and sets the 22nd recursion information. Is performed (S301), the monitoring clock of the interrupt processing time monitoring means is forcibly initialized, and the clock is recursed. When the power supply is restarted by the compulsory setting of the second recursive information (S301), the control process is started with the monitoring clock recurring. In other words, by forcibly recurring the monitoring time when a power failure occurs, it is possible to prevent the control processing from proceeding without the monitoring time recurring in the control processing immediately after restarting the power supply. 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 or not the power-on information is normally stored. Is performed (S302). If the information at the time of power-on is normally stored (S302: Yes), power-off normal data (here, 55H) is set (S304), and the RWM checksum at the time of power-off is set. This is calculated (S305), and checksum data is created. Then, access prohibition is set (S306), and the power-off loop process (S307) waits until the supply voltage falls below a predetermined value and the power is turned off.

前述の電源投入時の情報が正常に保存されているか否かの判定(S302)において、判定結果が正常に保存されていない(S302:No)となった場合には、電源断異常データが設定(S303)された後、前述のアクセス禁止の処理(S306)に移行する。<<<電源断確認情報設定の処理>>>   If it is determined in step S302 that the information at the time of turning on the power is normally stored (S302: No), the power-off abnormal data is set. After (S303), the process proceeds to the above-described access prohibition process (S306). <<< Power-off confirmation information setting processing >>>

次に、前述のS30において判定される電源断確認情報を設定する場合の制御処理について説明する。先ず、電源投入がされた後、所定の処理を経て制御開始処理(図12及び図13参照)が開始され、更に制御開始処理中に実行される遊技進行割込み用の計時設定の処理(図13中にS27で示す)などを経て、ループ処理が開始される。このループ処理は、図13中の循環処理(S33)に対応するものである。   Next, a control process for 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 FIGS. 12 and 13) is started through a predetermined process, and further, a game progress interrupting process (see FIG. 13) executed during the control start process After that, a loop process is started. This loop processing corresponds to the circulation processing (S33) in FIG.

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

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

そして、前述のように電源断確認情報が設定されているか否かが判定される(図13中のS30)。ここで、電源断確認情報が設定されていなければ、ループ処理開始の処理に移行し循環処理(図13中のS33)が継続される。一方、電源断確認情報が設定されていれば、電源断処理(前述のS301〜S307に対応)が実行され、電源断処理の終了
後、電源断となる。
Then, it is determined whether 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 shifts to a 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 processing (corresponding to S301 to S307 described above) is executed, and the power is turned off after the power-off processing ends.

また、本実施例においては、ノンマスカブル割込みが発生した場合に、実行中の命令が命令単位で完遂される。例えば、図16中に符号552で示す制御処理(ここではLD(ロード)命令)の実行中にノンマスカブル割込みが発生すると、この制御処理552は当該命令の実行中は継続され、このLD命令の実行が終わってから前述の電源断確認情報が設定される。つまり、電源断確認情報の設定時期は、命令単位の制御処理によって定まり、このような命令を完遂してから電源断確認情報が設定される。   In this embodiment, when a non-maskable interrupt occurs, the instruction being executed is completed in instruction units. For example, if a non-maskable interrupt occurs during the execution of a control process (here, an LD (load) instruction) indicated by reference numeral 552 in FIG. 16, 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 above-described power-off confirmation information is set. That is, the setting time of the power-off confirmation information is determined by the control processing for each instruction, 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 processing including the above-described command includes a control processing for each program module (in the present embodiment, for example, a control start processing (see FIGS. 12 and 13), a game progress interruption processing (see FIG. 14), an initial value). The concept 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, and others). It is. That is, taking the game progress interruption processing as an example, for example, when a non-maskable interruption occurs during the execution of a specific instruction constituting the control processing of the second recursive information set (S43), the execution of this specific instruction After the operation is completed, the power-off confirmation information is set. Then, the process of setting the power-off confirmation information for setting the power-off confirmation information exits from the return, and returns to the process at the time of the power-off 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 control, the process returns to the control start process (loop process corresponding to S33 in FIG. 13), and the power-off process (the aforementioned process). (Corresponding to S301 to S307).

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

このような制御態様は、遊技中における様々な局面においてノンマスカブル割込みが発生した場合にも同様である。例えば、後述する入賞監視処理(S51)の開始から賞球制御処理(S52)の終了までの間の特定の命令の実行中にノンマスカブル割込みが発生した場合には、この特定の命令の実行が終わってから電源断確認情報が設定される。そして、入賞監視処理(S51)、或いは賞球制御処理(S52)に戻り、当該周期の遊技進行割込み処理において実行されるべき残りの処理が全て完了してリターンに抜け、制御開始処理(図13中のS33に対応するループ処理)に戻り、電源断処理(前述のS301〜S307に対応)が実行される。   Such a control mode is the same when a non-maskable interrupt occurs in various aspects during the game. For example, if a non-maskable interrupt occurs during execution of a specific command from the start of the winning monitoring process (S51) to the end of the prize ball control process (S52), the execution of the specific command ends. After that, the power-off confirmation information is set. Then, the process returns to the winning monitoring process (S51) or the prize ball control process (S52), and 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 control start process (FIG. 13) Then, the process returns to the loop process corresponding to S33, and the power-off process (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. A special symbol control process (S57) defining a control process relating to a special symbol variation, and a special symbol variation start monitoring including a process of performing a jackpot lottery determination. Even when a non-maskable interrupt occurs during execution of a specific instruction in the control processing (S60), the abnormality detection processing (S61) which defines the control processing related to error detection and error notification, or other control processing, the instruction at that time is After the execution of is completed, the power-off confirmation information is set, and after all the remaining processes to be executed in the game progress interruption process of the cycle are completed, the power-off process is executed.

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

また、電源断所要時間は、メイン基板102に従属して各種制御コマンドを受信するサブ基板104が電源断処理を開始するタイミングよりも先に終了するよう設定されている。つまり、ぱちんこ遊技機10の電源がオフする際には、メイン基板102のみでなく、副制御手段であるサブ基板104でも、その制御処理の内容に応じて、電源断に備える電源断処理が実行されるが、サブ基板104で実行される電源断処理の開始タイミングは、メイン基板102において電源断所要時間が経過して、電源断処理が終了した後となっている。なお、サブ基板104のみでなく、例えば払出制御基板54にも同様に、メイン基板102において電源断所要時間が経過した後に、電源断処理を開始するようにしてもよい。また、このようなメイン基板102の電源断所要時間と、副制御手段の電源断処理の開始時期との関係を、払出制御基板54のみに適用してもよい。さらに、サブ基板104及び払出制御基板54以外に、制御機能を有する副制御手段が備えられている場合には、その副制御手段に適用することも可能である。
<<<初期値乱数更新処理>>>
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 processing. 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, which is the sub-control means, executes the power-off processing in preparation for the power-off according to the content of the control processing. However, the start timing of the power-off processing executed by the sub-board 104 is after the power-off required time has elapsed on the main board 102 and the power-off processing has been completed. In addition, similarly to the sub-board 104, for example, the power-off processing may be started after the power-off required time has elapsed in the main board 102, for example, on the payout control board 54. Further, the relationship between the power-off required time of the main board 102 and the start time of the power-off processing of the sub-control means may be applied to only the payout control board 54. Further, when a sub-control means having a control function is provided in addition to the sub-board 104 and the payout control board 54, the present invention can be applied 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 above-mentioned initial value random number update processing (S31), the random number is updated from the initial value random number update table in order to update the initial value random number per symbol, the symbol initial value random number per special symbol, and the software initial value random number per special symbol. Acquire the number of times and update the initial random number by the number of updates. In acquiring the number of random number updates, the content (number of random numbers) indicated by the data address (0D10H) in the first row of the left column of the initial value random number update table (see FIG. 15A) is used as the random number update number. . In this case, the number of random numbers is usually three: an initial value random number per symbol, a symbol initial value random number per special symbol, and a soft initial value random number per special symbol. Further, in the process of updating the initial value random number for the number of updates, a 2-byte soft random number is used as an argument with the data address (0D13H) of the address (lower order) of the initial value random number per symbol in the initial value random number update table for the number of updates. An update process (described later) is performed. If the number of updates is two or more, the reference value of the relative address obtained in the previously executed 2-byte soft random number update processing is used as an argument. Then, using the random number value obtained in the 2-byte soft random number updating process, a random number related value in the initial value random number updating 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 contents of the reference value are loaded as the number of random numbers (in other words, the contents of the reference value are incorporated). Next, after the reference value is incremented by one and the number of random numbers is saved, a 2-byte soft random number updating process is executed. Further, the number of random numbers is restored. If the result obtained by subtracting -1 from the number of random numbers is not 0, the process returns to the above-described process of saving the number of random numbers. If the result is 0, the process exits the initial value random number updating process (S31).

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

前述の2バイトソフト乱数更新処理においては、入力された相対アドレスの基準値から乱数の最大値、乱数の格納アドレスを取得し、乱数の更新を行う。乱数の最大値の取得においては、上記基準値+0の示す内容を乱数最大値下位、上記基準値+1の示す内容を乱数最大値上位とする。乱数の格納アドレスの取得においては、上記基準値+2の示す内容を乱数格納アドレス下位とし、RWM先頭上位アドレスを乱数格納アドレス上位とする。乱数の更新においては、乱数を+1し、乱数最大値を超える場合には0にするため、取得した乱数格納アドレスの示す内容から2バイトの乱数を取得し、取得した乱数を+1する。加算した結果、取得した乱数最大値を超えた場合、0をセットする。なお、更新した乱数は、取得した乱数格納アドレスに格納した後、出力する乱数データにセットする。また、上記基準値+3を出力する上記基準値にセットする。
<<遊技進行割込み処理>>
In the two-byte soft random number update process, the maximum value of the random number and the storage address of the random number are obtained from the reference value of the input relative address, and the random number is updated. In obtaining the maximum value of the random number, the content indicated by the reference value +0 is set as the lower random number maximum value, and the content indicated by the reference value +1 is set as the upper random value maximum value. In obtaining the storage address of the random number, the content indicated by the reference value +2 is set as the lower order of the random number storage address, and the upper address of the RWM is set as the upper order of the random number storage address. In updating the random number, the random number is incremented by one, and when the random number exceeds the maximum value, the random number is obtained. If the sum exceeds the maximum value of the obtained random numbers, 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 interruption processing >>

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

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

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

遊技機の管理(S45〜S70)においては、遊技機の管理を行うため、以下の処理を順に実行する。先ず、特定の信号の入力を監視するため、入力処理(S45)を実行する。ここで監視の対象となっているのは、遊技盤面に取り付けられている各種スイッチ、受け皿満タンスイッチ、開放信号、磁気検知信号、電波検知信号、ガラス未検出信号、及び断線短絡電源異常検知信号である。   In the management of the gaming machine (S45 to S70), the following processes are executed in order to manage the gaming machine. First, an input process (S45) is executed to monitor the input of a specific signal. Monitored here are various switches mounted on the game board, saucer full switch, open signal, magnetic detection signal, radio wave detection signal, glass non-detection signal, and 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 updating type random number updating process (S47) is executed to update the random number per symbol, the symbol random number per special symbol, and the soft random number per special symbol. Next, an initial value random number updating process (S48) is executed to update the initial value random number per symbol, the symbol initial value random number per special symbol, and the soft initial value random number per special symbol. 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 starting winning opening 63, an effective period setting process (S50) of the second starting opening is executed. .

さらに、入賞監視処理(S51)が実行され、賞球を払い出す回数の記憶、盤用外部情報の出力要求の作成、及びサブ基板104に送信するコマンドの送信要求が行われる。続いて、払出制御基板45を制御するため、賞球制御処理(S52)を実行する。   Further, a winning monitoring process (S51) is executed, and the number of payouts of payout balls is stored, a request for outputting board external information is generated, and a request for transmitting a command to be transmitted to the sub-board 104 is performed. 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), a normal symbol operation gate monitoring process (S53) is executed to store a random number related to the normal symbol, and the normal symbol display device or In order to perform the process related to the ordinary symbol electric accessory, the ordinary symbol control process (S54) is executed. Further, in order to monitor the start of the change of the normal symbol, a normal symbol change start monitoring process (S55) is executed. In addition, in order to monitor the winning of the first starting winning opening 62 and the second starting winning opening 63 of the game ball, a starting opening 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 a process related to the special electric auditors, a special electric auditors control process (S58) is executed, and in order to perform a process related to the validity period of the first big winning opening 91 or the second big winning opening 92, In order to execute the special winning opening validity period setting process (S59) and monitor the start of change of the first special symbol 192 and the second special symbol 193, a special symbol change start monitoring control process (S60) is executed.

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

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

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

入力処理(S45)は、スイッチ入力に係る制御モジュールであり、この入力処理(S45)においては、遊技盤面に取り付けられている各スイッチや、断線短絡電源異常検知信号、開放信号、電波検知信号、及び、タッチ状態信号の各種信号の入力を監視するため、入力情報テーブルから検査回数、入力ポートアドレス、レベルマスクデータ、レベルアドレス、立ち上りマスクデータを取得し、スイッチ入力を検査回数分行う。   The input process (S45) is a control module related to switch input. In the input process (S45), each switch attached to the game board, 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 obtained 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 content indicated by the address of the input information table (input information table + 0) is used as the number of inspections. Level mask data, level addresses, and rising mask data are acquired for the number of inspections.

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

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

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

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

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

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

初期値乱数更新処理については、制御開始処理で実行される初期値乱数更新処理と同じプログラムモジュールが用いられているが、乱数関係値の更新の周期が遊技進行割込みの周期(ここでは4ms)となる点で、制御開始処理中に実行される場合とは異なっている。
<<<タイマ減算処理>>>
Regarding the initial value random number updating process, the same program module as the initial value random number updating process executed in the control start process is used, but the cycle of updating the random number related value is equal to the cycle of the game progress interruption (4 ms here). This is different from the case where it is executed during the control start processing.
<<<< 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), to update the 2-byte timer, the content of the address of the 2-byte timer update table (address of the 2-byte timer update table + 0) is used as the number of timers, and the next address (2-byte timer update) is performed. The lower address of the 2-byte timer is obtained from the address of the table + 1) by the number of timers. In addition, the acquired 2-byte timer is inspected, and as a result of the inspection, if the value of the 2-byte timer is other than 0, the 2-byte timer is updated (the content of the 2-byte timer-1). If the check indicates that the value of the 2-byte timer is 0, the 2-byte timer is not updated.
<<<< Starting port 2 effective 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 validity period setting process of the start-up opening 2 (S50), the value corresponding to the value of the normal symbol status (described later) and the value of the start-up opening 2 valid extension timer are set in order to set the validity period of the second start winning opening 63. Is stored in the (starting port 2 valid period flag) (storage area thereof). The relationship between the value of the normal symbol status and the value stored in the startup port 2 valid period flag corresponding to the value of the startup port 2 valid extension timer is 3, which indicates that the value of the normal symbol status is normally operating the electric accessory. In this case, no value is set for the startup port 2 valid extension timer, and the predetermined startup port 2 valid period data (1) is used as the value stored in the startup port 2 valid period flag. On the other hand, when the value of the ordinary symbol status indicates a value other than the normal electric accessory operation, if the value of the effective opening timer of the opening 2 is not 0, a predetermined starting port is stored as the value of the valid period flag of the opening 2. 2 valid period data (1) is used. Also, when the value of the normal symbol status indicates a value other than that during normal operation of the electric accessory, and if the value of the starting port 2 valid extension timer is 0, a predetermined starting port is stored as a value stored in the starting port 2 valid 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), the number of paying out prize balls is stored, a security output request to be output to an external terminal (various external output terminals of the above-described external relay terminal board 49 (see FIG. 2)) is created, and In order to make a request to transmit a command to be transmitted to the effect control board (here, the sub main board 301), the content indicated by the address of the prize monitoring table (prize monitoring table + 0) is set as the number of inspections, and the number of inspections is changed by the number of game ball switches. Perform a 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 winning balls is stored, a security output request to be output to the external terminal is generated, and a command transmission request is performed. Here, the configuration of the prize monitoring table includes the number of tests and test data of various game ball detecting devices (game ball switches). The test data includes switch bit data, EVENT data, MODE data, and prize ball determination. Data and invalid period existence determination 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, and command transmission and payout to the payout control board 45 are performed. Inspection of received data from the control board 45 is performed in order. In monitoring data reception from the payout control board 45, a data reception monitoring process is performed. In response to a command transmission request to the payout control board 45, a payout command request process is executed. In the command transmission to the payout control board 45 and the inspection of the received data from the payout control board 45, a payout command control process is executed.
<<<< Normal symbol operation gate monitoring processing >>>>

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

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

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

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

始動口監視制御処理(S56)においては、遊技球の始動口1(第1始動入賞口62)入賞及び始動口2(第2始動入賞口63)入賞の監視を行う。始動口1及び始動口2の何れについても、対応する監視テーブル(始動口1監視テーブル又は始動口2監視テーブル)を用いて始動口監視処理が実行されるが、始動口2については、始動口2有効期間フラグの値を検査し、検査の結果、始動口2有効期間フラグの値が所定の始動口2有効期間データである場合に、始動口監視処理が実行される。
<<<特別図柄制御処理>>>
In the starting opening monitoring control process (S56), the starting opening 1 (first starting winning opening 62) and the starting opening 2 (second starting winning opening 63) of the game ball are monitored. For both the starting port 1 and the starting port 2, the starting port monitoring process is executed using the corresponding monitoring table (the starting port 1 monitoring table or the starting port 2 monitoring table). The value of the 2 valid period flag is checked, and if the result of the inspection indicates that the value of the starting port 2 valid period flag is predetermined starting port 2 valid period data, the starting 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), a state of waiting for a hit is inspected, and if it is determined that the state of waiting for a hit is detected, the special symbol display device 1 (first special symbol display device 70) or the special symbol display device 2 (first 2) Execute the process related to the special symbol display device 71). In the inspection of the hit waiting state, when the value of the special electric game status (described later) is 0, it is determined that the game is in the hit waiting state. In the process relating 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 relating to the special symbol display device 1 or the special symbol display device 2. As a result of the inspection, if it is 0, it is determined that the processing relating to the special symbol display device 1 is to be performed, and if it is other than 0, it is determined that the processing relating to the special symbol display device 2 is to be performed. In each of the processing relating to the special symbol display device 1 and the processing relating to the special symbol display device 2, the address of the corresponding special figure game status (special figure 1 game status or special figure 2 game status) and the special figure control table The special symbol control general-purpose process is executed using the address of the (special figure 1 control table or the special figure 2 control table) as an argument.
<<<< Special electric accessory control process >>>>

特別電動役物制御処理(S58)においては、特別電動役物に係る処理を行うため、条件装置及び特別電動役物の作動状態を検査し、条件装置が作動中又は特別電動役物が作動中と判断した場合、特別電動役物に係る処理を実行する。条件装置及び特別電動役物の作動状態の検査においては、特電遊技ステイタスの値が0以外の場合、条件装置が作動中又は特別電動役物が作動中と判断する。条件装置が作動中又は特別電動役物が作動中、特電遊技ステイタスの値は1〜8をとり、各特電遊技ステイタス1〜8において対応する制御モジュールが実行される。そして、特電遊技ステイタス1は大入賞口開放準備中、特電遊技ステイタス2は特別電動役物作動中、特電遊技ステイタス3は大入賞口閉鎖中、特電遊技ステイタス4は大当り終了デモ中に対応している。
<<<大入賞口有効期間設定処理>>>
In the special electric accessory control process (S58), in order to perform the processing related to the special electric accessory, the operating states of the condition device and the special electric accessory are checked, and the condition device is operating or the special electric accessory is operating. If it is determined that the special electric auditors character is to be executed. In the inspection of the operating states of the condition device and the special electric accessory, when 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 power gaming status 1 is in preparation for opening the special winning opening, the special power gaming status 2 is operating the special electric auditorium, the special power gaming status 3 is closing the special winning opening, and the special power gaming status 4 is in response to the big hit end demonstration. I have.
<<< Grand Winner Validity Period Setting Process >>>

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

特別図柄変動開始監視制御処理(S60)においては、特別図柄1(ここでは第1特別図柄192)及び特別図柄2(ここでは第1特別図柄192の変動開始の監視を行う。特別図柄1及び特別図柄2の何れにおいても、特図遊技ステイタス(特図1遊技ステイタス又は特図2遊技ステイタス)のアドレス及び特図変動開始監視テーブル(特図1変動開始監視テーブル又は特図2変動開始監視テーブル)のアドレスを引数として特別図柄変動開始監視処理を実行する。
<<<異常検知処理>>>
In the special symbol change start monitoring control process (S60), the change 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 change start monitoring table (special figure 1 change start monitoring table or special figure 2 change start monitoring table) The special symbol change start monitoring process is executed by using the address of as an argument.
<<<< Abnormality detection processing >>>>

異常検知処理(S61)においては、磁気の監視、断線・短絡・電源の監視、電波の監視、ガラス枠セット・遊技盤の枠・裏セット(ここではセット基盤39)の開閉状態の監視等を行うためエラー判定値の作成を行う。その後、エラー状態の検査、エラー状態の記憶、及び、演出制御基板(ここではサブメイン基板301)への遊技機のエラー状態演出の表示要求を順に行う。なお、エラー状態の検査でエラー状態に変化無しと判断した場合、エラー状態の記憶、及び、演出制御基板への遊技機のエラー状態演出の表示要求は行わない。   In the abnormality detection processing (S61), monitoring of magnetism, monitoring of disconnection / short circuit / power supply, monitoring of radio waves, monitoring of the open / closed state of the glass frame set / game board frame / back set (here, the set base 39) and the like are performed. Create an error judgment value to do so. Thereafter, an inspection of the error state, a storage of the error state, and a request for displaying an error state effect of the gaming machine on 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 request to display the error state effect of the gaming machine on the effect control board are not performed.

エラー判定値の作成においては、エラー判定値を作成するため、磁気検知信号の検査、断線短絡電源異常検知信号の検査、電波検知信号の検査、及び、開放信号の検査を順に行う。ただし、これらの検査に使用する検査データは、受信信号レベルの値とエラーフラグの値を排他的論理和した結果に通信異常マスクデータで論理積した値としている。エラー状態の検査においては、エラー状態の検査を行うため、エラーフラグ比較値とエラーフラグの値を比較し、一致した場合、エラー状態に変化無しと判断する。なお、エラーフラグの比較値は、エラー判定値の作成で作成したエラー判定値のビット0に通信線異常判定の値のビット0を反映した値としている。エラー状態の記憶においては、エラー状態の検査で作成したエラーフラグ比較値をエラーフラグに格納する。演出制御基板への遊技機のエラー状態演出の表示要求においては、MODE(エラーA)データ、及び、エラー状態の検査で作成したエラーフラグ比較値を引数としてコマンド要求設定処理を実行する。
<<<入球通過時間異常検出処理>>>
In creating the error determination value, in order to create the error determination value, a magnetic detection signal inspection, a disconnection short-circuit power supply abnormality detection signal inspection, a radio wave detection signal inspection, and an open signal inspection are sequentially performed. However, the inspection data used for these inspections is a value obtained by exclusive-ORing 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 and the value of the error flag are compared in order to perform the error state inspection, and if they match, it is determined that there is no change in the error state. Note that the comparison value of the error flag is a value in which bit 0 of the communication line abnormality determination value is reflected on 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 a request to display the error state effect of the gaming machine on the effect control board, a 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.
<<<< Incoming ball passing 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 prize detecting device) level is monitored, and as a result of the monitoring, the change from the previous time is detected. If it is determined that there is, an incoming ball passage time abnormality setting, a command transmission request, and a security output request to be output to an external terminal are created in order. However, when monitoring the continuous ON time at each switch level, if it is determined that the continuous ON time is not abnormal, 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, the continuous on-time of each switch level is monitored, so that the content indicated by the address of the continuous switch table is set as the number of inspections, and the switch bit data is sequentially acquired for the number of inspections. Obtain the timer address corresponding to each obtained switch bit data, measure the switch level ON time, and obtain the EVENT data stored at the address corresponding to each switch bit data when it is determined that the continuous ON time is abnormal. I do. If it is determined that the continuous ON time is not abnormal, EVENT (error B0) data (00H) is set. If the acquired EVENT data is different from the value of the incoming ball passage time abnormality flag (described later), it is determined that there has been a change from the previous time. In the setting of the incoming ball passing time abnormality, the EVENT data is stored in the incoming ball passing time abnormality flag. In a command transmission request, a command request setting process is executed using MODE (error B) data (9EH) and EVENT data as arguments. In creating a security output request to be output to an external terminal, a signal output request process is executed using the address of the abnormality sensor detection timer + 1 as an argument.
<<< Game state display processing >>>

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

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

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

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

ハンドル状態の検査においては、ハンドル状態の検査を行うため、受信信号レベルの値及びハンドル状態フラグの値を検査する。そして、受信信号レベルの値を示すビットが0で、ハンドル状態フラグの値が00Hの場合、ハンドル状態に変化なしと判断し、ハンドル状態フラグの値が01Hの場合、ハンドル状態に変化ありと判断する。また、受信信号レベルの値を示すビットが1で、ハンドル状態フラグの値が00Hの場合、ハンドル状態に変化ありと判断し、ハンドル状態フラグの値が01Hの場合、ハンドル状態に変化なしと判断する。   In the inspection of the steering wheel state, the value of the reception signal level and the value of the steering wheel state flag are inspected in order to inspect the steering wheel state. If 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 the handle state has not changed, and if the value of the handle state flag is 01H, it is determined that the handle state has changed. I do. If 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 the handle state has changed. If the value of the handle state flag is 01H, it is determined that the handle state has not changed. I do.

ハンドル状態監視タイマの減算においては、ハンドル状態監視タイマの減算を行うため、ハンドル状態監視タイマの内容を−1する。減算の結果、0以外の場合、タイマ減算中と判断する。ハンドル状態の更新においては、ハンドル状態の更新を行うため、ハンドル状態フラグの値に対応した値をハンドル状態フラグに格納する。ハンドル状態フラグの値が00Hの場合、ハンドル状態フラグに格納する値は01Hとなり、ハンドル状態フラグの値が01Hの場合、ハンドル状態フラグに格納する値は00Hとなる。   In the subtraction of the steering wheel status monitoring timer, the content of the steering wheel status monitoring timer is decremented by one in order to subtract the steering wheel status monitoring timer. If the result of the subtraction is other than 0, it is determined that the timer is being subtracted. In updating the handle state, a value corresponding to the value of the handle state flag is stored in the handle state flag in order to update the handle state. 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 steering wheel state monitoring timer, the steering wheel state monitoring timer stores the steering wheel state monitoring time in order to set the steering wheel state monitoring timer. In the command transmission request of the steering wheel state effect, in order to make a command transmission request of the steering wheel state effect, a result of ANDing MODE (handle state information) data and a predetermined value 7FH, and a lower address of the steering wheel state flag The command request setting process is executed with the argument as an argument.
<<<< LED output processing >>>>

LED出力処理(S65)においては、特別図柄の表示、普通図柄の表示、特別図柄表示装置の作動保留球数の表示、普通図柄表示装置の作動保留球数の表示、遊技状態の表示、特別電動役物が連続して作動する回数の表示、役物連続作動装置未作動時の特別電動役物置の作動状態の表示、(右打ちや左打ちの)打ち分け表示、及び、エラー表示を行うため、表示の初期化、表示データの出力を順次行う。   In the LED output process (S65), the display of the special symbol, the display of the normal symbol, the display of the number of active balls on the special symbol display device, the display of the number of active balls of the normal symbol display device, the display of the game state, the special electric operation To display the number of times the accessory is operated continuously, to display the operation status of the special electric cabinet when the accessory continuous actuation device is not operating, to display separately (right-handed or left-handed), and to display errors , 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 to initialize the display. In outputting the display data, in order to output the display data, a digit corresponding to the data to be displayed is output, and then the data to be displayed is output. In order to output a digit corresponding to the data to be displayed, after updating the digit counter, a digit data output is obtained, and the obtained output data is output. In the present embodiment, a 7-segment decoder is used for outputting data to be displayed on the 7-segment display according to the game situation. The data output in the LED output processing includes segment data indicating ON / OFF of each segment of the 7-segment display, pattern data transmitted to the 7-segment decoder, and the like. 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), a signal for prohibiting / permitting the launch of the game ball is output, so that the communication state with the payout control board 45 and the setting of prohibition / permission of firing corresponding to the disconnection short-circuit power supply abnormality and After obtaining the output data of the prohibition / permission of the launch, the prohibition / permission signal of the launch is output. In the setting of the prohibition / permission of firing and the acquisition of output data of prohibition / permission of firing corresponding to the communication state with the dispensing control board 45 and the disconnection short-circuit power supply abnormality, a flag reflecting the bit setting request is created, and the output data To get.

ビット設定要求を反映したフラグの作成においては、エラーフラグの通信異常ビット又はエラーフラグの断線短絡電源異常ビットがオンの場合、ビットクリア要求ありとフラグに反映し、それ以外の場合、ビットセット要求ありとフラグに反映する。出力データの取得においては、ビット設定要求を反映したフラグ、デジット等バッファのアドレス、及び、発射許可信号ビットデータを引数としてビットデータ設定処理を実行する。実行の結果、取得したビットデータを出力データとする。発射の禁止/許可の信号の出力においては、発射の禁止/許可の信号を出力するため、取得した出力データをデジット等出力ポートへ出力する。
<<<試験信号出力処理>>>
When creating a flag that reflects a bit setting request, if the communication error bit of the error flag or the disconnection short-circuit power supply error bit of the error flag is on, the bit clear request is reflected and the flag is reflected. It is reflected in the presence flag. In obtaining the output data, a bit data setting process is executed using the flag reflecting the bit setting request, the address of the buffer such as a digit, and the emission permission signal bit data as arguments. The bit data obtained as a result of the execution is set as output data. In outputting the prohibition / permission signal of firing, the obtained output data is output to an output port such as a digit in order to output the prohibition / permission signal of firing.
<<<< 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 device 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 during a change of each special symbol, a jackpot, during the operation of the continuous accessory actuating device, and during the operation of the condition device from the associated terminals. The test signal output port 2 is connected to each of the terminals associated with the signals of the normal electric accessory opening extended state, the ordinary symbol fluctuation time reduction state, the ordinary symbol high probability state, the special symbol fluctuation time reduction state, and the special symbol high probability state. Output. The test signal output port 3 outputs a signal during normal electric auditors operation, a signal during normal symbol fluctuation, a signal per normal symbol, and a signal during special electric auditors operation from associated terminals. In order to create a signal to be output to each of 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 signals of the gaming machine error state, the launch position designation, and the symbol data from the associated terminals. In creating a signal to be output to the test signal output port 5, the lower two bits of the symbol combination number are usually bits 0 and 1 of symbol data. In addition, an error inspection process is performed using the test terminal error output mask data as an argument. As a result of the execution, if an error is detected, it is determined that a gaming machine error has occurred, and the gaming machine error state signal is turned on. Otherwise, the game machine error state signal is turned off. When the value of the hitting state flag is 0, the firing position designation signals 1 to 3 are turned off. In other cases, ON of the firing position specifying signal 1 and OFF of the firing position specifying signal 2 and the firing position specifying signal 3 are created. The test signal output port 6 and the test signal output port 7 output a signal of the symbol data from each of the associated terminals.
<<<< solenoid output processing >>>>

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

演出制御コマンド送信処理(S69)においては、演出制御基板へ送信するコマンドの送信要求を検査し、送信要求があると判断した場合、要求するコマンドデータを取得し、使用したコマンドバッファのクリアを行い、取得したコマンドデータに対応したMODEデータの取得、MODEデータの出力、MODEデータの保持、取得したコマンドデータに対応したEVENTデータの取得、EVENTデータの出力を順次行う。コマンドデータの送出タイミングは、演出データストローブにより規定され、演出データストローブ信号のオン時間(ここでは2μs以上)の後の所定時間(ここでは46μs以上)が演出データ保持時間となっている。   In the production control command transmission processing (S69), the transmission request of the command to be transmitted to the production control board is inspected, and if it is determined that there is a transmission request, the requested command data is acquired and the used command buffer is cleared. Then, acquisition of MODE data corresponding to the acquired command data, output of MODE data, holding of MODE data, acquisition of EVENT data corresponding to the acquired command data, and output of EVENT data are sequentially performed. 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 of the effect data strobe signal (here, 2 μs or more) 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). If the values do not match, it is determined that there is a command transmission request. In obtaining the requested command data, a double value of the logical product of the address calculation value stored in the command request reading position and the position correction bit data is added to the address of the command buffer, and as a result of the addition, the content of the obtained address is obtained. Is command data. After the acquisition of the address calculation value stored in the command request reading position, the command request reading position is incremented by 1 to update the contents of the command data reading position. In clearing the command buffer, the command buffer storing the acquired command data is cleared to 0 in order to clear the command buffer.

取得したコマンドデータに対応したMODEデータの取得においては、取得したコマンドデータ上位をMODEデータとする。MODEデータの出力においては、取得したMODEデータを演出コマンド出力ポートに出力した後、演出データストローブを出力するため、ストローブ出力処理を実行する。MODEデータの保持においては、MODEデータの保持のため、所定時間(ここでは46μs以上)ウェイトする。取得したコマンドデータに対応したEVENTデータの取得においては、取得したコマンドデータ下位をEVENTデータとする。EVENTデータの出力においては、取得したEVENTデータを前述のものと同じ演出コマンド出力ポートに出力した後、演出データストローブを出力するため、ストローブ出力処理を実行する。
<<<外部情報出力処理>>>
In the acquisition of MODE data corresponding to the acquired command data, the higher order of the acquired command data is set as MODE data. In outputting the MODE data, after outputting the obtained MODE data to the effect command output port, a strobe output process is executed to output an effect data strobe. In holding the MODE data, a wait is performed for a predetermined time (46 μs or more in this case) for holding the MODE data. In acquiring EVENT data corresponding to the acquired command data, the lower order of the acquired command data is set as EVENT data. In outputting EVENT data, after outputting the acquired EVENT data to the same effect command output port as described above, a strobe output process is performed to output an 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 the external information 1, the external information 3 to the external information 6, an output data creation process 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, a predetermined bit of the start-up information timer is checked in order to create the external information 2, and as a result of the check, the external information is set in accordance with ON / OFF of a predetermined bit of the start-up information timer. Create 2 on / off. In the creation of security, an error check process is executed using the external information error output mask data as an argument. As a result of the execution, if an error is detected, the security bit of the output data is turned on. Otherwise, the security bit of the output data is turned off. In outputting the created signal, the created external information 1 to external information 6 and security are output to an 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. In the main board 102, a maskable interrupt and a non-maskable interrupt are performed, of which the maskable interrupt is caused by PT0I. The maskable interrupt by PT0I realizes a 4 ms interrupt cycle by dividing the system clock, and executes the above-mentioned game progress interrupt processing (PTC0 interrupt processing) at this interrupt cycle.

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

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

次に、メイン基板102において用いられる乱数について説明する。本実施例における乱数は、役物作動に係る乱数と、遊技の用に供されるその他の乱数に分かれる。役物作動に係る乱数には、普通図柄当り乱数、普通図柄当り初期値乱数、特別図柄当り乱数、特別図柄当りソフト乱数、特別図柄当りソフト初期値乱数、特別図柄当り図柄乱数、及び特別図柄当り図柄初期値乱数の7種類がある。   Next, random numbers used in the main board 102 will be described. The random number in this embodiment is divided into a random number related to the operation of the accessory and another random number used for playing a game. The random numbers related to the actor's operation include the random number per symbol, the initial value random number per normal symbol, the random number per special symbol, the soft random number per special symbol, the soft initial value random number per special symbol, the symbol random number per special symbol, and the special symbol per 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 normal symbol random number is a random number used for the lottery of the normal symbol display device. The value of the random number takes "0-282", and the size of the random number is 283. The updating method is to first add 1 to the previous random number, return it to 0 if the added result exceeds the maximum value, and if the random number has made one round, change the value of the initial value random number per ordinary symbol at that time to the ordinary symbol It is the value of the hit random number. 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 detectors 69a, 69b of the operating ports 68a, 68b. The number of random numbers to be won differs between the case of low probability and the case of high probability, 11 for low probability and 282 for high probability.

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

特別図柄当り乱数は、CPU501の乱数回路の所定のチャネル(ここでは「chA」と例示する)で生成した乱数(ハードウエア乱数)をソフトウエアで取り込んで取得し、特別図柄表示装置(70,71)の抽選に使用する乱数である。乱数の値は「0〜065535」をとり、乱数の大きさは65536である。更新方法は、CPU501のRCK(乱数用クロック)端子に入力された水晶発振器の2クロックで1回更新するものである。乱数のスタート値としては、本実施例ではCPU501のIDナンバーを基にした値が設定されおり、電源のオン(またはオフ)に伴って実行されるシステムリセット毎に変更される。乱数列の変更方法としては、本実施例では乱数列が一巡する度に、自動的に乱数列を更新するものが設定されている。更新時期は、RCK端子に入力されたクロック信号の2分周クロックによって設定されるタイミングである。   The random number per special symbol is obtained by taking in the random number (hardware random number) generated by a predetermined channel (here, exemplified as “chA”) of the random number circuit of the CPU 501 by software, and acquiring the special symbol display device (70, 71). ) Is a random number used for the lottery. The value of the random number takes "0-065535", and the magnitude of the random number is 65536. The updating 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 the present embodiment, a value based on the ID number of the CPU 501 is set as the start value of the random number, and is changed every time the system is reset when the power is turned on (or off). In this embodiment, as a method of changing the random number sequence, a method of 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 the clock signal divided by 2 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 time differs depending on the start winning detecting device 74 in the first starting winning opening 62 or the starting winning detecting device 75 in the second starting winning opening 63. In the case of the start winning detecting device 74 of the first starting winning opening 62, when the input signal changes from OFF to ON, a low level is input to the P0 terminal of the CPU 501, and the random number value (hardware The random number value of the random number) is stored in the random number value register (RA0D). When the software determines that the input signal of the start winning detection device 74 of the first winning opening 62 has changed from OFF to ON, the internal random number (hardware random number) stored in the random number value register (RA0D) is obtained. The random number per special symbol is a value obtained by adding a soft random number per special symbol to the acquired built-in 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 changes from OFF to ON, a low level is input to the P1 terminal of the CPU 501, and the disturbance captured from the channel A of the random number circuit. The difference from the case of the start winning detection device 74 of the first starting winning opening 62 is that the numerical value is stored in the random number value register (RA1D).

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

また、特別図柄当り乱数に関し、乱数の周期は、大きさが65536である乱数が所定のスピードで更新がされることから、約0.013s(秒)となる。   Further, regarding the random number per special symbol, the cycle of the random number is about 0.013 s (second) since the random number having the 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 obtained internal random number when the internal random number generated by chA of the random number circuit is obtained as described above. . The value of the random number takes "0-65520", and the magnitude of the random number is 65521. The update method is to first add 1 to the previous random number, return to 0 if the result of the addition exceeds the maximum value, and if the random number has made one round, specially set the value of the soft initial value random number per special symbol at that time This is the value of the 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 the winning of the game ball is detected by the starting winning detecting device 74 of the first starting winning opening 62 or the starting winning detecting device 75 of the second starting winning opening 63.

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

特別図柄当り図柄乱数は、大当りとなる図柄の組合せの決定に使用する乱数である。乱数の値は「0〜999」をとり、乱数の大きさは1000である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻し、乱数が1周した場合は、その時の特別図柄当りソフト初期値乱数の値を特別図柄当り図柄乱数の値とするものである。更新時期は、遊技進行割込み毎であり、遊技進行割込み毎に1回更新される。取得時期は、第1始動入賞口62の始動入賞検出装置74又は第2始動入賞口63の始動入賞検出装置75により遊技球の入賞を検出した時である。   The special symbol per symbol random number is a random number used to determine a combination of symbols to be a big hit. The value of the random number takes "0-999", and the magnitude of the random number is 1000. The update method is to first add 1 to the previous random number, return to 0 if the result of the addition exceeds the maximum value, and if the random number has made one round, specially set the value of the soft initial value random number per special symbol at that time 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 the winning of the game ball is detected by the starting winning detecting device 74 of the first starting winning opening 62 or the starting winning detecting device 75 of the second starting winning opening 63.

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

遊技の用に供されるその他の乱数には、普通図柄変動パターン乱数、変動パターン乱数の2種類がある。これらのうち普通図柄変動パターン乱数は、普通図柄表示装置の変動パ
ターン選択に使用する乱数であり、乱数の値は「0〜232」をとり、乱数の大きさは233である。更新方法は、先ず前回の乱数に1を加算し、加算した結果が最大値を超えた場合は0に戻すものである。更新時期は、遊技進行割込み毎であり、遊技進行割込み毎に1回更新される。取得時期は、作動口68a,68bの通過検出装置69a,69bにより遊技球の通過を検出した時である。
Other random numbers used for the game include two types, a normal pattern variation pattern random number and a variation pattern random number. Among them, the normal symbol variation pattern random number is a random number used for selecting a variation pattern of the ordinary symbol display device, and the value of the random number ranges from “0 to 232” and the magnitude of the random number is 233. In the updating method, first, 1 is added to the previous random number, and if the result of the addition exceeds the maximum value, it is returned to 0. The update timing 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 operating 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 selecting a variation pattern of the special symbol display device (70, 71). In the updating method, first, 3511 is subtracted from the previous random number, and if the subtraction result is less than 0, 50,000 is added to the subtraction result. The update timing is for each game progress interrupt, and is updated once for each game progress interrupt. The acquisition time is when the winning of the game ball is detected by the starting winning detecting device 74 of the first starting winning opening 62 or the starting winning detecting device 75 of the second starting winning opening 63.
<Other individual control processing modes>
<< Control Mode Regarding 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 a 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 a control process for command transmission (here, effect control command transmission process (S69)), one command buffer is stored in the command buffer in the order of accumulation. In the game progress interruption processing, each command is taken out from the command buffer and transmitted one by one. Note that it is also possible to adopt a method in which a command set with a higher priority is transmitted first. In addition, in various control processes, when a command that needs to be transmitted occurs, the command can be transmitted as needed. When such a method is employed, during one game progress interruption process, the effect commands are transmitted collectively in one control processing module such as the effect control command transmission process (S69). Instead, each time command transmission becomes necessary, command transmission is performed sequentially in each control processing module. For this reason, it is unlikely that the command transmission will be carried over to the next and subsequent game progress interrupt processing. Then, for example, there is no delay in the command at the time of the start winning or the command transmission at the time of the start of the change of the special symbol, and the prompt command processing can be performed.
<< 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 the execution order of the first and second plurality of games has regularity. The update is performed sequentially for each second game or first game. Therefore, if only the information stored and stored is updated for each second game or first game, the update of the stored information is completed. However, the present invention is not limited to this. For example, a configuration in which the first game is prioritized, or a configuration in which, instead of prioritizing any one of the games, the start winning prize is generated and the reserved storage is exhausted in the order of the reserved storage, may be used. Adoption is possible. In the case where a configuration in which the hold storage is exhausted in the order of occurrence of the start winning prize is adopted, the update of the hold storage information according to the exhaustion, the update of the total suspension number of a plurality of games, and the storing of the winning order are performed. This makes it possible to update the information stored and stored as a whole.

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

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

本実施例では、変動パターンの決定には、前述のように、当否結果、保留球数、特別図柄(図柄群の場合もある)、及び、変動パターン選択状態(特別図柄のステイタス情報)が決定要素として用いられているが、これらの決定要素の組合せに対応した変動パターンが選択される。そして、変動パターンの決定に伴い、変動パターンと紐付けされ対になっている変動時間が決定される。さらに、本実施例では、変動パターンの決定に関し、当否抽選の結果が大当りの場合と、はずれの場合とで、決定の要素を異ならせることが行われている。すなわち、大当りの場合には、演出状態(特別図柄のステイタス情報など)、特別図柄群、当否乱数を基に、これらに紐付けされた中から変動パターンが選択される。一方、はずれの場合には、演出状態、保留球数、当否乱数を基に、これらに紐付けされた中から変動パターンが選択される。このうち、大当りの場合で、演出上の再抽選の時間が付与される変動パターンについては、演出状態(特定の演出の有無など)と、特別図柄群とに基づき、再抽選の時間の付与の有無が決定され、決定された結果が、メイン基板102からサブメイン基板301へ送信される。   In the present embodiment, as described above, the determination of the variation pattern is made based on the success / failure result, the number of reserved balls, the special symbol (may be a symbol group), and the variation pattern selection state (special symbol status information). A variation pattern that is used as an element and corresponds to a combination of these determinants is selected. Then, along with the determination of the variation pattern, the variation time paired with the variation pattern is determined. Further, in the present embodiment, regarding the determination of the variation pattern, the determination factor is made different depending on whether the result of the winning lottery is a big hit or not. In other words, in the case of a big hit, a variation pattern is selected from the effect states (such as status information of a special symbol), a special symbol group, and a random number of success or failure based on these. On the other hand, in the case of a loss, a variation pattern is selected from those linked to these on the basis of the effect state, the number of reserved balls, and the random number. Among these, in the case of a big hit, the fluctuation pattern in which the re-lottery time in the production is given is based on the production state (presence of a specific production, etc.) and the special symbol group, and the re-lottery time is given. The presence or 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 a subsequent variation time according to the determined effect pattern number (in other words, the content of the effect pattern). For example, when the selected variation pattern corresponds to the limited frequency pattern effect, it is conceivable to determine the extension of the variation time according to the fact after the fact.

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

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

また、本実施例では、変動パターンは、保留球数を要素として決定されており、保留球数が幾つであるかに応じて、参照される変動パターンテーブルが異なる。変動パターンテーブルは、保留球数0〜4に対応して設けられている。保留0〜3の4つだけではなく、保留4に対応する変動パターンテーブルが設けられているのは、以下の理由による。例えば、保留球数が4つの状況から新たな変動表示が開始され、保留球数が3となった場合を考える。その時点で実行されている遊技進行割込み処理中の、未だ制御処理が、後の遊技進行割込み処理中の処理である変動パターンの決定に至らない段階において、保留球数が3となっている状態から新たな始動入賞が発生すると、変動パターンの決定時には、保留球数が加算されて4となっている。したがって、このような状況も変動パターンの決定の要素とし得るよう、保留球数0〜4に対応して変動パターンテーブルが設けられているのである。   Further, in the present embodiment, the variation pattern is determined using the number of reserved balls as an element, and the referenced variation pattern table differs depending on the number of reserved balls. The variation pattern table is provided corresponding to the number of reserved balls 0 to 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 variable display is started from the situation where the number of reserved balls is four, and the number of reserved balls becomes three. A state in which the number of reserved balls is 3 at a stage where the control process during the game progress interruption process being executed at that time has not yet determined the fluctuation pattern which is a process during the subsequent game progress interrupt process. When a new starting prize is generated, the number of reserved balls is added to 4 when the variation pattern is determined. Therefore, a variation 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 variation 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 to 3. In this case, it is possible to adopt a configuration in which the starting prize is not added from the state of the number of reserved balls 3 to the determination of the variation pattern in the control processing. Note that any of the aspects can be applied to a pachinko gaming machine of a type in which a maximum holding number (for example, 8) other than four is set.

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

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

前述のように、特別図柄(第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 corresponding decorative symbols 190a to 190c are controlled to start and stop changing in synchronization with each other. However, depending on the situation, the fluctuation time of the decorative symbols 190a to 190c may be somewhat shorter than the fluctuation time of the special symbol (the first special symbol 192 or the second special symbol 193).

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

このように、装飾図柄の変動時間は、特別図柄の変動時間に対してある程度短くなり得るものであり、特別図柄が変動開始した後に装飾図柄が変動開始し、特別図柄が変動停止した後に装飾図柄が変動停止するということが生じ得る。なお、装飾図柄の変動開始時と変動停止時との遅延の程度についは、通常は、変動開始時には送信すべきコマンドの数が相対的に多く、停止時には相対的に少ないことから、変動停止時の遅延の程度は、変動開始時に比べて小さい(少ない)と考えられる。
<本実施例に係る発明の作用効果>
In this way, the fluctuating time of the decorative symbol can be somewhat shorter than the fluctuating time of the special symbol. The decorative symbol starts to fluctuate after the special symbol starts to fluctuate, and the decorative symbol after the special symbol stops fluctuating. May fluctuate. Note that the number of commands to be transmitted at the start of the change is relatively large at the start of the change and relatively small at the stop of the change. Is considered to be smaller (less) than at the start of the fluctuation.
<Operation and effect 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 the present embodiment, the CPU 501 is provided with a 16-bit random number generation function and an 8-bit random number generation function. For this reason, it is possible to perform game control such as a jackpot lottery using various random numbers. Further, in the present embodiment, of the 16-bit random number generation function and the 8-bit random number generation function, only the 16-bit random number generation function is used for random number lottery, and the 8-bit random number generation function is not used. However, when the power of the CPU 501 is turned on, for example, the random number circuit for the 16-bit random number and the random number circuit for the 8-bit random number are both initialized, and thereafter the mode can be shifted to the security mode. Therefore, it is possible to securely initialize the unused random number generating function, and it is possible to prevent an unauthorized act using the unused random number generating function.

つまり、ぱちんこ遊技機におけるCPUは、前述したIDナンバー等の固有情報を異ならせつつ、遊技制御機能については共通化がされており、複数の遊技機製造業者や機種で使用されるものである。このため、多種類の乱数発生機能を備えることにより、長年にわたり、多種類のぱちんこ遊技機に使用できるようになると考えることができる。しかし、このような利点がある反面、使用しない乱数機能があっても、その乱数機能を削除するということはできず、使用しない乱数機能を残したまま、ぱちんこ遊技機に使用することになる。このため、例えば、電源断時に使用しない乱数回路に残存した乱数値を、電源投入等の直後に使用して、故意に大当りを発生させる、或いは、確変図柄に当せんし易くする、といった、不使用の乱数機能を利用した不正が行われることも考えられる。このような事情に対し、本実施例のように、電源投入等の際に、使用されない乱数回路についても、使用される乱数回路とともに初期化を行うことにより、例示したような不正行為が行われるのを未然に防ぐことができ、CPUにおける乱数の信頼性を向上することが可能となる。そして、CPUの各種の乱数発生機能について適正な処理を行うことが可能となる。   In other words, the CPU of the pachinko gaming machine has a common game control function while differentiating the above-described unique information such as the ID number, 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, it 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 will be used in the pachinko game machine while the random number function is not used. For this reason, for example, the random number value 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 to intentionally generate a big hit or make it easy to hit a probable symbol. It is also conceivable that fraudulent use of the random number function is performed. In such a situation, when the power is turned on, for example, the unused random number circuit is initialized together with the used random number circuit as in the present embodiment, whereby the wrongdoing as illustrated is performed. Can be prevented beforehand, and the reliability of random numbers in the CPU can be improved. Then, appropriate processing can be performed for various random number generation functions of the CPU.

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

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

さらに、本実施例においては、制御開始処理(図12、図13参照)のRWMの初期化時の処理(S24〜S28)で、RWM領域のクリア(S24)が行われる。したがって、このS24において前述した各種のエラーフラグのクリアを行うことができる。ここでクリアされるエラーフラグには、前述の電波検知信号に基づく電波エラーフラグなども含まれる。   Further, in the present embodiment, the RWM area is cleared (S24) in the processing (S24 to S28) when the RWM is initialized in the control start processing (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の動作に必要な値を下回るまでの間に、セキュリティチェックを完了することが可能である。   Further, in the present embodiment, the power-off required time, which is the time from when the power supply voltage decreases to reach a predetermined value to when the power is turned off, is the time A required to complete the control start processing, the game progress interruption processing. Is set to be larger than the sum of the time B required to complete the power-off processing, the time C required to set the power-off confirmation information, and the time D required to complete the power-off processing (see FIG. 17). The power-off required time is longer than the time required for hardware initialization and security check performed within the time from when the power is turned on until the control start process is started. Therefore, when the power supply voltage becomes equal to or lower than the 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 embodiment, but can be variously modified. For example, as the effect design display device 60, a device using a plurality of liquid crystal displays or the like may be employed. In this case, at least one of the plurality of displays is disposed adjacent to each other, disposed apart from each other, one is a relatively large display, and the other is a relatively small display. , Which are usually hidden, and appear depending on the content of the production. Further, for example, the display of the decorative symbols 190a to 190c is performed on one of the displays, and the other display unit additionally displays a first reserved number display section 196 and a second reserved number display section 197, a traffic light 198, and the like. It is also possible to adopt a device that moves a display target (character, decorative design, reserved number display unit, etc.) between a plurality of screens.

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

また、特別遊技の開始後に、例えば遊技球が特定の領域を通過したことを契機に、確変の有無、時短の有無、普通電動役物の開放延長の有無、特別電動役物の作動パターンなどのうちの少なくとも何れか一つを決定するタイプ(「球確スペック」などともいう)のぱちんこ遊技機においては、例えば大当り終了デモの所要時間を、確変か非確変(通常)かといった遊技状態に応じて異ならせておき、大当りと判定された場合に、大当り終了デモ開始時に、決定された遊技状態に応じた時間で、大当り終了デモを実行することが可能である。   Also, after the start of the special game, for example, when the game ball passes through a specific area, there is a certainty change, whether there is a shortened time, whether there is an extension extension of the ordinary electric accessory, the operation pattern of the special electric accessory, etc. In a pachinko game machine of a type that determines at least one of them (also referred to as “ball probability specification”), for example, the time required for the big hit end demonstration depends on the game state, such as whether the probability is variable or non-variable (normal). If a big hit is determined, a big hit end demonstration can be executed at the time according to the determined game state at the start of the big hit end demonstration.

また、本実施例では、大当り中以外であること、第1特別図柄192(又は、第2特別図柄193)が変動待機中であること、及び、変動開始対象となる特別図柄の作動保留球数が0以外であること、が変動開始の条件とされており、更に、第2始動入賞口63を用いる第2の遊技が第1の遊技に優先されている。しかし、これに限定されるものではなく、例えば、第1の遊技を優先する構成や、何れかの遊技を優先させるのではなく、始動入賞が発生し保留記憶された順に、保留記憶を消化する構成なども採用が可能である。このうち、後者の入賞順に図柄変動を行うタイプのものにおいては、上述の各変動開始条件に加えて、例えば当否判定の順序と消化順序(入賞順)と一致していることを確認し、一致していることが確認できたことを変動開始条件の一つとすることが可能である。   Further, in the present embodiment, it is not during the big hit, the first special symbol 192 (or the second special symbol 193) is on standby for change, and the number of operation-reserved balls of the special symbol to be a change start target Is other than 0 as a condition for starting the fluctuation, 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 giving priority to the first game or giving priority to any game, the holding memory is consumed in the order in which the start winning prize is generated and the holding is performed. A configuration and the like can be adopted. Among these, in the latter type in which the symbols change in the winning order, in addition to the above-described respective change starting conditions, for example, it is confirmed that the order of the pass / fail judgment and the digestion order (winning order) match. It can be determined that they are in agreement as one of the fluctuation start conditions.

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

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

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

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

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

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

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

例えば、電断信号は第一電断信号と第二電断信号とに分けられており、第一電断信号は第二実施例の電断信号と同様のものである。そして、第一電断信号は、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 similar to 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. Is input to another input terminal. 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 executes a predetermined address (here, a predetermined address) specified on the control program. (The address 0066H) is jumped to the control processing. Further, the CPU 501 monitors the number of inputs of the second power-off signal, and if the number of inputs reaches, for example, five, sets the power-off confirmation information in accordance with the contents after the above-mentioned predetermined address (0066H). Execute.

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

第二電断信号の入力回数は、遊技進行割込み処理が繰り返される毎に加算される。つまり、本実施例では、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 input of the second power interruption signal is repeated over five game progress interruption processes.

この第二実施例によれば、電源電圧が低下していない場合に例えばノイズ等の影響によ
りNMI端子504に信号入力があったとしても、信号入力があったことのみを原因として電源断確認情報が設定されてしまうことを防止できる。したがって、電源断とする必要がなく電源断となるべきでないような状況において、誤って電断処理が実行されてしまうことを防止できる。さらに、本実施例のように、所定のアドレスに制御処理を移行させた後に、電源断確認情報を設定することなく直ぐにその処理を抜ける構成とすることにより、第一電断信号が入力に伴うノンマスカブル割込みの機能を利用したまま、より確実な電源断確認情報の設定を行うことが可能となる。
According to the second embodiment, when the power supply voltage is not reduced, even if there is a signal input to the NMI terminal 504 due to the influence of noise or the like, for example, the power-off confirmation information is generated only due to the signal input. Can be prevented from being set. Therefore, it is possible to prevent the power interruption process from being executed by mistake in a situation where the power supply does not need to be turned off and should not be turned off. Further, as in the present embodiment, after the control process is shifted to a predetermined address, the process immediately exits the process without setting the power-off confirmation information, whereby the first power-off signal accompanies the input. It is possible to set the 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 game machine generally has an NMI function which is a hardware interrupt, and the CPU has an input terminal for the NMI function and an electronic circuit portion (logic). Circuit is included). However, if control processing is performed so as to ignore the signal input to the NMI terminal 504, a design change for eliminating the function of the NMI is required in a program and a circuit design. . If the NMI terminal and the electronic circuit part for the NMI are not used while leaving them, for example, if a measure such as grounding is taken, the unused (or unused) terminal or function is not used. May be left behind and used for fraudulent activities. On the other hand, by adopting a configuration in which the control processing is shifted to a predetermined address (0066H) when the first power interruption signal is input to the NMI terminal 504 as in the present embodiment, the NMI function for the NMI function is realized. It is possible to take measures against noise and the like while minimizing the design change 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. However, the present invention is not limited to this. May be set. Further, the number of times is not limited to a predetermined number, and for example, an input over a predetermined period may be used as a condition. 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. And so on. 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 operation and effect of the present embodiment can be achieved. A configuration may be adopted. Further, the number of times of inputting the second power interruption signal is assumed to be added each time the game progress interruption process is repeated, but the present invention is not limited to this. For example, a plurality of times during one game progress interruption process The number of times that the predetermined condition is satisfied may be counted based on the countable items.
<Application to enclosed gaming machines>

また、本願発明は、遊技者が獲得した遊技媒体としての遊技球を、前述のように、遊技者に対し直接的に払出して遊技者が賞球に触れることができるようにしているぱちんこ遊技機に限られず、例えば封入循環式のぱちんこ遊技機にも適用が可能である。封入循環式のぱちんこ遊技機としては以下のようなものを例示できる。なお、前述の実施例のぱちんこ遊技機10と同様の部分については同じ符号を付して説明する。   In addition, the present invention also provides a game ball as a game medium acquired by a player, as described above, by directly paying the game ball to the player so that the player can touch the prize ball. The present invention is not limited to this, and can be applied to, for example, a closed circulation type pachinko game machine. The following can be exemplified as the enclosed circulation type pachinko gaming machine. The same parts as those of the pachinko gaming machine 10 of the above-described embodiment will be described with the same reference numerals.

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

遊技領域52で入賞した遊技球、及び入賞しなかった遊技球はセット基盤39に形成された球回収樋に案内され、揚送装置(図示略)により揚送される。揚送装置は、揚送モー
タにより回転する揚送用スクリューが内蔵されており、この揚送用スクリューが回転することによりパチンコ球(遊技球)が揚送される。揚送装置の背部には、揚送途中のパチンコ球と接触することによりそのパチンコ球を研磨する研磨部材が設けられており、パチンコ球は揚送されつつ、その表面が研磨される。
The game balls that have won the game area 52 and the game balls that have not won the game are guided to a ball collection gutter formed on the set base 39, and are lifted by a lifting device (not shown). The lifting device incorporates a lifting screw that is rotated by a lifting motor, and a pachinko ball (game ball) is lifted by rotation of the lifting screw. A polishing member for polishing the pachinko ball by contacting the pachinko ball during the 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個)になっているか否かを検出する。   At the ball entrance side (lower side) and the ball discharge port side (upper side) of the lifting device, detection switches for game balls are provided, and the detection switches detect pachinko balls to be lifted. A ball launching device is provided near the ball discharge port of the lifting device, and the game balls detected by the (upper side) detection switch after the lifting are supplied to the ball launching device by the ball feeding device. . The ball feeding device has a function of sending the next game ball to the hit ball firing position each time the player operates the firing handle 17 and hits one game ball. Further, a game ball excess / deficiency detection switch is provided in the middle of the game ball circulation path, and detects whether a predetermined number (for example, 50) of pachinko balls are in the circulation path.

ぱちんこ遊技機の所定側の側方位置に該ぱちんこ遊技機に対して遊技用装置の一例のカードユニット(CU)が1対1に対応設置されている。この点は、前述のぱちんこ遊技機10と同様である。カードユニットは、会員登録をしていない一般の遊技者に対して発行される遊技用記録媒体であるプリペイド機能を備えるビジターカードや、該遊技場に会員登録した会員遊技者に対して発行される遊技用記録媒体である会員カードを受付けて、それらカードの記録情報により特定される遊技者所有の遊技価値(たとえばカード残高、持球数、あるいは貯球数等)を用いて対応するぱちんこ遊技機における封入球を弾発発射させて遊技ができるようにするための機能を有する。なお、ビジターカードや会員カードはICカードで構成されている。   A card unit (CU), which is an example of a gaming device, is provided in a one-to-one correspondence with a pachinko gaming machine at a predetermined lateral position 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 issued to a member player who has registered as a member at the playground. A pachinko gaming machine that accepts a membership card, which is a game recording medium, and uses a game value (for example, a card balance, the number of balls held, or the number of stored balls, etc.) owned by the player specified by the recorded information on the card. Has a function to allow the player to play the game by firing the enclosed ball in. Note that the visitor card and the membership card are constituted by IC cards.

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

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

それ以降の電源投入時においては、ぱちんこ遊技機側からカードユニット側へそれら3つの情報、すなわち、メインチップIDと払出チップIDと前回の接続時刻データとが送信される。   When the power is turned on thereafter, the 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 to the card unit.

カードユニット側では、それら送信されてきたデータと既に記憶しているデータとを照合し、前回と同じぱちんこ遊技機が接続されているか否かを判別する。なお、接続時刻のデータは、電源が立上げられる度にカードユニット側とぱちんこ遊技機側との通信が開始された新たな接続時刻データがカードユニット側からぱちんこ遊技機側へ送信されてその
新たな接続時刻データをぱちんこ遊技機側において記憶することとなる。
The card unit collates the transmitted data with the already stored data to determine whether or not the same pachinko gaming machine as that of the previous time is connected. When the power is turned on, the connection time data is transmitted from the card unit to the pachinko gaming machine when the communication between the card unit and the pachinko gaming machine starts. The 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, the card unit requests authentication of the pachinko gaming machine, and the pachinko gaming machine notifies the card unit of the acceptance of the authentication request from the card unit. Also, the transmission of the recovery information from the card unit to the pachinko gaming machine is requested, and the recovery information held by the pachinko gaming machine is transmitted from the pachinko gaming machine to the card unit. Subsequently, the card unit notifies the pachinko gaming machine that the pachinko gaming machine is connected, and the pachinko gaming machine notifies the card unit that the connection state is established. Also, the card unit requests the pachinko gaming machine to clear the recovery information and backup the connection ID (communication start time), and the pachinko gaming machine sends the recovery information clear, connection ID (communication) to the card unit. The end of the backup at (start time) is notified.

さらに、カードユニットからぱちんこ遊技機に対して、各種(遊技動作)が指示され、遊技台情報(加減算データ等)の送信が要求される。カードユニットはこのコマンドを使用して、遊技台の状態を定期的に確認する。ぱちんこ遊技機からカードユニットに対しては、遊技動作指示の実行結果および遊技台情報(加減算データ等)が通知される。カードユニットからぱちんこ遊技機に対しては、通信コネクションの接合を要求するコマンドが送信される。   Further, various (game operations) are instructed from the card unit to the pachinko gaming machine, and transmission of gaming machine information (addition / subtraction data and the like) is requested. The card unit uses this command to periodically check the status of the gaming table. The pachinko gaming machine notifies the card unit of the execution result of the game operation instruction and game machine information (addition / subtraction data and the like). 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 the gaming ball has run out while playing a game with the pachinko gaming machine, the payout control board automatically stops driving of the hit ball firing motor and hits the ball into the game area. The game is controlled so that the game cannot be entered. It should be noted that the hit display is only stopped, and if the variable display device is already performing variable display at that stage, the variable display is continued. If the number of balls retained in the first start winning opening 62 and the second starting winning opening 63 is stored at the stage when 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になった瞬間に打球発射停止制御を行なう必要があるためである。   Although the main management of the number of gaming balls is performed by the card unit, the pachinko gaming machine only performs the game prohibition control (the firing stop control) associated with the number of gaming balls becoming 0 in the pachinko gaming machine. It determines that the number of game balls has become 0, and performs game prohibition control (fire stop control). Thereafter, the final ball-related information is transmitted to the card unit as an operation response, and the final game ball number “0” is determined on the card unit side. The reason for such control is that it is necessary to perform hit ball firing stop control at the moment when the number of game balls becomes 0 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 operation response including the number of added balls and the number of subtracted balls when the number of game balls sent from the pachinko gaming machine = 0 becomes zero. Waiting for the reception, the card unit calculates the final number of gaming balls, and when it becomes 0, transmits a command of an operation instruction with a prohibition request to prohibit the game to the pachinko gaming machine side, If the pachinko machine controls the launching of the ball for the first time after receiving it, the pachinko ball may be fired during the transmission and reception of the response and command, and a new number of subtracted balls may be generated during that time. On the pachinko gaming machine side, a new subtraction ball count is generated even though the game ball count is already “0”, and the game ball count eventually becomes negative. Inconvenience say occurs. In order to prevent such an inconvenience, only the hit ball launch stop control when the number of game balls becomes 0 is controlled based on the number of game balls on the pachinko gaming machine side.

このように、打球発射停止制御に代表されるような遊技制御は、ぱちんこ遊技機自身が
記憶している遊技球数に基づいて行なうために、カードユニットで管理記憶している遊技球数に基づいてこのような遊技制御を行なう場合に比較して、遊技球数の変動に即した遊技制御をリアルタイムで行なうことができる。
As described above, the game control represented by the hit ball launch stop control is performed based on the number of game balls managed and stored in the card unit in order to perform based on the number of game balls stored by the pachinko gaming machine itself. As compared with the case where such a game control is performed, it is possible to perform the game control according to the change in the number of the game balls in real time.

なお、ここでは、打球発射停止制御を払出制御基板が行なう例を示しているが、メイン基板が打球発射停止制御を行なうように構成してもよい。この場合、たとえば、払出制御基板は、遊技球数0を判定した段階で遊技球数が0であることを示す信号をメイン基板へ送信する。メイン基板は、この信号を受けて、発射モータの駆動を禁止する。   Here, an example is shown in which the payout control board performs the hit ball firing stop control. However, the main board may perform the hit ball firing 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 zero. The main board receives this signal and prohibits 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 a player returns the various cards. It should be noted that the pachinko gaming machine is capable of responding to the prohibition rejection, and cannot respond to the instruction of the card unit due to some circumstances such as an abnormality. For example, in the case where the front frame 12 and the door 14 cannot be opened, The prohibition rejection response is transmitted to the card unit. The game prohibition includes not only prohibition of driving of the firing motor, but also other game items such as ball lending.

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

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

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 gaming machines, 50 gaming boards, 52 gaming areas, 62 first starting winning ports,
63 second starting winning opening, 91 first winning opening, 92 second winning opening, 102 main board,
113 first match determination means, 117 second match determination means, 126 first lottery means,
128 second lottery means, 132 effect determination means, 136 general drawing lottery means,
192 first special design, 193 second special design, 301 sub main board,
501 CPU.

Claims (1)

16ビット乱数発生手段と、
8ビット乱数発生手段と、
を備え、
前記16ビット乱数発生手段、及び前記8ビット乱数発生手段のうち、前記16ビット乱数発生手段のみが使用されるようになっており、
電源が投入され、前記16ビット乱数発生手段、及び8ビット乱数発生手段の初期設定の後に所定のセキュリティチェックを行うセキュリティモードとなり、その後ユーザモードとなって、制御開始処理と、割込み処理とが実行可能となるよう構成されており、
電源断処理では、スタックポインタのバックアップが実行可能となるよう構成されており、
制御開始処理では、電源断処理でバックアップしたスタックポインタが復帰可能となるよう構成されており、
割込み処理では、時間を計測するための所定のタイマ減算処理が実行可能であり、タイマ値がN(Nは0ではない)である状況下での所定のタイマ減算処理ではタイマ値がN−1となり、タイマ値が0である状況下での所定のタイマ減算処理ではタイマ値が0となるよう構成されており、
セキュリティモード中に電源断が発生した場合、電圧が主制御手段の動作に必要な値を下回るまでに、所定のセキュリティチェックが完了しているよう構成されていることを特徴とする遊技機。
16-bit random number generating means;
8-bit random number generating means;
With
Of the 16-bit random number generating means and the 8-bit random number generating means, only the 16-bit random number generating means is used,
When the power is turned on , the security mode for performing a predetermined security check is performed after the initial setting of the 16-bit random number generating means and the 8-bit random number generating means, and then the user mode is set, and the control start processing and the interrupt processing are executed. It is configured to be possible,
In the power-off process, the backup of the stack pointer is configured to be executable.
In the control start process, the stack pointer backed up by the power-off process is configured to be able to be restored,
In the interrupt processing, a predetermined timer subtraction processing for measuring time can be executed, and in a predetermined timer subtraction processing under a situation where the timer value is N (N is not 0), the timer value is N−1. In a predetermined timer subtraction process under a situation where the timer value is 0, the timer value is configured to be 0,
A gaming machine characterized in that a predetermined security check is completed before a voltage falls below a value required for the operation of the main control means when a power failure occurs during the security mode.
JP2019037120A 2019-03-01 2019-03-01 Gaming machine Active JP6664067B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2019081037A JP2019081037A (en) 2019-05-30
JP6664067B2 true JP6664067B2 (en) 2020-03-13

Family

ID=66669908

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP6664067B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002085656A (en) * 2000-09-14 2002-03-26 Sanyo Product Co Ltd Game machine
JP4493297B2 (en) * 2003-07-28 2010-06-30 株式会社三共 Game machine
JP2008183321A (en) * 2007-01-31 2008-08-14 Daito Giken:Kk Game machine
JP5127801B2 (en) * 2009-09-30 2013-01-23 株式会社藤商事 Game machine
JP5564891B2 (en) * 2009-10-23 2014-08-06 株式会社三洋物産 Game machine
JP5451583B2 (en) * 2010-11-24 2014-03-26 株式会社ソフイア Game machine
JP2014236961A (en) * 2013-05-10 2014-12-18 株式会社三共 Game machine

Also Published As

Publication number Publication date
JP2019081037A (en) 2019-05-30

Similar Documents

Publication Publication Date Title
JP5991760B2 (en) Pachinko machine
JP5904675B2 (en) Pachinko machine
JP2015084830A (en) Pachinko game machine
JP6399348B2 (en) Pachinko machine
JP6168089B2 (en) Pachinko machine
JP6492743B2 (en) Pachinko machine
JP6399346B2 (en) Pachinko machine
JP6399347B2 (en) Pachinko machine
JP6664067B2 (en) Gaming machine
JP6481417B2 (en) Pachinko machine
JP6481418B2 (en) Pachinko machine
JP2015051195A (en) Pachinko game machine
JP5975539B2 (en) Pachinko machine
JP6492744B2 (en) Pachinko machine
JP6481419B2 (en) Pachinko machine
JP6481420B2 (en) Pachinko machine
JP2019081038A (en) Pachinko game machine
JP6226040B2 (en) Pachinko machine
JP6069230B2 (en) Pachinko machine
JP6424495B2 (en) Pachinko gaming machine
JP2015084832A (en) Pachinko game machine
JP2016154582A (en) Pachinko game machine
JP2015051201A (en) Pachinko game machine
JP2015051196A (en) Pachinko game machine
JP2015051199A (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: 20190304

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190423

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20190514

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190918

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20190913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191125

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200129

R150 Certificate of patent or registration of utility model

Ref document number: 6664067

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