JP4626639B2 - Bullet ball machine - Google Patents

Bullet ball machine Download PDF

Info

Publication number
JP4626639B2
JP4626639B2 JP2007282587A JP2007282587A JP4626639B2 JP 4626639 B2 JP4626639 B2 JP 4626639B2 JP 2007282587 A JP2007282587 A JP 2007282587A JP 2007282587 A JP2007282587 A JP 2007282587A JP 4626639 B2 JP4626639 B2 JP 4626639B2
Authority
JP
Japan
Prior art keywords
value
counter
initial value
random number
number counter
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.)
Expired - Lifetime
Application number
JP2007282587A
Other languages
Japanese (ja)
Other versions
JP2008043801A (en
Inventor
誠 保谷
隆 那須
好男 山崎
秀昭 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Bussan Co Ltd
Original Assignee
Sanyo Bussan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Bussan Co Ltd filed Critical Sanyo Bussan Co Ltd
Priority to JP2007282587A priority Critical patent/JP4626639B2/en
Publication of JP2008043801A publication Critical patent/JP2008043801A/en
Application granted granted Critical
Publication of JP4626639B2 publication Critical patent/JP4626639B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、パチンコ遊技機などに代表される弾球遊技機に関るものである。 The present invention is related to shall in pinball game machine typified pachinko machines.

例えばパチンコ遊技機は、複数種類の図柄を変動表示可能な表示装置を備えており、遊技領域に打ち込まれた打球が図柄作動ゲートを通過すると、変動表示を開始するように構成されている。この変動表示が予め定められた図柄の組み合わせと一致して停止すると、大当たりとなって、遊技者に所定の遊技価値が付与される。 For example, a pachinko gaming machine is provided with a display device capable of variably displaying a plurality of types of symbols, and is configured to start variably displaying when a hit ball that has been driven into the game area passes through a symbol operating gate. When the variation display stops matches the symbol combination predetermined become jackpot, predetermined game value Ru is provided to the player.

かかる大当たりの発生の有無は、打球が図柄作動ゲートを通過するタイミングで決定される。即ち、1カウントずつ定期的に一定の範囲で(例えば、1カウントずつ、2ms毎に、0から630の範囲で)更新されるカウンタを備え、打球が図柄作動ゲートを通過したときに、そのカウンタの値を読み出して、読み出されたカウンタの値が、例えば「7」などの所定値と一致する場合に、大当たりを発生するようにしている Whether or not the jackpot is generated is determined at the timing when the hit ball passes the symbol operating gate. That is, a counter that is periodically updated in a certain range by one count (for example, by 1 count every 2 ms, in a range of 0 to 630) is provided when the hit ball passes the symbol operation gate. When the value of the read counter matches a predetermined value such as “7”, a jackpot is generated .

ところが、最近、「ぶら下げ基板」と呼ばれる不正な基板を使用した不正行為が報告されている。この不正行為は、正な基板をぶら下げて(不正な「ぶら下げ基板」を取り付けて)、不当に大当たりを発生させるというものである。具体的には、前記したパチンコ遊技機に設けられる大当たりを決定するためのカウンタと同様の働きをするカウンタ(1カウントずつ定期的に一定の範囲で更新されるカウンタ)を「ぶら下げ基板」内に設け、そのカウンタの値をパチンコ遊技機の電源投入に合わせてリセット(0クリア)することにより、「ぶら下げ基板」内で大当たりの発生タイミングを把握するのである。そして、その把握した大当たりの発生タイミングに合わせて、「ぶら下げ基板」内で打球の図柄作動ゲート通過信号を不正に生成し、これをパチンコ遊技機の制御基板へ出力して、不当に大当たりを発生させるというものである However, recently, fraudulent activity using an illegal substrate called “hanging substrate” has been reported. This fraud, unauthorized hanging board (attach the incorrect "hanging board"), is that to generate unduly jackpot. Specifically, a counter (counter that is periodically updated within a certain range) in the “hanging board” is operated in the same manner as the counter for determining the jackpot provided in the pachinko gaming machine. The counter is reset (cleared to 0) when the pachinko gaming machine is powered on, etc., and the occurrence timing of the jackpot in the “hanging board” is grasped. And, in accordance with the grasping timing of the big jackpot, illegally generate the symbol action gate passing signal of the hitting ball in the “hanging board” and output it to the control board of the pachinko machine to generate an unfair jackpot It is to let you .

本発明は上記例示した問題点を解決するためになされたものであり、ぶら下げ基板」等を用いた不正行為を防止することができる弾球遊技機を提供することを目的としている。 The present invention has been made to solve the above illustrated problem or the like, and aims to provide a ball-shooting game machine capable of preventing fraud with "hanging board" or the like.

この目的を達成するために請求項1記載の弾球遊技機は、数カウンタと、その乱数カウンタの値を所定の範囲内で更新する第1更新手段と、所定の契機に基づいて前記乱数カウンタの値を読み出す読出手段とを有し、その読出手段により読み出された前記乱数カウンタの値が予め定められた値一致する場合に技者に定の遊技価値を付与する制御手段を備え、前記乱数カウンタの値は、前記第1更新手段により所定回更新されることで一周するものであり、前記第1更新手段は、前記乱数カウンタの値が一周すると、前記所定の範囲内のいずれかの値を更新の初期値として次の周の更新を行うものであり、前記制御手段は、前記所定の範囲と同じ範囲で更新され、前記乱数カウンタの更新の初期値の変更に使用される初期値カウンタと、その初期値カウンタの値を更新する第2更新手段と、弾球遊技機の電源投入後に前記乱数カウンタと前記初期値カウンタとを含む記憶手段のデータが有効か否かを判別する判別手段と、その判別手段により有効と判別された場合に、前記記憶手段のデータを使用して遊技を実行する遊技実行手段と、その判別手段により有効でないと判別された場合に、前記記憶手段のデータを初期化する初期化手段とを備え、定期的な割込信号に基づいて定期処理を行うとともに、その定期処理の終了の後、次の定期処理が行われるまでの期間に繰り返し所定の処理を行うものであり、その所定の処理において、前記第2更新手段による更新が行われ、前記第2更新手段は、前記初期値カウンタの値が前記所定の範囲以外の値となる場合であっても、前記所定の範囲内の値とするように補正可能に前記初期値カウンタの値を更新することを特徴とする。 Ball-shooting game machine according to claim 1, wherein in order to achieve this purpose, the random number based and random number counter, a first updating means for updating the value of the random number counter within a predetermined range, the predetermined trigger and a reading means for reading the value of the counter, the control means for imparting to Yu technique's the game value Jo Tokoro when the value of the random number counter read by the reading means coincides with a predetermined value The value of the random number counter is updated once by the first updating unit, and the first updating unit is within the predetermined range when the value of the random number counter is rotated once. Any one of the above values is used as an initial value for updating, and the next round is updated, and the control means is updated in the same range as the predetermined range and used to change the initial value for updating the random number counter. Initial value counter and A second updating means for updating the value of the initial value counter; and a determining means for determining whether or not the data in the storage means including the random number counter and the initial value counter is valid after the ball game machine is powered on; A game executing means for executing a game using the data of the storage means when determined to be valid by the determining means, and an initial data of the storage means when determined not effective by the determining means Initialization processing means for performing periodic processing based on a periodic interrupt signal, and performing predetermined processing repeatedly during the period until the next periodic processing is performed after the end of the periodic processing In the predetermined process, updating by the second updating unit is performed, and the second updating unit is configured such that even when the value of the initial value counter is a value outside the predetermined range, And updates the correction can the value of the initial value counter to a value within the range of the constant.

また、請求項2記載の弾球遊技機は、請求項1記載の弾球遊技機において、パチンコ遊技機であることを特徴とする。 The bullet ball game machine according to claim 2 is the ball ball game machine according to claim 1, wherein the ball ball game machine is a pachinko game machine.

本発明の弾球遊技機によれば「ぶら下げ基板」等による不正行為を防止することができるという効果がある。 According to the bullet ball game machine of the present invention, there is an effect that it is possible to prevent an illegal act caused by a “hanging board” or the like.

以下、本発明の好ましい実施例について、添付図面を参照して説明する。本実施例では、弾球遊技機の一例としてパチンコ遊技機、特に、第1種パチンコ遊技機を用いて説明する。なお、本発明を第3種パチンコ遊技機や他の弾球遊技機に用いることは、当然に可能である。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. In the present embodiment, description will be made using a pachinko gaming machine as an example of a ball game machine, in particular, a first type pachinko gaming machine. Of course, it is possible to use the present invention for the third type pachinko gaming machine and other ball game machines.

図1は、第1実施例におけるパチンコ遊技機Pの遊技盤の正面図である。遊技盤1の周囲には、打球が入賞することにより5個から15個の遊技球が払い出される複数の入賞口2が設けられている。また、遊技盤1の中央には、複数種類の識別情報としての図柄などを表示する液晶(LCD)ディスプレイ3が設けられている。このLCDディスプレイ3の表示画面は横方向に3分割されており、3分割された各表示領域において、それぞれ図柄の変動表示が行われる。   FIG. 1 is a front view of a game board of a pachinko gaming machine P in the first embodiment. Around the game board 1, there are provided a plurality of winning holes 2 through which 5 to 15 game balls are paid out by winning a hit ball. In the center of the game board 1, a liquid crystal (LCD) display 3 for displaying symbols as a plurality of types of identification information is provided. The display screen of the LCD display 3 is divided into three in the horizontal direction, and in each of the three divided display areas, symbols are displayed in a variable manner.

LCDディスプレイ3の下方には、図柄作動ゲート(第1種始動口)4が設けられ、打球がこの図柄作動ゲート4を通過することにより、前記したLCDディスプレイ3の変動表示が開始される。図柄作動ゲート4の下方には、特定入賞口(大入賞口)5が設けられている。この特定入賞口5は、LCDディスプレイ3の変動後の表示結果が予め定められた図柄の組み合わせの1つと一致する場合に、大当たりとなって、打球が入賞しやすいように所定時間(例えば、30秒経過するまで、あるいは、打球が10個入賞するまで)開放される入賞口である。この特定入賞口5内には、Vゾーン5aが設けられており、特定入賞口5の開放中に、打球がVゾーン5a内を通過すると、継続権が成立して、特定入賞口5の閉鎖後、再度、その特定入賞口5が所定時間(又は、特定入賞口5に打球が所定個数入賞するまで)開放される。この特定入賞口5の開閉動作は、最高で16回(16ラウンド)繰り返し可能にされており、開閉動作の行われ得る状態が、いわゆる所定の遊技価値の付与された状態(特別遊技状態)である。   Below the LCD display 3 is provided a symbol operating gate (first type starting port) 4, and when the hit ball passes through the symbol operating gate 4, the above-described variation display of the LCD display 3 is started. Below the symbol operation gate 4, a specific winning opening (large winning opening) 5 is provided. The specific winning opening 5 is a big hit when the display result after the fluctuation of the LCD display 3 coincides with one of the predetermined symbol combinations, so that the hitting ball is easy to win for a predetermined time (for example, 30 It is a winning opening that is opened (until the second elapses or 10 hitting balls are won). A V zone 5a is provided in the specific winning opening 5, and when the hit ball passes through the V zone 5a while the specific winning opening 5 is opened, a continuation right is established and the specific winning opening 5 is closed. Thereafter, the specific winning opening 5 is opened again for a predetermined time (or until a predetermined number of hit balls win the specific winning opening 5). The opening / closing operation of the specific winning opening 5 can be repeated up to 16 times (16 rounds), and the state in which the opening / closing operation can be performed is a state in which a predetermined game value is given (special game state). is there.

図2は、かかるパチンコ遊技機Pの電気的構成を示したブロック図である。パチンコ遊技機Pの制御部Cは、演算装置であるCPU11と、そのCPU11により実行される各種の制御プログラムや固定値データを記憶したROM12と、各種のデータ等を一時的に記憶するためのメモリであるRAM13とを備えている。図3から図5に示すフローチャートのプログラムは、制御プログラムの一部としてROM12内に記憶されている。   FIG. 2 is a block diagram showing an electrical configuration of the pachinko gaming machine P. As shown in FIG. The control unit C of the pachinko gaming machine P includes a CPU 11 that is an arithmetic device, a ROM 12 that stores various control programs executed by the CPU 11 and fixed value data, and a memory that temporarily stores various data and the like. The RAM 13 is provided. The programs of the flowcharts shown in FIGS. 3 to 5 are stored in the ROM 12 as a part of the control program.

CPU11は、演算を行うALUのほか、アキュームレータ(以下「Acc」と称す)11aや複数の内部レジスタ11b、フラグレジスタ11cを備えている。RAM13内に設けられるカウンタ等の値は、一旦、CPU11の内部レジスタ11bへロードされ(書き込まれ)、その内部レジスタ11b内で更新された後に、RAM13の元のカウンタ内へセイブされて(書き込まれて)、更新される。   The CPU 11 includes an ALU that performs arithmetic operations, an accumulator (hereinafter referred to as “Acc”) 11a, a plurality of internal registers 11b, and a flag register 11c. The values of the counter and the like provided in the RAM 13 are once loaded (written) into the internal register 11b of the CPU 11, updated in the internal register 11b, and then saved (written) into the original counter of the RAM 13. Updated).

なお、68系の8ビットCPU11では、ペアになっている2バイト(16ビット)の内部レジスタ11bの値を、連続したアドレスの2バイトのメモリ(RAM13内)へ1命令でセイブする(書き込む)ことができる。この場合の書き込みは、バスライン14のデータバスは8ビットで構成されるので、上位バイト、下位バイトの順に行われる。また、80系の8ビットCPUでは、68系のCPU11とは逆に、ペアになっている2バイト(16ビット)の内部レジスタの値を、連続したアドレスの2バイトのメモリへ、下位バイト上位バイトの順に1命令でセイブすることができる。   The 68-system 8-bit CPU 11 saves (writes) the value of the paired 2-byte (16-bit) internal register 11b to the 2-byte memory (in the RAM 13) of consecutive addresses with one instruction. be able to. Writing in this case is performed in the order of the upper byte and the lower byte since the data bus of the bus line 14 is composed of 8 bits. On the other hand, in the 80 system 8-bit CPU, in contrast to the 68 system CPU 11, the paired 2-byte (16-bit) internal register value is transferred to the 2-byte memory at the continuous address. It can be saved with one instruction in the order of bytes.

RAM13は、乱数カウンタ13aと、初期値カウンタ13bと、初期値メモリ13cとを備えている。乱数カウンタ13aは、大当たりの発生を決定するためのカウンタであり、図4の乱数更新処理(S6)によって、「0〜630(0〜276h)」の範囲で、2ms毎に1カウントずつ更新される。このため乱数カウンタ13aは2バイトで構成されている。打球が図柄作動ゲート4を通過したときに取得した乱数カウンタ13aの値が例えば「7」であると、大当たりが発生する。大当たりが発生すると、大当たりコマンドが制御部Cから後述する表示装置Dへ送られる。表示装置Dは、この大当たりコマンドに基づいて、LCDディスプレイ3の変動表示を大当たりの状態に制御する。   The RAM 13 includes a random number counter 13a, an initial value counter 13b, and an initial value memory 13c. The random number counter 13a is a counter for determining the occurrence of a jackpot, and is updated by 1 count every 2 ms in the range of “0 to 630 (0 to 276h)” by the random number update process (S6) of FIG. The Therefore, the random number counter 13a is composed of 2 bytes. If the value of the random number counter 13a acquired when the hit ball passes the symbol operating gate 4 is, for example, “7”, a big hit occurs. When the jackpot occurs, a jackpot command is sent from the control unit C to the display device D described later. The display device D controls the variable display on the LCD display 3 to the jackpot state based on the jackpot command.

初期値カウンタ13bは、乱数カウンタ13aの更新の初期値をカウントするためのカウンタであり、乱数カウンタ13aと同様に2バイトで構成されている。この初期値カウンタ13bの値は、図5の初期値カウンタ更新処理(S21)によって、乱数カウンタ13aの更新範囲と同じ「0〜630(276h)」の範囲で、1カウントずつ更新される。   The initial value counter 13b is a counter for counting the initial value of the update of the random number counter 13a, and is composed of 2 bytes like the random number counter 13a. The value of the initial value counter 13b is updated one count at a time in the range of “0 to 630 (276h)” that is the same as the update range of the random number counter 13a by the initial value counter update process (S21) of FIG.

図5の初期値カウンタ更新処理は、図3のリセット割込処理における残余時間の間、即ち、効果音処理(S19)の終了後、次のリセット割込処理が発生するまでの間に、繰り返し実行される(S21)。リセット割込処理は2ms毎に実行されるが、1回のリセット割込処理において実行されるS1からS19の各処理の処理時間は遊技の状況に応じて変化するので、リセット割込処理の残余時間は、一定な時間ではなく、遊技の状況に応じて変化する不定な時間となる。「ぶら下げ基板」ではこの不定な時間を把握することはできないので、かかる不定な時間内に繰り返し更新される初期値カウンタ13bの値を乱数カウンタ13aの更新の初期値として使用することにより、「ぶら下げ基板」による大当たり発生のタイミングの把握を不可能にしている。   The initial value counter update process of FIG. 5 is repeated during the remaining time in the reset interrupt process of FIG. 3, that is, after the sound effect process (S19) ends and until the next reset interrupt process occurs. It is executed (S21). The reset interrupt process is executed every 2 ms, but the processing time of each process from S1 to S19 executed in one reset interrupt process changes depending on the game situation, so the rest of the reset interrupt process The time is not a fixed time but an indefinite time that changes according to the game situation. Since the “hanging board” cannot grasp the indefinite time, the value of the initial value counter 13b that is repeatedly updated within the indefinite time is used as the initial value for updating the random number counter 13a. It is impossible to grasp the timing of jackpot occurrence by “substrate”.

なお、図5の説明で詳述するように、初期値カウンタ13bの値の更新は、初期値カウンタ更新処理(S21)によって、次のように行われる。即ち、初期値カウンタ13bの値は、一旦、CPU11の内部レジスタ11bへ読み込まれ、その内部レジスタ11b内で1加算されて更新される。更新後の値は、内部レジスタ11bから初期値カウンタ13bへ、下位バイト、上位バイトの順に書き込まれ、これにより、初期値カウンタ13bの値が更新される。   As will be described in detail with reference to FIG. 5, the value of the initial value counter 13b is updated by the initial value counter updating process (S21) as follows. That is, the value of the initial value counter 13b is once read into the internal register 11b of the CPU 11, and 1 is added and updated in the internal register 11b. The updated value is written from the internal register 11b to the initial value counter 13b in the order of the lower byte and the upper byte, whereby the value of the initial value counter 13b is updated.

この初期値カウンタ更新処理(S21)は、図3のリセット割込処理における残余時間の間に繰り返し実行される。リセット割込は、割込の発生を禁止することができないノンマスカブルな割込であると共に、割込の優先順位が最も高く、CPU11の命令の実行途中であっても強制的に開始される割込である。このため、内部レジスタ11bで更新された値を初期値カウンタ13bへの書き込み途中に、次のリセット割込が発生する場合があり、かかる場合には、書き込み途中の値が更新された初期値カウンタ13bの値になってしまう。   This initial value counter update process (S21) is repeatedly executed during the remaining time in the reset interrupt process of FIG. A reset interrupt is a non-maskable interrupt that cannot inhibit the generation of an interrupt, and has the highest interrupt priority, and is forcibly started even during the execution of an instruction of the CPU 11 It is. Therefore, the next reset interrupt may occur while the value updated in the internal register 11b is being written to the initial value counter 13b. In such a case, the initial value counter in which the value being written is updated. It becomes the value of 13b.

しかし、内部レジスタ11bで更新された値は、下位バイト、上位バイトの順に、初期値カウンタ13bへ書き込まれるので、下位バイトの書き込み後であって上位バイトの書き込み前に、次のリセット割込が発生して、書き込み途中の値が更新された初期値カウンタ13bの値になったとしても、初期値カウンタ13bの値を本来の更新範囲内の値である「0〜630(0〜276h)」の範囲内に維持することができる。   However, since the value updated by the internal register 11b is written to the initial value counter 13b in the order of the lower byte and the upper byte, the next reset interrupt occurs after the lower byte is written and before the upper byte is written. Even if it occurs and the value in the middle of writing becomes the value of the updated initial value counter 13b, the value of the initial value counter 13b is "0 to 630 (0 to 276h)" which is a value within the original update range. Can be maintained within the range.

例えば、初期値カウンタ13bの値が「1FFh」である場合の更新は、次のように行われる。まず、初期値カウンタ13bの値である「1FFh」がCPU11の内部レジスタ11bへ書き込まれ、その内部レジスタ11b内で1加算されて「200h」に更新される。更新後の値は、下位バイト、上位バイトの順に、内部レジスタ11bから初期値カウンタ13bへ書き込まれるので、初期値カウンタ13bの値は下位バイトの書き込みにより一旦「100h」となり、その後、上位バイトの書き込みによって「200h」となって更新が完了する。よって、次のリセット割込が、初期値カウンタ13bの下位バイトへの書き込み後であって上位バイトへの書き込み前に発生しても、初期値カウンタ13bの値は「100h」に更新されるだけであり、本来の更新範囲の値である「0〜630(0〜276h)」の範囲外の値となることはないのである。   For example, the update when the value of the initial value counter 13b is “1FFh” is performed as follows. First, “1FFh”, which is the value of the initial value counter 13b, is written to the internal register 11b of the CPU 11, and 1 is added in the internal register 11b to be updated to “200h”. Since the updated value is written from the internal register 11b to the initial value counter 13b in the order of the lower byte and the upper byte, the value of the initial value counter 13b once becomes “100h” by writing the lower byte, and then the upper byte. By writing, it becomes “200h” and the update is completed. Therefore, even if the next reset interrupt occurs after writing to the lower byte of the initial value counter 13b and before writing to the upper byte, the value of the initial value counter 13b is only updated to “100h”. Therefore, the value is not outside the range of “0 to 630 (0 to 276h)” that is the value of the original update range.

初期値メモリ13cは、乱数カウンタ13aの更新の初期値を記憶するためのメモリであり、乱数カウンタ13aと同様に2バイトで構成されている。本実施例では、乱数カウンタ13aの更新の初期値は、乱数カウンタの一回りの更新毎に変更される。よって、更新された乱数カウンタ13aの値が初期値メモリ13cの値と一致すると、乱数カウンタ13aの一回りの更新が終了したことになるので、両値13a,13cの一致を契機として、そのときの初期値カウンタ13bの値が乱数カウンタ13aおよび初期値メモリ13cに書き込まれて、乱数カウンタ13aの更新の初期値が変更される。従って、乱数カウンタ13aの更新の初期値を変更しても、乱数の一様性(連続で取得した場合に同じ値を取ることがなく、しかも、すべての値が同じ確率で取り出せること)のある乱数値を得ることができるのである。   The initial value memory 13c is a memory for storing an initial value of update of the random number counter 13a, and is composed of 2 bytes like the random number counter 13a. In this embodiment, the initial value of the update of the random number counter 13a is changed every time the random number counter is updated once. Therefore, when the updated value of the random number counter 13a matches the value of the initial value memory 13c, one round of updating of the random number counter 13a is completed, so that when the two values 13a and 13c match, The initial value counter 13b is written into the random number counter 13a and the initial value memory 13c, and the initial value of the update of the random number counter 13a is changed. Therefore, even if the initial value of the update of the random number counter 13a is changed, the randomness is uniform (the same value is not obtained when continuously acquired, and all values can be extracted with the same probability). A random value can be obtained.

これらのCPU11、ROM12、RAM13は、バスライン14を介して互いに接続されており、バスライン14は、また、入出力ポート15にも接続されている。この入出力ポート15は表示装置Dや他の入出力装置16と接続されている。制御部Cは、入出力ポート15を介して、表示装置Dや他の入出力装置16へ動作コマンドを送り、それら各装置を制御する。LCDディスプレイ3の変動表示や特定入賞口5の開閉動作も、この動作コマンドに基づいて制御される。   The CPU 11, ROM 12, and RAM 13 are connected to each other via a bus line 14, and the bus line 14 is also connected to an input / output port 15. The input / output port 15 is connected to the display device D and other input / output devices 16. The control unit C sends operation commands to the display device D and other input / output devices 16 via the input / output port 15 and controls these devices. The fluctuation display on the LCD display 3 and the opening / closing operation of the specific winning opening 5 are also controlled based on this operation command.

表示装置Dは、CPU21と、プログラムROM22と、ワークRAM23と、ビデオRAM24と、キャラクタROM25と、画像コントローラ26と、入出力ポート27と、LCDディスプレイ3とを備えている。表示装置DのCPU21は、制御部Cから出力される動作コマンドに応じて、LCDディスプレイ3の表示制御(変動表示)を行うものであり、プログラムROM22には、このCPU21により実行されるプログラムが記憶されている。ワークRAM23は、CPU21によるプログラムの実行時に使用されるワークデータが記憶されるメモリである。   The display device D includes a CPU 21, a program ROM 22, a work RAM 23, a video RAM 24, a character ROM 25, an image controller 26, an input / output port 27, and the LCD display 3. The CPU 21 of the display device D performs display control (variable display) of the LCD display 3 in accordance with an operation command output from the control unit C. The program executed by the CPU 21 is stored in the program ROM 22. Has been. The work RAM 23 is a memory that stores work data used when the CPU 21 executes a program.

ビデオRAM24は、LCDディスプレイ3に表示されるデータが記憶されるメモリであり、このビデオRAM24の内容を書き換えることにより、LCDディスプレイ3の表示内容が変更される。即ち、各表示領域における図柄の変動表示は、ビデオRAM24の内容が書き換えられることにより行われる。キャラクタROM25は、LCDディスプレイ3に表示される図柄などのキャラクタデータを記憶するメモリである。画像コントローラ26は、CPU21、ビデオRAM24、入出力ポート27のそれぞれのタイミングを調整して、データの読み書きを介在するとともに、ビデオRAM24に記憶される表示データをキャラクタROM25を参照して所定のタイミングでLCDディスプレイ3に表示させるものである。   The video RAM 24 is a memory for storing data to be displayed on the LCD display 3, and the display content of the LCD display 3 is changed by rewriting the content of the video RAM 24. That is, the variable display of the symbols in each display area is performed by rewriting the contents of the video RAM 24. The character ROM 25 is a memory for storing character data such as symbols displayed on the LCD display 3. The image controller 26 adjusts the timings of the CPU 21, the video RAM 24, and the input / output port 27, intervenes in reading and writing data, and displays display data stored in the video RAM 24 at a predetermined timing with reference to the character ROM 25. It is displayed on the LCD display 3.

次に、上記のように構成されたパチンコ遊技機Pで実行される各処理を、図3から図5のフローチャートを参照して説明する。図3は、パチンコ遊技機Pの制御部Cにおいて、2ms毎に実行されるリセット割込処理のフローチャートである。パチンコ遊技機Pの主な制御は、このリセット割込処理によって実行される。   Next, each process executed by the pachinko gaming machine P configured as described above will be described with reference to the flowcharts of FIGS. FIG. 3 is a flowchart of reset interrupt processing executed every 2 ms in the control unit C of the pachinko gaming machine P. The main control of the pachinko gaming machine P is executed by this reset interrupt process.

リセット割込処理では、まず、スタックポインタを設定し(S1)、RAM13の所定エリアに書き込まれているパターンのチェックを行う(S2)。チェックの結果、所定エリアに所定のパターンが書き込まれていれば、RAM13に異常はなく正常であるので(S2:正常)、処理をS3へ移行する。一方、S2のチェックの結果、所定エリアに所定のパターンが書き込まれていなければ、電源投入後最初に実行されたリセット割込処理であるか、或いは、RAM13に異常があるので(S2:異常)、この場合には処理をS22へ移行して、一旦、RAM13の内容をクリアした後、RAM13内へ初期値を書き込んで(S22)、次のリセット割込処理の発生を待機する。   In the reset interrupt process, first, a stack pointer is set (S1), and a pattern written in a predetermined area of the RAM 13 is checked (S2). If the predetermined pattern is written in the predetermined area as a result of the check, the RAM 13 is normal and normal (S2: normal), and the process proceeds to S3. On the other hand, if the predetermined pattern is not written in the predetermined area as a result of the check in S2, it is the reset interrupt process executed first after the power is turned on, or there is an abnormality in the RAM 13 (S2: abnormal) In this case, the process proceeds to S22, the contents of the RAM 13 are once cleared, the initial value is written into the RAM 13 (S22), and the next reset interrupt process is awaited.

S3の処理ではタイマ割込の設定を行う(S3)。ここで設定されるタイマ割込としては、LCDディスプレイ3の表示を制御するコマンドを表示装置Dへ送信するためのストローブ信号を発生させるタイマ割込などがある。タイマ割込の設定後は、各割込を許可状態とする(S4)。割込の許可後は、特別図柄変動処理(S15)や、表示データ作成処理(S17)、ランプ・情報処理(S18)などにより、前回のリセット割込処理において更新された出力データを一度に各ポートへ出力するポート出力処理を実行する(S5)。ポート出力処理の実行後は、後述する乱数更新処理(S6)を実行して、乱数カウンタ13aの値を「+1」更新し、更に、記憶タイマ減算処理を実行する(S7)。記憶タイマ減算処理は、大当たり判定の保留球が所定数以上あり、且つ、LCDディスプレイ3において図柄の変動表示中である場合に、図柄の変動表示時間の短縮を行うものである。   In the process of S3, a timer interrupt is set (S3). The timer interrupt set here includes a timer interrupt that generates a strobe signal for transmitting a command for controlling the display of the LCD display 3 to the display device D. After setting the timer interrupt, each interrupt is permitted (S4). After the permission of the interrupt, the output data updated in the previous reset interrupt process by the special symbol variation process (S15), the display data creation process (S17), the ramp / information processing (S18), etc. A port output process for outputting to the port is executed (S5). After the port output process is executed, a random number update process (S6) described later is executed to update the value of the random number counter 13a by "+1", and a storage timer subtraction process is executed (S7). The storage timer subtraction process shortens the symbol variation display time when there is a predetermined number or more of reserved balls for jackpot determination and when the symbol display is being displayed on the LCD display 3.

スイッチ読込処理(S8)は、各スイッチの値を読み込むことにより、遊技領域1へ打ち込まれた打球の入賞口2や大入賞口5(Vゾーン5aを含む)への入賞、図柄作動ゲート4の通過、更には賞球や貸球を検出するための処理である。カウント異常監視処理(S9)は、S8のスイッチ読込処理によって読み込まれたスイッチデータに異常があるか否かを監視するための処理である。例えば、大入賞口5が開放され、打球のVゾーン5aの通過を検出するVカウントスイッチで打球が検出されたにも拘わらず、Vゾーン5a以外の大入賞口5への入賞を検出する10カウントスイッチで1球の打球も検出できない場合には、10カウントスイッチが抜き取られるか故障するなどして、10カウントスイッチに何らかの異常が発生している。また、賞球を払い出すモータを駆動したにも拘わらず、1球の賞球も払い出されない場合には、賞球の払出装置に何らかの異常が発生している。このようにカウント異常監視処理(S9)では、スイッチ読込処理(S8)によって読み込まれたスイッチデータに基づいて、上記のような異常の有無を監視している。   In the switch reading process (S8), the value of each switch is read to win the winning ball 2 and the big winning hole 5 (including the V zone 5a) of the ball that has been driven into the game area 1, This is a process for detecting passing, and also winning balls and rental balls. The count abnormality monitoring process (S9) is a process for monitoring whether there is an abnormality in the switch data read by the switch reading process of S8. For example, even though the big winning opening 5 is opened and a hit ball is detected by the V count switch that detects the passing of the hit ball through the V zone 5a, the winning in the big winning openings 5 other than the V zone 5a is detected 10 When a single shot cannot be detected by the count switch, some abnormality has occurred in the 10 count switch, such as the 10 count switch being pulled out or broken. Further, when a single prize ball is not paid out even though the motor for paying out a prize ball is driven, some abnormality has occurred in the prize ball payout device. As described above, in the count abnormality monitoring process (S9), the presence / absence of the abnormality as described above is monitored based on the switch data read by the switch reading process (S8).

図柄カウンタ更新処理(S10)では、LCDディスプレイ3で行われる変動表示の結果、停止表示される図柄を決定するためのカウンタの更新処理が行われる。また、図柄チェック処理(S11)では、図柄カウンタ更新処理(S10)で更新されたカウンタの値に基づいて、特別図柄変動処理(S15)で使用される大当たり図柄や、はずれ図柄、更にはリーチ図柄などが決定される。   In the symbol counter update process (S10), a counter update process for determining a symbol to be stopped and displayed as a result of the variable display performed on the LCD display 3 is performed. In the symbol check process (S11), based on the counter value updated in the symbol counter update process (S10), the jackpot symbol, the off symbol, and the reach symbol used in the special symbol variation process (S15). Etc. are determined.

S3からS11までの処理において、エラーが発生していなければ(S12:正常)、普通図柄変動処理(S13)によって、7セグメントLEDの変動表示を行うと共に、その変動表示の結果、当たりが発生した場合には普通電動役物(図示せず)を所定時間開放する当たり処理を実行する。その後、状態フラグをチェックし(S14)、LCDディスプレイ3の図柄の変動表示中であれば(S14:図柄変動中)、特別図柄変動処理(S15)によって、打球が図柄作動ゲート4を通過するタイミングで読みとられた乱数カウンタ13aの値に基づいて、大当たりか否かの判定が行われると共に、LCDディスプレイ3の表示図柄の変動処理を実行する。一方、状態フラグをチェックした結果、大当たり中であれば(S14:大当り中)、大入賞口5を開放するなどの大当たり処理(S16)を実行する。更に、状態フラグをチェックした結果、図柄の変動中でも大当たり中でもなければ(S14:その他)、S15及びS16の処理をスキップして、S17の表示データ作成処理へ移行する。なお、S12の処理において、エラーが確認された場合には(S12:エラー)、S13〜S16の各処理をスキップして、S17の表示データ作成処理へ移行する。   If no error has occurred in the processing from S3 to S11 (S12: normal), the normal symbol variation processing (S13) displays the variation of the 7-segment LED, and the variation display results in a win. In this case, a hit process for releasing a normal electric accessory (not shown) for a predetermined time is executed. Thereafter, the state flag is checked (S14), and if the change of the symbol on the LCD display 3 is being displayed (S14: changing the symbol), the timing at which the hit ball passes the symbol operation gate 4 by the special symbol change process (S15). On the basis of the value of the random number counter 13a read in step (b), it is determined whether or not a big hit is made, and a display symbol variation process on the LCD display 3 is executed. On the other hand, if the result of checking the status flag is a big hit (S14: big hit), a big hit process (S16) such as opening the big prize opening 5 is executed. Further, as a result of checking the status flag, if the symbol is not changing or big hit (S14: Other), the processing of S15 and S16 is skipped and the process proceeds to the display data creation processing of S17. If an error is confirmed in the process of S12 (S12: error), each process of S13 to S16 is skipped and the process proceeds to a display data creation process of S17.

表示データ作成処理(S17)では、図柄の変動表示以外にLCDディスプレイ3に表示されるデモデータや、7セグメントLEDの表示データなどが作成され、ランプ・情報処理(S18)では、保留球のランプデータをはじめ、各種のランプデータが作成される。効果音処理(S19)では、遊技の状況に応じた効果音データが作成される。なお、これらの表示データおよび効果音データは、前記したポート出力処理(S5)やタイマ割込処理によって各装置へ出力される。   In the display data creation process (S17), demo data displayed on the LCD display 3, display data of the 7 segment LED, and the like are created in addition to the symbol variation display. In the lamp / information processing (S18), the lamp of the holding ball is displayed. Various lamp data including data are created. In the sound effect process (S19), sound effect data corresponding to the game situation is created. These display data and sound effect data are output to each device by the port output process (S5) and the timer interrupt process described above.

効果音処理(S19)の終了後は、次のリセット割込処理が発生するまでの残余時間の間、S10と同一の処理である図柄カウンタ更新処理(S20)と、初期値カウンタ更新処理(S21)とを繰り返し実行する。S1〜S19の各処理の実行時間は遊技の状態に応じて変化するので、次のリセット割込処理が発生するまでの残余時間は、一定の時間ではなく、遊技の状態に応じて変化する。よって、かかる残余時間を使用して図柄カウンタ更新処理(S20)を繰り返し実行することにより、停止図柄をランダムに変更することができる。また、かかる残余時間を使用して初期値カウンタ更新処理(S21)を繰り返し実行することにより、乱数カウンタ13aの更新の初期値となる初期値カウンタ13bの値を「ぶら下げ基板」で把握不可能とすることができる。   After the sound effect process (S19) ends, during the remaining time until the next reset interrupt process occurs, the symbol counter update process (S20), which is the same process as S10, and the initial value counter update process (S21) ) And repeatedly. Since the execution time of each process of S1-S19 changes according to the state of the game, the remaining time until the next reset interrupt process occurs is not a fixed time but changes according to the state of the game. Therefore, by repeatedly executing the symbol counter update process (S20) using the remaining time, the stop symbol can be changed at random. Further, by repeatedly executing the initial value counter updating process (S21) using the remaining time, the value of the initial value counter 13b serving as the initial value of the update of the random number counter 13a cannot be grasped by the “hanging board”. can do.

図4は、乱数更新処理のフローチャートである。乱数更新処理(S6)では、CPU11の内部レジスタ11bを介して、乱数カウンタ13aの値を「0〜630(0〜276h)」の範囲内で「+1」ずつ更新すると共に、制御部Cで使用される他の乱数の更新を行っている。   FIG. 4 is a flowchart of random number update processing. In the random number updating process (S6), the value of the random number counter 13a is updated by “+1” within the range of “0 to 630 (0 to 276h)” via the internal register 11b of the CPU 11 and used by the control unit C. There are other random number updates.

まず、2バイトで構成される乱数カウンタ13aの値を2バイトの内部レジスタ11bへ書き込む(S31)。内部レジスタ11bの値を1加算し(S32)、加算後の内部レジスタ11bの値が「631」以上であるか否か、即ち、乱数カウンタ13aの更新範囲の値を超えている否かを調べる(S33)。加算後の内部レジスタ11bの値が「631」以上であれば(S33:Yes)、更新範囲の値を超えているので、内部レジスタ11bの値を「0」クリアする(S34)。一方、加算後の内部レジスタ11bの値が「630」以下であれば(S33:No)、更新範囲内の値であるので、S34の処理をスキップして、S35の処理へ移行する。   First, the value of the random number counter 13a composed of 2 bytes is written to the 2-byte internal register 11b (S31). The value of the internal register 11b is incremented by 1 (S32), and it is checked whether or not the value of the internal register 11b after the addition is “631” or more, that is, whether or not the update range value of the random number counter 13a is exceeded. (S33). If the value of the internal register 11b after the addition is “631” or more (S33: Yes), the value of the internal register 11b is cleared to “0” because it exceeds the update range value (S34). On the other hand, if the value of the internal register 11b after addition is “630” or less (S33: No), the value is within the update range, so the process of S34 is skipped and the process proceeds to S35.

S35の処理では、更新後の内部レジスタ11bの値と初期値メモリ13cの値とが比較される。初期値メモリ13cには乱数カウンタ13aの更新の初期値が記憶されているので、両値が等しい場合には(S35:Yes)、乱数カウンタ13aの更新は一回り終了したということである。よって、かかる場合には、2バイトの初期値カウンタ13bの値を内部レジスタ11bへ書き込み(S36)、その内部レジスタ11bの値を初期値メモリ13c及び乱数カウンタ13aへ書き込んで(S37,S38)、乱数カウンタ13aの更新の初期値を変更する。   In the process of S35, the updated value of the internal register 11b is compared with the value of the initial value memory 13c. Since the initial value of the update of the random number counter 13a is stored in the initial value memory 13c, when both values are equal (S35: Yes), the update of the random number counter 13a is completed once. Therefore, in such a case, the value of the 2-byte initial value counter 13b is written to the internal register 11b (S36), and the value of the internal register 11b is written to the initial value memory 13c and the random number counter 13a (S37, S38). The initial value for updating the random number counter 13a is changed.

一方、更新後の内部レジスタ11bの値と初期値メモリ13cの値とが等しくない場合には(S35:No)、乱数カウンタ13aの更新は未だ一回り終了していないので、S36及びS37の処理をスキップして、S32からS34の処理で更新された内部レジスタ11bの値を乱数カウンタ13aへ書き込み(S38)、乱数カウンタ13aの更新を行う。その後は、制御部Cで使用される他の乱数の更新処理を行って(S39)、この乱数更新処理を終了する。   On the other hand, when the updated value of the internal register 11b is not equal to the value of the initial value memory 13c (S35: No), the update of the random number counter 13a has not been completed yet, so the processes of S36 and S37 are performed. Is skipped, the value of the internal register 11b updated in the processing from S32 to S34 is written to the random number counter 13a (S38), and the random number counter 13a is updated. Thereafter, another random number update process used in the control unit C is performed (S39), and this random number update process is terminated.

図5は、初期値カウンタ更新処理のフローチャートである。初期値カウンタ更新処理(S21)では、CPU11の内部レジスタ11bを介して、乱数カウンタ13aの更新の初期値をカウントする初期値カウンタ13bの値を、乱数カウンタ13aの更新範囲の「0〜630(0〜276h)」の範囲内で「+1」ずつ更新する。   FIG. 5 is a flowchart of the initial value counter update process. In the initial value counter update process (S21), the value of the initial value counter 13b that counts the initial value of the update of the random number counter 13a is set via the internal register 11b of the CPU 11 to "0 to 630 ( 0 + 1 ”within the range of“ 0 to 276h) ”.

まず、2バイトで構成される初期値カウンタ13bの値を2バイトの内部レジスタ11bへ書き込む(S41)。内部レジスタ11bの値を1加算し(S42)、加算後の内部レジスタ11bの値が「631」以上であるか否か、即ち、乱数カウンタ13aの更新範囲の値を超えている否かを調べる(S43)。加算後の内部レジスタ11bの値が「631」以上であれば(S43:Yes)、乱数カウンタ13aの更新範囲の値を超えているので、内部レジスタ11bの値を「0」クリアする(S44)。一方、加算後の内部レジスタ11bの値が「630」以下であれば(S43:No)、乱数カウンタ13aの更新範囲内の値であるので、S44の処理をスキップして、S45の処理へ移行する。   First, the value of the initial value counter 13b composed of 2 bytes is written to the 2-byte internal register 11b (S41). The value of the internal register 11b is incremented by 1 (S42), and it is checked whether or not the value of the internal register 11b after the addition is “631” or more, that is, whether or not the update range of the random number counter 13a is exceeded. (S43). If the value of the internal register 11b after the addition is “631” or more (S43: Yes), it exceeds the update range value of the random number counter 13a, so the value of the internal register 11b is cleared to “0” (S44). . On the other hand, if the value of the internal register 11b after addition is “630” or less (S43: No), the value is within the update range of the random number counter 13a, so the process of S44 is skipped and the process proceeds to S45. To do.

S45及びS46の処理では、更新された内部レジスタ11bの値を、68系CPU11の2バイト書き込み命令によって上位バイト下位バイトの順に初期値カウンタ13bへ書き込むのではなく、下位バイト上位バイトの順に1バイトずつ初期値カウンタ13bへ書き込む。即ち、まず、更新された2バイトの内部レジスタ11bの下位バイトの値を2バイトの初期値カウンタ13bの下位バイトへ書き込み(S45)、次に、2バイトの内部レジスタ11bの上位バイトの値を2バイトの初期値カウンタ13bの上位バイトへ書き込むのである(S46)。なお、80系CPUでは、2バイト書き込み命令によって、1命令で下位バイト上位バイトの順に内部レジスタの値を初期値カウンタ13bへ書き込むことができる。   In the processing of S45 and S46, the updated value of the internal register 11b is not written in the initial value counter 13b in the order of the upper byte and the lower byte by the 2-byte write command of the 68-system CPU 11, but in the order of the lower byte and the upper byte. Each is written to the initial value counter 13b. That is, first, the updated lower byte value of the 2-byte internal register 11b is written to the lower byte of the 2-byte initial value counter 13b (S45), and then the upper byte value of the 2-byte internal register 11b is written. The data is written into the upper byte of the 2-byte initial value counter 13b (S46). In the 80-series CPU, the value of the internal register can be written to the initial value counter 13b in the order of the lower byte and the upper byte with one instruction by a 2-byte write instruction.

前記した通り、初期値カウンタ更新処理は、リセット割込処理において、次のリセット割込が発生するまでの残余時間の間に繰り返し実行される(S21)。このため、S45の処理によって内部レジスタ11bの下位バイトが初期値カウンタ13bへ書き込まれた後であって、S46の処理による上位バイトの書き込み前に、次のリセット割込が発生する場合がある。リセット割込は、割込の優先順位が最も高く、割込処理の開始を禁止できないノンマスカブルな割込であるので、かかる場合には、S46の処理が行われないまま、初期値カウンタ更新処理が強制終了され、図3のS1の処理が実行される。これにより、書き込み途中の値が更新された初期値カウンタ13bの値になってしまう。   As described above, the initial value counter update process is repeatedly executed during the remaining time until the next reset interrupt occurs in the reset interrupt process (S21). Therefore, the next reset interrupt may occur after the lower byte of the internal register 11b is written to the initial value counter 13b by the process of S45 and before the upper byte is written by the process of S46. Since the reset interrupt has the highest interrupt priority and is a non-maskable interrupt that cannot prohibit the start of the interrupt process, in this case, the initial value counter update process is performed without performing the process of S46. The process is forcibly terminated, and the process of S1 in FIG. 3 is executed. As a result, the value during writing becomes the updated value of the initial value counter 13b.

しかし、内部レジスタ11bで加算方向に更新された値は、下位バイト上位バイトの順に、初期値カウンタ13bへ書き込まれるので、下位バイトの書き込み後であって上位バイトの書き込み前に、即ち、S45とS46の処理の間に、次のリセット割込が発生して書き込み途中の値が更新された初期値カウンタ13bの値になったとしても、初期値カウンタ13bの値を本来の更新範囲内の値である「0〜630(0〜276h)」の範囲内に維持することができる。   However, since the value updated in the addition direction by the internal register 11b is written to the initial value counter 13b in the order of the lower byte and the upper byte, after the lower byte is written and before the upper byte is written, that is, S45. Even if the next reset interrupt occurs during the processing of S46 and the value in the middle of writing becomes the updated initial value counter 13b, the value of the initial value counter 13b is changed to a value within the original update range. It can be maintained within the range of “0 to 630 (0 to 276 h)”.

例えば、初期値カウンタ13bの値が「1FFh」である場合、S41からS44の処理によって、CPU11の内部レジスタ11bの値は「200h」に更新される。更新後の値は、下位バイト上位バイトの順に内部レジスタ11bから初期値カウンタ13bへ書き込まれるので、初期値カウンタ13bの値は下位バイトの書き込みにより一旦「100h」となり(S45)、その後、上位バイトの書き込みによって「200h」となって(S46)、初期値カウンタ13bの更新が完了する。よって、次のリセット割込が、初期値カウンタ13bの下位バイトへの書き込み後であって上位バイトへの書き込み前に発生しても、初期値カウンタ13bの値は「100h」に更新されるだけであり、本来の更新範囲の値である「0〜630(0〜276h)」の範囲外の値となることはない。   For example, when the value of the initial value counter 13b is “1FFh”, the value of the internal register 11b of the CPU 11 is updated to “200h” by the processing from S41 to S44. Since the updated value is written from the internal register 11b to the initial value counter 13b in the order of the lower byte upper byte, the value of the initial value counter 13b once becomes “100h” by writing the lower byte (S45), and then the upper byte. Is "200h" (S46), and the update of the initial value counter 13b is completed. Therefore, even if the next reset interrupt occurs after writing to the lower byte of the initial value counter 13b and before writing to the upper byte, the value of the initial value counter 13b is only updated to “100h”. Therefore, the value is not outside the range of “0 to 630 (0 to 276h)” that is the value of the original update range.

このように、初期値カウンタ13bの値は、本来の更新範囲の値であると共に乱数カウンタ13aの更新範囲の値でもある「0〜630(0〜276h)」の範囲で更新されるので、この値を乱数カウンタ13aの更新の初期値として使用しても、乱数カウンタ13aの値を常に所定の更新範囲内で更新することができるのである。   Thus, the value of the initial value counter 13b is updated in the range of “0 to 630 (0 to 276h)” that is the value of the original update range and the update range of the random number counter 13a. Even if the value is used as the initial value for updating the random number counter 13a, the value of the random number counter 13a can always be updated within a predetermined update range.

図6は、第2実施例における初期値カウンタ更新処理のフローチャートである。第1実施例の初期値カウンタ更新処理が、初期値カウンタ13bの値を加算方向に「+1」ずつ更新し、且つ、更新後の値を下位バイト上位バイトの順に初期値カウンタ13bへ書き込むのに対し、第2実施例の初期値カウンタ更新処理では、初期値カウンタ13bの値を減算方向に「−1」ずつ更新し、且つ、68系CPU11の2バイト書き込みの1命令によって、更新後の値を上位バイト下位バイトの順に初期値カウンタ13bへ書き込んでいる。なお、前記した第1実施例と同一の部分には同一の符号を付し、その説明は省略する。   FIG. 6 is a flowchart of the initial value counter update process in the second embodiment. The initial value counter updating process of the first embodiment updates the value of the initial value counter 13b by “+1” in the addition direction, and writes the updated values to the initial value counter 13b in the order of lower byte and upper byte. On the other hand, in the initial value counter update process of the second embodiment, the value of the initial value counter 13b is updated by “−1” in the subtraction direction, and the updated value is obtained by one instruction of 2-byte writing of the 68-system CPU 11. Are written to the initial value counter 13b in the order of the upper byte and the lower byte. In addition, the same code | symbol is attached | subjected to the part same as above-described 1st Example, and the description is abbreviate | omitted.

まず、2バイトで構成される初期値カウンタ13bの値を2バイトの内部レジスタ11bへ書き込む(S51)。内部レジスタ11bの値を1減算し(S52)、減算後の内部レジスタ11bの値が「631(277h)」以上であるか否かを調べる(S53)。減算前の内部レジスタ11bの値が「0」であれば、減算によってその値は「0FFFFh」となる。よって、減算後の内部レジスタ11bの値が「0FFFFh」も含めた「631(277h)」以上であれば(S53:Yes)、乱数カウンタ13aの更新範囲の最大値である「630(276h)」を内部レジスタ11bへ書き込む(S54)。一方、減算後の内部レジスタ11bの値が「630(276h)」以下であれば(S53:No)、S54の処理をスキップして、S55の処理へ移行する。   First, the value of the initial value counter 13b composed of 2 bytes is written to the 2-byte internal register 11b (S51). The value of the internal register 11b is decremented by 1 (S52), and it is checked whether or not the value of the internal register 11b after the subtraction is “631 (277h)” or more (S53). If the value of the internal register 11b before subtraction is “0”, the value becomes “0FFFFh” by subtraction. Therefore, if the value of the internal register 11b after the subtraction is equal to or greater than “631 (277h)” including “0FFFFh” (S53: Yes), “630 (276h)” which is the maximum value of the update range of the random number counter 13a. Is written to the internal register 11b (S54). On the other hand, if the value of the internal register 11b after the subtraction is equal to or less than “630 (276h)” (S53: No), the process of S54 is skipped and the process proceeds to S55.

S55の処理では、減算方向に更新された2バイトの内部レジスタ11bの値を、68系CPU11の2バイト書き込みの1命令によって、上位バイト下位バイトの順に初期値カウンタ13bへ書き込み(S55)、初期値カウンタ更新処理を終了する。なお、80系CPUでは、2バイトの内部レジスタの値を1命令で上位バイト下位バイトの順に書き込むことはできないので、2命令で1バイトずつ、上位バイト下位バイトの順に書き込むのである。   In the process of S55, the value of the 2-byte internal register 11b updated in the subtraction direction is written to the initial value counter 13b in the order of the upper byte and the lower byte by one instruction of 2-byte write of the 68-system CPU 11 (S55). The value counter update process is terminated. In the 80 series CPU, the value of the internal register of 2 bytes cannot be written in the order of the upper byte and the lower byte by one instruction, so one byte is written in order of the upper byte and the lower byte by two instructions.

前記した通り、初期値カウンタ更新処理は、リセット割込処理において、次のリセット割込が発生するまでの残余時間の間に繰り返し実行される(S21)。このため、S55の処理において内部レジスタ11bの上位バイトが初期値カウンタ13bへ書き込まれた後であって下位バイトの書き込み前に、次のリセット割込が発生する場合がある。リセット割込は、割込の優先順位が最も高く、割込処理の開始を禁止できないノンマスカブルな割込であるので、かかる場合には、初期値カウンタ13bへの下位バイトの書き込みが行われないまま、初期値カウンタ更新処理が強制終了され、図3のS1の処理が実行される。これにより、書き込み途中の値が更新された初期値カウンタ13bの値になってしまう。   As described above, the initial value counter update process is repeatedly executed during the remaining time until the next reset interrupt occurs in the reset interrupt process (S21). Therefore, the next reset interrupt may occur after the upper byte of the internal register 11b is written to the initial value counter 13b and before the lower byte is written in the process of S55. The reset interrupt has the highest interrupt priority and is a non-maskable interrupt that cannot prohibit the start of interrupt processing. In this case, the lower byte is not written to the initial value counter 13b. The initial value counter update process is forcibly terminated, and the process of S1 in FIG. 3 is executed. As a result, the value during writing becomes the updated value of the initial value counter 13b.

しかし、内部レジスタ11bで減算方向に更新された値は、上位バイト下位バイトの順に初期値カウンタ13bへ書き込まれるので、上位バイトの書き込み後であって下位バイトの書き込み前に、即ち、S55の処理の途中で、次のリセット割込が発生して書き込み途中の値が更新された初期値カウンタ13bの値になったとしても、初期値カウンタ13bの値を本来の更新範囲内の値である「0〜630(0〜276h)」の範囲内に維持することができる。   However, since the value updated in the subtraction direction in the internal register 11b is written to the initial value counter 13b in the order of the upper byte and lower byte, after the upper byte is written and before the lower byte is written, that is, the process of S55 Even if the next reset interrupt occurs and the value during writing becomes the updated initial value counter 13b, the value of the initial value counter 13b is a value within the original update range. 0 to 630 (0 to 276 h) ".

例えば、初期値カウンタ13bの値が「200h」である場合、S51からS53の処理によって、CPU11の内部レジスタ11bの値は「1FFh」に更新される。更新後の値は、上位バイト下位バイトの順に内部レジスタ11bから初期値カウンタ13bへ書き込まれるので、初期値カウンタ13bの値は上位バイトの書き込みにより一旦「100h」となり、その後、下位バイトの書き込みにより「1FFh」となって(S55)、初期値カウンタ13bの更新が完了する。よって、次のリセット割込が、初期値カウンタ13bの上位バイトへの書き込み後であって下位バイトへの書き込み前に発生しても、初期値カウンタ13bの値は「100h」に更新されるだけであり、本来の更新範囲の値である「0〜630(0〜276h)」の範囲外の値となることはない。   For example, when the value of the initial value counter 13b is “200h”, the value of the internal register 11b of the CPU 11 is updated to “1FFh” by the processing from S51 to S53. Since the updated value is written from the internal register 11b to the initial value counter 13b in the order of the upper byte and lower byte, the value of the initial value counter 13b once becomes “100h” by writing the upper byte, and then by writing the lower byte. It becomes “1FFh” (S55), and the update of the initial value counter 13b is completed. Therefore, even if the next reset interrupt occurs after writing to the upper byte of the initial value counter 13b and before writing to the lower byte, the value of the initial value counter 13b is only updated to “100h”. Therefore, the value is not outside the range of “0 to 630 (0 to 276h)” that is the value of the original update range.

図7は、第3実施例における初期値カウンタ更新処理のフローチャートである。第3実施例の初期値カウンタ更新処理は、第2実施例の初期値カウンタ更新処理における内部レジスタ11bの値の減算方式を変更して、プログラムサイズを減少し、処理速度を向上している。なお、前記した第1及び第2実施例と同一の部分には同一の符号を付し、その説明は省略する。   FIG. 7 is a flowchart of the initial value counter update process in the third embodiment. In the initial value counter update process of the third embodiment, the method of subtracting the value of the internal register 11b in the initial value counter update process of the second embodiment is changed to reduce the program size and improve the processing speed. In addition, the same code | symbol is attached | subjected to the part same as the above-mentioned 1st and 2nd Example, The description is abbreviate | omitted.

まず、2バイトで構成される初期値カウンタ13bの値を2バイトの内部レジスタ11bへ書き込む(S61)。内部レジスタ11bの値が「0」であるか否かを調べ(S62)、「0」であれば(S62:Yes)、乱数カウンタ13aの更新範囲の最大値+1の値である「631(277h)」を内部レジスタ11bへ書き込む(S63)。一方、内部レジスタ11bの値が「0」でなければ(S62:No)、S63の処理をスキップして、S64の処理へ移行する。S64の処理では、内部レジスタ11bの値を1減算し(S64)、その後は、減算方向に更新された2バイトの内部レジスタ11bの値を、68系CPU11の2バイト書き込みの1命令によって、上位バイト下位バイトの順に初期値カウンタ13bへ書き込み(S65)、初期値カウンタ更新処理を終了する。   First, the value of the initial value counter 13b composed of 2 bytes is written to the 2-byte internal register 11b (S61). It is checked whether or not the value of the internal register 11b is “0” (S62). If it is “0” (S62: Yes), “631 (277h), which is the maximum value + 1 of the update range of the random number counter 13a + 1. ] "Is written to the internal register 11b (S63). On the other hand, if the value of the internal register 11b is not “0” (S62: No), the process of S63 is skipped and the process proceeds to S64. In the process of S64, the value of the internal register 11b is decremented by 1 (S64), and then the value of the 2-byte internal register 11b updated in the subtraction direction is converted into a higher order by one instruction of 2-byte write of the 68 system CPU11. Writing to the initial value counter 13b in the order of byte lower bytes (S65), the initial value counter update processing is terminated.

上記のように初期値カウンタ13bの値を減算方向に更新することにより、プログラムサイズが小さく速度の速い処理とすることができる。初期値カウンタ更新処理はリセット割込処理の残余時間の間に繰り返し実行されるが、これにより、かかる残余時間が僅かであっても、初期値カウンタ13bの更新を十分に行うことができる。   By updating the value of the initial value counter 13b in the subtraction direction as described above, it is possible to perform processing with a small program size and high speed. Although the initial value counter update process is repeatedly executed during the remaining time of the reset interrupt process, the initial value counter 13b can be sufficiently updated even if the remaining time is small.

なお、上記各実施例において、請求項1記載の定期処理としては図3のS1〜S19の処理が該当し、所定の処理としては図3のS20及びS21の処理が該当する。読出手段としては図3のスイッチ読込処理(S8)が該当する。第1更新手段としては図4の乱数更新処理(S6)のS31からS34及びS38の処理が該当し、第2更新手段としては図5及び図6の初期値カウンタ更新処理(S21)が該当する。判別手段としては図3のS2の処理が該当し、遊技実行手段としては図3のS3からS21の各処理が該当し、初期化手段としては図3のS22の処理が該当する。 In each of the above embodiments, the regular processing described in claim 1 corresponds to the processing in S1 to S19 in FIG. 3, and the predetermined processing corresponds to the processing in S20 and S21 in FIG. The reading means corresponds to the switch reading process (S8) of FIG. The first update means corresponds to the processes from S31 to S34 and S38 of the random number update process (S6) of FIG. 4, and the initial value counter update process (S21) of FIGS. 5 and 6 corresponds to the second update means . . The process of S2 of FIG. 3 corresponds to the determination means, the processes of S3 to S21 of FIG. 3 correspond to the game execution means, and the process of S22 of FIG. 3 corresponds to the initialization means.

以上、実施例に基づき本発明を説明したが、本発明は上記実施例に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。   The present invention has been described based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be easily made without departing from the spirit of the present invention. It can be guessed.

例えば、初期値カウンタ13bの値の更新は、その値をCPU11の内部レジスタ11bへ一旦読み込んだ後に行われたが、内部レジスタ11bを介さずに、CPU11内のALUへ直接読み込んで更新するようにしても良い。   For example, the value of the initial value counter 13b is updated after it is once read into the internal register 11b of the CPU 11, but is directly read and updated into the ALU in the CPU 11 without going through the internal register 11b. May be.

以下に本発明の変形例を示す。請求項2記載の弾球遊技機において、前記第2更新手段による更新後の値の前記初期値カウンタへの書き込みは、上位バイト下位バイトの順に2バイトの書き込みが1命令で行われる書き込み命令により実行されることを特徴とする弾球遊技機1。   The modification of this invention is shown below. 3. The ball game machine according to claim 2, wherein the value updated by the second updating means is written to the initial value counter by a write command in which 2 bytes are written in one order in the order of the upper byte and the lower byte. A bullet ball game machine 1 characterized by being executed.

請求項1若しくは2に記載の弾球遊技機または弾球遊技機1において、前記初期値カウンタの値は、前記乱数カウンタの値が前記初期値メモリの値と一致する場合に、前記乱数カウンタおよび初期値メモリに書き込まれることを特徴とする弾球遊技機2。   3. The ball game machine or the ball game machine 1 according to claim 1, wherein the value of the initial value counter is equal to the value of the random number counter when the value of the random number counter matches the value of the initial value memory. A ball game machine 2 which is written in an initial value memory.

本発明の第1実施例であるパチンコ遊技機の遊技盤の正面図である。1 is a front view of a gaming board of a pachinko gaming machine that is a first embodiment of the present invention. パチンコ遊技機の電気的構成を示したブロック図である。It is the block diagram which showed the electrical structure of the pachinko gaming machine. リセット割込処理を示したフローチャートである。It is the flowchart which showed the reset interruption process. 乱数更新処理を示したフローチャートである。It is the flowchart which showed the random number update process. 初期値カウンタ更新処理を示したフローチャートである。It is the flowchart which showed the initial value counter update process. 第2実施例の初期値カウンタ更新処理を示したフローチャートである。It is the flowchart which showed the initial value counter update process of 2nd Example. 第3実施例の初期値カウンタ更新処理を示したフローチャートである。It is the flowchart which showed the initial value counter update process of 3rd Example.

11 制御部のCPU
13 制御部のRAM(記憶手段)
13a 乱数カウンタ
13b 初期値カウンタ
13c 初期値メモリ
C 制御部(制御手段)
P パチンコ遊技機(弾球遊技機)
11 CPU of control unit
13 RAM of Control Unit (Storage Unit )
13a Random number counter 13b Initial value counter 13c Initial value memory C Control unit (control means)
P Pachinko machine (bullet ball machine)

Claims (2)

数カウンタと、その乱数カウンタの値を所定の範囲内で更新する第1更新手段と、所定の契機に基づいて前記乱数カウンタの値を読み出す読出手段とを有し、その読出手段により読み出された前記乱数カウンタの値が予め定められた値一致する場合に技者に定の遊技価値を付与する制御手段を備えた弾球遊技機において、
前記乱数カウンタの値は、前記第1更新手段により所定回更新されることで一周するものであり、
前記第1更新手段は、前記乱数カウンタの値が一周すると、前記所定の範囲内のいずれかの値を更新の初期値として次の周の更新を行うものであり、
前記制御手段は、
前記所定の範囲と同じ範囲で更新され、前記乱数カウンタの更新の初期値の変更に使用される初期値カウンタと、
その初期値カウンタの値を更新する第2更新手段と、
弾球遊技機の電源投入後に前記乱数カウンタと前記初期値カウンタとを含む記憶手段のデータが有効か否かを判別する判別手段と、
その判別手段により有効と判別された場合に、前記記憶手段のデータを使用して遊技を実行する遊技実行手段と、
その判別手段により有効でないと判別された場合に、前記記憶手段のデータを初期化する初期化手段とを備え、
定期的な割込信号に基づいて定期処理を行うとともに、その定期処理の終了の後、次の定期処理が行われるまでの期間に繰り返し所定の処理を行うものであり、
その所定の処理において、前記第2更新手段による更新が行われ、
前記第2更新手段は、前記初期値カウンタの値が前記所定の範囲以外の値となる場合であっても、前記所定の範囲内の値とするように補正可能に前記初期値カウンタの値を更新することを特徴とする弾球遊技機。
Has a random number counter, a first updating means for updating the value of the random number counter within a predetermined range, and a reading means for reading the value of the random number counter based on a predetermined trigger, read out by the read means in a ball-shooting game machine having a control means for applying a game value Jo Tokoro in Yu technique's when the value of the random number counter matches with a predetermined value,
The value of the random number counter goes around by being updated a predetermined number of times by the first updating means,
When the value of the random number counter makes a round, the first update unit updates the next round using any value within the predetermined range as an initial value of the update,
The control means includes
An initial value counter that is updated in the same range as the predetermined range and is used to change the initial value of the update of the random number counter;
Second updating means for updating the value of the initial value counter;
A discriminating means for discriminating whether or not the data in the storage means including the random number counter and the initial value counter is valid after the power supply of the ball game machine is turned on;
A game execution means for executing a game using the data in the storage means when determined to be valid by the determination means;
An initialization means for initializing the data in the storage means when it is determined that the determination means is not valid,
Perform periodic processing based on a periodic interrupt signal, and repeatedly perform predetermined processing in the period until the next periodic processing is performed after the end of the periodic processing,
In the predetermined process, the update by the second update means is performed,
The second updating means may adjust the value of the initial value counter so that the value of the initial value counter can be corrected to a value within the predetermined range even when the value of the initial value counter is a value outside the predetermined range. A ball game machine characterized by renewal .
前記弾球遊技機はパチンコ遊技機であることを特徴とする請求項1記載の弾球遊技機。2. The ball game machine according to claim 1, wherein the ball game machine is a pachinko game machine.
JP2007282587A 2007-10-31 2007-10-31 Bullet ball machine Expired - Lifetime JP4626639B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007282587A JP4626639B2 (en) 2007-10-31 2007-10-31 Bullet ball machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007282587A JP4626639B2 (en) 2007-10-31 2007-10-31 Bullet ball machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006261701A Division JP4483847B2 (en) 2006-09-27 2006-09-27 Game machine

Publications (2)

Publication Number Publication Date
JP2008043801A JP2008043801A (en) 2008-02-28
JP4626639B2 true JP4626639B2 (en) 2011-02-09

Family

ID=39178051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007282587A Expired - Lifetime JP4626639B2 (en) 2007-10-31 2007-10-31 Bullet ball machine

Country Status (1)

Country Link
JP (1) JP4626639B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05154247A (en) * 1991-11-30 1993-06-22 Sankyo Kk Computer for game machine
JPH105402A (en) * 1996-06-26 1998-01-13 Sankyo Kk Game machine
JPH105400A (en) * 1996-06-20 1998-01-13 Sophia Co Ltd Game machine
JP2000107387A (en) * 1998-10-08 2000-04-18 Sankyo Kk Game machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05154247A (en) * 1991-11-30 1993-06-22 Sankyo Kk Computer for game machine
JPH105400A (en) * 1996-06-20 1998-01-13 Sophia Co Ltd Game machine
JPH105402A (en) * 1996-06-26 1998-01-13 Sankyo Kk Game machine
JP2000107387A (en) * 1998-10-08 2000-04-18 Sankyo Kk Game machine

Also Published As

Publication number Publication date
JP2008043801A (en) 2008-02-28

Similar Documents

Publication Publication Date Title
JP4507019B2 (en) Bullet ball machine
JP5278501B2 (en) Bullet ball machine
JP2007190446A (en) Pinball game machine
JP4033083B2 (en) Game machine
JP4626639B2 (en) Bullet ball machine
JP4626642B2 (en) Bullet ball machine
JP4626640B2 (en) Bullet ball machine
JP4626641B2 (en) Bullet ball machine
JP3951482B2 (en) Game machine
JP4407209B2 (en) Bullet ball machine
JP4483847B2 (en) Game machine
JP5382039B2 (en) Bullet ball machine
JP4124062B2 (en) Game machine
JP4450259B2 (en) Bullet ball machine
JP4293218B2 (en) Game machine
JP2004000755A5 (en)
JP4868059B2 (en) Bullet ball machine
JP4375473B2 (en) Bullet ball machine
JP4375475B2 (en) Bullet ball machine
JP5035446B2 (en) Bullet ball machine
JP4375474B2 (en) Bullet ball machine
JP4379936B2 (en) Bullet ball machine
JP4281138B2 (en) Bullet ball machine
JP2000167191A5 (en)
JP2008043799A5 (en)

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20100506

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100630

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101025

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term