JP2015037527A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2015037527A
JP2015037527A JP2014049405A JP2014049405A JP2015037527A JP 2015037527 A JP2015037527 A JP 2015037527A JP 2014049405 A JP2014049405 A JP 2014049405A JP 2014049405 A JP2014049405 A JP 2014049405A JP 2015037527 A JP2015037527 A JP 2015037527A
Authority
JP
Japan
Prior art keywords
random number
bit
circuit
latch
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014049405A
Other languages
Japanese (ja)
Other versions
JP2015037527A5 (en
JP6355943B2 (en
Inventor
矢次 譲
Yuzuru Yatsugi
譲 矢次
保 内山
Tamotsu Uchiyama
内山  保
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.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2014049405A priority Critical patent/JP6355943B2/en
Publication of JP2015037527A publication Critical patent/JP2015037527A/en
Publication of JP2015037527A5 publication Critical patent/JP2015037527A5/ja
Application granted granted Critical
Publication of JP6355943B2 publication Critical patent/JP6355943B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a game machine which can quickly restore from an error reset and maintain reliability of a random number circuit.SOLUTION: A game machine has: a random number update circuit which updates a random number; error reset signal generation means which detects an access is made to a ROM comment area 610b where information on a main control ROM manufacturer in a memory space address map is stored to generate an error reset signal, in the memory space address map where at least predetermined data is stored in a predetermined area; and system reset signal generation means which generates a system reset signal when power is supplied. The random number update circuit, when reset by the system reset signal generated by the system reset signal generation means, determines a random value as an initial value of the random number, and determines a value of a hardware random value before the reset as an initial value, when reset by the error reset signal generated by the error reset signal generation means.

Description

本発明は、パチンコ機、アレンジボール機、雀球遊技機、スロットなどの遊技機に関し、より詳しくは、異常リセットからの復帰を迅速に行うことができると共に、乱数回路の信頼性を保つことができる遊技機に関する。   The present invention relates to a gaming machine such as a pachinko machine, an arrangement ball machine, a sparrow ball game machine, and a slot. It relates to a possible gaming machine.

従来のパチンコ機等の遊技機として、例えば特許文献1に記載のような遊技機が知られている。この遊技機は、システムリセット毎にランダムな値を生成して、そのランダムな値を乱数カウンタの初期値として設定するというものである。   As a conventional gaming machine such as a pachinko machine, for example, a gaming machine described in Patent Document 1 is known. This gaming machine generates a random value at each system reset and sets the random value as an initial value of a random number counter.

特開2013−56226号公報JP 2013-56226 A

しかしながら、上記のような遊技機は、システムリセットに限らず、メモリ空間において、ROMのメーカ情報等が記憶されている領域にアクセスされた際発生する異常リセットにおいても、乱数回路がリセットされてしまい、それがために、当該乱数回路の設定が再度され、異常リセットからの復帰に少なからず時間がかかってしまうという問題があった。   However, in the gaming machine as described above, the random number circuit is reset not only in the system reset but also in an abnormal reset that occurs when an area in the memory space where ROM manufacturer information is stored is accessed. Therefore, there has been a problem that the setting of the random number circuit is performed again, and it takes time to recover from the abnormal reset.

そこで本発明は、上記問題に鑑み、異常リセットからの復帰を迅速に行うことができると共に、乱数回路の信頼性を保つことができる遊技機を提供することを目的としている。   In view of the above problems, an object of the present invention is to provide a gaming machine capable of quickly returning from an abnormal reset and maintaining the reliability of a random number circuit.

上記本発明の目的は、以下の手段によって達成される。なお、括弧内は、後述する実施形態の参照符号を付したものであるが、本発明はこれに限定されるものではない。   The object of the present invention is achieved by the following means. In addition, although the code | symbol in a parenthesis attaches the referential mark of embodiment mentioned later, this invention is not limited to this.

請求項1の発明に係る遊技機によれば、所定の信号(クロック信号CLK)に基づいて、乱数を更新する乱数更新手段(16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B))と、
少なくとも所定のデータが所定領域に記憶されているメモリ空間(図12に示すメモリ空間アドレスマップ)において、そのメモリ空間のROM(主制御ROM610)のメーカ情報等が記憶されている領域(ROMコメント領域610b)にアクセスがされたことを検出して異常リセット信号を発生させる異常リセット信号発生手段(リセットコントローラ640)と、
電源投入時にシステムリセット信号を発生させるシステムリセット信号発生手段(システムリセット生成部1320)と、
所定条件の成立に基づき、遊技に関する抽選を行う抽選手段(ステップS408)と、
前記所定条件の成立時に、前記乱数更新手段(16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B))から前記抽選に用いる乱数を取得する乱数取得手段(ステップS303)とを有し、
前記乱数更新手段(16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B))は、前記システムリセット信号発生手段(システムリセット生成部1320)にて発生させたシステムリセット信号にてリセットされると、ランダムな値を乱数の初期値とする一方、前記異常リセット信号発生手段(リセットコントローラ640)にて発生させた異常リセット信号にてリセットされると、所定条件により設定された固定値を初期値とし、
前記抽選手段(ステップS408)は、前記乱数の初期値が前記システムリセット信号に基づいて設定されたものか、あるいは、前記異常リセット信号に基づいて設定されたものかを確認することなく、前記乱数取得手段(ステップS303)にて取得した乱数と所定の判定値に基づき抽選を行ってなることを特徴としている。
According to the gaming machine of the first aspect of the present invention, random number updating means (16-bit random number generation circuit 6300A (B), 8-bit random number generation circuit 6301A ( B), 16-bit custom random number generation circuit 6302A (B), 8-bit custom random number generation circuit 6303A (B)),
In a memory space (memory space address map shown in FIG. 12) in which at least predetermined data is stored in a predetermined area, an area (ROM comment area) in which maker information of a ROM (main control ROM 610) in the memory space is stored 610b) an abnormal reset signal generating means (reset controller 640) for detecting an access and generating an abnormal reset signal;
System reset signal generating means (system reset generating unit 1320) for generating a system reset signal when the power is turned on;
Lottery means (step S408) for performing a lottery concerning a game based on establishment of a predetermined condition;
When the predetermined condition is satisfied, the random number update means (16-bit random number generation circuit 6300A (B), 8-bit random number generation circuit 6301A (B), 16-bit custom random number generation circuit 6302A (B), 8-bit custom random number generation circuit 6303A (B)) random number acquisition means (step S303) for acquiring random numbers used in the lottery,
The random number update means (16-bit random number generation circuit 6300A (B), 8-bit random number generation circuit 6301A (B), 16-bit custom random number generation circuit 6302A (B), 8-bit custom random number generation circuit 6303A (B)) When reset by the system reset signal generated by the system reset signal generating means (system reset generating unit 1320), the random reset value is set as the initial value of the random number, while the abnormal reset signal generating means (reset controller 640). When reset by the abnormal reset signal generated in step 1, the fixed value set according to the predetermined condition is used as the initial value.
The lottery means (step S408) does not check whether the initial value of the random number is set based on the system reset signal or is set based on the abnormal reset signal. A lottery is performed based on the random number acquired by the acquisition means (step S303) and a predetermined determination value.

一方、請求項2の発明によれば、上記請求項1に記載の遊技機において、前記抽選手段(ステップS408)による抽選処理が行われる前に、前記抽選手段(ステップS408)による抽選結果がどのような結果となるのかを事前に先読み判定する先読み抽選手段(ステップS307)をさらに有し、
前記先読み抽選手段(ステップS307)は、前記乱数取得手段(ステップS303)にて取得した乱数を用いて先読み判定を行い、
前記抽選手段(ステップS408)は、前記先読み抽選手段(ステップS307)にて用いた乱数を用いて抽選を行ってなることを特徴としている。
On the other hand, according to the invention of claim 2, in the gaming machine according to claim 1, the lottery result by the lottery means (step S408) is determined before the lottery process by the lottery means (step S408) is performed. Pre-fetch lottery means (step S307) that pre-reads whether such a result is pre-read,
The prefetch lottery means (step S307) performs prefetch determination using the random number acquired by the random number acquisition means (step S303),
The lottery means (step S408) is characterized by performing lottery using the random numbers used in the prefetch lottery means (step S307).

本発明によれば、異常リセットからの復帰を迅速に行うことができると共に、乱数回路の信頼性を保つことができる。   According to the present invention, it is possible to quickly recover from an abnormal reset and to maintain the reliability of the random number circuit.

本発明の一実施形態に係る遊技機の外観を示す斜視図である。It is a perspective view which shows the external appearance of the game machine which concerns on one Embodiment of this invention. 同実施形態に係る遊技機の遊技盤の正面図である。It is a front view of the game board of the gaming machine according to the embodiment. 同実施形態に係る遊技機の制御装置を示すブロック図である。It is a block diagram which shows the control apparatus of the game machine which concerns on the same embodiment. 図3に示す乱数回路を示すブロック図である。FIG. 4 is a block diagram showing a random number circuit shown in FIG. 3. (a)は図4に示す16/8ビット乱数生成回路のブロック図、(b)は図4に示す16/8ビットカスタム乱数生成回路のブロック図である。(A) is a block diagram of the 16 / 8-bit random number generation circuit shown in FIG. 4, and (b) is a block diagram of the 16 / 8-bit custom random number generation circuit shown in FIG. (a)は同実施形態に係る16ビット乱数値レジスタの説明図、(b)は同実施形態に係る8ビット乱数値レジスタの説明図、(c)は同実施形態に係る16ビットカスタム乱数値レジスタの説明図、(d)は同実施形態に係る8ビットカスタム乱数値レジスタの説明図、(e)は同実施形態に係る初期値設定レジスタの説明図である。(A) is an explanatory diagram of a 16-bit random value register according to the embodiment, (b) is an explanatory diagram of an 8-bit random value register according to the embodiment, and (c) is a 16-bit custom random value according to the embodiment. FIG. 4D is an explanatory diagram of a register, FIG. 4D is an explanatory diagram of an 8-bit custom random value register according to the embodiment, and FIG. 5E is an explanatory diagram of an initial value setting register according to the embodiment. (a)は同実施形態に係る16ビットカスタム乱数生成回路最大値設定レジスタの説明図、(b)は同実施形態に係る8ビットカスタム乱数生成回路最大値設定レジスタの説明図である。(A) is explanatory drawing of the 16-bit custom random number generation circuit maximum value setting register which concerns on the same embodiment, (b) is explanatory drawing of 8-bit custom random number generation circuit maximum value setting register which concerns on the same embodiment. (a)は同実施形態に係る16ビット乱数ラッチレジスタの説明図、(b)は同実施形態に係る8ビット乱数ラッチレジスタの説明図、(c)は同実施形態に係る16ビットカスタム乱数ラッチレジスタの説明図、(d)は同実施形態に係る8ビットカスタム乱数ラッチレジスタの説明図である。(A) is an explanatory diagram of a 16-bit random number latch register according to the embodiment, (b) is an explanatory diagram of an 8-bit random number latch register according to the embodiment, and (c) is a 16-bit custom random number latch according to the embodiment. FIG. 4D is an explanatory diagram of an 8-bit custom random number latch register according to the embodiment. 同実施形態に係る乱数ラッチステータスレジスタの説明図である。3 is an explanatory diagram of a random number latch status register according to the embodiment. FIG. 同実施形態に係る乱数エラーステータスレジスタの説明図である。3 is an explanatory diagram of a random number error status register according to the embodiment. FIG. (a)は従来の方法で乱数回路の異常を報知する場合の画面例を示し、(b)は本実施形態に係る方法で乱数回路の異常を報知する場合の画面例を示す図である。(A) shows an example of a screen when notifying an abnormality of a random number circuit by a conventional method, and (b) is a diagram showing an example of a screen when notifying an abnormality of a random number circuit by the method according to the present embodiment. 図3に示す主制御基板が備えるメモリ空間アドレスマップを示す図である。It is a figure which shows the memory space address map with which the main control board shown in FIG. 3 is provided. (a)は同実施形態に係るプログラムエンドアドレスの説明図であり、(b)は(a)に示すプログラムエンドアドレスを使用した際、主制御ROM内のプログラム領域がどのような領域に変化するかを説明する説明図である。(A) is an explanatory diagram of a program end address according to the embodiment, and (b) shows what area the program area in the main control ROM changes when the program end address shown in (a) is used. It is explanatory drawing explaining these. 同実施形態に係る主制御のメイン処理を説明するフローチャート図である。It is a flowchart figure explaining the main process of the main control which concerns on the same embodiment. 同実施形態に係る主制御のタイマ割込み処理を説明するフローチャート図である。It is a flowchart explaining the timer interruption process of the main control which concerns on the same embodiment. 図15に示す主制御のタイマ割込み処理の普通図柄処理を説明するフローチャート図である。FIG. 16 is a flowchart for explaining a normal symbol process of the timer interrupt process of the main control shown in FIG. 15. 図15に示す主制御のタイマ割込み処理の特別図柄処理を説明するフローチャート図である。It is a flowchart figure explaining the special symbol process of the timer interruption process of the main control shown in FIG. 図17に示す始動口チェック処理を説明するフローチャート図である。It is a flowchart figure explaining the starting port check process shown in FIG. 図17に示す特別図柄変動開始処理を説明するフローチャート図である。It is a flowchart figure explaining the special symbol change start process shown in FIG. 図17に示す特別図柄変動中処理を説明するフローチャート図である。It is a flowchart figure explaining the special symbol fluctuation process shown in FIG. 図17に示す特別図柄確認時間中処理を説明するフローチャート図である。It is a flowchart figure explaining the special symbol confirmation time process shown in FIG. (a)は普通図柄の当否抽選を実行する際に使用される普通図柄当たり判定テーブルを示し、(b)は特別図柄の当否抽選を実行する際に使用される特別図柄大当たり判定テーブルを示し、(c)は特別図柄の当否抽選を実行する際に使用される特別図柄小当たり判定テーブルを示す図である。(A) shows a normal symbol per hit determination table used when executing a normal symbol winning lottery, (b) shows a special symbol jackpot determination table used when executing a special symbol hit lottery, (C) is a figure which shows the special symbol small hit determination table used when performing the lottery determination of a special symbol.

以下、本発明に係る遊技機の一実施形態を、パチンコ遊技機を例にして、図1〜図22を参照して具体的に説明する。なお、以下の説明において、上下左右の方向を示す場合は、図示正面から見た場合の上下左右をいうものとする。   Hereinafter, an embodiment of a gaming machine according to the present invention will be specifically described with reference to FIGS. 1 to 22 by taking a pachinko gaming machine as an example. In addition, in the following description, when showing the direction of up, down, left and right, it means up, down, left and right when viewed from the front of the figure.

<遊技機:外観構成>
まず、図1及び図2を参照して、本実施形態に係るパチンコ遊技機の外観構成を説明する。
<Game machine: External configuration>
First, with reference to FIG.1 and FIG.2, the external appearance structure of the pachinko game machine which concerns on this embodiment is demonstrated.

図1に示すように、パチンコ遊技機1は、木製の外枠2の前面に矩形状の前面枠3を開閉可能に取り付け、その前面枠3の裏面に取り付けられている遊技盤収納フレーム(図示せず)内に遊技盤4が装着された構成からなる。遊技盤4は、図2に示す遊技領域40を前面に臨ませた状態で装着され、図1に示すようにこの遊技領域40の前側に透明ガラスを支持したガラス扉枠5が設けられている。なお、上記遊技領域40は、遊技盤4の面上に配設された球誘導レール6(図2参照)で囲まれた領域からなるものである。   As shown in FIG. 1, a pachinko gaming machine 1 has a rectangular front frame 3 attached to the front surface of a wooden outer frame 2 so that it can be opened and closed, and a game board storage frame (see FIG. 1) attached to the back surface of the front frame 3. (Not shown) in which the game board 4 is mounted. The game board 4 is mounted with the game area 40 shown in FIG. 2 facing the front, and a glass door frame 5 supporting transparent glass is provided on the front side of the game area 40 as shown in FIG. . The game area 40 is an area surrounded by a ball guide rail 6 (see FIG. 2) disposed on the surface of the game board 4.

一方、パチンコ遊技機1は、図1に示すように、ガラス扉枠5の下側に前面操作パネル7が配設され、その前面操作パネル7には上受け皿ユニット8が設けられ、この上受け皿ユニット8には、排出された遊技球を貯留する上受け皿9が一体形成されている。また、この前面操作パネル7には、球貸しボタン11及びプリペイドカード排出ボタン12(カード返却ボタン12)が設けられている。そして、上受け皿9の上皿表面部分には、内蔵ランプ(図示せず)点灯時に押下することにより演出効果を変化させることができる押しボタン式の演出ボタン装置13が設けられている。また、この上受け皿9には、当該上受け皿9に貯留された遊技球を下方に抜くための球抜きボタン14が設けられている。   On the other hand, as shown in FIG. 1, the pachinko gaming machine 1 is provided with a front operation panel 7 below the glass door frame 5, and the front operation panel 7 is provided with an upper tray unit 8. The unit 8 is integrally formed with an upper tray 9 for storing discharged game balls. Further, the front operation panel 7 is provided with a ball lending button 11 and a prepaid card discharge button 12 (card return button 12). A push button type effect button device 13 that can change the effect by pressing when a built-in lamp (not shown) is lit is provided on the upper plate surface portion of the upper tray 9. Further, the upper tray 9 is provided with a ball removal button 14 for pulling downward the game balls stored in the upper tray 9.

また一方、図1に示すように、前面操作パネル7の右端部側には、発射ユニットを作動させるための発射ハンドル15が設けられ、その発射ハンドル15の左側近傍及び前面枠3の上部両側面側には、BGM(Background music)あるいは効果音を発するスピーカ16が設けられている。そして、上記前面枠3の周枠には、LEDランプ等の装飾ランプが配設されている。   On the other hand, as shown in FIG. 1, a launch handle 15 for operating the launch unit is provided on the right end side of the front operation panel 7, near the left side of the launch handle 15 and both upper side surfaces of the front frame 3. On the side, a BGM (Background music) or a speaker 16 that produces sound effects is provided. A decorative lamp such as an LED lamp is disposed on the peripheral frame of the front frame 3.

他方、上記遊技盤4の遊技領域40には、図2に示すように、略中央部にLCD(Liquid Crystal Display)等からなる液晶表示装置41が配設されている。この液晶表示装置41は、表示エリアを左、中、右の3つのエリアに分割し、独立して数字やキャラクタあるいは図柄(装飾図柄)等の特別図柄の変動表示が可能なものである。そしてさらに、液晶表示装置41の真下には、特別図柄1始動口42が配設され、その内部には入賞球を検出する特別図柄1始動口スイッチ42a(図3参照)が設けられている。また、液晶表示装置41の右下部側には、特別図柄2始動口43が配設され、その内部には入賞球を検出する特別図柄2始動口スイッチ43a(図3参照)が設けられている。   On the other hand, in the game area 40 of the game board 4, as shown in FIG. 2, a liquid crystal display device 41 made up of an LCD (Liquid Crystal Display) or the like is disposed at a substantially central portion. The liquid crystal display device 41 divides the display area into three areas, left, middle, and right, and can independently display a variable display of special symbols such as numbers, characters, or symbols (decorative symbols). Further, a special symbol 1 starting port 42 is disposed directly below the liquid crystal display device 41, and a special symbol 1 starting port switch 42a (see FIG. 3) for detecting a winning ball is provided therein. Further, a special symbol 2 starting port 43 is disposed on the lower right side of the liquid crystal display device 41, and a special symbol 2 starting port switch 43a (see FIG. 3) for detecting a winning ball is provided therein. .

一方、特別図柄1始動口42の右側には、大入賞口44が配設され、その内部には入賞球を検出する大入賞口スイッチ44a(図3参照)が設けられている。そして、上記液晶表示装置41の右上部にはゲートからなる普通図柄始動口45が配設され、その内部には、遊技球の通過を検出する普通図柄始動口スイッチ45a(図3参照)が設けられている。また、上記大入賞口44の右側及び上記特別図柄1始動口42の左側には、一般入賞口46が夫々配設され(図示では、右側に1つ、左側に3つ)、その内部には、夫々、遊技球の通過を検出する一般入賞口スイッチ46a(図3参照)が設けられている。   On the other hand, on the right side of the special symbol 1 starting opening 42, a big winning opening 44 is disposed, and a large winning opening switch 44a (see FIG. 3) for detecting a winning ball is provided therein. A normal symbol starting port 45 made of a gate is disposed in the upper right part of the liquid crystal display device 41, and a normal symbol starting port switch 45a (see FIG. 3) for detecting the passage of a game ball is provided therein. It has been. Further, on the right side of the big winning opening 44 and the left side of the special symbol 1 starting opening 42, general winning openings 46 are respectively arranged (in the drawing, one on the right side and three on the left side), A general winning opening switch 46a (see FIG. 3) for detecting the passage of the game ball is provided.

また一方、上記遊技盤4の遊技領域40の右下周縁部には、7セグメントが3個並べて構成されており、そのうち2個の7セグメントが特別図柄表示装置47であり、他の7セグメントは特別図柄1や特別図柄2等の保留球数等を表示するものである。この特別図柄表示装置47は、図2に示すように、特別図柄1表示装置47aと特別図柄2表示装置47bとで構成されており、その特別図柄1表示装置47aの左側には、2個のLEDからなる普通図柄表示装置48が設けられている。なお、上記遊技盤4の遊技領域40には、図示はしないが複数の遊技釘が配設され、遊技球の落下方向変換部材としての風車49が配設されている。   On the other hand, on the lower right edge of the game area 40 of the game board 4, three 7 segments are arranged side by side, two of which are the special symbol display device 47, and the other 7 segments are The number of reserved balls such as special symbol 1 or special symbol 2 is displayed. As shown in FIG. 2, the special symbol display device 47 is composed of a special symbol 1 display device 47a and a special symbol 2 display device 47b. On the left side of the special symbol 1 display device 47a, there are two pieces. A normal symbol display device 48 made of LEDs is provided. A plurality of game nails (not shown) are arranged in the game area 40 of the game board 4, and a windmill 49 as a game ball drop direction changing member is arranged.

<遊技機:制御装置>
次に、上記のような外観構成からなるパチンコ遊技機1内に設けられる遊技の進行状況に応じて電子制御を行う制御装置を、図3を用いて説明する。この制御装置は、図3に示すように、遊技動作全般の制御を司る主制御基板60と、その主制御基板60からの制御コマンドに基づいて遊技球を払出す払出制御基板70と、画像と光と音についての制御を行うサブ制御基板80とで主に構成されている。なお、サブ制御基板80は、図3に示すように、演出制御基板90と、装飾ランプ基板100と、液晶制御基板120とで構成されている。
<Game machine: Control device>
Next, a control device that performs electronic control according to the progress of the game provided in the pachinko gaming machine 1 having the above-described external configuration will be described with reference to FIG. As shown in FIG. 3, the control device includes a main control board 60 that controls the overall game operation, a payout control board 70 that pays out a game ball based on a control command from the main control board 60, an image, It is mainly composed of a sub-control board 80 that controls light and sound. As shown in FIG. 3, the sub control board 80 includes an effect control board 90, a decorative lamp board 100, and a liquid crystal control board 120.

主制御基板60は、主制御CPU600と、一連の遊技制御手順を記述した遊技プログラム等を格納した主制御ROM610と、作業領域やバッファメモリ等として機能する主制御RAM620と、ハードウェア乱数を更新する乱数回路630と、システムリセット信号や、ウォッチドックタイマ(図示せず)リセット信号、イリーガルアクセスリセット信号等のリセット信号を制御するリセットコントローラ640とで構成されたワンチップマイクロコンピュータを搭載している。なお、乱数回路630の詳細は後述することとする。   The main control board 60 updates the main control CPU 600, a main control ROM 610 storing a game program describing a series of game control procedures, a main control RAM 620 functioning as a work area, a buffer memory, and the like, and hardware random numbers. A one-chip microcomputer comprising a random number circuit 630 and a reset controller 640 for controlling reset signals such as a system reset signal, a watchdog timer (not shown) reset signal, an illegal access reset signal, and the like is mounted. Details of the random number circuit 630 will be described later.

そして、このように構成される主制御基板60には、払出モータMを制御して遊技球を払出す払出制御基板70が接続されている。そしてさらには、特別図柄1始動口42への入賞を検出する特別図柄1始動口スイッチ42aと、特別図柄2始動口43への入賞を検出する特別図柄2始動口スイッチ43aと、普通図柄始動口45の通過を検出する普通図柄始動口スイッチ45aと、一般入賞口46への入賞を検出する一般入賞口スイッチ46aと、大入賞口44への入賞を検出する大入賞口スイッチ44aとが接続されている。また、主制御基板60には、特別図柄1表示装置47aと、特別図柄2表示装置47bと、普通図柄表示装置48とが接続されている。   The main control board 60 configured in this manner is connected to a payout control board 70 that controls the payout motor M to pay out game balls. Further, a special symbol 1 starting port switch 42a for detecting a winning at the special symbol 1 starting port 42, a special symbol 2 starting port switch 43a for detecting a winning at the special symbol 2 starting port 43, and a normal symbol starting port The normal symbol start opening switch 45a for detecting the passage of 45, the general winning opening switch 46a for detecting the winning to the general winning opening 46, and the big winning opening switch 44a for detecting the winning to the big winning opening 44 are connected. ing. In addition, a special symbol 1 display device 47a, a special symbol 2 display device 47b, and a normal symbol display device 48 are connected to the main control board 60.

このように構成される主制御基板60は、特別図柄1始動口スイッチ42a又は特別図柄2始動口スイッチ43aあるいは普通図柄始動口スイッチ45aからの信号を主制御CPU600にて受信すると、遊技者に有利な特別遊技状態を発生させるか(いわゆる「当たり」)、あるいは、遊技者に有利な特別遊技状態を発生させないか(いわゆる「ハズレ」)の抽選を行い、その抽選結果である当否情報に応じて特別図柄の変動パターンや停止図柄あるいは普通図柄の表示内容を決定し、その決定した情報を特別図柄1表示装置47a又は特別図柄2表示装置47bあるいは普通図柄表示装置48に送信する。これにより、特別図柄1表示装置47a又は特別図柄2表示装置47bあるいは普通図柄表示装置48に抽選結果が表示されることとなる。そしてさらに、主制御基板60、すなわち、主制御CPU600は、その決定した情報を含む演出制御コマンドを生成し、演出制御基板90に送信する。なお、主制御基板60、すなわち、主制御CPU600が、一般入賞口スイッチ46a、大入賞口スイッチ44aからの信号を受信した場合は、遊技者に幾らの遊技球を払い出すかを決定し、その決定した情報を含む払出制御コマンドを払出制御基板70に送信することで、払出制御基板70が遊技者に遊技球を払出すこととなる。なお、この抽選処理についての詳細は後述することとする。   The main control board 60 configured as described above is advantageous to the player when the main control CPU 600 receives a signal from the special symbol 1 start port switch 42a, the special symbol 2 start port switch 43a, or the normal symbol start port switch 45a. A special game state (so-called “winning”) or a special game state advantageous to the player (so-called “losing”) is drawn, and according to the success / failure information that is the result of the lottery The special symbol variation pattern, the stop symbol, or the display content of the normal symbol is determined, and the determined information is transmitted to the special symbol 1 display device 47a, the special symbol 2 display device 47b, or the normal symbol display device 48. As a result, the lottery result is displayed on the special symbol 1 display device 47a, the special symbol 2 display device 47b, or the normal symbol display device 48. Further, the main control board 60, that is, the main control CPU 600 generates an effect control command including the determined information and transmits it to the effect control board 90. When the main control board 60, that is, the main control CPU 600 receives a signal from the general prize opening switch 46a or the big prize opening switch 44a, it determines how many game balls are to be paid out to the player. By transmitting a payout control command including the determined information to the payout control board 70, the payout control board 70 pays out a game ball to the player. Details of the lottery process will be described later.

払出制御基板70は、上記主制御基板60(主制御CPU600)からの払出制御コマンドを受信し、その受信した払出制御コマンドに基づいて払出モータ信号を生成する。そして、その生成した払出モータ信号にて、払出モータMを制御し、遊技者に遊技球を払出す。そしてさらに、払出制御基板70は、遊技球の払出動作を示す賞球計数信号や払出動作の異常に係るステイタス信号を送信し、遊技者の操作に応答して遊技球を発射させる発射制御基板71の動作を開始又は停止させる発射制御信号を送信する処理を行う。   The payout control board 70 receives a payout control command from the main control board 60 (main control CPU 600), and generates a payout motor signal based on the received payout control command. Then, with the generated payout motor signal, the payout motor M is controlled to pay out the game ball to the player. Further, the payout control board 70 transmits a prize ball count signal indicating the payout operation of the game ball and a status signal related to the abnormality of the payout operation, and fires the game ball in response to the operation of the player. The process which transmits the firing control signal which starts or stops operation | movement of is performed.

演出制御基板90は、上記主制御基板60(主制御CPU600)からの演出制御コマンドを受けて各種演出を実行制御する演出制御CPU900と、演出制御手順を記述した制御プログラム等が格納されているフラッシュメモリからなる演出制御ROM910と、作業領域やバッファメモリ等として機能する演出制御RAM920とで構成されている。そしてさらに、演出制御基板90は、所望のBGMや効果音を生成する音LSI930と、BGMや効果音等の音データ等が予め格納されている音ROM940とが搭載されている。   The effect control board 90 receives an effect control command from the main control board 60 (main control CPU 600) and executes an effect control CPU 900 for executing and controlling various effects, a flash in which a control program describing the effect control procedure, and the like are stored. An effect control ROM 910 including a memory and an effect control RAM 920 that functions as a work area, a buffer memory, and the like. Further, the effect control board 90 is mounted with a sound LSI 930 that generates desired BGM and sound effects, and a sound ROM 940 in which sound data such as BGM and sound effects are stored in advance.

このように構成される演出制御基板90には、ランプ演出効果を現出するLEDランプ等の装飾ランプが搭載されている装飾ランプ基板100が接続され、さらに、内蔵されているランプ(図示せず)点灯時に遊技者が押下することにより演出効果を変化させることができる押しボタン式の演出ボタン装置13が接続され、BGMや効果音等を発するスピーカ16が接続されている。またさらに、演出制御基板90には、液晶表示装置41を制御する液晶制御基板120が接続されている。   The effect control board 90 configured as described above is connected to a decorative lamp board 100 on which a decorative lamp such as an LED lamp that exhibits a lamp effect is mounted, and further includes a built-in lamp (not shown). ) A push button type effect button device 13 that can change the effect by pressing the player when it is lit is connected, and a speaker 16 that emits BGM, sound effects, etc. is connected. Furthermore, a liquid crystal control board 120 that controls the liquid crystal display device 41 is connected to the effect control board 90.

かくして、このように構成される演出制御基板90は、主制御基板60(主制御CPU600)より送信される大当たり抽選結果(大当たりかハズレの別)に基づく特別図柄変動パターン、現在の遊技状態、始動保留球数、抽選結果に基づき停止させる装飾図柄等に必要となる基本情報を含んだ演出制御コマンドを演出制御CPU900にて受信する。そして、演出制御CPU900は、受信した演出制御コマンドに対応した演出パターンを、演出制御ROM910内に予め格納しておいた多数の演出パターンの中から抽選により決定し、その決定した演出パターンを実行指示する制御信号を演出制御RAM920内に一時的に格納する。   Thus, the effect control board 90 configured as described above is a special symbol variation pattern based on the jackpot lottery result (whether the jackpot or lose) transmitted from the main control board 60 (main control CPU 600), the current game state, the start The effect control CPU 900 receives an effect control command including basic information necessary for the decorative symbols to be stopped based on the number of reserved balls and the lottery result. Then, the effect control CPU 900 determines an effect pattern corresponding to the received effect control command by lottery from among a number of effect patterns stored in advance in the effect control ROM 910, and instructs the execution of the determined effect pattern. The control signal to be stored is temporarily stored in the effect control RAM 920.

そして、演出制御CPU900は、演出制御RAM920に格納しておいた演出パターンを実行指示する制御信号のうち、音に関する制御信号を音LSI930に送信する。これを受けて音LSI930は、当該制御信号に対応する音データを音ROM940より読み出し、スピーカ16に出力する。これにより、スピーカ16より上記決定された演出パターンに対応したBGMや効果音が発せられることとなる。   Then, the effect control CPU 900 transmits a control signal related to sound to the sound LSI 930 among the control signals for instructing to execute the effect pattern stored in the effect control RAM 920. In response to this, the sound LSI 930 reads out sound data corresponding to the control signal from the sound ROM 940 and outputs it to the speaker 16. Thereby, BGM and sound effects corresponding to the determined effect pattern are emitted from the speaker 16.

また、演出制御CPU900は、演出制御RAM920に格納しておいた演出パターンを実行指示する制御信号のうち、光に関する制御信号を装飾ランプ基板100に送信する。これにより、装飾ランプ基板100が、ランプ演出効果を現出するLEDランプ等の装飾ランプを点灯又は消灯する制御を行うため、上記決定された演出パターンに対応したランプ演出が実行されることとなる。   In addition, the effect control CPU 900 transmits a control signal related to light to the decorative lamp substrate 100 among control signals for instructing execution of the effect pattern stored in the effect control RAM 920. As a result, the decorative lamp substrate 100 performs control to turn on or off a decorative lamp such as an LED lamp that exhibits a lamp effect, and thus the lamp effect corresponding to the determined effect pattern is executed. .

さらに、演出制御CPU900は、演出制御RAM920に格納しておいた演出パターンを実行指示する制御信号のうち、画像に関する液晶制御コマンドを液晶制御基板120に送信する。これにより、液晶制御基板120が、当該液晶制御コマンドに基づく画像を表示させるように液晶表示装置41を制御することにより、上記決定された演出パターンに対応した画像が液晶表示装置41に表示されることとなる。なお、液晶制御基板120には演出内容に沿った画像を表示するための種々の画像データが記憶されており、さらに、演出出力全般の制御を担うVDP(Video Display Processor)が搭載されている。   Further, the effect control CPU 900 transmits a liquid crystal control command related to an image to the liquid crystal control board 120 among the control signals for instructing to execute the effect pattern stored in the effect control RAM 920. As a result, the liquid crystal control board 120 controls the liquid crystal display device 41 to display an image based on the liquid crystal control command, whereby an image corresponding to the determined effect pattern is displayed on the liquid crystal display device 41. It will be. The liquid crystal control board 120 stores various image data for displaying an image in accordance with the contents of the effect, and further includes a VDP (Video Display Processor) that controls the overall effect output.

ところで、上記説明した各基板への電源供給は、図3に示す電源基板130より供給されている。この電源基板130は、電圧生成部1300と、電圧監視部1310と、システムリセット生成部1320とを含んで構成されている。この電圧生成部1300は、遊技店に設置された図示しない変圧トランスから供給される外部電源である交流電圧AC24Vを受けて複数種類の直流電圧を生成するもので、その生成された直流電圧は、図示はしないが各基板に供給されている。   By the way, the power supply to each board | substrate demonstrated above is supplied from the power supply board 130 shown in FIG. The power supply board 130 includes a voltage generation unit 1300, a voltage monitoring unit 1310, and a system reset generation unit 1320. The voltage generator 1300 generates an AC voltage AC24V, which is an external power source supplied from a transformer (not shown) installed in the amusement store, and generates a plurality of types of DC voltages. The generated DC voltages are: Although not shown, it is supplied to each substrate.

また、電圧監視部1310は、上記交流電圧AC24Vの電圧を監視するもので、この電圧が遮断されたり、停電が発生したりして電圧異常を検出した場合に電圧異常信号ALARMを主制御基板60に出力するものである。なお、電圧異常信号ALARMは、電圧異常時には「L」レベルの信号を出力し、正常時には「H」レベルの信号を出力する。   The voltage monitoring unit 1310 monitors the voltage of the AC voltage AC24V. When this voltage is cut off or a power failure occurs and a voltage abnormality is detected, the voltage abnormality signal ALARM is sent to the main control board 60. Is output. The voltage abnormality signal ALARM outputs an “L” level signal when the voltage is abnormal, and outputs an “H” level signal when it is normal.

また、一方、システムリセット生成部1320は、電源投入時のシステムリセット信号を生成するもので、その生成されたシステムリセット信号は、図示はしないが各基板に出力されている。   On the other hand, the system reset generation unit 1320 generates a system reset signal when power is turned on, and the generated system reset signal is output to each board (not shown).

ここで、上記説明した制御装置のうち、本発明の特徴部分は、主制御基板60に関する部分であるため、この点につき、図4〜図13を参照して具体的に説明する。まず、主制御基板60が備える乱数回路630について詳述する。   Here, in the control device described above, the characteristic part of the present invention is a part related to the main control board 60, and this point will be specifically described with reference to FIGS. First, the random number circuit 630 included in the main control board 60 will be described in detail.

<乱数回路>
乱数回路630は、図4に示すように、16ビット乱数生成回路6300A(B)と、8ビット乱数生成回路6301A(B)と、16ビットカスタム乱数生成回路6302A(B)と、8ビットカスタム乱数生成回路6303A(B)とを有している。
<Random number circuit>
As shown in FIG. 4, the random number circuit 630 includes a 16-bit random number generation circuit 6300A (B), an 8-bit random number generation circuit 6301A (B), a 16-bit custom random number generation circuit 6302A (B), and an 8-bit custom random number. A generation circuit 6303A (B).

<乱数回路:16ビット乱数生成回路>
この16ビット乱数生成回路6300A(B)は、主に、所定のクロック信号CLKに基づいて、0〜65535(0000h〜FFFFh)の数値範囲のハードウェア乱数をそれぞれ更新するものである。そして、このように更新されたハードウェア乱数は、内部機能レジスタ6304内にある16ビット乱数値レジスタRNDF16RG0_A(B)に格納される。
<Random number circuit: 16-bit random number generation circuit>
The 16-bit random number generation circuit 6300A (B) mainly updates hardware random numbers in a numerical range of 0 to 65535 (0000h to FFFFh) based on a predetermined clock signal CLK. The updated hardware random number is stored in the 16-bit random number value register RNDF16RG0_A (B) in the internal function register 6304.

具体的には、図6(a)に示すように、16ビット乱数生成回路6300Aにて更新されたハードウェア乱数は、16ビット乱数値レジスタRNDF16RG0_Aに格納され、16ビット乱数生成回路6300Bにて更新されたハードウェア乱数は、16ビット乱数値レジスタRNDF16RG0_Bに格納される。なお、これら16ビット乱数値レジスタRNDF16RG0_A(B)は、読み出しのみ可能なレジスタである。   Specifically, as shown in FIG. 6A, the hardware random number updated by the 16-bit random number generation circuit 6300A is stored in the 16-bit random value register RNDF16RG0_A and updated by the 16-bit random number generation circuit 6300B. The hardware random number thus stored is stored in the 16-bit random value register RNDF16RG0_B. These 16-bit random value registers RNDF16RG0_A (B) are registers that can only be read.

一方、上記16ビット乱数生成回路6300A(B)は、図5(a)に示すように、加算回路6310_16A(B)と、更新値レジスタ6311_16A(B)と、乱数エラー検出回路6312_16A(B)とで主に構成されている。この加算回路6310_16A(B)は、所定のクロック信号CLKに基づいて、0〜65535(0000h〜FFFFh)の数値範囲のハードウェア乱数を更新するもので、更新値レジスタ6311_16A(B)は、加算回路6310_16A(B)にて更新されたハードウェア乱数を格納するものである。そしてこのように更新値レジスタ6311_16A(B)にて格納されたハードウェア乱数値が、16ビット乱数値レジスタRNDF16RG0_A(B)に格納されることとなる。   On the other hand, the 16-bit random number generation circuit 6300A (B) includes an addition circuit 6310_16A (B), an update value register 6311_16A (B), and a random error detection circuit 6312_16A (B), as shown in FIG. It is mainly composed of. The adder circuit 6310_16A (B) updates a hardware random number in a numerical range of 0 to 65535 (0000h to FFFFh) based on a predetermined clock signal CLK. The update value register 6311_16A (B) The hardware random number updated in 6310_16A (B) is stored. The hardware random value stored in the update value register 6311_16A (B) in this way is stored in the 16-bit random value register RNDF16RG0_A (B).

一方、乱数エラー検出回路6312_16A(B)は、16ビット乱数生成回路6300A(B)のエラー(異常)をそれぞれ検出するもので、この検出されたエラー(異常)データが内部機能レジスタ6304内にある乱数エラーステータスレジスタRNDERR(図10参照)に格納されることとなる。なお、この乱数エラーステータスレジスタRNDERRについては後述することとする。   On the other hand, the random error detection circuit 6312_16A (B) detects an error (abnormality) of the 16-bit random number generation circuit 6300A (B), and the detected error (abnormality) data is in the internal function register 6304. It is stored in the random number error status register RNDERR (see FIG. 10). The random error status register RNDERR will be described later.

ところで、16ビット乱数生成回路6300A(B)は、図5(a)に示すように、さらに、初期値設定レジスタRNDINIを有している。この初期値設定レジスタRNDINIは、図6(e)に示すように、8ビットからなり、初期値設定レジスタRNDINIの7ビット目が16ビット乱数値レジスタRNDF16RG0_Aに対応し、6ビット目が16ビット乱数値レジスタRNDF16RG0_Bに対応している。すなわち、初期値設定レジスタRNDINIの7ビット目に0が設定されると、加算回路6310_16A(図5(a)参照)の初期値には0が設定され、これにより、16ビット乱数値レジスタRNDF16RG0_Aの初期値が0に設定されることとなる。   Incidentally, the 16-bit random number generation circuit 6300A (B) further includes an initial value setting register RNDINI as shown in FIG. As shown in FIG. 6E, the initial value setting register RNDINI is composed of 8 bits, the 7th bit of the initial value setting register RNDINI corresponds to the 16-bit random value register RNDF16RG0_A, and the 6th bit is 16-bit random. This corresponds to the numerical register RNDF16RG0_B. That is, when 0 is set to the 7th bit of the initial value setting register RNDINI, 0 is set to the initial value of the adder circuit 6310_16A (see FIG. 5A), thereby the 16-bit random value register RNDF16RG0_A The initial value is set to 0.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、16ビット乱数生成回路6300Aをリセットすると、加算回路6310_16Aの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、16ビット乱数値レジスタRNDF16RG0_Aには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3) to reset the 16-bit random number generation circuit 6300A. Then, a value randomly generated in the initial value setting register RNDINI is set as the initial value of the adder circuit 6310_16A. Thereby, a different initial value is stored in the 16-bit random value register RNDF16RG0_A every time it is reset by a system reset.

他方、初期値設定レジスタRNDINIの6ビット目に0が設定されると、加算回路6310_16B(図5(a)参照)の初期値には0が設定され、これにより、16ビット乱数値レジスタRNDF16RG0_Bの初期値には0が設定されることとなる。   On the other hand, when 0 is set to the 6th bit of the initial value setting register RNDINI, 0 is set to the initial value of the adder circuit 6310_16B (see FIG. 5A). 0 is set as the initial value.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、16ビット乱数生成回路6300Bをリセットすると、加算回路6310_16Bの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、16ビット乱数値レジスタRNDF16RG0_Bには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3) to reset the 16-bit random number generation circuit 6300B. Then, a value randomly generated by the initial value setting register RNDINI is set as the initial value of the adder circuit 6310_16B. Thereby, a different initial value is stored in the 16-bit random value register RNDF16RG0_B every time it is reset by a system reset.

ところで、16ビット乱数値レジスタRNDF16RG0_A(B)は、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。すなわち、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)は、主制御CPU600だけをリセットし、16ビット乱数生成回路6300A(B)等の内部機能はリセットしない。そのため、16ビット乱数生成回路6300A(B)(更新値レジスタ6311_16A(B))は、リセットされる前に設定された値が保持され、そのまま初期値になる。それゆえ、16ビット乱数生成回路6300A(B)(更新値レジスタ6311_16A(B))には、初期値としてリセットされる前の値がそのまま初期値として格納されることとなる。これにより、主制御CPU600にて、16ビット乱数生成回路6300A(B)(更新値レジスタ6311_16A(B))を読み出し、その初期値から16ビット乱数生成回路6300A(B)(加算回路6310_16A(B))にてハードウェア乱数を更新させれば、再びシステムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)が発生するか否かを確認することで、そのリセットの要因が、16ビット乱数生成回路6300A(B)にあるか否かの検証が可能となる。なお、これら16ビット乱数値レジスタRNDF16RG0_A(B)は、主制御CPU600にて1バイト読み出し命令で2回に分けて読み出した際、更新値レジスタ6311_16A(B)より、更新中のハードウェア乱数値が読み出される可能性があるため、1回に16ビットの値を読み出す2バイト読み出し命令で読み出した方が好ましい。   By the way, when the 16-bit random value register RNDF16RG0_A (B) is reset by a reset signal other than the system reset signal (for example, an illegal access reset signal), the value set before the reset is held, and the initial value is kept as it is. Value. That is, a reset signal other than the system reset signal (eg, illegal access reset signal) resets only the main control CPU 600 and does not reset internal functions such as the 16-bit random number generation circuit 6300A (B). Therefore, the 16-bit random number generation circuit 6300A (B) (update value register 6311_16A (B)) holds the value set before being reset, and becomes the initial value as it is. Therefore, the 16-bit random number generation circuit 6300A (B) (update value register 6311_16A (B)) stores the value before being reset as the initial value as the initial value. As a result, the main control CPU 600 reads the 16-bit random number generation circuit 6300A (B) (update value register 6311_16A (B)) and uses the initial value for the 16-bit random number generation circuit 6300A (B) (addition circuit 6310_16A (B) If the hardware random number is updated in (), it is confirmed whether or not a reset signal other than the system reset signal (for example, illegal access reset signal) is generated again. It is possible to verify whether or not the circuit 6300A (B) exists. These 16-bit random number value registers RNDF16RG0_A (B) are read from the update value register 6311_16A (B) by the hardware random number value being updated when read by the main control CPU 600 in two times by a 1-byte read command. Since there is a possibility of being read, it is preferable to read with a 2-byte read command that reads a 16-bit value at a time.

<乱数回路:8ビット乱数生成回路>
一方、8ビット乱数生成回路6301A(B)は、主に、所定のクロック信号CLKに基づいて、0〜255(00h〜FFh)の数値範囲のハードウェア乱数をそれぞれ更新するものである。そして、このように更新されたハードウェア乱数は、内部機能レジスタ6304内にある8ビット乱数値レジスタRNDF08RG0_A(B)に格納される。
<Random number circuit: 8-bit random number generation circuit>
On the other hand, the 8-bit random number generation circuit 6301A (B) mainly updates hardware random numbers in a numerical range of 0 to 255 (00h to FFh) based on a predetermined clock signal CLK. The hardware random number thus updated is stored in the 8-bit random value register RNDF08RG0_A (B) in the internal function register 6304.

具体的には、図6(b)に示すように、8ビット乱数生成回路6301Aにて更新されたハードウェア乱数は、8ビット乱数値レジスタRNDF08RG0_Aに格納され、8ビット乱数生成回路6301Bにて更新されたハードウェア乱数は、8ビット乱数値レジスタRNDF08RG0_Bに格納される。なお、これら8ビット乱数値レジスタRNDF08RG0_A(B)は、読み出しのみ可能なレジスタである。   Specifically, as shown in FIG. 6B, the hardware random number updated by the 8-bit random number generation circuit 6301A is stored in the 8-bit random number value register RNDF08RG0_A and updated by the 8-bit random number generation circuit 6301B. The hardware random number is stored in the 8-bit random value register RNDF08RG0_B. Note that these 8-bit random value registers RNDF08RG0_A (B) are registers that can only be read.

一方、上記8ビット乱数生成回路6301A(B)は、図5(a)に示すように、加算回路6310_8A(B)と、更新値レジスタ6311_8A(B)と、乱数エラー検出回路6312_8A(B)とで主に構成されている。この加算回路6310_8A(B)は、所定のクロック信号CLKに基づいて、0〜255(00h〜FFh)の数値範囲のハードウェア乱数を更新するもので、更新値レジスタ6311_8A(B)は、加算回路6310_8A(B)にて更新されたハードウェア乱数を格納するものである。そしてこのように更新値レジスタ6311_8A(B)にて格納されたハードウェア乱数値が、8ビット乱数値レジスタRNDF08RG0_A(B)に格納されることとなる。   On the other hand, as shown in FIG. 5A, the 8-bit random number generation circuit 6301A (B) includes an addition circuit 6310_8A (B), an update value register 6311_8A (B), and a random number error detection circuit 6312_8A (B). It is mainly composed of. The adder circuit 6310_8A (B) updates a hardware random number in a numerical range of 0 to 255 (00h to FFh) based on a predetermined clock signal CLK. The update value register 6311_8A (B) The hardware random number updated in 6310_8A (B) is stored. The hardware random value stored in the update value register 6311_8A (B) in this way is stored in the 8-bit random value register RNDF08RG0_A (B).

一方、乱数エラー検出回路6312_8A(B)は、8ビット乱数生成回路6301A(B)のエラー(異常)をそれぞれ検出するもので、この検出されたエラー(異常)データが内部機能レジスタ6304内にある乱数エラーステータスレジスタRNDERR(図10参照)に格納されることとなる。なお、この乱数エラーステータスレジスタRNDERRについては後述することとする。   On the other hand, the random error detection circuit 6312_8A (B) detects an error (abnormality) of the 8-bit random number generation circuit 6301A (B), and the detected error (abnormality) data is in the internal function register 6304. It is stored in the random number error status register RNDERR (see FIG. 10). The random error status register RNDERR will be described later.

ところで、8ビット乱数生成回路6301A(B)は、図5(a)に示すように、さらに、初期値設定レジスタRNDINIを有している。この初期値設定レジスタRNDINIは、図6(e)に示すように、8ビットからなり、初期値設定レジスタRNDINIの5ビット目が8ビット乱数値レジスタRNDF08RG0_Aに対応し、4ビット目が8ビット乱数値レジスタRNDF08RG0_Bに対応している。すなわち、初期値設定レジスタRNDINIの5ビット目に0が設定されると、図5(a)に示すように、加算回路6310_8Aの初期値には0が設定され、これにより、8ビット乱数値レジスタRNDF08RG0_Aの初期値が0に設定されることとなる。   Incidentally, the 8-bit random number generation circuit 6301A (B) further has an initial value setting register RNDINI as shown in FIG. As shown in FIG. 6 (e), the initial value setting register RNDINI is composed of 8 bits, the fifth bit of the initial value setting register RNDINI corresponds to the 8-bit random value register RNDF08RG0_A, and the fourth bit is 8-bit random. This corresponds to the numerical register RNDF08RG0_B. In other words, when 0 is set in the fifth bit of the initial value setting register RNDINI, as shown in FIG. 5A, the initial value of the adder circuit 6310_8A is set to 0, whereby the 8-bit random value register The initial value of RNDF08RG0_A is set to 0.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、8ビット乱数生成回路6301Aをリセットすると、加算回路6310_8Aの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、8ビット乱数値レジスタRNDF08RG0_Aには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3) to reset the 8-bit random number generation circuit 6301A. Then, a value randomly generated by the initial value setting register RNDINI is set as the initial value of the adder circuit 6310_8A. As a result, a different initial value is stored in the 8-bit random value register RNDF08RG0_A every time it is reset by a system reset.

他方、初期値設定レジスタRNDINIの4ビット目に0が設定されると、図5(a)に示すように、加算回路6310_8Bの初期値には0が設定され、これにより、8ビット乱数値レジスタRNDF08RG0_Bの初期値が0に設定されることとなる。   On the other hand, when 0 is set in the fourth bit of the initial value setting register RNDINI, as shown in FIG. 5A, the initial value of the adder circuit 6310_8B is set to 0, whereby the 8-bit random value register The initial value of RNDF08RG0_B is set to 0.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、8ビット乱数生成回路6301Bをリセットすると、加算回路6310_8Bの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、8ビット乱数値レジスタRNDF08RG0_Bには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3) to reset the 8-bit random number generation circuit 6301B. Then, a value randomly generated by the initial value setting register RNDINI is set as the initial value of the adder circuit 6310_8B. As a result, a different initial value is stored in the 8-bit random value register RNDF08RG0_B every time it is reset by a system reset.

ところで、8ビット乱数値レジスタRNDF08RG0_A(B)は、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。すなわち、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)は、主制御CPU600だけをリセットし、8ビット乱数生成回路6301A(B)等の内部機能はリセットしない。そのため、8ビット乱数生成回路6301A(B)(更新値レジスタ6311_8A(B))は、リセットされる前に設定された値が保持され、そのまま初期値になる。それゆえ、8ビット乱数生成回路6301A(B)(更新値レジスタ6311_8A(B))には、初期値としてリセットされる前の値がそのまま初期値として格納されることとなる。これにより、主制御CPU600にて、8ビット乱数生成回路6301A(B)(更新値レジスタ6311_8A(B))を読み出し、その初期値から8ビット乱数生成回路6301A(B)(加算回路6310_8A(B))にてハードウェア乱数を更新させれば、再びシステムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)が発生するか否かを確認することで、そのリセットの要因が、8ビット乱数回路6301A(B)にあるか否かの検証が可能となる。   By the way, if the 8-bit random value register RNDF08RG0_A (B) is reset by a reset signal other than the system reset signal (for example, an illegal access reset signal), the value set before the reset is held, and the initial value is kept as it is. Value. That is, a reset signal other than the system reset signal (eg, illegal access reset signal) resets only the main control CPU 600 and does not reset internal functions such as the 8-bit random number generation circuit 6301A (B). Therefore, the 8-bit random number generation circuit 6301A (B) (update value register 6311_8A (B)) holds the value set before being reset, and becomes the initial value as it is. Therefore, the 8-bit random number generation circuit 6301A (B) (update value register 6311_8A (B)) stores the value before being reset as the initial value as it is as the initial value. As a result, the main control CPU 600 reads the 8-bit random number generation circuit 6301A (B) (update value register 6311_8A (B)), and uses the initial value for the 8-bit random number generation circuit 6301A (B) (addition circuit 6310_8A (B)). ) To update the hardware random number, it is confirmed whether or not a reset signal other than the system reset signal (for example, illegal access reset signal) is generated again. It is possible to verify whether it is in 6301A (B).

<乱数回路:16ビットカスタム乱数生成回路>
一方、16ビットカスタム乱数生成回路6302A(B)は、主に、所定のクロック信号CLKに基づいて、0〜65535(0000h〜FFFFh)の数値範囲のハードウェア乱数をそれぞれ更新するものである。そして、このように更新されたハードウェア乱数は、内部機能レジスタ6304内にある16ビットカスタム乱数値レジスタRNDV16RG0_A(B)に格納される。
<Random number circuit: 16-bit custom random number generation circuit>
On the other hand, the 16-bit custom random number generation circuit 6302A (B) mainly updates hardware random numbers in a numerical range of 0 to 65535 (0000h to FFFFh) based on a predetermined clock signal CLK. The updated hardware random number is stored in the 16-bit custom random value register RNDV16RG0_A (B) in the internal function register 6304.

具体的には、図6(c)に示すように、16ビットカスタム乱数生成回路6302Aにて更新されたハードウェア乱数は、16ビットカスタム乱数値レジスタRNDV16RG0_Aに格納され、16ビットカスタム乱数生成回路6302Bにて更新されたハードウェア乱数は、16ビットカスタム乱数値レジスタRNDV16RG0_Bに格納される。なお、これら16ビットカスタム乱数値レジスタRNDV16RG0_A(B)は、読み出しのみ可能なレジスタである。   Specifically, as shown in FIG. 6C, the hardware random number updated by the 16-bit custom random number generation circuit 6302A is stored in the 16-bit custom random number value register RNDV16RG0_A, and the 16-bit custom random number generation circuit 6302B. The hardware random number updated at is stored in the 16-bit custom random value register RNDV16RG0_B. Note that these 16-bit custom random value registers RNDV16RG0_A (B) are registers that can only be read.

一方、上記16ビットカスタム乱数生成回路6302A(B)は、図5(b)に示すように、加算回路6320_16A(B)と、更新値レジスタ6321_16A(B)と、乱数エラー検出回路6322_16A(B)と、最大値設定回路6323_16A(B)で主に構成されている。この加算回路6320_16A(B)は、所定のクロック信号CLKに基づいて、0〜65535(0000h〜FFFFh)の数値範囲のハードウェア乱数を更新するもので、更新値レジスタ6321_16A(B)は、加算回路6320_16A(B)にて更新されたハードウェア乱数を格納するものである。そしてこのように更新値レジスタ6321_16A(B)にて格納されたハードウェア乱数値が、16ビットカスタム乱数値レジスタRNDV16RG0_A(B)に格納されることとなる。   On the other hand, the 16-bit custom random number generation circuit 6302A (B) includes an addition circuit 6320_16A (B), an update value register 6321_16A (B), and a random error detection circuit 6322_16A (B) as shown in FIG. And a maximum value setting circuit 6323_16A (B). The adder circuit 6320_16A (B) updates a hardware random number in a numerical range of 0 to 65535 (0000h to FFFFh) based on a predetermined clock signal CLK. The update value register 6321_16A (B) The hardware random number updated in 6320_16A (B) is stored. The hardware random number value stored in the update value register 6321_16A (B) in this way is stored in the 16-bit custom random value register RNDV16RG0_A (B).

一方、乱数エラー検出回路6322_16A(B)は、16ビットカスタム乱数生成回路6302A(B)のエラー(異常)をそれぞれ検出するもので、この検出されたエラー(異常)データが内部機能レジスタ6304内にある乱数エラーステータスレジスタRNDERR(図10参照)に格納されることとなる。なお、この乱数エラーステータスレジスタRNDERRについては後述することとする。   On the other hand, the random number error detection circuit 6322_16A (B) detects an error (abnormality) of the 16-bit custom random number generation circuit 6302A (B), and the detected error (abnormality) data is stored in the internal function register 6304. It is stored in a random number error status register RNDERR (see FIG. 10). The random error status register RNDERR will be described later.

また、最大値設定回路6323_16A(B)は、16ビットカスタム乱数生成回路6302A(B)(加算回路6320_16A(B))の最大値を設定できるもので、内部機能レジスタ6304内にある16ビットカスタム乱数生成回路最大値設定レジスタRND16MX_A(B)(図7(a)参照)に設定された値を設定するものである。   The maximum value setting circuit 6323_16A (B) can set the maximum value of the 16-bit custom random number generation circuit 6302A (B) (adder circuit 6320_16A (B)). The 16-bit custom random number in the internal function register 6304 The value set in the generation circuit maximum value setting register RND16MX_A (B) (see FIG. 7A) is set.

具体的に示せば、これら16ビットカスタム乱数生成回路最大値設定レジスタRND16MX_A(B)は、図7(a)に示すように、読み書きすることができると共に、255〜65535(00FFh〜FFFFh)の数値範囲を設定することができるもので、初期値には65535(FFFFh)が設定される。そして、16ビットカスタム乱数生成回路最大値設定レジスタRND16MX_Aは、最大値設定回路6323_16Aに対応し、16ビットカスタム乱数生成回路最大値設定レジスタRND16MX_Bは、最大値設定回路6323_16Bに対応している。これにより、16ビットカスタム乱数生成回路最大値設定レジスタRND16MX_A(B)にて設定された値が、最大値設定回路6323_16A(B)に反映され、16ビットカスタム乱数生成回路6302A(B)(加算回路6320_16A(B))の最大値として設定されることとなる。なお、このように最大値が設定されると、16ビットカスタム乱数生成回路6302A(B)(加算回路6320_16A(B))は、ハードウェア乱数の更新を開始する。このようにすれば、任意のタイミングでハードウェア乱数の更新を開始することができるため、乱数値の出現の偏りを低減させることができる。   More specifically, the 16-bit custom random number generation circuit maximum value setting register RND16MX_A (B) can read and write as shown in FIG. 7A, and has a numerical value of 255 to 65535 (00FFh to FFFFh). The range can be set, and 65535 (FFFFh) is set as the initial value. The 16-bit custom random number generation circuit maximum value setting register RND16MX_A corresponds to the maximum value setting circuit 6323_16A, and the 16-bit custom random number generation circuit maximum value setting register RND16MX_B corresponds to the maximum value setting circuit 6323_16B. As a result, the value set in the 16-bit custom random number generation circuit maximum value setting register RND16MX_A (B) is reflected in the maximum value setting circuit 6323_16A (B), and the 16-bit custom random number generation circuit 6302A (B) (addition circuit) 6320_16A (B)) is set as the maximum value. When the maximum value is set in this way, the 16-bit custom random number generation circuit 6302A (B) (addition circuit 6320_16A (B)) starts updating the hardware random number. In this way, since updating of hardware random numbers can be started at an arbitrary timing, it is possible to reduce bias in appearance of random values.

一方、この16ビットカスタム乱数生成回路最大値設定レジスタRND16MX_A(B)に、何らかの要因で発生したアクセス異常によって255(FFh)より小さい値が設定された際、最大値設定回路6323_16A(B)は、最小値である255(FFh)を、最大値として設定する。このようにすれば、ハードウェア乱数の設定に関する異常が発生したとしても、遊技を継続させることができ、もって、遊技の処理に対して乱数回路を効率的に使用することができる。またさらには、異常値が設定された際、異常値が設定されたか否かを検証せずとも、正常値(最小値である255)が設定され、その後の動作が継続されるため、異常処理に対する制御負荷を低減させることができる。なお、16ビットカスタム乱数生成回路最大値設定レジスタRND16MX_A(B)には、設定された値が格納されているため、当該値を主制御CPU600にて読み出すことで、異常を検出することもできる。   On the other hand, when a value smaller than 255 (FFh) is set in the 16-bit custom random number generation circuit maximum value setting register RND16MX_A (B) due to an access abnormality caused by some factor, the maximum value setting circuit 6323_16A (B) The minimum value 255 (FFh) is set as the maximum value. In this way, even if an abnormality relating to setting of hardware random numbers occurs, the game can be continued, and the random number circuit can be used efficiently for game processing. Furthermore, when an abnormal value is set, a normal value (255 which is the minimum value) is set without verifying whether or not the abnormal value has been set, and the subsequent operation is continued. The control load with respect to can be reduced. Since the set value is stored in the 16-bit custom random number generation circuit maximum value setting register RND16MX_A (B), the main control CPU 600 can read the value to detect an abnormality.

ところで、16ビットカスタム乱数生成回路6302A(B)は、図5(b)に示すように、さらに、初期値設定レジスタRNDINIを有している。この初期値設定レジスタRNDINIは、図6(e)に示すように、8ビットからなり、初期値設定レジスタRNDINIの3ビット目が16ビットカスタム乱数値レジスタRNDV16RG0_Aに対応し、2ビット目が16ビットカスタム乱数値レジスタRNDV16RG0_Bに対応している。すなわち、初期値設定レジスタRNDINIの3ビット目に0が設定されると、図5(b)に示すように、加算回路6320_16Aの初期値には0が設定され、これにより、16ビットカスタム乱数値レジスタRNDV16RG0_Aの初期値が0に設定されることとなる。   Incidentally, the 16-bit custom random number generation circuit 6302A (B) further includes an initial value setting register RNDINI as shown in FIG. 5B. As shown in FIG. 6 (e), the initial value setting register RNDINI is composed of 8 bits, the third bit of the initial value setting register RNDINI corresponds to the 16-bit custom random value register RNDV16RG0_A, and the second bit is 16 bits. This corresponds to the custom random value register RNDV16RG0_B. That is, when 0 is set in the third bit of the initial value setting register RNDINI, as shown in FIG. 5B, the initial value of the adder circuit 6320_16A is set to 0, whereby a 16-bit custom random number value is set. The initial value of the register RNDV16RG0_A is set to 0.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、16ビットカスタム乱数生成回路6302Aをリセットすると、加算回路6320_16Aの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、16ビットカスタム乱数値レジスタRNDV16RG0_Aには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3), and the 16-bit custom random number generation circuit 6302A is controlled. When reset, the initial value of the adder circuit 6320_16A is set to a value randomly generated by the initial value setting register RNDINI. As a result, a different initial value is stored in the 16-bit custom random value register RNDV16RG0_A every time it is reset by a system reset.

他方、初期値設定レジスタRNDINIの2ビット目に0が設定されると、図5(b)に示すように、加算回路6320_16Bの初期値には0が設定され、これにより、16ビットカスタム乱数値レジスタRNDV16RG0_Bの初期値が0に設定されることとなる。   On the other hand, when 0 is set in the second bit of the initial value setting register RNDINI, as shown in FIG. 5B, the initial value of the adder circuit 6320_16B is set to 0, whereby a 16-bit custom random number value is set. The initial value of the register RNDV16RG0_B is set to 0.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、16ビットカスタム乱数生成回路6302Bをリセットすると、加算回路6320_16Bの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、16ビットカスタム乱数値レジスタRNDV16RG0_Bには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3), and the 16-bit custom random number generation circuit 6302B is controlled. When reset, the initial value of the adder circuit 6320_16B is set to a value randomly generated by the initial value setting register RNDINI. As a result, a different initial value is stored in the 16-bit custom random value register RNDV16RG0_B every time it is reset by a system reset.

ところで、16ビットカスタム乱数値レジスタRNDV16RG0_A(B)は、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。すなわち、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)は、主制御CPU600だけをリセットし、16ビットカスタム乱数生成回路6302A(B)等の内部機能はリセットしない。そのため、16ビットカスタム乱数生成回路6302A(B)(更新値レジスタ6321_16A(B))は、リセットされる前に設定された値が保持され、そのまま初期値になる。それゆえ、16ビットカスタム乱数生成回路6302A(B)(更新値レジスタ6321_16A(B))には、初期値としてリセットされる前の値がそのまま初期値として格納されることとなる。これにより、主制御CPU600にて、16ビットカスタム乱数生成回路6302A(B)(更新値レジスタ6321_16A(B))を読み出し、その初期値から16ビットカスタム乱数生成回路6302A(B)(加算回路6320_16A(B))にてハードウェア乱数を更新させれば、再びシステムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)が発生するか否かを確認することで、そのリセットの要因が、16ビットカスタム乱数生成回路6302A(B)にあるか否かの検証が可能となる。なお、これら16ビットカスタム乱数値レジスタRNDV16RG0_A(B)は、主制御CPU600にて1バイト読み出し命令で2回に分けて読み出した際、更新値レジスタ6321_16A(B)より、更新中のハードウェア乱数値が読み出される可能性があるため、1回に16ビットの値を読み出す2バイト読み出し命令で読み出した方が好ましい。   By the way, when the 16-bit custom random value register RNDV16RG0_A (B) is reset by a reset signal other than the system reset signal (for example, an illegal access reset signal), the value set before the reset is held and remains as it is. This is the initial value. That is, a reset signal other than the system reset signal (eg, illegal access reset signal) resets only the main control CPU 600 and does not reset internal functions such as the 16-bit custom random number generation circuit 6302A (B). Therefore, the 16-bit custom random number generation circuit 6302A (B) (update value register 6321_16A (B)) holds the value set before being reset, and becomes the initial value as it is. Therefore, the 16-bit custom random number generation circuit 6302A (B) (update value register 6321_16A (B)) stores the value before being reset as the initial value as it is as the initial value. As a result, the main control CPU 600 reads the 16-bit custom random number generation circuit 6302A (B) (update value register 6321_16A (B)), and uses the 16-bit custom random number generation circuit 6302A (B) (addition circuit 6320_16A ( If the hardware random number is updated in B)), it is confirmed whether a reset signal other than the system reset signal (for example, an illegal access reset signal) is generated again. It is possible to verify whether or not the custom random number generation circuit 6302A (B) exists. These 16-bit custom random value registers RNDV16RG0_A (B) are read from the update value register 6321_16A (B) when the main control CPU 600 reads them twice by a 1-byte read command. It is preferable to read with a 2-byte read command that reads a 16-bit value at a time.

<乱数回路:8ビットカスタム乱数生成回路>
一方、8ビットカスタム乱数生成回路6303A(B)は、主に、所定のクロック信号CLKに基づいて、0〜255(00h〜FFh)の数値範囲のハードウェア乱数をそれぞれ更新するものである。そして、このように更新されたハードウェア乱数は、内部機能レジスタ6304内にある8ビットカスタム乱数値レジスタRNDV08RG0_A(B)に格納される。
<Random number circuit: 8-bit custom random number generation circuit>
On the other hand, the 8-bit custom random number generation circuit 6303A (B) mainly updates hardware random numbers in a numerical range of 0 to 255 (00h to FFh) based on a predetermined clock signal CLK. The updated hardware random number is stored in the 8-bit custom random value register RNDV08RG0_A (B) in the internal function register 6304.

具体的には、図6(d)に示すように、8ビットカスタム乱数生成回路6303Aにて更新されたハードウェア乱数は、8ビットカスタム乱数値レジスタRNDV08RG0_Aに格納され、8ビットカスタム乱数生成回路6303Bにて更新されたハードウェア乱数は、8ビットカスタム乱数値レジスタRNDV08RG0_Bに格納される。なお、これら8ビットカスタム乱数値レジスタRNDV08RG0_A(B)は、読み出しのみ可能なレジスタである。   Specifically, as shown in FIG. 6D, the hardware random number updated by the 8-bit custom random number generation circuit 6303A is stored in the 8-bit custom random number value register RNDV08RG0_A, and the 8-bit custom random number generation circuit 6303B. The hardware random number updated at is stored in the 8-bit custom random value register RNDV08RG0_B. The 8-bit custom random value register RNDV08RG0_A (B) is a register that can only be read.

一方、上記8ビットカスタム乱数生成回路6303A(B)は、図5(b)に示すように、加算回路6320_8A(B)と、更新値レジスタ6321_8A(B)と、乱数エラー検出回路6322_8A(B)と、最大値設定回路6323_8A(B)で主に構成されている。この加算回路6320_8A(B)は、所定のクロック信号CLKに基づいて、0〜255(00h〜FFh)の数値範囲のハードウェア乱数を更新するもので、更新値レジスタ6321_8A(B)は、加算回路6320_8A(B)にて更新されたハードウェア乱数を格納するものである。そしてこのように更新値レジスタ6321_8A(B)にて格納されたハードウェア乱数値が、8ビットカスタム乱数値レジスタRNDV08RG0_A(B)に格納されることとなる。   On the other hand, the 8-bit custom random number generation circuit 6303A (B) includes an addition circuit 6320_8A (B), an update value register 6321_8A (B), and a random error detection circuit 6322_8A (B) as shown in FIG. And the maximum value setting circuit 6323_8A (B). The adder circuit 6320_8A (B) updates a hardware random number in the numerical range of 0 to 255 (00h to FFh) based on a predetermined clock signal CLK. The update value register 6321_8A (B) The hardware random number updated in 6320_8A (B) is stored. The hardware random number value stored in the update value register 6321_8A (B) in this way is stored in the 8-bit custom random value register RNDV08RG0_A (B).

一方、乱数エラー検出回路6322_8A(B)は、8ビットカスタム乱数生成回路6303A(B)のエラー(異常)をそれぞれ検出するもので、この検出されたエラー(異常)データが内部機能レジスタ6304内にある乱数エラーステータスレジスタRNDERR(図10参照)に格納されることとなる。なお、この乱数エラーステータスレジスタRNDERRについては後述することとする。   On the other hand, the random error detection circuit 6322_8A (B) detects an error (abnormality) of the 8-bit custom random number generation circuit 6303A (B), and the detected error (abnormality) data is stored in the internal function register 6304. It is stored in a random number error status register RNDERR (see FIG. 10). The random error status register RNDERR will be described later.

また、最大値設定回路6323_8A(B)は、8ビットカスタム乱数生成回路6303A(B)(加算回路6320_8A(B))の最大値を設定できるもので、内部機能レジスタ6304内にある8ビットカスタム乱数生成回路最大値設定レジスタRND08MX_A(B)(図7(b)参照)に設定された値を設定するものである。   The maximum value setting circuit 6323_8A (B) can set the maximum value of the 8-bit custom random number generation circuit 6303A (B) (adder circuit 6320_8A (B)), and is an 8-bit custom random number in the internal function register 6304. The value set in the generation circuit maximum value setting register RND08MX_A (B) (see FIG. 7B) is set.

具体的に示せば、これら8ビットカスタム乱数生成回路最大値設定レジスタRND08MX_A(B)は、図7(b)に示すように、読み書きすることができると共に、15〜255(0Fh〜FFh)の数値範囲を設定することができるもので、初期値には15(0Fh)が設定される。そして、8ビットカスタム乱数生成回路最大値設定レジスタRND08MX_Aは、最大値設定回路6323_8Aに対応し、8ビットカスタム乱数生成回路最大値設定レジスタRND08MX_Bは、最大値設定回路6323_8Bに対応している。これにより、8ビットカスタム乱数生成回路最大値設定レジスタRND08MX_A(B)にて設定された値が、最大値設定回路6323_8A(B)に反映され、8ビットカスタム乱数生成回路6303A(B)(加算回路6320_8A(B))の最大値として設定されることとなる。なお、このように最大値が設定されると、8ビットカスタム乱数生成回路6303A(B)(加算回路6320_8A(B))は、ハードウェア乱数の更新を開始する。このようにすれば、任意のタイミングでハードウェア乱数の更新を開始することができるため、乱数値の出現の偏りを低減させることができる。   Specifically, these 8-bit custom random number generation circuit maximum value setting registers RND08MX_A (B) can be read and written as shown in FIG. 7B and numerical values of 15 to 255 (0Fh to FFh). The range can be set, and 15 (0Fh) is set as the initial value. The 8-bit custom random number generation circuit maximum value setting register RND08MX_A corresponds to the maximum value setting circuit 6323_8A, and the 8-bit custom random number generation circuit maximum value setting register RND08MX_B corresponds to the maximum value setting circuit 6323_8B. As a result, the value set in the 8-bit custom random number generation circuit maximum value setting register RND08MX_A (B) is reflected in the maximum value setting circuit 6323_8A (B), and the 8-bit custom random number generation circuit 6303A (B) (addition circuit) 6320_8A (B)) is set as the maximum value. When the maximum value is set in this way, the 8-bit custom random number generation circuit 6303A (B) (addition circuit 6320_8A (B)) starts updating the hardware random number. In this way, since updating of hardware random numbers can be started at an arbitrary timing, it is possible to reduce bias in appearance of random values.

一方、この8ビットカスタム乱数生成回路最大値設定レジスタRND08MX_A(B)に、何らかの要因で発生したアクセス異常によって15(0Fh)より小さい値が設定された際、最大値設定回路6323_8A(B)は、最小値である15(0Fh)を、最大値として設定する。このようにすれば、ハードウェア乱数の設定に関する異常が発生したとしても、遊技を継続させることができ、もって、遊技の処理に対して乱数回路を効率的に使用することができる。またさらには、異常値が設定された際、異常値が設定されたか否かを検証せずとも、正常値(最小値である15)が設定され、その後の動作が継続されるため、異常処理に対する制御負荷を低減させることができる。なお、8ビットカスタム乱数生成回路最大値設定レジスタRND08MX_A(B)には、設定された値が格納されているため、当該値を主制御CPU600にて読み出すことで、異常を検出することもできる。   On the other hand, when a value smaller than 15 (0Fh) is set in the 8-bit custom random number generation circuit maximum value setting register RND08MX_A (B) due to an access abnormality caused by some factor, the maximum value setting circuit 6323_8A (B) The minimum value of 15 (0Fh) is set as the maximum value. In this way, even if an abnormality relating to setting of hardware random numbers occurs, the game can be continued, and the random number circuit can be used efficiently for game processing. Furthermore, when an abnormal value is set, a normal value (15, which is the minimum value) is set without verifying whether the abnormal value has been set, and the subsequent operation is continued. The control load with respect to can be reduced. Since the set value is stored in the 8-bit custom random number generation circuit maximum value setting register RND08MX_A (B), the main control CPU 600 can read the value to detect an abnormality.

ところで、8ビットカスタム乱数生成回路6303A(B)は、図5(b)に示すように、さらに、初期値設定レジスタRNDINIを有している。この初期値設定レジスタRNDINIは、図6(e)に示すように、8ビットからなり、初期値設定レジスタRNDINIの1ビット目が8ビットカスタム乱数値レジスタRNDV08RG0_Aに対応し、0ビット目が8ビットカスタム乱数値レジスタRNDV08RG0_Bに対応している。すなわち、初期値設定レジスタRNDINIの1ビット目に0が設定されると、図5(b)に示すように、加算回路6320_8Aの初期値には0が設定され、これにより、8ビットカスタム乱数値レジスタRNDV08RG0_Aの初期値が0に設定されることとなる。   Incidentally, the 8-bit custom random number generation circuit 6303A (B) further includes an initial value setting register RNDINI, as shown in FIG. 5B. As shown in FIG. 6 (e), the initial value setting register RNDINI is composed of 8 bits, the first bit of the initial value setting register RNDINI corresponds to the 8-bit custom random value register RNDV08RG0_A, and the 0th bit is 8 bits. This corresponds to the custom random value register RNDV08RG0_B. In other words, when 0 is set in the first bit of the initial value setting register RNDINI, as shown in FIG. 5B, 0 is set in the initial value of the adder circuit 6320_8A, whereby the 8-bit custom random number value is set. The initial value of the register RNDV08RG0_A is set to 0.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、8ビットカスタム乱数生成回路6303Aをリセットすると、加算回路6320_8Aの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、8ビットカスタム乱数値レジスタRNDV08RG0_Aには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3), and the 8-bit custom random number generation circuit 6303A is controlled. When reset, the initial value of the adder circuit 6320_8A is set to a value randomly generated by the initial value setting register RNDINI. As a result, the 8-bit custom random value register RNDV08RG0_A stores a different initial value every time it is reset by a system reset.

他方、初期値設定レジスタRNDINIの0ビット目に0が設定されると、図5(b)に示すように、加算回路6320_8Bの初期値には0が設定され、これにより、8ビットカスタム乱数値レジスタRNDV08RG0_Bの初期値が0に設定されることとなる。   On the other hand, when 0 is set to the 0th bit of the initial value setting register RNDINI, as shown in FIG. 5B, 0 is set to the initial value of the adder circuit 6320_8B. The initial value of the register RNDV08RG0_B is set to 0.

一方、1が設定されると、上記システムリセット生成部1320(図3参照)にて生成されたシステムリセット信号がリセットコントローラ640(図3参照)にて制御され、8ビットカスタム乱数生成回路6303Bをリセットすると、加算回路6320_8Bの初期値には初期値設定レジスタRNDINIにてランダムに生成される値が設定されることとなる。これにより、8ビットカスタム乱数値レジスタRNDV08RG0_Bには、システムリセットにてリセットされる毎に異なる初期値が格納されることとなる。   On the other hand, when 1 is set, the system reset signal generated by the system reset generation unit 1320 (see FIG. 3) is controlled by the reset controller 640 (see FIG. 3), and the 8-bit custom random number generation circuit 6303B is set. When reset, the initial value of the adder circuit 6320_8B is set to a value randomly generated by the initial value setting register RNDINI. As a result, the 8-bit custom random value register RNDV08RG0_B stores a different initial value every time it is reset by a system reset.

ところで、8ビットカスタム乱数値レジスタRNDV08RG0_A(B)は、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。すなわち、システムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)は、主制御CPU600だけをリセットし、8ビットカスタム乱数生成回路6303A(B)等の内部機能はリセットしない。そのため、8ビットカスタム乱数生成回路6303A(B)(更新値レジスタ6321_8A(B))は、リセットされる前に設定された値が保持され、そのまま初期値になる。それゆえ、8ビットカスタム乱数生成回路6303A(B)(更新値レジスタ6321_8A(B))には、初期値としてリセットされる前の値がそのまま初期値として格納されることとなる。これにより、主制御CPU600にて、8ビットカスタム乱数生成回路6303A(B)(更新値レジスタ6321_8A(B))を読み出し、その初期値から8ビットカスタム乱数生成回路6303A(B)(加算回路6320_8A(B))にてハードウェア乱数を更新させれば、再びシステムリセット信号以外のリセット信号(例えば、イリーガルアクセスリセット信号)が発生するか否かを確認することで、そのリセットの要因が、8ビットカスタム乱数生成回路6303A(B)にあるか否かの検証が可能となる。   By the way, when the 8-bit custom random value register RNDV08RG0_A (B) is reset by a reset signal other than the system reset signal (for example, an illegal access reset signal), the value set before the reset is held and remains as it is. This is the initial value. That is, a reset signal other than the system reset signal (eg, illegal access reset signal) resets only the main control CPU 600 and does not reset internal functions such as the 8-bit custom random number generation circuit 6303A (B). Therefore, the 8-bit custom random number generation circuit 6303A (B) (update value register 6321_8A (B)) holds the value set before being reset, and becomes the initial value as it is. Therefore, the 8-bit custom random number generation circuit 6303A (B) (update value register 6321_8A (B)) stores the value before being reset as the initial value as it is as the initial value. As a result, the main control CPU 600 reads the 8-bit custom random number generation circuit 6303A (B) (update value register 6321_8A (B)), and uses the initial value to create an 8-bit custom random number generation circuit 6303A (B) (addition circuit 6320_8A ( If the hardware random number is updated in B)), it is confirmed whether or not a reset signal other than the system reset signal (for example, illegal access reset signal) is generated again. It is possible to verify whether or not the custom random number generation circuit 6303A (B) exists.

<乱数回路:乱数ラッチ回路>
一方、乱数回路630は、図4に示すように、さらに、16ビット乱数ラッチ1回路6330A(B)と、16ビット乱数ラッチ2回路6331A(B)と、16ビット乱数ラッチ3回路6332A(B)と、8ビット乱数ラッチ1回路6340A(B)と、8ビット乱数ラッチ2回路6341A(B)と、8ビット乱数ラッチ3回路6342A(B)と、16ビットカスタム乱数ラッチ1回路6350A(B)と、16ビットカスタム乱数ラッチ2回路6351A(B)と、16ビットカスタム乱数ラッチ3回路6352A(B)と、8ビットカスタム乱数ラッチ1回路6360A(B)と、8ビットカスタム乱数ラッチ2回路6361A(B)と、8ビットカスタム乱数ラッチ3回路6362A(B)とを有している。
<Random number circuit: Random number latch circuit>
On the other hand, as shown in FIG. 4, the random number circuit 630 further includes a 16-bit random number latch 1 circuit 6330A (B), a 16-bit random number latch 2 circuit 6331A (B), and a 16-bit random number latch 3 circuit 6332A (B). 8-bit random number latch 1 circuit 6340A (B), 8-bit random number latch 2 circuit 6341A (B), 8-bit random number latch 3 circuit 6342A (B), 16-bit custom random number latch 1 circuit 6350A (B) 16 bit custom random number latch 2 circuit 6351A (B), 16 bit custom random number latch 3 circuit 6352A (B), 8 bit custom random number latch 1 circuit 6360A (B), 8 bit custom random number latch 2 circuit 6361A (B) ) And an 8-bit custom random number latch 3 circuit 6362A (B).

<乱数回路:16ビット乱数ラッチ1回路>
この16ビット乱数ラッチ1回路6330A(B)は、特別図柄1始動口スイッチ42aの信号、又は、乱数ラッチステータスレジスタLATST1のラッチ信号を受信すると、16ビット乱数生成回路6300A(B)にて0〜65535(0000h〜FFFFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、16ビット乱数ラッチ1回路6330Aは、16ビット乱数生成回路6300Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ1回路6330Bは、16ビット乱数生成回路6300Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 16 bit random number latch 1 circuit>
When the 16-bit random number latch 1 circuit 6330A (B) receives the signal of the special symbol 1 start port switch 42a or the latch signal of the random number latch status register LATST1, the 16-bit random number generation circuit 6300A (B) The hardware random number updated in the numerical range of 65535 (0000h to FFFFh) is held (latched). The 16-bit random number latch 1 circuit 6330A holds (latches) the hardware random number updated by the 16-bit random number generation circuit 6300A, and the 16-bit random number latch 1 circuit 6330B is updated by the 16-bit random number generation circuit 6300B. Hold (latch) the hardware random number.

ところで、このように16ビット乱数ラッチ1回路6330A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある16ビット乱数ラッチレジスタRNDF16RG1_A(B)に格納される。具体的には、図8(a)に示すように、16ビット乱数ラッチ1回路6330Aに保持(ラッチ)されたハードウェア乱数は、16ビット乱数ラッチレジスタRNDF16RG1_Aに格納され、16ビット乱数ラッチ1回路6330Bに保持(ラッチ)されたハードウェア乱数は、16ビット乱数ラッチレジスタRNDF16RG1_Bに格納される。なお、この16ビット乱数ラッチレジスタRNDF16RG1_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 16-bit random number latch 1 circuit 6330A (B) in this way is stored in the 16-bit random number latch register RNDF16RG1_A (B) in the internal function register 6304. Specifically, as shown in FIG. 8A, the hardware random number held (latched) in the 16-bit random number latch 1 circuit 6330A is stored in the 16-bit random number latch register RNDF16RG1_A, and the 16-bit random number latch 1 circuit The hardware random number held (latched) in 6330B is stored in the 16-bit random number latch register RNDF16RG1_B. The 16-bit random number latch register RNDF16RG1_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:16ビット乱数ラッチ2回路>
一方、16ビット乱数ラッチ2回路6331A(B)は、特別図柄2始動口スイッチ43aの信号、又は、乱数ラッチステータスレジスタLATST2のラッチ信号を受信すると、16ビット乱数生成回路6300A(B)にて0〜65535(0000h〜FFFFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、16ビット乱数ラッチ2回路6331Aは、16ビット乱数生成回路6300Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ2回路6331Bは、16ビット乱数生成回路6300Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 16 bit random number latch 2 circuit>
On the other hand, when the 16-bit random number latch 2 circuit 6331A (B) receives the signal of the special symbol 2 start port switch 43a or the latch signal of the random number latch status register LATST2, the 16-bit random number generation circuit 6300A (B) It holds (latches) hardware random numbers updated in a numerical range of ˜65535 (0000h to FFFFh). The 16-bit random number latch 2 circuit 6331A holds (latches) the hardware random number updated by the 16-bit random number generation circuit 6300A, and the 16-bit random number latch 2 circuit 6331B is updated by the 16-bit random number generation circuit 6300B. Hold (latch) the hardware random number.

ところで、このように16ビット乱数ラッチ2回路6331A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある16ビット乱数ラッチレジスタRNDF16RG2_A(B)に格納される。具体的には、図8(a)に示すように、16ビット乱数ラッチ2回路6331Aに保持(ラッチ)されたハードウェア乱数は、16ビット乱数ラッチレジスタRNDF16RG2_Aに格納され、16ビット乱数ラッチ2回路6331Bに保持(ラッチ)されたハードウェア乱数は、16ビット乱数ラッチレジスタRNDF16RG2_Bに格納される。なお、この16ビット乱数ラッチレジスタRNDF16RG2_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 16-bit random number latch 2 circuit 6331A (B) in this way is stored in the 16-bit random number latch register RNDF16RG2_A (B) in the internal function register 6304. Specifically, as shown in FIG. 8A, the hardware random number held (latched) in the 16-bit random number latch 2 circuit 6331A is stored in the 16-bit random number latch register RNDF16RG2_A, and the 16-bit random number latch 2 circuit The hardware random number held (latched) in 6331B is stored in the 16-bit random number latch register RNDF16RG2_B. The 16-bit random number latch register RNDF16RG2_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:16ビット乱数ラッチ3回路>
また一方、16ビット乱数ラッチ3回路6332A(B)は、普通図柄始動口スイッチ45aの信号、又は、乱数ラッチステータスレジスタLATST3のラッチ信号を受信すると、16ビット乱数生成回路6300A(B)にて0〜65535(0000h〜FFFFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、16ビット乱数ラッチ3回路6332Aは、16ビット乱数生成回路6300Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ3回路6332Bは、16ビット乱数生成回路6300Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 16 bit random number latch 3 circuit>
On the other hand, when the 16-bit random number latch 3 circuit 6332A (B) receives the signal of the normal symbol start port switch 45a or the latch signal of the random number latch status register LATST3, the 16-bit random number generation circuit 6300A (B) It holds (latches) hardware random numbers updated in a numerical range of ˜65535 (0000h to FFFFh). The 16-bit random number latch 3 circuit 6332A holds (latches) the hardware random number updated by the 16-bit random number generation circuit 6300A, and the 16-bit random number latch 3 circuit 6332B is updated by the 16-bit random number generation circuit 6300B. Hold (latch) the hardware random number.

ところで、このように16ビット乱数ラッチ3回路6332A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある16ビット乱数ラッチレジスタRNDF16RG3_A(B)に格納される。具体的には、図8(a)に示すように、16ビット乱数ラッチ3回路6332Aに保持(ラッチ)されたハードウェア乱数は、16ビット乱数ラッチレジスタRNDF16RG3_Aに格納され、16ビット乱数ラッチ3回路6332Bに保持(ラッチ)されたハードウェア乱数は、16ビット乱数ラッチレジスタRNDF16RG3_Bに格納される。なお、この16ビット乱数ラッチレジスタRNDF16RG3_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 16-bit random number latch 3 circuit 6332A (B) in this way is stored in the 16-bit random number latch register RNDF16RG3_A (B) in the internal function register 6304. Specifically, as shown in FIG. 8A, the hardware random number held (latched) in the 16-bit random number latch 3 circuit 6332A is stored in the 16-bit random number latch register RNDF16RG3_A, and the 16-bit random number latch 3 circuit The hardware random number held (latched) in 6332B is stored in the 16-bit random number latch register RNDF16RG3_B. The 16-bit random number latch register RNDF16RG3_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:8ビット乱数ラッチ1回路>
他方、8ビット乱数ラッチ1回路6340A(B)は、特別図柄1始動口スイッチ42aの信号、又は、乱数ラッチステータスレジスタLATST1のラッチ信号を受信すると、8ビット乱数生成回路6301A(B)にて0〜255(00h〜FFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、8ビット乱数ラッチ1回路6340Aは、8ビット乱数生成回路6301Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ1回路6340Bは、8ビット乱数生成回路6301Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 8-bit random number latch 1 circuit>
On the other hand, when the 8-bit random number latch 1 circuit 6340A (B) receives the signal of the special symbol 1 start switch 42a or the latch signal of the random number latch status register LATST1, the 8-bit random number generation circuit 6301A (B) It holds (latches) hardware random numbers updated in a numerical range of .about.255 (00h to FFh). The 8-bit random number latch 1 circuit 6340A holds (latches) the hardware random number updated by the 8-bit random number generation circuit 6301A, and the 8-bit random number latch 1 circuit 6340B is updated by the 8-bit random number generation circuit 6301B. Hold (latch) the hardware random number.

ところで、このように8ビット乱数ラッチ1回路6340A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある8ビット乱数ラッチレジスタRNDF08RG1_A(B)に格納される。具体的には、図8(b)に示すように、8ビット乱数ラッチ1回路6340Aに保持(ラッチ)されたハードウェア乱数は、8ビット乱数ラッチレジスタRNDF08RG1_Aに格納され、8ビット乱数ラッチ1回路6340Bに保持(ラッチ)されたハードウェア乱数は、8ビット乱数ラッチレジスタRNDF08RG1_Bに格納される。なお、この8ビット乱数ラッチレジスタRNDF08RG1_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   Incidentally, the hardware random number held (latched) by the 8-bit random number latch 1 circuit 6340A (B) in this way is stored in the 8-bit random number latch register RNDF08RG1_A (B) in the internal function register 6304. Specifically, as shown in FIG. 8B, the hardware random number held (latched) in the 8-bit random number latch 1 circuit 6340A is stored in the 8-bit random number latch register RNDF08RG1_A, and the 8-bit random number latch 1 circuit. The hardware random number held (latched) in 6340B is stored in the 8-bit random number latch register RNDF08RG1_B. The 8-bit random number latch register RNDF08RG1_A (B) is a register that can only be read, and is set to 0 as an initial value.

<乱数回路:8ビット乱数ラッチ2回路>
一方、8ビット乱数ラッチ2回路6341A(B)は、特別図柄2始動口スイッチ43aの信号、又は、乱数ラッチステータスレジスタLATST2のラッチ信号を受信すると、8ビット乱数生成回路6301A(B)にて0〜255(00h〜FFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、8ビット乱数ラッチ2回路6341Aは、8ビット乱数生成回路6301Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ2回路6341Bは、8ビット乱数生成回路6301Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 8-bit random number latch 2 circuit>
On the other hand, when the 8-bit random number latch 2 circuit 6341A (B) receives the signal of the special symbol 2 start port switch 43a or the latch signal of the random number latch status register LATST2, the 8-bit random number generation circuit 6301A (B) It holds (latches) hardware random numbers updated in a numerical range of .about.255 (00h to FFh). The 8-bit random number latch 2 circuit 6341A holds (latches) the hardware random number updated by the 8-bit random number generation circuit 6301A, and the 8-bit random number latch 2 circuit 6341B updates by the 8-bit random number generation circuit 6301B. Hold (latch) the hardware random number.

ところで、このように8ビット乱数ラッチ2回路6341A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある8ビット乱数ラッチレジスタRNDF08RG2_A(B)に格納される。具体的には、図8(b)に示すように、8ビット乱数ラッチ2回路6341Aに保持(ラッチ)されたハードウェア乱数は、8ビット乱数ラッチレジスタRNDF08RG2_Aに格納され、8ビット乱数ラッチ2回路6341Bに保持(ラッチ)されたハードウェア乱数は、8ビット乱数ラッチレジスタRNDF08RG2_Bに格納される。なお、この8ビット乱数ラッチレジスタRNDF08RG2_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 8-bit random number latch 2 circuit 6341A (B) in this way is stored in the 8-bit random number latch register RNDF08RG2_A (B) in the internal function register 6304. Specifically, as shown in FIG. 8B, the hardware random number held (latched) in the 8-bit random number latch 2 circuit 6341A is stored in the 8-bit random number latch register RNDF08RG2_A, and the 8-bit random number latch 2 circuit The hardware random number held (latched) in 6341B is stored in the 8-bit random number latch register RNDF08RG2_B. The 8-bit random number latch register RNDF08RG2_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:8ビット乱数ラッチ3回路>
また一方、8ビット乱数ラッチ3回路6342A(B)は、普通図柄始動口スイッチ45aの信号、又は、乱数ラッチステータスレジスタLATST3のラッチ信号を受信すると、8ビット乱数生成回路6301A(B)にて0〜255(00h〜FFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、8ビット乱数ラッチ3回路6342Aは、8ビット乱数生成回路6301Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ3回路6342Bは、8ビット乱数生成回路6301Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 8-bit random number latch 3 circuit>
On the other hand, when the 8-bit random number latch 3 circuit 6342A (B) receives the signal of the normal symbol start port switch 45a or the latch signal of the random number latch status register LATST3, the 8-bit random number generation circuit 6301A (B) It holds (latches) hardware random numbers updated in a numerical range of .about.255 (00h to FFh). The 8-bit random number latch 3 circuit 6342A holds (latches) the hardware random number updated by the 8-bit random number generation circuit 6301A, and the 8-bit random number latch 3 circuit 6342B updates by the 8-bit random number generation circuit 6301B. Hold (latch) the hardware random number.

ところで、このように8ビット乱数ラッチ3回路6342A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある8ビット乱数ラッチレジスタRNDF08RG3_A(B)に格納される。具体的には、図8(b)に示すように、8ビット乱数ラッチ3回路6342Aに保持(ラッチ)されたハードウェア乱数は、8ビット乱数ラッチレジスタRNDF08RG3_Aに格納され、8ビット乱数ラッチ3回路6342Bに保持(ラッチ)されたハードウェア乱数は、8ビット乱数ラッチレジスタRNDF08RG3_Bに格納される。なお、この8ビット乱数ラッチレジスタRNDF08RG3_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   Incidentally, the hardware random number held (latched) by the 8-bit random number latch 3 circuit 6342A (B) in this way is stored in the 8-bit random number latch register RNDF08RG3_A (B) in the internal function register 6304. Specifically, as shown in FIG. 8B, the hardware random number held (latched) in the 8-bit random number latch 3 circuit 6342A is stored in the 8-bit random number latch register RNDF08RG3_A, and the 8-bit random number latch 3 circuit The hardware random number held (latched) in 6342B is stored in the 8-bit random number latch register RNDF08RG3_B. The 8-bit random number latch register RNDF08RG3_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:16ビットカスタム乱数ラッチ1回路>
他方、16ビットカスタム乱数ラッチ1回路6350A(B)は、特別図柄1始動口スイッチ42aの信号、又は、乱数ラッチステータスレジスタLATST1のラッチ信号を受信すると、16ビットカスタム乱数生成回路6302A(B)にて0〜65535(0000h〜FFFFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、16ビットカスタム乱数ラッチ1回路6350Aは、16ビットカスタム乱数生成回路6302Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ1回路6350Bは、16ビットカスタム乱数生成回路6302Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 16-bit custom random number latch 1 circuit>
On the other hand, when the 16-bit custom random number latch 1 circuit 6350A (B) receives the signal of the special symbol 1 start switch 42a or the latch signal of the random number latch status register LATST1, the 16-bit custom random number latch circuit 6350A (B) The hardware random number updated in the numerical range of 0 to 65535 (0000h to FFFFh) is held (latched). The 16-bit custom random number latch 1 circuit 6350A holds (latches) the hardware random number updated by the 16-bit custom random number generation circuit 6302A, and the 16-bit custom random number latch 1 circuit 6350B includes a 16-bit custom random number generation circuit 6350A. The hardware random number updated in 6302B is held (latched).

ところで、このように16ビットカスタム乱数ラッチ1回路6350A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある16ビットカスタム乱数ラッチレジスタRNDV16RG1_A(B)に格納される。具体的には、図8(c)に示すように、16ビットカスタム乱数ラッチ1回路6350Aに保持(ラッチ)されたハードウェア乱数は、16ビットカスタム乱数ラッチレジスタRNDV16RG1_Aに格納され、16ビットカスタム乱数ラッチ1回路6350Bに保持(ラッチ)されたハードウェア乱数は、16ビットカスタム乱数ラッチレジスタRNDV16RG1_Bに格納される。なお、この16ビットカスタム乱数ラッチレジスタRNDV16RG1_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 16-bit custom random number latch 1 circuit 6350A (B) is stored in the 16-bit custom random number latch register RNDV16RG1_A (B) in the internal function register 6304. . Specifically, as shown in FIG. 8 (c), the hardware random number held (latched) in the 16-bit custom random number latch 1 circuit 6350A is stored in the 16-bit custom random number latch register RNDV16RG1_A, and the 16-bit custom random number The hardware random number held (latched) in the latch 1 circuit 6350B is stored in the 16-bit custom random number latch register RNDV16RG1_B. The 16-bit custom random number latch register RNDV16RG1_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:16ビットカスタム乱数ラッチ2回路>
一方、16ビットカスタム乱数ラッチ2回路6351A(B)は、特別図柄2始動口スイッチ43aの信号、又は、乱数ラッチステータスレジスタLATST2のラッチ信号を受信すると、16ビットカスタム乱数生成回路6302A(B)にて0〜65535(0000h〜FFFFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、16ビットカスタム乱数ラッチ2回路6351Aは、16ビットカスタム乱数生成回路6302Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ2回路6351Bは、16ビットカスタム乱数生成回路6302Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 16-bit custom random number latch 2 circuit>
On the other hand, when the 16-bit custom random number latch 2 circuit 6351A (B) receives the signal of the special symbol 2 start port switch 43a or the latch signal of the random number latch status register LATST2, the 16-bit custom random number latch circuit 6302A (B) The hardware random number updated in the numerical range of 0 to 65535 (0000h to FFFFh) is held (latched). The 16-bit custom random number latch 2 circuit 6351A holds (latches) the hardware random number updated by the 16-bit custom random number generation circuit 6302A, and the 16-bit custom random number latch 2 circuit 6351B includes a 16-bit custom random number generation circuit 6351A. The hardware random number updated in 6302B is held (latched).

ところで、このように16ビットカスタム乱数ラッチ2回路6351A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある16ビットカスタム乱数ラッチレジスタRNDV16RG2_A(B)に格納される。具体的には、図8(c)に示すように、16ビットカスタム乱数ラッチ2回路6351Aに保持(ラッチ)されたハードウェア乱数は、16ビットカスタム乱数ラッチレジスタRNDV16RG2_Aに格納され、16ビットカスタム乱数ラッチ2回路6351Bに保持(ラッチ)されたハードウェア乱数は、16ビットカスタム乱数ラッチレジスタRNDV16RG2_Bに格納される。なお、この16ビットカスタム乱数ラッチレジスタRNDV16RG2_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 16-bit custom random number latch 2 circuit 6351A (B) in this way is stored in the 16-bit custom random number latch register RNDV16RG2_A (B) in the internal function register 6304. . Specifically, as shown in FIG. 8C, the hardware random number held (latched) in the 16-bit custom random number latch 2 circuit 6351A is stored in the 16-bit custom random number latch register RNDV16RG2_A, and the 16-bit custom random number latch The hardware random number held (latched) in the latch 2 circuit 6351B is stored in the 16-bit custom random number latch register RNDV16RG2_B. The 16-bit custom random number latch register RNDV16RG2_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:16ビットカスタム乱数ラッチ3回路>
また一方、16ビットカスタム乱数ラッチ3回路6352A(B)は、普通図柄始動口スイッチ45aの信号、又は、乱数ラッチステータスレジスタLATST3のラッチ信号を受信すると、16ビットカスタム乱数生成回路6302A(B)にて0〜65535(0000h〜FFFFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、16ビットカスタム乱数ラッチ3回路6352Aは、16ビットカスタム乱数生成回路6302Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ3回路6352Bは、16ビットカスタム乱数生成回路6302Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 16 bit custom random number latch 3 circuit>
On the other hand, when the 16-bit custom random number latch 3 circuit 6352A (B) receives the signal of the normal symbol start port switch 45a or the latch signal of the random number latch status register LATST3, the 16-bit custom random number latch circuit 6352A (B) The hardware random number updated in the numerical range of 0 to 65535 (0000h to FFFFh) is held (latched). The 16-bit custom random number latch 3 circuit 6352A holds (latches) the hardware random number updated by the 16-bit custom random number generation circuit 6302A, and the 16-bit custom random number latch 3 circuit 6352B includes a 16-bit custom random number generation circuit 6352A. The hardware random number updated in 6302B is held (latched).

ところで、このように16ビットカスタム乱数ラッチ3回路6352A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある16ビットカスタム乱数ラッチレジスタRNDV16RG3_A(B)に格納される。具体的には、図8(c)に示すように、16ビットカスタム乱数ラッチ3回路6352Aに保持(ラッチ)されたハードウェア乱数は、16ビットカスタム乱数ラッチレジスタRNDV16RG3_Aに格納され、16ビットカスタム乱数ラッチ3回路6352Bに保持(ラッチ)されたハードウェア乱数は、16ビットカスタム乱数ラッチレジスタRNDV16RG3_Bに格納される。なお、この16ビットカスタム乱数ラッチレジスタRNDV16RG3_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 16-bit custom random number latch 3 circuit 6352A (B) as described above is stored in the 16-bit custom random number latch register RNDV16RG3_A (B) in the internal function register 6304. . Specifically, as shown in FIG. 8C, the hardware random number held (latched) in the 16-bit custom random number latch 3 circuit 6352A is stored in the 16-bit custom random number latch register RNDV16RG3_A, and the 16-bit custom random number The hardware random number held (latched) in the latch 3 circuit 6352B is stored in the 16-bit custom random number latch register RNDV16RG3_B. The 16-bit custom random number latch register RNDV16RG3_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:8ビットカスタム乱数ラッチ1回路>
他方、8ビットカスタム乱数ラッチ1回路6360A(B)は、特別図柄1始動口スイッチ42aの信号、又は、乱数ラッチステータスレジスタLATST1のラッチ信号を受信すると、8ビットカスタム乱数生成回路6303A(B)にて0〜255(00h〜FFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、8ビットカスタム乱数ラッチ1回路6360Aは、8ビットカスタム乱数生成回路6303Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビットカスタム乱数ラッチ1回路6360Bは、8ビットカスタム乱数生成回路6303Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 8-bit custom random number latch 1 circuit>
On the other hand, when the 8-bit custom random number latch 1 circuit 6360A (B) receives the signal of the special symbol 1 start switch 42a or the latch signal of the random number latch status register LATST1, the 8-bit custom random number latch circuit 6360A (B) The hardware random number updated in the numerical range of 0 to 255 (00h to FFh) is held (latched). The 8-bit custom random number latch 1 circuit 6360A holds (latches) the hardware random number updated by the 8-bit custom random number generation circuit 6303A, and the 8-bit custom random number latch 1 circuit 6360B includes an 8-bit custom random number generation circuit 6360A. The hardware random number updated in 6303B is held (latched).

ところで、このように8ビットカスタム乱数ラッチ1回路6360A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある8ビットカスタム乱数ラッチレジスタRNDV08RG1_A(B)に格納される。具体的には、図8(d)に示すように、8ビットカスタム乱数ラッチ1回路6360Aに保持(ラッチ)されたハードウェア乱数は、8ビットカスタム乱数ラッチレジスタRNDV08RG1_Aに格納され、8ビットカスタム乱数ラッチ1回路6360Bに保持(ラッチ)されたハードウェア乱数は、8ビットカスタム乱数ラッチレジスタRNDV08RG1_Bに格納される。なお、この8ビットカスタム乱数ラッチレジスタRNDV08RG1_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 8-bit custom random number latch 1 circuit 6360A (B) as described above is stored in the 8-bit custom random number latch register RNDV08RG1_A (B) in the internal function register 6304. . Specifically, as shown in FIG. 8D, the hardware random number held (latched) in the 8-bit custom random number latch 1 circuit 6360A is stored in the 8-bit custom random number latch register RNDV08RG1_A, and the 8-bit custom random number The hardware random number held (latched) in the latch 1 circuit 6360B is stored in the 8-bit custom random number latch register RNDV08RG1_B. The 8-bit custom random number latch register RNDV08RG1_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:8ビットカスタム乱数ラッチ2回路>
一方、8ビットカスタム乱数ラッチ2回路6361A(B)は、特別図柄2始動口スイッチ43aの信号、又は、乱数ラッチステータスレジスタLATST2のラッチ信号を受信すると、8ビットカスタム乱数生成回路6303A(B)にて0〜255(00h〜FFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、8ビットカスタム乱数ラッチ2回路6361Aは、8ビットカスタム乱数生成回路6303Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビットカスタム乱数ラッチ2回路6361Bは、8ビットカスタム乱数生成回路6303Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 8-bit custom random number latch 2 circuit>
On the other hand, when the 8-bit custom random number latch 2 circuit 6361A (B) receives the signal of the special symbol 2 start port switch 43a or the latch signal of the random number latch status register LATST2, the 8-bit custom random number latch circuit 6303A (B) The hardware random number updated in the numerical range of 0 to 255 (00h to FFh) is held (latched). The 8-bit custom random number latch 2 circuit 6361A holds (latches) the hardware random number updated by the 8-bit custom random number generation circuit 6303A, and the 8-bit custom random number latch 2 circuit 6361B includes the 8-bit custom random number generation circuit 6361A. The hardware random number updated in 6303B is held (latched).

ところで、このように8ビットカスタム乱数ラッチ2回路6361A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある8ビットカスタム乱数ラッチレジスタRNDV08RG2_A(B)に格納される。具体的には、図8(d)に示すように、8ビットカスタム乱数ラッチ2回路6361Aに保持(ラッチ)されたハードウェア乱数は、8ビットカスタム乱数ラッチレジスタRNDV08RG2_Aに格納され、8ビットカスタム乱数ラッチ2回路6361Bに保持(ラッチ)されたハードウェア乱数は、8ビットカスタム乱数ラッチレジスタRNDV08RG2_Bに格納される。なお、この8ビットカスタム乱数ラッチレジスタRNDV08RG2_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 8-bit custom random number latch 2 circuit 6361A (B) as described above is stored in the 8-bit custom random number latch register RNDV08RG2_A (B) in the internal function register 6304. . Specifically, as shown in FIG. 8D, the hardware random number held (latched) in the 8-bit custom random number latch 2 circuit 6361A is stored in the 8-bit custom random number latch register RNDV08RG2_A, and the 8-bit custom random number The hardware random number held (latched) in the latch 2 circuit 6361B is stored in the 8-bit custom random number latch register RNDV08RG2_B. The 8-bit custom random number latch register RNDV08RG2_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:8ビットカスタム乱数ラッチ3回路>
一方、8ビットカスタム乱数ラッチ3回路6362A(B)は、普通図柄始動口スイッチ45aの信号、又は、乱数ラッチステータスレジスタLATST3のラッチ信号を受信すると、8ビットカスタム乱数生成回路6303A(B)にて0〜255(00h〜FFh)の数値範囲で更新されたハードウェア乱数を保持(ラッチ)するものである。なお、8ビットカスタム乱数ラッチ3回路6362Aは、8ビットカスタム乱数生成回路6303Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビットカスタム乱数ラッチ3回路6362Bは、8ビットカスタム乱数生成回路6303Bにて更新されたハードウェア乱数を保持(ラッチ)する。
<Random number circuit: 8-bit custom random number latch 3 circuit>
On the other hand, when the 8-bit custom random number latch 3 circuit 6362A (B) receives the signal of the normal symbol start port switch 45a or the latch signal of the random number latch status register LATST3, the 8-bit custom random number latch circuit 6303A (B) A hardware random number updated in a numerical value range of 0 to 255 (00h to FFh) is held (latched). The 8-bit custom random number latch 3 circuit 6362A holds (latches) the hardware random number updated by the 8-bit custom random number generation circuit 6303A, and the 8-bit custom random number latch 3 circuit 6362B includes an 8-bit custom random number generation circuit 6362A. The hardware random number updated in 6303B is held (latched).

ところで、このように8ビットカスタム乱数ラッチ3回路6362A(B)にて保持(ラッチ)されたハードウェア乱数は、内部機能レジスタ6304内にある8ビットカスタム乱数ラッチレジスタRNDV08RG3_A(B)に格納される。具体的には、図8(d)に示すように、8ビットカスタム乱数ラッチ3回路6362Aに保持(ラッチ)されたハードウェア乱数は、8ビットカスタム乱数ラッチレジスタRNDV08RG3_Aに格納され、8ビットカスタム乱数ラッチ3回路6362Bに保持(ラッチ)されたハードウェア乱数は、8ビットカスタム乱数ラッチレジスタRNDV08RG3_Bに格納される。なお、この8ビットカスタム乱数ラッチレジスタRNDV08RG3_A(B)は、読み出しのみ可能なレジスタで、初期値として0が設定される。   By the way, the hardware random number held (latched) by the 8-bit custom random number latch 3 circuit 6362A (B) in this way is stored in the 8-bit custom random number latch register RNDV08RG3_A (B) in the internal function register 6304. . Specifically, as shown in FIG. 8 (d), the hardware random number held (latched) in the 8-bit custom random number latch 3 circuit 6362A is stored in the 8-bit custom random number latch register RNDV08RG3_A, and the 8-bit custom random number The hardware random number held (latched) in the latch 3 circuit 6362B is stored in the 8-bit custom random number latch register RNDV08RG3_B. The 8-bit custom random number latch register RNDV08RG3_A (B) is a register that can only be read, and 0 is set as an initial value.

<乱数回路:乱数ラッチステータスレジスタLATSTS1〜3>
ところで、このような16ビット乱数ラッチ1回路6330A(B)と、16ビット乱数ラッチ2回路6331A(B)と、16ビット乱数ラッチ3回路6332A(B)と、8ビット乱数ラッチ1回路6340A(B)と、8ビット乱数ラッチ2回路6341A(B)と、8ビット乱数ラッチ3回路6342A(B)と、16ビットカスタム乱数ラッチ1回路6350A(B)と、16ビットカスタム乱数ラッチ2回路6351A(B)と、16ビットカスタム乱数ラッチ3回路6352A(B)と、8ビットカスタム乱数ラッチ1回路6360A(B)と、8ビットカスタム乱数ラッチ2回路6361A(B)と、8ビットカスタム乱数ラッチ3回路6362A(B)は、内部機能レジスタ6304内にある乱数ラッチステータスレジスタLATSTS1〜3にて、ハードウェア乱数が保持(ラッチ)されているかどうかを確認することができる。
<Random number circuit: Random number latch status register LATSTS1-3>
By the way, such a 16-bit random number latch 1 circuit 6330A (B), a 16-bit random number latch 2 circuit 6331A (B), a 16-bit random number latch 3 circuit 6332A (B), and an 8-bit random number latch 1 circuit 6340A (B ), 8-bit random number latch 2 circuit 6341A (B), 8-bit random number latch 3 circuit 6342A (B), 16-bit custom random number latch 1 circuit 6350A (B), and 16-bit custom random number latch 2 circuit 6351A (B) ), 16-bit custom random number latch 3 circuit 6352A (B), 8-bit custom random number latch 1 circuit 6360A (B), 8-bit custom random number latch 2 circuit 6361A (B), and 8-bit custom random number latch 3 circuit 6362A. (B) is a random number latch status register in the internal function register 6304. At LATSTS1~3, it is possible to confirm whether or not the hardware random number is stored (latch).

<乱数回路:乱数ラッチステータスレジスタLATSTS1>
具体的には、図9に示すように、乱数ラッチステータスレジスタLATSTS1は、8ビットからなり、最下位ビットから順に、乱数ラッチステータスレジスタLATSTS1_0〜7で構成される。そしてさらに、乱数ラッチステータスレジスタLATSTS1は、読み書きでき、初期値には0が設定される。なお、最下位ビット(0ビット目)に対応する乱数ラッチステータスレジスタLATSTS1_0は、8ビットカスタム乱数ラッチ1回路6360Bに対応し、1ビット目に対応する乱数ラッチステータスレジスタLATSTS1_1は、8ビットカスタム乱数ラッチ1回路6360Aに対応し、2ビット目に対応する乱数ラッチステータスレジスタLATSTS1_2は、16ビットカスタム乱数ラッチ1回路6350Bに対応し、3ビット目に対応する乱数ラッチステータスレジスタLATSTS1_3は、16ビットカスタム乱数ラッチ1回路6350Aに対応し、4ビット目に対応する乱数ラッチステータスレジスタLATSTS1_4は、8ビット乱数ラッチ1回路6340Bに対応し、5ビット目に対応する乱数ラッチステータスレジスタLATSTS1_5は、8ビット乱数ラッチ1回路6340Aに対応し、6ビット目に対応する乱数ラッチステータスレジスタLATSTS1_6は、16ビット乱数ラッチ1回路6330Bに対応し、最上位ビット(7ビット目)に対応する乱数ラッチステータスレジスタLATSTS1_7は、16ビット乱数ラッチ1回路6330Aに対応している。
<Random number circuit: Random number latch status register LATSTS1>
Specifically, as shown in FIG. 9, the random number latch status register LATSTS1 is composed of 8 bits, and is composed of random number latch status registers LATSTS1_0 to 7 in order from the least significant bit. Further, the random number latch status register LATSTS1 can be read and written, and 0 is set as an initial value. The random number latch status register LATSTS1_0 corresponding to the least significant bit (0th bit) corresponds to the 8-bit custom random number latch 1 circuit 6360B, and the random number latch status register LATSTS1_1 corresponding to the first bit is an 8-bit custom random number latch. The random number latch status register LATSTS1_2 corresponding to the second bit corresponding to the first circuit 6360A corresponds to the 16-bit custom random number latch 1 circuit 6350B, and the random number latch status register LATSTS1_3 corresponding to the third bit is the 16-bit custom random number latch. The random number latch status register LATSTS1_4 corresponding to the fourth bit corresponding to the first circuit 6350A corresponds to the random number latch status register LATSTS1_4 corresponding to the eighth bit random number latch 1 circuit 6340B. The data LATSTS1_5 corresponds to the 8-bit random number latch 1 circuit 6340A, and the random number latch status register LATSTS1_6 corresponding to the sixth bit corresponds to the 16-bit random number latch 1 circuit 6330B and corresponds to the most significant bit (the seventh bit). The random number latch status register LATSTS1_7 corresponds to the 16-bit random number latch 1 circuit 6330A.

かくして、このように構成される乱数ラッチステータスレジスタLATSTS1を主制御CPU600にて読み出すと、0か1の値を読み出すことができる。すなわち、乱数ラッチステータスレジスタLATSTS1_0〜7の何れか又は全ての値が0であれば、それに対応する8ビットカスタム乱数ラッチ1回路6360B、8ビットカスタム乱数ラッチ1回路6360A、16ビットカスタム乱数ラッチ1回路6350B、16ビットカスタム乱数ラッチ1回路6350A、8ビット乱数ラッチ1回路6340B、8ビット乱数ラッチ1回路6340A、16ビット乱数ラッチ1回路6330B、16ビット乱数ラッチ1回路6330Aの何れか又は全てにハードウェア乱数が保持(ラッチ)されていないと判断でき、乱数ラッチステータスレジスタLATSTS1_0〜7の何れか又は全ての値が1であれば、それに対応する8ビットカスタム乱数ラッチ1回路6360B、8ビットカスタム乱数ラッチ1回路6360A、16ビットカスタム乱数ラッチ1回路6350B、16ビットカスタム乱数ラッチ1回路6350A、8ビット乱数ラッチ1回路6340B、8ビット乱数ラッチ1回路6340A、16ビット乱数ラッチ1回路6330B、16ビット乱数ラッチ1回路6330Aの何れか又は全てにハードウェア乱数が保持(ラッチ)されていると判断できる。   Thus, when the main control CPU 600 reads the random number latch status register LATSTS1 configured as described above, a value of 0 or 1 can be read. That is, if any or all of the random number latch status registers LATSTS1_0-7 are 0, the corresponding 8-bit custom random number latch 1 circuit 6360B, 8-bit custom random number latch 1 circuit 6360A, 16-bit custom random number latch 1 circuit 6350B, 16-bit custom random number latch 1 circuit 6350A, 8-bit random number latch 1 circuit 6340B, 8-bit random number latch 1 circuit 6340A, 16-bit random number latch 1 circuit 6330B, 16-bit random number latch 1 circuit 6330A, or all hardware If it can be determined that the random number is not held (latched) and any or all of the values in the random number latch status registers LATSTS1_0-7 are 1, the corresponding 8-bit custom random number latch 1 circuit 6360B, 8-bit custom random Latch 1 circuit 6360A, 16-bit custom random number latch 1 circuit 6350B, 16-bit custom random number latch 1 circuit 6350A, 8-bit random number latch 1 circuit 6340B, 8-bit random number latch 1 circuit 6340A, 16-bit random number latch 1 circuit 6330B, 16-bit random number It can be determined that a hardware random number is held (latched) in any or all of the latch 1 circuits 6330A.

一方、乱数ラッチステータスレジスタLATSTS1は、主制御CPU600にて、乱数ラッチステータスレジスタLATSTS1_0〜7の何れか又は全ての値に「1」が書き込まれた際、ラッチ信号をそれに対応する8ビットカスタム乱数ラッチ1回路6360B、8ビットカスタム乱数ラッチ1回路6360A、16ビットカスタム乱数ラッチ1回路6350B、16ビットカスタム乱数ラッチ1回路6350A、8ビット乱数ラッチ1回路6340B、8ビット乱数ラッチ1回路6340A、16ビット乱数ラッチ1回路6330B、16ビット乱数ラッチ1回路6330Aに送信する。これにより、8ビットカスタム乱数ラッチ1回路6360Bがラッチ信号を受信すると、8ビットカスタム乱数生成回路6303Bにて更新されたハードウェア乱数を保持(ラッチ)し、8ビットカスタム乱数ラッチ1回路6360Aがラッチ信号を受信すると、8ビットカスタム乱数生成回路6303Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ1回路6350Bがラッチ信号を受信すると、16ビットカスタム乱数生成回路6302Bにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ1回路6350Aがラッチ信号を受信すると、16ビットカスタム乱数生成回路6302Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ1回路6340Bがラッチ信号を受信すると、8ビット乱数生成回路6301Bにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ1回路6340Aがラッチ信号を受信すると、8ビット乱数生成回路6301Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ1回路6330Bがラッチ信号を受信すると、16ビット乱数生成回路6300Bにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ1回路6330Aがラッチ信号を受信すると、16ビット乱数生成回路6300Aにて更新されたハードウェア乱数を保持(ラッチ)することとなる。   On the other hand, when the main control CPU 600 writes “1” in any or all of the values of the random number latch status registers LATSTS1_0 to 7, the random number latch status register LATSTS1 is an 8-bit custom random number latch corresponding to the latch signal. 1 circuit 6360B, 8 bit custom random number latch 1 circuit 6360A, 16 bit custom random number latch 1 circuit 6350B, 16 bit custom random number latch 1 circuit 6350A, 8 bit random number latch 1 circuit 6340B, 8 bit random number latch 1 circuit 6340A, 16 bit random number The data is transmitted to the latch 1 circuit 6330B and the 16-bit random number latch 1 circuit 6330A. Accordingly, when the 8-bit custom random number latch 1 circuit 6360B receives the latch signal, the hardware random number updated by the 8-bit custom random number generation circuit 6303B is held (latched), and the 8-bit custom random number latch 1 circuit 6360A latches. When the signal is received, the hardware random number updated by the 8-bit custom random number generation circuit 6303A is held (latched). When the 16-bit custom random number latch 1 circuit 6350B receives the latch signal, the hardware random number is received by the 16-bit custom random number generation circuit 6302B. If the 16-bit custom random number latch 1 circuit 6350A receives the latch signal, the 16-bit custom random number generation circuit 6302A holds (latches) the updated hardware random number. , 8-bit random number latch 1 time When the 6340B receives the latch signal, the hardware random number updated by the 8-bit random number generation circuit 6301B is held (latched). When the 8-bit random number latch 1 circuit 6340A receives the latch signal, the 8-bit random number generation circuit 6301A receives the latch signal. When the 16-bit random number latch 1 circuit 6330B receives the latch signal, the 16-bit random number generation circuit 6300B holds (latches) the updated hardware random number. When the bit random number latch 1 circuit 6330A receives the latch signal, the hardware random number updated by the 16-bit random number generation circuit 6300A is held (latched).

他方、乱数ラッチステータスレジスタLATSTS1_0〜7の何れか又は全ての値に「0」が書き込まれた際、当該乱数ラッチステータスレジスタLATSTS1_0〜7の何れか又は全てがクリアされる。これにより、それに対応する8ビットカスタム乱数ラッチ1回路6360B、8ビットカスタム乱数ラッチ1回路6360A、16ビットカスタム乱数ラッチ1回路6350B、16ビットカスタム乱数ラッチ1回路6350A、8ビット乱数ラッチ1回路6340B、8ビット乱数ラッチ1回路6340A、16ビット乱数ラッチ1回路6330B、16ビット乱数ラッチ1回路6330Aの何れか又は全ては、保持(ラッチ)しているハードウェア乱数をクリアする。このようにすれば、特別図柄1始動口スイッチ42aを受信することによってハードウェア乱数を保持(ラッチ)する場合、従来であれば始動保留球数が上限値(例えば4個)に達している場合であっても、ハードウェア乱数を保持(ラッチ)してしまうため、その都度、保持(ラッチ)した乱数を取得しなければならなかったが、不要な場合は取得せず乱数ラッチステータスレジスタLATSTS1に「0」を設定するだけで、保持(ラッチ)したハードウェア乱数がクリアされる。そのため、処理を簡素化することができる。   On the other hand, when “0” is written in any or all of the values of the random number latch status registers LATSTS1_0 to 7, any or all of the random number latch status registers LATSTS1_0 to 7 are cleared. Accordingly, the corresponding 8-bit custom random number latch 1 circuit 6360B, 8-bit custom random number latch 1 circuit 6360A, 16-bit custom random number latch 1 circuit 6350B, 16-bit custom random number latch 1 circuit 6350A, 8-bit random number latch 1 circuit 6340B, Any or all of the 8-bit random number latch 1 circuit 6340A, the 16-bit random number latch 1 circuit 6330B, and the 16-bit random number latch 1 circuit 6330A clears the hardware random number held (latched). In this way, when the hardware random number is held (latched) by receiving the special symbol 1 starting port switch 42a, the number of starting reserved balls has reached the upper limit (for example, 4) in the conventional case. However, since the hardware random number is held (latched), the held (latched) random number has to be acquired each time. However, if it is unnecessary, the random number is not acquired and is stored in the random number latch status register LATSTS1. By simply setting “0”, the held hardware random number is cleared. Therefore, processing can be simplified.

<乱数回路:乱数ラッチステータスレジスタLATSTS2>
一方、乱数ラッチステータスレジスタLATSTS2は、図9に示すように、8ビットからなり、最下位ビットから順に、乱数ラッチステータスレジスタLATSTS2_0〜7で構成される。そしてさらに、乱数ラッチステータスレジスタLATSTS2は、読み書きでき、初期値には0が設定される。なお、最下位ビット(0ビット目)に対応する乱数ラッチステータスレジスタLATSTS2_0は、8ビットカスタム乱数ラッチ2回路6361Bに対応し、1ビット目に対応する乱数ラッチステータスレジスタLATSTS2_1は、8ビットカスタム乱数ラッチ2回路6361Aに対応し、2ビット目に対応する乱数ラッチステータスレジスタLATSTS2_2は、16ビットカスタム乱数ラッチ2回路6351Bに対応し、3ビット目に対応する乱数ラッチステータスレジスタLATSTS2_3は、16ビットカスタム乱数ラッチ2回路6351Aに対応し、4ビット目に対応する乱数ラッチステータスレジスタLATSTS2_4は、8ビット乱数ラッチ2回路6341Bに対応し、5ビット目に対応する乱数ラッチステータスレジスタLATSTS2_5は、8ビット乱数ラッチ2回路6341Aに対応し、6ビット目に対応する乱数ラッチステータスレジスタLATSTS2_6は、16ビット乱数ラッチ2回路6331Bに対応し、最上位ビット(7ビット目)に対応する乱数ラッチステータスレジスタLATSTS2_7は、16ビット乱数ラッチ2回路6331Aに対応している。
<Random number circuit: Random number latch status register LATSTS2>
On the other hand, as shown in FIG. 9, the random number latch status register LATSTS2 consists of 8 bits, and is composed of random number latch status registers LATSTS2_0 to 7 in order from the least significant bit. Further, the random number latch status register LATSTS2 can be read and written, and 0 is set as an initial value. The random number latch status register LATSTS2_0 corresponding to the least significant bit (0th bit) corresponds to the 8-bit custom random number latch 2 circuit 6361B, and the random number latch status register LATSTS2_1 corresponding to the first bit is an 8-bit custom random number latch. 2 corresponding to the second circuit 6361A, the random number latch status register LATSTS2_2 corresponding to the second bit corresponds to the 16-bit custom random number latch 2 circuit 6351B, and the random number latch status register LATSTS2_3 corresponding to the third bit is a 16-bit custom random number latch. The random number latch status register LATSTS2_4 corresponding to the fourth bit corresponding to the second circuit 6351A corresponds to the eighth bit random number latch 2 circuit 6341B and corresponds to the fifth bit. The data LATSTS2_5 corresponds to the 8-bit random number latch 2 circuit 6341A, and the random number latch status register LATSTS2_6 corresponding to the sixth bit corresponds to the 16-bit random number latch 2 circuit 6331B and corresponds to the most significant bit (seventh bit). The random number latch status register LATSTS2_7 corresponds to the 16-bit random number latch 2 circuit 6331A.

かくして、このように構成される乱数ラッチステータスレジスタLATSTS2を主制御CPU600にて読み出すと、0か1の値を読み出すことができる。すなわち、乱数ラッチステータスレジスタLATSTS2_0〜7の何れか又は全ての値が0であれば、それに対応する8ビットカスタム乱数ラッチ2回路6361B、8ビットカスタム乱数ラッチ2回路6361A、16ビットカスタム乱数ラッチ2回路6351B、16ビットカスタム乱数ラッチ2回路6351A、8ビット乱数ラッチ2回路6341B、8ビット乱数ラッチ2回路6341A、16ビット乱数ラッチ2回路6331B、16ビット乱数ラッチ2回路6331Aの何れか又は全てにハードウェア乱数が保持(ラッチ)されていないと判断でき、乱数ラッチステータスレジスタLATSTS2_0〜7の何れか又は全ての値が1であれば、それに対応する8ビットカスタム乱数ラッチ2回路6361B、8ビットカスタム乱数ラッチ2回路6361A、16ビットカスタム乱数ラッチ2回路6351B、16ビットカスタム乱数ラッチ2回路6351A、8ビット乱数ラッチ2回路6341B、8ビット乱数ラッチ2回路6341A、16ビット乱数ラッチ2回路6331B、16ビット乱数ラッチ2回路6331Aの何れか又は全てにハードウェア乱数が保持(ラッチ)されていると判断できる。   Thus, when the main control CPU 600 reads the random number latch status register LATSTS2 configured as described above, a value of 0 or 1 can be read. That is, if any or all of the random number latch status registers LATSTS2_0-7 are 0, the corresponding 8-bit custom random number latch 2 circuit 6361B, 8-bit custom random number latch 2 circuit 6361A, 16-bit custom random number latch 2 circuit 6351B, 16-bit custom random number latch 2 circuit 6351A, 8-bit random number latch 2 circuit 6341B, 8-bit random number latch 2 circuit 6341A, 16-bit random number latch 2 circuit 6331B, 16-bit random number latch 2 circuit 6331A or any hardware If it can be determined that the random number is not held (latched) and any or all of the values of the random number latch status registers LATSTS2_0-7 are 1, the corresponding 8-bit custom random number latch 2 circuit 6361B, 8-bit custom random Latch 2 circuit 6361A, 16-bit custom random number latch 2 circuit 6351B, 16-bit custom random number latch 2 circuit 6351A, 8-bit random number latch 2 circuit 6341B, 8-bit random number latch 2 circuit 6341A, 16-bit random number latch 2 circuit 6331B, 16-bit random number It can be determined that a hardware random number is held (latched) in any or all of the latch 2 circuits 6331A.

一方、乱数ラッチステータスレジスタLATSTS2は、主制御CPU600にて、乱数ラッチステータスレジスタLATSTS2_0〜7の何れか又は全ての値に「1」が書き込まれた際、ラッチ信号をそれに対応する8ビットカスタム乱数ラッチ2回路6361B、8ビットカスタム乱数ラッチ2回路6361A、16ビットカスタム乱数ラッチ2回路6351B、16ビットカスタム乱数ラッチ2回路6351A、8ビット乱数ラッチ2回路6341B、8ビット乱数ラッチ2回路6341A、16ビット乱数ラッチ2回路6331B、16ビット乱数ラッチ2回路6331Aに送信する。これにより、8ビットカスタム乱数ラッチ2回路6361Bがラッチ信号を受信すると、8ビットカスタム乱数生成回路6303Bにて更新されたハードウェア乱数を保持(ラッチ)し、8ビットカスタム乱数ラッチ2回路6361Aがラッチ信号を受信すると、8ビットカスタム乱数生成回路6303Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ2回路6351Bがラッチ信号を受信すると、16ビットカスタム乱数生成回路6302Bにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ2回路6351Aがラッチ信号を受信すると、16ビットカスタム乱数生成回路6302Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ2回路6341Bがラッチ信号を受信すると、8ビット乱数生成回路6301Bにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ2回路6341Aがラッチ信号を受信すると、8ビット乱数生成回路6301Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ2回路6331Bがラッチ信号を受信すると、16ビット乱数生成回路6300Bにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ2回路6331Aがラッチ信号を受信すると、16ビット乱数生成回路6300Aにて更新されたハードウェア乱数を保持(ラッチ)することとなる。   On the other hand, when the main control CPU 600 writes “1” to any or all of the values of the random number latch status registers LATSTS2_0 to 7, the random number latch status register LATSTS2 2-circuit 6361B, 8-bit custom random number latch 2 circuit 6361A, 16-bit custom random number latch 2 circuit 6351B, 16-bit custom random number latch 2 circuit 6351A, 8-bit random number latch 2 circuit 6341B, 8-bit random number latch 2 circuit 6341A, 16-bit random number The data is transmitted to the latch 2 circuit 6331B and the 16-bit random number latch 2 circuit 6331A. Accordingly, when the 8-bit custom random number latch 2 circuit 6361B receives the latch signal, the hardware random number updated by the 8-bit custom random number generation circuit 6303B is held (latched), and the 8-bit custom random number latch 2 circuit 6361A latches. When the signal is received, the hardware random number updated by the 8-bit custom random number generation circuit 6303A is held (latched), and when the 16-bit custom random number latch 2 circuit 6351B receives the latch signal, it is sent to the 16-bit custom random number generation circuit 6302B. When the 16-bit custom random number latch 2 circuit 6351A receives the latch signal, the 16-bit custom random number generation circuit 6302A holds (latches) the updated hardware random number. , 8 bit random number latch 2 times When the 6341B receives the latch signal, the 8-bit random number generation circuit 6301B holds (latches) the updated hardware random number. When the 8-bit random number latch 2 circuit 6341A receives the latch signal, the 8-bit random number generation circuit 6301A receives the latch signal. When the 16-bit random number latch 2 circuit 6331B receives the latch signal, the 16-bit random number generation circuit 6300B holds (latches) the updated hardware random number. When the bit random number latch 2 circuit 6331A receives the latch signal, the hardware random number updated by the 16-bit random number generation circuit 6300A is held (latched).

他方、乱数ラッチステータスレジスタLATSTS2_0〜7の何れか又は全ての値に「0」が書き込まれた際、当該乱数ラッチステータスレジスタLATSTS2_0〜7の何れか又は全てがクリアされる。これにより、それに対応する8ビットカスタム乱数ラッチ2回路6361B、8ビットカスタム乱数ラッチ2回路6361A、16ビットカスタム乱数ラッチ2回路6351B、16ビットカスタム乱数ラッチ2回路6351A、8ビット乱数ラッチ2回路6341B、8ビット乱数ラッチ2回路6341A、16ビット乱数ラッチ2回路6331B、16ビット乱数ラッチ2回路6331Aの何れか又は全ては、保持(ラッチ)しているハードウェア乱数をクリアする。このようにすれば、特別図柄2始動口スイッチ43aを受信することによってハードウェア乱数を保持(ラッチ)する場合、従来であれば始動保留球数が上限値(例えば4個)に達している場合であっても、ハードウェア乱数を保持(ラッチ)してしまうため、その都度、保持(ラッチ)した乱数を取得しなければならなかったが、不要な場合は取得せず乱数ラッチステータスレジスタLATSTS2に「0」を設定するだけで、保持(ラッチ)したハードウェア乱数がクリアされる。そのため、処理を簡素化することができる。   On the other hand, when “0” is written in any or all of the values of the random number latch status registers LATSTS2_0 to 7, the random number latch status registers LATSTS2_0 to 7 are cleared. Accordingly, the corresponding 8-bit custom random number latch 2 circuit 6361B, 8-bit custom random number latch 2 circuit 6361A, 16-bit custom random number latch 2 circuit 6351B, 16-bit custom random number latch 2 circuit 6351A, 8-bit random number latch 2 circuit 6341B, Any or all of the 8-bit random number latch 2 circuit 6341A, the 16-bit random number latch 2 circuit 6331B, and the 16-bit random number latch 2 circuit 6331A clear the held hardware random number. In this way, when the hardware random number is held (latched) by receiving the special symbol 2 starting port switch 43a, the number of starting reserved balls has reached the upper limit (for example, 4) in the conventional case. However, since the hardware random number is held (latched), the held random number has to be acquired each time. However, if it is unnecessary, the random number is not acquired and is stored in the random number latch status register LATSTS2. By simply setting “0”, the held hardware random number is cleared. Therefore, processing can be simplified.

<乱数回路:乱数ラッチステータスレジスタLATSTS3>
具体的には、図9に示すように、乱数ラッチステータスレジスタLATSTS3は、8ビットからなり、最下位ビットから順に、乱数ラッチステータスレジスタLATSTS3_0〜7で構成される。そしてさらに、乱数ラッチステータスレジスタLATSTS3は、読み書きでき、初期値には0が設定される。なお、最下位ビット(0ビット目)に対応する乱数ラッチステータスレジスタLATSTS3_0は、8ビットカスタム乱数ラッチ3回路6362Bに対応し、1ビット目に対応する乱数ラッチステータスレジスタLATSTS3_1は、8ビットカスタム乱数ラッチ3回路6362Aに対応し、2ビット目に対応する乱数ラッチステータスレジスタLATSTS3_2は、16ビットカスタム乱数ラッチ3回路6352Bに対応し、3ビット目に対応する乱数ラッチステータスレジスタLATSTS3_3は、16ビットカスタム乱数ラッチ3回路6352Aに対応し、4ビット目に対応する乱数ラッチステータスレジスタLATSTS3_4は、8ビット乱数ラッチ3回路6342Bに対応し、5ビット目に対応する乱数ラッチステータスレジスタLATSTS3_5は、8ビット乱数ラッチ3回路6342Aに対応し、6ビット目に対応する乱数ラッチステータスレジスタLATSTS3_6は、16ビット乱数ラッチ3回路6332Bに対応し、最上位ビット(7ビット目)に対応する乱数ラッチステータスレジスタLATSTS3_7は、16ビット乱数ラッチ3回路6332Aに対応している。
<Random number circuit: Random number latch status register LATSTS3>
Specifically, as shown in FIG. 9, the random number latch status register LATSTS3 is composed of 8 bits, and is composed of random number latch status registers LATSTS3_0 to 7 in order from the least significant bit. Further, the random number latch status register LATSTS3 can be read and written, and 0 is set as an initial value. The random number latch status register LATSTS3_0 corresponding to the least significant bit (0th bit) corresponds to the 8-bit custom random number latch 3 circuit 6362B, and the random number latch status register LATSTS3_1 corresponding to the first bit is an 8-bit custom random number latch. The random number latch status register LATSTS3_2 corresponding to the second bit corresponding to the third circuit 6362A corresponds to the 16 bit custom random number latch 3 circuit 6352B, and the random number latch status register LATSTS3_3 corresponding to the third bit is the 16 bit custom random number latch. The random number latch status register LATSTS3_4 corresponding to the fourth bit corresponding to the third circuit 6352A corresponds to the eighth bit random number latch 3 circuit 6342B and corresponds to the fifth bit. The data LATSTS3_5 corresponds to the 8-bit random number latch 3 circuit 6342A, the random number latch status register LATSTS3_6 corresponding to the sixth bit corresponds to the 16-bit random number latch 3 circuit 6332B, and corresponds to the most significant bit (seventh bit). The random number latch status register LATSTS3_7 corresponds to the 16-bit random number latch 3 circuit 6332A.

かくして、このように構成される乱数ラッチステータスレジスタLATSTS3を主制御CPU600にて読み出すと、0か1の値を読み出すことができる。すなわち、乱数ラッチステータスレジスタLATSTS3_0〜7の何れか又は全ての値が0であれば、それに対応する8ビットカスタム乱数ラッチ3回路6362B、8ビットカスタム乱数ラッチ3回路6362A、16ビットカスタム乱数ラッチ3回路6352B、16ビットカスタム乱数ラッチ3回路6352A、8ビット乱数ラッチ3回路6342B、8ビット乱数ラッチ3回路6342A、16ビット乱数ラッチ3回路6332B、16ビット乱数ラッチ3回路6332Aの何れか又は全てにハードウェア乱数が保持(ラッチ)されていないと判断でき、乱数ラッチステータスレジスタLATSTS3_0〜7の何れか又は全ての値が1であれば、それに対応する8ビットカスタム乱数ラッチ3回路6362B、8ビットカスタム乱数ラッチ3回路6362A、16ビットカスタム乱数ラッチ3回路6352B、16ビットカスタム乱数ラッチ3回路6352A、8ビット乱数ラッチ3回路6342B、8ビット乱数ラッチ3回路6342A、16ビット乱数ラッチ3回路6332B、16ビット乱数ラッチ3回路6332Aの何れか又は全てにハードウェア乱数が保持(ラッチ)されていると判断できる。   Thus, when the main control CPU 600 reads the random number latch status register LATSTS3 configured as described above, a value of 0 or 1 can be read. That is, if any or all of the random number latch status registers LATSTS3_0-7 are 0, the corresponding 8-bit custom random number latch 3 circuit 6362B, 8-bit custom random number latch 3 circuit 6362A, 16-bit custom random number latch 3 circuit 6352B, 16-bit custom random number latch 3 circuit 6352A, 8-bit random number latch 3 circuit 6342B, 8-bit random number latch 3 circuit 6342A, 16-bit random number latch 3 circuit 6332B, and 16-bit random number latch 3 circuit 6332A are hardware If it can be determined that the random number is not held (latched) and any or all of the values of the random number latch status registers LATSTS3_0-7 are 1, the corresponding 8-bit custom random number latch 3 circuit 6362B, 8-bit custom random Latch 3 circuit 6362A, 16-bit custom random number latch 3 circuit 6352B, 16-bit custom random number latch 3 circuit 6352A, 8-bit random number latch 3 circuit 6342B, 8-bit random number latch 3 circuit 6342A, 16-bit random number latch 3 circuit 6332B, 16-bit random number It can be determined that a hardware random number is held (latched) in any or all of the latch 3 circuits 6332A.

一方、乱数ラッチステータスレジスタLATSTS3は、主制御CPU600にて、乱数ラッチステータスレジスタLATSTS3_0〜7の何れか又は全ての値に「1」が書き込まれた際、ラッチ信号をそれに対応する8ビットカスタム乱数ラッチ3回路6362B、8ビットカスタム乱数ラッチ3回路6362A、16ビットカスタム乱数ラッチ3回路6352B、16ビットカスタム乱数ラッチ3回路6352A、8ビット乱数ラッチ3回路6342B、8ビット乱数ラッチ3回路6342A、16ビット乱数ラッチ3回路6332B、16ビット乱数ラッチ3回路6332Aに送信する。これにより、8ビットカスタム乱数ラッチ3回路6362Bがラッチ信号を受信すると、8ビットカスタム乱数生成回路6303Bにて更新されたハードウェア乱数を保持(ラッチ)し、8ビットカスタム乱数ラッチ3回路6362Aがラッチ信号を受信すると、8ビットカスタム乱数生成回路6303Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ3回路6352Bがラッチ信号を受信すると、16ビットカスタム乱数生成回路6302Bにて更新されたハードウェア乱数を保持(ラッチ)し、16ビットカスタム乱数ラッチ3回路6352Aがラッチ信号を受信すると、16ビットカスタム乱数生成回路6302Aにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ2回路6342Bがラッチ信号を受信すると、8ビット乱数生成回路6301Bにて更新されたハードウェア乱数を保持(ラッチ)し、8ビット乱数ラッチ2回路6342Aがラッチ信号を受信すると、8ビット乱数生成回路6301Aにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ3回路6332Bがラッチ信号を受信すると、16ビット乱数生成回路6300Bにて更新されたハードウェア乱数を保持(ラッチ)し、16ビット乱数ラッチ3回路6332Aがラッチ信号を受信すると、16ビット乱数生成回路6300Aにて更新されたハードウェア乱数を保持(ラッチ)することとなる。   On the other hand, when the main control CPU 600 writes “1” to any or all of the values of the random number latch status registers LATSTS3_0 to 7, the random number latch status register LATSTS3 is an 8-bit custom random number latch corresponding to the latch signal. 3 circuit 6362B, 8 bit custom random number latch 3 circuit 6362A, 16 bit custom random number latch 3 circuit 6352B, 16 bit custom random number latch 3 circuit 6352A, 8 bit random number latch 3 circuit 6342B, 8 bit random number latch 3 circuit 6342A, 16 bit random number The data is transmitted to the latch 3 circuit 6332B and the 16-bit random number latch 3 circuit 6332A. Accordingly, when the 8-bit custom random number latch 3 circuit 6362B receives the latch signal, the hardware random number updated by the 8-bit custom random number generation circuit 6303B is held (latched), and the 8-bit custom random number latch 3 circuit 6362A latches. When the signal is received, the hardware random number updated by the 8-bit custom random number generation circuit 6303A is held (latched), and when the 16-bit custom random number latch 3 circuit 6352B receives the latch signal, the 16-bit custom random number generation circuit 6302B When the 16-bit custom random number latch 3 circuit 6352A receives the latch signal, the 16-bit custom random number generation circuit 6302A holds (latches) the updated hardware random number. , 8 bit random number latch 2 times When 6342B receives the latch signal, the 8-bit random number generation circuit 6301B holds (latches) the updated hardware random number, and when the 8-bit random number latch 2 circuit 6342A receives the latch signal, the 8-bit random number generation circuit 6301A receives the latch signal. When the 16-bit random number latch 3 circuit 6332B receives the latch signal, the 16-bit random number generation circuit 6300B holds (latches) the updated hardware random number. When the bit random number latch 3 circuit 6332A receives the latch signal, the hardware random number updated by the 16-bit random number generation circuit 6300A is held (latched).

他方、乱数ラッチステータスレジスタLATSTS3_0〜7の何れか又は全ての値に「0」が書き込まれた際、当該乱数ラッチステータスレジスタLATSTS3_0〜7の何れか又は全てがクリアされる。これにより、それに対応する8ビットカスタム乱数ラッチ3回路6362B、8ビットカスタム乱数ラッチ3回路6362A、16ビットカスタム乱数ラッチ3回路6352B、16ビットカスタム乱数ラッチ3回路6352A、8ビット乱数ラッチ3回路6342B、8ビット乱数ラッチ3回路6342A、16ビット乱数ラッチ3回路6332B、16ビット乱数ラッチ3回路6332Aの何れか又は全ては、保持(ラッチ)しているハードウェア乱数をクリアする。このようにすれば、普通図柄始動口スイッチ45aを受信することによってハードウェア乱数を保持(ラッチ)する場合、従来であれば始動保留球数が上限値(例えば4個)に達している場合であっても、ハードウェア乱数を保持(ラッチ)してしまうため、その都度、保持(ラッチ)した乱数を取得しなければならなかったが、不要な場合は取得せず乱数ラッチステータスレジスタLATSTS3に「0」を設定するだけで、保持(ラッチ)したハードウェア乱数がクリアされる。そのため、処理を簡素化することができる。   On the other hand, when “0” is written to any or all of the values of the random number latch status registers LATSTS3_0 to 7, any or all of the random number latch status registers LATSTS3_0 to 7 are cleared. Accordingly, the corresponding 8-bit custom random number latch 3 circuit 6362B, 8-bit custom random number latch 3 circuit 6362A, 16-bit custom random number latch 3 circuit 6352B, 16-bit custom random number latch 3 circuit 6352A, 8-bit random number latch 3 circuit 6342B, Any or all of the 8-bit random number latch 3 circuit 6342A, the 16-bit random number latch 3 circuit 6332B, and the 16-bit random number latch 3 circuit 6332A clear the held hardware random number. In this way, when the hardware random number is held (latched) by receiving the normal symbol start port switch 45a, the number of starting reserved balls has reached the upper limit (for example, 4) in the conventional case. Even in such a case, since the hardware random number is held (latched), the held (latched) random number has to be acquired each time. However, if it is unnecessary, it is not acquired and the random number latch status register LATSTS3 stores “ By simply setting “0”, the held (latched) hardware random number is cleared. Therefore, processing can be simplified.

<乱数回路:乱数エラーステータスレジスタRNDERR>
ところで、内部機能レジスタ6304内には、上記した乱数エラーステータスレジスタRNDERRがあるが、この点について、図10及び図11を参照して詳しく説明する。
<Random number circuit: Random number error status register RNDERR>
Incidentally, the internal function register 6304 has the random error status register RNDERR described above, which will be described in detail with reference to FIGS.

乱数エラーステータスレジスタRNDERRは、図10に示すように、8ビットからなり、最下位ビット(0ビット目)から7ビット目まで順に乱数エラーステータスレジスタRNDERR0〜RNDERR7で構成される。そして、乱数エラーステータスレジスタRNDERRは、読み出し可能で、初期値には0が設定される。なお、最下位ビット(0ビット目)に対応する乱数エラーステータスレジスタRNDERR0は、8ビットカスタム乱数生成回路6303Bに対応し、1ビット目に対応する乱数エラーステータスレジスタRNDERR1は、8ビットカスタム乱数生成回路6303Aに対応し、2ビット目に対応する乱数エラーステータスレジスタRNDERR2は、16ビットカスタム乱数生成回路6302Bに対応し、3ビット目に対応する乱数エラーステータスレジスタRNDERR3は、16ビットカスタム乱数生成回路6302Aに対応し、4ビット目に対応する乱数エラーステータスレジスタRNDERR4は、8ビット乱数生成回路6301Bに対応し、5ビット目に対応する乱数エラーステータスレジスタRNDERR5は、8ビット乱数生成回路6301Aに対応し、6ビット目に対応する乱数エラーステータスレジスタRNDERR6は、16ビット乱数生成回路6300Bに対応し、最上位ビット(7ビット目)に対応する乱数エラーステータスレジスタRNDERR7は、16ビット乱数生成回路6300Aに対応する。   As shown in FIG. 10, the random number error status register RNDERR is composed of 8 bits, and is composed of random number error status registers RNDERR0 to RNDERR7 in order from the least significant bit (0th bit) to the 7th bit. The random number error status register RNDERR can be read, and 0 is set as an initial value. The random number error status register RNDERR0 corresponding to the least significant bit (0th bit) corresponds to the 8-bit custom random number generation circuit 6303B, and the random number error status register RNDERR1 corresponding to the first bit is an 8-bit custom random number generation circuit. Corresponding to 6303A, the random error status register RNDERR2 corresponding to the second bit corresponds to the 16-bit custom random number generation circuit 6302B, and the random error status register RNDERR3 corresponding to the third bit to the 16-bit custom random number generation circuit 6302A. Correspondingly, a random number error status register RNDERR4 corresponding to the fourth bit corresponds to the 8-bit random number generation circuit 6301B, and a random number error status register RNDERR5 corresponding to the fifth bit is an 8-bit random number. The random number error status register RNDERR6 corresponding to the sixth bit corresponding to the generation circuit 6301A corresponds to the 16-bit random number generation circuit 6300B, and the random number error status register RNDERR7 corresponding to the most significant bit (seventh bit) is 16 bits. This corresponds to the random number generation circuit 6300A.

このように構成される乱数エラーステータスレジスタRNDERRは、主制御CPU600にて読み出すと、0か1の値を読み出すことができる。すなわち、乱数エラーステータスレジスタRNDERR0〜7の何れか又は全ての値が0であれば、それに対応する8ビットカスタム乱数生成回路6303B、8ビットカスタム乱数生成回路6303A、16ビットカスタム乱数生成回路6302B、16ビットカスタム乱数生成回路6302A、8ビット乱数生成回路6301B、8ビット乱数生成回路6301A、16ビット乱数生成回路6300B、16ビット乱数生成回路6300Aの何れか又は全てがエラー(異常)状態でないと判断できる。そして、乱数エラーステータスレジスタRNDERR0〜7の何れか又は全ての値が1であれば、それに対応する8ビットカスタム乱数生成回路6303B、8ビットカスタム乱数生成回路6303A、16ビットカスタム乱数生成回路6302B、16ビットカスタム乱数生成回路6302A、8ビット乱数生成回路6301B、8ビット乱数生成回路6301A、16ビット乱数生成回路6300B、16ビット乱数生成回路6300Aの何れか又は全てがエラー(異常)状態であると判断できる。   When the main control CPU 600 reads the random error status register RNDERR configured as described above, a value of 0 or 1 can be read. That is, if any or all of the random number error status registers RNDERR 0 to 7 are 0, the corresponding 8-bit custom random number generation circuit 6303B, 8-bit custom random number generation circuit 6303A, 16-bit custom random number generation circuits 6302B, 16 It can be determined that any or all of the bit custom random number generation circuit 6302A, the 8-bit random number generation circuit 6301B, the 8-bit random number generation circuit 6301A, the 16-bit random number generation circuit 6300B, and the 16-bit random number generation circuit 6300A are not in an error (abnormal) state. If any or all of the random number error status registers RNDERR 0 to 7 are 1, the corresponding 8-bit custom random number generation circuit 6303B, 8-bit custom random number generation circuit 6303A, 16-bit custom random number generation circuits 6302B, 16 It can be determined that any or all of the bit custom random number generation circuit 6302A, the 8-bit random number generation circuit 6301B, the 8-bit random number generation circuit 6301A, the 16-bit random number generation circuit 6300B, and the 16-bit random number generation circuit 6300A are in an error (abnormal) state. .

かくしてこのようにエラー(異常)が検出されると、主制御CPU600は、このエラー(異常)内容を演出制御コマンドとして演出制御基板90に送信する。これを受けて演出制御基板90(演出制御CPU900)は、このエラー(異常)内容を表示する液晶制御コマンドを液晶制御基板120に送信する。これにより、液晶制御基板120が、当該液晶制御コマンドに基づく画像を表示させるように液晶表示装置41を制御することにより、液晶表示装置41にエラー(異常)内容が表示されることとなる。   Thus, when an error (abnormality) is detected in this way, the main control CPU 600 transmits the content of the error (abnormality) to the effect control board 90 as an effect control command. In response to this, the effect control board 90 (effect control CPU 900) transmits a liquid crystal control command for displaying the error (abnormality) content to the liquid crystal control board 120. As a result, the liquid crystal control board 120 controls the liquid crystal display device 41 to display an image based on the liquid crystal control command, whereby an error (abnormal) content is displayed on the liquid crystal display device 41.

しかしながら、このように複数のハードウェア乱数回路が存在していた場合、単純に全てのエラー(異常)を表示させると、図11(a)に示すように液晶表示装置41の表示画面一杯になってしまい、処理負荷が増大してしまう。そこで、本実施形態においては、複数のエラー(異常)を表示させるのではなく、図11(b)に示すように、一つの表示態様で表示させる。   However, when there are a plurality of hardware random number circuits as described above, if all errors (abnormalities) are simply displayed, the display screen of the liquid crystal display device 41 becomes full as shown in FIG. As a result, the processing load increases. Therefore, in the present embodiment, a plurality of errors (abnormalities) are not displayed, but are displayed in one display mode as shown in FIG.

すなわち、例えば、図11(b)に示すように、「エラー1」は、ハードウェア乱数回路に異常が生じたことを示すエラー番号を示すものであり、どのハードウェア乱数回路に異常が生じたとしても共通のエラー番号となる。一方、乱数回路異常1は、16ビット乱数生成回路6300A(B)に異常が生じたことを示すものであり、そして、図示はしていないが、乱数回路異常2は、8ビット乱数生成回路6301A(B)に異常が生じたことを示し、乱数回路異常3は、16ビットカスタム乱数生成回路6302A(B)に異常が生じたことを示し、乱数回路異常4は、8ビットカスタム乱数生成回路6303A(B)に異常が生じたことを示し、乱数回路異常5は、16ビット乱数生成回路6300A(B)と16ビットカスタム乱数生成回路6302A(B)に異常が生じたことを示す。というように、16ビット乱数生成回路6300A(B)と、8ビット乱数生成回路6301A(B)と、16ビットカスタム乱数生成回路6302A(B)と、8ビットカスタム乱数生成回路6303A(B)との全てのエラー(異常)の組合せに対応する乱数回路異常番号をテーブル化しておき主制御ROM610内に予め格納しておく。   That is, for example, as shown in FIG. 11B, “Error 1” indicates an error number indicating that an abnormality has occurred in the hardware random number circuit, and in which hardware random number circuit an abnormality has occurred. As a common error number. On the other hand, the random circuit abnormality 1 indicates that an abnormality has occurred in the 16-bit random number generation circuit 6300A (B). Although not shown, the random circuit abnormality 2 is an 8-bit random number generation circuit 6301A. (B) indicates that an abnormality has occurred, random number circuit abnormality 3 indicates that an abnormality has occurred in the 16-bit custom random number generation circuit 6302A (B), and random number circuit abnormality 4 indicates an 8-bit custom random number generation circuit 6303A. (B) indicates that an abnormality has occurred, and random number circuit abnormality 5 indicates that an abnormality has occurred in the 16-bit random number generation circuit 6300A (B) and the 16-bit custom random number generation circuit 6302A (B). The 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) Random number circuit abnormality numbers corresponding to all combinations of errors (abnormalities) are tabulated and stored in the main control ROM 610 in advance.

このようにすれば、主制御CPU600は、乱数エラーステータスレジスタRNDERRよりデータを読み出した際、例えば、乱数エラーステータスレジスタRNDERR7〜RNDERR6が「1」であれば、16ビット乱数生成回路6300A(B)にエラー(異常)が生じていることが分かる。そこで、主制御CPU600は、主制御ROM610内に予め格納しておいたテーブルから、16ビット乱数生成回路6300A(B)にエラー(異常)が生じている際、どの番号のエラー(異常)を表示させるのかを確認し、「乱数回路異常1」を表示させる演出制御コマンドを演出制御基板90に送信する。これを受けて演出制御基板90(演出制御CPU900)は、このエラー(異常)内容を表示する液晶制御コマンドを液晶制御基板120に送信する。これにより、液晶制御基板120が、当該液晶制御コマンドに基づく画像を表示させるように液晶表示装置41を制御することにより、液晶表示装置41に、図11(b)に示すような画面が表示されることとなる。   In this way, when the main control CPU 600 reads the data from the random number error status register RNDERR, for example, if the random number error status registers RNDERR7 to RNDERR6 are “1”, the main control CPU 600 causes the 16-bit random number generation circuit 6300A (B). It can be seen that an error (abnormality) has occurred. Therefore, the main control CPU 600 displays an error (abnormality) of any number when an error (abnormality) occurs in the 16-bit random number generation circuit 6300A (B) from the table stored in the main control ROM 610 in advance. An effect control command for displaying “Random number circuit abnormality 1” is transmitted to the effect control board 90. In response to this, the effect control board 90 (effect control CPU 900) transmits a liquid crystal control command for displaying the error (abnormality) content to the liquid crystal control board 120. As a result, the liquid crystal control board 120 controls the liquid crystal display device 41 to display an image based on the liquid crystal control command, whereby a screen as shown in FIG. 11B is displayed on the liquid crystal display device 41. The Rukoto.

しかして、本実施形態によれば、ハードウェア乱数回路が増加しても、制御に負荷をかけることなく複数のハードウェア乱数回路の異常を検出し報知することができる。   Therefore, according to the present embodiment, even if the hardware random number circuits increase, it is possible to detect and notify the abnormality of the plurality of hardware random number circuits without imposing a load on the control.

なお、図4に示す符号6370は、特別図柄1始動口スイッチ42a信号、特別図柄2始動口スイッチ43a信号、普通図柄始動口スイッチ45a信号、乱数ラッチステータスレジスタLATSTS1〜3からの信号を各ラッチ回路に振り分けるように制御するラッチ信号制御回路である。   Reference numeral 6370 shown in FIG. 4 designates a special symbol 1 start port switch 42a signal, a special symbol 2 start port switch 43a signal, a normal symbol start port switch 45a signal, and a signal from the random number latch status registers LATSTS1 to 3 as latch circuits. It is a latch signal control circuit that performs control so as to be distributed to each other.

<メモリ空間アドレスマップ>
次に、図12及び図13を用いて主制御基板60が備えるメモリに関する説明を行う。主制御基板60において、メモリ空間アドレスマップとして0000H番地〜FFFFH番地まで備えており、メモリ空間アドレス0000H番地〜01FFH番地までが主制御RAM620(図3参照)のメモリ空間で、メモリ空間アドレス1000H番地〜1072H番地までが内部機能レジスタ6304のメモリ空間で、メモリ空間アドレス8000H番地〜A7FFH番地までが主制御ROM610(図3参照)のメモリ空間で、それ以外のアドレス番地(0200H番地〜0FFFH番地,1073H番地〜7FFFH番地,A800H番地〜FFFFH番地)が未使用領域650a〜650cのメモリ空間でアクセス禁止領域になっている。
<Memory space address map>
Next, the memory included in the main control board 60 will be described with reference to FIGS. The main control board 60 has memory space address maps from address 0000H to address FFFFH. The memory space addresses 0000H to 01FFH are the memory space of the main control RAM 620 (see FIG. 3), and the memory space address 1000H to Up to address 1072H is the memory space of internal function register 6304, memory space addresses 8000H to A7FFH are memory space of main control ROM 610 (see FIG. 3), and other address addresses (address 0200H to address 0FFFH, address 1073H) -7FFFH address, A800H address to FFFFH address) are access prohibited areas in the memory space of the unused areas 650a to 650c.

主制御ROM610領域は、図12に示すように、メモリ空間アドレス8000H番地〜A7FFH番地のうち、メモリ空間アドレス8000H番地〜A6FFH番地までが一連の遊技制御手順を記述した遊技プログラムを格納できるプログラム領域610aで、メモリ空間アドレスA700H番地〜A77FH番地までがプログラムのタイトル,バージョン,メーカ情報等を格納するROMコメント領域610bで、メモリ空間アドレスA780H番地〜A7A7H番地までが割込みが発生した際の先頭アドレス等を設定するベクターテーブル領域610cで、メモリ空間アドレスA7A8H番地〜A7FFH番地までがユーザシステム(ハードウェア)特有のパラメータを設定できるHWパラメータ領域610dで構成されている。このHWパラメータ領域610dでは、図13に示すようにプログラムエンドアドレスが設定できるようになっている。   As shown in FIG. 12, the main control ROM 610 area is a program area 610a in which memory space addresses 8000H to A6FFH among memory space addresses 8000H to A7FFH can store a game program describing a series of game control procedures. The memory space addresses A700H to A77FH are ROM comment areas 610b for storing the program title, version, manufacturer information, etc., and the memory space addresses A780H to A7A7H are the top addresses when an interrupt occurs. In the vector table area 610c to be set, the memory space addresses A7A8H to A7FFH are composed of an HW parameter area 610d in which parameters specific to the user system (hardware) can be set. In the HW parameter area 610d, a program end address can be set as shown in FIG.

すなわち、図13(a)に示すように、プログラムエンドアドレスHPRGENDは、16ビットで構成されてなり、図12に示すメモリ空間アドレス8000H番地〜A6FFH番地のプログラム領域610aの最終アドレス番地を設定することができるものである。すなわち、例えば、プログラムエンドアドレスHPRGENDに8852Hがハード的に設定されたとすると、図13(b)に示すように、プログラム領域610aは、メモリ空間アドレス8000H番地〜8852H番地までが使用可能領域となり、メモリ空間アドレス8853H番地〜A6FFH番地までが使用禁止領域となる。そのため、主制御CPU600が、プログラム領域610aの最終アドレス番地(8852H番地)を超えてアドレス番地を指定し、その領域にアクセスした場合は、リセットコントローラ640にてイリーガルアクセスリセット信号を発生させることとなる。これにより、上述したように、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、当該イリーガルアクセスリセット信号にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。   That is, as shown in FIG. 13A, the program end address HPRGEND is composed of 16 bits and sets the final address of the program area 610a at the memory space addresses 8000H to A6FFH shown in FIG. Is something that can be done. That is, for example, if 8852H is set to the program end address HPRGEND in hardware, as shown in FIG. 13B, the program area 610a can be used from memory space addresses 8000H to 8852H. Space addresses 8853H to A6FFH are use-prohibited areas. Therefore, when the main control CPU 600 specifies an address address beyond the last address address (8852H address) of the program area 610a and accesses the area, the reset controller 640 generates an illegal access reset signal. . Accordingly, as described above, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) When reset by the illegal access reset signal, the value set before the reset is held and becomes the initial value as it is.

そのため、従来であれば、主制御CPU600が、プログラム領域610aの最終アドレス番地(例えば、8852H番地)を超えてアドレス番地を指定しアクセスすることで発生したイリーガルアクセスリセット信号であっても、乱数回路をリセットしてしまうため、当該乱数回路の設定が再度され、イリーガルアクセスリセットからの復帰に少なからず時間がかかってしまうという問題があった。しかしながら、本実施形態によれば、イリーガルアクセスリセット時は、主制御CPU600だけリセットし、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)等の内部機能はリセットしない。そのため、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、リセットされる前に設定された値が保持され、そのまま初期値として、ハードウェア乱数を更新することとなる。それゆえ、本実施形態によれば、イリーガルアクセスリセットからの復帰を迅速に行うことができ、また、ハードウェア乱数は新たな初期値から更新が開始することとなるため、乱数回路の信頼性を保つことができる。   Therefore, conventionally, even if the main control CPU 600 is an illegal access reset signal generated by designating and accessing an address address exceeding the final address address (for example, address 8852H) of the program area 610a, a random number circuit This resets the random number circuit again, and there is a problem that it takes a considerable amount of time to return from the illegal access reset. However, according to this embodiment, at the time of illegal access resetting, only the main control CPU 600 is reset, and the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), and the 16-bit custom random number generation circuit 6302A ( B) Internal functions such as the 8-bit custom random number generation circuit 6303A (B) are not reset. Therefore, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) The set value is held, and the hardware random number is updated as it is as an initial value. Therefore, according to the present embodiment, the recovery from the illegal access reset can be quickly performed, and the hardware random number starts to be updated from a new initial value. Can keep.

また、リセットコントローラ640は、図12に示すメモリ空間アドレス8000H番地〜A7FFH番地までの主制御ROM610領域に対し主制御CPU600がデータ書込みしようとアクセスした際、イリーガルアクセスリセット信号を発生させる。これにより、上述したように、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、当該イリーガルアクセスリセット信号にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。   The reset controller 640 generates an illegal access reset signal when the main control CPU 600 accesses the main control ROM 610 area from the memory space address 8000H to the address A7FFH shown in FIG. 12 to write data. Accordingly, as described above, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) When reset by the illegal access reset signal, the value set before the reset is held and becomes the initial value as it is.

そのため、従来であれば、主制御CPU600が主制御ROM610領域に対してデータ書込みしようとアクセスすることで発生したイリーガルアクセスリセット信号であっても、乱数回路をリセットしてしまうため、当該乱数回路の設定が再度され、イリーガルアクセスリセットからの復帰に少なからず時間がかかってしまうという問題があった。しかしながら、本実施形態によれば、イリーガルアクセスリセット時は、主制御CPU600だけリセットし、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)等の内部機能はリセットしない。そのため、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、リセットされる前に設定された値が保持され、そのまま初期値として、ハードウェア乱数を更新することとなる。それゆえ、本実施形態によれば、イリーガルアクセスリセットからの復帰を迅速に行うことができ、また、ハードウェア乱数は新たな初期値から更新が開始することとなるため、乱数回路の信頼性を保つことができる。   Therefore, conventionally, even if the illegal access reset signal generated when the main control CPU 600 accesses the main control ROM 610 area to write data, the random number circuit is reset. There was a problem that the setting was made again and it took time to recover from the illegal access reset. However, according to this embodiment, at the time of illegal access resetting, only the main control CPU 600 is reset, and the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), and the 16-bit custom random number generation circuit 6302A ( B) Internal functions such as the 8-bit custom random number generation circuit 6303A (B) are not reset. Therefore, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) The set value is held, and the hardware random number is updated as it is as an initial value. Therefore, according to the present embodiment, the recovery from the illegal access reset can be quickly performed, and the hardware random number starts to be updated from a new initial value. Can keep.

また一方、リセットコントローラ640は、図12に示すメモリ空間アドレスA700H番地〜A77FH番地までのROMコメント領域610bに対しアクセスした際、イリーガルアクセスリセット信号を発生させる。これにより、上述したように、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、当該イリーガルアクセスリセット信号にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。   On the other hand, the reset controller 640 generates an illegal access reset signal when accessing the ROM comment area 610b from the memory space addresses A700H to A77FH shown in FIG. Accordingly, as described above, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) When reset by the illegal access reset signal, the value set before the reset is held and becomes the initial value as it is.

そのため、従来であれば、主制御CPU600がROMコメント領域610bに対してアクセスすることで発生したイリーガルアクセスリセット信号であっても、乱数回路をリセットしてしまうため、当該乱数回路の設定が再度され、イリーガルアクセスリセットからの復帰に少なからず時間がかかってしまうという問題があった。しかしながら、本実施形態によれば、イリーガルアクセスリセット時は、主制御CPU600だけリセットし、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)等の内部機能はリセットしない。そのため、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、リセットされる前に設定された値が保持され、そのまま初期値として、ハードウェア乱数を更新することとなる。それゆえ、本実施形態によれば、イリーガルアクセスリセットからの復帰を迅速に行うことができ、また、ハードウェア乱数は新たな初期値から更新が開始することとなるため、乱数回路の信頼性を保つことができる。   Therefore, conventionally, even if an illegal access reset signal generated by the main control CPU 600 accessing the ROM comment area 610b is reset, the random number circuit is reset. There was a problem that it took quite a while to recover from illegal access reset. However, according to this embodiment, at the time of illegal access resetting, only the main control CPU 600 is reset, and the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), and the 16-bit custom random number generation circuit 6302A ( B) Internal functions such as the 8-bit custom random number generation circuit 6303A (B) are not reset. Therefore, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) The set value is held, and the hardware random number is updated as it is as an initial value. Therefore, according to the present embodiment, the recovery from the illegal access reset can be quickly performed, and the hardware random number starts to be updated from a new initial value. Can keep.

他方、リセットコントローラ640は、図12に示すメモリ空間アドレス0200H番地〜0FFFH番地,1073H番地〜7FFFH番地,A800H番地〜FFFFH番地の未使用領域650a〜650cに対しアクセスした際、イリーガルアクセスリセット信号を発生させる。これにより、上述したように、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、当該イリーガルアクセスリセット信号にてリセットされると、リセットされる前に設定された値が保持され、そのまま初期値となる。   On the other hand, the reset controller 640 generates an illegal access reset signal when accessing the unused areas 650a to 650c at the memory space addresses 0200H to 0FFFH, 1073H to 7FFFH, and A800H to FFFFH shown in FIG. Let Accordingly, as described above, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) When reset by the illegal access reset signal, the value set before the reset is held and becomes the initial value as it is.

そのため、従来であれば、主制御CPU600がメモリ空間アドレス0200H番地〜0FFFH番地,1073H番地〜7FFFH番地,A800H番地〜FFFFH番地の未使用領域650a〜650cに対してアクセスすることで発生したイリーガルアクセスリセット信号であっても、乱数回路をリセットしてしまうため、当該乱数回路の設定が再度され、イリーガルアクセスリセットからの復帰に少なからず時間がかかってしまうという問題があった。しかしながら、本実施形態によれば、イリーガルアクセスリセット時は、主制御CPU600だけリセットし、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)等の内部機能はリセットしない。そのため、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)は、リセットされる前に設定された値が保持され、そのまま初期値として、ハードウェア乱数を更新することとなる。それゆえ、本実施形態によれば、イリーガルアクセスリセットからの復帰を迅速に行うことができ、また、ハードウェア乱数は新たな初期値から更新が開始することとなるため、乱数回路の信頼性を保つことができる。   Therefore, in the conventional case, the main control CPU 600 is illegal access reset that occurs when the memory space addresses 0200H to 0FFFH, 1073H to 7FFFH, and unused areas 650a to 650c at addresses A800H to FFFFH are accessed. Even if it is a signal, since the random number circuit is reset, the setting of the random number circuit is performed again, and there is a problem that it takes time to return from the illegal access reset. However, according to this embodiment, at the time of illegal access resetting, only the main control CPU 600 is reset, and the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), and the 16-bit custom random number generation circuit 6302A ( B) Internal functions such as the 8-bit custom random number generation circuit 6303A (B) are not reset. Therefore, the 16-bit random number generation circuit 6300A (B), the 8-bit random number generation circuit 6301A (B), the 16-bit custom random number generation circuit 6302A (B), and the 8-bit custom random number generation circuit 6303A (B) The set value is held, and the hardware random number is updated as it is as an initial value. Therefore, according to the present embodiment, the recovery from the illegal access reset can be quickly performed, and the hardware random number starts to be updated from a new initial value. Can keep.

<主制御基板処理>
次に、主制御ROM610内に格納されているプログラムの概要を図14〜図22を用いて説明する。
<Main control board processing>
Next, the outline of the program stored in the main control ROM 610 will be described with reference to FIGS.

<メイン処理>
まず、パチンコ遊技機1に電源が投入されると、電源基板130(図3参照)の電圧生成部1300にて生成された直流電圧が各制御基板に投入された旨の電源投入信号が送られ、その信号を受けて、主制御CPU600(図3参照)は、図14に示す主制御メイン処理を行う。主制御CPU600は、まず、最初に自らを割込み禁止状態に設定すると共に(ステップS1)、当該主制御CPU600内のレジスタ値(内部機能レジスタ6304)等の初期設定を行う(ステップS2)。
<Main processing>
First, when the pachinko gaming machine 1 is turned on, a power-on signal is sent to the effect that the DC voltage generated by the voltage generator 1300 of the power supply board 130 (see FIG. 3) has been applied to each control board. In response to the signal, the main control CPU 600 (see FIG. 3) performs the main control main process shown in FIG. First, the main control CPU 600 first sets itself to an interrupt disabled state (step S1), and initializes the register value (internal function register 6304) and the like in the main control CPU 600 (step S2).

続いて、主制御CPU600は、電源基板130(電圧監視部1310)より出力されている電圧異常信号ALARM(図3参照)を2回取得し、その2回取得した電圧異常信号ALARMのレベルが一致するか否かを確認した上で図示しない当該主制御CPU600の内部レジスタ内に格納し、その電圧異常信号ALARMのレベルを確認する(ステップS3)。そして電圧異常信号ALARMのレベルが「L」レベルであれば(ステップS4:YES)、ステップS3の処理に戻り、電圧異常信号ALARMのレベルが「H」レベルであれば(ステップS4:NO)、ステップS5の処理に進む。すなわち、主制御CPU600は、電圧異常信号ALARMが正常レベル(すなわち「H」レベル)に変化するまで同一の処理を繰り返す(ステップS3〜S4)。このように、電圧異常信号ALARMを2回取得することで、正確な信号を読み込むことができる。   Subsequently, the main control CPU 600 acquires the voltage abnormality signal ALARM (see FIG. 3) output from the power supply board 130 (voltage monitoring unit 1310) twice, and the levels of the voltage abnormality signal ALARM acquired twice coincide with each other. After confirming whether or not to perform, it is stored in an internal register of the main control CPU 600 (not shown), and the level of the voltage abnormality signal ALARM is confirmed (step S3). If the level of the voltage abnormality signal ALARM is “L” level (step S4: YES), the process returns to step S3. If the level of the voltage abnormality signal ALARM is “H” level (step S4: NO), The process proceeds to step S5. That is, main control CPU 600 repeats the same processing until voltage abnormality signal ALARM changes to a normal level (that is, “H” level) (steps S3 to S4). Thus, an accurate signal can be read by acquiring the voltage abnormality signal ALARM twice.

次いで、主制御CPU600は、主制御RAM620(図3参照)へのデータ書込みを許可する(ステップS5)。このように、電圧異常信号ALARMの正常レベル(正常値)を検出するまで主制御RAM620へのデータ書き込みを禁止することにより、電源基板130に供給される交流電圧AC24Vが安定して供給される前に、不安定な信号が主制御RAM620にアクセスし、主制御RAM620に記憶されているデータを書き換えてしまうという事態を防止することができる。   Next, the main control CPU 600 permits data writing to the main control RAM 620 (see FIG. 3) (step S5). In this way, by prohibiting data writing to the main control RAM 620 until the normal level (normal value) of the voltage abnormality signal ALARM is detected, the AC voltage AC24V supplied to the power supply substrate 130 is before being stably supplied. In addition, it is possible to prevent a situation in which an unstable signal accesses the main control RAM 620 and rewrites data stored in the main control RAM 620.

次いで、主制御CPU600は、演出制御基板90に液晶表示装置41に待機画面を表示させるような処理コマンド(演出制御コマンド)を送信し(ステップS6)、バックアップフラグBFLの内容を判定する(ステップS7)。なお、このバックアップフラグBFLとは、図15に示す電圧監視処理の動作が実行されたか否かを示すデータである。   Next, the main control CPU 600 transmits a processing command (effect control command) that causes the liquid crystal display device 41 to display a standby screen on the effect control board 90 (step S6), and determines the contents of the backup flag BFL (step S7). ). The backup flag BFL is data indicating whether or not the operation of the voltage monitoring process shown in FIG. 15 has been executed.

このバックアップフラグBFLがOFF状態(ステップS7:OFF)であれば、後述する図15に示す電圧監視処理の動作が実行されていないこととなり、主制御CPU600は、主制御RAM620内の全領域を全てクリアする処理を行う(ステップS11)。一方、バックアップフラグBFLがON状態(ステップS7:ON)であれば、後述する図15に示す電圧監視処理の動作が実行されていることとなるため、主制御CPU600は、チェックサム値を算出するためのチェックサム演算を行う(ステップS8)。なお、チェックサム演算とは、主制御RAM620の作業領域を対象とする8ビット加算演算である。   If this backup flag BFL is in the OFF state (step S7: OFF), the voltage monitoring processing operation shown in FIG. 15 to be described later is not executed, and the main control CPU 600 completes the entire area in the main control RAM 620. A clearing process is performed (step S11). On the other hand, if the backup flag BFL is in the ON state (step S7: ON), the operation of the voltage monitoring process shown in FIG. 15 to be described later is being executed, so the main control CPU 600 calculates the checksum value. The checksum operation for this is performed (step S8). The checksum operation is an 8-bit addition operation for the work area of the main control RAM 620.

そして、主制御CPU600は、上記チェックサム値が算出されたら、この演算結果を主制御RAM620内のSUM番地の記憶値と比較する処理を行う(ステップS9)。そして、記憶された演算結果は、主制御RAM620内に記憶されている他のデータと共に、電源基板130にて生成されるバックアップ電源によって維持されている。   When the checksum value is calculated, the main control CPU 600 performs a process of comparing the calculation result with the stored value at the SUM address in the main control RAM 620 (step S9). The stored calculation result is maintained by a backup power source generated by the power supply board 130 together with other data stored in the main control RAM 620.

このSUM番地の記憶値と上記ステップS8の処理にて算出されたチェックサム値が不一致(ステップS9:NO)であれば、主制御CPU600は、主制御RAM620内の全領域を全てクリアする処理を行う(ステップS11)。そして一致(ステップS9:YES)していれば、主制御CPU600は、主制御RAM620内に記憶されているデータに基づいて電源遮断時の遊技動作に復帰させる処理を行う(ステップS10)。   If the stored value at this SUM address does not match the checksum value calculated in step S8 (step S9: NO), the main control CPU 600 clears all areas in the main control RAM 620. It performs (step S11). If they match (step S9: YES), the main control CPU 600 performs a process of returning to the gaming operation at the time of power-off based on the data stored in the main control RAM 620 (step S10).

次いで、主制御CPU600は、ステップS10及びステップS11の処理後、その内部に設けられている一定周期のパルス出力を作成する機能や時間計測の機能等を有するCTC(Counter Timer Circuit)の設定を行う。すなわち、主制御CPU600は、4ms毎に定期的にタイマ割込みがかかるように上記CTCの時間定数レジスタを設定する(ステップS12)。そしてその後、主制御CPU600は、ループ処理を行う。   Next, the main control CPU 600 performs setting of CTC (Counter Timer Circuit) having a function of creating a pulse output of a constant period, a function of time measurement, and the like provided therein after the processing of Step S10 and Step S11. . That is, the main control CPU 600 sets the CTC time constant register so that a timer interrupt is periodically generated every 4 ms (step S12). Thereafter, the main control CPU 600 performs a loop process.

<タイマ割込み処理>
続いて、図15を参照して、上述したメイン処理を中断させて、4ms毎に開始されるタイマ割込みプログラムについて説明する。このタイマ割込みが生じると、主制御CPU600内のレジスタ群の内容を主制御RAM620のスタック領域に退避させる退避処理を実行し(ステップS20)、その後電圧監視処理を実行する(ステップS21)。この電圧監視処理は、電源基板130(図3参照)から出力される電圧異常信号ALARMのレベルを判定し、電圧異常信号ALARMが「L」レベル(異常レベル)であれば、主制御RAM620内に記憶されているデータのバックアップ処理、すなわち、当該データのチェックサム値を算出し、その算出したチェックサム値をバックアップデータとして主制御RAM620内に保存する処理を行う。
<Timer interrupt processing>
Next, with reference to FIG. 15, a timer interrupt program started every 4 ms by interrupting the main process described above will be described. When this timer interruption occurs, a saving process for saving the contents of the registers in the main control CPU 600 to the stack area of the main control RAM 620 is executed (step S20), and then a voltage monitoring process is executed (step S21). This voltage monitoring process determines the level of the voltage abnormality signal ALARM output from the power supply board 130 (see FIG. 3), and if the voltage abnormality signal ALARM is “L” level (abnormal level), it is stored in the main control RAM 620. The stored data is backed up, that is, a checksum value of the data is calculated, and the calculated checksum value is stored in the main control RAM 620 as backup data.

次いで、主制御CPU600は、上記電圧監視処理(ステップS21)が終了すると、各遊技動作の時間を管理しているタイマのタイマ減算処理を行う(ステップS22)。ここで減算されたタイマは、大入賞口44(図2参照)の開放時間、普通図柄の変動時間、特別図柄の変動時間等の遊技演出時間、不正情報タイマ等を管理するために使用されるものである。   Next, when the voltage monitoring process (step S21) ends, the main control CPU 600 performs a timer subtraction process for a timer that manages the time of each gaming operation (step S22). The timer subtracted here is used to manage the opening time of the special winning opening 44 (see FIG. 2), the game effect time such as the normal symbol fluctuation time, the special symbol fluctuation time, the fraud information timer, and the like. Is.

そして続いて、主制御CPU600には、特別図柄1始動口スイッチ42a(図3参照)と、特別図柄2始動口スイッチ43a(図3参照)と、普通図柄始動口スイッチ45a(図3参照)と、一般入賞口スイッチ46a(図3参照)と、大入賞口スイッチ44a(図3参照)を含む各種スイッチ類のON/OFF信号が入力され、主制御RAM620内の作業領域にON/OFF信号レベルや、その立ち上がり状態が記憶される(ステップS23)。なお、このスイッチ入力処理は、不正入賞があった場合に、立ち上がり状態を無効(入賞無効)にする処理も行い、賞球を払出すために上記大入賞口スイッチ44a,一般入賞口スイッチ46aに何個の遊技球が入賞したのかのカウントも行っている。   Then, the main control CPU 600 includes a special symbol 1 start port switch 42a (see FIG. 3), a special symbol 2 start port switch 43a (see FIG. 3), and a normal symbol start port switch 45a (see FIG. 3). The ON / OFF signals of various switches including the general prize opening switch 46a (see FIG. 3) and the big prize opening switch 44a (see FIG. 3) are input, and the ON / OFF signal level is input to the work area in the main control RAM 620. Or, the rising state is stored (step S23). This switch input process also performs a process of invalidating the standing-up state (winning invalid) when an illegal winning is made, and the above-mentioned big winning opening switch 44a and the general winning opening switch 46a are used to pay out a winning ball. It also counts how many game balls have won.

次いで、主制御CPU600は、乱数管理処理を行う(ステップS24)。具体的には、実際に使用している図4に示す乱数回路、すなわち、16ビット乱数生成回路6300A(B)、8ビット乱数生成回路6301A(B)、16ビットカスタム乱数生成回路6302A(B)、8ビットカスタム乱数生成回路6303A(B)のエラー(異常)が液晶表示装置41に表示されるように、使用していない乱数回路に対応する乱数エラーステータスレジスタRNDERR(図10参照)のビットをマスク処理する。すなわち、例えば、実際に使用している乱数回路が、16ビット乱数生成回路6300A(B)であった場合、それに対応する乱数エラーレジスタRNDERR7〜RNDERR6の情報のみが必要でそれ以外の情報は不要である。そこで、主制御CPU600にて、乱数エラーステータスレジスタRNDERRを読み出し、その8ビットデータとマスクデータとの論理積をとるようにする。   Next, the main control CPU 600 performs random number management processing (step S24). Specifically, the random number circuit shown in FIG. 4 that is actually used, that is, a 16-bit random number generation circuit 6300A (B), an 8-bit random number generation circuit 6301A (B), and a 16-bit custom random number generation circuit 6302A (B). The bits of the random number error status register RNDERR (see FIG. 10) corresponding to the unused random number circuits are displayed so that the error (abnormality) of the 8-bit custom random number generation circuit 6303A (B) is displayed on the liquid crystal display device 41. Mask processing. That is, for example, when the random number circuit actually used is the 16-bit random number generation circuit 6300A (B), only the information of the corresponding random number error registers RNDERR7 to RNDERR6 is necessary, and other information is not necessary. is there. Therefore, the main control CPU 600 reads the random number error status register RNDERR and takes the logical product of the 8-bit data and the mask data.

具体的には、主制御CPU600にて、乱数エラーステータスレジスタRNDERRを読み出した際、読み出したデータが「11000011B」であった場合、必要なデータは上位2ビットだけであるため、マスクデータ「11000000B」と論理積をとれば、論理積後のデータは、「11000000B」となる。そのため、主制御CPU600は、実際に使用している乱数回路のうち、16ビット乱数生成回路6300A(B)にエラー(異常)が生じていることが分かる。そしてその後、主制御CPU600は、上述したように主制御ROM610内に予め格納しておいたテーブルから、16ビット乱数生成回路6300A(B)にエラー(異常)が生じている際、どの番号のエラー(異常)を表示させるのかを確認し、その番号を表示させる演出制御コマンドを演出制御基板90に送信する。これを受けて演出制御基板90(演出制御CPU900)は、このエラー(異常)内容を表示する液晶制御コマンドを液晶制御基板120に送信する。これにより、液晶制御基板120が、当該液晶制御コマンドに基づく画像を表示させるように液晶表示装置41を制御することにより、液晶表示装置41に、当該エラー(異常)内容が表示されることとなる(図11(b)参照)。このようにすれば、実際に使用している乱数回路のエラー(異常)だけを報知することができ、より制御に負荷をかけることなくエラー(異常)を報知することができる。   Specifically, when the main control CPU 600 reads the random number error status register RNDERR and the read data is “11000011B”, the mask data “11000000B” is necessary because the necessary data is only the upper 2 bits. If the logical product is taken, the data after the logical product is “11000000B”. Therefore, the main control CPU 600 knows that an error (abnormality) has occurred in the 16-bit random number generation circuit 6300A (B) among the random number circuits actually used. After that, the main control CPU 600 determines which number of error when an error (abnormality) occurs in the 16-bit random number generation circuit 6300A (B) from the table previously stored in the main control ROM 610 as described above. Whether or not (abnormal) is to be displayed is confirmed, and an effect control command for displaying the number is transmitted to the effect control board 90. In response to this, the effect control board 90 (effect control CPU 900) transmits a liquid crystal control command for displaying the error (abnormality) content to the liquid crystal control board 120. As a result, the liquid crystal control board 120 controls the liquid crystal display device 41 to display an image based on the liquid crystal control command, whereby the error (abnormal) content is displayed on the liquid crystal display device 41. (Refer FIG.11 (b)). In this way, it is possible to notify only an error (abnormality) of the random number circuit actually used, and it is possible to notify the error (abnormality) without imposing a load on the control.

次いで、主制御CPU600は、エラー管理処理を行う(ステップS25)。なお、エラー管理処理は、遊技球の補給が停止したり、あるいは、遊技球が詰まったりなど、機器内部に異常が生じていないかの判定を含むものである。   Next, the main control CPU 600 performs error management processing (step S25). Note that the error management process includes a determination as to whether or not an abnormality has occurred inside the device, such as supply of game balls being stopped or game balls being clogged.

次いで、主制御CPU600は、賞球管理処理を実行する(ステップS26)。この賞球管理処理は、払出制御基板70(図3参照)に払出し動作を行わせるための払出制御コマンドを出力している。   Next, the main control CPU 600 executes prize ball management processing (step S26). In the prize ball management process, a payout control command for causing the payout control board 70 (see FIG. 3) to perform a payout operation is output.

次いで、主制御CPU600は、普通図柄処理を実行する(ステップS27)。この普通図柄処理は、普通図柄の当否抽選を実行し、その抽選結果に基づいて普通図柄の変動パターンや普通図柄の停止表示状態を決定したりするものである。なお、この普通図柄処理の詳細については、後述することとする。   Next, the main control CPU 600 executes normal symbol processing (step S27). In this normal symbol processing, a normal symbol winning / losing lottery is executed, and the variation pattern of the normal symbol and the stop display state of the normal symbol are determined based on the lottery result. The details of this normal symbol processing will be described later.

次いで、主制御CPU600は、特別図柄処理を実行する(ステップS28)。この特別図柄処理では、特別図柄の当否抽選を実行し、その抽選の結果に基づいて特別図柄の変動パターンや特別図柄の停止表示態様(停止特別図柄)を決定する。なお、この特別図柄処理の詳細については、後述することとする。   Next, the main control CPU 600 executes special symbol processing (step S28). In this special symbol process, whether or not a special symbol is selected is determined, and a variation pattern of the special symbol and a stop display mode of the special symbol (stop special symbol) are determined based on the result of the lottery. Details of this special symbol process will be described later.

次いで、主制御CPU600は、LED管理処理を実行する(ステップS29)。このLED管理処理は、処理の進行状態に応じて、特別図柄表示装置47や普通図柄表示装置48への出力データを生成したり、当該データに基づく制御信号を出力したりする処理である。   Next, the main control CPU 600 executes LED management processing (step S29). This LED management process is a process of generating output data to the special symbol display device 47 or the normal symbol display device 48 or outputting a control signal based on the data according to the progress of the process.

次いで、主制御CPU600は、大入賞口44(図2参照)等の開閉動作を実現するソレノイドの駆動処理を実行し(ステップS30)、割込み許可状態に戻し(ステップS31)、主制御RAM620のスタック領域に退避させておいたレジスタの内容を復帰させタイマ割込みを終える(ステップS32)。これにより、割込み処理ルーチンからメイン処理(図14参照)に戻ることとなる。   Next, the main control CPU 600 executes a solenoid driving process for realizing an opening / closing operation of the special prize opening 44 (see FIG. 2) (step S30), returns to the interrupt permission state (step S31), and stacks the main control RAM 620. The contents of the register saved in the area are restored and the timer interrupt is finished (step S32). As a result, the process returns from the interrupt process routine to the main process (see FIG. 14).

<普通図柄処理>
次に、図16を参照して、上記普通図柄処理(図15のステップS27)について詳細に説明する。
<Normal symbol processing>
Next, the normal symbol process (step S27 in FIG. 15) will be described in detail with reference to FIG.

図16に示すように、普通図柄処理は、先ず、ゲートからなる普通図柄始動口45において、遊技球の通過を検出したか否かを確認、すなわち、普通図柄始動口45の普通図柄始動口スイッチ45aの信号レベルを確認する(ステップS100)。そして遊技球の通過を検出した場合(ステップS100:YES)、主制御CPU600は、普通図柄の始動保留球数が例えば4以上か否かを判断するため、普通図柄の始動保留球数が格納されている主制御RAM620領域を確認する(ステップS101)。その際、普通図柄の始動保留球数が4未満であれば(ステップS101:≠MAX)、普通図柄の始動保留球数を1加算する(ステップS102)。その後、主制御CPU600は、普通図柄の当否抽選に用いられる図4に示す8ビット乱数ラッチ3回路6342A(B)又は8ビットカスタム乱数ラッチ3回路6362A(B)に保持(ラッチ)されている乱数値を、図8(b)に示す8ビット乱数ラッチレジスタRNDF08RG3_A(B)又は図8(d)に示す8ビットカスタム乱数ラッチレジスタRNDV08RG3_A(B)から読み出し、その読み出した乱数値を普通図柄の始動保留球数が格納されている主制御RAM620領域に格納した上で(ステップS103)、ステップS104の処理に進む。   As shown in FIG. 16, in the normal symbol processing, first, it is confirmed whether or not the passing of the game ball is detected at the normal symbol starting port 45 composed of the gate, that is, the normal symbol starting port switch of the normal symbol starting port 45 is detected. The signal level of 45a is confirmed (step S100). When the passage of the game ball is detected (step S100: YES), the main control CPU 600 stores the number of start reserved balls of the normal symbol in order to determine whether or not the number of start reserved balls of the normal symbol is 4 or more, for example. The main control RAM 620 area is confirmed (step S101). At this time, if the number of starting reserved balls of the normal symbol is less than 4 (step S101: ≠ MAX), the number of starting reserved balls of the normal symbol is incremented by 1 (step S102). Thereafter, the main control CPU 600 holds (latches) the disturbance held in the 8-bit random number latch 3 circuit 6342A (B) or the 8-bit custom random number latch 3 circuit 6362A (B) shown in FIG. The numerical value is read from the 8-bit random number latch register RNDF08RG3_A (B) shown in FIG. 8B or the 8-bit custom random number latch register RNDV08RG3_A (B) shown in FIG. 8D, and the read random number value is started as a normal symbol. After the number of reserved balls is stored in the main control RAM 620 area (step S103), the process proceeds to step S104.

一方、ステップS100にて、遊技球の通過を検出しなかった場合(ステップS100:NO)、ステップS101にて、普通図柄の始動保留球数が4以上であると判断した場合(ステップS101:=MAX)には、ステップS102〜S103の処理は行わず、ステップS104の処理に進む。   On the other hand, when the passing of the game ball is not detected in step S100 (step S100: NO), when it is determined in step S101 that the number of reserved balls for starting the normal symbol is 4 or more (step S101: = MAX) does not perform the processing of steps S102 to S103, and proceeds to the processing of step S104.

主制御CPU600は、ステップS104の処理に進むと、普通図柄当たり作動フラグがONに設定されているか、すなわち、普通図柄当たり作動フラグに5AHが設定されているかを確認する(ステップS104)。普通図柄当たり作動フラグに5AHが設定されていれば(ステップS104:ON)、普通図柄が当たり中であると判断し、普通図柄の表示データの更新を行った後(ステップS113)、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行することとなる。   When the main control CPU 600 proceeds to the process of step S104, the main control CPU 600 checks whether the normal symbol per operation flag is set to ON, that is, whether the normal symbol per operation flag is set to 5AH (step S104). If the normal symbol per action flag is set to 5AH (step S104: ON), it is determined that the normal symbol is hitting, and after updating the display data of the normal symbol (step S113), the normal symbol processing And the process proceeds to the special symbol process in step S28 shown in FIG.

一方、普通図柄当たり作動フラグに5AHが設定されていなければ(ステップS104:OFF)、普通図柄の挙動を示す処理状態、すなわち、普通図柄動作ステータスフラグの値を確認する(ステップS105)。そして、普通図柄動作ステータスフラグが00Hであれば、主制御CPU600は、普通図柄の変動開始前の状態であると判断し、ステップS106に進み、普通図柄の始動保留球数が0か否かを確認する(ステップS106)。   On the other hand, if 5 AH is not set in the normal symbol operation flag (step S104: OFF), the processing state indicating the behavior of the normal symbol, that is, the value of the normal symbol operation status flag is confirmed (step S105). If the normal symbol operation status flag is 00H, the main control CPU 600 determines that the normal symbol is in a state before the start of fluctuation, and proceeds to step S106 to determine whether or not the normal symbol start pending ball count is zero. Confirmation (step S106).

主制御CPU600は、普通図柄の始動保留球数が格納されている主制御RAM620領域を確認した上で、0であると判断した場合(ステップS106:=0)は、普通図柄の表示データの更新を行った後(ステップS113)、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行する。一方、0でないと判断した場合(ステップS106:≠0)は、普通図柄の始動保留球数を1減算する(ステップS107)。   The main control CPU 600 checks the main control RAM 620 area in which the number of starting reserved balls for the normal symbol is stored, and if it is determined to be 0 (step S106: = 0), the display data for the normal symbol is updated. Is performed (step S113), the normal symbol process is terminated, and the process proceeds to the special symbol process of step S28 shown in FIG. On the other hand, when it is determined that it is not 0 (step S106: ≠ 0), 1 is subtracted from the number of starting reserved balls of the normal symbol (step S107).

その後、主制御CPU600は、図22(a)に示す普通図柄当たり判定テーブルNPP_TBLを用いて主制御RAM620領域に格納されている普通図柄の始動保留球数に対応した乱数値の当たり判定を行う。すなわち、主制御CPU600は、遊技状態を示す普通図柄確変フラグがOFFであれば、当該乱数値が、図22(a)に示す普通図柄当たり判定テーブルNPP_TBL(通常状態)の下限値(図示では、249)以上で上限値(図示では、250)以下か否かを判定し、下限値以上で上限値以下であれば、普通図柄当たり判定フラグに5AHをセットし、ONにする。それ以外の場合は、普通図柄当たり判定フラグをOFFにする。   Thereafter, the main control CPU 600 makes a hit determination of a random number value corresponding to the number of starting reserved balls of the normal symbol stored in the main control RAM 620 area using the normal symbol hit determination table NPP_TBL shown in FIG. That is, if the normal symbol probability change flag indicating the gaming state is OFF, the main control CPU 600 determines that the random number value is a lower limit value (in the drawing, the normal symbol per determination table NPP_TBL (normal state) shown in FIG. 22A). 249) or more, it is determined whether or not the upper limit value (250 in the figure) is less than or equal to, and if it is greater than or equal to the lower limit value and less than or equal to the upper limit value, 5AH is set to the normal symbol per determination flag and turned ON. In other cases, the normal symbol hit determination flag is turned OFF.

一方、遊技状態を示す普通図柄確変フラグがONであれば、当該乱数値が、図22(a)に示す普通図柄当たり判定テーブルNPP_TBL(確変状態)の下限値(図示では、4)以上で上限値(図示では、250)以下か否かを判定し、下限値以上で上限値以下であれば、普通図柄当たり判定フラグに5AHをセットし、ONにする。それ以外の場合は、普通図柄当たり判定フラグをOFFにセットする処理を行う(ステップS108)。   On the other hand, if the normal symbol probability changing flag indicating the gaming state is ON, the random number is equal to or higher than the lower limit value (4 in the figure) of the normal symbol per determination table NPP_TBL (probability changing state) shown in FIG. It is determined whether or not it is equal to or less than a value (250 in the figure), and if it is greater than or equal to the lower limit value and less than or equal to the upper limit value, 5AH is set to the normal symbol hit determination flag and turned ON. In other cases, a process for setting the normal symbol hit determination flag to OFF is performed (step S108).

そして、主制御CPU600は、上記乱数抽選処理にて決定した抽選結果に基づいて、停止図柄(普通図柄停止図柄)を決定する(ステップS109)。   The main control CPU 600 determines a stop symbol (normal symbol stop symbol) based on the lottery result determined in the random number lottery process (step S109).

次いで、主制御CPU600は、普通図柄の変動時間を短くする普通図柄時短フラグがONに設定されているかを確認し、ONに設定されていれば、普通図柄変動タイマにそれに応じた変動時間を設定し、OFFに設定されていれば、普通図柄変動タイマに通常の変動時間を設定する処理を行う(ステップS110)。   Next, the main control CPU 600 checks whether the normal symbol time reduction flag for shortening the normal symbol variation time is set to ON. If it is set to ON, the main control CPU 600 sets the normal symbol variation timer to the corresponding variation time. If it is set to OFF, a process of setting a normal fluctuation time in the normal symbol fluctuation timer is performed (step S110).

次いで、主制御CPU600は、普通図柄の始動保留球数に対応した普通図柄の当否抽選に用いられる乱数値が格納されている主制御RAM620領域の記憶領域をシフトする(ステップS111)。すなわち、普通図柄の始動保留球数を最大で4個保留できるとすると、普通図柄の始動保留球数4に対応した普通図柄の当否抽選に用いられる乱数値を普通図柄の始動保留球数3に対応した普通図柄の当否抽選に用いられる乱数値が格納されていた主制御RAM620領域にシフトし、普通図柄の始動保留球数3に対応した普通図柄の当否抽選に用いられる乱数値を普通図柄の始動保留球数2に対応した普通図柄の当否抽選に用いられる乱数値が格納されていた主制御RAM620領域にシフトし、普通図柄の始動保留球数2に対応した普通図柄の当否抽選に用いられる乱数値を普通図柄の始動保留球数1に対応した普通図柄の当否抽選に用いられる乱数値が格納されていた主制御RAM620領域にシフトするという処理を行う。   Next, the main control CPU 600 shifts the storage area of the main control RAM 620 area in which random numbers used for the normal symbol winning / lottery corresponding to the number of reserved reserved balls of the normal symbol are stored (step S111). In other words, assuming that the number of normal reserved starting balls can be held at a maximum of 4, the random number value used for the normal symbol winning lottery corresponding to the normal symbol starting reserved balls number 4 is set to 3 for the normal symbol starting reserved balls. Shift to the main control RAM 620 area where the random number value used for the corresponding normal symbol winning lottery was stored, and the random number value used for the normal symbol corresponding lottery corresponding to the number of starting reserved balls 3 of the normal symbol is changed to that of the normal symbol. It shifts to the main control RAM 620 area where the random number value used for the normal symbol corresponding to the number of starting reserved balls 2 is stored, and is used for the normal symbol corresponding lottery corresponding to the number of starting reserved balls 2 of the normal symbol. A process of shifting the random number value to the main control RAM 620 area in which the random number value used for the normal design winning / slotting lottery corresponding to the number of starting reserved balls of the normal symbol is stored is performed.

この処理の後、主制御CPU600は、上記ステップS105にて用いた普通図柄動作ステータスフラグに01Hを設定し、普通図柄の始動保留球数4に対応した普通図柄の当否抽選に用いられる乱数値が格納されていた主制御RAM620の領域に00Hを設定する処理を行う(ステップS112)。   After this processing, the main control CPU 600 sets 01H to the normal symbol operation status flag used in the above step S105, and the random number value used in the normal symbol corresponding lottery corresponding to the number 4 of reserved symbols for normal symbols is determined. A process of setting 00H in the stored area of the main control RAM 620 is performed (step S112).

そして、主制御CPU600は、上記ステップS112の処理を終えた後、普通図柄の表示データの更新を行い(ステップS113)、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行する。   Then, after completing the process of step S112, the main control CPU 600 updates the display data of the normal symbol (step S113), ends the normal symbol process, and proceeds to the special symbol process of step S28 shown in FIG. To do.

他方、主制御CPU600は、上記ステップS105にて、普通図柄の挙動を示す処理状態、すなわち、普通図柄動作ステータスフラグの値が01Hであれば、主制御CPU600は、普通図柄が変動中であると判断し、ステップS114に進み、普通図柄変動タイマが0か否かを確認する(ステップS114)。普通図柄変動タイマが0でなければ(ステップS114:≠0)、普通図柄の表示データの更新を行い(ステップS113)、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行する。そして、普通図柄変動タイマが0であれば(ステップS114:=0)、主制御CPU600は、上記ステップS105にて用いた普通図柄動作ステータスフラグに02Hを設定し、普通図柄の当否抽選結果を一定時間維持させるために、普通図柄変動タイマに例えば約600msの時間が設定される(ステップS115)。   On the other hand, if the processing state indicating the behavior of the normal symbol, that is, the value of the normal symbol operation status flag is 01H in step S105, the main control CPU 600 indicates that the normal symbol is changing. Judgment is made, and the process proceeds to step S114 to check whether or not the normal symbol variation timer is 0 (step S114). If the normal symbol variation timer is not 0 (step S114: ≠ 0), the normal symbol display data is updated (step S113), the normal symbol processing is terminated, and the process proceeds to the special symbol processing of step S28 shown in FIG. To do. If the normal symbol variation timer is 0 (step S114: = 0), the main control CPU 600 sets 02H to the normal symbol operation status flag used in step S105, and the normal symbol success / failure lottery result is constant. In order to maintain the time, for example, a time of about 600 ms is set in the normal symbol variation timer (step S115).

主制御CPU600は、上記ステップS115の処理を終えた後、普通図柄の表示データの更新を行い(ステップS113)、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行する。   After completing the process of step S115, the main control CPU 600 updates the display data of the normal symbol (step S113), ends the normal symbol process, and proceeds to the special symbol process of step S28 shown in FIG.

一方、主制御CPU600は、上記ステップS105にて、普通図柄の挙動を示す処理状態、すなわち、普通図柄動作ステータスフラグの値が02Hであれば、主制御CPU600は、普通図柄が確認時間中(普通図柄の変動が終了して停止中)であると判断し、ステップS116に進み、普通図柄変動タイマが0か否かを確認する(ステップS116)。普通図柄変動タイマが0でなければ(ステップS116:≠0)、普通図柄の表示データの更新を行い(ステップS113)、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行する。そして、普通図柄変動タイマが0であれば(ステップS116:=0)、主制御CPU600は、上記ステップS105にて用いた普通図柄動作ステータスフラグに00Hを設定し(ステップS117)、普通図柄当たり判定フラグがONに設定(5AHが設定)されているかを確認する(ステップS118)。   On the other hand, if the main control CPU 600 determines that the processing state indicating the behavior of the normal symbol, that is, the value of the normal symbol operation status flag is 02H in step S105, the main control CPU 600 indicates that the normal symbol is in the confirmation time (normal It is determined that the symbol variation has ended and is stopped), and the process proceeds to step S116 to check whether or not the normal symbol variation timer is 0 (step S116). If the normal symbol variation timer is not 0 (step S116: ≠ 0), the normal symbol display data is updated (step S113), the normal symbol processing is terminated, and the process proceeds to the special symbol processing of step S28 shown in FIG. To do. If the normal symbol variation timer is 0 (step S116: = 0), the main control CPU 600 sets 00H in the normal symbol operation status flag used in step S105 (step S117), and the normal symbol hit determination is performed. It is confirmed whether the flag is set to ON (5AH is set) (step S118).

これにより、普通図柄当たり判定フラグがOFFに設定(5AHが設定されていない)されていれば(ステップS118:OFF)、主制御CPU600は、普通図柄の表示データの更新を行い(ステップS113)、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行する。そして、普通図柄当たり判定フラグがONに設定(5AHが設定)されていれば(ステップS118:ON)、主制御CPU600は、ステップS104にて用いられる普通図柄当たり作動フラグをON(5AHを設定)に設定した(ステップS119)後、普通図柄処理を終了し、図15に示すステップS28の特別図柄処理に移行する。   Thereby, if the normal symbol hit determination flag is set to OFF (5AH is not set) (step S118: OFF), the main control CPU 600 updates the display data of the normal symbol (step S113). The normal symbol process is terminated, and the process proceeds to the special symbol process of step S28 shown in FIG. If the normal symbol hit determination flag is set to ON (5AH is set) (step S118: ON), the main control CPU 600 turns on the normal symbol hit flag used in step S104 (sets 5AH). (Step S119), the normal symbol process is terminated, and the process proceeds to the special symbol process of step S28 shown in FIG.

<特別図柄処理>
次に、図17〜図21を参照して、上記特別図柄処理(図15のステップS28)について詳細に説明する。図17に示すように、特別図柄処理は、先ず、特別図柄1始動口42(図2参照)の特別図柄1始動口スイッチ42a(図3参照)において、遊技球の入球(入賞球)を検出したか否かを確認し(ステップS200)、さらに、特別図柄2始動口43(図2参照)の特別図柄2始動口スイッチ43aにおいて、遊技球の入球(入賞球)を検出したか否かを確認する(ステップS201)。
<Special symbol processing>
Next, the special symbol process (step S28 in FIG. 15) will be described in detail with reference to FIGS. As shown in FIG. 17, in the special symbol processing, first, a special ball 1 starting port 42 (see FIG. 2) of the special symbol 1 starting port 42 (see FIG. 3) is used to enter a game ball (winning ball). It is confirmed whether or not it has been detected (step S200), and whether or not a game ball entry (winning ball) has been detected at the special symbol 2 start port 43a of the special symbol 2 start port 43 (see FIG. 2). (Step S201).

<特別図柄処理:始動口チェック処理>
この処理について、図18を用いて詳しく説明すると、主制御CPU600は、特別図柄1始動口42又は特別図柄2始動口43に遊技球が入球(入賞)したか否かを確認、すなわち、特別図柄1始動口42の特別図柄1始動口スイッチ42a又は特別図柄2始動口43の特別図柄2始動口スイッチ43aのレベルを確認する(ステップS300)。これにより、遊技球の入球(入賞)を検出しなければ(ステップS300:NO)、図15に示すステップS28の処理を終える。
<Special symbol processing: Start-up check processing>
This process will be described in detail with reference to FIG. 18. The main control CPU 600 confirms whether or not a game ball has entered (wins) the special symbol 1 starting port 42 or the special symbol 2 starting port 43, that is, a special symbol. The level of the special symbol 1 starting port switch 42a of the symbol 1 starting port 42 or the level of the special symbol 2 starting port switch 43a of the special symbol 2 starting port 43 is confirmed (step S300). Thus, if the game ball entry (winning) is not detected (step S300: NO), the process of step S28 shown in FIG.

一方、遊技球の入球(入賞)を検出すれば(ステップS300:YES)、主制御CPU600は、特別図柄の変動契機となる始動保留球数が所定数、主制御RAM620内の始動保留記憶領域に格納されているか否かを確認する(ステップS301)。その始動保留球数が、4未満であれば(ステップS301:≠MAX)、当該始動保留球数を1加算(+1)する(ステップS302)。   On the other hand, if a game ball is entered (winning) (step S300: YES), the main control CPU 600 has a predetermined number of start-pending balls that trigger a change in the special symbol, and a start-pending storage area in the main control RAM 620. (Step S301). If the number of starting reserved balls is less than 4 (step S301: ≠ MAX), the number of starting reserved balls is incremented by 1 (+1) (step S302).

次いで、主制御CPU600は、特別図柄停止の際用いられる乱数値及び変動パターン用乱数値を図4に示す8ビット乱数ラッチ1回路6340A(B),8ビット乱数ラッチ2回路6341A(B),8ビットカスタム乱数ラッチ1回路6360A(B),8ビットカスタム乱数ラッチ2回路6361A(B)にて保持(ラッチ)されている乱数値を、図8(b)に示す8ビット乱数ラッチレジスタRNDF08RG1_A(B),8ビット乱数ラッチレジスタRNDF08RG2_A(B)、又は、図8(d)に示す8ビットカスタム乱数ラッチレジスタRNDV08RG1_A(B),8ビットカスタム乱数ラッチレジスタRNDV08RG2_A(B)から読み出し、その読み出した乱数値を特別図柄の変動契機となる始動保留球数が格納されている主制御RAM620内の始動保留記憶領域に格納する。そしてさらに、主制御CPU600は、大当たり判定用乱数値として、図4に示す16ビット乱数ラッチ1回路6330A(B),16ビット乱数ラッチ2回路6331A(B),16ビットカスタム乱数ラッチ1回路6350A(B),16ビットカスタム乱数ラッチ2回路6351A(B)にて保持(ラッチ)されている乱数値を、図8(a)に示す16ビット乱数ラッチレジスタRNDF16RG1_A(B),16ビット乱数ラッチレジスタRNDF16RG2_A(B),図8(c)に示す16ビットカスタム乱数ラッチレジスタRNDV16RG1_A(B),RNDV16RG2_A(B)から読み出し、その読み出した乱数値を特別図柄の変動契機となる始動保留球数が格納されている主制御RAM620内の始動保留記憶領域に格納する(ステップ303)。   Next, the main control CPU 600 uses the 8-bit random number latch 1 circuit 6340A (B), 8-bit random number latch 2 circuit 6341A (B), 8 shown in FIG. The random number values held (latched) by the bit custom random number latch 1 circuit 6360A (B) and the 8-bit custom random number latch 2 circuit 6361A (B) are converted into the 8-bit random number latch register RNDF08RG1_A (B) shown in FIG. ), 8-bit random number latch register RNDF08RG2_A (B), or 8-bit custom random number latch register RNDV08RG1_A (B), 8-bit custom random number latch register RNDV08RG2_A (B) shown in FIG. Stores the number of starting and holding balls that will cause the special symbol to change Is stored in the start-pending storage area in the main control RAM 620. Further, the main control CPU 600 uses the 16-bit random number latch 1 circuit 6330A (B), the 16-bit random number latch 2 circuit 6331A (B), and the 16-bit custom random number latch 1 circuit 6350A (shown in FIG. B), the random number value held (latched) by the 16-bit custom random number latch 2 circuit 6351A (B) is converted into the 16-bit random number latch register RNDF16RG1_A (B), the 16-bit random number latch register RNDF16RG2_A shown in FIG. (B), the 16-bit custom random number latch registers RNDV16RG1_A (B) and RNDV16RG2_A (B) shown in FIG. 8 (c) are read, and the read random number value is stored as the number of starting reserved balls that triggers the fluctuation of the special symbol. In the start hold storage area in the main control RAM 620 Store (step 303).

次いで、主制御CPU600は、現在の遊技状態(特別図柄大当たり判定フラグがONに設定されているか否か等)を確認し、先読み禁止状態か否かを判定する(ステップS304)。そして、先読み禁止状態でなければ(ステップS304:NO)、主制御CPU600は、上記ステップS303にて主制御RAM620内の始動保留記憶領域に格納した特別図柄の当否抽選に用いられる大当たり判定用乱数値を取得し(ステップS305)、さらに、図示しない始動口入賞時乱数判定テーブルを取得する(ステップS306)。   Next, the main control CPU 600 confirms the current gaming state (such as whether the special symbol jackpot determination flag is set to ON), and determines whether or not the prefetching prohibition state is set (step S304). If the prefetching prohibition state is not set (step S304: NO), the main control CPU 600 uses the special symbol stored in the start hold storage area in the main control RAM 620 in step S303 to determine whether or not the jackpot determination random number is used. Is acquired (step S305), and a starting opening winning random number determination table (not shown) is further acquired (step S306).

次いで、主制御CPU600は、上記ステップS305にて取得した大当たり判定用乱数値及びステップS306にて取得した始動口入賞時乱数判定テーブルを用いて、大当たり抽選を行い、さらに、上記ステップS303にて主制御RAM620内の始動保留記憶領域に格納した特別図柄用乱数値を用いて、大当たりの種類(15R確変大当り、15R非確変大当たり等)を決定し、変動パターン用乱数値を用いて、変動パターンを決定し、それに応じた特別図柄始動口入賞コマンドを生成する(ステップS307)。   Next, the main control CPU 600 performs a jackpot lottery using the jackpot determination random number value acquired in step S305 and the start opening winning random number determination table acquired in step S306, and further in step S303. The special symbol random value stored in the start-pending storage area in the control RAM 620 is used to determine the type of jackpot (15R probability variation jackpot, 15R non-probability variation jackpot, etc.), and the variation pattern random number value is used to determine the variation pattern. A special symbol start opening prize command corresponding to the determination is generated (step S307).

次いで、主制御CPU600は、上記生成された特別図柄始動口入賞コマンドに応じた下位バイトの始動保留加算コマンドを生成する(ステップS308)。   Next, the main control CPU 600 generates a lower byte start pending addition command corresponding to the generated special symbol start port winning command (step S308).

一方、主制御CPU600は、上記ステップS308の処理を終えるか、又は、上記ステップS301にて特別図柄1又は2の始動保留球数が4以上であるか(ステップS301:=MAX)、あるいは、先読み禁止状態であれば(ステップS304:YES)、増加した始動保留球数に応じた上位バイトの始動保留加算コマンドを生成する(ステップS309)。   On the other hand, the main control CPU 600 finishes the process in step S308, or determines whether the number of starting reserved balls of the special symbol 1 or 2 is 4 or more in step S301 (step S301: = MAX), or prefetching If it is in a prohibited state (step S304: YES), a start byte addition command of higher bytes corresponding to the increased number of start hold balls is generated (step S309).

次いで、主制御CPU600は、上記ステップS308にて生成した下位バイトの始動保留加算コマンドと、上記ステップS309にて生成した上位バイトの始動保留加算コマンドとを結合した上で、演出制御コマンド(始動保留加算コマンド)として、演出制御基板90(図3参照)に送信する処理を行う(ステップS60)。   Next, the main control CPU 600 combines the lower byte start hold addition command generated in step S308 and the upper byte start hold addition command generated in step S309, and then produces an effect control command (start hold). As an addition command), a process of transmitting to the effect control board 90 (see FIG. 3) is performed (step S60).

<特別図柄処理>
かくして、図17に示すステップS200及びステップS201の処理を終えると、主制御CPU600は、特別図柄小当たり作動フラグがONに設定されているか、すなわち、特別図柄小当たり作動フラグに5AHが設定されているかを確認する(ステップS202)。特別図柄小当たり作動フラグに5AHが設定されていれば(ステップS202:ON)、特別図柄が小当たり中であると判断し、特別図柄の表示データの更新を行った後(ステップS208)、図15に示すステップS28の特別図柄処理を終了する。
<Special symbol processing>
Thus, when the processes of step S200 and step S201 shown in FIG. 17 are finished, the main control CPU 600 determines that the special symbol small hit operation flag is set to ON, that is, the special symbol small hit operation flag is set to 5AH. (Step S202). If 5AH is set in the special symbol small hit operation flag (step S202: ON), it is determined that the special symbol is in the small hit state, and the display data of the special symbol is updated (step S208). The special symbol process of step S28 shown in FIG.

一方、特別図柄小当たり作動フラグに5AHが設定されていなければ(ステップS202:OFF)、特別図柄大当たり作動フラグがONに設定されているか、すなわち、特別図柄大当たり作動フラグに5AHが設定されているかを確認する(ステップS203)。特別図柄大当たり作動フラグに5AHが設定されていれば(ステップS203:ON)、特別図柄が大当たり中であると判断し、特別図柄の表示データの更新を行った後(ステップS208)、図15に示すステップS28の特別図柄処理を終了する。   On the other hand, if 5AH is not set in the special symbol small hit operation flag (step S202: OFF), is the special symbol big hit operation flag set to ON, that is, whether the special symbol big hit operation flag is set to 5AH? Is confirmed (step S203). If 5AH is set in the special symbol jackpot operation flag (step S203: ON), it is determined that the special symbol is jackpot, and after updating the display data of the special symbol (step S208), FIG. The special symbol process of step S28 shown is terminated.

一方、特別図柄大当たり作動フラグに5AHが設定されていなければ(ステップS203:OFF)、特別図柄の挙動を示す処理状態、すなわち、特別図柄動作ステータスフラグの値を確認する(ステップS204)。より詳しく説明すると、主制御CPU600は、特別図柄動作ステータスフラグの値が00H又は01Hであれば、特別図柄変動待機中(特別図柄の変動が行われておらず次回の変動のための待機状態であることを示す)であると判定し、特別図柄変動開始処理を行う(ステップS205)。   On the other hand, if 5 AH is not set in the special symbol big hit operation flag (step S203: OFF), the processing state indicating the behavior of the special symbol, that is, the value of the special symbol operation status flag is confirmed (step S204). More specifically, if the value of the special symbol operation status flag is 00H or 01H, the main control CPU 600 is in a special symbol variation standby state (the special symbol variation is not performed and is in a standby state for the next variation. And the special symbol variation start process is performed (step S205).

<特別図柄処理:特別図柄変動開始処理>
この処理について、図19を用いて詳しく説明すると、主制御CPU600は、特別図柄始動保留球数が0か否かを確認する(ステップS400)。すなわち、主制御RAM620内の特別図柄始動保留記憶領域を確認し、特別図柄始動保留球数が0であると主制御CPU600が判断した場合は(ステップS400:=0)、特別図柄動作ステータスフラグの値が00Hか否かを確認する(ステップS401)。特別図柄動作ステータスフラグの値が00Hであれば(ステップS401:YES)、図17に示すステップS205の特別図柄変動開始処理を終了する。
<Special symbol processing: Special symbol variation start processing>
This process will be described in detail with reference to FIG. 19. The main control CPU 600 confirms whether or not the number of special symbol start reserved balls is 0 (step S400). That is, the special symbol start reservation storage area in the main control RAM 620 is confirmed, and when the main control CPU 600 determines that the number of special symbol start reservation balls is 0 (step S400: = 0), the special symbol operation status flag is set. It is confirmed whether or not the value is 00H (step S401). If the value of the special symbol operation status flag is 00H (step S401: YES), the special symbol variation start process in step S205 shown in FIG. 17 is terminated.

一方、特別図柄動作ステータスフラグの値が00Hでなければ(ステップS401:NO)、主制御CPU600は、演出制御コマンド(客待ちデモコマンド)を演出制御基板90(図3参照)に送信し(ステップS402)、特別図柄動作ステータスフラグに00Hをセットした上で(ステップS403)、図17に示すステップS205の特別図柄変動開始処理を終了する。   On the other hand, if the value of the special symbol operation status flag is not 00H (step S401: NO), the main control CPU 600 transmits an effect control command (customer waiting demo command) to the effect control board 90 (see FIG. 3) (step 3). S402) After setting 00H to the special symbol operation status flag (step S403), the special symbol variation start process of step S205 shown in FIG. 17 is terminated.

他方、特別図柄始動保留球数が0でないと判断した場合(ステップS400:≠0)、主制御CPU600は、特別図柄始動保留球数を1減算(−1)し(ステップS404)、演出制御コマンド(始動保留減算コマンド)を演出制御基板90(図3参照)に送信する(ステップS405)。   On the other hand, when it is determined that the number of special symbol start reserved balls is not 0 (step S400: ≠ 0), the main control CPU 600 subtracts 1 (-1) from the number of special symbol start reserved balls (step S404), and an effect control command (Start hold subtraction command) is transmitted to the effect control board 90 (see FIG. 3) (step S405).

次いで、主制御CPU600は、図16に示すステップS111の処理と同様、特別図柄始動保留球数に対応した特別図柄の当否抽選に用いられる乱数値(図18のステップS303にて格納した大当たり判定用乱数値)が格納されている主制御RAM620内の記憶領域をシフトし(ステップS406)、特別図柄始動保留4に対応した特別図柄の当否抽選に用いられる乱数値が格納されていた主制御RAM620の領域に0を設定する(ステップS407)。   Next, the main control CPU 600, like the processing in step S111 shown in FIG. 16, uses a random number value used for the lottery determination of the special symbol corresponding to the number of special symbol starting reserved balls (for jackpot determination stored in step S303 in FIG. 18). The storage area in the main control RAM 620 in which the random number value is stored is shifted (step S406), and the random number value used in the lottery for the special symbol corresponding to the special symbol start hold 4 is stored in the main control RAM 620. 0 is set in the area (step S407).

次いで、主制御CPU600は、図18のステップS303にて主制御RAM620内の特別図柄始動保留記憶領域に格納した大当たり判定用乱数値を用いて当たり判定を行う。具体的には、大当たり判定用乱数値と、図22(b)に示す特別図柄大当たり判定テーブルSDH_TBLに格納されている判定値とを比較、又は、図22(c)に示す特別図柄小当たり判定テーブルSDP_TBLに格納されている判定値とを比較して、特別図柄の当たり判定を行う。すなわち、特別図柄大当たり判定テーブルSDH_TBLには、図22(b)に示すように、遊技状態が通常状態の場合、下限値として10001,上限値として10164が格納され、遊技状態が確変状態(当たり抽選確率が通常より高確率状態である確率変動状態)の場合、下限値として10001,上限値として11640が格納されている。そのため、遊技状態が通常状態で、大当たり判定用乱数値が10001〜10164の場合、特別図柄は大当たりとなり、それ以外の乱数値はハズレとなる。そして、遊技状態が確変状態で、大当たり判定用乱数値が10001〜11640の場合、特別図柄は大当たりとなり、それ以外の乱数値はハズレとなる。また、特別図柄小当たり判定テーブルSDP_TBLには、図22(c)に示すように、下限値として20001,上限値として20164が格納されている。そのため、大当たり判定用乱数値が20001〜20164の場合、特別図柄は小当たりとなり、それ以外の乱数値はハズレとなる。このようにして、図18のステップS303にて主制御RAM620内の特別図柄始動保留記憶領域に格納した大当たり判定用乱数値の当たり判定が行われる(ステップS408)。   Next, the main control CPU 600 performs a hit determination using the jackpot determination random number stored in the special symbol start holding storage area in the main control RAM 620 in step S303 of FIG. Specifically, the jackpot determination random number value is compared with the determination value stored in the special symbol jackpot determination table SDH_TBL shown in FIG. 22B, or the special symbol small hit determination shown in FIG. 22C. Comparison with the determination values stored in the table SDP_TBL is performed to determine whether or not the special symbol is hit. That is, in the special symbol jackpot determination table SDH_TBL, as shown in FIG. 22B, when the gaming state is the normal state, 10001 is stored as the lower limit value, and 10164 is stored as the upper limit value. In the case of a probability variation state in which the probability is higher than normal, a lower limit value of 10001 and an upper limit value of 11640 are stored. Therefore, when the gaming state is the normal state and the jackpot determination random number value is 10001 to 10164, the special symbol is a jackpot, and the other random number values are lost. When the gaming state is a probabilistic state and the jackpot determination random number value is 10001-1640, the special symbol is a jackpot, and the other random number values are lost. Further, in the special symbol small hit determination table SDP_TBL, 20001 is stored as the lower limit value and 20164 is stored as the upper limit value, as shown in FIG. Therefore, when the jackpot determination random number is 20001 to 20164, the special symbol is a small hit, and the other random numbers are lost. In this manner, the winning determination of the jackpot determining random number stored in the special symbol start holding storage area in the main control RAM 620 in step S303 of FIG. 18 is performed (step S408).

次いで、主制御CPU600は、図18のステップS303にて主制御RAM620内の特別図柄始動保留記憶領域に格納した特別図柄用乱数値を用いて、特別図柄の停止図柄を生成する(ステップS409)。   Next, the main control CPU 600 generates a special symbol stop symbol using the special symbol random number value stored in the special symbol start holding storage area in the main control RAM 620 in step S303 of FIG. 18 (step S409).

次いで、主制御CPU600は、通常状態、時短状態、潜伏確変状態、確変状態のいずれかの遊技状態に移行する準備を行う(ステップS410)。   Next, the main control CPU 600 prepares to shift to any one of the normal state, the time reduction state, the latent probability changing state, and the probability changing state (step S410).

次いで、主制御CPU600は、図18のステップS303にて主制御RAM620内の特別図柄始動保留記憶領域に格納した変動パターン用乱数値を用いて特別図柄の変動パターンの生成を行う(ステップS411)。この際、特別図柄変動タイマに変動時間が設定される。   Next, the main control CPU 600 generates a special symbol variation pattern using the variation pattern random number value stored in the special symbol start holding storage area in the main control RAM 620 in step S303 of FIG. 18 (step S411). At this time, the variation time is set in the special symbol variation timer.

次いで、主制御CPU600は、特別図柄変動中フラグに5AHを設定し、ON状態にする(ステップS412)。   Next, the main control CPU 600 sets 5AH to the special symbol changing flag and turns it on (step S412).

次いで、主制御CPU600は、液晶表示装置41(図2参照)に表示される特別図柄の特別図柄指定コマンドを生成し(ステップS413)、その生成した特別図柄指定コマンドを演出制御コマンドとして演出制御基板90(図3参照)に送信する処理を行う(ステップS414)。   Next, the main control CPU 600 generates a special symbol designation command for a special symbol displayed on the liquid crystal display device 41 (see FIG. 2) (step S413), and uses the generated special symbol designation command as an effect control command. 90 (see FIG. 3) is transmitted (step S414).

次いで、主制御CPU600は、特別図柄動作ステータスフラグに02Hを設定し(ステップS415)、図17に示すステップS205の特別図柄変動開始処理を終了する。   Next, main control CPU 600 sets 02H in the special symbol operation status flag (step S415), and ends the special symbol variation start process in step S205 shown in FIG.

他方、主制御CPU600は、図17に示すステップS204にて、特別図柄動作ステータスフラグの値が02Hであれば、特別図柄変動中(特別図柄が現在変動中であることを示す)であると判定し、特別図柄変動中処理を行う(ステップ206)。   On the other hand, if the value of the special symbol operation status flag is 02H in step S204 shown in FIG. 17, the main control CPU 600 determines that the special symbol is changing (indicating that the special symbol is currently changing). Then, special symbol variation processing is performed (step 206).

<特別図柄処理:特別図柄変動中処理>
この処理について、図20を用いて詳しく説明すると、主制御CPU600は、まず、図19のステップS411にて特別図柄変動タイマに設定された変動時間が経過したか、すなわち、0になったか否かを確認する(ステップS500)。特別図柄変動タイマが0でなければ(ステップS500:NO)、主制御CPU600は、図17に示すステップS206の特別図柄変動中処理を終了する。
<Special symbol processing: Special symbol variation processing>
This process will be described in detail with reference to FIG. 20. First, the main control CPU 600 determines whether or not the variation time set in the special symbol variation timer has elapsed in step S411 in FIG. Is confirmed (step S500). If the special symbol variation timer is not 0 (step S500: NO), the main control CPU 600 ends the special symbol variation processing of step S206 shown in FIG.

一方、特別図柄変動タイマが0であれば(ステップS500:YES)、主制御CPU600は、演出制御コマンド(変動停止コマンド)を演出制御基板90(図3参照)に送信する(ステップS501)。そして、主制御CPU600は、特別図柄動作ステータスフラグに03Hを設定し、特別図柄変動中フラグに00Hを設定する。そしてさらに、主制御CPU600は、特別図柄の当否抽選結果を一定時間維持するために、特別図柄変動タイマに例えば約500msの時間を設定する(ステップS502)。その後、主制御CPU600は、図17に示すステップS206の特別図柄変動中処理を終了する。   On the other hand, if the special symbol variation timer is 0 (step S500: YES), the main control CPU 600 transmits an effect control command (variation stop command) to the effect control board 90 (see FIG. 3) (step S501). Then, main control CPU 600 sets 03H for the special symbol operation status flag and 00H for the special symbol changing flag. Further, the main control CPU 600 sets, for example, a time of about 500 ms in the special symbol variation timer in order to maintain the special symbol success / failure lottery result for a certain time (step S502). Thereafter, the main control CPU 600 ends the special symbol changing process of step S206 shown in FIG.

他方、主制御CPU600は、図17に示すステップS204にて、特別図柄動作ステータスフラグの値が03Hであれば、特別図柄確認中(特別図柄の変動が終了して停止中であることを示す)であると判定し、特別図柄確認時間中処理を行う(ステップS207)。   On the other hand, if the value of the special symbol operation status flag is 03H in step S204 shown in FIG. 17, the main control CPU 600 is confirming the special symbol (indicating that the special symbol has ended and has stopped). The special symbol confirmation time is processed (step S207).

<特別図柄処理:特別図柄確認中処理>
この処理について、図21を用いて詳しく説明すると、主制御CPU600は、まず、図18のステップS411にて特別図柄変動タイマに設定された変動時間が経過したか、すなわち、0になったか否かを確認する(ステップS600)。特別図柄変動タイマが0でなければ(ステップS600≠0)、主制御CPU600は、図17に示すステップS207の特別図柄確認時間中処理を終了する。
<Special symbol processing: Special symbol confirmation processing>
This process will be described in detail with reference to FIG. 21. First, the main control CPU 600 determines whether or not the variation time set in the special symbol variation timer has elapsed in step S411 in FIG. Is confirmed (step S600). If the special symbol variation timer is not 0 (step S600 ≠ 0), the main control CPU 600 ends the special symbol confirmation time processing in step S207 shown in FIG.

一方、特別図柄変動タイマが0であれば(ステップS600=0)、主制御CPU600は、特別図柄動作ステータスフラグに01Hを設定し(ステップS601)、特別図柄大当たり判定フラグがONに設定されているか(5AHが設定されているか)を確認する(ステップS602)。特別図柄大当たり判定フラグがONに設定されていれば(5AHが設定されていれば)(ステップS602:YES)、特別図柄大当たり判定フラグに00Hを設定し、図17のステップS203にて使用する特別図柄大当たり作動フラグに5AHを設定し、そして普通図柄時短フラグに00Hを設定し、普通図柄確変フラグに00Hを設定し、さらに、特別図柄時短フラグに00Hを設定し、特別図柄確変フラグに00Hを設定し、後述する特別図柄時短回数カウンタ及び特別図柄確変回数カウンタに00Hを設定する処理を行う(ステップS603)。その後、主制御CPU600は、図17に示すステップS207の特別図柄確認時間中処理を終了する。   On the other hand, if the special symbol variation timer is 0 (step S600 = 0), the main control CPU 600 sets 01H to the special symbol operation status flag (step S601), and is the special symbol jackpot determination flag set to ON? (5AH is set) is confirmed (step S602). If the special symbol jackpot determination flag is set to ON (if 5AH is set) (step S602: YES), the special symbol jackpot determination flag is set to 00H and used in step S203 of FIG. Set the symbol jackpot activation flag to 5AH, set the normal symbol hour / short flag to 00H, set the normal symbol probability variation flag to 00H, set the special symbol hour / short flag to 00H, and set the special symbol probability variation flag to 00H. The setting is performed, and 00H is set in a special symbol short time counter and a special symbol probability variable counter described later (step S603). Thereafter, main control CPU 600 terminates the special symbol confirmation time process in step S207 shown in FIG.

他方、特別図柄大当たり判定フラグがONに設定されていなければ(5AHが設定されていなければ)(ステップS602:NO)、主制御CPU600は、特別図柄小当たり判定フラグがONに設定されているか(5AHが設定されているか)を確認する(ステップS604)。特別図柄小当たり判定フラグがONに設定されていれば(5AHが設定されていれば)(ステップS604:YES)、特別図柄小当たり判定フラグに00Hを設定し、図17のステップS202にて使用する特別図柄小当たり作動フラグに5AHを設定する(ステップS605)。   On the other hand, if the special symbol big hit determination flag is not set to ON (if 5AH is not set) (step S602: NO), the main control CPU 600 determines whether the special symbol big hit determination flag is set to ON ( Whether 5AH is set or not is confirmed (step S604). If the special symbol small hit determination flag is set to ON (if 5AH is set) (step S604: YES), the special symbol small hit determination flag is set to 00H and used in step S202 of FIG. The special symbol small hit operation flag to be set is set to 5AH (step S605).

主制御CPU600は、上記ステップS605の処理を終えた後、又は、特別図柄小当たり判定フラグがONに設定されていなければ(5AHが設定されていなければ)(ステップS604:NO)、特別図柄時短回数カウンタの値が0か否かを確認する(ステップS606)。   The main control CPU 600, after finishing the process of step S605, or if the special symbol small hit determination flag is not set to ON (if 5AH is not set) (step S604: NO), the special symbol time is shortened. It is confirmed whether or not the value of the number counter is 0 (step S606).

特別図柄時短回数カウンタの値が0でなければ(ステップS606:NO)、特別図柄時短回数カウンタの値を1減算(−1)し(ステップS607)、主制御CPU600は、再度、特別図柄時短回数カウンタの値が0か否かを確認する(ステップS608)。そして、特別図柄時短回数カウンタの値が0であれば(ステップS608:YES)、普通図柄時短フラグに00Hを設定すると共に、普通図柄確変フラグに00Hを設定し、さらに、普通図柄時短フラグに00Hを設定する(ステップS609)。   If the value of the special symbol time counter is not 0 (step S606: NO), the value of the special symbol time counter is decremented by 1 (-1) (step S607), and the main control CPU 600 again performs the special symbol time counter. It is checked whether the counter value is 0 (step S608). If the value of the special symbol time reduction counter is 0 (step S608: YES), 00H is set in the normal symbol time reduction flag, 00H is set in the normal symbol probability change flag, and 00H is set in the normal symbol time reduction flag. Is set (step S609).

上記ステップS609の処理を終えた後、又は、特別図柄時短回数カウンタの値が0(ステップS606:YES)、あるいは、特別図柄時短回数カウンタの値が0でなければ(ステップS608:NO)、主制御CPU600は、特別図柄確変回数カウンタの値が0か否かを確認する(ステップS610)。特別図柄確変回数カウンタの値が0であれば(ステップS610:YES)、主制御CPU600は、図17に示すステップS207の特別図柄確認時間中処理を終了する。   After the process of step S609 is completed, or the value of the special symbol time reduction counter is 0 (step S606: YES), or the value of the special symbol time reduction counter is not 0 (step S608: NO), The control CPU 600 checks whether or not the value of the special symbol probability variation counter is 0 (step S610). If the value of the special symbol probability variation counter is 0 (step S610: YES), the main control CPU 600 ends the special symbol confirmation time processing in step S207 shown in FIG.

一方、特別図柄確変回数カウンタの値が0でなければ(ステップS610:NO)、主制御CPU600は、特別図柄確変回数カウンタの値を1減算(−1)し(ステップS611)、再度、特別図柄確変回数カウンタの値が0か否かを確認する(ステップS612)。特別図柄確変回数カウンタの値が0でなければ(ステップS612:NO)、主制御CPU600は、図17に示すステップS207の特別図柄確認時間中処理を終了する。   On the other hand, if the value of the special symbol probability variation counter is not 0 (step S610: NO), the main control CPU 600 subtracts 1 (-1) from the value of the special symbol probability variation counter (step S611), and again the special symbol. It is checked whether or not the value of the probability variation counter is 0 (step S612). If the value of the special symbol probability variation counter is not 0 (step S612: NO), the main control CPU 600 ends the special symbol confirmation time processing of step S207 shown in FIG.

一方、特別図柄確変回数カウンタの値が0であれば(ステップS612:YES)、主制御CPU600は、普通図柄時短フラグに00Hを設定し、普通図柄確変フラグに00Hを設定し、特別図柄時短フラグに00Hを設定し、特別図柄確変フラグに00Hを設定する処理を行い(ステップS613)、図17に示すステップS207の特別図柄確認時間中処理を終了する。   On the other hand, if the value of the special symbol probability variation counter is 0 (step S612: YES), the main control CPU 600 sets 00H for the normal symbol time variation flag, 00H for the normal symbol probability variation flag, and the special symbol time variation flag. Is set to 00H and the special symbol probability change flag is set to 00H (step S613), and the special symbol confirmation time processing in step S207 shown in FIG.

<特別図柄処理>
このようにして、主制御CPU600は、図17に示す特別図柄変動開始処理(ステップS205)、又は、特別図柄変動中処理(ステップS206)、あるいは、特別図柄確認時間中処理(ステップS207)を終えると、特別図柄の表示データの更新を行った後(ステップS208)、図15に示すステップS28の特別図柄処理を終える。
<Special symbol processing>
In this way, the main control CPU 600 ends the special symbol variation start process (step S205), the special symbol variation process (step S206), or the special symbol confirmation time process (step S207) shown in FIG. Then, after updating the display data of the special symbol (step S208), the special symbol processing of step S28 shown in FIG.

しかして、以上説明した本実施形態によれば、異常リセットからの復帰を迅速に行うことができると共に、乱数回路の信頼性を保つことができる。   Thus, according to the present embodiment described above, it is possible to quickly recover from an abnormal reset and to maintain the reliability of the random number circuit.

なお、本実施形態においては、ハードウェア乱数を使用するにあたって、ハード的にラッチされたハードウェア乱数を用いた例を示したがそれに限らず、ソフト的にラッチされたハードウェア乱数を用いても良い。すなわち、16ビット乱数値レジスタRNDF16RG0_A(B)(図6(a)参照)、8ビット乱数値レジスタRNDF08RG0_A(B)(図6(b)参照)、16ビットカスタム乱数値レジスタRNDV16RG0_A(B)(図6(c)参照)、8ビットカスタム乱数値レジスタRNDV08RG0_A(B)(図6(d)参照)を所定のタイミング(例えば、図15に示すステップS24の乱数管理処理内)で主制御CPU600にて読み出し、主制御RAM620内に保持(ラッチ)しておいても良い。   In this embodiment, when using hardware random numbers, an example using hardware latched hardware random numbers has been shown. However, the present invention is not limited to this, and software latched hardware random numbers may be used. good. That is, the 16-bit random value register RNDF16RG0_A (B) (see FIG. 6A), the 8-bit random value register RNDF08RG0_A (B) (see FIG. 6B), the 16-bit custom random value register RNDV16RG0_A (B) (see FIG. 6). 6 (c)), 8-bit custom random value register RNDV08RG0_A (B) (see FIG. 6 (d)) at a predetermined timing (for example, in the random number management process of step S24 shown in FIG. 15) by main control CPU 600. It may be read and held (latched) in the main control RAM 620.

1 パチンコ遊技機
610 主制御ROM(ROM)
610b ROMコメント領域(メーカ情報等が記憶されている領域)
640 リセットコントローラ(異常リセット信号発生手段)
1320 システムリセット生成部(システムリセット信号発生手段)
6300A(B) 16ビット乱数生成回路(乱数更新手段)
6301A(B) 8ビット乱数生成回路(乱数更新手段)
6302A(B) 16ビットカスタム乱数生成回路(乱数更新手段)
6303A(B) 8ビットカスタム乱数生成回路(乱数更新手段)
CLK クロック信号(所定の信号)
1 Pachinko machine 610 Main control ROM (ROM)
610b ROM comment area (area where manufacturer information, etc. is stored)
640 reset controller (abnormal reset signal generating means)
1320 System reset generator (system reset signal generator)
6300A (B) 16-bit random number generation circuit (random number update means)
6301A (B) 8-bit random number generation circuit (random number update means)
6302A (B) 16-bit custom random number generation circuit (random number update means)
6303A (B) 8-bit custom random number generation circuit (random number update means)
CLK clock signal (predetermined signal)

Claims (2)

所定の信号に基づいて、乱数を更新する乱数更新手段と、
少なくとも所定のデータが所定領域に記憶されているメモリ空間において、そのメモリ空間のROMのメーカ情報等が記憶されている領域にアクセスがされたことを検出して異常リセット信号を発生させる異常リセット信号発生手段と、
電源投入時にシステムリセット信号を発生させるシステムリセット信号発生手段と、
所定条件の成立に基づき、遊技に関する抽選を行う抽選手段と、
前記所定条件の成立時に、前記乱数更新手段から前記抽選に用いる乱数を取得する乱数取得手段とを有し、
前記乱数更新手段は、前記システムリセット信号発生手段にて発生させたシステムリセット信号にてリセットされると、ランダムな値を乱数の初期値とする一方、前記異常リセット信号発生手段にて発生させた異常リセット信号にてリセットされると、所定条件により設定された固定値を初期値とし、
前記抽選手段は、前記乱数の初期値が前記システムリセット信号に基づいて設定されたものか、あるいは、前記異常リセット信号に基づいて設定されたものかを確認することなく、前記乱数取得手段にて取得した乱数と所定の判定値に基づき抽選を行ってなることを特徴とする遊技機。
Random number updating means for updating a random number based on a predetermined signal;
Abnormal reset signal that generates an abnormal reset signal upon detecting access to an area in the memory space that stores ROM manufacturer information, etc., in a memory space where at least predetermined data is stored in the predetermined area Generating means;
System reset signal generating means for generating a system reset signal when the power is turned on;
Lottery means for performing a lottery regarding a game based on establishment of a predetermined condition;
Random number acquisition means for acquiring a random number used in the lottery from the random number update means when the predetermined condition is satisfied;
When the random number updating means is reset by the system reset signal generated by the system reset signal generating means, a random value is used as the initial value of the random number, while the abnormal reset signal generating means is generated. When reset by an abnormal reset signal, the fixed value set according to the predetermined condition is set as the initial value.
The lottery means can determine whether the initial value of the random number is set based on the system reset signal or whether the initial value of the random number is set based on the abnormal reset signal. A gaming machine comprising a lottery based on the obtained random number and a predetermined determination value.
前記抽選手段による抽選処理が行われる前に、前記抽選手段による抽選結果がどのような結果となるのかを事前に先読み判定する先読み抽選手段をさらに有し、
前記先読み抽選手段は、前記乱数取得手段にて取得した乱数を用いて先読み判定を行い、
前記抽選手段は、前記先読み抽選手段にて用いた乱数を用いて抽選を行ってなることを特徴とする請求項1に記載の遊技機。
Before the lottery process by the lottery means is performed, the lottery means further includes pre-read lottery means for pre-determining in advance what the lottery result by the lottery means will be,
The prefetch lottery means performs a prefetch determination using the random number acquired by the random number acquisition means,
The gaming machine according to claim 1, wherein the lottery means performs a lottery using the random number used in the prefetch lottery means.
JP2014049405A 2013-07-18 2014-03-12 Game machine Active JP6355943B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014049405A JP6355943B2 (en) 2013-07-18 2014-03-12 Game machine

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2013149925 2013-07-18
JP2013149925 2013-07-18
JP2014049405A JP6355943B2 (en) 2013-07-18 2014-03-12 Game machine

Publications (3)

Publication Number Publication Date
JP2015037527A true JP2015037527A (en) 2015-02-26
JP2015037527A5 JP2015037527A5 (en) 2017-02-09
JP6355943B2 JP6355943B2 (en) 2018-07-11

Family

ID=52631069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014049405A Active JP6355943B2 (en) 2013-07-18 2014-03-12 Game machine

Country Status (1)

Country Link
JP (1) JP6355943B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017196186A (en) * 2016-04-27 2017-11-02 株式会社大一商会 Game machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002253823A (en) * 2001-03-02 2002-09-10 Fuji Shoji:Kk Game machine
JP2003102959A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2012249991A (en) * 2011-06-07 2012-12-20 Fujishoji Co Ltd Game machine
JP2013066654A (en) * 2011-09-26 2013-04-18 Sophia Co Ltd Game machine
JP2014030460A (en) * 2012-07-31 2014-02-20 Daito Giken:Kk Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002253823A (en) * 2001-03-02 2002-09-10 Fuji Shoji:Kk Game machine
JP2003102959A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2012249991A (en) * 2011-06-07 2012-12-20 Fujishoji Co Ltd Game machine
JP2013066654A (en) * 2011-09-26 2013-04-18 Sophia Co Ltd Game machine
JP2014030460A (en) * 2012-07-31 2014-02-20 Daito Giken:Kk Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017196186A (en) * 2016-04-27 2017-11-02 株式会社大一商会 Game machine

Also Published As

Publication number Publication date
JP6355943B2 (en) 2018-07-11

Similar Documents

Publication Publication Date Title
JP5770241B2 (en) Game machine
JP6587717B2 (en) Game machine
JP5313376B2 (en) Game machine
JP6587716B2 (en) Game machine
JP6288834B2 (en) Game machine
JP6288836B2 (en) Game machine
JP6355943B2 (en) Game machine
JP6288835B2 (en) Game machine
JP6452966B2 (en) Game machine
JP6333003B2 (en) Game machine
JP2016195731A (en) Game machine
JP6368163B2 (en) Game machine
JP6307113B2 (en) Game machine
JP6339047B2 (en) Game machine
JP6898418B2 (en) Pachinko machine
JP5770242B2 (en) Game machine
JP2013162816A (en) Game machine
JP5959226B2 (en) Game machine
JP5959227B2 (en) Game machine
JP6307112B2 (en) Game machine
JP6242971B2 (en) Game machine
JP2014083342A (en) Game machine
JP5726228B2 (en) Game machine
JP2013223780A (en) Game machine
JP2015164635A (en) Game machine

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161227

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170929

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180329

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180613

R150 Certificate of patent or registration of utility model

Ref document number: 6355943

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250