JP2016168206A - Game machine - Google Patents
Game machine Download PDFInfo
- Publication number
- JP2016168206A JP2016168206A JP2015050379A JP2015050379A JP2016168206A JP 2016168206 A JP2016168206 A JP 2016168206A JP 2015050379 A JP2015050379 A JP 2015050379A JP 2015050379 A JP2015050379 A JP 2015050379A JP 2016168206 A JP2016168206 A JP 2016168206A
- Authority
- JP
- Japan
- Prior art keywords
- command
- control unit
- game
- timer
- main
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 100
- 238000012545 processing Methods 0.000 claims abstract description 67
- 238000000034 method Methods 0.000 claims description 293
- 230000008569 process Effects 0.000 claims description 293
- 238000011084 recovery Methods 0.000 abstract description 7
- 238000001514 detection method Methods 0.000 description 80
- 230000000694 effects Effects 0.000 description 68
- 230000008859 change Effects 0.000 description 53
- 238000012790 confirmation Methods 0.000 description 20
- 238000003780 insertion Methods 0.000 description 16
- 230000037431 insertion Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 230000005856 abnormality Effects 0.000 description 13
- 230000004913 activation Effects 0.000 description 11
- 239000004973 liquid crystal related substance Substances 0.000 description 11
- 238000012544 monitoring process Methods 0.000 description 11
- 230000002159 abnormal effect Effects 0.000 description 10
- 238000005259 measurement Methods 0.000 description 9
- 238000003745 diagnosis Methods 0.000 description 8
- 230000007704 transition Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 7
- 230000006378 damage Effects 0.000 description 6
- 230000003111 delayed effect Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000009877 rendering Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 238000007792 addition Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 3
- 230000001066 destructive effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000005284 excitation Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007562 laser obscuration time method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Landscapes
- Slot Machines And Peripheral Devices (AREA)
Abstract
Description
本発明は、パチンコ遊技機やスロットマシン等の遊技機に関する。 The present invention relates to a gaming machine such as a pachinko gaming machine or a slot machine.
この種の遊技機としては、遊技の制御を行う遊技制御手段と、遊技制御手段から送信されたコマンドに基づいて演出の制御を行う演出制御手段と、を備える構成において、電断復帰時において遊技制御手段及び演出制御手段の双方において電断前の制御状態に復帰可能としたものが提案されている(例えば、特許文献1参照)。 This type of gaming machine includes a game control means for controlling a game and an effect control means for controlling an effect based on a command transmitted from the game control means. There has been proposed one that can return to the control state before power interruption in both the control means and the effect control means (see, for example, Patent Document 1).
このような遊技機では、電断検出時に遊技制御手段側で複数のコマンドが未送信のままであっても、電断後も未送信のコマンドをそのまま保持し、電断復帰後に電断前から保持されていたコマンドを送信するようになっている(例えば、特許文献1参照)。 In such a gaming machine, even if a plurality of commands remain untransmitted on the game control means side when a power interruption is detected, the unsent commands are retained even after the power interruption, and from before power interruption after power interruption recovery The held command is transmitted (for example, see Patent Document 1).
特許文献1に記載の遊技機では、電断検出時に遊技制御手段側で複数のコマンドが未送信のままであっても、電断後も未送信のコマンドをそのまま保持し、電断復帰後に電断前から保持されていたコマンドを送信するようになっているため、電断検出時に未送信のコマンドが残っていると、電断時及び電断復帰時における遊技制御手段側の制御状態と、演出制御手段側で特定される遊技制御手段側の制御状態と、が異なってしまうこととなる。 In the gaming machine described in Patent Document 1, even when a plurality of commands remain untransmitted on the game control means side when power interruption is detected, the untransmitted commands are held as they are even after power interruption, and the power is restored after power interruption recovery. Since the command that has been held before disconnection is to be transmitted, if there is an untransmitted command remaining at the time of power failure detection, the control state on the game control means side at the time of power failure and power recovery, The control state on the game control means side specified on the effect control means side will be different.
本発明は、このような問題点に着目したものであり、電断時及び電断復帰時における遊技制御手段側の制御状態と、演出制御手段側で特定される遊技制御手段側の制御状態と、を極力一致させることができる遊技機を提供することを目的とする。 The present invention pays attention to such a problem, and the control state on the game control means side at the time of power interruption and return from power interruption, and the control state on the game control means side specified on the effect control means side, It is an object of the present invention to provide a gaming machine that can match each other as much as possible.
上記課題を解決するために、本発明の手段1の遊技機は、
遊技を行う遊技機(スロットマシン1)において、
第1の制御を行うとともに、遊技機(スロットマシン1)への電力供給が停止しても制御状態を保持可能な第1の制御手段(メイン制御部41)と、
第1の制御手段から送信された制御情報(コマンド)に基づいて第2の制御を行うとともに、遊技機(スロットマシン1)への電力供給が停止しても制御状態を保持可能な第2の制御手段(サブ制御部91)と、
を備え、
前記第1の制御手段は、
電断条件が成立(電圧低下信号の入力)した場合に、遊技機(スロットマシン1)への電力供給が停止する前の制御状態に復帰可能とするための電断処理(電断処理(メイン))を実行する電断処理実行手段と、
制御の進行に応じて前記第2の制御手段(サブ制御部91)に送信する制御情報(コマンド)を作成し、格納領域(コマンドキュー)に格納する制御情報格納手段(コマンド格納処理)と、
所定契機(タイマ割込処理(メイン)4回に1回)毎に前記格納領域(コマンドキュー)に格納されている制御情報(コマンド)を前記第2の制御手段(サブ制御部91)に対して送信する第1の制御情報送信手段(通常時コマンド送信処理)と、
電断条件が成立(電圧低下信号の入力)した場合に、前記電断処理(電断処理(メイン))を実行する前に前記格納領域(コマンドキュー)に格納されている制御情報(コマンド)全てを前記第2の制御手段(サブ制御部91)に対して送信する第2の制御情報送信手段(電断時コマンド送信処理)と、
を含み、
電断条件が成立(電圧低下信号の入力)してから前記第1の制御手段(メイン制御部41)が動作不能となるまでの期間(リセット信号により動作不能となるまでの期間)が、前記格納領域(コマンドキュー)に格納可能な最大数の制御情報(32のコマンド)を前記第2の制御手段(サブ制御部91)に対して送信し、かつ前記電断処理(電断処理(メイン))が完了するのに要する期間よりも長い
ことを特徴としている。
この特徴によれば、第1の制御手段は、電断条件が成立した場合に、格納領域に格納されている制御情報全てを第2の制御手段に対して送信してから電断処理を実行するので、電断時及び電断復帰時における遊技制御手段側の制御状態と、演出制御手段側で特定される遊技制御手段側の制御状態と、を極力一致させることができる。また、電断条件が成立してから第1の制御手段が動作不能となるまでの期間が、格納領域に格納可能な最大数の制御情報を第2の制御手段に対して送信し、かつ電断処理が完了するのに要する期間よりも長いので、電断条件の成立後、制御情報を送信してから電断処理までの処理を確実に実行させることができる。
In order to solve the above problems, the gaming machine of means 1 of the present invention is:
In a gaming machine (slot machine 1) that performs a game,
A first control means (main control unit 41) capable of holding the control state even when the power supply to the gaming machine (slot machine 1) is stopped while performing the first control;
The second control is performed based on the control information (command) transmitted from the first control means, and the control state can be maintained even if the power supply to the gaming machine (slot machine 1) is stopped. Control means (sub-control unit 91);
With
The first control means includes
When the power interruption condition is satisfied (input of a voltage drop signal), the power interruption processing (power interruption processing (main Power interruption processing execution means for executing)),
Control information storage means (command storage processing) for creating control information (command) to be transmitted to the second control means (sub-control unit 91) according to the progress of control and storing it in a storage area (command queue);
Control information (command) stored in the storage area (command queue) is sent to the second control means (sub-control unit 91) every predetermined time (timer interrupt processing (main) once every four times). First control information transmitting means (normal command transmission process) for transmitting
Control information (command) stored in the storage area (command queue) before executing the power interruption process (power interruption process (main)) when the power interruption condition is satisfied (input of a voltage drop signal) Second control information transmission means (command transmission processing at power interruption) for transmitting all to the second control means (sub-control unit 91);
Including
A period from when the power interruption condition is satisfied (input of the voltage drop signal) to when the first control unit (main control unit 41) becomes inoperable (period until the
According to this feature, if the power interruption condition is satisfied, the first control means transmits the control information stored in the storage area to the second control means and then executes the power interruption process. Therefore, the control state on the game control means side at the time of power interruption and return from power interruption can be matched as much as possible with the control state on the game control means side specified on the effect control means side. In addition, during the period from when the power interruption condition is satisfied until the first control unit becomes inoperable, the maximum number of control information that can be stored in the storage area is transmitted to the second control unit, and Since it is longer than the period required to complete the disconnection process, it is possible to reliably execute the process from the transmission of control information to the disconnection process after the disconnection condition is established.
尚、第1の制御手段は、遊技の制御を行う制御手段であっても良いし、遊技の制御以外の制御、例えば、演出の制御を行う制御手段であっても良い。また、第2の制御手段は、第1の制御手段から送信された制御情報に基づいて何らかの制御を行う制御手段であれば良く、例えば、第1の制御手段が遊技の制御を行う制御手段である場合に、第1の制御手段から送信された制御情報に基づいて演出の制御を行う制御手段を第2の制御手段としても良いし、第1の制御手段が演出の制御を行う制御手段である場合に、第1の制御手段から送信された制御情報に基づいて演出装置の制御を行う制御手段を第2の制御手段としても良い。
また、遊技機への電力供給が停止する前の制御状態に復帰可能とするための電断処理とは、例えば、電力供給が復帰した際に、チェックサムやパリティ診断にてデータが正常か否かを判定可能とするためのデータを設定する処理などが該当する。
また、第1の制御手段が動作不能となるまでの期間とは、第1の制御手段の動作可能電圧を下回って動作不能となるまでの期間や、電力供給の降下により第1の制御手段が動作可能電圧を下回って動作不能となる前にリセット信号が入力されることで動作不能となるまでの期間である。
また、電断条件が成立してから前記第1の制御手段が動作不能となるまでの期間が、前記格納領域に格納可能な最大数の制御情報を前記第2の制御手段に対して送信し、かつ前記電断処理が完了するのに要する期間よりも長いとは、例えば、電断条件が成立してから前記第1の制御手段が動作不能となるまでの期間が、前記格納領域に格納可能な最大数の制御情報を前記第2の制御手段に対して送信し、かつ前記電断処理が完了するのに要する期間よりも長くなるように、電断条件が成立する電圧及び第1の制御手段が動作不能となる電圧まで降下する時間を設定する構成でも良いし、電断条件が成立してから前記第1の制御手段が動作不能となるまでの期間が、前記格納領域に格納可能な最大数の制御情報を前記第2の制御手段に対して送信し、かつ前記電断処理が完了するのに要する期間よりも長くなるように、電断条件が成立してから第1の制御手段への供給電圧の低下をコンデンサ等により遅延させる構成でも良いし、電断条件が成立してから前記第1の制御手段が動作不能となるまでの期間よりも短い期間で、前記格納領域に格納可能な最大数の制御情報を前記第2の制御手段に対して送信し、かつ前記電断処理が完了できるように前記格納領域に格納可能な制御情報の最大数を設定する構成でも良い。
The first control unit may be a control unit that controls a game, or may be a control unit that performs a control other than a game control, for example, an effect control. The second control means may be any control means that performs some control based on the control information transmitted from the first control means. For example, the second control means may be a control means that controls the game. In some cases, the control means for controlling the presentation based on the control information transmitted from the first control means may be the second control means, or the control means for controlling the presentation by the first control means. In some cases, the control means for controlling the effect device based on the control information transmitted from the first control means may be the second control means.
In addition, the power interruption processing for enabling the return to the control state before the power supply to the gaming machine is stopped is, for example, whether the data is normal by checksum or parity diagnosis when the power supply is restored. For example, a process of setting data for enabling determination of whether or not.
Further, the period until the first control unit becomes inoperable is a period until the first control unit becomes inoperable after being lower than the operable voltage of the first control unit, or when the first control unit is turned off due to a drop in power supply. This is a period until the operation is disabled by the input of the reset signal before the operation becomes impossible due to the voltage being lower than the operable voltage.
In addition, during the period from when the power interruption condition is satisfied to when the first control unit becomes inoperable, the maximum number of control information that can be stored in the storage area is transmitted to the second control unit. The term “longer than the period required for completing the power interruption process” means that, for example, a period from when the power interruption condition is satisfied until the first control unit becomes inoperable is stored in the storage area. The maximum number of control information that can be transmitted to the second control means, and the voltage that satisfies the power-off condition and the first time so as to be longer than the time required to complete the power-off process. It may be configured to set the time for the control means to drop to a voltage at which it becomes inoperable, or the period from when the power interruption condition is satisfied until the first control means becomes inoperable can be stored in the storage area A maximum number of control information is sent to the second control means. In addition, a configuration may be adopted in which a decrease in the supply voltage to the first control means is delayed by a capacitor or the like after the power-off condition is satisfied, so that it is longer than the period required for completing the power-off process. The maximum number of control information that can be stored in the storage area is shorter than the period from when the power interruption condition is satisfied until the first control unit becomes inoperable. The maximum number of control information that can be stored in the storage area may be set so that the power interruption process can be completed.
本発明の手段2の遊技機は、手段1に記載の遊技機であって、
電断条件が成立(電圧低下信号の入力)し、前記格納領域(コマンドキュー)に格納されている制御情報(コマンド)全てを前記第2の制御手段(サブ制御部91)に対して送信した後、制御情報(コマンド)を出力する出力ポート(パラレル出力ポート513)を初期化する
ことを特徴としている。
この特徴によれば、電断条件が成立して格納領域に格納されている制御情報全てを送信した後に、制御情報を出力する出力ポートが初期化されるので、電力供給が不安定な状態で誤って制御情報が送信されてしまうことを防止できる。
The gaming machine of means 2 of the present invention is the gaming machine described in means 1,
A power interruption condition is satisfied (voltage drop signal is input), and all control information (commands) stored in the storage area (command queue) is transmitted to the second control means (sub-control unit 91). Thereafter, an output port (parallel output port 513) for outputting control information (command) is initialized.
According to this feature, after the power interruption condition is established and all the control information stored in the storage area is transmitted, the output port for outputting the control information is initialized, so that the power supply is unstable. It is possible to prevent control information from being transmitted by mistake.
本発明の手段3の遊技機は、手段1または2に記載の遊技機であって、
第1の制御情報送信手段(通常コマンド送信処理)は、所定契機(タイマ割込処理(メイン)4回に1回)毎に前記格納領域(コマンドキュー)に格納されている制御情報(コマンド)のうち所定数の制御情報(1のコマンド)を前記第2の制御手段(サブ制御部91)に対して送信する
ことを特徴としている。
この特徴によれば、所定数以上の制御情報が格納領域に格納されている場合でも、一度に送信される制御情報の送信数が所定数に制限されるため、制御情報の送信により第1の制御手段による他の制御が遅延してしまうことを防止できる。
The gaming machine of
The first control information transmission means (normal command transmission process) is configured to control information (command) stored in the storage area (command queue) every predetermined trigger (timer interrupt process (main) once every four times). A predetermined number of control information (one command) is transmitted to the second control means (sub-control unit 91).
According to this feature, even when a predetermined number or more of control information is stored in the storage area, the number of control information transmitted at a time is limited to a predetermined number. It is possible to prevent other control by the control means from being delayed.
本発明の手段4の遊技機は、手段1〜3のいずれかに記載の遊技機であって、
第1の制御情報送信手段(通常コマンド送信処理)は、所定契機(タイマ割込処理(メイン)4回に1回)において格納領域(コマンドキュー)に制御の進行に応じた制御情報(内部当選コマンド等)が格納されていない場合に、第1の制御手段(メイン制御部41)の状態を示す特定制御情報(ドアコマンド)を送信する
ことを特徴としている。
この特徴によれば、特定制御情報の送信により第2の制御手段において第1の制御手段の状態を特定可能となるとともに、特定制御情報は、所定契機において格納領域に制御の進行に応じた制御情報が格納されていない場合に送信されるので、制御の進行に応じた制御情報の送信が特定制御情報の送信によって遅延したり、特定制御情報の送信により第1の制御手段による他の制御が遅延してしまうことを防止できる。
A gaming machine according to
The first control information transmission means (normal command transmission process) is configured to control information (internal winning) in a storage area (command queue) at a predetermined opportunity (timer interrupt process (main) once every 4 times). When no command is stored, specific control information (door command) indicating the state of the first control means (main control unit 41) is transmitted.
According to this feature, the state of the first control means can be specified by the second control means by transmitting the specific control information, and the specific control information is controlled according to the progress of control in the storage area at a predetermined opportunity. Since it is transmitted when information is not stored, transmission of control information corresponding to the progress of control is delayed by transmission of specific control information, or other control by the first control means is caused by transmission of specific control information. The delay can be prevented.
本発明の手段5の遊技機は、手段4に記載の遊技機であって、
第1の制御手段(メイン制御部41)は、
遊技機(スロットマシン1)への電力供給が開始し、遊技機への電力供給が停止する前の制御状態に復帰させる場合に、所定制御情報(復帰コマンド)を送信する所定制御情報送信手段と、
遊技機(スロットマシン1)への電力供給が開始したときに、前記所定制御情報(復帰コマンド)が送信されるまで前記特定制御情報(ドアコマンド)の送信を制限する送信制限手段と、
を含む
ことを特徴としている。
この特徴によれば、第2の制御手段側で、第1の制御手段側が復帰することが確定した後に第1の制御手段の状態を特定することができる。
The gaming machine of means 5 of the present invention is the gaming machine according to
The first control means (main control unit 41)
Predetermined control information transmitting means for transmitting predetermined control information (return command) when power supply to the gaming machine (slot machine 1) starts and returns to the control state before power supply to the gaming machine is stopped; ,
A transmission limiting means for limiting transmission of the specific control information (door command) until the predetermined control information (return command) is transmitted when power supply to the gaming machine (slot machine 1) is started;
It is characterized by including.
According to this feature, the state of the first control means can be specified on the second control means side after it is determined that the first control means side returns.
本発明の手段6の遊技機は、手段1〜5のいずれかに記載の遊技機であって、
割込に基づいて割込プログラムに従った処理(タイマ割込処理(メイン))を実行する割込処理実行手段と、
割込プログラム(タイマ割込処理(メイン))のアドレスを記憶可能なアドレス記憶手段(ベクタテーブル)と、
アドレス記憶手段(ベクタテーブル)に記憶しているアドレスが所定の範囲(プログラム領域のうちプログラム等が実際に格納された領域)にあるか否かを起動時に判定する判定手段と、
アドレス記憶手段(ベクタテーブル)に記憶しているアドレスが所定の範囲にないと判定したときに起動を制限する起動制限手段(メイン制御部41は、ベクタテーブルのアドレスがプログラム領域のうちプログラム等が実際に格納された領域でない場合に起動させない)と、
を備える
ことを特徴としている。
この特徴によれば、意図しない割込処理が実行されることを事前に防止することができ
る。
A gaming machine of
Interrupt processing execution means for executing processing (timer interrupt processing (main)) according to the interrupt program based on the interrupt;
Address storage means (vector table) capable of storing the address of the interrupt program (timer interrupt processing (main));
Determining means for determining at startup whether or not the address stored in the address storage means (vector table) is within a predetermined range (area in which a program or the like is actually stored in the program area);
Activation restriction means for restricting activation when it is determined that the address stored in the address storage means (vector table) is not within a predetermined range (the
It is characterized by having.
According to this feature, unintended interrupt processing can be prevented in advance.
本発明の手段7の遊技機は、手段1〜6のいずれかに記載の遊技機であって、
起動時に特定プログラムが記憶されている記憶領域(プログラム/データ領域)を設定する記憶領域設定手段と、
記憶領域設定手段が設定した記憶領域(プログラム/データ領域)で記憶している特定プログラムに従った処理を実行する特定プログラム実行手段(メイン制御部41によるプログラムの実行)と、
記憶領域設定手段が設定した記憶領域(プログラム/データ領域)以外の領域で記憶しているプログラムを特定プログラム実行手段が呼び出したときに異常制御(イリーガルアクセスリセット)を実行する異常制御実行手段と、
を備え、
所定の範囲は、少なくとも特定プログラムが記憶されている領域のアドレスを含む
ことを特徴としている。
この特徴によれば、不正なプログラムの実行を防止することができる。
A gaming machine according to means 7 of the present invention is the gaming machine according to any one of means 1 to 6, wherein
Storage area setting means for setting a storage area (program / data area) in which a specific program is stored at startup;
Specific program execution means (execution of the program by the main control unit 41) for executing processing according to the specific program stored in the storage area (program / data area) set by the storage area setting means;
Abnormality control execution means for executing abnormality control (illegal access reset) when the specific program execution means calls a program stored in an area other than the storage area (program / data area) set by the storage area setting means;
With
The predetermined range includes at least an address of an area where a specific program is stored.
According to this feature, execution of an unauthorized program can be prevented.
本発明の手段8の遊技機は、手段1〜7のいずれかに記載の遊技機であって、
複数のタイマ値格納領域(例えば、1バイトタイマA〜C)が設けられ、データを記憶するデータ記憶手段と、
複数種類の計時条件(例えば、1バイトタイマA〜Cの計時条件)のうちいずれかの種類の計時条件が成立したときに、該計時条件に応じたタイマ値格納領域(例えば、1バイトタイマA〜C)に該計時条件に応じたタイマ値を格納するタイマ値格納手段(メイン処理)と、
所定周期(約2.24ms)毎に複数のタイマ値格納領域(例えば、1バイトタイマA〜C)に格納されたタイマ値を更新可能なタイマ値更新手段(時間カウンタ更新処理)と、
を備え、
複数のタイマ値格納領域(例えば、1バイトタイマA〜C)には、所定の規則(+1)で連続するアドレス(7E2Ch〜7E2Eh)が割り当てられ、
タイマ値更新手段は、指定アドレスに対応するタイマ値格納領域に格納されたタイマ値を更新する更新処理(ポインタが示す値を1減算する処理)を、所定の演算(指定アドレス+1)を行うことによりタイマ値格納領域に対する指定アドレスを変更しながら繰り返し実行することで複数種類のタイマ値を更新可能である
ことを特徴としている。
この特徴によれば、複数のタイマ値格納領域には、所定の規則で連続するアドレスが割り当てられるとともに、指定アドレスに対応するタイマ値格納領域に格納されたタイマ値を更新する更新処理を、所定の演算を行うことによりタイマ値格納領域に対する指定アドレスを変更しながら繰り返し実行することで複数種類のタイマ値を更新するので、複数種類のタイマ値を更新する処理をタイマ値の種類毎に行う場合よりもプログラム容量を削減することができる。
尚、所定の規則で連続するアドレスが割り当てられるとは、例えば、開始アドレス及び開始アドレスからN(Nは自然数)ずつ加算されるアドレスが割り当てられることである。
また、所定の演算を行うことによりタイマ値格納領域に対する指定アドレスを変更するとは、例えば、現在の指定アドレスに対して処理数に応じた値を加算または減算することで指定アドレスを変更すること、基準アドレスに対して定数を加算または減算することで指定アドレスを変更することが該当する。この際、処理数に応じた値または定数は、タイマ値の格納容量により異なる場合があり、例えば、1バイトずつタイマ値が格納される構成であれば、処理数に応じた値は処理数に応じて1、2、3…となり、定数は1となるが、2バイトずつタイマ値が格納される構成であれば、処理数に応じた値は処理数に応じて2、4、6…となり、定数は2となる。
A gaming machine according to means 8 of the present invention is the gaming machine according to any one of means 1 to 7,
A plurality of timer value storage areas (for example, 1-byte timers A to C), and data storage means for storing data;
When any type of timing condition is satisfied among a plurality of types of timing conditions (for example, timing conditions for 1-byte timers A to C), a timer value storage area (for example, 1-byte timer A) corresponding to the timing condition To C), a timer value storage means (main process) for storing a timer value according to the timing condition;
Timer value updating means (time counter updating process) capable of updating timer values stored in a plurality of timer value storage areas (for example, 1-byte timers A to C) at predetermined intervals (about 2.24 ms);
With
A plurality of timer value storage areas (for example, 1-byte timers A to C) are assigned consecutive addresses (7E2Ch to 7E2Eh) according to a predetermined rule (+1).
The timer value updating means performs a predetermined operation (specified address + 1) for an update process for updating the timer value stored in the timer value storage area corresponding to the specified address (a process for subtracting 1 from the value indicated by the pointer). It is characterized in that multiple types of timer values can be updated by repeatedly executing while changing the designated address for the timer value storage area.
According to this feature, a plurality of timer value storage areas are assigned consecutive addresses according to a predetermined rule, and an update process for updating the timer value stored in the timer value storage area corresponding to the specified address is performed in a predetermined manner. When the processing for updating multiple types of timer values is performed for each type of timer value, it is possible to update multiple types of timer values by repeatedly executing while changing the specified address for the timer value storage area. As a result, the program capacity can be reduced.
Note that consecutive addresses are assigned according to a predetermined rule means that, for example, an address that is incremented by N (N is a natural number) from the start address and the start address is assigned.
In addition, changing the designated address for the timer value storage area by performing a predetermined calculation is, for example, changing the designated address by adding or subtracting a value according to the number of processes to the current designated address, This corresponds to changing the designated address by adding or subtracting a constant to or from the reference address. At this time, the value or constant according to the number of processes may vary depending on the storage capacity of the timer value. For example, if the timer value is stored byte by byte, the value according to the number of processes is the number of processes. Depending on the number of processing, the value is 2, 4, 6,..., Depending on the number of processing. The constant is 2.
尚、本発明は、本発明の請求項に記載された発明特定事項のみを有するものであって良いし、本発明の請求項に記載された発明特定事項とともに該発明特定事項以外の構成を有するものであっても良い。 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.
本発明に係る遊技機を実施するための形態を実施例に基づいて以下に説明する。 A mode for carrying out a gaming machine according to the present invention will be described below based on examples.
本発明が適用された遊技機であるスロットマシンの実施例について図面を用いて説明すると、本実施例のスロットマシン1は、図1に示すように、前面が開口する筐体1aと、この筐体1aの側端に回動自在に枢支された前面扉1bと、から構成されている。
An embodiment of a slot machine that is a gaming machine to which the present invention is applied will be described with reference to the drawings. As shown in FIG. The
本実施例のスロットマシン1の筐体1aの内部には、図2に示すように、外周に複数種の図柄が配列されたリール2L、2C、2R(以下、左リール、中リール、右リール)が水平方向に並設されており、図1に示すように、これらリール2L、2C、2Rに配列された図柄のうち連続する3つの図柄が前面扉1bに設けられた透視窓3から見えるように配置されている。
Inside the
リール2L、2C、2Rの外周部には、互いに識別可能な複数種類の図柄(識別情報)が所定の順序で、それぞれ所定数ずつ描かれている。リール2L、2C、2Rの外周部に描かれた図柄は、前面扉1bの略中央に設けられた透視窓3において各々上中下三段に表示される。
A plurality of types of symbols (identification information) that can be distinguished from each other are drawn in a predetermined order on the outer peripheral portions of the
各リール2L、2C、2Rは、各々対応して設けられたリールモータ32L、32C、32R(図3参照)によって回転されることで、各リール2L、2C、2Rの図柄が透視窓3に連続的に変化しつつ表示される一方で、各リール2L、2C、2Rの回転が停止されることで、透視窓3に3つの連続する図柄が表示結果として導出表示されるようになっている。
The
リール2L、2C、2Rの内側には、リール2L、2C、2Rそれぞれに対して、基準位置を検出するリールセンサ33L、33C、33Rと、リール2L、2C、2Rを背面から照射するリールLED55と、が設けられている。また、リールLED55は、リール2L、2C、2Rの連続する3つの図柄に対応する12のLEDからなり、各図柄をそれぞれ独立して照射可能とされている。
Inside the
前面扉1bの各リール2L、2C、2Rの手前側(遊技者側)の位置には、液晶表示器51(図1参照)の表示領域51aが配置されている。液晶表示器51は、液晶素子に対して電圧が印加されていない状態で透過性を有する液晶パネルを有しており、表示領域51aの透視窓3に対応する透過領域51b及び透視窓3を介して遊技者側から各リール2L、2C、2Rが視認できるようになっている。
A
前面扉1bには、図1に示すように、メダルを投入可能なメダル投入部4、メダルが払い出されるメダル払出口9、クレジット(遊技者所有の遊技用価値として記憶されているメダル数)を用いて、その範囲内において遊技状態に応じて定められた規定数の賭数のうち最大の賭数を設定する際に操作されるMAXBETスイッチ6、クレジットとして記憶されているメダル及び賭数の設定に用いたメダルを精算する(クレジット及び賭数の設定に用いた分のメダルを返却させる)際に操作される精算スイッチ10、ゲームを開始する際に操作されるスタートスイッチ7、リール2L、2C、2Rの回転を各々停止する際に操作されるストップスイッチ8L、8C、8Rが遊技者により操作可能にそれぞれ設けられている。
As shown in FIG. 1, on the
また、前面扉1bには、図1に示すように、クレジットとして記憶されているメダル枚数が表示されるクレジット表示器11、入賞の発生により払い出されたメダル枚数やエラー発生時にその内容を示すエラーコード等が表示される遊技補助表示器12、賭数が1設定されている旨を点灯により報知する1BETLED14、賭数が2設定されている旨を点灯により報知する2BETLED15、賭数が3設定されている旨を点灯により報知する3BETLED16、メダルの投入が可能な状態を点灯により報知する投入要求LED17、スタートスイッチ7の操作によるゲームのスタート操作が有効である旨を点灯により報知するスタート有効LED18、ウェイト(前回のゲーム開始から一定期間経過していないためにリールの回転開始を待機している状態)中である旨を点灯により報知するウェイト中LED19、後述するリプレイゲーム中である旨を点灯により報知するリプレイ中LED20が設けられた遊技用表示部13が設けられている。
Further, as shown in FIG. 1, the
MAXBETスイッチ6の内部には、MAXBETスイッチ6の操作による賭数の設定操作が有効である旨を点灯により報知するBETスイッチ有効LED21(図3参照)が設けられており、ストップスイッチ8L、8C、8Rの内部には、該当するストップスイッチ8L、8C、8Rによるリールの停止操作が有効である旨を点灯により報知する左、中、右停止有効LED22L、22C、22R(図3参照)がそれぞれ設けられている。
Inside the
前面扉1bの内側には、図2に示すように、所定のキー操作により後述するエラー状態及び後述する打止状態を解除するためのリセット操作を検出するリセットスイッチ23、後述する設定値の変更中や設定値の確認中にその時点の設定値が表示される設定値表示器24、所定の契機に打止状態(リセット操作がなされるまでゲームの進行が規制される状態)に制御する打止機能の有効/無効を選択するための打止スイッチ36a、所定の契機に自動精算処理(クレジットとして記憶されているメダルを遊技者の操作によらず精算(返却)する処理)に制御する自動精算機能の有効/無効を選択するための自動精算スイッチ36b、メダル投入部4から投入されたメダルの流路を、筐体1aの内部に設けられた後述のホッパータンク34a(図2参照)側またはメダル払出口9側のいずれか一方に選択的に切り替えるための流路切替ソレノイド30、メダル投入部4から投入され、ホッパータンク34a側に流下したメダルを検出する投入メダルセンサ31、投入メダルセンサ31の上流側で異物の挿入を検出する投入口センサ26を有するメダルセレクタ29、前面扉1bの開放状態を検出するドア開放検出スイッチ25(図3参照)が設けられている。
Inside the
筐体1aの内部には、図2に示すように、前述したリール2L、2C、2R、リールモータ32L、32C、32R(図3参照)、各リール2L、2C、2Rのリール基準位置をそれぞれ検出可能なリールセンサ33L、33C、33R(図3参照)からなるリールユニット2、外部出力信号を出力するための外部出力基板1000(図3参照)、メダル投入部4から投入されたメダルを貯留するホッパータンク34a、ホッパータンク34aに貯留されたメダルをメダル払出口9より払い出すためのホッパーモータ34b(図3参照)、ホッパーモータ34bの駆動により払い出されたメダルを検出する払出センサ34c(図3参照)からなるホッパーユニット34、電源ボックス100が設けられている。
As shown in FIG. 2, the
ホッパーユニット34の側部には、ホッパータンク34aから溢れたメダルが貯留されるオーバーフロータンク35が設けられている。オーバーフロータンク35の内部には、貯留されたメダルが満タン状態となったことを検出する満タンセンサ35a(図3参照)が設けられている。
On the side of the
電源ボックス100の前面には、図2に示すように、設定変更状態または設定確認状態に切り替えるための設定キースイッチ37、通常時においてはエラー状態や打止状態を解除するためのリセットスイッチとして機能し、設定変更状態においては後述する内部抽選の当選確率(出玉率)の設定値を変更するための設定スイッチとして機能するリセット/設定スイッチ38、電源をON/OFFする際に操作される電源スイッチ39が設けられている。
As shown in FIG. 2, a
尚、電源ボックス100は、筐体1aの内部に設けられており、さらに前面扉1bは、店員等が所持する所定のキー操作により開放可能な構成であるため、これら電源ボックス100の前面に設けられた設定キースイッチ37、リセット/設定スイッチ38、電源スイッチ39は、キーを所持する店員等の者のみが操作可能とされ、遊技者による操作ができないようになっている。また、所定のキー操作により検出されるリセットスイッチ23も同様である。特に、設定キースイッチ37は、キー操作により前面扉1bを開放したうえで、さらにキー操作を要することから、遊技場の店員のなかでも、設定キースイッチ37の操作を行うキーを所持する店員のみ操作が可能とされている。
The
本実施例のスロットマシン1においてゲームを行う場合には、まず、メダルをメダル投入部4から投入するか、あるいはクレジットを使用して賭数を設定する。クレジットを使用するにはMAXBETスイッチ6を操作すれば良い。遊技状態に応じて定められた規定数の賭数が設定されると、入賞ラインLN(図1参照)が有効となり、スタートスイッチ7の操作が有効な状態、すなわち、ゲームが開始可能な状態となる。尚、遊技状態に対応する規定数のうち最大数を超えてメダルが投入された場合には、その分はクレジットに加算される。
When a game is played in the slot machine 1 of the present embodiment, first, medals are inserted from the
入賞ラインとは、各リール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
また、本実施例では、入賞ラインLNに入賞を構成する図柄の組合せが揃ったことを認識しやすくするために、入賞ラインLNとは別に、無効ラインLM1〜4を設定している。無効ラインLM1〜4は、これら無効ラインLM1〜4に揃った図柄の組合せによって入賞が判定されるものではなく、入賞ラインLNに特定の入賞を構成する図柄の組合せが揃った際に、無効ラインLM1〜4のいずれかに入賞ラインLNに揃った場合に入賞となる図柄の組合せ(例えば、ベル−ベル−ベル)が揃う構成とすることで、入賞ラインLNに特定の入賞を構成する図柄の組合せが揃ったことを認識しやすくするものである。 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.
ゲームが開始可能な状態でスタートスイッチ7を操作すると、各リール2L、2C、2Rが回転し、各リール2L、2C、2Rの図柄が連続的に変動する。この状態でいずれかのストップスイッチ8L、8C、8Rを操作すると、対応するリール2L、2C、2Rの回転が停止し、透視窓3に表示結果が導出表示される。
When the
そして全てのリール2L、2C、2Rが停止されることで1ゲームが終了し、入賞ラインLN上に予め定められた図柄の組合せ(以下、役ともいう)が各リール2L、2C、2Rの表示結果として停止した場合には入賞が発生し、その入賞に応じて定められた枚数のメダルが遊技者に対して付与され、クレジットに加算される。また、クレジットが上限数(本実施例では50)に達した場合には、メダルが直接メダル払出口9(図1参照)から払い出されるようになっている。また、入賞ラインLN上に、遊技状態の移行を伴う図柄の組合せが各リール2L、2C、2Rの表示結果として停止した場合には図柄の組合せに応じた遊技状態に移行するようになっている。
Then, when all the
尚、本実施例では、スタートスイッチ7の操作が有効な状態でスタートスイッチ7の操作が検出されたときにゲームが開始し、全てのリールが停止したときにゲームが終了する。また、ゲームを実行するための1単位の制御(ゲーム制御)は、前回のゲームの終了に伴う全ての制御が完了したときに開始し、当該ゲームの終了に伴う全ての制御が完了したときに終了する。
In this embodiment, the game starts when the operation of the
また、本実施例では、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
リール2L、2C、2Rは、1分間に80回転し、80×21(1リール当たりの図柄コマ数)=1680コマ分の図柄を変動させるので、190msの間では最大で4コマの図柄を引き込むことができることとなる。つまり、停止図柄として選択可能なのは、ストップスイッチ8L、8C、8Rが操作されたときに表示されている図柄と、そこから4コマ先までにある図柄、合計5コマ分の図柄である。
The
このため、例えば、ストップスイッチ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
以下では、特に区別する必要がない場合にはリール2L、2C、2Rを単にリールという場合がある。また、リール2Lを左リール、リール2Cを中リール、リール2Rを右リールという場合がある。また、ストップスイッチ8L、8C、8Rの操作によりリール2L、2C、2Rを停止させる操作を停止操作という場合がある。
Hereinafter, the
図3は、スロットマシン1の構成を示すブロック図である。スロットマシン1には、図3に示すように、遊技制御基板40、演出制御基板90、電源基板101が設けられており、遊技制御基板40によって遊技状態が制御され、演出制御基板90によって遊技状態に応じた演出が制御され、電源基板101によってスロットマシン1を構成する電気部品の駆動電源が生成され、各部に供給される。
FIG. 3 is a block diagram showing the configuration of the slot machine 1. As shown in FIG. 3, the slot machine 1 is provided with a
電源基板101には、外部からAC100Vの電源が供給されるとともに、このAC100Vの電源からスロットマシン1を構成する電気部品の駆動に必要な直流電圧が生成され、遊技制御基板40及び演出制御基板90に供給されるようになっている。また、電源基板101には、前述したホッパーモータ34b、払出センサ34c、満タンセンサ35a、設定キースイッチ37、リセット/設定スイッチ38、電源スイッチ39が接続されている。
The
遊技制御基板40には、前述したMAXBETスイッチ6、スタートスイッチ7、ストップスイッチ8L、8C、8R、精算スイッチ10、リセットスイッチ23、打止スイッチ36a、自動精算スイッチ36b、投入メダルセンサ31、ドア開放検出スイッチ25、リールセンサ33L、33C、33Rが接続されているとともに、電源基板101を介して前述した払出センサ34c、満タンセンサ35a、設定キースイッチ37、リセット/設定スイッチ38が接続されており、これら接続されたスイッチ類の検出信号が入力されるようになっている。また、遊技制御基板40には、前述したクレジット表示器11、遊技補助表示器12、1〜3BETLED14〜16、投入要求LED17、スタート有効LED18、ウェイト中LED19、リプレイ中LED20、BETスイッチ有効LED21、左、中、右停止有効LED22L、22C、22R、設定値表示器24、流路切替ソレノイド30、リールモータ32L、32C、32Rが接続されているとともに、電源基板101を介して前述したホッパーモータ34bが接続されており、これら電気部品は、遊技制御基板40に搭載された後述のメイン制御部41の制御に基づいて駆動されるようになっている。
On the
遊技制御基板40には、遊技の進行に関する処理を行うメイン制御部41、制御用クロックCCLKを生成する制御用クロック生成回路42、乱数用クロックRCLKを生成する乱数用クロック生成回路43、スイッチ類から入力された検出信号を取り込んでメイン制御部41に伝送するスイッチ検出回路44、モータ駆動信号(ステッピングモータの位相信号)をリールモータ32L、32C、32Rに伝送するモータ駆動回路45、ソレノイド駆動信号を流路切替ソレノイド30に伝送するソレノイド駆動回路46、LED駆動信号を各種表示器やLEDに伝送するLED駆動回路47、電圧低下を検出したときに、その旨を示す電圧低下信号をメイン制御部41に対して出力する電断検出回路48、電源投入時または電源遮断時などの電源が不安定な状態においてメイン制御部41にシステムリセット信号を与えるリセット回路49が搭載されている。
The
図4は、遊技制御基板40に搭載されたメイン制御部41の構成例を示している。図4に示すメイン制御部41は、1チップマイクロコンピュータであり、外部バスインターフェイス501と、クロック回路502と、照合用ブロック503と、固有情報記憶回路504と、演算回路505と、リセット/割込コントローラ506と、CPU(Central Processing Unit)41aと、ROM(Read Only Memory)41bと、RAM(Random Access Memory)41cと、フリーランカウンタ回路507と、乱数回路508a、508bと、タイマ回路509と、割込コントローラ510と、パラレル入力ポート511と、シリアル通信回路512と、パラレル出力ポート513と、アドレスデコード回路514と、を備えて構成される。リセット/割込コントローラ506は、指定エリア外走行禁止(IAT)回路506aとウォッチドッグタイマ(WDT)506bとを備える。
FIG. 4 shows a configuration example of the
リセット/割込コントローラ506は、メイン制御部41の内部や外部にて発生する各種リセット、割込要求を制御するためのものである。リセット/割込コントローラ506は、指定エリア外走行禁止(IAT)回路506aとウォッチドッグタイマ(WDT)506bとを備える。IAT回路506aは、ユーザプログラムが指定エリア内で正しく実行されているか否かを監視する回路であり、指定エリア外でユーザプログラムが実行されたことを検出するとIAT発生信号を出力する機能を備える。また、ウォッチドッグタイマ506bは、設定期間ごとにタイムアウト信号を発生させる機能を備える。
The reset / interrupt
外部バスインターフェイス501は、メイン制御部41を構成するチップの外部バスと内部バスとのインターフェイス機能や、アドレスバス、データバス及び各制御信号の方向制御機能などを有するバスインターフェイスである。クロック回路502は、制御用クロックCCLKを2分周することなどにより、内部システムクロックSCLKを生成する回路である。照合用ブロック503は、外部の照合機と接続し、チップの照合を行う機能を備える。固有情報記憶回路504は、メイン制御部41の内部情報となる複数種類の固有情報を記憶する回路である。演算回路505は、乗算及び除算を行う回路である。
The
CPU41aは、ROM41bから読み出した制御コードに基づいてユーザプログラム(ゲーム制御用の遊技制御処理プログラム)を実行することにより、スロットマシン1における遊技制御を実行する制御用CPUである。こうした遊技制御が実行されるときには、CPU41aがROM41bから固定データを読み出す固定データ読出動作や、CPU41aがRAM41cに各種の変動データを書き込んで一時記憶させる変動データ書込動作、CPU41aがRAM41cに一時記憶されている各種の変動データを読み出す変動データ読出動作、CPU41aが外部バスインターフェイス501やパラレル入力ポート511、シリアル通信回路512などを介してメイン制御部41の外部から各種信号の入力を受け付ける受信動作、CPU41aが外部バスインターフェイス501やシリアル通信回路512、パラレル出力ポート513などを介してメイン制御部41の外部へと各種信号を出力する送信動作等も行われる。
The
ROM41bには、ユーザプログラム(ゲーム制御用の遊技制御処理プログラム)を示す制御コードや固定データ等が記憶されている。RAM41cは、ゲーム制御用のワークエリアを提供する。ここで、RAM41cの少なくとも一部は、バックアップ電源によってバックアップされているバックアップRAMであれば良い。すなわち、スロットマシン1への電力供給が停止しても、所定期間はRAM41cの少なくとも一部の内容が保存される。
The
フリーランカウンタ回路507として、8ビットのフリーランカウンタを搭載している。乱数回路508a、508bは、8ビット乱数や16ビット乱数といった、所定の更新範囲を有する乱数値となる数値データを生成する回路である。本実施例では、乱数回路508a、508bのうち16ビット乱数回路508bが生成するハードウェア乱数は、後述する内部抽選用の乱数として用いられる。タイマ回路509は、16ビットプログラマブルタイマであり、設定されたタイマ値を制御用クロックCCLKの入力に基づいてダウンカウントし、0000hに達したときに割込コントローラへの割込要求信号を出力する。本実施例では、タイマ回路509を用いて定期的な割込要求や時間計測を行うことが可能である。
As the free-
割込コントローラ510は、割込端子からの外部割込要求や、内蔵の周辺回路(例えば、シリアル通信回路512、乱数回路508a、508b、タイマ回路509)からの割込要求を制御する回路である。パラレル入力ポート511は、8ビット幅の入力専用ポートを内蔵する。また、図4に示すメイン制御部41が備えるパラレル出力ポート513は、11ビット幅の出力専用ポートを内蔵する。シリアル通信回路512は、外部に対する入出力において非同期シリアル通信を行う回路である。
The interrupt
アドレスデコード回路514は、メイン制御部41の内部における各機能ブロックのデコードや、外部装置用のデコード信号であるチップセレクト信号のデコードを行うための回路である。チップセレクト信号により、メイン制御部41の内部回路、あるいは、周辺デバイスとなる外部装置を、選択的に有効動作させて、CPU41aからのアクセスが可能となる。
The
図5は、メイン制御部41が用いるメモリ領域のアドレスマップである。図5に示すように、メイン制御部41が用いるメモリ領域は、RAM41cに割り当てられたメモリ領域(0000h〜7FFFh)と、ROM41bに割り当てられたメモリ領域(8000h〜FFFFh)と、を含む。
FIG. 5 is an address map of the memory area used by the
RAM41cのメモリ領域は、ワークとして使用可能な使用可能領域(0000h〜01FFh)と、メイン制御部41に搭載されている各機能を制御するためのレジスタ群が格納される内部機能レジスタ領域(1000h〜1080h)と、アクセスが禁止される未使用領域(0200h〜0FFFh、A800h〜FFFFh)と、を含む。
The memory area of the
ROM41bのメモリ領域は、プログラム及び固定データが格納されるプログラム/データ領域(8000h〜A6FFh)と、プログラムのタイトル、バージョン等の任意のデータを設定可能なROMコメント領域(A700h〜A7FFh)と、CALLV命令のサブルーチンの先頭アドレス及び割込処理の先頭アドレスが設定されるベクタテーブル領域(A780h〜A7A7h)と、メイン制御部41の内部機能をハードウェア的に設定するためのパラメータが設定されるHWパラメータ領域(アドレスA7A8h〜A7FFh)と、アクセスが禁止される未使用領域(A800h〜FFFFh)を含む。
The memory area of the
HWパラメータ領域に設定されるパラメータは、プログラム/データ領域で使用するROM領域の最終アドレス(HPRGEND)、アクセス禁止するRAM領域の開始アドレス(HRAMSTAT)及び最終アドレス(HRAMEND)を含む。 The parameters set in the HW parameter area include the final address (HPRGEND) of the ROM area used in the program / data area, the start address (HRAMSTAT) and the final address (HRAMEND) of the RAM area for which access is prohibited.
そして、メイン制御部41は、HPRGENDに設定されたアドレスからA6FFhの間の領域、すなわちプログラム/データ領域のうちプログラム等が格納されていない領域へのアクセスがあったとき、HRAMSTATに設定されたアドレスからHRAMENDに設定されたアドレスの間の領域、すなわち使用可能領域のうちアクセス禁止が設定された領域へのアクセスがあったとき、ROMコメント領域へのアクセスがあったとき、HWパラメータ領域へのアクセスがあったときに、不正アクセスと判断してイリーガルアクセスリセットを発生させる。イリーガルアクセスリセットが発生すると、後述する特殊エラー状態に制御され、遊技の進行が不能化されるとともに、設定変更状態に移行し、新たに設定値が設定されるまで解除されないようになっている。
When the
このようにメイン制御部41は、プログラム/データ領域のうちプログラム等が格納されていない領域へのアクセスがあったとき、使用可能領域のうちアクセス禁止が設定された領域へのアクセスがあったとき、すなわち正常な動作ではアクセスすることのないメモリ領域へのアクセスがあったときにイリーガルアクセスリセットを発生させることで、遊技の進行を不能化させるので、ROM41bの未使用領域や動作とは関係しない領域、RAM41cの未使用領域等に不正なプログラムが格納された場合であっても、不正なプログラムが実行されてしまうことを防止できる。
As described above, when the
また、メイン制御部41は、システムリセット信号の入力によるシステムリセット、WDT506bによるWDTリセット、前述のイリーガルアクセスリセットが発生することで起動することとなるが、この際、ベクタテーブル領域に設定された値が、0000h(未使用のベクタテーブル領域に設定される値)であるか、または8000h〜HPRGENDに設定されたアドレスの領域、すなわちプログラム領域のうちプログラム等が実際に格納された領域を示す値であるか、を判定し、ベクタテーブル領域に設定された値が0000hでもなく、8000h〜HPRGENDに設定されたアドレスの領域を示す値でもない場合には、起動しないようになっている。
Further, the
このようにメイン制御部41は、ベクタテーブル領域に設定された値、すなわちCALLV命令のサブルーチンの先頭アドレス及び割込処理の先頭アドレスが、プログラムが設定される領域外を示す値である場合に起動しないことで、割込の発生等により本来意図していない処理が実行されてしまうことを事前に防止できる。
As described above, the
メイン制御部41は、パラレル出力ポート513を介してサブ制御部91に各種のコマンドを送信する。メイン制御部41からサブ制御部91へ送信されるコマンドは一方向のみで送られ、サブ制御部91からメイン制御部41へ向けてコマンドが送られることはない。また、本実施例では、パラレル出力ポート513を介してサブ制御部91に対してコマンドが送信される構成、すなわちコマンドがパラレル信号にて送信される構成であるが、シリアル通信回路512を介してサブ制御部91に対してコマンドを送信する構成、すなわちコマンドをシリアル信号にて送信する構成としても良い。
The
また、メイン制御部41は、遊技制御基板40に接続された各種スイッチ類の検出状態がパラレル入力ポート511から入力される。そしてメイン制御部41は、これらパラレル入力ポート511から入力される各種スイッチ類の検出状態に応じて段階的に移行する基本処理を実行する。また、メイン制御部41は、割込の発生により基本処理に割り込んで割込処理を実行できるようになっている。本実施例では、タイマ回路509にてタイムアウトが発生したこと、すなわち一定時間間隔(本実施例では、約0.56ms)毎に後述するタイマ割込処理(メイン)を実行する。また、メイン制御部41は、割込処理の実行中に他の割込を禁止するように設定されているとともに、複数の割込が同時に発生した場合には、予め定められた順位によって優先して実行する割込が設定されている。尚、割込処理の実行中に他の割込要因が発生し、割込処理が終了してもその割込要因が継続している状態であれば、その時点で新たな割込が発生することとなる。
The
メイン制御部41は、基本処理として遊技制御基板40に接続された各種スイッチ類の検出状態が変化するまでは制御状態に応じた処理を繰り返しループし、各種スイッチ類の検出状態の変化に応じて段階的に移行する処理を実行する。また、メイン制御部41は、一定時間間隔(本実施例では、約0.56ms)毎にタイマ割込処理(メイン)を実行する。尚、タイマ割込処理(メイン)の実行間隔は、基本処理において制御状態に応じて繰り返す処理が一巡する時間とタイマ割込処理(メイン)の実行時間とを合わせた時間よりも長い時間に設定されており、今回と次回のタイマ割込処理(メイン)との間で必ず制御状態に応じて繰り返す処理が最低でも一巡することとなる。
The
演出制御基板90には、液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の演出装置が接続されており、これら演出装置は、演出制御基板90に搭載された後述のサブ制御部91による制御に基づいて駆動されるようになっている。尚、本実施例では、演出制御基板90に搭載されたサブ制御部91により、液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の演出装置の出力制御が行われる構成であるが、サブ制御部91とは別に演出装置の出力制御を直接的に行う出力制御部を演出制御基板90または他の基板に搭載し、サブ制御部91がメイン制御部41からのコマンドに基づいて演出装置の出力パターンを決定し、サブ制御部91が決定した出力パターンに基づいて出力制御部が演出装置の出力制御を行う構成としても良く、このような構成では、サブ制御部91及び出力制御部の双方によって演出装置の出力制御が行われることとなる。また、本実施例では、演出装置として液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55を例示しているが、演出装置は、これらに限られず、例えば、機械的に駆動する表示装置や機械的に駆動する役モノなどを演出装置として適用しても良い。
The effect control board 90 is connected to effect devices such as the
演出制御基板90には、サブCPU91a、ROM91b、RAM91c、I/Oポート91dを備えたマイクロコンピュータにて構成され、演出の制御を行うサブ制御部91、演出制御基板90に接続された液晶表示器51の表示制御を行う表示制御回路92、演出効果LED52、リールLED55の駆動制御を行うLED駆動回路93、スピーカ53、54からの音声出力制御を行う音声出力回路94、電源投入時またはサブCPU91aからの初期化命令が一定時間入力されないときにサブCPU91aにリセット信号を与えるリセット回路95、演出制御基板90に接続されたスイッチ類から入力された検出信号を検出するスイッチ検出回路96、日付情報及び時刻情報を含む時間情報を出力する時計装置97、スロットマシン1に供給される電源電圧を監視し、電圧低下を検出したときに、その旨を示す電圧低下信号をサブCPU91aに対して出力する電断検出回路98、その他の回路等、が搭載されており、サブCPU91aは、遊技制御基板40から送信されるコマンドを受けて、演出を行うための各種の制御を行うとともに、演出制御基板90に搭載された制御回路の各部を直接的または間接的に制御する。
The effect control board 90 is composed of a microcomputer having a
リセット回路95は、遊技制御基板40においてメイン制御部41にシステムリセット信号を与えるリセット回路49よりもリセット信号を解除する電圧が低く定められており、電源投入時においてサブ制御部91は、メイン制御部41よりも早い段階で起動するようになっている。一方で、電断検出回路98は、遊技制御基板40においてメイン制御部41に電圧低下信号を出力する電断検出回路48よりも電圧低下信号を出力する電圧が低く定められており、電断時においてサブ制御部91は、メイン制御部41よりも遅い段階で停電を検知し、後述する電断処理(サブ)を行うこととなる。
The
サブ制御部91は、メイン制御部41と同様に、割込機能を備えており、メイン制御部41からのコマンド受信時に割込を発生させて、メイン制御部41から送信されたコマンドを取得し、バッファに格納するコマンド受信割込処理を実行する。また、サブ制御部91は、システムクロックの入力数が一定数に到達する毎、すなわち一定時間間隔(約2ms)毎に割込を発生させて後述するタイマ割込処理(サブ)を実行する。また、サブ制御部91は、メイン制御部41とは異なり、コマンドの受信に基づいて割込が発生した場合には、タイマ割込処理(サブ)の実行中であっても、当該処理に割り込んでコマンド受信割込処理を実行し、タイマ割込処理(サブ)の契機となる割込が同時に発生してもコマンド受信割込処理を最優先で実行するようになっている。また、サブ制御部91にも、停電時においてバックアップ電源が供給されており、バックアップ電源が供給されている間は、RAM91cに記憶されているデータが保持されるようになっている。
Similar to the
本実施例のスロットマシン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 the set value in a lottery that affects the advantage to the player, such as an internal lottery, a navigation stock lottery, and an extra lottery to be 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
尚、設定キースイッチ37がON状態で電源投入された場合に、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定変更状態に移行する構成としても良く、このような構成とすることで、前面扉1bが開放されていない状態で不正に設定変更がされてしまうことを防止できる。また、前面扉1bの開放に対応する検出がされていることを条件に、設定変更状態に移行する構成においては、設定変更状態に移行後、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされなくなっても、設定変更状態を維持することが好ましく、これにより、設定変更中に前面扉1bが一時的に閉じてしまっても、再度、設定変更状態に移行させるための操作を必要とせず、設定変更操作が煩雑となってしまうことがない。また、設定変更状態に移行後、スタートスイッチ7が操作されて設定値が確定した後、設定キースイッチ37がOFFとなったときに、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定変更状態を終了して遊技の進行が可能な状態に移行する構成としても良く、このような構成においても、前面扉1bが開放されていない状態で不正に設定変更がされてしまうことを防止できる。
In addition, when the setting
また、設定値を確認するためには、ゲーム終了後、賭数が設定されていない状態で設定キースイッチ37をON状態とすれば良い。このような状況で設定キースイッチ37をON状態とすると、設定値表示器24にRAM41cから読み出された設定値が表示されることで設定値を確認可能な設定確認状態に移行する。設定確認状態においては、ゲームの進行が不能であり、設定キースイッチ37をOFF状態とすることで、設定確認状態が終了し、ゲームの進行が可能な状態に復帰することとなる。
In order to confirm the set value, after the game is over, the setting
尚、ゲーム終了後、賭数が設定されていない状態で設定キースイッチ37がON状態となったときに、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定確認状態に移行する構成としても良く、このような構成とすることで、前面扉1bが開放されていない状態で不正に設定値が確認されてしまうことを防止できる。また、前面扉1bの開放に対応する検出がされていることを条件に、設定確認状態に移行する構成においては、設定確認状態に移行後、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされなくなっても、設定確認状態を維持することが好ましく、これにより、設定確認中に前面扉1bが一時的に閉じてしまっても、再度、設定確認状態に移行させるための操作を必要とせず、設定確認操作が煩雑となってしまうことがない。また、設定確認状態に移行後、スタートスイッチ7が操作されて設定値が確定した後、設定キースイッチ37がOFFとなったときに、ドア開放検出スイッチ25により前面扉1bの開放に対応する検出がされていることを条件に、設定確認状態を終了して遊技の進行が可能な状態に復帰する構成としても良く、このような構成においても、前面扉1bが開放されていない状態で不正に設定値が確認されてしまうことを防止できる。
It should be noted that, after the game is over, when the setting
本実施例のスロットマシン1においては、メイン制御部41は、タイマ割込処理(メイン)を実行する毎に、電断検出回路48からの電圧低下信号が検出されているか否かを判定する停電判定処理を行い、停電判定処理において電圧低下信号が検出されていると判定した場合に、次回復帰時にRAM41cのデータが正常か否かを判定するためのデータを設定する電断処理(メイン)を実行する。
In the slot machine 1 of the present embodiment, the
そして、メイン制御部41は、その起動時においてRAM41cのデータが正常であることを条件に、RAM41cに記憶されているデータに基づいてメイン制御部41の処理状態を電断前の状態に復帰させるが、RAM41cデータが正常でない場合には、RAM異常と判定し、RAM異常エラーコードをレジスタにセットしてRAM異常エラー状態に制御し、遊技の進行を不能化させるようになっている。
Then, the
エラー状態は、リセット操作(リセット/設定スイッチ38またはリセットスイッチ23の操作)により解除される通常エラー状態と、前述した設定変更状態に移行し、新たな設定値が設定されるまで解除されることがない特殊エラー状態と、を含み、RAM異常エラー状態は、特殊エラー状態であり、一度RAM異常エラー状態に制御されると、設定変更状態に移行し、新たな設定値が設定されるまで解除されることがない。
The error state shifts to a normal error state that is canceled by a reset operation (operation of the reset / setting
また、サブ制御部91もタイマ割込処理(サブ)において電断検出回路98からの電圧低下信号が検出されているか否かを判定し、電圧低下信号が検出されていると判定した場合に、次回復帰時にRAM91cのデータが正常か否かを判定するためのデータを設定する電断処理(サブ)を実行する。
Further, the
そして、サブ制御部91は、その起動時においてRAM91cのデータが正常であることを条件に、RAM91cに記憶されているデータに基づいてサブ制御部91の処理状態を電断前の状態に復帰させるが、RAM91cのデータが正常でない場合には、RAM異常と判定し、RAM91cを初期化するようになっている。この場合、メイン制御部41と異なり、RAM91cが初期化されるのみで演出の実行が不能化されることはない。
Then, the
また、サブ制御部91は、その起動時においてRAM91cのデータが正常であると判断された場合でも、メイン制御部41から設定変更状態に移行した旨を示す後述の設定コマンドを受信した場合、起動後一定時間が経過してもメイン制御部41の制御状態が復帰した旨を示す後述の復帰コマンドも設定コマンドも受信しない場合にも、RAM91cを初期化するようになっている。この場合も、RAM91cが初期化されるのみで演出の実行が不能化されることはない。
In addition, even when it is determined that the data in the
次に、メイン制御部41のRAM41cの初期化について説明する。メイン制御部41のRAM41cの格納領域のうちの使用可能領域は、重要ワーク、特別ワーク、一般ワーク、未使用領域、スタック領域に区分されており、重要ワーク、特別ワーク、一般ワーク、未使用領域、スタック領域の順で配置されている。
Next, initialization of the
本実施例においてメイン制御部41は、設定キースイッチ37がOFFの状態での起動時でRAM41cのデータが破壊されているとき、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されていないとき、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されているとき、設定変更終了時、特定の遊技状態の終了時、1ゲーム終了時の6つからなる初期化条件が成立した際に、各初期化条件に応じて初期化される領域の異なる4種類の初期化を行う。
In this embodiment, the
初期化0は、設定キースイッチ37がOFFの状態での起動時でRAM41cのデータが破壊されているとき、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されているときに行う初期化であり、初期化0では、使用可能領域全ての領域が初期化される。初期化1は、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されていないときに行う初期化であり、初期化1では、使用可能領域のうち重要ワーク及び特別ワーク以外の領域が初期化される。初期化2は、特定の遊技状態の終了時に行う初期化であり、初期化2では、使用可能領域のうち一般ワーク、未使用領域及び未使用スタック領域が初期化される。初期化3は、1ゲーム終了時に行う初期化であり、初期化3では、使用可能領域のうち、未使用領域及び未使用スタック領域が初期化される。尚、設定値や遊技状態を示すデータの格納領域は、特別ワークに割り当てられており、設定キースイッチ37がONの状態での起動時でRAM41cのデータが破壊されていないとき、すなわちRAM41cのデータが正常で設定変更される場合には、設定値や遊技状態を示すデータが保持されることとなる。また、後述のタイマカウンタの格納領域は、特別ワークに割り当てられており、ゲームの終了時や特定の遊技状態の終了時には初期化されることなく保持されることとなる。
本実施例のスロットマシン1は、遊技状態に応じて設定可能な賭数の規定数が定められており、遊技状態に応じて定められた規定数の賭数が設定されたことを条件にゲームを開始させることが可能となる。尚、本実施例では、遊技状態に応じた規定数の賭数が設定された時点で、入賞ラインLNが有効化される。 In the slot machine 1 of the present embodiment, a prescribed number of bets that can be set according to the gaming state is determined, and the game is performed on the condition that the prescribed number of bets determined according to the gaming state is set. Can be started. In the present embodiment, the winning line LN is activated when a specified number of bets according to the gaming state are set.
そして、本実施例では、全てのリール2L、2C、2Rが停止した際に、有効化された入賞ライン(本実施例の場合、常に全ての入賞ラインが有効化されるため、以下では、有効化された入賞ラインを単に入賞ラインという)上に役と呼ばれる図柄の組合せが揃うと入賞となる。役は、同一図柄の組合せであっても良いし、異なる図柄を含む組合せであっても良い。
In this embodiment, when all the
入賞となる役の種類は、遊技状態に応じて定められているが、大きく分けて、メダルの払い出しを伴う小役と、賭数の設定を必要とせずに次のゲームを開始可能となる再遊技役と、遊技者にとって有利な遊技状態への移行を伴う特別役と、がある。以下では、小役と再遊技役をまとめて一般役とも呼ぶ。遊技状態に応じて定められた各役の入賞が発生するためには、後述する内部抽選に当選して、当該役の当選フラグがRAM41cに設定されている必要がある。尚、これら各役の当選フラグのうち、小役及び再遊技役の当選フラグは、当該フラグが設定されたゲームにおいてのみ有効とされ、次のゲームでは無効となるが、特別役の当選フラグは、当該フラグにより許容された役の組合せが揃うまで有効とされ、許容された役の組合せが揃ったゲームにおいて無効となる。すなわち特別役の当選フラグが一度当選すると、例え、当該フラグにより許容された役の組合せを揃えることができなかった場合にも、その当選フラグは無効とされずに、次のゲームへ持ち越されることとなる。
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. 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
以下、本実施例の内部抽選について説明する。内部抽選は、メイン制御部41が、上記した各役への入賞を許容するか否かを、全てのリール2L、2C、2Rの表示結果が導出される以前(具体的には、スタートスイッチ7の検出時)に決定するものである。内部抽選では、まず、スタートスイッチ7の検出時に内部抽選用の乱数値(0〜65535の整数)を取得する。詳しくは、乱数回路508bにより生成され、乱数回路508bの乱数値レジスタに格納されている値をRAM41cに割り当てられた抽選用ワークに設定する。そして、遊技状態に応じて定められた各役について、抽選用ワークに格納された数値データと、現在の遊技状態、賭数及び設定値に応じて定められた各役の判定値数に応じて入賞を許容するか否かの判定が行われる。
Hereinafter, the internal lottery of the present embodiment will be described. In the internal lottery, whether or not the
内部抽選では、内部抽選の対象となる役、現在の遊技状態及び設定値に対応して定められた判定値数を、内部抽選用の乱数値(抽選用ワークに格納された数値データ)に順次加算し、加算の結果がオーバーフローしたときに、当該役に当選したものと判定される。このため、判定値数の大小に応じた確率(判定値数/65536)で役が当選することとなる。 In the internal lottery, the number of judgment values determined in accordance with the internal lottery target, the current gaming state, and the set value are sequentially assigned to the random number for internal lottery (numerical data stored in 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
次に、リール2L、2C、2Rの停止制御について説明する。メイン制御部41は、リールの回転が開始したとき、及びリールが停止し、かつ未だ回転中のリールが残っているときに、ROM41bに格納されているテーブルインデックス及びテーブル作成用データを参照して、回転中のリール別に停止制御テーブルを作成する。停止制御テーブルは、停止操作が行われたタイミング別の滑りコマ数を特定可能なデータである。そして、ストップスイッチ8L、8C、8Rのうち、回転中のリールに対応するいずれかの操作が有効に検出されたときに、該当するリールの停止制御テーブルを参照し、参照した停止制御テーブルの滑りコマ数に基づいて、操作されたストップスイッチ8L、8C、8Rに対応するリール2L、2C、2Rの回転を停止させる制御を行う。
Next, stop control of the
本実施例では、滑りコマ数として0〜4の値が定められており、停止操作を検出してから最大4図柄を引き込んでリールを停止させることが可能である。すなわち停止操作を検出した停止操作位置を含め、最大5コマの範囲から図柄の停止位置を指定できるようになっている。また、1図柄分リールを移動させるのに1コマの移動が必要であるので、停止操作を検出してから最大4図柄を引き込んでリールを停止させることが可能であり、停止操作を検出した停止操作位置を含め、最大5図柄の範囲から図柄の停止位置を指定できることとなる。 In this embodiment, a value of 0 to 4 is determined as the number of sliding symbols, and it is possible to stop the reel by drawing in a maximum of 4 symbols after detecting a 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コマの引込範囲で当選している小役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、入賞ライン上に最大4コマの引込範囲で当選している小役を引き込めない場合には、入賞ライン上に最大4コマの引込範囲で当選している特別役を揃えて停止させることができれば、これを揃えて停止させる制御が行われ、当選していない役は、4コマの引込範囲で揃えずに停止させる制御が行われることとなる。すなわちこのような場合には、特別役よりも小役を入賞ライン上に揃える制御が優先され、小役を引き込めない場合にのみ、特別役を入賞させることが可能となる。尚、特別役と小役を同時に引き込める場合には、小役のみを引き込み、特別役と同時に小役が入賞ライン上に揃わないようになる。また、特別役と小役が同時に当選している場合に、小役よりも特別役を入賞ライン上に揃える制御が優先され、特別役を引き込めない場合にのみ、小役を入賞ライン上に揃える制御を行っても良い。 In this embodiment, if any of the winning combinations is won, when the stop operation is performed, the winning combination can be stopped on the winning line within a drawing range of up to four frames. If possible, control is performed to align and stop, and the winning combination that has not been won is controlled to be stopped without being aligned in the drawing range of a maximum of 4 frames. 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 maximum on the winning line when the stop operation is performed If it is possible to align and stop the winning roles in the 4-frame pull-in range, control will be performed to align them and stop them, and the winning roles will be selected on the winning line within the maximum 4-frame pull-in range. If it is not possible to withdraw, if a special role that has been elected within the draw range of up to 4 frames can be aligned and stopped on the winning line, it will be controlled and stopped. Control to stop without aligning in the drawing range of 4 frames will be performed. 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. In the case where a special combination and a small combination can be withdrawn at the same time, only the small combination is drawn, and the small combination is not aligned on the winning line at the same time as the special combination. Also, when a special role and a small role are elected at the same time, priority is given to the control of aligning the special role on the winning line over the small role, and only when the special role cannot be drawn, the small role is placed on the winning line. You may perform control to align.
また、本実施例では、特別役が前ゲーム以前から持ち越されている状態で再遊技役が当選した場合など、特別役と再遊技役が同時に当選している場合には、停止操作が行われた際に、入賞ライン上に最大4コマの引込範囲で再遊技役の図柄を揃えて停止させる制御を行う。尚、この場合、再遊技役を構成する図柄または同時当選する再遊技役を構成する図柄は、リール2L、2C、2Rのいずれについても5図柄以内、すなわち4コマ以内の間隔で配置されており、4コマの引込範囲で必ず任意の位置に停止させることができるので、特別役と再遊技役が同時に当選している場合には、遊技者によるストップスイッチ8L、8C、8Rの操作タイミングに関わらずに、必ず再遊技役が揃って入賞することとなる。すなわちこのような場合には、特別役よりも再遊技役を入賞ライン上に揃える制御が優先され、必ず再遊技役が入賞することとなる。尚、特別役と再遊技役を同時に引き込める場合には、再遊技役のみを引き込み、再遊技役と同時に特別役が入賞ライン上に揃わないようになる。
Also, in this embodiment, when the special role and the replaying role are won at the same time, such as when the replaying role is won while the special role has been carried over from before the previous game, the stop operation is performed. In this case, the control is performed so that the symbols of the re-gamer are aligned and stopped on the winning line 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
尚、本実施例では、停止操作が行われたタイミング別の滑りコマ数を特定可能な停止制御テーブルを用いてリールの停止制御を行う構成であるが、停止可能な位置を特定可能な停止位置テーブルから停止位置を特定し、特定した停止位置にリールを停止させる停止制御を行う構成、停止制御テーブルや停止位置テーブルを用いずに、停止操作がされたタイミングで停止可能な停止位置を検索・特定し、特定した停止位置にリールを停止させる停止制御を行う構成、停止制御テーブルを用いた停止制御、停止位置テーブルを用いた停止制御、停止制御テーブルや停止位置テーブルを用いずに停止可能な停止位置を検索・特定することによる停止制御を併用する構成、停止制御テーブルや停止位置テーブルを一部変更して停止制御を行う構成としても良い。 In this embodiment, the reel stop control is performed by using a stop control table that can specify the number of sliding frames for each timing at which the stop operation is performed. A configuration that performs stop control by specifying the stop position from the table and stopping the reel at the specified stop position, and searching for a stop position that can be stopped when the stop operation is performed without using the stop control table or the stop position table. A configuration that performs stop control that identifies and stops the reel at the specified stop position, stop control using the stop control table, stop control using the stop position table, and can be stopped without using the stop control table or the stop position table A configuration that uses stop control by searching and specifying the stop position together, and a configuration that performs stop control by partially changing the stop control table and stop position table. It may be.
本実施例においてメイン制御部41は、ゲームの開始後、リールの回転を開始させる毎にその時点、すなわちリールの回転を開始させた時点から経過した時間であるゲーム時間を計時するようになっており、1ゲームの終了後、メダルの投入等により規定数の賭数が設定され、ゲームの開始操作が有効となった状態でゲームの開始操作がされたときに、前のゲームのリール回転開始時点から計時を開始したゲーム時間が規定時間(本実施例では4.1秒)以上であれば、すなわち前のゲームのリール回転開始時点から規定時間が経過していれば、ウェイトを発生させず、その時点で当該ゲームにおける遊技のためのリールの回転を開始させる。一方、1ゲームの終了後、メダルの投入等により規定数の賭数が設定され、ゲームの開始操作が有効となった状態でゲームの開始操作がされたときに、前のゲームのリール回転開始時点から計時を開始したゲーム時間が規定時間未満であれば、すなわち前のゲームのリール回転開始時点から規定時間が経過していなければ、ウェイトを発生させて、その時点ではリールの回転を開始させず、前のゲームのリール回転開始時点から計時を開始したゲーム時間が規定時間に到達するまで待機し、規定時間に到達した時点でリールの回転を開始させる。
In the present embodiment, the
本実施例においてメイン制御部41は、遊技状態やエラーの発生状況などを示す外部出力信号を出力する制御を行う。これら外部出力信号は、外部出力基板1000、スロットマシン1が設置される遊技店(ホール)の情報提供端子板を介してホールコンピュータなどのホール機器に出力されるようになっている。
In the present embodiment, the
メイン制御部41は、賭数の設定に用いられたメダル数を示すメダルIN信号、入賞の発生により遊技者に付与されたメダル数を示すメダルOUT信号、遊技状態がRB(レギュラーボーナス)中の旨を示すRB中信号、遊技状態がBB(ビッグボーナス)中の旨を示すBB中信号、RT2中の旨を示すRT中信号、前面扉1bが開放中の旨を示すドア開放信号、後述する設定変更モードに移行している旨を示す設定変更信号、メダルセレクタの異常を示す投入エラー信号、ホッパーユニット34の異常を示す払出エラー信号をそれぞれ出力する。
The
外部出力基板1000には、リレー回路、パラレル・シリアル変換回路、出力信号毎の端子が設けられ、情報提供端子板の回路と電気的に接続するための接続されるコネクタが設けられている。遊技制御基板40から出力された信号のうち、メダルIN信号、メダルOUT信号、RB中信号、BB中信号は、リレー回路を介して、そのままパルス信号として情報提供端子板に出力される。これに対してドア開放信号、設定変更信号、投入エラー信号、払出エラー信号は、パラレル・シリアル変換回路にて、これらの信号を個別に識別可能なシリアル信号であるセキュリティ信号に変換されて情報提供端子板に出力される。
The
次に、メイン制御部41がサブ制御部91に対して送信するコマンドについて説明する。
Next, commands that the
本実施例では、メイン制御部41は、サブ制御部91に対して、投入枚数コマンド、クレジットコマンド、遊技状態コマンド、内部当選コマンド、リール加速情報コマンド、停止操作時コマンド、滑りコマ数コマンド、停止コマンド、遊技終了コマンド、入賞枚数コマンド、払出開始コマンド、払出終了コマンド、待機コマンド、打止コマンド、エラーコマンド、復帰コマンド、設定コマンド、設定確認コマンド、ドアコマンドを含む複数種類のコマンドを送信する。
In the present embodiment, the
投入枚数コマンドは、メダルの投入枚数、すなわち賭数の設定に使用されたメダル枚数を特定可能なコマンドであり、ゲーム終了後(設定変更後)からゲーム開始までの状態であり、電断復帰時、または規定数の賭数が設定されていない状態においてメダルが投入されるか、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
遊技状態コマンドは、当該ゲームの遊技状態を特定可能なコマンドであり、スタートスイッチ7が操作されてゲームが開始したときに送信される。内部当選コマンドは、内部抽選結果を特定可能なコマンドであり、スタートスイッチ7が操作されてゲームが開始したときであって、遊技状態コマンドの送信後に送信される。遊技状態コマンド、内部当選コマンドは、スタートスイッチ7が操作されてゲームが開始したときに送信されるので、これらコマンドを受信することで、スタートスイッチ7が操作されてゲームが開始したことを特定可能である。
The game state command is a command that can specify the game state of the game, and is transmitted when the
リール加速情報コマンドは、遊技の進行に伴いリールの回転が開始する旨を特定可能なコマンドであり、遊技の進行に伴いリールの回転を開始するときに送信する。停止操作時コマンドは、停止するリールが左リール、中リール、右リールのいずれのリールであるか、該当するリールの停止操作位置の領域番号を特定可能なコマンドであり、各リールの停止操作に伴う停止制御が行われる毎に送信される。滑りコマ数コマンドは、停止するリールが左リール、中リール、右リールのいずれのリールであるか、該当するリールの停止操作がされてから停止するまでに移動する滑りコマ数を特定可能なコマンドであり、各リールの停止操作に伴う停止制御が行われる毎に、対応する停止操作時コマンドが送信された後に送信される。停止コマンドは、停止するリールが左リール、中リール、右リールのいずれのリールであるか、該当するリールの停止位置の領域番号を特定可能なコマンドであり、各リールの停止操作に伴う停止制御が行われる毎に、対応する滑りコマ数コマンドが送信された後に送信される。停止操作時コマンド、滑りコマ数コマンド、停止コマンドは、いずれも停止するリールが左リール、中リール、右リールのいずれのリールであるか、を特定可能であり、かつ各リールの停止操作に伴う停止制御が行われる毎に送信されるので、これらコマンドを受信することで、いずれかのリールの停止操作がされたこと及び停止するリールを特定可能である。 The reel acceleration information command is a command that can specify that the rotation of the reel starts with the progress of the game, and is transmitted when the rotation of the reel starts with the progress of the game. The stop operation command is a command that can specify whether the reel to be stopped is the left reel, the middle reel, or the right reel, and the area number of the stop operation position of the corresponding reel. Sent every time the accompanying stop control is performed. The sliding frame number command is a command that can specify whether the reel to be stopped is a left reel, a middle reel, or a right reel, and the number of sliding frames to be moved from when the corresponding reel is stopped until it stops. Each time stop control associated with the stop operation of each reel is performed, the corresponding stop operation command is transmitted after being transmitted. The stop command is a command that can specify whether the reel to be stopped is a left reel, a middle reel, or a right reel, and the area number of the stop position of the corresponding reel. Stop control associated with the stop operation of each reel Is transmitted after the corresponding sliding frame number command is transmitted. With the stop operation command, the sliding frame number command, and the stop command, it is possible to specify whether the reel to be stopped is the left reel, the middle reel, or the right reel, and accompanying the stop operation of each reel Since it is transmitted every time stop control is performed, by receiving these commands, it is possible to specify that one of the reels has been stopped and the reel to be stopped.
遊技終了コマンドは、遊技が終了された旨を特定可能なコマンドであり、遊技者が第3停止リールを停止させるためにストップスイッチを押下して、そのストップスイッチを離したときに送信される。入賞枚数コマンドは、入賞ラインLNに揃った図柄の組合せ、入賞の有無、並びに入賞の種類、入賞時のメダルの払出枚数を特定可能なコマンドであり、遊技者が第3停止リールを停止させるためにストップスイッチを押下して、そのストップスイッチを離したときであり、遊技終了コマンドの送信後に送信される。遊技終了コマンド、入賞枚数コマンドは、いずれも遊技者が第3停止リールを停止させるためにストップスイッチを押下して、そのストップスイッチを離したときに送信されるので、これらコマンドを受信することで、1ゲームを進行させるのに必要な全ての操作が終了したことを特定可能である。 The game end command is a command that can specify that the game has ended, and is transmitted when the player presses the stop switch to stop the third stop reel and releases the stop switch. The winning number command is a command that can specify a combination of symbols arranged on the winning line LN, whether or not a winning is received, a type of winning, and a payout number of medals at the time of winning. The player stops the third stop reel. This is when the stop switch is pressed and released, and is transmitted after the game end command is transmitted. Both the game end command and the winning number command are transmitted when the player depresses the stop switch to release the third stop reel and releases the stop switch. It is possible to specify that all operations necessary to advance one game have been completed.
払出開始コマンドは、メダルの払出開始を通知するコマンドであり、入賞やクレジット(賭数の設定に用いられたメダルを含む)の精算によるメダルの払出が開始されたときに送信される。また、払出終了コマンドは、メダルの払出終了を通知するコマンドであり、入賞及びクレジットの精算によるメダルの払出が終了したときに送信される。 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.
待機コマンドは、待機状態へ移行する旨を示すコマンドであり、1ゲーム終了後、賭数が設定されずに終了推定時間(本実施例では60秒)経過して待機状態に移行するとき、クレジット(賭数の設定に用いられたメダルを含む)の精算によるメダルの払出が終了し、払出終了コマンドが送信された後に送信される。 The stand-by command is a command indicating a transition to the stand-by state. When one game is over and the bet amount is not set and the estimated end time (60 seconds in this embodiment) has passed, It is transmitted after the payout of medals by the settlement (including medals used for setting the number of bets) is completed and a payout end command is transmitted.
打止コマンドは、打止状態の発生または解除を示すコマンドであり、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の起動時において電断前の制御状態に復帰した際に送信される。設定コマンドは、設定変更状態の開始または終了、設定変更後設定値を示すコマンドであり、設定変更状態に移行する時点で設定変更状態の開始を示す設定コマンドが送信され、設定変更状態の終了時に設定変更状態の終了及び設定変更後の設定値を示す設定コマンドが送信される。また、設定変更状態への移行に伴ってメイン制御部41の制御状態が初期化されるため、設定開始を示す設定コマンドによりメイン制御部41の制御状態が初期化されたことを特定可能である。設定確認コマンドは、設定確認状態の開始または終了を示すコマンドであり、設定確認状態に移行する際に設定確認開始を示す設定確認コマンドが送信され、設定確認状態の終了時に設定確認終了を示す設定確認コマンドが送信される。
The return command is a command indicating that the
ドアコマンドは、ドア開放検出スイッチ25の検出状態、すなわちON(開放状態)/OFF(閉状態)を示すコマンドであり、所定条件成立時(通常時コマンド送信処理の実行時においてコマンドキューが空であるとき)に送信される。
The door command is a command indicating the detection state of the door opening
これらコマンドのうちドアコマンド以外のコマンドは、メイン処理において生成され、RAM41cに設けられたコマンドキューに一時格納され、その後のタイマ割込処理(メイン)の通常時コマンド送信処理、電断時コマンド送信処理において送信される。一方、ドアコマンドは、通常時コマンド送信処理においてコマンドキューにいずれのコマンドも格納されてないときに生成され、RAM41cに設けられたコマンドキューに一時格納され、当該通常時コマンド送信処理おいて送信される。
Of these commands, commands other than the door command are generated in the main process, temporarily stored in the command queue provided in the
次に、メイン制御部41がサブ制御部91に対して送信するコマンドに基づいてサブ制御部91が実行する演出の制御について説明する。サブ制御部91は、メイン制御部41からのコマンドを受信した際に、コマンド受信割込処理を実行する。コマンド受信割込処理では、RAM91cに設けられた受信用バッファに、コマンド伝送ラインから取得したコマンドを格納する。
Next, the control of the effect which the
サブ制御部91は、タイマ割込処理(サブ)において、受信用バッファに未処理のコマンドが格納されているか否かを判定し、未処理のコマンドが格納されている場合には、そのうち最も早い段階で受信したコマンドに基づいてROM91bに格納された制御パターンテーブルを参照し、制御パターンテーブルに登録された制御内容に基づいて液晶表示器51、演出効果LED52、スピーカ53、54、リールLED55等の各種演出装置の出力制御を行う。制御パターンテーブルには、複数種類の演出パターン毎に、コマンドの種類に対応する液晶表示器51の表示パターン、演出効果LED52の点灯態様、スピーカ53、54の出力態様、リールLED55の点灯態様等、これら演出装置の制御パターンが登録されており、サブ制御部91は、コマンドを受信した際に、制御パターンテーブルの当該ゲームにおいてRAM91cに設定されている演出パターンに対応して登録された制御パターンのうち、受信したコマンドの種類に対応する制御パターンを参照し、当該制御パターンに基づいて演出装置の出力制御を行う。これにより演出パターン及び遊技の進行状況に応じた演出が実行されることとなる。
In the timer interrupt process (sub), the
尚、サブ制御部91は、あるコマンドの受信を契機とする演出の実行中に、新たにコマンドを受信した場合には、実行中の制御パターンに基づく演出を中止し、新たに受信したコマンドに対応する制御パターンに基づく演出を実行するようになっている。すなわち演出が最後まで終了していない状態でも、新たにコマンドを受信すると、受信した新たなコマンドが新たな演出の契機となるコマンドではない場合を除いて実行していた演出はキャンセルされて新たなコマンドに基づく演出が実行されることとなる。
If the
演出パターンは、内部当選コマンドを受信した際に、内部当選コマンドが示す内部抽選の結果に応じた選択率にて選択され、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
また、サブ制御部91は、ドアコマンドから特定されるドア開放検出スイッチ25の検出状態に基づいて、ドア開放検出スイッチ25の検出状態がOFF(閉状態)からON(開放状態)に変化したか否かを判定し、OFF(閉状態)からON(開放状態)に変化した場合には、前面扉1bが開放中である旨を報知するドア開放報知を実行する。
Whether the detection state of the door opening
次に、本実施例におけるメイン制御部41が実行する各種制御内容を、図6〜図18に基づいて以下に説明する。
Next, various control contents executed by the
メイン制御部41は、リセットの発生により起動すると、起動時設定を行う。起動時設定では、メイン制御部41が備えるステータスフラグを初期化する。ステータスフラグは、命令の演算結果や実行結果の状態を保持するデータであり、特に割込の禁止/許可を設定する割込マスタ許可フラグを含む。割込マスタ許可フラグの初期値は割込の禁止を示す値であるため、メイン制御部41は、割込が禁止された状態で起動することとなる。
When the
その後、メイン制御部41は、HWパラメータを参照して各種機能を設定した後、プログラム/データ領域に格納されたプログラムに従って、図6のフローチャートに示す初期設定処理を行う。初期設定処理では、まず、割込マスタ許可フラグの値を割込禁止を示す値に設定することで割込を禁止する(Sa1)。前述のようにメイン制御部41は、割込禁止の状態で起動することとなるが、Sa1では、再度、割込を禁止する。次いで、初期化データをセットし(Sa2)、パラレル出力ポート513を含む各出力ポートを初期化する(Sa3)。次いで、内蔵レジスタの設定を行う(Sa4)。
After that, the
次いで、電源電圧が正常か否かを判定する(Sa5)。電源電圧が正常でない場合には正常になるまで判定を繰り返す。電源電圧が正常である場合には割込ベクタの上位アドレスをセットする(Sa6)。そして、RAM41cへのアクセスを許可し(Sa7)、スタックポインタを初期化する(Sa8)。
Next, it is determined whether or not the power supply voltage is normal (Sa5). If the power supply voltage is not normal, the determination is repeated until normal. If the power supply voltage is normal, the upper address of the interrupt vector is set (Sa6). Then, access to the
次いで、RAMパリティを計算する(Sa9)。そして、計算したRAMパリティが0になるか否かを判定する(Sa10)。RAMパリティが0にならない場合にはSa13のステップに進み、破壊診断用データをクリアする(Sa13)。一方、RAMパリティが0になる場合には、破壊診断用データをRAM41cから取得し(Sa11)、取得した破壊診断用データが正しいか否かを判定し(Sa12)、破壊診断用データをクリアする(Sa13)。
Next, the RAM parity is calculated (Sa9). Then, it is determined whether or not the calculated RAM parity becomes 0 (Sa10). If the RAM parity does not become 0, the process proceeds to step Sa13 to clear the destruction diagnosis data (Sa13). On the other hand, when the RAM parity becomes 0, the destructive diagnosis data is acquired from the
次いで、設定キースイッチ37がON状態か否かを判定する(Sa14)。設定キースイッチ37がON状態の場合には、タイマ割込の設定を行う(Sa19)。具体的には、所定時間毎に定期的にタイマ割込が実行されるようにメイン制御部41に内蔵されているタイマ回路509のレジスタの設定を行なう。本実施例では約0.56msに相当する値が所定のレジスタ(時間定数レジスタ)に設定されることで、約0.56ms毎に定期的にタイマ割込が発生することとなる。また、タイマ回路509ではレジスタの設定が行われることにより、タイマが初期化され、初期値から計時を開始することになる。Sa19のステップにおけるタイマ割込の設定が終了すると設定変更処理に移行する。
Next, it is determined whether or not the setting
一方、設定キースイッチ37がOFF状態の場合には、RAM41cの記憶内容が破壊されているか否かを判定する(Sa15)。Sa15のステップでは、後述するRAM異常フラグが設定されているか否か、Sa10、Sa12の判定に基づきRAM41cの記憶内容が破壊されているか否かを判定する。RAM41cの記憶内容が破壊されていない場合には、復帰コマンドをサブ制御部91に送信する(Sa16)。尚、RAM41cの記憶内容が破壊されていない場合とは、RAM異常フラグがセットされておらず、かつSa10のステップにおいてRAMパリティが0であると判定され、さらにSa12のステップにおいて破壊診断用データが正しいと判定された場合である。
On the other hand, when the setting
Sa16のステップの後、全てのレジスタを復帰させ(Sa17)、Sa19のステップと同様のタイマ割込の設定を行う(Sa18)。そして、後述のタイマ割込処理(メイン)のSd24の処理に移行する。これにより電断前に実行していた処理に復帰することとなる。 After the step of Sa16, all the registers are restored (Sa17), and the timer interrupt setting similar to the step of Sa19 is performed (Sa18). Then, the process proceeds to Sd24 in a timer interrupt process (main) described later. As a result, the process that was being executed before the power interruption is restored.
また、Sa15のステップにおいてRAM41cの記憶内容が破壊されている場合には、RAMの開始アドレス(0000h)をレジスタにセットし(Sa20)、指定したアドレスから使用可能領域の最終アドレス(0FFFh)までの領域、すなわち使用可能領域の全ての領域を初期化する(Sa21)。
If the stored contents of the
次いで、RAM41cの記憶内容が正常でないことを示すRAM異常フラグをRAM41cにセットし(Sa22)、エラー処理に移行する。エラー処理では、遊技の進行が不能化される。また、RAM異常フラグが設定されて移行したエラー状態では、設定キースイッチ37をON状態にして電源スイッチ39をONにすることによって、設定変更処理に移行させることにより解除することができる。一方、設定キースイッチ37をON状態にせずに電源スイッチ39をONにした場合には、RAM異常フラグが設定されたままであり、再びエラー状態となる。
Next, a RAM abnormality flag indicating that the storage content of the
次に、メイン制御部41が実行する設定変更処理について説明する。
Next, the setting change process which the
図7に示すように、メイン制御部41は、まず、RAMの開始アドレス(0000h)をレジスタにセットする(Sb1)。次いで、図6に示すSa15のステップと同様にRAM41cの記憶内容が破壊されているか否かを判定する(Sb2)。RAMの内容が破壊されていない場合、すなわちRAM内容が異常でない場合には、設定変更開始時の初期化対象RAMの先頭アドレスをレジスタにセットする(Sb3)。すなわちSb1で設定したアドレスを変更する。RAMの内容が破壊されている場合、すなわちRAM内容が異常である場合には、Sb4のステップに進む。
As shown in FIG. 7, the
次いで、Sb1またはSb3のステップで指定したアドレスから使用可能領域の最終アドレスまでの領域を初期化する(Sb4)。Sb1のステップでは、RAMの開始アドレスがセットされるため、この場合にはSb4のステップにおいて、使用可能領域全ての領域が初期化されることとなる。一方、Sb3のステップでは、設定変更開始時の初期化対象RAMの先頭アドレスがセットされるため、この場合にはSb4のステップにおいて、使用可能領域のうち重要ワーク及び特別ワーク以外の領域が初期化されることとなる。 Next, the area from the address designated in the step Sb1 or Sb3 to the last address of the usable area is initialized (Sb4). In step Sb1, the start address of the RAM is set. In this case, all the usable areas are initialized in step Sb4. On the other hand, since the start address of the initialization target RAM at the start of setting change is set in the step Sb3, in this case, in the step Sb4, areas other than the important work and the special work are initialized among the usable areas. Will be.
次いで、設定変更状態の開始を示す設定コマンドをサブ制御部91に送信し(Sb5)、割込を許可する(Sb6)。 Next, a setting command indicating the start of the setting change state is transmitted to the sub-control unit 91 (Sb5), and interruption is permitted (Sb6).
次いで、リセット/設定スイッチ38がOFFからONに変化したか否かを判定する(Sb7)。リセット/設定スイッチ38がOFFからONに変化した場合にはレジスタの設定値を更新(1〜5の場合は1加算し、6の場合は1に更新)する(Sb8)。リセット/設定スイッチ38が変化しなかった場合には、スタートスイッチ7がOFFからONに変化したか否かを判定する(Sb9)。スタートスイッチ7が変化しなかった場合には、Sb7のステップに戻る。一方、スタートスイッチ7がOFFからONに変化した場合には設定キースイッチ37がOFF状態か否かを判定する(Sb10)。設定キースイッチ37がOFF状態になっていない場合には、設定キースイッチ37がOFF状態になるまで判定を繰り返す。設定キースイッチ37がOFFになっている場合には、レジスタにセットしている設定値のデータをRAM41cに格納する(Sb11)。
Next, it is determined whether or not the reset / setting
次いで、設定変更状態の終了を示す設定コマンドをサブ制御部91に送信する(Sb12)。そして、設定変更終了時の初期化対象RAMの先頭アドレスをレジスタにセットし(Sb13)、メイン処理に移行する。 Next, a setting command indicating the end of the setting change state is transmitted to the sub-control unit 91 (Sb12). Then, the initial address of the initialization target RAM at the end of the setting change is set in the register (Sb13), and the process proceeds to the main process.
次に、メイン制御部41が実行するメイン処理について説明する。尚、メイン処理は一単位の遊技毎に繰り返し実行される。そして、メイン処理の一周期が遊技の一単位に相当している。
Next, main processing executed by the
図8に示すように、メイン制御部41は、まず、割込を禁止する(Sc1)。次いで、初期化対象RAMの最終アドレスをセットする(Sc2)。
As shown in FIG. 8, the
次いで、指定したアドレスで示すRAMの領域をクリアする(Sc3)。この際、設定変更処理後にメイン処理が開始された場合は、設定変更終了時の初期化対象RAMの先頭アドレスが設定され、Sc2のステップでは、設定変更終了時の初期化対象RAMの最終アドレス(0FFFh)が設定されるため、使用可能領域のうち重要ワーク及び特別ワーク以外の領域が初期化されることとなる。また、特定の遊技状態の終了時ではない遊技の終了時には、後述のSc10のステップにおいて遊技終了時の初期化対象RAMの先頭アドレスが設定され、Sc2のステップでは、最終アドレスとしてスタックポインタが示すアドレスが設定されるため、使用可能領域のうち一般ワーク、未使用領域及び未使用スタック領域が初期化されることとなる。また、特定の遊技状態の終了時であり、かつ遊技の終了時には、後述のSc11のステップにおいて特定の遊技状態の終了時の初期化対象RAMの先頭アドレスが設定され、Sc2のステップでは、最終アドレスとしてスタックポインタが示すアドレスが設定されるため、使用可能領域のうち未使用領域及び未使用スタック領域が初期化されることとなる。 Next, the RAM area indicated by the designated address is cleared (Sc3). At this time, if the main process is started after the setting change process, the initial address of the initialization target RAM at the end of the setting change is set. In the step Sc2, the final address of the initialization target RAM at the end of the setting change ( 0FFFh) is set, the area other than the important work and the special work among the usable areas is initialized. Also, at the end of the game that is not at the end of the specific gaming state, the initial address of the initialization target RAM at the end of the game is set in the step of Sc10 described later, and the address indicated by the stack pointer as the final address in the step of Sc2 Therefore, among the usable areas, the general work, the unused area, and the unused stack area are initialized. At the end of the specific gaming state and at the end of the game, the initial address of the initialization target RAM at the end of the specific gaming state is set in the step of Sc11 described later, and the final address is set in the step of Sc2. Since the address indicated by the stack pointer is set, the unused area and the unused stack area among the available areas are initialized.
Sc3のステップにおけるRAMの初期化の後、割込を許可し(Sc4)、遊技開始待ち処理を実行する(Sc5)。遊技開始待ち処理では、賭数を設定可能な状態で待機し、遊技状態に応じた規定数の賭数が設定され、スタートスイッチ7が操作された時点でゲームを開始させる処理を実行する。
After initialization of RAM in the step of Sc3, interruption is permitted (Sc4), and a game start waiting process is executed (Sc5). In the game start waiting process, the process waits in a state where a bet number can be set, and a process for starting a game is executed when a specified number of bets are set according to the game state and the
次いで、内部抽選処理を実行する(Sc6)。内部抽選処理では、Sc5のステップにおけるスタートスイッチ7の検出によるゲーム開始と同時にラッチされた内部抽選用の乱数値に基づいて上記した各役への入賞を許容するか(すなわち、表示結果の導出を許容するか否か)どうかを決定する処理を行う。
Next, an internal lottery process is executed (Sc6). In the internal lottery process, whether or not to win the above-mentioned winning combination based on the internal lottery random value latched simultaneously with the start of the game by the detection of the
次いで、リール制御処理を実行する(Sc7)。リール制御処理では、スタートスイッチ7の操作に応答して各リール2L、2C、2Rを回転させる処理、Sd2のステップにおける内部抽選の結果及び遊技者によるストップスイッチ8L、8C、8Rの操作が検出されたことに応じて対応するリール2L、2C、2Rの回転を停止させる処理を実行する。
Next, a reel control process is executed (Sc7). In the reel control process, the process of rotating each
次いで、遊技終了時設定処理を実行する(Sc8)。遊技終了時設定処理では、Sc7の処理において全てのリール2L、2C、2Rの回転が停止したと判定した時点で、各リール2L、2C、2Rに導出された表示結果に応じて入賞が発生したか否かを判定する処理を実行する。そして、入賞が発生したと判定した場合に、その入賞に応じた払出枚数に基づきクレジットの加算並びにメダルの払出等の処理を行う。入賞が発生した場合にはメダルの払い出し等が終了した後に次のゲームに備えて遊技状態を設定する処理を実行する。また、入賞が発生しなかった場合にはリールが停止した後に、次のゲームに備えて遊技状態を設定する処理を実行する。
Next, a game end time setting process is executed (Sc8). In the game end setting process, when it is determined that the rotation of all the
遊技終了時設定処理が終了すると、特定の遊技状態の終了時か否かを判定し(Sc9)、特定の遊技状態の終了時でない場合には、遊技終了時の初期化対象RAMの先頭アドレスをセットして(Sc10)、Sc1のステップに戻る。また、特定の遊技状態の終了時である場合には、特定の遊技状態の終了時の初期化対象RAMの先頭アドレスをセットして(Sc11)、Sc1のステップに戻る。 When the setting process at the end of the game is completed, it is determined whether or not it is the end of the specific gaming state (Sc9). If it is not the end of the specific gaming state, the initial address of the initialization target RAM at the end of the game is determined. Set (Sc10) and return to the step of Sc1. If it is at the end of the specific gaming state, the start address of the initialization target RAM at the end of the specific gaming state is set (Sc11), and the process returns to the step of Sc1.
また、メイン処理では、ゲームの進行に応じてコマンドを生成してコマンドキューに設定するコマンド格納処理を実行し、設定されたコマンドは、その後のタイマ割込処理(メイン)において実行される通常時コマンド送信処理によりサブ制御部91に対して送信されるようになっている。
Also, in the main process, a command storing process for generating a command according to the progress of the game and setting the command in the command queue is executed, and the set command is executed in the normal timer execution process (main) thereafter. It is transmitted to the
図9及び図10は、メイン制御部41が一定間隔(約0.56msの間隔)で基本処理(主にメイン処理)に割り込んで実行するタイマ割込処理(メイン)の制御内容を示すフローチャートである。尚、タイマ割込処理(メイン)とは、タイマ回路509のカウントに応じて発生する割込により実行される処理であり、タイマ割込処理(メイン)のプログラムが格納されたアドレスは、ベクタテーブルのタイマ割込に対応する値として設定されている。そして、タイマ割込が発生すると当該アドレスからの処理が実行される。また、タイマ割込処理(メイン)の実行期間中は自動的に他の割込が禁止される。
FIGS. 9 and 10 are flowcharts showing the control contents of the timer interrupt process (main) executed by the
図9に示すように、タイマ割込処理(メイン)においては、まず、使用中のレジスタをスタック領域に退避する(Sd1)。 As shown in FIG. 9, in the timer interrupt process (main), first, the register in use is saved in the stack area (Sd1).
次いで、停電判定処理を行う(Sd2)。停電判定処理では、電断検出回路48から電圧低下信号が入力されているか否かを判定し、電圧低下信号が入力されていれば、前回の停電判定処理でも電圧低下信号が入力されていたか否かを判定し、前回の停電判定処理でも電圧低下信号が入力されていた場合には停電と判定し、その旨を示す電断フラグを設定する。
Next, a power failure determination process is performed (Sd2). In the power failure determination process, it is determined whether or not a voltage drop signal is input from the power
Sd2のステップにおける停電判定処理の後、電断フラグが設定されているか否かを判定し(Sd3)、電断フラグが設定されていなければ、Sd4に進み、入力ポートから各種スイッチ類の検出データを入力するポート入力処理を行う。一方、電断フラグが設定されていた場合には、コマンドキューに設定された各種コマンドをサブ制御部91に送信する電断時コマンド送信処理を実行した後、電断処理(メイン)に移行する。
After the power failure determination process in step Sd2, it is determined whether or not the power interruption flag is set (Sd3). If the power interruption flag is not set, the process proceeds to Sd4, and detection data of various switches from the input port. The port input process to input is performed. On the other hand, if the power interruption flag is set, the power interruption command transmission process for transmitting various commands set in the command queue to the
次いで、4種類のタイマ割込1〜4から当該タイマ割込処理(メイン)において実行すべきタイマ割込を識別するための分岐用カウンタを1進める(Sd5)。Sd5のステップでは、分岐用カウンタ値が0〜2の場合に1が加算され、カウンタ値が3の場合に0に更新される。すなわち分岐用カウンタ値は、タイマ割込処理(メイン)が実行される毎に、0→1→2→3→0・・・の順番でループする。 Next, the branch counter for identifying the timer interrupt to be executed in the timer interrupt process (main) is advanced by 1 from the four types of timer interrupts 1 to 4 (Sd5). In step Sd5, 1 is added when the branch counter value is 0 to 2, and is updated to 0 when the counter value is 3. That is, the branch counter value loops in the order of 0 → 1 → 2 → 3 → 0... Each time the timer interrupt process (main) is executed.
次いで、分岐用カウンタ値を参照して2または3か、すなわちタイマ割込3またはタイマ割込4かを判定し(Sd6)、タイマ割込3またはタイマ割込4ではない場合、すなわちタイマ割込1またはタイマ割込2の場合には、リールモータ32C、32C、32Rの位相信号データを出力するモータ位相信号出力処理を実行する(Sd7)。
Next, the branch counter value is referenced to determine whether it is 2 or 3, that is, timer interrupt 3 or timer interrupt 4 (Sd6). If it is not timer interrupt 3 or timer interrupt 4, that is, timer interrupt In the case of 1 or timer interrupt 2, motor phase signal output processing for outputting the phase signal data of the
次いで、分岐用カウンタ値を参照して1か否か、すなわちタイマ割込2か否かを判定し(Sd8)、タイマ割込2ではない場合、すなわちタイマ割込1の場合には、リールモータ32L、32C、32Rの始動時のステップ時間間隔の制御を行うリール始動処理(Sd9)、リールモータ32L、32C、32Rの位相信号データの変更を行うモータステップ処理(Sd10)、リールモータ32L、32C、32Rの停止後、一定時間経過後に位相信号を1相励磁に変更するモータ位相信号スタンバイ処理(Sd11)を順次実行した後、Sd24のステップに進む。
Next, referring to the counter value for branching, it is determined whether or not it is 1, that is, timer interrupt 2 (Sd8). If it is not timer interrupt 2, that is, timer interrupt 1, the reel motor Reel start processing (Sd9) for controlling the step time interval when starting 32L, 32C, 32R, motor step processing (Sd10) for changing phase signal data of the
また、Sd8のステップにおいてタイマ割込2であると判定した場合には、各種表示器をダイナミック点灯させるLEDダイナミック表示処理(Sd12)、各種LED等の点灯信号等のデータを出力ポートへ出力する制御信号等出力処理(Sd13)、各種時間カウンタを更新する時間カウンタ更新処理(Sd14)、ドア開放検出スイッチ25の検出状態の監視、ドアコマンドの送信要求などを行うドア監視処理(Sd15)、コマンドキューに設定された各種コマンドをサブ制御部91に送信する通常時コマンド送信処理(Sd16)、外部出力信号を更新する外部出力信号更新処理(Sd17)を順次実行した後、Sd24のステップに進む。
If it is determined in step Sd8 that the timer interrupt is 2, LED dynamic display processing for dynamically lighting various indicators (Sd12), and control for outputting data such as lighting signals for various LEDs to the output port. Signal output processing (Sd13), time counter update processing for updating various time counters (Sd14), door
また、Sd6のステップにおいてタイマ割込3またはタイマ割込4であると判定した場合は、更に、分岐用カウンタ値が3か否か、すなわちタイマ割込4か否かを判定し(Sd18)、タイマ割込4でなければ、すなわちタイマ割込3であれば、回転中のリール2L、2C、2Rの原点通過(リール基準位置の通過)をチェックする原点通過時処理(Sd19)、スイッチ類の検出状態に変化があったか否かの判定等を行うスイッチ入力判定処理(Sd20)を順次実行した後、Sd24のステップに進む。
If it is determined in step Sd6 that timer interrupt 3 or timer interrupt 4 is detected, it is further determined whether or not the branch counter value is 3, that is, timer interrupt 4 (Sd18). If it is not the timer interrupt 4, that is, the timer interrupt 3, the origin passing process (Sd19) for checking the origin passing (passing of the reel reference position) of the rotating
また、Sd18のステップにおいてタイマ割込4であると判定した場合は、ストップスイッチ8L、8C、8Rの検出に伴って停止位置を決定する停止スイッチ処理(Sd21)、停止する時期になったら2相励磁によるブレーキを開始する停止処理(Sd22)、停止処理においてブレーキを開始してから一定時間後に3相励磁とする最終停止処理(Sd23)を順次実行した後、Sd24のステップに進む。 If it is determined in step Sd18 that the timer interrupt is 4, stop switch processing (Sd21) for determining a stop position in accordance with detection of the stop switches 8L, 8C, and 8R, two phases when it is time to stop. A stop process (Sd22) for starting braking by excitation and a final stop process (Sd23) for three-phase excitation after a certain time from the start of braking in the stop process are sequentially executed, and then the process proceeds to step Sd24.
Sd24のステップでは、Sd1においてスタック領域に退避したレジスタを復帰させて、割込前の処理に戻る。 In step Sd24, the registers saved in the stack area in Sd1 are restored, and the process returns to the state before the interrupt.
このように本実施例では、メイン制御部41は、リセットが発生したときに、割込禁止の状態で起動するとともに、その後、最初に実行する初期設定処理の開始時にもプログラムにて割込の禁止を行うようになっており、何らかの原因で割込が禁止されない状態でメイン制御部41が起動した場合でも意図しない割込が発生してしまうことを防止できる。
As described above, in the present embodiment, the
また、メイン制御部41は、その起動後に、タイマ回路509におけるタイマ割込の設定の後、割込を許可するようになっており、タイマ割込が正常に動作しない状態で割込が発生してしまうことを防止できる。また、タイマ回路509ではタイマ割込の設定が行われることにより、タイマが初期化され、初期値から計時を開始するようになっており、起動後、初回の割込が発生するまでの時間と、2回目以降の割込が発生するまでの時間と、がずれてしまうようなことがなく、一定の時間間隔でタイマ割込を発生させることができる。また、メイン制御部41は、初期設定処理においてタイマ回路509の設定をプログラムにて初期値に更新するようになっており、起動時に、何らかの原因でタイマ回路509の設定が書き換わっていた場合であっても、意図しない割込が発生してしまうことを防止できる。
In addition, the
また、メイン制御部41は、その起動時に設定キースイッチ37がONの状態であれば設定変更処理に移行し、設定変更処理の開始時にRAM41cの初期化を行う。この際、RAM41cのデータが正常であれば、重要ワーク及び特別ワークを保持してそれ以外の領域を初期化することで、設定変更後も変更前の制御状態(設定値や遊技状態等)の一部を保持することができる一方で、RAM41cのデータが正常でない場合には、重要ワーク及び特別ワークを含む使用可能領域の全ての領域を初期化することで、RAM41cのデータに異常を確実に解消することができる。
Further, the
また、メイン制御部41は、RAM異常が判定された場合にRAM異常フラグが設定されるので、RAM異常エラーの発生後に電断して、再度電源投入がされた場合に、RAMパリティが0であり、破壊診断用データが正常と判定された場合でも、RAM異常フラグに基づいてRAM41cのデータが破壊されているか否かを判定することが可能となる。
In addition, since the RAM abnormality flag is set when the RAM abnormality is determined, the
また、メイン制御部41は、設定変更処理の終了後、遊技単位毎にゲームの進行に応じて段階的に処理を行うメイン処理を実行する。また、メイン処理では、遊技単位毎にRAM41cの初期化を行うとともに、設定変更処理の終了時にもRAM41cの初期化を行う。そして、設定変更処理の終了後、メイン処理においてRAM41cの初期化を行う処理の前の段階からメイン処理を開始するようになっており、設定変更処理の終了後のRAM41cの初期化と、遊技単位毎のRAM41cの初期化と、を共通の処理にて行うことが可能となる。
Moreover, the
また、メイン制御部41は、RAM41cの初期化を行う場合に、初期化が終了するまで割込を禁止するようになっており、RAM41cの初期化の実行中にタイマ割込処理(メイン)が発生することにより、初期化した内容が変更されたり、タイマ割込処理(メイン)で行われる処理が正常に行われなくなってしまうことを防止できる。
Further, when the
また、メイン制御部41は、メイン処理において外部出力信号の出力状態を更新し、更新された出力状態に基づいて、その後のタイマ割込処理(メイン)にて外部出力信号の出力状態を変更するとともに、外部出力信号の出力状態を更新する場合に、更新が終了するまで割込を禁止するようになっており、外部出力信号の出力状態が完了する前にタイマ割込処理(メイン)が発生することにより、意図しないデータを示す外部出力信号が出力されてしまうことを防止できる。
Further, the
本実施例のメイン制御部41は、上述の設定変更処理及びメイン処理において遊技の進行に応じてコマンドを生成し、生成したコマンドをコマンドキューに格納し、タイマ割込処理(メイン)において通常時コマンド送信処理を実行する毎にコマンドキューに格納されている未送信のコマンドをサブ制御部91に対して送信する。
The
図11は、メイン制御部41が生成した各種コマンドをコマンドキューに格納する際に実行するコマンド格納処理の制御内容を示すフローチャートである。尚、メイン制御部41が送信するコマンドは、2バイトで構成され、1バイト目はMODE(コマンドの分類)を表し、2バイト目はEXT(コマンドの内容)を表す。また、本実施例で示すコマンドの形態は一例であって他のデータ形態を用いても良い。また、本実施例では、コマンドを2バイトの信号で構成しているが、これらコマンドを1バイトの信号または3バイト以上の信号で構成しても良い。
FIG. 11 is a flowchart showing the control contents of command storage processing executed when various commands generated by the
コマンド格納処理では、まず、送信すべきコマンドを構成するMODEとEXTを生成する(Se1)。そして、生成したコマンドのMODE及びEXTを格納ポインタが示す領域番号の領域、すなわちコマンドキューの空き領域に格納した後(Se2)、格納ポインタが示す領域番号に1を加算する(Se3)。尚、領域番号は0〜31の範囲の数値なので、格納ポインタが示す通し番号が31の場合に1を加算して32となるときには0に更新する。 In the command storing process, first, MODE and EXT composing a command to be transmitted are generated (Se1). Then, after the MODE and EXT of the generated command are stored in the area of the area number indicated by the storage pointer, that is, the empty area of the command queue (Se2), 1 is added to the area number indicated by the storage pointer (Se3). Since the area number is a numerical value in the range of 0 to 31, when the serial number indicated by the storage pointer is 31, 1 is added and updated to 0 when it becomes 32.
次いで、未送信フラグがセットされているか否かを確認し(Se4)、未送信フラグがセットされていなければ未送信フラグをセットする(Se5)。そして、格納ポインタが示す領域番号と、送信ポインタが示す領域番号とが一致しているか否か、すなわち未送信のコマンドでコマンドキューの全ての領域が満タンとなったか否かを確認し、一致している場合には、コマンドキューに格納されている未送信のコマンドが送信されて格納ポインタが示す領域番号と送信ポインタが示す領域番号とが一致しなくなるまで待機し、格納ポインタが示す領域番号と送信ポインタが示す領域番号とが一致しなくなった時点、すなわちコマンドキューに空きができた時点でコマンド格納処理を終了する(Se6)。 Next, it is confirmed whether or not the untransmitted flag is set (Se4). If the untransmitted flag is not set, the untransmitted flag is set (Se5). Then, it is checked whether the area number indicated by the storage pointer matches the area number indicated by the transmission pointer, that is, whether all areas of the command queue are full due to unsent commands. If yes, wait until an unsent command stored in the command queue is sent and the area number indicated by the storage pointer does not match the area number indicated by the transmission pointer, and the area number indicated by the storage pointer When the area number indicated by the transmission pointer does not match, that is, when the command queue is empty, the command storage process is terminated (Se6).
図12は、メイン制御部41がコマンド格納処理によりコマンドキューに格納したコマンドを送信するために、前述したタイマ割込処理(メイン)のタイマ割込2内において実行する通常時コマンド送信処理の制御内容を示すフローチャートである。
FIG. 12 shows the control of the normal command transmission process executed in the timer interrupt 2 of the timer interrupt process (main) described above in order for the
通常時コマンド送信処理では、まず、未送信フラグがセットされているか否か、すなわち未送信のコマンドがコマンドキューに格納されているか否かを確認し(Sf1)、未送信フラグがセットされていない場合には、ドア開放検出スイッチ25の検出状態を取得してドアコマンドを構成するMODE及びEXTを生成し、生成したMODE及びEXTを格納ポインタが示す領域番号の領域、すなわちコマンドキューの空き領域に格納する(Sf2、Sf3)。
In the normal command transmission process, first, it is confirmed whether or not an untransmitted flag is set, that is, whether or not an untransmitted command is stored in the command queue (Sf1), and the untransmitted flag is not set. In this case, the detection state of the door opening
Sf1のステップにおいて未送信フラグがセットされていると判定した場合、及びSf2、Sf3のステップにおいてドアコマンドを構成するMODE及びEXTをコマンドキューに格納した後は、コマンドキューの送信ポインタ値が示す領域に格納されたコマンドをサブ制御部91に対して送信する(Sf4〜Sf7)。詳しくは、まず、コマンドキューの送信ポインタ値が示す領域に格納されたコマンドを構成するMODEを出力し(Sf4)、コマンドを出力した旨をサブ制御部91に通知するためのストローブ信号を所定時間(本実施例では、10μs)出力する(Sf5)。そして、送信ポインタ値が示す領域に格納されたコマンドを構成するEXTを出力し(Sf6)、再度、ストローブ信号を所定時間出力する(Sf7)。
When it is determined that the unsent flag is set in the step Sf1, and after the MODE and EXT constituting the door command are stored in the command queue in the steps Sf2 and Sf3, the area indicated by the transmission pointer value of the command queue Are transmitted to the sub-control unit 91 (Sf4 to Sf7). Specifically, first, the MODE that constitutes the command stored in the area indicated by the transmission pointer value of the command queue is output (Sf4), and a strobe signal for notifying the
次いで、送信ポインタが示す領域番号に1を加算する(Sf8)。尚、領域番号は0〜31の範囲の数値なので、送信ポインタが示す領域番号が31の場合に1を加算して32となるときには0に更新する。その後、送信ポインタが示す領域番号と格納ポインタが示す通し番号とが一致しているか否か、すなわちコマンドキューに送信すべきコマンドが格納されているか否かを確認し(Sf9)、一致している場合、すなわちコマンドキューに送信すべきコマンドが格納されていない場合には、未送信フラグをクリアして通常時コマンド送信処理を終了する(Sf10)。一方、送信ポインタが示す領域番号と格納ポインタが示す通し番号とが一致していない場合、すなわちコマンドキューに送信すべきコマンドが格納されている場合には、未送信フラグを維持して通常時コマンド送信処理を終了する。未送信フラグが維持されることで、コマンドキューに残された未送信コマンドは、次回以降のタイマ割込処理(メイン)において送信されることとなる。 Next, 1 is added to the area number indicated by the transmission pointer (Sf8). Since the area number is a numerical value in the range of 0 to 31, when the area number indicated by the transmission pointer is 31, 1 is added and updated to 0 when it becomes 32. Thereafter, it is confirmed whether or not the area number indicated by the transmission pointer matches the serial number indicated by the storage pointer, that is, whether or not the command to be transmitted is stored in the command queue (Sf9). That is, if the command to be transmitted is not stored in the command queue, the untransmitted flag is cleared and the normal time command transmission process is terminated (Sf10). On the other hand, if the area number indicated by the transmission pointer does not match the serial number indicated by the storage pointer, that is, if the command to be transmitted is stored in the command queue, the untransmitted flag is maintained and normal command transmission is performed. The process ends. By maintaining the unsent flag, unsent commands left in the command queue are transmitted in the next timer interrupt process (main).
本実施例のメイン制御部41は、上述のタイマ割込処理において電断フラグが設定された場合に電断処理(メイン)を実行する前に、電断時コマンド送信処理を実行することで、通常時コマンド送信処理以外においても、コマンドキューに格納されている未送信のコマンドをサブ制御部91に対して送信する。
The
図13は、メイン制御部41がタイマ割込処理(メイン)において電断処理(メイン)を行う前に実行する電断時コマンド送信処理の制御内容を示すフローチャートである。
FIG. 13 is a flowchart showing the control contents of the power interruption command transmission process executed before the
電断時コマンド送信処理においては、まず、未送信フラグがセットされているか否か、すなわち未送信のコマンドがコマンドキューに格納されているか否かを確認し(Sg1)、未送信フラグがセットされている場合には、コマンドキューに格納されている全てのコマンドをサブ制御部91に対して送信する(Sg1〜Sg7)。 In the command transmission process at power interruption, first, it is confirmed whether or not an untransmitted flag is set, that is, whether or not an untransmitted command is stored in the command queue (Sg1), and the untransmitted flag is set. If so, all commands stored in the command queue are transmitted to the sub-control unit 91 (Sg1 to Sg7).
詳しくは、まず、コマンドキューの送信ポインタ値が示す領域に格納されたコマンドを構成するMODEを出力し(Sg2)、コマンドを出力した旨をサブ制御部91に通知するためのストローブ信号を所定時間(本実施例では、10μs)出力する(Sg3)。そして、送信ポインタ値が示す領域に格納されたコマンドを構成するEXTを出力し(Sg4)、再度、ストローブ信号を所定時間出力する(Sg5)。その後、送信ポインタが示す領域番号に1を加算する(Sg6)。尚、通常時コマンド送信処理において送信ポインタを加算する場合と同様に、領域番号は0〜31の範囲の数値なので、送信ポインタが示す領域番号が31の場合に1を加算して32となるときには0に更新する。
Specifically, first, a MODE composing the command stored in the area indicated by the transmission pointer value of the command queue is output (Sg2), and a strobe signal for notifying the
次いで、送信ポインタが示す領域番号と格納ポインタが示す通し番号とが一致しているか否か、すなわち送信すべきコマンドがコマンドキューに格納されているか否かを判定し(Sg7)、送信ポインタが示す領域番号と格納ポインタが示す通し番号とが一致していない場合、すなわち送信すべきコマンドがコマンドキューに格納されている場合には、Sg7のステップにおいて送信ポインタが示す領域番号と格納ポインタが示す通し番号とが一致していると判定されるまで、Sg2〜Sg7のステップを繰り返し実行して、コマンドキューに格納されている全てのコマンドをサブ制御部91に対して送信する。
Next, it is determined whether the area number indicated by the transmission pointer matches the serial number indicated by the storage pointer, that is, whether the command to be transmitted is stored in the command queue (Sg7), and the area indicated by the transmission pointer If the number and the serial number indicated by the storage pointer do not match, that is, if the command to be transmitted is stored in the command queue, the area number indicated by the transmission pointer and the serial number indicated by the storage pointer are determined in step Sg7. The steps Sg2 to Sg7 are repeatedly executed until it is determined that they match, and all the commands stored in the command queue are transmitted to the
そして、Sg7のステップにおいて、送信ポインタが示す領域番号と格納ポインタが示す通し番号とが一致していると判定した場合、すなわちコマンドキューに格納されているコマンドが全てサブ制御部91に対して送信されてコマンドキューにコマンドが残っていない場合に、メイン制御部41は、未送信フラグをクリアして(Sg8)、電断時コマンド送信処理を終了し、電断処理(メイン)に移行する。
In step Sg7, if it is determined that the area number indicated by the transmission pointer matches the serial number indicated by the storage pointer, that is, all commands stored in the command queue are transmitted to the
このように、通常時コマンド送信処理においては、タイマ割込処理(メイン)において当該通常時コマンド送信処理が実行される毎に一のコマンド(2バイトからなる1組のコマンド)をサブ制御部91に対して送信する一方、電断時コマンド送信処理においては、タイマ割込処理において電断処理(メイン)が行われる前に、コマンドキューに格納されている全てのコマンドをサブ制御部91に対して送信するようになっている。
As described above, in the normal time command transmission process, each time the normal time command transmission process is executed in the timer interrupt process (main), one command (a set of commands consisting of 2 bytes) is sent to the
図14は、メイン制御部41が前述したタイマ割込処理(メイン)において電断フラグが設定されていると判定した場合に、電断時コマンド送信処理の後に実行する電断処理(メイン)の制御内容を示すフローチャートである。
FIG. 14 illustrates the power interruption process (main) executed after the power interruption command transmission process when the
電断処理(メイン)においては、まず、使用している可能性がある全てのレジスタをスタック領域に退避する(Sg1)。なお、前述したIレジスタ及びIYレジスタの値は使用されているが、起動時の初期化に伴って常に同一の固定値が設定されるため、ここでは保存されない。 In the power interruption process (main), first, all registers that may be in use are saved in the stack area (Sg1). Although the values of the I register and IY register described above are used, they are not saved here because the same fixed value is always set with the initialization at the time of startup.
次いで、破壊診断用データ(本実施例では、5A(H))をセットする(Sg2)。そして、コマンドを出力するパラレル出力ポート513を含む全ての出力ポートを初期化する(Sg3)。これにより電断時コマンド送信処理により最後に出力されたコマンドに対応する出力ポートの出力状態が初期化される。次いでRAM41cの全ての格納領域(未使用領域及び未使用スタック領域を含む)の排他的論理和が0になるようにRAMパリティ調整用データを計算してセットし(Sg4)、RAM41cへのアクセスを禁止する(Sg5)。その後、電圧が低下してメイン制御部41のCPU41aが停止して待機状態に移行する。そして、この待機状態のまま電圧が低下することで、メイン制御部41は、内部的に動作停止状態になり、電断の際に確実に動作停止する。
Next, destruction diagnosis data (5A (H) in this embodiment) is set (Sg2). Then, all output ports including the
本実施例では、遊技制御基板40のリセット回路49は、図15に示すように、電源基板101から供給される電源電圧のうちメイン制御部41の駆動電圧(DC+5V)よりも高い監視電圧(DC+24V)を監視し、電源投入時に監視電圧が、メイン制御部41が動作可能となる動作可能電圧(メイン)(+3.5V)を超えた場合にリセット信号をONにしてメイン制御部41に対して出力し、その後、メイン制御部41の駆動電圧(DC+5V)が安定するために十分な時間(監視電圧が+24Vまで上昇するのに十分な時間)が経過したときに、リセット信号をOFFにしてメイン制御部41を起動させる。一方、演出制御基板90のリセット回路95は、電源投入時においてリセット回路49によりリセット信号がOFFにされるとき、すなわちメイン制御部41が起動することとなるタイミングよりも早いタイミングでサブ制御部91に対して出力するリセット信号をOFFにすることで、電源投入時においてメイン制御部41よりも早い段階でサブ制御部91を起動させ、メイン制御部41から送信される復帰コマンドまたは設定コマンド(開始)をサブ制御部91が受信可能な状態で待機させる。
In this embodiment, as shown in FIG. 15, the
そして、メイン制御部41は、リセット回路49が出力するリセット信号がOFFとなって起動した際に、上述の初期設定処理を実行し、電断前の状態に復帰可能な場合には、初期設定処理の終了時に復帰コマンドを送信した後、タイマ割込を許可し、その後、タイマ割込処理を一定間隔毎に実行する。また、リセット信号がOFFとなって起動した際に、設定キースイッチ37がONの状態であり、RAM41cが初期化され、電断前の状態に復帰させずに設定変更状態を開始する場合には、初期設定処理の終了時においてタイマ割込が許可される前に、復帰コマンドに替えて設定コマンド(開始)をサブ制御部91に対して送信した後、タイマ割込を許可し、その後、タイマ割込処理を一定間隔毎に実行する。一方、サブ制御部91は、メイン制御部41が起動する前に起動し、初期設定処理を実行して完了させ、コマンドを受信可能な状態で復帰コマンドまたは設定コマンド(開始)を受信するまで待機する。
The
次いで、メイン制御部41は、復帰コマンドまたは設定コマンドを送信した後、タイマ割込処理(メイン)を一定間隔毎に実行し、当該タイマ割込み処理(メイン)において通常時コマンド送信処理を実行した際に、コマンドキューに送信すべきコマンドが格納されていない場合には、ドア開放検出スイッチ25の検出状態に基づいてドアコマンドを生成して送信する。一方、サブ制御部91は、復帰コマンドまたは設定コマンド(開始)を受信することで、演出装置の出力制御を開始する。
Next, after transmitting the return command or the setting command, the
また、メイン制御部41は、タイマ割込処理(メイン)において実行する通常時コマンド送信処理によりドアコマンド等を送信するとともに、メイン制御部41の起動後、初期設定処理の終了時まではタイマ割込が許可されることがなく、メイン制御部41の起動後、復帰コマンドまたは設定コマンド(開始)を送信した後に、通常時コマンド送信処理により送信されるドアコマンド等のコマンドの送信が許可されることとなる。
In addition, the
また、図15に示すように、メイン制御部41は、タイマ割込処理(メイン)において停電判定処理を実行して、電断検出回路48から電圧低下信号が入力されているか否かに基づいて電断の発生を特定する。電断検出回路48は、メイン制御部41の駆動電圧(DC+5V)よりも高い前述の監視電圧(DC+24V)を監視し、監視電圧がメイン制御部41の駆動電圧(DC+5V)よりも高い電圧低下検出電圧(メイン)(+20V)以下になると電圧低下信号を出力するため、メイン制御部41は、監視電圧が電圧低下検出電圧(メイン)以下となることで電断の発生が特定されることとなる。そして、メイン制御部41は、停電判定処理において電断の発生が特定されると、電断時コマンド送信処理を実行して、コマンドキューに格納されている全てのコマンドをサブ制御部91に対して送信した後、電断処理(メイン)を実行する。
Further, as shown in FIG. 15, the
また、リセット回路49は、監視電圧が電圧低下検出電圧(メイン)(+20V)よりも低く、動作可能電圧(メイン)(+3.5V)よりも高い動作制限電圧(メイン)(+8V)以下となることで、リセット信号をONにしてメイン制御部41を動作不能な状態とする。動作制限電圧(メイン)は、電断検出回路48が電断の発生を検出する電圧低下検出電圧(メイン)以下となった後、動作制限電圧(メイン)に降下するまでの時間が、電圧低下検出電圧(メイン)以下となってからメイン制御部41が電断の発生を特定し、電断時コマンド送信処理を実行し、かつ電断処理を実行するのに必要な時間が確保されるように設定されている。
In the
電圧低下検出電圧(メイン)以下となってからメイン制御部41が電断の発生を特定し、電断時コマンド送信処理を実行し、かつ電断処理を実行するのに必要な時間とは、メイン制御部41が電断を検出するまでの最大時間(タイマ割込処理(メイン)毎に電断の発生が特定されるため0.56ms)と、電断時コマンド送信処理にてコマンドキューに格納可能な最大数(32)のコマンドを送信するのに要する時間(1コマンド送信に40μs(MODE送信10μs、送信間隔10μs、EXT送信10μs、送信間隔10μs)要するため、最大数の送信の場合40×32=1280μs)と、電断処理(メイン)に要する時間と、を合算した時間である。
The time required for the
一方、電断検出回路98は、サブ制御部91の駆動電圧(DC+5V)よりも高い前述の監視電圧(DC+24V)を監視し、監視電圧が、動作制限電圧(メイン)(+8V)よりも低く、サブ制御部91の駆動電圧(DC+5V)よりも高い電圧低下検出電圧(サブ)(+6V)以下になると電圧低下信号を出力するため、サブ制御部91は、監視電圧が電圧低下検出電圧(サブ)以下となることで電断の発生が特定されることとなる。そして、サブ制御部91は、停電判定処理において電断の発生が特定されると、電断処理(サブ)を実行する。
On the other hand, the power interruption detection circuit 98 monitors the aforementioned monitoring voltage (DC + 24V) higher than the driving voltage (DC + 5V) of the
また、リセット回路95は、監視電圧が電圧低下検出電圧(サブ)(+6V)よりも低く、動作可能電圧(サブ)(+3.5V)よりも高い動作制限電圧(サブ)(+4V)以下となることで、リセット信号をONにしてサブ制御部91を動作不能な状態とする。動作制限電圧(サブ)は、電断検出回路98が電断の発生を検出する電圧低下検出電圧(サブ)以下となった後、動作制限電圧(サブ)に降下するまでの時間が、電圧低下検出電圧(サブ)以下となってからサブ制御部91が電断の発生を特定し、電断処理を実行するのに必要な時間が確保されるように設定されている。
In the
また、サブ制御部91は、監視電圧が、動作制限電圧(メイン)、すなわちメイン制御部41による電断時コマンド送信処理及び電断処理(メイン)の完了後にメイン制御部41が動作不能となる電圧よりも低い電圧低下検出電圧(サブ)以下になると出力される電圧低下信号により電断の発生を特定して電断処理(サブ)を実行するようになっており、少なくともメイン制御部41が電断時コマンド送信処理を完了させるまでコマンドを受信可能な状態が維持されるので、メイン制御部41が電断時コマンド送信処理により送信したコマンドを全て受信した状態で電断処理を実行することができるようになっている。尚、サブ制御部91が電断の発生を特定するタイミングが、メイン制御部41が動作不能となる前のタイミングであっても、メイン制御部41が電断時コマンド送信処理により送信したコマンドを全て受信するのに十分なタイミングまでコマンドを受信可能な状態が維持される構成であれば、メイン制御部41が電断時コマンド送信処理により送信したコマンドを全て受信した状態で電断処理を実行することができる。
In addition, the
このように、本実施例のメイン制御部41は、メイン処理等において遊技の進行に応じてコマンドを生成し、生成したコマンドをコマンドキューに格納し、タイマ割込処理(メイン)において通常時コマンド送信処理を実行する毎にコマンドキューに格納されている未送信のコマンドをサブ制御部91に対して送信する構成である。
As described above, the
このような構成では、複数のコマンドがコマンドキューに格納されている状態で、スロットマシン1への電力供給が停止されて電断が生じることがあり、メイン制御部41による電断検出時にメイン制御部41側において複数のコマンドが未送信の状態であって、電断後も未送信のコマンドをそのまま保持し、電断復帰後に電断前から保持されていたコマンドをサブ制御部91に対して送信すると、電断時及び電断復帰時におけるメイン制御部41側の制御状態と、サブ制御部91側で特定されるメイン制御部41側の制御状態と、が異なってしまうこととなる。
In such a configuration, in a state where a plurality of commands are stored in the command queue, the power supply to the slot machine 1 may be stopped and a power interruption may occur, and the main control is performed when the
これに対して、本実施例では、メイン制御部41は、電断検出時に、電断前の制御状態に復帰可能とするための電断処理(メイン)を実行する前にコマンドキューに格納されている全てのコマンドをサブ制御部91に対して送信するため電断時コマンド送信処理を実行するので、電断時及び電断復帰時におけるメイン制御部41側の制御状態と、サブ制御部91側で特定されるメイン制御部41側の制御状態と、を極力一致させることができる。
On the other hand, in the present embodiment, the
また、メイン制御部41は、電断検出時に、電力供給が停止されてから制御不能となるまでの期間が、コマンドキューに格納可能な最大数のコマンド(本実施例では、最大32のコマンド)をサブ制御部91に対して送信し、かつ電断処理(メイン)が完了するのに要する期間よりも長いので、電断検出後、コマンドキューに格納されている全てのコマンドを送信してから電断処理(メイン)までの処理を確実に実行させることができる。
Further, the
尚、本実施例では、遊技の制御を行う第1の制御手段であるメイン制御部41が、演出の制御を行う第2の制御手段であるサブ制御部91に対して制御情報としてコマンドを送信する構成であるが、第1の制御手段は、遊技の制御以外の制御、例えば、演出の制御を行う制御手段であっても良い。また、第2の制御手段は、第1の制御手段から送信された制御情報に基づいて何らかの制御を行う制御手段であれば良く、例えば、第1の制御手段が演出の制御を行う制御手段である場合に、第1の制御手段から送信された制御情報に基づいて演出装置の制御を行う制御手段を第2の制御手段としても良い。
In this embodiment, the
また、本実施例では、メイン制御部41(第1の制御手段)が実行する電断処理(メイン)として、バックアップ領域のRAMパリティ(排他的論理和)が0となるようにRAMパリティ調整用データを設定し、かつ破壊診断用データ(0以外のデータ)を設定する処理を行うことで、電断復帰時にRAMパリティが0であり、かつ破壊診断用データが一致することによりバックアップ領域のデータが正常と判定可能となる構成であるが、スロットマシン1への電力供給が停止して電断が生じた際に、電断前の制御状態に復帰可能とするための電断処理であれば良く、例えば、バックアップ領域のチェックサムを設定し、電断復帰時に算出したチェックサムと一致することでバックアップ領域のデータが正常と判定可能となる構成でも良い。 In this embodiment, as a power interruption process (main) executed by the main control unit 41 (first control means), RAM parity adjustment is performed so that the RAM parity (exclusive OR) of the backup area becomes zero. By performing the process of setting data and setting destruction diagnosis data (data other than 0), the RAM parity is 0 at the time of power failure recovery, and the destruction diagnosis data matches, so the data in the backup area Can be determined as normal, but when the power supply to the slot machine 1 is stopped and a power interruption occurs, the power interruption process is performed so that the control state before the power interruption can be restored. For example, a configuration may be adopted in which it is possible to determine that the data in the backup area is normal by setting the checksum of the backup area and matching the checksum calculated when power is restored.
また、本実施例では、遊技制御基板40のリセット回路49が、電断発生時に、監視電圧が降下してメイン制御部41が動作不能となる動作可能電圧(メイン)以下となる前にリセット信号をメイン制御部41に供給し、リセット信号が供給されることでメイン制御部41は一切の動作を停止させる、すなわち制御不能な状態とする構成であり、メイン制御部41は、電断検出後、リセット信号が供給されて制御不能となるまでの期間が、コマンドキューに格納可能な最大数のコマンドをサブ制御部91に対して送信し、かつ電断処理(メイン)が完了するのに要する期間よりも長くなる構成であるが、電断時にメイン制御部41にリセット信号が供給されない構成においては、監視電圧がメイン制御部41の動作可能電圧(メイン)を下回って制御不能となるまでの期間が、コマンドキューに格納可能な最大数のコマンドをサブ制御部91に対して送信し、かつ電断処理(メイン)が完了するのに要する期間よりも長くなる構成であっても、電断検出後、コマンドキューに格納されている全てのコマンドを送信してから電断処理(メイン)までの処理を確実に実行させることができる。
Further, in this embodiment, the
また、本実施例では、電断発生時にメイン制御部41の動作を停止させる動作制限電圧(メイン)が、電断検出回路48が電断の発生を検出する電圧低下検出電圧(メイン)以下となった後、動作制限電圧(メイン)に降下するまでの時間が、電圧低下検出電圧(メイン)以下となってからメイン制御部41が電断の発生を特定し、電断時コマンド送信処理を実行し、かつ電断処理を実行するのに必要な時間が確保されるように設定されることで、電断発生後、メイン制御部41が動作不能となるまでの期間が、コマンドキューに格納可能な最大数のコマンドをサブ制御部91に対して送信し、かつ電断処理(メイン)が完了するのに要する期間よりも長くなる構成であるが、電断発生時からメイン制御部41の駆動電圧の低下をコンデンサ、電池、キャパシタ等により遅延させることで電断発生後、メイン制御部41が動作不能となるまでの期間が、コマンドキューに格納可能な最大数のコマンドをサブ制御部91に対して送信し、かつ電断処理(メイン)が完了するのに要する期間よりも長くなる構成としたり、メイン制御部41が動作不能となるまでの期間が、コマンドキューに格納可能な最大数のコマンドをサブ制御部91に対して送信し、かつ電断処理(メイン)が完了するのに要する期間よりも長くなるようにコマンドキューに格納可能な最大数を設定する構成としても良く、これらの構成であっても、電断発生後、コマンドキューに格納されている全てのコマンドを送信してから電断処理(メイン)までの処理を確実に実行させることができる。
Further, in this embodiment, the operation limiting voltage (main) that stops the operation of the
また、本実施例のメイン制御部41は、電断検出時に、電断時コマンド送信処理を実行して、コマンドキューに格納されている全てのコマンドをサブ制御部91に対して送信した後、電断処理(メイン)を実行し、当該電断処理(メイン)においてコマンドを出力する出力ポートを含むパラレル出力ポート513の各出力ポートを初期化するので、電力供給が不安定な状態で誤ってコマンドが送信されてしまうことを防止できる。
In addition, the
また、本実施例のメイン制御部41は、タイマ割込処理(メイン)において通常時コマンド送信処理を実行することで、コマンドキューに格納されている格納領域に格納されているコマンドのうち所定数(本実施例では、1つ)のコマンドを所定契機(タイマ割込処理(メイン)4回に1回)毎にサブ制御部91に対して送信するので、所定数(本実施例では、1つ)以上のコマンドがコマンドキューに格納されている場合でも、1回のタイマ割込処理(メイン)において送信されるコマンドの送信数が所定数に制限されるため、通常時コマンド送信処理におけるコマンドの送信によりメイン制御部41による他の制御が遅延してしまうことを防止できる。
In addition, the
また、本実施例のメイン制御部41は、所定契機において(タイマ割込処理(メイン)において実行する通常時コマンド送信処理を行うとき)、コマンドキューに遊技の進行に応じたコマンド(内部当選コマンド、停止操作時コマンド等)が格納されていない場合に、ドア開放検出スイッチ25の検出状態を示すドアコマンドをサブ制御部91に対して送信することで、前面扉1bの開閉状態をサブ制御部91が特定可能となるとともに、ドアコマンドは、所定契機においてコマンドキューに遊技の進行に応じたコマンドが格納されていない場合に送信されるので、遊技の進行に応じたコマンドの送信がドアコマンドの送信によって遅延したり、ドアコマンドの送信によりメイン制御部41による他の制御(例えば、メイン処理における各制御)が遅延してしまうことを防止できる。
In addition, the
また、メイン制御部41は、その起動後、復帰コマンドまたは設定コマンド(開始)を送信した後に、通常時コマンド送信処理により送信されるドアコマンド等のコマンドの送信が許可されるようになっており、電源投入後、電断前の状態に復帰させて復帰コマンドを送信するか、電断前の状態に復帰させずに設定コマンド(開始)を送信するまではドアコマンドが送信されることがないので、メイン制御部41を復帰させるか否かが確定した後に、サブ制御部91側でメイン制御部41側の状態を特定することができるとともに、メイン制御部41が電断前の制御状態に復帰するか否か確定していない状態でサブ制御部91がコマンドを受信することで、意図しない動作が行われてしまうことを防止できる。
The
尚、本実施例では、通常時コマンド送信処理においてコマンドキューにいずれのコマンドも格納されていない場合に、ドア開放検出スイッチ25の検出状態を示すドアコマンドを生成して送信する構成であるが、通常時コマンド送信処理においてコマンドキューにいずれのコマンドも格納されていない場合に、スイッチ検出回路44の出力に基づいて操作スイッチ類(MAXBETスイッチ6、スタートスイッチ7、ストップスイッチ8L、8C、8R)の検出状態(on/off)を示すコマンド、エラーの検出の有無及び検出したエラーの種類を示すコマンド、当該ゲームの遊技状態を特定可能なコマンドなど、メイン制御部41側の制御状態を特定可能なコマンドを生成してサブ制御部91に対して送信する構成としても良く、このような構成であっても、メイン制御部41側の制御状態をサブ制御部91が特定可能となるとともに、遊技の進行に応じたコマンドの送信がメイン制御部41の制御状態を特定可能なコマンドの送信によって遅延したり、メイン制御部41の制御状態を特定可能なコマンドの送信によりメイン制御部41による他の制御が遅延してしまうことを防止できる。
In the present embodiment, when any command is not stored in the command queue in the normal command transmission process, the door command indicating the detection state of the door opening
次に、メイン制御部41が遊技の進行制御等に用いる時間間隔を計測するためのタイマカウンタについて、図16、17を用いて説明する。
Next, a timer counter for measuring a time interval used by the
メイン制御部41は、計時開始条件が成立したときに、RAM41cに割り当てられたタイマカウンタのタイマ値として計時時間に応じた初期値を設定するとともに、タイマ割込処理(メイン)において定期的にタイマ値を減算し、タイマ値が0となることで計時時間が経過したことを特定するようになっている。
The
詳しくは、メイン制御部41は、メイン処理において計時開始条件が成立したときに、当該条件に応じたタイマカウンタが割り当てられた領域に計時時間に応じたタイマ値の初期値を設定する。設定されたタイマ値は、タイマ割込処理(メイン)の時間カウンタ更新処理において、約2.24ms毎に0となるまで1ずつ減算される。
Specifically, when a timing start condition is established in the main process, the
そして、メイン処理では、図16に示すように、該当するタイマカウンタのアドレスを取得し(Si1)、取得した値を読み出し(Si2)、読み出した値が0でないか否かを判定し(Si3)、読み出した値が0であると判定した場合に、計時時間が経過したことを特定する。 Then, in the main process, as shown in FIG. 16, the address of the corresponding timer counter is acquired (Si1), the acquired value is read (Si2), and it is determined whether or not the read value is 0 (Si3). If it is determined that the read value is 0, it is determined that the time has elapsed.
本実施例において用いるタイマカウンタは、図17に示すように、初期値が1バイト以下の1バイトタイマA、1バイトタイマB、1バイトタイマC、初期値が1バイトを超え、2バイト以下の2バイトタイマA、2バイトタイマB、2バイトタイマC、2バイトタイマDを含む。 As shown in FIG. 17, the timer counter used in the present embodiment has an initial value of 1 byte timer A, 1 byte timer B, 1 byte timer C, an initial value exceeding 1 byte, 2 bytes or less. 2 byte timer A, 2 byte timer B, 2 byte timer C, 2 byte timer D are included.
1バイトタイマは、1バイト以内のタイマ値にて計測可能な比較的短い期間を計測するためのタイマであり、例えば、外部出力信号の出力期間を計測する外部出力信号タイマ、LEDの出力更新期間を計測するLED更新タイマ、停止操作の検出後、再度の停止操作が有効化されるまでの期間を計測する停止無効タイマ、リール停止後、メダルの払出が開始するまでの期間を計測する払出待ちタイマ、投入メダルセンサ31のONが検出されてからの期間を計測する投入検出タイマ、投入口センサ26のONが検出されてからの期間を計測する投入口検出タイマ、払出センサ34cのONが検出されてからの期間を計測する払出検出タイマ、リール回転開始後、停止操作が有効となるまでの期間を計測する始動時タイマなどがある。このうち停止無効タイマ、払出待ちタイマ、始動時タイマは、これらのタイマによる計測期間が1遊技の終了するタイミングを跨ぐことはないが、外部出力信号タイマ、LED更新タイマ、投入検出タイマ、投入口検出タイマ、払出検出タイマは、これらのタイマによる計測時間が1遊技の終了するタイミングを跨ぐことがある。
The 1-byte timer is a timer for measuring a relatively short period that can be measured with a timer value within 1 byte. For example, an external output signal timer that measures an output period of an external output signal, an LED output update period LED update timer that measures the time, stop invalid timer that measures the period until the stop operation is validated after detection of the stop operation, wait for payout that measures the period until the medal payout starts after the reel stops Timer, insertion detection timer for measuring the period after the
2バイトタイマは、1バイト以内のタイマ値では計測できない比較的長い期間を計測するためのタイマであり、例えば、1遊技に必要な規定時間(約4.1秒)を計測する1遊技時間タイマ、外部出力信号のうちセキュリティ信号の最低出力期間を計測するセキュリティ信号タイマ、遊技終了からの期間を計測する待機時間タイマ、ホッパーモータ34bの駆動後、払出センサ34cが検出されない期間を計測するホッパーエンプティタイマなどがある。このうち待機時間タイマ、ホッパーエンプティタイマは、これらのタイマによる計測期間が1遊技の終了するタイミングを跨ぐことはないが、1遊技時間タイマ、セキュリティ信号タイマは、これらのタイマによる計測時間が1遊技の終了するタイミングを跨ぐことがある。
The 2-byte timer is a timer for measuring a relatively long period that cannot be measured with a timer value within 1 byte. For example, a 1-game time timer that measures a specified time (about 4.1 seconds) required for 1 game. , A security signal timer for measuring the minimum output period of the security signal among the external output signals, a standby time timer for measuring a period from the end of the game, and a hopper empty for measuring a period in which the
このようにタイマカウンタは、1遊技の終了するタイミング、すなわち遊技の進行に応じてRAM41cの一部が初期化されるタイミング(1遊技の終了時または特定の遊技状態の終了時においてRAM41cの一部が初期化されるタイミング)を跨ぐ計測期間を計測するタイマカウンタと、遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのないタイマカウンタと、を含むが、いずれのタイマカウンタも遊技の進行に応じたタイミングでは初期化されることのない特別ワークに割り当てられている。
As described above, the timer counter is a timing at which one game ends, that is, a timing at which a part of the
これらタイマカウンタのうち1バイトタイマA〜Cは、RAM41cの連続する3バイトの領域(7E2Ch〜7E2Eh)に1バイトずつ割り当てられており、2バイトタイマA〜Dは、RAM41cの連続する8バイトの領域(7E2Fh〜7E35h)に2バイトずつ割り当てられている。さらに、1バイトタイマA〜C、2バイトタイマA〜DもRAM41cの連続する領域に割り当てられている。以下では、1バイトタイマA〜Cが割り当てられた領域を1バイトタイマ群と呼び、2バイトタイマA〜Dが割り当てられた領域を2バイトタイマ群と呼ぶ。すなわち1バイトタイマ群及び2バイトタイマ群はいずれも、所定の規則で連続するアドレスが割り当てられた領域に設定されている。尚、所定の規則で連続するアドレスが割り当てられる領域とは、例えば、開始アドレス及び開始アドレスからN(Nは自然数)ずつ加算されるアドレスが割り当てられる領域である。
Among these timer counters, the 1-byte timers A to C are allocated 1 byte at a time to the continuous 3-byte area (7E2Ch to 7E2Eh) of the
図18は、時間カウンタ更新処理の制御内容を示すフローチャートである。 FIG. 18 is a flowchart showing the control content of the time counter update process.
時間カウンタ更新処理では、まず、1バイト用処理回数として、更新すべき1バイトのタイマカウンタの数(本実施例では3)をセットし(Sj1)、1バイトタイマ群の先頭アドレス(7E2Ch)にポインタをセットする(Sj2)。 In the time counter update process, first, the number of 1-byte timer counters to be updated (3 in this embodiment) is set as the number of processes for 1 byte (Sj1), and the first address of the 1-byte timer group (7E2Ch) is set. A pointer is set (Sj2).
次いで、指定アドレス(ポインタが示すアドレス)に格納された1バイトの値が0でなければ指定アドレスの1バイトの値を1減算し(Sj3)、Sj1のステップで設定した処理回数を1減算し(Sj4)、減算後の処理回数が0か否かを判定する(Sj5)。 Next, if the value of 1 byte stored at the specified address (address indicated by the pointer) is not 0, 1 is subtracted from the value of 1 byte of the specified address (Sj3), and 1 is subtracted from the number of times set in the step of Sj1. (Sj4), it is determined whether the number of processes after subtraction is 0 (Sj5).
Sj5のステップで減算後の処理回数が0でない場合、すなわち全ての1バイトタイマの更新が終了していない場合には、ポインタを1加算し(Sj6)、Sj3のステップに戻る。これにより、未処理の1バイトタイマのアドレスにポインタが移動し、指定アドレスの1バイトの値が0でなければ減算される。 If the number of processes after subtraction is not 0 in step Sj5, that is, if all 1-byte timers have not been updated, 1 is added to the pointer (Sj6), and the process returns to step Sj3. As a result, the pointer moves to the address of the unprocessed 1-byte timer, and if the 1-byte value of the designated address is not 0, the pointer is subtracted.
Sj5のステップで減算後の処理回数が0の場合、すなわち全ての1バイトタイマの更新が終了した場合には、2バイト用処理回数として、更新すべき2バイトのタイマカウンタの数(本実施例では4)をセットし(Sj7)、ポインタを1加算する(Sj8)。これにより、2バイトカウンタ群の先頭アドレス(7E2Fh)にポインタが移動する。 When the number of processes after subtraction in step Sj5 is 0, that is, when all the 1-byte timers have been updated, the number of 2-byte timer counters to be updated as the number of 2-byte processes (this embodiment) Then, 4) is set (Sj7), and the pointer is incremented by 1 (Sj8). As a result, the pointer moves to the start address (7E2Fh) of the 2-byte counter group.
次いで、指定アドレス(ポインタが示すアドレス)及び次のアドレスからなる領域に格納された2バイトの値が0でなければ指定アドレス及び次のアドレスの2バイトの値を1減算し(Sj9)、Sj7のステップで設定した処理回数を1減算し(Sj10)、減算後の処理回数が0か否かを判定する(Sj11)。 Next, if the 2-byte value stored in the area consisting of the designated address (address indicated by the pointer) and the next address is not 0, the 2-byte value of the designated address and the next address is decremented by 1 (Sj9), and Sj7 1 is subtracted from the number of processes set in step (Sj10), and it is determined whether or not the number of processes after subtraction is 0 (Sj11).
Sj11のステップで減算後の処理回数が0でない場合、すなわち全ての2バイトタイマの更新が終了していない場合には、ポインタを2加算し(Sj12)、Sj9のステップに戻る。これにより、未処理の2バイトタイマのアドレスにポインタが移動し、指定アドレス及び次のアドレスの2バイトの値が0でなければ減算される。 If the number of processes after the subtraction is not 0 in step Sj11, that is, if all the 2-byte timers have not been updated, the pointer is incremented by 2 (Sj12), and the process returns to step Sj9. As a result, the pointer moves to the address of the unprocessed 2-byte timer, and if the 2-byte value of the designated address and the next address is not 0, the pointer is subtracted.
Sj11のステップで減算後の処理回数が0の場合、すなわち全ての2バイトタイマの更新が終了した場合には、処理を終了する。 If the number of processes after subtraction in step Sj11 is 0, that is, if all the 2-byte timers have been updated, the process ends.
このように本実施例では、RAM41cに割り当てられたタイマカウンタの値を定期的に更新し、特定の値(0)となることで時間の経過を特定するようになっている。従来は、複数種類の時間間隔を計測する場合に、計時を要する複数種類の処理内で、タイマ値の設定及び更新を行っており、複数種類のタイマ値を更新するためのプログラムをそれぞれの処理内に設ける必要があるため、プログラム容量が増大する要因となっていた。また、複数種類のタイマカウンタは、それぞれが用いられる処理毎のデータ群として割り当てられているため、一の処理においてまとめて更新するためには、それぞれの関連性のないアドレスの値を読み出す必要があった。
As described above, in this embodiment, the value of the timer counter assigned to the
これに対して本実施例では、複数種類のタイマカウンタ値が格納される領域がRAM41cの所定の規則で連続するアドレスが割り当てられた領域に設定されるとともに、指定アドレスに格納されたタイマ値を更新する処理を、現在の指定アドレスに対して定数を加算することで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新するので、複数種類のアドレスをそれぞれ指定して当該アドレスの値を更新する処理を個々の処理で行う場合よりもプログラム容量を削減することができる。
On the other hand, in this embodiment, an area in which a plurality of types of timer counter values are stored is set to an area to which consecutive addresses are assigned according to a predetermined rule in the
尚、指定アドレスに格納されたタイマ値を更新する処理を、所定の演算を行うことで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成であれば良く、例えば、現在の指定アドレスに対して定数を加算することで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成でも良いし、基準アドレスに対して処理数に応じた値(例えば、1バイトカウンタであれば、処理数1の場合に+1、処理数2の場合に+2、処理数3の場合に+3…)を加算または減算することで複数種類のタイマカウンタ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成でも良い。 Multiple types of timers can be obtained by repeatedly executing the process of updating the timer value stored at the specified address while changing the specified address for the area where the multiple types of timer counter values are stored by performing a predetermined calculation. Any configuration may be used as long as the value is updated. For example, by adding a constant to the current designated address, multiple types can be obtained by repeatedly executing while changing the designated address for an area in which multiple types of timer counter values are stored. The timer value may be updated, or a value corresponding to the number of processes with respect to the reference address (for example, for a 1-byte counter, +1 for the number of processes 1, +1 for the number of processes 2, and the number of processes While changing the designated address for the area where multiple types of timer counter values are stored by adding or subtracting +3 ...) for 3 Ri may be configured to update a plurality of types of the timer value by return run.
また、本実施例では、1バイトタイマA〜C、2バイトタイマA〜Dの7種類のタイマカウンタの値を備える構成であるが、少なくとも2種類以上のタイマカウンタの値をRAM41cの所定の規則で連続するアドレスが割り当てられた領域に設定し、指定アドレスに格納されたタイマ値を更新する処理を、所定の演算を行うことで複数種類のタイマ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより2種類以上のタイマ値を更新する構成であれば、上記のようにプログラム容量を削減することができる。
In the present embodiment, the configuration includes seven types of timer counter values of 1-byte timers A to C and 2-byte timers A to D. However, at least two types of timer counter values are determined according to a predetermined rule of the
また、1バイトタイマまたは2バイトタイマの一方のみ、タイマカウンタの値をRAM41cの所定の規則で連続するアドレスが割り当てられた領域に設定し、指定アドレスに格納されたタイマ値を更新する処理を、所定の演算を行うことで複数種類のタイマ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成でも良い。
In addition, only one of the 1-byte timer and 2-byte timer is set to set the timer counter value in an area to which consecutive addresses are assigned according to a predetermined rule in the
また、メイン制御部41が備える一部のタイマカウンタのみ、タイマ値をRAM41cの所定の規則で連続するアドレスが割り当てられた領域に設定し、指定アドレスに格納されたタイマ値を更新する処理を、所定の演算を行うことで複数種類のタイマ値が格納された領域に対する指定アドレスを変更しながら繰り返し実行することにより複数種類のタイマ値を更新する構成でも良い。
Further, only for some of the timer counters provided in the
また、本実施例では、計測する期間の種類毎に別個のタイマカウンタを備える構成であるが、例えば、計測する期間が重複しない複数種類の期間について一のタイマカウンタを共用する構成としても良い。 In this embodiment, a separate timer counter is provided for each type of period to be measured. For example, a single timer counter may be shared for a plurality of types of periods in which the measurement periods do not overlap.
また、本実施例では、メイン制御部41が実行する処理として、遊技の進行状況に関わらず予め定められた処理を定期的に行うタイマ割込処理(メイン)と、遊技の進行状況に応じて段階的に異なる処理を行うメイン処理と、を含み、メイン制御部41は、メイン処理において計時条件が成立した場合にタイマカウンタに初期値を設定し、タイマ割込処理(メイン)において複数種類のタイマ値を更新するようになっており、メイン処理を構成する各処理内に複数種類のタイマ値を更新する処理を設ける必要がないため、複数種類のタイマ値の更新に係るプログラム容量を削減することができる。
In the present embodiment, the
尚、本実施例では、メイン処理に定期的に割り込んでタイマ割込処理(メイン)を実行する構成であるが、定期的に行うタイマ割込処理内で、遊技の進行状況に関わらず予め定められた処理を行う定期処理と、遊技の進行状況に応じて段階的に異なる処理を行うメイン処理と、の双方を行う構成としても良く、このような構成においても、メイン制御部41は、メイン処理において計時条件が成立した場合にタイマカウンタに初期値を設定し、定期処理において複数種類のタイマ値を更新する構成とすることで、メイン処理を構成する各処理内に複数種類のタイマ値を更新する処理を設ける必要がないため、複数種類のタイマ値の更新に係るプログラム容量を削減することができる。
In this embodiment, the timer interrupt process (main) is executed by periodically interrupting the main process. However, in the timer interrupt process periodically performed, it is determined in advance regardless of the progress of the game. The
また、本実施例では、時間カウンタ更新処理において、指定アドレスの値が0でないことを条件に当該アドレスの値を更新するようになっており、タイマ値が異常な値に更新されてしまうことを防止できる。 Further, in this embodiment, in the time counter update process, the value of the address is updated on condition that the value of the designated address is not 0, and the timer value is updated to an abnormal value. Can be prevented.
また、本実施例では、時間カウンタ更新処理において、更新するタイマカウンタの数と同数の処理数を設定し、設定した処理数分、タイマ値を更新する処理を繰り返し実行する構成であるため、更新するタイマカウンタの数の管理が容易になるとともに、例えば、更新間隔が異なる複数種類のタイマカウンタを備える場合などに、設定する処理数に応じて更新するタイマ値の種類を任意に設定することができる。 Further, in this embodiment, in the time counter update process, the number of processes equal to the number of timer counters to be updated is set, and the process of updating the timer value is repeatedly executed for the set number of processes. The number of timer counters to be updated can be easily set. For example, when a plurality of types of timer counters having different update intervals are provided, the type of timer value to be updated can be arbitrarily set according to the number of processes to be set. it can.
尚、処理数、すなわち更新するタイマカウンタの数は、プログラムに設定されていても良いし、テーブルに設定された値を読み出して設定するようにしても良い。 Note that the number of processes, that is, the number of timer counters to be updated may be set in a program, or values set in a table may be read and set.
また、最初に処理数を設定することなく、最後に更新するタイマカウンタを予め設定するとともに、当該タイマカウンタのアドレスに到達するまでタイマ値を更新する処理を繰り返し実行する構成としたり、最後に更新するタイマカウンタの次のアドレスに特定のエンド値(例えば、FFh)を格納し、指定アドレスから読み出された値が特定のエンド値となるまでタイマ値を更新する処理を繰り返し実行する構成としても良い。 In addition, the timer counter to be updated last is set in advance without setting the number of processes at the beginning, and the timer value is updated repeatedly until the address of the timer counter is reached. It is also possible to store a specific end value (for example, FFh) at the next address of the timer counter, and to repeatedly execute the process of updating the timer value until the value read from the specified address becomes the specific end value. good.
また、本実施例では、1バイトのタイマカウンタと、2バイトのタイマカウンタと、を備え、1バイトのタイマ値を更新する処理と、2バイトのタイマ値を更新する処理と、を別個に備えるため、1バイトのタイマ値を更新する処理と、2バイトのタイマ値を更新する処理と、を共通化する場合よりもプログラムの容量やRAM41cにおいてタイマ値が占有する容量を削減することができる。
In this embodiment, a 1-byte timer counter and a 2-byte timer counter are provided, and a process for updating a 1-byte timer value and a process for updating a 2-byte timer value are separately provided. Therefore, the capacity of the program and the capacity occupied by the timer value in the
尚、本実施例では、2バイトのタイマカウンタを備えることで1バイトを超える初期値に対応する相対的に長い時間を計測する構成であるが、例えば、更新間隔が異なるタイマカウンタ、例えば、タイマ割込処理(メイン)4回に1回更新する第1のタイマカウンタと、14回に1回更新する第2のタイマカウンタと、を備えることにより、2バイトのカウンタを設けることなく、相対的に長い時間間隔を計測する構成としても良く、このようにすることで、1バイトのタイマ値を更新する処理と、2バイトのタイマ値を更新する処理と、それぞれ設ける必要がなくなるため、タイマ値の更新に係るプログラム容量を削減できる。 In this embodiment, a relatively long time corresponding to an initial value exceeding 1 byte is measured by providing a 2-byte timer counter. For example, a timer counter having a different update interval, for example, a timer, is used. Interrupt processing (main) By providing a first timer counter that is updated once every four times and a second timer counter that is updated once every fourteen times, a relative value can be obtained without providing a 2-byte counter. It is also possible to employ a configuration for measuring a long time interval. By doing so, it is not necessary to provide a process for updating a 1-byte timer value and a process for updating a 2-byte timer value. It is possible to reduce the program capacity related to the update.
また、本実施例では、複数種類のタイマカウンタがRAM41cにおいて遊技の進行に応じて初期化されることのない特別ワークに割り当てられており、遊技の進行に応じて初期化されることがないため、遊技の進行状況に関わらず、遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐ期間の時間を計測することができる。
In the present embodiment, a plurality of types of timer counters are assigned to special works that are not initialized in accordance with the progress of the game in the
特に、本実施例では、計測期間が1遊技の終了するタイミング、すなわち遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのあるタイマカウンタだけでなく、計測期間が遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのないタイマカウンタについても他のタイマカウンタとともに特別ワークに割り当てられた領域に格納されているため、タイマカウンタの管理が容易になるとともに、計測期間が遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのないタイマカウンタを、計測期間が遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのあるタイマカウンタに変更する等、後の設計変更等によりタイマカウンタの用途を容易に変更することができる。また、上記のように計測する期間が重複しない複数種類の期間について一のタイマカウンタを共用する構成であれば、遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのある計測期間と、遊技の進行に応じてRAM41cの一部が初期化されるタイミングを跨ぐことのない計測期間と、を一のタイマカウンタにて計測することが可能となる。
In particular, in this embodiment, not only the timer counter that may cross the timing when the measurement period ends in one game, that is, the timing at which a part of the
以上、本発明の実施例を図面により説明してきたが、本発明はこの実施例に限定されるものではなく、本発明の主旨を逸脱しない範囲における変更や追加があっても本発明に含まれることは言うまでもない。 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 embodiment, the example in which the present invention is applied to a slot machine in which bets are set using medals and credits as game values has been described. However, a slot machine that sets bets using game balls as game values. Alternatively, the present invention may be applied to a complete credit type slot machine in which a bet amount is set using only credit as a game 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.
また、実施例では遊技機としてスロットマシンを例に説明したが、上記実施例で開示したメイン制御部41及びメイン制御部41に関連する初期設定処理、タイマ割込処理、コマンド格納処理、通常時コマンド送信処理、電断時コマンド送信処理、タイマカウンタの更新処理等、サブ制御部91及びサブ制御部91に関連する処理を、他の遊技機、例えば、遊技領域に遊技球を発射させることで遊技が行われ、発射された遊技球が遊技領域内に設けられた入賞口に入って入賞が発生することで、賞球として遊技球が払い出されるパチンコ遊技機等に適用しても良い。
In the embodiment, the slot machine is described as an example of the gaming machine. However, the
1 スロットマシン
2L、2C、2R リール
6 MAXBETスイッチ
7 スタートスイッチ
8L、8C、8R ストップスイッチ
41 メイン制御部
91 サブ制御部
1
Claims (1)
第1の制御を行うとともに、遊技機への電力供給が停止しても制御状態を保持可能な第1の制御手段と、
第1の制御手段から送信された制御情報に基づいて第2の制御を行うとともに、遊技機への電力供給が停止しても制御状態を保持可能な第2の制御手段と、
を備え、
前記第1の制御手段は、
電断条件が成立した場合に、遊技機への電力供給が停止する前の制御状態に復帰可能とするための電断処理を実行する電断処理実行手段と、
制御の進行に応じて前記第2の制御手段に送信する制御情報を作成し、格納領域に格納する制御情報格納手段と、
所定契機毎に前記格納領域に格納されている制御情報を前記第2の制御手段に対して送信する第1の制御情報送信手段と、
電断条件が成立した場合に、前記電断処理を実行する前に前記格納領域に格納されている制御情報全てを前記第2の制御手段に対して送信する第2の制御情報送信手段と、
を含み、
電断条件が成立してから前記第1の制御手段が動作不能となるまでの期間が、前記格納領域に格納可能な最大数の制御情報を前記第2の制御手段に対して送信し、かつ前記電断処理が完了するのに要する期間よりも長い、遊技機。 In gaming machines that perform games,
A first control means for performing the first control and capable of holding the control state even when the power supply to the gaming machine is stopped;
Second control means for performing the second control based on the control information transmitted from the first control means, and capable of holding the control state even when the power supply to the gaming machine is stopped;
With
The first control means includes
Power interruption processing execution means for executing power interruption processing for enabling return to the control state before power supply to the gaming machine is stopped when the power interruption condition is satisfied;
Control information storage means for creating control information to be transmitted to the second control means in accordance with the progress of control and storing the control information in a storage area;
First control information transmitting means for transmitting control information stored in the storage area to the second control means at every predetermined opportunity;
A second control information transmission means for transmitting all of the control information stored in the storage area to the second control means before executing the power interruption process when a power interruption condition is satisfied;
Including
The period from when the power interruption condition is satisfied until the first control unit becomes inoperable is transmitted to the second control unit, the maximum number of control information that can be stored in the storage area, and A gaming machine that is longer than a period required to complete the power interruption process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015050379A JP6646938B2 (en) | 2015-03-13 | 2015-03-13 | Gaming machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015050379A JP6646938B2 (en) | 2015-03-13 | 2015-03-13 | Gaming machine |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020002521A Division JP6871438B2 (en) | 2020-01-10 | 2020-01-10 | Game machine |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016168206A true JP2016168206A (en) | 2016-09-23 |
JP6646938B2 JP6646938B2 (en) | 2020-02-14 |
Family
ID=56981790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015050379A Active JP6646938B2 (en) | 2015-03-13 | 2015-03-13 | Gaming machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6646938B2 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102017007572A1 (en) | 2016-08-30 | 2018-03-01 | Shimano Inc. | Outdoor component |
JP2019154792A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019154794A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019154790A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019154791A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019166054A (en) * | 2018-03-23 | 2019-10-03 | サミー株式会社 | Game machine |
JP2020049010A (en) * | 2018-09-27 | 2020-04-02 | サミー株式会社 | Game machine |
JP2020146220A (en) * | 2019-03-13 | 2020-09-17 | サミー株式会社 | Game machine |
JP2020146221A (en) * | 2019-03-13 | 2020-09-17 | サミー株式会社 | Game machine |
JP2022058865A (en) * | 2018-08-30 | 2022-04-12 | サミー株式会社 | Game machine |
JP2022058866A (en) * | 2018-08-30 | 2022-04-12 | サミー株式会社 | Game machine |
JP2022079720A (en) * | 2018-06-20 | 2022-05-26 | サミー株式会社 | Game machine |
JP2022079719A (en) * | 2018-06-20 | 2022-05-26 | サミー株式会社 | Game machine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001239040A (en) * | 2000-02-25 | 2001-09-04 | Sophia Co Ltd | Game machine |
JP2001246126A (en) * | 2000-03-07 | 2001-09-11 | Fuji Shoji:Kk | Game machine |
JP2005261783A (en) * | 2004-03-19 | 2005-09-29 | Sankyo Kk | Slot machine |
JP2008148882A (en) * | 2006-12-15 | 2008-07-03 | Sanyo Product Co Ltd | Game machine |
JP2014221215A (en) * | 2014-06-04 | 2014-11-27 | 株式会社三共 | Slot machine |
-
2015
- 2015-03-13 JP JP2015050379A patent/JP6646938B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001239040A (en) * | 2000-02-25 | 2001-09-04 | Sophia Co Ltd | Game machine |
JP2001246126A (en) * | 2000-03-07 | 2001-09-11 | Fuji Shoji:Kk | Game machine |
JP2005261783A (en) * | 2004-03-19 | 2005-09-29 | Sankyo Kk | Slot machine |
JP2008148882A (en) * | 2006-12-15 | 2008-07-03 | Sanyo Product Co Ltd | Game machine |
JP2014221215A (en) * | 2014-06-04 | 2014-11-27 | 株式会社三共 | Slot machine |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102017007572A1 (en) | 2016-08-30 | 2018-03-01 | Shimano Inc. | Outdoor component |
JP2019154792A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019154794A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019154790A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019154791A (en) * | 2018-03-13 | 2019-09-19 | サミー株式会社 | Game machine |
JP2019166054A (en) * | 2018-03-23 | 2019-10-03 | サミー株式会社 | Game machine |
JP2022079720A (en) * | 2018-06-20 | 2022-05-26 | サミー株式会社 | Game machine |
JP2022079719A (en) * | 2018-06-20 | 2022-05-26 | サミー株式会社 | Game machine |
JP2022058865A (en) * | 2018-08-30 | 2022-04-12 | サミー株式会社 | Game machine |
JP2022058866A (en) * | 2018-08-30 | 2022-04-12 | サミー株式会社 | Game machine |
JP7265206B2 (en) | 2018-08-30 | 2023-04-26 | サミー株式会社 | game machine |
JP7265207B2 (en) | 2018-08-30 | 2023-04-26 | サミー株式会社 | game machine |
JP2020049010A (en) * | 2018-09-27 | 2020-04-02 | サミー株式会社 | Game machine |
JP2020146220A (en) * | 2019-03-13 | 2020-09-17 | サミー株式会社 | Game machine |
JP2020146221A (en) * | 2019-03-13 | 2020-09-17 | サミー株式会社 | Game machine |
JP7037241B2 (en) | 2019-03-13 | 2022-03-16 | サミー株式会社 | Pachinko machine |
JP7104330B2 (en) | 2019-03-13 | 2022-07-21 | サミー株式会社 | Pachinko machine |
Also Published As
Publication number | Publication date |
---|---|
JP6646938B2 (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6516508B2 (en) | Gaming machine | |
JP6626266B2 (en) | Gaming machine | |
JP6532720B2 (en) | Gaming machine | |
JP6677984B2 (en) | Gaming machine | |
JP6646938B2 (en) | Gaming machine | |
JP6250010B2 (en) | Slot machine | |
JP6685687B2 (en) | Slot machine | |
JP2017046844A (en) | Game machine | |
JP6825811B2 (en) | Game machine | |
JP6806435B2 (en) | Game machine | |
JP2017012514A (en) | Game machine | |
JP6582311B2 (en) | Game machine | |
JP6250009B2 (en) | Slot machine | |
JP6652357B2 (en) | Gaming machine | |
JP6853907B2 (en) | Slot machine | |
JP6710052B2 (en) | Amusement machine | |
JP6871438B2 (en) | Game machine | |
JP6660142B2 (en) | Gaming machine | |
JP6816939B2 (en) | Game machine | |
JP6685686B2 (en) | Slot machine | |
JP6644969B2 (en) | Gaming machine | |
JP6644968B2 (en) | Gaming machine | |
JP6944006B2 (en) | Slot machine | |
JP6816940B2 (en) | Game machine | |
JP6677985B2 (en) | Gaming machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180201 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181120 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181116 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190116 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190604 |
|
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: 20191217 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200114 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6646938 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 |