JP2016002434A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2016002434A
JP2016002434A JP2014126650A JP2014126650A JP2016002434A JP 2016002434 A JP2016002434 A JP 2016002434A JP 2014126650 A JP2014126650 A JP 2014126650A JP 2014126650 A JP2014126650 A JP 2014126650A JP 2016002434 A JP2016002434 A JP 2016002434A
Authority
JP
Japan
Prior art keywords
bit
random number
value
setting
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
JP2014126650A
Other languages
Japanese (ja)
Other versions
JP6417123B2 (en
Inventor
小倉 敏男
Toshio Ogura
敏男 小倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2014126650A priority Critical patent/JP6417123B2/en
Publication of JP2016002434A publication Critical patent/JP2016002434A/en
Application granted granted Critical
Publication of JP6417123B2 publication Critical patent/JP6417123B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)
  • Slot Machines And Peripheral Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a game machine which can prevent unexpected operation by an unused circuit.SOLUTION: Random number circuits 508a and 508b are provided with random number circuits of 4 channels respectively, it is set so that only channels 0 and 1 of the random number circuit 508b are started and channels 0 to 3 of the random number circuit 508a and channels 2 and 3 of the random number circuit 508b are set to be unused and not to be activated. A set value which is different from an initial value (all 0) at the time of factory shipment and does not cause any problem even granting that operation is wrongly started is set as a set value corresponding to operation setting of the unused random number circuit in a program management area.

Description

本発明は、パチンコ遊技機やスロットマシン等、所定の遊技を行うことが可能な遊技機に関する。   The present invention relates to a gaming machine capable of performing a predetermined game, such as a pachinko gaming machine or a slot machine.

この種の遊技機としては、抽選などに用いる乱数値を生成する乱数回路等の複数の回路を搭載した遊技制御用のマイクロコンピュータを備えるものがあり、このようなマイクロコンピュータでは、ROM領域に割り当てられた設定領域の変更により、複数の回路の使用/未使用を任意に設定することが可能なものが提案されている(例えば、特許文献1参照)。   As this type of gaming machine, there is a game control microcomputer equipped with a plurality of circuits such as a random number circuit for generating a random number value used for a lottery or the like. There has been proposed one that can arbitrarily set the use / non-use of a plurality of circuits by changing the set area (see, for example, Patent Document 1).

特開2007−54438号公報JP 2007-54438 A

特許文献1に記載されたスロットマシンのように複数の回路を搭載した遊技制御用のマイクロコンピュータを備え、そのうち機種によっては一部の回路しか使用しない場合もあり、このような場合には、使用しない回路について未使用に設定していても、ノイズ等によって回路が動作する可能性があり、マイクロコンピュータが想定外の動作を引き起こしてしまう虞がある。   As in the slot machine described in Patent Document 1, a game control microcomputer equipped with a plurality of circuits is provided. Depending on the model, only a part of the circuit may be used. Even if the unused circuit is set to be unused, the circuit may operate due to noise or the like, and there is a possibility that the microcomputer may cause an unexpected operation.

本発明は、このような問題点に着目してなされたものであり、未使用の回路による想定外の動作を防止できる遊技機を提供することを目的とする。   The present invention has been made paying attention to such problems, and an object thereof is to provide a gaming machine that can prevent an unexpected operation by an unused circuit.

上記課題を解決するために、本発明の手段1に記載の遊技機は、
所定の遊技を行うことが可能な遊技機(スロットマシン1)において、
所定の制御を行う制御回路(乱数回路508aのチャネル0〜3、乱数回路508bのチャネル0〜3)と、
前記制御回路(乱数回路508aのチャネル0〜3、乱数回路508bのチャネル0〜3)を使用するか否かを示す第1情報(16ビット乱数初期設定1(KRL1)、16ビット乱数初期設定2(KRL2)、8ビット乱数初期設定1(KRS1)、8ビット乱数初期設定2(KRS2)における起動方法の選択)と、前記制御回路(乱数回路508aのチャネル0〜3、乱数回路508bのチャネル0〜3)による制御を予め定められた設定と異なる設定で行うか否かを示す第2情報(16ビット乱数初期設定1(KRL1)、16ビット乱数初期設定2(KRL2)、8ビット乱数初期設定1(KRS1)、8ビット乱数初期設定2(KRS2)における更新クロックの設定、乱数列変更方法の設定、16ビット乱数初期設定3(KRL3)におけるスタート地の設定、システムリセット毎の変更有無の設定)と、が少なくとも記憶される記憶領域(ROM41bのプログラム管理エリア領域)と、
を備え、
前記記憶領域には、前記第1情報として前記制御回路(乱数回路508aのチャネル0〜3、乱数回路508bのチャネル2、3)を使用しない旨を示す情報(最大値設定で起動に対応する設定値、かつ最大値非設定)が記憶されている場合であっても、前記第2情報として当該制御回路(乱数回路508aのチャネル0〜3、乱数回路508bのチャネル2、3)による制御を予め定められた設定と異なる設定で行う旨を示す情報(外部クロックの2周分、乱数列自動変更、IDナンバーを基にしたスタート値、システムリセット毎にスタート値を変更)が記憶されている
ことを特徴としている。
この特徴によれば、記憶領域には、第1情報として制御回路を使用しない旨を示す情報が記憶されている場合であっても、第2情報として当該制御回路による制御を予め定められた設定と異なる設定で行う旨を示す情報が記憶されているので、何らかの原因で使用しない旨が設定された制御回路が動作してしまった場合であっても、第2情報として標準仕様として予め定められた初期設定ではなく、仮に動作してしまっても問題のない設定としておくことにより、当該制御回路による想定外の動作を防止できる。
尚、所定の遊技を行うことが可能な遊技機とは、遊技場に設置されるパチンコ遊技機やスロットマシンなどが該当する。
また、所定の制御を行う制御回路とは、例えば、乱数を生成する乱数回路、通信を行うための通信回路、リセット信号を生成するリセット回路、割込を制御する割込制御回路等が該当する。
In order to solve the above-mentioned problem, a gaming machine according to means 1 of the present invention provides:
In a gaming machine (slot machine 1) capable of performing a predetermined game,
Control circuits for performing predetermined control (channels 0 to 3 of the random number circuit 508a, channels 0 to 3 of the random number circuit 508b);
First information (16-bit random number initial setting 1 (KRL1), 16-bit random number initial setting 2) indicating whether to use the control circuit (channels 0 to 3 of the random number circuit 508a, channels 0 to 3 of the random number circuit 508b) (KRL2), 8-bit random number initial setting 1 (KRS1), activation method selection in 8-bit random number initial setting 2 (KRS2)) and the control circuit (channels 0 to 3 of the random number circuit 508a, channel 0 of the random number circuit 508b) To 3) second information (16 bit random number initial setting 1 (KRL1), 16 bit random number initial setting 2 (KRL2), 8 bit random number initial setting) indicating whether or not the control by the setting different from the predetermined setting is performed. 1 (KRS1), 8-bit random number initial setting 2 (KRS2) update clock setting, random number sequence change method setting, 16-bit random number initial setting 3 (KR Start destination setting of the 3), a setting of changing the presence or absence of each system reset), a storage area (program management area region of ROM 41b) which but is at least stored,
With
In the storage area, information indicating that the control circuit (channels 0 to 3 of the random number circuit 508a, channels 2 and 3 of the random number circuit 508b) is not used as the first information (setting corresponding to activation by setting the maximum value) Even if the value and the maximum value are not set), control by the control circuit (channels 0 to 3 of the random number circuit 508a and channels 2 and 3 of the random number circuit 508b) is previously performed as the second information. Information indicating that the setting is different from the specified setting is stored (for two external clock cycles, random number sequence automatic change, start value based on ID number, start value changed at each system reset) It is characterized by.
According to this feature, even when information indicating that the control circuit is not used is stored as the first information in the storage area, the control by the control circuit is set in advance as the second information. Since the information indicating that the setting is different from the setting is stored, even if the control circuit that is set not to be used is operated for some reason, it is predetermined as the standard specification as the second information. In this case, setting that does not cause a problem even if the operation is performed instead of the initial setting can prevent an unexpected operation by the control circuit.
Note that a gaming machine capable of performing a predetermined game corresponds to a pachinko gaming machine, a slot machine, or the like installed in a game hall.
The control circuit that performs predetermined control corresponds to, for example, a random number circuit that generates a random number, a communication circuit that performs communication, a reset circuit that generates a reset signal, an interrupt control circuit that controls an interrupt, and the like. .

本発明の手段2に記載の遊技機は、手段1に記載の遊技機であって、
前記制御回路を複数備え、
前記記憶領域には、複数の同種の制御回路(乱数回路508bのチャネル0〜3)のうち使用する一の制御回路(チャネル0、1)についての前記第1情報として使用する旨を示す情報(ユーザモード移行で自動起動)が記憶され、前記複数の同種の制御回路のうち前記一の制御回路とは異なる他の制御回路(チャネル2、3)についての前記第1情報として使用しない旨を示す情報(最大値設定で起動に対応する設定値、かつ最大値非設定)が記憶されている
ことを特徴としている。
この特徴によれば、複数の同種の制御回路のうち必要な制御回路のみ使用する場合において、未使用の制御回路による想定外の動作を防止できる。
The gaming machine according to means 2 of the present invention is the gaming machine according to means 1,
A plurality of the control circuits are provided,
In the storage area, information indicating that it is used as the first information for one control circuit (channels 0 and 1) to be used among a plurality of similar control circuits (channels 0 to 3 of the random number circuit 508b) ( Auto-start at user mode transition) is stored and indicates that it is not used as the first information for other control circuits (channels 2 and 3) different from the one control circuit among the plurality of similar control circuits Information (setting value corresponding to start-up with maximum value setting and non-maximum value setting) is stored.
According to this feature, unexpected operation by an unused control circuit can be prevented when only a necessary control circuit is used among a plurality of similar control circuits.

本発明の手段3に記載の遊技機は、手段2に記載の遊技機であって、
前記記憶領域には、前記他の制御回路(チャネル2、3)についての前記第2情報として、前記一の制御回路についての前記第2情報と同一の設定で行う旨を示す情報(外部クロックの2周分、乱数列自動変更、IDナンバーを基にしたスタート値、システムリセット毎にスタート値を変更)が記憶されている
ことを特徴としている。
この特徴によれば、何らかの原因で使用しない旨が設定された他の制御回路が動作してしまった場合であっても、第2情報として標準仕様として予め定められた初期設定ではなく、使用する旨が設定された同種の制御回路と同一設定としておくことにより、当該制御回路による動作を想定内の範囲に留めることができる。
The gaming machine according to means 3 of the present invention is the gaming machine according to means 2,
In the storage area, information indicating that the second information about the other control circuit (channels 2 and 3) is set with the same setting as the second information about the one control circuit (external clock signal). 2 rounds, automatic random number change, start value based on ID number, and change start value at every system reset) are stored.
According to this feature, even if another control circuit that is set not to be used is operated for some reason, the second information is used instead of the initial setting predetermined as the standard specification. By setting the same setting as that of the same type of control circuit to which the effect is set, the operation by the control circuit can be kept within the expected range.

本発明の手段4に記載の遊技機は、手段1〜3のいずれかに記載の遊技機であって、
前記制御回路は、乱数値となる数値データを生成する乱数回路(乱数回路508bのチャネル2、3)を含み、
前記記憶領域には、前記乱数回路(乱数回路508bのチャネル2、3)についての前記第1情報として使用しない旨を示す情報(最大値設定で起動に対応する設定値、かつ最大値非設定)が記憶され、該乱数回路(乱数回路508bのチャネル2、3)についての前記第2情報として、前記数値データの更新を開始する初期値を起動毎に変更する旨を示す情報(システムリセット毎にスタート値を変更)が記憶されている
ことを特徴としている。
この特徴によれば、未使用の乱数回路であっても、乱数回路により生成される数値データの特定が困難となるので、当該数値データを利用した不正を未然に防止することができる。
A gaming machine according to means 4 of the present invention is the gaming machine according to any one of means 1 to 3,
The control circuit includes a random number circuit (channels 2 and 3 of the random number circuit 508b) for generating numerical data to be a random number value,
In the storage area, information indicating that the random number circuit (channels 2 and 3 of the random number circuit 508b) is not used as the first information (a setting value corresponding to activation with a maximum value setting and a non-maximum value setting) As the second information for the random number circuit (channels 2 and 3 of the random number circuit 508b), information indicating that the initial value for starting the update of the numerical data is changed at each activation (at each system reset) The feature is that the start value is changed).
According to this feature, even if it is an unused random number circuit, it is difficult to specify the numerical data generated by the random number circuit, so that fraud using the numerical data can be prevented in advance.

本発明の手段5に記載の遊技機は、手段1〜4のいずれかに記載の遊技機であって、
前記制御回路は、乱数値となる数値データを生成する乱数回路(乱数回路508bのチャネル2、3)を含み、
前記記憶領域には、前記乱数回路(乱数回路508bのチャネル2、3)についての前記第1情報として使用しない旨を示す情報(最大値設定で起動に対応する設定値、かつ最大値非設定)が記憶され、該乱数回路(乱数回路508bのチャネル2、3)についての前記第2情報として、前記数値データの更新方法を変更する旨を示す情報(乱数列自動変更)が記憶されている
ことを特徴としている。
この特徴によれば、未使用の乱数回路であっても、乱数回路により生成される数値データの特定が困難となるので、当該数値データを利用した不正を未然に防止することができる。
The gaming machine according to means 5 of the present invention is the gaming machine according to any one of means 1 to 4,
The control circuit includes a random number circuit (channels 2 and 3 of the random number circuit 508b) for generating numerical data to be a random number value,
In the storage area, information indicating that the random number circuit (channels 2 and 3 of the random number circuit 508b) is not used as the first information (a setting value corresponding to activation with a maximum value setting and a non-maximum value setting) And information indicating that the numerical data update method is to be changed (random number sequence automatic change) is stored as the second information for the random number circuit (channels 2 and 3 of the random number circuit 508b). It is characterized by.
According to this feature, even if it is an unused random number circuit, it is difficult to specify the numerical data generated by the random number circuit, so that fraud using the numerical data can be prevented in advance.

本発明の手段6に記載の遊技機は、手段1〜5のいずれかに記載の遊技機であって、
前記制御回路における制御について異常が発生しているか否かを判定する判定手段(更新監視回路537)と、
前記判定手段の判定結果を示す情報が記憶される判定情報記憶領域(内部情報レジスタ(CIF))と、
を備え、
前記判定手段は、未使用の制御回路(乱数回路508bのチャネル2、3)についても異常(更新異常)が発生しているか否かを判定し、
前記判定情報記憶領域(内部情報レジスタ(CIF))には、前記未使用の制御回路(乱数回路508bのチャネル2、3)についての判定結果を示す情報も記憶される
ことを特徴としている。
この特徴によれば、未使用の制御回路についても異常が発生した場合には、その有無を確認することができる。
The gaming machine according to means 6 of the present invention is the gaming machine according to any one of means 1 to 5,
Determination means (update monitoring circuit 537) for determining whether or not an abnormality has occurred in the control in the control circuit;
A determination information storage area (internal information register (CIF)) in which information indicating the determination result of the determination means is stored;
With
The determination means determines whether or not an abnormality (update abnormality) has occurred in an unused control circuit (channels 2 and 3 of the random number circuit 508b),
In the determination information storage area (internal information register (CIF)), information indicating a determination result for the unused control circuit (channels 2 and 3 of the random number circuit 508b) is also stored.
According to this feature, if an abnormality occurs in an unused control circuit, the presence or absence can be confirmed.

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

本発明が適用された実施例1のスロットマシンの正面図である。It is a front view of the slot machine of Example 1 to which the present invention was applied. スロットマシンの内部構造を示す斜視図である。It is a perspective view which shows the internal structure of a slot machine. リールの図柄配列を示す図である。It is a figure which shows the symbol arrangement | sequence of a reel. スロットマシンの構成を示すブロック図である。It is a block diagram which shows the structure of a slot machine. メイン制御部の構成を示すブロック図である。It is a block diagram which shows the structure of a main control part. メイン制御部におけるアドレスマップの一例を示す図である。It is a figure which shows an example of the address map in a main control part. プログラム管理エリアの主要部分を例示する図である。It is a figure which illustrates the main part of a program management area. 内蔵レジスタの主要部分を例示する図である。It is a figure which illustrates the principal part of a built-in register. 内蔵レジスタの主要部分を例示する図である。It is a figure which illustrates the principal part of a built-in register. 内蔵レジスタの主要部分を例示する図である。It is a figure which illustrates the principal part of a built-in register. ヘッダ(KHDR)における設定データと動作との対応関係を例示する図である。It is a figure which illustrates the correspondence of the setting data and operation | movement in a header (KHDR). プログラムコードエンドアドレス(KPCE)、プログラムコードスタートアドレス2(KPCS2)、およびプログラムコードエンドアドレス2(KPCE2)における設定内容の一例を示す図である。It is a figure which shows an example of the setting content in a program code end address (KPCE), a program code start address 2 (KPCS2), and a program code end address 2 (KPCE2). リセット設定(KRES)における設定内容の一例を示す図である。It is a figure which shows an example of the setting content in reset setting (KRES). 16ビット乱数初期設定1(KRL1)のにおける設定内容の一例を示す図である。It is a figure which shows an example of the setting content in 16 bit random number initial setting 1 (KRL1). 16ビット乱数初期設定2(KRL2)における設定内容の一例を示す図である。It is a figure which shows an example of the setting content in 16 bit random number initial setting 2 (KRL2). 16ビット乱数初期設定3(KRL3)のにおける設定内容の一例を示す図である。It is a figure which shows an example of the setting content in 16 bit random number initial setting 3 (KRL3). 8ビット乱数初期設定1(KRS1)のにおける設定内容の一例を示す図である。It is a figure which shows an example of the setting content in 8-bit random number initial setting 1 (KRS1). 8ビット乱数初期設定2(KRS2)のにおける設定内容の一例を示す図である。It is a figure which shows an example of the setting content in 8-bit random number initial setting 2 (KRS2). セキュリティ時間設定(KSES)における設定内容の一例を示す図である。It is a figure which shows an example of the setting content in security time setting (KSES). 乱数クロック監視設定(KRCS)における設定内容の一例を示す図である。It is a figure which shows an example of the setting content in random number clock monitoring setting (KRCS). 内部情報レジスタの構成例等を示す図である。It is a figure which shows the structural example etc. of an internal information register. 8ビット乱数回路の一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure of an 8-bit random number circuit. 16ビット乱数回路の一構成例を示すブロック図である。It is a block diagram which shows one structural example of a 16-bit random number circuit. RL0ハードラッチ選択レジスタ0(RL0LS0)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of RL0 hard latch selection register 0 (RL0LS0). RL0ハードラッチ選択レジスタ1(RL0LS1)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of RL0 hard latch selection register 1 (RL0LS1). RLnハードラッチ選択レジスタ(RLnLS)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a RLn hard latch selection register (RLnLS), and an example of a setting content. RSハードラッチ選択レジスタ0(RSLS0)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of RS hard latch selection register 0 (RSLS0). RSハードラッチ選択レジスタ1(RSLS1)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of RS hard latch selection register 1 (RSLS1). RL割込制御レジスタ0(RLIC0)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of RL interruption control register 0 (RLIC0), and an example of the setting content. RL割込制御レジスタ1(RLIC1)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of RL interruption control register 1 (RLIC1), and an example of setting content. RS割込制御レジスタ(RSIC)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a RS interruption control register (RSIC), and an example of the setting content. RLn最大値設定レジスタ(RLnMX)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a RLn maximum value setting register (RLnMX), and an example of the setting content. RSn最大値設定レジスタ(RSnMX)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example of RSn maximum value setting register (RSnMX), and a setting content. 乱数列変更レジスタ(RDSC)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of a random number sequence change register (RDSC). 乱数ソフトラッチレジスタ(RDSL)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of a random number soft latch register (RDSL). 乱数ソフトラッチフラグレジスタ(RDSF)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a random number soft latch flag register (RDSF), and an example of the setting content. RLnソフトラッチ乱数値レジスタ(RLnSV)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a RLn soft latch random number value register (RLnSV), and an example of setting content. RSnソフトラッチ乱数値レジスタ(RSnSV)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example of RSn soft latch random number value register (RSnSV), and a setting content. RLハードラッチフラグレジスタ0(RLHF0)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of RL hard latch flag register 0 (RLHF0), and an example of the setting content. RLハードラッチフラグレジスタ1(RLHF1)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of RL hard latch flag register 1 (RLHF1). RSハードラッチフラグレジスタ(RSHF)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example and setting content of RS hard latch flag register (RSHF). RL0ハードラッチ乱数値レジスタm(RL0mHV)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a RL0 hard latch random number value register m (RL0mHV), and an example of setting content. RL1ハードラッチ乱数値レジスタm(RL1mHV)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example of RL1 hard latch random number value register m (RL1mHV), and a setting content. RL2ハードラッチ乱数値レジスタm(RL2mHV)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a RL2 hard latch random number value register m (RL2mHV), and an example of setting content. RL3ハードラッチ乱数値レジスタm(RL3mHV)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of a RL3 hard latch random number value register m (RL3mHV), and an example of the setting content. RSnハードラッチ乱数値レジスタ(RSnHV)の構成例および設定内容の一例を示す説明図である。It is explanatory drawing which shows an example of a structure example of RSn hard latch random number value register (RSnHV), and a setting content.

本発明の遊技機を実施するための形態を実施例に基づいて以下に説明する。   The form for implementing the game machine of this invention is demonstrated below based on an Example.

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

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

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

各リール2L、2C、2Rは、各々対応して設けられリールモータ32L、32C、32R(図4参照)によって回転させることで、各リール2L、2C、2Rの図柄が透視窓3に連続的に変化しつつ表示されるとともに、各リール2L、2C、2Rの回転を停止させることで、透視窓3に3つの連続する図柄が表示結果として導出表示されるようになっている。   The reels 2L, 2C, and 2R are provided in correspondence with each other and rotated by reel motors 32L, 32C, and 32R (see FIG. 4), so that the symbols of the reels 2L, 2C, and 2R are continuously formed in the see-through window 3. In addition to being displayed while changing, by stopping the rotation of the reels 2L, 2C, and 2R, three consecutive symbols are derived and displayed on the fluoroscopic window 3 as display results.

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

前面扉1bにおける各リール2L、2C、2Rに対応する位置には、リール2L、2C、2Rを前面側から透視可能とする横長長方形状の透視窓3が設けられており、該透視窓3を介して遊技者側から各リール2L、2C、2Rが視認できるようになっている。   At the position corresponding to each of the reels 2L, 2C, and 2R on the front door 1b, a horizontally-long rectangular see-through window 3 that allows the reels 2L, 2C, and 2R to be seen through from the front side is provided. The reels 2L, 2C, and 2R can be visually recognized from the player side.

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

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

また、前面扉1bには、図1に示すように、画像を表示可能な液晶表示器51、クレジットとして記憶されているメダル枚数が表示されるクレジット表示器11、入賞の発生により払い出されたメダル枚数やエラー発生時にその内容を示すエラーコード等が表示される遊技補助表示器12、賭数が1設定されている旨を点灯により報知する1BETLED14、賭数が2設定されている旨を点灯により報知する2BETLED15、賭数が3設定されている旨を点灯により報知する3BETLED16、メダルの投入が可能な状態を点灯により報知する投入要求LED17、スタートスイッチ7の操作によるゲームのスタート操作が有効である旨を点灯により報知するスタート有効LED18、ウェイト(前回のゲーム開始から一定期間経過していないためにリールの回転開始を待機している状態)中である旨を点灯により報知するウェイト中LED19、後述するリプレイゲーム中である旨を点灯により報知するリプレイ中LED20が設けられた遊技用表示部13が設けられている。   Further, as shown in FIG. 1, the front door 1b has a liquid crystal display 51 that can display an image, a credit display 11 that displays the number of medals stored as credits, and a payout due to the occurrence of a prize. Game auxiliary indicator 12 that displays the number of medals and an error code indicating the contents when an error occurs, 1 BETLED 14 that notifies that the bet number is set by 1, and lights that the bet number is set to 2 2BETLED 15 for informing, 3BETLED 16 for informing that the number of bets is set by 3 lighting, insertion request LED 17 for informing that a medal can be inserted by lighting, and start operation of the game by operating the start switch 7 are effective. Start valid LED 18 to notify that there is light, wait (a certain period of time has elapsed since the start of the previous game The game is provided with a waiting LED 19 for notifying the fact that the reel is starting to be rotated because it has not been turned on, and a replaying LED 20 for notifying that the replay game is to be described later. A display unit 13 is provided.

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

前面扉1bの内側には、図2に示すように、所定のキー操作により後述するエラー状態及び後述する打止状態を解除するためのリセット操作を検出するリセットスイッチ23(図4参照)、後述する設定値の変更中や設定値の確認中にその時点の設定値が表示される設定値表示器24、ボーナス終了時に打止状態(リセット操作がなされるまでゲームの進行が規制される状態)に制御する打止機能の有効/無効を選択するための打止スイッチ36a、ボーナス終了時に自動精算処理(クレジットとして記憶されているメダルを遊技者の操作によらず精算(返却)する処理)に制御する自動精算機能の有効/無効を選択するための自動精算スイッチ36b、メダル投入部4から投入されたメダルの流路を、筐体1a内部に設けられた後述のホッパータンク34a側またはメダル払出口9側のいずれか一方に選択的に切り替えるための流路切替ソレノイド30(図4参照)、メダル投入部4から投入され、ホッパータンク34a側に流下したメダルを検出する投入メダルセンサ31(図4参照)を有するメダルセレクタ29、前面扉1bの開放状態を検出するドア開放検出スイッチ25(図4参照)が設けられている。   As shown in FIG. 2, a reset switch 23 (see FIG. 4) for detecting a reset operation for releasing an error state described later and a stop state described later by a predetermined key operation is provided inside the front door 1b. A setting value display 24 that displays the setting value at that time while changing the setting value to be confirmed or checking the setting value, a stop state at the end of the bonus (a state in which the progress of the game is restricted until a reset operation is performed) A stop switch 36a for selecting whether the stop function to be controlled is valid / invalid, for automatic settlement processing at the end of the bonus (processing to settle (return) medals stored as credits regardless of the player's operation) An automatic settlement switch 36b for selecting whether the automatic settlement function to be controlled is valid / invalid, and a flow path for medals inserted from the medal insertion section 4 are provided in the case 1 described later provided in the housing 1a. -A flow path switching solenoid 30 (see FIG. 4) for selectively switching to either the tank 34a side or the medal payout exit 9 side, and a medal that has been inserted from the medal insertion unit 4 and has flowed to the hopper tank 34a side is detected. A medal selector 29 having an inserted medal sensor 31 (see FIG. 4) and a door open detection switch 25 (see FIG. 4) for detecting the open state of the front door 1b are provided.

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

ホッパーユニット34の側部には、ホッパータンク34aから溢れたメダルが貯留されるオーバーフロータンク35が設けられている。オーバーフロータンク35の内部には、メダルの貯留量が所定量以上となったこと、すなわちオーバーフロータンク35が満タン状態となったことを検出する満タンセンサ35aが設けられている。   On the side of the hopper unit 34, an overflow tank 35 is provided for storing medals overflowing from the hopper tank 34a. Inside the overflow tank 35, a full tank sensor 35a is provided for detecting that the amount of stored medal is equal to or greater than a predetermined amount, that is, the overflow tank 35 is full.

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

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

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

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

また、本実施例では、入賞ラインLNに入賞を構成する図柄の組合せが揃ったことを認識しやすくするために、入賞ラインLNとは別に、無効ラインLM1〜4を設定している。無効ラインLM1〜4は、これら無効ラインLM1〜4に揃った図柄の組合せによって入賞が判定されるものではなく、入賞ラインLNに特定の入賞を構成する図柄の組合せが揃った際に、無効ラインLM1〜4のいずれかに入賞ラインLNに揃った場合に入賞となる図柄の組合せ(例えば、ベル−ベル−ベル)が揃う構成とすることで、入賞ラインLNに特定の入賞を構成する図柄の組合せが揃ったことを認識しやすくするものである。本実施例では、図1に示すように、リール2Lの上段、リール2Cの上段、リール2Rの上段、すなわち上段に水平方向に並んだ図柄に跨って設定された無効ラインLM1、リール2Lの下段、リール2Cの下段、リール2Rの下段、すなわち下段に水平方向に並んだ図柄に跨って設定された無効ラインLM2、リール2Lの上段、リール2Cの中段、リール2Rの下段、すなわち右下がりに並んだ図柄に跨って設定された無効ラインLM3、リール2Lの下段、リール2Cの中段、リール2Rの上段、すなわち右上がりに並んだ図柄に跨って設定された無効ラインLM4の4種類が無効ラインLMとして定められている。   Further, in the present embodiment, invalid lines LM1 to LM1 are set apart from the winning line LN in order to make it easy to recognize that the winning line LN has a combination of symbols constituting the winning line. The invalid lines LM1 to LM4 are not determined based on the combination of symbols arranged in the invalid lines LM1 to LM4. When the combination of symbols constituting a specific prize is arranged on the winning line LN, the invalid line is displayed. When a combination of symbols (for example, bell-bell-bell) that is awarded when the winning line LN is aligned with any of the LM1 to LM4 is arranged, the symbols constituting a specific winning in the winning line LN It is easy to recognize that the combination is complete. In this embodiment, as shown in FIG. 1, an invalid line LM1 and a lower stage of the reel 2L, which are set across the symbols arranged horizontally in the upper stage of the reel 2L, the upper stage of the reel 2C, the upper stage of the reel 2R, that is, the upper stage. , The lower stage of the reel 2C, the lower stage of the reel 2R, that is, the invalid line LM2 set across the symbols arranged horizontally in the lower stage, the upper stage of the reel 2L, the middle stage of the reel 2C, the lower stage of the reel 2R, that is, the lower side There are four types of invalid lines LM3 set across straddling symbols LM3, lower stage of reel 2L, middle stage of reel 2C, upper stage of reel 2R, that is, invalid line LM4 set straddling to the right. It is defined as.

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

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

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

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

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

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

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

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

電源基板101には、外部からAC100Vの電源が供給されるとともに、このAC100Vの電源からスロットマシン1を構成する電気部品の駆動に必要な直流電圧が生成され、遊技制御基板40及び遊技制御基板40を介して接続された演出制御基板90に供給されるようになっている。尚、演出制御基板に対して電源を供給する電源供給ラインが遊技制御基板40を介さず、電源基板101から演出制御基板90に直接接続され、電源基板101から演出制御基板90に対して直接電源が供給される構成としても良い。   The power supply board 101 is supplied with AC100V power from the outside, and from this AC100V power supply, a DC voltage necessary for driving electrical components constituting the slot machine 1 is generated, and the game control board 40 and the game control board 40 are generated. It is supplied to the production control board 90 connected through the. The power supply line for supplying power to the effect control board is directly connected from the power supply board 101 to the effect control board 90 without going through the game control board 40, and the power supply board 101 directly supplies power to the effect control board 90. May be supplied.

また、電源基板101には、前述したホッパーモータ34b、払出センサ34c、満タンセンサ35a、設定キースイッチ37、リセット/設定スイッチ38、電源スイッチ39が接続されている。   Further, the above-described hopper motor 34b, payout sensor 34c, full sensor 35a, setting key switch 37, reset / setting switch 38, and power switch 39 are connected to the power supply board 101.

遊技制御基板40には、前述したMAXBETスイッチ6、スタートスイッチ7、ストップスイッチ8L、8C、8R、精算スイッチ10、リセットスイッチ23、打止スイッチ36a、自動精算スイッチ36b、投入メダルセンサ31、ドア開放検出スイッチ25、リールセンサ33L、33C、33Rが接続されているとともに、電源基板101を介して前述した払出センサ34c、満タンセンサ35a、設定キースイッチ37、リセット/設定スイッチ38が接続されており、これら接続されたスイッチ類の検出信号が入力されるようになっている。   On the game control board 40, the above-described MAXBET switch 6, start switch 7, stop switches 8L, 8C, 8R, settlement switch 10, reset switch 23, stop switch 36a, automatic settlement switch 36b, insertion medal sensor 31, door open The detection switch 25 and reel sensors 33L, 33C, and 33R are connected, and the above-described payout sensor 34c, full sensor 35a, setting key switch 37, and reset / setting switch 38 are connected via the power supply board 101. Detection signals from these connected switches are input.

また、遊技制御基板40には、前述したクレジット表示器11、遊技補助表示器12、1〜3BETLED14〜16、投入要求LED17、スタート有効LED18、ウェイト中LED19、リプレイ中LED20、BETスイッチ有効LED21、左、中、右停止有効LED22L、22C、22R、設定値表示器24、流路切替ソレノイド30、リールモータ32L、32C、32Rが接続されているとともに、電源基板101を介して前述したホッパーモータ34bが接続されており、これら電気部品は、遊技制御基板40に搭載された後述のメイン制御部41の制御に基づいて駆動されるようになっている。   Further, the game control board 40 includes the credit indicator 11, the game auxiliary indicator 12, 1-3 BET LEDs 14-16, the insertion request LED 17, the start valid LED 18, the waiting LED 19, the replaying LED 20, the BET switch valid LED 21, the left The middle and right stop valid LEDs 22L, 22C and 22R, the set value display 24, the flow path switching solenoid 30, the reel motors 32L, 32C and 32R are connected, and the hopper motor 34b described above is connected via the power supply board 101. These electrical components are connected, and are driven based on control of a main control unit 41 (described later) mounted on the game control board 40.

遊技制御基板40には、メイン制御部41、制御用クロック生成回路42、乱数用クロック生成回路43、スイッチ検出回路44、モータ駆動回路45、ソレノイド駆動回路46、LED駆動回路47、電断検出回路48、リセット回路49が搭載されている。   The game control board 40 includes a main control unit 41, a control clock generation circuit 42, a random number clock generation circuit 43, a switch detection circuit 44, a motor drive circuit 45, a solenoid drive circuit 46, an LED drive circuit 47, and a power interruption detection circuit. 48 and a reset circuit 49 are mounted.

メイン制御部41は、遊技の進行に関する処理を行うととともに、遊技制御基板40に搭載された制御回路の各部を直接的または間接的に制御する。メイン制御部41では、後述のCPU41aがROM41bに格納されているプログラムに従って制御を実行するので、以下、メイン制御部41が実行する(または、処理を行う)ということは、具体的には、CPU41aがプログラムに従って制御を実行することである。このことは、後述するサブ制御部91についても同様である。ただし、後述するように、スロットマシン1への電源投入時やシステムリセット発生時には、メイン制御部41は、プログラム管理エリアの設定内容に従って、内部リセット動作の設定や搭載回路の設定、レジスタの設定などを行うのであるが、この設定動作については、メイン制御部41は、プログラムによらず、ハードウェア的に実行する。   The main control unit 41 performs processing related to the progress of the game, and directly or indirectly controls each unit of the control circuit mounted on the game control board 40. In the main control unit 41, the CPU 41a described later executes control in accordance with a program stored in the ROM 41b. Therefore, what the main control unit 41 executes (or performs processing) below specifically refers to the CPU 41a. Is to execute control according to the program. The same applies to the sub-control unit 91 described later. However, as described later, when the power to the slot machine 1 is turned on or a system reset occurs, the main control unit 41 sets the internal reset operation, the setting of the mounted circuit, the setting of the register, etc. according to the setting contents of the program management area. However, this setting operation is executed by the main control unit 41 in hardware regardless of the program.

制御用クロック生成回路42は、メイン制御部41の外部にて、所定周波数の発振信号となる制御用クロックCCLKを生成する。制御用クロック生成回路42により生成された制御用クロックCCLKは、クロック回路502に供給される。乱数用クロック生成回路43は、メイン制御部41の外部にて、制御用クロックCCLKの発振周波数とは異なる所定周波数の発振信号となる乱数用クロックRCLKを生成する。乱数用クロック生成回路43により生成された乱数用クロックRCLKは、乱数回路508a、508bに供給される。一例として、乱数用クロック生成回路43により生成される乱数用クロックRCLKの発振周波数は、制御用クロック生成回路42により生成される制御用クロックCCLKの発振周波数以下となるようにすれば良い。あるいは、乱数用クロック生成回路43により生成される乱数用クロックRCLKの発振周波数は、制御用クロック生成回路42により生成される制御用クロックCCLKの発振周波数よりも高周波となるようにしても良い。   The control clock generation circuit 42 generates a control clock CCLK serving as an oscillation signal having a predetermined frequency outside the main control unit 41. The control clock CCLK generated by the control clock generation circuit 42 is supplied to the clock circuit 502. The random number clock generation circuit 43 generates a random number clock RCLK that is an oscillation signal having a predetermined frequency different from the oscillation frequency of the control clock CCLK, outside the main control unit 41. The random number clock RCLK generated by the random number clock generation circuit 43 is supplied to the random number circuits 508a and 508b. As an example, the oscillation frequency of the random number clock RCLK generated by the random number clock generation circuit 43 may be set to be equal to or lower than the oscillation frequency of the control clock CCLK generated by the control clock generation circuit 42. Alternatively, the oscillation frequency of the random number clock RCLK generated by the random number clock generation circuit 43 may be higher than the oscillation frequency of the control clock CCLK generated by the control clock generation circuit 42.

尚、本実施例では、乱数用クロック生成回路43から専用の乱数用クロックRCLKを乱数回路508a、508bに入力する場合を示しているが、そのような態様に限られない。例えば、専用のクロックを用いるのではなく、制御用クロック生成回路42からの制御用クロックCCLKをメイン制御部41内部で乱数回路508a、508bに入力させるように構成しても良い。この場合、例えば、制御用クロックCCLKを分周した信号を用いて乱数回路508a、508b内蔵の乱数カウンタ(後述する乱数生成回路525a、525b)を更新させるようにしても良い。また、この場合、乱数用クロック生成回路43は遊技制御基板40上に設けなくても良い。   In the present embodiment, the case where the dedicated random number clock RCLK is input from the random number clock generation circuit 43 to the random number circuits 508a and 508b is shown, but the present invention is not limited thereto. For example, instead of using a dedicated clock, the control clock CCLK from the control clock generation circuit 42 may be input to the random number circuits 508 a and 508 b inside the main control unit 41. In this case, for example, a random number counter (random number generation circuits 525a and 525b described later) incorporated in the random number circuits 508a and 508b may be updated using a signal obtained by dividing the control clock CCLK. In this case, the random number clock generation circuit 43 may not be provided on the game control board 40.

スイッチ検出回路44は、遊技制御基板40に直接または電源基板101を介して接続されたスイッチ類から入力された検出信号を取り込んでメイン制御部41に伝送する。モータ駆動回路45は、メイン制御部41から出力されたモータ駆動信号をリールモータ32L、32C、32Rに伝送する。ソレノイド駆動回路46は、メイン制御部41から出力されたソレノイド駆動信号を流路切替ソレノイド30に伝送する。LED駆動回路47は、メイン制御部41から出力されたLED駆動信号を遊技制御基板40に接続された各種表示器やLEDに伝送する。電断検出回路48は、スロットマシン1に供給される電源電圧を監視し、電圧低下を検出したときに、その旨を示す電圧低下信号をメイン制御部41に対して出力する。リセット回路49は、電源投入時または電源遮断時などの電源が不安定な状態においてメイン制御部41にシステムリセット信号を与える。   The switch detection circuit 44 takes in detection signals input from switches connected directly to the game control board 40 or via the power supply board 101 and transmits them to the main control unit 41. The motor drive circuit 45 transmits the motor drive signal output from the main control unit 41 to the reel motors 32L, 32C, and 32R. The solenoid drive circuit 46 transmits the solenoid drive signal output from the main control unit 41 to the flow path switching solenoid 30. The LED drive circuit 47 transmits the LED drive signal output from the main control unit 41 to various displays and LEDs connected to the game control board 40. The power interruption detection circuit 48 monitors the power supply voltage supplied to the slot machine 1 and outputs a voltage drop signal indicating that to the main control unit 41 when a voltage drop is detected. The reset circuit 49 provides a system reset signal to the main control unit 41 in a state where the power is unstable, such as when the power is turned on or when the power is turned off.

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

リセット/割込コントローラ506は、外部割込要求や、内蔵の周辺回路(例えば、シリアル通信回路512、乱数回路508a、508b、タイマ回路509)からの割込要求を制御する回路である。リセット/割込コントローラ506は、指定エリア外走行禁止(IAT)回路506aとウォッチドッグタイマ(WDT)506bとを備える。IAT回路506aは、ユーザプログラムが指定エリア内で正しく実行されているか否かを監視する回路であり、指定エリア外でユーザプログラムが実行されたことを検出するとIAT発生信号を出力する機能を備える。また、ウォッチドッグタイマ506bは、設定期間ごとにタイムアウト信号を発生させる機能を備える。   The reset / interrupt controller 506 is a circuit that controls external interrupt requests and interrupt requests from built-in peripheral circuits (eg, serial communication circuit 512, random number circuits 508a and 508b, timer circuit 509). The reset / interrupt controller 506 includes an out-of-designated area prohibition (IAT) circuit 506a and a watchdog timer (WDT) 506b. The IAT circuit 506a is a circuit that monitors whether the user program is correctly executed in the designated area, and has a function of outputting an IAT generation signal when it is detected that the user program is executed outside the designated area. The watchdog timer 506b has a function of generating a timeout signal for each set period.

リセット/割込コントローラ506が制御するリセットには、システムリセットとユーザリセットが含まれている。システムリセットは、外部システムリセット端子XSRSTに一定の期間にわたりローレベル信号が入力されたときに発生するリセットである。尚、本実施例では、リセット設定(KRES)の設定により、ウォッチドッグタイマ(WDT)のタイムアウト信号が発生したときや、指定エリア外走行禁止(IAT)が発生したときにも、システムリセットが発生することがある。ユーザリセットは、ウォッチドッグタイマ(WDT)のタイムアウト信号が発生したことや、指定エリア外走行禁止(IAT)が発生したことなど、所定の要因により発生するリセットである。   The reset controlled by the reset / interrupt controller 506 includes a system reset and a user reset. The system reset is a reset that occurs when a low level signal is input to the external system reset terminal XSRST for a certain period. In this embodiment, a system reset is also generated when a watchdog timer (WDT) time-out signal is generated or when travel outside the specified area is prohibited (IAT) due to the reset setting (KRES). There are things to do. The user reset is a reset that occurs due to a predetermined factor, such as a watchdog timer (WDT) time-out signal or a non-designated area travel prohibition (IAT).

リセット/割込コントローラ506が制御する割込には、ノンマスカブル割込NMIとマスカブル割込INTが含まれている。ノンマスカブル割込NMIは、CPU41aの割込禁止状態でも無条件に受け付けられる割込であり、外部ノンマスカブル割込端子XNMI(入力ポートPI6と兼用)に一定の期間にわたりローレベル信号が入力されたときに発生する割込である。マスカブル割込INTは、CPU41aの設定命令により、割込要求の受け付けを許可/禁止できる割込であり、優先順位設定による多重割込の実行が可能である。マスカブル割込INTの要因としては、外部マスカブル割込端子XINT(入力ポートPI5と兼用)に一定の期間にわたりローレベル信号が入力されたこと、タイマ回路509にてタイムアウトが発生したこと、シリアル通信回路512にてデータ受信またはデータ送信による割込要因が発生したこと、乱数回路508a、508bにて乱数値となる数値データの取込による割込要因が発生したことなど、複数種類の割込要因があらかじめ定められていれば良い。   Interrupts controlled by the reset / interrupt controller 506 include a non-maskable interrupt NMI and a maskable interrupt INT. The non-maskable interrupt NMI is an interrupt that is unconditionally accepted even when the CPU 41a is in an interrupt-disabled state. An interrupt that occurs. The maskable interrupt INT is an interrupt that can permit / prohibit acceptance of an interrupt request by a setting instruction of the CPU 41a, and can execute multiple interrupts by setting priority. The cause of maskable interrupt INT is that a low level signal is input to external maskable interrupt terminal XINT (also used as input port PI5) for a certain period of time, a timeout occurs in timer circuit 509, a serial communication circuit There are a plurality of types of interrupt factors, such as the occurrence of an interrupt factor due to data reception or data transmission at 512, and the occurrence of an interrupt factor due to the acquisition of numerical data as a random value in the random number circuits 508a and 508b. It may be determined in advance.

外部バスインターフェイス501は、メイン制御部41を構成するチップの外部バスと内部バスとのインターフェイス機能や、アドレスバス、データバス及び各制御信号の方向制御機能などを有するバスインターフェイスである。例えば、外部バスインターフェイス501は、メイン制御部41に外付けされた外部メモリや外部入出力装置などに接続され、これらの外部装置との間でアドレス信号やデータ信号、各種の制御信号などを送受信するものであれば良い。   The external bus interface 501 is a bus interface having an interface function between an external bus and an internal bus of a chip constituting the main control unit 41, an address bus, a data bus, and a direction control function of each control signal. For example, the external bus interface 501 is connected to an external memory or an external input / output device externally attached to the main control unit 41, and transmits / receives address signals, data signals, various control signals, and the like to / from these external devices. Anything to do.

クロック回路502は、クロック回路502は、例えば制御用外部クロック端子EXに入力される発振信号を2分周することなどにより、内部システムクロックSCLKを生成する回路である。尚、生成された内部システムクロックは、外部出力端子(CLKO端子)から外部に出力される。   The clock circuit 502 is a circuit that generates the internal system clock SCLK by, for example, dividing the oscillation signal input to the control external clock terminal EX by two. The generated internal system clock is output from the external output terminal (CLKO terminal) to the outside.

照合用ブロック503は、外部の照合機と接続し、チップの照合を行う機能を備える。演算回路505は、乗算及び除算を行う回路である。   The verification block 503 is connected to an external verification machine and has a function of performing chip verification. The arithmetic circuit 505 is a circuit that performs multiplication and division.

固有情報記憶回路504は、メイン制御部41の内部情報となる複数種類の固有情報を記憶する回路である。一例として、固有情報記憶回路504は、ROMコード、チップ個別ナンバー、IDナンバーといった3種類の固有情報を記憶する。ROM41bコードは、ROM41bの所定領域における記憶データから生成される4バイトの数値であり、生成方法の異なる4つの数値が準備されれば良い。チップ個別ナンバーは、メイン制御部41の製造時に付与される4バイトの番号であり、メイン制御部41を構成するチップ毎に異なる数値を示している。IDナンバーは、メイン制御部41の製造時に付与される8バイトの番号であり、メイン制御部41を構成するチップ毎に異なる数値を示している。ここで、チップ個別ナンバーはユーザプログラムから読み取ることができる一方、IDナンバーはユーザプログラムから読み取ることができないように設定されていれば良い。尚、固有情報記憶回路504は、例えばROM41bの所定領域を用いることなどにより、ROM41bに含まれるようにしても良い。あるいは、固有情報記憶回路504は、例えばCPU41aの内蔵レジスタを用いることなどにより、CPU41aに含まれるようにしても良い。   The unique information storage circuit 504 is a circuit that stores a plurality of types of unique information that is internal information of the main control unit 41. As an example, the unique information storage circuit 504 stores three kinds of unique information such as a ROM code, a chip individual number, and an ID number. The ROM 41b code is a 4-byte numerical value generated from stored data in a predetermined area of the ROM 41b, and four numerical values with different generation methods may be prepared. The chip individual number is a 4-byte number assigned when the main control unit 41 is manufactured, and indicates a different numerical value for each chip constituting the main control unit 41. The ID number is an 8-byte number assigned when the main control unit 41 is manufactured, and indicates a different numerical value for each chip constituting the main control unit 41. Here, it is sufficient that the chip individual number can be read from the user program while the ID number cannot be read from the user program. The unique information storage circuit 504 may be included in the ROM 41b by using a predetermined area of the ROM 41b, for example. Alternatively, the unique information storage circuit 504 may be included in the CPU 41a by using, for example, a built-in register of the CPU 41a.

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

ROM41bには、ユーザプログラム(ゲーム制御用の遊技制御処理プログラム)を示す制御コードや固定データ等が記憶されている。   The ROM 41b stores a control code indicating a user program (game control processing program for game control), fixed data, and the like.

RAM41cは、ゲーム制御用のワークエリアを提供する。ここで、RAM41cの少なくとも一部は、バックアップ電源によってバックアップされているバックアップRAMであれば良い。すなわち、スロットマシン1への電力供給が停止しても、所定期間はRAM41cの少なくとも一部の内容が保存される。   The RAM 41c provides a work area for game control. Here, at least a part of the RAM 41c may be a backup RAM backed up by a backup power source. That is, even if the power supply to the slot machine 1 is stopped, at least a part of the contents of the RAM 41c is stored for a predetermined period.

フリーランカウンタ回路507として、8ビットのフリーランカウンタを4チャネル搭載している。   As the free-run counter circuit 507, four channels of 8-bit free-run counters are mounted.

乱数回路508aは、8ビット乱数を発生させる回路であり、乱数回路508bは、16ビット乱数を発生させる回路である。本実施例では、乱数回路508a、508bのうち16ビット乱数回路508bが生成するハードウェア乱数が、後述する内部抽選用の乱数及びフリーズ抽選用の乱数として用いられる。尚、図5に示す例では、8ビット乱数を生成する乱数回路508aと、16ビット乱数を発生させる乱数回路508bと、が1つずつ図示されているが、メイン制御部41は、8ビット乱数を生成する乱数回路508aと、16ビット乱数を発生させる乱数回路508bと、をそれぞれ4回路(4チャネル)ずつ搭載している。また、本実施例では、8ビット乱数を生成する乱数回路508aの4つのチャネルをそれぞれRS0〜RS3と表現する場合があり、16ビット乱数を生成する乱数回路508bの4つのチャネルをそれぞれRL0〜RL3と表現する場合がある。   The random number circuit 508a is a circuit that generates an 8-bit random number, and the random number circuit 508b is a circuit that generates a 16-bit random number. In this embodiment, a hardware random number generated by the 16-bit random number circuit 508b among the random number circuits 508a and 508b is used as a random number for internal lottery and a random number for freeze lottery described later. In the example shown in FIG. 5, one random number circuit 508a that generates an 8-bit random number and one random number circuit 508b that generates a 16-bit random number are illustrated. 4 circuits (4 channels) are mounted on each of the random number circuit 508a that generates the 16 bits and the random number circuit 508b that generates the 16-bit random numbers. In this embodiment, the four channels of the random number circuit 508a that generates an 8-bit random number may be expressed as RS0 to RS3, respectively, and the four channels of the random number circuit 508b that generates a 16-bit random number are expressed as RL0 to RL3, respectively. Sometimes expressed.

タイマ回路509は、8ビットプログラマブルタイマであり、メイン制御部41は、タイマ回路509として、8ビットのカウンタを3チャネル備える。本実施例では、タイマ回路509を用いてユーザプログラムによる設定により、リアルタイム割込要求や時間計測を行うことが可能である。   The timer circuit 509 is an 8-bit programmable timer, and the main control unit 41 includes three channels of 8-bit counters as the timer circuit 509. In this embodiment, it is possible to perform a real-time interrupt request and time measurement by using a timer circuit 509 and setting by a user program.

割込コントローラ510は、PI5/XINT端子からの外部割込要求や、内蔵の周辺回路(例えば、シリアル通信回路512、乱数回路508a、508b、タイマ回路509)からの割込要求を制御する回路である。   The interrupt controller 510 is a circuit that controls an external interrupt request from the PI5 / XINT terminal and an interrupt request from a built-in peripheral circuit (for example, serial communication circuit 512, random number circuits 508a and 508b, timer circuit 509). is there.

パラレル入力ポート511は、8ビット幅の入力専用ポート(PIP)を内蔵する。また、図5に示すメイン制御部41が備えるパラレル出力ポート513は、11ビット幅の出力専用ポート(POP)を内蔵する。   The parallel input port 511 incorporates an 8-bit wide input-only port (PIP). Further, the parallel output port 513 provided in the main control unit 41 shown in FIG. 5 incorporates an output-only port (POP) having an 11-bit width.

シリアル通信回路512は、外部に対する入出力において非同期シリアル通信を行う回路である。尚、メイン制御部41は、シリアル通信回路512として、送受信両用の1チャネルの回路と、送信用のみの3チャネルの回路とを備える。   The serial communication circuit 512 is a circuit that performs asynchronous serial communication in input / output with respect to the outside. The main control unit 41 includes, as the serial communication circuit 512, a 1-channel circuit for both transmission and reception and a 3-channel circuit for transmission only.

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

図6は、メイン制御部41におけるアドレスマップの一例を示している。図6に示すように、アドレス0000H〜アドレス2FFFHの領域は、メイン制御部41のROM41bに割り当てられ、プログラムコード/データエリア(ユーザプログラムやデータを格納するエリア)とプログラム管理エリアとを含んでいる。図7は、ROM41bにおけるプログラム管理エリアの主要部分について、用途や内容の一例を示している。アドレスF000H〜アドレスF3FFHの領域は、メイン制御部41のRAM41cに割り当てられている。アドレスFE00H〜アドレスFEBFHの領域は、メイン制御部41の内蔵レジスタに割り当てられる内蔵レジスタエリアである。図8〜図10は、内蔵レジスタエリアの主要部分について、用途や内容の一例を示している。アドレスFED0H〜アドレスFEFDHの領域は、アドレスデコード回路514に割り当てられるXCS、XCSEデコードエリアである。   FIG. 6 shows an example of an address map in the main control unit 41. As shown in FIG. 6, the area from address 0000H to address 2FFFH is allocated to the ROM 41b of the main control unit 41 and includes a program code / data area (an area for storing user programs and data) and a program management area. . FIG. 7 shows an example of the usage and contents of the main part of the program management area in the ROM 41b. The area from address F000H to address F3FFH is allocated to the RAM 41c of the main control unit 41. An area from address FE00H to address FEBFH is a built-in register area assigned to the built-in register of the main control unit 41. 8 to 10 show examples of uses and contents of the main part of the built-in register area. The area from the address FED0H to the address FEFDH is an XCS / XCSE decode area allocated to the address decode circuit 514.

プログラム管理エリアは、メイン制御部41がシステムリセット時に内部リセット動作の設定や乱数回路508a、508bの設定など各種設定を行うために必要な情報を格納する記憶領域である。図7に示すように、プログラム管理エリアには、ヘッダ(KHDR)、プログラムコードエンドアドレス(KPCE)、プログラムコードスタートアドレス2(KPCS2)、プログラムコードエンドアドレス2(KPCE2)、リセット設定(KRES)、16ビット乱数初期設定1(KRL1)、16ビット乱数初期設定2(KRL2)、16ビット乱数初期設定3(KRL3)、8ビット乱数初期設定1(KRS1)、8ビット乱数初期設定2(KRS2)、セキュリティ時間設定(KSES)、乱数クロック監視設定(KRCS)などが、含まれている。また、図8〜図10に示すように、内蔵レジスタエリアには、内部情報レジスタ(CIF)や、乱数回路508a、508bで用いる各種レジスタなどが、含まれている。   The program management area is a storage area for storing information necessary for the main control unit 41 to perform various settings such as internal reset operation settings and random number circuits 508a and 508b during system reset. As shown in FIG. 7, the program management area includes a header (KHDR), a program code end address (KPCE), a program code start address 2 (KPCS2), a program code end address 2 (KPCE2), a reset setting (KRES), 16-bit random number initial setting 1 (KRL1), 16-bit random number initial setting 2 (KRL2), 16-bit random number initial setting 3 (KRL3), 8-bit random number initial setting 1 (KRS1), 8-bit random number initial setting 2 (KRS2), Security time setting (KSES), random number clock monitoring setting (KRCS), and the like are included. As shown in FIGS. 8 to 10, the internal register area includes an internal information register (CIF), various registers used in the random number circuits 508a and 508b, and the like.

プログラム管理エリアに記憶されるヘッダ(KHDR)は、プログラム管理エリアのスタートを示す8バイトのコード列の設定、及びメイン制御部41における内部データの読出設定を示す。図11は、ヘッダ(KHDR)における設定データと動作との対応関係を例示している。ここで、メイン制御部41では、ROM読出防止機能と、バス出力マスク機能とを設定可能である。ROM読出防止機能は、メイン制御部41が備えるROM41bの記憶データについて、読出動作を許可または禁止する機能であり、読出禁止に設定された状態では、ROM41bの記憶データを読み出すことができない。バス出力マスク機能は、外部バスインターフェイス501に接続された外部装置からメイン制御部41の内部データに対する読出要求があった場合に、外部バスインターフェイス501におけるアドレスバス出力、データバス出力及び制御信号出力にマスクをかけることにより、外部装置から内部データの読み出しを不能にする機能である。図11に示すように、プログラム管理エリアのスタートを示す8バイトのコード列として設定する設定データに対応して、ROM読出防止機能やバス出力マスク機能の動作組合せが異なるように設定される。図11に示す設定データのうち、ROM読出が許可されるとともに、バス出力マスクが有効となる設定データは、バス出力マスク有効データともいう。また、ROM読出が禁止されるとともに、バス出力マスクが有効となる設定データ(全て「00H」)は、ROM読出禁止データともいう。ROM読出が許可されるとともに、バス出力マスクが無効となる設定データは、バス出力マスク無効データともいう。本実施例では、ROM読出禁止データが設定されており、ROM読出が禁止されるとともに、バス出力マスクが有効となる。   The header (KHDR) stored in the program management area indicates the setting of an 8-byte code string indicating the start of the program management area and the reading setting of internal data in the main control unit 41. FIG. 11 illustrates the correspondence between the setting data and the operation in the header (KHDR). Here, the main control unit 41 can set a ROM read prevention function and a bus output mask function. The ROM read prevention function is a function for permitting or prohibiting the read operation for the data stored in the ROM 41b included in the main control unit 41, and the read data stored in the ROM 41b cannot be read in a state where reading is prohibited. The bus output mask function is used to output an address bus, a data bus, and a control signal in the external bus interface 501 when there is a read request for the internal data of the main control unit 41 from an external device connected to the external bus interface 501. This function disables reading of internal data from an external device by applying a mask. As shown in FIG. 11, in accordance with setting data set as an 8-byte code string indicating the start of the program management area, the operation combinations of the ROM read prevention function and the bus output mask function are set to be different. Of the setting data shown in FIG. 11, the setting data for which ROM reading is permitted and the bus output mask is valid is also referred to as bus output mask valid data. Further, the setting data (all “00H”) in which ROM reading is prohibited and the bus output mask is valid is also referred to as ROM reading prohibiting data. The setting data for which ROM reading is permitted and the bus output mask becomes invalid is also referred to as bus output mask invalid data. In this embodiment, ROM read prohibition data is set, ROM read is prohibited, and the bus output mask is valid.

プログラム管理エリアに記憶されるプログラムコードエンドアドレス(KPCE)は、ユーザプログラムの0000Hから続くプログラムコードエリアの最終アドレスの設定を示す。図12(A)は、プログラムコードエンドアドレス(KPCE)における設定内容の一例を示している。   The program code end address (KPCE) stored in the program management area indicates the setting of the final address of the program code area that continues from 0000H of the user program. FIG. 12A shows an example of setting contents in the program code end address (KPCE).

尚、本実施例では、アドレス0000H〜アドレス2FBFHまでのプログラムコード/データエリア内に2つのプログラムコードエリアを設定可能である。具体的には、1つ目のプログラムコードエリアは、アドレス0000Hからプログラムコードエンドアドレス(KPCE)で設定されるアドレスまでのエリアとして設定可能であり、2つ目のプログラムコードエリアは、プログラムコードスタートアドレス2(KPCS2)で設定されるアドレスからプログラムコードエンドアドレス2(KPCE2)で設定されるアドレスまでのエリアとして設定可能である。以下、1つ目のプログラムコードエリアに格納されるプログラムコードをプログラムコード1ともいい、2つ目のプログラムコードエリアに格納されるプログラムコードをプログラムコード2ともいう。   In this embodiment, two program code areas can be set in the program code / data area from address 0000H to address 2FBFH. Specifically, the first program code area can be set as an area from address 0000H to the address set by the program code end address (KPCE), and the second program code area is the program code start It can be set as an area from the address set by address 2 (KPCS2) to the address set by program code end address 2 (KPCE2). Hereinafter, the program code stored in the first program code area is also referred to as program code 1, and the program code stored in the second program code area is also referred to as program code 2.

図12(A)に示すように、プログラムコードエンドアドレス(KPCE)のアドレス2FD3Hには、プログラムコード1の最終アドレスの下位アドレスが設定される。また、アドレス2FD4Hには、プログラムコード1の最終アドレスの上位アドレスが設定される。   As shown in FIG. 12A, the lower address of the final address of the program code 1 is set in the address 2FD3H of the program code end address (KPCE). In addition, the upper address of the final address of the program code 1 is set in the address 2FD4H.

プログラム管理エリアに記憶されるプログラムコードスタートアドレス2(KPCS2)は、ユーザプログラムが2つのブロックに分かれた場合の2つ目のプログラムコードエリアの先頭アドレスの設定を示す。図12(B)は、プログラムコードスタートアドレス2(KPCS2)における設定内容の一例を示している。   Program code start address 2 (KPCS2) stored in the program management area indicates the setting of the start address of the second program code area when the user program is divided into two blocks. FIG. 12B shows an example of setting contents at the program code start address 2 (KPCS2).

図12(B)に示すように、プログラムコードスタートアドレス2(KPCS2)のアドレス2FD5Hには、プログラムコード2の先頭アドレスの下位アドレスが設定される。また、アドレス2FD6Hには、プログラムコード2の先頭アドレスの上位アドレスが設定される。尚、プログラムコードエリアを2つに分けない場合には、プログラムコードスタートアドレス2(KPCS2)のアドレス2FD5H及びアドレス2FD6Hにそれぞれ0000Hを設定するようにすれば良い。   As shown in FIG. 12B, the lower address of the head address of the program code 2 is set in the address 2FD5H of the program code start address 2 (KPCS2). In addition, the upper address of the head address of the program code 2 is set in the address 2FD6H. If the program code area is not divided into two, 0000H may be set to address 2FD5H and address 2FD6H of program code start address 2 (KPCS2).

プログラム管理エリアに記憶されるプログラムコードエンドアドレス2(KPCE2)は、ユーザプログラムが2つのブロックに分かれた場合の2つ目のプログラムコードエリアの最終アドレスの設定を示す。図12(C)は、プログラムコードエンドアドレス2(KPCE2)における設定内容の一例を示している。   The program code end address 2 (KPCE2) stored in the program management area indicates the setting of the final address of the second program code area when the user program is divided into two blocks. FIG. 12C shows an example of setting contents in the program code end address 2 (KPCE2).

図12(C)に示すように、プログラムコードエンドアドレス2(KPCE2)のアドレス2FD7Hには、プログラムコード2の最終アドレスの下位アドレスが設定される。また、アドレス2FD8Hには、プログラムコード2の最終アドレスの上位アドレスが設定される。尚、プログラムコードエリアを2つに分けない場合には、プログラムコードエンドアドレス2(KPCE2)のアドレス2FD7H及びアドレス2FD8Hにそれぞれ0000Hを設定するようにすれば良い。   As shown in FIG. 12C, the lower address of the final address of the program code 2 is set in the address 2FD7H of the program code end address 2 (KPCE2). In addition, the upper address of the final address of the program code 2 is set in the address 2FD8H. If the program code area is not divided into two, 0000H may be set to address 2FD7H and address 2FD8H of program code end address 2 (KPCE2).

尚、図12に示すプログラムコードエンドアドレス(KPCE)、プログラムコードスタートアドレス2(KPCS2)及びプログラムコードエンドアドレス2(KPCE2)の設定内容は、IAT回路506aによってユーザプログラムが指定エリア内で正しく実行されているか否かを監視する際に参照される。すなわち、IAT回路506aは、0000Hからプログラムコードエンドアドレス(KPCE)で示されるアドレス、またはプログラムコードスタートアドレス2(KPCS2)で示されるアドレスからプログラムコードエンドアドレス2(KPCE2)で示されるアドレスまでの指定範囲でユーザプログラムが実行されているか否かを判定し、その指定範囲外でユーザプログラムが実行されていることを検出したことに基づいてIAT信号を出力する。   The setting contents of the program code end address (KPCE), the program code start address 2 (KPCS2), and the program code end address 2 (KPCE2) shown in FIG. 12 are executed correctly in the designated area by the IAT circuit 506a. Referenced when monitoring whether or not. That is, the IAT circuit 506a designates from 0000H to the address indicated by the program code end address (KPCE) or from the address indicated by the program code start address 2 (KPCS2) to the address indicated by the program code end address 2 (KPCE2). It is determined whether or not the user program is being executed within the range, and an IAT signal is output based on the detection that the user program is being executed outside the specified range.

プログラム管理エリアに記憶されるリセット設定(KRES)は、内部リセット動作やウォッチドッグタイマ(WDT)506bの動作許可/禁止の設定を示す。図13は、リセット設定(KRES)における設定内容の一例を示している。   The reset setting (KRES) stored in the program management area indicates an internal reset operation and a setting for enabling / disabling the operation of the watchdog timer (WDT) 506b. FIG. 13 shows an example of setting contents in the reset setting (KRES).

リセット設定(KRES)のビット[7]は、ウォッチドッグタイマ(WDT)506bからのタイムアウト信号を入力したことや、IATが発生したこと(IAT回路506aからのIAT信号を入力したとき)により内部リセットが発生したときの動作の設定を示している。図13に示す例において、リセット設定(KRES)のビット[7]におけるビット値が“0”であれば、タイムアウト信号やIAT信号を入力したときにユーザリセットが発生する。これに対して、リセット設定(KRES)のビット[7]におけるビット値が“1”であれば、タイムアウト信号やIAT信号を入力したときにシステムリセットが発生する。   Bit [7] of reset setting (KRES) is internally reset when a time-out signal is input from watchdog timer (WDT) 506b or when an IAT occurs (when an IAT signal is input from IAT circuit 506a) It shows the setting of the operation when this occurs. In the example shown in FIG. 13, if the bit value in the reset setting (KRES) bit [7] is “0”, a user reset occurs when a time-out signal or an IAT signal is input. On the other hand, if the bit value in the reset setting (KRES) bit [7] is “1”, a system reset occurs when a time-out signal or an IAT signal is input.

リセット設定(KRES)のビット[6]は、ウォッチドッグタイマ(WDT)506bの起動方法の設定を示している。図13に示す例において、リセット設定(KRES)のビット[6]におけるビット値が“0”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にウォッチドッグタイマ(WDT)506bが起動され時間計測が開始される。これに対して、リセット設定(KRES)のビット[6]におけるビット値が“1”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)によりウォッチドッグタイマ(WDT)506bが起動され時間計測が開始される。   Bit [6] of the reset setting (KRES) indicates the setting of the activation method of the watchdog timer (WDT) 506b. In the example shown in FIG. 13, if the bit value in the reset setting (KRES) bit [6] is “0”, the watch is automatically set based on the fact that the user mode is entered when a reset occurs regardless of the user program. The dog timer (WDT) 506b is activated and time measurement is started. On the other hand, if the bit value in the bit [6] of the reset setting (KRES) is “1”, after shifting to the user mode, the watchdog timer (WDT) 506b is started by the software (user program) and time Measurement starts.

リセット設定(KRES)のビット[5−4]は、ウォッチドッグタイマ(WDT)506bの基準クロック信号の設定を示している。図13に示す例では、リセット設定(KRES)のビット[5−4]に“00”が設定された場合には、基準クロック信号として215×TSCLKが選択される。また、リセット設定(KRES)のビット[5−4]に“01”が設定された場合には、基準クロック信号として219×TSCLKが選択される。また、リセット設定(KRES)のビット[5−4]に“10”が設定された場合には、基準クロック信号として222×TSCLKが選択される。また、リセット設定(KRES)のビット[5−4]に“11”が設定された場合には、基準クロック信号として225×TSCLKが選択される。尚、SCLKとは、メイン制御部41の内部システムクロックを示しており、TSCLKは、1/SCLKを示している。 Bit [5-4] of the reset setting (KRES) indicates the setting of the reference clock signal of the watchdog timer (WDT) 506b. In the example illustrated in FIG. 13, when “00” is set in the bit [5-4] of the reset setting (KRES), 2 15 × TSCLK is selected as the reference clock signal. Further, when “01” is set in the reset setting (KRES) bit [5-4], 2 19 × TSCLK is selected as the reference clock signal. Further, when “10” is set in the bit [5-4] of the reset setting (KRES), 2 22 × TSCLK is selected as the reference clock signal. Further, when “11” is set in the bit [5-4] of the reset setting (KRES), 2 25 × TSCLK is selected as the reference clock signal. SCLK indicates an internal system clock of the main control unit 41, and TSCLK indicates 1 / SCLK.

リセット設定(KRES)のビット[3−0]は、ウォッチドッグタイマ(WDT)506bのタイムアウト時間の設定を示している。具体的には、ウォッチドッグタイマ(WDT)506bのタイムアウト時間は、リセット設定(KRES)のビット[5−4]で選択した基準クロックに、リセット設定(KRES)のビット[3−0]で設定した設定値を乗算した値となる。例えば、リセット設定(KRES)のビット[3−0]に“1000”を設定(すなわち、値「8」を設定)した場合、リセット設定(KRES)のビット[5−4]に“00”を設定した場合には、タイムアウト時間は215×TSCLK×8となり、リセット設定(KRES)のビット[5−4]に“01”を設定した場合には、タイムアウト時間は219×TSCLK×8となり、リセット設定(KRES)のビット[5−4]に“10”を設定した場合には、タイムアウト時間は222×TSCLK×8となり、リセット設定(KRES)のビット[5−4]に“11”を設定した場合には、タイムアウト時間は225×TSCLK×8となる。また、リセット設定(KRES)のビット[3−0]に“1111”を設定(すなわち、値「15」を設定)した場合、リセット設定(KRES)のビット[5−4]に“00”を設定した場合には、タイムアウト時間は215×TSCLK×15となり、リセット設定(KRES)のビット[5−4]に“01”を設定した場合には、タイムアウト時間は219×TSCLK×15となり、リセット設定(KRES)のビット[5−4]に“10”を設定した場合には、タイムアウト時間は222×TSCLK×15となり、リセット設定(KRES)のビット[5−4]に“11”を設定した場合には、タイムアウト時間は225×TSCLK×15となる。尚、図13には、内部システムクロックが10.0MHzと12.0MHzである場合のタイムアウト時間の値の具体例もそれぞれ示されている。 Bits [3-0] of the reset setting (KRES) indicate the setting of the timeout time of the watchdog timer (WDT) 506b. Specifically, the timeout time of the watchdog timer (WDT) 506b is set to the reference clock selected by the bit [5-4] of the reset setting (KRES) using the bits [3-0] of the reset setting (KRES). It is a value obtained by multiplying the set value. For example, when “1000” is set to the bit [3-0] of the reset setting (KRES) (that is, the value “8” is set), “00” is set to the bit [5-4] of the reset setting (KRES). When set, the timeout time is 2 15 × TSCLK × 8, and when reset setting (KRES) bit [5-4] is set to “01”, the timeout time is 2 19 × TSCLK × 8. When the reset setting (KRES) bit [5-4] is set to “10”, the timeout time is 2 22 × TSCLK × 8, and the reset setting (KRES) bit [5-4] is set to “11”. If you set ", the timeout time is 2 25 × TSCLK × 8. Further, when “1111” is set to the bit [3-0] of the reset setting (KRES) (that is, the value “15” is set), “00” is set to the bit [5-4] of the reset setting (KRES). When set, the timeout time is 2 15 × TSCLK × 15. When the reset setting (KRES) bit [5-4] is set to “01”, the timeout time is 2 19 × TSCLK × 15. When the reset setting (KRES) bit [5-4] is set to “10”, the timeout time is 2 22 × TSCLK × 15, and the reset setting (KRES) bit [5-4] is set to “11”. If set to "the timeout time is 2 25 × TSCLK × 15. FIG. 13 also shows specific examples of timeout values when the internal system clock is 10.0 MHz and 12.0 MHz.

尚、ウォッチドッグタイマ(WDT)506bを使用しないように設定する場合、図13に示すように、リセット設定(KRES)のビット[3−0]に“0000”を設定するようにすれば良い。ただし、リセット設定(KRES)のビット[3−0]に“0000”がセットされてウォッチドッグタイマ(WDT)506bが使用禁止状態に設定された場合であっても、リセット設定(KRES)のビット[7]の値を設定することにより、システムリセットするかユーザリセットとするかの設定を行うことは可能である。   When setting so as not to use the watchdog timer (WDT) 506b, it is only necessary to set “0000” in bits [3-0] of the reset setting (KRES) as shown in FIG. However, even if the reset setting (KRES) bit [3-0] is set to “0000” and the watchdog timer (WDT) 506b is disabled, the reset setting (KRES) bit is set. By setting the value of [7], it is possible to set whether to perform system reset or user reset.

本実施例では、リセット設定(KRES)のビット[7]の設定値として“0”が設定されており、タイムアウト信号やIAT信号を入力したときにユーザリセットが発生する。また、リセット設定(KRES)のビット[6]の設定値として“0”が設定されており、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にウォッチドッグタイマ(WDT)506bが起動され時間計測が開始される。また、リセット設定(KRES)のビット[5−4]の設定値として“11”、リセット設定(KRES)のビット[3−0]の設定値として“1111”が設定されており、ウォッチドッグタイマ(WDT)506bの基準クロック信号として225×TSCLKが選択され、タイムアウト時間は225×TSCLK×15となる。 In this embodiment, “0” is set as the set value of bit [7] of the reset setting (KRES), and a user reset occurs when a time-out signal or an IAT signal is input. In addition, “0” is set as the set value of bit [6] of the reset setting (KRES), and the watchdog timer (automatically based on the transition to the user mode when a reset occurs regardless of the user program). WDT) 506b is activated and time measurement is started. In addition, “11” is set as the setting value of the bit [5-4] of the reset setting (KRES), and “1111” is set as the setting value of the bit [3-0] of the reset setting (KRES). (WDT) 506b 2 25 × TSCLK as a reference clock signal is selected, the timeout time is 2 25 × TSCLK × 15.

プログラム管理エリアに記憶される16ビット乱数初期設定1(KRL1)、16ビット乱数初期設定2(KRL2)及び16ビット乱数初期設定3(KRL3)は、16ビット乱数回路508bの設定を示す。図14は、16ビット乱数初期設定1(KRL1)のにおける設定内容の一例を示している。また、図15は、16ビット乱数初期設定2(KRL2)のにおける設定内容の一例を示している。さらに、図16は、16ビット乱数初期設定3(KRL3)のにおける設定内容の一例を示している。   16-bit random number initial setting 1 (KRL1), 16-bit random number initial setting 2 (KRL2), and 16-bit random number initial setting 3 (KRL3) stored in the program management area indicate settings of the 16-bit random number circuit 508b. FIG. 14 shows an example of setting contents in 16-bit random number initial setting 1 (KRL1). FIG. 15 shows an example of setting contents in 16-bit random number initial setting 2 (KRL2). Further, FIG. 16 shows an example of setting contents in 16-bit random number initial setting 3 (KRL3).

まず、図14を用いて、16ビット乱数初期設定1(KRL1)における設定内容を説明する。16ビット乱数初期設定1(KRL1)のビット「7」は、4チャネルの16ビット乱数回路508bのうち、チャネル1の16ビット乱数回路508bの起動方法の設定を示している。図14に示す例において、16ビット乱数初期設定1(KRL1)のビット「7」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル1の16ビット乱数回路508bが起動される。これに対して、16ビット乱数初期設定1(KRL1)のビット「7」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル1の16ビット乱数回路508bが起動される。   First, the setting contents in 16-bit random number initial setting 1 (KRL1) will be described with reference to FIG. Bit “7” of 16-bit random number initial setting 1 (KRL1) indicates the setting of the activation method of the 16-bit random number circuit 508b of channel 1 out of the 4-bit 16-bit random number circuit 508b. In the example shown in FIG. 14, if the bit value of the bit “7” of the 16-bit random number initial setting 1 (KRL1) is “0”, the maximum value of the random number is set by software (user program) after shifting to the user mode. As a result, the 16-bit random number circuit 508b of channel 1 is activated. On the other hand, if the bit value in bit “7” of 16-bit random number initial setting 1 (KRL1) is “1”, it is automatically based on the transition to the user mode when a reset occurs regardless of the user program. Then, the 16-bit random number circuit 508b of channel 1 is activated.

16ビット乱数初期設定1(KRL1)のビット「6」は、チャネル1の16ビット乱数回路508bの更新クロックの設定を示している。図14に示す例において、16ビット乱数初期設定1(KRL1)のビット「6」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、16ビット乱数初期設定1(KRL1)のビット「6」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “6” of 16-bit random number initial setting 1 (KRL1) indicates the setting of the update clock of the 16-bit random number circuit 508b of channel 1. In the example shown in FIG. 14, if the bit value of bit “6” of 16-bit random number initial setting 1 (KRL1) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “6” of the 16-bit random number initial setting 1 (KRL1) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is used. Used as an update clock.

尚、本実施例では、既に説明した乱数用クロック生成回路43により生成された乱数用クロックRCLKを乱数用外部クロック端子(RCK端子)を介して入力し、その乱数用クロックRCLKを2分周した信号を更新クロックとして用いるものとする。尚、このことは、他のチャネルの16ビット乱数回路508bや8ビット乱数回路508aについても同様である。   In this embodiment, the random number clock RCLK generated by the random number clock generation circuit 43 described above is input via the random number external clock terminal (RCK terminal), and the random number clock RCLK is divided by two. The signal is used as an update clock. The same applies to the 16-bit random number circuit 508b and the 8-bit random number circuit 508a of other channels.

16ビット乱数初期設定1(KRL1)のビット「5−4」は、チャネル1の16ビット乱数回路508bが更新する乱数列を変更するか否かの設定を示している。図14に示す例において、16ビット乱数初期設定1(KRL1)のビット「5−4」におけるビット値が“00”であれば、チャネル1の16ビット乱数回路508bが更新する乱数列は変更されない。また、16ビット乱数初期設定1(KRL1)のビット「5−4」におけるビット値が“01”であれば、チャネル1の16ビット乱数回路508bが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、16ビット乱数初期設定1(KRL1)のビット「5−4」におけるビット値が“10”であれば、チャネル1の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、16ビット乱数初期設定1(KRL1)のビット「5−4」におけるビット値が“11”であれば、チャネル1の16ビット乱数回路508bが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bit “5-4” of 16-bit random number initial setting 1 (KRL1) indicates whether to change the random number sequence updated by the 16-bit random number circuit 508b of channel 1. In the example shown in FIG. 14, if the bit value in the bit “5-4” of the 16-bit random number initial setting 1 (KRL1) is “00”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 1 is not changed. . If the bit value in bit “5-4” of 16-bit random number initial setting 1 (KRL1) is “01”, the random number sequence updated by 16-bit random number circuit 508b of channel 1 is changed by software (user program). it can. If the bit value in the bit “5-4” of the 16-bit random number initial setting 1 (KRL1) is “10”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 1 is automatically started from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in the bit “5-4” of the 16-bit random number initial setting 1 (KRL1) is “11”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 1 is automatically updated from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、16ビット乱数初期設定1(KRL1)のビット「7」の設定値として“1”が設定されており、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル1の16ビット乱数回路508bが起動される。また、16ビット乱数初期設定1(KRL1)のビット「6」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル1の16ビット乱数回路508bの更新クロックとして用いられる。また、16ビット乱数初期設定1(KRL1)のビット「5−4」の設定値として“10”が設定されており、チャネル1の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   In the present embodiment, “1” is set as the setting value of bit “7” of 16-bit random number initial setting 1 (KRL1), and based on the fact that the user mode is entered when a reset occurs regardless of the user program. The 16-bit random number circuit 508b for channel 1 is automatically activated. Further, “1” is set as the set value of bit “6” of 16-bit random number initial setting 1 (KRL1), and a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is a channel. 1 is used as an update clock for the 16-bit random number circuit 508b. Also, “10” is set as the set value of bits “5-4” of 16-bit random number initial setting 1 (KRL1), and the random number sequence updated by the 16-bit random number circuit 508b of channel 1 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed.

16ビット乱数初期設定1(KRL1)のビット「3」は、4チャネルの16ビット乱数回路508bのうち、チャネル0の16ビット乱数回路508bの起動方法の設定を示している。図14に示す例において、16ビット乱数初期設定1(KRL1)のビット「3」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル0の16ビット乱数回路508bが起動される。これに対して、16ビット乱数初期設定1(KRL1)のビット「3」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル0の16ビット乱数回路508bが起動される。   Bit “3” of 16-bit random number initial setting 1 (KRL1) indicates the setting of the activation method of the 16-bit random number circuit 508b of channel 0 among the 16-bit random number circuit 508b of 4 channels. In the example shown in FIG. 14, if the bit value in the bit “3” of the 16-bit random number initial setting 1 (KRL1) is “0”, the maximum value of the random number is set by software (user program) after shifting to the user mode. Is activated, the channel 0 16-bit random number circuit 508b is activated. On the other hand, if the bit value in bit “3” of 16-bit random number initial setting 1 (KRL1) is “1”, it is automatically based on the transition to the user mode when a reset occurs regardless of the user program. Then, the 16-bit random number circuit 508b of channel 0 is activated.

16ビット乱数初期設定1(KRL1)のビット「2」は、チャネル0の16ビット乱数回路508bの更新クロックの設定を示している。図14に示す例において、16ビット乱数初期設定1(KRL1)のビット「2」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、16ビット乱数初期設定1(KRL1)のビット「2」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “2” of 16-bit random number initial setting 1 (KRL1) indicates the setting of the update clock of the 16-bit random number circuit 508b of channel 0. In the example illustrated in FIG. 14, if the bit value in the bit “2” of the 16-bit random number initial setting 1 (KRL1) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “2” of the 16-bit random number initial setting 1 (KRL1) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is used. Used as an update clock.

16ビット乱数初期設定1(KRL1)のビット「1−0」は、チャネル0の16ビット乱数回路508bが更新する乱数列を変更するか否かの設定を示している。図14に示す例において、16ビット乱数初期設定1(KRL1)のビット「1−0」におけるビット値が“00”であれば、チャネル0の16ビット乱数回路508bが更新する乱数列は変更されない。また、16ビット乱数初期設定1(KRL1)のビット「1−0」におけるビット値が“01”であれば、チャネル0の16ビット乱数回路508bが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、16ビット乱数初期設定1(KRL1)のビット「1−0」におけるビット値が“10”であれば、チャネル0の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、16ビット乱数初期設定1(KRL1)のビット「1−0」におけるビット値が“11”であれば、チャネル0の16ビット乱数回路508bが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bits “1-0” of 16-bit random number initial setting 1 (KRL1) indicate whether to change the random number sequence updated by the 16-bit random number circuit 508b of channel 0. In the example shown in FIG. 14, if the bit value in the bit “1-0” of 16-bit random number initialization 1 (KRL1) is “00”, the random number sequence updated by the 16-bit random number circuit 508b of channel 0 is not changed. . If the bit value in bits “1-0” of 16-bit random number initialization 1 (KRL1) is “01”, the random number sequence updated by the 16-bit random number circuit 508b of channel 0 is changed by software (user program). it can. If the bit value in the bit “1-0” of the 16-bit random number initial setting 1 (KRL1) is “10”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 0 is automatically started from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in the bit “1-0” of the 16-bit random number initial setting 1 (KRL1) is “11”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 0 is automatically started from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、16ビット乱数初期設定1(KRL1)のビット「3」の設定値として“1”が設定されており、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル0の16ビット乱数回路508bが起動される。また、16ビット乱数初期設定1(KRL1)のビット「2」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル0の16ビット乱数回路508bの更新クロックとして用いられる。また、16ビット乱数初期設定1(KRL1)のビット「1−0」の設定値として“10”が設定されており、チャネル0の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   In the present embodiment, “1” is set as the set value of bit “3” of 16-bit random number initial setting 1 (KRL1), and based on the transition to the user mode when a reset occurs regardless of the user program. The channel 0 16-bit random number circuit 508b is automatically activated. Also, “1” is set as the set value of bit “2” of 16-bit random number initial setting 1 (KRL1), and the signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is the channel. This is used as an update clock for the 0 16-bit random number circuit 508b. Also, “10” is set as the setting value of bits “1-0” of 16-bit random number initial setting 1 (KRL1), and the random number sequence updated by the 16-bit random number circuit 508b of channel 0 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed.

次に、図15を用いて、16ビット乱数初期設定2(KRL2)における設定内容を説明する。16ビット乱数初期設定2(KRL2)のビット「7」は、4チャネルの16ビット乱数回路508bのうち、チャネル3の16ビット乱数回路508bの起動方法の設定を示している。図15に示す例において、16ビット乱数初期設定2(KRL2)のビット「7」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル3の16ビット乱数回路508bが起動される。これに対して、16ビット乱数初期設定2(KRL2)のビット「7」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル3の16ビット乱数回路508bが起動される。   Next, setting contents in 16-bit random number initial setting 2 (KRL2) will be described with reference to FIG. Bit “7” of 16-bit random number initial setting 2 (KRL2) indicates the setting of the activation method of the 16-bit random number circuit 508b of channel 3 out of the 4-bit 16-bit random number circuit 508b. In the example shown in FIG. 15, if the bit value in bit “7” of 16-bit random number initial setting 2 (KRL2) is “0”, the maximum random number is set by software (user program) after shifting to the user mode. Is activated, the 16-bit random number circuit 508b of channel 3 is activated. On the other hand, if the bit value in bit “7” of 16-bit random number initial setting 2 (KRL2) is “1”, it is automatically based on the transition to the user mode when a reset occurs regardless of the user program. Then, the 16-bit random number circuit 508b of channel 3 is activated.

16ビット乱数初期設定2(KRL2)のビット「6」は、チャネル3の16ビット乱数回路508bの更新クロックの設定を示している。図15に示す例において、16ビット乱数初期設定2(KRL2)のビット「6」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、16ビット乱数初期設定2(KRL2)のビット「6」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “6” of 16-bit random number initial setting 2 (KRL2) indicates the setting of the update clock of the 16-bit random number circuit 508b of channel 3. In the example shown in FIG. 15, if the bit value of bit “6” of 16-bit random number initialization 2 (KRL2) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “6” of the 16-bit random number initial setting 2 (KRL2) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is used. Used as an update clock.

16ビット乱数初期設定2(KRL2)のビット「5−4」は、チャネル3の16ビット乱数回路508bが更新する乱数列を変更するか否かの設定を示している。図15に示す例において、16ビット乱数初期設定2(KRL2)のビット「5−4」におけるビット値が“00”であれば、チャネル3の16ビット乱数回路508bが更新する乱数列は変更されない。また、16ビット乱数初期設定2(KRL2)のビット「5−4」におけるビット値が“01”であれば、チャネル3の16ビット乱数回路508bが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、16ビット乱数初期設定2(KRL2)のビット「5−4」におけるビット値が“10”であれば、チャネル3の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、16ビット乱数初期設定2(KRL2)のビット「5−4」におけるビット値が“11”であれば、チャネル3の16ビット乱数回路508bが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bit “5-4” of 16-bit random number initial setting 2 (KRL2) indicates whether or not the random number sequence updated by the 16-bit random number circuit 508b of channel 3 is changed. In the example shown in FIG. 15, if the bit value in the bit “5-4” of the 16-bit random number initialization 2 (KRL2) is “00”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 3 is not changed. . If the bit value in bit “5-4” of 16-bit random number initialization 2 (KRL2) is “01”, the random number sequence updated by 16-bit random number circuit 508b of channel 3 is changed by software (user program). it can. If the bit value in the bit “5-4” of the 16-bit random number initial setting 2 (KRL2) is “10”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 3 is automatically started from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in bit “5-4” of 16-bit random number initialization 2 (KRL2) is “11”, the random number sequence updated by the 16-bit random number circuit 508b of channel 3 is automatically updated from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、16ビット乱数初期設定2(KRL2)のビット「7」の設定値として“0”が設定されており、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル3の16ビット乱数回路508bが起動される設定であるが、後述のように、チャネル3の16ビット乱数回路508bに対しては、ソフトウェアにより最大値設定を行わないようになっており、チャネル3の16ビット乱数回路508bを起動させない未使用設定となる。また、16ビット乱数初期設定2(KRL2)のビット「6」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル3の16ビット乱数回路508bの更新クロックとして用いられる。また、16ビット乱数初期設定2(KRL2)のビット「5−4」の設定値として“10”が設定されており、チャネル3の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。すなわち16ビット乱数初期設定2(KRL2)のビット「7」に“0”を設定し、ソフトウェアによりチャネル3の16ビット乱数回路508bの最大値設定を行わないことによりチャネル3の16ビット乱数回路508bを起動させない未使用設定としているが、チャネル3の16ビット乱数回路508bの更新クロックの設定、更新する乱数列を変更するか否かの設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “0” is set as the setting value of the bit “7” of the 16-bit random number initial setting 2 (KRL2). After shifting to the user mode, the maximum random number value is set by software (user program). Is set to start the 16-bit random number circuit 508b of channel 3, but the maximum value is not set by software for the 16-bit random number circuit 508b of channel 3 as described later. Thus, the setting is unused so that the 16-bit random number circuit 508b of channel 3 is not activated. Also, “1” is set as the set value of bit “6” of 16-bit random number initial setting 2 (KRL2), and a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is a channel. 3 is used as an update clock for the 16-bit random number circuit 508b. Also, “10” is set as the setting value of the bit “5-4” of the 16-bit random number initial setting 2 (KRL2), and the random number sequence updated by the 16-bit random number circuit 508b of the channel 3 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed. That is, by setting the bit “7” of the 16-bit random number initial setting 2 (KRL2) to “0” and not setting the maximum value of the 16-bit random number circuit 508b of the channel 3 by software, the 16-bit random number circuit 508b of the channel 3 is set. However, the setting of the update clock of the 16-bit random number circuit 508b of channel 3 and the setting of whether or not to change the random number sequence to be updated are the initial values (the values at the time of shipment (all 0) ), And the same setting as that of the 16-bit random number circuit 508b of channels 0 and 1, which is not an unused setting.

16ビット乱数初期設定2(KRL2)のビット「3」は、4チャネルの16ビット乱数回路508bのうち、チャネル2の16ビット乱数回路508bの起動方法の設定を示している。図15に示す例において、16ビット乱数初期設定2(KRL2)のビット「3」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル2の16ビット乱数回路508bが起動される。これに対して、16ビット乱数初期設定2(KRL2)のビット「3」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル2の16ビット乱数回路508bが起動される。   Bit “3” of 16-bit random number initial setting 2 (KRL2) indicates the setting of the activation method of the 16-bit random number circuit 508b of channel 2 out of the 4-bit 16-bit random number circuit 508b. In the example shown in FIG. 15, if the bit value in the bit “3” of the 16-bit random number initial setting 2 (KRL2) is “0”, the maximum value of the random number is set by software (user program) after shifting to the user mode. Is activated, the 16-bit random number circuit 508b of channel 2 is activated. On the other hand, if the bit value in the bit “3” of the 16-bit random number initial setting 2 (KRL2) is “1”, it is automatically based on the transition to the user mode when a reset occurs regardless of the user program. Then, the 16-bit random number circuit 508b of channel 2 is activated.

16ビット乱数初期設定2(KRL2)のビット「2」は、チャネル2の16ビット乱数回路508bの更新クロックの設定を示している。図15に示す例において、16ビット乱数初期設定2(KRL2)のビット「2」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、16ビット乱数初期設定2(KRL2)のビット「2」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “2” of 16-bit random number initial setting 2 (KRL2) indicates the setting of the update clock of the 16-bit random number circuit 508b of channel 2. In the example shown in FIG. 15, if the bit value of bit “2” of 16-bit random number initial setting 2 (KRL2) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “2” of the 16-bit random number initial setting 2 (KRL2) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is used. Used as an update clock.

16ビット乱数初期設定2(KRL2)のビット「1−0」は、チャネル2の16ビット乱数回路508bが更新する乱数列を変更するか否かの設定を示している。図15に示す例において、16ビット乱数初期設定2(KRL2)のビット「1−0」におけるビット値が“00”であれば、チャネル2の16ビット乱数回路508bが更新する乱数列は変更されない。また、16ビット乱数初期設定2(KRL2)のビット「1−0」におけるビット値が“01”であれば、チャネル2の16ビット乱数回路508bが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、16ビット乱数初期設定2(KRL2)のビット「1−0」におけるビット値が“10”であれば、チャネル2の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、16ビット乱数初期設定2(KRL2)のビット「1−0」におけるビット値が“11”であれば、チャネル2の16ビット乱数回路508bが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bits “1-0” of 16-bit random number initial setting 2 (KRL2) indicate whether to change the random number sequence updated by the 16-bit random number circuit 508b of channel 2. In the example shown in FIG. 15, if the bit value in the bit “1-0” of 16-bit random number initialization 2 (KRL2) is “00”, the random number sequence updated by the 16-bit random number circuit 508b of channel 2 is not changed. . If the bit value in bit “1-0” of 16-bit random number initialization 2 (KRL2) is “01”, the random number sequence updated by the 16-bit random number circuit 508b of channel 2 is changed by software (user program). it can. If the bit value in bit “1-0” of 16-bit random number initialization 2 (KRL2) is “10”, the random number sequence updated by the 16-bit random number circuit 508b of channel 2 is automatically updated from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in the bit “1-0” of the 16-bit random number initial setting 2 (KRL2) is “11”, the random number sequence updated by the 16-bit random number circuit 508b of the channel 2 is automatically updated from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、16ビット乱数初期設定2(KRL2)のビット「3」の設定値として“0”が設定されており、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル2の16ビット乱数回路508bが起動される設定であるが、後述のように、チャネル2の16ビット乱数回路508bに対しては、ソフトウェアにより最大値設定を行わないようになっており、チャネル2の16ビット乱数回路508bを起動させない未使用設定となる。また、16ビット乱数初期設定2(KRL2)のビット「2」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル2の16ビット乱数回路508bの更新クロックとして用いられる。また、16ビット乱数初期設定2(KRL2)のビット「1−0」の設定値として“10”が設定されており、チャネル2の16ビット乱数回路508bが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。すなわち16ビット乱数初期設定2(KRL2)のビット「3」に“0”を設定し、ソフトウェアによりチャネル2の16ビット乱数回路508bの最大値設定を行わないことによりチャネル2の16ビット乱数回路508bを起動させない未使用設定としているが、チャネル2の16ビット乱数回路508bの更新クロックの設定、更新する乱数列を変更するか否かの設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “0” is set as the setting value of the bit “3” of the 16-bit random number initial setting 2 (KRL2), and after the transition to the user mode, the maximum value of the random number is set by software (user program). Is set to start the 16-bit random number circuit 508b of channel 2, but the maximum value is not set by software for the 16-bit random number circuit 508b of channel 2 as will be described later. Thus, the setting is unused so that the 16-bit random number circuit 508b of channel 2 is not activated. Also, “1” is set as the set value of bit “2” of 16-bit random number initial setting 2 (KRL2), and the signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is the channel. 2 is used as an update clock for the 16-bit random number circuit 508b. Also, “10” is set as the setting value of bits “1-0” of 16-bit random number initial setting 2 (KRL2), and the random number sequence updated by the 16-bit random number circuit 508b of channel 2 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed. That is, by setting the bit “3” of the 16-bit random number initial setting 2 (KRL2) to “0” and not setting the maximum value of the 16-bit random number circuit 508b of the channel 2 by software, the 16-bit random number circuit 508b of the channel 2 is set. However, the setting of the update clock of the 16-bit random number circuit 508b of channel 2 and the setting of whether or not to change the random number sequence to be updated are the initial values (the values at the time of shipment (all 0) ), And the same setting as that of the 16-bit random number circuit 508b of channels 0 and 1, which is not an unused setting.

次に、図16を用いて、16ビット乱数初期設定3(KRL3)のにおける設定内容を説明する。16ビット乱数初期設定3(KRL3)のビット「7」は、4チャネルの16ビット乱数回路508bのうち、チャネル3の16ビット乱数回路508bの1周目からのスタート値の設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「7」におけるビット値が“0”であれば、乱数更新の1周目のスタート値として0001Hが用いられる。これに対して、16ビット乱数初期設定3(KRL3)のビット「7」におけるビット値が“1”であれば、乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。メイン制御部41のIDナンバーはチップごとに異なることから、スタート値としてIDナンバーをもとにした値を用いることにより、乱数の更新タイミングを予測しにくくすることができ、乱数の更新タイミングを狙って不正に大当りを発生させるような行為を防止することができる。尚、IDナンバーをもとにした値として、IDナンバーそのものを用いても良いし、IDナンバーに所定の演算(例えば、所定値を加算したり減算したりした値)を用いても良い。   Next, setting contents in 16-bit random number initial setting 3 (KRL3) will be described with reference to FIG. Bit “7” of 16-bit random number initial setting 3 (KRL3) indicates the setting of the start value from the first round of the 16-bit random number circuit 508b of channel 3 out of the 4-bit 16-bit random number circuit 508b. In the example shown in FIG. 16, if the bit value at bit “7” of 16-bit random number initial setting 3 (KRL3) is “0”, 0001H is used as the start value for the first round of random number update. On the other hand, if the bit value in the bit “7” of the 16-bit random number initial setting 3 (KRL3) is “1”, the ID number of the main control unit 41 is used as the start value for the first round of random number update. The value set to is used. Since the ID number of the main control unit 41 is different for each chip, it is possible to make it difficult to predict the update timing of the random number by using a value based on the ID number as the start value, and aim for the update timing of the random number. Thus, it is possible to prevent acts that illegally generate jackpots. The ID number itself may be used as a value based on the ID number, or a predetermined calculation (for example, a value obtained by adding or subtracting a predetermined value) may be used for the ID number.

16ビット乱数初期設定3(KRL3)のビット「6」は、チャネル3の16ビット乱数回路508bのスタート値をシステムリセットごとに変更するか否かの設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「6」におけるビット値が“0”であれば、システムリセット時にスタート値の変更は行わない。これに対して、16ビット乱数初期設定3(KRL3)のビット「6」におけるビット値が“1”であれば、システムリセットごとにスタート値を変更する。   Bit “6” of 16-bit random number initial setting 3 (KRL3) indicates whether or not the start value of the 16-bit random number circuit 508b of channel 3 is changed at every system reset. In the example shown in FIG. 16, if the bit value of bit “6” of 16-bit random number initial setting 3 (KRL3) is “0”, the start value is not changed at the time of system reset. On the other hand, if the bit value in bit “6” of 16-bit random number initial setting 3 (KRL3) is “1”, the start value is changed at every system reset.

本実施例において、16ビット乱数初期設定3(KRL3)のビット「7」の設定値として“1”が設定されており、チャネル3の16ビット乱数回路508bの乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。また、16ビット乱数初期設定3(KRL3)のビット「6」の設定値として“1”が設定されており、システムリセットごとにチャネル3の16ビット乱数回路508bのスタート値を変更する。すなわち16ビット乱数初期設定2(KRL2)のビット「7」に“0”を設定し、ソフトウェアによりチャネル3の16ビット乱数回路508bの最大値設定を行わないことによりチャネル3の16ビット乱数回路508bを起動させない未使用設定としているが、チャネル3の16ビット乱数回路508bの1周目からのスタート値の設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “1” is set as the setting value of the bit “7” of the 16-bit random number initial setting 3 (KRL3), and the start value of the first round of the random number update of the 16-bit random number circuit 508b of the channel 3 is set. A value based on the ID number of the main control unit 41 is used. Further, “1” is set as the set value of the bit “6” of the 16-bit random number initial setting 3 (KRL3), and the start value of the 16-bit random number circuit 508b of the channel 3 is changed at every system reset. That is, by setting the bit “7” of the 16-bit random number initial setting 2 (KRL2) to “0” and not setting the maximum value of the 16-bit random number circuit 508b of the channel 3 by software, the 16-bit random number circuit 508b of the channel 3 is set. However, the start value setting from the first round of the 16-bit random number circuit 508b of channel 3 is not the initial value (the factory default value (all 0)), The same setting as the 16-bit random number circuit 508b of the non-channel 0 and 1 is made.

16ビット乱数初期設定3(KRL3)のビット「5」は、4チャネルの16ビット乱数回路508bのうち、チャネル2の16ビット乱数回路508bの1周目からのスタート値の設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「5」におけるビット値が“0”であれば、乱数更新の1周目のスタート値として0001Hが用いられる。これに対して、16ビット乱数初期設定3(KRL3)のビット「5」におけるビット値が“1”であれば、乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。   Bit “5” of 16-bit random number initial setting 3 (KRL3) indicates the setting of the start value from the first round of the 16-bit random number circuit 508b of channel 2 out of the 4-bit 16-bit random number circuit 508b. In the example shown in FIG. 16, if the bit value at bit “5” of 16-bit random number initial setting 3 (KRL3) is “0”, 0001H is used as the start value for the first round of random number update. On the other hand, if the bit value in the bit “5” of the 16-bit random number initial setting 3 (KRL3) is “1”, the ID number of the main control unit 41 is used as the start value for the first round of random number update. The value set to is used.

16ビット乱数初期設定3(KRL3)のビット「4」は、チャネル2の16ビット乱数回路508bのスタート値をシステムリセットごとに変更するか否かの設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「4」におけるビット値が“0”であれば、システムリセット時にスタート値の変更は行わない。これに対して、16ビット乱数初期設定3(KRL3)のビット「6」におけるビット値が“1”であれば、システムリセットごとにスタート値を変更する。   Bit “4” of 16-bit random number initial setting 3 (KRL3) indicates whether or not the start value of the 16-bit random number circuit 508b of channel 2 is changed at every system reset. In the example shown in FIG. 16, if the bit value in bit “4” of 16-bit random number initial setting 3 (KRL3) is “0”, the start value is not changed at the time of system reset. On the other hand, if the bit value in bit “6” of 16-bit random number initial setting 3 (KRL3) is “1”, the start value is changed at every system reset.

本実施例において、16ビット乱数初期設定3(KRL3)のビット「5」の設定値として“1”が設定されており、チャネル2の16ビット乱数回路508bの乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。また、16ビット乱数初期設定3(KRL3)のビット「4」の設定値として“1”が設定されており、システムリセットごとにチャネル2の16ビット乱数回路508bのスタート値を変更する。すなわち16ビット乱数初期設定2(KRL2)のビット「3」に“0”を設定し、ソフトウェアによりチャネル2の16ビット乱数回路508bの最大値設定を行わないことによりチャネル2の16ビット乱数回路508bを起動させない未使用設定としているが、チャネル2の16ビット乱数回路508bの1周目からのスタート値の設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “1” is set as the setting value of the bit “5” of the 16-bit random number initial setting 3 (KRL3), and the start value of the first round of the random number update of the 16-bit random number circuit 508b of the channel 2 is set. A value based on the ID number of the main control unit 41 is used. Further, “1” is set as the set value of the bit “4” of the 16-bit random number initial setting 3 (KRL3), and the start value of the 16-bit random number circuit 508b of the channel 2 is changed at every system reset. That is, by setting the bit “3” of the 16-bit random number initial setting 2 (KRL2) to “0” and not setting the maximum value of the 16-bit random number circuit 508b of the channel 2 by software, the 16-bit random number circuit 508b of the channel 2 is set. However, the start value setting from the first round of the 16-bit random number circuit 508b of channel 2 is not the initial value (factory value (all 0)), The same setting as the 16-bit random number circuit 508b of the non-channel 0 and 1 is made.

16ビット乱数初期設定3(KRL3)のビット「3」は、4チャネルの16ビット乱数回路508bのうち、チャネル1の16ビット乱数回路508bの1周目からのスタート値の設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「3」におけるビット値が“0”であれば、乱数更新の1周目のスタート値として0001Hが用いられる。これに対して、16ビット乱数初期設定3(KRL3)のビット「3」におけるビット値が“1”であれば、乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。   Bit “3” of 16-bit random number initial setting 3 (KRL3) indicates the setting of the start value from the first round of the 16-bit random number circuit 508b of channel 1 out of the 4-bit 16-bit random number circuit 508b. In the example shown in FIG. 16, if the bit value in bit “3” of 16-bit random number initial setting 3 (KRL3) is “0”, 0001H is used as the start value for the first round of random number update. On the other hand, if the bit value in the bit “3” of the 16-bit random number initial setting 3 (KRL3) is “1”, the ID number of the main control unit 41 is used as the start value for the first round of random number update. The value set to is used.

16ビット乱数初期設定3(KRL3)のビット「2」は、チャネル1の16ビット乱数回路508bのスタート値をシステムリセットごとに変更するか否かの設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「2」におけるビット値が“0”であれば、システムリセット時にスタート値の変更は行わない。これに対して、16ビット乱数初期設定3(KRL3)のビット「2」におけるビット値が“1”であれば、システムリセットごとにスタート値を変更する。   Bit “2” of 16-bit random number initial setting 3 (KRL3) indicates whether or not the start value of the 16-bit random number circuit 508b of channel 1 is changed at every system reset. In the example shown in FIG. 16, if the bit value in bit “2” of 16-bit random number initial setting 3 (KRL3) is “0”, the start value is not changed at the time of system reset. On the other hand, if the bit value in the bit “2” of the 16-bit random number initial setting 3 (KRL3) is “1”, the start value is changed at every system reset.

本実施例において、16ビット乱数初期設定3(KRL3)のビット「3」の設定値として“1”が設定されており、チャネル1の16ビット乱数回路508bの乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。また、16ビット乱数初期設定3(KRL3)のビット「2」の設定値として“1”が設定されており、システムリセットごとにチャネル1の16ビット乱数回路508bのスタート値を変更する。   In this embodiment, “1” is set as the set value of bit “3” of 16-bit random number initial setting 3 (KRL3), and the start value of the first round of random number update of the 16-bit random number circuit 508b of channel 1 A value based on the ID number of the main control unit 41 is used. Also, “1” is set as the setting value of bit “2” of 16-bit random number initial setting 3 (KRL3), and the start value of the 16-bit random number circuit 508b of channel 1 is changed at each system reset.

16ビット乱数初期設定3(KRL3)のビット「1」は、4チャネルの16ビット乱数回路508bのうち、チャネル0の16ビット乱数回路508bの1周目からのスタート値の設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「1」におけるビット値が“0”であれば、乱数更新の1周目のスタート値として0001Hが用いられる。これに対して、16ビット乱数初期設定3(KRL3)のビット「1」におけるビット値が“1”であれば、乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。   Bit “1” of 16-bit random number initial setting 3 (KRL3) indicates the setting of the start value from the first round of the 16-bit random number circuit 508b of channel 0 out of the 4-bit 16-bit random number circuit 508b. In the example shown in FIG. 16, if the bit value at bit “1” of 16-bit random number initialization 3 (KRL3) is “0”, 0001H is used as the start value for the first round of random number update. On the other hand, if the bit value of the bit “1” of the 16-bit random number initial setting 3 (KRL3) is “1”, the ID number of the main control unit 41 is used as the start value for the first round of random number update. The value set to is used.

16ビット乱数初期設定3(KRL3)のビット「0」は、チャネル0の16ビット乱数回路508bのスタート値をシステムリセットごとに変更するか否かの設定を示している。図16に示す例において、16ビット乱数初期設定3(KRL3)のビット「0」におけるビット値が“0”であれば、システムリセット時にスタート値の変更は行わない。これに対して、16ビット乱数初期設定3(KRL3)のビット「0」におけるビット値が“1”であれば、システムリセットごとにスタート値を変更する。   Bit “0” of 16-bit random number initial setting 3 (KRL3) indicates whether or not the start value of the 16-bit random number circuit 508b of channel 0 is changed at every system reset. In the example shown in FIG. 16, if the bit value in bit “0” of 16-bit random number initial setting 3 (KRL3) is “0”, the start value is not changed at the time of system reset. On the other hand, if the bit value in bit “0” of 16-bit random number initial setting 3 (KRL3) is “1”, the start value is changed at every system reset.

本実施例において、16ビット乱数初期設定3(KRL3)のビット「1」の設定値として“1”が設定されており、チャネル0の16ビット乱数回路508bの乱数更新の1周目のスタート値としてメイン制御部41のIDナンバーをもとにした値が用いられる。また、16ビット乱数初期設定3(KRL3)のビット「0」の設定値として“1”が設定されており、システムリセットごとにチャネル0の16ビット乱数回路508bのスタート値を変更する。   In this embodiment, “1” is set as the setting value of bit “1” of 16-bit random number initial setting 3 (KRL3), and the start value of the first round of random number update of the 16-bit random number circuit 508b of channel 0 A value based on the ID number of the main control unit 41 is used. Further, “1” is set as the set value of bit “0” of 16-bit random number initial setting 3 (KRL3), and the start value of the 16-bit random number circuit 508b of channel 0 is changed at each system reset.

プログラム管理エリアに記憶される8ビット乱数初期設定1(KRS1)及び8ビット乱数初期設定2(KRS2)は、8ビット乱数回路508aの設定を示す。図17は、8ビット乱数初期設定1(KRS1)のにおける設定内容の一例を示している。また、図18は、8ビット乱数初期設定2(KRS2)のにおける設定内容の一例を示している。   The 8-bit random number initial setting 1 (KRS1) and the 8-bit random number initial setting 2 (KRS2) stored in the program management area indicate settings of the 8-bit random number circuit 508a. FIG. 17 shows an example of setting contents in the 8-bit random number initial setting 1 (KRS1). FIG. 18 shows an example of setting contents in the 8-bit random number initial setting 2 (KRS2).

まず、図17を用いて、8ビット乱数初期設定1(KRS1)における設定内容を説明する。8ビット乱数初期設定1(KRS1)のビット「7」は、4チャネルの8ビット乱数回路508aのうち、チャネル1の8ビット乱数回路508aの起動方法の設定を示している。図17に示す例において、8ビット乱数初期設定1(KRS1)のビット「7」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル1の8ビット乱数回路508aが起動される。これに対して、8ビット乱数初期設定1(KRS1)のビット「7」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル1の8ビット乱数回路508aが起動される。   First, the setting contents in 8-bit random number initial setting 1 (KRS1) will be described with reference to FIG. Bit “7” of 8-bit random number initial setting 1 (KRS1) indicates the setting of the activation method of the 8-bit random number circuit 508a of channel 1 out of the 4-bit 8-bit random number circuit 508a. In the example shown in FIG. 17, if the bit value in the bit “7” of the 8-bit random number initial setting 1 (KRS1) is “0”, the maximum value of the random number is set by software (user program) after shifting to the user mode. As a result, the 8-bit random number circuit 508a of channel 1 is activated. On the other hand, if the bit value in the bit “7” of the 8-bit random number initial setting 1 (KRS1) is “1”, it is automatically based on the transition to the user mode when a reset occurs regardless of the user program. Then, the 8-bit random number circuit 508a of channel 1 is activated.

8ビット乱数初期設定1(KRS1)のビット「6」は、チャネル1の8ビット乱数回路508aの更新クロックの設定を示している。図17に示す例において、8ビット乱数初期設定1(KRS1)のビット「6」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、8ビット乱数初期設定1(KRS1)のビット「6」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “6” of 8-bit random number initial setting 1 (KRS1) indicates the setting of the update clock of the 8-bit random number circuit 508a of channel 1. In the example shown in FIG. 17, if the bit value of bit “6” of 8-bit random number initial setting 1 (KRS1) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “6” of the 8-bit random number initial setting 1 (KRS1) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is used. Used as an update clock.

8ビット乱数初期設定1(KRS1)のビット「5−4」は、チャネル1の8ビット乱数回路508aが更新する乱数列を変更するか否かの設定を示している。図17に示す例において、8ビット乱数初期設定1(KRS1)のビット「5−4」におけるビット値が“00”であれば、チャネル1の8ビット乱数回路508aが更新する乱数列は変更されない。また、8ビット乱数初期設定1(KRS1)のビット「5−4」におけるビット値が“01”であれば、チャネル1の8ビット乱数回路508aが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、8ビット乱数初期設定1(KRS1)のビット「5−4」におけるビット値が“10”であれば、チャネル1の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、8ビット乱数初期設定1(KRS1)のビット「5−4」におけるビット値が“11”であれば、チャネル1の8ビット乱数回路508aが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bit “5-4” of 8-bit random number initial setting 1 (KRS1) indicates whether to change the random number sequence updated by the 8-bit random number circuit 508a of channel 1. In the example shown in FIG. 17, if the bit value in the bit “5-4” of the 8-bit random number initial setting 1 (KRS1) is “00”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 1 is not changed. . If the bit value in the bit “5-4” of the 8-bit random number initial setting 1 (KRS1) is “01”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 1 is changed by software (user program). it can. If the bit value in the bit “5-4” of the 8-bit random number initial setting 1 (KRS1) is “10”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 1 is automatically started from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in the bit “5-4” of the 8-bit random number initial setting 1 (KRS1) is “11”, the random number sequence updated by the 8-bit random number circuit 508a of channel 1 is automatically updated from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、8ビット乱数初期設定1(KRS1)のビット「7」の設定値として“0”が設定されており、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル1の8ビット乱数回路508aが起動される設定であるが、後述のように、チャネル1の8ビット乱数回路508aに対しては、ソフトウェアにより最大値設定を行わないようになっており、チャネル1の8ビット乱数回路508aを起動させない未使用設定となる。また、8ビット乱数初期設定1(KRS1)のビット「6」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル1の8ビット乱数回路508aの更新クロックとして用いられる。また、8ビット乱数初期設定1(KRS1)のビット「5−4」の設定値として“10”が設定されており、チャネル1の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。すなわち8ビット乱数初期設定1(KRS1)のビット「7」に“0”を設定し、ソフトウェアによりチャネル1の8ビット乱数回路508aの最大値設定を行わないことによりチャネル1の8ビット乱数回路508aを起動させない未使用設定としているが、チャネル1の8ビット乱数回路508aの更新クロックの設定、更新する乱数列を変更するか否かの設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “0” is set as the setting value of the bit “7” of the 8-bit random number initial setting 1 (KRS1). After shifting to the user mode, the maximum random number value is set by software (user program). Is set to activate the channel 1 8-bit random number circuit 508a. However, as described later, the maximum value is not set by software for the channel 1 8-bit random number circuit 508a. Thus, the setting is unused so that the 8-bit random number circuit 508a of channel 1 is not activated. Further, “1” is set as the set value of bit “6” of 8-bit random number initial setting 1 (KRS1), and a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is a channel. 1 is used as an update clock for the 8-bit random number circuit 508a. Also, “10” is set as the set value of bits “5-4” of 8-bit random number initial setting 1 (KRS1), and the random number sequence updated by the 8-bit random number circuit 508a of channel 1 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed. That is, by setting the bit “7” of the 8-bit random number initial setting 1 (KRS1) to “0” and not setting the maximum value of the 8-bit random number circuit 508a of the channel 1 by software, the 8-bit random number circuit 508a of the channel 1 is set. However, the setting of the update clock of the 8-bit random number circuit 508a of channel 1 and the setting of whether or not to change the random number sequence to be updated are the initial values (the values at the time of shipment (all 0) ), And the same setting as that of the 16-bit random number circuit 508b of channels 0 and 1, which is not an unused setting.

8ビット乱数初期設定1(KRS1)のビット「3」は、4チャネルの8ビット乱数回路508aのうち、チャネル0の8ビット乱数回路508aの起動方法の設定を示している。図17に示す例において、8ビット乱数初期設定1(KRS1)のビット「3」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル0の8ビット乱数回路508aが起動される。これに対して、8ビット乱数初期設定1(KRS1)のビット「3」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル0の8ビット乱数回路508aが起動される。   Bit “3” of 8-bit random number initial setting 1 (KRS1) indicates the setting of the activation method of the 8-bit random number circuit 508a of channel 0 out of the 4-channel 8-bit random number circuit 508a. In the example shown in FIG. 17, if the bit value in the bit “3” of the 8-bit random number initial setting 1 (KRS1) is “0”, after entering the user mode, the maximum random number value is set by software (user program). As a result, the 8-bit random number circuit 508a of channel 0 is activated. On the other hand, if the bit value in the bit “3” of the 8-bit random number initial setting 1 (KRS1) is “1”, regardless of the user program, it is automatically based on the transition to the user mode when a reset occurs. Then, the 8-bit random number circuit 508a of channel 0 is activated.

8ビット乱数初期設定1(KRS1)のビット「2」は、チャネル0の8ビット乱数回路508aの更新クロックの設定を示している。図17に示す例において、8ビット乱数初期設定1(KRS1)のビット「2」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、8ビット乱数初期設定1(KRS1)のビット「2」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “2” of 8-bit random number initial setting 1 (KRS1) indicates the setting of the update clock of the 8-bit random number circuit 508a of channel 0. In the example shown in FIG. 17, if the bit value in the bit “2” of the 8-bit random number initial setting 1 (KRS1) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “2” of the 8-bit random number initial setting 1 (KRS1) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by two is used. Used as an update clock.

8ビット乱数初期設定1(KRS1)のビット「1−0」は、チャネル0の8ビット乱数回路508aが更新する乱数列を変更するか否かの設定を示している。図17に示す例において、8ビット乱数初期設定1(KRS1)のビット「1−0」におけるビット値が“00”であれば、チャネル0の8ビット乱数回路508aが更新する乱数列は変更されない。また、8ビット乱数初期設定1(KRS1)のビット「1−0」におけるビット値が“01”であれば、チャネル0の8ビット乱数回路508aが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、8ビット乱数初期設定1(KRS1)のビット「1−0」におけるビット値が“10”であれば、チャネル0の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、8ビット乱数初期設定1(KRS1)のビット「1−0」におけるビット値が“11”であれば、チャネル0の8ビット乱数回路508aが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bits “1-0” of 8-bit random number initial setting 1 (KRS1) indicate whether to change the random number sequence updated by the 8-bit random number circuit 508a of channel 0. In the example shown in FIG. 17, if the bit value in the bit “1-0” of the 8-bit random number initial setting 1 (KRS1) is “00”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 0 is not changed. . If the bit value in bits “1-0” of 8-bit random number initial setting 1 (KRS1) is “01”, the random number sequence updated by the 8-bit random number circuit 508a of channel 0 is changed by software (user program). it can. If the bit value in the bit “1-0” of the 8-bit random number initial setting 1 (KRS1) is “10”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 0 is automatically started from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in bits “1-0” of the 8-bit random number initial setting 1 (KRS1) is “11”, the random number sequence updated by the 8-bit random number circuit 508a of channel 0 is automatically started from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、8ビット乱数初期設定1(KRS1)のビット「3」の設定値として“0”が設定されており、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル0の8ビット乱数回路508aが起動される設定であるが、後述のように、チャネル0の8ビット乱数回路508aに対しては、ソフトウェアにより最大値設定を行わないようになっており、チャネル0の8ビット乱数回路508aを起動させない未使用設定となる。また、8ビット乱数初期設定1(KRS1)のビット「2」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル0の8ビット乱数回路508aの更新クロックとして用いられる。また、8ビット乱数初期設定1(KRS1)のビット「1−0」の設定値として“10”が設定されており、チャネル0の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。すなわち8ビット乱数初期設定1(KRS1)のビット「3」に“0”を設定し、ソフトウェアによりチャネル0の8ビット乱数回路508aの最大値設定を行わないことによりチャネル0の8ビット乱数回路508aを起動させない未使用設定としているが、チャネル0の8ビット乱数回路508aの更新クロックの設定、更新する乱数列を変更するか否かの設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “0” is set as the setting value of the bit “3” of the 8-bit random number initial setting 1 (KRS1). After shifting to the user mode, the maximum random number is set by software (user program). Is set to activate the channel 0 8-bit random number circuit 508a, but the maximum value is not set by software for the channel 0 8-bit random number circuit 508a, as will be described later. Thus, the setting is unused so that the 8-bit random number circuit 508a of channel 0 is not activated. Also, “1” is set as the setting value of bit “2” of 8-bit random number initial setting 1 (KRS1), and a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is a channel. It is used as an update clock for the 0 8-bit random number circuit 508a. Also, “10” is set as the set value of bits “1-0” of 8-bit random number initial setting 1 (KRS1), and the random number sequence updated by the 8-bit random number circuit 508a of channel 0 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed. That is, by setting the bit “3” of the 8-bit random number initial setting 1 (KRS1) to “0” and not setting the maximum value of the 8-bit random number circuit 508a of the channel 0 by software, the 8-bit random number circuit 508a of the channel 0 is set. However, the setting of the update clock of the 8-bit random number circuit 508a of channel 0 and the setting of whether or not to change the random number sequence to be updated are the initial values (the values at the time of shipment (all 0) ), And the same setting as that of the 16-bit random number circuit 508b of channels 0 and 1, which is not an unused setting.

次に、図18を用いて、8ビット乱数初期設定2(KRS2)における設定内容を説明する。8ビット乱数初期設定2(KRS2)のビット「7」は、4チャネルの8ビット乱数回路508aのうち、チャネル3の8ビット乱数回路508aの起動方法の設定を示している。図18に示す例において、8ビット乱数初期設定2(KRS2)のビット「7」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル3の8ビット乱数回路508aが起動される。これに対して、8ビット乱数初期設定2(KRS2)のビット「7」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル3の8ビット乱数回路508aが起動される。   Next, setting contents in the 8-bit random number initial setting 2 (KRS2) will be described with reference to FIG. Bit “7” of the 8-bit random number initial setting 2 (KRS2) indicates the setting of the activation method of the 8-bit random number circuit 508a of channel 3 out of the 4-bit 8-bit random number circuit 508a. In the example shown in FIG. 18, if the bit value of the bit “7” of the 8-bit random number initial setting 2 (KRS2) is “0”, the maximum value of the random number is set by software (user program) after shifting to the user mode. Is activated, the 8-bit random number circuit 508a of channel 3 is activated. On the other hand, if the bit value in the bit “7” of the 8-bit random number initial setting 2 (KRS2) is “1”, regardless of the user program, it is automatically based on the transition to the user mode when a reset occurs. Then, the 8-bit random number circuit 508a of channel 3 is activated.

8ビット乱数初期設定2(KRS2)のビット「6」は、チャネル3の8ビット乱数回路508aの更新クロックの設定を示している。図18に示す例において、8ビット乱数初期設定2(KRS2)のビット「6」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、8ビット乱数初期設定2(KRS2)のビット「6」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “6” of the 8-bit random number initial setting 2 (KRS2) indicates the setting of the update clock of the 8-bit random number circuit 508a of the channel 3. In the example shown in FIG. 18, if the bit value of bit “6” of 8-bit random number initial setting 2 (KRS2) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “6” of the 8-bit random number initial setting 2 (KRS2) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is obtained. Used as an update clock.

8ビット乱数初期設定2(KRS2)のビット「5−4」は、チャネル3の8ビット乱数回路508aが更新する乱数列を変更するか否かの設定を示している。図18に示す例において、8ビット乱数初期設定2(KRS2)のビット「5−4」におけるビット値が“00”であれば、チャネル3の8ビット乱数回路508aが更新する乱数列は変更されない。また、8ビット乱数初期設定2(KRS2)のビット「5−4」におけるビット値が“01”であれば、チャネル3の8ビット乱数回路508aが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、8ビット乱数初期設定2(KRS2)のビット「5−4」におけるビット値が“10”であれば、チャネル3の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、8ビット乱数初期設定2(KRS2)のビット「5−4」におけるビット値が“11”であれば、チャネル3の8ビット乱数回路508aが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bit “5-4” of 8-bit random number initial setting 2 (KRS2) indicates whether to change the random number sequence updated by 8-bit random number circuit 508a of channel 3. In the example shown in FIG. 18, if the bit value in the bit “5-4” of the 8-bit random number initialization 2 (KRS2) is “00”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 3 is not changed. . If the bit value in the bit “5-4” of the 8-bit random number initial setting 2 (KRS2) is “01”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 3 is changed by software (user program). it can. If the bit value in the bit “5-4” of the 8-bit random number initial setting 2 (KRS2) is “10”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 3 is automatically updated from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in the bit “5-4” of the 8-bit random number initial setting 2 (KRS2) is “11”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 3 is automatically started from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、8ビット乱数初期設定2(KRS2)のビット「7」の設定値として“0”が設定されており、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル3の8ビット乱数回路508aが起動される設定であるが、後述のように、チャネル1の8ビット乱数回路508aに対しては、ソフトウェアにより最大値設定を行わないようになっており、チャネル3の8ビット乱数回路508aを起動させない未使用設定となる。また、8ビット乱数初期設定2(KRS2)のビット「6」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル3の8ビット乱数回路508aの更新クロックとして用いられる。また、8ビット乱数初期設定2(KRS2)のビット「5−4」の設定値として“10”が設定されており、チャネル3の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。すなわち8ビット乱数初期設定2(KRS2)のビット「7」に“0”を設定し、ソフトウェアによりチャネル3の8ビット乱数回路508aの最大値設定を行わないことによりチャネル3の8ビット乱数回路508aを起動させない未使用設定としているが、チャネル3の8ビット乱数回路508aの更新クロックの設定、更新する乱数列を変更するか否かの設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “0” is set as the setting value of the bit “7” of the 8-bit random number initial setting 2 (KRS2), and after the transition to the user mode, the maximum random number is set by software (user program). Is set to activate the 8-bit random number circuit 508a of channel 3, but the maximum value is not set by software for the 8-bit random number circuit 508a of channel 1 as will be described later. Thus, the setting is unused so that the 8-bit random number circuit 508a of channel 3 is not activated. Also, “1” is set as the set value of bit “6” of 8-bit random number initial setting 2 (KRS2), and a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is a channel. 3 is used as an update clock for the 8-bit random number circuit 508a. Further, “10” is set as the setting value of the bit “5-4” of the 8-bit random number initial setting 2 (KRS2), and the random number sequence updated by the 8-bit random number circuit 508a of the channel 3 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed. That is, by setting the bit “7” of the 8-bit random number initial setting 2 (KRS2) to “0” and not setting the maximum value of the 8-bit random number circuit 508a of the channel 3 by software, the 8-bit random number circuit 508a of the channel 3 is set. However, the setting of the update clock of the 8-bit random number circuit 508a of channel 3 and the setting of whether or not to change the random number sequence to be updated are the initial values (the values at the time of shipment (all 0) ), And the same setting as that of the 16-bit random number circuit 508b of channels 0 and 1, which is not an unused setting.

8ビット乱数初期設定2(KRS2)のビット「3」は、4チャネルの8ビット乱数回路508aのうち、チャネル2の8ビット乱数回路508aの起動方法の設定を示している。図18に示す例において、8ビット乱数初期設定2(KRS2)のビット「3」におけるビット値が“0”であれば、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル2の8ビット乱数回路508aが起動される。これに対して、8ビット乱数初期設定2(KRS2)のビット「3」におけるビット値が“1”であれば、ユーザプログラムによらず、リセット発生時にユーザモードに移行したことに基づいて自動的にチャネル2の8ビット乱数回路508aが起動される。   Bit “3” of the 8-bit random number initial setting 2 (KRS2) indicates the setting of the activation method of the 8-bit random number circuit 508a of channel 2 out of the 4-bit 8-bit random number circuit 508a. In the example shown in FIG. 18, if the bit value in the bit “3” of the 8-bit random number initial setting 2 (KRS2) is “0”, after the transition to the user mode, the maximum random number is set by software (user program). Is activated, the channel 2 8-bit random number circuit 508a is activated. On the other hand, if the bit value in the bit “3” of the 8-bit random number initial setting 2 (KRS2) is “1”, regardless of the user program, it is automatically based on the transition to the user mode when a reset occurs. Then, the 8-bit random number circuit 508a of channel 2 is activated.

8ビット乱数初期設定2(KRS2)のビット「2」は、チャネル2の8ビット乱数回路508aの更新クロックの設定を示している。図18に示す例において、8ビット乱数初期設定2(KRS2)のビット「2」におけるビット値が“0”であれば、メイン制御部41の内部システムクロックを更新クロックとして用いる。これに対して、8ビット乱数初期設定2(KRS2)のビット「2」におけるビット値が“1”であれば、メイン制御部41の外部から入力された外部クロック信号を2分周した信号を更新クロックとして用いる。   Bit “2” of 8-bit random number initial setting 2 (KRS2) indicates the setting of the update clock of the 8-bit random number circuit 508a of channel 2. In the example shown in FIG. 18, if the bit value of bit “2” of 8-bit random number initial setting 2 (KRS2) is “0”, the internal system clock of the main control unit 41 is used as the update clock. On the other hand, if the bit value in the bit “2” of the 8-bit random number initial setting 2 (KRS2) is “1”, a signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is obtained. Used as an update clock.

8ビット乱数初期設定2(KRS2)のビット「1−0」は、チャネル2の8ビット乱数回路508aが更新する乱数列を変更するか否かの設定を示している。図18に示す例において、8ビット乱数初期設定2(KRS2)のビット「1−0」におけるビット値が“00”であれば、チャネル2の8ビット乱数回路508aが更新する乱数列は変更されない。また、8ビット乱数初期設定2(KRS2)のビット「1−0」におけるビット値が“01”であれば、チャネル2の8ビット乱数回路508aが更新する乱数列をソフトウェア(ユーザプログラム)により変更できる。また、8ビット乱数初期設定2(KRS2)のビット「1−0」におけるビット値が“10”であれば、チャネル2の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。また、8ビット乱数初期設定2(KRS2)のビット「1−0」におけるビット値が“11”であれば、チャネル2の8ビット乱数回路508aが更新する乱数列が1周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。   Bits “1-0” of 8-bit random number initial setting 2 (KRS2) indicate whether to change the random number sequence updated by the 8-bit random number circuit 508a of channel 2. In the example shown in FIG. 18, if the bit value in the bit “1-0” of the 8-bit random number initial setting 2 (KRS2) is “00”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 2 is not changed. . If the bit value in bits “1-0” of the 8-bit random number initial setting 2 (KRS2) is “01”, the random number sequence updated by the 8-bit random number circuit 508a of channel 2 is changed by software (user program). it can. Further, if the bit value in the bit “1-0” of the 8-bit random number initial setting 2 (KRS2) is “10”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 2 is automatically started from the second round. After that, the random number sequence is automatically changed every time the random number sequence is completed. If the bit value in the bit “1-0” of the 8-bit random number initial setting 2 (KRS2) is “11”, the random number sequence updated by the 8-bit random number circuit 508a of the channel 2 is automatically set from the first round. After that, the random number sequence is automatically changed every time the random number sequence is completed.

本実施例では、8ビット乱数初期設定2(KRS2)のビット「3」の設定値として“0”が設定されており、ユーザモードに移行した後、ソフトウェア(ユーザプログラム)により乱数の最大値設定が行われたことにより、チャネル2の8ビット乱数回路508aが起動される設定であるが、後述のように、チャネル2の8ビット乱数回路508aに対しては、ソフトウェアにより最大値設定を行わないようになっており、チャネル2の8ビット乱数回路508aを起動させない未使用設定となる。また、8ビット乱数初期設定2(KRS2)のビット「2」の設定値として“1”が設定されており、メイン制御部41の外部から入力された外部クロック信号を2分周した信号がチャネル2の8ビット乱数回路508aの更新クロックとして用いられる。また、8ビット乱数初期設定2(KRS2)のビット「1−0」の設定値として“10”が設定されており、チャネル2の8ビット乱数回路508aが更新する乱数列が2周目から自動的に変更され、以降、乱数列が一巡するごとに自動的に乱数列が変更される。すなわち8ビット乱数初期設定2(KRS2)のビット「3」に“0”を設定し、ソフトウェアによりチャネル2の8ビット乱数回路508aの最大値設定を行わないことによりチャネル2の8ビット乱数回路508aを起動させない未使用設定としているが、チャネル2の8ビット乱数回路508aの更新クロックの設定、更新する乱数列を変更するか否かの設定については、初期値(出荷時の値(全て0))ではなく、未使用設定ではないチャネル0、1の16ビット乱数回路508bと同一の設定がされている。   In this embodiment, “0” is set as the setting value of the bit “3” of the 8-bit random number initial setting 2 (KRS2). After shifting to the user mode, the maximum random number value is set by software (user program). Is set to activate the channel 2 8-bit random number circuit 508a, but the maximum value is not set by software for the channel 2 8-bit random number circuit 508a, as will be described later. Thus, the setting is unused so that the 8-bit random number circuit 508a of channel 2 is not activated. Also, “1” is set as the setting value of bit “2” of 8-bit random number initial setting 2 (KRS2), and the signal obtained by dividing the external clock signal input from the outside of the main control unit 41 by 2 is the channel. 2 as an update clock for the 8-bit random number circuit 508a. Also, “10” is set as the setting value of bits “1-0” of 8-bit random number initial setting 2 (KRS2), and the random number sequence updated by the 8-bit random number circuit 508a of channel 2 is automatically started from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed. That is, by setting the bit “3” of the 8-bit random number initial setting 2 (KRS2) to “0” and not setting the maximum value of the 8-bit random number circuit 508a of the channel 2 by software, the 8-bit random number circuit 508a of the channel 2 is set. However, the setting of the update clock of the 8-bit random number circuit 508a of channel 2 and the setting of whether or not to change the random number sequence to be updated are the initial values (the values at the time of shipment (all 0) ), And the same setting as that of the 16-bit random number circuit 508b of channels 0 and 1, which is not an unused setting.

尚、8ビット乱数回路508aに関しては、16ビット乱数回路508bとは異なり、図16に示したようなスタート値の設定を行う機能はない。   Note that the 8-bit random number circuit 508a does not have a function for setting a start value as shown in FIG. 16, unlike the 16-bit random number circuit 508b.

プログラム管理エリアに記憶されるセキュリティ時間設定(KSES)は、セキュリティモードを延長する時間の設定を示す。図19は、セキュリティ時間設定(KSES)における設定内容の一例を示している。   The security time setting (KSES) stored in the program management area indicates a time setting for extending the security mode. FIG. 19 shows an example of setting contents in the security time setting (KSES).

セキュリティ時間設定(KSES)のビット[7−6]は、セキュリティモード時間をランダムに延長する時間の設定を示している。図19に示す例では、セキュリティ時間設定(KSES)のビット[7−6]に“01”が設定された場合には、セキュリティモード時間をランダムに延長するモードとして、ショートモードが設定され、具体的には、内部システムクロックが10.0MHzである場合には0〜0.816msの範囲の時間がランダムに延長され、内部システムクロックが12.0MHzである場合には0〜0.51msの範囲の時間がランダムに延長される。また、セキュリティ時間設定(KSES)のビット[7−6]に“10”が設定された場合には、セキュリティモード時間をランダムに延長するモードとして、ミドルモードが設定され、具体的には、内部システムクロックが10.0MHzである場合には0〜26.112msの範囲の時間がランダムに延長され、内部システムクロックが12.0MHzである場合には0〜16.32msの範囲の時間がランダムに延長される。また、セキュリティ時間設定(KSES)のビット[7−6]に“11”が設定された場合には、セキュリティモード時間をランダムに延長するモードとして、ロングモードが設定され、具体的には、内部システムクロックが10.0MHzである場合には0〜835.584msの範囲の時間がランダムに延長され、内部システムクロックが12.0MHzである場合には0〜522.24msの範囲の時間がランダムに延長される。   Bit [7-6] of the security time setting (KSES) indicates the setting of the time for extending the security mode time at random. In the example shown in FIG. 19, when “01” is set in the bit [7-6] of the security time setting (KSES), the short mode is set as a mode for extending the security mode time at random. Specifically, when the internal system clock is 10.0 MHz, the time in the range of 0 to 0.816 ms is randomly extended, and when the internal system clock is 12.0 MHz, the range of 0 to 0.51 ms. The time is extended randomly. Further, when “10” is set in the bit [7-6] of the security time setting (KSES), the middle mode is set as a mode in which the security mode time is randomly extended. When the system clock is 10.0 MHz, the time in the range of 0 to 26.112 ms is randomly extended, and when the internal system clock is 12.0 MHz, the time in the range of 0 to 16.32 ms is randomly selected. Extended. Further, when “11” is set in the bit [7-6] of the security time setting (KSES), the long mode is set as a mode for randomly extending the security mode time. When the system clock is 10.0 MHz, the time in the range of 0 to 855.584 ms is randomly extended, and when the internal system clock is 12.0 MHz, the time in the range of 0 to 522.24 ms is randomly selected. Extended.

尚、セキュリティモード時間のランダム延長を行わないように設定する場合、図19に示すように、セキュリティ時間設定(KSES)のビット[7−6]に“00”を設定するようにすれば良い。   When setting so as not to perform random extension of the security mode time, as shown in FIG. 19, the bit [7-6] of the security time setting (KSES) may be set to “00”.

本実施例では、セキュリティ時間設定(KSES)のビット[7−6]の設定値として“11”が設定されており、セキュリティモード時間をランダムに延長するモードとして、ロングモードが設定され、内部システムクロックが10.0MHzである場合には0〜835.584msの範囲の時間がランダムに延長され、内部システムクロックが12.0MHzである場合には0〜522.24msの範囲の時間がランダムに延長される。   In this embodiment, “11” is set as the set value of bits [7-6] of the security time setting (KSES), the long mode is set as a mode for extending the security mode time at random, and the internal system When the clock is 10.0 MHz, the time in the range of 0 to 855.584 ms is randomly extended, and when the internal system clock is 12.0 MHz, the time in the range of 0 to 522.24 ms is randomly extended. Is done.

セキュリティ時間設定(KSES)のビット[5]は、セキュリティモード時間を固定延長する時間の基準クロック信号の設定を示している。図19に示す例では、セキュリティ時間設定(KSES)のビット[5]に“0”が設定された場合には、基準クロック信号として222×TSCLKが選択される。また、セキュリティ時間設定(KSES)のビット[5]に“1”が設定された場合には、基準クロック信号として224×TSCLKが選択される。 Bit [5] of the security time setting (KSES) indicates the setting of the reference clock signal for the time for fixing and extending the security mode time. In the example shown in FIG. 19, when “0” is set in bit [5] of the security time setting (KSES), 2 22 × TSCLK is selected as the reference clock signal. When “1” is set in bit [5] of the security time setting (KSES), 2 24 × TSCLK is selected as the reference clock signal.

セキュリティ時間設定(KSES)のビット[4−0]は、セキュリティモード時間を固定で延長する時間の設定を示している。具体的には、セキュリティモード時間の固定延長時間は、セキュリティ時間設定(KSES)のビット[5]で選択した基準クロックに、セキュリティ時間設定(KSES)のビット[4−0]で設定した設定値を乗算した値となる。例えば、セキュリティ時間設定(KSES)のビット[4−0]に“00001”を設定(すなわち、値「1」を設定)した場合、セキュリティ時間設定(KSES)のビット[5]に“0”を設定した場合には、固定延長時間は222×TSCLK×1となり、セキュリティ時間設定(KSES)のビット[5]に“1”を設定した場合には、固定延長時間は224×TSCLK×1となる。また、セキュリティ時間設定(KSES)のビット[4−0]に“01000”を設定(すなわち、値「8」を設定)した場合、セキュリティ時間設定(KSES)のビット[5]に“0”を設定した場合には、固定延長時間は222×TSCLK×8となり、セキュリティ時間設定(KSES)のビット[5]に“1”を設定した場合には、固定延長時間は224×TSCLK×8となる。また、セキュリティ時間設定(KSES)のビット[4−0]に“10000”を設定(すなわち、値「16」を設定)した場合、セキュリティ時間設定(KSES)のビット[5]に“0”を設定した場合には、固定延長時間は222×TSCLK×16となり、セキュリティ時間設定(KSES)のビット[5]に“1”を設定した場合には、固定延長時間は224×TSCLK×16となる。また、セキュリティ時間設定(KSES)のビット[4−0]に“11111”を設定(すなわち、値「31」を設定)した場合、セキュリティ時間設定(KSES)のビット[5]に“0”を設定した場合には、固定延長時間は222×TSCLK×31となり、セキュリティ時間設定(KSES)のビット[5]に“1”を設定した場合には、固定延長時間は224×TSCLK×31となる。尚、図19には、内部システムクロックが10.0MHzと12.0MHzである場合の固定延長時間の値の具体例もそれぞれ示されている。 Bits [4-0] of the security time setting (KSES) indicate a time setting for extending the security mode time in a fixed manner. Specifically, the fixed extension time of the security mode time is the set value set by the bit [4-0] of the security time setting (KSES) to the reference clock selected by the bit [5] of the security time setting (KSES). Is the value multiplied by. For example, when “00001” is set in the bit [4-0] of the security time setting (KSES) (that is, the value “1” is set), “0” is set in the bit [5] of the security time setting (KSES). When set, the fixed extension time is 2 22 × TSCLK × 1, and when “1” is set in bit [5] of the security time setting (KSES), the fixed extension time is 2 24 × TSCLK × 1. It becomes. Further, when “01000” is set in the bit [4-0] of the security time setting (KSES) (that is, the value “8” is set), “0” is set in the bit [5] of the security time setting (KSES). When set, the fixed extension time is 2 22 × TSCLK × 8, and when “1” is set to bit [5] of the security time setting (KSES), the fixed extension time is 2 24 × TSCLK × 8. It becomes. Also, when “10000” is set to the bit [4-0] of the security time setting (KSES) (that is, the value “16” is set), “0” is set to the bit [5] of the security time setting (KSES). When set, the fixed extension time is 2 22 × TSCLK × 16, and when the security time setting (KSES) bit [5] is set to “1”, the fixed extension time is 2 24 × TSCLK × 16. It becomes. Further, when “11111” is set to the bit [4-0] of the security time setting (KSES) (that is, the value “31” is set), “0” is set to the bit [5] of the security time setting (KSES). When set, the fixed extension time is 2 22 × TSCLK × 31. When “1” is set to bit [5] of the security time setting (KSES), the fixed extension time is 2 24 × TSCLK × 31. It becomes. FIG. 19 also shows specific examples of fixed extension time values when the internal system clock is 10.0 MHz and 12.0 MHz.

尚、セキュリティモード時間の固定延長を行わないように設定する場合、図19に示すように、セキュリティ時間設定(KSES)のビット[4−0]に“00000”を設定するようにすれば良い。   When setting so that the security mode time is not fixedly extended, “00000” may be set to bits [4-0] of the security time setting (KSES) as shown in FIG.

本実施例では、セキュリティ時間設定(KSES)のビット[5]の設定値として“0”が設定され、セキュリティ時間設定(KSES)のビット[4−0]の設定値として“00000”が設定されており、セキュリティモード時間の固定延長を行わないようになっている。   In this embodiment, “0” is set as the setting value of bit [5] of the security time setting (KSES), and “00000” is set as the setting value of bits [4-0] of the security time setting (KSES). The security mode time is not fixed and extended.

図19に示すように、セキュリティモード時間は、セキュリティ時間設定(KSES)のビット[7−6]の設定によるランダム延長と、セキュリティ時間設定(KSES)のビット[5−0]の設定による固定延長との2種類の方法で延長設定が可能である。そして、これら2種類の方法で設定された時間の加算時間が最終的なセキュリティモード時間の延長時間となる。   As shown in FIG. 19, the security mode time is randomly extended by setting bit [7-6] of security time setting (KSES) and fixed extension by setting of bit [5-0] of security time setting (KSES). The extension can be set in two ways. And the addition time of the time set by these two types of methods becomes the extension time of the final security mode time.

プログラム管理エリアに記憶される乱数クロック監視設定(KRCS)は、乱数用外部クロック端子(RCK端子)から入力された外部クロック信号の監視周波数の設定を示す。図20は、乱数クロック監視設定(KRCS)における設定内容の一例を示している。   The random number clock monitoring setting (KRCS) stored in the program management area indicates the setting of the monitoring frequency of the external clock signal input from the random number external clock terminal (RCK terminal). FIG. 20 shows an example of setting contents in the random number clock monitoring setting (KRCS).

乱数クロック監視設定(KRCS)のビット[7−2]は、固定ビット(すなわち、特に設定に使用しないビット)であり、全ビット必ず“0”を設定するものとする。   Bit [7-2] of the random number clock monitoring setting (KRCS) is a fixed bit (that is, a bit that is not particularly used for setting), and all bits are always set to “0”.

乱数クロック監視設定(KRCS)のビット[1−0]は、乱数を更新するためのクロックとして、乱数用外部クロック端子(RCK端子)から入力された外部クロック信号を選択した場合に、その入力クロックの周波数異常の検出対象とする周波数の設定を示している。図20に示す例では、乱数クロック監視設定(KRCS)のビット[1−0]に“00”が設定された場合には、監視周波数としてSCLK(内部システムクロック)の周波数未満を設定する。また、乱数クロック監視設定(KRCS)のビット[1−0]に“01”が設定された場合には、監視周波数としてSCLK(内部システムクロック)/2の周波数未満を設定する。また、乱数クロック監視設定(KRCS)のビット[1−0]に“10”が設定された場合には、監視周波数としてSCLK(内部システムクロック)/2の周波数未満を設定する。また、乱数クロック監視設定(KRCS)のビット[1−0]に“11”が設定された場合には、監視周波数としてSCLK(内部システムクロック)/2の周波数未満を設定する。 Bits [1-0] of the random number clock monitoring setting (KRCS) are input clocks when an external clock signal input from the random number external clock terminal (RCK terminal) is selected as a clock for updating the random number. The setting of the frequency used as the detection target of frequency anomalies is shown. In the example shown in FIG. 20, when “00” is set in bits [1-0] of the random number clock monitoring setting (KRCS), the monitoring frequency is set to less than the frequency of SCLK (internal system clock). When “01” is set in bits [1-0] of the random number clock monitoring setting (KRCS), the monitoring frequency is set to less than the frequency of SCLK (internal system clock) / 2. Further, when "10" is set to bits [1-0] of the random number clock monitoring settings (KRCS) sets the frequency lower than the SCLK (internal system clock) / 2 2 as the monitoring frequency. Further, when "11" is set to bits [1-0] of the random number clock monitoring settings (KRCS) sets the SCLK frequency lower than the (internal system clock) / 2 3 as a monitoring frequency.

本実施例では、乱数クロック監視設定(KRCS)のビット[1−0]の設定値として“10”が設定されており、監視周波数としてSCLK(内部システムクロック)/2の周波数未満が設定される。 In this embodiment, “10” is set as the set value of bits [1-0] of the random number clock monitoring setting (KRCS), and the monitoring frequency is set to less than the frequency of SCLK (internal system clock) / 2 2. The

尚、乱数用外部クロック端子(RCK端子)から入力された外部クロック信号の監視周波数の異常を検出した場合には、後述する内部情報レジスタ(CIF)のビット3に“1”がセットされる。   When an abnormality in the monitoring frequency of the external clock signal input from the random number external clock terminal (RCK terminal) is detected, “1” is set in bit 3 of the internal information register (CIF) described later.

また、本実施例では、メイン制御部41は、8ビット乱数回路508aと16ビット乱数回路508bと、のうち、16ビット乱数回路508bの動作異常(外部クロック周波数異常)を検出する機能を備えている。具体的には、メイン制御部41は、乱数更新用クロックとして乱数用外部クロック端子(RCK端子)から入力された外部クロック信号が選択されている場合に、乱数クロック監視設定(KRCS)で設定されている監視周波数に基づいて、外部クロック信号の周波数が低下したか否かを検出し、外部クロック信号の周波数が低下(外部クロック周波数異常)を検出した場合には、後述する内部情報レジスタ(CIF)のビット3に“1”をセットする。   In this embodiment, the main control unit 41 has a function of detecting an operation abnormality (external clock frequency abnormality) of the 16-bit random number circuit 508b out of the 8-bit random number circuit 508a and the 16-bit random number circuit 508b. Yes. Specifically, the main control unit 41 is set in the random number clock monitoring setting (KRCS) when the external clock signal input from the random number external clock terminal (RCK terminal) is selected as the random number update clock. Based on the monitored frequency, it is detected whether or not the frequency of the external clock signal has decreased, and when the frequency of the external clock signal has been decreased (external clock frequency abnormality), an internal information register (CIF) (to be described later) ) Is set to “1”.

また、メイン制御部41は、16ビット乱数回路508bの乱数の更新状態を監視する機能を備え、更新状態に異常を検出すると(例えば、乱数値が同じ値のまま更新されなくなったり、通常は乱数値が1つずつカウントアップされていくのに乱数値のカウント値がいきなり2以上の値増加した状態を検出したりすると)、内部情報レジスタ(CIF)のビット7〜4のうちの対応するビットに“1”をセットする。   Further, the main control unit 41 has a function of monitoring the update state of the random number of the 16-bit random number circuit 508b, and when an abnormality is detected in the update state (for example, the random number value is not updated with the same value or is normally disturbed). When the value of the random number is counted up one by one but the value of the random number is suddenly increased by 2 or more), the corresponding bit of bits 7 to 4 of the internal information register (CIF) Set “1” to.

本実施例では、チャネル2、3の16ビット乱数回路508bが未使用設定とされているが、チャネル2、3の16ビット乱数回路508bの更新異常が検出された場合にも、内部情報レジスタ(CIF)の対応するビット7、6のうち対応するビットに“1”をセットするようになっており、未使用設定とされているチャネル2、3の16ビット乱数回路508bについても内部情報レジスタ(CIF)の値を取得することにより、更新状態の異常が検出されているか否かを確認できるようになっている。   In this embodiment, the 16-bit random number circuit 508b for channels 2 and 3 is set to be unused. However, even when an update abnormality of the 16-bit random number circuit 508b for channels 2 and 3 is detected, the internal information register ( "1" is set to the corresponding bit of the corresponding bits 7 and 6 of the CIF), and the internal information register ( By acquiring the value of (CIF), it is possible to confirm whether or not an abnormality in the update state has been detected.

特に本実施例では、CPU41aが、所定の契機(例えば、起動時、所定間隔毎、1ゲームに1回等)で行われるエラー判定処理において、内部情報レジスタ(CIF)の値を取得し、内部情報レジスタ(CIF)の値が0か否か判定し、0以外、すなわち内部情報レジスタ(CIF)のいずれかのビットに“1”がセットされており、外部クロック信号の周波数異常が検知されているか、または使用設定であるか未使用設定であるかに関わらず、8ビット乱数回路506aのチャネル0〜3、16ビット乱数回路506bのいずれかにおいて更新状態の異常が検知されている場合に、エラー状態に制御し、遊技の進行が不能動化されるとともに、乱数異常が生じた旨を報知するようになっている。   In particular, in this embodiment, the CPU 41a acquires the value of the internal information register (CIF) in an error determination process performed at a predetermined trigger (for example, at startup, every predetermined interval, once per game, etc.) It is determined whether or not the value of the information register (CIF) is 0, and other than 0, that is, any bit of the internal information register (CIF) is set to “1”, and an abnormal frequency of the external clock signal is detected. Whether the update state is detected in any of the channels 0 to 3 and the 16-bit random number circuit 506b of the 8-bit random number circuit 506a. Control is made to an error state, the progress of the game is disabled, and a notification that a random number abnormality has occurred is made.

尚、本実施例では、乱数クロック監視設定(KRCS)を用いて設定を行うことによって、16ビット乱数回路508bの動作異常の検出に関して、監視対象の外部クロック信号の監視周波数を設定する場合を示しているが、外部クロック周波数異常の検出自体を行うか否かを設定可能に構成したり、更新異常の検出自体を行うか否かを設定可能に構成したりしても良い。この場合、外部クロック周波数異常の検出自体を行うか否かの設定と、更新異常の検出自体を行うか否かの設定とをそれぞれ独立して行えるように構成しても良いし、両方の設定を一括して有効とするか無効とするかのみ行えるように構成しても良い。   This embodiment shows a case where the monitoring frequency of the external clock signal to be monitored is set with respect to detection of an abnormal operation of the 16-bit random number circuit 508b by setting using the random number clock monitoring setting (KRCS). However, it may be configured to be able to set whether or not to detect the external clock frequency abnormality itself, or to be able to set whether or not to detect the update abnormality itself. In this case, it may be configured such that the setting of whether or not the external clock frequency abnormality detection itself is performed and the setting of whether or not the update abnormality detection itself is performed can be performed independently. It is also possible to configure such that only can be enabled or disabled collectively.

また、本実施例では、乱数用クロック生成回路43から専用の乱数用クロックRCLKを乱数回路508a、508bに外部入力する場合を示しているが、例えば、制御用クロック生成回路42からの制御用クロックCCLKを外部入力する場合など専用の乱数用クロックRCLK以外のクロックを外部入力する場合であっても、外部クロック周波数異常の検出や更新異常の検出を行うことが可能である。尚、乱数回路の更新異常の検出に関しては、乱数用クロック生成回路43から専用の乱数用クロックRCLK用いて乱数更新する場合と、制御用クロック生成回路42からの制御用クロックCCLKなど他のクロックを用いて乱数更新する場合とのいずれか一方の場合のみ設定可能に構成しても良い。   In the present embodiment, a dedicated random number clock RCLK is externally input to the random number circuits 508a and 508b from the random number clock generation circuit 43. For example, a control clock from the control clock generation circuit 42 is shown. Even when a clock other than the dedicated random number clock RCLK is externally input, such as when CCLK is externally input, it is possible to detect an external clock frequency abnormality or update abnormality. Regarding detection of update abnormality in the random number circuit, other clocks such as a random number update using a dedicated random number clock RCLK from the random number clock generation circuit 43 and a control clock CCLK from the control clock generation circuit 42 are used. It may be configured so that it can be set only in either of the cases where random number is updated by using.

また、本実施例では、CPU41aが、内部情報レジスタ(CIF)の値を取得し、内部情報レジスタ(CIF)の値が0か否か判定し、0以外の場合に、エラーを判定する構成、すなわち具体的なエラー原因を特定しない構成であるが、内部情報レジスタ(CIF)の値からエラー原因を特定し、その原因を認識可能に報知する構成としても良い。   In the present embodiment, the CPU 41a acquires the value of the internal information register (CIF), determines whether the value of the internal information register (CIF) is 0, and determines an error when the value is other than 0. That is, the specific error cause is not specified, but the error cause may be specified from the value of the internal information register (CIF), and the cause may be notified so that the cause can be recognized.

また、本実施例では、外部クロック周波数の異常の検出を行い、メイン制御部41の内部システムクロックSCLKの周波数については特に異常の検出を行っていないが、それは次のような理由による。すなわち、乱数更新に内部システムクロックSCLKを用いる場合には、内部システムクロックSCLKに異常が発生しているような状況では、CPU41a自体の動作が停止している筈であるので、CPU41aが動作しているのに乱数の更新だけが停止しているような事態が生じる場合がなく、何らかの問題が生じるおそれがない。これに対して、乱数更新に外部クロック信号を用いる場合には、CPU41aが動作しているのに乱数の更新だけが停止しているような事態が生じる可能性があり弊害が生じるおそれがあるためである。   Further, in this embodiment, the abnormality of the external clock frequency is detected, and the abnormality of the frequency of the internal system clock SCLK of the main control unit 41 is not particularly detected, for the following reason. That is, when the internal system clock SCLK is used for updating the random number, the operation of the CPU 41a itself should have stopped in a situation where an abnormality has occurred in the internal system clock SCLK. However, there is no case where only the update of the random number is stopped, and there is no possibility that some problem will occur. On the other hand, when an external clock signal is used for the random number update, there is a possibility that only the update of the random number is stopped even though the CPU 41a is operating, which may cause an adverse effect. It is.

リセット/割込コントローラ506は、図8〜図10に示すようなメイン制御部41が備える内蔵レジスタのうち、内部情報レジスタCIF(アドレスFE25H)などを用いて、割込の制御やリセットの管理を行う。内部情報レジスタCIFは、直前に発生したリセット要因を管理したり、乱数更新状態、乱数更新クロックを外部クロックとした場合の入力周波数の状態を読み取るためのレジスタである。   The reset / interrupt controller 506 uses the internal information register CIF (address FE25H) among the built-in registers included in the main control unit 41 as shown in FIGS. 8 to 10 to control interrupts and manage resets. Do. The internal information register CIF is a register for managing a reset factor generated immediately before, reading a random number update state, and a state of an input frequency when the random number update clock is an external clock.

図21(A)は、内部情報レジスタCIFの構成例を示している。図21(B)は、内部情報レジスタCIFに格納される内部情報データの各ビットにおける設定内容の一例を示している。内部情報レジスタCIFのビット番号[7]に格納される内部情報データRL3ERは、チャネル3の16ビット乱数回路508bが更新する16ビット乱数RL3の更新状態の異常を示す。図21(B)に示す例では、16ビット乱数RL3の更新異常が検知されないときに、内部情報データRL3ERのビット値が“0”となる一方、16ビット乱数RL3の更新異常が検知されたときには、そのビット値が“1”となる。内部情報レジスタCIFのビット番号[6]に格納される内部情報データRL2ERは、チャネル2の16ビット乱数回路508bが更新する16ビット乱数RL2の更新状態の異常を示す。図21(B)に示す例では、16ビット乱数RL2の更新異常が検知されないときに、内部情報データRL2ERのビット値が“0”となる一方、16ビット乱数RL2の更新異常が検知されたときには、そのビット値が“1”となる。内部情報レジスタCIFのビット番号[5]に格納される内部情報データRL1ERは、チャネル1の16ビット乱数回路508bが更新する16ビット乱数RL1の更新状態の異常を示す。図21(B)に示す例では、16ビット乱数RL1の更新異常が検知されないときに、内部情報データRL1ERのビット値が“0”となる一方、16ビット乱数RL1の更新異常が検知されたときには、そのビット値が“1”となる。内部情報レジスタCIFのビット番号[4]に格納される内部情報データRL0ERは、チャネル0の16ビット乱数回路508bが更新する16ビット乱数RL0の更新状態の異常を示す。図21(B)に示す例では、16ビット乱数RL0の更新異常が検知されないときに、内部情報データRL0ERのビット値が“0”となる一方、16ビット乱数RL0の更新異常が検知されたときには、そのビット値が“1”となる。尚、内部情報レジスタCIFのビット番号[7−4」は、初期値として“0”が設定されている。   FIG. 21A shows a configuration example of the internal information register CIF. FIG. 21B shows an example of setting contents in each bit of the internal information data stored in the internal information register CIF. The internal information data RL3ER stored in the bit number [7] of the internal information register CIF indicates an abnormality in the update state of the 16-bit random number RL3 updated by the 16-bit random number circuit 508b of the channel 3. In the example shown in FIG. 21B, when the update abnormality of the 16-bit random number RL3 is not detected, the bit value of the internal information data RL3ER becomes “0”, whereas when the update abnormality of the 16-bit random number RL3 is detected. The bit value is “1”. The internal information data RL2ER stored in the bit number [6] of the internal information register CIF indicates an abnormality in the update state of the 16-bit random number RL2 updated by the 16-bit random number circuit 508b of the channel 2. In the example shown in FIG. 21B, when the update abnormality of the 16-bit random number RL2 is not detected, the bit value of the internal information data RL2ER becomes “0”, while when the update abnormality of the 16-bit random number RL2 is detected. The bit value is “1”. The internal information data RL1ER stored in the bit number [5] of the internal information register CIF indicates an abnormality in the update state of the 16-bit random number RL1 updated by the 16-bit random number circuit 508b of the channel 1. In the example shown in FIG. 21B, when the update abnormality of the 16-bit random number RL1 is not detected, the bit value of the internal information data RL1ER becomes “0”, whereas when the update abnormality of the 16-bit random number RL1 is detected. The bit value is “1”. The internal information data RL0ER stored in the bit number [4] of the internal information register CIF indicates an abnormality in the update state of the 16-bit random number RL0 updated by the 16-bit random number circuit 508b of the channel 0. In the example shown in FIG. 21B, when the update abnormality of the 16-bit random number RL0 is not detected, the bit value of the internal information data RL0ER becomes “0”, whereas when the update abnormality of the 16-bit random number RL0 is detected. The bit value is “1”. The bit number [7-4] of the internal information register CIF is set to “0” as an initial value.

前述のように、チャネル2、3の16ビット乱数回路508bが未使用設定とされているが、チャネル2、3の16ビット乱数回路508bの更新異常が検出された場合にも、内部情報レジスタ(CIF)の対応するビット7、6のうち対応するビットに“1”をセットするようになっており、未使用設定とされているチャネル2、3の16ビット乱数回路508bについても内部情報レジスタ(CIF)の値を取得することにより、更新状態の異常が検出されているか否かを確認できるようになっている。   As described above, the 16-bit random number circuit 508b for the channels 2 and 3 is set to be unused, but the internal information register ( "1" is set to the corresponding bit of the corresponding bits 7 and 6 of the CIF), and the internal information register ( By acquiring the value of (CIF), it is possible to confirm whether or not an abnormality in the update state has been detected.

内部情報レジスタCIFのビット番号[3]に格納される内部情報データRCERは、乱数更新用クロックとして乱数用外部クロック端子(RCK端子)から入力された外部クロック信号が選択されている場合に、その外部クロック信号の周波数異常を示す。図21(B)に示す例では、外部クロック信号の周波数異常が検知されないときに、内部情報データRCERのビット値が“0”となる一方、外部クロック信号の周波数異常が検知されたときには、そのビット値が“1”となる。尚、内部情報レジスタCIFのビット番号[3」は、初期値として“0“が設定されている。   The internal information data RCER stored in the bit number [3] of the internal information register CIF is obtained when the external clock signal input from the random number external clock terminal (RCK terminal) is selected as the random number update clock. Indicates a frequency error in the external clock signal. In the example shown in FIG. 21B, when the frequency abnormality of the external clock signal is not detected, the bit value of the internal information data RCER becomes “0”, while when the frequency abnormality of the external clock signal is detected, The bit value is “1”. The bit number [3] of the internal information register CIF is set to “0” as an initial value.

内部情報レジスタCIFのビット番号[2]に格納される内部情報データSRSFは、直前に発生したリセット要因がシステムリセットであることを示す。図21(B)に示す例では、直前のリセット要因がシステムリセットではないときに(システムリセット未発生)、内部情報データSRSFのビット値が“0”となる一方、システムリセットであるときには(システムリセット発生)、そのビット値が“1”となる。尚、内部情報レジスタCIFのビット番号[2」は、初期値として“1”が設定されている。   The internal information data SRSF stored in the bit number [2] of the internal information register CIF indicates that the reset factor generated immediately before is a system reset. In the example shown in FIG. 21B, when the immediately preceding reset factor is not a system reset (system reset has not occurred), the bit value of the internal information data SRSF is “0”, whereas when the system reset is a system reset (system reset) When the reset occurs), the bit value becomes “1”. The bit number [2] of the internal information register CIF is set to “1” as an initial value.

内部情報レジスタCIFのビット番号[1]に格納される内部情報データWDTFは、直前に発生したリセット要因がウォッチドッグタイマ(WDT)506bからタイムアウト信号を入力したことによるユーザリセットであることを示す。図21(B)に示す例では、直前のリセット要因がタイムアウト信号によるユーザリセットではないときに(タイムアウト信号によるユーザリセット未発生)、内部情報データWDTFのビット値が“0”となる一方、タイムアウト信号によるユーザリセットであるときには(タイムアウト信号によるユーザリセット発生)、そのビット値が“1”となる。尚、内部情報レジスタCIFのビット番号[1」は、初期値として“0”が設定されている。   The internal information data WDTF stored in the bit number [1] of the internal information register CIF indicates that the reset factor generated immediately before is a user reset due to the input of a time-out signal from the watchdog timer (WDT) 506b. In the example shown in FIG. 21B, when the reset factor immediately before is not a user reset by the timeout signal (user reset by the timeout signal has not occurred), the bit value of the internal information data WDTF becomes “0”, while the timeout occurs. When it is a user reset by a signal (a user reset is generated by a timeout signal), the bit value becomes “1”. The bit number [1] of the internal information register CIF is set to “0” as an initial value.

内部情報レジスタCIFのビット番号[0]に格納される内部情報データIATFは、直前に発生したリセット要因がIAT回路506aからのIAT発生信号を入力したことによるユーザリセットであることを示す。図21(B)に示す例では、直前のリセット要因がIAT発生信号によるユーザリセットではないときに(IAT発生信号によるユーザリセット未発生)、内部情報データIATFのビット値が“0”となる一方、IAT発生信号によるユーザリセットであるときには(IAT発生信号によるユーザリセット発生)、そのビット値が“1”となる。尚、内部情報レジスタCIFのビット番号[0」は、初期値として“0”が設定されている。   Internal information data IATF stored in bit number [0] of internal information register CIF indicates that the reset factor generated immediately before is a user reset due to the input of an IAT generation signal from IAT circuit 506a. In the example shown in FIG. 21B, when the immediately preceding reset factor is not a user reset by the IAT generation signal (user reset has not occurred by the IAT generation signal), the bit value of the internal information data IATF becomes “0”. When the user reset is performed by the IAT generation signal (user reset is generated by the IAT generation signal), the bit value is “1”. The bit number [0] of the internal information register CIF is set to “0” as an initial value.

図22は、8ビット乱数回路508aの一構成例を示すブロック図である。また、図23は、16ビット乱数回路508bの一構成例を示すブロック図である。8ビット乱数回路508a及び16ビット乱数回路508bは、図22及び図23に示すように、乱数列変更選択回路523a、523b、乱数生成回路525a、525b、乱数列変更回路526a、526b、及び最大値比較回路527a、527bを備えて構成される。また、16ビット乱数回路508bは、図23に示すように、8ビット乱数回路508aが備える構成要素に加えて、乱数スタート値選択回路535を備える。さらに、16ビット乱数回路508bは、図23に示すように、8ビット乱数回路508aが備える構成要素に加えて、乱数生成回路525bが更新監視回路537を含む。   FIG. 22 is a block diagram illustrating a configuration example of the 8-bit random number circuit 508a. FIG. 23 is a block diagram illustrating a configuration example of the 16-bit random number circuit 508b. As shown in FIGS. 22 and 23, the 8-bit random number circuit 508a and the 16-bit random number circuit 508b include a random number sequence change selection circuit 523a, 523b, a random number generation circuit 525a, 525b, a random number sequence change circuit 526a, 526b, and a maximum value. Comparing circuits 527a and 527b are provided. In addition to the components included in the 8-bit random number circuit 508a, the 16-bit random number circuit 508b includes a random number start value selection circuit 535, as shown in FIG. Further, as shown in FIG. 23, the 16-bit random number circuit 508b includes an update monitoring circuit 537 in addition to the components included in the 8-bit random number circuit 508a.

また、図23に示す例では、16ビット乱数回路508bの回路部分の構成のみを示し、乱数列変更レジスタ522及び最大値設定レジスタ524b以外の16ビット乱数回路508bが用いる各レジスタについては記載を省略している。尚、具体的には、16ビット乱数回路508bは、図22に示すRSハードラッチ選択レジスタ528a、528bに代えて図8に示すRL0ハードラッチ選択レジスタ0(RL0LS0)〜RL3ハードラッチ選択レジスタ(RL3LS)を用い、図22に示すRS0ハードラッチ乱数値レジスタ529a〜RS3ハードラッチ乱数値レジスタ529dに代えて図9及び図10に示すRL0ハードラッチ乱数値レジスタ0(RL0HV0)〜RL3ハードラッチ乱数値レジスタ1(RL3HV1)を用い、図22に示すRSハードラッチフラグレジスタ530に代えて図9に示すRLハードラッチフラグレジスタ0(RLHF0)〜RLハードラッチフラグレジスタ1(RLHF1)を用い、図22に示すRS割込制御レジスタ531に代えて図8に示すRL割込制御レジスタ0(RLIC0)〜RL割込制御レジスタ1(RLIC1)を用い、図22に示すRS0ソフトラッチ乱数値レジスタ533a〜RS3ソフトラッチ乱数値レジスタ533dに代えて図9に示すRL0ソフトラッチ乱数値レジスタ(RL0SV)〜RL3ソフトラッチ乱数値レジスタ(RL3SV)を用いる。また、16ビット乱数回路508bは、乱数値ソフトラッチレジスタ532及び乱数ソフトラッチフラグレジスタ534については、8ビット乱数回路508aと兼用で同じレジスタを用いる。   In the example shown in FIG. 23, only the configuration of the circuit portion of the 16-bit random number circuit 508b is shown, and description of each register used by the 16-bit random number circuit 508b other than the random number sequence change register 522 and the maximum value setting register 524b is omitted. doing. Specifically, the 16-bit random number circuit 508b replaces the RS hard latch selection registers 528a and 528b shown in FIG. 22 with RL0 hard latch selection registers 0 (RL0LS0) to RL3 hard latch selection registers (RL3LS) shown in FIG. ), Instead of the RS0 hard latch random value register 529a to RS3 hard latch random value register 529d shown in FIG. 22, the RL0 hard latch random value register 0 (RL0HV0) to RL3 hard latch random value register shown in FIGS. 1 (RL3HV1) is used, and instead of the RS hard latch flag register 530 shown in FIG. 22, RL hard latch flag register 0 (RLHF0) to RL hard latch flag register 1 (RLHF1) shown in FIG. Instead of RS interrupt control register 531 RL interrupt control register 0 (RLIC0) to RL interrupt control register 1 (RLIC1) shown in FIG. 8 are used instead of RS0 soft latch random value register 533a to RS3 soft latch random value register 533d shown in FIG. 9, RL0 soft latch random value register (RL0SV) to RL3 soft latch random value register (RL3SV) are used. The 16-bit random number circuit 508b uses the same register as the 8-bit random number circuit 508a for the random value soft latch register 532 and the random number soft latch flag register 534.

また、8ビット乱数回路508aは、既に説明したプログラム管理エリアに設けられた8ビット乱数初期設定521a(図7に示す8ビット乱数初期設定1(KRS1)及び8ビット乱数初期設定2(KRS2))の設定内容に従って動作する。   The 8-bit random number circuit 508a is an 8-bit random number initial setting 521a (8-bit random number initial setting 1 (KRS1) and 8-bit random number initial setting 2 (KRS2) shown in FIG. 7) provided in the program management area already described. Operates according to the set contents.

また、16ビット乱数回路508bは、既に説明したプログラム管理エリアに設けられた16ビット乱数初期設定521b(図7に示す16ビット乱数初期設定1(KRL1)〜16ビット乱数初期設定2(KRL2))の設定内容に従って動作する。また、16ビット乱数回路508bは、8ビット乱数回路508aの機能に加えて、乱数スタート値選択回路535が16ビット乱数初期設定536(図7に示す16ビット乱数初期設定3(KRL3))の設定内容に従って動作することにより、1周目の乱数値のスタート値を変更する機能を備えている(図16参照)。   The 16-bit random number circuit 508b is a 16-bit random number initial setting 521b (16-bit random number initial setting 1 (KRL1) to 16-bit random number initial setting 2 (KRL2) shown in FIG. 7) provided in the program management area already described. Operates according to the set contents. In addition to the function of the 8-bit random number circuit 508a, the 16-bit random number circuit 508b sets the 16-bit random number initial setting 536 (16-bit random number initial setting 3 (KRL3) shown in FIG. 7). By operating according to the contents, it has a function of changing the start value of the random number value in the first round (see FIG. 16).

また、16ビット乱数回路508bは、乱数生成回路525bが更新監視回路537を含んでおり、8ビット乱数回路508aの機能に加えて、更新監視回路537が動作することにより外部クロック周波数異常及び更新異常を検出する機能を備えている(図20参照)。尚、本実施例では、1つの更新監視回路537により外部クロック周波数異常及び更新異常の両方を検出する場合を示しているが、外部クロック周波数異常を検出する監視回路と更新異常を検出する監視回路とを別々に備えても良い。   Further, in the 16-bit random number circuit 508b, the random number generation circuit 525b includes an update monitoring circuit 537. In addition to the function of the 8-bit random number circuit 508a, the update monitoring circuit 537 operates to cause an external clock frequency abnormality and an update abnormality. (See FIG. 20). In this embodiment, the case where both the external clock frequency abnormality and the update abnormality are detected by one update monitoring circuit 537 is shown, but the monitoring circuit for detecting the external clock frequency abnormality and the monitoring circuit for detecting the update abnormality are shown. And may be provided separately.

尚、8ビット乱数回路508aも更新監視回路を備えるように構成し、8ビット乱数回路508aの外部クロック周波数異常及び更新異常を検出可能に構成するようにしても良い。   The 8-bit random number circuit 508a may also be configured to include an update monitoring circuit so that an external clock frequency abnormality and an update abnormality of the 8-bit random number circuit 508a can be detected.

また、乱数列変更レジスタ522は、図8に示すようなメイン制御部41の内蔵レジスタに含まれる乱数列変更レジスタRDSCに対応している。尚、乱数列変更レジスタRDSCとして、8ビット乱数回路508a及び16ビット乱数回路508bの各チャネルで共通のレジスタが用いられる。   The random number sequence change register 522 corresponds to the random number sequence change register RDSC included in the built-in register of the main control unit 41 as shown in FIG. As the random number sequence change register RDSC, a common register is used in each channel of the 8-bit random number circuit 508a and the 16-bit random number circuit 508b.

また、最大値設定レジスタ524a、524bは、図8に示すようなメイン制御部41の内蔵レジスタに含まれるRS0最大値設定レジスタ(RS0MX)〜RS3最大値設定レジスタ(RS3MX)に対応している(16ビット乱数回路508bの場合は、RL0最大値設定レジスタ(RL0MX)〜RL3最大値設定レジスタ(RL3MX)に対応している)。   The maximum value setting registers 524a and 524b correspond to the RS0 maximum value setting register (RS0MX) to the RS3 maximum value setting register (RS3MX) included in the built-in register of the main control unit 41 as shown in FIG. In the case of the 16-bit random number circuit 508b, it corresponds to the RL0 maximum value setting register (RL0MX) to the RL3 maximum value setting register (RL3MX)).

また、ハードラッチ選択レジスタ528aは、図8に示すようなメイン制御部41の内蔵レジスタに含まれるRSハードラッチ選択レジスタ0(RSLS0)に対応している。また、ハードラッチ選択レジスタ528bは、図8に示すようなメイン制御部41の内蔵レジスタに含まれるRSハードラッチ選択レジスタ1(RSLS1)に対応している。尚、16ビット乱数回路508bの場合は、図8に示すRL0ハードラッチ選択レジスタ0(RL0LS0)〜RL3ハードラッチ選択レジスタ3(RL3LS)に対応している。   The hard latch selection register 528a corresponds to the RS hard latch selection register 0 (RSLS0) included in the built-in register of the main control unit 41 as shown in FIG. The hard latch selection register 528b corresponds to the RS hard latch selection register 1 (RSLS1) included in the built-in register of the main control unit 41 as shown in FIG. Note that the 16-bit random number circuit 508b corresponds to the RL0 hard latch selection register 0 (RL0LS0) to RL3 hard latch selection register 3 (RL3LS) shown in FIG.

また、RS0ハードラッチ乱数値レジスタ529a〜RS3ハードラッチ乱数値レジスタ529dは、図10に示すようなメイン制御部41の内蔵レジスタに含まれるRS0ハードラッチ乱数値レジスタ(RS0HV)〜RS3ハードラッチ乱数値レジスタ(RS3HV)に対応している。尚、16ビット乱数回路508bの場合は、図9に示すRL0ハードラッチ乱数値レジスタ0(RL0HV0)〜RL1ハードラッチ乱数値レジスタ1(RL1HV1)及び図10に示すRL2ハードラッチ乱数値レジスタ0(RL2HV0)〜RL3ハードラッチ乱数値レジスタ1(RL3HV1)に対応している。   The RS0 hard latch random value registers 529a to RS3 hard latch random value registers 529d are RS0 hard latch random value registers (RS0HV) to RS3 hard latch random numbers included in the built-in registers of the main control unit 41 as shown in FIG. This corresponds to the register (RS3HV). In the case of the 16-bit random number circuit 508b, the RL0 hard latch random value register 0 (RL0HV0) to RL1 hard latch random value register 1 (RL1HV1) shown in FIG. 9 and the RL2 hard latch random value register 0 (RL2HV0) shown in FIG. ) To RL3 hard latch random number value register 1 (RL3HV1).

また、RSハードラッチフラグレジスタ530は、図9に示すRSハードラッチフラグレジスタ(RSHF)に対応している。尚、16ビット乱数回路508bの場合は、図9に示すRLハードラッチフラグレジスタ0(RLHF0)〜RLハードラッチフラグレジスタ1(RLHF1)に対応している。   The RS hard latch flag register 530 corresponds to the RS hard latch flag register (RSHF) shown in FIG. The 16-bit random number circuit 508b corresponds to the RL hard latch flag register 0 (RLHF0) to RL hard latch flag register 1 (RLHF1) shown in FIG.

また、RS割込制御レジスタ531は、図8に示すRS割込制御レジスタ(RSIC)に対応している。尚、16ビット乱数回路508bの場合は、図8に示すRL割込制御レジスタ0(RLIC0)〜RL割込制御レジスタ1(RLIC1)に対応している。   The RS interrupt control register 531 corresponds to the RS interrupt control register (RSIC) shown in FIG. Note that the 16-bit random number circuit 508b corresponds to the RL interrupt control register 0 (RLIC0) to the RL interrupt control register 1 (RLIC1) shown in FIG.

また、乱数ソフトラッチレジスタ532は、図8に示す乱数ソフトラッチレジスタ(RDSL)に対応している。尚、ソフトラッチレジスタRDSLとして、8ビット乱数回路508a及び16ビット乱数回路508bの各チャネルで共通のレジスタが用いられる。   The random number soft latch register 532 corresponds to the random number soft latch register (RDSL) shown in FIG. As the soft latch register RDSL, a common register is used in each channel of the 8-bit random number circuit 508a and the 16-bit random number circuit 508b.

また、RS0ソフトラッチ乱数値レジスタ533a〜RS3ソフトラッチ乱数値レジスタ533dは、は、図9に示すRS0ソフトラッチ乱数値レジスタ(RS0SV)〜RS3ソフトラッチ乱数値レジスタ(RS3SV)に対応している。尚、16ビット乱数回路508bの場合は、図9に示すRL0ソフトラッチ乱数値(RL0SV)〜RL3ソフトラッチ乱数値(RL3SV)に対応している。   The RS0 soft latch random value registers 533a to RS3 soft latch random value registers 533d correspond to the RS0 soft latch random value registers (RS0SV) to RS3 soft latch random value registers (RS3SV) shown in FIG. Note that the 16-bit random number circuit 508b corresponds to the RL0 soft latch random number value (RL0SV) to the RL3 soft latch random value (RL3SV) shown in FIG.

また、乱数ソフトラッチフラグレジスタ534は、図8に示す乱数ソフトラッチフラグレジスタ(RDSF)に対応している。尚、乱数ソフトラッチフラグレジスタRDSFとして、8ビット乱数回路508a及び16ビット乱数回路508bの各チャネルで共通のレジスタが用いられる。   The random number soft latch flag register 534 corresponds to the random number soft latch flag register (RDSF) shown in FIG. As the random number soft latch flag register RDSF, a common register is used in each channel of the 8-bit random number circuit 508a and the 16-bit random number circuit 508b.

乱数列変更選択回路523a、523bは、図17や図18に示す8ビット乱数初期設定1(KRS1)や8ビット乱数初期設定2(KRS2)の設定内容に従って(16ビット乱数回路508bの場合には、図14や図15に示す16ビット乱数初期設定1(KRL1)や16ビット乱数初期設定2(KRL2)の設定内容に従って)、乱数列の変更方法として、「変更しない」、「ソフトウェアで変更」、「2周目から自動で変更」または「1周目から自動で変更」のうちのいずれかを選択する。そして、「ソフトウェアで変更」、「2周目から自動で変更」または「1周目から自動で変更」のいずれかに選択した場合には、その選択方法に従って乱数列変更回路526a、526bに乱数列を変更させる。また、「変更しない」を選択した場合には乱数列を変更させる制御を行わない。   The random number sequence change selection circuits 523a and 523b follow the setting contents of the 8-bit random number initial setting 1 (KRS1) and the 8-bit random number initial setting 2 (KRS2) shown in FIGS. 17 and 18 (in the case of the 16-bit random number circuit 508b). According to the setting contents of 16-bit random number initial setting 1 (KRL1) and 16-bit random number initial setting 2 (KRL2) shown in FIG. 14 and FIG. 15, the change method of the random number sequence is “do not change”, “change by software” , “Automatically change from the second lap” or “Automatically change from the first lap” is selected. Then, when any one of “change by software”, “automatic change from the second round” or “automatic change from the first round” is selected, the random number sequence changing circuits 526a and 526b receive random numbers according to the selection method. Change the column. Further, when “Do not change” is selected, control for changing the random number sequence is not performed.

乱数列変更回路526a、526bは、乱数生成回路525a、525bにより生成された数値データの順列を、乱数列変更選択回路523a、523bの指示に従って変更可能とする回路である。例えば、乱数列変更回路526a、526bは、「ソフトウェアで変更」が指示された場合には、乱数生成回路525a、525bが更新する乱数列をソフトウェア(ユーザプログラム)により変更する。また、例えば、乱数列変更回路526a、526bは、「2周目から自動で変更」が指示された場合には、乱数生成回路525a、525bが更新する乱数列を2周目から自動的に変更し、以降、乱数列が一巡するごとに自動的に乱数列を変更する。また、例えば、乱数列変更回路526a、526bは、「1周目から自動で変更」が指示された場合には、乱数生成回路525a、525bが更新する乱数列を1周目から自動的に変更し、以降、乱数列が一巡するごとに自動的に乱数列を変更する。   The random number sequence changing circuits 526a and 526b are circuits that can change the permutation of the numerical data generated by the random number generating circuits 525a and 525b in accordance with instructions from the random number sequence change selecting circuits 523a and 523b. For example, when “change by software” is instructed, the random number sequence change circuits 526a and 526b change the random number sequence updated by the random number generation circuits 525a and 525b by software (user program). Further, for example, when the instruction “automatic change from the second round” is instructed, the random number sequence change circuits 526a and 526b automatically change the random number sequence updated by the random number generation circuits 525a and 525b from the second round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed. Further, for example, when “automatic change from the first round” is instructed, the random number sequence change circuits 526a and 526b automatically change the random number sequence updated by the random number generation circuits 525a and 525b from the first round. Thereafter, the random number sequence is automatically changed every time the random number sequence is completed.

乱数生成回路525a、525bは、例えば8ビットのカウンタ(16ビット乱数回路508bの場合は16ビットのカウンタ)などから構成され、乱数更新クロック信号などの入力に基づき、数値データを更新可能な所定の範囲において所定の初期値から所定の最終値まで循環的に更新する回路である。例えば乱数生成回路525a、525bは、乱数更新クロック信号における立ち下がりエッジに応答して、「0」から「255」までの範囲内で設定された初期値から「255」まで1ずつ加算するように数値データをカウントアップして行く(16ビット乱数回路508bの場合には、「0」から「65535」までの範囲内で設定された初期値から「65535」まで1ずつ加算するように数値データをカウントアップして行く)。そして、「255」までカウントアップした後には、「0」から初期値よりも1小さい最終値となる数値まで1ずつ加算するようにカウントアップすることで、数値データを循環的に更新する。   The random number generation circuits 525a and 525b are configured by, for example, an 8-bit counter (a 16-bit counter in the case of the 16-bit random number circuit 508b) and the like. In the range, the circuit cyclically updates from a predetermined initial value to a predetermined final value. For example, the random number generation circuits 525a and 525b are configured to add one by one from the initial value set within the range from “0” to “255” in response to the falling edge in the random number update clock signal. The numerical data is counted up (in the case of the 16-bit random number circuit 508b, the numerical data is incremented by 1 from the initial value set within the range of “0” to “65535” to “65535”. Count up) Then, after counting up to “255”, the numerical data is updated cyclically by counting up from “0” to a numerical value that becomes a final value that is 1 smaller than the initial value.

最大値比較回路527a、527bは、図17や図18に示す8ビット乱数初期設定1(KRS1)や8ビット乱数初期設定2(KRS2)の設定内容に従って(16ビット乱数回路508bの場合には、図14や図15に示す16ビット乱数初期設定1(KRL1)や16ビット乱数初期設定2(KRL2)の設定内容に従って)、乱数生成回路525a、525bが生成する乱数値の最大値を設定する。   The maximum value comparison circuits 527a and 527b are set according to the setting contents of the 8-bit random number initial setting 1 (KRS1) and the 8-bit random number initial setting 2 (KRS2) shown in FIG. 17 and FIG. In accordance with the setting contents of 16-bit random number initial setting 1 (KRL1) and 16-bit random number initial setting 2 (KRL2) shown in FIGS. 14 and 15, the maximum value of the random number values generated by the random number generation circuits 525a and 525b is set.

図24(A)は、RL0ハードラッチ選択レジスタ0(RL0LS0)の構成例を示している。図24(B)は、RL0ハードラッチ選択レジスタ0(RL0LS0)に格納されるデータの各ビットにおける設定内容の一例を示している。RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[7]に格納されるデータRL01RFは、RL0ハードラッチ乱数値レジスタ1(RL0HV1)に、外部端子入力により、16ビット乱数RL0の値を取り込む際の条件の設定を示している。図24(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRL01RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   FIG. 24A shows a configuration example of the RL0 hard latch selection register 0 (RL0LS0). FIG. 24B shows an example of setting contents in each bit of data stored in the RL0 hard latch selection register 0 (RL0LS0). The data RL01RF stored in the bit number [7] of the RL0 hard latch selection register 0 (RL0LS0) is obtained when the value of the 16-bit random number RL0 is input to the RL0 hard latch random value register 1 (RL0HV1) by an external terminal input. The setting of conditions is shown. In the example shown in FIG. 24B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RL01RF becomes “0”. When the value is set to be latched, the bit value is “1”.

尚、本実施例では、プログラム管理エリアや内蔵レジスタのレジスタに関して、具体的には、プログラム管理エリアなどの対応するビットを“0”または“1”のいずれかの値としておくことにより、その対応するビットの値が読み込まれて、読み込まれた“0”または“1”の値がメイン制御部41の制御レジスタにハードウェア的に書き込まれることにより各種の設定が行われる。   In this embodiment, regarding the program management area and the register of the built-in register, specifically, by setting the corresponding bit in the program management area or the like to a value of “0” or “1”, the correspondence is made. The value of the bit to be read is read, and the read “0” or “1” value is written to the control register of the main control unit 41 by hardware, so that various settings are made.

RL0ハードラッチ選択レジスタ0(RL0LS0)のビット7(RL01RF)については、そのビット7から読み込まれた値が“0”であれば、メイン制御部41の制御レジスタにハードウェア的に“0”が書き込まれることによりRL0ハードラッチ乱数値レジスタ1(RL0HV1)から値を読み込まないと次の値をラッチしないように設定され、そのビット7から読み込まれた値が“1”であれば、メイン制御部41の制御レジスタにハードウェア的に“1”が書き込まれることによりRL0ハードラッチ乱数値レジスタ1(RL0HV1)から値を読み込まなくても次の値をラッチするように設定される。このことは、他のプログラム管理エリアの各設定項目や内蔵レジスタの各レジスタの各ビットに関しても同様である。   For bit 7 (RL01RF) of RL0 hard latch select register 0 (RL0LS0), if the value read from bit 7 is “0”, “0” is stored in the control register of main control unit 41 in hardware. If the value is not read from the RL0 hard latch random number register 1 (RL0HV1) by writing, the next value is not latched. If the value read from bit 7 is “1”, the main control unit When “1” is written to the control register 41 by hardware, the next value is latched without reading the value from the RL0 hard latch random value register 1 (RL0HV1). The same applies to each setting item in other program management areas and each bit of each register of the built-in register.

本実施例では、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[7]の設定値として“1”が設定されており、RL0ハードラッチ乱数値レジスタ1(RL0HV1)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the setting value of the bit number [7] of the RL0 hard latch selection register 0 (RL0LS0), and the value need not be read from the RL0 hard latch random number value register 1 (RL0HV1). The following values can be latched.

RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[6−4]に格納されるデータRL01LS0〜RL01LS2は、RL0ハードラッチ乱数値レジスタ1(RL0HV1)に、どの外部端子入力により、16ビット乱数RL0の値を取り込むかの設定を示している。図24(B)に示す例では、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[6−4]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[6−4]に“110”や“111”が設定された場合には、その設定は無効である。   The data RL01LS0 to RL01LS2 stored in the bit number [6-4] of the RL0 hard latch selection register 0 (RL0LS0) is input to the RL0 hard latch random number value register 1 (RL0HV1) according to which external terminal is input. It shows the setting of whether to import a value. In the example shown in FIG. 24B, when “000” is set in the bit number [6-4] of the RL0 hard latch selection register 0 (RL0LS0), the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected, and when “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [6-4] of the RL0 hard latch select register 0 (RL0LS0), the setting is invalid.

本実施例では、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[6−4]の設定値として“111”が設定されており、外部端子入力によっては、RL0ハードラッチ乱数値レジスタ1(RL0HV1)に16ビット乱数RL0の値が取り込まれないように設定されている。   In this embodiment, “111” is set as the set value of the bit number [6-4] of the RL0 hard latch selection register 0 (RL0LS0), and depending on the external terminal input, the RL0 hard latch random number register 1 (RL0HV1) ) Is set so that the value of the 16-bit random number RL0 is not captured.

RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[3]に格納されるデータRL00RFは、RL0ハードラッチ乱数値レジスタ0(RL0HV0)に、外部端子入力により、16ビット乱数RL0の値を取り込む際の条件の設定を示している。図24(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRL00RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   The data RL00RF stored in the bit number [3] of the RL0 hard latch select register 0 (RL0LS0) is obtained when the value of the 16-bit random number RL0 is input to the RL0 hard latch random value register 0 (RL0HV0) by an external terminal input. The setting of conditions is shown. In the example shown in FIG. 24B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RL00RF becomes “0”. When the value is set to be latched, the bit value is “1”.

本実施例では、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[3]の設定値として“1”が設定されており、RL0ハードラッチ乱数値レジスタ0(RL0HV1)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the set value of the bit number [3] of the RL0 hard latch selection register 0 (RL0LS0), and it is not necessary to read the value from the RL0 hard latch random number register 0 (RL0HV1). The following values can be latched.

RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[2−0]に格納されるデータRL00LS0〜RL00LS2は、RL0ハードラッチ乱数値レジスタ0(RL0HV0)に、どの外部端子入力により、16ビット乱数RL0の値を取り込むかの設定を示している。図24(B)に示す例では、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[2−0]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[2−0]に“110”や“111”が設定された場合には、その設定は無効である。また、データRL00LS0〜RL00LS2は、初期値として“000”が設定されている。   The data RL00LS0 to RL00LS2 stored in the bit number [2-0] of the RL0 hard latch selection register 0 (RL0LS0) is input to the RL0 hard latch random number value register 0 (RL0HV0) according to which external terminal is input to the 16-bit random number RL0. It shows the setting of whether to import a value. In the example shown in FIG. 24B, when “000” is set in the bit number [2-0] of the RL0 hard latch selection register 0 (RL0LS0), the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected, and when “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [2-0] of the RL0 hard latch selection register 0 (RL0LS0), the setting is invalid. In addition, the data RL00LS0 to RL00LS2 is set to “000” as an initial value.

本実施例では、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット番号[2−0]の設定値として“000”が設定されており、PI0端子からの入力(スタートスイッチ7の操作検出信号の入力)により、RL0ハードラッチ乱数値レジスタ0(RL0HV1)に16ビット乱数RL0の値が取り込まれるように設定されている。   In this embodiment, “000” is set as the set value of the bit number [2-0] of the RL0 hard latch selection register 0 (RL0LS0), and input from the PI0 terminal (input of the operation detection signal of the start switch 7). ) Is set so that the value of the 16-bit random number RL0 is taken into the RL0 hard latch random number value register 0 (RL0HV1).

図25(A)は、RL0ハードラッチ選択レジスタ1(RL0LS1)の構成例を示している。図25(B)は、RL0ハードラッチ選択レジスタ1(RL0LS1)に格納されるデータの各ビットにおける設定内容の一例を示している。RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[7]に格納されるデータRL03RFは、RL0ハードラッチ乱数値レジスタ3(RL0HV3)に、外部端子入力により、16ビット乱数RL0の値を取り込む際の条件の設定を示している。図25(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRL03RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   FIG. 25A shows a configuration example of the RL0 hard latch selection register 1 (RL0LS1). FIG. 25B shows an example of setting contents in each bit of data stored in the RL0 hard latch selection register 1 (RL0LS1). The data RL03RF stored in the bit number [7] of the RL0 hard latch selection register 1 (RL0LS1) is obtained when the value of the 16-bit random number RL0 is input to the RL0 hard latch random value register 3 (RL0HV3) by an external terminal input. The setting of conditions is shown. In the example shown in FIG. 25B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RL03RF becomes “0”. When the value is set to be latched, the bit value is “1”.

本実施例では、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[7]の設定値として“1”が設定されており、RL0ハードラッチ乱数値レジスタ3(RL0HV3)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the set value of the bit number [7] of the RL0 hard latch selection register 1 (RL0LS1), and the value need not be read from the RL0 hard latch random value register 3 (RL0HV3). The following values can be latched.

RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[6−4]に格納されるデータRL03LS0〜RL03LS2は、RL0ハードラッチ乱数値レジスタ3(RL0HV3)に、どの外部端子入力により、16ビット乱数RL0の値を取り込むかの設定を示している。図25(B)に示す例では、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[6−4]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[6−4]に“110”や“111”が設定された場合には、その設定は無効である。   The data RL03LS0 to RL03LS2 stored in the bit number [6-4] of the RL0 hard latch selection register 1 (RL0LS1) is input to the RL0 hard latch random value register 3 (RL0HV3) according to which external terminal is input to the 16-bit random number RL0. It shows the setting of whether to import a value. In the example shown in FIG. 25B, when “000” is set in the bit number [6-4] of the RL0 hard latch selection register 1 (RL0LS1), the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected. When "101" is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [6-4] of the RL0 hard latch selection register 1 (RL0LS1), the setting is invalid.

本実施例では、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[6−4]の設定値として“111”が設定されており、外部端子入力によっては、RL0ハードラッチ乱数値レジスタ3(RL0HV3)に16ビット乱数RL0の値が取り込まれないように設定されている。   In this embodiment, “111” is set as the set value of the bit number [6-4] of the RL0 hard latch selection register 1 (RL0LS1). Depending on the external terminal input, the RL0 hard latch random number register 3 (RL0HV3) ) Is set so that the value of the 16-bit random number RL0 is not captured.

RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[3]に格納されるデータRL02RFは、RL0ハードラッチ乱数値レジスタ2(RL0HV2)に、外部端子入力により、16ビット乱数RL0の値を取り込む際の条件の設定を示している。図25(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRL02RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   The data RL02RF stored in the bit number [3] of the RL0 hard latch selection register 1 (RL0LS1) is obtained when the value of the 16-bit random number RL0 is input to the RL0 hard latch random value register 2 (RL0HV2) by external terminal input. The setting of conditions is shown. In the example shown in FIG. 25B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RL02RF becomes “0”, while the next value is not read. When the value is set to be latched, the bit value is “1”.

本実施例では、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[3]の設定値として“1”が設定されており、RL0ハードラッチ乱数値レジスタ2(RL0HV2)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the set value of the bit number [3] of the RL0 hard latch selection register 1 (RL0LS1), and it is not necessary to read the value from the RL0 hard latch random value register 2 (RL0HV2). The following values can be latched.

RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[2−0]に格納されるデータRL02LS0〜RL02LS2は、RL0ハードラッチ乱数値レジスタ2(RL0HV2)に、どの外部端子入力により、16ビット乱数RL0の値を取り込むかの設定を示している。図25(B)に示す例では、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[2−0]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[2−0]に“110”や“111”が設定された場合には、その設定は無効である。   The data RL02LS0 to RL02LS2 stored in the bit number [2-0] of the RL0 hard latch selection register 1 (RL0LS1) is input to the RL0 hard latch random number value register 2 (RL0HV2) according to which external terminal is input to the 16-bit random number RL0. It shows the setting of whether to import a value. In the example shown in FIG. 25B, when “000” is set in the bit number [2-0] of the RL0 hard latch selection register 1 (RL0LS1), the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected, and when “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [2-0] of the RL0 hard latch selection register 1 (RL0LS1), the setting is invalid.

本実施例では、RL0ハードラッチ選択レジスタ1(RL0LS1)のビット番号[2−0]の設定値として“111”が設定されており、外部端子入力によっては、RL0ハードラッチ乱数値レジスタ2(RL0HV2)に16ビット乱数RL0の値が取り込まれないように設定されている。   In this embodiment, “111” is set as the set value of the bit number [2-0] of the RL0 hard latch selection register 1 (RL0LS1). Depending on the external terminal input, the RL0 hard latch random value register 2 (RL0HV2) is set. ) Is set so that the value of the 16-bit random number RL0 is not captured.

図26(A)は、RLnハードラッチ選択レジスタ(RLnLS)の構成例を示している。図26(B)は、RLnハードラッチ選択レジスタ(RLnLS)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、図26において、nは0〜3の値をとる。RLnハードラッチ選択レジスタ(RLnLS)のビット番号[7]に格納されるデータRLn1RFは、RLnハードラッチ乱数値レジスタ1(RLnHV1)に、外部端子入力により、16ビット乱数RLnの値を取り込む際の条件の設定を示している。図26(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRLn1RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   FIG. 26A shows a configuration example of the RLn hard latch selection register (RLnLS). FIG. 26B shows an example of setting contents in each bit of data stored in the RLn hard latch selection register (RLnLS). In FIG. 26, n takes a value from 0 to 3. Data RLn1RF stored in the bit number [7] of the RLn hard latch selection register (RLnLS) is a condition when the value of the 16-bit random number RLn is input to the RLn hard latch random value register 1 (RLnHV1) by an external terminal input. Shows the settings. In the example shown in FIG. 26B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RLn1RF becomes “0”, while the next value is not read. When the value is set to be latched, the bit value is “1”.

本実施例では、RLnハードラッチ選択レジスタ(RLnLS)のビット番号[7]の設定値として“1”が設定されており、RLnハードラッチ乱数値レジスタ1(RLnHV1)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the setting value of the bit number [7] of the RLn hard latch selection register (RLnLS), and the next value is not read from the RLn hard latch random value register 1 (RLnHV1). The value of can be latched.

RLnハードラッチ選択レジスタ(RLnLS)のビット番号[6−4]に格納されるデータRLn1LS0〜RLn1LS2は、RLnハードラッチ乱数値レジスタ1(RLnHV1)に、どの外部端子入力により、16ビット乱数RLnの値を取り込むかの設定を示している。図26(B)に示す例では、RLnハードラッチ選択レジスタ(RLnLS)のビット番号[6−4]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RLnハードラッチ選択レジスタ(RLnLS)のビット番号[6−4]に“110”や“111”が設定された場合には、その設定は無効である。   The data RLn1LS0 to RLn1LS2 stored in the bit number [6-4] of the RLn hard latch selection register (RLnLS) is the value of the 16-bit random number RLn depending on which external terminal is input to the RLn hard latch random value register 1 (RLnHV1). Indicates whether to capture. In the example shown in FIG. 26B, when “000” is set in the bit number [6-4] of the RLn hard latch selection register (RLnLS), the PI0 terminal is selected and “001” is set. In this case, the PI1 terminal is selected. When “010” is set, the PI2 terminal is selected. When “011” is set, the PI3 terminal is selected. When “100” is set. When the PI4 terminal is selected and “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [6-4] of the RLn hard latch selection register (RLnLS), the setting is invalid.

本実施例では、RLnハードラッチ選択レジスタ(RLnLS)のビット番号[6−4]の設定値として“111”が設定されており、外部端子入力によっては、RLnハードラッチ乱数値レジスタ1(RLnHV1)に16ビット乱数RLnの値が取り込まれないように設定されている。   In this embodiment, “111” is set as the setting value of the bit number [6-4] of the RLn hard latch selection register (RLnLS), and depending on the external terminal input, the RLn hard latch random number value register 1 (RLnHV1) The 16-bit random number RLn is not taken in.

RLnハードラッチ選択レジスタ(RLnLS)のビット番号[3]に格納されるデータRLn0RFは、RLnハードラッチ乱数値レジスタ0(RLnHV0)に、外部端子入力により、16ビット乱数RLnの値を取り込む際の条件の設定を示している。図26(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRLn0RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   Data RLn0RF stored in the bit number [3] of the RLn hard latch selection register (RLnLS) is a condition when the value of the 16-bit random number RLn is input to the RLn hard latch random value register 0 (RLnHV0) by an external terminal input. Shows the settings. In the example shown in FIG. 26B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RLn0RF becomes “0”, while the next value is not read. When the value is set to be latched, the bit value is “1”.

本実施例では、RLnハードラッチ選択レジスタ(RLnLS)のビット番号[3]の設定値として“1”が設定されており、RLnハードラッチ乱数値レジスタ0(RLnHV0)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the setting value of the bit number [3] of the RLn hard latch selection register (RLnLS), and the next value is not read from the RLn hard latch random value register 0 (RLnHV0). The value of can be latched.

RLnハードラッチ選択レジスタ(RLnLS)のビット番号[2−0]に格納されるデータRLn0LS0〜RLn0LS2は、RLnハードラッチ乱数値レジスタ0(RLnHV0)に、どの外部端子入力により、16ビット乱数RLnの値を取り込むかの設定を示している。図26(B)に示す例では、RLnハードラッチ選択レジスタ(RLnLS)のビット番号[2−0]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RLnハードラッチ選択レジスタ(RLnLS)のビット番号[2−0]に“110”や“111”が設定された場合には、その設定は無効である。   The data RLn0LS0 to RLn0LS2 stored in the bit number [2-0] of the RLn hard latch selection register (RLnLS) is the value of the 16-bit random number RLn depending on which external terminal is input to the RLn hard latch random value register 0 (RLnHV0). Indicates whether to capture. In the example shown in FIG. 26B, when “000” is set in the bit number [2-0] of the RLn hard latch selection register (RLnLS), the PI0 terminal is selected and “001” is set. In this case, the PI1 terminal is selected. When “010” is set, the PI2 terminal is selected. When “011” is set, the PI3 terminal is selected. When “100” is set. When the PI4 terminal is selected and “101” is set, the PI5 / XINT terminal is selected. If “110” or “111” is set in the bit number [2-0] of the RLn hard latch selection register (RLnLS), the setting is invalid.

本実施例では、RL1ハードラッチ選択レジスタ(RL1LS)のビット番号[2−0]の設定値として“001”が設定されており、PI1端子からの入力(MAXBETスイッチ6の操作検出信号の入力)により、RL1ハードラッチ乱数値レジスタ0(RL1HV0)に16ビット乱数RL1の値が取り込まれるように設定されている。一方、RL2ハードラッチ選択レジスタ(RL2LS)のビット番号[2−0]の設定値、RL3ハードラッチ選択レジスタ(RL3LS)のビット番号[2−0]の設定値として“111”が設定されており、外部端子入力によっては、RL2ハードラッチ乱数値レジスタ0(RL2HV0)、RL3ハードラッチ乱数値レジスタ0(RL3HV0)に16ビット乱数RL2、RL3の値が取り込まれないように設定されている。   In this embodiment, “001” is set as the set value of the bit number [2-0] of the RL1 hard latch selection register (RL1LS), and input from the PI1 terminal (input of the operation detection signal of the MAXBET switch 6). Accordingly, the value of the 16-bit random number RL1 is set to be taken into the RL1 hard latch random number value register 0 (RL1HV0). On the other hand, “111” is set as the setting value of the bit number [2-0] of the RL2 hard latch selection register (RL2LS) and the setting value of the bit number [2-0] of the RL3 hard latch selection register (RL3LS). Depending on the external terminal input, the RL2 hard latch random value register 0 (RL2HV0) and the RL3 hard latch random value register 0 (RL3HV0) are set so that the values of the 16-bit random numbers RL2 and RL3 are not taken in.

図27(A)は、RSハードラッチ選択レジスタ0(RSLS0)の構成例を示している。図27(B)は、RSハードラッチ選択レジスタ0(RSLS0)に格納されるデータの各ビットにおける設定内容の一例を示している。RSハードラッチ選択レジスタ0(RSLS0)のビット番号[7]に格納されるデータRS1RFは、RS1ハードラッチ乱数値レジスタ(RS1HV)に、外部端子入力により、8ビット乱数RS1の値を取り込む際の条件の設定を示している。図27(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRS1RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   FIG. 27A shows a configuration example of the RS hard latch selection register 0 (RSLS0). FIG. 27B shows an example of setting contents in each bit of data stored in the RS hard latch selection register 0 (RSLS0). Data RS1RF stored in the bit number [7] of the RS hard latch selection register 0 (RSLS0) is a condition for capturing the value of the 8-bit random number RS1 into the RS1 hard latch random value register (RS1HV) by external terminal input. Shows the settings. In the example shown in FIG. 27B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RS1RF becomes “0”. When the value is set to be latched, the bit value is “1”.

本実施例では、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[7]の設定値として“1”が設定されており、RS1ハードラッチ乱数値レジスタ(RS1HV)から値を読み込まなくても次の値をラッチできるようになっている。   In the present embodiment, “1” is set as the setting value of the bit number [7] of the RS hard latch selection register 0 (RSLS0). The value of can be latched.

RSハードラッチ選択レジスタ0(RSLS0)のビット番号[6−4]に格納されるデータRS1LS0〜RS1LS2は、RS1ハードラッチ乱数値レジスタ(RS1HV)に、どの外部端子入力により、8ビット乱数RS1の値を取り込むかの設定を示している。図27(B)に示す例では、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[6−4]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[6−4]に“110”や“111”が設定された場合には、その設定は無効である。   The data RS1LS0 to RS1LS2 stored in the bit number [6-4] of the RS hard latch selection register 0 (RSLS0) is an 8-bit random number RS1 value depending on which external terminal is input to the RS1 hard latch random value register (RS1HV). Indicates whether to capture. In the example shown in FIG. 27B, when “000” is set in the bit number [6-4] of the RS hard latch selection register 0 (RSLS0), the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected, and when “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [6-4] of the RS hard latch selection register 0 (RSLS0), the setting is invalid.

本実施例では、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[6−4]の設定値として“111”が設定されており、外部端子入力によっては、RS1ハードラッチ乱数値レジスタ(RS1HV)に8ビット乱数RS1の値が取り込まれないように設定されている。   In this embodiment, “111” is set as the setting value of the bit number [6-4] of the RS hard latch selection register 0 (RSLS0). Depending on the external terminal input, the RS1 hard latch random number value register (RS1HV) Is set so that the value of the 8-bit random number RS1 is not captured.

RSハードラッチ選択レジスタ0(RSLS0)のビット番号[3]に格納されるデータRS0RFは、RS0ハードラッチ乱数値レジスタ(RS0HV)に、外部端子入力により、8ビット乱数RS0の値を取り込む際の条件の設定を示している。図27(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRS0RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   Data RS0RF stored in the bit number [3] of the RS hard latch selection register 0 (RSLS0) is a condition for taking the value of the 8-bit random number RS0 into the RS0 hard latch random value register (RS0HV) by inputting an external terminal Shows the settings. In the example shown in FIG. 27B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RS0RF becomes “0”. When the value is set to be latched, the bit value is “1”.

本実施例では、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[3]の設定値として“1”が設定されており、RS0ハードラッチ乱数値レジスタ(RS0HV)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the set value of the bit number [3] of the RS hard latch selection register 0 (RSLS0), and the next value is not read from the RS0 hard latch random value register (RS0HV). The value of can be latched.

RSハードラッチ選択レジスタ0(RSLS0)のビット番号[2−0]に格納されるデータRS0LS0〜RS0LS2は、RS0ハードラッチ乱数値レジスタ(RS0HV)に、どの外部端子入力により、8ビット乱数RS0の値を取り込むかの設定を示している。図27(B)に示す例では、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[2−0]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[2−0]に“110”や“111”が設定された場合には、その設定は無効である。   The data RS0LS0 to RS0LS2 stored in the bit number [2-0] of the RS hard latch selection register 0 (RSLS0) is the value of the 8-bit random number RS0 depending on which external terminal input to the RS0 hard latch random value register (RS0HV). Indicates whether to capture. In the example shown in FIG. 27B, when “000” is set in the bit number [2-0] of the RS hard latch selection register 0 (RSLS0), the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected, and when “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [2-0] of the RS hard latch selection register 0 (RSLS0), the setting is invalid.

本実施例では、RSハードラッチ選択レジスタ0(RSLS0)のビット番号[2−0]の設定値として“111”が設定されており、外部端子入力によっては、RSハードラッチ選択レジスタ0(RSLS0)に8ビット乱数RS0の値が取り込まれないように設定されている。   In this embodiment, “111” is set as the setting value of the bit number [2-0] of the RS hard latch selection register 0 (RSLS0). Depending on the external terminal input, the RS hard latch selection register 0 (RSLS0) Is set so that the value of the 8-bit random number RS0 is not captured.

図28(A)は、RSハードラッチ選択レジスタ1(RSLS1)の構成例を示している。図28(B)は、RSハードラッチ選択レジスタ1(RSLS1)に格納されるデータの各ビットにおける設定内容の一例を示している。RSハードラッチ選択レジスタ1(RSLS1)のビット番号[7]に格納されるデータRS3RFは、RS3ハードラッチ乱数値レジスタ(RS3HV)に、外部端子入力により、8ビット乱数RS3の値を取り込む際の条件の設定を示している。図28(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRS3RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   FIG. 28A shows a configuration example of the RS hard latch selection register 1 (RSLS1). FIG. 28B shows an example of setting contents in each bit of data stored in the RS hard latch selection register 1 (RSLS1). Data RS3RF stored in the bit number [7] of the RS hard latch selection register 1 (RSLS1) is a condition for taking the value of the 8-bit random number RS3 into the RS3 hard latch random number value register (RS3HV) by external terminal input Shows the settings. In the example shown in FIG. 28B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RS3RF becomes “0”. When the value is set to be latched, the bit value is “1”.

本実施例では、RSハードラッチ選択レジスタ1(RSLS1)のビット番号[7]の設定値として“1”が設定されており、RS3ハードラッチ乱数値レジスタ(RS3HV)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the setting value of the bit number [7] of the RS hard latch selection register 1 (RSLS1), and the next value is not read from the RS3 hard latch random number value register (RS3HV). The value of can be latched.

RSハードラッチ選択レジスタ1(RSLS1)のビット番号[6−4]に格納されるデータRS3LS0〜RS3LS2は、RS3ハードラッチ乱数値レジスタ(RS3HV)に、どの外部端子入力により、8ビット乱数RS3の値を取り込むかの設定を示している。図28(B)に示す例では、RSハードラッチ選択レジスタ1(RSLS1)のビット番号[6−4]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RSハードラッチ選択レジスタ0(RSLS1)のビット番号[6−4]に“110”や“111”が設定された場合には、その設定は無効である。   The data RS3LS0 to RS3LS2 stored in the bit number [6-4] of the RS hard latch selection register 1 (RSLS1) is an 8-bit random number RS3 value depending on which external terminal is input to the RS3 hard latch random number value register (RS3HV). Indicates whether to capture. In the example shown in FIG. 28B, when “000” is set in the bit number [6-4] of the RS hard latch selection register 1 (RSLS1), the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected, and when “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [6-4] of the RS hard latch selection register 0 (RSLS1), the setting is invalid.

本実施例では、RSハードラッチ選択レジスタ1(RSLS1)のビット番号[6−4]の設定値として“111”が設定されており、外部端子入力によっては、RS3ハードラッチ乱数値レジスタ(RS3HV)に8ビット乱数RS3の値が取り込まれないように設定されている。   In this embodiment, “111” is set as the set value of the bit number [6-4] of the RS hard latch selection register 1 (RSLS1). Depending on the external terminal input, the RS3 hard latch random number value register (RS3HV) Is set so that the value of the 8-bit random number RS3 is not captured.

RSハードラッチ選択レジスタ1(RSLS1)のビット番号[3]に格納されるデータRS2RFは、RS2ハードラッチ乱数値レジスタ(RS2HV)に、外部端子入力により、8ビット乱数RS2の値を取り込む際の条件の設定を示している。図28(B)に示す例では、値を読み込まないと次の値をラッチしないように設定した場合には、データRS2RFのビット値が“0”となる一方、値を読み込まなくても次の値をラッチするように設定した場合には、そのビット値が“1”となる。   Data RS2RF stored in the bit number [3] of the RS hard latch selection register 1 (RSLS1) is a condition for taking the value of the 8-bit random number RS2 into the RS2 hard latch random value register (RS2HV) by inputting an external terminal Shows the settings. In the example shown in FIG. 28B, when setting is made so that the next value is not latched unless a value is read, the bit value of the data RS2RF becomes “0”, while the next value is not read. When the value is set to be latched, the bit value is “1”.

本実施例では、RSハードラッチ選択レジスタ1(RSLS1)のビット番号[3]の設定値として“1”が設定されており、RS2ハードラッチ乱数値レジスタ(RS2HV)から値を読み込まなくても次の値をラッチできるようになっている。   In this embodiment, “1” is set as the setting value of the bit number [3] of the RS hard latch selection register 1 (RSLS1), and the next value is not read from the RS2 hard latch random value register (RS2HV). The value of can be latched.

RSハードラッチ選択レジスタ1(RSLS1)のビット番号[2−0]に格納されるデータRS2LS0〜RS2LS2は、RS2ハードラッチ乱数値レジスタ(RS2HV)に、どの外部端子入力により、8ビット乱数RS2の値を取り込むかの設定を示している。図28(B)に示す例では、RSハードラッチ選択レジスタ1(RSLS1)のビット番号[2−0]に“000”が設定された場合にはPI0端子が選択され、“001”が設定された場合にはPI1端子が選択され、“010”が設定された場合にはPI2端子が選択され、“011”が設定された場合にはPI3端子が選択され、“100”が設定された場合にはPI4端子が選択され、“101”が設定された場合にはPI5/XINT端子が選択される。尚、RSハードラッチ選択レジスタ1(RSLS1)のビット番号[2−0]に“110”や“111”が設定された場合には、その設定は無効である。   The data RS2LS0 to RS2LS2 stored in the bit number [2-0] of the RS hard latch selection register 1 (RSLS1) is an 8-bit random number RS2 value depending on which external terminal is input to the RS2 hard latch random value register (RS2HV). Indicates whether to capture. In the example shown in FIG. 28B, when the bit number [2-0] of the RS hard latch selection register 1 (RSLS1) is set to “000”, the PI0 terminal is selected and “001” is set. When the PI1 terminal is selected, the PI2 terminal is selected when “010” is set, the PI3 terminal is selected when “011” is set, and “100” is set. In this case, the PI4 terminal is selected, and when “101” is set, the PI5 / XINT terminal is selected. When “110” or “111” is set in the bit number [2-0] of the RS hard latch selection register 1 (RSLS1), the setting is invalid.

本実施例では、RSハードラッチ選択レジスタ1(RSLS1)のビット番号[2−0]の設定値として“111”が設定されており、外部端子入力によっては、RS2ハードラッチ乱数値レジスタ(RS2HV)に8ビット乱数RS2の値が取り込まれないように設定されている。   In this embodiment, “111” is set as the setting value of the bit number [2-0] of the RS hard latch selection register 1 (RSLS1). Depending on the external terminal input, the RS2 hard latch random number value register (RS2HV) Is set so that the value of the 8-bit random number RS2 is not captured.

図29(A)は、RL割込制御レジスタ0(RLIC0)の構成例を示している。図29(B)は、RL割込制御レジスタ0(RLIC0)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、RL割込制御レジスタ0(RLIC0)のビット[7−6]のビット値は必ず“0”とされる。   FIG. 29A shows a configuration example of the RL interrupt control register 0 (RLIC0). FIG. 29B shows an example of setting contents in each bit of data stored in the RL interrupt control register 0 (RLIC0). The bit value of bit [7-6] of RL interrupt control register 0 (RLIC0) is always set to “0”.

RL割込制御レジスタ0(RLIC0)のビット番号[5]に格納されるデータRL11IEは、RL1ハードラッチ乱数値レジスタ1(RL1HV1)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図29(B)に示す例では、割込禁止に設定した場合には、データRL11IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL11IE stored in the bit number [5] of the RL interrupt control register 0 (RLIC0) is prohibited from being interrupted due to the fact that the random number value is captured in the RL1 hard latch random value register 1 (RL1HV1). / Indicates permission settings. In the example shown in FIG. 29B, when the interrupt is disabled, the bit value of the data RL11IE is “0”, whereas when the interrupt is enabled, the bit value is “1”. It becomes.

RL割込制御レジスタ0(RLIC0)のビット番号[4]に格納されるデータRL10IEは、RL1ハードラッチ乱数値レジスタ0(RL1HV0)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図29(B)に示す例では、割込禁止に設定した場合には、データRL10IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL10IE stored in the bit number [4] of the RL interrupt control register 0 (RLIC0) is prohibited from being interrupted due to the fact that a random value is captured in the RL1 hard latch random number value register 0 (RL1HV0). / Indicates permission settings. In the example shown in FIG. 29B, when the interrupt is disabled, the bit value of the data RL10IE is “0”, whereas when the interrupt is enabled, the bit value is “1”. It becomes.

RL割込制御レジスタ0(RLIC0)のビット番号[3]に格納されるデータRL03IEは、RL0ハードラッチ乱数値レジスタ3(RL0HV3)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図29(B)に示す例では、割込禁止に設定した場合には、データRL03IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL03IE stored in the bit number [3] of the RL interrupt control register 0 (RLIC0) is prohibited from being interrupted due to the fact that the random number value is captured in the RL0 hard latch random number value register 3 (RL0HV3). / Indicates permission settings. In the example shown in FIG. 29B, when the interrupt is disabled, the bit value of the data RL03IE is “0”, whereas when the interrupt is enabled, the bit value is “1”. It becomes.

RL割込制御レジスタ0(RLIC0)のビット番号[2]に格納されるデータRL02IEは、RL0ハードラッチ乱数値レジスタ2(RL0HV2)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図29(B)に示す例では、割込禁止に設定した場合には、データRL02IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL02IE stored in the bit number [2] of the RL interrupt control register 0 (RLIC0) is prohibited from being interrupted due to the fact that the random number value is taken into the RL0 hard latch random value register 2 (RL0HV2). / Indicates permission settings. In the example shown in FIG. 29B, the bit value of the data RL02IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

RL割込制御レジスタ0(RLIC0)のビット番号[1]に格納されるデータRL01IEは、RL0ハードラッチ乱数値レジスタ1(RL0HV1)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図29(B)に示す例では、割込禁止に設定した場合には、データRL01IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL01IE stored in the bit number [1] of the RL interrupt control register 0 (RLIC0) is prohibited from being interrupted due to the fact that the random number value is taken into the RL0 hard latch random number value register 1 (RL0HV1). / Indicates permission settings. In the example shown in FIG. 29B, when the interrupt is disabled, the bit value of the data RL01IE is “0”, whereas when the interrupt is enabled, the bit value is “1”. It becomes.

RL割込制御レジスタ0(RLIC0)のビット番号[1]に格納されるデータRL00IEは、RL0ハードラッチ乱数値レジスタ0(RL0HV0)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図29(B)に示す例では、割込禁止に設定した場合には、データRL00IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL00IE stored in the bit number [1] of the RL interrupt control register 0 (RLIC0) is prohibited from being interrupted due to the fact that the random number value is captured in the RL0 hard latch random value register 0 (RL0HV0). / Indicates permission settings. In the example shown in FIG. 29B, when the interrupt is disabled, the bit value of the data RL00IE is “0”, whereas when the interrupt is enabled, the bit value is “1”. It becomes.

本実施例では、RL割込制御レジスタ0(RLIC0)のビット番号[5]〜[0]の設定値として、いずれも“0”が設定されており、RL0ハードラッチ乱数値レジスタ0(RL0HV0)〜RL0ハードラッチ乱数値レジスタ3(RL0HV3)、RL1ハードラッチ乱数値レジスタ0(RL1HV0)〜RL1ハードラッチ乱数値レジスタ1(RL1HV1)に乱数値が取り込まれたことを要因とする割込が禁止されるようになっている。   In this embodiment, “0” is set as the set values of the bit numbers [5] to [0] of the RL interrupt control register 0 (RLIC0), and the RL0 hard latch random number register 0 (RL0HV0) ~ RL0 hard latch random value register 3 (RL0HV3), RL1 hard latch random value register 0 (RL1HV0) ~ RL1 hard latch random value register 1 (RL1HV1) It has become so.

図30(A)は、RL割込制御レジスタ1(RLIC1)の構成例を示している。図30(B)は、RL割込制御レジスタ1(RLIC1)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、RL割込制御レジスタ1(RLIC1)のビット[7−6]及びビット[3−2]のビット値は必ず“0”とされる。   FIG. 30A shows a configuration example of the RL interrupt control register 1 (RLIC1). FIG. 30B shows an example of setting contents in each bit of data stored in the RL interrupt control register 1 (RLIC1). The bit values of the bits [7-6] and [3-2] of the RL interrupt control register 1 (RLIC1) are always “0”.

RL割込制御レジスタ1(RLIC1)のビット番号[5]に格納されるデータRL31IEは、RL3ハードラッチ乱数値レジスタ1(RL3HV1)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図30(B)に示す例では、割込禁止に設定した場合には、データRL31IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL31IE stored in the bit number [5] of the RL interrupt control register 1 (RLIC1) is prohibited from being interrupted due to the fact that the random number value is captured in the RL3 hard latch random number value register 1 (RL3HV1). / Indicates permission settings. In the example shown in FIG. 30B, when the interrupt is disabled, the bit value of the data RL31IE is “0”, whereas when the interrupt is enabled, the bit value is “1”. It becomes.

RL割込制御レジスタ1(RLIC1)のビット番号[4]に格納されるデータRL30IEは、RL3ハードラッチ乱数値レジスタ0(RL3HV0)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図30(B)に示す例では、割込禁止に設定した場合には、データRL30IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL30IE stored in the bit number [4] of the RL interrupt control register 1 (RLIC1) is prohibited from being interrupted due to the fact that the random number value is captured in the RL3 hard latch random value register 0 (RL3HV0). / Indicates permission settings. In the example shown in FIG. 30B, the bit value of the data RL30IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

RL割込制御レジスタ1(RLIC1)のビット番号[1]に格納されるデータRL21IEは、RL2ハードラッチ乱数値レジスタ1(RL2HV1)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図30(B)に示す例では、割込禁止に設定した場合には、データRL21IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL21IE stored in the bit number [1] of the RL interrupt control register 1 (RLIC1) is prohibited from being interrupted due to the fact that the random number value is captured in the RL2 hard latch random value register 1 (RL2HV1). / Indicates permission settings. In the example shown in FIG. 30B, the bit value of the data RL21IE is “0” when interrupt disabled is set, while the bit value is “1” when interrupt enabled is set. It becomes.

RL割込制御レジスタ1(RLIC1)のビット番号[0]に格納されるデータRL20IEは、RL2ハードラッチ乱数値レジスタ0(RL2HV0)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図30(B)に示す例では、割込禁止に設定した場合には、データRL20IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RL20IE stored in the bit number [0] of the RL interrupt control register 1 (RLIC1) is prohibited from being interrupted due to the fact that the random number value is captured in the RL2 hard latch random value register 0 (RL2HV0). / Indicates permission settings. In the example shown in FIG. 30B, the bit value of the data RL20IE is “0” when interrupt disabled is set, while the bit value is “1” when interrupt enabled is set. It becomes.

本実施例では、RL割込制御レジスタ1(RLIC1)のビット番号[5]、[4]、[1]、[0]の設定値として、いずれも“0”が設定されており、RL2ハードラッチ乱数値レジスタ0(RL2HV0)〜RL2ハードラッチ乱数値レジスタ1(RL2HV1)、RL3ハードラッチ乱数値レジスタ0(RL3HV0)〜RL3ハードラッチ乱数値レジスタ1(RL3HV1)に乱数値が取り込まれたことを要因とする割込が禁止されるようになっている。   In this embodiment, “0” is set as the set values of the bit numbers [5], [4], [1], and [0] of the RL interrupt control register 1 (RLIC1), and the RL2 hardware Random random value register 0 (RL2HV0) to RL2 hard latch random value register 1 (RL2HV1), RL3 hard latch random value register 0 (RL3HV0) to RL3 hard latch random value register 1 (RL3HV1) Interruption as a factor is prohibited.

図31(A)は、RS割込制御レジスタ(RSIC)の構成例を示している。図31(B)は、RS割込制御レジスタ(RSIC)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、RS割込制御レジスタ(RSIC)は、8ビット乱数回路508aとフリーランカウンタ回路507とで兼用で用いられるレジスタであり、RS割込制御レジスタ(RSIC)のビット[7−4]は、フリーランカウンタ回路507が用いるハードラッチレジスタ(FRC0ハードラッチレジスタ(FR0HV)〜FRC3ハードラッチレジスタ(FR3HV))に関する設定を示している。   FIG. 31A shows a configuration example of the RS interrupt control register (RSIC). FIG. 31B shows an example of setting contents in each bit of data stored in the RS interrupt control register (RSIC). The RS interrupt control register (RSIC) is a register used in common by the 8-bit random number circuit 508a and the free-run counter circuit 507, and bits [7-4] of the RS interrupt control register (RSIC) are The settings related to the hard latch registers (FRC0 hard latch register (FR0HV) to FRC3 hard latch register (FR3HV)) used by the free-run counter circuit 507 are shown.

RS割込制御レジスタ(RSIC)のビット番号[7]に格納されるデータFR3IEは、FRC3ハードラッチレジスタ(FR3HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データFR3IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data FR3IE stored in the bit number [7] of the RS interrupt control register (RSIC) is set to disable / enable interrupts due to the fact that a random value is taken into the FRC3 hard latch register (FR3HV). Is shown. In the example shown in FIG. 31B, the bit value of the data FR3IE is “0” when interrupt disabled is set, whereas the bit value is “1” when interrupt enabled is set. It becomes.

RS割込制御レジスタ(RSIC)のビット番号[6]に格納されるデータFR2IEは、FRC2ハードラッチレジスタ(FR2HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データFR2IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data FR2IE stored in the bit number [6] of the RS interrupt control register (RSIC) is set to prohibit / permit interrupts due to the fact that a random value is taken into the FRC2 hard latch register (FR2HV). Is shown. In the example shown in FIG. 31B, the bit value of the data FR2IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

RS割込制御レジスタ(RSIC)のビット番号[5]に格納されるデータFR1IEは、FRC1ハードラッチレジスタ(FR1HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データFR1IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data FR1IE stored in the bit number [5] of the RS interrupt control register (RSIC) is set to disable / enable interrupts due to the fact that a random number value is taken into the FRC1 hard latch register (FR1HV). Is shown. In the example shown in FIG. 31B, the bit value of the data FR1IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

RS割込制御レジスタ(RSIC)のビット番号[4]に格納されるデータFR0IEは、FRC0ハードラッチレジスタ(FR0HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データFR0IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data FR0IE stored in the bit number [4] of the RS interrupt control register (RSIC) is set to disable / permit interrupts due to the fact that a random number value is taken into the FRC0 hard latch register (FR0HV). Is shown. In the example shown in FIG. 31B, the bit value of the data FR0IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

本実施例では、RL割込制御レジスタ0(RLIC0)のビット番号[7]〜[4]の設定値として、いずれも“0”が設定されており、FRC0ハードラッチレジスタ(FR0HV)〜FRC3ハードラッチレジスタ(FR3HV)に乱数値が取り込まれたことを要因とする割込が禁止されるようになっている。   In this embodiment, “0” is set as the set values of the bit numbers [7] to [4] of the RL interrupt control register 0 (RLIC0), and the FRC0 hardware latch register (FR0HV) to FRC3 hardware Interruption due to the fact that a random value is taken into the latch register (FR3HV) is prohibited.

RS割込制御レジスタ(RSIC)のビット番号[3]に格納されるデータRS3IEは、RS3ハードラッチ乱数値レジスタ(RS3HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データRS3IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RS3IE stored in the bit number [3] of the RS interrupt control register (RSIC) is disabled / permitted for interrupts due to the fact that the RS3 hard latch random value register (RS3HV) has received a random value. Shows the settings. In the example shown in FIG. 31B, the bit value of the data RS3IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

RS割込制御レジスタ(RSIC)のビット番号[2]に格納されるデータRS2IEは、RS2ハードラッチ乱数値レジスタ(RS2HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データRS2IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RS2IE stored in the bit number [2] of the RS interrupt control register (RSIC) is prohibited / permitted for interrupts due to the fact that the RS2 hard latch random number value register (RS2HV) has received a random value. Shows the settings. In the example shown in FIG. 31B, the bit value of the data RS2IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

RS割込制御レジスタ(RSIC)のビット番号[1]に格納されるデータRS1IEは、RS1ハードラッチ乱数値レジスタ(RS1HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データRS1IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RS1IE stored in the bit number [1] of the RS interrupt control register (RSIC) is prohibited / permitted for interrupts due to the fact that the RS1 hard latch random value register (RS1HV) has received a random value. Shows the settings. In the example shown in FIG. 31B, the bit value of the data RS1IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

RS割込制御レジスタ(RSIC)のビット番号[0]に格納されるデータRS0IEは、RS0ハードラッチ乱数値レジスタ(RS0HV)に、乱数値が取り込まれたことを要因とする割込の禁止/許可の設定を示している。図31(B)に示す例では、割込禁止に設定した場合には、データRS0IEのビット値が“0”となる一方、割込許可に設定した場合には、そのビット値が“1”となる。   The data RS0IE stored in the bit number [0] of the RS interrupt control register (RSIC) is prohibited / permitted for interrupts due to the fact that the random value is taken into the RS0 hard latch random number value register (RS0HV). Shows the settings. In the example shown in FIG. 31B, the bit value of the data RS0IE is “0” when the interrupt is disabled, whereas the bit value is “1” when the interrupt is enabled. It becomes.

本実施例では、RL割込制御レジスタ0(RLIC0)のビット番号[3]〜[0]の設定値として、いずれも“0”が設定されており、RS0ハードラッチ乱数値レジスタ(RS0HV)〜RS3ハードラッチ乱数値レジスタ(RS3HV)に乱数値が取り込まれたことを要因とする割込が禁止されるようになっている。   In this embodiment, “0” is set as the set values of the bit numbers [3] to [0] of the RL interrupt control register 0 (RLIC0), and the RS0 hard latch random number value register (RS0HV) to Interrupts caused by random number values taken into the RS3 hard latch random value register (RS3HV) are prohibited.

図32(A)は、RLn最大値設定レジスタ(RLnMX)の構成例を示している。図32(B)は、RLn最大値設定レジスタ(RLnMX)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、図32において、nは0〜3の値をとる。図32(B)に示すように、RLn最大値設定レジスタ(RLnMX)のビット番号[15−0]に格納されるデータRLnMX15〜RLnMX0は、16ビット乱数RLnの最大値が設定される。   FIG. 32A shows a configuration example of the RLn maximum value setting register (RLnMX). FIG. 32B shows an example of setting contents in each bit of data stored in the RLn maximum value setting register (RLnMX). In FIG. 32, n takes a value from 0 to 3. As shown in FIG. 32B, the maximum value of the 16-bit random number RLn is set in the data RLnMX15 to RLnMX0 stored in the bit number [15-0] of the RLn maximum value setting register (RLnMX).

RLn最大値設定レジスタ(RLnMX)は、ユーザモードに移行後にソフトウェア(ユーザプログラム)にて設定可能とされており、16ビット乱数初期設定1、2(KRL1、2)において、16ビット乱数回路508bの起動方法としてソフトウェアによる起動が設定されたチャネルの16ビット乱数回路508bに対応するRLn最大値設定レジスタ(RLnMX)に、最大値(1〜65536)を設定することで、該当するチャネルの16ビット乱数回路508bが起動し、0〜最大値の範囲で乱数が生成されることとなる。尚、16ビット乱数回路508bの起動方法としてソフトウェアによる起動が設定されたチャネルの16ビット乱数回路508bに対応するRLn最大値設定レジスタ(RLnMX)に最大値を設定しないことで、該当するチャネルの16ビット乱数回路508bを起動させず、未使用に設定することができる。   The RLn maximum value setting register (RLnMX) can be set by software (user program) after shifting to the user mode. In the 16-bit random number initial setting 1 and 2 (KRL 1 and 2), the 16-bit random number circuit 508b By setting the maximum value (1 to 65536) in the RLn maximum value setting register (RLnMX) corresponding to the 16-bit random number circuit 508b of the channel set to be activated by software as the activation method, the 16-bit random number of the corresponding channel is set. The circuit 508b is activated, and random numbers are generated in the range of 0 to the maximum value. It should be noted that as a starting method of the 16-bit random number circuit 508b, the maximum value is not set in the RLn maximum value setting register (RLnMX) corresponding to the 16-bit random number circuit 508b of the channel set to be started by software. The bit random number circuit 508b can be set to unused without being activated.

本実施例では、チャネル2、3の16ビット乱数回路508bの起動方法としてソフトウェアによる起動が設定されており、さらに対応するRL2最大値設定レジスタ(RL2MX)、RL3最大値設定レジスタ(RL3MX)にそれぞれ0が設定されているため、チャネル2、3の16ビット乱数回路508bは未使用設定となる。   In this embodiment, the activation by software is set as the activation method of the 16-bit random number circuit 508b of channels 2 and 3, and the corresponding RL2 maximum value setting register (RL2MX) and RL3 maximum value setting register (RL3MX) are respectively set. Since 0 is set, the 16-bit random number circuit 508b of channels 2 and 3 is set to unused.

図33(A)は、RSn最大値設定レジスタ(RSnMX)の構成例を示している。図33(B)は、RSn最大値設定レジスタ(RSnMX)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、図33において、nは0〜3の値をとる。図33(B)に示すように、RSn最大値設定レジスタ(RSnMX)のビット番号[7−0]に格納されるデータRSnMX7〜RSnMX0は、8ビット乱数RSnの最大値が設定される。   FIG. 33A shows a configuration example of the RSn maximum value setting register (RSnMX). FIG. 33B shows an example of setting contents in each bit of data stored in the RSn maximum value setting register (RSnMX). In FIG. 33, n takes a value from 0 to 3. As shown in FIG. 33B, the maximum value of the 8-bit random number RSn is set in the data RSnMX7 to RSnMX0 stored in the bit number [7-0] of the RSn maximum value setting register (RSnMX).

RSn最大値設定レジスタ(RSnMX)は、ユーザモードに移行後にソフトウェア(ユーザプログラム)にて設定可能とされており、8ビット乱数初期設定1、2(KRL1、2)において、8ビット乱数回路508aの起動方法としてソフトウェアによる起動が設定されたチャネルの8ビット乱数回路508aに対応するRSn最大値設定レジスタ(RSnMX)に、最大値(1〜255)を設定することで、該当するチャネルの8ビット乱数回路508aが起動し、0〜最大値の範囲で乱数が生成されることとなる。尚、8ビット乱数回路508aの起動方法としてソフトウェアによる起動が設定されたチャネルの8ビット乱数回路508aに対応するRSn最大値設定レジスタ(RSnMX)に最大値を設定しないことで、該当するチャネルの8ビット乱数回路508aを起動させず、未使用に設定することができる。   The RSn maximum value setting register (RSnMX) can be set by software (user program) after shifting to the user mode. In the 8-bit random number initial setting 1 and 2 (KRL 1 and 2), the 8-bit random number circuit 508a By setting the maximum value (1 to 255) in the RSn maximum value setting register (RSnMX) corresponding to the 8-bit random number circuit 508a of the channel for which activation by software is set as the activation method, the 8-bit random number of the corresponding channel The circuit 508a is activated, and random numbers are generated in the range of 0 to the maximum value. It should be noted that as a starting method of the 8-bit random number circuit 508a, the maximum value is not set in the RSn maximum value setting register (RSnMX) corresponding to the 8-bit random number circuit 508a of the channel set to be started by software. The bit random number circuit 508a can be set to unused without being activated.

本実施例では、チャネル0〜3の8ビット乱数回路508aの起動方法としてソフトウェアによる起動が設定されており、さらに対応するRL0最大値設定レジスタ(RL0MX)〜RL3最大値設定レジスタ(RL3MX)にそれぞれ0が設定されているため、チャネル0〜3の8ビット乱数回路508aは未使用設定となる。   In this embodiment, activation by software is set as the activation method of the 8-bit random number circuit 508a of channels 0 to 3, and the corresponding RL0 maximum value setting register (RL0MX) to RL3 maximum value setting register (RL3MX) are respectively set. Since 0 is set, the 8-bit random number circuit 508a of channels 0 to 3 is set to unused.

図34(A)は、乱数列変更レジスタ(RDSC)の構成例を示している。図34(B)は、乱数列変更レジスタ(RDSC)に格納されるデータの各ビットにおける設定内容の一例を示している。乱数列変更レジスタ(RDSC)のビット番号[7]に格納されるデータRS3SCは、8ビット乱数RS3の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRS3SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS3SCは、初期値として“0”が設定されている。   FIG. 34A shows a configuration example of the random number sequence change register (RDSC). FIG. 34B shows an example of setting contents in each bit of data stored in the random number sequence change register (RDSC). Data RS3SC stored in the bit number [7] of the random number sequence change register (RDSC) indicates a random number sequence change request bit of the 8-bit random number RS3. In the example shown in FIG. 34B, when the random number sequence is set not to be changed, the bit value of the data RS3SC is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RS3SC is set to “0” as an initial value.

乱数列変更レジスタ(RDSC)のビット番号[6]に格納されるデータRS2SCは、8ビット乱数RS2の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRS2SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS2SCは、初期値として“0”が設定されている。   Data RS2SC stored in the bit number [6] of the random number sequence change register (RDSC) indicates a random number sequence change request bit of the 8-bit random number RS2. In the example shown in FIG. 34B, when the random number sequence is set not to be changed, the bit value of the data RS2SC becomes “0”, whereas when the random number sequence is set to be changed, the bit value Becomes “1”. The data RS2SC is set to “0” as an initial value.

乱数列変更レジスタ(RDSC)のビット番号[5]に格納されるデータRS1SCは、8ビット乱数RS1の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRS1SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS1SCは、初期値として“0”が設定されている。   The data RS1SC stored in the bit number [5] of the random number sequence change register (RDSC) indicates the random number sequence change request bit of the 8-bit random number RS1. In the example shown in FIG. 34B, when the random number sequence is set not to be changed, the bit value of the data RS1SC is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RS1SC is set to “0” as an initial value.

乱数列変更レジスタ(RDSC)のビット番号[4]に格納されるデータRS0SCは、8ビット乱数RS0の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRS0SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS0SCは、初期値として“0”が設定されている。   Data RS0SC stored in bit number [4] of the random number sequence change register (RDSC) indicates a random number sequence change request bit of 8-bit random number RS0. In the example shown in FIG. 34B, when the random number sequence is set not to be changed, the bit value of the data RS0SC is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RS0SC is set to “0” as an initial value.

乱数列変更レジスタ(RDSC)のビット番号[3]に格納されるデータRL3SCは、16ビット乱数RL3の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRL3SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL3SCは、初期値として“0”が設定されている。   Data RL3SC stored in bit number [3] of the random number sequence change register (RDSC) indicates a random number sequence change request bit of 16-bit random number RL3. In the example shown in FIG. 34B, when the random number sequence is set not to be changed, the bit value of the data RL3SC is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RL3SC is set to “0” as an initial value.

乱数列変更レジスタ(RDSC)のビット番号[2]に格納されるデータRL2SCは、16ビット乱数RL2の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRL2SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL2SCは、初期値として“0”が設定されている。   The data RL2SC stored in the bit number [2] of the random number sequence change register (RDSC) indicates the random number sequence change request bit of the 16-bit random number RL2. In the example shown in FIG. 34 (B), when the random number sequence is set not to be changed, the bit value of the data RL2SC is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RL2SC is set to “0” as an initial value.

乱数列変更レジスタ(RDSC)のビット番号[1]に格納されるデータRL1SCは、16ビット乱数RL1の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRL1SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL1SCは、初期値として“0”が設定されている。   The data RL1SC stored in the bit number [1] of the random number sequence change register (RDSC) indicates the random number sequence change request bit of the 16-bit random number RL1. In the example shown in FIG. 34B, when the random number sequence is set not to be changed, the bit value of the data RL1SC is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RL1SC is set to “0” as an initial value.

乱数列変更レジスタ(RDSC)のビット番号[0]に格納されるデータRL0SCは、16ビット乱数RL0の乱数列変更要求ビットを示している。図34(B)に示す例では、乱数列を変更しないに設定した場合には、データRL0SCのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL0SCは、初期値として“0”が設定されている。   Data RL0SC stored in bit number [0] of the random number sequence change register (RDSC) indicates a random number sequence change request bit of 16-bit random number RL0. In the example shown in FIG. 34B, when the random number sequence is set not to be changed, the bit value of the data RL0SC is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RL0SC is set to “0” as an initial value.

図35(A)は、乱数ソフトラッチレジスタ(RDSL)の構成例を示している。図35(B)は、乱数ソフトラッチレジスタ(RDSL)に格納されるデータの各ビットにおける設定内容の一例を示している。乱数ソフトラッチレジスタ(RDSL)のビット番号[7]に格納されるデータRS3SLは、8ビット乱数RS3の乱数値を、RS3ソフトラッチ乱数値レジスタ(RS3SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRS3SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS3SLは、初期値として“0”が設定されている。   FIG. 35A shows a configuration example of a random number soft latch register (RDSL). FIG. 35B shows an example of setting contents in each bit of data stored in the random number soft latch register (RDSL). Data RS3SL stored in bit number [7] of the random number soft latch register (RDSL) indicates a bit for taking the random number value of the 8-bit random number RS3 into the RS3 soft latch random number value register (RS3SV). In the example shown in FIG. 35B, when the random number value is set not to be taken in, the bit value of the data RS3SL is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RS3SL is set to “0” as an initial value.

乱数ソフトラッチレジスタ(RDSL)のビット番号[6]に格納されるデータRS2SLは、8ビット乱数RS2の乱数値を、RS2ソフトラッチ乱数値レジスタ(RS2SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRS2SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS2SLは、初期値として“0”が設定されている。   Data RS2SL stored in the bit number [6] of the random number soft latch register (RDSL) indicates a bit for taking the random number value of the 8-bit random number RS2 into the RS2 soft latch random number value register (RS2SV). In the example shown in FIG. 35B, when the random value is set not to be taken in, the bit value of the data RS2SL is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RS2SL is set to “0” as an initial value.

乱数ソフトラッチレジスタ(RDSL)のビット番号[5]に格納されるデータRS1SLは、8ビット乱数RS1の乱数値を、RS1ソフトラッチ乱数値レジスタ(RS1SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRS1SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS1SLは、初期値として“0”が設定されている。   The data RS1SL stored in the bit number [5] of the random number soft latch register (RDSL) indicates a bit for taking the random value of the 8-bit random number RS1 into the RS1 soft latch random value register (RS1SV). In the example shown in FIG. 35B, when the random value is set not to be taken in, the bit value of the data RS1SL is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RS1SL is set to “0” as an initial value.

乱数ソフトラッチレジスタ(RDSL)のビット番号[4]に格納されるデータRS0SLは、8ビット乱数RS0の乱数値を、RS0ソフトラッチ乱数値レジスタ(RS0SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRS0SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRS0SLは、初期値として“0”が設定されている。   Data RS0SL stored in bit number [4] of the random number soft latch register (RDSL) indicates a bit for taking the random value of the 8-bit random number RS0 into the RS0 soft latch random value register (RS0SV). In the example shown in FIG. 35B, the bit value of the data RS0SL is “0” when the random number value is set not to be captured, while the bit value is set when the random number sequence is changed. Becomes “1”. The data RS0SL is set to “0” as an initial value.

乱数ソフトラッチレジスタ(RDSL)のビット番号[3]に格納されるデータRL3SLは、16ビット乱数RL3の乱数値を、RL3ソフトラッチ乱数値レジスタ(RL3SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRL3SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL3SLは、初期値として“0”が設定されている。   Data RL3SL stored in the bit number [3] of the random number soft latch register (RDSL) indicates a bit for taking the random number value of the 16-bit random number RL3 into the RL3 soft latch random value register (RL3SV). In the example shown in FIG. 35B, the bit value of the data RL3SL becomes “0” when it is set not to take in the random number value, while the bit value when it is set to change the random number sequence. Becomes “1”. The data RL3SL is set to “0” as an initial value.

乱数ソフトラッチレジスタ(RDSL)のビット番号[2]に格納されるデータRL2SLは、16ビット乱数RL2の乱数値を、RL2ソフトラッチ乱数値レジスタ(RL2SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRL2SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL2SLは、初期値として“0”が設定されている。   Data RL2SL stored in the bit number [2] of the random number soft latch register (RDSL) indicates a bit for taking the random number value of the 16-bit random number RL2 into the RL2 soft latch random number value register (RL2SV). In the example shown in FIG. 35B, when the random value is set not to be taken in, the bit value of the data RL2SL is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RL2SL is set to “0” as an initial value.

乱数ソフトラッチレジスタ(RDSL)のビット番号[1]に格納されるデータRL1SLは、16ビット乱数RL1の乱数値を、RL1ソフトラッチ乱数値レジスタ(RL1SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRL1SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL1SLは、初期値として“0”が設定されている。   Data RL1SL stored in the bit number [1] of the random number soft latch register (RDSL) indicates a bit for taking the random number value of the 16-bit random number RL1 into the RL1 soft latch random number value register (RL1SV). In the example shown in FIG. 35B, when the random value is set not to be taken in, the bit value of the data RL1SL is “0”, whereas when the random number sequence is set to be changed, the bit value is set. Becomes “1”. The data RL1SL is set to “0” as an initial value.

乱数ソフトラッチレジスタ(RDSL)のビット番号[0]に格納されるデータRL0SLは、16ビット乱数RL0の乱数値を、RL0ソフトラッチ乱数値レジスタ(RL0SV)に取り込むためのビットを示している。図35(B)に示す例では、乱数値を取り込まないに設定した場合には、データRL0SLのビット値が“0”となる一方、乱数列を変更するに設定した場合には、そのビット値が“1”となる。尚、データRL0SLは、初期値として“0”が設定されている。   Data RL0SL stored in the bit number [0] of the random number soft latch register (RDSL) indicates a bit for taking the random number value of the 16-bit random number RL0 into the RL0 soft latch random value register (RL0SV). In the example shown in FIG. 35B, the bit value of the data RL0SL is “0” when the random value is set not to be captured, while the bit value is set when the random number sequence is set to be changed. Becomes “1”. The data RL0SL is set to “0” as an initial value.

図36(A)は、乱数ソフトラッチフラグレジスタ(RDSF)の構成例を示している。図36(B)は、乱数ソフトラッチフラグレジスタ(RDSF)に格納されるデータの各ビットにおける設定内容の一例を示している。乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[7]に格納されるデータRS3SFは、RS3ソフトラッチ乱数値レジスタ(RS3SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRS3SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS3SFは、初期値として“0”が設定されている。   FIG. 36A shows a configuration example of a random number soft latch flag register (RDSF). FIG. 36B shows an example of setting contents in each bit of data stored in the random number soft latch flag register (RDSF). The data RS3SF stored in the bit number [7] of the random number soft latch flag register (RDSF) indicates that the random number value is taken into the RS3 soft latch random value register (RS3SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RS3SF is “0”, whereas when the random value has been captured, the bit value is “ 1 ". The data RS3SF is set to “0” as an initial value.

乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[6]に格納されるデータRS2SFは、RS2ソフトラッチ乱数値レジスタ(RS2SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRS2SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS2SFは、初期値として“0”が設定されている。   The data RS2SF stored in the bit number [6] of the random number soft latch flag register (RDSF) indicates that the random number value is taken into the RS2 soft latch random value register (RS2SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RS2SF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RS2SF is set to “0” as an initial value.

乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[5]に格納されるデータRS1SFは、RS1ソフトラッチ乱数値レジスタ(RS1SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRS1SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS1SFは、初期値として“0”が設定されている。   The data RS1SF stored in the bit number [5] of the random number soft latch flag register (RDSF) indicates that the random number value is taken into the RS1 soft latch random number value register (RS1SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RS1SF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RS1SF is set to “0” as an initial value.

乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[4]に格納されるデータRS0SFは、RS0ソフトラッチ乱数値レジスタ(RS0SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRS0SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS0SFは、初期値として“0”が設定されている。   The data RS0SF stored in the bit number [4] of the random number soft latch flag register (RDSF) indicates that the random number value is taken into the RS0 soft latch random value register (RS0SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RS0SF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RS0SF is set to “0” as an initial value.

乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[3]に格納されるデータRL3SFは、RL3ソフトラッチ乱数値レジスタ(RL3SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRL3SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL3SFは、初期値として“0”が設定されている。   The data RL3SF stored in the bit number [3] of the random number soft latch flag register (RDSF) indicates that the random number value is taken into the RL3 soft latch random value register (RL3SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RL3SF is “0”, while when the random value has been captured, the bit value is “0”. 1 ". The data RL3SF is set to “0” as an initial value.

乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[2]に格納されるデータRL2SFは、RL2ソフトラッチ乱数値レジスタ(RL2SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRL2SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL2SFは、初期値として“0”が設定されている。   The data RL2SF stored in the bit number [2] of the random number soft latch flag register (RDSF) indicates that the random number value is taken into the RL2 soft latch random number value register (RL2SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RL2SF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL2SF is set to “0” as an initial value.

乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[1]に格納されるデータRL1SFは、RL1ソフトラッチ乱数値レジスタ(RL1SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRL1SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL1SFは、初期値として“0”が設定されている。   The data RL1SF stored in the bit number [1] of the random number soft latch flag register (RDSF) indicates that the random number value is taken into the RL1 soft latch random number value register (RL1SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RL1SF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL1SF is set to “0” as an initial value.

乱数ソフトラッチフラグレジスタ(RDSF)のビット番号[0]に格納されるデータRL0SFは、RL0ソフトラッチ乱数値レジスタ(RL0SV)に、乱数値が取り込まれたことを示している。図36(B)に示す例では、乱数値が取り込まれていない場合には、データRL0SFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL0SFは、初期値として“0”が設定されている。   Data RL0SF stored in the bit number [0] of the random number soft latch flag register (RDSF) indicates that the random number value has been taken into the RL0 soft latch random number value register (RL0SV). In the example shown in FIG. 36B, when the random value is not captured, the bit value of the data RL0SF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL0SF is set to “0” as an initial value.

図37(A)は、RLnソフトラッチ乱数値レジスタ(RLnSV)の構成例を示している。図37(B)は、RLnソフトラッチ乱数値レジスタ(RLnSV)に格納されるデータの各ビットにおける格納内容の一例を示している。尚、図37において、nは0〜3の値をとる。図37(B)に示すように、RLnソフトラッチ乱数値レジスタ(RLnSV)のビット番号[15−0]に格納されるデータRLnSV15〜RLnSV0は、乱数ソフトラッチレジスタ(RDSL)により取り込まれた16ビット乱数RLnの値が格納される。尚、乱数値が取り込まれると、乱数ソフトラッチフラグレジスタ(RDSF)の該当するビットに“1”がセットされる。   FIG. 37A shows a configuration example of the RLn soft latch random value register (RLnSV). FIG. 37B shows an example of the contents stored in each bit of data stored in the RLn soft latch random value register (RLnSV). In FIG. 37, n takes a value from 0 to 3. As shown in FIG. 37B, the data RLnSV15 to RLnSV0 stored in the bit number [15-0] of the RLn soft latch random value register (RLnSV) are 16 bits taken by the random number soft latch register (RDSL). The value of the random number RLn is stored. When a random value is fetched, “1” is set in the corresponding bit of the random number soft latch flag register (RDSF).

図38(A)は、RSnソフトラッチ乱数値レジスタ(RSnSV)の構成例を示している。図38(B)は、RSnソフトラッチ乱数値レジスタ(RSnSV)に格納されるデータの各ビットにおける格納内容の一例を示している。尚、図38において、nは0〜3の値をとる。図38(B)に示すように、RSnソフトラッチ乱数値レジスタ(RSnSV)のビット番号[7−0]に格納されるデータRSnSV7〜RSnSV0は、乱数ソフトラッチレジスタ(RDSL)により取り込まれた8ビット乱数RSnの値が格納される。尚、乱数値が取り込まれると、乱数ソフトラッチフラグレジスタ(RDSF)の該当するビットに“1”がセットされる。   FIG. 38A shows a configuration example of the RSn soft latch random number value register (RSnSV). FIG. 38B shows an example of the contents stored in each bit of data stored in the RSn soft latch random value register (RSnSV). In FIG. 38, n takes a value from 0 to 3. As shown in FIG. 38B, the data RSnSV7 to RSnSV0 stored in the bit number [7-0] of the RSn soft latch random number register (RSnSV) are 8 bits taken by the random number soft latch register (RDSL). The value of the random number RSn is stored. When a random value is fetched, “1” is set in the corresponding bit of the random number soft latch flag register (RDSF).

図39(A)は、RLハードラッチフラグレジスタ0(RLHF0)の構成例を示している。図39(B)は、RLハードラッチフラグレジスタ0(RLHF0)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、RLハードラッチフラグレジスタ0(RLHF0)のビット[7−6]のビット値は必ず“0”とされる。   FIG. 39A shows a configuration example of the RL hard latch flag register 0 (RLHF0). FIG. 39B shows an example of setting contents in each bit of data stored in the RL hard latch flag register 0 (RLHF0). The bit value of bit [7-6] of the RL hard latch flag register 0 (RLHF0) is always “0”.

RLハードラッチフラグレジスタ0(RLHF0)のビット番号[5]に格納されるデータRL11HFは、RL1ハードラッチ乱数値レジスタ1に、乱数値が取り込まれたことを示している。図39(B)に示す例では、乱数値が取り込まれていない場合には、データRL11HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL11HFは、初期値として“0”が設定されている。   The data RL11HF stored in the bit number [5] of the RL hard latch flag register 0 (RLHF0) indicates that the random number value is taken into the RL1 hard latch random value register 1. In the example shown in FIG. 39B, when the random value is not captured, the bit value of the data RL11HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL11HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ0(RLHF0)のビット番号[4]に格納されるデータRL10HFは、RL1ハードラッチ乱数値レジスタ0に、乱数値が取り込まれたことを示している。図39(B)に示す例では、乱数値が取り込まれていない場合には、データRL10HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL10HFは、初期値として“0”が設定されている。   The data RL10HF stored in the bit number [4] of the RL hard latch flag register 0 (RLHF0) indicates that a random value has been taken into the RL1 hard latch random value register 0. In the example shown in FIG. 39B, when the random value is not captured, the bit value of the data RL10HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL10HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ0(RLHF0)のビット番号[3]に格納されるデータRL03HFは、RL0ハードラッチ乱数値レジスタ3に、乱数値が取り込まれたことを示している。図39(B)に示す例では、乱数値が取り込まれていない場合には、データRL03HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL03HFは、初期値として“0”が設定されている。   The data RL03HF stored in the bit number [3] of the RL hard latch flag register 0 (RLHF0) indicates that the random value is taken into the RL0 hard latch random value register 3. In the example shown in FIG. 39B, when the random value is not captured, the bit value of the data RL03HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL03HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ0(RLHF0)のビット番号[2]に格納されるデータRL02HFは、RL0ハードラッチ乱数値レジスタ2に、乱数値が取り込まれたことを示している。図39(B)に示す例では、乱数値が取り込まれていない場合には、データRL02HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL02HFは、初期値として“0”が設定されている。   The data RL02HF stored in the bit number [2] of the RL hard latch flag register 0 (RLHF0) indicates that the random value is taken into the RL0 hard latch random value register 2. In the example shown in FIG. 39B, when the random value is not captured, the bit value of the data RL02HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL02HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ0(RLHF0)のビット番号[1]に格納されるデータRL01HFは、RL0ハードラッチ乱数値レジスタ1に、乱数値が取り込まれたことを示している。図39(B)に示す例では、乱数値が取り込まれていない場合には、データRL01HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL01HFは、初期値として“0”が設定されている。   The data RL01HF stored in the bit number [1] of the RL hard latch flag register 0 (RLHF0) indicates that the random value is taken into the RL0 hard latch random value register 1. In the example shown in FIG. 39B, when the random value is not captured, the bit value of the data RL01HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL01HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ0(RLHF0)のビット番号[0]に格納されるデータRL00HFは、RL0ハードラッチ乱数値レジスタ0に、乱数値が取り込まれたことを示している。図39(B)に示す例では、乱数値が取り込まれていない場合には、データRL00HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL00HFは、初期値として“0”が設定されている。   The data RL00HF stored in the bit number [0] of the RL hard latch flag register 0 (RLHF0) indicates that a random value has been taken into the RL0 hard latch random value register 0. In the example shown in FIG. 39B, when the random value is not captured, the bit value of the data RL00HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL00HF is set to “0” as an initial value.

図40(A)は、RLハードラッチフラグレジスタ1(RLHF1)の構成例を示している。図40(B)は、RLハードラッチフラグレジスタ1(RLHF1)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、RLハードラッチフラグレジスタ1(RLHF1)のビット[7−6]及びビット[3−2]のビット値は必ず“0”とされる。   FIG. 40A shows a configuration example of the RL hard latch flag register 1 (RLHF1). FIG. 40B shows an example of setting contents in each bit of data stored in the RL hard latch flag register 1 (RLHF1). The bit values of the bits [7-6] and [3-2] of the RL hard latch flag register 1 (RLHF1) are always “0”.

RLハードラッチフラグレジスタ1(RLHF1)のビット番号[5]に格納されるデータRL31HFは、RL3ハードラッチ乱数値レジスタ1に、乱数値が取り込まれたことを示している。図40(B)に示す例では、乱数値が取り込まれていない場合には、データRL31HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL31HFは、初期値として“0”が設定されている。   Data RL31HF stored in the bit number [5] of the RL hard latch flag register 1 (RLHF1) indicates that a random number value has been taken into the RL3 hard latch random value register 1. In the example shown in FIG. 40B, when the random value is not captured, the bit value of the data RL31HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL31HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ1(RLHF1)のビット番号[4]に格納されるデータRL30HFは、RL3ハードラッチ乱数値レジスタ0に、乱数値が取り込まれたことを示している。図40(B)に示す例では、乱数値が取り込まれていない場合には、データRL30HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL30HFは、初期値として“0”が設定されている。   The data RL30HF stored in the bit number [4] of the RL hard latch flag register 1 (RLHF1) indicates that a random value has been taken into the RL3 hard latch random value register 0. In the example shown in FIG. 40B, when the random value is not captured, the bit value of the data RL30HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL30HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ1(RLHF1)のビット番号[1]に格納されるデータRL21HFは、RL2ハードラッチ乱数値レジスタ1に、乱数値が取り込まれたことを示している。図40(B)に示す例では、乱数値が取り込まれていない場合には、データRL21HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL21HFは、初期値として“0”が設定されている。   The data RL21HF stored in the bit number [1] of the RL hard latch flag register 1 (RLHF1) indicates that a random value has been taken into the RL2 hard latch random value register 1. In the example shown in FIG. 40B, when the random value is not captured, the bit value of the data RL21HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL21HF is set to “0” as an initial value.

RLハードラッチフラグレジスタ1(RLHF1)のビット番号[1]に格納されるデータRL20HFは、RL2ハードラッチ乱数値レジスタ0に、乱数値が取り込まれたことを示している。図40(B)に示す例では、乱数値が取り込まれていない場合には、データRL20HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRL20HFは、初期値として“0”が設定されている。   The data RL20HF stored in the bit number [1] of the RL hard latch flag register 1 (RLHF1) indicates that the random number value is taken into the RL2 hard latch random value register 0. In the example shown in FIG. 40B, when the random value is not captured, the bit value of the data RL20HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RL20HF is set to “0” as an initial value.

図41(A)は、RSハードラッチフラグレジスタ(RSHF)の構成例を示している。図41(B)は、RSハードラッチフラグレジスタ(RSHF)に格納されるデータの各ビットにおける設定内容の一例を示している。尚、RSハードラッチフラグレジスタ(RSHF)は、8ビット乱数回路508aとフリーランカウンタ回路507とで兼用で用いられるレジスタであり、RSハードラッチフラグレジスタ(RSHF)のビット[7−4]は、フリーランカウンタ回路507が用いるハードラッチレジスタ(FRC0ハードラッチレジスタ(FR0HV)〜FRC3ハードラッチレジスタ(FR3HV))に関する設定を示している。   FIG. 41A shows a configuration example of the RS hard latch flag register (RSHF). FIG. 41B shows an example of setting contents in each bit of data stored in the RS hard latch flag register (RSHF). The RS hard latch flag register (RSHF) is a register that is used by both the 8-bit random number circuit 508a and the free-run counter circuit 507, and bits [7-4] of the RS hard latch flag register (RSHF) are The settings related to the hard latch registers (FRC0 hard latch register (FR0HV) to FRC3 hard latch register (FR3HV)) used by the free-run counter circuit 507 are shown.

RSハードラッチフラグレジスタ(RSHF)のビット番号[3]に格納されるデータRS3HFは、RS3ハードラッチ乱数値レジスタ(RS3HV)に、乱数値が取り込まれたことを示している。図41(B)に示す例では、乱数値が取り込まれていない場合には、データRS3HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS3HFは、初期値として“0”が設定されている。   The data RS3HF stored in the bit number [3] of the RS hard latch flag register (RSHF) indicates that the random number value is taken into the RS3 hard latch random value register (RS3HV). In the example shown in FIG. 41B, when the random value is not captured, the bit value of the data RS3HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RS3HF is set to “0” as an initial value.

RSハードラッチフラグレジスタ(RSHF)のビット番号[2]に格納されるデータRS2HFは、RS2ハードラッチ乱数値レジスタ(RS2HV)に、乱数値が取り込まれたことを示している。図41(B)に示す例では、乱数値が取り込まれていない場合には、データRS2HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS2HFは、初期値として“0”が設定されている。   The data RS2HF stored in the bit number [2] of the RS hard latch flag register (RSHF) indicates that the random value is taken into the RS2 hard latch random value register (RS2HV). In the example shown in FIG. 41B, when the random value is not captured, the bit value of the data RS2HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RS2HF is set to “0” as an initial value.

RSハードラッチフラグレジスタ(RSHF)のビット番号[1]に格納されるデータRS1HFは、RS1ハードラッチ乱数値レジスタ(RS1HV)に、乱数値が取り込まれたことを示している。図41(B)に示す例では、乱数値が取り込まれていない場合には、データRS1HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS1HFは、初期値として“0”が設定されている。   The data RS1HF stored in the bit number [1] of the RS hard latch flag register (RSHF) indicates that the random value has been taken into the RS1 hard latch random value register (RS1HV). In the example shown in FIG. 41B, when the random value is not captured, the bit value of the data RS1HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RS1HF is set to “0” as an initial value.

RSハードラッチフラグレジスタ(RSHF)のビット番号[0]に格納されるデータRS0HFは、RS0ハードラッチ乱数値レジスタ(RS0HV)に、乱数値が取り込まれたことを示している。図41(B)に示す例では、乱数値が取り込まれていない場合には、データRS0HFのビット値が“0”となる一方、乱数値を取り込み済みである場合には、そのビット値が“1”となる。尚、データRS0HFは、初期値として“0”が設定されている。   The data RS0HF stored in the bit number [0] of the RS hard latch flag register (RSHF) indicates that the random value is taken into the RS0 hard latch random value register (RS0HV). In the example shown in FIG. 41B, when the random value is not captured, the bit value of the data RS0HF is “0”, whereas when the random value has been captured, the bit value is “0”. 1 ". The data RS0HF is set to “0” as an initial value.

図42(A)は、RL0ハードラッチ乱数値レジスタm(RL0mHV)の構成例を示している。図42(B)は、RL0ハードラッチ乱数値レジスタm(RL0mHV)に格納されるデータの各ビットにおける格納内容の一例を示している。尚、図42において、mは0〜3の値をとる。図42(B)に示すように、RL0ハードラッチ乱数値レジスタm(RL0mHV)のビット番号[15−0]に格納されるデータRL0mHV15〜RL0mHV0は、外部端子入力により取り込まれた16ビット乱数RL0の値が格納される。尚、乱数値が取り込まれると、RLハードラッチフラグレジスタ0(RLHF0)の該当するビットに“1”がセットされる。   FIG. 42A shows a configuration example of the RL0 hard latch random number value register m (RL0mHV). FIG. 42B shows an example of the contents stored in each bit of data stored in the RL0 hard latch random number value register m (RL0mHV). In FIG. 42, m takes a value from 0 to 3. As shown in FIG. 42B, the data RL0mHV15 to RL0mHV0 stored in the bit number [15-0] of the RL0 hard latch random number value register m (RL0mHV) are the 16-bit random number RL0 captured by the external terminal input. Stores the value. When a random value is fetched, “1” is set in the corresponding bit of the RL hard latch flag register 0 (RLHF0).

図43(A)は、RL1ハードラッチ乱数値レジスタm(RL1mHV)の構成例を示している。図43(B)は、RL1ハードラッチ乱数値レジスタm(RL1mHV)に格納されるデータの各ビットにおける格納内容の一例を示している。尚、図43において、mは0〜3の値をとる。図43(B)に示すように、RL1ハードラッチ乱数値レジスタm(RL1mHV)のビット番号[15−0]に格納されるデータRL1mHV15〜RL1mHV0は、外部端子入力により取り込まれた16ビット乱数RL1の値が格納される。尚、乱数値が取り込まれると、RLハードラッチフラグレジスタ0(RLHF0)の該当するビットに“1”がセットされる。   FIG. 43A shows a configuration example of the RL1 hard latch random number value register m (RL1mHV). FIG. 43B shows an example of the contents stored in each bit of data stored in the RL1 hard latch random number value register m (RL1mHV). In FIG. 43, m takes a value from 0 to 3. As shown in FIG. 43B, the data RL1mHV15 to RL1mHV0 stored in the bit number [15-0] of the RL1 hard latch random number value register m (RL1mHV) are the 16-bit random number RL1 fetched by the external terminal input. Stores the value. When a random value is fetched, “1” is set in the corresponding bit of the RL hard latch flag register 0 (RLHF0).

図44(A)は、RL2ハードラッチ乱数値レジスタm(RL2mHV)の構成例を示している。図44(B)は、RL2ハードラッチ乱数値レジスタm(RL2mHV)に格納されるデータの各ビットにおける格納内容の一例を示している。尚、図44において、mは0〜3の値をとる。図44(B)に示すように、RL2ハードラッチ乱数値レジスタm(RL2mHV)のビット番号[15−0]に格納されるデータRL2mHV15〜RL2mHV0は、外部端子入力により取り込まれた16ビット乱数RL2の値が格納される。尚、乱数値が取り込まれると、RLハードラッチフラグレジスタ1(RLHF1)の該当するビットに“1”がセットされる。   FIG. 44A shows a configuration example of the RL2 hard latch random number value register m (RL2mHV). FIG. 44B shows an example of the contents stored in each bit of data stored in the RL2 hard latch random number value register m (RL2mHV). In FIG. 44, m takes a value from 0 to 3. As shown in FIG. 44 (B), the data RL2mHV15 to RL2mHV0 stored in the bit number [15-0] of the RL2 hard latch random value register m (RL2mHV) is the 16-bit random number RL2 captured by the external terminal input. Stores the value. When a random value is fetched, “1” is set in the corresponding bit of the RL hard latch flag register 1 (RLHF1).

図45(A)は、RL3ハードラッチ乱数値レジスタm(RL3mHV)の構成例を示している。図45(B)は、RL3ハードラッチ乱数値レジスタm(RL3mHV)に格納されるデータの各ビットにおける格納内容の一例を示している。尚、図45において、mは0〜3の値をとる。図45(B)に示すように、RL3ハードラッチ乱数値レジスタm(RL3mHV)のビット番号[15−0]に格納されるデータRL3mHV15〜RL3mHV0は、外部端子入力により取り込まれた16ビット乱数RL3の値が格納される。尚、乱数値が取り込まれると、RLハードラッチフラグレジスタ1(RLHF1)の該当するビットに“1”がセットされる。   FIG. 45A shows a configuration example of the RL3 hard latch random number value register m (RL3mHV). FIG. 45B shows an example of the contents stored in each bit of data stored in the RL3 hard latch random number value register m (RL3mHV). In FIG. 45, m takes a value from 0 to 3. As shown in FIG. 45 (B), the data RL3mHV15 to RL3mHV0 stored in the bit number [15-0] of the RL3 hard latch random number register m (RL3mHV) is the 16-bit random number RL3 fetched by the external terminal input Stores the value. When a random value is fetched, “1” is set in the corresponding bit of the RL hard latch flag register 1 (RLHF1).

図46(A)は、RSnハードラッチ乱数値レジスタ(RSnHV)の構成例を示している。図46(B)は、RSnハードラッチ乱数値レジスタ(RSnHV)に格納されるデータの各ビットにおける格納内容の一例を示している。尚、図46において、nは0〜3の値をとる。図46(B)に示すように、RSnハードラッチ乱数値レジスタ(RLnHV)のビット番号[70]に格納されるデータRSnHV7〜RSnHV0は、外部端子入力により取り込まれた8ビット乱数RSnの値が格納される。尚、乱数値が取り込まれると、RSハードラッチフラグレジスタ(RSHF)の該当するビットに“1”がセットされる。   FIG. 46A shows a configuration example of the RSn hard latch random number value register (RSnHV). FIG. 46B shows an example of the contents stored in each bit of data stored in the RSn hard latch random number value register (RSnHV). In FIG. 46, n takes a value from 0 to 3. As shown in FIG. 46B, the data RSnHV7 to RSnHV0 stored in the bit number [70] of the RSn hard latch random number register (RLnHV) stores the value of the 8-bit random number RSn fetched by the external terminal input. Is done. When a random value is taken in, “1” is set in the corresponding bit of the RS hard latch flag register (RSHF).

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

また、メイン制御部41は、遊技制御基板40に接続された各種スイッチ類の検出状態がパラレル入力ポート511から入力される。そしてメイン制御部41は、これらパラレル入力ポート511から入力される各種スイッチ類の検出状態に応じて段階的に移行する基本処理を実行する。   The main control unit 41 also receives detection states of various switches connected to the game control board 40 from the parallel input port 511. The main control unit 41 executes basic processing that shifts in stages according to the detection states of various switches input from the parallel input port 511.

また、メイン制御部41は、割込の発生により基本処理に割り込んで割込処理を実行できるようになっている。本実施例では、タイマ回路509にてタイムアウトが発生したこと、すなわち一定時間間隔(本実施例では、約0.56ms)毎に後述するタイマ割込処理(メイン)を実行する。   Further, the main control unit 41 can execute an interrupt process by interrupting the basic process when an interrupt occurs. In this embodiment, a timer interrupt process (main), which will be described later, is executed every time a time-out occurs in the timer circuit 509, that is, every fixed time interval (about 0.56 ms in this embodiment).

また、メイン制御部41は、割込処理の実行中に他の割込を禁止するように設定されているとともに、複数の割込が同時に発生した場合には、予め定められた順位によって優先して実行する割込が設定されている。尚、割込処理の実行中に他の割込要因が発生し、割込処理が終了してもその割込要因が継続している状態であれば、その時点で新たな割込が発生することとなる。   The main control unit 41 is set to prohibit other interrupts during the execution of the interrupt process, and when a plurality of interrupts occur at the same time, the main control unit 41 prioritizes according to a predetermined order. An interrupt to be executed is set. If another interrupt factor occurs during the execution of the interrupt process and the interrupt factor continues even after the interrupt process is completed, a new interrupt will occur at that point. It will be.

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

演出制御基板90には、演出用スイッチ56が接続されており、この演出用スイッチ56の検出信号が入力されるようになっている。   An effect switch 56 is connected to the effect control board 90, and a detection signal of the effect switch 56 is input.

演出制御基板90には、液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の演出装置が接続されており、これら演出装置は、演出制御基板90に搭載された後述のサブ制御部91による制御に基づいて駆動されるようになっている。   The effect control board 90 is connected to effect devices such as the liquid crystal display 51, the effect LED 52, the speakers 53 and 54, and the reel LED 55. These effect devices are sub-controls described later mounted on the effect control board 90. It is driven based on control by the unit 91.

尚、本実施例では、演出制御基板90に搭載されたサブ制御部91により、液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の演出装置の出力制御が行われる構成であるが、サブ制御部91とは別に演出装置の出力制御を直接的に行う出力制御部を演出制御基板90または他の基板に搭載し、サブ制御部91がメイン制御部41からのコマンドに基づいて演出装置の出力パターンを決定し、サブ制御部91が決定した出力パターンに基づいて出力制御部が演出装置の出力制御を行う構成としても良く、このような構成では、サブ制御部91及び出力制御部の双方によって演出装置の出力制御が行われることとなる。   In this embodiment, the sub-control unit 91 mounted on the effect control board 90 controls the output of the effect devices such as the liquid crystal display 51, effect effect LED 52, speakers 53 and 54, and reel LED 55. However, in addition to the sub-control unit 91, an output control unit that directly controls the output of the effect device is mounted on the effect control board 90 or another board, and the sub-control unit 91 is based on a command from the main control unit 41. The output control unit may determine the output pattern of the effect device, and the output control unit may control the output of the effect device based on the output pattern determined by the sub control unit 91. In such a configuration, the sub control unit 91 and the output control may be performed. The output control of the rendering device is performed by both of the units.

また、本実施例では、演出装置として液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55を例示しているが、演出装置は、これらに限られず、例えば、機械的に駆動する表示装置や機械的に駆動する役モノなどを演出装置として適用しても良い。   Further, in the present embodiment, the liquid crystal display 51, the effect effect LED 52, the speakers 53 and 54, and the reel LED 55 are exemplified as the effect device, but the effect device is not limited to these, for example, a mechanically driven display. A device or a mechanically driven item may be applied as the effect device.

演出制御基板90には、サブCPU91a、ROM91b、RAM91c、I/Oポート91dを備えたマイクロコンピュータにて構成され、演出の制御を行うサブ制御部91、演出制御基板90に接続された液晶表示器51の表示制御を行う表示制御回路92、演出効果LED52、リールLED55の駆動制御を行うLED駆動回路93、スピーカ53、54からの音声出力制御を行う音声出力回路94、電源投入時またはサブCPU91aからの初期化命令が一定時間入力されないときにサブCPU91aにリセット信号を与えるリセット回路95、演出制御基板90に接続された演出用スイッチ56から入力された検出信号を検出するスイッチ検出回路96、日付情報及び時刻情報を含む時間情報を出力する時計装置97、スロットマシン1に供給される電源電圧を監視し、電圧低下を検出したときに、その旨を示す電圧低下信号をサブCPU91aに対して出力する電断検出回路98、その他の回路等、が搭載されており、サブCPU91aは、遊技制御基板40から送信されるコマンドを受けて、演出を行うための各種の制御を行うとともに、演出制御基板90に搭載された制御回路の各部を直接的または間接的に制御する。   The effect control board 90 is composed of a microcomputer having a sub CPU 91a, ROM 91b, RAM 91c, and I / O port 91d, and a liquid crystal display connected to the effect control board 90, a sub control unit 91 for effect control. 51, a display control circuit 92 for performing display control, an LED driving circuit 93 for controlling driving of the effect LED 52 and the reel LED 55, an audio output circuit 94 for controlling audio output from the speakers 53, 54, when the power is turned on or from the sub CPU 91a The reset circuit 95 that gives a reset signal to the sub CPU 91a when the initialization command is not input for a predetermined time, the switch detection circuit 96 that detects the detection signal input from the effect switch 56 connected to the effect control board 90, and date information Clock device 97 for outputting time information including time information, and slot A power interruption detection circuit 98 that monitors a power supply voltage supplied to the thin 1 and outputs a voltage drop signal indicating that to the sub CPU 91a when a voltage drop is detected, and other circuits are mounted. The sub CPU 91a receives various commands transmitted from the game control board 40 and performs various controls for performing the effects, and directly or indirectly controls each part of the control circuit mounted on the effect control board 90. Control.

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

サブ制御部91は、メイン制御部41と同様に、割込機能を備えており、メイン制御部41からのコマンド受信時に割込を発生させて、メイン制御部41から送信されたコマンドを取得し、バッファに格納するコマンド受信割込処理を実行する。また、サブ制御部91は、システムクロックの入力数が一定数に到達する毎、すなわち一定間隔毎に割込を発生させて後述するタイマ割込処理(サブ)を実行する。   Similar to the main control unit 41, the sub control unit 91 has an interrupt function, generates an interrupt when receiving a command from the main control unit 41, and acquires a command transmitted from the main control unit 41. Execute command reception interrupt processing to be stored in the buffer. Further, the sub control unit 91 executes an interrupt process (sub), which will be described later, by generating an interrupt every time the number of input system clocks reaches a certain number, that is, every certain interval.

また、サブ制御部91は、メイン制御部41とは異なり、コマンドの受信に基づいて割込が発生した場合には、タイマ割込処理(サブ)の実行中であっても、当該処理に割り込んでコマンド受信割込処理を実行し、タイマ割込処理(サブ)の契機となる割込が同時に発生してもコマンド受信割込処理を最優先で実行するようになっている。   Also, unlike the main control unit 41, the sub control unit 91 interrupts the process even when the timer interrupt process (sub) is being executed when an interrupt is generated based on the reception of the command. The command reception interrupt process is executed at the same time, and the command reception interrupt process is executed with the highest priority even if interrupts that trigger the timer interrupt process (sub) occur at the same time.

また、サブ制御部91にも、停電時においてバックアップ電源が供給されており、バックアップ電源が供給されている間は、RAM91cに記憶されているデータが保持されるようになっている。   The sub-control unit 91 is also supplied with backup power at the time of a power failure, and the data stored in the RAM 91c is held while the backup power is supplied.

本実施例のスロットマシン1は、設定値に応じてメダルの払出率が変わるものである。詳しくは、後述する内部抽選において設定値に応じた当選確率を用いることにより、メダルの払出率が変わるようになっている。設定値は1〜6の6段階からなり、6が最も払出率が高く、5、4、3、2、1の順に値が小さくなるほど払出率が低くなる。すなわち設定値として6が設定されている場合には、遊技者にとって最も有利度が高く、5、4、3、2、1の順に値が小さくなるほど有利度が段階的に低くなる。   In the slot machine 1 of the present embodiment, the medal payout rate changes according to the set value. Specifically, the medal payout rate is changed by using a winning probability corresponding to a set value in an internal lottery described later. The set value is composed of 6 levels of 1 to 6, with 6 being the highest payout rate and the payout rate being lower as the value is decreased in the order of 5, 4, 3, 2, 1. That is, when 6 is set as the set value, the advantage is highest for the player, and as the value decreases in order of 5, 4, 3, 2, 1, the advantage decreases stepwise.

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

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

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

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

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

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

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

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

また、サブ制御部91は、その起動時においてRAM91cのデータが正常であると判断された場合でも、メイン制御部41から設定変更状態に移行した旨を示す後述の設定コマンドを受信した場合、起動後一定時間が経過してもメイン制御部41の制御状態が復帰した旨を示す後述の復帰コマンドも設定コマンドも受信しない場合にも、RAM91cを初期化するようになっている。この場合も、RAM91cが初期化されるのみで演出の実行が不能化されることはない。   In addition, even when it is determined that the data in the RAM 91c is normal at the time of activation, the sub control unit 91 activates when receiving a setting command (described later) indicating that the setting change state has been entered from the main control unit 41. Even when a later-described return command or setting command indicating that the control state of the main control unit 41 has returned is not received even after a certain period of time has elapsed, the RAM 91c is initialized. In this case, the execution of the performance is not disabled only by initializing the RAM 91c.

次に、メイン制御部41のRAM41cの初期化について説明する。メイン制御部41のRAM41cの格納領域は、重要ワーク、非保存ワーク、一般ワーク、特別ワーク、未使用領域、スタック領域に区分されている。   Next, initialization of the RAM 41c of the main control unit 41 will be described. The storage area of the RAM 41c of the main control unit 41 is divided into an important work, a non-saved work, a general work, a special work, an unused area, and a stack area.

本実施例においてメイン制御部41は、RAM異常エラー発生時、設定キースイッチ37がonの状態での起動時、ボーナス終了時、設定キースイッチ37がoffの状態での起動時でRAM41cのデータが破壊されていないとき、1ゲーム終了時の5つからなる初期化条件が成立した際に、各初期化条件に応じて初期化される領域の異なる4種類の初期化を行う。   In this embodiment, the main control unit 41 stores data in the RAM 41c when a RAM abnormality error occurs, when the setting key switch 37 is activated with the setting key switch 37 turned on, when the bonus ends, and when the setting key switch 37 is activated with the setting key switch 37 turned off. When not being destroyed, when five initialization conditions at the end of one game are satisfied, four types of initializations that are initialized in accordance with each initialization condition are performed.

初期化1は起動時において設定キースイッチ37がonの状態であり、設定変更状態へ移行する場合において、その前に行う初期化、またはRAM異常エラー発生時に行う初期化であり、初期化1では、RAM41cの格納領域のうち重要ワーク及び特別ワーク以外の領域が初期化される。初期化2は、ボーナス終了時に行う初期化であり、初期化2では、RAM41cの格納領域のうち一般ワーク、未使用領域及び未使用スタック領域が初期化される。初期化3は、起動時において設定キースイッチ37がoffの状態であり、かつRAM41cのデータが破壊されていない場合において行う初期化であり、初期化3では、非保存ワーク、未使用領域及び未使用スタック領域が初期化される。初期化4は、1ゲーム終了時に行う初期化であり、初期化4では、RAM41cの格納領域のうち、未使用領域及び未使用スタック領域が初期化される。   Initialization 1 is a setting key switch 37 that is on at the time of startup, and is an initialization that is performed before the transition to the setting change state or an initialization that occurs when a RAM error occurs. In the storage area of the RAM 41c, areas other than the important work and the special work are initialized. Initialization 2 is initialization performed at the end of the bonus. In initialization 2, the general work, the unused area, and the unused stack area in the storage area of the RAM 41c are initialized. Initialization 3 is an initialization performed when the setting key switch 37 is off at the time of startup and the data in the RAM 41c is not destroyed. In the initialization 3, the unsaved work, the unused area, and the The used stack area is initialized. Initialization 4 is initialization performed at the end of one game. In initialization 4, an unused area and an unused stack area in the storage area of the RAM 41c are initialized.

尚、本実施例では、初期化1を設定変更状態の移行前に行っているが、設定変更状態の終了時に行ったり、設定変更状態移行前、設定変更状態終了時の双方で行ったりするようにしても良い。   In this embodiment, initialization 1 is performed before the change of the setting change state. However, the initialization 1 is performed at the end of the setting change state, or both before the change of the setting change state and at the end of the setting change state. Anyway.

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

本実施例のスロットマシン1は、全てのリール2L、2C、2Rが停止した際に、有効化された入賞ライン(本実施例の場合、常に全ての入賞ラインが有効化されるため、以下では、有効化された入賞ラインを単に入賞ラインと呼ぶ)上に役と呼ばれる図柄の組合せが揃うと入賞となる。役は、同一図柄の組合せであっても良いし、異なる図柄を含む組合せであっても良い。   In the slot machine 1 of this embodiment, when all the reels 2L, 2C, 2R are stopped, the activated pay line (in the present embodiment, all the pay lines are always enabled. The activated winning line is simply referred to as a winning line). When a combination of symbols called a combination is arranged on the winning line, a winning is achieved. The combination may be a combination of the same symbols or a combination including different symbols.

入賞となる役の種類は、遊技状態に応じて定められているが、大きく分けて、メダルの払い出しを伴う小役と、賭数の設定を必要とせずに次のゲームを開始可能となる再遊技役と、遊技者にとって有利な遊技状態への移行を伴う特別役と、がある。以下では、小役と再遊技役をまとめて一般役とも呼ぶ。   The type of winning combination is determined according to the game state, but it can be roughly divided into a small role with payout of medals and a replay that can start the next game without the need to set the number of bets. There are a game combination and a special combination with a transition to a game state advantageous to the player. Below, a small role and a re-playing role are collectively called a general role.

遊技状態に応じて定められた各役の入賞が発生するためには、後述する内部抽選に当選して、当該役の当選フラグがRAM41cに設定されている必要がある。   In order for winning of each combination determined according to the gaming state to occur, it is necessary to win an internal lottery to be described later and set a winning flag of the combination in the RAM 41c.

尚、これら各役の当選フラグのうち、小役及び再遊技役の当選フラグは、当該フラグが設定されたゲームにおいてのみ有効とされ、次のゲームでは無効となるが、特別役の当選フラグは、当該フラグにより許容された役の組合せが揃うまで有効とされ、許容された役の組合せが揃ったゲームにおいて無効となる。すなわち特別役の当選フラグが一度当選すると、例え、当該フラグにより許容された役の組合せを揃えることができなかった場合にも、その当選フラグは無効とされずに、次のゲームへ持ち越されることとなる。   Of the winning flags for each of these combinations, the winning flag for the small role and the re-playing role is valid only in the game in which the flag is set, and is invalid in the next game. It is valid until a combination of combinations permitted by the flag is completed, and is invalid in a game having a combination of combinations permitted. In other words, once the special combination winning flag is won, even if the combination of the combinations permitted by the flag cannot be made, the winning flag is not invalidated and is carried over to the next game. It becomes.

以下、本実施例の内部抽選について説明する。内部抽選は、メイン制御部41が上記した各役への入賞を許容するか否かを、全てのリール2L、2C、2Rの表示結果が導出表示される以前に(実際には、スタートスイッチ7の検出時)決定するものである。内部抽選では、まず、スタートスイッチ7の検出時に内部抽選用の乱数値(0〜65535の整数)を取得する。詳しくは、乱数回路508bのチャネルRL0により生成され、RL0ハードラッチ乱数値レジスタ0(RL0HV0)に格納されている値をRAM41cに割り当てられた抽選用ワークに設定する。そして、遊技状態及び特別役の持ち越しの有無に応じて定められた各役について、抽選用ワークに格納された数値データと、現在の遊技状態及びRTの種類、賭数及び設定値に応じて定められた各役の判定値数に応じて行われる。   Hereinafter, the internal lottery of the present embodiment will be described. In the internal lottery, whether or not the main control unit 41 allows the above winning combination is determined before the display results of all the reels 2L, 2C, 2R are derived and displayed (actually, the start switch 7 Is determined). In the internal lottery, first, a random value for internal lottery (an integer from 0 to 65535) is acquired when the start switch 7 is detected. Specifically, the value generated by the channel RL0 of the random number circuit 508b and stored in the RL0 hard latch random value register 0 (RL0HV0) is set as the lottery work assigned to the RAM 41c. Then, for each combination determined according to the gaming state and whether or not the special combination is carried over, it is determined according to the numerical data stored in the lottery work, the current gaming state and RT type, the number of bets and the set value. It is performed according to the number of judgment values for each combination.

尚、既に、図24で説明したように、RL0ハードラッチ選択レジスタ0(RL0LS0)のビット2−0の設定内容によりいずれかの端子からの信号(ラッチ信号)に基づいて、乱数回路508bのチャネルRL0のRL0ハードラッチ乱数値レジスタ0(RL0HV0)に乱数値をラッチさせるかが設定されている。本実施例では、スタートスイッチ7からの検出信号が入力されるPI0端子からの信号に基づいて乱数回路508bのチャネルRL0のRL0ハードラッチ乱数値レジスタ0(RL0HV0)に乱数値をラッチさせる旨が設定されており、スタートスイッチ7が操作されたタイミングで乱数回路508bのチャネルRL0におけるRL0ハードラッチ乱数値レジスタ0(RL0HV0)に乱数値をラッチできるように構成されている。   As already described with reference to FIG. 24, the channel of the random number circuit 508b is based on the signal (latch signal) from either terminal according to the setting contents of bits 2-0 of the RL0 hard latch select register 0 (RL0LS0). Whether to latch the random number value in the RL0 hard latch random value register 0 (RL0HV0) of RL0 is set. In the present embodiment, setting is made such that the random number value is latched in the RL0 hard latch random number value register 0 (RL0HV0) of the channel RL0 of the random number circuit 508b based on the signal from the PI0 terminal to which the detection signal from the start switch 7 is input. The random number value can be latched in the RL0 hard latch random value register 0 (RL0HV0) in the channel RL0 of the random number circuit 508b at the timing when the start switch 7 is operated.

内部抽選では、内部抽選の対象となる役、現在の遊技状態、現在のRTの種別及び設定値に対応して定められた判定値数を、内部抽選用の乱数値(抽選用ワークに格納された数値データ)に順次加算し、加算の結果がオーバーフローしたときに、当該役に当選したものと判定される。このため、判定値数の大小に応じた確率(判定値数/65536)で役が当選することとなる。   In the internal lottery, the number of judgment values determined in accordance with the role that is the subject of the internal lottery, the current gaming state, the current RT type and the set value are stored in a random number for internal lottery (the lottery work) When the result of addition overflows, it is determined that the winning combination is won. For this reason, a winning combination will be won with a probability (number of determination values / 65536) according to the number of determination values.

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

次に、リール2L、2C、2Rの停止制御について説明する。   Next, stop control of the reels 2L, 2C, 2R will be described.

メイン制御部41は、リールの回転が開始したとき、及びリールが停止し、かつ未だ回転中のリールが残っているときに、ROM41bAに格納されているテーブルインデックス及びテーブル作成用データを参照して、回転中のリール別に停止制御テーブルを作成する。そして、ストップスイッチ8L、8C、8Rのうち、回転中のリールに対応するいずれかの操作が有効に検出されたときに、該当するリールの停止制御テーブルを参照し、参照した停止制御テーブルの滑りコマ数に基づいて、操作されたストップスイッチ8L、8C、8Rに対応するリール2L、2C、2Rの回転を停止させる制御を行う。   The main control unit 41 refers to the table index and the table creation data stored in the ROM 41bA when the rotation of the reel starts and when the reel stops and the reel that is still rotating still remains. A stop control table is created for each reel that is rotating. When any of the stop switches 8L, 8C, and 8R corresponding to the rotating reel is effectively detected, the stop control table of the corresponding reel is referred to and the slip of the referred stop control table is referred to. Based on the number of frames, control is performed to stop the rotation of the reels 2L, 2C, 2R corresponding to the operated stop switches 8L, 8C, 8R.

テーブルインデックスには、内部抽選による当選フラグの設定状態(以下、内部当選状態と呼ぶ)別に、テーブルインデックスを参照する際の基準アドレスから、テーブル作成用データが格納された領域の先頭アドレスを示すインデックスデータが格納されているアドレスまでの差分が登録されている。これにより内部当選状態に応じた差分を取得し、基準アドレスに対してその差分を加算することで該当するインデックスデータを取得することが可能となる。尚、役の当選状況が異なる場合でも、同一の制御が適用される場合においては、インデックスデータとして同一のアドレスが格納されており、このような場合には、同一のテーブル作成用データを参照して、停止制御テーブルが作成されることとなる。   In the table index, an index that indicates the start address of the area in which the data for table creation is stored, from the reference address when referring to the table index, according to the setting state of the winning flag by internal lottery (hereinafter referred to as the internal winning state) Differences up to the address where the data is stored are registered. As a result, a difference corresponding to the internal winning state is acquired, and the corresponding index data can be acquired by adding the difference to the reference address. Even when the winning combinations are different, when the same control is applied, the same address is stored as the index data. In such a case, the same table creation data is referred to. Thus, a stop control table is created.

テーブル作成用データは、停止操作位置に応じた滑りコマ数を示す停止制御テーブルと、リールの停止状況に応じて参照すべき停止制御テーブルのアドレスと、からなる。   The table creation data includes a stop control table indicating the number of sliding frames according to the stop operation position, and an address of the stop control table to be referred to according to the reel stop status.

リールの停止状況に応じて参照される停止制御テーブルは、全てのリールが回転しているか、左リールのみ停止しているか、中リールのみ停止しているか、右リールのみ停止しているか、左、中リールが停止しているか、左、右リールが停止しているか、中、右リールが停止しているか、によって異なる場合があり、更に、いずれかのリールが停止している状況においては、停止済みのリールの停止位置によっても異なる場合があるので、それぞれの状況について、参照すべき停止制御テーブルのアドレスが回転中のリール別に登録されており、テーブル作成用データの先頭アドレスに基づいて、それぞれの状況に応じて参照すべき停止制御テーブルのアドレスが特定可能とされ、この特定されたアドレスから、それぞれの状況に応じて必要な停止制御テーブルを特定できるようになっている。尚、リールの停止状況や停止済みのリールの停止位置が異なる場合でも、同一の停止制御テーブルが適用される場合においては、停止制御テーブルのアドレスとして同一のアドレスが登録されているものもあり、このような場合には、同一の停止制御テーブルが参照されることとなる。   The stop control table referred to according to the reel stop status is whether all reels are rotating, only the left reel is stopped, only the middle reel is stopped, only the right reel is stopped, It may vary depending on whether the middle reel is stopped, the left and right reels are stopped, the middle and right reels are stopped, and if any reel is stopped, stop Since there may be differences depending on the stop position of the reels already completed, the address of the stop control table to be referenced for each situation is registered for each rotating reel, and based on the top address of the table creation data, It is possible to specify the address of the stop control table that should be referred to according to the status of each, and it is necessary according to each status from this specified address. And to be able to identify the stop control table. Even when the reel stop status and the stopped position of the stopped reel are different, when the same stop control table is applied, the same address may be registered as the address of the stop control table. In such a case, the same stop control table is referred to.

停止制御テーブルは、停止操作が行われたタイミング別の滑りコマ数を特定可能なデータである。本実施例では、リールモータ32L、32C、32Rに、336ステップ(0〜335)の周期で1周するステッピングモータを用いている。すなわちリールモータ32L、32C、32Rを336ステップ駆動させることでリール2L、2C、2Rが1周することとなる。そして、リール1周に対して16ステップ(1図柄が移動するステップ数)毎に分割した21の領域(コマ)が定められており、これらの領域には、リール基準位置から0〜20の領域番号が割り当てられている。一方、1リールに配列された図柄数も21であり、各リールの図柄に対して、リール基準位置から0〜20の図柄番号が割り当てられているので、0番図柄から20番図柄に対して、それぞれ0〜20の領域番号が順に割り当てられていることとなる。そして、停止制御テーブルには、領域番号別の滑りコマ数が所定のルールで圧縮して格納されており、停止制御テーブルを展開することによって領域番号別の滑りコマ数を取得できるようになっている。   The stop control table is data that can specify the number of sliding frames for each timing when the stop operation is performed. In the present embodiment, a stepping motor that makes one turn at a cycle of 336 steps (0 to 335) is used for the reel motors 32L, 32C, and 32R. That is, when the reel motors 32L, 32C, and 32R are driven in 336 steps, the reels 2L, 2C, and 2R make one round. Then, 21 areas (frames) divided every 16 steps (the number of steps that one symbol moves) are defined for one reel, and these areas are areas 0 to 20 from the reel reference position. A number is assigned. On the other hand, the number of symbols arranged on one reel is 21, and symbol numbers 0 to 20 from the reel reference position are assigned to symbols on each reel, so symbols 0 to 20 are assigned to each reel. , Area numbers 0 to 20 are assigned in order. In the stop control table, the number of sliding symbols for each area number is compressed and stored according to a predetermined rule, and the number of sliding symbols for each area number can be acquired by expanding the stop control table. Yes.

前述のようにテーブルインデックス及びテーブル作成用データを参照して作成される停止制御テーブルは、領域番号に対応して、各領域番号に対応する領域が停止基準位置(本実施例では、透視窓3の下段図柄の領域)に位置するタイミング(リール基準位置からのステップ数が各領域番号のステップ数の範囲に含まれるタイミング)でストップスイッチ8L、8C、8Rの操作が検出された場合の滑りコマ数がそれぞれ設定されたテーブルである。   As described above, the stop control table created by referring to the table index and the table creation data corresponds to the area number, and the area corresponding to each area number is the stop reference position (in this embodiment, the perspective window 3). Sliding frame when an operation of the stop switches 8L, 8C, 8R is detected at a timing (a timing in which the number of steps from the reel reference position is included in the range of the number of steps of each region number). It is a table with each number set.

次に、停止制御テーブルの作成手順について説明すると、まず、リール回転開始時においては、そのゲームの内部当選状態に応じたテーブル作成用データの先頭アドレスを取得する。具体的には、まずテーブルインデックスを参照し、内部当選状態に対応するインデックスデータを取得し、そして取得したインデックスデータに基づいてテーブル作成用データを特定し、特定したテーブル作成用データから全てのリールが回転中の状態に対応する各リールの停止制御テーブルのアドレスを取得し、取得したアドレスに格納されている各リールの停止制御テーブルを展開して全てのリールについて停止制御テーブルを作成する。   Next, the procedure for creating the stop control table will be described. First, at the start of reel rotation, the top address of the table creation data corresponding to the internal winning state of the game is acquired. Specifically, the table index is first referred to, index data corresponding to the internal winning state is obtained, table creation data is identified based on the obtained index data, and all reels are identified from the identified table creation data. The address of the stop control table for each reel corresponding to the state of rotation is acquired, and the stop control table for each reel stored at the acquired address is expanded to generate a stop control table for all reels.

また、いずれか1つのリールが停止したとき、またはいずれか2つのリールが停止したときには、リール回転開始時に取得したインデックスデータ、すなわちそのゲームの内部当選状態に応じたテーブル作成用データの先頭アドレスに基づいてテーブル作成用データを特定し、特定したテーブル作成用データから停止済みのリール及び当該リールの停止位置の領域番号に対応する未停止リールの停止制御テーブルのアドレスを取得し、取得したアドレスに格納されている各リールの停止制御テーブルを展開して未停止のリールについて停止制御テーブルを作成する。   Further, when any one reel stops or any two reels stop, the index data acquired at the start of reel rotation, that is, the top address of the table creation data corresponding to the internal winning state of the game The table creation data is identified based on the table creation data, and the stop control table address of the unreacted reel corresponding to the stopped reel and the area number of the stop position of the reel is obtained from the identified table creation data. The stop control table for each stored reel is expanded to create a stop control table for the unstopped reels.

次に、メイン制御部41がストップスイッチ8L、8C、8Rのうち、回転中のリールに対応するいずれかの操作を有効に検出したときに、該当するリールに表示結果を導出させる際の制御について説明すると、ストップスイッチ8L、8C、8Rのうち、回転中のリールに対応するいずれかの操作を有効に検出すると、停止操作を検出した時点のリール基準位置からのステップ数に基づいて停止操作位置の領域番号を特定し、停止操作が検出されたリールの停止制御テーブルを参照し、特定した停止操作位置の領域番号に対応する滑りコマ数を取得する。そして、取得した滑りコマ数分リールを回転させて停止させる制御を行う。具体的には、停止操作を検出した時点のリール基準位置からのステップ数から、取得した滑りコマ数引き込んで停止させるまでのステップ数を算出し、算出したステップ数分リールを回転させて停止させる制御を行う。これにより、停止操作が検出された停止操作位置の領域番号に対応する領域から滑りコマ数分先の停止位置となる領域番号に対応する領域が停止基準位置(本実施例では、透視窓3の下段図柄の領域)に停止することとなる。   Next, when the main control unit 41 effectively detects any one of the stop switches 8L, 8C, and 8R corresponding to the rotating reel, the control when the display result is derived to the corresponding reel is described. To explain, when any operation corresponding to the rotating reel is detected effectively among the stop switches 8L, 8C, 8R, the stop operation position is based on the number of steps from the reel reference position when the stop operation is detected. The number of sliding symbols corresponding to the area number of the specified stop operation position is acquired by referring to the stop control table of the reel where the stop operation is detected. Then, control is performed to rotate and stop the reel by the number of acquired sliding frames. Specifically, from the number of steps from the reel reference position at the time when the stop operation is detected, the number of steps from the acquired number of sliding frames to the stop is calculated, and the reel is rotated and stopped by the calculated number of steps. Take control. As a result, the area corresponding to the area number that is the stop position ahead of the number of sliding frames from the area corresponding to the area number of the stop operation position where the stop operation is detected is the stop reference position (in this embodiment, the perspective window 3 It will stop in the lower symbol area).

本実施例のテーブルインデックスには、一の遊技状態における一の内部当選状態に対応するインデックスデータとして1つのアドレスのみが格納されており、更に、一のテーブル作成用データには、一のリールの停止状況(及び停止済みのリールの停止位置)に対応する停止制御テーブルの格納領域のアドレスとして1つのアドレスのみが格納されている。すなわち一の遊技状態における一の内部当選状態に対応するテーブル作成用データ、及びリールの停止状況(及び停止済みのリールの停止位置)に対応する停止制御テーブルが一意的に定められており、これらを参照して作成される停止制御テーブルも、一の遊技状態における一の内部当選状態、及びリールの停止状況(及び停止済みのリールの停止位置)に対して一意となる。このため、遊技状態、内部当選状態、リールの停止状況(及び停止済みのリールの停止位置)の全てが同一条件となった際に、同一の停止制御テーブル、すなわち同一の制御パターンに基づいてリールの停止制御が行われることとなる。   In the table index of this embodiment, only one address is stored as index data corresponding to one internal winning state in one gaming state, and further, one table creation data includes one reel. Only one address is stored as the address of the storage area of the stop control table corresponding to the stop status (and the stop position of the stopped reel). In other words, table creation data corresponding to one internal winning state in one gaming state and stop control tables corresponding to reel stop states (and stopped positions of stopped reels) are uniquely determined. The stop control table created with reference to is unique for one internal winning state in one gaming state and the reel stop status (and the stop position of the stopped reel). Therefore, when all of the gaming state, the internal winning state, and the reel stop status (and the stop position of the stopped reel) are the same, the reel is based on the same stop control table, that is, the same control pattern. The stop control is performed.

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

本実施例では、いずれかの役に当選している場合には、当選役を入賞ライン上に4コマの範囲で最大限引き込み、当選していない役が入賞ライン上に揃わないように引き込む滑りコマ数が定められた停止制御テーブルを作成し、リールの停止制御を行う一方、いずれの役にも当選していない場合には、いずれの役も揃わない滑りコマ数が定められた停止制御テーブルを作成し、リールの停止制御を行う。これにより、停止操作が行われた際に、入賞ライン上に最大4コマの引込範囲で当選している役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、当選していない役は、最大4コマの引込範囲で揃えずに停止させる制御が行われることとなる。   In this embodiment, when any of the winning combinations is won, the winning combination is drawn to the maximum in the range of 4 frames on the winning line, and the non-winning winning combination is drawn so that it is not aligned on the winning line. A stop control table with a defined number of frames is created and reel stop control is performed. If no winning combination is selected, a stop control table with a determined number of sliding symbols that do not have any combination And stop control of the reel. As a result, when a stop operation is performed, if the winning combination can be stopped on the winning line in the drawing range of up to 4 frames, the control is performed so that the winning combination is stopped. The combination that is not performed is stopped without being aligned in the drawing range of a maximum of 4 frames.

特別役が前ゲーム以前から持ち越されている状態で小役が当選した場合など、特別役と小役が同時に当選している場合には、当選した小役を入賞ラインに4コマの範囲で最大限に引き込むように滑りコマ数が定められているとともに、当選した小役を入賞ラインに最大4コマの範囲で引き込めない停止操作位置については、当選した特別役を入賞ラインに4コマの範囲で最大限に引き込むように滑りコマ数が定められた停止制御テーブルを作成し、リールの停止制御を行う。これにより、停止操作が行われた際に、入賞ライン上に最大4コマの引込範囲で当選している小役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、入賞ライン上に最大4コマの引込範囲で当選している小役を引き込めない場合には、入賞ライン上に最大4コマの引込範囲で当選している特別役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、当選していない役は、4コマの引込範囲で揃えずに停止させる制御が行われることとなる。すなわちこのような場合には、特別役よりも小役を入賞ライン上に揃える制御が優先され、小役を引き込めない場合にのみ、特別役を入賞させることが可能となる。尚、特別役と小役を同時に引き込める場合には、小役のみを引き込み、特別役と同時に小役が入賞ライン上に揃わないようになっている。   When a special role and a small role are elected at the same time, such as when a special role is elected while the special role has been carried over from before the previous game, the winning small role is the maximum in the range of 4 frames on the winning line. The number of sliding frames is fixed so that it can be drawn to the limit, and for the stop operation position where the selected small role cannot be drawn in the range of up to 4 frames in the winning line, the winning special role is in the range of 4 frames in the winning line Then, a stop control table in which the number of sliding frames is determined so as to be pulled in as much as possible is created, and reel stop control is performed. As a result, when a stop operation is performed, if it is possible to stop all the small roles that have been selected in the drawing range of up to 4 frames on the winning line and stop them, control is performed so that the winning combination is stopped. If you can't draw a small role that has been won in the drawing range of up to 4 frames on the line, if you can stop with a special role that has been won in the drawing range of up to 4 frames on the winning line, Control is performed to align and stop this, and the winning combination that has not been won is controlled to be stopped without being aligned in the 4-frame pull-in range. That is, in such a case, priority is given to the control for aligning the small combination on the winning line over the special combination, and the special combination can be won only when the small combination cannot be drawn. When a special combination and a small combination can be withdrawn at the same time, only the small combination is drawn in, and the small combination is not aligned on the winning line at the same time as the special combination.

尚、本実施例では、特別役が前ゲーム以前から持ち越されている状態で小役が当選した場合や新たに特別役と小役が同時に当選した場合など、特別役と小役が同時に当選している場合には、当選した特別役よりも当選した小役が優先され、小役が引き込めない場合のみ、特別役を入賞ライン上に揃える制御を行っているが、特別役と小役が同時に当選している場合に、小役よりも特別役を入賞ライン上に揃える制御が優先され、特別役を引き込めない場合にのみ、小役を入賞ライン上に揃える制御を行っても良い。   In this example, when a special role is elected while the special role has been carried over from before the previous game, or when a special role and a small role are simultaneously elected, the special role and the small role are won simultaneously. If the selected special role is given priority over the selected special role, the special role is controlled on the winning line only when the small role cannot be withdrawn. When winning simultaneously, priority is given to the control for aligning the special role on the winning line over the small role, and the control for aligning the small role on the winning line may be performed only when the special role cannot be drawn.

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

本実施例においてメイン制御部41は、リール2L、2C、2Rの回転が開始した後、ストップスイッチ8L、8C、8Rの操作が検出されるまで、停止操作が未だ検出されていないリールの回転を継続し、ストップスイッチ8L、8C、8Rの操作が検出されたことを条件に、対応するリールに表示結果を停止させる制御を行うようになっている。尚、リール回転エラーの発生により、一時的にリールの回転が停止した場合でも、その後リール回転が再開した後、ストップスイッチ8L、8C、8Rの操作が検出されるまで、停止操作が未だ検出されていないリールの回転を継続し、ストップスイッチ8L、8C、8Rの操作が検出されたことを条件に、対応するリールに表示結果を停止させる制御を行うようになっている。   In this embodiment, after the rotation of the reels 2L, 2C, and 2R is started, the main control unit 41 rotates the reels for which the stop operation has not been detected yet until the operation of the stop switches 8L, 8C, and 8R is detected. Continuously, on the condition that the operation of the stop switches 8L, 8C, and 8R is detected, control is performed to stop the display result on the corresponding reel. Even if the reel rotation temporarily stops due to the occurrence of a reel rotation error, the stop operation is still detected until the operation of the stop switches 8L, 8C, and 8R is detected after the reel rotation is restarted. Control is performed to stop the display result of the corresponding reels on the condition that the rotation of the reels that have not been continued is continued and the operation of the stop switches 8L, 8C, and 8R is detected.

尚、本実施例では、ストップスイッチ8L、8C、8Rの操作が検出されたことを条件に、対応するリールに表示結果を停止させる制御を行うようになっているが、リールの回転が開始してから、予め定められた自動停止時間が経過した場合に、リールの停止操作がなされない場合でも、停止操作がなされたものとみなして自動的に各リールを停止させる自動停止制御を行うようにしても良い。この場合には、遊技者の操作を介さずにリールが停止することとなるため、例え、いずれかの役が当選している場合でもいずれの役も構成しない表示結果を導出させることが好ましい。   In this embodiment, control is performed to stop the display result on the corresponding reel on condition that the operation of the stop switches 8L, 8C, and 8R is detected. However, the rotation of the reel is started. When a predetermined automatic stop time has elapsed, even if the reel stop operation is not performed, it is assumed that the stop operation has been performed, and automatic stop control is performed to automatically stop each reel. May be. In this case, since the reels are stopped without the player's operation, it is preferable to derive a display result that does not constitute any combination even if any combination is won.

本実施例においてメイン制御部41は、ゲームの開始後、リールの回転を開始させる毎にその時点、すなわちリールの回転を開始させた時点から経過した時間であるゲーム時間を計時するようになっており、1ゲームの終了後、メダルの投入等により規定数の賭数が設定され、ゲームの開始操作が有効となった状態でゲームの開始操作がされたときに、前のゲームのリール回転開始時点から計時を開始したゲーム時間が所定の規制時間(本実施例では4.1秒)以上であれば、すなわち前のゲームのリール回転開始時点から所定の規制時間が経過していれば、その時点で当該ゲームにおけるリールの回転を開始させる。   In the present embodiment, the main control unit 41 measures the game time, which is the time elapsed from the start of the reel rotation every time the reel starts rotating after the game starts. After a game is over, when a specified number of bets are set by inserting medals, etc., and the game start operation is enabled, the reel start of the previous game is started. If the game time that started timing from the time point is equal to or longer than a predetermined restriction time (4.1 seconds in this embodiment), that is, if the predetermined restriction time has elapsed since the reel rotation start time of the previous game, At that time, the reels in the game are started to rotate.

一方、1ゲームの終了後、メダルの投入等により規定数の賭数が設定され、ゲームの開始操作が有効となった状態でゲームの開始操作がされたときに、前のゲームのリール回転開始時点から計時を開始したゲーム時間が所定の規制時間未満であれば、すなわち前のゲームのリール回転開始時点から所定の規制時間が経過していなければ、その時点ではリールの回転を開始させず、前のゲームのリール回転開始時点から計時を開始したゲーム時間が所定の規制時間に到達するまで待機し、所定の規制時間に到達した時点で当該ゲームにおけるリールの回転を開始させる。   On the other hand, after the end of one game, when a predetermined number of bets are set by inserting medals, etc., and when the game start operation is enabled, the reel rotation of the previous game is started. If the game time that started timing from the time is less than the predetermined regulation time, that is, if the predetermined regulation time has not elapsed since the reel rotation start time of the previous game, the reel rotation is not started at that time, It waits until the game time that has started timing from the start of reel rotation of the previous game reaches a predetermined regulation time, and when the predetermined regulation time is reached, rotation of the reel in the game is started.

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

本実施例では、メイン制御部41がサブ制御部91に対して、投入枚数コマンド、クレジットコマンド、内部当選コマンド、リール回転開始コマンド、リール停止コマンド、入賞番号コマンド、払出開始コマンド、払出終了コマンド、復帰コマンド、遊技状態コマンド、待機コマンド、打止コマンド、エラーコマンド、設定コマンド、設定確認コマンド、ドアコマンド、操作検出コマンドを含む複数種類のコマンドを送信する。   In this embodiment, the main control unit 41 sends to the sub-control unit 91 an inserted number command, a credit command, an internal winning command, a reel rotation start command, a reel stop command, a winning number command, a payout start command, a payout end command, A plurality of types of commands including a return command, a gaming state command, a standby command, a stop command, an error command, a setting command, a setting confirmation command, a door command, and an operation detection command are transmitted.

これらコマンドは、コマンドの種類を示す1バイトの種類データとコマンドの内容を示す1バイトの拡張データとからなり、サブ制御部91は、種類データからコマンドの種類を判別できるようになっている。   These commands consist of 1-byte type data indicating the command type and 1-byte extension data indicating the command content, and the sub-control unit 91 can determine the command type from the type data.

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

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

内部当選コマンドは、内部抽選結果を特定可能なコマンドであり、スタートスイッチ7が操作されてゲームが開始したときに送信される。また、内部当選コマンドは、スタートスイッチ7が操作されたときに送信されるので、内部当選コマンドを受信することでスタートスイッチ7が操作されたことを特定可能である。   The internal winning command is a command that can specify the internal lottery result, and is transmitted when the start switch 7 is operated to start the game. Further, since the internal winning command is transmitted when the start switch 7 is operated, it is possible to specify that the start switch 7 has been operated by receiving the internal winning command.

リール回転開始コマンドは、後述のフリーズ状態に制御されないゲームにおいてリールの回転の開始を通知するコマンドであり、リール2L、2C、2Rの回転が開始されたときに送信される。   The reel rotation start command is a command for notifying the start of reel rotation in a game that is not controlled in the freeze state, which will be described later, and is transmitted when the rotation of the reels 2L, 2C, and 2R is started.

リール停止コマンドは、停止するリールが左リール、中リール、右リールのいずれかであるか、該当するリールの停止操作位置の領域番号、該当するリールの停止位置の領域番号、を特定可能なコマンドであり、各リールの停止操作に伴う停止制御が行われる毎に送信される。また、リール停止コマンドは、ストップスイッチ8L、8C、8Rが操作されたときに送信されるので、リール停止コマンドを受信することでストップスイッチ8L、8C、8Rが操作されたことを特定可能である。   The reel stop command is a command that can specify whether the reel to be stopped is the left reel, the middle reel, or the right reel, the area number of the corresponding reel stop operation position, and the area number of the corresponding reel stop position. And is transmitted each time stop control is performed in accordance with the stop operation of each reel. Since the reel stop command is transmitted when the stop switches 8L, 8C, and 8R are operated, it is possible to specify that the stop switches 8L, 8C, and 8R are operated by receiving the reel stop command. .

入賞番号コマンドは、入賞ラインLNに揃った図柄の組合せ、入賞の有無、並びに入賞の種類、入賞時のメダルの払出枚数を特定可能なコマンドであり、全リールが停止して入賞判定が行われた後に送信される。   The winning number command is a command that can specify the combination of symbols arranged on the winning line LN, whether or not there is a winning, the type of winning, the number of medals to be paid out, and all the reels are stopped and the winning determination is performed. Sent after.

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

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

遊技状態コマンドは、現在の遊技状態(BB中、RB中、再遊技等)を特定可能なコマンドであり、電断復帰時またはゲームの終了時に送信される。   The gaming state command is a command that can specify the current gaming state (in BB, in RB, replaying, etc.), and is transmitted when power is restored or when the game ends.

待機コマンドは、待機状態へ移行する旨を示すコマンドであり、1ゲーム終了後、賭数が設定されずに一定時間経過して待機状態に移行するとき、クレジット(賭数の設定に用いられたメダルを含む)の精算によるメダルの払出が終了し、払出終了コマンドが送信された後に送信される。   The standby command is a command indicating a transition to the standby state, and after one game is over, a credit (which was used for setting the bet number) is set when the transition to the standby state is made after a predetermined time without setting the bet number. (Including medals) is sent out after the medal payout is completed and the payout end command is sent.

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

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

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

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

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

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

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

一方、ドアコマンドは、タイマ割込処理(メイン)のドア監視処理においてに生成され、RAM41cに設けられたコマンドキューに一時格納され、その後のタイマ割込処理(メイン)のコマンド送信処理おいて送信される。   On the other hand, the door command is generated in the door monitoring process of the timer interrupt process (main), temporarily stored in the command queue provided in the RAM 41c, and transmitted in the subsequent command transmission process of the timer interrupt process (main). Is done.

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

次に、メイン制御部41が演出制御基板90に対して送信するコマンドに基づいてサブ制御部91が実行する演出の制御について説明する。   Next, the control of the effect performed by the sub-control unit 91 based on the command transmitted from the main control unit 41 to the effect control board 90 will be described.

サブ制御部91は、メイン制御部41からのコマンドを受信した際に、コマンド受信割込処理を実行する。コマンド受信割込処理では、RAM91cに設けられた受信用バッファに、コマンド伝送ラインから取得したコマンドを格納する。   When the sub control unit 91 receives a command from the main control unit 41, the sub control unit 91 executes a command reception interrupt process. In the command reception interrupt process, the command acquired from the command transmission line is stored in the reception buffer provided in the RAM 91c.

受信用バッファには、最大で16個のコマンドを格納可能な領域が設けられており、複数のコマンドを蓄積できるようになっている。   The reception buffer is provided with an area capable of storing a maximum of 16 commands so that a plurality of commands can be accumulated.

サブ制御部91は、タイマ割込処理(サブ)において、受信用バッファに未処理のコマンドが格納されているか否かを判定し、未処理のコマンドが格納されている場合には、そのうち最も早い段階で受信したコマンドに基づいてROM91bに格納された制御パターンテーブルを参照し、制御パターンテーブルに登録された制御内容に基づいて液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の各種演出装置の出力制御を行う。   In the timer interrupt process (sub), the sub-control unit 91 determines whether or not an unprocessed command is stored in the reception buffer. If an unprocessed command is stored, the sub-control unit 91 is the earliest. The control pattern table stored in the ROM 91b is referred to based on the command received in the stage, and the liquid crystal display 51, effect effect LED 52, speakers 53, 54, reel LED 55, etc. are controlled based on the control contents registered in the control pattern table. Performs output control of various rendering devices.

制御パターンテーブルには、複数種類の演出パターン毎に、コマンドの種類に対応する液晶表示器51の表示パターン、演出効果LED52の点灯態様、スピーカ53、54の出力態様、リールLED55の点灯態様等、これら演出装置の制御パターンが登録されており、サブ制御部91は、コマンドを受信した際に、制御パターンテーブルの当該ゲームにおいてRAM91cに設定されている演出パターンに対応して登録された制御パターンのうち、受信したコマンドの種類に対応する制御パターンを参照し、当該制御パターンに基づいて演出装置の出力制御を行う。これにより演出パターン及び遊技の進行状況に応じた演出が実行されることとなる。   In the control pattern table, the display pattern of the liquid crystal display 51 corresponding to the type of command, the lighting mode of the lighting effect LED 52, the output mode of the speakers 53 and 54, the lighting mode of the reel LED 55, etc. Control patterns of these effect devices are registered, and when the sub-control unit 91 receives a command, the sub-control unit 91 stores the control patterns registered corresponding to the effect patterns set in the RAM 91c in the game of the control pattern table. Among these, the control pattern corresponding to the type of the received command is referred to, and the output control of the rendering device is performed based on the control pattern. Thereby, the production according to the production pattern and the progress of the game is executed.

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

特に、本実施例では、演出の実行中に賭数の設定操作がなされたとき、すなわちサブ制御部91が、賭数が設定された旨を示す投入枚数コマンドを受信したときに、実行中の演出を中止するようになっている。このため、遊技者が、演出を最後まで見るよりも次のゲームを進めたい場合には、演出がキャンセルされ、次のゲームを開始できるので、このような遊技者に対して煩わしい思いをさせることがない。また、演出の実行中にクレジットまたは賭数の精算操作がなされたとき、すなわちサブ制御部91が、ゲームの終了を示す遊技状態コマンドを受信した後、ゲームの開始を示す内部当選コマンドを受信する前に、払出開始コマンドを受信した場合には、実行中の演出を中止するようになっている。クレジットや賭数の精算を行うのは、遊技を終了する場合であり、このような場合に実行中の演出を終了させることで、遊技を終了する意志があるのに、不要に演出が継続してしまわないようになっている。   In particular, in this embodiment, when the betting number setting operation is performed during the execution of the effect, that is, when the sub-control unit 91 receives the inserted number command indicating that the betting number is set, The production is to be canceled. For this reason, if the player wants to proceed to the next game rather than seeing the production to the end, the production is canceled and the next game can be started. There is no. Further, when a credit or betting amount adjustment operation is performed during the performance, that is, after the sub-control unit 91 receives a game state command indicating the end of the game, it receives an internal winning command indicating the start of the game. When the payout start command is received before, the effect being executed is stopped. Credits and bets are settled when the game is terminated. In such a case, by terminating the performance that is being executed, there is an intention to end the game, but the performance continues unnecessarily. It is designed not to be overwhelmed.

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

本実施例においてメイン制御部41は、ゲームを進行させるための操作が有効化されるタイミングを遅延させることにより、所定期間にわたりゲームを進行させるための操作が無効化されるフリーズ状態に制御するか否かを決定するフリーズ抽選を行い、フリーズ抽選に当選することで、上記のフリーズ状態に制御する。   In the present embodiment, the main control unit 41 controls the freeze state in which the operation for advancing the game for a predetermined period is invalidated by delaying the timing at which the operation for advancing the game is validated. A freeze lottery to determine whether or not is performed, and the freeze lottery is won to control the freeze state.

本実施例では、乱数回路508bのチャネルRL1により生成された乱数値を用いてフリーズ抽選の結果が判定される。   In the present embodiment, the result of the freeze lottery is determined using the random number value generated by the channel RL1 of the random number circuit 508b.

尚、既に、図26で説明したように、RL1ハードラッチ選択レジスタ(RL1LS)のビット番号[2−0]の設定内容により、PI1端子からの入力(MAXBETスイッチ6の操作検出信号の入力)により、RL1ハードラッチ乱数値レジスタ0(RL1HV0)に16ビット乱数RL1の値が取り込まれるように設定されており、MAXBETスイッチ6が操作されたタイミングで乱数回路508bのチャネルRL1におけるRL1ハードラッチ乱数値レジスタ0(RL1HV0)に乱数値をラッチできるように構成されているが、操作手段からの検出信号によるタイミングで乱数回路508bのチャネルRL1により生成された乱数値がラッチされるものに限らず、所定のタイミングで乱数回路508bのチャネルRL1に対応する乱数ソフトラッチレジスタ(RDSL)のビット1(RL1SL)に“1”をセットすることでプログラムにて乱数回路508bのチャネルRL1におけるRL1ソフトラッチ乱数値レジスタ(RL1SV)に乱数値をラッチさせてフリーズ抽選の結果判定に用いるようにしても良い。   As already described with reference to FIG. 26, depending on the setting contents of the bit number [2-0] of the RL1 hard latch selection register (RL1LS), the input from the PI1 terminal (input of the operation detection signal of the MAXBET switch 6). , The RL1 hard latch random value register 0 (RL1HV0) is set so that the value of the 16-bit random number RL1 is taken in, and the RL1 hard latch random value register in the channel RL1 of the random number circuit 508b at the timing when the MAXBET switch 6 is operated. The random number value can be latched to 0 (RL1HV0), but the random number value generated by the channel RL1 of the random number circuit 508b is not latched at the timing according to the detection signal from the operation means, Corresponds to the channel RL1 of the random number circuit 508b at the timing. By setting “1” to bit 1 (RL1SL) of the random number soft latch register (RDSL), the program causes the RL1 soft latch random value register (RL1SV) in the channel RL1 of the random number circuit 508b to latch the random value and freeze lottery You may make it use for the result determination.

このように本実施例では、フリーズ抽選の結果に応じてフリーズ状態に制御されるようになっている。そして、フリーズ抽選にメイン制御部41が搭載する乱数回路508bが生成した乱数を利用しているが、乱数回路508bは、それぞれ別個の乱数を生成するチャネルRL0〜RL3の4回路を備えており、フリーズ抽選では、乱数回路508bが生成する乱数のうち内部抽選に用いるチャネルRL0にて生成される乱数とは別のチャネルRL1にて生成される乱数が用いられるので、内部抽選が用いる乱数と、フリーズ抽選が用いる乱数と、が同期してしまうことを防止できる。   As described above, in this embodiment, the freeze state is controlled according to the result of the freeze lottery. The random number circuit 508b mounted on the main control unit 41 is used for freeze lottery. The random number circuit 508b includes four circuits RL0 to RL3 that generate separate random numbers. In the freeze lottery, since the random number generated in the channel RL1 different from the random number generated in the channel RL0 used for the internal lottery among the random numbers generated by the random number circuit 508b is used, the random number used in the internal lottery and the freeze It can be prevented that the random numbers used in the lottery are synchronized.

尚、本実施例では、16ビット乱数回路508bの異なるチャネル(チャネル0とチャネル1)からそれぞれ乱数値を抽出することにより、内部抽選を行う場合と、フリーズ抽選を行う場合と、で乱数を抽出する乱数値を異ならせる場合を示したが、本実施例で示した態様に限られない。例えば、16ビット乱数回路508bの同じチャネルであっても、その同じチャネルで用いる異なるハードラッチ乱数値レジスタから(例えば、同じチャネル0のRL0ハードラッチ乱数値レジスタ0(RL0HV0)とRL0ハードラッチ乱数値レジスタ1(RL0HV1)とから)乱数値を抽出することにより、抽出する乱数値レジスタを異ならせても良い。   In the present embodiment, random numbers are extracted by extracting random numbers from different channels (channel 0 and channel 1) of the 16-bit random number circuit 508b to perform internal lottery and freeze lottery. Although the case where the random value to be made is different is shown, it is not limited to the mode shown in the present embodiment. For example, even in the same channel of the 16-bit random number circuit 508b, from different hard latch random number value registers used in the same channel (for example, RL0 hard latch random number value register 0 (RL0HV0) and RL0 hard latch random number value of the same channel 0) By extracting a random number value (from register 1 (RL0HV1)), the extracted random number value register may be different.

また、本実施例では、フリーズ抽選が用いる乱数として、16ビット乱数回路508bが生成した乱数を利用しているが8ビット乱数回路508aが生成した乱数を利用しても良い。   In this embodiment, the random number generated by the 16-bit random number circuit 508b is used as the random number used in the freeze lottery. However, the random number generated by the 8-bit random number circuit 508a may be used.

また、本実施例では、フリーズ抽選が用いる乱数として、乱数回路508bが生成した乱数を利用しているが、フリーズ抽選が用いる乱数としてプログラムによって更新されるソフト乱数を用いても良い。   In this embodiment, the random number generated by the random number circuit 508b is used as the random number used by the freeze lottery. However, a soft random number updated by a program may be used as the random number used by the freeze lottery.

また、本実施例では、フリーズ状態に制御するか否かを決定するフリーズ抽選に用いる乱数として乱数回路508bが生成した乱数を利用する構成であるが、遊技者にとっての有利度を決定する抽選や遊技者にとって有利な特典を付与するか否かを決定する抽選に用いる乱数として乱数回路508a、508bが生成した乱数を利用する構成としても良い。また、フリーズ抽選の結果が、遊技者にとっての有利度の決定、遊技者にとって有利な特典を付与するか否かの決定に反映される構成としても良い。   Further, in this embodiment, the random number generated by the random number circuit 508b is used as a random number used in the freeze lottery for determining whether or not to control the freeze state. The random number generated by the random number circuits 508a and 508b may be used as the random number used for the lottery for determining whether or not to give a privilege advantageous to the player. Moreover, it is good also as a structure by which the result of a freeze lottery is reflected in the determination of the advantage for a player, and the determination of whether to give the privilege advantageous for a player.

本実施例では、メイン制御部41のプログラム管理エリアの設定値により、メイン制御部41に搭載された回路(乱数回路508a、508b、ウォッチドッグタイマ506b、リセット/割込コントローラ506等)の使用/未使用の設定が可能とされており、不要な回路については、未使用に設定しておくことにより、未使用に設定された回路を起動させないようにすることができる。このような構成においては、使用しない回路について未使用に設定されていても、不正なプログラムの起動やノイズ等によって当該回路が動作する可能性があり、この際、未使用の回路についての動作設定として、メイン制御部41を構成するマイクロコンピュータの工場出荷時の設定のままだと、メイン制御部41が想定外の動作を引き起こしてしまう虞がある。   In the present embodiment, use / use of circuits (random number circuits 508a and 508b, watchdog timer 506b, reset / interrupt controller 506, etc.) mounted on the main control unit 41 according to the setting value of the program management area of the main control unit 41. Unused settings can be made. Unnecessary circuits can be set to unused so that circuits set to unused can not be activated. In such a configuration, even if a circuit that is not used is set to be unused, the circuit may operate due to illegal program activation, noise, or the like. If the microcomputer constituting the main control unit 41 is set at the time of factory shipment, the main control unit 41 may cause an unexpected operation.

本実施例において、乱数回路508a、508bは、それぞれ4チャネルの乱数回路を備えており、そのうち乱数回路508bのチャネル0、1のみ起動するように設定され、乱数回路508aのチャネル0〜3、乱数回路508bのチャネル2、3については未使用に設定され、起動しないようになっている。そして、プログラム管理エリアにおける未使用の乱数回路の動作設定に対応する設定値として、工場出荷時の初期値(全て0)とは異なる設定値であり、仮に動作してしまっても問題の生じない設定値が設定されている。このため、何らかの原因で未使用に設定された乱数回路が動作してしまった場合であっても、未使用の乱数回路により想定外の動作をしてしまうことを防止できる。   In this embodiment, each of the random number circuits 508a and 508b includes a four-channel random number circuit, and is set to start only channels 0 and 1 of the random number circuit 508b. The channels 2 and 3 of the circuit 508b are set to unused and are not activated. And, the setting value corresponding to the operation setting of the unused random number circuit in the program management area is a setting value different from the factory default value (all 0), and no problem occurs even if it operates temporarily. A set value is set. For this reason, even if a random number circuit set to be unused for some reason is operated, it is possible to prevent an unexpected operation due to the unused random number circuit.

また、本実施例では、乱数回路508bを構成するチャネル0〜4の乱数回路のうち、チャネル0、1については使用に設定され、チャネル2、3については未使用に設定されており、これら未使用に設定されたチャネル2、3についてのプログラム管理エリアにおける未使用の乱数回路の動作設定に対応する設定値(16ビット乱数初期設定2(KRL2)のビット「6」、ビット「5−4」及びビット「2」、ビット1−0)の設定値、16ビット乱数初期設定3(KRL3のビット「7」、ビット「6」、ビット「5」、ビット「4」の設定値)として、使用に設定されたチャネル0、1の設定値(16ビット乱数初期設定1(KRL1)のビット「6」、ビット「5−4」及びビット「2」、ビット1−0)の設定値、16ビット乱数初期設定3(KRL3のビット「3」、ビット「2」、ビット「1」、ビット「0」の設定値)と同一の設定値が設定されている。すなわち複数の同種の制御回路のうち使用する一の制御回路について使用に設定され、一の制御回路とは異なる他の制御回路について未使用に設定されており、未使用に設定されている制御回路の動作設定として、使用に設定されている同種の制御回路の動作設定と同一の設定がされている。このため、何らかの原因で未使用に設定された他の制御回路が動作してしまった場合であっても、工場出荷時の初期値による設定ではなく、使用に設定された同種の制御回路と同一設定としておくことにより、当該制御回路による動作を想定内の範囲留めることができる。   In this embodiment, among the random number circuits of channels 0 to 4 constituting the random number circuit 508b, channels 0 and 1 are set to use, and channels 2 and 3 are set to unused. Setting values (bits “6” and “5-4” of 16-bit random number initial setting 2 (KRL2)) corresponding to operation settings of unused random number circuits in the program management area for the channels 2 and 3 set to be used. And bit “2”, bit 1-0) set value, 16 bit random number initial setting 3 (KRL3 bit “7”, bit “6”, bit “5”, bit “4” set value) Set value of channel 0, 1 set to (16 bit random number initial setting 1 (KRL1) bit “6”, bit “5-4” and bit “2”, bit 1-0) set value, 16 bits Disorder Initialization 3 same set value (bit "3" of KRL3, bit "2", bit "1", the set value of the bit "0") is set. That is, a control circuit that is set to be used for one control circuit to be used among a plurality of control circuits of the same type, is set to be unused for another control circuit different from the one control circuit, and is set to be unused. As the operation setting, the same setting as the operation setting of the same kind of control circuit set to be used is set. For this reason, even if another control circuit set to unused for some reason operates, it is not the same as the factory default setting, but the same type of control circuit set to use By setting, the operation by the control circuit can be kept within the expected range.

また、本実施例では、乱数回路508bのチャネル2、3については未使用に設定され、起動しないようになっているが、これら未使用に設定された乱数回路508bのチャネル2、3のシステムリセット毎に乱数値の初期値を変更するか否かの動作設定として、工場出荷時の設定値(0)、すなわちシステムリセット毎に乱数値の初期値を変更しない旨の設定値ではなく、システムリセット毎に乱数値の初期値を変更する設定値(1)が設定されている。このため、未使用の乱数回路であっても、不正な要因によって起動された乱数回路により生成される数値データの更新タイミングを予測しにくくなり、乱数の更新タイミングから狙われた特定の数値データを利用して不正に遊技者にとって有利な状況を発生させるような不正行為を未然に防止することができる。   In this embodiment, the channels 2 and 3 of the random number circuit 508b are set to be unused and are not activated. However, the system reset of the channels 2 and 3 of the random number circuit 508b set to be unused is performed. As an operation setting for whether or not to change the initial value of the random number every time, the factory setting value (0), that is, the setting value that does not change the initial value of the random value every time the system is reset, is a system reset. A set value (1) for changing the initial value of the random value is set for each time. For this reason, even if it is an unused random number circuit, it becomes difficult to predict the update timing of the numerical data generated by the random number circuit activated by an unauthorized factor, and the specific numerical data targeted from the update timing of the random number It is possible to prevent fraudulent acts that illegally generate situations that are advantageous to the player.

また、本実施例では、乱数回路508bのチャネル2、3については未使用に設定され、起動しないようになっているが、これら未使用に設定された乱数回路508bのチャネル2、3のシステムリセット後、乱数更新の1週目の初期値として、工場出荷時の設定値(0)に基づく0001ではなく、IDナンバーをもとにした値をとる設定値(1)が設定されている。このため、未使用の乱数回路であっても、不正な要因によって起動された乱数回路により生成される数値データの更新タイミングを予測しにくくなり、乱数の更新タイミングから狙われた特定の数値データを利用して不正に遊技者にとって有利な状況を発生させるような不正行為を未然に防止することができる。   In this embodiment, the channels 2 and 3 of the random number circuit 508b are set to be unused and are not activated. However, the system reset of the channels 2 and 3 of the random number circuit 508b set to be unused is performed. After that, as an initial value for the first week of random number update, a setting value (1) that takes a value based on the ID number is set instead of 0001 based on the factory setting value (0). For this reason, even if it is an unused random number circuit, it becomes difficult to predict the update timing of the numerical data generated by the random number circuit activated by an unauthorized factor, and the specific numerical data targeted from the update timing of the random number It is possible to prevent fraudulent acts that illegally generate situations that are advantageous to the player.

また、本実施例では、乱数回路508aのチャネル0〜3、乱数回路508bのチャネル2、3については未使用に設定され、起動しないようになっているが、これら未使用に設定された乱数回路508aのチャネル0〜3、乱数回路508bのチャネル2、3の乱数列の更新方法を変更するか否かの動作設定として、工場出荷時の設定値(00)、すなわち乱数列を変更しない旨の設定値ではなく、乱数列を自動で変更する旨の設定値(10)が設定されている。このため、未使用の乱数回路であっても、不正な要因によって起動された乱数回路により生成される数値データの更新タイミングを予測しにくくなり、乱数の更新タイミングから狙われた特定の数値データを利用して不正に遊技者にとって有利な状況を発生させるような不正行為を未然に防止することができる。   In this embodiment, the channels 0 to 3 of the random number circuit 508a and the channels 2 and 3 of the random number circuit 508b are set to unused and are not activated. However, these random number circuits set to unused. The factory setting value (00), that is, that the random number sequence is not changed is set as an operation setting for whether to change the update method of the random number sequence of the channels 0 to 3 of the channel 508a and the channels 2 and 3 of the random number circuit 508b. A setting value (10) for automatically changing the random number sequence is set instead of the setting value. For this reason, even if it is an unused random number circuit, it becomes difficult to predict the update timing of the numerical data generated by the random number circuit activated by an unauthorized factor, and the specific numerical data targeted from the update timing of the random number It is possible to prevent fraudulent acts that illegally generate situations that are advantageous to the player.

また、本実施例では、乱数回路508aのチャネル0〜3、乱数回路508bのチャネル2、3については未使用に設定され、起動しないようになっているが、これら乱数回路508aのチャネル0〜3、乱数回路508bのチャネル2、3において更新異常が検出された場合にも、内部情報レジスタ(CIF)の対応するビットに“1”がセットされるようになっており、内部情報レジスタ(CIF)の値を確認することにより、未使用に設定された乱数回路であっても更新異常が検出されたか否かを確認することができる。   In this embodiment, the channels 0 to 3 of the random number circuit 508a and the channels 2 and 3 of the random number circuit 508b are set unused and are not activated. However, the channels 0 to 3 of the random number circuit 508a are not activated. Even when an update abnormality is detected in the channels 2 and 3 of the random number circuit 508b, “1” is set in the corresponding bit of the internal information register (CIF), and the internal information register (CIF) By confirming this value, it is possible to confirm whether or not an update abnormality has been detected even in a random circuit set to be unused.

また、本実施例では、CPU41aが、所定の契機で行われるエラー判定処理において、内部情報レジスタ(CIF)の値を取得し、内部情報レジスタ(CIF)の値が0か否か判定し、0以外、すなわち内部情報レジスタ(CIF)のいずれかのビットに“1”がセットされており、外部クロック信号の周波数異常が検知されているか、または使用設定であるか未使用設定であるかに関わらず、8ビット乱数回路506aのチャネル0〜3、16ビット乱数回路506bのいずれかにおいて更新状態の異常が検知されている場合に、エラー状態に制御するようになっている。すなわち、内部情報レジスタ(CIF)の個々のビットの値から異常原因を特定せずとも、CIFの値が0以外であれば、乱数回路回りに異常が生じていることは明らかであることから、CPU41aは、内部情報レジスタ(CIF)の個々のビットの値を特定することなく、全体の値が0か否かを判定し、0以外であればエラーと判定するようになっており、当該判定に係るプログラム容量を削減できる。   In this embodiment, the CPU 41a acquires the value of the internal information register (CIF) in the error determination process performed at a predetermined opportunity, determines whether the value of the internal information register (CIF) is 0, Other than that, that is, whether one of the bits of the internal information register (CIF) is set to “1” and the frequency abnormality of the external clock signal is detected, whether the setting is used or not used. First, when an abnormality in the update state is detected in any of the channels 0 to 3 and the 16-bit random number circuit 506b of the 8-bit random number circuit 506a, the error state is controlled. That is, even if the cause of the abnormality is not specified from the value of each bit of the internal information register (CIF), if the CIF value is other than 0, it is clear that an abnormality has occurred around the random number circuit. The CPU 41a determines whether or not the entire value is 0 without specifying the value of each bit in the internal information register (CIF). If it is not 0, it determines that an error has occurred. Can reduce the program capacity.

尚、本実施例では、メイン制御部41が搭載する乱数回路が未使用に設定されている場合に、その動作設定として、工場出荷時とは異なる設定値とする例について説明したが、その他の未使用に設定された回路について、工場出荷時の設定値では不具合が生じる可能性がある場合には、不具合が生じないように工場出荷時の設定値とは異なる設定値を設定することにより、何らかの原因で未使用に設定された回路が動作してしまった場合であっても、未使用の回路により想定外の動作をしてしまうことを防止できる。   In the present embodiment, when the random number circuit mounted on the main control unit 41 is set to be unused, the operation setting is described as an example of setting values different from those at the time of shipment from the factory. For circuits that are set to unused, if there is a possibility that a failure will occur at the factory setting value, by setting a setting value different from the factory setting value so as not to cause a failure, Even if a circuit set to be unused is operated for some reason, it is possible to prevent an unexpected operation from being performed by an unused circuit.

例えば、シリアル通信回路512が未使用に設定されている場合に、対応する端子の機能設定として工場出荷時の設定値(例えば、外部デバイスへの属性無しチップセレクト端子として使用する旨の設定)とは異なる設定値(例えば、シリアル通信回路512の通信端子として使用する旨の設定等)を設定することにより、シリアル通信回路512が未使用に設定されることで利用されない端子が、外部デバイスへの属性無しチップセレクト端子として使用可能に設定されることがなく、これらの端子が不正なプログラムの読み出しに用いられてしまう等の不正利用を防止できる。   For example, when the serial communication circuit 512 is set to unused, the factory setting value (for example, setting to use as an attribute-less chip select terminal for an external device) is set as the function setting of the corresponding terminal. By setting different setting values (for example, setting to use as a communication terminal of the serial communication circuit 512), a terminal that is not used when the serial communication circuit 512 is set to be unused is connected to an external device. It is not set to be usable as an attributeless chip select terminal, and unauthorized use such as these terminals being used for reading illegal programs can be prevented.

また、ウォッチドッグタイマ506bが未使用に設定されている場合に、タイムアウト時間の設定として工場出荷時の設定値(0000)ではなく、その他の時間を設定しておくことにより、システムリセットやユーザリセットのタイミングを特定することが困難となり、システムリセットやユーザリセットのタイミングからハード乱数やソフト乱数の更新タイミングを特定することも困難となるため、これらの更新タイミングから特定のタイミングを狙って不正に遊技者にとって有利な状況を発生させるような不正行為を未然に防止することができる。   In addition, when the watchdog timer 506b is set to be unused, by setting other time instead of the factory setting value (0000) as the timeout time setting, system reset or user reset It is difficult to specify the timing of the system, and it is also difficult to specify the update timing of the hard random number or soft random number from the timing of the system reset or user reset. It is possible to prevent fraudulent acts that may cause a situation that is advantageous to the user.

また、リセット/割込コントローラ506による特定の割込要因が未使用に設定されている場合に、当該特定の割込要因の発生により実行される割込処理のアドレス設定として工場出荷時の設定値(00H)ではなく、他のアドレス設定としておくことで、未使用に設定された特定の割込要因の発生により割込が生じた場合に実行されるプログラムの格納アドレスを特定することが困難となるため、当該未使用の割込要因を発生させることにより不正なプログラムを実行させる不正を防止できる。   In addition, when a specific interrupt factor by the reset / interrupt controller 506 is set to unused, the factory setting value is used as an address setting for interrupt processing executed when the specific interrupt factor is generated. By setting other addresses instead of (00H), it is difficult to specify the storage address of the program to be executed when an interrupt occurs due to the generation of a specific interrupt factor set to unused. Therefore, it is possible to prevent an unauthorized act of executing an unauthorized program by generating the unused interrupt factor.

また、本実施例では、同種の制御回路のうちの一部が使用に設定され、残りが未使用に設定される構成であるが、同種の制御回路全てが未使用に設定される構成でも良く、このような構成であっても、未使用に設定された制御回路について、工場出荷時の設定値では不具合が生じる可能性がある場合には、不具合が生じないように工場出荷時の設定値とは異なる設定値を設定することにより、何らかの原因で未使用に設定された回路が動作してしまった場合であっても、未使用の回路により想定外の動作をしてしまうことを防止できる。   Further, in the present embodiment, a part of the same type of control circuit is set to be used and the rest is set to be unused. However, all the same type of control circuits may be set to be unused. Even in such a configuration, if there is a possibility that a malfunction may occur at the factory setting value for a control circuit set to unused, the factory setting value is set so that the malfunction does not occur. By setting a setting value that is different from, even if a circuit that is set to be unused for some reason has been activated, it is possible to prevent an unexpected operation from being performed by the unused circuit. .

また、本実施例では、同種の制御回路のうちの一部が使用に設定され、残りが未使用に設定される構成において、未使用に設定された回路についての動作設定として、使用に設定された回路についての動作設定と同一の設定としているが、少なくとも工場出荷時の設定値では不具合が生じる可能性がある動作設定のみ、使用に設定された回路についての動作設定と同一の設定とするだけでも、何らかの原因で未使用に設定された回路が動作してしまった場合において、未使用の回路により想定外の動作をしてしまうことを防止できる。   In this embodiment, in the configuration in which a part of the same type of control circuit is set to use and the rest is set to unused, the operation setting for the circuit set to unused is set to use. The same settings as the operation settings for the circuit that is set to use, but only the operation settings that may cause problems at least with the factory default settings. However, it is possible to prevent an unexpected operation from being performed by an unused circuit when a circuit that has been set to unused has been operated for some reason.

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

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

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

さらにスロットマシンだけでなく、複数の回路を備えるマイクロコンピュータを搭載する遊技機であり、これら搭載回路の使用/未使用を設定可能な遊技機であれば本発明を適用可能で有り、例えば、遊技球を遊技領域内に発射して遊技を行う弾球遊技機にも適用可能である。   Furthermore, the present invention can be applied to any gaming machine equipped with not only a slot machine but also a microcomputer having a plurality of circuits, and can be used / unused of these installed circuits. The present invention can also be applied to a ball game machine that plays a game by launching a ball into the game area.

1 スロットマシン
2L、2C、2R リール
6 MAXBETスイッチ
7 スタートスイッチ
8L、8C、8R ストップスイッチ
41 メイン制御部
91 サブ制御部
508a 乱数回路
508b 乱数回路
1 slot machine 2L, 2C, 2R reel 6 MAXBET switch 7 start switch 8L, 8C, 8R stop switch 41 main control unit 91 sub control unit 508a random number circuit 508b random number circuit

Claims (1)

所定の遊技を行うことが可能な遊技機において、
所定の制御を行う制御回路と、
前記制御回路を使用するか否かを示す情報と、前記制御回路による制御を予め定められた設定と異なる設定で行うか否かを示す情報と、が少なくとも記憶される記憶領域と、
を備え、
前記記憶領域には、前記制御回路を使用しない旨を示す情報が記憶されている場合であっても、当該制御回路による制御を予め定められた設定と異なる設定で行う旨を示す情報が記憶されている
ことを特徴とする遊技機。
In a gaming machine capable of performing a predetermined game,
A control circuit for performing predetermined control;
A storage area for storing at least information indicating whether to use the control circuit and information indicating whether control by the control circuit is performed with a setting different from a predetermined setting;
With
Even when information indicating that the control circuit is not used is stored in the storage area, information indicating that the control by the control circuit is performed with a setting different from a predetermined setting is stored. A gaming machine characterized by
JP2014126650A 2014-06-19 2014-06-19 Game machine Active JP6417123B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014126650A JP6417123B2 (en) 2014-06-19 2014-06-19 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014126650A JP6417123B2 (en) 2014-06-19 2014-06-19 Game machine

Publications (2)

Publication Number Publication Date
JP2016002434A true JP2016002434A (en) 2016-01-12
JP6417123B2 JP6417123B2 (en) 2018-10-31

Family

ID=55222179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014126650A Active JP6417123B2 (en) 2014-06-19 2014-06-19 Game machine

Country Status (1)

Country Link
JP (1) JP6417123B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6571967B2 (en) * 2015-04-09 2019-09-04 株式会社三共 Game machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006223544A (en) * 2005-02-17 2006-08-31 Sankyo Kk Slot machine
JP2007021042A (en) * 2005-07-20 2007-02-01 Sankyo Kk Game machine
JP2009268625A (en) * 2008-05-02 2009-11-19 Daiichi Shokai Co Ltd Game machine
JP2013188377A (en) * 2012-03-14 2013-09-26 Omron Corp Game machine
JP2014094024A (en) * 2012-11-07 2014-05-22 Sankyo Co Ltd Slot machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006223544A (en) * 2005-02-17 2006-08-31 Sankyo Kk Slot machine
JP2007021042A (en) * 2005-07-20 2007-02-01 Sankyo Kk Game machine
JP2009268625A (en) * 2008-05-02 2009-11-19 Daiichi Shokai Co Ltd Game machine
JP2013188377A (en) * 2012-03-14 2013-09-26 Omron Corp Game machine
JP2014094024A (en) * 2012-11-07 2014-05-22 Sankyo Co Ltd Slot machine

Also Published As

Publication number Publication date
JP6417123B2 (en) 2018-10-31

Similar Documents

Publication Publication Date Title
JP6533177B2 (en) Gaming machine
JP6571967B2 (en) Game machine
JP2014176403A (en) Slot machine
JP6650669B2 (en) Gaming machine
JP6220557B2 (en) Slot machine
JP2015154847A (en) slot machine
JP6628962B2 (en) Gaming machine
JP2016052484A (en) Slot machine
JP2015043862A (en) Slot machine
JP2014208024A (en) Slot machine
JP6628961B2 (en) Gaming machine
JP5892743B2 (en) Slot machine
JP2015136455A (en) Slot machine
JP5844043B2 (en) Slot machine
JP6533178B2 (en) Gaming machine
JP6228964B2 (en) Slot machine
JP2012135404A (en) Slot machine
JP2015043863A (en) Slot machine
JP6628963B2 (en) Gaming machine
JP2015223414A (en) Slot machine
JP2015033404A (en) Slot machine
JP6417123B2 (en) Game machine
JP2018046948A (en) Slot machine
JP2016135404A (en) Slot machine
JP5783718B2 (en) Slot machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180530

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181005

R150 Certificate of patent or registration of utility model

Ref document number: 6417123

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