JP2016049178A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2016049178A
JP2016049178A JP2014174949A JP2014174949A JP2016049178A JP 2016049178 A JP2016049178 A JP 2016049178A JP 2014174949 A JP2014174949 A JP 2014174949A JP 2014174949 A JP2014174949 A JP 2014174949A JP 2016049178 A JP2016049178 A JP 2016049178A
Authority
JP
Japan
Prior art keywords
main control
peripheral control
information
command
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014174949A
Other languages
Japanese (ja)
Other versions
JP5962721B2 (en
Inventor
市原 高明
Takaaki Ichihara
高明 市原
岩田 和也
Kazuya Iwata
和也 岩田
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.)
Daiichi Shokai Co Ltd
Original Assignee
Daiichi Shokai 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 Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP2014174949A priority Critical patent/JP5962721B2/en
Publication of JP2016049178A publication Critical patent/JP2016049178A/en
Application granted granted Critical
Publication of JP5962721B2 publication Critical patent/JP5962721B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a game machine capable of preventing performance information from being fraudulently read.SOLUTION: A game machine comprises: main control means for controlling a game; performance control means for executing a game performance; and performance information storage means for storing performance information for executing the performance. The performance control means comprises performance execution means for executing the performance. The performance execution means comprises: performance control information reception means for receiving performance control information; and performance information acquisition means for determining whether or not to read the performance information when reading the performance information, and when reading the performance information, reading the performance information stored in the performance information storage means, and when not reading the performance information, regulating reading of the performance information stored in the performance information storage means.SELECTED DRAWING: Figure 4

Description

本発明は、いわゆる弾球式遊技機(以下「パチンコ遊技機」ともいう)や回動式遊技機(以下「パチスロ遊技機」)などの遊技機に関するものである。   The present invention relates to a gaming machine such as a so-called ball-type gaming machine (hereinafter also referred to as “pachinko gaming machine”) and a rotating gaming machine (hereinafter referred to as “pachislot gaming machine”).

遊技機は、遊技の興趣を高めるべく、多数の素材画像を含む多彩な映像を表示させたり、ランプやスピーカを用いて光や音を出力して多彩な演出を実行する(例えば特許文献1参照)。   In order to enhance the interest of the game, the gaming machine displays a variety of images including a large number of material images, or outputs lights and sounds using lamps and speakers to execute a variety of effects (see, for example, Patent Document 1). ).

特開2014−97292号公報JP 2014-97292 A

遊技機に備えられる不揮発性メモリには、遊技制御データ(遊技を制御するプログラムやデータ)を格納する記憶領域(遊技制御記憶領域)と、演出制御データ(演出を制御するプログラムやデータ)を格納する記憶領域(演出制御記憶領域)と、演出実行時に出力される画像や音声等の演出用の素材情報(演出情報)を格納する記憶領域(演出情報記憶領域)も割り当てられていた。   The non-volatile memory provided in the gaming machine stores a storage area (game control storage area) for storing game control data (game control program and data) and presentation control data (program and data for controlling presentation). A storage area (effect control storage area) for storage and a storage area (effect information storage area) for storing material information (effect information) for effects such as images and sounds output at the time of effect execution are also allocated.

このとき、遊技の不正を防止するために、遊技制御記憶領域からの遊技制御データの読み出しは規制されていた。これに対し、演出関連のデータ(演出制御データ、演出情報)、特に、演出情報記憶領域からの演出情報の読み出しは、遊技結果に対する影響が少ないため、特に規制されていない場合があった。そのため、演出情報記憶領域に記憶された画像や音声といった素材情報が不正に読み出されて転用されてしまうおそれがあった。   At this time, reading of game control data from the game control storage area is restricted in order to prevent game fraud. On the other hand, there is a case where production related data (production control data, production information), in particular, production information read from the production information storage area is not particularly restricted because it has little influence on the game result. Therefore, there is a possibility that material information such as images and sounds stored in the effect information storage area may be read out illegally.

そこで、本発明は、演出情報記憶領域から演出情報が不正に読み出されることを防止することを目的とする。   Therefore, an object of the present invention is to prevent the production information from being read out illegally from the production information storage area.

本発明に係る遊技機は、遊技を制御する主制御手段と、前記主制御手段からの実行指示に基づいて遊技の演出を実行する演出制御手段と、前記演出を実行するための演出情報を記憶する演出情報記憶手段と、を備える遊技機において、前記演出制御手段は、前記演出を実行する演出実行手段と、前記演出情報記憶手段からの演出情報の読み出しを規制する読み出し規制手段と、前記演出情報の読み出しの規制を解除する読み出し規制解除手段と、を備え、前記演出実行手段は、前記演出情報記憶手段に記憶された演出情報の読み出しを規制するか否かを所定のタイミングで判定する演出情報読み出し規制判定手段と、前記演出情報読み出し規制判定手段によって前記演出情報記憶手段に記憶された演出情報の正常な読み出しを規制すると判定した場合には、前記読み出し規制手段により前記演出情報記憶手段に記憶された演出情報の正常な読み出しを規制するとともに、規制しないと判定した場合には、前記読み出し規制解除手段により前記演出情報記憶手段に記憶された演出情報の正常な読み出しを可能とする演出情報取得手段と、を備える。   The gaming machine according to the present invention stores main control means for controlling a game, effect control means for executing a game effect based on an execution instruction from the main control means, and effect information for executing the effect. In the gaming machine provided with the effect information storage means, the effect control means includes an effect execution means for executing the effect, a read restricting means for restricting reading of the effect information from the effect information storage means, and the effect. An effect of determining at a predetermined timing whether or not to restrict the reading of the effect information stored in the effect information storage means. It is determined that normal reading of the production information stored in the production information storage unit is regulated by the information readout regulation judgment unit and the production information read regulation judgment unit If the read restriction means restricts normal reading of the effect information stored in the effect information storage means, and if it is determined not to restrict, the read restriction release means causes the effect information storage means. Production information acquisition means for enabling normal reading of the production information stored in

本発明に係る遊技機によれば、演出情報記憶領域(演出情報記憶手段)に格納された演出情報が不正に読み出されることを防止することができる。   According to the gaming machine according to the present invention, it is possible to prevent the effect information stored in the effect information storage area (effect information storage means) from being read illegally.

本発明の一実施形態であるパチンコ遊技機の外枠に対して本体枠を開放し、本体枠に対して扉枠を開放した状態を示す斜視図である。It is a perspective view which shows the state which open | released the main body frame with respect to the outer frame of the pachinko game machine which is one Embodiment of this invention, and opened the door frame with respect to the main body frame. パチンコ遊技機を構成する外枠、本体枠、遊技盤、扉枠の後方から見た分解斜視図である。It is the disassembled perspective view seen from the outer frame, main body frame, game board, and door frame which comprise a pachinko game machine. パチンコ遊技機の裏面側からみた遊技盤の斜視図である。It is a perspective view of the game board seen from the back side of a pachinko gaming machine. 遊技盤の正面図である。It is a front view of a game board. 扉枠の斜視図である。It is a perspective view of a door frame. 主制御基板、払出制御基板及び周辺制御基板のブロック図である。It is a block diagram of a main control board, a payout control board, and a peripheral control board. 図6に示す周辺制御基板及びそれに接続される基板などの構成例を示すブロック図である。FIG. 7 is a block diagram showing a configuration example of a peripheral control board shown in FIG. 6 and a board connected to the peripheral control board. 周辺制御MPUの概略を示すブロック図である。It is a block diagram which shows the outline of peripheral control MPU. 液晶及び音制御部における音源内蔵VDP周辺構成例を示すブロック図である。It is a block diagram which shows the structural example of VDP periphery with a sound source in a liquid crystal and a sound control part. 主制御基板から周辺制御基板へ送信される各種コマンドの一例を示すテーブルである。It is a table which shows an example of the various commands transmitted to a peripheral control board from a main control board. 図10の主制御基板から周辺制御基板へ送信される各種コマンドのつづきを示すテーブルである。11 is a table showing a continuation of various commands transmitted from the main control board to the peripheral control board in FIG. 10. 主制御側電源投入時処理の一例を示すフローチャートである。It is a flowchart which shows an example of the main control side power-on process. 図12の主制御側電源投入時処理のつづきを示すフローチャートである。FIG. 13 is a flowchart showing a continuation of main-control-side power-on processing in FIG. 12. FIG. 主制御側タイマ割り込み処理の一例を示すフローチャートである。It is a flowchart which shows an example of the main control side timer interruption process. 周辺制御部電源投入時処理の一例を示すフローチャートである。It is a flowchart which shows an example of a peripheral control part power-on process. 周辺制御部Vブランク割り込み処理の一例を示すフローチャートである。It is a flowchart which shows an example of the peripheral control part V blank interruption process. 周辺制御部1msタイマ割り込み処理の一例を示すフローチャートである。It is a flowchart which shows an example of a peripheral control part 1ms timer interruption process. 周辺制御部コマンド受信割り込み処理の一例を示すフローチャートである。It is a flowchart which shows an example of a peripheral control part command reception interruption process. 液晶及び音制御ROMに予め用意されている制御データ列を説明する図であり、(A)は制御データ列の格納状態の一例を示す図、(B)は制御データ列の詳細を示すデータフォーマットの一例を示している。It is a figure explaining the control data sequence prepared beforehand by liquid crystal and sound control ROM, (A) is a figure which shows an example of the storage state of a control data sequence, (B) is a data format which shows the detail of a control data sequence An example is shown. フレームバッファの記憶領域の構成例を示す図である。It is a figure which shows the structural example of the storage area of a frame buffer. 種別コードによって非映像演出実行部の種類を区別して管理する対応管理テーブルの一例を示す図である。It is a figure which shows an example of the correspondence management table which distinguishes and manages the kind of non-video production | presentation execution part with a classification code. 制御データ抽出処理の一例を示すフローチャートである。It is a flowchart which shows an example of a control data extraction process. 制御データの構成の一例を示す図である。It is a figure which shows an example of a structure of control data. 周辺制御MPUからの指示に基づいて演出情報の秘匿化を解除する構成を説明する周辺制御基板のブロック図である。It is a block diagram of the periphery control board explaining the composition which releases concealment of production information based on the directions from peripheral control MPU. 音源内蔵VDPが独自に演出情報の秘匿化を解除する構成を説明する周辺制御基板のブロック図である。It is a block diagram of a peripheral control board for explaining a configuration in which the sound source built-in VDP independently releases the concealment of the production information.

[1.パチンコ遊技機の構造]
以下、図面を参照して本発明の好適な実施形態について、図面を参照して説明する。まず、実施形態に係るパチンコ遊技機の構成について説明する。図1は、実施形態に係るパチンコ遊技機の外枠に対して本体枠を開放し、本体枠に対して扉枠を開放した状態を示す斜視図である。図2は、パチンコ遊技機を構成する外枠、本体枠、遊技盤、扉枠の後方から見た分解斜視図である。
[1. Pachinko machine structure]
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings. First, the configuration of the pachinko gaming machine according to the embodiment will be described. FIG. 1 is a perspective view illustrating a state in which a main body frame is opened with respect to an outer frame of a pachinko gaming machine according to an embodiment and a door frame is opened with respect to the main body frame. FIG. 2 is an exploded perspective view as seen from the rear of the outer frame, the main body frame, the game board, and the door frame constituting the pachinko gaming machine.

図1及び図2に示すように、本実施形態に係るパチンコ遊技機1は、遊技ホールの島設備(図示しない)に設置される外枠2と、外枠2に開閉自在に軸支され前側が開放された箱枠状の本体枠3と、本体枠3に前側から装着固定され遊技媒体としての遊技球が打ち込まれる遊技領域1100を有した遊技盤4と、本体枠3及び遊技盤4の前面を遊技者側から閉鎖するように本体枠3に対して開閉自在に軸支された扉枠5とを備えている。パチンコ遊技機1の扉枠5には、遊技盤4の遊技領域1100が遊技者側から視認可能となるように形成された遊技窓101と、遊技窓101の下方に配置され遊技球を貯留する皿状の上皿301及び下皿302と、上皿301に貯留された遊技球を遊技盤4の遊技領域1100内へ打ち込むために遊技者が操作するハンドル装置500と、を備えている。   As shown in FIGS. 1 and 2, the pachinko gaming machine 1 according to the present embodiment includes an outer frame 2 installed in an island facility (not shown) of the game hall, and is pivotally supported by the outer frame 2 so as to be freely opened and closed. A game frame 4 having a box frame-shaped main body frame 3 opened on the side, a game area 1100 in which a game ball as a game medium is inserted and fixed to the main body frame 3 from the front side, and the main body frame 3 and the game board 4 A door frame 5 that is pivotally supported to be openable and closable with respect to the main body frame 3 so as to close the front surface from the player side. The door frame 5 of the pachinko gaming machine 1 stores a gaming window 101 formed so that a gaming area 1100 of the gaming board 4 can be viewed from the player side, and a gaming ball disposed below the gaming window 101. A dish-shaped upper plate 301 and lower plate 302, and a handle device 500 that is operated by the player to drive the game balls stored in the upper plate 301 into the game area 1100 of the game board 4 are provided.

本実施形態のパチンコ遊技機1は、正面視において、外枠2、本体枠3、及び扉枠5が夫々上下方向へ延びた縦長の矩形状に形成されており、夫々の左右方向の横幅が略同じ寸法とされているとともに、上下方向の縦幅の寸法が、外枠2に対して本体枠3及び扉枠5の寸法が若干短く形成されている。そして、本体枠3及び扉枠5よりも下側の位置において、外枠2の前面に装飾カバー23が取付けられており、扉枠5及び装飾カバー23によって外枠2の前面が完全に閉鎖されるようになっている。また、外枠2、本体枠3、及び扉枠5は、上端が略揃うように夫々が配置されると共に、外枠2の左端前側の位置で本体枠3及び扉枠5が回転可能に軸支されており、外枠2に対して本体枠3及び扉枠5の右端が前側へ移動することで開状態となるようになっている。   In the pachinko gaming machine 1 according to the present embodiment, the outer frame 2, the main body frame 3, and the door frame 5 are each formed in a vertically long rectangular shape extending in the vertical direction when viewed from the front. The dimensions of the body frame 3 and the door frame 5 are slightly shorter than the outer frame 2 in terms of the vertical dimension in the vertical direction. A decorative cover 23 is attached to the front surface of the outer frame 2 at a position below the main body frame 3 and the door frame 5, and the front surface of the outer frame 2 is completely closed by the door frame 5 and the decorative cover 23. It has become so. The outer frame 2, the main body frame 3, and the door frame 5 are arranged so that their upper ends are substantially aligned, and the main body frame 3 and the door frame 5 can be rotated at a position on the left end front side of the outer frame 2. The right end of the main body frame 3 and the door frame 5 moves to the front side with respect to the outer frame 2 so as to be in an open state.

パチンコ遊技機1は、正面視において、略円形状の遊技窓101を介して遊技球が打ち込まれる遊技領域1100が望むようになっており、遊技窓101の下側に前方へ突出するように二つの上皿301及び下皿302が上下に配置されている。また、扉枠5の前面右下隅部には、遊技者が操作するためのハンドル装置500が配置されており、上皿301内に遊技球が貯留されている状態で遊技者がハンドル装置500を回転操作すると、その回転角度に応じた打球強さで上皿301内の遊技球が遊技盤4の遊技領域1100内へ打ち込まれて、遊技をすることができるようになっている。   In the front view, the pachinko gaming machine 1 is desired to have a gaming area 1100 into which a game ball is driven through a substantially circular gaming window 101, and so as to project forward to the lower side of the gaming window 101. Two upper plates 301 and lower plates 302 are arranged one above the other. In addition, a handle device 500 for the player to operate is disposed at the lower right corner of the front surface of the door frame 5. When the rotation operation is performed, the game ball in the upper plate 301 is driven into the game area 1100 of the game board 4 with a hitting strength corresponding to the rotation angle, and a game can be played.

なお、扉枠5の遊技窓101は、透明なガラスユニット590によって閉鎖されており、遊技者から遊技領域1100内を視認することができるものの、遊技者が遊技領域1100内に手等を挿入して遊技領域1100内の遊技球や障害釘、各種入賞口や役物等に触ることができないようになっている。   Note that the game window 101 of the door frame 5 is closed by a transparent glass unit 590, and the player can visually recognize the inside of the game area 1100, but the player inserts a hand or the like into the game area 1100. Thus, it is impossible to touch game balls, obstacle nails, various winning holes, and bonuses in the game area 1100.

[1−1.本体枠]
本体枠3は、外枠2に対して正面視左辺が軸支されており、扉枠5の後側で外枠2の前面を開閉するように扉状に支持されていると共に、前側が扉枠5によって開閉させられるようになっている。また、本体枠3は、扉枠5の遊技窓101と対応した位置に前側から遊技盤4を着脱自在に保持することができるようになっている。
[1-1. Body frame]
The main body frame 3 is pivotally supported on the left side when viewed from the front with respect to the outer frame 2, and is supported in a door shape so as to open and close the front surface of the outer frame 2 on the rear side of the door frame 5. The frame 5 can be opened and closed. Further, the main body frame 3 can hold the game board 4 detachably from the front side at a position corresponding to the game window 101 of the door frame 5.

本体枠3は、本体枠3の骨格を形成すると共に前後方向に貫通し遊技盤4を保持するための矩形状の遊技盤保持口601を有した本体枠ベース600と、本体枠ベース600の正面視左側端部の上端及び下端に夫々取付けられ外枠2に軸支されると共に扉枠5を軸支するための上軸支金具630及び下軸支金具640と、本体枠ベース600の下部前面に取付けられ遊技盤4の遊技領域1100内へ遊技球を打ち込むための打球発射装置650と、本体枠ベース600の後側に取付けられ皿ユニット300の上皿301へ遊技球を払出すための賞球ユニット700と、本体枠ベース600の前面に取付けられ本体枠3に対して扉枠5が開いた時に賞球ユニット700から扉枠5の皿ユニット300への遊技球の流れを遮断する球出口開閉ユニット790と、を備えている。   The main body frame 3 forms a skeleton of the main body frame 3 and penetrates in the front-rear direction to have a rectangular game board holding port 601 for holding the game board 4, and a front surface of the main body frame base 600. An upper shaft support bracket 630 and a lower shaft support bracket 640 that are attached to the upper end and the lower end of the left end portion of the view and are pivotally supported by the outer frame 2 and pivotally support the door frame 5, respectively, and the lower front surface of the main body frame base 600 A ball hitting device 650 for driving a game ball into the game area 1100 of the game board 4 and an award for paying out the game ball to the upper plate 301 of the plate unit 300 attached to the rear side of the main body frame base 600. A ball outlet that is attached to the front surface of the ball unit 700 and the main body frame base 600 and blocks the flow of game balls from the prize ball unit 700 to the dish unit 300 of the door frame 5 when the door frame 5 is opened with respect to the main body frame 3. Opening and closing uni Is provided with a door 790, a.

また、本体枠3は、本体枠ベース600の下部後面に取付けられ遊技盤4を除く扉枠5や本体枠3に備えられた電気的部品を制御するための各種の制御基板や電源基板851等を一纏めにしてユニット化した基板ユニット800と、本体枠ベース600における遊技盤保持口601の後側開口を覆う裏カバー900と、本体枠ベース600の正面視左側端部を被覆する側面防犯板950と、本体枠ベースの正面視右側端部に取付けられ外枠2に対する本体枠3の開閉施錠、及び本体枠3に対する扉枠5の開閉施錠をする錠装置1000と、を備えている。基板ユニット800は、基板ユニットベース810、スピーカボックス820、発射電源基板ボックス830、電源基板ボックスホルダ840、電源基板ボックス850、払出制御基板ボックス860、及び端子基板ボックス870等を備えている。電源基板851は、電源基板ボックス850の内部に収装されている。   The main body frame 3 is attached to the lower rear surface of the main body frame base 600, and includes various control boards for controlling electrical components provided in the door frame 5 and the main body frame 3 except the game board 4, a power supply board 851, and the like. Are combined into a unit board unit 800, a back cover 900 that covers the rear opening of the game board holding port 601 in the main body frame base 600, and a side security plate 950 that covers the left end of the main body frame base 600 in front view And a locking device 1000 that is attached to the right end of the main body frame base when viewed from the front and that opens and closes the main body frame 3 to the outer frame 2 and opens and closes the door frame 5 to the main body frame 3. The board unit 800 includes a board unit base 810, a speaker box 820, a launch power board box 830, a power board box holder 840, a power board box 850, a payout control board box 860, a terminal board box 870, and the like. The power board 851 is housed inside the power board box 850.

また、本体枠3の後側には、各種の制御基板が備えられているとともに、遊技盤4の後方を覆うように閉鎖する裏カバー900が備えられている。裏カバー900は、裏カバー900を本体枠3に対して開かなくても、本体枠3に対して閉じた状態で、接続用切欠部910や確認用開口部912を通して、主制御基板4100の作動確認や外観確認、管理状態確認等を行うことができるようになっている。   Further, on the rear side of the main body frame 3, various control boards are provided, and a back cover 900 that is closed so as to cover the back of the game board 4 is provided. The back cover 900 operates the main control board 4100 through the connection notch 910 and the confirmation opening 912 in a state of being closed with respect to the main body frame 3 without opening the back cover 900 with respect to the main body frame 3. Confirmation, appearance confirmation, management status confirmation, etc. can be performed.

[1−2.遊技盤]
次に、遊技盤4の全体構成について、図3及び図4を参照して説明する。図3は、本実施形態における裏面側からみた遊技盤の斜視図である。図4は、本実施形態における遊技盤の正面図である。
[1-2. Game board]
Next, the whole structure of the game board 4 is demonstrated with reference to FIG.3 and FIG.4. FIG. 3 is a perspective view of the game board viewed from the back side in the present embodiment. FIG. 4 is a front view of the game board in the present embodiment.

本実施形態のパチンコ遊技機1における遊技盤4は、外レール1111及び内レール1112を有し、遊技者がハンドル装置500を操作することで遊技媒体としての遊技球(単に「球」とも称す)が打ち込まれる遊技領域1100の内周を区画形成する枠状の前構成部材1110と、板状の遊技パネル1200と、を備えている。   The game board 4 in the pachinko gaming machine 1 of the present embodiment has an outer rail 1111 and an inner rail 1112, and a game ball (also simply referred to as “ball”) as a game medium when the player operates the handle device 500. A frame-shaped front component member 1110 that partitions and forms an inner periphery of a game area 1100 into which a game is inserted, and a plate-like game panel 1200 are provided.

遊技パネル1200は、前構成部材1110によって内周が区画された遊技領域1100の後端を区画可能な板状で前構成部材1110よりも外形が小さく形成された透明なパネル板1210と、パネル板1210を前側から脱着可能に保持すると共に前構成部材1110の後面に取付けられる枠状のパネルホルダ1220と、を備えている。遊技パネル1200の開口部は、透明なパネル板1210に形成されている。   The gaming panel 1200 includes a transparent panel board 1210 having a plate shape capable of partitioning the rear end of the gaming area 1100 whose inner periphery is partitioned by the front component member 1110 and having a smaller outer shape than the front component member 1110, and a panel plate And a frame-like panel holder 1220 attached to the rear surface of the front component member 1110 while holding the detachable 1210 from the front side. An opening of the game panel 1200 is formed in a transparent panel plate 1210.

また、遊技盤4は、遊技パネル1200の開口部に対して前側から取付けられる表ユニット2000と、遊技パネル1200(パネルホルダ1220)の後面に取付けられる裏ユニット3000と、裏ユニット3000の前端左端で透明なパネル板1210を通して遊技者側から視認可能とされると共にパチンコ遊技機1へ取付けた時に扉枠5の遊技窓101から遊技者側へ視認可能となる位置に配置された機能表示ユニット1180と、裏ユニット3000の後側に遊技者側から視認可能に取付けられ所定の演出画像を表示可能な矩形の表示画面(表示領域)を有する液晶表示装置1900と、裏ユニット3000の下部を後側から覆うように遊技パネル1200の後面下部に取付けられる基板ホルダ1160と、基板ホルダ1160の後面に取付けられる主制御基板ボックス1170と、を備えている。   Further, the game board 4 includes a front unit 2000 attached from the front side to the opening of the game panel 1200, a back unit 3000 attached to the rear surface of the game panel 1200 (panel holder 1220), and a left end of the front end of the back unit 3000. A function display unit 1180 disposed at a position that is visible from the player side through the transparent panel board 1210 and is visible from the game window 101 of the door frame 5 to the player side when attached to the pachinko gaming machine 1; A liquid crystal display device 1900 having a rectangular display screen (display area) which is attached to the rear side of the back unit 3000 so as to be visible from the player side and can display a predetermined effect image, and a lower part of the back unit 3000 from the rear side. A substrate holder 1160 attached to the lower rear surface of the gaming panel 1200 so as to cover the rear of the substrate holder 1160 A main control board box 1170 attached to, and a.

表ユニット2000は、遊技領域1100内の左右方向略中央下部でアウト口1151の上側に配置され遊技パネル1150の前面に支持されるアタッカユニット2100と、アタッカユニット2100の左方で遊技領域1100の外周に沿って配置され遊技パネル1150の前面に支持されるサイド入賞口部材2200と、遊技領域1100の略中央部分に配置され遊技パネル1150に支持される枠状のセンター役物2300と、を備える。   The front unit 2000 includes an attacker unit 2100 that is disposed at a substantially lower center in the left-right direction in the gaming area 1100 and above the out port 1151 and is supported on the front surface of the gaming panel 1150. And a side prize opening member 2200 supported by the front surface of the game panel 1150 and a frame-shaped center accessory 2300 supported by the game panel 1150 and disposed at a substantially central portion of the game area 1100.

裏ユニット3000は、遊技パネル1150の後面に取り付けて固定されており、遊技パネル1150から所定距離後側へ離れた位置に液晶表示装置1900を支持する裏箱3001と、裏箱3001内で液晶表示装置1900の上側に配置される上部ユニット3100と、裏箱3001内で液晶表示装置1900の右側に配置されるキャラクタユニット3400と、裏箱3001内で液晶表示装置1900の左側に配置される歯車装飾体ユニット3500と、を備える。上部ユニット3100、キャラクタユニット3400及び歯車装飾体ユニット3500は、遊技状態に応じてそれぞれ独立、あるいは、連係しながら可動するようになっており、その可動により遊技者に対して、遊技状態の変化やチャンスの到来等を示唆することができ、遊技者を楽しませることができるようになっている。   The back unit 3000 is attached and fixed to the rear surface of the game panel 1150, and a back box 3001 that supports the liquid crystal display device 1900 at a position away from the game panel 1150 by a predetermined distance, and a liquid crystal display in the back box 3001. The upper unit 3100 disposed on the upper side of the device 1900, the character unit 3400 disposed on the right side of the liquid crystal display device 1900 in the back box 3001, and the gear decoration disposed on the left side of the liquid crystal display device 1900 in the back box 3001. A body unit 3500. The upper unit 3100, the character unit 3400, and the gear decoration body unit 3500 can be moved independently or in conjunction with each other depending on the game state. It is possible to suggest the arrival of an opportunity, and to entertain the player.

液晶表示装置1900は、図3に示すように、周辺制御部4150や液晶及び音制御部4160(図7参照)等を収容した周辺制御基板ボックス1910と、周辺制御基板ボックス1910の下部から後方へ延出したボリューム1912と、を備える。   As shown in FIG. 3, the liquid crystal display device 1900 includes a peripheral control board box 1910 that houses a peripheral control unit 4150, a liquid crystal and sound control unit 4160 (see FIG. 7), and the lower part of the peripheral control board box 1910. And an extended volume 1912.

周辺制御基板ボックス1910は、遊技機に取り付けられる取付ベースと、取付ベースに取り付けられ、取付ベースとの間に遊技制御基板を収納する収納空間を画成する蓋部材とを備える。周辺制御基板ボックス1910は、透明な合成樹脂によって構成され、蓋部材が取付ベースに取り付けられた状態でも内部に収納された周辺制御基板4140が透視可能に構成されている。   The peripheral control board box 1910 includes an attachment base attached to the gaming machine, and a lid member attached to the attachment base and defining a storage space for accommodating the game control board between the attachment base. The peripheral control board box 1910 is made of a transparent synthetic resin, and the peripheral control board 4140 housed inside can be seen through even when the lid member is attached to the attachment base.

また、取付ベースと蓋部材とは、例えば、締め方向にしか回せないワンウェイネジ(固着具)によって封止されている(かしめ構造)。そのため、遊技制御基板を取り出すためには、ワンウェイネジを切り離す必要がある。なお、前述した主制御基板ボックス1170についても同様の構成となっている。したがって、取付ベースと蓋部材との固着を解除すると痕跡が残り、周辺制御基板(演出制御基板)4140や主制御基板(遊技制御基板)4100を交換するなどの不正行為が行われた場合に容易に発見することができる。   Further, the mounting base and the lid member are sealed (caulking structure) by, for example, a one-way screw (fixing tool) that can be turned only in the tightening direction. Therefore, in order to take out the game control board, it is necessary to disconnect the one-way screw. The main control board box 1170 described above has the same configuration. Therefore, when the attachment between the mounting base and the lid member is released, a trace remains, which is easy when an illegal act such as replacing the peripheral control board (production control board) 4140 or the main control board (game control board) 4100 is performed. Can be found in.

[1−3.扉枠]
次に、本体枠3の前面側に開閉自在に設けられる扉枠5について、図5を参照して説明する。図5は、本実施形態における扉枠5の斜視図である。扉枠5は、図4に示すように、外形が縦長の矩形状に形成され内周形状がやや縦長の円形状(楕円形状)とされた遊技窓101を有する扉枠ベースユニット100と、扉枠ベースユニット100の前面で遊技窓101の右外周に取り付けられる右サイド装飾ユニット200と、右サイド装飾ユニット200と対向し扉枠ベースユニット100の前面で遊技窓101の左外周に取り付けられる左サイド装飾ユニット240と、扉枠ベースユニット100の前面で遊技窓101の上部外周に取り付けられる上部装飾ユニット280と、右サイド装飾ユニット200及び左サイド装飾ユニット240の下端下側に配置され扉枠ベースユニット100の前面に取り付けられる一対のサイドスピーカカバー290と、を備える。
[1-3. Door frame]
Next, the door frame 5 that can be freely opened and closed on the front side of the main body frame 3 will be described with reference to FIG. FIG. 5 is a perspective view of the door frame 5 in the present embodiment. As shown in FIG. 4, the door frame 5 includes a door frame base unit 100 having a gaming window 101 whose outer shape is formed in a vertically long rectangular shape and whose inner peripheral shape is a slightly vertically long circular shape (elliptical shape). A right side decoration unit 200 attached to the right outer periphery of the gaming window 101 on the front surface of the frame base unit 100, and a left side facing the right side decoration unit 200 and attached to the left outer periphery of the gaming window 101 on the front surface of the door frame base unit 100. The decoration unit 240, the upper decoration unit 280 attached to the upper outer periphery of the gaming window 101 in front of the door frame base unit 100, and the door frame base unit disposed below the lower ends of the right side decoration unit 200 and the left side decoration unit 240. And a pair of side speaker covers 290 attached to the front surface of 100.

また、扉枠5は、扉枠ベースユニット100の前面で遊技窓101の下部に取り付けられる皿ユニット300と、皿ユニット300の上部中央に取り付けられる操作ユニット400と、皿ユニット300の右側に取り付けられ、上皿側液晶表示装置244、上皿側液晶表示装置244の上面を覆う透明なタッチパネル246、皿ユニット300を貫通して扉枠ベースユニット100の右下隅部に取り付けられ遊技球の打込操作をするためのハンドル装置500と、扉枠ベースユニット100を挟んで皿ユニット300の後側に配置され扉枠ベースユニット100の後面に取り付けられるファールカバーユニット540と、ファールカバーユニット540の右側で扉枠ベースユニット100の後面に取り付けられる球送ユニット580と、扉枠ベースユニット100の後側に遊技窓101を閉鎖するように取り付けられるガラスユニット590と、を備える。   The door frame 5 is attached to the front side of the door frame base unit 100 at the lower part of the gaming window 101, the operation unit 400 attached to the upper center of the dish unit 300, and the right side of the dish unit 300. , An upper plate side liquid crystal display device 244, a transparent touch panel 246 that covers the upper surface of the upper plate side liquid crystal display device 244, and a tray unit 300 that is attached to the lower right corner of the door frame base unit 100 and is used for driving a game ball. Handle device 500, a foul cover unit 540 disposed on the rear side of the dish unit 300 with the door frame base unit 100 interposed therebetween, and a door on the right side of the foul cover unit 540. A ball feeding unit 580 attached to the rear surface of the frame base unit 100, and a door frame Provided on the rear side of the Suyunitto 100 glass unit 590 mounted to close the game window 101, the.

[2.主制御基板、払出制御基板及び周辺制御基板]
次に、パチンコ遊技機1の各種制御を行う制御基板について、図6〜図9を参照しつつ説明する。図6は、主制御基板、払出制御基板及び周辺制御基板のブロック図であり、図7は、図6に示す周辺制御基板4140及びそれに接続される基板などの構成例を示すブロック図である。図8は、周辺制御MPUの概略を示すブロック図であり、図9は、液晶及び音制御部における音源内蔵VDP周辺構成例を示すブロック図である。
[2. Main control board, payout control board and peripheral control board]
Next, a control board for performing various controls of the pachinko gaming machine 1 will be described with reference to FIGS. FIG. 6 is a block diagram of the main control board, the payout control board, and the peripheral control board. FIG. 7 is a block diagram showing a configuration example of the peripheral control board 4140 shown in FIG. FIG. 8 is a block diagram showing an outline of the peripheral control MPU, and FIG. 9 is a block diagram showing a peripheral configuration example of a sound source built-in VDP in the liquid crystal and sound control unit.

パチンコ遊技機1は、その制御に関係する構成として、図6に示すように、主として、主制御基板4100、払出制御基板4110及び周辺制御基板4140によって構成されており、各種制御が分担されている。まず、主制御基板について説明し、続いて、周辺制御基板について説明する。払出制御基板4110の詳細については説明を省略する。   As shown in FIG. 6, the pachinko gaming machine 1 is mainly configured by a main control board 4100, a payout control board 4110, and a peripheral control board 4140, and various controls are shared. . First, the main control board will be described, and then the peripheral control board will be described. The details of the payout control board 4110 will be omitted.

[2−1.主制御基板]
遊技の進行を制御する主制御基板4100は、遊技動作を制御する主制御プログラムなどの各種制御プログラム及び各種コマンドを記憶するROM並びに一時的にデータを記憶するRAM等が内蔵されているマイクロプロセッサとしての主制御MPU4100aと、各種検出スイッチからの検出信号が入力される主制御入力回路4100bと、各種信号を外部の基板等へ出力するための主制御出力回路4100cと、各種ソレノイドを駆動するための主制御ソレノイド駆動回路4100dと、予め定めた電圧の停電又は瞬間的な停電状態(以下「瞬停」という)の兆候を監視する停電監視回路4100eと、を主として備えている。上述した主制御プログラムは、電源投入時から所定時間が経過した後に実行され、電源投入時に実行される電源投入時処理を制御する。
[2-1. Main control board]
The main control board 4100 for controlling the progress of the game is a microprocessor in which various control programs such as a main control program for controlling game operations, a ROM for storing various commands, a RAM for temporarily storing data, and the like are incorporated. Main control MPU 4100a, a main control input circuit 4100b to which detection signals from various detection switches are input, a main control output circuit 4100c for outputting various signals to an external substrate, etc., and for driving various solenoids Mainly includes a main control solenoid drive circuit 4100d and a power failure monitoring circuit 4100e for monitoring a sign of a predetermined power failure or an instantaneous power failure state (hereinafter referred to as “instantaneous power failure”). The above-described main control program is executed after a predetermined time has elapsed since power-on, and controls power-on processing that is performed when power is turned on.

主制御MPU4100aには、その内蔵されているRAM(上記「主制御内蔵RAM」に相当)や、その内蔵されているROM(以下、「主制御内蔵ROM」と記載する。)の他に、その動作(システム)を監視するウォッチドックタイマや不正を防止するための機能等も内蔵されている。上述した主制御内蔵RAMは、その記憶領域の一部として、後述する始動記憶情報記憶領域に記憶される始動記憶情報ごとの大当たり判定用乱数記憶領域、特別図柄用乱数記憶領域、リーチ判定用乱数記憶領域、変動パターン用乱数1,2記憶領域、及び変動タイプ用乱数記憶領域、並びに後述する始動記憶情報記憶領域及び送信情報記憶領域を有する。このうち始動記憶情報記憶領域は、第一特別図柄用の第一始動記憶情報記憶領域及び第二特別図柄用の第二始動記憶情報記憶領域を含んでいる。その他にも主制御内蔵RAMは、後述する大当りフラグの値を格納可能な大当りフラグ領域も含んでいる。大当りフラグは、後述するように、ハズレ(00H)であるか或いは大当り(01H)であるかのみならず、小当り(02H)であるかも表している。従って、主制御MPU4100aは、小当りフラグの値を格納可能な小当りフラグ領域にアクセスすることなく、大当りフラグ領域という1つの記憶領域にアクセスすれば、大当りであるか或いはハズレであるかだけでなく、小当りであるかについても同時に把握することができる。   The main control MPU 4100a includes a built-in RAM (corresponding to the “main control built-in RAM”) and a built-in ROM (hereinafter referred to as “main control built-in ROM”). A watchdog timer for monitoring the operation (system) and functions for preventing fraud are also built-in. The above-described main control built-in RAM has, as part of its storage area, a jackpot determination random number storage area, a special symbol random number storage area, and a reach determination random number for each start storage information stored in a start storage information storage area described later. It has a storage area, random numbers for variation pattern 1, 2 and a random number storage area for variation type, and a starting storage information storage area and a transmission information storage area described later. Of these, the start memory information storage area includes a first start memory information storage area for the first special symbol and a second start memory information storage area for the second special symbol. In addition, the main control built-in RAM also includes a jackpot flag area capable of storing a jackpot flag value to be described later. As will be described later, the big hit flag represents not only a loss (00H) or a big hit (01H) but also a small hit (02H). Therefore, if the main control MPU 4100a accesses one storage area called the big hit flag area without accessing the small hit flag area in which the value of the big hit flag can be stored, the main control MPU 4100a only determines whether it is a big hit or lost. In addition, it is possible to grasp at the same time whether it is a small hit.

また、主制御MPU4100aは、不揮発性のRAMが内蔵されている。この不揮発性のRAMには、主制御MPU4100aを製造したメーカによって個体を識別するためのユニークな符号(世界で1つしか存在しない符号)が付された固有のIDコードが予め記憶されている。この一度付されたIDコードは、不揮発性のRAMに記憶されるため、外部装置を用いても書き換えることができない。主制御MPU4100aは、不揮発性のRAMからIDコードを取り出して参照することができる。   The main control MPU 4100a has a built-in nonvolatile RAM. In this non-volatile RAM, a unique ID code with a unique code (a code that exists only in the world) for identifying an individual by the manufacturer that manufactured the main control MPU 4100a is stored in advance. Since the ID code once attached is stored in the nonvolatile RAM, it cannot be rewritten using an external device. The main control MPU 4100a can take out the ID code from the nonvolatile RAM and refer to it.

主制御入力回路4100bは、その各種入力端子に各種検出スイッチからの検出信号がそれぞれ入力された情報を強制的にリセットするためのリセット端子が設けられず、リセット機能を有していない。このため、主制御入力回路4100bは、後述する主制御システムリセットからのシステムリセット信号が入力されない回路として構成されている。つまり、主制御入力回路4100bは、その各種入力端子に入力されている各種検出スイッチからの検出信号に基づく情報が後述する主制御システムリセットによりリセットされないことによって、その情報に基づく各種信号がその各種出力端子から出力される回路として構成されている。   The main control input circuit 4100b is not provided with a reset terminal for forcibly resetting information whose detection signals from various detection switches are input to the various input terminals, and does not have a reset function. Therefore, the main control input circuit 4100b is configured as a circuit to which a system reset signal from a main control system reset described later is not input. That is, the main control input circuit 4100b does not reset the information based on the detection signals from the various detection switches input to the various input terminals by a main control system reset to be described later. The circuit is configured to be output from the output terminal.

主制御出力回路4100cは、エミッタ端子がグランド(GND)と接地されたオープンコレクタ出力タイプとして回路構成されており、その各種入力端子に各種信号を外部の基板等へ出力するための各種信号が入力された情報を強制的にリセットするためのリセット端子が設けられるリセット機能を有するリセット機能付き主制御出力回路4100caと、リセット端子が設けられていないリセット機能を有しないリセット機能なし主制御出力回路4100cbと、から構成されている。リセット機能付き主制御出力回路4100caは、後述する主制御システムリセットからのシステムリセット信号が入力される回路として構成されている。つまり、リセット機能付き主制御出力回路4100caは、その各種入力端子に入力されている各種信号を外部の基板等へ出力するための情報が後述する主制御システムリセットによりリセットされることによって、その情報に基づく信号がその各種出力端子から全く出力されない回路として構成されている。これに対して、リセット機能なし主制御出力回路4100cbは、後述する主制御システムリセットからのシステムリセット信号が入力されない回路として構成されている。つまり、リセット機能なし主制御出力回路4100cbは、その各種入力端子に入力されている各種信号を外部の基板等へ出力するための情報が後述する主制御システムリセットによりリセットされないことによって、その情報に基づく信号がその各種出力端子から出力される回路として構成されている。   The main control output circuit 4100c is configured as an open collector output type in which an emitter terminal is grounded with a ground (GND), and various signals for outputting various signals to an external substrate or the like are input to the various input terminals. Main control output circuit 4100ca with a reset function having a reset function in which a reset terminal for forcibly resetting the received information is provided, and a main control output circuit 4100cb without reset function without a reset function in which no reset terminal is provided. And is composed of. The main control output circuit 4100ca with a reset function is configured as a circuit to which a system reset signal from a main control system reset described later is input. That is, the main control output circuit 4100ca with a reset function is reset when information for outputting various signals input to the various input terminals to an external board or the like is reset by a main control system reset described later. Is configured as a circuit that does not output any signal from the various output terminals. On the other hand, the main control output circuit 4100cb without a reset function is configured as a circuit to which a system reset signal from a main control system reset described later is not input. That is, the main control output circuit 4100cb having no reset function does not reset the information for outputting various signals input to the various input terminals to an external board or the like by a main control system reset described later. The signal based on this is comprised as a circuit from which the various output terminals are output.

第一始動口2101に入球した遊技球を検出する第一始動口スイッチ3022、第二始動口2102に入球した遊技球を検出する第二始動口スイッチ2109、及び一般入賞口2104に入球した遊技球を検出する一般入賞口スイッチ3020からの検出信号や停電監視回路4100eからの信号は、主制御入力回路4100bを介して主制御MPU4100aの所定の入力ポートの入力端子に入力されている。また、振分検知センサ2580、ゲート部2350を通過した遊技球を検出するゲートスイッチ2301、一般入賞口2201に入球した遊技球を検出する一般入賞口スイッチ3020、大入賞口2103に遊技球が受け入れられたことを検知すると検出信号を出力するカウントスイッチ2110、及び磁石を用いた不正行為を検出する磁気検出スイッチ3024からの検出信号は、遊技盤4に取り付けられたパネル中継端子板4161、そして主制御入力回路4100bを介して主制御MPU4100aの所定の入力ポートの入力端子に入力されている。   A first start port switch 3022 that detects a game ball that has entered the first start port 2101, a second start port switch 2109 that detects a game ball that has entered the second start port 2102, and a ball that enters the general winning port 2104 A detection signal from the general prize opening switch 3020 for detecting the played game ball and a signal from the power failure monitoring circuit 4100e are input to an input terminal of a predetermined input port of the main control MPU 4100a via the main control input circuit 4100b. Also, a game ball is placed in the distribution detection sensor 2580, a gate switch 2301 that detects a game ball that has passed through the gate portion 2350, a general winning port switch 3020 that detects a game ball that has entered the general winning port 2201, and a big winning port 2103. The detection signal from the count switch 2110 that outputs a detection signal upon detecting acceptance, and the magnetic detection switch 3024 that detects fraud using a magnet, includes a panel relay terminal plate 4161 attached to the game board 4, and The signal is inputted to the input terminal of a predetermined input port of the main control MPU 4100a via the main control input circuit 4100b.

主制御MPU4100aは、これらの各スイッチからの検出信号に基づいて、その所定の出力ポートの出力端子からリセット機能付き主制御出力回路4100caに駆動信号を出力することにより、リセット機能付き主制御出力回路4100caから主制御ソレノイド駆動回路4100dに制御信号を出力し、主制御ソレノイド駆動回路4100dからパネル中継端子板4161を介して始動口ソレノイド2105、アタッカソレノイド2108A、アタッカソレノイド2108B及び振分駆動モータ2558(図示せず)にそれぞれ駆動信号を出力したり、その所定の出力ポートの出力端子からリセット機能付き主制御出力回路4100caに駆動信号を出力することにより、リセット機能付き主制御出力回路4100caからパネル中継端子板4161、そして機能表示基板1191を介して第一特別図柄表示器1185、第二特別図柄表示器1186、第一特別図柄記憶表示器1184、第二特別図柄記憶表示器1187、普通図柄表示器1189、普通図柄記憶表示器1188、遊技状態表示器1183、及びラウンド表示器1190に駆動信号を出力したりする。   The main control MPU 4100a outputs a drive signal from the output terminal of the predetermined output port to the main control output circuit 4100ca with reset function based on the detection signals from these switches, so that the main control output circuit with reset function is output. 4100ca outputs a control signal to the main control solenoid drive circuit 4100d, and the start port solenoid 2105, the attack solenoid 2108A, the attack solenoid 2108B, and the distribution drive motor 2558 (see FIG. (Not shown), each of which outputs a drive signal, or outputs a drive signal from the output terminal of the predetermined output port to the main control output circuit 4100ca with reset function, thereby relaying the panel from the main control output circuit 4100ca with reset function. The first special symbol indicator 1185, the second special symbol indicator 1186, the first special symbol memory indicator 1184, the second special symbol memory indicator 1187, and the normal symbol indicator via the daughter board 4161 and the function display board 1191. 1189, the normal symbol memory display 1188, the game status display 1183, and the round display 1190 are output drive signals.

また、主制御MPU4100aは、その所定の出力ポートの出力端子からリセット機能付き主制御出力回路4100caに遊技に関する各種情報(遊技情報)を出力することにより、リセット機能付き主制御出力回路4100caから払出制御基板4110に各種情報(遊技情報)を出力したり、その所定の出力ポートの出力端子からリセット機能付き主制御出力回路4100caに信号(停電クリア信号)を出力することにより、リセット機能付き主制御出力回路4100caから停電監視回路4100eに信号(停電クリア信号)を出力したりする。   Further, the main control MPU 4100a outputs various information (game information) relating to the game from the output terminal of the predetermined output port to the main control output circuit 4100ca with reset function, so that payout control is performed from the main control output circuit 4100ca with reset function. Main control output with reset function by outputting various information (game information) to the substrate 4110 or by outputting a signal (power failure clear signal) from the output terminal of the predetermined output port to the main control output circuit 4100ca with reset function A signal (power failure clear signal) is output from the circuit 4100ca to the power failure monitoring circuit 4100e.

なお、本実施形態おいて、第一始動口スイッチ3022、第二始動口スイッチ2109、ゲートスイッチ2301、及びカウントスイッチ2110には、非接触タイプの電磁式の近接スイッチを用いているのに対して、一般入賞口スイッチ3020,3020には、接触タイプのON/OFF動作式のメカニカルスイッチを用いている。これは、遊技球が第一始動口2101や第二始動口2102に頻繁に入球するし、ゲート部2350を頻繁に通過するため、第一始動口スイッチ3022、第二始動口スイッチ2109、及びゲートスイッチ2301による遊技球の検出も頻繁に発生する。このため、第一始動口スイッチ3022、第二始動口スイッチ2109、及びゲートスイッチ2301には、寿命の長い近接スイッチを用いている。また、遊技者にとって有利となる大当り遊技状態が発生すると、大入賞口2103が開放されて遊技球が頻繁に入球するため、カウントスイッチ2110による遊技球の検出も頻繁に発生する。このため、カウントスイッチ2110にも、寿命の長い近接スイッチを用いている。これに対して、遊技球が頻繁に入球しない一般入賞口2104,2201には、一般入賞口スイッチ3020,3020による検出も頻繁に発生しない。このため、一般入賞口スイッチ3020,3020には、近接スイッチより寿命が短いメカニカルスイッチを用いている。   In this embodiment, a non-contact type electromagnetic proximity switch is used as the first start port switch 3022, the second start port switch 2109, the gate switch 2301, and the count switch 2110. The general winning opening switches 3020 and 3020 are contact type ON / OFF operation type mechanical switches. This is because game balls frequently enter the first start port 2101 and the second start port 2102 and frequently pass through the gate portion 2350, so that the first start port switch 3022, the second start port switch 2109, and Detection of game balls by the gate switch 2301 also frequently occurs. Therefore, long-life proximity switches are used for the first start port switch 3022, the second start port switch 2109, and the gate switch 2301. In addition, when a big hit gaming state that is advantageous to the player occurs, the game winning balls 2103 are opened and game balls are frequently entered, so that the game balls are frequently detected by the count switch 2110. For this reason, a proximity switch having a long life is also used as the count switch 2110. On the other hand, detection by the general winning opening switches 3020 and 3020 does not occur frequently at the general winning opening 2104 and 2201 where game balls do not enter frequently. For this reason, mechanical switches having a shorter lifetime than the proximity switches are used as the general winning award opening switches 3020 and 3020.

また、主制御MPU4100aは、その所定のシリアル出力ポートの出力端子からリセット機能なし主制御出力回路4100cbに払い出しに関する各種コマンドをシリアルデータとして送信することにより、リセット機能なし主制御出力回路4100cbから払出制御基板4110に各種コマンドをシリアルデータとして送信する。払出制御基板4110は、主制御基板4100からの各種コマンドをシリアルデータとして正常受信完了すると、その旨を伝える信号(払主ACK信号)を主制御基板4100に出力する。この信号(払主ACK信号)が主制御入力回路4100bを介して主制御MPU4100aの所定の入力ポートの入力端子に入力されるようになっている。   Further, the main control MPU 4100a transmits various commands related to payout as serial data from the output terminal of the predetermined serial output port to the main control output circuit 4100cb without reset function, thereby performing payout control from the main control output circuit 4100cb without reset function. Various commands are transmitted to the substrate 4110 as serial data. When the payout control board 4110 completes normal reception of various commands from the main control board 4100 as serial data, the payout control board 4110 outputs a signal (payer ACK signal) to that effect to the main control board 4100. This signal (payer ACK signal) is input to an input terminal of a predetermined input port of the main control MPU 4100a through the main control input circuit 4100b.

また、主制御MPU4100aは、払出制御基板4110からのパチンコ遊技機1の状態に関する各種コマンドをシリアルデータとして主制御入力回路4100bで受信することにより、主制御入力回路4100bからその所定のシリアル入力ポートの入力端子で各種コマンドをシリアルデータとして受信する。主制御MPU4100aは、払出制御基板4110からの各種コマンドをシリアルデータとして正常受信完了すると、その旨を伝える信号(主払ACK信号)を、その所定の出力ポートの出力端子からリセット機能付き主制御出力回路4100caに出力し、リセット機能付き主制御出力回路4100caから払出制御基板4110に信号(主払ACK信号)を出力する。   Also, the main control MPU 4100a receives various commands related to the state of the pachinko gaming machine 1 from the payout control board 4110 as serial data by the main control input circuit 4100b, so that the main control input circuit 4100b receives the predetermined serial input port. Receives various commands as serial data at the input terminal. When the main control MPU 4100a completes normal reception of various commands from the payout control board 4110 as serial data, a main control output with a reset function is sent from the output terminal of the predetermined output port to that effect (main payout ACK signal). The signal is output to the circuit 4100ca, and a signal (main payment ACK signal) is output from the main control output circuit 4100ca with reset function to the payout control board 4110.

また、主制御MPU4100aは、その所定のシリアル出力ポートの出力端子からリセット機能なし主制御出力回路4100cbに遊技演出の制御に関する各種コマンド及びパチンコ遊技機1の状態に関する各種コマンドをシリアルデータとして送信することにより、リセット機能なし主制御出力回路4100cbから周辺制御基板4140に各種コマンドをシリアルデータとして送信する。   Further, the main control MPU 4100a transmits, as serial data, various commands relating to control of game effects and various commands relating to the state of the pachinko gaming machine 1 to the main control output circuit 4100cb having no reset function from the output terminal of the predetermined serial output port. Thus, various commands are transmitted as serial data from the main control output circuit 4100cb having no reset function to the peripheral control board 4140.

ここで、周辺制御基板4140へ各種コマンドをシリアルデータとして送信する主周シリアル送信ポートについて簡単に説明する。主制御MPU4100aは、主制御CPUコア4100aaを中心として構成されており、上述した主制御内蔵RAMの他にも、主制御各種シリアルI/Oポートの1つである主周シリアル送信ポート4100ae等がバス4100ahを介して回路接続されている(図7を参照)。主周シリアル送信ポート4100aeは、周辺制御基板4140へ各種コマンドを主周シリアルデータとして送信するものであり、送信シフトレジスタ4100aea、送信バッファレジスタ4100aeb、シリアル管理部4100aec等を主として構成されている(図7を参照)。主制御CPUコア4100aaは、コマンドを送信バッファレジスタ4100aebにセットして送信開始信号をシリアル管理部4100aecに出力すると、このシリアル管理部4100aecが送信バッファレジスタ4100aebにセットされたコマンドを送信バッファレジスタ4100aebから送信シフトレジスタ4100aeaに転送して主周シリアルデータとして周辺制御基板4140に送信開始する。本実施形態では、送信バッファレジスタ4100aebの記憶容量として32バイトを有している。主制御CPUコア4100aaは、送信バッファレジスタ4100aebに複数のコマンドをセットした後にシリアル管理部4100aecに送信開始信号を出力することによって複数のコマンドを連続的に周辺制御基板4140に送信している。   Here, a main peripheral serial transmission port for transmitting various commands as serial data to the peripheral control board 4140 will be briefly described. The main control MPU 4100a is configured with a main control CPU core 4100aa as the center. In addition to the main control built-in RAM described above, a main peripheral serial transmission port 4100ae, which is one of various main control serial I / O ports, and the like. Circuit connection is made via a bus 4100ah (see FIG. 7). The main peripheral serial transmission port 4100ae transmits various commands as main peripheral serial data to the peripheral control board 4140, and mainly includes a transmission shift register 4100aea, a transmission buffer register 4100aeb, a serial management unit 4100aec, and the like (FIG. 7). When the main control CPU core 4100aa sets a command in the transmission buffer register 4100aeb and outputs a transmission start signal to the serial management unit 4100aec, the serial management unit 4100aec sends the command set in the transmission buffer register 4100aeb from the transmission buffer register 4100aeb. The data is transferred to the transmission shift register 4100aea, and transmission to the peripheral control board 4140 is started as main peripheral serial data. In the present embodiment, the transmission buffer register 4100aeb has a storage capacity of 32 bytes. The main control CPU core 4100aa continuously transmits a plurality of commands to the peripheral control board 4140 by setting a plurality of commands in the transmission buffer register 4100aeb and then outputting a transmission start signal to the serial management unit 4100aec.

なお、主制御基板4100に各種電圧を供給する電源基板851は、電源遮断時にでも所定時間、主制御基板4100に電力を供給するためのバックアップ電源としての電気二重層キャパシタ(以下、単に「キャパシタ」と記載する。)BC0を備えている。このキャパシタBC0により主制御MPU4100aは、電源遮断時にでも電源断時処理において各種情報を主制御内蔵RAMに記憶する。この主制御内蔵RAMに記憶される各種情報は、電源投入時から予め定めた期間内に後述する払出制御基板4110の操作スイッチ952が操作されると、この操作スイッチ952からの操作信号(RAMクリア信号)が払出制御基板4110から出力され、主制御入力回路4100bを介して、主制御MPU4100aの所定の入力ポートの入力端子に入力され、これを契機として、主制御MPU4100aによって主制御内蔵RAMから完全に消去(クリア)されるようになっている。   The power supply board 851 for supplying various voltages to the main control board 4100 is an electric double layer capacitor (hereinafter simply referred to as “capacitor”) as a backup power supply for supplying power to the main control board 4100 for a predetermined time even when the power is shut off. It has BC0. With this capacitor BC0, the main control MPU 4100a stores various types of information in the main control built-in RAM even when the power is turned off. Various kinds of information stored in the main control built-in RAM are stored in an operation signal (RAM clear) from an operation switch 952 when an operation switch 952 of a payout control board 4110 (to be described later) is operated within a predetermined period from when the power is turned on. Signal) is output from the payout control board 4110 and is input to the input terminal of a predetermined input port of the main control MPU 4100a via the main control input circuit 4100b. Is erased (cleared).

[2−2.周辺制御基板]
周辺制御基板4140は、図7に示すように、主制御基板4100からの各種コマンドに基づいて演出制御を行う一方、タッチパネル246の接触状態の検知制御を行う周辺制御部4150と、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244の描画制御を行うとともに、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音楽や効果音等の音制御を行う液晶及び音制御部4160と、年月日を特定するカレンダー情報と時分秒を特定する時刻情報とを保持するリアルタイムクロック(以下、「RTC」と記載する。)制御部4165と、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音楽や効果音等の音量をつまみ部の回動操作により調節する音量調整ボリューム4140a(第1の音量操作手段)と、を備えている。なお、周辺制御部4150と液晶及び音制御部4160とは図示のように別体であってもよいし、一体であってもよい。この場合、周辺制御基板4140の周辺制御MPU4150aが行っていた処理は、液晶及び音制御部4160の音源内蔵VDP4160aが代行したり、その逆とすることもできる。
[2-2. Peripheral control board]
As shown in FIG. 7, the peripheral control board 4140 performs effect control based on various commands from the main control board 4100, while the peripheral control unit 4150 performs detection control of the touch state of the touch panel 246, and the game board side liquid crystal The drawing control of the display device 1900 and the upper liquid crystal display device 244 is performed, and sound control such as music and sound effects flowing from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5 is performed. A liquid crystal and sound control unit 4160 for performing the operation, a real-time clock (hereinafter referred to as “RTC”) control unit 4165 holding calendar information for specifying the date and time, and time information for specifying the hour, minute, second, and main body Volumes of music, sound effects, etc. flowing from the speakers housed in the speaker box 920 provided in the frame 3 and the speakers provided in the door frame 5 It includes a volume control volume 4140a adjusted by knob rotation operation (first sound volume operation means), a. The peripheral control unit 4150 and the liquid crystal / sound control unit 4160 may be separate from each other as illustrated or may be integrated. In this case, the processing performed by the peripheral control MPU 4150a of the peripheral control board 4140 can be performed by the liquid crystal and sound control unit 4160 with the built-in sound source VDP 4160a or vice versa.

[2−2−1.周辺制御部]
演出制御を行う周辺制御部4150は、図7に示すように、マイクロプロセッサとしての周辺制御MPU4150aと、電源投入時に実行される電源投入時処理を制御するとともに電源投入時から所定時間が経過した後に実行されるとともに演出動作を制御するサブ制御プログラムなどの各種制御プログラム、各種データ、各種制御データ及び各種スケジュールデータを記憶する周辺制御ROM4150bと、後述する液晶及び音制御部4160の音源内蔵VDP4160aからのVブランク信号が入力されるごとに実行される周辺制御部定常処理をまたいで継承される各種情報(例えば、遊技盤側液晶表示装置1900に描画する画面を規定するスケジュールデータや各種LED等の発光態様を規定するスケジュールデータなどを管理するための情報など)を記憶する周辺制御RAM4150cと、日をまたいで継続される各種情報(例えば、大当り遊技状態が発生した履歴を管理するための情報や特別な演出フラグの管理するための情報など)を記憶する周辺制御SRAM4150dと、周辺制御MPU4150aが正常に動作しているか否かを監視するための周辺制御外部ウォッチドックタイマ4150e(以下、「周辺制御外部WDT4150e」と記載する。)と、を備えている。
[2-2-1. Peripheral control unit]
As shown in FIG. 7, the peripheral control unit 4150 that performs the effect control controls the peripheral control MPU 4150a as a microprocessor and the power-on process executed when the power is turned on, and after a predetermined time has elapsed since the power was turned on. Various control programs such as a sub-control program that is executed and controls the production operation, a peripheral control ROM 4150b that stores various data, various control data, and various schedule data, and a VDP 4160a with a built-in sound source of the liquid crystal and sound control unit 4160 described later. Various information inherited across the peripheral control unit steady process executed each time the V blank signal is input (for example, schedule data defining a screen to be drawn on the game board side liquid crystal display device 1900, light emission of various LEDs, etc. Manage schedule data that defines aspects Peripheral control RAM 4150c for storing information for storing information, etc., and various types of information continued across days (for example, information for managing the history of occurrence of big hit gaming states, information for managing special performance flags, etc.) ) And peripheral control external watchdog timer 4150e (hereinafter referred to as “peripheral control external WDT 4150e”) for monitoring whether or not the peripheral control MPU 4150a is operating normally. I have.

周辺制御RAM4150cは、瞬停が発生して電力がすぐ復帰する程度の時間しか記憶された内容を保持することができず、電力が長時間遮断された状態(長時間の電断が発生した場合)ではその内容を失うのに対して、周辺制御SRAM4150dは、電源基板851に設けられた図示しない大容量の電解コンデンサ(以下、「SRAM用電解コンデンサ」と記載する。)によりバックアップ電源が供給されることにより、記憶された内容を50時間程度、保持する。電源基板851にSRAM用電解コンデンサが設けられることにより、遊技盤4をパチンコ遊技機1から取り外した場合には、周辺制御SRAM4150dにバックアップ電源が供給されなくなるため、周辺制御SRAM4150dは、記憶された内容を保持することができなくなってその内容を失う。   Peripheral control RAM 4150c can retain the stored content only for the time when power is restored immediately after an instantaneous power failure, and power is cut off for a long time (when a long-time power interruption occurs) ), The peripheral control SRAM 4150d is supplied with backup power by a large-capacity electrolytic capacitor (not shown) provided on the power supply board 851 (hereinafter referred to as “electrolytic capacitor for SRAM”). The stored contents are retained for about 50 hours. By providing the electrolytic capacitor for SRAM on the power supply board 851, when the game board 4 is detached from the pachinko gaming machine 1, backup power is not supplied to the peripheral control SRAM 4150d. Therefore, the peripheral control SRAM 4150d stores the stored contents. Loses its contents because it can no longer hold.

周辺制御外部WDT4150eは、周辺制御MPU4150aのシステムが暴走していないかを監視するためのタイマであり、このタイマがタイマップすると、ハードウェア的にリセットをかけるようになっている。つまり、周辺制御MPU4150aは、一定期間内(タイマがタイマップするまで)に周辺制御外部WDT4150eのタイマをクリアするクリア信号を周辺制御外部WDT4150eに出力しないときには、リセットがかかることとなる。周辺制御MPU4150aは、一定期間内にクリア信号を周辺制御外部WDT4150eに出力するときには、周辺制御外部WDT4150eのタイマカウントを再スタートさせることができるため、リセットがかからない。   The peripheral control external WDT 4150e is a timer for monitoring whether or not the system of the peripheral control MPU 4150a is running out of control. When this timer is tie-mapped, the peripheral control external WDT 4150e is reset by hardware. That is, the peripheral control MPU 4150a is reset when a clear signal for clearing the timer of the peripheral control external WDT 4150e is not output to the peripheral control external WDT 4150e within a certain period (until the timer tie-maps). When the peripheral control MPU 4150a outputs a clear signal to the peripheral control external WDT 4150e within a certain period, the peripheral control external WDT 4150e can restart the timer count of the peripheral control external WDT 4150e, and therefore no reset is applied.

周辺制御MPU4150aは、パラレルI/Oポート、シリアルI/Oポート等を複数内蔵しており、主制御基板4100からの各種コマンドを受信すると、この各種コマンドに基づいて、遊技盤4の各装飾基板に設けた複数のLED等への点灯信号、点滅信号又は階調点灯信号を出力するための遊技盤側発光データをランプ駆動基板用シリアルI/Oポートから図示しない周辺制御出力回路を介してランプ駆動基板4170に送信したり、遊技盤4に設けた各種可動体を作動させるモータやソレノイド等の電気的駆動源への駆動信号を出力するための遊技盤側モータ駆動データをモータ駆動基板用シリアルI/Oポートから周辺制御出力回路を介してモータ駆動基板4180に送信したり、扉枠5に設けたダイヤル駆動モータ414等の電気的駆動源への駆動信号を出力するための扉側モータ駆動データを枠装飾駆動アンプ基板モータ用シリアルI/Oポートから周辺制御出力回路、枠周辺中継端子板868、そして周辺扉中継端子板882を介して枠装飾駆動アンプ基板194に送信したり、扉枠5の各装飾基板に設けた複数のLED等への点灯信号、点滅信号又は階調点灯信号を出力するための扉側発光データを枠装飾駆動アンプ基板LED用シリアルI/Oポートから周辺制御出力回路、枠周辺中継端子板868、そして周辺扉中継端子板882を介して枠装飾駆動アンプ基板194に送信したりする。   The peripheral control MPU 4150a incorporates a plurality of parallel I / O ports, serial I / O ports, and the like, and upon receiving various commands from the main control board 4100, each decorative board of the game board 4 is received based on these various commands. The game board side light emission data for outputting lighting signals, blinking signals or gradation lighting signals to a plurality of LEDs etc. provided in the lamp is outputted from the serial I / O port for lamp driving board via a peripheral control output circuit (not shown). The game board side motor drive data for transmitting a drive signal to an electric drive source such as a motor or a solenoid for transmitting various kinds of movable bodies provided in the game board 4 to the drive board 4170 is serialized for the motor drive board. Transmission from the I / O port to the motor drive board 4180 via the peripheral control output circuit, or the power of the dial drive motor 414 provided on the door frame 5 or the like. Door side motor drive data for outputting a drive signal to the general drive source from the frame decoration drive amplifier board motor serial I / O port to the peripheral control output circuit, frame peripheral relay terminal plate 868, and peripheral door relay terminal plate 882 The door-side light emission data for transmitting a lighting signal, a blinking signal, or a gradation lighting signal to a plurality of LEDs provided on each decoration board of the door frame 5 is transmitted to the frame decoration drive amplifier board 194 via The frame decoration drive amplifier board LED serial I / O port transmits the frame decoration drive amplifier board 194 via the peripheral control output circuit, the frame peripheral relay terminal board 868, and the peripheral door relay terminal board 882.

主制御基板4100からの各種コマンドは、図示しない周辺制御入力回路を介して、周辺制御MPU4150aの主制御基板用シリアルI/Oポートに入力されている。また、操作ユニット400に設けられた、ダイヤル操作部401の回転(回転方向)を検出するための回転検出スイッチからの検出信号、及び押圧操作部405の操作を検出するための押圧検出スイッチからの検出信号は、枠装飾駆動アンプ基板194に設けた図示しない扉側シリアル送信回路でシリアル化され、このシリアル化された操作ユニット検出データが扉側シリアル送信回路から、周辺扉中継端子板882、枠周辺中継端子板868、そして周辺制御入力回路を介して、周辺制御MPU4150aの操作ユニット検出用シリアルI/Oポートに入力されている。   Various commands from the main control board 4100 are input to the serial I / O port for main control board of the peripheral control MPU 4150a via a peripheral control input circuit (not shown). In addition, a detection signal from a rotation detection switch for detecting the rotation (rotation direction) of the dial operation unit 401 and a pressure detection switch for detecting the operation of the pressing operation unit 405 provided in the operation unit 400. The detection signal is serialized by a door-side serial transmission circuit (not shown) provided on the frame decoration drive amplifier board 194, and the serialized operation unit detection data is transmitted from the door-side serial transmission circuit to the peripheral door relay terminal plate 882, the frame. The signal is input to the operation unit detection serial I / O port of the peripheral control MPU 4150a via the peripheral relay terminal plate 868 and the peripheral control input circuit.

遊技盤4に設けた各種可動体の原位置や可動位置等を検出するための各種検出スイッチ(例えば、フォトセンサなど。)からの検出信号は、モータ駆動基板4180に設けた図示しない遊技盤側シリアル送信回路でシリアル化され、このシリアル化された可動体検出データが遊技盤側シリアル送信回路から周辺制御入力回路を介して、周辺制御MPU4150aのモータ駆動基板用シリアルI/Oポートに入力されている。周辺制御MPU4150aは、モータ駆動基板用シリアルI/Oポートの入出力を切り替えることにより周辺制御基板4140とモータ駆動基板4180との基板間における各種データのやり取りを行うようになっている。   Detection signals from various detection switches (for example, photosensors) for detecting the original positions and movable positions of various movable bodies provided on the game board 4 are on the game board side (not shown) provided on the motor drive board 4180. Serialized by the serial transmission circuit, and this serialized movable body detection data is input to the serial I / O port for the motor drive board of the peripheral control MPU 4150a from the serial transmission circuit on the game board via the peripheral control input circuit. Yes. The peripheral control MPU 4150a exchanges various data between the peripheral control board 4140 and the motor drive board 4180 by switching the input / output of the serial I / O port for the motor drive board.

なお、周辺制御MPU4150aは、ウォッチドックタイマを内蔵(以下、「周辺制御内蔵WDT」と記載する。)しており、周辺制御内蔵WDTと周辺制御外部WDT4150eとを併用して自身のシステムが暴走しているか否かを診断している。   Peripheral control MPU 4150a has a built-in watchdog timer (hereinafter referred to as “peripheral control built-in WDT”). It is diagnosed whether or not.

<周辺制御MPU>
次に、マイクロコンピュータである周辺制御MPU4150aについて説明する。周辺制御MPU4150aは、図8に示すように、周辺制御CPUコア4150aaを中心として、周辺制御内蔵RAM4150ab、周辺制御DMA(Direct Memory Accessの略)コントローラ4150ac、周辺制御バスコントローラ4150ad、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御アナログ/デジタルコンバータ(以下、周辺制御A/Dコンバータと記載する)4150ak等から構成されている。
<Peripheral control MPU>
Next, the peripheral control MPU 4150a which is a microcomputer will be described. As shown in FIG. 8, the peripheral control MPU 4150a has a peripheral control built-in RAM 4150ab, a peripheral control DMA (Direct Memory Access) controller 4150ac, a peripheral control bus controller 4150ad, a peripheral control various serial I, and the peripheral control CPU core 4150aa. / O port 4150ae, peripheral control built-in WDT 4150af, peripheral control various parallel I / O ports 4150ag, peripheral control analog / digital converter (hereinafter referred to as peripheral control A / D converter) 4150ak, and the like.

周辺制御CPUコア4150aaは、周辺制御内蔵RAM4150ab、周辺制御DMAコントローラ4150acに対して、内部バス4150ahを介して、各種データを読み書きする一方、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御A/Dコンバータ4150akに対して、内部バス4150ah、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、各種データを読み書きする。   Peripheral control CPU core 4150aa reads / writes various data to / from peripheral control built-in RAM 4150ab and peripheral control DMA controller 4150ac via internal bus 4150ah, while peripheral control various serial I / O ports 4150ae, peripheral control built-in WDT 4150af, Various data are read from and written to the various peripheral control parallel I / O ports 4150ag and the peripheral control A / D converter 4150ak via the internal bus 4150ah, the peripheral control bus controller 4150ad, and the peripheral bus 4150ai.

また、周辺制御CPUコア4150aaは、周辺制御ROM4150bに対して、内部バス4150ah、周辺制御バスコントローラ4150ad、そして外部バス4150hを介して、各種データを読み込む一方、周辺制御RAM4150c、及び周辺制御SRAM4150dに対して、内部バス4150ah、周辺制御バスコントローラ4150ad、そして外部バス4150hを介して、各種データを読み書きする。   The peripheral control CPU core 4150aa reads various data from the peripheral control ROM 4150b via the internal bus 4150ah, the peripheral control bus controller 4150ad, and the external bus 4150h, while reading from the peripheral control RAM 4150c and the peripheral control SRAM 4150d. Various data are read and written via the internal bus 4150ah, the peripheral control bus controller 4150ad, and the external bus 4150h.

周辺制御DMAコントローラ4150acは、周辺制御内蔵RAM4150ab、周辺制御ROM4150b、周辺制御RAM4150c、及び周辺制御SRAM4150d等の記憶装置と、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御A/Dコンバータ4150ak等の入出力装置と、の装置間において、周辺制御CPUコア4150aaを介すことなく、独立してデータ転送を行う専用のコントローラであり、DMA0〜DMA3という4つのチャンネルを有している。   The peripheral control DMA controller 4150ac includes storage devices such as a peripheral control built-in RAM 4150ab, a peripheral control ROM 4150b, a peripheral control RAM 4150c, and a peripheral control SRAM 4150d, peripheral control various serial I / O ports 4150ae, peripheral control built-in WDT 4150af, peripheral control various parallel I / O port 4150ag and a dedicated controller that transfers data independently between the input / output devices such as the peripheral control A / D converter 4150ak without using the peripheral control CPU core 4150aa. ~ It has four channels called DMA3.

具体的には、周辺制御DMAコントローラ4150acは、周辺制御MPU4150aに内蔵される周辺制御内蔵RAM4150abの記憶装置と、周辺制御MPU4150aに内蔵される、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御A/Dコンバータ4150ak等の入出力装置と、の装置間において、周辺制御CPUコア4150aaを介すことなく、独立してデータ転送を行うために、周辺制御内蔵RAM4150abの記憶装置に対して、内部バス4150ahを介して、読み書きする一方、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御A/Dコンバータ4150ak等の入出力装置に対して、周辺制御バスコントローラ4150ad及び周辺バス4150aiを介して、読み書きする。   Specifically, the peripheral control DMA controller 4150ac includes a storage device of a peripheral control built-in RAM 4150ab incorporated in the peripheral control MPU 4150a, various peripheral control serial I / O ports 4150ae and peripheral control built-in WDT 4150af incorporated in the peripheral control MPU 4150a. In order to transfer data independently between the peripheral control various parallel I / O ports 4150ag and the input / output devices such as the peripheral control A / D converter 4150ak without the peripheral control CPU core 4150aa. The peripheral control built-in RAM 4150ab reads / writes data from / to the storage device via the internal bus 4150ah, while the peripheral control serial I / O port 4150ae, the peripheral control built-in WDT 4150af, and the peripheral control various parallel I / O port 4150. g, and the peripheral control A / D converter input and output devices such as 4150Ak, via the peripheral control bus controller 4150ad and peripheral bus 4150Ai, reading and writing.

また、周辺制御DMAコントローラ4150acは、周辺制御MPU4150aに外付けされる、周辺制御ROM4150b、周辺制御RAM4150c、及び周辺制御SRAM4150d等の記憶装置と、周辺制御MPU4150aに内蔵される、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御A/Dコンバータ4150ak等の入出力装置と、の装置間において、周辺制御CPUコア4150aaを介すことなく、独立してデータ転送を行うために、周辺制御ROM4150b、周辺制御RAM4150c、及び周辺制御SRAM4150d等の記憶装置に対して、周辺制御バスコントローラ4150ad及び外部バス4150hを介して、読み書きする一方、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御A/Dコンバータ4150ak等の入出力装置に対して、周辺制御バスコントローラ4150ad及び周辺バス4150aiを介して、読み書きする。   The peripheral control DMA controller 4150ac is a storage device such as a peripheral control ROM 4150b, a peripheral control RAM 4150c, and a peripheral control SRAM 4150d, which are externally attached to the peripheral control MPU 4150a. Without the peripheral control CPU core 4150aa between the input / output devices such as the O port 4150ae, the peripheral control built-in WDT 4150af, the peripheral control various parallel I / O ports 4150ag, and the peripheral control A / D converter 4150ak. In order to transfer data independently, peripheral control bus controller 4150ad and external bus 4150h are connected to storage devices such as peripheral control ROM 4150b, peripheral control RAM 4150c, and peripheral control SRAM 4150d. The peripheral control I / O port 4150ae, peripheral control built-in WDT 4150af, peripheral control various parallel I / O port 4150ag, peripheral control A / D converter 4150ak, etc. Reading and writing are performed via the control bus controller 4150ad and the peripheral bus 4150ai.

周辺制御バスコントローラ4150adは、内部バス4150ah、周辺バス4150ai、及び外部バス4150hをコントロールして周辺制御CPUコア4150aaの中央処理装置と、周辺制御内蔵RAM4150ab、周辺制御ROM4150b、周辺制御RAM4150c、及び周辺制御SRAM4150d等の記憶装置と、周辺制御各種シリアルI/Oポート4150ae、周辺制御内蔵WDT4150af、周辺制御各種パラレルI/Oポート4150ag、及び周辺制御A/Dコンバータ4150ak等の入出力装置と、の各種装置間において、各種データのやり取りを行う専用のコントローラである。   The peripheral control bus controller 4150ad controls the internal bus 4150ah, peripheral bus 4150ai, and external bus 4150h to control the central processing unit of the peripheral control CPU core 4150aa, peripheral control built-in RAM 4150ab, peripheral control ROM 4150b, peripheral control RAM 4150c, and peripheral control Various devices such as storage devices such as SRAM 4150d, peripheral control various serial I / O ports 4150ae, peripheral control built-in WDT 4150af, peripheral control various parallel I / O ports 4150ag, and peripheral control A / D converter 4150ak It is a dedicated controller that exchanges various data between them.

周辺制御各種シリアルI/Oポート4150aeは、ランプ駆動基板用シリアルI/Oポート、モータ駆動基板用シリアルI/Oポート、枠装飾駆動アンプ基板モータ用シリアルI/Oポート、枠装飾駆動アンプ基板LED用シリアルI/Oポート、枠装飾駆動アンプ基板モータ用シリアルI/Oポート、主制御基板用シリアルI/Oポート、及び操作ユニット情報取得用シリアルI/Oポートを有している。   Peripheral control various serial I / O ports 4150ae are: lamp drive board serial I / O port, motor drive board serial I / O port, frame decoration drive amplifier board motor serial I / O port, frame decoration drive amplifier board LED Serial I / O port, frame decoration drive amplifier board motor serial I / O port, main control board serial I / O port, and operation unit information acquisition serial I / O port.

周辺制御内蔵ウォッチドックタイマ(周辺制御内蔵WDT)4150afは、周辺制御MPU4150aのシステムが暴走していないかを監視するためのタイマであり、このタイマがタイマップすると、ハードウェア的にリセットをかけるようになっている。つまり、周辺制御CPUコア4150aaは、ウォッチドックタイマをスタートさせた場合には、一定期間内(タイマがタイマップするまで)にそのタイマをクリアするクリア信号を周辺制御内蔵WDT4150afに出力しないときには、リセットがかかることとなる。周辺制御CPUコア4150aaは、ウォッチドックタイマをスタートさせて一定期間内にクリア信号を周辺制御内蔵WDT4150afに出力するときには、タイマカウントを再スタートさせることができるため、リセットがかからない。   Peripheral control built-in watchdog timer (peripheral control built-in WDT) 4150af is a timer for monitoring whether the system of the peripheral control MPU 4150a is running out of control. It has become. That is, if the peripheral control CPU core 4150aa starts the watchdog timer, the peripheral control CPU core 4150aa resets if it does not output a clear signal for clearing the timer to the peripheral control built-in WDT 4150af within a certain period (until the timer tie-maps). Will take. When the peripheral CPU core 4150aa starts the watchdog timer and outputs a clear signal to the peripheral control built-in WDT 4150af within a certain period, the peripheral count CPU core 4150aa can restart the timer count and is not reset.

周辺制御各種パラレルI/Oポート4150agは、遊技盤側モータ駆動ラッチ信号、扉側モータ駆動発光ラッチ信号等の各種ラッチ信号を出力する他に、周辺制御外部WDT4150eにクリア信号を出力したり、遊技盤4に設けた各種可動体の原位置や可動位置等を検出するための各種検出スイッチからの検出信号をモータ駆動基板4180に設けた図示しない遊技盤側シリアル送信回路でシリアル化して、このシリアル化された可動体検出データを遊技盤側シリアル送信回路から周辺制御MPU4150aのモータ駆動基板用シリアルI/Oポートで受信するための可動体情報取得ラッチ信号を出力したり、扉枠5における上部装飾ユニット280の上部装飾基板に実装されたLEDの点灯信号を出力したりする。このLEDは、高輝度の白色LEDであり、大当り遊技状態の発生が確定している旨を伝えるための確定告知ランプとなっている。本実施形態では、LEDと周辺制御各種パラレルI/Oポート4150agとが電気的に直接接続された構成を採用することにより、LEDと周辺制御各種パラレルI/Oポート4150agとの経路を短くすることで遊技上重量な意味を持つLEDの点灯制御についてノイズ対策を講ずることができる。なお、LEDの点灯制御については、後述する周辺制御部1msタイマ割り込み処理において実行されるようになっており、このLEDを除く他のLED等は、後述する周辺制御部定常処理において実行されるようになっている。   The peripheral control various parallel I / O port 4150ag outputs various latch signals such as a game board side motor drive latch signal and a door side motor drive light emission latch signal, and also outputs a clear signal to the peripheral control external WDT 4150e, The detection signals from various detection switches for detecting the original position and the movable position of various movable bodies provided on the board 4 are serialized by a game board side serial transmission circuit (not shown) provided on the motor drive board 4180, and this serial A movable body information acquisition latch signal for receiving the converted movable body detection data from the serial transmission circuit on the game board side by the serial I / O port for the motor drive board of the peripheral control MPU 4150a, or an upper decoration in the door frame 5 The lighting signal of the LED mounted on the upper decorative board of the unit 280 is output. This LED is a high-intensity white LED and serves as a confirmation notification lamp for informing that the occurrence of the big hit gaming state has been confirmed. In the present embodiment, by adopting a configuration in which the LED and the peripheral control various parallel I / O port 4150ag are electrically connected directly, the path between the LED and the peripheral control various parallel I / O port 4150ag is shortened. Therefore, it is possible to take noise countermeasures for lighting control of the LED having a significant meaning in games. The LED lighting control is executed in a peripheral control unit 1 ms timer interrupt process described later, and other LEDs and the like other than this LED are executed in a peripheral control unit steady process described later. It has become.

周辺制御A/Dコンバータ4150akは、音量調整ボリューム4140aと電気的に接続されており、音量調整ボリューム4140aのつまみ部が回動操作されることにより抵抗値が可変し、つまみ部の回転位置における抵抗値により分圧された電圧を、アナログ値からデジタル値に変換して、値0〜値1023までの1024段階の値に変換している。本実施形態では、1024段階の値を7つに分割して基板ボリューム0〜6として管理している。基板ボリューム0では消音、基板ボリューム6では最大音量に設定されており、基板ボリューム0から基板ボリューム6に向かって音量が大きくなるようにそれぞれ設定されている。基板ボリューム0〜6に設定された音量となるように液晶及び音制御部4160(後述する音源内蔵VDP4160a)を制御して本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから音楽や効果音が流れるようになっている。このように、つまみ部の回動操作に基づく音量調整により本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから音楽や効果音が流れるようになっている。   The peripheral control A / D converter 4150ak is electrically connected to the volume adjustment volume 4140a, and the resistance value is changed by rotating the knob portion of the volume adjustment volume 4140a, and the resistance at the rotation position of the knob portion is changed. The voltage divided by the value is converted from an analog value to a digital value, and converted to a value in 1024 steps from a value 0 to a value 1023. In the present embodiment, the values of 1024 levels are divided into seven and managed as substrate volumes 0-6. The substrate volume 0 is set to mute, the substrate volume 6 is set to the maximum volume, and the volume is set to increase from the substrate volume 0 toward the substrate volume 6. The liquid crystal and sound control unit 4160 (a sound source built-in VDP 4160a to be described later) is controlled so that the volume is set to the substrate volume 0 to 6 and the speaker and door frame 5 housed in the speaker box 920 provided in the main body frame 3 Music and sound effects can be heard from the speakers. In this way, music and sound effects flow from the speakers housed in the speaker box 920 provided in the main body frame 3 and the speakers provided in the door frame 5 by volume adjustment based on the turning operation of the knob portion.

なお、本実施形態では、音楽や効果音の他に、パチンコ遊技機1の不具合の発生やパチンコ遊技機1に対する不正行為をホールの店員等に報知するための報知音や、遊技演出に関する内容等を告知する(例えば、遊技盤側液晶表示装置1900に繰り広げられている画面をより迫力あるものとして演出したり、遊技者にとって有利な遊技状態に移行する可能性が高いこと告知したりする等。)ための告知音も本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れるが、報知音や告知音は、つまみ部の回動操作に基づく音量調整に全く依存されずに流れる仕組みとなっており、消音から最大音量までの音量をプログラムにより液晶及び音制御部4160(後述する音源内蔵VDP4160a)を制御して調整する。このプログラムにより調整される音量は、上述した7段階に分けられた基板ボリュームと異なり、消音から最大音量までを滑らかに変化させることができるようになっている。これにより、例えば、ホールの店員等が音量調整ボリューム4140aのつまみ部を回動操作して音量を小さく設定した場合であっても、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音楽や効果音等の演出音が小さくなるものの、パチンコ遊技機1に不具合が発生しているときや遊技者が不正行為を行っているときには大音量(本実施形態では、最大音量)に設定した報知音を流すことができる。従って、演出音の音量を小さくしても、報知音によりホールの店員等が不具合の発生や遊技者の不正行為を気付き難くなることを防止することができる。また、つまみ部の回動操作に基づく音量調整により設定されている現在の基板ボリュームに基づいて、広告音を流す音量を小さくして音楽や効果音の妨げとならないようにしたりする一方、広告音を流す音量を大きくして音楽や効果音に加えて遊技盤側液晶表示装置1900で繰り広げられている画面をより迫力あるものとして演出したり、遊技者にとって有利な遊技状態に移行する可能性が高いこと告知したりすることもできる。   In addition, in this embodiment, in addition to music and sound effects, notification sounds for notifying a hall clerk or the like of the occurrence of a malfunction of the pachinko gaming machine 1 or fraudulent acts on the pachinko gaming machine 1, contents related to game effects, etc. (For example, the screen spread on the game board side liquid crystal display device 1900 is rendered more powerful, or the game state is likely to shift to a game state advantageous to the player). ) Also flows from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5, but the notification sound and notification sound are used for volume adjustment based on the turning operation of the knob portion. It is a mechanism that flows without depending at all, and the volume from the mute to the maximum volume is controlled by a liquid crystal and sound control unit 4160 (a sound source built-in VDP 4160a described later). To control the adjusted. The volume adjusted by this program can be smoothly changed from the mute to the maximum volume, unlike the substrate volume divided into the above seven stages. Thus, for example, even when a hall clerk or the like rotates the knob portion of the volume adjustment volume 4140a to set the volume to a low level, the speaker and the door accommodated in the speaker box 920 provided in the main body frame 3 Although the production sound such as music and sound effects flowing from the speaker provided in the frame 5 is reduced, the volume is increased when the pachinko gaming machine 1 is malfunctioning or when the player is cheating (this embodiment) Then, the notification sound set to the maximum volume) can be played. Therefore, even if the volume of the production sound is reduced, it is possible to prevent the hall clerk or the like from becoming difficult to notice the occurrence of a malfunction or the player's cheating due to the notification sound. Also, based on the current board volume set by volume adjustment based on the turning operation of the knob part, the volume of the advertisement sound is reduced so as not to interfere with the music and sound effects. In addition to music and sound effects, there is a possibility that the screen unfolded on the game board side liquid crystal display device 1900 will be rendered more powerful, or the game state may be shifted to an advantageous game state. You can also announce that it is expensive.

<周辺制御ROM>
周辺制御ROM4150bは、周辺制御部4150、液晶及び音制御部4160、RTC制御部4165等を制御する各種制御プログラム、各種データ、各種制御データ、各種スケジュールデータ、及び予め定められた個体情報(以下「規定の個体情報」という)を予め記憶している(演出制御記憶部)。各種スケジュールデータには、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に描画する画面を生成する画面生成用スケジュールデータ、各種LEDの発光態様を生成する発光態様生成用スケジュールデータ、音楽や効果音等を生成する音生成用スケジュールデータ、及びモータやソレノイド等の電気的駆動源の駆動態様を生成する電気的駆動源スケジュールデータ等がある。画面生成用スケジュールデータは、画面の構成を規定する画面データが時系列に配列されて構成されており、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に描画する画面の順序が規定されている。発光態様生成用スケジュールデータは、各種LEDの発光態様を規定する発光データが時系列に配列されて構成されている。音生成用スケジュールデータは、音指令データが時系列に配列されて構成されており、音楽や効果音が流れる順番が規定されている。この音指令データには、後述する液晶及び音制御部4160の音源内蔵VDP4160aの内蔵音源における複数の出力チャンネルのうち、どの出力チャンネルを使用するのかを指示するための出力チャンネル番号と、音源内蔵VDP4160aの内蔵音源における複数のトラックのうち、どのトラックに音楽及び効果音等の音データを組み込むのかを指示するためのトラック番号と、が規定されている。電気的駆動源スケジュールデータは、モータやソレノイド等の電気的駆動源の駆動データが時系列に配列されて構成されており、モータやソレノイド等の電気的駆動源の動作が規定されている。
<Peripheral control ROM>
The peripheral control ROM 4150b includes various control programs for controlling the peripheral control unit 4150, the liquid crystal and sound control unit 4160, the RTC control unit 4165, various data, various control data, various schedule data, and predetermined individual information (hereinafter, “ (Referred to as “regulated individual information”) (effect control storage unit). The various schedule data includes screen generation schedule data for generating a screen to be drawn on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244, light emission mode generation schedule data for generating light emission modes of various LEDs, music And sound generation schedule data for generating sound effects and the like, and electric drive source schedule data for generating drive modes of electric drive sources such as motors and solenoids. The screen generation schedule data is configured by arranging screen data for defining the screen configuration in time series, and the order of screens to be drawn on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244 is defined. Has been. The light emission mode generation schedule data is configured by arranging light emission data defining the light emission modes of various LEDs in time series. The sound generation schedule data is configured by arranging sound command data in time series, and defines the order in which music and sound effects flow. The sound command data includes an output channel number for instructing which output channel to use among a plurality of output channels in a built-in sound source of the sound source built-in VDP 4160a of the liquid crystal and sound control unit 4160 described later, and a sound source built-in VDP 4160a. A track number for instructing which track to incorporate sound data such as music and sound effects out of a plurality of tracks in the built-in sound source is defined. The electrical drive source schedule data is configured by arranging drive data of electrical drive sources such as motors and solenoids in time series, and defines the operation of electrical drive sources such as motors and solenoids.

なお、周辺制御ROM4150bに記憶されている各種制御プログラムは、周辺制御ROM4150bから直接読み出されて実行されるものもあれば、後述する周辺制御RAM4150cの各種制御プログラムコピーエリアに電源投入時等においてコピーされたものが読み出されて実行されるものもある。また周辺制御ROM4150bに記憶されている、各種データ、各種制御データ及び各種スケジュールデータも、周辺制御ROM4150bから直接読み出されるものもあれば、後述する周辺制御RAM4150cの各種制御データコピーエリアに電源投入時等においてコピーされたものが読み出されるものもある。   Various control programs stored in the peripheral control ROM 4150b may be read out and executed directly from the peripheral control ROM 4150b, or copied to various control program copy areas of the peripheral control RAM 4150c described later when the power is turned on. Some are read and executed. In addition, various data, various control data, and various schedule data stored in the peripheral control ROM 4150b may be directly read from the peripheral control ROM 4150b, or when various power control data copy areas of the peripheral control RAM 4150c described later are turned on. Some of which are copied in the above are read out.

また、周辺制御ROM4150bには、RTC制御部4165を制御する各種制御プログラムの1つとして、遊技盤側液晶表示装置1900の使用時間に応じて遊技盤側液晶表示装置1900の輝度を補正するための輝度補正プログラムが含まれている。この輝度補正プログラムは、遊技盤側液晶表示装置1900のバックライトがLEDタイプのものが装着されている場合には、遊技盤側液晶表示装置1900の経年変化にともなう輝度低下を補正するものであり、後述するRTC制御部4165の内蔵RAMから遊技盤側液晶表示装置1900を最初に電源投入した日時、現在の日時、輝度設定情報等を取得して、この取得した輝度設定情報を補正情報に基づいて補正する。この補正情報は、周辺制御ROM4150bに予め記憶されている。輝度設定情報は、後述するように、遊技盤側液晶表示装置1900のバックライトであるLEDの輝度が100%〜70%までに亘る範囲を5%刻みで調節するための輝度調節情報と、現在設定されている遊技盤側液晶表示装置1900のバックライトであるLEDの輝度と、が含まれているものであり、例えば、遊技盤側液晶表示装置1900を最初に電源投入した日時と現在の日時とから、遊技盤側液晶表示装置1900を最初に電源投入した日時からすでに6月を経過している場合には、周辺制御ROM4150bから対応する補正情報(例えば、5%)を取得するとともに、輝度設定情報に含まれるLEDの輝度が75%で遊技盤側液晶表示装置1900のバックライトを点灯するときには、この75%に対して取得した補正情報である5%だけさらに上乗せした80%の輝度となるように、輝度設定情報に含まれる輝度調節情報に基づいて遊技盤側液晶表示装置1900のバックライトの輝度を調節して点灯し、遊技盤側液晶表示装置1900を最初に電源投入した日時からすでに12月を経過している場合には、周辺制御ROM4150bから対応する補正情報(例えば、10%)を取得するとともに、輝度設定情報に含まれるLEDの輝度が75%で遊技盤側液晶表示装置1900のバックライトを点灯するときには、この75%に対して取得した補正情報である10%だけさらに上乗せした85%の輝度となるように、輝度設定情報に含まれる輝度調節情報に基づいて遊技盤側液晶表示装置1900のバックライトの輝度を調節して点灯する。   Further, the peripheral control ROM 4150b is one of various control programs for controlling the RTC control unit 4165 to correct the luminance of the game board side liquid crystal display device 1900 according to the usage time of the game board side liquid crystal display device 1900. A brightness correction program is included. This brightness correction program corrects a decrease in brightness due to aging of the game board side liquid crystal display device 1900 when the backlight of the game board side liquid crystal display device 1900 is mounted with an LED type. The date and time when the game board side liquid crystal display device 1900 is first turned on, the current date and time, the luminance setting information, and the like are acquired from the built-in RAM of the RTC control unit 4165 described later, and the acquired luminance setting information is based on the correction information. To correct. This correction information is stored in advance in the peripheral control ROM 4150b. As will be described later, the brightness setting information includes brightness adjustment information for adjusting the range of the brightness of the LED, which is the backlight of the game board side liquid crystal display device 1900, from 100% to 70% in increments of 5%, The brightness of the LED that is the backlight of the game board side liquid crystal display device 1900 that is set is included. For example, the date and time when the game board side liquid crystal display device 1900 was first turned on and the current date and time From the date when the game board side liquid crystal display device 1900 is first powered on, when six months have already passed, the corresponding correction information (for example, 5%) is obtained from the peripheral control ROM 4150b, and the brightness When the brightness of the LED included in the setting information is 75% and the backlight of the game board side liquid crystal display device 1900 is turned on, the correction information acquired for this 75% is used. On the game board side, the brightness of the backlight of the game board side liquid crystal display device 1900 is adjusted based on the brightness adjustment information included in the brightness setting information so that the brightness is further increased by 5%. If December has already passed since the date when the liquid crystal display device 1900 was first turned on, the corresponding correction information (for example, 10%) is acquired from the peripheral control ROM 4150b, and the LED included in the luminance setting information When the backlight of the game board side liquid crystal display device 1900 is turned on with the brightness of 75%, the brightness setting is set so that the brightness is further increased by 10%, which is the correction information acquired with respect to 75%, to 85%. Based on the luminance adjustment information included in the information, the luminance of the backlight of the game board side liquid crystal display device 1900 is adjusted to light up.

<周辺制御RAM>
周辺制御MPU4150aに外付けされる周辺制御RAM4150cは、図8に示すように、各種制御プログラムが実行されることにより更新される各種情報のうち、バックアップ対象となっているものを専用に記憶するバックアップ管理対象ワークエリア4150caと、このバックアップ管理対象ワークエリア4150caに記憶されている各種情報がコピーされたものを専用に記憶するバックアップ第1エリア4150cb及びバックアップ第2エリア4150ccと、周辺制御ROM4150bに記憶されている各種制御プログラムがコピーされたものを専用に記憶する各種制御プログラムコピーエリア4150cdと、周辺制御ROM4150bに記憶されている、各種データ、各種制御データ、及び各種スケジュールデータ等がコピーされたものを専用に記憶する各種制御データコピーエリア4150ceと、各種制御プログラムが実行されることにより更新される各種情報のうち、バックアップ対象となっていないものを専用に記憶するバックアップ非管理対象ワークエリア4150cfと、が設けられている。
<Peripheral control RAM>
A peripheral control RAM 4150c externally attached to the peripheral control MPU 4150a, as shown in FIG. 8, is a backup that exclusively stores information to be backed up among various information updated by executing various control programs. A management target work area 4150ca, a backup first area 4150cb and a backup second area 4150cc for storing a copy of various information stored in the backup management target work area 4150ca, and a peripheral control ROM 4150b. Various control program copy area 4150cd for storing a copy of various control programs exclusively, and various data, various control data, various schedule data, etc. stored in peripheral control ROM 4150b Various control data copy area 4150ce that stores the data that has been copied, and various information that is updated when various control programs are executed. And a work area 4150cf.

なお、パチンコ遊技機1の電源投入時(瞬停や停電による復電時も含む。)には、バックアップ非管理対象ワークエリア4150cfに対して値0が強制的に書き込まれてゼロクリアされる一方、バックアップ管理対象ワークエリア4150ca、バックアップ第1エリア4150cb、及びバックアップ第2エリア4150ccについては、パチンコ遊技機1の電源によって電力の供給が開始された際(電源投入時)に主制御基板4100(電源投入コマンド出力手段)によって出力される電源投入コマンド(図10を参照)がRAMクリア演出開始及びそれぞれの状態演出開始を指示するものである(例えば、電源投入時から予め定めた期間内に図6に示した操作スイッチ952が操作された時における演出の開始を指示したりするものである)ときにはゼロクリアされる。   When the pachinko gaming machine 1 is turned on (including when power is restored due to a momentary power failure or a power failure), the value 0 is forcibly written to the backup unmanaged work area 4150cf and cleared to zero. For the backup management target work area 4150ca, the backup first area 4150cb, and the backup second area 4150cc, when the supply of power is started by the power source of the pachinko gaming machine 1 (at power-on), the main control board 4100 (power-on) The power-on command (see FIG. 10) outputted by the command output means instructs the start of the RAM clear effect and the start of each state effect (for example, in FIG. 6 within a predetermined period from when the power is turned on. Instructing the start of production when the indicated operation switch 952 is operated A) sometimes cleared to zero.

バックアップ管理対象ワークエリア4150caは、後述する液晶及び音制御部4160の音源内蔵VDP4160aからのVブランク信号が入力されるごとに実行される周辺制御部定常処理において更新される各種情報である演出情報(1fr)をバックアップ対象として専用に記憶するBank0(1fr)と、後述する1msタイマ割り込みが発生するごとに実行される周辺制御部1msタイマ割り込み処理において更新される各種情報である演出情報(1ms)をバックアップ対象として専用に記憶するBank0(1ms)と、から構成されている。ここで、Bank0(1fr)及びBank0(1ms)の名称について簡単に説明すると、「Bank」とは、各種情報を記憶するための記憶領域の大きさを表す最小管理単位であり、「Bank」に続く0は、各種制御プログラムが実行されることにより更新される各種情報を記憶するための通常使用する記憶領域であることを意味している。つまり「Bank0」とは、通常使用する記憶領域の大きさを最小管理単位としているという意味である。そして、後述するバックアップ第1エリア4150cbからバックアップ第2エリア4150ccに亘るエリアに設けられる、「Bank1」、「Bank2」、「Bank3」、及び「Bank4」とは、「Bank0」と同一の記憶領域の大きさを有していることを意味している。「(1fr)」は、後述するように、音源内蔵VDP4160aが1画面分(1フレーム分)の描画データを遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に出力すると、周辺制御MPU4150aからの画面データを受け入れることができる状態である旨を伝えるVブランク信号を周辺制御MPU4150aに出力するようになっているため、Vブランク信号が入力されるごとに、換言すると、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるところから、「Bank0」、「Bank1」、「Bank2」、「Bank3」、及び「Bank4」にそれぞれ付記されている(演出情報(1fr)や後述する演出バックアップ情報(1fr)についても、同一の意味で用いる)。「(1ms)」は、後述するように、1msタイマ割り込みが発生するごとに周辺制御部1msタイマ割り込み処理が実行されるところから、「Bank0」、「Bank1」、「Bank2」、「Bank3」、及び「Bank4]にそれぞれ付記されている(演出情報(1ms)や後述する演出バックアップ情報(1ms)についても、同一の意味で用いる)。   The backup management target work area 4150ca is effect information (various information updated in the peripheral control unit steady process executed each time a V blank signal from the VDP 4160a with built-in sound source of the liquid crystal and sound control unit 4160 described later is input) Bank 0 (1fr) for storing 1fr) exclusively as a backup target, and production information (1ms) which is various information updated in the peripheral control unit 1ms timer interrupt process executed every time a 1ms timer interrupt described later occurs. Bank 0 (1 ms) is stored exclusively as a backup target. Here, the names of Bank0 (1fr) and Bank0 (1 ms) will be briefly described. “Bank” is a minimum management unit representing the size of a storage area for storing various information. The following 0 means a normally used storage area for storing various information updated by executing various control programs. That is, “Bank 0” means that the size of the storage area that is normally used is the minimum management unit. “Bank1,” “Bank2,” “Bank3,” and “Bank4” provided in an area extending from a backup first area 4150cb to a backup second area 4150cc, which will be described later, are stored in the same storage area as “Bank0”. It means having a size. As will be described later, “(1fr)” indicates that when the built-in sound source VDP 4160a outputs drawing data for one screen (one frame) to the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244, the peripheral control MPU 4150a Since the V blank signal indicating that the screen data from the camera can be received is output to the peripheral control MPU 4150a, every time the V blank signal is input, in other words, one frame (1 frame) Since the peripheral control unit steady process is executed every time, “Bank 0”, “Bank 1”, “Bank 2”, “Bank 3”, and “Bank 4” are respectively added (effect information (1fr) and an effect described later) The backup information (1fr) is also used in the same meaning). As described later, “(1 ms)” indicates that “Bank 0”, “Bank 1”, “Bank 2”, “Bank 3”, And “Bank 4”, respectively (effect information (1 ms) and effect backup information (1 ms) to be described later are also used in the same meaning).

Bank0(1fr)には、ランプ駆動基板側送信データ記憶領域4150caa、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cab、受信コマンド記憶領域4150cac、RTC情報取得記憶領域4150cad、及びスケジュールデータ記憶領域4150cae等が設けられている。ランプ駆動基板側送信データ記憶領域4150caaは、遊技盤4の各装飾基板に設けた複数のLEDへの点灯信号、点滅信号又は階調点灯信号を出力するための遊技盤側発光データSL−DATがセットされる記憶領域であり、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabは、扉枠5の各装飾基板に設けた複数のLED等への点灯信号、点滅信号又は階調点灯信号を出力するための扉側発光データSTL−DATがセットされる記憶領域であり、受信コマンド記憶領域4150cacは、主制御基板4100から送信される各種コマンドを受信してその受信した各種コマンドがセットされる記憶領域であり、RTC情報取得記憶領域4150cadは、RTC制御部4165(後述するRTC4165aのRTC内蔵RAM4165aa)から取得した各種情報がセットされる記憶領域であり、スケジュールデータ記憶領域4150caeは、主制御基板4100(の主制御MPU4100a)から受信したコマンドに基づいて、この受信したコマンドと対応する各種スケジュールデータがセットされる記憶領域である。スケジュールデータ記憶領域4150caeには、周辺制御ROM4150bから各種制御データコピーエリア4150ceにコピーされた各種スケジュールデータが読み出されてセットされるものもあれば、周辺制御ROM4150bから各種スケジュールデータが直接読み出されてセットされるものもある。   Bank0 (1fr) includes a lamp drive board side transmission data storage area 4150caa, a frame decoration drive amplifier board side LED transmission data storage area 4150cab, a reception command storage area 4150cac, an RTC information acquisition storage area 4150cad, and a schedule data storage area 4150cae. Etc. are provided. In the lamp drive board side transmission data storage area 4150caa, game board side light emission data SL-DAT for outputting a lighting signal, a blinking signal, or a gradation lighting signal to a plurality of LEDs provided on each decoration board of the game board 4 is stored. The frame decoration drive amplifier board side LED transmission data storage area 4150cab is a storage area to be set. The lighting data, blinking signal, or gradation lighting signal for a plurality of LEDs provided on each decoration board of the door frame 5 is stored. This is a storage area in which door-side emission data STL-DAT for output is set, and the reception command storage area 4150cac receives various commands transmitted from the main control board 4100 and sets the received various commands. The RTC information acquisition storage area 4150cad is an RTC control unit 4165 (in the RTC of the RTC 4165a described later). Various information acquired from the RAM 4165aa) is a storage area in which the schedule data storage area 4150cae is based on a command received from the main control board 4100 (the main control MPU 4100a) and various schedules corresponding to the received command. A storage area in which data is set. In the schedule data storage area 4150cae, some schedule data copied from the peripheral control ROM 4150b to the various control data copy areas 4150ce are read and set, and various schedule data are directly read from the peripheral control ROM 4150b. Some are set.

Bank0(1ms)には、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150caf、モータ駆動基板側送信データ記憶領域4150cag、可動体情報取得記憶領域4150cah、操作ユニット情報取得記憶領域4150cai、及び履歴情報記憶領域4150caj等が設けられている。枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafは、扉枠5に設けたダイヤル駆動モータ414等の電気的駆動源への駆動信号を出力するための扉側モータ駆動データSTM−DATがセットされる記憶領域であり、モータ駆動基板側送信データ記憶領域4150cagは、遊技盤4に設けた各種可動体を作動させるモータやソレノイド等の電気的駆動源への駆動信号を出力するための遊技盤側モータ駆動データSM−DATがセットされる記憶領域である。また、可動体情報取得記憶領域4150cahは、遊技盤4に設けた各種検出スイッチからの検出信号に基づいて遊技盤4に設けた各種可動体の原位置や可動位置等を取得した各種情報がセットされる記憶領域であり、操作ユニット情報取得記憶領域4150caiは、操作ユニット400に設けられた各種検出スイッチからの検出信号に基づいてダイヤル操作部401の回転(回転方向)及び押圧操作部405の操作等を取得した各種情報(例えば、操作ユニット400に設けられた各種検出スイッチからの検出信号に基づいて作成するダイヤル操作部401の回転(回転方向)履歴情報、及び押圧操作部405の操作履歴情報など。)がセットされる記憶領域である。一方、履歴情報記憶領域4150cajは、後述する表示履歴記憶領域の他にも、操作履歴記憶領域が形成されている。この操作履歴記憶領域には、タッチパネル246の操作面における規定の接触状態の一例として「規定の筆跡」に関する情報が予め記憶されている(演出制御記憶手段)。この規定の筆跡に関する情報としては、例えば、直線或いは曲線であって描画途中における筆圧の増減に伴う太さの変化及び描画速度の変化の少なくとも一方に関する情報を含んでいる。   Bank 0 (1 ms) includes a frame decoration drive amplifier board side motor transmission data storage area 4150caf, a motor drive board side transmission data storage area 4150cag, a movable body information acquisition storage area 4150cah, an operation unit information acquisition storage area 4150cai, and history information. A storage area 4150caj and the like are provided. The frame decoration drive amplifier board side motor transmission data storage area 4150caf is set with door side motor drive data STM-DAT for outputting a drive signal to an electric drive source such as a dial drive motor 414 provided on the door frame 5. The motor drive board side transmission data storage area 4150cag is a game board for outputting a drive signal to an electric drive source such as a motor or solenoid for operating various movable bodies provided in the game board 4 This is a storage area in which the side motor drive data SM-DAT is set. In the movable body information acquisition storage area 4150cah, various information obtained by acquiring the original position and movable position of various movable bodies provided on the game board 4 based on detection signals from various detection switches provided on the game board 4 is set. The operation unit information acquisition storage area 4150cai is a rotation (rotation direction) of the dial operation unit 401 and an operation of the pressing operation unit 405 based on detection signals from various detection switches provided in the operation unit 400. And the like (for example, rotation history information of the dial operation unit 401 created based on detection signals from various detection switches provided in the operation unit 400, and operation history information of the pressing operation unit 405) Etc.) is a storage area to be set. On the other hand, the history information storage area 4150 caj has an operation history storage area in addition to a display history storage area described later. In this operation history storage area, information related to “specified handwriting” is stored in advance as an example of a specified contact state on the operation surface of the touch panel 246 (effect control storage means). The information on the prescribed handwriting includes, for example, information on at least one of a change in thickness and a change in drawing speed due to increase or decrease in writing pressure during drawing, which is a straight line or a curve.

なお、Bank0(1fr)のランプ駆動基板側送信データ記憶領域4150caa及び枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabと、Bank0(1ms)の枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150caf及びモータ駆動基板側送信データ記憶領域4150cagとは、第1領域及び第2領域という2つの領域にそれぞれ分割されている。   The bank 0 (1fr) lamp drive board side transmission data storage area 4150caa and the frame decoration drive amplifier board side LED transmission data storage area 4150cab, and the Bank 0 (1 ms) frame decoration drive amplifier board side motor transmission data storage area 4150caf. The motor drive board side transmission data storage area 4150cag is divided into two areas, a first area and a second area, respectively.

ランプ駆動基板側送信データ記憶領域4150caaは、後述する周辺制御部定常処理が実行されると、ランプ駆動基板側送信データ記憶領域4150caaの第1領域に、遊技盤側発光データSL−DATがセットされ、次の周辺制御部定常処理が実行されると、ランプ駆動基板側送信データ記憶領域4150caaの第2領域に遊技盤側発光データSL−DATがセットされるようになっており、周辺制御部定常処理が実行されるごとに、ランプ駆動基板側送信データ記憶領域4150caaの第1領域、第2領域に遊技盤側発光データSL−DATが交互にセットされる。周辺制御部定常処理が実行され、例えば、今回の周辺制御部定常処理においてランプ駆動基板側送信データ記憶領域4150caaの第2領域に遊技盤側発光データSL−DATがセットされるときには、前回の周辺制御部定常処理が実行された際に、ランプ駆動基板側送信データ記憶領域4150caaの第1領域にセットした遊技盤側発光データSL−DATに基づいて処理を進行するようになっている。   In the lamp drive board side transmission data storage area 4150caa, when the peripheral control unit steady process described later is executed, the game board side light emission data SL-DAT is set in the first area of the lamp drive board side transmission data storage area 4150caa. When the next peripheral control unit steady process is executed, the game board side light emission data SL-DAT is set in the second area of the lamp drive board side transmission data storage area 4150caa. Each time the process is executed, the game board side light emission data SL-DAT are alternately set in the first area and the second area of the lamp drive board side transmission data storage area 4150caa. For example, when the game board side light emission data SL-DAT is set in the second area of the lamp drive board side transmission data storage area 4150caa in the current peripheral control part steady process, When the control unit steady process is executed, the process proceeds based on the game board side light emission data SL-DAT set in the first area of the lamp drive board side transmission data storage area 4150caa.

枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabは、周辺制御部定常処理が実行されると、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabの第1領域に、扉側発光データSTL−DATがセットされ、次の周辺制御部定常処理が実行されると、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabの第2領域に扉側発光データSTL−DATがセットされるようになっており、周辺制御部定常処理が実行されるごとに、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabの第1領域、第2領域に扉側発光データSTL−DATが交互にセットされる。周辺制御部定常処理が実行され、例えば、今回の周辺制御部定常処理において枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabの第2領域に扉側発光データSTL−DATがセットされるときには、前回の周辺制御部定常処理が実行された際に、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabの第1領域にセットした扉側発光データSTL−DATに基づいて処理を進行するようになっている。   When the peripheral control unit steady process is executed, the frame decoration drive amplifier board side LED transmission data storage area 4150cab has the door side light emission data STL in the first area of the frame decoration drive amplifier board side LED transmission data storage area 4150cab. -DAT is set, and when the next peripheral control unit steady process is executed, the door side light emission data STL-DAT is set in the second area of the frame decoration drive amplifier board side LED transmission data storage area 4150cab. Each time the peripheral control unit steady process is executed, the door side light emission data STL-DAT is alternately set in the first area and the second area of the frame decoration drive amplifier board side LED transmission data storage area 4150cab. The For example, when the door side light emission data STL-DAT is set in the second area of the frame decoration drive amplifier board side LED transmission data storage area 4150cab in the current peripheral control part steady process, When the previous peripheral control unit steady process is executed, the process proceeds based on the door side light emission data STL-DAT set in the first area of the frame decoration drive amplifier board side LED transmission data storage area 4150cab. It has become.

枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafは、後述する周辺制御部1msタイマ割り込み処理が実行されると、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafの第1領域に、扉側モータ駆動データSTM−DATがセットされ、次の周辺制御部1msタイマ割り込み処理が実行されると、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafの第2領域に扉側モータ駆動データSTM−DATがセットされるようになっており、周辺制御部1msタイマ割り込み処理が実行されるごとに、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafの第1領域、第2領域に扉側モータ駆動データSTM−DATが交互にセットされる。周辺制御部1msタイマ割り込み処理が実行され、例えば、今回の周辺制御部1msタイマ割り込み処理において枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafの第2領域に扉側モータ駆動データSTM−DATがセットされるときには、前回の周辺制御部1msタイマ割り込み処理が実行された際に、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafの第1領域にセットした扉側モータ駆動データSTM−DATに基づいて処理を進行するようになっている。   The frame decoration drive amplifier board side motor transmission data storage area 4150caf has a door in the first area of the frame decoration drive amplifier board side motor transmission data storage area 4150caf when a later-described peripheral control unit 1 ms timer interrupt process is executed. When the side motor drive data STM-DAT is set and the next peripheral control unit 1 ms timer interrupt process is executed, the door side motor drive data STM is stored in the second area of the frame decoration drive amplifier board side motor transmission data storage area 4150caf. -DAT is set, and each time the peripheral control unit 1 ms timer interrupt process is executed, the door side is connected to the first area and the second area of the frame decoration drive amplifier board side motor transmission data storage area 4150caf. Motor drive data STM-DAT is set alternately. The peripheral control unit 1 ms timer interrupt process is executed. For example, in this peripheral control unit 1 ms timer interrupt process, the door side motor drive data STM-DAT is stored in the second area of the frame decoration drive amplifier board side motor transmission data storage area 4150caf. When set, the door side motor drive data STM-DAT set in the first area of the frame decoration drive amplifier board side motor transmission data storage area 4150caf when the previous peripheral control unit 1 ms timer interrupt process was executed. The process is based on this.

モータ駆動基板側送信データ記憶領域4150cagは、周辺制御部1msタイマ割り込み処理が実行されると、モータ駆動基板側送信データ記憶領域4150cagの第1領域に、遊技盤側モータ駆動データSM−DATがセットされ、次の周辺制御部1msタイマ割り込み処理が実行されると、モータ駆動基板側送信データ記憶領域4150cagの第2領域に遊技盤側モータ駆動データSM−DATがセットされるようになっており、周辺制御部1msタイマ割り込み処理が実行されるごとに、モータ駆動基板側送信データ記憶領域4150cagの第1領域、第2領域に遊技盤側モータ駆動データSM−DATが交互にセットされる。周辺制御部1msタイマ割り込み処理が実行され、例えば、今回の周辺制御部1msタイマ割り込み処理においてモータ駆動基板側送信データ記憶領域4150cagの第2領域に遊技盤側モータ駆動データSM−DATがセットされるときには、前回の周辺制御部1msタイマ割り込み処理が実行された際に、モータ駆動基板側送信データ記憶領域4150cagの第1領域にセットした遊技盤側モータ駆動データSM−DATに基づいて処理を進行するようになっている。   When the peripheral control unit 1 ms timer interrupt process is executed, the motor drive board side transmission data storage area 4150cag is set with the game board side motor drive data SM-DAT in the first area of the motor drive board side transmission data storage area 4150cag. When the next peripheral control unit 1 ms timer interrupt process is executed, the game board side motor drive data SM-DAT is set in the second area of the motor drive board side transmission data storage area 4150cag, Each time the peripheral control unit 1 ms timer interrupt process is executed, the game board side motor drive data SM-DAT are alternately set in the first area and the second area of the motor drive board side transmission data storage area 4150cag. The peripheral control unit 1 ms timer interrupt process is executed. For example, in the current peripheral control unit 1 ms timer interrupt process, the game board side motor drive data SM-DAT is set in the second area of the motor drive board side transmission data storage area 4150cag. Sometimes, when the previous peripheral control unit 1 ms timer interrupt process is executed, the process proceeds based on the game board side motor drive data SM-DAT set in the first area of the motor drive board side transmission data storage area 4150cag. It is like that.

次に、バックアップ管理対象ワークエリア4150caに記憶されている各種情報である演出情報がコピーされたものを専用に記憶するバックアップ第1エリア4150cb及びバックアップ第2エリア4150ccについて説明する。バックアップ第1エリア4150cb及びバックアップ第2エリア4150ccは、2つのバンクを1ペアとする2ペアが1ページとして管理されている。通常使用する記憶領域であるBank0(1fr)に記憶される内容である演出情報(1fr)は、演出バックアップ情報(1fr)として、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるごとに、バックアップ第1エリア4150cb及びバックアップ第2エリア4150ccに周辺制御DMAコントローラ4150acにより高速にコピーされるとともに、通常使用する記憶領域であるBank0(1ms)に記憶される内容である演出情報(1ms)は、演出バックアップ情報(1ms)として、1msタイマ割り込みが発生するごとに周辺制御部1msタイマ割り込み処理が実行されるごとに、バックアップ第1エリア4150cb及びバックアップ第2エリア4150ccに周辺制御DMAコントローラ4150acにより高速にコピーされる。1ページの整合性は、そのページを構成する2つのバンクの内容が一致しているか否かにより行う。   Next, the backup first area 4150cb and backup second area 4150cc that store specially copied production information, which is various information stored in the backup management target work area 4150ca, will be described. In the backup first area 4150cb and the backup second area 4150cc, two pairs each having two banks as one pair are managed as one page. Production information (1fr), which is the content stored in Bank0 (1fr), which is a storage area that is normally used, is produced as production backup information (1fr) every time the peripheral control unit steady process is executed for each frame (1frame). In addition, the production information (1 ms) which is the content stored in Bank0 (1 ms), which is a storage area normally used, is copied to the backup first area 4150 cb and the backup second area 4150 cc at high speed by the peripheral control DMA controller 4150ac. As the production backup information (1 ms), the peripheral control DMA controller 41 is assigned to the backup first area 4150 cb and the backup second area 4150 cc each time the peripheral control unit 1 ms timer interrupt process is executed every time a 1 ms timer interrupt occurs. It is copied to the high speed by 0ac. The consistency of one page is determined by whether or not the contents of two banks constituting the page match.

具体的には、バックアップ第1エリア4150cbは、Bank1(1fr)及びBank2(1fr)を1ペアとし、Bank1(1ms)及びBank2(1ms)を1ペアとする、計2ペアが1ページとして管理されている。通常使用する記憶領域であるBank0(1fr)に記憶される内容は、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるごとに、Bank1(1fr)及びBank2(1fr)に周辺制御DMAコントローラ4150acにより高速にコピーされるとともに、通常使用する記憶領域であるBank0(1ms)に記憶される記憶は、1msタイマ割り込みが発生するごとに周辺制御部1msタイマ割り込み処理が実行されるごとに、Bank1(1ms)及びBank2(1ms)に周辺制御DMAコントローラ4150acにより高速にコピーされ、このページの整合性は、Bank1(1fr)及びBank2(1fr)の内容が一致しているか否かにより行うとともに、Bank1(1ms)及びBank2(1ms)の内容が一致しているか否かにより行う。   Specifically, the backup first area 4150cb is managed as a pair of Bank1 (1fr) and Bank2 (1fr) as one pair, and Bank1 (1ms) and Bank2 (1ms) as one pair. ing. The contents stored in Bank0 (1fr), which is a storage area that is normally used, are the peripheral control DMA in Bank1 (1fr) and Bank2 (1fr) each time the peripheral control unit steady process is executed for each frame (1frame). The memory that is copied at a high speed by the controller 4150ac and stored in Bank0 (1 ms), which is a storage area that is normally used, is stored every time a peripheral control unit 1 ms timer interrupt process is executed every time a 1 ms timer interrupt occurs. The peripheral control DMA controller 4150ac copies the data to Bank1 (1ms) and Bank2 (1ms) at high speed. The consistency of this page is determined by whether or not the contents of Bank1 (1fr) and Bank2 (1fr) match. Bank1 (1ms) and Bank2 ( It carried out by whether or not the contents of the ms) are the same.

また、バックアップ第2エリア4150ccは、Bank3(1fr)及びBank4(1fr)を1ペアとし、Bank3(1ms)及びBank4(1ms)を1ペアとする、計2ペアが1ページとして管理されている。通常使用する記憶領域であるBank0(1fr)に記憶される内容は、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるごとに、Bank3(1fr)及びBank4(1fr)に周辺制御DMAコントローラ4150acにより高速にコピーされるとともに、通常使用する記憶領域であるBank0(1ms)に記憶される記憶は、1msタイマ割り込みが発生するごとに周辺制御部1msタイマ割り込み処理が実行されるごとに、Bank3(1ms)及びBank4(1ms)に周辺制御DMAコントローラ4150acにより高速にコピーされ、このページの整合性は、Bank3(1fr)及びBank4(1fr)の内容が一致しているか否かにより行うとともに、Bank3(1ms)及びBank4(1ms)の内容が一致しているか否かにより行う。   The backup second area 4150cc is managed as one page with a total of two pairs, with Bank3 (1fr) and Bank4 (1fr) as one pair and Bank3 (1ms) and Bank4 (1ms) as one pair. The contents stored in Bank0 (1fr), which is a storage area that is normally used, are the peripheral control DMA in Bank3 (1fr) and Bank4 (1fr) each time the peripheral control unit steady process is executed for each frame (1frame). The memory that is copied at a high speed by the controller 4150ac and stored in Bank0 (1 ms), which is a storage area that is normally used, is stored every time a peripheral control unit 1 ms timer interrupt process is executed every time a 1 ms timer interrupt occurs. It is copied to Bank 3 (1 ms) and Bank 4 (1 ms) at high speed by the peripheral control DMA controller 4150ac, and the consistency of this page is determined by whether or not the contents of Bank 3 (1 fr) and Bank 4 (1 fr) match. Bank3 (1 ms) and Bank4 ( It carried out by whether or not the contents of the ms) are the same.

このように、本実施形態では、バックアップ第1エリア4150cbは、Bank1(1fr)及びBank2(1fr)を1ペアとし、Bank1(1ms)及びBank2(1ms)を1ペアとする、計2ペアを1ページとして管理するためのエリアであり、バックアップ第2エリア4150ccは、Bank3(1fr)及びBank4(1fr)を1ペアとし、Bank3(1ms)及びBank4(1ms)を1ペアとする、計2ペアを1ページとして管理するためのエリアである。各ページの先頭と終端とには、つまりバックアップ第1エリア4150cb及びバックアップ第2エリア4150ccの先頭と終端とには、それぞれ異なるIDコートが記憶されるようになっている。   As described above, in this embodiment, the backup first area 4150cb has one pair of Bank1 (1fr) and Bank2 (1fr), and one pair of Bank1 (1ms) and Bank2 (1ms). It is an area to manage as a page, and the backup second area 4150 cc has a total of 2 pairs, with Bank 3 (1 fr) and Bank 4 (1 fr) as one pair, Bank 3 (1 ms) and Bank 4 (1 ms) as one pair This is an area for management as one page. Different ID codes are stored at the beginning and end of each page, that is, at the beginning and end of the backup first area 4150cb and backup second area 4150cc.

また、本実施形態では、通常使用する記憶領域であるBank0(1fr)に記憶される内容である演出情報(1fr)は、演出バックアップ情報(1fr)として、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるごとに、バックアップ第1エリア4150cb及びバックアップ第2エリア4150ccに周辺制御DMAコントローラ4150acにより高速にコピーされるとともに、通常使用する記憶領域であるBank0(1ms)に記憶される内容である演出情報(1ms)は、演出バックアップ情報(1ms)として、1msタイマ割り込みが発生するごとに周辺制御部1msタイマ割り込み処理が実行されるごとに、バックアップ第1エリア4150cb及びバックアップ第2エリア4150ccに周辺制御DMAコントローラ4150acにより高速にコピーされるようになっているが、これらの周辺制御DMAコントローラ4150acによる高速コピーを実行するプログラムは共通化されている。つまり本実施形態では、演出情報(1fr)、演出情報(1ms)を、共通の管理手法(共通のプログラムの実行)で情報を管理している。   In the present embodiment, the production information (1fr) that is the content stored in Bank0 (1fr) that is a storage area that is normally used is the production control information (1fr), and the peripheral control unit for each frame (1frame). Every time the steady process is executed, the contents are copied to the backup first area 4150cb and the backup second area 4150cc at high speed by the peripheral control DMA controller 4150ac and stored in Bank0 (1 ms) which is a storage area used normally. The production information (1 ms) is, as production backup information (1 ms), every time the 1 ms timer interrupt is generated, the backup first area 4150 cb and the backup second area 4150 cc are executed each time the peripheral control unit 1 ms timer interruption process is executed. Peripheral control Although designed to be copied at a high speed by the MA controller 4150Ac, a program for executing a fast copy from these peripheral control DMA controller 4150Ac are common. That is, in this embodiment, the production information (1fr) and the production information (1 ms) are managed by a common management method (execution of a common program).

<周辺制御SRAM>
周辺制御MPU4150aに外付けされる周辺制御SRAM4150dは、各種制御プログラムが実行されることにより更新される各種情報のうち、バックアップ対象となっているものを専用に記憶するバックアップ管理対象ワークエリア4150daと、このバックアップ管理対象ワークエリア4150daに記憶されている各種情報がコピーされたものを専用に記憶するバックアップ第1エリア4150db及びバックアップ第2エリア4150dcと、が設けられている。なお、周辺制御SRAM4150dに記憶された内容は、パチンコ遊技機1の電源投入時(瞬停や停電による復電時も含む。)に主制御基板4100からの電源投入コマンド(図10を参照)がRAMクリア演出開始及びそれぞれの状態演出開始を指示するものである(例えば、電源投入時から予め定めた期間内に図6に示した操作スイッチ952が操作された時における演出の開始を指示したりするものである)ときにおいても、ゼロクリアされない。この点については、上述した周辺制御RAM4150cのバックアップ管理対象ワークエリア4150ca、バックアップ第1エリア4150cb、及びバックアップ第2エリア4150ccがゼロクリアされる点と、全く異なる。また、パチンコ遊技機1の電源投入後、所定時間内において、操作ユニット400のダイヤル操作部401や押圧操作部405を操作すると、設定モードを行うための画面が遊技盤側液晶表示装置1900に表示されるようになっている。この設定モードの画面に従って操作ユニット400のダイヤル操作部401や押圧操作部405を操作することで、周辺制御SRAM4150dに記憶されている内容(項目)ごとに(例えば、大当り遊技状態が発生した履歴など。)クリアすることができる一方、周辺制御RAM4150cに記憶されている内容(項目)については、全く表示されず、設定モードにおいてクリアすることができないようになっている。この点についても、周辺制御RAM4150cと周辺制御SRAM4150dとで全く異なる。
<Peripheral control SRAM>
A peripheral control SRAM 4150d externally attached to the peripheral control MPU 4150a includes a backup management target work area 4150da that exclusively stores information to be backed up among various information updated by executing various control programs. A backup first area 4150db and a backup second area 4150dc are provided for storing a copy of various information stored in the backup management target work area 4150da. The content stored in the peripheral control SRAM 4150d is a power-on command (see FIG. 10) from the main control board 4100 when the pachinko gaming machine 1 is powered on (including when power is restored due to a momentary power failure or a power failure). Instructing the start of the RAM clear effect and the start of each state effect (for example, instructing the start of the effect when the operation switch 952 shown in FIG. 6 is operated within a predetermined period from when the power is turned on. It is not cleared to zero. This is completely different from the point that the backup management target work area 4150ca, the backup first area 4150cb, and the backup second area 4150cc of the peripheral control RAM 4150c described above are cleared to zero. Further, when the dial operation unit 401 or the pressing operation unit 405 of the operation unit 400 is operated within a predetermined time after the power of the pachinko gaming machine 1 is turned on, a screen for performing the setting mode is displayed on the game board side liquid crystal display device 1900. It has come to be. By operating the dial operation unit 401 and the pressing operation unit 405 of the operation unit 400 according to the setting mode screen, each content (item) stored in the peripheral control SRAM 4150d (for example, a history of occurrence of a big hit gaming state, etc.) On the other hand, the contents (items) stored in the peripheral control RAM 4150c are not displayed at all and cannot be cleared in the setting mode. This point is also completely different between the peripheral control RAM 4150c and the peripheral control SRAM 4150d.

バックアップ管理対象ワークエリア4150daは、日をまたいで継続される各種情報である演出情報(SRAM)(例えば、大当り遊技状態が発生した履歴を管理するための情報や特別な演出フラグの管理するための情報など)をバックアップ対象として専用に記憶するBank0(SRAM)から構成されている。ここで、Bank0(SRAM)の名称について簡単に説明すると、「Bank」とは、上述したように、各種情報を記憶するための記憶領域の大きさを表す最小管理単位であり、「Bank」に続く0は、各種制御プログラムが実行されることにより更新される各種情報を記憶するための通常使用する記憶領域であることを意味している。つまり「Bank0」とは、通常使用する記憶領域の大きさを最小管理単位としているという意味である。そして、後述するバックアップ第1エリア4150dbからバックアップ第2エリア4150dcに亘るエリアに設けられる、「Bank1」、「Bank2」、「Bank3」、及び「Bank4」とは、「Bank0」と同一の記憶領域の大きさを有していることを意味している。「(SRAM)」は、周辺制御MPU4150aに外付けされる周辺制御SRAM4150dに記憶されている各種情報がバックアップ対象となっていることから、「Bank0」、「Bank1」、「Bank2」、「Bank3」、及び「Bank4]にそれぞれ付記されている(演出情報(SRAM)や後述する演出バックアップ情報(SRAM)についても、同一の意味で用いる)。   The backup management target work area 4150da is production information (SRAM) which is various information continued across days (for example, information for managing the history of occurrence of the big hit gaming state and special production flag management) Information) and the like are stored in a dedicated manner as a backup target. Here, the name of Bank0 (SRAM) will be briefly described. As described above, “Bank” is a minimum management unit that represents the size of a storage area for storing various types of information. The following 0 means a normally used storage area for storing various information updated by executing various control programs. That is, “Bank 0” means that the size of the storage area that is normally used is the minimum management unit. “Bank1,” “Bank2,” “Bank3,” and “Bank4” provided in an area extending from a backup first area 4150db to a backup second area 4150dc, which will be described later, are in the same storage area as “Bank0”. It means having a size. Since “(SRAM)” is a backup target of various information stored in the peripheral control SRAM 4150d externally attached to the peripheral control MPU 4150a, “Bank0”, “Bank1”, “Bank2”, “Bank3” , And “Bank4”, respectively (effect information (SRAM) and effect backup information (SRAM) to be described later are also used in the same meaning).

次に、バックアップ管理対象ワークエリア4150daに記憶されている各種情報である演出情報(SRAM)がコピーされたものを専用に記憶するバックアップ第1エリア4150db及びバックアップ第2エリア4150dcについて説明する。バックアップ第1エリア4150db及びバックアップ第2エリア4150dcは、2つのバンクを1ペアとする、この1ペアを1ページとして管理されている。通常使用する記憶領域であるBank0(SRAM)に記憶される内容である演出情報(SRAM)は、演出バックアップ情報(SRAM)として、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるごとに、バックアップ第1エリア4150db及びバックアップ第2エリア4150dcに周辺制御DMAコントローラ4150acにより高速にコピーされる。1ページの整合性は、そのページを構成する2つのバンクの内容が一致しているか否かにより行う。   Next, the backup first area 4150db and backup second area 4150dc that store specially copied production information (SRAM), which is various information stored in the backup management target work area 4150da, will be described. The backup first area 4150db and the backup second area 4150dc are managed with one pair of two banks, and one pair as one page. Production information (SRAM), which is the content stored in Bank0 (SRAM), which is a storage area that is normally used, is production backup information (SRAM) each time the peripheral control unit steady process is executed for each frame (1 frame). The peripheral control DMA controller 4150ac copies the backup first area 4150db and backup second area 4150dc at high speed. The consistency of one page is determined by whether or not the contents of two banks constituting the page match.

具体的には、バックアップ第1エリア4150dbは、Bank1(SRAM)及びBank2(SRAM)を1ペアとする、この1ペアが1ページとして管理されている。通常使用する記憶領域であるBank0(SRAM)に記憶される内容は、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるごとに、Bank1(SRAM)及びBank2(SRAM)に周辺制御DMAコントローラ4150acにより高速にコピーされ、このページの整合性は、Bank1(SRAM)及びBank2(SRAM)の内容が一致しているか否かにより行う。   Specifically, in the backup first area 4150db, Bank1 (SRAM) and Bank2 (SRAM) are managed as one pair, and this one pair is managed as one page. The contents stored in Bank0 (SRAM), which is a storage area that is normally used, are stored in the peripheral control DMA in Bank1 (SRAM) and Bank2 (SRAM) each time the peripheral control unit steady process is executed for each frame (1 frame). This page is copied at high speed by the controller 4150ac, and the consistency of this page is determined by whether or not the contents of Bank1 (SRAM) and Bank2 (SRAM) match.

また、バックアップ第2エリア4150dcは、Bank3(SRAM)及びBank4(SRAM)を1ペアとする、この1ペアが1ページとして管理されている。通常使用する記憶領域であるBank0(SRAM)に記憶される内容は、1フレーム(1frame)ごとに周辺制御部定常処理が実行されるごとに、Bank3(SRAM)及びBank4(SRAM)に周辺制御DMAコントローラ4150acにより高速にコピーされ、このページの整合性は、Bank3(SRAM)及びBank4(SRAM)の内容が一致しているか否かにより行う。   In the backup second area 4150dc, Bank3 (SRAM) and Bank4 (SRAM) are managed as one pair, and this one pair is managed as one page. The contents stored in Bank0 (SRAM), which is a storage area that is normally used, are stored in the peripheral control DMA in Bank3 (SRAM) and Bank4 (SRAM) each time the peripheral control unit steady process is executed for each frame (1 frame). This page is copied at high speed by the controller 4150ac, and the consistency of this page is determined by whether or not the contents of Bank3 (SRAM) and Bank4 (SRAM) match.

このように、本実施形態では、バックアップ第1エリア4150dbは、Bank1(SRAM)及びBank2(SRAM)を1ペアとする、この1ペアを1ページとして管理するためのエリアであり、バックアップ第2エリア4150dcは、Bank3(SRAM)及びBank4(SRAM)を1ペアとする、この1ペアを1ページとして管理するためのエリアである。各ページの先頭と終端とには、つまりバックアップ第1エリア4150db及びバックアップ第2エリア4150dcの先頭と終端とには、それぞれ異なるIDコートが記憶されるようになっている。   As described above, in this embodiment, the backup first area 4150db is an area for managing Bank 1 (SRAM) and Bank 2 (SRAM) as one pair, and managing this one pair as one page. Reference numeral 4150 dc is an area for managing Bank 1 (SRAM) and Bank 4 (SRAM) as one pair, and managing this one pair as one page. Different ID codes are stored at the beginning and end of each page, that is, at the beginning and end of the backup first area 4150db and backup second area 4150dc.

[2−2−2.液晶及び音制御部]
遊技盤側液晶表示装置1900及び上皿側液晶表示装置244の描画制御と本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音楽や効果音等の音制御とを行う液晶及び音制御部4160は、音楽や効果音等の音制御を行うための音源が内蔵(以下、「内蔵音源」と記載する。)されるとともに遊技盤側液晶表示装置1900及び上皿側液晶表示装置244の描画制御を行う音源内蔵VDP(Video Display Processorの略)4160aと、遊技盤側液晶表示装置1900の表示領域(第1の表示領域)及び上皿側液晶表示装置244の表示領域(第2の表示領域)に表示される表示内容としての各種キャラクタデータ(やスプライト番号が付されたスプライトデータ)を記憶したり音楽や効果音等の各種音データを記憶する液晶及び音制御ROM4160b(演出情報記憶領域、演出情報記憶手段)と、シリアル化された音楽や効果音等をオーディオデータとして枠装飾駆動アンプ基板194に向かって送信するオーディオデータ送信IC4160cと、を備えている。
[2-2-2. Liquid crystal and sound control unit]
The drawing control of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244, the sound housed in the speaker box 920 provided in the main body frame 3 and the sound and the sound effected from the speakers provided in the door frame 5 The liquid crystal and sound control unit 4160 that performs control incorporates a sound source for performing sound control such as music and sound effects (hereinafter referred to as “built-in sound source”), and the game board side liquid crystal display device 1900 and A sound source built-in VDP (Video Display Processor) 4160a that performs drawing control of the upper plate side liquid crystal display device 244, a display area (first display region) of the game board side liquid crystal display device 1900, and an upper plate side liquid crystal display device 244 Various character data (and sprites with sprite numbers) as display contents displayed in the display area (second display area) Data) and sound control ROM 4160b (effect information storage area, effect information storage means) for storing various sound data such as music and sound effects, and serialized music and sound effects as audio data And an audio data transmission IC 4160c that transmits the frame decoration drive amplifier board 194.

さらに、この液晶及び音制御ROM4160bには、後述する画面や画像の表示に用いるスプライトデータとして、例えばリング状表示物(環状の表示物)の表示に用いる環状画像データ、後述する操作メニュー背景画像の表示に用いる操作メニュー背景画像データ、後述する少なくとも1つの選択表示物の表示に用いる選択表示物画像データ、後述するボリュームスケールを含む音量調整画面の表示に用いる音調調整背景画像データ、後述する音量調整アイコンの表示に用いる音量設定アイコン画像データ等の他、遊技者から見て本体枠3の背面における各部位の位置が視認可能な本体枠背面画像の表示に用いる本体枠背面画像データ、サービスモード画面の表示に用いるサービスモード画面画像データ、休憩タイマ設定画面の表示に用いる休憩タイマ設定画面画像データ、及び、休憩中画面の表示に用いる休憩中画面画像データが格納されている。なお、液晶及び音制御ROM4160bは、上皿側液晶表示装置244の表示領域に表された表示ボタンを操作すべき旨を促すための後述する示唆表示物の表示に用いる示唆表示物画像データのみならず、タッチパネル246(接触型入力手段)の操作面を触れさせるよう促すために上皿側液晶表示装置244に表示させる後述する接触催促表示物の表示に用いる接触催促表示物データが記憶されている(データ格納手段)。   Further, in the liquid crystal and sound control ROM 4160b, as sprite data used for displaying a screen or an image to be described later, for example, annular image data used for displaying a ring-shaped display object (annular display object), an operation menu background image described later. Operation menu background image data used for display, selection display object image data used for displaying at least one selection display object described later, tone adjustment background image data used for displaying a volume adjustment screen including a volume scale described later, volume adjustment described later In addition to volume setting icon image data used for displaying icons, main body frame rear image data used for displaying the main body frame rear image in which the position of each part on the rear surface of the main body frame 3 is visible when viewed from the player, service mode screen Used to display service mode screen image data and break timer setting screen Break timer setting screen image data, and, during breaks screen image data used for displaying the break in the screen is stored. It should be noted that the liquid crystal and sound control ROM 4160b is only suggested display object image data used for display of a suggested display object to be described later for prompting the user to operate the display button shown in the display area of the upper dish side liquid crystal display device 244. First, contact prompting display object data used for displaying a touch prompting display object to be displayed on the upper plate side liquid crystal display device 244 for prompting to touch the operation surface of the touch panel 246 (contact type input means) is stored. (Data storage means).

さらに、この液晶及び音制御ROM4160bには、遊技盤側液晶表示装置1900の表示領域(第1の表示領域)及び上皿側液晶表示装置244の表示領域(第2の表示領域)に表示サイズを変更させて共通画像を各々表示させるのに用いられるサイズ変換画像データが予め記憶されている(演出制御記憶手段)。   Furthermore, the liquid crystal and sound control ROM 4160b has display sizes for the display area (first display area) of the game board side liquid crystal display device 1900 and the display area (second display area) of the upper plate side liquid crystal display device 244. Size-converted image data used for changing and displaying each common image is stored in advance (effect control storage means).

周辺制御部4150では、周辺制御MPU4150aが、主制御基板4100からのコマンドと対応する画面生成用スケジュールデータを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して周辺制御RAM4150cのスケジュールデータ記憶領域に4150caeにセットする。この周辺制御MPU4150aは、このスケジュールデータ記憶領域4150caeにセットされた画面生成用スケジュールデータの先頭の画面データを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して音源内蔵VDP4160aに出力した後に、後述するVブランク信号が入力されたことを契機として、スケジュールデータ記憶領域4150caeにセットされた画面生成用スケジュールデータに従って先頭の画面データに続く次の画面データを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して音源内蔵VDP4160aに出力する。このように、周辺制御MPU4150aは、スケジュールデータ記憶領域4150caeにセットされた画面生成用スケジュールデータに従って、この画面生成用スケジュールデータに時系列に配列された画面データを、Vブランク信号が入力されるごとに、先頭の画面データから1つずつ音源内蔵VDP4160aに出力する。   In the peripheral control unit 4150, the peripheral control MPU 4150a extracts screen generation schedule data corresponding to the command from the main control board 4100 from the peripheral control ROM 4150b of the peripheral control unit 4150 or the various control data copy areas 4150ce of the peripheral control RAM 4150c. To 4150cae in the schedule data storage area of the peripheral control RAM 4150c. The peripheral control MPU 4150a extracts the top screen data of the screen generation schedule data set in the schedule data storage area 4150cae from the peripheral control ROM 4150b of the peripheral control unit 4150 or the various control data copy areas 4150ce of the peripheral control RAM 4150c. After the output to the sound source built-in VDP 4160a, the next screen data following the first screen data according to the screen generation schedule data set in the schedule data storage area 4150cae is triggered when a V blank signal described later is input, Extracted from the peripheral control ROM 4150b of the peripheral control unit 4150 or various control data copy areas 4150ce of the peripheral control RAM 4150c and output to the VDP 4160a with built-in sound source. As described above, the peripheral control MPU 4150a converts the screen data arranged in time series into the screen generation schedule data according to the screen generation schedule data set in the schedule data storage area 4150cae every time the V blank signal is input. In addition, the first screen data is output to the built-in sound source VDP 4160a one by one.

また、周辺制御MPU4150aは、主制御基板4100からのコマンドと対応する音生成用スケジュールデータの先頭の音指令データを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して周辺制御RAM4150cのスケジュールデータ記憶領域に4150caeにセットし、このスケジュールデータ記憶領域4150caeにセットされた音生成用スケジュールデータの先頭の音指令データを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して音源内蔵VDP4160aに出力した後に、Vブランク信号が入力されたことを契機として、スケジュールデータ記憶領域4150caeにセットされた音生成用スケジュールデータに従って先頭の音指令データに続く次の音指令データを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して音源内蔵VDP4160aに出力する。このように、周辺制御MPU4150aは、スケジュールデータ記憶領域4150caeにセットされた音生成用スケジュールデータに従って、この音生成用スケジュールデータに時系列に配列された音指令データを、Vブランク信号が入力されるごとに、先頭の音指令データから1つずつ音源内蔵VDP4160aに出力する。   Also, the peripheral control MPU 4150a receives the sound command data at the head of the sound generation schedule data corresponding to the command from the main control board 4100 from the peripheral control ROM 4150b of the peripheral control unit 4150 or the various control data copy areas 4150ce of the peripheral control RAM 4150c. Extracted and set to 4150cae in the schedule data storage area of the peripheral control RAM 4150c, and the head sound command data of the sound generation schedule data set in the schedule data storage area 4150cae is the peripheral control ROM 4150b of the peripheral control unit 4150 or the peripheral After extracting from the various control data copy area 4150ce of the control RAM 4150c and outputting it to the sound source built-in VDP 4160a, the schedule data recording is triggered by the input of the V blank signal. In accordance with the sound generation schedule data set in the area 4150cae, the next sound command data following the head sound command data is extracted from the peripheral control ROM 4150b of the peripheral control unit 4150 or the various control data copy areas 4150ce of the peripheral control RAM 4150c, and the sound source Output to built-in VDP 4160a. As described above, the peripheral control MPU 4150a receives the sound command data arranged in time series in the sound generation schedule data according to the sound generation schedule data set in the schedule data storage area 4150cae, and the V blank signal is input. Each time, the head sound command data is output to the built-in sound source VDP 4160a one by one.

<音源内蔵VDP>
音源内蔵VDP4160a(描画制御手段)は、上述した内蔵音源の他にも、データを一時的に記憶可能な内蔵RAMを備えている。このような内蔵RAMの一部として、音源内蔵VDP4160aは、スプライトデータなどの素材画像データを一時的に記憶可能であって繰り返し多数の素材画像データが上書きされる転送メモリとして後述する素材画像RAM(図示せず)を備えている。
<VDP with built-in sound source>
The sound source built-in VDP 4160a (drawing control means) includes a built-in RAM capable of temporarily storing data in addition to the above-described built-in sound source. As a part of such a built-in RAM, the sound source built-in VDP 4160a can store material image data such as sprite data temporarily, and a material image RAM (to be described later) as a transfer memory overwritten with a large number of material image data repeatedly. (Not shown).

さらに音源内蔵VDP4160aは、そのような内蔵RAMの一部として、周辺制御MPU4150aから画面生成用スケジュールデータに含まれる画面データが入力されると、この入力された画面データに基づいて、図9に示すように、液晶及び音制御ROM4160bから遊技盤側キャラクタデータ及び上皿側キャラクタデータをそれぞれ抽出して遊技盤側スプライトデータ及び上皿側スプライトデータ(以下、単に「スプライトデータ」という)を作成して遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に表示するために各々生成された1画面分(1フレーム分)の描画データを記憶するともに、さらに映像加工用に1画面分(1フレーム分)の描画データを記憶するためのVRAMも内蔵している(以下、「内蔵VRAM」と記載する。)。音源内蔵VDP4160aは、内蔵VRAM(のフレームバファ)上に生成した描画データのうち、遊技盤側液晶表示装置1900に対する画像データをチャンネルCH1から遊技盤側液晶表示装置1900に出力するとともに、上皿側液晶表示装置244に対する画像データをチャンネルCH2から上皿側液晶表示装置244に出力することで、遊技盤側液晶表示装置1900と上皿側液晶表示装置244との同期化を図っている。このように、周辺制御MPU4150aが遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に表示する1画面分(1フレーム分)の画面データを音源内蔵VDP4160aに出力すると、音源内蔵VDP4160aは、この入力された画面データに基づいて液晶及び音制御ROM4160bからキャラクタデータを抽出してスプライトデータを作成して遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に表示する1画面分(1フレーム分)の描画データを内蔵VRAM上で生成し、この生成した描画データうち、遊技盤側液晶表示装置1900に対する画像データをチャンネルCH1から遊技盤側液晶表示装置1900に出力するとともに、上皿側液晶表示装置244に対する画像データをチャンネルCH2から上皿側液晶表示装置244に出力する。つまり、「1画面分(1フレーム分)の画面データ」とは、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に表示する1画面分(1フレーム分)の描画データを内蔵VRAM上で生成するためのデータのことである。なお、以下の説明では、液晶及び音制御ROM4160bからキャラクタデータを抽出して(読み出して)スプライトデータを作成することを、略して「液晶及び音制御ROM4160bからスプライトデータを読み出す」とも表現する。   Furthermore, when the screen data included in the screen generation schedule data is input from the peripheral control MPU 4150a as a part of such a built-in RAM, the built-in sound source VDP 4160a is shown in FIG. 9 based on the input screen data. Thus, the game board side character data and the upper plate side character data are respectively extracted from the liquid crystal and sound control ROM 4160b to create the game board side sprite data and the upper plate side sprite data (hereinafter simply referred to as “sprite data”). The drawing data for one screen (one frame) respectively generated for display on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244 is stored, and one screen (1 frame) is further used for video processing. A VRAM for storing drawing data for frames) is also built in (hereinafter referred to as “built-in VR”). To as M ".). The sound source built-in VDP 4160a outputs image data for the game board side liquid crystal display device 1900 out of the drawing data generated on the built-in VRAM (frame buffer) from the channel CH1 to the game board side liquid crystal display device 1900. By outputting image data for the liquid crystal display device 244 from the channel CH2 to the upper plate side liquid crystal display device 244, the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244 are synchronized. Thus, when the peripheral control MPU 4150a outputs the screen data for one screen (one frame) displayed on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244 to the sound source built-in VDP 4160a, the sound source built-in VDP 4160a Character data is extracted from the liquid crystal and sound control ROM 4160b based on the input screen data to create sprite data and displayed on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244 (1 Frame data) is generated on the built-in VRAM, and among the generated drawing data, image data for the game board side liquid crystal display device 1900 is output from the channel CH1 to the game board side liquid crystal display device 1900, and the upper plate side The image data for the liquid crystal display device 244 is moved up from the channel CH2. And outputs to the side the liquid crystal display device 244. That is, “screen data for one screen (for one frame)” means drawing data for one screen (for one frame) displayed on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244. This is the data to generate above. In the following description, the extraction of character data from the liquid crystal and sound control ROM 4160b (reading) to create sprite data is also abbreviated as “reading sprite data from the liquid crystal and sound control ROM 4160b”.

また、音源内蔵VDP4160aは、1画面分(1フレーム分)の描画データを、チャンネルCH1から遊技盤側液晶表示装置1900に出力するとともに、上皿側液晶表示装置244に対する画像データをチャンネルCH2から上皿側液晶表示装置244に出力すると、周辺制御MPU4150aからの画面データを受け入れることができる状態である旨を伝えるVブランク信号を周辺制御MPU4150aに出力する。本実施形態では、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244のフレーム周波数(1秒間あたりの画面更新回数)として概ね秒間30fpsに設定しているため、Vブランク信号が出力される間隔は、約33.3ms(=1000ms÷30fps)となっている。周辺制御MPU4150aは、このVブランク信号が入力されたことを契機として、後述する周辺制御部Vブランク信号割り込み処理を実行するようになっている。ここで、Vブランク信号が出力される間隔は、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244の液晶サイズによって多少変化する。また、周辺制御MPU4150aと音源内蔵VDP4160aとが実装された周辺制御基板4140の製造ロットにおいてもVブランク信号が出力される間隔が多少変化する場合がある。   The sound source built-in VDP 4160a outputs drawing data for one screen (one frame) from the channel CH1 to the game board side liquid crystal display device 1900, and also outputs image data for the upper plate side liquid crystal display device 244 from the channel CH2. When output to the dish-side liquid crystal display device 244, a V blank signal indicating that the screen data from the peripheral control MPU 4150a can be received is output to the peripheral control MPU 4150a. In this embodiment, since the frame frequency (number of screen updates per second) of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244 is set to approximately 30 fps per second, a V blank signal is output. The interval is about 33.3 ms (= 1000 ms ÷ 30 fps). The peripheral control MPU 4150a executes a peripheral control unit V blank signal interrupt process to be described later when this V blank signal is input. Here, the interval at which the V blank signal is output varies somewhat depending on the liquid crystal sizes of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244. In addition, even in the manufacturing lot of the peripheral control board 4140 on which the peripheral control MPU 4150a and the built-in sound source VDP 4160a are mounted, the interval at which the V blank signal is output may change somewhat.

なお、音源内蔵VDP4160aは、フレームバッファ方式が採用されている。この「フレームバッファ方式」とは、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244の画面に描画する1画面分(1フレーム分)の描画データをフレームバッファ(内蔵VRAM)に保持し、このフレームバッファに保持した1画面分(1フレーム分)の描画データを、遊技盤側液晶表示装置1900及び上皿側液晶表示装置244に出力する方式である。本実施形態では、いわゆるダブルバッファ方式を採用している。   The sound source built-in VDP 4160a employs a frame buffer method. In this “frame buffer system”, drawing data for one screen (one frame) to be drawn on the screens of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244 is held in a frame buffer (built-in VRAM). The drawing data for one screen (one frame) held in the frame buffer is output to the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 244. In this embodiment, a so-called double buffer method is adopted.

また、音源内蔵VDP4160aは、主制御基板4100からのコマンドに基づいて周辺制御MPU4150aから上述した音指令データが入力されると、図9に示すように、液晶及び音制御ROM4160bに記憶されている音楽や効果音等の音データを抽出して内蔵音源を制御することにより、音指令データに規定された、トラック番号に従って音楽及び効果音等の音データをトラックに組み込むとともに、出力チャンネル番号に従って使用する出力チャンネルを設定して本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音楽や効果音等をシリアル化してオーディオデータとしてオーディオデータ送信IC4160cに出力する。   When the sound command data described above is input from the peripheral control MPU 4150a based on a command from the main control board 4100, the built-in sound source VDP 4160a, as shown in FIG. 9, stores music stored in the liquid crystal and sound control ROM 4160b. By extracting sound data such as sound and sound effects and controlling the built-in sound source, sound data such as music and sound effects are incorporated into the track according to the track number specified in the sound command data and used according to the output channel number The output channel is set and the music, sound effects, etc. flowing from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5 are serialized and output as audio data to the audio data transmission IC 4160c.

なお、音指令データには、音データを組み込むトラックの音量を調節するためのサブボリューム値も含まれており、音源内蔵VDP4160aの内蔵音源における複数のトラックには、音楽や効果音等の演出音の音データとその音量を調節するサブボリューム値の他に、パチンコ遊技機1の不具合の発生やパチンコ遊技機1に対する不正行為をホールの店員等に報知するための報知音の音データとその音量を調節するサブボリューム値が組み込まれる。具体的には、演出音に対しては、上述した、音量調整ボリューム4140aのつまみ部が回動操作されて調節された基板ボリュームがサブボリューム値として設定され、報知音に対しては、音量調整ボリューム4140aのつまみ部の回動操作に基づく音量調整に全く依存されず最大音量がサブボリューム値として設定されるようになっている。演出音のサブボリューム値は、操作ユニット400のダイヤル操作部401や押圧操作部405を操作することで後述する設定モードへ移行して調節する。   Note that the sound command data also includes a sub-volume value for adjusting the volume of the track in which the sound data is incorporated, and a plurality of tracks in the built-in sound source of the sound source built-in VDP 4160a include effect sounds such as music and sound effects. In addition to the sound data and the sub-volume value for adjusting the sound volume, the sound data of the notification sound and the sound volume for notifying the clerk of the hall of the occurrence of the malfunction of the pachinko gaming machine 1 and the illegal act against the pachinko gaming machine 1 Incorporates a sub-volume value that adjusts. Specifically, for the production sound, the substrate volume adjusted by rotating the knob portion of the volume adjustment volume 4140a described above is set as the sub volume value, and for the notification sound, the volume adjustment is performed. The maximum volume is set as the sub-volume value without depending on the volume adjustment based on the turning operation of the knob portion of the volume 4140a. The sub-volume value of the effect sound is adjusted by shifting to a setting mode to be described later by operating the dial operation unit 401 or the pressing operation unit 405 of the operation unit 400.

また、音指定データには、出力するチャンネルの音量を調節するためのマスターボリューム値も含まれており、音源内蔵VDP4160aの内蔵音源における複数の出力チャンネルには、音源内蔵VDP4160aの内蔵音源における複数のトラックうち、使用するトラックに組み込まれた演出音の音データと、使用するトラックに組み込まれた演出音の音量を調節するサブボリューム値と、を合成して、この合成した演出音の音量を、実際に、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音量となるマスターボリューム値まで増幅し、この増幅した演出音をシリアル化してオーディオデータとしてオーディオデータ送信IC4160cに出力するようになっている。   The sound designation data also includes a master volume value for adjusting the volume of the output channel. A plurality of output channels in the built-in sound source of the built-in sound source VDP 4160a include a plurality of sound channels in the built-in sound source of the sound source built-in VDP 4160a. Of the tracks, the sound data of the production sound built into the track to be used is combined with the sub-volume value that adjusts the volume of the production sound built into the track to be used. Actually, it amplifies the master volume value that is the volume that flows from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5, and serializes the amplified effect sound as audio data. The data is output to the data transmission IC 4160c.

本実施形態では、マスターボリューム値は一定値に設定されており、合成した演出音の音量が最大音量であるときに、マスターボリューム値まで増幅されることにより、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音量が許容最大音量となるように設定されている。具体的には、演出音に対しては、複数のトラックのうち、使用するトラックに組み込まれた演出音の音データと、使用するトラックに組み込まれた演出音の音量を調節するサブボリューム値として設定された音量調整ボリューム4140aのつまみ部が回動操作されて調節された基板ボリュームと、を合成して、この合成した演出音の音量を、実際に、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音量となるマスターボリューム値まで増幅し、この増幅した演出音をシリアル化してオーディオデータとしてオーディオデータ送信IC4160cに出力し、報知音に対しては、使用するトラックに組み込まれた報知音の音データと、使用するトラックに組み込まれた報知音の音量を調節するサブボリューム値として設定された音量調整ボリューム4140aのつまみ部の回動操作に基づく音量調整に全く依存されず最大音量と、を合成して、この合成した報知音の音量を、実際に、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音量となるマスターボリューム値まで増幅し、この増幅した報知音をシリアル化してオーディオデータとしてオーディオデータ送信IC4160cに出力する。   In the present embodiment, the master volume value is set to a constant value, and when the volume of the combined production sound is the maximum volume, the master volume value is amplified to the speaker volume 920 provided in the main body frame 3. The volume that flows from the speaker housed in the speaker and the speaker provided on the door frame 5 is set to be an allowable maximum volume. Specifically, for the production sound, among the multiple tracks, the sound data of the production sound incorporated in the track to be used and the sub-volume value that adjusts the volume of the production sound incorporated in the track to be used The set volume of the volume adjustment volume 4140a is combined with the substrate volume adjusted by turning the volume, and the volume of the combined effect sound is actually applied to the speaker box 920 provided in the main body frame 3. It amplifies up to the master volume value that is the volume that flows from the speakers that are housed and the speakers provided on the door frame 5, serializes the amplified effect sound, and outputs it to the audio data transmission IC 4160c as audio data. , Sound data of the notification sound built into the track to be used and the volume of the notification sound built into the track to be used By combining the maximum volume without depending on the volume adjustment based on the turning operation of the knob portion of the volume adjustment volume 4140a set as the sub-volume value to be adjusted, the volume of the synthesized notification sound is actually Amplification is performed up to a master volume value that is a volume flowing from a speaker housed in the speaker box 920 provided in the main body frame 3 and a speaker provided in the door frame 5, and the amplified notification sound is serialized and audio data transmission IC 4160c as audio data. Output to.

ここで、演出音が本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れている場合に、パチンコ遊技機1の不具合の発生やパチンコ遊技機1に対する不正行為をホールの店員等に報知するため報知音を流す制御について簡単に説明すると、まず演出音が組み込まれているトラックのサブボリューム値を強制的に消音に設定し、この演出音が組み込まれたトラックの音データと、その消音に設定したサブボリューム値と、報知音が組み込まれたトラックの音データと、報知音の音量が最大音量に設定されたサブボリューム値と、を合成し、この合成した演出音の音量と報知音の音量とを、実際に、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音量となるマスターボリューム値まで増幅し、この増幅した演出音及び報知音をシリアル化してオーディオデータとしてオーディオデータ送信IC4160cに出力する。   Here, when the production sound is flowing from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5, the occurrence of the malfunction of the pachinko gaming machine 1 or the illegality to the pachinko gaming machine 1 A brief explanation of the control for playing a notification sound in order to notify the store clerk of the action, etc. First, the sub volume value of the track in which the production sound is incorporated is forcibly set to mute, and this production sound is incorporated. The sound data of the track, the sub-volume value set to mute the sound, the sound data of the track in which the notification sound is incorporated, and the sub-volume value where the volume of the notification sound is set to the maximum volume are combined, and this combination The volume of the produced sound and the volume of the notification sound are actually set in the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5. Amplified to a master volume value as the volume flowing from over, and outputs the amplified effect sound and alarm sound as an audio data to the audio data transmission IC4160c Serialize.

つまり、実際に、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音は、最大音量の報知音だけが流れることとなる。このとき、演出音は消音となっているため、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れないものの、演出音は、上述した音生成用スケジュールデータに従って進行している。本実施形態では、報知音は所定期間(例えば、90秒)だけ本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れるようになっており、この所定期間経過すると、これまで消音に強制的に設定された音生成用スケジュールデータに従って進行している演出音の音量が、音量調整ボリューム4140aのつまみ部が回動操作されて調節された基板ボリュームがサブボリューム値として再び設定され(このとき、表示ボタンを操作することで設定モードへ移行して調節されている場合には、その調節された演出音のサブボリューム値に設定され)、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れるようになっている。   In other words, the sound that flows from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5 is only the notification sound of the maximum volume. At this time, since the production sound is muted, the production sound does not flow from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5, but the production sound is the sound generation schedule described above. Progressing according to data. In this embodiment, the notification sound flows from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5 for a predetermined period (for example, 90 seconds). After a lapse of time, the volume of the effect sound that has been progressing according to the sound generation schedule data that has been forcibly set to mute so far has been adjusted by rotating the knob portion of the volume adjustment volume 4140a. Is set again as a value (at this time, when the display button is operated to adjust to the setting mode, the sub-volume value of the adjusted effect sound is set) and provided in the body frame 3 From the speakers accommodated in the speaker box 920 and the speakers provided on the door frame 5.

このように、演出音が本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れている場合に、パチンコ遊技機1の不具合の発生やパチンコ遊技機1に対する不正行為をホールの店員等に報知するため報知音が流れるときには、演出音の音量が消音になって報知音が本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れるものの、この消音となった演出音は、音生成用スケジュールデータに従って進行しているため、報知音が所定期間経過して本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れなくなると、演出音は、報知音が流れ始めたところから再び流れ始めるのではなく、報知音が流れ始めて所定期間経過した時点まで音生成用スケジュールデータに従って進行したところから再び流れ始めるようになっている。   As described above, when the production sound flows from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5, the occurrence of the malfunction of the pachinko gaming machine 1 or the pachinko gaming machine 1 When a notification sound flows to notify the store clerk or the like of an illegal act, the volume of the production sound is muted and the notification sound is provided in the speaker and door frame 5 housed in the speaker box 920 provided in the main body frame 3. Although the silenced production sound flows from the speaker, it proceeds according to the schedule data for sound generation, and therefore the speaker and door accommodated in the speaker box 920 provided in the main body frame 3 after a predetermined period of time has passed. When the speaker provided in frame 5 stops flowing, the production sound does not start again from where the notification sound started to flow, So that the start flowing again from where it proceeds in accordance with sound generation schedule data up to the point where it was starting to flow the lapse of a predetermined period of time.

<液晶及び音制御ROM>
液晶及び音制御ROM4160bは、図9に示すように、遊技盤側液晶表示装置1900の表示領域に描画するための遊技盤側キャラクタデータと、上皿側液晶表示装置244の表示領域に描画するための上皿側キャラクタデータと、が予め記憶されるとともに、音楽、効果音、報知音、及び告知音等の各種の音データも予め記憶されている。
<LCD and sound control ROM>
As shown in FIG. 9, the liquid crystal and sound control ROM 4160b is used for drawing on the game board side character data for drawing in the display area of the game board side liquid crystal display device 1900 and in the display area of the upper plate side liquid crystal display device 244. The upper plate side character data is stored in advance, and various sound data such as music, sound effects, notification sounds, and notification sounds are also stored in advance.

<オーディオデータ送信IC>
オーディオデータ送信IC4160cは、音源内蔵VDP4160aからのシリアル化したオーディオデータが入力されると、右側オーディオデータをプラス信号、マイナス信号とする差分方式のシリアルデータとして枠装飾駆動アンプ基板194に向かって送信するとともに、左側オーディオデータをプラス信号、マイナス信号とする差分方式のシリアルデータとして枠装飾駆動アンプ基板194に向かって送信する。これにより、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから各種演出に合わせた音楽や効果音等がステレオ再生されるようになっている。
<Audio data transmission IC>
When the audio data transmission IC 4160c receives the serialized audio data from the sound source built-in VDP 4160a, the audio data transmission IC 4160c transmits the right audio data to the frame decoration drive amplifier substrate 194 as differential serial data having a plus signal and a minus signal. At the same time, the left audio data is transmitted toward the frame decoration drive amplifier board 194 as differential serial data using a plus signal and a minus signal. Thereby, music, sound effects, etc. adapted to various effects are reproduced in stereo from the speakers housed in the speaker box 920 provided in the main body frame 3 and the speakers provided in the door frame 5.

なお、オーディオデータ送信IC4160cは、周辺制御基板4140から枠装飾駆動アンプ基板194に亘る基板間を、左右それぞれ差分方式のシリアルデータとしてオーディオデータを出力することにより、例えば、左側オーディオデータのプラス信号、マイナス信号にノイズの影響を受けても、プラス信号に乗ったノイズ成分と、マイナス信号に乗ったノイズ成分と、を枠装飾駆動アンプ基板194で合成して1つの左側オーディオデータにする際に、互いにキャンセルし合ってノイズ成分が除去されるようになっているため、ノイズ対策を講じることができる。   Note that the audio data transmission IC 4160c outputs audio data between the boards extending from the peripheral control board 4140 to the frame decoration drive amplifier board 194 as left and right difference type serial data, for example, a positive signal of left audio data, Even when the negative signal is affected by noise, the frame decoration drive amplifier board 194 combines the noise component riding on the plus signal and the noise component riding on the minus signal into one left audio data. Since noise components are canceled by canceling each other, noise countermeasures can be taken.

[2−2−3.RTC制御部]
年月日を特定するカレンダー情報と時分秒を特定する時刻情報とを保持するRTC制御部4165は、図7に示すように、RTC4165aを中心として構成されている。このRTC4165aには、カレンダー情報と時刻情報とが保持されるRAM4165aa(計時記憶部)が内蔵(以下、「RTC内蔵RAM4165aa」と記載する。)されている。RTC4165aは、駆動用電源及びRTC内蔵RAM4165aaのバックアップ用電源(第2の電源)として電池4165b(本実施形態では、ボタン電池を採用している。)から電力が供給されるようになっている。つまりRTC4165aは、周辺制御基板4140(パチンコ遊技機1)からの電力が全く供給されずに、周辺制御基板4140(パチンコ遊技機1)と独立して電池4165bから電力が供給されている。これにより、RTC4165aは、パチンコ遊技機1の電力が遮断されても、電池4165bからの電力供給により、カレンダー情報や時刻情報を更新保持する。なお、電池4165bは、電力(第1の電力)を供給する主電源(第1の電源)とは別に、後述する停電予告信号の受け取りを契機として電力(第2の電力)を供給する一方、主電源による電力の供給が開始されたことを契機として電力(第2の電力)の供給を停止する形態であっても良く、このような電源形態である場合、RTC4165aは、主電源又は電池4165bから電力が供給される。
[2-2-3. RTC control unit]
As shown in FIG. 7, the RTC control unit 4165 that holds calendar information for specifying the date and time and time information for specifying the hour, minute, and second is configured with the RTC 4165a as the center. The RTC 4165a incorporates a RAM 4165aa (timekeeping storage unit) that holds calendar information and time information (hereinafter referred to as “RTC built-in RAM 4165aa”). The RTC 4165a is supplied with power from a battery 4165b (a button battery is used in this embodiment) as a driving power source and a backup power source (second power source) for the RTC built-in RAM 4165aa. That is, the RTC 4165a is not supplied with any power from the peripheral control board 4140 (pachinko gaming machine 1), but is supplied with power from the battery 4165b independently of the peripheral control board 4140 (pachinko gaming machine 1). Thereby, even if the power of the pachinko gaming machine 1 is cut off, the RTC 4165a updates and holds calendar information and time information by supplying power from the battery 4165b. The battery 4165b supplies power (second power) triggered by the reception of a power failure warning signal described later, separately from the main power supply (first power supply) that supplies power (first power). The supply of power (second power) may be stopped when the supply of power by the main power supply is started. In such a power supply form, the RTC 4165a is connected to the main power supply or the battery 4165b. Is supplied with power.

[2−2−4.音量調整ボリューム]
音量調整ボリューム4140aは、上述したように、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音楽や効果音等の音量を、つまみ部を回動操作することにより調節する。音量調整ボリューム4140aは、上述したように、そのつまみ部が回動操作されることにより抵抗値が可変するようになっており、電気的に接続された周辺制御A/Dコンバータ4150akがつまみ部の回転位置における抵抗値により分圧された電圧を、アナログ値からデジタル値に変換して、値0〜値1023までの1024段階の値に変換している。本実施形態では、上述したように、1024段階の値を7つに分割して基板ボリューム0〜6として管理している。基板ボリューム0では消音、基板ボリューム6では最大音量に設定されており、基板ボリューム0から基板ボリューム6に向かって音量が大きくなるようにそれぞれ設定されている。基板ボリューム0〜6に設定された音量となるように液晶及び音制御部4160(音源内蔵VDP4160a)を制御して本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから音楽や効果音が流れるようになっている。
[2-2-4. Volume adjustment volume]
As described above, the volume adjustment volume 4140a is used to rotate the knob portion to adjust the volume of music, sound effects, etc. flowing from the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5. To adjust. As described above, the volume adjustment volume 4140a is configured such that the resistance value can be changed by rotating the knob portion, and the electrically connected peripheral control A / D converter 4150ak is connected to the knob portion. The voltage divided by the resistance value at the rotational position is converted from an analog value to a digital value, and converted into a value in 1024 steps from 0 to 1023. In the present embodiment, as described above, the values of the 1024 steps are divided into seven and managed as the substrate volumes 0 to 6. The substrate volume 0 is set to mute, the substrate volume 6 is set to the maximum volume, and the volume is set to increase from the substrate volume 0 toward the substrate volume 6. The liquid crystal and sound control unit 4160 (VDP 4160a with built-in sound source) is controlled so that the volume is set to the substrate volume 0 to 6, and the speaker and door frame 5 provided in the speaker box 920 provided in the main body frame 3 are provided. Music and sound effects are heard from the speakers.

[3.主制御基板から送信される各種コマンド]
次に、主制御基板4100から他の制御基板に送信される各種コマンドについて説明する。主制御基板4100から各種コマンドが送信される制御基板には、例えば、遊技球の払出制御を行う払出制御基板4110や遊技の演出を行う周辺制御基板4140などがある。ここでは、主制御基板4100から周辺制御基板4140に送信される各種コマンドについて図10及び図11を参照しながら説明する。
[3. Various commands sent from the main control board]
Next, various commands transmitted from the main control board 4100 to other control boards will be described. Control boards to which various commands are transmitted from the main control board 4100 include, for example, a payout control board 4110 that performs payout control of game balls, and a peripheral control board 4140 that provides game effects. Here, various commands transmitted from the main control board 4100 to the peripheral control board 4140 will be described with reference to FIGS.

図10は主制御基板から周辺制御基板へ送信される各種コマンドの一例を示すテーブルであり、図11は図10の主制御基板から周辺制御基板へ送信される各種コマンドのつづきを示すテーブルである。   FIG. 10 is a table showing an example of various commands transmitted from the main control board to the peripheral control board, and FIG. 11 is a table showing the continuation of various commands transmitted from the main control board to the peripheral control board in FIG. .

主制御基板4100の主制御MPU4100aは、遊技の進行に基づいて周辺制御基板4140に各種コマンドを送信する。各種コマンドは、図10及び図11に示すように、特図1同調演出関連、特図2同調演出関連、大当り関連、電源投入、普図同調演出関連、普通電役演出関連、報知表示、状態表示、テスト関連、及びその他に区分されている。これらの各種コマンドは、2バイト(16ビット)の記憶容量を有するコマンドであり、図10及び図11に示すように、1バイト(8ビット)の記憶容量を有するとともにコマンドの種類を示すステータス(STTS値)と、1バイト(8ビット)の記憶容量を有するとともに演出のバリエーションを示すモード(MODE値)と、から構成されている。   The main control MPU 4100a of the main control board 4100 transmits various commands to the peripheral control board 4140 based on the progress of the game. As shown in FIG. 10 and FIG. 11, the various commands are related to special figure 1 synchronized effect, special figure 2 synchronized effect related, jackpot related, power-on, general synchronized effect related, ordinary electric role effect related, notification display, state Classified into display, test related, and others. These various commands are commands having a storage capacity of 2 bytes (16 bits). As shown in FIG. 10 and FIG. 11, the status (1) has a storage capacity of 1 byte (8 bits) and indicates the type of command. (STTS value) and a mode (MODE value) having a storage capacity of 1 byte (8 bits) and showing variations in performance.

これらステータス(STTS値)及びモード(MODE値)には、主制御内蔵RAMの送信情報記憶領域に確保された複数の送信情報記憶領域(以下「RWM」ともいう)の値が使用される。つまり、各コマンド8ビットのうち、例えば上位3ビットは第一送信情報記憶領域(RWM1)の値を用いる一方、下位5ビットは第二送信情報記憶領域(RWM2)の値を用いるようにする。このようにすると、周辺制御基板4140では、周辺制御MPU4150aが、主制御基板4100から送信されるコマンドを受信すると、このコマンドをビット単位で分解してステータスやモードを把握できるようになる。   For these status (STTS value) and mode (MODE value), values of a plurality of transmission information storage areas (hereinafter also referred to as “RWM”) secured in the transmission information storage area of the main control built-in RAM are used. That is, among the 8 bits of each command, for example, the upper 3 bits use the value of the first transmission information storage area (RWM1), while the lower 5 bits use the value of the second transmission information storage area (RWM2). In this way, in the peripheral control board 4140, when the peripheral control MPU 4150a receives a command transmitted from the main control board 4100, the command can be disassembled bit by bit to grasp the status and mode.

[3−1.特図1同調演出関連]
特図1同調演出関連は、図6に示した第一始動口スイッチ3022からの検出信号に基づくものであり、その区分には、図10に示すように、図6に示した機能表示基板1191の第一特別図柄表示器1185に関する、特図1同調演出開始、特別図柄1指定、特図1同調演出終了、及び変動時状態指定という名称のコマンドから構成されている。これらの各種コマンドには、ステータスとして「A*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-1. Special Figure 1 Entrainment Production Related]
The special figure 1 tuning effect related is based on the detection signal from the first starter switch 3022 shown in FIG. 6, and is divided into the function display board 1191 shown in FIG. 6 as shown in FIG. The first special symbol display 1185 is composed of commands named special figure 1 synchronization effect start, special symbol 1 designation, special figure 1 tuning effect end, and variable state designation. These various commands are assigned “A * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

特図1同調演出開始コマンドは、モードで指定された演出パターンで特図同調演出開始を指示するためのコマンドであり、特別図柄1指定コマンドは、はずれ、特定大当り、非特定大当りを指定するためのコマンドである。特図1同調演出終了コマンドは、特図1同調演出終了を指示するためのコマンドであり、変動時状態指定コマンドは、確率及び時短状態の少なくとも一方への移行を指示するためのコマンドである。   The special figure 1 synchronized production start command is a command for instructing the start of the special figure synchronized production with the production pattern designated in the mode, and the special symbol 1 designation command is used for designating off, specific big hit, and non-specific big hit. Command. The special figure 1 tuning effect end command is a command for instructing the end of the special figure 1 tuning effect, and the change state designation command is a command for instructing a transition to at least one of the probability and the short time state.

これらの各種コマンドの送信タイミングとしては、特図1同調演出開始コマンドは、特別図柄1変動開始時に送信され、特別図柄1指定コマンドは、特図1同調演出開始の直後に送信され、特図1同調演出終了コマンドは、特別図柄1変動時間経過時(特別図柄1確定時)に送信され、変動時状態指定コマンドは、特図当落情報指定の直後に送信される。なお、これらの各種コマンドは、実際には後述する主制御側タイマ割り込み処理における周辺制御基板コマンド送信処理(ステップS92)で送信される(コマンド送信手段)。   As for the transmission timing of these various commands, the special symbol 1 tuning effect start command is transmitted at the start of the special symbol 1 fluctuation start, and the special symbol 1 designation command is transmitted immediately after the special symbol 1 tuning effect starts. The synchronized production end command is transmitted when the special symbol 1 variation time elapses (when the special symbol 1 is confirmed), and the variation state designation command is transmitted immediately after the special symbol winning information designation. These various commands are actually transmitted in the peripheral control board command transmission process (step S92) in the main control timer interruption process described later (command transmission means).

[3−2.特図2同調演出関連]
特図2同調演出関連は、図6に示した第二始動口スイッチ2109からの検出信号に基づくものであり、その区分には、図10に示すように、図6に示した機能表示基板1191の第二特別図柄表示器1186に関する、特図2同調演出開始、特別図柄2指定、及び特図2同調演出終了という名称のコマンドから構成されている。これらの各種コマンドには、ステータスとして「B*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-2. Special figure 2 synchronized production]
The special figure 2 synchronization effect related is based on the detection signal from the second start port switch 2109 shown in FIG. 6, and is divided into the function display board 1191 shown in FIG. 6 as shown in FIG. The second special symbol display 1186 is composed of commands with names of special figure 2 synchronization effect start, special symbol 2 designation, and special figure 2 synchronization effect end. These various commands are assigned “B * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

特図2同調演出開始コマンドは、モードで指定された演出パターンで特図同調演出開始を指示するものであり、特別図柄2指定コマンドは、はずれ、特定大当り、非特定大当りを指定するものであり、特図2同調演出終了は、特図2同調演出終了を指示するものである。   The special figure 2 synchronized production start command instructs the start of the special figure synchronized production with the production pattern designated in the mode, and the special symbol 2 designated command designates the off, specific big hit, and non-specific big hit. The end of the special figure 2 synchronization effect instructs the end of the special figure 2 synchronization effect.

これらの各種コマンドの送信タイミングとして、特図2同調演出開始コマンドは、特別図柄2変動開始時に送信され、特別図柄2指定コマンドは、特図2同調演出開始の直後に送信され、特図2同調演出終了コマンドは、特別図柄2変動時間経過時(特別図柄2確定時)に送信される。なお、これらの各種コマンドは、実際には主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で送信される。   As the transmission timing of these various commands, the special symbol 2 tuning effect start command is transmitted when the special symbol 2 fluctuation starts, and the special symbol 2 designation command is transmitted immediately after the start of the special symbol 2 tuning effect. The effect end command is transmitted when the special symbol 2 variation time has elapsed (when the special symbol 2 is confirmed). These various commands are actually transmitted in the peripheral control board command transmission process in step S92 in the main control timer interrupt process.

[3−3.大当り関連]
大当り関連という区分には、図10に示すように、大当りオープニング、大入賞口1開放N回目表示、大入賞口1閉鎖表示、大入賞口1カウント表示、大当りエンディング、大当り図柄表示、小当りオープニング、小当り開放表示、小当りカウント表示、及び小当りエンディングという名称のコマンドから構成されている。これらの各種コマンドには、ステータスとして「C*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-3. Jackpot related]
As shown in FIG. 10, the jackpot-related category includes a jackpot opening, a grand prize opening 1 open Nth display, a big prize opening 1 closing display, a big prize opening 1 count display, a big hit ending, a big hit symbol display, and a small hit opening , A small hit opening display, a small hit count display, and a command with the names of small hit ending. These commands are assigned “C * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

大当りオープニングコマンドは、大当りオープニング開始を指示するものであり、大入賞口1開放N回目表示コマンドは、1〜16ラウンド目の大入賞口1開放中開始(、アタッカユニット2100の大入賞口2103のN回目のラウンドの開放中又は開放開始)を指示するものであり、大入賞口1閉鎖表示コマンドは、ラウンド間の大入賞口1閉鎖中開始(アタッカユニット2100の大入賞口2103のラウンド間の閉鎖中又は閉鎖開始)を指示するものであり、大入賞口1カウント表示コマンドは、カウント0〜10個をカウントした旨(図6に示したカウントスイッチ2110によって検出された、大入賞口2103に入球した遊技球の球数)を伝えるものであり、大当りエンディングコマンドは、大当りエンディング開始を指示するものであり、大当り図柄表示コマンドは、大当り図柄情報表示を指示するものである。   The jackpot opening command is for instructing the start of the jackpot opening, and the Nth display command for the winning prize opening 1 is started during the opening of the winning prize opening 1 for the 1st to 16th rounds (the opening of the winning prize opening 2103 of the attacker unit 2100). The Nth round opening is instructed, and the grand prize opening 1 closing display command is the start of closing the big winning opening 1 between rounds (between the rounds of the big winning opening 2103 of the attacker unit 2100) The winning prize 1 count display command indicates that 0 to 10 counts have been counted (in the winning prize opening 2103 detected by the count switch 2110 shown in FIG. 6). The number of game balls entered), the jackpot ending command indicates the start of the jackpot ending Are those, big hit symbol display command is for instructing the big hit symbol information display.

また、小当りオープニングコマンドは、小当りオープニング開始を指示するものであり、小当り開放表示コマンドは、小当り開放中開始(小当り時における、アタッカユニット2100の大入賞口2103の開放中又は開放開始)を指示するものであり、小当りカウント表示コマンドは、小当り中大入賞口入賞演出(小当り中における、大入賞口2103に入球した遊技球がカウントスイッチ2110によって検出された場合における演出)を指示するものであり、小当りエンディングコマンドは、小当りエンディング開始を指示するものである。   The small hit opening command is for instructing the start of the small hit opening, and the small hit opening display command is for starting the small hit opening (during opening or releasing the big winning opening 2103 of the attacker unit 2100 at the time of the small hit). The small hit count display command is used when the count switch 2110 detects a game ball that has entered the big winning opening 2103 during the small hit. The small hit ending command is an instruction to start the small hit ending.

これらの各種コマンドの送信タイミングとして、大当りオープニングコマンドは、大当りオープニング開始時に送信され、大入賞口1開放N回目表示コマンドは、1〜16ラウンド目の大入賞口1開放時(アタッカユニット2100の大入賞口2103のN回目のラウンドの開放時)に送信され、大入賞口1閉鎖表示コマンドは、大入賞口1閉鎖時(アタッカユニット2100の大入賞口2103の閉鎖開始時)に送信され、大入賞口1カウント表示コマンドは、大入賞口1開放時及び大入賞口1へのカウント変化時(アタッカユニット2100の大入賞口2103の開放時、及び大入賞口2103に入球した遊技球がカウントスイッチ2110によって検出された時)に送信され、大当りエンディングコマンドは、大当りエンディング開始時に送信され、大当り図柄表示コマンドは、大入賞口開放時(アタッカユニット2100の大入賞口2103の開放時)に送信される。   As the transmission timing of these various commands, the big hit opening command is sent at the start of the big hit opening, and the big winning opening 1 opening N-th display command is when the big winning opening 1 is opened in the 1st to 16th rounds (the large amount of the attacker unit 2100). The winning prize opening 1 closing display command is sent when the winning prize opening 1 is closed (when the closing of the big winning opening 2103 of the attacker unit 2100 is started). The winning opening 1 count display command is used when the winning opening 1 is opened and when the count of the winning opening 1 is changed (when the winning opening 2103 of the attacker unit 2100 is opened and when the game ball has entered the winning opening 2103 is counted. The jackpot ending command is sent to the jackpot ending when it is detected by the switch 2110) Is sent to the big hit symbol display command is sent during the special winning opening open (when opening the special winning opening 2103 attacker unit 2100).

また、小当りオープニングコマンドは、小当りオープニング開始時に送信され、小当り開放表示コマンドは、小当り開放時(小当り時における、アタッカユニット2100の大入賞口2103の開放時)に送信され、小当りカウント表示コマンドは、小当り中大入賞口入賞時(小当り中における、大入賞口2103に入球した遊技球がカウントスイッチ2110によって検出された時)に送信され、小当りエンディングコマンドは、小当りエンディング開始時に送信される。なお、これらの各種コマンドは、実際には主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で送信される。   The small hit opening command is transmitted at the start of the small hit opening, and the small hit release display command is transmitted when the small hit is released (when the big winning opening 2103 of the attacker unit 2100 is opened at the small hit). The hit count display command is transmitted at the time of winning a small hit medium / large winning opening (when a game ball that has entered the large winning opening 2103 is detected by the count switch 2110 during the small hit), and the small hit ending command is Sent when a small hit ending starts. These various commands are actually transmitted in the peripheral control board command transmission process in step S92 in the main control timer interrupt process.

[3−4.電源投入]
電源投入という区分には、図10に示すように、電源投入という名称の各種コマンドから構成されている。この電源投入コマンドには、ステータスとして「D*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-4. Power on]
As shown in FIG. 10, the power-on category includes various commands named power-on. This power-on command is assigned “D * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

電源投入コマンドは、RAMクリア演出開始及びそれぞれの状態演出開始を指示するものである(例えば、電源投入時に払出制御基板4110の操作スイッチ952が操作された時における演出の開始を指示したりするものである)。   The power-on command instructs the start of the RAM clear effect and the start of each state effect (for example, instructs to start the effect when the operation switch 952 of the payout control board 4110 is operated when the power is turned on. Is).

電源投入コマンドの送信タイミングとして、主制御基板電源投入時RAMクリア及びRAMクリア以外の時に送信される。具体的には、パチンコ遊技機1の電源投入時、停電又は瞬停から復帰するときであって、払出制御基板4110の操作スイッチ952が操作されたときに、後述する主制御側電源投入時処理が実行されて主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で電源投入コマンドが送信される。   As the transmission timing of the power-on command, it is transmitted when the main control board power is turned on when the RAM is not cleared and when the RAM is not cleared. Specifically, when the power of the pachinko gaming machine 1 is turned on, when the operation switch 952 of the payout control board 4110 is operated when returning from a power failure or a momentary power failure, the main control side power-on process described later Is executed, and a power-on command is transmitted in the peripheral control board command transmission process of step S92 in the main control timer interrupt process.

[3−5.普図同調演出関連]
普図同調演出関連は、図6に示したゲートスイッチ2301からの検出信号に基づくものであり、その区分には、図10に示すように、図6に示した機能表示基板1191の普通図柄表示器1189に関する、普図同調演出開始、普図柄指定、普図同調演出終了、及び変動時状態指定という名称のコマンドから構成されている。これらの各種コマンドには、ステータスとして「E*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-5. General drawing related production]
The general-synchronization effect is based on the detection signal from the gate switch 2301 shown in FIG. 6, and is divided into the normal symbol display of the function display board 1191 shown in FIG. The command 1189 is composed of commands with the names of general drawing synchronization production start, universal symbol designation, universal drawing synchronization production end, and variable state designation. These various commands are assigned “E * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

普図同調演出開始コマンドは、モードで指定された演出パターンで普図同調演出開始を指示するものであり、普図柄指定コマンドは、はずれ、特定大当り、非特定大当りを指定するものであり、普図同調演出終了コマンドは、普図同調演出終了を指示するものであり、変動時状態指定コマンドは、確率及び時短状態を指示するものである。   The general pattern synchronization production start command is for instructing the general pattern synchronization production start with the production pattern specified in the mode, and the general pattern designation command is for specifying off, specific big hit, non-specific big hit, The figure synchronization effect end command is for instructing the end of the common figure synchronization effect, and the change state designation command is for instructing the probability and the short time state.

これらの各種コマンドの送信タイミングとして、普図同調演出開始コマンドは、普通図柄1変動開始時に送信され、普図柄指定コマンドは、普図同調演出開始の直後に送信され、普図同調演出終了コマンドは、普通図柄変動時間経過時(普通図柄確定時)に送信され、変動時状態指定コマンドは、普図当落情報指定の直後に送信される。なお、これらの各種コマンドは、実際には主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で送信される。   As the transmission timings of these various commands, the general symbol synchronization effect start command is transmitted at the time of the normal symbol 1 fluctuation start, the general symbol designation command is transmitted immediately after the general symbol synchronization effect start, and the general symbol synchronization effect end command is Is transmitted when the normal symbol fluctuation time has elapsed (when the normal symbol is determined), and the variable state designation command is transmitted immediately after the normal symbol winning information designation. These various commands are actually transmitted in the peripheral control board command transmission process in step S92 in the main control timer interrupt process.

[3−6.普通電役演出関連]
普通電役演出関連は、始動口ソレノイド2105の駆動により開閉される一対の可動片2106に関するものであり、その区分には、図10に示すように、普図当りオープニング、普電開放表示、及び普図当りエンディングという名称のコマンドから構成されている。これらの各種コマンドには、ステータスとして「F*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-6. Ordinary electric role production related]
The ordinary electric role effect is related to a pair of movable pieces 2106 that are opened and closed by driving of the start opening solenoid 2105. As shown in FIG. It consists of commands named ending per usual figure. These various commands are assigned “F * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

普図当りオープニングコマンドは、普図当りオープニング開始を指示するものであり、普電開放表示コマンドは、普電開放中開始(一対の可動片2106が始動口ソレノイド2105の駆動により左右方向へ拡開した状態、又は拡開する時)を指示するものであり、普図当りエンディングコマンドは、普図当りエンディング開始を指示するものである。   The opening command per base map is an instruction to start the opening per base map, and the open command display command is a normal power open start (a pair of movable pieces 2106 are expanded in the horizontal direction by driving the start opening solenoid 2105). The ending command per universal map indicates the start of ending per universal map.

これらの各種コマンドの送信タイミングとして、普図当りオープニングコマンドは、普図当りオープニング開始時に送信され、普電開放表示コマンドは、普電開放時(一対の可動片2106が始動口ソレノイド2105の駆動により左右方向へ拡開する時)に送信され、普図当りエンディングコマンドは、普図当りエンディング開始時に送信される。なお、これらの各種コマンドは、実際には主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で送信される。   As the transmission timing of these various commands, the opening command per base map is transmitted at the start of the opening per base map, and the general power open display command is displayed when the general power is open (the pair of movable pieces 2106 are driven by the start opening solenoid 2105). The ending command per universal map is transmitted at the start of ending per universal map. These various commands are actually transmitted in the peripheral control board command transmission process in step S92 in the main control timer interrupt process.

[3−7.報知表示]
報知表示の区分には、図11に示すように、入賞異常表示、接続異常表示、断線・短絡異常表示、磁気検出スイッチ異常表示、扉開放、及び扉閉鎖という名称のコマンドから構成されている。これらの各種コマンドには、ステータスとして「6*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-7. Notification display]
As shown in FIG. 11, the notification display section is composed of commands named as winning abnormality display, connection abnormality display, disconnection / short circuit abnormality display, magnetic detection switch abnormality display, door opening, and door closing. These various commands are assigned “6 * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

入賞異常表示コマンドは、大当り中(条件装置作動中)以外に大入賞口2103に入球した時(大当り中でもないのに、アタッカユニット2100の大入賞口2103に遊技球が入球してその遊技球をカウントスイッチ2110が検出した時)に、入賞異常報知の開始を指示するものである。接続異常表示コマンドは、例えば、主制御基板4100と払出制御基板4110との基板間に亘る経路において電気的な接続異常がある場合に接続異常報知の開始を指示するものであり、断線・短絡異常表示コマンドは、例えば、主制御基板4100と、第一始動口スイッチ3022、第二始動口スイッチ2109、カウントスイッチ2110等のいずれかとの電気的な接続の断線・短絡が生じた場合に断線・短絡異常表示の開始を指示するものであり、磁気検出スイッチ異常表示コマンドは、磁気検出スイッチ3024に異常が生じた場合に磁気検出スイッチ異常報知の開始を指示するものである。   The winning abnormality display command is used when a game ball enters the big winning port 2103 of the attacker unit 2100 when the ball enters the big winning port 2103 other than during the big hit (when the condition device is operating). When the ball is detected by the count switch 2110), the start of a prize abnormality notification is instructed. The connection abnormality display command is, for example, instructing the start of connection abnormality notification when there is an electrical connection abnormality in the path between the main control board 4100 and the payout control board 4110. The display command is, for example, when the electrical connection between the main control board 4100 and the first start port switch 3022, the second start port switch 2109, the count switch 2110, or the like is disconnected or short-circuited. The start of abnormality display is instructed, and the magnetic detection switch abnormality display command is an instruction to start the magnetic detection switch abnormality notification when an abnormality occurs in the magnetic detection switch 3024.

また、扉枠開放コマンドは、払出制御基板4110を介して入力される扉枠開放スイッチ618からの検出信号(開放信号)に基づいて、扉枠5が本体枠3に対して開放された状態である場合に、扉開放報知を指示するものであり、扉枠閉鎖コマンドは、その扉枠開放スイッチ618からの検出信号に基づいて、扉枠5が本体枠3に対して閉鎖された状態である場合に扉開放報知終了を指示するものである。一方、本体枠開放コマンドは、払出制御基板4110を介して入力される本体枠開放スイッチ619からの検出信号(開放信号)に基づいて、本体枠3が外枠2に対して開放された状態である場合に、本体枠開放報知を指示するものであり、本体枠閉鎖コマンドは、その本体枠開放スイッチ619からの検出信号に基づいて、本体枠3が外枠2に対して閉鎖された状態である場合に本体枠開放報知終了を指示するものである。   The door frame opening command is generated when the door frame 5 is opened with respect to the main body frame 3 based on a detection signal (open signal) from the door frame opening switch 618 input via the payout control board 4110. In some cases, the door opening notification is instructed, and the door frame closing command is a state in which the door frame 5 is closed with respect to the main body frame 3 based on a detection signal from the door frame opening switch 618. In this case, the end of door opening notification is instructed. On the other hand, the main body frame opening command is generated in a state where the main body frame 3 is released from the outer frame 2 based on a detection signal (open signal) from the main body frame opening switch 619 input via the payout control board 4110. In some cases, a body frame opening notification is instructed, and the body frame closing command is issued in a state where the body frame 3 is closed with respect to the outer frame 2 based on a detection signal from the body frame opening switch 619. In some cases, an instruction to end the body frame release notification is given.

これらの各種コマンドの送信タイミングとして、入賞異常表示コマンドは、大当り中(条件装置作動中)以外に大入賞口に入賞した時に送信され、接続異常表示コマンドは、主制御基板4100から払出制御基板4110へのコマンド送信時に払出制御基板4110からのACK返信(ACK信号)がなかった時に送信され、断線・短絡異常表示コマンドは、第一始動口スイッチ3022、第二始動口スイッチ2109、カウントスイッチ2110等のうち、いずれが断線または短絡状態となった時に送信され、磁気検出スイッチ異常表示コマンドは、磁気検出スイッチ3024の異常を検知した時に送信される。また、扉枠開放コマンドは、扉開放を検知した時(扉枠開放スイッチ618からの検出信号に基づいて、扉枠5が本体枠3に対して開放された状態である場合)に送信され、扉枠閉鎖コマンドは、扉閉鎖を検知した時(扉枠開放スイッチ618からの検出信号に基づいて、扉枠5が本体枠3に対して閉鎖された状態である場合)に送信される。本体枠開放コマンドは、本体枠開放を検知した時(本体枠開放スイッチ619からの検出信号に基づいて、本体枠3が外枠2に対して開放された状態である場合)に送信され、本体枠閉鎖コマンドは、本体枠閉鎖を検知した時(本体枠開放スイッチ619からの検出信号に基づいて、本体枠3が外枠2に対して閉鎖された状態である場合)に送信される。なお、これらの各種コマンドは、実際には主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で送信される。   As the transmission timing of these various commands, the winning abnormality display command is transmitted when winning a big winning opening other than during the big hit (the condition device is operating), and the connection abnormality displaying command is sent from the main control board 4100 to the payout control board 4110. The command is sent when there is no ACK reply (ACK signal) from the payout control board 4110 at the time of command transmission, and the disconnection / short circuit abnormality display command includes the first start port switch 3022, the second start port switch 2109, the count switch 2110, etc. The magnetic detection switch abnormality display command is transmitted when an abnormality of the magnetic detection switch 3024 is detected. The door frame opening command is transmitted when door opening is detected (when the door frame 5 is in an open state with respect to the main body frame 3 based on a detection signal from the door frame opening switch 618). The door frame closing command is transmitted when door closing is detected (when the door frame 5 is closed with respect to the main body frame 3 based on a detection signal from the door frame opening switch 618). The body frame release command is transmitted when the body frame release is detected (when the body frame 3 is opened to the outer frame 2 based on the detection signal from the body frame release switch 619). The frame closing command is transmitted when the body frame closing is detected (when the body frame 3 is closed with respect to the outer frame 2 based on the detection signal from the body frame opening switch 619). These various commands are actually transmitted in the peripheral control board command transmission process in step S92 in the main control timer interrupt process.

[3−8.状態表示]
状態表示の区分には、図11に示すように、枠状態1コマンド(エラー発生コマンドに相当)、エラー解除ナビコマンド(エラー解除コマンドに相当)及び枠状態2コマンドという名称のコマンドから構成されている。これらの各種コマンドには、ステータスとして「7*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-8. Status display]
As shown in FIG. 11, the status display section is composed of commands named frame status 1 command (corresponding to an error occurrence command), error canceling navigation command (corresponding to error canceling command), and frame status 2 command. Yes. These various commands are assigned a status of “7 * H” and a mode of “** H” (“H” represents a hexadecimal number) (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

枠状態1コマンド、エラー解除ナビコマンド及び枠状態2コマンドは、それぞれ、払出制御基板4110から送信された1バイト(8ビット)の記憶容量を有するコマンドであり、これらの詳細な説明は、後述する。なお、主制御基板4100の主制御MPU4100aは、払出制御基板4110からの枠状態1コマンド、エラー解除ナビコマンド、及び枠状態2コマンドを受信すると、図11に示すように、「7*H」をステータスとして設定するとともに、その受信したコマンドをそのままモードとして設定する。つまり、主制御MPU4100aは、払出制御基板4110からの枠状態1コマンド、エラー解除ナビコマンド、及び枠状態2コマンドを受信すると、これら受信したコマンドに付加情報である「7*H」を付加することにより、2バイト(16ビット)の記憶容量を有するコマンドに整形する。   The frame state 1 command, the error canceling navigation command, and the frame state 2 command are each commands having a storage capacity of 1 byte (8 bits) transmitted from the payout control board 4110, and detailed description thereof will be described later. . When the main control MPU 4100a of the main control board 4100 receives the frame state 1 command, the error release navigation command, and the frame state 2 command from the payout control board 4110, as shown in FIG. 11, “7 * H” is displayed. While setting as a status, the received command is set as a mode as it is. That is, when the main control MPU 4100a receives the frame state 1 command, the error release navigation command, and the frame state 2 command from the payout control board 4110, it adds “7 * H” as additional information to these received commands. Thus, the command is shaped into a command having a storage capacity of 2 bytes (16 bits).

整形された、枠状態1コマンドは、電源復旧時、枠状態の変化時、及びエラー解除ナビ時に送信され、エラー解除ナビコマンドは、エラー解除ナビ時に送信され、枠状態2コマンドは、電源復旧時、及び枠状態の変化時に送信される。なお、これら整形された、枠状態1コマンド、エラー解除ナビコマンド、及び枠状態2コマンドは、実際には主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で送信される。   The shaped frame status 1 command is transmitted when the power is restored, when the status of the frame is changed, and when the error cancellation navigation is performed. The error cancellation navigation command is transmitted during the error cancellation navigation. The frame status 2 command is transmitted when the power is restored. And when the frame state changes. Note that the shaped frame state 1 command, error release navigation command, and frame state 2 command are actually transmitted in the peripheral control board command transmission process of step S92 in the main control timer interrupt process.

[3−9.テスト関連]
テスト関連の区分には、図11に示すように、テストという名称の各種コマンドから構成されている。このテストコマンドには、ステータスとして「8*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-9. Test related]
As shown in FIG. 11, the test-related category includes various commands named “test”. This test command is assigned “8 * H” as a status and “** H” (“H” represents a hexadecimal number) as a mode (“*” is a specific hexadecimal number). And is predetermined according to the specification content of the pachinko gaming machine 1).

テストコマンドは、主制御基板4100から周辺制御基板4140に対して送信されるコマンドであって周辺制御基板4140の各種検査を指示するものである。このようなテストコマンドとしては、例えば、図7に示した、周辺制御部4150、液晶及び音制御部4160、ランプ駆動基板4170、モータ駆動基板4180、及び枠装飾駆動アンプ基板194等の各種基板の検査を行うコマンドを挙げることができる。   The test command is a command transmitted from the main control board 4100 to the peripheral control board 4140 and instructs various inspections of the peripheral control board 4140. Examples of such test commands include various substrates such as the peripheral control unit 4150, the liquid crystal and sound control unit 4160, the lamp driving substrate 4170, the motor driving substrate 4180, and the frame decoration driving amplifier substrate 194 shown in FIG. List the commands that perform the inspection.

この主制御基板4100では、ハードウェア側の都合によりテストコマンド用のポートをその都度逐一割り当てるためハードウェア側で管理しにくい態様の代わりに、ソフトウェア側で管理しやすくするために、テストコマンド用のポートとして、ソフトウェアのタイマで管理できるものについては複数のポートのうちの所定のポートに割り付ける一方、フラグで管理できるものについては特定のポートに割り付けるようにしている。   In this main control board 4100, test command ports are assigned one by one for the convenience of the hardware, so that it is difficult to manage on the hardware side. Ports that can be managed by a software timer are assigned to a predetermined port among a plurality of ports, while those that can be managed by a flag are assigned to specific ports.

テストコマンドの送信タイミングとして、主制御基板電源投入時RAMクリア及びRAMクリア以外の時に送信される。具体的には、パチンコ遊技機1の電源投入時、停電又は瞬停から復帰するときであって、払出制御基板4110の操作スイッチ952が操作されたときに、後述する主制御側電源投入時処理が実行されて主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理でテストコマンドが送信される。   As a test command transmission timing, it is transmitted when the main control board power is turned on when the RAM is not cleared and when the RAM is not cleared. Specifically, when the power of the pachinko gaming machine 1 is turned on, when the operation switch 952 of the payout control board 4110 is operated when returning from a power failure or a momentary power failure, the main control side power-on process described later And the test command is transmitted in the peripheral control board command transmission process in step S92 in the main control timer interruption process.

[3−10.その他]
その他の区分には、図11に示すように、始動口入賞、変動短縮作動終了指定、高確率終了指定、特別図柄1記憶、特別図柄2記憶、普通図柄記憶、特別図柄1記憶先読み演出、及び特別図柄2記憶先読み演出という名称のコマンドが含まれている。これらの各種コマンドには、ステータスとして「9*H」、モードとして「**H」(「H」は16進数を表す。)が割り振られている(「*」は、特定の16進数であることを示し、パチンコ遊技機1の仕様内容によって予め定められたものである)。
[3-10. Others]
The other categories include, as shown in FIG. 11, start opening prize, change shortening operation end designation, high probability end designation, special symbol 1 memory, special symbol 2 memory, normal symbol memory, special symbol 1 memory pre-reading effect, and A command with a name of special symbol 2 storage prefetching effect is included. These various commands are assigned a status of “9 * H” and a mode of “** H” (“H” represents a hexadecimal number) (“*” is a specific hexadecimal number). This is predetermined according to the specification contents of the pachinko gaming machine 1).

始動口入賞コマンドは、始動口入賞演出開始を指示するものであって、第一始動口スイッチ3022からの検出信号に基づいて第一始動口2101に遊技球が入球した場合における演出の開始と、第二始動口スイッチ2109からの検出信号に基づいて第二始動口2102に遊技球が入球した場合における演出の開始と、をそれぞれ指示するものであり、変動短縮作動終了指定コマンドは、変動短縮作動状態から変動短縮非作動状態への状態移行を指示するものであり、高確率終了指定コマンドは、高確率状態(後述する確率変動状態に相当)から低確率状態(後述する通常遊技状態などに相当)への状態移行を指示するものであり、特別図柄1記憶コマンド(特別図柄記憶コマンド)は、特別図柄1保留0〜4個(第一始動口2101に遊技球が入球して機能表示基板1191の第一特別図柄表示器1185で特別図柄の変動表示に未だ使用されていない球数(保留数))を伝えるものであり、特別図柄2記憶コマンド(特別図柄記憶コマンド)は、特別図柄2保留0〜4個(第二始動口2102に遊技球が入球して機能表示基板1191の第二特別図柄表示器1186で特別図柄の変動表示に未だ使用されていない球数(保留数))を伝えるものであり、普通図柄記憶コマンドは、普通図柄1保留0〜4個(ゲート部2350を遊技球が通過して機能表示基板1191の普通図柄表示器1189で普通図柄の変動表示に未だ使用されていない球数(保留数))を伝えるものであり、特別図柄1記憶先読み演出コマンド(先行判定指示コマンド)は、特別図柄1保留が機能表示基板1191の第一特別図柄表示器1185で特別図柄の変動表示に使用される前に、先読みしてその特別図柄1保留に基づく第一特別図柄表示器1185による表示結果の予告を報知する先読み演出開始を指示するものであり、特別図柄2記憶先読み演出コマンド(先行判定指示コマンド)は、特別図柄2保留が機能表示基板1191の第二特別図柄表示器1186で特別図柄の変動表示に使用される前に、先読みしてその特別図柄2保留に基づく第二特別図柄表示器1186による表示結果の予告を報知する先読み演出開始を指示するものである。なお、本実施形態では、これら特別図柄1記憶先読み演出コマンド及び特別図柄2記憶先読み演出コマンドを総称して「特別図柄記憶先読み演出コマンド」とも呼んでいる。   The start opening prize command is an instruction to start the start opening winning effect, and the start of the effect when a game ball enters the first start opening 2101 based on the detection signal from the first start opening switch 3022. , And the start of the effect when a game ball enters the second start port 2102 based on the detection signal from the second start port switch 2109, respectively, A command for instructing a state transition from a shortened operating state to a variable shortening non-operating state, and a high-probability end designation command is performed from a high-probability state (corresponding to a probability variation state described later) to a low-probability state (such as a normal gaming state described later). The special symbol 1 storage command (special symbol storage command) is a special symbol 1 hold 0-4 pieces (free play to the first starting port 2101). The ball enters and the first special symbol display 1185 of the function display board 1191 informs the number of balls not yet used for the special symbol variable display (the number of holdings), and the special symbol 2 storage command (special The special symbol 2 hold 0 to 4 special symbols 2 (game balls have entered the second start port 2102 and the second special symbol indicator 1186 of the function display board 1191 is still used for the special symbol variation display. The normal symbol storage command is 0 to 4 normal symbols 1 held (the game ball passes through the gate part 2350 and the normal symbol display 1189 on the function display board 1191). The special symbol 1 storage pre-reading effect command (preceding judgment instruction command) indicates that the special symbol 1 hold is a function display base. Before the first special symbol display 1185 of 1191 is used to display the variation of the special symbol, the pre-reading effect is started to pre-read and notify the advance notice of the display result by the first special symbol display 1185 based on the special symbol 1 hold. The special symbol 2 storage pre-reading effect command (preceding judgment instruction command) is used before the special symbol 2 hold is used for the special symbol variable display on the second special symbol display 1186 of the function display board 1191. In addition, pre-reading is instructed to notify the advance notice of the display result by the second special symbol display 1186 based on the special symbol 2 reservation. In the present embodiment, these special symbol 1 storage pre-reading effect commands and special symbol 2 storage pre-reading effect commands are also collectively referred to as “special symbol storage pre-reading effect commands”.

これらの各種コマンドの送信タイミングとして、始動口入賞コマンドは、始動口入賞時(第一始動口スイッチ3022からの検出信号に基づいて第一始動口2101に遊技球が入球した時や、第二始動口スイッチ2109からの検出信号に基づいて第二始動口2102に遊技球が入球した時)に、図5に示した本体枠3に設けたスピーカボックス920に収容されるスピーカー及び図2に示した扉枠5に設けたスピーカーから主に音声でその旨を報知するために送信され、変動短縮作動終了指定コマンドは、規定回数の変動短縮を消化した変動確定後の停止期間終了時(はずれ停止期間経過後)に送信され、高確率終了指定コマンドは、「高確率N回」の場合の高確率回数を消化した変動確定後の停止期間終了時(はずれ停止期間経過後)に送信され、特別図柄1記憶コマンドは、特別図柄1作動保留球数変化時(第一始動口2101に遊技球が入球して機能表示基板1191の第一特別図柄表示器1185で特別図柄の変動表示に未だ使用されていない保留数がある状態において、さらに第一始動口2101に遊技球が入球して保留数が増加した時や、その保留数から第一特別図柄表示器1185で特別図柄の変動表示に使用してその保留数が減少した時)に送信され、特別図柄2記憶コマンドは、特別図柄2作動保留球数変化時(第二始動口2102に遊技球が入球して機能表示基板1191の第二特別図柄表示器1186で特別図柄の変動表示に未だ使用されていない保留数がある状態において、さらに第二始動口2102に遊技球が入球して保留数が増加した時や、その保留数から第二特別図柄表示器1186で特別図柄の変動表示に使用してその保留数が減少した時)に送信され、普通図柄記憶コマンドは、普通図柄1作動保留球数変化時(ゲート部2350を遊技球が通過して機能表示基板1191の普通図柄表示器1189で普通図柄の変動表示に未だ使用されていない保留数がある状態において、さらにゲート部2350を遊技球が通過して保留数が増加した時や、その保留数から普通図柄表示器1189で普通図柄の変動表示に使用してその保留数が減少した時)に送信され、特別図柄1記憶先読み演出コマンドは、特別図柄1作動保留球数増加時(第一始動口2101に遊技球が入球して保留数が増加した時)に送信され、特別図柄2記憶先読み演出コマンドは、特別図柄2作動保留球数増加時(第二始動口2102に遊技球が入球して保留数が増加した時)に送信される。なお、これらの各種コマンドは、実際には主制御側タイマ割り込み処理におけるステップS92の周辺制御基板コマンド送信処理で送信される。   As the transmission timing of these various commands, the start opening prize command is the start opening prize (when a game ball enters the first start opening 2101 based on the detection signal from the first start opening switch 3022, When a game ball enters the second start port 2102 based on a detection signal from the start port switch 2109), the speaker housed in the speaker box 920 provided in the main body frame 3 shown in FIG. The change reduction operation end designation command is transmitted from the speaker provided in the door frame 5 shown in order to notify the effect mainly by voice. The high probability end designation command is sent at the end of the stop period after the change is confirmed after digesting the high probability count in the case of “high probability N times” (after the stoppage stop period has elapsed). The special symbol 1 storage command is received when the special symbol 1 operation holding ball number changes (the game ball enters the first start port 2101 and the special symbol 1118 of the function display board 1191 changes the special symbol). In a state where there is a number of reserves that are not yet used for display, when a game ball enters the first starting port 2101 and the number of reserves increases, the special symbol is displayed on the first special symbol display 1185 from the number of reserves. The special symbol 2 storage command is used when the number of special symbol 2 actuated reserve balls changes (the game ball enters the second starting port 2102 and functions). When there is a reserve number that is not yet used for the special symbol variation display on the second special symbol display 1186 of the display board 1191, when the game ball enters the second start port 2102 and the reserve number increases. And its maintenance The second special symbol display 1186 is used to display the change in the number of reserved symbols when the number of reserved symbols decreases, and the normal symbol storage command is used when the number of normal symbols 1 operation reserved balls changes (gate unit 2350). And the game ball passes through the gate portion 2350, and the number of holds is increased. The special symbol 1 storage pre-reading effect command is held when the number of reserves increases or when the number of reserves decreases by using the normal symbol display 1189 to display the fluctuation of the normal symbols. It is sent when the number of balls increases (when a game ball enters the first start port 2101 and the number of holds increases), the special symbol 2 memory pre-reading effect command is sent when the number of balls held for special symbol 2 increases (second When the game ball enters the start port 2102 and the number of held balls increases, this is transmitted. These various commands are actually transmitted in the peripheral control board command transmission process in step S92 in the main control timer interrupt process.

ところで、始動口入賞コマンドは、上述したように、始動口入賞時(第一始動口スイッチ3022からの検出信号に基づいて第一始動口2101に遊技球が入球した時や、第二始動口スイッチ2109からの検出信号に基づいて第二始動口2102に遊技球が入球した時)に、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから主に音声でその旨を報知するために送信されるが、図7に示した周辺制御基板4140が始動口入賞コマンドをどのように利用するかについては、パチンコ遊技機の仕様によって異なる場合もある。例えば、本実施形態におけるパチンコ遊技機1では、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから音声で報知する他に、不正行為の有無を監視するためにも利用するという仕様のものである。これに対して、他のパチンコ遊技機では、周辺制御基板4140が始動口入賞コマンドを単に受信するだけで、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから音声で報知しない仕様のものもある。   By the way, as described above, the start opening prize command is given at the start opening winning (when a game ball enters the first start opening 2101 based on the detection signal from the first start opening switch 3022, Based on the detection signal from the switch 2109, when a game ball enters the second starting port 2102), the speaker housed in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5 are mainly used. Although it is transmitted to notify that effect by voice, how the peripheral control board 4140 shown in FIG. 7 uses the start opening winning command may differ depending on the specifications of the pachinko gaming machine. For example, in the pachinko gaming machine 1 according to the present embodiment, in addition to notifying by voice from speakers housed in the speaker box 920 provided in the main body frame 3 and speakers provided in the door frame 5, the presence or absence of fraudulent acts is monitored. It is a thing of the specification to use also for. On the other hand, in other pachinko gaming machines, the peripheral control board 4140 simply receives the start opening prize command, and the speaker accommodated in the speaker box 920 provided in the main body frame 3 and the speaker provided in the door frame 5 There is also a specification that does not notify by voice.

[4.主制御基板の各種制御処理]
次に、パチンコ遊技機1の遊技の進行に応じて、主制御基板4100が行う各種制御処理について、図12〜図14を参照して説明する。図12は主制御側電源投入時処理の一例を示すフローチャートであり、図13は図12の主制御側電源投入時処理のつづきを示すフローチャートであり、図14は主制御側タイマ割り込み処理の一例を示すフローチャートである。まず、遊技制御に用いられる各種乱数について説明し、続いて初期値更新型のカウンタの動き、主制御側電源投入時処理、主制御側タイマ割り込み処理について説明する。
[4. Various control processes of main control board]
Next, various control processes performed by the main control board 4100 in accordance with the progress of the game of the pachinko gaming machine 1 will be described with reference to FIGS. 12 is a flowchart showing an example of main control-side power-on processing, FIG. 13 is a flowchart showing continuation of main-control-side power-on processing in FIG. 12, and FIG. 14 is an example of main control-side timer interrupt processing. It is a flowchart which shows. First, various random numbers used for game control will be described, and then the operation of the initial value update type counter, main control side power-on processing, and main control side timer interrupt processing will be described.

[4−1.各種乱数]
遊技制御に用いられる各種乱数として、大当り遊技状態又は小当り遊技状態を発生させるか否かの決定に用いるための大当り判定用乱数と、この大当り判定用乱数の初期値の決定に用いるための大当り判定用初期値決定用乱数と、大当り遊技状態を発生させないときにリーチ(リーチはずれ)を発生させるか否かの決定に用いるためのリーチ判定用乱数と、第一特別図柄表示器1185及び第二特別図柄表示器1186で変動表示される特別図柄の変動表示パターンの決定に用いるための変動表示パターン用乱数と、大当り遊技状態を発生させるときに第一特別図柄表示器1185及び第二特別図柄表示器1186で導出表示される大当り図柄の決定に用いられる大当り図柄用乱数と、この大当り図柄用乱数の初期値の決定に用いられる大当り図柄用初期値決定用乱数等が用意されている。なお、上述した大当り図柄用乱数は、小当り遊技状態を発生させるときに第一特別図柄表示器1185及び第二特別図柄表示器1186で導出表示される小当り図柄の決定に用いられる小当り図柄用乱数としても利用される。一方、上述した大当り図柄用初期値決定用乱数は、この小当り図柄用乱数の初期値の決定に用いるための小当り図柄用初期値決定用乱数としても利用される。またこれらの乱数に加えて、一対の可動片2106を開閉動作させるか否かの決定に用いるための普通図柄当り判定用乱数と、この普通図柄当り判定用乱数の初期値の決定に用いるための普通図柄当り判定用初期値決定用乱数と、普通図柄表示器1189で変動表示される普通図柄の変動表示パターンの決定に用いるための普通図柄変動表示パターン用乱数等が用意されている。
[4-1. Various random numbers]
As the various random numbers used for game control, a big hit judgment random number for use in determining whether or not to generate a big hit gaming state or a small hit gaming state, and a big hit for use in determining the initial value of this big hit judgment random number A random number for determining an initial value for determination, a random number for determination of reach for use in determining whether or not a reach (reach out of reach) is generated when a big hit gaming state is not generated, a first special symbol display 1185 and a second The random display pattern random number used for determining the variable display pattern of the special symbol variably displayed on the special symbol display 1186, and the first special symbol display 1185 and the second special symbol display when the big hit gaming state is generated. The jackpot symbol used in determining the jackpot symbol derived and displayed by the device 1186, and the jackpot symbol used for determining the initial value of the jackpot symbol The initial value determination random number or the like are prepared for pattern. Note that the random number for the big hit symbol described above is used for determining the small hit symbol that is derived and displayed by the first special symbol indicator 1185 and the second special symbol indicator 1186 when the small hit gaming state is generated. It is also used as a random number. On the other hand, the big hit symbol initial value determining random number described above is also used as a small hit symbol initial value determining random number for use in determining the initial value of the small hit symbol random number. In addition to these random numbers, a random number for normal symbol determination for use in determining whether to open or close the pair of movable pieces 2106 and an initial value for the random number for determination per normal symbol are used. Random numbers for determining an initial value for determining normal symbols, and random numbers for normal symbol variation display patterns for use in determining the variation display pattern of the normal symbols variably displayed on the normal symbol display 1189 are prepared.

例えば、大当り判定用乱数を更新するカウンタは、チップに内蔵されたハードウェアにより構成されており、最小値から最大値までに亘る予め定めた固定数値範囲(本実施形態では、最小値として値0〜最大値として値32767)内で更新し、この最小値から最大値までに亘る範囲を、後述する主制御側タイマ割り込み処理が行われるごとに値1ずつ加算されることでカウントアップする。このカウンタは、大当り判定用初期値決定用乱数から最大値に向かってカウントアップし、続いて最小値(値0)から大当り判定用初期値決定用乱数に向かってカウントアップする。大当り判定用乱数の最小値から最大値までに亘る範囲をカウンタがカウントアップし終えると、大当り判定用初期値決定用乱数は更新される。このようなカウンタの更新方法を「初期値更新型のカウンタ」という。大当り判定用初期値決定用乱数は、大当り判定用乱数を更新するカウンタの固定数値範囲から一の値を抽選する初期値抽選処理を実行して得られる。一方、上述した普通図柄当り判定用乱数及び普通図柄当り判定用初期値決定用乱数も、上述した大当り判定用乱数の更新方法と同一の方法により更新される。   For example, the counter that updates the jackpot determination random number is configured by hardware built in the chip, and has a predetermined fixed numerical value range from the minimum value to the maximum value (in this embodiment, the value 0 as the minimum value). Is updated within the value 32767) as the maximum value, and the range from this minimum value to the maximum value is incremented by incrementing by 1 every time a main control timer interrupt process described later is performed. This counter counts up from the big hit determination initial value determination random number toward the maximum value, and then counts up from the minimum value (value 0) toward the big hit determination initial value determination random number. When the counter finishes counting up the range from the minimum value to the maximum value of the jackpot determination random number, the random number for determining the initial value for jackpot determination is updated. Such a counter updating method is referred to as an “initial value updating type counter”. The random number for determining the initial value for determining the big hit is obtained by executing an initial value lottery process for drawing one value from the fixed numerical range of the counter for updating the random number for determining the big hit. On the other hand, the random numbers for normal symbol determination and the initial value determination random numbers for normal symbol determination described above are also updated by the same method as the method for updating the jackpot determination random number described above.

なお、本実施形態では、大当り判定用乱数の最小値から最大値までに亘る範囲を、大当り判定用乱数を更新するカウンタがカウントアップされ終ると、上述したように、大当り判定用初期値決定用乱数は初期値抽選処理を実行することにより更新されるようになっているが、払出制御基板4110の操作スイッチ952が電源投入時に操作された場合や、後述する、主制御側電源投入時処理において主制御MPU4100aの主制御内蔵RAMに記憶されている遊技情報を数値とみなしてその合計を算出して得たチェックサムの値(サム値)が主制御側電源断時処理(電源断時)において記憶されているチェックサムの値(サム値)と一致していない場合など、主制御内蔵RAMの全領域をクリアする場合には、大当り判定用初期値決定用乱数は、主制御MPU4100aがその内蔵する不揮発性のRAMからIDコードを取り出し、この取り出したIDコードに基づいて大当り判定用乱数を更新するカウンタの固定数値範囲から常に同一の固定値を導出する初期値導出処理を実行し、この導出した固定値がセットされる仕組みとなっている。つまり、大当り判定用初期値決定用乱数は、初期値導出処理の実行によりIDコードに基づいて導出された同一の固定値が常に上書き更新されるようになっている。このように、大当り判定用初期値決定用乱数にセットされる値は、IDコードを利用して導出されており、主制御MPU4100aを製造したメーカによって主制御MPU4100aに内蔵する不揮発性のRAMにIDコードを記憶させるとIDコードが外部装置を用いても書き換えられないという第1のセキュリティ対策と、主制御内蔵RAMの全領域をクリアする場合に初期値導出処理を実行することによってIDコードに基づいて同一の固定値を導出するという第2のセキュリティ対策と、による2段階のセキュリティ対策が講じられることよって解析されるのを防止している。   In the present embodiment, as described above, when the counter for updating the big hit determination random number is counted up, the initial value for determining the big hit determination is determined in the range from the minimum value to the maximum value of the big hit determination random number. The random number is updated by executing the initial value lottery process. However, when the operation switch 952 of the payout control board 4110 is operated when the power is turned on, or in the main control side power-on process described later. The check sum value (sum value) obtained by calculating the sum of the game information stored in the main control built-in RAM of the main control MPU 4100a as a numerical value is the main control side power-off process (at power-off). When clearing the entire area of the main control built-in RAM, such as when it does not match the stored checksum value (sum value), the big hit determination initial value determination disturbance Is an initial value at which the main control MPU 4100a always derives the same fixed value from the fixed value range of the counter that extracts the ID code from the built-in nonvolatile RAM and updates the jackpot determination random number based on the extracted ID code. A derivation process is executed, and this derived fixed value is set. In other words, the initial value determination random number for jackpot determination is always overwritten and updated with the same fixed value derived based on the ID code by executing the initial value derivation process. As described above, the value set as the initial value for determining the initial value for jackpot determination is derived using the ID code, and the ID that is stored in the nonvolatile RAM built in the main control MPU 4100a by the manufacturer of the main control MPU 4100a. Based on the ID code by executing the initial value derivation process when clearing the entire area of the main control built-in RAM and the first security measure that the ID code is not rewritten even if an external device is used when the code is stored Thus, the second security measure of deriving the same fixed value and the two steps of security measures are taken to prevent analysis.

ここで、主制御MPU4100aに内蔵する不揮発性のRAMからIDコードを取り出し、この取り出したIDコードを大当り判定用初期値決定用乱数として用いる利点について説明する。例えば、賞球として払い出される遊技球を不正に獲得しようとする者が何らかの方法で遊技盤4を入手して分解し、主制御MPU4100aに内蔵する不揮発性のRAMに予め記憶されているIDコードを不正に取得し、大当り判定用乱数を更新するカウンタの値と大当り判定値とが一致するタイミングを把握することができたとしても、そのIDコードが個体を識別するためのユニークな符号が付されたものであるため、他の遊技盤に備える主制御MPUに内蔵する不揮発性のRAMに予め記憶されているIDコードとまったく異なるものとなる。つまり他の遊技盤においては、大当り判定用乱数を更新するカウンタの値と大当り判定値とが一致するタイミングも、入手した遊技盤4のものとまったく異なる。換言すると、入手した遊技盤4を分解して解析して得たIDコードは、他の遊技盤、つまり他のパチンコ遊技機において、まったく役に立たないものであるため、分解して解析した得た所定間隔ごとに瞬停を発生させ、その所定間隔ごとに、第一始動口2101や第二始動口2102に遊技球を入球させるという始動入賞を狙っても、大当り遊技状態を発生させることができない。   Here, an advantage will be described in which an ID code is extracted from a nonvolatile RAM incorporated in the main control MPU 4100a and the extracted ID code is used as a random number for determining an initial value for determining a big hit. For example, a person who illegally acquires a game ball to be paid out as a prize ball obtains the game board 4 by some method and disassembles it, and uses an ID code stored in advance in a nonvolatile RAM built in the main control MPU 4100a. Even if it is possible to grasp the timing when the value of the counter for updating the jackpot determination random number and the jackpot determination value coincide with each other, the ID code is assigned a unique code for identifying the individual. Therefore, the ID code is completely different from the ID code stored in advance in the non-volatile RAM built in the main control MPU provided in another game board. That is, in other game boards, the timing at which the counter value for updating the jackpot determination random number matches the jackpot determination value is also completely different from that of the acquired game board 4. In other words, the ID code obtained by disassembling and analyzing the obtained game board 4 is completely useless in other game boards, that is, other pachinko gaming machines. Even if a momentary power failure is generated at every interval and a game winning ball is entered at the first start port 2101 or the second start port 2102 at every predetermined interval, a big hit gaming state cannot be generated. .

[4−2.初期値更新型のカウンタの動き]
初期値更新型のカウンタは、主制御内蔵RAMの全領域をクリアする場合(RAMクリア時)に主制御MPU4100aがその内蔵する不揮発性のRAMからIDコードを取り出し、この取り出したIDコードに基づいて大当り判定用乱数を更新するカウンタの固定数値範囲から常に同一の固定値を導出する初期値導出処理を実行し、この導出した固定値がセットされる。初期値更新型のカウンタは、1サイクル目として、この固定値から最大値に向かってカウントアップし、続いて最小値から固定値に向かってカウントアップする。大当り判定用乱数の最小値から最大値までに亘る範囲をカウンタがカウントアップし終えると、大当り判定用初期値決定用乱数として大当り判定用乱数を更新するカウンタの固定数値範囲から一の値を抽選する初期値抽選処理を実行し、この抽選で得た値がセットされる。初期値更新型のカウンタは、2サイクル目として、抽選で得た値から最大値に向かってカウントアップし、続いて最小値から抽選で得た値に向かってカウントアップする。大当り判定用乱数の最小値から最大値までに亘る範囲をカウンタがカウントアップし終えると、再び、初期値抽選処理を実行し、この抽選で得た値がセットされ、初期値更新型のカウンタは、3サイクル目として、抽選で得た値から最大値に向かってカウントアップすることとなる。本実施形態では、大当り判定値の範囲(大当り判定範囲)として、低確率では値32668〜値32767が設定されており、通常時判定テーブルから読み出されるのに対して、高確率では値31768〜値32767が設定されており、確変時判定テーブルから読み出されるようになっている。大当り判定用乱数を更新するカウンタは、本実施形態では、最小値として値0〜最大値として値32767までに亘る予め定めた固定数値範囲を更新するようになっている。換言すると、大当り判定値の範囲(大当り判定範囲)は、低確率と高確率とのうち、どちらにおいても、最小値と最大値との中間値(値16384)から最大値側に寄った範囲に設定されている。
[4-2. Operation of counter with initial value update type]
In the initial value update type counter, when the entire area of the main control built-in RAM is cleared (when the RAM is cleared), the main control MPU 4100a extracts the ID code from the built-in non-volatile RAM, and based on the extracted ID code. An initial value deriving process for always deriving the same fixed value from the fixed numerical range of the counter for updating the big hit determination random number is executed, and this derived fixed value is set. The initial value update type counter counts up from this fixed value toward the maximum value and then counts up from the minimum value toward the fixed value as the first cycle. When the counter finishes counting up the range from the minimum value to the maximum value of the big hit determination random number, one value is randomly selected from the fixed numerical range of the counter that updates the big hit determination random number as the initial value determination random number for the big hit determination The initial value lottery process is executed, and the value obtained by this lottery is set. In the second cycle, the initial value update type counter counts up from the value obtained by the lottery toward the maximum value, and then counts up from the minimum value to the value obtained by the lottery. When the counter finishes counting up the range from the minimum value to the maximum value of the big hit determination random number, the initial value lottery process is executed again, the value obtained by this lottery is set, and the initial value update type counter As the third cycle, the value obtained by the lottery is counted up toward the maximum value. In the present embodiment, the value 32668 to the value 32767 are set for the low probability as the range of the big hit determination value (the jackpot determination range), which is read from the normal determination table, whereas the value 31768 to the value for the high probability. 32767 is set and is read from the probability variation determination table. In the present embodiment, the counter for updating the big hit determination random number updates a predetermined fixed numerical range ranging from a value 0 as a minimum value to a value 32767 as a maximum value. In other words, the range of the jackpot determination value (the jackpot determination range) is a range closer to the maximum value from the intermediate value (value 16384) between the minimum value and the maximum value in either of the low probability and the high probability. Is set.

ここで本実施形態では、大当り判定値の範囲(大当り判定範囲)として、低確率では値10〜値209が設定され、高確率では値10〜値339が設定されている場合を例示する。つまり、低確率では、大当りとなる乱数値(大当り判定用乱数)の数が200個としており、高確率では、大当たりとなる乱数値(大当り判定用乱数)の数が330個としている。ここで、本実施形態では、カウントして更新する複数の乱数同士が同期しないようにするため、乱数値の取得時期が異なる場合を除いて、同時に取得する他の乱数値の数を当該200個以外、例えば素数個としている。即ち、本実施形態では、大当り判定用乱数とは乱数値の取得時期が異なれば(例えば、後述するゲート2575に遊技球が通過したことを契機に取得される大当り遊技態様決定用乱数の値)、大当たりとなる乱数値の数が素数でないようにすることができる。なお、本実施形態では、上述した小当りとなるのは、例えば、低確率での大当り図柄の個数(200個)を4で割った個数分(50個)の大当り判定用乱数としている。   Here, in the present embodiment, as a big hit determination value range (big hit determination range), a value 10 to a value 209 are set for a low probability, and a value 10 to a value 339 are set for a high probability. That is, with a low probability, the number of random numbers (big hit determination random numbers) that are jackpots is 200, and with a high probability, the number of random numbers (big hit determination random numbers) that are jackpots is 330. Here, in this embodiment, in order to prevent a plurality of random numbers to be counted and updated from being synchronized with each other, the number of other random number values acquired at the same time is the 200, except when the acquisition times of random number values are different. Other than that, for example, a prime number. In other words, in the present embodiment, if the acquisition time of the random number value is different from the big hit determination random number (for example, the value of the random number for determining the big hit game mode acquired when the game ball passes through the gate 2575 described later) The number of random numbers that are jackpots can be made non-prime. In the present embodiment, the small hits described above are, for example, big hit determination random numbers corresponding to the number (50) of the number of big hit symbols (200) with low probability divided by four.

そのような大当り判定値の範囲が設定されている場合について検討してみると、大当り判定値の範囲(大当り判定範囲)が低確率と高確率とのうち、どちらにおいても、最小値と最大値との中間値(値16384)から最小値側に寄った範囲に設定されることとなる。このような場合には、初期値更新型のカウンタの値が値0となるタイミングから大当り判定値の範囲(大当り判定範囲)のうち最初の値10となる時期までに亘る期間と、この値10の次の値11から最大値(値32767)までに亘る期間と、を比べると、前者の期間の方が後者の期間と比べて上述した初期値抽選処理によって抽選される確率が極めて低い。換言すると、初期値更新型のカウンタの値が値0となるタイミングから大当り判定値の範囲(大当り判定範囲)のうち最後の値(低確率では値209、高確率では値339)までに亘る範囲と、この最後の値の次の値(低確率では値210、高確率では値340)から最大値(値32767)となるまでに亘る範囲と、を比べると、前者の範囲の方が後者の範囲と比べて初期値抽選処理によって抽選される確率が極めて低い。そうすると、例えば、何らかの方法によって初期値更新型のカウンタの値が値0となるタイミングを不正に取得して第一始動口2101や第二始動口2102に向かって電波を照射することにより遊技球が第一始動口2101や第二始動口2102に入球したかのように装う不正行為が行われると、初期値更新型のカウンタの値が大当り判定値の範囲(大当り判定範囲)うち、いずれかの値となる確率が高いと言える。   Considering the case where such a big hit judgment value range is set, the minimum and maximum values are the same regardless of whether the jackpot judgment value range (big hit judgment range) is low probability or high probability. Is set to a range closer to the minimum value side from the intermediate value (value 16384). In such a case, the period from the timing when the value of the initial value update type counter becomes 0 to the time when it becomes the first value 10 in the range of the big hit determination value (big hit determination range), and this value 10 When the period from the next value 11 to the maximum value (value 32767) is compared, the probability of the former period being drawn by the above-described initial value lottery process is much lower than that of the latter period. In other words, the range from the timing when the value of the initial value update type counter becomes 0 to the last value (value 209 for low probability, value 339 for high probability) in the range of jackpot determination value (big hit determination range). And the range from the value after this last value (value 210 for low probability, value 340 for high probability) to the maximum value (value 32767), the former range is the latter Compared with the range, the probability of being drawn by the initial value lottery process is extremely low. Then, for example, the game ball is obtained by illegally acquiring the timing at which the value of the initial value update type counter becomes 0 by some method and irradiating the first start port 2101 and the second start port 2102 with radio waves. When a fraudulent act pretending to have entered the first start port 2101 or the second start port 2102 is performed, the value of the initial value update type counter is one of the jackpot determination value ranges (jackpot determination range). It can be said that there is a high probability that

これに対して、本実施形態のように、大当り判定値の範囲(大当り判定範囲)が低確率と高確率とのうち、どちらにおいても、最小値と最大値との中間値(値16384)から最大値側に寄った範囲に設定されている場合には、初期値更新型のカウンタの値が値0となるタイミングから大当り判定値の範囲(大当り判定範囲)のうち最初の値となる手前の値(低確率では値32667、高確率では値31767)となる時期までに亘る期間と、最初の値(低確率では値32668、高確率では値31768)から最大値(値32767)までに亘る期間と、を比べると、前者の期間の方が後者の期間と比べて上述した初期値抽選処理によって抽選される確率が極めて高い。換言すると、初期値更新型のカウンタの値が値0となるタイミングから大当り判定値の範囲(大当り判定範囲)のうち最初の値の手前の値(低確率では値32667、高確率では値31767)までに亘る範囲と、最初の値(低確率では値32668、高確率では値31768)から最大値(値32767)までに亘る範囲と、を比べると、前者の範囲の方が後者の範囲と比べて初期値抽選処理によって抽選される確率が極めて高い。そうすると、初期値更新型のカウンタは、値0から大当り判定値の範囲(大当り判定範囲)のうち最初の値の手前の値(低確率では値32667、高確率では値31767)までに亘る範囲のうち、いずれかの値が初期値抽選処理により抽選された値となって上述した大当り判定用初期値決定用乱数にセットされることとなるため、この抽選で得た値から最大値に向かってカウントアップし、続いて最小値から抽選で得た値に向かってカウントアップすることとなる。大当り判定用乱数の最小値から最大値までに亘る範囲をカウンタがカウントアップし終えると、再び、初期値抽選処理を実行し、この抽選で得た値がセットされ、初期値更新型のカウンタは、抽選で得た値から最大値に向かってカウントアップすることとなる。   On the other hand, as in the present embodiment, the range of the jackpot determination value (the jackpot determination range) is from an intermediate value (value 16384) between the minimum value and the maximum value in either the low probability or the high probability. If it is set to the range close to the maximum value side, the initial value update type counter value immediately before the value that becomes the first value in the range of the big hit judgment value (big hit judgment range) from the timing when the value becomes zero. A period extending to the time when the value (value 32667 for low probability, value 31767 for high probability) and a period extending from the first value (value 32668 for low probability, value 31768 for high probability) to the maximum value (value 32767) And the former period has a higher probability of being drawn by the above-described initial value lottery process than the latter period. In other words, the value before the first value in the range of the big hit determination value (big hit determination range) from the timing when the value of the initial value update type counter becomes 0 (value 32667 for low probability, value 31767 for high probability). And the range from the first value (value 32668 for low probability, value 31768 for high probability) to the maximum value (value 32767), the former range is compared to the latter range The probability of being drawn by the initial value lottery process is extremely high. Then, the initial value update type counter has a range from the value 0 to the value before the first value (value 32667 for low probability, value 31767 for high probability) in the range of jackpot determination value (big hit determination range). Of these values, one of the values becomes a value drawn by the initial value lottery process, and is set in the above-described big hit determination initial value determination random number. Counting up, and then counting up from the minimum value to the value obtained by lottery. When the counter finishes counting up the range from the minimum value to the maximum value of the big hit determination random number, the initial value lottery process is executed again, the value obtained by this lottery is set, and the initial value update type counter Then, the value obtained by the lottery is counted up toward the maximum value.

つまり、本実施形態のように、大当り判定値の範囲(大当り判定範囲)が低確率と高確率とのうち、どちらにおいても、最小値と最大値との中間値(値16384)から最大値側に寄った範囲に設定されている場合には、初期値更新型のカウンタの値が値0となるタイミングから大当り判定値の範囲(大当り判定範囲)のうち最初の値となる手前の値(低確率では値32667、高確率では値31767)となる時期までに亘る期間が不規則となり、ランダム性に富んだものとなっている。これにより、例えば、何らかの方法によって初期値更新型のカウンタの値が値0となるタイミングを不正に取得して第一始動口2101や第二始動口2102に向かって電波を照射することにより遊技球が第一始動口2101や第二始動口2102に入球したかのように装う不正行為が行われたとしても、初期値更新型のカウンタの値が大当り判定値の範囲(大当り判定範囲)うち、いずれかの値となる確率が低いと言える。   That is, as in the present embodiment, the range of the big hit determination value (big hit determination range) is either the low probability or the high probability, and the maximum value side from the intermediate value (value 16384) between the minimum value and the maximum value. Is set to a range close to the initial value update type counter value from the timing when the value becomes 0, the first value in the range of the big hit determination value (big hit determination range) (low value) The period extending to the time when the probability becomes 32667 and the value 31767) with high probability is irregular and rich in randomness. Thereby, for example, the game ball is obtained by illegally acquiring the timing when the value of the initial value update type counter becomes 0 by some method and irradiating the first start port 2101 or the second start port 2102 with radio waves. Even if an illegal act pretending to have entered the first start port 2101 or the second start port 2102 is performed, the value of the initial value update type counter is within the range of the big hit determination value (big hit determination range) It can be said that the probability of any value is low.

なお、初期値更新型のカウンタは、最小値から最大値までの範囲を繰り返し更新される。初期値から大当り判定値の範囲(大当り判定範囲)の最小値(最初の値)から2サイクル目においてカウンタが大当り判定値の範囲(大当り判定範囲)の最小値(最初の値)となるまでに要する時間は時間T0となる。時間T0から3サイクル目においてカウンタが大当り判定値の範囲(大当り判定範囲)の最小値(最初の値)となるまでに要する時間は時間T1となり、時間T0に比べて時間T1の方が短くなる。時間T1から4サイクル目においてカウンタが大当り判定値の範囲(大当り判定範囲)の最小値(最初の値)となるまでに要する時間は時間T2となり、時間T1に比べて時間T2の方が短くなる。このように、初期値更新型のカウンタでは、更新されるカウンタが大当り判定値の範囲(大当り判定範囲)の最小値(最初の値)となる時間に対してゆらぎを持たせることによって(周期性を排除した状態にすることによって)遊技者に察知されないようになっている。   The initial value update type counter is repeatedly updated in the range from the minimum value to the maximum value. Until the counter reaches the minimum value (first value) in the range of the big hit judgment value (big hit judgment range) in the second cycle from the minimum value (first value) of the range from the initial value to the big hit judgment value (big hit judgment range) The time required is time T0. The time required for the counter to reach the minimum value (first value) of the big hit determination value range (big hit determination range) in the third cycle from time T0 is time T1, and time T1 is shorter than time T0. . The time required for the counter to reach the minimum value (first value) of the big hit determination value range (big hit determination range) in the fourth cycle from time T1 is time T2, and time T2 is shorter than time T1. . As described above, in the initial value update type counter, fluctuation is given to the time when the updated counter becomes the minimum value (first value) of the range of the big hit determination value (big hit determination range) (periodicity). The player is not perceived by the player).

[4−3.主制御側電源投入時処理]
パチンコ遊技機1に電源が投入されると、上述した主制御プログラムが、主制御基板4100の主制御MPU4100aによる制御の下、図12及び図13に示すように、主制御側電源投入時処理を行う。この主制御側電源投入時処理が開始されると、主制御プログラムは、主制御MPU4100aの制御の下、スタックポインタの設定を行う(ステップS10)。スタックポインタは、例えば、使用中の記憶素子(レジスタ)の内容を一時記憶するためにスタックに積んだアドレスを示したり、サブルーチンを終了して本ルーチンに復帰するときの本ルーチンの復帰アドレスを一時記憶するためにスタックに積んだアドレスを示したりするものであり、スタックが積まれるごとにスタックポインタが進む。ステップS10では、主制御プログラムが、スタックポインタに初期アドレスをセットし、この初期アドレスから、レジスタの内容、復帰アドレス等をスタックに積んで行く。そして最後に積まれたスタックから最初に積まれたスタックまで、順に読み出すことによりスタックポインタが初期アドレスに戻る。
[4-3. Main control side power-on processing]
When the pachinko gaming machine 1 is turned on, the main control program described above performs the main control side power-on process as shown in FIGS. 12 and 13 under the control of the main control MPU 4100a of the main control board 4100. Do. When the main control side power-on process is started, the main control program sets the stack pointer under the control of the main control MPU 4100a (step S10). The stack pointer indicates, for example, the address accumulated on the stack to temporarily store the contents of the memory element (register) being used, or temporarily returns the return address of this routine when returning to this routine after completing the subroutine. It indicates the address that is stacked on the stack for storage, and the stack pointer advances each time the stack is stacked. In step S10, the main control program sets an initial address in the stack pointer, and from this initial address, the contents of the register, the return address, etc. are stacked on the stack. Then, the stack pointer returns to the initial address by sequentially reading from the last stacked stack to the first stacked stack.

ステップS10に続いて、主制御プログラムは、停電監視回路4100eに停電クリア信号の出力を開始する(ステップS11)。この停電監視回路4100eは、電圧比較回路であるコンパレータMICと、DタイプフリップフロップMICと、から構成されている。電圧比較回路であるコンパレータMICは、+24Vとリファレンス電圧との電圧を比較したり、+12Vとリファレンス電圧との電圧を比較したりすることで、その比較結果を出力する。この比較結果は、停電又は瞬停が発生していない場合ではその論理がHIとなってDタイプフリップフロップMICのプリセット端子であるPR端子に入力される一方、停電又は瞬停が発生した場合ではその論理がLOWとなってDタイプフリップフロップMICのプリセット端子であるPR端子に入力されるようになっている。ステップS11では、このDタイプフリップフロップMICのクリア端子であるCLR端子に停電クリア信号の出力を開始する。この停電クリア信号は、主制御MPU4100aの所定の出力ポートの出力端子からその論理をLOWとして、リセット機能付き主制御出力回路4100caを介して、DタイプフリップフロップICのクリア端子であるCLR端子に入力される。これにより、主制御MPU4100aは、DタイプフリップフロップMICのラッチ状態を解除することができ、ラッチ状態をセットするまでの間、DタイプフリップフロップMICのプリセット端子であるPR端子に入力された論理を反転して出力端子である1Q端子から出力する状態とすることができ、その1Q端子からの信号を監視することができる。   Subsequent to step S10, the main control program starts outputting a power failure clear signal to the power failure monitoring circuit 4100e (step S11). The power failure monitoring circuit 4100e includes a comparator MIC that is a voltage comparison circuit and a D-type flip-flop MIC. The comparator MIC, which is a voltage comparison circuit, compares the voltage between + 24V and the reference voltage, or compares the voltage between + 12V and the reference voltage, and outputs the comparison result. This comparison result shows that when no power failure or instantaneous power failure occurs, the logic becomes HI and is input to the PR terminal which is the preset terminal of the D-type flip-flop MIC, while when a power failure or instantaneous power failure occurs. The logic becomes LOW and is inputted to the PR terminal which is a preset terminal of the D type flip-flop MIC. In step S11, output of the power failure clear signal is started to the CLR terminal which is the clear terminal of the D type flip-flop MIC. This power failure clear signal is input from the output terminal of the predetermined output port of the main control MPU 4100a to the CLR terminal which is the clear terminal of the D-type flip-flop IC via the main control output circuit 4100ca with a reset function by setting the logic to LOW. Is done. As a result, the main control MPU 4100a can release the latch state of the D-type flip-flop MIC, and the logic input to the PR terminal which is the preset terminal of the D-type flip-flop MIC until the latch state is set. It can be inverted and output from the 1Q terminal, which is the output terminal, and the signal from the 1Q terminal can be monitored.

ステップS12に続いて、主制御プログラムは、ウェイトタイマ処理1を行い(ステップS12)、停電予告信号が入力されているか否かを判定する(ステップS14)。電源投入時から所定電圧となるまでの間では電圧がすぐに上がらない。一方、停電又は瞬停(電力の供給が一時停止する現象)となるときでは電圧が下がり、停電予告電圧より小さくなると、停電監視回路4100eから停電予告として停電予告信号が入力される。電源投入時から所定電圧に上がるまでの間では同様に電圧が停電予告電圧より小さくなると、停電監視回路4100eから停電予告信号が入力される。そこで、ステップS12のウェイトタイマ処理1は、電源投入後、電圧が停電予告電圧より大きくなって安定するまで待つための処理であり、本実施形態では、待ち時間(ウェイトタイマ)として200ミリ秒(ms)が設定されている。ステップS14の判定でその停電予告信号が入力されているか否かの判定を行っている。この判定では、停電予告信号として、上述したDタイプフリップフロップMICの出力端子である1Q端子から出力されている信号に基づいて行う。   Subsequent to step S12, the main control program performs wait timer process 1 (step S12), and determines whether or not a power failure notice signal is input (step S14). The voltage does not increase immediately from when the power is turned on until the voltage reaches the predetermined voltage. On the other hand, when there is a power failure or a momentary power failure (a phenomenon in which the supply of power is temporarily stopped), when the voltage drops and becomes lower than the power failure warning voltage, a power failure warning signal is input as a power failure warning from the power failure monitoring circuit 4100e. Similarly, if the voltage becomes lower than the power failure warning voltage from when the power is turned on until it reaches the predetermined voltage, a power failure warning signal is input from the power failure monitoring circuit 4100e. Therefore, the wait timer process 1 in step S12 is a process for waiting after the power is turned on until the voltage becomes larger than the power failure warning voltage and stabilizes. ms) is set. In step S14, it is determined whether or not the power failure notice signal is input. This determination is performed based on the signal output from the 1Q terminal, which is the output terminal of the D-type flip-flop MIC, as the power failure warning signal.

ステップS14で電源投入後に電圧が停電予告電圧より大きくなって安定するまで待っても停電予告信号の入力がなかったときには、主制御プログラムは、DタイプフリップフロップMICのクリア端子であるCLR端子に停電クリア信号の出力を停止する(ステップS15)。ここでは、停電クリア信号は、主制御MPU4100aの所定の出力ポートの出力端子からその論理をHIとして、リセット機能付き主制御出力回路4100caを介して、DタイプフリップフロップICのクリア端子であるCLR端子に入力される。これにより、主制御MPU4100aは、DタイプフリップフロップMICをラッチ状態にセットすることができる。DタイプフリップフロップMICは、そのプリセット端子であるPR端子に論理がLOWとなって入力された状態をラッチすると、出力端子である1Q端子から停電予告信号を出力する。   If no power failure warning signal is input after the power is turned on in step S14 until the voltage becomes higher than the power failure warning voltage and stabilizes, the main control program applies power failure to the CLR terminal which is the clear terminal of the D-type flip-flop MIC. The output of the clear signal is stopped (step S15). Here, the power failure clear signal is output from the output terminal of a predetermined output port of the main control MPU 4100a, the logic is HI, and the CLR terminal which is the clear terminal of the D-type flip-flop IC via the main control output circuit 4100ca with reset function. Is input. Thereby, the main control MPU 4100a can set the D-type flip-flop MIC to the latched state. When the D-type flip-flop MIC latches a state where the logic is LOW and is input to the PR terminal which is the preset terminal, the D-type flip-flop MIC outputs a power failure warning signal from the 1Q terminal which is the output terminal.

ステップS15に続いて、主制御プログラムは、電源投入時から所定時間に亘って主制御内蔵RAM(遊技記憶部)の初期化を行うRAMクリア処理を実行可能な状態とする(遊技側電源投入時操作制御手段)。具体的には、主制御プログラムは、まず、図16に示した払出制御基板4110の操作スイッチ952が操作されているか否かを判定する(ステップS16)。この判定では、主制御プログラムが、払出制御基板4110の操作スイッチ952が操作されたことに伴う操作信号(検出信号)に基づくエラー解除ナビコマンド(第1のエラー解除コマンド)が主制御MPU4100aに入力されているか否かにより行う。主制御プログラムは、その操作信号の論理値に基づいて、操作スイッチ952からの操作信号の論理値がHIであるときにはRAMクリアを行うことを指示するものではないと判断して操作スイッチ952が操作されていないと判定する一方、操作スイッチ952からの操作信号の論理値がLOWであるときにはRAMクリアを行うことを指示するものであると判断して操作スイッチ952が操作されていると判定する。   Subsequent to step S15, the main control program makes a state in which RAM clear processing for initializing the main control built-in RAM (game storage unit) can be executed for a predetermined time from when the power is turned on (when the game side power is turned on) Operation control means). Specifically, the main control program first determines whether or not the operation switch 952 of the payout control board 4110 shown in FIG. 16 is operated (step S16). In this determination, the main control program inputs an error release navigation command (first error release command) based on an operation signal (detection signal) associated with the operation switch 952 of the payout control board 4110 being operated to the main control MPU 4100a. Depending on whether or not it is done. Based on the logic value of the operation signal, the main control program determines that the RAM is not instructed to be cleared when the logic value of the operation signal from the operation switch 952 is HI, and the operation switch 952 operates On the other hand, when the logical value of the operation signal from the operation switch 952 is LOW, it is determined that the instruction to perform the RAM clear is made and it is determined that the operation switch 952 is operated.

ステップS16において、主制御プログラムは、上記操作スイッチ952が操作されているときには、RAMクリア報知フラグRCL−FLGに値1をセットする(ステップS18)。一方、主制御プログラムは、ステップS16で操作スイッチ952が操作されていないときには、RAMクリア報知フラグRCL−FLGに値0をセットする(ステップS20)。即ち、主制御プログラムは、電源投入時から所定時間に亘って、主制御MPU4100aに内蔵されたRAM(以下、「主制御内蔵RAM」と記載する。)の初期化を行うRAMクリア処理を実行可能な状態とする(遊技制御側電源投入時操作制御手段)。上述したRAMクリア報知フラグRCL−FLGは、主制御MPU4100aの主制御内蔵RAM(遊技記憶部)に記憶されている、確率変動、未払い出し賞球等の遊技に関する遊技情報を消去するか否かを示すフラグであり、遊技情報を消去するとき値1、遊技情報を消去しないとき値0にそれぞれ設定される。なお、ステップS18及びステップS20でセットされたRAMクリア報知フラグRCL−FLGの値は、主制御MPU4100aの汎用記憶素子(汎用レジスタ)に記憶される。   In step S16, when the operation switch 952 is operated, the main control program sets a value 1 to the RAM clear notification flag RCL-FLG (step S18). On the other hand, when the operation switch 952 is not operated in step S16, the main control program sets a value 0 to the RAM clear notification flag RCL-FLG (step S20). That is, the main control program can execute a RAM clear process for initializing a RAM (hereinafter referred to as “main control built-in RAM”) built in the main control MPU 4100a for a predetermined time from when the power is turned on. (Game control side power-on operation control means). The above-mentioned RAM clear notification flag RCL-FLG indicates whether or not to erase game information related to games such as probability variation, unpaid prize balls, etc. stored in the main control built-in RAM (game storage unit) of the main control MPU 4100a. This flag is set to a value of 1 when erasing game information and a value of 0 when not erasing game information. Note that the value of the RAM clear notification flag RCL-FLG set in step S18 and step S20 is stored in the general-purpose storage element (general-purpose register) of the main control MPU 4100a.

ステップS18又はステップS20に続いて、主制御プログラムは、ウェイトタイマ処理2を行う(ステップS22)。このウェイトタイマ処理2では、図7に示した、周辺制御基板4140の液晶及び音制御部4160による遊技盤側液晶表示装置1900及び上皿側液晶表示装置246の描画制御を行うシステムが起動する(ブートする)まで待っている。本実施形態では、ブートするまでの時間(ブートタイマ)として2秒(s)が設定されている。   Subsequent to step S18 or step S20, the main control program performs wait timer processing 2 (step S22). In this wait timer process 2, the system for controlling drawing of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246 by the liquid crystal and sound control unit 4160 of the peripheral control board 4140 shown in FIG. Waiting to boot). In this embodiment, 2 seconds (s) is set as a time until booting (boot timer).

ステップS22に続いて、主制御プログラムは、RAMクリア報知フラグRCL−FLGが値0である否かを判定する(ステップS24)。上述したように、RAMクリア報知フラグRCL−FLGは、遊技情報を消去するとき値1、遊技情報を消去しないとき値0にそれぞれ設定される。ステップS24でRAMクリア報知フラグRCL−FLGが値0であるとき、つまり遊技情報を消去しないときには、チェックサムの算出を行う(ステップS26)。このチェックサムは、主制御内蔵RAMに記憶されている遊技情報を数値とみなしてその合計を算出するものである。   Subsequent to step S22, the main control program determines whether or not the RAM clear notification flag RCL-FLG is 0 (step S24). As described above, the RAM clear notification flag RCL-FLG is set to a value of 1 when erasing game information and a value of 0 when not erasing game information. When the RAM clear notification flag RCL-FLG is 0 in step S24, that is, when the game information is not erased, a checksum is calculated (step S26). This checksum is calculated by regarding the game information stored in the main control built-in RAM as a numerical value and calculating the sum.

ステップS26に続いて、主制御プログラムは、算出したチェックサムの値(サム値)が後述する主制御側電源断時処理(電源断時)において記憶されているチェックサムの値(サム値)と一致しているか否かを判定する(ステップS28)。一致しているときには、この主制御プログラムは、バックアップフラグBK−FLGが値1であるか否かを判定する(ステップS30)。このバックアップフラグBK−FLGは、遊技情報、チェックサムの値(サム値)及びバックアップフラグBK−FLGの値等の遊技バックアップ情報を後述する主制御側電源断時処理において主制御内蔵RAMに記憶保持したか否かを示すフラグであり、主制御側電源断時処理を正常に終了したとき値1、主制御側電源断時処理を正常に終了していないとき値0にそれぞれ設定される。   Subsequent to step S26, the main control program uses the calculated checksum value (sum value) as the checksum value (sum value) stored in the main control side power-off processing (power-off) described later. It is determined whether or not they match (step S28). If they match, the main control program determines whether or not the backup flag BK-FLG is 1 (step S30). This backup flag BK-FLG stores game backup information such as game information, checksum value (sum value) and backup flag BK-FLG in the main control built-in RAM in the main control side power-off process described later. This flag is set to a value of 1 when the main control-side power-off process is normally terminated, and a value of 0 when the main-control-side power-off process is not terminated normally.

ステップS30でバックアップフラグBK−FLGが値1であるとき、つまり主制御側電源断時処理を正常に終了したときには、主制御プログラムは、復電時として主制御内蔵RAMの作業領域を設定する(ステップS32)。この設定は、バックアップフラグBK−FLGに値0をセットするほか、主制御MPU4100aに内蔵されたROM(以下、「主制御内蔵ROM」と記載する。)から復電時情報を読み出し、この復電時情報を主制御内蔵RAMの作業領域にセットする。なお、「復電」とは、電源を遮断した状態から電源を投入した状態のほかに、停電又は瞬停からその後の電力の復旧した状態、高周波が照射されたことを検出してリセットし、その後に復帰した状態も含める。   When the backup flag BK-FLG has a value of 1 in step S30, that is, when the main control side power-off process is normally terminated, the main control program sets the work area of the main control built-in RAM as the power is restored ( Step S32). In this setting, the backup flag BK-FLG is set to a value 0, and the power recovery time information is read from a ROM built in the main control MPU 4100a (hereinafter referred to as “main control built-in ROM”). Time information is set in the work area of the main control built-in RAM. In addition, “recovery” means not only the state where the power is turned off but also the state where the power is turned on, the state where the power is restored after a power outage or a momentary power failure, and the detection that a high frequency has been applied. It also includes the state of returning after that.

ステップS32に続いて、主制御プログラムは、電源投入時コマンド作成処理を行う(ステップS34)。この電源投入時コマンド作成処理では、遊技バックアップ情報から遊技情報を読み出してこの遊技情報に応じた各種コマンドを主制御内蔵RAMの所定記憶領域に記憶する。   Subsequent to step S32, the main control program performs a power-on command creation process (step S34). In the power-on command creation process, game information is read from the game backup information, and various commands corresponding to the game information are stored in a predetermined storage area of the main control built-in RAM.

一方、ステップS24でRAMクリア報知フラグRCL−FLGが値0でない(値1である)とき、つまり遊技情報を消去するときには、或いはステップS28でチェックサムの値(サム値)が一致していないときには、又はステップS30でバックアップフラグBK−FLGが値1でない(値0である)とき、つまり主制御側電源断時処理を正常に終了していないときには、主制御プログラムは、主制御内蔵RAMの全領域をクリアする(ステップS36)。即ち、主制御プログラムは、上述した操作スイッチ952の操作に伴う検出信号の入力を契機として遊技制御側RAMクリア処理を実行している(払出制御側電源投入時操作制御手段)。具体的には、主制御プログラムは、値0を主制御内蔵RAMに書き込むことよって行う。なお、その代わりに、主制御プログラムは、初期値として主制御内蔵ROMから所定値を読み出して、セットしてもよい。また、主制御MPU4100aは、操作スイッチ952からの操作信号の論理値がRAMクリアを指示するもので遊技情報を消去するとき、サム値が一致していないとき、又は主制御側電源断時処理を正常に終了していないときには、主制御MPU4100aの不揮発性のRAMに予め記憶された固有のIDコードを取り出し、この取り出したIDコードに基づいて大当り判定用乱数を更新するカウンタの固定数値範囲から常に同一の固定値を導出する初期値導出処理を行い、この固定値を、上述した大当り判定用乱数の初期値の決定に用いるための大当り判定用初期値決定用乱数にセットする。   On the other hand, when the RAM clear notification flag RCL-FLG is not 0 (value 1) in step S24, that is, when the game information is deleted, or when the checksum value (sum value) does not match in step S28. Alternatively, when the backup flag BK-FLG is not a value 1 (value 0) in step S30, that is, when the main control side power-off process has not been terminated normally, the main control program stores all the main control built-in RAM. The area is cleared (step S36). That is, the main control program executes the game control side RAM clearing process triggered by the input of the detection signal accompanying the operation of the operation switch 952 described above (payout control side power-on operation control means). Specifically, the main control program is executed by writing the value 0 into the main control built-in RAM. Alternatively, the main control program may read and set a predetermined value from the main control built-in ROM as an initial value. In addition, the main control MPU 4100a performs processing when the logical value of the operation signal from the operation switch 952 indicates RAM clear and when the game information is erased, the sum values do not match, or when the main control side power is cut off. When the process is not completed normally, a unique ID code stored in advance in the nonvolatile RAM of the main control MPU 4100a is taken out, and the big hit determination random number is updated based on the taken out ID code. An initial value deriving process for deriving the same fixed value is performed, and this fixed value is set to the big hit determination initial value determining random number used for determining the initial value of the big hit determining random number.

ステップS36に続いて、主制御プログラムは、初期設定として主制御内蔵RAMの作業領域を設定する(ステップS38)。この設定は、主制御内蔵ROMから初期情報を読み出してこの初期情報を主制御内蔵RAMの作業領域にセットされることにより実施される。   Subsequent to step S36, the main control program sets the work area of the main control built-in RAM as an initial setting (step S38). This setting is performed by reading the initial information from the main control built-in ROM and setting the initial information in the work area of the main control built-in RAM.

ステップS38に続いて、主制御プログラムは、RAMクリア報知及びテストコマンド作成処理を行う(ステップS40)。このRAMクリア報知及びテストコマンド作成処理では、主制御内蔵RAMをクリアして初期設定を行った旨を報知するための図35に示した電源投入に区分される電源投入コマンドを作成するとともに、周辺制御基板4140の各種検査を行うための図36に示したテスト関連に区分されるテストコマンドを作成して、送信情報として主制御内蔵RAMの送信情報記憶領域にそれぞれ記憶する。   Subsequent to step S38, the main control program performs RAM clear notification and test command creation processing (step S40). In the RAM clear notification and test command creation processing, a power-on command classified into power-on shown in FIG. 35 for notifying that the main control built-in RAM is cleared and initial setting is performed is created. Test commands classified into test relations shown in FIG. 36 for performing various inspections of the control board 4140 are created and stored as transmission information in the transmission information storage area of the main control built-in RAM.

ステップS34又はステップS40に続いて、主制御プログラムは、割り込み初期設定を行う(ステップS42)。この設定は、後述する主制御側タイマ割り込み処理が行われるときの割り込み周期を設定するものである。本実施形態では4msに設定されている。   Subsequent to step S34 or step S40, the main control program performs interrupt initialization (step S42). This setting is to set an interrupt cycle when a main control timer interrupt process described later is performed. In this embodiment, it is set to 4 ms.

ステップS42に続いて、主制御プログラムは、割り込み許可設定を行う(ステップS44)。この設定によりステップS42で設定した割り込み周期、つまり4msごとに主制御側タイマ割り込み処理が繰り返し行われる。   Subsequent to step S42, the main control program performs interrupt permission setting (step S44). With this setting, the main control side timer interrupt process is repeated every interrupt cycle set in step S42, that is, every 4 ms.

ステップS44に続いて、主制御プログラムは、電源投入時から所定時間を経過すると、つまり、主制御側メイン処理が開始されると、操作スイッチ952(操作スイッチ)の操作に伴うエラー解除ナビコマンドの受け取りを契機とした遊技制御側RAMクリア処理の実行を規制することとなる(通常時操作制御手段)。以上のように、主制御プログラムは、操作スイッチ952の操作に伴って入力される検出信号を、タイムシェアリングの概念により、上述のように電源投入時から所定時間に亘ってエラー解除ナビコマンドの入力を契機としてRAMクリア処理を実行させたり(遊技制御側電源投入時操作制御手段)、当該所定時間の経過後は当該エラー解除ナビコマンドの入力があってもRAMクリア処理の実行を規制し(遊技制御側通常時操作制御手段)、発生したエラーに伴うエラー報知を解除するための解除スイッチとして取り扱っている。つまり、本来、払出動作に関して発生したエラーを解除するために使用されるはずであった操作スイッチ952(エラー解除部)を、電源投入時から所定時間に亘って、その代わりに、遊技記憶部としての主制御内蔵RAM(及び後述する払出記憶部としての払出制御内蔵RAM)の初期化を開始させるためのRAMクリア処理を実行するための操作部として機能させたり、当該所定時間の経過後に、遊技球の払出動作に関して発生したエラーを解除するための操作部として機能させることができるようになっている。   Subsequent to step S44, when a predetermined time elapses from when the power is turned on, that is, when the main process on the main control side is started, an error cancel navigation command associated with the operation of the operation switch 952 (operation switch) is displayed. Execution of the game control side RAM clear process triggered by the reception will be restricted (normal operation control means). As described above, the main control program uses the error sharing navigation command for a predetermined time from the time of power-on as described above, based on the concept of time sharing, based on the concept of time sharing. When the input is triggered, the RAM clear process is executed (game control side power-on operation control means), and after the predetermined time has elapsed, the execution of the RAM clear process is restricted even if the error canceling navigation command is input ( The game control side normal operation control means) is handled as a release switch for releasing the error notification associated with the error that has occurred. In other words, the operation switch 952 (error release unit) that should have been originally used to release an error that has occurred with respect to the payout operation is used as a game storage unit instead of a predetermined time from the power-on. The main control built-in RAM (and a payout control built-in RAM as a payout storage unit to be described later) functions as an operation unit for executing a RAM clear process for starting initialization, and after the predetermined time has elapsed, It can function as an operation unit for canceling an error that has occurred with respect to the ball dispensing operation.

次に主制御プログラムは、ウォッチドックタイマクリアレジスタWCLに値Aをセットする(ステップS46)。このウォッチドックタイマクリアレジスタWCLに、値A、値Bそして値Cを順にセットすることによりウォッチドックタイマがクリア設定される。   Next, the main control program sets a value A in the watchdog timer clear register WCL (step S46). The watchdog timer is cleared by setting value A, value B and value C in this order in this watchdog timer clear register WCL.

ステップS46に続いて、主制御プログラムは、停電予告信号が入力されているか否かを判定する(ステップS48)。上述したように、パチンコ遊技機1の電源を遮断したり、停電又は瞬停したりするときには、電圧が停電予告電圧以下となると、停電予告として停電予告信号が停電監視回路4100eから入力される。ステップS48の判定は、この停電予告信号に基づいて行う。   Subsequent to step S46, the main control program determines whether or not a power failure notice signal is input (step S48). As described above, when the power of the pachinko gaming machine 1 is shut off, or when a power failure or a momentary power failure occurs, a power failure notice signal is input from the power failure monitoring circuit 4100e as a power failure notice if the voltage falls below the power failure notice voltage. The determination in step S48 is made based on this power failure notice signal.

ステップS48で停電予告信号の入力がないときには、主制御プログラムは非当落乱数更新処理を行う(ステップS50)。この非当落乱数更新処理では、上述した、リーチ判定用乱数、変動表示パターン用乱数、大当り図柄用初期値決定用乱数、及び小当り図柄用初期値決定用乱数等を更新する。このように、非当落乱数更新処理では、当落判定(大当り判定)にかかわらない乱数を更新する。なお、上述した、普通図柄当り判定用乱数、普通図柄当り判定用初期値決定用乱数及び普通図柄変動表示パターン用乱数等もこの非当落乱数更新処理により更新される。   When no power failure warning signal is input in step S48, the main control program performs a non-winning random number update process (step S50). In this non-winning random number update process, the reach determination random number, the variable display pattern random number, the big hit symbol initial value determining random number, the small hit symbol initial value determining random number, and the like are updated. In this way, in the non-winning random number update process, random numbers that are not involved in the winning determination (big hit determination) are updated. It should be noted that the above-described random numbers for normal symbol determination, random numbers for initial value determination for normal symbol determination, random numbers for normal symbol variation display pattern, and the like described above are also updated by this non-winning random number update process.

ステップS50に続いて、再びステップS46に戻り、主制御プログラムは、ウォッチドックタイマクリアレジスタWCLに値Aをセットし、ステップS48で停電予告信号の入力があるか否かを判定し、この停電予告信号の入力がなければ、ステップS50で非当落乱数更新処理を行い、ステップS46〜ステップS50を繰り返し行う。なお、このステップS46〜ステップS50の処理を「主制御側メイン処理」という。   Following step S50, the process returns to step S46 again, the main control program sets a value A in the watchdog timer clear register WCL, determines whether or not a power failure warning signal is input in step S48, and this power failure warning notification. If there is no signal input, non-winning random number update processing is performed in step S50, and steps S46 to S50 are repeated. Note that the processing in steps S46 to S50 is referred to as “main control side main processing”.

一方、ステップS48で停電予告信号の入力があったときには、主制御プログラムは、割り込み禁止設定を行う(ステップS52)。この設定により後述する主制御側タイマ割り込み処理が行われなくなり、主制御内蔵RAMへの書き込みを防ぎ、遊技情報の書き換えを保護している。   On the other hand, when a power failure warning signal is input in step S48, the main control program performs interrupt prohibition setting (step S52). By this setting, the main control side timer interrupt processing described later is not performed, writing to the main control built-in RAM is prevented, and rewriting of game information is protected.

ステップS52に続いて、主制御プログラムは、停電クリア信号を出力開始する(ステップS53)。ここでは、ステップS11において停電クリア信号を出力開始した処理と同一の処理を行う。これにより、主制御プログラムは、主制御MPU4100aの制御の下、DタイプフリップフロップMICのラッチ状態を解除することができる。   Subsequent to step S52, the main control program starts outputting a power failure clear signal (step S53). Here, the same process as the process that started outputting the power failure clear signal in step S11 is performed. Thereby, the main control program can release the latch state of the D-type flip-flop MIC under the control of the main control MPU 4100a.

ステップS53に続いて、主制御プログラムは、図15に示した、始動口ソレノイド2105、アタッカソレノイド2108A,2108B、第一特別図柄表示器1185、第二特別図柄表示器1186、第一特別図柄記憶表示器1184、第二特別図柄記憶表示器1187、普通図柄表示器1189、普通図柄記憶表示器1188、遊技状態表示器1183、ラウンド表示器1190等に出力している駆動信号を停止する(ステップS54)。   Subsequent to step S53, the main control program displays the start port solenoid 2105, the attacker solenoids 2108A and 2108B, the first special symbol display 1185, the second special symbol display 1186, and the first special symbol storage display shown in FIG. The drive signal output to the display 1184, the second special symbol storage display 1187, the normal symbol display 1189, the normal symbol storage display 1188, the game status display 1183, the round display 1190, etc. is stopped (step S54). .

ステップS54に続いて、主制御プログラムは、チェックサムの算出を行ってこの算出した値を記憶する(ステップS56)。このチェックサムは、上述したチェックサムの値(サム値)及びバックアップフラグBK−FLGの値の記憶領域を除く、主制御内蔵RAMの作業領域の遊技情報を数値とみなしてその合計を算出する。   Subsequent to step S54, the main control program calculates a checksum and stores the calculated value (step S56). This checksum is calculated by regarding the game information in the work area of the main control built-in RAM as a numerical value excluding the storage area for the checksum value (sum value) and backup flag BK-FLG described above.

ステップS56に続いて、主制御プログラムは、バックアップフラグBK−FLGに値1をセットする(ステップS58)。これにより、遊技バックアップ情報の記憶が完了する。   Subsequent to step S56, the main control program sets a value 1 to the backup flag BK-FLG (step S58). Thereby, storage of game backup information is completed.

ステップS58に続いて、主制御プログラムは、ウォッチドックタイマのクリア設定を行う(ステップS60)。このクリア設定は、上述したように、ウォッチドックタイマクリアレジスタWCLに値A、値Bそして値Cを順にセットすることにより行われる。   Subsequent to step S58, the main control program performs clear setting of the watchdog timer (step S60). As described above, the clear setting is performed by sequentially setting the value A, the value B, and the value C in the watchdog timer clear register WCL.

ステップS60に続いて、無限ループに入る。この無限ループでは、ウォッチドックタイマクリアレジスタWCLに値A、値Bそして値Cを順にセットしないためウォッチドックタイマがクリア設定されなくなる。このため、主制御MPU4100aにリセットがかかり、その後主制御MPU4100aは、この主制御側電源投入時処理を再び行う。なお、ステップS52〜ステップS60の処理及び無限ループを「主制御側電源断時処理」という。   Following step S60, an infinite loop is entered. In this infinite loop, the value A, the value B, and the value C are not sequentially set in the watchdog timer clear register WCL, so that the watchdog timer is not cleared. Therefore, the main control MPU 4100a is reset, and then the main control MPU 4100a performs the main control side power-on process again. Note that the processing of step S52 to step S60 and the infinite loop are referred to as “main control side power-off processing”.

パチンコ遊技機1(主制御MPU4100a)は、停電したとき又は瞬停したときにはリセットがかかり、その後の電力の復旧により主制御側電源投入時処理を行う。   The pachinko gaming machine 1 (main control MPU 4100a) is reset when a power failure occurs or when an instantaneous power failure occurs, and performs power-on processing on the main control side by subsequent power recovery.

なお、ステップS28では主制御内蔵RAMに記憶されている遊技バックアップ情報が正常なものであるか否かを検査し、続いてステップS30では主制御側電源断時処理が正常に終了された否かを検査している。このように、主制御内蔵RAMに記憶されている遊技バックアップ情報を2重にチェックすることにより遊技バックアップ情報が不正行為により記憶されたものであるか否かを検査している。   In step S28, it is checked whether or not the game backup information stored in the main control built-in RAM is normal. Subsequently, in step S30, whether or not the main control side power-off process has been normally completed. Are inspected. In this way, by checking the game backup information stored in the main control built-in RAM twice, it is checked whether or not the game backup information is stored by an illegal act.

[4−4.主制御側タイマ割り込み処理]
次に、主制御側タイマ割り込み処理について説明する。この主制御側タイマ割り込み処理は、図12及び図13に示した主制御側電源投入時処理において設定された割り込み周期(本実施形態では、4ms)ごとに繰り返し行われる。
[4-4. Main control timer interrupt processing]
Next, the main control timer interrupt process will be described. This main control side timer interrupt process is repeated at every interrupt period (4 ms in this embodiment) set in the main control side power-on process shown in FIGS.

主制御側タイマ割り込み処理が開始されると、主制御基板4100では、主制御プログラムが、主制御MPU4100aの制御の下、図14に示すように、ウォッチドックタイマクリアレジスタWCLに値Bをセットする(ステップS70)。このとき、ウォッチドックタイマクリアレジスタWCLには、主制御側電源投入時処理(主制御側メイン処理)のステップS46においてセットされた値Aに続いて値Bがセットされる。   When the main control side timer interrupt process is started, in the main control board 4100, under the control of the main control MPU 4100a, the main control program sets a value B in the watchdog timer clear register WCL as shown in FIG. (Step S70). At this time, the value B is set in the watchdog timer clear register WCL following the value A set in step S46 of the main control side power-on process (main control side main process).

ステップS70に続いて、主制御プログラムは、割り込みフラグのクリアを行う(ステップS72)。この割り込みフラグがクリアされることにより割り込み周期が初期化され、次の割り込み周期がその初期値から計時される。   Subsequent to step S70, the main control program clears the interrupt flag (step S72). When the interrupt flag is cleared, the interrupt cycle is initialized, and the next interrupt cycle is counted from the initial value.

ステップS72に続いて、主制御プログラムは、スイッチ入力処理を行う(ステップS74)。このスイッチ入力処理では、主制御MPU4100aの各種入力ポートの入力端子に入力されている各種信号を読み取り、入力情報として主制御内蔵RAMの入力情報記憶領域に記憶する。具体的には、この主制御プログラムは、例えば、一般入賞口2104,2201に入球した遊技球を検出する一般入賞口スイッチ3020,3020からの各々の検出信号、大入賞口2103に入球した遊技球を検出するカウントスイッチ2110からの検出信号、第一始動口2101に入球した遊技球を検出する第一始動口スイッチ3022からの検出信号、第二始動口2102に入球した遊技球を検出する第二始動口スイッチ2109からの検出信号、ゲート部2350を通過した遊技球を検出するゲートスイッチ2352からの検出信号、磁石を用いた不正行為を検出する磁気検出スイッチ3024からの検出信号や後述する賞球制御処理で送信した賞球コマンドを払出制御基板4110が正常に受信した旨を伝える払出制御基板4110からの払主ACK信号、をそれぞれ読み取り、入力情報として入力情報記憶領域に記憶する。また、第一始動口2101に入球した遊技球を検出する第一始動口スイッチ3022からの検出信号、第二始動口2102に入球した遊技球を検出する第二始動口スイッチ2109からの検出信号をそれぞれ読み取ると、これと対応する図10に示したその他に区分される始動口入賞コマンドを送信情報として上述した送信情報記憶領域に記憶する。つまり、第一始動口スイッチ3022からの検出信号があると、これと対応する始動口入賞コマンドが送信情報として送信情報記憶領域に記憶されるし、第二始動口スイッチ2109からの検出信号があると、これと対応する始動口入賞コマンドが送信情報として送信情報記憶領域に記憶されるようになっている。   Subsequent to step S72, the main control program performs switch input processing (step S74). In this switch input process, various signals input to input terminals of various input ports of the main control MPU 4100a are read and stored as input information in an input information storage area of the main control built-in RAM. Specifically, for example, the main control program enters each of the detection signals from the general winning opening switches 3020 and 3020 for detecting a game ball that has entered the general winning opening 2104 and 2201 and the large winning opening 2103. A detection signal from the count switch 2110 for detecting the game ball, a detection signal from the first start port switch 3022 for detecting the game ball that has entered the first start port 2101, and a game ball that has entered the second start port 2102 A detection signal from the second start port switch 2109 to detect, a detection signal from the gate switch 2352 that detects a game ball that has passed through the gate portion 2350, a detection signal from the magnetic detection switch 3024 that detects fraud using a magnet, A payout control board 41 for notifying that the payout control board 4110 has normally received a prize ball command transmitted in a prize ball control process to be described later. Reading 払主 ACK signal from 0, respectively, it is stored in the input information storage area as the input information. Further, a detection signal from the first start port switch 3022 that detects a game ball that has entered the first start port 2101, and a detection from the second start port switch 2109 that detects a game ball that has entered the second start port 2102 When each signal is read, the corresponding start port winning command shown in FIG. 10 and corresponding thereto is stored as transmission information in the transmission information storage area described above. That is, when there is a detection signal from the first start port switch 3022, a corresponding start port winning command is stored as transmission information in the transmission information storage area, and there is a detection signal from the second start port switch 2109. The start opening winning command corresponding to this is stored as transmission information in the transmission information storage area.

なお、本実施形態では、一般入賞口2104,2201に入球した遊技球を検出する一般入賞口スイッチ3020,3020からの検出信号、大入賞口2103に入球した遊技球を検出するカウントスイッチ2110からの検出信号、第一始動口2101に入球した遊技球を検出する第一始動口スイッチ3022からの検出信号、第二始動口2102に入球した遊技球を検出する第二始動口スイッチ2109からの検出信号、及びゲート部2350を通過した遊技球を検出するゲートスイッチ2352からの検出信号は、このスイッチ入力処理が開始されると、まず1回目としてそれぞれ読み取られ、所定時間(例えば、10μs)経過した後、2回目としてそれぞれ再び読み取られる。そして、この2回目に読み取られた結果と、1回目に読み取られた結果と、を比較する。この比較結果のうち、同結果となっているものがあるか否かを判定する。同結果でないものについては、さらに、3回目として再び読み取られ、この3回目に読み取られた結果と、2回目に読み取られた結果と、を比較する。この比較結果のうち、同結果となっているものがあるか否かを再び判定する。同結果でないものについては、さらに、4回目として再び読み取られ、この4回目に読み取られた結果と、3回目に読み取られた結果と、を比較する。この比較結果のうち、同結果となっているものがあるか否かを再び判定する。同結果とならいものについては、遊技球の入球がないものとして扱う。   In the present embodiment, the detection signal from the general winning opening switches 3020 and 3020 for detecting the game balls that have entered the general winning opening 2104 and 2201, and the count switch 2110 for detecting the gaming balls that have entered the large winning opening 2103 are shown. , A detection signal from the first start port 3022 that detects the game ball that has entered the first start port 2101, a second start port switch 2109 that detects the game ball that has entered the second start port 2102 , And the detection signal from the gate switch 2352 that detects the game ball that has passed through the gate portion 2350 are first read as a first time when this switch input process is started, for a predetermined time (for example, 10 μs). ) After the passage, each is read again as the second time. Then, the result read at the second time is compared with the result read at the first time. It is determined whether there is a comparison result among the comparison results. Those that are not the same result are read again as the third time, and the result read at the third time is compared with the result read at the second time. It is determined again whether there is a comparison result among the comparison results. Those that are not the same result are read again as the fourth time, and the result read at the fourth time is compared with the result read at the third time. It is determined again whether there is a comparison result among the comparison results. Those with the same result are treated as having no game balls.

このように、スイッチ入力処理では、主制御プログラムが、一般入賞口スイッチ3020,3020、カウントスイッチ2110、第一始動口スイッチ3022、第二始動口スイッチ2109、及びゲートスイッチ2352からの検出信号を、1回目〜3回目に亘って比較する2度読み取りと、2回目〜4回目に亘って比較する2度読み込みと、による計2回の2度読み取りを行うことによって、チャタリングやノイズ等の影響による誤検出を回避することができるようになっているため、一般入賞口スイッチ3020,3020、カウントスイッチ2110、第一始動口スイッチ3022、第二始動口スイッチ2109、及びゲートスイッチ2352からの検出信号の信頼性を高めることができる。   Thus, in the switch input process, the main control program receives the detection signals from the general winning award port switches 3020 and 3020, the count switch 2110, the first start port switch 3022, the second start port switch 2109, and the gate switch 2352. Due to the influence of chattering, noise, etc., by reading twice, a total of two times of reading, which is compared twice for the first to third times, and twice for comparing the second time to the fourth time. Since false detection can be avoided, detection signals from the general prize opening switches 3020 and 3020, the count switch 2110, the first starting port switch 3022, the second starting port switch 2109, and the gate switch 2352 are displayed. Reliability can be increased.

ステップS74に続いて、主制御プログラムは、タイマ減算処理を行う(ステップS76)。このタイマ減算処理では、例えば、後述する特別図柄及び特別電動役物制御処理で決定される変動表示パターンに従って第一特別図柄表示器1185及び第二特別図柄表示器1186が点灯する時間、後述する普通図柄及び普通電動役物制御処理で決定される普通図柄変動表示パターンに従って普通図柄表示器1189が点灯する時間のほかに、主制御基板4100(主制御MPU4100a)が送信した各種コマンドを払出制御基板4110が正常に受信した旨を伝える払主ACK信号が入力されているか否かを判定する際にその判定条件として設定されているACK信号入力判定時間等の時間管理を行う。具体的には、変動表示パターン又は普通図柄変動表示パターンの変動時間が5秒間であるときには、タイマ割り込み周期が4msに設定されているので、このタイマ減算処理を行うごとに変動時間を4msずつ減算し、その減算結果が値0になることで変動表示パターン又は普通図柄変動表示パターンの変動時間を正確に計っている。   Subsequent to step S74, the main control program performs timer subtraction processing (step S76). In this timer subtraction process, for example, the time during which the first special symbol display 1185 and the second special symbol display 1186 are turned on in accordance with the variable display pattern determined in the special symbol and special electric accessory control processing described later, In addition to the time that the normal symbol display 1189 is turned on in accordance with the normal symbol variation display pattern determined by the symbol and normal electric accessory control process, various commands transmitted by the main control board 4100 (main control MPU 4100a) are issued. When determining whether or not a payer ACK signal indicating that the signal is normally received is input, time management such as an ACK signal input determination time set as a determination condition is performed. Specifically, when the fluctuation time of the fluctuation display pattern or the normal symbol fluctuation display pattern is 5 seconds, the timer interruption period is set to 4 ms. Therefore, every time this timer subtraction process is performed, the fluctuation time is subtracted by 4 ms. When the subtraction result is 0, the fluctuation time of the fluctuation display pattern or the normal symbol fluctuation display pattern is accurately measured.

本実施形態では、ACK信号入力判定時間が100msに設定されている。このタイマ減算処理を行うごとにACK信号入力判定時間が4msずつ減算し、その減算結果が値0になることでACK信号入力判定時間を正確に計っている。なお、これらの各種時間及びACK信号入力判定時間は、時間管理情報として主制御内蔵RAMの時間管理情報記憶領域に記憶される。   In this embodiment, the ACK signal input determination time is set to 100 ms. Each time this timer subtraction process is performed, the ACK signal input determination time is subtracted by 4 ms, and the subtraction result becomes 0, thereby accurately measuring the ACK signal input determination time. The various times and the ACK signal input determination time are stored as time management information in the time management information storage area of the main control built-in RAM.

ステップS76に続いて、主制御プログラムは、当落乱数更新処理を行う(ステップS78)。この当落乱数更新処理では、上述した、大当り判定用乱数、大当り図柄用乱数、及び小当り図柄用乱数を更新する。またこれらの乱数に加えて、図13に示した主制御側電源投入時処理(主制御側メイン処理)におけるステップS50の非当落乱数更新処理で更新される、大当り図柄用初期値決定用乱数、及び小当り図柄用初期値決定用乱数も更新する。これらの大当り図柄用初期値決定用乱数、及び小当り図柄用初期値決定用乱数は、主制御側メイン処理及びこの主制御側タイマ割り込み処理においてそれぞれ更新されることでランダム性をより高めている。これに対して、大当り判定用乱数、大当り図柄用乱数、及び小当り図柄用乱数は、当落判定(大当り判定)にかかわる乱数であるためこの当落乱数更新処理が行われるごとにのみ、それぞれのカウンタがカウントアップする。   Subsequent to step S76, the main control program performs a winning random number update process (step S78). In the winning random number update process, the big hit determination random number, the big hit symbol random number, and the small hit symbol random number described above are updated. Further, in addition to these random numbers, a big hit symbol initial value determining random number that is updated by the non-winning random number update process of step S50 in the main control side power-on process (main control side main process) shown in FIG. And the random number for determining the initial value for the small hit symbol is also updated. The random value for determining the initial value for the big hit symbol and the random number for determining the initial value for the small hit symbol are updated in the main control side main process and the main control side timer interrupt process, respectively, thereby improving the randomness. . On the other hand, since the big hit determination random number, the big hit symbol random number, and the small hit symbol random number are random numbers related to the winning determination (big hit determination), each time the winning random number update process is performed, each counter Counts up.

例えば、大当り判定用乱数を更新するカウンタは、上述したように、初期値更新型のカウンタであり、最小値から最大値までに亘る予め定めた固定数値範囲(本実施形態では、最小値として値0〜最大値として値32767)内において更新され、この最小値から最大値までに亘る範囲を、この主制御側タイマ割り込み処理が行われるごとに値1ずつ加算されることでカウントアップする。大当り判定用初期値決定用乱数から最大値(値32767)に向かってカウントアップし、続いて最小値(値0)から大当り判定用初期値決定用乱数に向かってカウントアップする。大当り判定用乱数の最小値から最大値までに亘る範囲を、大当り判定用乱数を更新するカウンタがカウントアップし終えると、この当落乱数更新処理により大当り判定用初期値決定用乱数は更新される。大当り判定用初期値決定用乱数は、大当り判定用乱数を更新するカウンタの固定数値範囲から一の値を抽選する初期値抽選処理を実行して得ることができるようになっている。なお、上述した、普通図柄当り判定用乱数、普通図柄当り判定用初期値決定用乱数もこの当落乱数更新処理により更新される。普通図柄当り判定用乱数等は、上述した大当り判定用乱数の更新方法と同一であり、その説明を省略する。   For example, the counter for updating the jackpot determination random number is an initial value updating type counter as described above, and is a predetermined fixed numerical value range from the minimum value to the maximum value (in this embodiment, the value as the minimum value). 0 to the maximum value is updated within the value 32767), and the range from the minimum value to the maximum value is incremented by incrementing by 1 each time the main control timer interrupt processing is performed. The big hit determination initial value determination random number is counted up toward the maximum value (value 32767), and then the big hit determination initial value determination random number is counted up. When the counter for updating the big hit determination random number finishes counting up within the range from the minimum value to the maximum value of the big hit determination random number, the big hit determination initial value determination random number is updated by the winning random number update process. The big hit determination initial value determination random number can be obtained by executing an initial value lottery process for drawing one value from a fixed numerical range of a counter for updating the big hit determination random number. Note that the above-described random numbers for normal symbol determination and random numbers for determining the initial value for normal symbol determination are also updated by this winning random number update process. The random number for determining normal symbols is the same as the method for updating the random number for determining big hits, and the description thereof is omitted.

本実施形態では、大当り判定用初期値決定用乱数、大当り図柄用初期値決定用乱数、及び小当り図柄用初期値決定用乱数を、図13に示した主制御側電源投入時処理(主制御側メイン処理)におけるステップS50の非当落乱数更新処理、及び本ルーチンである主制御側タイマ割り込み処理におけるステップS78の当落乱数更新処理でそれぞれ更新しているが、割り込みタイマが発生するごとに本ルーチンの処理時間にムラが生じて次の割り込みタイマが発生するまでの残り時間内において主制御側メイン処理を繰り返し実行することによりステップS50の非当落乱数更新処理の実行回数がランダムとなる場合には、大当り判定用初期値決定用乱数、大当り図柄用初期値決定用乱数、及び小当り図柄用初期値決定用乱数をステップS50の非当落乱数更新処理においてのみ更新する仕組みとしてもよい。   In this embodiment, the big hit determination initial value determining random number, the big hit symbol initial value determining random number, and the small hit symbol initial value determining random number are processed on the main control side power-on processing (main control) shown in FIG. Update processing in step S50 in the main main processing) and the winning random number update processing in step S78 in the main control timer interrupt processing, which is the main routine, are updated each time the interrupt timer is generated. When the number of executions of the non-winning random number update process in step S50 is random by repeatedly executing the main process on the main control side within the remaining time until the next interrupt timer is generated after the process time becomes uneven. , The big hit determination initial value determining random number, the big hit symbol initial value determining random number, and the small hit symbol initial value determining random number in step S50 Or as a mechanism to update only in non Toraku random number update process.

ステップS78に続いて、主制御プログラムは賞球制御処理を行う(ステップS80)。この賞球制御処理では、主制御プログラムが、上述した入力情報記憶領域から入力情報を読み出してこの入力情報に基づいて遊技球を払い出すための賞球コマンドを作成したり、主制御基板4100と払出制御基板4110との基板間の接続状態を確認するためのセルフチェックコマンドを作成したりする。この主制御プログラムは、作成した賞球コマンドやセルフチェックコマンドを主払シリアルデータとして払出制御基板4110に送信する。   Subsequent to step S78, the main control program performs prize ball control processing (step S80). In this prize ball control process, the main control program reads out the input information from the input information storage area described above and creates a prize ball command for paying out a game ball based on this input information. A self-check command for confirming the connection state between the board and the payout control board 4110 is created. This main control program transmits the created prize ball command and self-check command to the payout control board 4110 as main payout serial data.

さらに賞球制御処理では、主制御プログラムが、そのプログラムコードの一部である賞球制御プログラムコードを実行し、例えば、大入賞口2103への遊技球の受け入れに伴ってカウントスイッチ2110から出力された検出信号に基づく検出情報が、大入賞口2103の数分に亘って1ビットずつ連続させて定義されている各々対応する定義ビット領域に書き込まれたことを契機として、例えば賞球として15球を払い出すべき旨の賞球指示として賞球コマンドを作成し、払出制御基板4110(払出制御手段)に送信する。   Further, in the prize ball control process, the main control program executes a prize ball control program code that is a part of the program code, and is output from the count switch 2110 when the game ball is received in the big prize opening 2103, for example. Triggered by the fact that the detection information based on the detected signal has been written in the corresponding defined bit areas defined successively one bit at a time for the number of winning prize openings 2103, for example, 15 balls as prize balls A prize ball command is generated as a prize ball instruction to pay out and is sent to the payout control board 4110 (payout control means).

本実施形態では、大入賞口として大入賞口2103の2個が設けられているため、主制御プログラムは、上述した定義ビット領域として、主制御RAM内に予め用意された複数の定義ビット領域のうちから、大入賞口2103用の2個分の各定義ビットを使用する。以下、順に「第一ビット領域」および「第二ビット領域」という。なお、大入賞口の数が例えば1個である遊技盤の場合には、1つの定義ビット領域が使用されることになる。これら使用される定義ビット領域は、例えば1ビットであり、互いに隣り合う領域とされている。大入賞口2103に遊技球が受け入れられると、カウントスイッチ2110から出力された検出信号に基づく検出情報として、例えば、「1」が例えば4ビット目である第一定義ビット領域に書き込まれる。その後、主制御プログラムは、遊技球が受け入れられたことを識別した大入賞口に対応する定義ビット領域を、例えば「0」を書き込んで初期化し、次の遊技球の受け入れに備える。   In the present embodiment, since there are two large winning openings 2103 as the large winning openings, the main control program has a plurality of definition bit areas prepared in advance in the main control RAM as the above-described definition bit areas. From the inside, two definition bits for the big winning opening 2103 are used. Hereinafter, these will be referred to as “first bit area” and “second bit area” in this order. For example, in the case of a game board having one winning prize slot, one definition bit area is used. These definition bit areas to be used are, for example, one bit and are adjacent to each other. When the game ball is received in the big winning opening 2103, for example, “1” is written in the first definition bit area which is the fourth bit, for example, as detection information based on the detection signal output from the count switch 2110. Thereafter, the main control program initializes the definition bit area corresponding to the big winning opening that has identified that the game ball has been received by writing, for example, “0”, and prepares for the next game ball to be received.

ここで、主制御プログラムは、どの定義ビット領域の状態を確認するかについても決定する。例えば主制御プログラムは、大入賞口2103のカウントスイッチ2110に対応する定義ビット領域を仮に4ビット目とした場合、本実施形態のように大入賞口が1個のみ設けられているパチンコ遊技機の場合、主制御プログラムは、4ビット目の定義ビット領域の情報を取得する。   Here, the main control program also determines which definition bit area is to be checked. For example, if the main control program sets the definition bit area corresponding to the count switch 2110 of the big prize opening 2103 to the fourth bit, the main control program of the pachinko gaming machine in which only one big prize opening is provided as in this embodiment. In this case, the main control program acquires information on the fourth bit definition bit area.

さらに主制御プログラムは、このように取得した検出情報について、後述する大入賞口2103の賞球有効範囲に応じてマスク処理を実行して、賞球コマンドを作成して送信情報記憶領域に書き込んで払出制御基板4110に対して出力しないようにすべきか否かを決定する。この賞球コマンドが送信されるべきでないと決定した場合、主制御プログラムは、上述したカウントスイッチ2110からの検出信号に基づく検出情報が書き込まれる各定義ビット領域に対してマスク処理として、例えば強制的にビットをOFF(「0」)に設定し、賞球コマンドを送信情報記憶領域に書き込まないようにしてもよい。   Further, the main control program performs a mask process on the detection information acquired in this way in accordance with a prize ball effective range of a special prize opening 2103 described later, creates a prize ball command, and writes it in the transmission information storage area. It is determined whether or not to output to the payout control board 4110. When it is determined that this prize ball command should not be transmitted, the main control program, for example, as a mask process for each defined bit area in which detection information based on the detection signal from the count switch 2110 is written is forcibly executed. The bit may be set to OFF (“0”), and the prize ball command may not be written in the transmission information storage area.

この賞球制御処理では、主制御プログラムが、第一特別遊技状態において、大入賞口2103に遊技球が1球受け入れられたことを示すカウントスイッチ2110からの検出信号に対応する検出情報が、この大入賞口2103に対応する上記定義ビット領域に書き込まれていることを契機として、例えば賞球として15球を払い出すべき旨の賞球指示として賞球コマンドを作成し、上述した送信情報記憶領域に書き込む。併せて、主制御プログラムは、上述した送信情報記憶領域に、所定の音を出力させる指令としての入賞音コマンドを書き込み、その後周辺制御基板4140に送信させて周辺制御MPU4150aに、スピーカーに、例えば「ポコン」という音を出力させる。   In this prize ball control process, the main control program detects the detection information corresponding to the detection signal from the count switch 2110 indicating that one game ball has been received in the big prize opening 2103 in the first special game state. In response to being written in the definition bit area corresponding to the big winning opening 2103, for example, a prize ball command is created as a prize ball instruction indicating that 15 balls should be paid out, and the transmission information storage area described above Write to. At the same time, the main control program writes a winning sound command as a command to output a predetermined sound in the transmission information storage area described above, and then transmits it to the peripheral control board 4140 to be transmitted to the peripheral control MPU 4150a to the speaker, for example, “ The sound “Pokon” is output.

その一方、主制御プログラムは、第一特別遊技状態において、大入賞口2103に遊技球が1球受け入れられたことを示すカウントスイッチ2110からの検出信号に基づく検出情報が、この大入賞口2103に対応する上記定義ビット領域に書き込まれていないと、例えば賞球として15球を払い出すべき旨の賞球指示として賞球コマンドを作成しない。この場合も、主制御プログラムは、上述した送信情報記憶領域に、所定の音を出力させる指令としての入賞音コマンドを書き込むが、賞球コマンドが払出制御基板4110(払出制御手段)に送信されて遊技球の払い出し動作が実行されないようにする。その後、主制御プログラムは、この大入賞口2103に対応する上記定義ビット領域を初期化して、カウントスイッチ2110からの検出信号に基づく検出情報をクリアすることにより遊技球の払い出しが許容される状態とする。   On the other hand, in the first special gaming state, the main control program detects detection information based on a detection signal from the count switch 2110 indicating that one game ball has been received in the special winning opening 2103 in the special winning opening 2103. If not written in the corresponding definition bit area, for example, a prize ball command is not created as a prize ball instruction indicating that 15 balls should be paid out. Also in this case, the main control program writes a winning sound command as a command to output a predetermined sound in the transmission information storage area described above, but the winning ball command is transmitted to the payout control board 4110 (payout control means). Prevent the game ball payout operation from being executed. Thereafter, the main control program initializes the definition bit area corresponding to the special winning opening 2103 and clears the detection information based on the detection signal from the count switch 2110 to allow the game ball to be paid out. To do.

この際、主制御プログラムは、大入賞口2103への遊技球の受け入れに応じて払い出しうる規定払い出し数以上分の遊技球の払い出しがなされると、入賞過多異常コマンド(図36において図示を省略する)を上記送信情報記憶領域に書き込んで、その後コマンド送信処理(ステップSS92)において周辺制御基板4140に送信する。すると、周辺制御MPU4150aがスピーカーに所定の報知を行わせる。   At this time, the main control program, when paying out more than the specified number of payouts that can be paid out in accordance with the acceptance of the game balls to the big prize opening 2103, will give an excessive payout abnormality command (not shown in FIG. 36). ) In the transmission information storage area, and then transmitted to the peripheral control board 4140 in the command transmission process (step SS92). Then, the peripheral control MPU 4150a causes the speaker to perform predetermined notification.

このようにすると、実質的に不正な遊技球の払い出しがなされないようになるため、遊技場(遊技ホール)が被る損害を最小限に抑制することができる。   In this way, since a substantially illegal game ball is not paid out, damage to the game hall (game hall) can be minimized.

一方、主制御プログラムは、その代わりに、大入賞口2103への遊技球の受け入れが検出された場合、即座に、入賞過多異常コマンドを上記送信情報記憶領域に書き込んで、周辺制御MPU4150aの制御に、スピーカーに報知させるようにしてもよい。   On the other hand, instead of the main control program, when it is detected that a game ball has been received at the special winning opening 2103, the main control program immediately writes an excessive winning abnormality command in the transmission information storage area to control the peripheral control MPU 4150a. The speaker may be informed.

その後、主制御プログラムは、上述した送信情報記憶領域から賞球コマンドを読み出して、払出制御基板4110(払出制御手段)に送信する。   Thereafter, the main control program reads the prize ball command from the transmission information storage area described above and transmits it to the payout control board 4110 (payout control means).

上述のようにすると、大入賞口2103について遊技球を受け入れた際に、対応するカウントスイッチ2110が機能しているか否かを聴覚により確認することができる。   As described above, when a game ball is received for the special winning opening 2103, it can be confirmed by hearing whether or not the corresponding count switch 2110 is functioning.

一方、この主制御プログラムは、この賞球コマンドを払出制御基板4110が正常に受信完了した旨を伝える払主ACK信号が所定時間内に入力されない場合、主制御基板4100と払出制御基板4110との基板間の接続状態を確認するセルフチェックコマンドを作成し、払出制御基板4110に送信する。   On the other hand, if the payer ACK signal notifying the payout control board 4110 that the payout control board 4110 has successfully received the prize ball command is not input within a predetermined time, the main control program determines whether the main control board 4100 and the payout control board 4110 A self-check command for confirming the connection state between the boards is created and transmitted to the payout control board 4110.

ステップS80に続いて、主制御プログラムは、枠コマンド受信処理を行う(ステップS82)。払出制御基板4110では、払出制御プログラムが、図37に示した状態表示に区分される1バイト(8ビット)の各種コマンド(例えば、枠状態1コマンド、エラー解除ナビコマンド、及び枠状態2コマンド)を送信する。一方、後述するように払出制御プログラムは、払出動作にエラーが発生した場合にエラー発生コマンドを出力したり、操作スイッチ952の検出信号に基づいてエラー解除ナビコマンドを出力する。上述した枠コマンド受信処理では、主制御プログラムが、この各種コマンドを払主シリアルデータとして正常に受信すると、その旨を払出制御基板4110に伝える情報を、出力情報として主制御内蔵RAMの出力情報記憶領域に記憶する。また、主制御プログラムは、その正常に払主シリアルデータとして受信したコマンドを2バイト(16ビット)のコマンドに整形し(図36の状態表示に区分される各種コマンド(枠状態1コマンド、エラー解除ナビコマンド、及び枠状態2コマンド))、送信情報として上述した送信情報記憶領域に記憶する。なお、ここでいう枠状態1コマンドは第1のエラー発生コマンドに相当するとともに、エラー解除ナビコマンドは第1のエラー解除コマンドに相当する。   Subsequent to step S80, the main control program performs a frame command reception process (step S82). In the payout control board 4110, the payout control program executes various commands of 1 byte (8 bits) classified into the status display shown in FIG. Send. On the other hand, as described later, the payout control program outputs an error occurrence command when an error occurs in the payout operation, or outputs an error canceling navigation command based on a detection signal of the operation switch 952. In the frame command reception process described above, when the main control program normally receives the various commands as payer serial data, information that informs the payout control board 4110 to that effect is stored as output information in the main control built-in RAM. Store in the area. Also, the main control program reformats the command received normally as payer serial data into a 2-byte (16-bit) command (various commands classified as status display in FIG. 36 (frame status 1 command, error cancellation). The navigation command and the frame state 2 command))) are stored in the transmission information storage area described above as transmission information. The frame state 1 command here corresponds to the first error occurrence command, and the error cancellation navigation command corresponds to the first error cancellation command.

ステップS82に続いて、主制御プログラムは、不正行為検出処理を行う(ステップS84)。この不正行為検出処理では、賞球に関する異常状態を確認する。例えば、上述した入力情報記憶領域から入力情報を読み出し、大当り遊技状態でない場合にカウントスイッチ2110によって大入賞口2103に遊技球が入球していると検知されたとき等には、主制御プログラムは、異常状態として図36に示した報知表示に区分される入賞異常表示コマンドを作成し、送信情報として上述した送信情報記憶領域に記憶する。   Subsequent to step S82, the main control program performs a fraud detection process (step S84). In this fraud detection process, the abnormal state related to the prize ball is confirmed. For example, when the input information is read from the input information storage area described above and the game is not in the big hit gaming state, when the game switch is detected by the count switch 2110 to enter the big winning opening 2103, the main control program Then, a winning abnormality display command classified into the notification display shown in FIG. 36 as an abnormal state is created, and stored as transmission information in the transmission information storage area described above.

ステップS84に続いて、主制御プログラムは、特別図柄及び特別電動役物制御処理を行う(ステップS86)。この特別図柄及び特別電動役物制御処理では、主制御プログラムが、上述した大当り判定用乱数をカウンタにより+1ずつ更新しており、第一始動口2101或いは第二始動口2102への遊技球の受け入れ、即ち、始動入賞を契機として(始動条件の成立)、この始動条件が成立した始動記憶情報ごとに、上述したカウンタの値を取り出して大当たり用乱数値とし、この大当たり用乱数値が主制御内蔵ROMに予め記憶されている大当り判定値と一致するか否かを判定する(抽選手段)。以下、この判定処理を「特別抽選」とも表現する。主制御プログラムは、この抽選結果に基づいて大当り遊技状態を発生させるか否かを判断し、大当たり用乱数値がこの大当たり判定値と一致している(予め定められた当選条件が成立している)場合には通常遊技状態から大当たり遊技状態に移行させる。この大当たり遊技状態は、後述する特別遊技状態、第一特別遊技状態、第二特別遊技状態に相当し、これらを総称した遊技状態を示すものとする。   Subsequent to step S84, the main control program performs a special symbol and special electric accessory control process (step S86). In this special symbol and special electric accessory control process, the main control program updates the above-described jackpot determination random number by +1 by the counter, and accepts the game ball to the first start port 2101 or the second start port 2102. That is, triggered by a winning award (establishment of the start condition), the value of the above-mentioned counter is taken out for each start storage information for which the start condition is satisfied, and used as a big hit random number value. It is determined whether or not it matches the jackpot determination value stored in advance in the ROM (lottery means). Hereinafter, this determination process is also expressed as “special lottery”. The main control program determines whether or not to generate a jackpot gaming state based on the lottery result, and the jackpot random number value matches the jackpot determination value (predetermined winning conditions are met) ), The normal gaming state is shifted to the big hit gaming state. The jackpot game state corresponds to a special game state, a first special game state, and a second special game state, which will be described later, and indicates a game state in which these are collectively called.

なお、主制御プログラムは、大当たり遊技態様を決定する際、後述する大当たり遊技態様決定処理においてセットされる大当たり遊技の態様を定義するためのデータとして、例えばラウンド数、開放時間、開放時間、及び遊技球の入賞制限数カウント数を表す定義データ(テーブル)を、大入賞口の数に応じてオフセットさせたアドレスで指定される主制御内蔵RAMの一部の記憶領域である定義データ領域(図示せず)から読み出している。   The main control program determines, for example, the number of rounds, the opening time, the opening time, and the game as data for defining the jackpot gaming mode set in the jackpot gaming mode determination process described later when determining the jackpot gaming mode. Definition data area (not shown) which is a partial storage area of the main control built-in RAM specified by an address offset from the definition data (table) representing the ball winning limit count count according to the number of the big winning mouths. Read).

ところで、プログラムコードの集合によって構成されているプログラムモジュールであるサブルーチンは、一般的には、メインルーチンに含まれるCALL命令によって呼び出されてこのプログラムモジュールに含まれるプログラムコード群が実行された後に、最後にリターン命令でメインルーチンに戻るように構成されている(上記第1の参考文献参照)。このようにすると、呼び出した戻しのための命令が必要となるため、一見すると、プログラム容量を低減することが困難であるようにも思える。   By the way, a subroutine, which is a program module constituted by a set of program codes, is generally called after a CALL instruction included in a main routine and a program code group included in the program module is executed. The return instruction is used to return to the main routine (see the first reference above). In this case, since an instruction for calling back is required, at first glance, it seems difficult to reduce the program capacity.

しかしながら、本実施形態では、メインルーチンが連続するサブルーチンを含む場合、例えば、メインルーチンが最初のサブルーチンをCALL命令で呼び出して実行した後、さらに連続して次のサブルーチンを別のCALL命令で呼び出す代わりに、最初のサブルーチンのプログラムコード群の最後にリターン命令を配置せずそのまま次のサブルーチンのプログラムコード群の最初に繋ぐようにしてもよい。このような構成のプログラムモジュールとすると、プログラム全体として容量を低減することができるようになる。   However, in this embodiment, when the main routine includes a continuous subroutine, for example, after the main routine calls and executes the first subroutine with the CALL instruction, the next subroutine is called with another CALL instruction continuously. Alternatively, the return instruction may not be arranged at the end of the program code group of the first subroutine, but may be connected to the beginning of the program code group of the next subroutine as it is. With the program module having such a configuration, the capacity of the entire program can be reduced.

上述した特別図柄及び特別電動役物制御処理では、主制御プログラムは、大当たり用乱数値が主制御内蔵ROMに予め記憶されている確変当り判定値と一致するか否かを判定する。この主制御プログラムは、この抽選結果に基づいて確率変動状態に移行させるか否かを判断し、大当たり用乱数値がこの確変当り判定値に一致している(確変移行条件が成立している)場合にはその後確率変動状態に移行させる一方、大当たり用乱数値がこの確変当り判定値に一致していない(確変以降条件が成立していない)場合には当該確変以外の遊技状態に移行させる(当選確率制御手段)。ここで、「確率変動状態」とは、上述した特別抽選の当選確率が通常遊技状態(低確率状態)に比べて相対的に高く設定された状態(高確率状態)をいう。   In the special symbol and special electric accessory control process described above, the main control program determines whether or not the random number for jackpot matches the probability variation hit determination value stored in advance in the main control built-in ROM. The main control program determines whether or not to shift to the probability variation state based on the lottery result, and the random number for jackpot matches the probability variation determination value (the probability variation transition condition is satisfied). In this case, the game is shifted to the probability variation state. On the other hand, if the jackpot random number value does not match the probability variation determination value (the condition after probability variation is not satisfied), the game state other than the probability variation is transitioned ( Winning probability control means). Here, the “probability variation state” refers to a state (high probability state) in which the winning probability of the special lottery described above is set relatively high compared to the normal gaming state (low probability state).

さらに、この特別図柄及び特別電動役物制御処理では、主制御プログラムは、上述した抽選結果が第一始動口2101への遊技球の受け入れを契機としたものである場合には、図35に示した特図1同調演出関連の各種コマンドを作成する一方、その抽選結果が第二始動口2102への遊技球の受け入れを契機としたものである場合には、特図2同調演出関連の各種コマンドを作成する。主制御プログラムは、このように作成したコマンドを送信情報として送信情報記憶領域に記憶させる。   Further, in this special symbol and special electric accessory control process, the main control program is shown in FIG. 35 when the lottery result mentioned above is triggered by the acceptance of the game ball to the first start port 2101. If the lottery result is triggered by the acceptance of a game ball at the second start port 2102, various commands related to the special figure 2 synchronization effect are generated. Create The main control program stores the command thus created in the transmission information storage area as transmission information.

併せて、主制御プログラムは、始動入賞を契機として取得された各種乱数値に基づいて先行判定テーブル(図示せず)を参照して始動保留表示態様を決定し、この始動入賞後変動表示させていた特別図柄の停止図柄を開示する前に、特別抽選の抽選結果を事前に暗示させる処理(以下「先行判定処理」という)を実行させるために用いられるコマンド(以下、一例として「保留球数変化コマンド」を挙げる)を作成し、この先行判定処理を実行させるべき場合、送信情報として送信情報記憶領域に記憶させる。この際、主制御プログラムは、特別抽選の乱数値そのものの代わりに、後述するように大当たり遊技の種別を示唆している情報として特別図柄の停止図柄に関する情報を、この保留球数変化コマンドに含めるようにしている。この先行判定処理の詳細については後述する。   At the same time, the main control program determines a start hold display mode with reference to a preceding determination table (not shown) based on various random values acquired in response to the start winning, and displays the change after the start winning. Before disclosing the special symbol stop symbol, a command (hereinafter referred to as “reserved ball number change” as an example) is executed to imply a special lottery result (hereinafter referred to as “preceding judgment process”). Command ”), and when the preceding determination process is to be executed, it is stored in the transmission information storage area as transmission information. At this time, the main control program includes information regarding the stop symbol of the special symbol as information suggesting the type of the jackpot game, as will be described later, instead of the random value itself of the special lottery. I am doing so. Details of the preceding determination process will be described later.

次に主制御プログラムは、特別図柄の種別に応じて、始動入賞時に決定した変動表示パターンに従って、第一特別図柄表示器1185を点灯させるよう点灯信号の出力を設定したり、第二特別図柄表示器1186を点灯させるよう点灯信号の出力を設定し、出力情報として上述した出力情報記憶領域に記憶する。また主制御プログラムは、例えば大当り遊技状態に移行させる場合には、図35に示した大当り関連に区分される各種コマンド(大当りオープニングコマンド、大入賞口1開放N回目表示コマンド、大入賞口1閉鎖表示コマンド、大入賞口1カウント表示コマンド、大当りエンディングコマンド、及び大当り図柄表示コマンド)を作成し、送信情報として送信情報記憶領域に記憶したり、開閉部材2107を開閉動作させるようアタッカソレノイド2108A或いはアタッカソレノイド2108Bへの駆動信号の出力を設定して出力情報として出力情報記憶領域に記憶する。また、主制御プログラムは、大入賞口2103が閉鎖状態から開放状態となる回数(ラウンド)が2回であるときには、ラウンド表示器1190の2ラウンド表示ランプ(図示せず)を点灯させるよう2ラウンド表示ランプへの点灯信号の出力を設定して出力情報として出力情報記憶領域に記憶したり、ラウンドが6回であるときには、ラウンド表示器1190の6ラウンド表示ランプ(図示せず)を点灯させるよう6ラウンド表示ランプへの点灯信号の出力を設定して出力情報として出力情報記憶領域に記憶したり、ラウンドが12回であるときには、ラウンド表示器1190の12ラウンド表示ランプ(図示せず)を点灯させるよう12ラウンド表示ランプへの点灯信号の出力を設定して出力情報として出力情報記憶領域に記憶したり、ラウンドが16回であるときにはラウンド表示器1190の16ラウンド表示ランプ(図示せず)を点灯させるよう16ラウンド表示ランプへの点灯信号の出力を設定して出力情報として出力情報記憶領域に記憶する。また、主制御プログラムは、確率変動状態への移行の有無を所定の色で点灯させるよう遊技状態表示器1183への点灯信号の出力を設定して出力情報として出力情報記憶領域に記憶する。   Next, the main control program sets the output of the lighting signal so that the first special symbol display 1185 is turned on according to the variation display pattern determined at the time of starting winning according to the type of the special symbol, or the second special symbol display The output of the lighting signal is set so that the device 1186 is lit, and the output information is stored in the output information storage area described above. When the main control program shifts to the jackpot gaming state, for example, the various commands classified into the jackpot relationship shown in FIG. 35 (the jackpot opening command, the big winning opening 1 opening Nth display command, the big winning opening 1 closing) Display command, winning prize 1 count display command, jackpot ending command, and jackpot symbol display command) are stored as transmission information in the transmission information storage area, and the opening / closing member 2107 is opened / closed by the attacker solenoid 2108A or the attacker The output of the drive signal to the solenoid 2108B is set and stored as output information in the output information storage area. In addition, the main control program sets two rounds so that the two-round display lamp (not shown) of the round indicator 1190 is turned on when the number of times (rounds) the grand prize winning opening 2103 is changed from the closed state to the open state is two. The output of the lighting signal to the display lamp is set and stored as output information in the output information storage area, or when the number of rounds is six, the six-round display lamp (not shown) of the round indicator 1190 is turned on. Set the lighting signal output to the 6-round display lamp and store it as output information in the output information storage area, or turn on the 12-round display lamp (not shown) of the round indicator 1190 when the round is 12 times To set the output of the lighting signal to the 12-round display lamp and store it in the output information storage area as output information, Und is stored in the output information storage area as output information to set the output of the lighting signal to the 16 rounds indicator lamp to turn on the 16 rounds indicator lamp round display 1190 (not shown) when a 16 times. Further, the main control program sets the output of the lighting signal to the gaming state indicator 1183 so as to light the presence / absence of the transition to the probability variation state with a predetermined color, and stores it in the output information storage area as output information.

ところで、一般的なパチンコ遊技機においては、遊技球の始動入賞を契機として、その後特別図柄を変動表示を開始するとともに大当たり抽選を実行し、所定の当選条件が成立しているともに所定の確変移行条件が成立している場合、遊技状態表示器としてのいわゆる確変ランプの点灯態様を変更するとともに確率変動状態に移行する。この確率変動状態では、上述した大当り抽選の確率が通常遊技状態よりも相対的に高く設定されており、再度当選条件が成立して大当りとなることがほぼ保障されている(既述の第1の参考文献参照)。このように確率変動状態が終了した後にその後さらに確率変動状態に移行する可能性のある遊技機としては、主として、次に大当たりとなるまで確率変動状態を継続してあたかも大当たり遊技がループしているかのように挙動するものと(以下「ループ機」という)、大当たり遊技が終了した後に特別図柄の変動回数が所定の回数になるまで確率変動状態を継続するもの(以下「ST(スペシャルタイム)機」という)とが存在している。このように確率変動状態の継続の仕方が異なる機種のパチンコ遊技機では、上述した遊技状態表示器の制御が異なっており、開発段階においては各機種ごとに遊技状態表示器の制御を逐一設計しなければならず開発効率を向上しにくかった。   By the way, in a general pachinko gaming machine, when a winning winning of a game ball is triggered, a special symbol is started to be displayed in a variable manner, and a jackpot lottery is executed. When the condition is satisfied, the lighting state of a so-called probability variation lamp as a gaming state indicator is changed and the state changes to a probability variation state. In this probability variation state, the probability of the big hit lottery described above is set to be relatively higher than in the normal gaming state, and it is almost guaranteed that the winning condition is satisfied again and the big win is achieved (the first described above). See references). In this way, as a gaming machine that may transition to the probability variation state after the probability variation state has ended, the probability variation state is mainly continued until the next big hit, as if the jackpot game is looped. (Hereinafter referred to as a “loop machine”), and a probability variation state that continues until the special symbol fluctuation count reaches a predetermined number after the jackpot game ends (hereinafter referred to as an “ST (special time) machine”. ")" Exists. As described above, the pachinko machines of different types of the probability variation state continue to have different control of the game state display described above, and in the development stage, the control of the game state display is designed for each model one by one. It was difficult to improve development efficiency.

そこで、本実施形態では、主制御プログラムは、第一始動口2101または第二始動口2102に遊技球が受け入れられると、その後当選条件が成立しているか否かを判定し、この当選条件が成立している場合には通常遊技状態から大当たり遊技状態に移行させる一方、この当選条件が成立しているとともにさらに確変移行条件が成立している場合にはこの当選条件が成立する確率を通常遊技状態よりも相対的に高く設定した確率変動状態に移行させるとともに遊技状態表示器1183の表示態様を点灯状態とする。主制御プログラムは、その後再度当選条件が成立しているとともにさらに確変移行条件が成立している場合、その確率変動状態が継続された状態で遊技状態表示器1183の表示態様をある特定の割り込み周期内に点灯状態から一旦消灯状態とさせた後、当該特定の割り込み周期と同一の割り込み周期内において遊技状態表示器1183の表示態様を消灯状態から再度点灯状態とする。   Therefore, in the present embodiment, when the game ball is received at the first start port 2101 or the second start port 2102, the main control program determines whether or not the winning condition is satisfied, and the winning condition is satisfied. If the winning condition is satisfied and the probability variation transition condition is satisfied, the probability that the winning condition is satisfied is determined as the normal gaming state. The display mode of the game state display 1183 is set to the lighting state while the state is shifted to the probability variation state set relatively higher than the above. The main control program then sets the display state of the game state indicator 1183 to a specific interrupt cycle when the winning condition is satisfied again and the probability variation transition condition is satisfied, and the probability variation state is continued. The display state of the game state indicator 1183 is changed from the light-off state to the light-on state again within the same interrupt cycle as the specific interrupt cycle.

具体的に説明すると、まず、上述のように主制御プログラムは、第一始動口2101または第二始動口2102に遊技球が受け入れられたことを契機として、その後当選条件が成立しているか否かを判定し(抽選手段)、この当選条件が成立している場合、通常遊技状態から大当たり遊技状態に移行させる一方、この当選条件が成立しているとともに確変移行条件が成立している場合、この当選条件が成立する確率を通常遊技状態よりも相対的に高く設定した確率変動状態に移行させる(遊技状態制御手段)。この主制御プログラムは、確率変動状態が継続している間に亘って遊技状態表示器1183の表示態様を点灯状態とする一方、確率変動状態以外の遊技状態に移行すると遊技状態表示器1183の表示態様を消灯状態とする(点灯態様制御手段)。主制御プログラムは、上述した確率変動状態への移行を契機として遊技状態表示器1183の表示態様を点灯状態とし、その後再度当選条件が成立しているとともにさらに確変移行条件が成立している場合、その確率変動状態が継続された状態で遊技状態表示器1183の表示態様をある特定の割り込み周期内において点灯状態から一旦消灯状態とさせた後、当該特定の割り込み周期と同一の割り込み周期内において遊技状態表示器1183の表示態様を再度消灯状態から点灯状態とさせる(点灯状態継続制御手段)。なお、このように遊技者に確率変動状態が継続しているように視認させたいにもかかわらず、このように、ごく短時間に亘って遊技状態表示器1183の表示態様を変化させても、遊技者の視覚上、遊技状態表示器1183の表示態様が変わっていないように見せることができる。   Specifically, first, as described above, the main control program determines whether or not the winning condition is satisfied after the game ball is received at the first start port 2101 or the second start port 2102. (The lottery means), and if the winning condition is satisfied, the normal gaming state is shifted to the big hit gaming state, while if the winning condition is satisfied and the probability variation changing condition is The probability transition condition is shifted to a probability fluctuation state in which the probability that the winning condition is satisfied is set to be relatively higher than the normal gaming state (gaming state control means). While this probability control state continues, the main control program keeps the display state of the game state indicator 1183 in the lighting state, while the game state indicator 1183 displays the display state when a transition is made to a game state other than the probability change state. The mode is turned off (lighting mode control means). When the main control program turns on the display state of the game state indicator 1183 in response to the transition to the probability variation state described above, and then the winning condition is satisfied again and the probability change transition condition is further satisfied, After the probability variation state is continued, the display state of the game state indicator 1183 is temporarily changed from the lighting state to the extinguishing state within a specific interrupt cycle, and then the game is performed within the same interrupt cycle as the specific interrupt cycle. The display mode of the status indicator 1183 is changed from the extinguished state to the lit state again (lit state continuation control means). Although the player wants to visually recognize that the probability variation state continues, the display state of the game state indicator 1183 can be changed for a very short time as described above. It is possible to make it appear as if the display state of the game state display 1183 has not changed on the visual of the player.

このようにすると、遊技状態表示器1183の表示態様上、遊技者の目には、一旦消灯状態になったことが視認し難く、点灯状態が継続しているかのように視認される。すると、本実施形態におけるパチンコ遊技機1が、確率変動状態が連続的に継続するいわゆるループ機であっても、大当たり遊技状態が終了した後特別図柄が規定の変動回数まで確率変動状態が継続するとともに当該規定変動回数内に当選条件が成立するとその後再度確率変動状態に移行するいわゆるST(スペシャルタイム)機であっても、互いに異なる機種間において遊技状態表示器1183の表示態様を制御するプログラムコードを共用することができる。これにより、互いに異なる機種のパチンコ遊技機の開発効率を向上することができるようになる。   If it does in this way, it will be difficult to visually recognize that it turned off once, and it will be visually recognized as if the lighting state continues on the display mode of game state indicator 1183. Then, even if the pachinko gaming machine 1 according to the present embodiment is a so-called loop machine in which the probability variation state continues continuously, the probability variation state continues until the specified number of variations of the special symbol after the jackpot gaming state ends. In addition, even if it is a so-called ST (special time) machine that shifts to the probability fluctuation state again when the winning condition is satisfied within the specified fluctuation number, the program code that controls the display mode of the game state indicator 1183 between different models Can be shared. As a result, the development efficiency of different types of pachinko machines can be improved.

さらに、この特別図柄及び特別電動役物制御処理では、主制御プログラム(遊技制御手段)が、上述のように当選条件が成立している場合には通常遊技状態から大当たり遊技状態に移行させる一方、さらに移行条件の一例としての確変移行条件が成立している場合には特定遊技状態の一例としての確変遊技状態にも移行させる(遊技状態制御手段)。ここで、主制御プログラムは、実質的に大当たり遊技状態での遊技球の払い出しをほぼ行うことなく、特定遊技状態の一例としての確変遊技状態に移行させるようにしてもよい。なお、この特定遊技状態としては、移行条件の他の一例としての時短作動条件が成立して時短機能が作動している状態であってもよいし、上述した確変遊技状態と併せて同時に両方の遊技状態であってもよい。この主制御プログラムは、ある遊技状態から他の遊技状態に移行するまでの期間における特別図柄の変動表示回数の残り回数を管理しており、当該管理している遊技状態を表す遊技状態情報を送信情報として送信情報記憶領域に書き込むことによって、その後同一のタイマ割り込み周期内において、後述するコマンド送信処理S92において送信させる(遊技状態通知手段)。   Furthermore, in this special symbol and special electric accessory control process, the main control program (game control means) shifts from the normal gaming state to the jackpot gaming state when the winning condition is satisfied as described above, Further, when the probability variation transition condition as an example of the transition condition is satisfied, the state is also shifted to the probability variation gaming state as an example of the specific gaming state (gaming state control means). Here, the main control program may be shifted to the probability variation gaming state as an example of the specific gaming state without substantially paying out the game ball in the big hit gaming state. The specific game state may be a state in which the time-shortening operation condition is established as another example of the transition condition and the time-shortening function is in operation, It may be in a gaming state. This main control program manages the remaining number of times of display change of a special symbol during a period from a certain gaming state to another gaming state, and transmits gaming state information indicating the managed gaming state. By writing it in the transmission information storage area as information, it is then transmitted in the command transmission process S92 described later within the same timer interruption period (game state notification means).

具体的には、この主制御プログラムが、上述した確変移行条件が成立している場合、遊技状態が確変遊技状態以外の遊技状態、例えば通常遊技状態に移行するまでに特別図柄が変動表示される残り回数に関する情報(以下「残り回数情報」という)を、始動条件が成立した後に開始条件が成立したことを契機として送信されるいずれかのコマンド、例えば変動パターンに対応する変動パターンコマンドに含めて送信情報として送信情報記憶領域に書き込むことによって、その後同一のタイマ割り込み周期内において、後述するコマンド送信処理S92において送信させている(残り変動回数通知手段)。なお、主制御プログラムは、上述した残り回数情報をその他のコマンドに含めたり、独立したコマンドとして周辺制御基板4140に送信させるようにしてもよい。   Specifically, when the above-described probability change transition condition is satisfied in this main control program, special symbols are variably displayed until the game state shifts to a game state other than the probability change game state, for example, the normal game state. Information related to the remaining number of times (hereinafter referred to as “remaining number of times information”) is included in one of the commands transmitted when the start condition is satisfied after the start condition is satisfied, for example, the change pattern command corresponding to the change pattern By writing it as transmission information in the transmission information storage area, it is then transmitted in the command transmission processing S92 described later within the same timer interruption period (remaining fluctuation number notification means). The main control program may include the above remaining number information in other commands, or may be transmitted to the peripheral control board 4140 as an independent command.

ステップS86に続いて、主制御プログラムは、普通図柄及び普通電動役物制御処理を行う(ステップS88)。この普通図柄及び普通電動役物制御処理では、主制御プログラムが、上述した入力情報記憶領域から入力情報を読み出してこの入力情報に基づいてゲート入賞処理を行う。このゲート入賞処理では、主制御プログラムが、入力情報からゲートスイッチ2352からの検出信号が入力端子に入力されていたか否かを判定する。主制御プログラムは、この判定結果に基づいて、検出信号が入力端子に入力されていた場合、上述した普通図柄当り判定用乱数を更新するカウンタの値等を抽出してゲート情報として主制御内蔵RAMのゲート情報記憶領域に記憶する。   Subsequent to step S86, the main control program performs normal symbol and normal electric accessory control processing (step S88). In this normal symbol and normal electric accessory control process, the main control program reads input information from the input information storage area described above and performs a gate winning process based on this input information. In this gate winning process, the main control program determines whether or not the detection signal from the gate switch 2352 is input to the input terminal from the input information. Based on this determination result, the main control program extracts the value of the counter for updating the above-described normal random number for determination per symbol when the detection signal is input to the input terminal, and stores the main control built-in RAM as gate information. Is stored in the gate information storage area.

このゲート情報記憶領域には、第0区画〜第3区画(4つの区画)が設けられており、第0区画、第1区画、第2区画、そして第3区画の順にゲート情報が格納されるようになっている。例えばゲート情報がゲート情報記憶の第0区画〜第2区画に格納されている場合、ゲートスイッチ2352からの検出信号が入力端子に入力されていたときにはゲート情報をゲート情報記憶の第3区画に格納する。   This gate information storage area is provided with 0th partition to 3rd partition (four partitions), and gate information is stored in the order of 0th partition, 1st partition, 2nd partition, and 3rd partition. It is like that. For example, when gate information is stored in the 0th to 2nd sections of the gate information storage, when the detection signal from the gate switch 2352 is input to the input terminal, the gate information is stored in the third section of the gate information storage. To do.

ゲート情報はゲート情報記憶の第0区画に格納されているものが主制御内蔵RAMの作業領域にセットされる。このゲート情報がセットされると、ゲート情報記憶の第1区画のゲート情報がゲート情報記憶の第0区画に、ゲート情報記憶の第2区画のゲート情報がゲート情報記憶の第1区画に、ゲート情報記憶の第3区画のゲート情報がゲート情報記憶の第2区画に、それぞれシフトされてゲート情報記憶の第3区画が空き領域となる。例えば、ゲート情報記憶の第1区画〜第2区画にゲート情報が記憶されている場合には、ゲート情報記憶の第1区画のゲート情報がゲート情報記憶の第0区画に、ゲート情報記憶の第2区画のゲート情報がゲート情報記憶の第1区画にそれぞれシフトされてゲート情報記憶の第2区画及びゲート情報記憶の第3区画が空き領域となる。ここで、ゲート情報記憶の第1区画〜第3区画にゲート情報が格納されていると、格納されたゲート情報の総数を保留球として普通図柄記憶表示器1188を点灯させるよう、上述したゲート情報に基づいて普通図柄記憶表示器1188の点灯信号の出力を設定し、出力情報として上述した出力情報記憶領域に記憶する。   The gate information stored in the 0th section of the gate information storage is set in the work area of the main control built-in RAM. When this gate information is set, the gate information of the first section of the gate information storage is in the 0th section of the gate information storage, the gate information of the second section of the gate information storage is in the first section of the gate information storage, The gate information of the third section of the information storage is shifted to the second section of the gate information storage, respectively, and the third section of the gate information storage becomes an empty area. For example, when gate information is stored in the first partition to the second partition of the gate information storage, the gate information of the first partition of the gate information storage is stored in the 0th partition of the gate information storage. The gate information of the two sections is shifted to the first section of the gate information storage, and the second section of the gate information storage and the third section of the gate information storage become empty areas. Here, when the gate information is stored in the first section to the third section of the gate information storage, the above-described gate information is turned on so that the normal symbol storage display 1188 is turned on using the total number of stored gate information as a holding ball. Based on the above, the output of the lighting signal of the normal symbol storage display 1188 is set and stored as output information in the output information storage area described above.

このようなゲート入賞処理に続いて、主制御プログラムは、主制御内蔵RAMの作業領域にセットされたゲート情報を読み出し、この読み出したゲート情報から普通図柄当り判定用乱数の値を取り出して主制御内蔵ROMに予め記憶されている普通図柄当り判定値と一致するか否かを判定する(「普通抽選」という)。主制御プログラムは、この判定結果(普通抽選による抽選結果)に応じて一対の可動片2106を開閉動作させるか否かを決定する。主制御プログラムは、この決定により開閉動作をさせる場合、一対の可動片2106が開放状態となることで第二始動口2102へ遊技球が受け入れ可能となる遊技状態となって遊技者にとって有利な遊技状態に移行させる。さらに主制御プログラムは、上述した普通図柄変動表示パターン用乱数の値に基づいて、上述した決定と対応する普通図柄の変動表示パターンを決定し、図35に示した普図同調演出関連に区分される各種コマンドを作成し、送信情報として上記送信情報記憶領域に記憶するとともに、その決定した普通図柄の変動表示パターンに従って普通図柄表示器1189を点灯させるよう普通図柄表示器1189への点灯信号の出力を設定し、出力情報として上記出力情報記憶領域に記憶する。また、主制御プログラムは、その取り出した普通図柄当り判定用乱数の値が主制御内蔵ROMに予め記憶されている普通図柄当り判定値と一致しているときには、図35に示した普通電役演出関連の各種コマンドを作成し、送信情報として送信情報記憶領域に記憶するとともに、一対の可動片2106を開閉動作させるよう始動口ソレノイド2105への駆動信号の出力を設定し、出力情報として上述した出力情報記憶領域に記憶する。一方、主制御プログラムは、その取り出した普通図柄当り判定用乱数の値が主制御内蔵ROMに予め記憶されている普通図柄当り判定値と一致していないときには、上述した普通図柄変動表示パターン用乱数に基づいて普通図柄変動表示パターンを決定し、図35に示した普図同調演出関連に区分される各種コマンドを作成し、送信情報として上述した送信情報記憶領域に記憶するとともに、その決定した普通図柄変動表示パターンに従って普通図柄表示器1189を点灯させるよう普通図柄表示器1189への点灯信号の出力を設定し、出力情報として上述した出力情報記憶領域に記憶する。   Following such a gate winning process, the main control program reads the gate information set in the work area of the main control built-in RAM, and extracts the value of the random number for judgment per ordinary symbol from the read gate information. It is determined whether or not it matches the determination value per normal symbol stored in advance in the built-in ROM (referred to as “normal lottery”). The main control program determines whether or not to open / close the pair of movable pieces 2106 according to this determination result (lottery result by normal lottery). When the main control program performs the opening / closing operation by this determination, the pair of movable pieces 2106 are in an open state so that a game ball can be received in the second starting port 2102 and a game advantageous to the player Transition to the state. Furthermore, the main control program determines the normal symbol variation display pattern corresponding to the above-described determination based on the above-mentioned normal symbol variation display pattern random number value, and is classified into the general symbol synchronization effect related shown in FIG. The command is generated and stored in the transmission information storage area as transmission information, and a lighting signal is output to the normal symbol display 1189 so that the normal symbol display 1189 is lit in accordance with the determined normal symbol variation display pattern. Is stored in the output information storage area as output information. Further, when the extracted random number for normal symbol determination matches the normal symbol determination value stored in advance in the main control built-in ROM, the main control program reads the normal electric role effect shown in FIG. Various related commands are created and stored in the transmission information storage area as transmission information, and the output of the drive signal to the start-port solenoid 2105 is set so as to open and close the pair of movable pieces 2106. Store in the information storage area. On the other hand, the main control program, when the value of the random number for normal symbol determination taken out does not coincide with the normal symbol determination value stored in advance in the main control built-in ROM, the normal symbol variation display pattern random number described above. The normal symbol variation display pattern is determined based on the above, and various commands classified as related to the common-synchronization effect shown in FIG. 35 are created, stored as transmission information in the transmission information storage area described above, and the determined normal The output of the lighting signal to the normal symbol display 1189 is set so as to light the normal symbol display 1189 according to the symbol variation display pattern, and the output information is stored in the output information storage area described above.

ステップS88に続いて、主制御プログラムはポート出力処理を行う(ステップS90)。このポート出力処理では、この主制御プログラムが主制御MPU4100aの各種出力ポートの出力端子から、上述した出力情報記憶領域から出力情報を読み出してこの出力情報に基づいて各種信号を出力する。この主制御プログラムは、例えば、出力情報に基づいて主制御MPU4100aの所定の出力ポートの出力端子から、払出制御基板4110からの各種コマンドを正常に受信完了したときには主払ACK信号を払出制御基板4110に出力したり、大当り遊技状態であるときには大入賞口2103の開閉部材2107の開閉動作を行うアタッカソレノイド2108A,2108Bに駆動信号を出力したり、一対の可動片2106の開閉動作を行う始動口ソレノイド2105に駆動信号を出力したりするほかに、2ラウンド大当り情報出力信号、6ラウンド大当り情報出力信号、12ラウンド大当り情報出力信号、16ラウンド大当り情報出力信号、確率変動中情報出力信号、特別図柄表示情報出力信号、普通図柄表示情報出力信号、時短中情報出力情報、始動口入賞情報出力信号等の遊技に関する各種情報(遊技情報)信号を払出制御基板4110に出力したりする。   Subsequent to step S88, the main control program performs port output processing (step S90). In this port output process, the main control program reads output information from the output information storage area described above from the output terminals of the various output ports of the main control MPU 4100a and outputs various signals based on the output information. The main control program, for example, outputs a main payout ACK signal when the various commands from the payout control board 4110 are normally received from the output terminal of a predetermined output port of the main control MPU 4100a based on the output information. When the game is in a big hit game state, a driving signal is output to the attacking solenoids 2108A and 2108B for opening / closing the opening / closing member 2107 of the big winning opening 2103, or a starting opening solenoid for opening / closing the pair of movable pieces 2106 In addition to outputting drive signal to 2105, 2 round jackpot information output signal, 6 round jackpot information output signal, 12 round jackpot information output signal, 16 round jackpot information output signal, probability changing information output signal, special symbol display Information output signal, normal symbol display information output signal, short time medium Output information, and outputs various information (game information) signal to the payout control board 4110 regarding the game, such as start-up hole winning information output signal.

ステップS90に続いて、主制御プログラムは、周辺制御基板コマンド送信処理を行う(ステップS92)。この周辺制御基板コマンド送信処理では、この主制御プログラムが、上述した送信情報記憶領域からコマンドやデータなどの送信情報を読み出してこの送信情報を主周シリアルデータとして周辺制御基板4140に送信する(コマンド送信手段)。この送信情報には、本ルーチンである主制御側タイマ割り込み処理で作成した、図35に示した、特図1同調演出関連に区分される各種コマンド、特図2同調演出関連に区分される各種コマンド、大当り関連に区分される各種コマンド(例えば、大入賞口2103に入球した遊技球を検出した際にカウントスイッチ2110からの検出信号に基づく大入賞口カウントコマンドに相当する大入賞口1カウント表示コマンド)、電源投入に区分される各種コマンド、普図同調演出関連に区分される各種コマンド、普通電役演出関連に区分される各種コマンド、図36に示した、報知表示に区分される各種コマンド(扉枠開放コマンド、扉枠閉鎖コマンド、本体枠開放コマンド、本体枠閉鎖コマンドなど)、状態表示に区分される各種コマンド(枠状態1コマンド、エラー解除ナビコマンド及び枠状態2コマンド)、テスト関連に区分される各種コマンド及びその他に区分される各種コマンドが記憶されている。主周シリアルデータは、1パケットが3バイトに構成されている。具体的には、主周シリアルデータは、1バイト(8ビット)の記憶容量を有するコマンドの種類を示すステータスと、1バイト(8ビット)の記憶容量を有する演出のバリエーションを示すモードと、ステータス及びモードを数値とみなしてその合計を算出したサム値と、から構成されており、このサム値は、送信時に作成されている。   Subsequent to step S90, the main control program performs peripheral control board command transmission processing (step S92). In this peripheral control board command transmission processing, the main control program reads transmission information such as commands and data from the transmission information storage area described above and transmits this transmission information to the peripheral control board 4140 as main peripheral serial data (command Transmission means). The transmission information includes various commands created in the main control side timer interruption process, which is this routine, shown in FIG. Various commands categorized as commands and jackpots (for example, one winning mouth count corresponding to a big winning mouth count command based on a detection signal from the count switch 2110 when a game ball entering the big winning mouth 2103 is detected) Display command), various commands classified as power-on, various commands classified as related to ordinary drawing effect, various commands classified as related to ordinary electric effect, various classified as notification display shown in FIG. Commands (door frame opening command, door frame closing command, body frame opening command, body frame closing command, etc.), various commands (frame Position 1. command, error reset navigation command and the frame state 2 command), various commands and various commands are classified into other are divided into test-related are stored. The main serial data consists of 3 bytes per packet. Specifically, the main peripheral serial data includes a status indicating a type of command having a storage capacity of 1 byte (8 bits), a mode indicating a production variation having a storage capacity of 1 byte (8 bits), and a status. And a sum value obtained by calculating the sum with the mode regarded as a numerical value, and this sum value is created at the time of transmission.

この周辺制御基板コマンド送信処理では、主制御プログラムが、RXA端子の受信ポートによって払出制御基板4110から枠状態1コマンド(第1のエラー発生コマンド)を受信した場合、周辺制御基板4140(演出制御部)に対して枠状態1コマンド(第2のエラー発生コマンド)を送信する(エラーコマンド送出手段)。この場合、主制御プログラムは、払出制御基板4110から受け取った図37に示す形態である枠状態1コマンドを、図36に示す形態の枠状態1コマンドとして周辺制御基板4140に転送している。   In this peripheral control board command transmission process, when the main control program receives a frame state 1 command (first error occurrence command) from the payout control board 4110 via the RXA terminal reception port, the peripheral control board 4140 (effect control unit) ) Frame status 1 command (second error occurrence command) is transmitted (error command sending means). In this case, the main control program transfers the frame state 1 command in the form shown in FIG. 37 received from the payout control board 4110 to the peripheral control board 4140 as the frame state 1 command in the form shown in FIG.

またその一方、この周辺制御基板コマンド送信処理では、主制御プログラムが、RXA端子の受信ポートによって払出制御基板4110からエラー解除ナビコマンド(第1のエラー解除コマンド)を受信した場合、周辺制御基板4140に対してエラー解除ナビコマンド(第2のエラー解除コマンド)を送信する(エラーコマンド送出手段)。この場合、主制御プログラムは、払出制御基板4110から受け取った図37に示す形態であるエラー解除ナビコマンドを、図36に示す形態のエラー解除ナビコマンドとして周辺制御基板4140に転送している。   On the other hand, in this peripheral control board command transmission process, if the main control program receives an error release navigation command (first error release command) from the payout control board 4110 via the RXA terminal reception port, the peripheral control board 4140 An error cancellation navigation command (second error cancellation command) is transmitted to (error command sending means). In this case, the main control program transfers the error release navigation command in the form shown in FIG. 37 received from the payout control board 4110 to the peripheral control board 4140 as the error release navigation command in the form shown in FIG.

またさらに、この周辺制御基板コマンド送信処理では、主制御プログラムが、RXA端子の受信ポートによって払出制御基板4110から本体枠開放コマンド(第1の本体枠開放コマンド)を受信した場合、周辺制御基板4140(演出制御部)に対して本体枠開放コマンド(第2の本体枠開放コマンド)を送信する(本体枠コマンド送出手段、第2の本体枠送出手段)。この場合、主制御プログラムは、払出制御基板4110から受け取った図37に示す形態である本体枠開放コマンドを、図36に示す形態である本体枠開放コマンドとして周辺制御基板4140に転送している。一方、この周辺制御基板コマンド送信処理では、主制御プログラムが、RXA端子の受信ポートによって払出制御基板4110から本体枠閉鎖コマンド(第1の本体枠閉鎖コマンド)を受信した場合、周辺制御基板4140(演出制御部)に対して本体枠閉鎖コマンド(第2の本体枠閉鎖コマンド)を送信する(本体枠コマンド送出手段、第2の本体枠コマンド送出手段、第2の特定枠コマンド送出手段)。この場合、主制御プログラムは、払出制御基板4110から受け取った図37に示す形態である本体枠閉鎖コマンドを、図36に示す形態である本体枠閉鎖コマンドとして周辺制御基板4140に転送している。   Furthermore, in this peripheral control board command transmission process, when the main control program receives a main body frame release command (first main body frame release command) from the payout control board 4110 via the RXA terminal reception port, the peripheral control board 4140 A main body frame release command (second main body frame release command) is transmitted to the (production control unit) (main body frame command sending means, second main body frame sending means). In this case, the main control program transfers the body frame release command in the form shown in FIG. 37 received from the payout control board 4110 to the peripheral control board 4140 as the body frame release command in the form shown in FIG. On the other hand, in this peripheral control board command transmission process, when the main control program receives a main body frame close command (first main body frame close command) from the payout control board 4110 through the reception port of the RXA terminal, the peripheral control board 4140 ( A main body frame closing command (second main body frame closing command) is transmitted to the production control unit (main body frame command sending means, second main body frame command sending means, and second specific frame command sending means). In this case, the main control program transfers the main body frame closing command in the form shown in FIG. 37 received from the payout control board 4110 to the peripheral control board 4140 as the main body frame closing command in the form shown in FIG.

また、この周辺制御基板コマンド送信処理では、主制御プログラムが、RXA端子の受信ポートによって払出制御基板4110から扉枠開放コマンド(第1の扉枠開放コマンド)を受信した場合、周辺制御基板4140(演出制御部)に対して扉枠開放コマンド(第2の扉枠開放コマンド)を送信する(扉枠コマンド送出手段、第2の扉枠コマンド送出手段、第2の特定枠コマンド送出手段)。この場合、主制御プログラムは、払出制御基板4110から受け取った図37に示す形態である扉枠閉鎖コマンドを、図36に示す形態である扉閉鎖コマンドとして周辺制御基板4140に転送している。一方、この周辺制御基板コマンド送信処理では、主制御プログラムが、RXA端子の受信ポートによって払出制御基板4110から扉閉鎖コマンド(第1の扉閉鎖コマンド)を受信した場合、周辺制御基板4140(演出制御部)に対して扉閉鎖コマンド(第2の扉閉鎖コマンド)を送信する(扉枠コマンド送出手段、第2の扉枠コマンド送出手段、第2の特定枠コマンド送出手段)。この場合、主制御プログラムは、払出制御基板4110から受け取った図37に示す形態である扉閉鎖コマンドを、図36に示す形態である扉閉鎖コマンドとして周辺制御基板4140に転送している。   In this peripheral control board command transmission process, when the main control program receives a door frame opening command (first door frame opening command) from the payout control board 4110 via the RXA terminal reception port, the peripheral control board 4140 ( A door frame opening command (second door frame opening command) is transmitted to the effect control unit (door frame command sending means, second door frame command sending means, second specific frame command sending means). In this case, the main control program transfers the door frame closing command in the form shown in FIG. 37 received from the payout control board 4110 to the peripheral control board 4140 as the door closing command in the form shown in FIG. On the other hand, in this peripheral control board command transmission process, when the main control program receives a door closing command (first door closing command) from the payout control board 4110 via the RXA terminal reception port, the peripheral control board 4140 (effect control) A door closing command (second door closing command) (door frame command sending means, second door frame command sending means, second specific frame command sending means). In this case, the main control program transfers the door closing command in the form shown in FIG. 37 received from the payout control board 4110 to the peripheral control board 4140 as the door closing command in the form shown in FIG.

ステップS92に続いて、主制御プログラムは、ウォッチドックタイマクリアレジスタWCLに値Cをセットする(ステップS94)。ステップS94でウォッチドックタイマクリアレジスタWCLに値Cがセットされることにより、ウォッチドックタイマクリアレジスタWCLには、ステップS70においてセットされた値Bに続いて値Cがセットされる。これにより、ウォッチドックタイマクリアレジスタWCLには、値A、値Bそして値Cが順にセットされ、ウォッチドックタイマがクリア設定される。   Subsequent to step S92, the main control program sets a value C in the watchdog timer clear register WCL (step S94). By setting the value C in the watchdog timer clear register WCL in step S94, the value C is set in the watchdog timer clear register WCL following the value B set in step S70. As a result, the value A, the value B, and the value C are sequentially set in the watchdog timer clear register WCL, and the watchdog timer is cleared.

ステップS94に続いて、主制御プログラムは、レジスタの切替(復帰)を行い(ステップS96)、このルーチンを終了する。ここで、本ルーチンである主制御側タイマ割り込み処理が開始されると、主制御MPU4100aは、ハード的に汎用レジスタの内容をスタックに積んで退避する。これにより、主制御側メイン処理で使用していた汎用レジスタの内容の破壊を防いでいる。ステップS96では、スタックに積んで退避した内容を読み出し、もとのレジスタに書き込む。なお、主制御MPU4100aは、ステップS96による復帰の後に割り込み許可の設定を行う。   Subsequent to step S94, the main control program switches (restores) the registers (step S96) and ends this routine. Here, when the main control timer interrupt process, which is this routine, is started, the main control MPU 4100a loads the contents of the general-purpose registers on the stack and saves them. This prevents the contents of the general-purpose register used in the main process on the main control side from being destroyed. In step S96, the contents saved on the stack are read and written to the original register. Note that the main control MPU 4100a sets the interrupt permission after the return in step S96.

[5.周辺制御基板の各種制御処理]
次に、主制御基板4100(主制御MPU4100a)から各種コマンドを受信する周辺制御基板4140の各種処理について、図15〜図18を参照して説明する。図15は周辺制御部電源投入時処理の一例を示すフローチャートであり、図16は周辺制御部Vブランク割り込み処理の一例を示すフローチャートであり、図17は周辺制御部1msタイマ割り込み処理の一例を示すフローチャートであり、図18は周辺制御部コマンド受信割り込み処理の一例を示すフローチャートである。
[5. Various control processing of peripheral control board]
Next, various processes of the peripheral control board 4140 that receives various commands from the main control board 4100 (main control MPU 4100a) will be described with reference to FIGS. FIG. 15 is a flowchart showing an example of the peripheral control unit power-on process, FIG. 16 is a flowchart showing an example of the peripheral control unit V blank interrupt process, and FIG. 17 shows an example of the peripheral control unit 1 ms timer interrupt process. FIG. 18 is a flowchart showing an example of a peripheral control unit command reception interrupt process.

周辺制御基板4140は、図7に示したように、周辺制御部4150と液晶及び音制御部4160等から構成されており、ここでは、周辺制御部4150の各種制御処理について説明する。まず、周辺制御部電源投入時処理について説明し、続いて周辺制御部Vブランク割り込み処理、周辺制御部1msタイマ割り込み処理、周辺制御部コマンド受信割り込み処理、周辺制御部停電予告信号割り込み処理について説明する。なお、本実施形態では、割り込み処理の優先順位として、周辺制御部停電予告信号割り込み処理が最も高く設定され、続いて周辺制御部1msタイマ割り込み処理、周辺制御部コマンド受信割り込み処理、そして周辺制御部Vブランク割り込み処理という順番に設定されている。   As shown in FIG. 7, the peripheral control board 4140 includes a peripheral control unit 4150, a liquid crystal and sound control unit 4160, and the like. Here, various control processes of the peripheral control unit 4150 will be described. First, the peripheral control unit power-on process will be described, followed by the peripheral control unit V blank interrupt process, the peripheral control unit 1 ms timer interrupt process, the peripheral control unit command reception interrupt process, and the peripheral control unit power failure warning signal interrupt process. . In the present embodiment, the peripheral control unit power failure warning signal interrupt processing is set as the highest priority as the interrupt processing priority, followed by the peripheral control unit 1 ms timer interrupt processing, peripheral control unit command reception interrupt processing, and peripheral control unit The order of V blank interrupt processing is set.

[5−1.周辺制御部の各種制御処理]
[5−1−1.周辺制御部電源投入時処理]
まず、周辺制御部電源投入時処理について、図15を参照して説明する。パチンコ遊技機1に電源が投入されると、図7に示した周辺制御部4150の周辺制御MPU4150aは、図15に示すように、周辺制御部電源投入時処理を行う。この周辺制御部電源投入時処理が開始されると、演出制御プログラムが周辺制御MPU4150aの制御の下、初期設定処理を行う(ステップS1000)。この初期設定処理では、演出制御プログラムが、周辺制御MPU4150a自身を初期化する処理と、ホットスタート/コールドスタートの判定処理と、リセット後のウェイトタイマを設定する処理等を行う。周辺制御MPU4150aは、まず自身を初期化する処理を行うが、この周辺制御MPU4150aを初期化する処理にかかる時間は、マイクロ秒(μs)オーダーであり、極めて短い時間で周辺制御MPU4150aを初期化することができる。これにより、周辺制御MPU4150aは、割り込み許可が設定された状態となることによって、例えば、後述する周辺制御部コマンド受信割り込み処理において、主制御基板4100から出力される、図10及び図11に示した、遊技演出の制御に関するコマンドやパチンコ遊技機1の状態に関するコマンド等の各種コマンドを受信することができる状態となる。また、当該周辺制御MPU4150a自身を初期化する処理においては、周辺制御MPU4150aが、音源内蔵VDP4160aにその内蔵VRAMの記憶領域に、例えば「0」を書き込ませることによってその内蔵VRAMを初期化する。
[5-1. Various control processes of peripheral control unit]
[5-1-1. Peripheral control unit power-on processing]
First, the peripheral control unit power-on process will be described with reference to FIG. When the pachinko gaming machine 1 is powered on, the peripheral control MPU 4150a of the peripheral control unit 4150 shown in FIG. 7 performs a peripheral control unit power-on process as shown in FIG. When the peripheral control unit power-on process is started, the effect control program performs an initial setting process under the control of the peripheral control MPU 4150a (step S1000). In this initial setting process, the production control program performs a process of initializing the peripheral control MPU 4150a itself, a hot start / cold start determination process, a process of setting a wait timer after reset, and the like. The peripheral control MPU 4150a first performs a process of initializing itself. The time required for the process of initializing the peripheral control MPU 4150a is on the order of microseconds (μs), and the peripheral control MPU 4150a is initialized in a very short time. be able to. As a result, the peripheral control MPU 4150a is output from the main control board 4100, for example, in the peripheral control unit command reception interrupt processing described later, as shown in FIG. 10 and FIG. Various commands such as commands relating to the control of game effects and commands relating to the state of the pachinko gaming machine 1 can be received. In the process of initializing the peripheral control MPU 4150a itself, the peripheral control MPU 4150a initializes the built-in VRAM by, for example, writing “0” in the storage area of the built-in VRAM in the sound source built-in VDP 4160a.

ホットスタート/コールドスタートの判定処理では、図8に示した周辺制御RAM4150cついては、そのバックアップ第1エリア4150cbにおける、Bank1(1fr)及びBank2(1fr)にバックアップされている内容である演出バックアップ情報(1fr)を比較するとともに、Bank1(1ms)及びBank2(1ms)にバックアップされている内容である演出バックアップ情報(1ms)を比較し、そのバックアップ第2エリア4150ccにおける、Bank3(1fr)及びBank4(1fr)にバックアップされている内容である演出バックアップ情報(1fr)を比較するとともに、Bank3(1ms)及びBank4(1ms)にバックアップされている内容である演出バックアップ情報(1ms)を比較し、この比較した内容が一致しているときには図8に示した周辺制御RAM4150cの通常使用する記憶領域である、Bank0(1fr)に対してBank1(1fr)に記憶されている内容である演出バックアップ情報(1fr)と、Bank0(1ms)に対してBank1(1ms)に記憶されている内容である演出バックアップ情報(1ms)と、をそれぞれコピーバックしてホットスタートとする一方、比較した内容が一致していないとき(つまり、不一致であるとき)には周辺制御RAM4150cの通常使用する記憶領域である、Bank0(1fr)及びBank0(1ms)に対してそれぞれ値0を強制的に書き込んでコールドスタートとする。   In the hot start / cold start determination process, for the peripheral control RAM 4150c shown in FIG. 8, effect backup information (1fr) that is the contents backed up in Bank1 (1fr) and Bank2 (1fr) in the backup first area 4150cb. ) And the production backup information (1 ms), which is the contents backed up in Bank 1 (1 ms) and Bank 2 (1 ms), are compared, and Bank 3 (1 fr) and Bank 4 (1 fr) in the backup second area 4150 cc are compared. The production backup information (1fr) which is the contents backed up in the bank is compared, and the production backup information (1 fr) which is the contents backed up in Bank3 (1 ms) and Bank4 (1 ms) s), and when the compared contents match, the contents stored in Bank1 (1fr) with respect to Bank0 (1fr), which is a normally used storage area of the peripheral control RAM 4150c shown in FIG. The production backup information (1fr) and the production backup information (1ms) stored in Bank1 (1ms) with respect to Bank0 (1ms) are copied back to make a hot start, When the contents do not match (that is, when they do not match), the value 0 is forcibly written to Bank0 (1fr) and Bank0 (1 ms), which are normally used storage areas of the peripheral control RAM 4150c. And cold start.

またホットスタート/コールドスタートの判定処理では、周辺制御SRAM4150dについても、そのバックアップ第1エリア4150dbにおける、Bank1(SRAM)及びBank2(SRAM)にバックアップされている内容である演出バックアップ情報(SRAM)を比較するとともに、そのバックアップ第2エリア4150dcにおける、Bank3(SRAM)及びBank4(SRAM)にバックアップされている内容である演出バックアップ情報(SRAM)を比較する。この比較した内容が一致しているときには周辺制御SRAM4150d(図7参照)の通常使用する記憶領域であるBank0(SRAM)に対してBank0(SRAM)に記憶されている内容である演出バックアップ情報(SRAM)をコピーバックしてホットスタートとする一方、比較した内容が一致していないとき(つまり、不一致であるとき)には周辺制御SRAM4150dの通常使用する記憶領域であるBank0(SRAM)に対して値0を強制的に書き込んでコールドスタートとする。このようなホットスタート又はコールドスタートに続いて、周辺制御RAM4150c(図8参照)のバックアップ非管理対象ワークエリア4150cfに対して値0を強制的に書き込んでゼロクリアする。そして周辺制御MPU4150aは、この初期化設定処理を行った後に、周辺制御内蔵WDT4150afと、周辺制御外部WDT4150e(図7参照)と、にクリア信号を出力して周辺制御MPU4150aにリセットがかからないようにしている。   In the hot start / cold start determination process, the peripheral backup SRAM 4150d also compares the production backup information (SRAM), which is the contents backed up in the Bank 1 (SRAM) and Bank 2 (SRAM) in the backup first area 4150db. At the same time, the production backup information (SRAM), which is the contents backed up in the Bank 3 (SRAM) and the Bank 4 (SRAM), in the backup second area 4150 dc is compared. When the compared contents match, the production backup information (SRAM) which is the contents stored in the Bank 0 (SRAM) with respect to the Bank 0 (SRAM) which is a normally used storage area of the peripheral control SRAM 4150d (see FIG. 7). ) Is copied back to make a hot start, while when the compared contents do not match (that is, when they do not match), the value is relative to Bank0 (SRAM), which is a storage area normally used by the peripheral control SRAM 4150d. A 0 is forcibly written to make a cold start. Following such a hot start or cold start, the value 0 is forcibly written to the backup non-management target work area 4150cf of the peripheral control RAM 4150c (see FIG. 8) to clear it to zero. Then, after performing this initialization setting process, the peripheral control MPU 4150a outputs a clear signal to the peripheral control built-in WDT 4150af and the peripheral control external WDT 4150e (see FIG. 7) so that the peripheral control MPU 4150a is not reset. Yes.

さらに、この周辺制御部電源投入時処理では、タッチパネルモジュール246a(接触入力制御手段)に内蔵されている電源投入時接触感度調整機能が次のように作動する。即ち、この電源投入時接触感度調整機能では、タッチパネルモジュール246a自身が、電源制御部によって電力の供給が開始されたことを契機としてタッチパネル246の接触面における接触感度を調整する(初期接触感度調整手段)。具体的には、まず、タッチパネルコントローラ481のコントロールレジスタ481aには、タッチパネル246の接触面が非接触状態にある場合における静電容量としての接触判定用閾値が記憶されている。タッチパネルコントローラ481は、電源制御部によって電力の供給が開始されたことを契機として、コントロールレジスタ481aに記憶されている接触判定用閾値を予め定められた接触判定用閾値の初期値(以下「初期接触判定用閾値」ともいう)で更新する。   Furthermore, in this peripheral control unit power-on process, the power-on contact sensitivity adjustment function built in the touch panel module 246a (contact input control means) operates as follows. That is, in this contact sensitivity adjustment function at power-on, the touch panel module 246a itself adjusts the contact sensitivity on the contact surface of the touch panel 246 when power supply is started by the power supply control unit (initial contact sensitivity adjustment means). ). Specifically, first, the control register 481a of the touch panel controller 481 stores a contact determination threshold value as a capacitance when the contact surface of the touch panel 246 is in a non-contact state. The touch panel controller 481 uses the initial value of a predetermined contact determination threshold (hereinafter referred to as “initial contact”) as the contact determination threshold stored in the control register 481a in response to the start of power supply by the power supply control unit. Also referred to as “determination threshold”.

ステップS1000に続いて、演出制御プログラムは現在時刻情報取得処理を行う(ステップS1002)。この現在時刻情報取得処理では、図7に示したRTC制御部4165のRTC4165aのRTC内蔵RAM4165aaから、年月日を特定するカレンダー情報と時分秒を特定する時刻情報とを取得して、図8に示した周辺制御RAM4150cのRTC情報取得記憶領域4150cadに、現在のカレンダー情報としてカレンダー情報記憶部にセットするとともに、現在の時刻情報として時刻情報記憶部にセットする。また、現在時刻情報取得処理では、液晶表示装置の輝度設定処理も行う。この液晶表示装置の輝度設定処理では、周辺制御MPU4150aがRTC制御部4165のRTC内蔵RAM4165aaから輝度設定情報を取得して、この取得した輝度設定情報に含まれるLEDの輝度となるように、遊技盤側液晶表示装置1900のバックライトの輝度を調節して点灯する処理を行う。輝度設定情報は、上述したように、遊技盤側液晶表示装置1900のバックライトであるLEDの輝度が100%〜70%までに亘る範囲を5%刻みで調節するための輝度調節情報と、現在設定されている遊技盤側液晶表示装置1900のバックライトであるLEDの輝度と、が含まれているものである。   Subsequent to step S1000, the effect control program performs current time information acquisition processing (step S1002). In this current time information acquisition process, calendar information specifying the date and time and time information specifying the hour, minute, and second are acquired from the RTC built-in RAM 4165aa of the RTC 4165a of the RTC control unit 4165 shown in FIG. In the RTC information acquisition storage area 4150cad of the peripheral control RAM 4150c shown in FIG. 4, the current calendar information is set in the calendar information storage unit and the current time information is set in the time information storage unit. In the current time information acquisition process, the brightness setting process of the liquid crystal display device is also performed. In the brightness setting process of the liquid crystal display device, the peripheral control MPU 4150a acquires brightness setting information from the RTC built-in RAM 4165aa of the RTC control unit 4165, and the game board is set to have the brightness of the LED included in the acquired brightness setting information. A process of turning on the backlight by adjusting the luminance of the backlight of the side liquid crystal display device 1900 is performed. As described above, the brightness setting information includes brightness adjustment information for adjusting the range of the brightness of the LED, which is the backlight of the game board side liquid crystal display device 1900, from 100% to 70% in increments of 5%, The brightness of the LED which is the backlight of the game board side liquid crystal display device 1900 that has been set is included.

液晶表示装置の輝度設定処理では、具体的には、RTC制御部4165のRTC内蔵RAM4165aaに記憶されている輝度設定情報に含まれるLEDの輝度が75%で遊技盤側液晶表示装置1900のバックライトを点灯するときには、輝度設定情報に含まれる輝度調節情報に基づいて遊技盤側液晶表示装置1900のバックライトの輝度を調節して点灯し、RTC制御部4165のRTC内蔵RAM4165aaに記憶されている輝度設定情報に含まれるLEDの輝度が80%で遊技盤側液晶表示装置1900のバックライトを点灯するときには、輝度設定情報に含まれる輝度調節情報に基づいて遊技盤側液晶表示装置1900のバックライトの輝度を調節して点灯する。なお、この液晶表示装置の輝度設定処理では、上述した、遊技盤側液晶表示装置1900の使用時間に応じて遊技盤側液晶表示装置1900の輝度を補正するための輝度補正プログラムと同様な補正が全く行われないようになっている。これは、この液晶表示装置の輝度設定処理に輝度補正プログラムと同様な補正プログラムが組み込まれることにより、液晶表示装置の輝度設定処理が実行されるごとに、LEDの輝度が100%に向かって補正されるのを防止するためである。   In the brightness setting process of the liquid crystal display device, specifically, the brightness of the LED included in the brightness setting information stored in the RTC built-in RAM 4165aa of the RTC control unit 4165 is 75%, and the backlight of the game board side liquid crystal display device 1900 is displayed. Is turned on by adjusting the backlight brightness of the game board side liquid crystal display device 1900 based on the brightness adjustment information included in the brightness setting information, and the brightness stored in the RTC built-in RAM 4165aa of the RTC control unit 4165. When the backlight of the game board side liquid crystal display device 1900 is turned on when the luminance of the LED included in the setting information is 80%, the backlight of the game board side liquid crystal display device 1900 is turned on based on the luminance adjustment information included in the luminance setting information. Lights with the brightness adjusted. In this liquid crystal display device luminance setting process, the same correction as the above-described luminance correction program for correcting the luminance of the game board side liquid crystal display device 1900 according to the usage time of the game board side liquid crystal display device 1900 is performed. It is not done at all. This is because the brightness setting process of the liquid crystal display device incorporates a correction program similar to the brightness correction program, so that the brightness of the LED is corrected toward 100% each time the brightness setting process of the liquid crystal display device is executed. This is to prevent it from being done.

本実施形態では、周辺制御MPU4150aがRTC4165aのRTC内蔵RAM4165aaからカレンダー情報と時刻情報とを取得するのは、電源投入時の1回のみとなっている。また周辺制御MPU4150aは、この現在時刻情報取得処理を行った後に、周辺制御内蔵WDT4150afと周辺制御外部WDT4150eとにクリア信号を出力して周辺制御MPU4150aにリセットがかからないようにしている。   In the present embodiment, the peripheral control MPU 4150a acquires calendar information and time information from the RTC built-in RAM 4165aa of the RTC 4165a only once when the power is turned on. In addition, the peripheral control MPU 4150a outputs a clear signal to the peripheral control built-in WDT 4150af and the peripheral control external WDT 4150e after performing this current time information acquisition processing so that the peripheral control MPU 4150a is not reset.

ステップS1002に続いて、演出制御プログラムは、Vブランク信号検出フラグVB−FLGに値0をセットする(ステップS1006)。このVブランク信号検出フラグVB−FLGは、後述する周辺制御部定常処理を実行するか否かを決定するためのフラグであり、周辺制御部定常処理を実行するとき値1、周辺制御部定常処理を実行しないとき値0にそれぞれ設定される。Vブランク信号検出フラグVB−FLGは、周辺制御MPU4150aからの画面データを受け入れることができる状態である旨を伝えるVブランク信号が音源内蔵VDP4160aから入力されたことを契機として実行される後述する周辺制御部Vブランク信号割り込み処理において値1がセットされるようになっている。このステップS1006では、Vブランク信号検出フラグVB−FLGに値0をセットすることによりVブランク信号検出フラグVB−FLGを一度初期化している。また周辺制御MPU4150aは、このVブランク信号検出フラグVB−FLGに値0をセットした後に、周辺制御内蔵WDT4150afと周辺制御外部WDT4150eとにクリア信号を出力して周辺制御MPU4150aにリセットがかからないようにしている。   Subsequent to step S1002, the effect control program sets a value 0 to the V blank signal detection flag VB-FLG (step S1006). This V blank signal detection flag VB-FLG is a flag for determining whether or not to execute a peripheral control unit steady process to be described later, and has a value of 1 when the peripheral control unit steady process is executed. Is set to 0 when not executing. The V blank signal detection flag VB-FLG, which will be described later, is executed when a V blank signal indicating that the screen data from the peripheral control MPU 4150a can be received is input from the sound source built-in VDP 4160a. The value 1 is set in the part V blank signal interrupt processing. In step S1006, the V blank signal detection flag VB-FLG is initialized once by setting the value 0 to the V blank signal detection flag VB-FLG. The peripheral control MPU 4150a outputs a clear signal to the peripheral control built-in WDT 4150af and the peripheral control external WDT 4150e after setting the value 0 to the V blank signal detection flag VB-FLG so that the peripheral control MPU 4150a is not reset. Yes.

ステップS1006に続いて、演出制御プログラムは、Vブランク信号検出フラグVB−FLGが値1であるか否かを判定する(ステップS1008)。このVブランク信号検出フラグVB−FLGが値1でない(値0である)ときには、再びステップS1008に戻ってVブランク信号検出フラグVB−FLGが値1であるか否かを繰り返し判定する。このような判定を繰り返すことにより、周辺制御部定常処理を実行するまで待機する状態となる。また周辺制御MPU4150aは、このVブランク信号検出フラグVB−FLGが値1であるか否かを判定した後に、周辺制御内蔵WDT4150afと周辺制御外部WDT4150eとにクリア信号を出力して周辺制御MPU4150aにリセットがかからないようにしている。   Subsequent to step S1006, the effect control program determines whether or not the V blank signal detection flag VB-FLG is 1 (step S1008). When the V blank signal detection flag VB-FLG is not 1 (value 0), the process returns to step S1008 and it is repeatedly determined whether or not the V blank signal detection flag VB-FLG is 1. By repeating such a determination, the process waits until the peripheral control unit steady process is executed. The peripheral control MPU 4150a outputs a clear signal to the peripheral control built-in WDT 4150af and the peripheral control external WDT 4150e after determining whether or not the V blank signal detection flag VB-FLG is 1, and resets to the peripheral control MPU 4150a. It is made so that it won't be applied.

ステップS1008でVブランク信号検出フラグVB−FLGが値1であるとき、つまり周辺制御部定常処理を実行するときには、まず定常処理中フラグSP−FLGに値1をセットする(ステップS1009)。この定常処理中フラグSP−FLGは、周辺制御部定常処理を実行中であるとき値1、周辺制御部定常処理を実行完了したとき値0にそれぞれセットされる。   When the V blank signal detection flag VB-FLG has a value of 1 in step S1008, that is, when the peripheral control unit steady process is executed, a value 1 is first set to the steady process flag SP-FLG (step S1009). The steady processing flag SP-FLG is set to a value of 1 when the peripheral control unit steady processing is being executed, and to a value of 0 when the peripheral control unit steady processing is completed.

ステップS1009に続いて、演出制御プログラムは1ms割り込みタイマ起動処理を行う(ステップS1010)。この1ms割り込みタイマ起動処理では、後述する周辺制御部1msタイマ割り込み処理を実行するための1ms割り込みタイマを起動するとともに、この1ms割り込みタイマが起動して周辺制御部1msタイマ割り込み処理が実行された回数をカウントするための1msタイマ割り込み実行回数STNに値1をセットして1msタイマ割り込み実行回数STNの初期化も行う。この1msタイマ割り込み実行回数STNは周辺制御部1msタイマ割り込み処理で更新される。   Subsequent to step S1009, the effect control program performs 1 ms interrupt timer activation processing (step S1010). In this 1 ms interrupt timer starting process, a 1 ms interrupt timer for executing a later-described peripheral control unit 1 ms timer interrupt process is started, and the number of times this 1 ms interrupt timer is started and the peripheral control unit 1 ms timer interrupt process is executed. The value 1 is set in the 1 ms timer interrupt execution count STN for counting the 1 ms timer interrupt execution count STN. This 1 ms timer interrupt execution count STN is updated by the peripheral control unit 1 ms timer interrupt processing.

ステップS1010に続いて、演出制御プログラムは、ランプデータ出力処理を行う(ステップS1012)。このランプデータ出力処理では、演出制御プログラムが図7に示したランプ駆動基板4170へのDMAシリアル連続送信を行う。ここでは、図8に示した周辺制御MPU4150aの周辺制御DMAコントローラ4150acを利用してランプ駆動基板用シリアルI/Oポート連続送信を行う。このランプ駆動基板用シリアルI/Oポート連続送信が開始されるときには、図8に示した周辺制御MPU4150aに外付けされる周辺制御RAM4150cのランプ駆動基板側送信データ記憶領域4150caaに、遊技盤4に設けた各種装飾基板の複数のLEDへの点灯信号、点滅信号、又は階調点灯信号を出力するための遊技盤側発光データSL−DATが後述するランプデータ作成処理で作成されてセットされた状態となっている。   Subsequent to step S1010, the effect control program performs lamp data output processing (step S1012). In this lamp data output process, the effect control program performs DMA serial continuous transmission to the lamp driving board 4170 shown in FIG. Here, serial transmission of the serial I / O port for the lamp driving board is performed using the peripheral control DMA controller 4150ac of the peripheral control MPU 4150a shown in FIG. When the serial transmission for the lamp drive board serial I / O port is started, the game board 4 is stored in the lamp drive board transmission data storage area 4150caa of the peripheral control RAM 4150c externally attached to the peripheral control MPU 4150a shown in FIG. A state in which game board side light emission data SL-DAT for outputting a lighting signal, a blinking signal, or a gradation lighting signal to a plurality of LEDs of various decorative boards provided is created and set in a lamp data creation process to be described later It has become.

周辺制御MPU4150aの周辺制御CPUコア4150aaは、周辺制御DMAコントローラ4150acの要求要因にランプ駆動基板用シリアルI/Oポートの送信を指定し、ランプ駆動基板側送信データ記憶領域4150caaの先頭アドレスに格納された遊技盤側発光データSL−DATのうちの最初の1バイトを、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、ランプ駆動基板用シリアルI/Oポートの送信バッファレジスタに転送して書き込む。これにより、ランプ駆動基板用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、遊技盤側発光クロック信号SL−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始する。   The peripheral control CPU core 4150aa of the peripheral control MPU 4150a designates transmission of the serial I / O port for the lamp drive board as a request factor of the peripheral control DMA controller 4150ac, and is stored at the head address of the lamp drive board side transmission data storage area 4150caa. The first 1 byte of the game board side light emission data SL-DAT is transmitted to the transmission buffer register of the serial I / O port for the lamp driving board via the external bus 4150h, the peripheral control bus controller 4150ad, and the peripheral bus 4150ai. Transfer and write. As a result, the serial I / O port for the lamp driving board transfers the written data in the transmission buffer register to the transmission shift register, and synchronizes with the light emission clock signal SL-CLK on the game board side to 1 byte of the transmission shift register. The data starts to be transmitted bit by bit.

周辺制御DMAコントローラ4150acは、ランプ駆動基板用シリアルI/Oポートの送信割り込み要求が発生するごとに、これを契機として(本実施形態では、ランプ駆動基板用シリアルI/Oポートの送信バッファレジスタに書き込まれた1バイトのデータが送信シフトレジスタに転送され、その送信バッファレジスタに1バイトのデータがなくなって空となったことを契機としている。)、周辺制御CPUコア4150aaがバスを使用していない場合に、ランプ駆動基板側送信データ記憶領域4150caaに格納された残りの遊技盤側発光データSL−DATを1バイトずつ、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、ランプ駆動基板用シリアルI/Oポートの送信バッファレジスタに転送して書き込むことで、ランプ駆動基板用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、遊技盤側発光クロック信号SL−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始し、ランプ駆動基板用シリアルI/Oポートによる連続送信を行っている。   The peripheral control DMA controller 4150ac is triggered by a transmission interrupt request for the lamp drive board serial I / O port (in this embodiment, in the transmission buffer register of the lamp drive board serial I / O port). The written 1-byte data is transferred to the transmission shift register, and the transmission buffer register is empty because the 1-byte data disappears.), The peripheral control CPU core 4150aa is using the bus. If not, the remaining game board side light emission data SL-DAT stored in the lamp drive board side transmission data storage area 4150caa is byte by byte via the external bus 4150h, the peripheral control bus controller 4150ad, and the peripheral bus 4150ai. Transmit serial I / O port for lamp drive board By transferring and writing to the buffer register, the lamp drive board serial I / O port transfers the written data of the transmission buffer register to the transmission shift register, and synchronizes with the light emission clock signal SL-CLK on the game board side. Transmission of 1-byte data of the transmission shift register is started bit by bit, and continuous transmission is performed through the serial I / O port for the lamp driving board.

またランプデータ出力処理では、演出制御プログラムが、図7に示した枠装飾駆動アンプ基板194へのDMAシリアル連続送信処理を行う。ここでも、周辺制御MPU4150aの周辺制御DMAコントローラ4150acを利用して枠装飾駆動アンプ基板LED用シリアルI/Oポート連続送信を行う。この枠装飾駆動アンプ基板LED用シリアルI/Oポート連続送信が開始されるときには、図8に示した周辺制御MPU4150aに外付けされる周辺制御RAM4150cの枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabに、扉枠5に設けた各種装飾基板の複数のLEDへの点灯信号、点滅信号又は階調点灯信号を出力するための扉側発光データSTL−DATが後述するランプデータ作成処理で作成されてセットされた状態となっている。   In the lamp data output process, the effect control program performs a DMA serial continuous transmission process to the frame decoration drive amplifier board 194 shown in FIG. Also here, the frame I / O port LED serial I / O port continuous transmission is performed using the peripheral control DMA controller 4150ac of the peripheral control MPU 4150a. When the frame decoration drive amplifier board LED serial I / O port continuous transmission is started, the frame decoration drive amplifier board side LED transmission data storage area of the peripheral control RAM 4150c externally attached to the peripheral control MPU 4150a shown in FIG. In 4150cab, door side light emission data STL-DAT for outputting a lighting signal, a blinking signal, or a gradation lighting signal to a plurality of LEDs of various decorative boards provided on the door frame 5 is created by a lamp data creation process described later. Is set.

周辺制御MPU4150aの周辺制御CPUコア4150aaは、周辺制御DMAコントローラ4150acの要求要因に枠装飾駆動アンプ基板LED用シリアルI/Oポートの送信を指定し、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabの先頭アドレスに格納された扉側発光データSTL−DATのうちの最初の1バイトを、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、枠装飾駆動アンプ基板LED用シリアルI/Oポートの送信バッファレジスタに転送して書き込む。これにより、枠装飾駆動アンプ基板LED用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、扉側発光クロック信号STL−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始する。   The peripheral control CPU core 4150aa of the peripheral control MPU 4150a designates the transmission of the frame decoration drive amplifier board LED serial I / O port as a request factor of the peripheral control DMA controller 4150ac, and transmits the frame decoration drive amplifier board side LED transmission data storage area. The first one byte of the door-side light emission data STL-DAT stored at the head address of 4150cab is serially used for the frame decoration drive amplifier board LED via the external bus 4150h, the peripheral control bus controller 4150ad, and the peripheral bus 4150ai. Transfer and write to the I / O port transmit buffer register. As a result, the frame decoration drive amplifier board LED serial I / O port transfers the written data of the transmission buffer register to the transmission shift register, and synchronizes with the door side light emission clock signal STL-CLK. Transmission of 1-byte data is started bit by bit.

周辺制御DMAコントローラ4150acは、枠装飾駆動アンプ基板LED用シリアルI/Oポートの送信割り込み要求が発生するごとに、これを契機として(本実施形態では、枠装飾駆動アンプ基板LED用シリアルI/Oポートの送信バッファレジスタに書き込まれた1バイトのデータが送信シフトレジスタに転送され、その送信バッファレジスタに1バイトのデータがなくなって空となったことを契機としている。)、周辺制御CPUコア4150aaがバスを使用していない場合に、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabに格納された残りの扉側発光データSTL−DATを1バイトずつ、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、枠装飾駆動アンプ基板LED用シリアルI/Oポートの送信バッファレジスタに転送して書き込むことで、枠装飾駆動アンプ基板LED用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、扉側発光クロック信号STL−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始し、枠装飾駆動アンプ基板LED用シリアルI/Oポートによる連続送信を行っている。   The peripheral control DMA controller 4150ac is triggered every time a transmission interrupt request for the serial I / O port for frame decoration drive amplifier board LED is generated (in this embodiment, the serial I / O for frame decoration drive amplifier board LED). 1 byte data written in the transmission buffer register of the port is transferred to the transmission shift register, and the transmission buffer register is empty because the 1 byte data disappears.), Peripheral control CPU core 4150aa When the bus does not use a bus, the remaining door side light emission data STL-DAT stored in the frame decoration drive amplifier board side LED transmission data storage area 4150cab is stored byte by byte in the external bus 4150h and the peripheral control bus controller 4150ad. And frame decoration via peripheral bus 4150ai By transferring and writing to the transmission buffer register of the serial amplifier I / O port for the dynamic amplifier board LED, the serial I / O port for frame decoration drive amplifier board LED writes the data of the written transmission buffer register to the transmission shift register. Transfer and start transmitting 1-byte data of the transmission shift register bit by bit in synchronization with the door side light emission clock signal STL-CLK, and perform continuous transmission by the serial I / O port for frame decoration drive amplifier board LED Yes.

ステップS1012に続いて、演出制御プログラムは、操作ユニット監視処理を行う(ステップS1014)。この操作ユニット監視処理では、後述する周辺制御部1msタイマ割り込み処理における操作ユニット情報取得処理において、図7に示した操作ユニット400に設けられた各種検出スイッチからの検出信号に基づいてダイヤル操作部401の回転(回転方向)及び押圧操作部405の操作等を取得した各種情報(例えば、操作ユニット400に設けられた各種検出スイッチからの検出信号に基づいて作成するダイヤル操作部401の回転(回転方向)履歴情報、及び押圧操作部405の操作履歴情報など。)がセットされる図8に示した周辺制御RAM4150cの操作ユニット情報取得記憶領域4150caiに基づいて、ダイヤル操作部401の回転方向や押圧操作部405の操作有無を監視し、ダイヤル操作部401の回転方向や押圧操作部405の操作の状態を遊技演出に反映するか否かを適宜決定する。   Subsequent to step S1012, the effect control program performs an operation unit monitoring process (step S1014). In this operation unit monitoring process, in the operation unit information acquisition process in the peripheral control unit 1 ms timer interruption process described later, the dial operation unit 401 is based on detection signals from various detection switches provided in the operation unit 400 shown in FIG. Rotation (rotation direction) and various information obtained by operating the pressing operation unit 405 (for example, rotation of the dial operation unit 401 created based on detection signals from various detection switches provided in the operation unit 400 (rotation direction) ) History information, operation history information of the pressing operation unit 405, etc.) Based on the operation unit information acquisition storage area 4150cai of the peripheral control RAM 4150c shown in FIG. The presence or absence of operation of the unit 405 is monitored, and the rotation direction and push of the dial operation unit 401 are monitored. The state of operation of the operation section 405 appropriately determines whether to reflect the game effects.

ステップS1014に続いて、演出制御プログラムは、表示データ出力処理を行う(ステップS1016)。この表示データ出力処理では、後述する表示データ作成処理で音源内蔵VDP4160aの内蔵VRAM上に生成した1画面分(1フレーム分)の描画データを音源内蔵VDP4160aが図21に示したチャンネルCH1,2から遊技盤側液晶表示装置1900及び上皿側液晶表示装置246に出力する。これにより、遊技盤側液晶表示装置1900及び上皿側液晶表示装置246にさまざまな画面が描画される。なお、表示データ出力処理では、音源内蔵VDP4160aの描画能力を超える描画を行った場合には、生成した1画面分(1フレーム分)の描画データを遊技盤側液晶表示装置1900及び上皿側液晶表示装置246に出力することをキャンセルするようになっている。これにより、処理時間の遅れを防止することができるが、いわゆるコマ落ちが発生することとなるものの、ステップS1012のランプデータ出力処理による、遊技盤4に設けた各種装飾基板の複数のLED、及び扉枠5に設けた各種装飾基板の複数のLEDによる演出と、後述する音データ出力処理による、図5に示した本体枠3に設けたスピーカボックス920に収容されるスピーカー及び図2に示した扉枠5に設けたスピーカーから各種演出に合わせた音楽や効果音等による演出と、の同期を優先することができる仕組みとなっている。   Subsequent to step S1014, the effect control program performs display data output processing (step S1016). In this display data output processing, the drawing data for one screen (one frame) generated on the built-in VRAM of the sound source built-in VDP 4160a in the display data creation processing described later is sent from the channels CH1 and 2 shown in FIG. The data is output to the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246. Thereby, various screens are drawn on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246. In the display data output process, when the drawing exceeding the drawing capability of the sound source built-in VDP 4160a is performed, the generated drawing data for one screen (one frame) is used as the game board side liquid crystal display device 1900 and the upper plate side liquid crystal. The output to the display device 246 is canceled. Thereby, although delay of processing time can be prevented, so-called frame dropping occurs, a plurality of LEDs on various decorative boards provided on the game board 4 by the ramp data output processing in step S1012, and The speaker housed in the speaker box 920 provided in the main body frame 3 shown in FIG. 5 by the effect by the plurality of LEDs on the various decorative boards provided in the door frame 5 and the sound data output processing described later, and shown in FIG. It is a mechanism in which priority can be given to synchronization with effects produced by music, sound effects, etc. according to various effects from speakers provided on the door frame 5.

ステップS1016に続いて、演出制御プログラムは、音データ出力処理を行う(ステップS1018)。この音データ出力処理では、演出制御プログラムが、後述する音データ作成処理で音源内蔵VDP4160aに設定された音楽及び効果音等の音データをシリアル化したオーディオデータとしてオーディオデータ送信IC4160cに出力したり、音楽及び効果音のほかに報知音や告知音の音データをシリアル化したオーディオデータとしてオーディオデータ送信IC4160cに出力したりする。このオーディオデータ送信IC4160cは、音源内蔵VDP4160aからのシリアル化したオーディオデータが入力されると、右側オーディオデータを、プラス信号及びマイナス信号とする差分方式のシリアルデータとして枠装飾駆動アンプ基板194に向かって送信するとともに、左側オーディオデータを、プラス信号及びマイナス信号とする差分方式のシリアルデータとして枠装飾駆動アンプ基板194に向かって送信する。これにより、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから各種演出に合わせた音楽や効果音等がステレオ再生されたりするほかに報知音や告知音もステレオ再生されたりする。   Subsequent to step S1016, the effect control program performs sound data output processing (step S1018). In this sound data output process, the effect control program outputs to the audio data transmission IC 4160c as audio data obtained by serializing sound data such as music and sound effects set in the sound source built-in VDP 4160a in the sound data creation process described later, In addition to music and sound effects, the sound data of notification sound and notification sound is output to the audio data transmission IC 4160c as serialized audio data. When the audio data transmission IC 4160c receives the serialized audio data from the sound source built-in VDP 4160a, the audio data transmission IC 4160c is directed toward the frame decoration drive amplifier board 194 as differential serial data using the right audio data as a plus signal and a minus signal. At the same time, the left audio data is transmitted toward the frame decoration drive amplifier board 194 as differential serial data having a plus signal and a minus signal. As a result, music and sound effects adapted to various effects are reproduced in stereo from the speakers housed in the speaker box 920 provided on the main body frame 3 and the speakers provided on the door frame 5, as well as notification sounds and notification sounds. Stereo playback.

ステップS1018に続いて、演出制御プログラムはスケジューラ更新処理を行う(ステップS1020)。このスケジューラ更新処理では、演出制御プログラムが図8に示した周辺制御RAM4150cのスケジュールデータ記憶領域4150caeにセットされた各種スケジュールデータを更新する。例えば、スケジューラ更新処理では、スケジュールデータ記憶領域4150caeにセットされた画面生成用スケジュールデータを構成する時系列に配列された画面データのうち、先頭の画面データから何番目の画面データを音源内蔵VDP4160aに出力するのかを指示するために、ポインタを更新する。   Subsequent to step S1018, the effect control program performs scheduler update processing (step S1020). In this scheduler update process, the effect control program updates various schedule data set in the schedule data storage area 4150cae of the peripheral control RAM 4150c shown in FIG. For example, in the scheduler update process, among the screen data arranged in time series constituting the screen generation schedule data set in the schedule data storage area 4150cae, what number screen data from the top screen data is stored in the sound source built-in VDP 4160a. The pointer is updated to indicate whether to output.

またスケジューラ更新処理では、スケジュールデータ記憶領域4150caeにセットされた発光態様生成用スケジュールデータを構成する時系列に配列された発光データのうち、先頭の発光データから何番目の発光データを各種LEDの発光態様とするのかを指示するために、ポインタを更新する。   Also, in the scheduler update process, among the light emission data arranged in time series constituting the light emission mode generation schedule data set in the schedule data storage area 4150cae, the number of the light emission data from the first light emission data is emitted from the various LEDs. The pointer is updated to indicate whether the mode is set.

またスケジューラ更新処理では、スケジュールデータ記憶領域4150caeにセットされた音生成用スケジュールデータを構成する時系列に配列された、音楽や効果音等の音データ、報知音や告知音の音データを指示する音指令データのうち、先頭の音指令データから何番目の音指令データを音源内蔵VDP4160aに出力するのかを指示するために、ポインタを更新する。   In the scheduler update processing, sound data such as music and sound effects, sound data of notification sound and notification sound, which are arranged in time series constituting the sound generation schedule data set in the schedule data storage area 4150cae, are instructed. Of the sound command data, the pointer is updated in order to indicate what number of sound command data from the head sound command data is to be output to the built-in sound source VDP 4160a.

またスケジューラ更新処理では、スケジュールデータ記憶領域4150caeにセットされた電気的駆動源スケジュールデータを構成する時系列に配列されたモータやソレノイド等の電気的駆動源の駆動データのうち、先頭の駆動データから何番目の駆動データを出力対象とするのかを指示するために、ポインタを更新する。電気的駆動源スケジュールデータを構成する時系列に配列されたモータやソレノイド等の電気的駆動源の駆動データは、後述する、1msタイマ割り込みが発生するごとに繰り返し実行される周辺制御部1msタイマ割り込み処理におけるモータ及びソレノイド駆動処理で更新される。この1msタイマ割り込みが発生するごとに繰り返し実行されるモータ及びソレノイド駆動処理では、ポインタが指示する駆動データに従ってモータやソレノイド等の電気的駆動源を駆動するとともに、時系列に規定された次の駆動データにポインタを更新し、自身の処理を実行するごとに、ポインタを更新する。つまり、モータ及びソレノイド駆動処理において更新したポインタの指示する駆動データは、スケジューラ更新処理において強制的に更新される仕組みとなっているため、仮に、モータ及びソレノイド駆動処理においてポインタが何らかの原因で本来指示するはずの駆動データから他の駆動データを指示することとなっても、スケジューラ更新処理において強制的に本来指示するはずの駆動データに指示するように強制的に更新されるようになっている。   In the scheduler update process, the drive data of the electric drive sources such as motors and solenoids arranged in time series constituting the electric drive source schedule data set in the schedule data storage area 4150cae is used from the head drive data. The pointer is updated to indicate what number of drive data is to be output. The drive data of the electric drive sources such as motors and solenoids arranged in time series constituting the electric drive source schedule data is a peripheral control unit 1 ms timer interrupt which is repeatedly executed every time a 1 ms timer interrupt described later occurs. It is updated by the motor and solenoid drive process in the process. In the motor and solenoid drive processing that is repeatedly executed each time this 1 ms timer interrupt occurs, an electric drive source such as a motor or solenoid is driven according to the drive data indicated by the pointer, and the next drive specified in time series is performed. The pointer is updated to the data, and the pointer is updated every time its own processing is executed. In other words, since the drive data indicated by the pointer updated in the motor and solenoid drive processing is forcibly updated in the scheduler update processing, the pointer is originally instructed for some reason in the motor and solenoid drive processing. Even if other drive data is instructed from the drive data that is supposed to be performed, it is forcibly updated to instruct the drive data that should be instructed originally in the scheduler update processing.

ステップS1020に続いて、演出制御プログラムは、受信コマンド解析処理を行う(ステップS1022)。この受信コマンド解析処理では、演出制御プログラムが、主制御基板4100から送信された各種コマンドを、後述する周辺制御部コマンド受信割り込み処理(コマンド受信手段)において受信した各種コマンドの解析を行う(コマンド解析手段)。即ち、演出制御プログラムは、この周辺制御部コマンド受信割り込み処理で受信されたコマンドが、例えば、始動口入賞演出の開始を指示するための始動口入賞コマンド、普通図柄の保留数(0〜4個)を識別するための普通図柄記憶コマンド、図柄同調演出の開始を指示するための図柄同調演出開始コマンド、始動保留数が変化すると出力される図柄記憶コマンド、大入賞口2103に遊技球が受け入れられる度に出力された大入賞口1カウント表示コマンド(大入賞口カウントコマンド)、または、図36に示される満タンという内容を示す枠状態1コマンド(第2のエラー発生コマンド、満タンエラー発生コマンド)であるか否かを解析し(コマンド解析手段)、現在、どの遊技状態であるかを認識する。また、この演出制御プログラムは、電源投入時から所定時間が経過した後、この周辺制御部コマンド受信割り込み処理によって受信されたコマンドが本体枠開放コマンド、本体枠閉鎖コマンド、扉枠開放コマンドまたは扉枠閉鎖コマンドであるか否かを解析する。主制御基板4100からの各種コマンドは、周辺制御部コマンド受信割り込み処理で受信されて図8に示した周辺制御RAM4150cの受信コマンド記憶領域4150cacに記憶されるようになっており、受信コマンド解析処理では、演出制御プログラムが、受信コマンド記憶領域4150cacに記憶された各種コマンドの解析を行う。各種コマンドには、図35に示した、特図1同調演出関連に区分される各種コマンド、特図2同調演出関連に区分される各種コマンド、大当り関連に区分される各種コマンド、電源投入に区分される各種コマンド、普図同調演出関連に区分される各種コマンド、普通電役演出関連に区分される各種コマンド、図36に示した、報知表示に区分される各種コマンド、上述した扉枠開放コマンド、扉枠閉鎖コマンド、本体枠開放コマンド及び本体枠閉鎖コマンド並びにエラー解除ナビコマンド(第2のエラー解除コマンドに相当)及び枠状態1コマンド(第2のエラー発生コマンドに相当)などの状態表示に区分される各種コマンド、テスト関連に区分される各種コマンド及びその他に区分される各種コマンドがある。   Subsequent to step S1020, the effect control program performs a received command analysis process (step S1022). In this received command analysis process, the effect control program analyzes various commands transmitted from the main control board 4100 in various commands received in a peripheral control unit command reception interrupt process (command receiving means) described later (command analysis). means). That is, in the effect control program, the command received in this peripheral control unit command reception interrupt process is, for example, a start opening prize command for instructing the start opening start effect, the number of normal symbols held (0 to 4) ), A symbol synchronization effect start command for instructing the start of a symbol synchronization effect, a symbol memory command that is output when the number of start suspension changes, and a winning ball 2103 is received by a game ball. The winning prize 1 count display command (big winning prize count command) output every time, or the frame status 1 command (second error occurrence command, full tank error occurrence command) indicating the content of the full tank shown in FIG. (Command analyzing means) to recognize which gaming state is currently in progress. In addition, after the predetermined time has elapsed from the time when the power is turned on, the effect control program is configured such that the command received by the peripheral control unit command reception interrupt process is a body frame opening command, a body frame closing command, a door frame opening command, or a door frame. Analyzes whether or not the command is a close command. Various commands from the main control board 4100 are received by the peripheral control unit command reception interrupt process and stored in the reception command storage area 4150cac of the peripheral control RAM 4150c shown in FIG. The effect control program analyzes various commands stored in the received command storage area 4150cac. The various commands shown in FIG. 35 are classified into various commands classified as related to the special figure 1 tuning effect, various commands classified as related to the special figure 2 synchronous effect, various commands classified as related to the jackpot, and power-on. , Various commands classified as related to ordinary drawing effect, various commands classified as related to ordinary electric character effect, various commands classified as notification display shown in FIG. 36, door frame opening command described above , Door frame closing command, body frame opening command and body frame closing command, error release navigation command (corresponding to the second error canceling command) and frame state 1 command (corresponding to the second error occurrence command) There are various commands that are classified, various commands that are classified as related to the test, and various commands that are classified into others.

ステップS1022に続いて、演出制御プログラムが警告処理を行う(ステップS1024)。この警告処理では、さらに、演出制御プログラムが、上述のようにステップS1022の受信コマンド解析処理で解析したコマンドに、図36に示した報知表示に区分される各種コマンドが含まれているときには、各種異常報知を実行するための異常表示態様に設定されている、画面生成用スケジュールデータ、発光態様生成用スケジュールデータ、音生成用スケジュールデータ、及び電気的駆動源スケジュールデータ等を、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して周辺制御RAM4150cのスケジュールデータ記憶領域に4150caeにセットする。なお、警告処理では、複数の異常が同時に発生した場合には、予め登録した優先度の高い順から異常報知から行われ、その異常が解決して残っている他の異常報知に自動的に遷移するようになっている。これにより、一の異常が発生した後であってその異常を解決する前に他の異常が発生して一の異常が発生しているという情報を失うことなく、複数の異常を同時に監視することができる。   Subsequent to step S1022, the effect control program performs warning processing (step S1024). In this warning process, when the command analyzed by the effect control program in the received command analysis process in step S1022 as described above includes various commands classified into the notification display shown in FIG. The screen generation schedule data, the light emission mode generation schedule data, the sound generation schedule data, the electrical drive source schedule data, and the like set in the abnormality display mode for executing the abnormality notification are stored in the peripheral control unit 4150. The data is extracted from various control data copy areas 4150ce of the peripheral control ROM 4150b or the peripheral control RAM 4150c, and set to 4150cae in the schedule data storage area of the peripheral control RAM 4150c. In the warning process, when multiple abnormalities occur simultaneously, the abnormality notification is performed in the order of the priority registered in advance, and the abnormality is automatically resolved and the remaining abnormality notifications are automatically transitioned to. It is supposed to be. This allows you to monitor multiple anomalies at the same time without losing the information that an anomaly has occurred due to the occurrence of another anomaly after the occurrence of the anomaly but before resolving the anomaly Can do.

またさらに、この警告処理では、電源投入時から所定時間が経過した後に、演出制御プログラムが、既述の受信コマンド解析処理(ステップS1022)において解析したコマンドが、図36に示した状態表示に区分される各種コマンド、例えばエラー解除ナビコマンド(第2のエラー解除コマンド)である場合、演出動作に伴う通常の演出態様とは異なる態様で液晶及び音制御部4160を制御することにより、例えば、遊技盤側液晶表示装置1900(演出装置)、上皿側液晶表示装置244(演出装置)、ランプ(演出装置)を用いて視覚的に外部に警告したり、一対のサイドスピーカ(演出装置)を用いて聴覚的に外部に警告する(エラー報知手段)。このようにすると、悪意のある遊技者が、遊技状態であるにも拘わらず払出制御基板4110の操作スイッチ952を操作することにより主制御基板4100にエラー解除ナビコマンドを入力しようと試行した際に、パチンコ遊技機1が外部に警告を行う構成となっているため、遊技の進行に影響を及ぼしかねない主制御基板4100に対する不正行為が抑止されるようになる。   Furthermore, in this warning process, after a predetermined time has elapsed since the power was turned on, the command analyzed by the effect control program in the received command analysis process (step S1022) described above is classified into the status display shown in FIG. In the case of various commands to be executed, for example, an error canceling navigation command (second error canceling command), by controlling the liquid crystal and sound control unit 4160 in a manner different from the normal rendering mode accompanying the rendering operation, for example, a game The panel side liquid crystal display device 1900 (production device), the upper plate side liquid crystal display device 244 (production device), and a lamp (production device) are used to visually warn the outside, or using a pair of side speakers (production device). To audibly warn the outside (error notification means). In this way, when a malicious player attempts to input an error cancellation navigation command to the main control board 4100 by operating the operation switch 952 of the payout control board 4110 despite being in a gaming state. Since the pachinko gaming machine 1 is configured to warn the outside, fraudulent acts on the main control board 4100 that may affect the progress of the game are suppressed.

次に、上述したステップS1024に続いて、演出制御プログラムはメイン賞球数情報取得処理を行い(ステップS1025)、次にRCT取得情報更新処理を行う(ステップS1026)。このRTC取得情報更新処理では、演出制御プログラムが、ステップS1002の現在時刻情報取得処理で取得して図8に示した周辺制御RAM4150cのRTC情報取得記憶領域4150cadにセットした、カレンダー情報記憶部に記憶されたカレンダー情報と時刻情報記憶部に記憶された時刻情報とを更新する。このRCT取得情報更新処理により、時刻情報記憶部に記憶される時刻情報である時分秒が更新され、この更新される時刻情報に基づいてカレンダー情報記憶部に記憶されるカレンダー情報である年月日が更新される。   Next, following step S1024 described above, the effect control program performs main prize ball number information acquisition processing (step S1025), and then performs RCT acquisition information update processing (step S1026). In this RTC acquisition information update process, the effect control program stores in the calendar information storage unit acquired in the current time information acquisition process in step S1002 and set in the RTC information acquisition storage area 4150cad of the peripheral control RAM 4150c shown in FIG. The updated calendar information and the time information stored in the time information storage unit are updated. By this RCT acquisition information update process, the hour, minute and second as time information stored in the time information storage unit are updated, and the year and month as calendar information stored in the calendar information storage unit based on the updated time information. The day is updated.

ステップS1026に続いて、演出制御プログラムはランプデータ作成処理を行う(ステップS1028)。このランプデータ作成処理では、この演出制御プログラムが、ステップS1020のスケジューラ更新処理においてポインタが更新されて、発光態様生成用スケジュールデータを構成する時系列に配列された発光データのうち、そのポインタが指示する発光データに基づいて、遊技盤4に設けた各種装飾基板の複数のLEDへの点灯信号、点滅信号、又は階調点灯信号を出力するための遊技盤側発光データSL−DATを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して作成するとともに、図8に示した周辺制御RAM4150cのランプ駆動基板側送信データ記憶領域4150caaにセットするとともに、扉枠5に設けた各種装飾基板の複数のLEDへの点灯信号、点滅信号又は階調点灯信号を出力するための扉側発光データSTL−DATを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して作成して、図8に示した周辺制御RAM4150cの枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cabにセットする。   Subsequent to step S1026, the effect control program performs lamp data creation processing (step S1028). In this lamp data creation process, the effect control program updates the pointer in the scheduler update process in step S1020, and the pointer indicates the light emission data arranged in time series constituting the light emission mode generation schedule data. Peripheral control of game board side light emission data SL-DAT for outputting lighting signals, blinking signals, or gradation lighting signals to a plurality of LEDs of various decorative boards provided on the game board 4 based on the light emission data to be performed The peripheral control ROM 4150b of the unit 4150 or various control data copy areas 4150ce of the peripheral control RAM 4150c are extracted and created, set in the lamp drive board side transmission data storage area 4150caa of the peripheral control RAM 4150c shown in FIG. 5 of various decorative boards provided in 5 The door side light emission data STL-DAT for outputting a lighting signal, blinking signal or gradation lighting signal to D is extracted from the peripheral control ROM 4150b of the peripheral control unit 4150 or the various control data copy areas 4150ce of the peripheral control RAM 4150c. It is created and set in the frame decoration drive amplifier board side LED transmission data storage area 4150cab of the peripheral control RAM 4150c shown in FIG.

ステップS1028に続いて、演出制御プログラムは表示データ作成処理を行う(ステップS1030)。この表示データ作成処理では、ステップS1020のスケジューラ更新処理においてポインタが更新されることにより、演出制御プログラムが、周辺制御MPU4150aに、上記画面生成用スケジュールデータを構成するデータであって時系列に配列された画面データのうち当該ポインタが示す画面データを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して音源内蔵VDP4160aに出力する。この音源内蔵VDP4160aは、周辺制御MPU4150aから画面データが入力されると、この入力された画面データに基づいて液晶及び音制御ROM4160bから少なくとも1つのキャラクタデータを抽出するとともに当該抽出した少なくとも1つのキャラクタデータからスプライトデータを作成し、遊技盤側液晶表示装置1900及び上皿側液晶表示装置246に表示する1画面分(1フレーム分)の描画データを内蔵VRAM(フレームバッファに相当)上に生成する。   Subsequent to step S1028, the effect control program performs display data creation processing (step S1030). In this display data creation process, the pointer is updated in the scheduler update process in step S1020, so that the effect control program is arranged in time series in the peripheral control MPU 4150a as data constituting the screen generation schedule data. Of the screen data, the screen data indicated by the pointer is extracted from the peripheral control ROM 4150b of the peripheral control unit 4150 or the various control data copy areas 4150ce of the peripheral control RAM 4150c and output to the sound source built-in VDP 4160a. When the screen data is input from the peripheral control MPU 4150a, the sound source built-in VDP 4160a extracts at least one character data from the liquid crystal and sound control ROM 4160b based on the input screen data, and the extracted at least one character data. Then, sprite data is created, and drawing data for one screen (one frame) to be displayed on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246 is generated on a built-in VRAM (corresponding to a frame buffer).

ところで、従来のパチンコ遊技機では、遊技の進行に応じて、各フレームにおいて背景画像に多数の素材画像を重ねて構成した映像を表示することにより、遊技者の興味が尽きにくい態様としようとしており(上記第1の参考文献参照)、より多彩な映像を表示すべくさらに多数の素材画像を各フレームに含めるように表示制御を実行することが要請されているものの、各フレームに多数の素材画像を含めることは、一見すると、表示制御に大きな負担が掛かるように思える。   By the way, in the conventional pachinko gaming machine, as the game progresses, by displaying a video composed of a number of material images superimposed on the background image in each frame, an attempt is made to make it difficult for the player to run out of interest. (Refer to the first reference above.) Although it is required to execute display control so that a larger number of material images are included in each frame in order to display more various images, a large number of material images are included in each frame. At first glance, it seems that a large burden is placed on display control.

そこで本実施形態では、多数の素材画像を含むフレームの表示制御を簡素化して処理負担を軽減することを目的として、演出制御プログラムが、描画データに基づいて表示される各フレームと、各フレームに表されうる複数の素材画像との対応関係が予め定義されている対応関係情報を管理する一方、各フレームのうちの所定のフレームを表示させようとした際に当該対応関係情報を参照し当該所定のフレームに含めて表すべき少なくとも1つの所定の素材画像を特定し、音源内蔵VDP4160aに、上記所定の素材画像を含めるとともに当該所定の素材画像を除いた他の素材画像を含めずに描画データを生成させて内蔵VRAM(フレームバッファ)に格納し、この内蔵VRAMに格納された描画データに基づく当該所定フレームを遊技盤側液晶表示装置1900(表示手段)に表示させている。以下、具体的に説明する。   Therefore, in the present embodiment, for the purpose of simplifying the display control of frames including a large number of material images and reducing the processing load, the effect control program is provided for each frame displayed based on the drawing data and each frame. While managing correspondence information in which correspondence relationships with a plurality of material images that can be represented are defined in advance, when the predetermined frame of each frame is to be displayed, the correspondence information is referred to and the predetermined information is referred to. At least one predetermined material image to be included in the frame is specified, and drawing data is included in the built-in sound source VDP 4160a without including the predetermined material image and excluding other material images excluding the predetermined material image. A predetermined frame based on the drawing data stored in the built-in VRAM is generated by being generated and stored in the built-in VRAM (frame buffer). Being displayed on the side the liquid crystal display device 1900 (display unit). This will be specifically described below.

まず、本実施形態においては、各フレームを構成する多数の背景画像の表示に用いる多数の背景画像データのうち、少なくとも一部の背景画像データ(以下「特定の背景画像データ」ともいう)は、この特定の背景画像データに基づく背景画像上において少なくとも1つのスプライトなどの素材画像(以下「特定のスプライト」ともいう)が、本来配置されるべき位置(以下「本来の配置位置」という)において、視認できない表示態様(以下「秘匿状態」という)で表されるように、次のように管理されている。   First, in the present embodiment, at least a part of background image data (hereinafter also referred to as “specific background image data”) out of a large number of background image data used for displaying a large number of background images constituting each frame, At a position where a material image (hereinafter also referred to as “specific sprite”) such as at least one sprite on the background image based on the specific background image data is to be originally arranged (hereinafter referred to as “original arrangement position”), As shown in a display mode that cannot be visually recognized (hereinafter referred to as “confidential state”), it is managed as follows.

まず、周辺制御基板4140においては、周辺制御ROM4150bに、次のような対応関係紐付けテーブル(対応関係情報管理手段)が格納されており、周辺制御MPU4150a及び音源内蔵VDP4160aなどがこの対応関係紐付けテーブルを参照する。この対応関係紐付けテーブルにおいては、音源内蔵VDP4160aによって生成される各描画データに基づいて表示される各フレームと当該各フレーム(若しくは所定数のフレーム群グループ)に表されうる少なくとも1つのスプライトとの対応関係を、当該少なくとも1つのスプライトの視覚的な秘匿状態を解除させる秘匿解除コマンド(秘匿解除指令)とともに、予め定義した対応関係情報が管理されている。この対応関係紐付けテーブルにおいては、スプライト番号を用いて各スプライト(や各背景画像)が識別可能とされているとともに、上記対応関係情報の一部として、各フレームの表示範囲における各スプライトの座標値が管理されている。   First, in the peripheral control board 4140, the following correspondence linking table (corresponding relationship information management means) is stored in the peripheral control ROM 4150b. Browse the table. In this correspondence linking table, each frame displayed based on each drawing data generated by the sound source built-in VDP 4160a and at least one sprite that can be represented in each frame (or a predetermined number of frame group groups). Predefined correspondence information is managed together with a concealment release command (confidential release command) for canceling the visual concealment state of the at least one sprite. In this correspondence linking table, each sprite (or each background image) can be identified using a sprite number, and as a part of the correspondence information, the coordinates of each sprite in the display range of each frame The value is managed.

この対応関係紐付けテーブルでは、このような対応関係情報として、例えば、音源内蔵VDP4160aによって生成される各描画データに基づいて表示される各フレームに表されうるスプライトなどの少なくとも1つの素材画像と、当該少なくとも1つの素材画像の視覚的な秘匿状態を解除させる秘匿解除コマンドとの対応関係が予め定義されている。以下の説明では、当該少なくとも1つの素材画像を「所望のスプライト」という。   In this correspondence linking table, as such correspondence relationship information, for example, at least one material image such as a sprite that can be represented in each frame displayed based on each drawing data generated by the sound source built-in VDP 4160a, and A correspondence relationship with a secrecy cancellation command for canceling the visual secrecy state of the at least one material image is defined in advance. In the following description, the at least one material image is referred to as “desired sprite”.

上述したように周辺制御MPU4150aは、スケジューラデータに基づいて音源内蔵VDP4160aにスプライトデータから描画データを生成させる機能を有する(描画管理手段)。演出制御プログラムは、始動条件の成立を契機として実行された所定の演出抽選の結果に応じて所定のフレームを表示させようとした際に、周辺制御MPU4150aの制御によって対応関係紐付けテーブルの対応関係情報を参照し、当該所定のフレームに含めて表すべき所望のスプライトを特定する(素材画像特定手段)。   As described above, the peripheral control MPU 4150a has a function of causing the sound source built-in VDP 4160a to generate drawing data from sprite data based on the scheduler data (drawing management means). When the display control program tries to display a predetermined frame according to the result of the predetermined effect lottery executed when the start condition is satisfied, the correspondence relationship in the correspondence association table is controlled by the control of the peripheral control MPU 4150a. With reference to the information, a desired sprite to be included in the predetermined frame is specified (material image specifying means).

さらに演出制御プログラムは、スケジュールデータに従って所定のフレームに所望のスプライトを表すべき場合に対応関係紐付けテーブルの対応関係情報を参照することによって、当該所望のスプライトに対応する秘匿解除コマンドを特定し、この特定した秘匿解除コマンドを音源内蔵VDP4160aに出力する(秘匿解除指示手段)。この秘匿解除コマンドには、上記所定のフレームにおいて秘匿状態を解除すべき所望のスプライトを識別可能なスプライト番号(以下「所望のスプライト番号」という)が含められている。このような秘匿解除コマンドの出力によって名札情報の表示状態フラグは、初期状態としてオフであったものがオンに更新される。この名札情報及びその表示状態フラグは、各フレームに表されうる各スプライトごとに用意されており、音源内蔵VDP4160aが描画処理を実行する際に参照される。   Further, the production control program specifies the secrecy release command corresponding to the desired sprite by referring to the correspondence information in the correspondence linking table when the desired sprite should be represented in a predetermined frame according to the schedule data, The specified concealment release command is output to the sound source built-in VDP 4160a (concealment release instructing means). The secrecy release command includes a sprite number (hereinafter referred to as “desired sprite number”) that can identify a desired sprite whose secrecy state should be released in the predetermined frame. As a result of the output of the secrecy release command, the display state flag of the name tag information is updated to the one that was off in the initial state. The name tag information and its display state flag are prepared for each sprite that can be represented in each frame, and are referred to when the sound source built-in VDP 4160a executes the drawing process.

ここで、演出制御プログラムは、周辺制御MPU4150aの制御によって所定のフレームを表示させようとした際、次のように音源内蔵VDP4160a(描画制御手段)を動作させる。即ち、音源内蔵VDP4160aは、上記秘匿解除コマンドを受け取っていない場合、上記対応関係紐付けテーブルの対応関係情報に基づき当該所定のフレームに含められうる所望のスプライトを秘匿状態としたままの表示態様とするための描画データをフレームバッファに生成する。これにより、演出制御プログラムは、周辺制御MPU4150aの制御によって、遊技盤側液晶表示装置1900に、当該所望のスプライトが視認できない態様のフレームを表示させることができる。   Here, the effect control program operates the sound source built-in VDP 4160a (drawing control means) as follows when trying to display a predetermined frame under the control of the peripheral control MPU 4150a. That is, the sound source built-in VDP 4160a has a display mode in which a desired sprite that can be included in the predetermined frame is kept in a concealed state based on the correspondence information in the correspondence linking table when the concealment release command is not received. Drawing data to be generated in the frame buffer. Thereby, the effect control program can display the frame of the aspect which cannot see the said desired sprite on the game board side liquid crystal display device 1900 by control of peripheral control MPU4150a.

一方、音源内蔵VDP4160aは、上記秘匿解除コマンドを受け取った場合には、この秘匿解除コマンドを受け取ってこれに含まれる所望のスプライト番号に対応する名札情報の表示状態フラグがオンに更新されたことを契機として、対応関係紐付けテーブルの対応関係情報を参照し当該秘匿解除コマンドに対応する所望のスプライトを特定する。さらに音源内蔵VDP4160aは、この特定された所望のスプライトの秘匿状態を解除して当該所望のスプライトを視覚的に認識しうる表示態様とするための描画データをフレームバッファに生成する。これにより、演出制御プログラムは、周辺制御MPU4150aの制御によって、遊技盤側液晶表示装置1900に、当該所望のスプライトが本来の配置位置に視認可能な表示態様のフレームを表示させることができる。   On the other hand, when the sound source built-in VDP 4160a receives the concealment release command, it confirms that the display state flag of the name tag information corresponding to the desired sprite number included in the concealment release command is updated to ON. As a trigger, the desired sprite corresponding to the secrecy release command is specified with reference to the correspondence information in the correspondence linking table. Furthermore, the built-in sound source VDP 4160a generates rendering data in the frame buffer for canceling the concealed state of the specified desired sprite and setting the display mode so that the desired sprite can be visually recognized. As a result, the effect control program can cause the game board side liquid crystal display device 1900 to display a frame in a display mode in which the desired sprite can be visually recognized at the original arrangement position under the control of the peripheral control MPU 4150a.

このようにすると、演出制御プログラムは、対応関係紐付けテーブルの存在によって、あるシーンのフレーム群を表示させる際に各フレームに表されうるスプライト群がどれであるかを細かく管理しなくても良くなる一方、周辺制御MPU4150aに秘匿解除コマンドを出力させるか否かという、従前の表示制御に比べると非常に簡単な制御によって、音源内蔵VDP4160aに、各所望のスプライトを表したフレームを描画させたり所望のスプライトを表さないフレームを描画させることができる。これにより、多数のスプライトを含むフレームの表示制御を簡素化して処理負担を軽減することができる。   In this way, the presentation control program does not need to finely manage which sprite group can be represented in each frame when displaying the frame group of a certain scene due to the presence of the correspondence linking table. On the other hand, the sound source VDP 4160a can draw a frame representing each desired sprite by a very simple control compared to the conventional display control of whether or not to output the secrecy release command to the peripheral control MPU 4150a. It is possible to draw a frame that does not represent any sprite. Thereby, the display control of the frame including a large number of sprites can be simplified and the processing load can be reduced.

しかも、上述した対応関係紐付けテーブルによって、上記所望のスプライトを含むスプライト群と演出制御プログラム(によって発行される秘匿解除コマンド群)とをリンクさせて対応関係を管理する構成を採用しているため、スプライトデータの創作作業と演出制御プログラムの設計作業とを独立させて完全に分離でき、表示制御に関係する設計作業を簡素化することができる。   In addition, because the correspondence relationship table described above employs a configuration in which the sprite group including the desired sprite is linked to the effect control program (the concealment release command group issued by) to manage the correspondence relationship. In addition, the creation work of sprite data and the design work of the production control program can be completely separated independently, and the design work related to display control can be simplified.

ところで、上述したようにパチンコ遊技機に搭載されうる検知デバイスとしては、一般的に電源投入時に初期処理として感度の調整が実施され、その後当該感度で作動するものが多い(上記第1の参考文献参照)。このように初期処理において接触感度の調整が実施されたとしても、その後の遊技環境次第では、一見すると、徐々に感度が適切でなくなってしまうことも考えられる。   By the way, as described above, as a detection device that can be mounted on a pachinko gaming machine, in general, sensitivity adjustment is generally performed as an initial process when the power is turned on, and then the device operates with the sensitivity (the first reference above). reference). Even if the contact sensitivity is adjusted in the initial process in this way, depending on the gaming environment thereafter, it may be considered that the sensitivity gradually becomes inappropriate at first glance.

そこで本実施形態では、この表示データ作成処理においてさらに、演出制御プログラムが周辺制御MPU4150aの制御によって、上皿側液晶表示装置246(第2の表示手段)に、タッチパネル246(接触型入力手段)の操作面への接触を促す態様の表示動作を実行させる上記演出コマンド(演出実行指令)を出力する一方、タッチパネルモジュール246a(接触入力制御手段)に、タッチパネル246の接触面の接触感度を調整させる機能(接触感度調整手段)を有効にする閾値設定コマンド(感度調整指令)と、を出力する(指令出力手段)。即ち、演出制御プログラムは、演出コマンド(演出実行指令)として、上皿側液晶表示装置246に、タッチパネル246の操作面に指で触れることを催促する態様の画面(接触型入力手段の操作面への接触を促す態様)の表示動作を実行させるコマンドを送信情報記憶領域に書き込み、その後、液晶及び音制御部4160に出力する(接触催促指令手段)。次に、この液晶及び音制御部4160では、当該コマンドを受け取ると、演出制御プログラム(の制御によって表示制御プログラム)が当該コマンドに基づいて、タッチパネル246(接触型入力手段)の操作面に指で触れることを催促する態様の画面を、上皿側液晶表示装置246に表示させる。   Therefore, in the present embodiment, in this display data creation processing, the effect control program is further controlled by the peripheral control MPU 4150a to the upper plate side liquid crystal display device 246 (second display means) and the touch panel 246 (contact type input means). The function of causing the touch panel module 246a (contact input control means) to adjust the contact sensitivity of the contact surface of the touch panel 246 while outputting the effect command (effect execution command) for executing the display operation in a mode for prompting the touch on the operation surface. A threshold setting command (sensitivity adjustment command) for enabling (contact sensitivity adjustment means) is output (command output means). In other words, the effect control program prompts the upper liquid crystal display device 246 to touch the operation surface of the touch panel 246 with a finger as an effect command (effect execution command) (to the operation surface of the contact type input means). A command for executing the display operation in the mode of prompting the contact of the user is written in the transmission information storage area, and then output to the liquid crystal and sound control unit 4160 (contact prompting command means). Next, in the liquid crystal and sound control unit 4160, when the command is received, the presentation control program (the display control program by the control thereof) is touched on the operation surface of the touch panel 246 (contact type input means) based on the command. A screen in a mode for prompting touching is displayed on the upper plate side liquid crystal display device 246.

次にステップS1030に続いて、演出制御プログラムは、タッチパネル処理を行う(ステップS1031)。このタッチパネル処理では、主として、演出制御プログラムが周辺制御MPU4150aの制御の下、タッチパネル246のタッチパネルモジュール246aから受け取った検知信号としての接触検知信号に基づいて、タッチパネル246の操作面における接触状態を検知する(接触状態検知手段)。つまり、この演出制御プログラムは、タッチパネル246の操作面における接触状態を検出するタッチパネルドライバ(接触状態検出手段)としての機能も有する。この演出制御プログラムは、上記接触状態に基づく接触部分の中心を示すタッチパネル246の操作面の座標値を取得し、この座標値で表される位置を検出ポイントとして特定し(検出ポイント取得手段)、この初期位置を含む操作情報を取得する。なお、この演出制御プログラムは、このような座標値を取得するのみならず操作面の範囲(以下、接触範囲という)を取得するようにしてもよい。   Next, following step S1030, the effect control program performs touch panel processing (step S1031). In this touch panel processing, mainly the effect control program detects the contact state on the operation surface of the touch panel 246 based on the contact detection signal as the detection signal received from the touch panel module 246a of the touch panel 246 under the control of the peripheral control MPU 4150a. (Contact state detection means). That is, this effect control program also has a function as a touch panel driver (contact state detecting means) that detects a contact state on the operation surface of the touch panel 246. The effect control program acquires the coordinate value of the operation surface of the touch panel 246 indicating the center of the contact portion based on the contact state, specifies the position represented by the coordinate value as a detection point (detection point acquisition means), Operation information including the initial position is acquired. In addition, this effect control program may acquire not only such coordinate values but also a range of the operation surface (hereinafter referred to as a contact range).

このタッチパネル処理では、上述した懸念事項への対処として、さらに、演出制御プログラムが周辺制御MPU4150aの制御によって、上述した演出コマンド(演出実行指令)とは別途、その後、タッチパネルコントローラ481のコントロールレジスタ481aに記憶済の接触判定用閾値を更新させるための閾値設定コマンド(感度調整指令)を所定のタイミングで上記送信情報記憶領域に書き込み、その後、図33に示すタッチパネルモジュール246a(接触入力制御手段)に出力する(感度調整指令手段)。   In this touch panel process, in order to deal with the above-mentioned concerns, the presentation control program is controlled by the peripheral control MPU 4150a, separately from the above-described presentation command (production execution command), and then stored in the control register 481a of the touch panel controller 481. A threshold setting command (sensitivity adjustment command) for updating the stored contact determination threshold value is written in the transmission information storage area at a predetermined timing, and then output to the touch panel module 246a (contact input control means) shown in FIG. (Sensitivity adjustment command means).

具体的には、演出制御プログラムは、上述した所定のタイミングとして、主制御MPU4100aから、特別図柄1(第一特別図柄)の変動時間が経過した際に特図1同調演出終了コマンド(図35参照)を最後に受け取ってから所定時間(例えば1分間)が経過したことを契機として、または、特別図柄2(第二特別図柄)の変動時間が経過した際に特図2同調演出終了コマンド(図35参照)を最後に受け取ってから所定時間(例えば1分間)が経過したことを契機として、上述した閾値設定コマンドを送信情報記憶領域に書き込んでタッチパネルモジュール246aのタッチパネルコントローラ481に対して送信する。   Specifically, the effect control program, as the predetermined timing described above, when the variation time of the special symbol 1 (first special symbol) has elapsed from the main control MPU 4100a (see FIG. 35) ) When the predetermined time (for example, 1 minute) has elapsed since the last time, or when the variation time of special symbol 2 (second special symbol) has elapsed, 35), the threshold setting command described above is written in the transmission information storage area and transmitted to the touch panel controller 481 of the touch panel module 246a.

演出制御プログラムは、このタッチパネルモジュール246aを制御し、タッチパネルコントローラ481がその外部の一例としての周辺制御MPU4150aから出力された閾値設定コマンド(感度調整コマンド)を受信したことを契機として、タッチパネル246の接触面における接触感度を調整させる。つまり、この演出制御プログラムは、タッチパネルモジュール246aのタッチパネルコントローラ481に、周辺制御MPU4150aから閾値設定コマンドを受け取ったことを契機として、この閾値設定コマンドに基づいて、コントロールレジスタ481aに記憶されている接触判定用閾値を更新させることにより、タッチパネル246による接触感度を調整させる。具体的には、タッチパネルコントローラ481は、この閾値設定コマンドを受け取ったことを契機として、タッチパネルセンサ482が出力する検知信号に基づく静電容量を取得し、この静電容量を、タッチパネル246の接触面が非接触状態にある場合における新たな接触判定用閾値であるとみなすとともに、コントロールレジスタ481aに記憶済の接触判定用閾値を、当該新たな接触判定用閾値で更新する。   The effect control program controls the touch panel module 246a, and the touch panel 246 is touched when the touch panel controller 481 receives the threshold setting command (sensitivity adjustment command) output from the peripheral control MPU 4150a as an example of the outside. Adjust the contact sensitivity on the surface. In other words, the effect control program receives the threshold setting command from the peripheral control MPU 4150a to the touch panel controller 481 of the touch panel module 246a, and based on the threshold setting command, the touch determination stored in the control register 481a. The contact sensitivity by the touch panel 246 is adjusted by updating the threshold value for use. Specifically, touch panel controller 481 receives the threshold setting command, acquires the capacitance based on the detection signal output from touch panel sensor 482, and uses this capacitance as the contact surface of touch panel 246. Is determined as a new contact determination threshold value in the non-contact state, and the contact determination threshold value stored in the control register 481a is updated with the new contact determination threshold value.

すると、それ以降、タッチパネルコントローラ481は、コントロールレジスタ481aにおいて更新された新たな接触判定用閾値と、上述したように接触状態が検知される度に取得される検知静電容量とを比較し、この検知静電容量が接触判定用閾値未満であると判定した場合には接触面が非接触状態にあると判断する一方、この検知静電容量が接触判定用閾値以上であると判定した場合には接触面が接触状態にあると判断する。   After that, the touch panel controller 481 compares the new threshold value for contact determination updated in the control register 481a with the detected capacitance acquired every time the contact state is detected as described above. When it is determined that the detected capacitance is less than the contact determination threshold, the contact surface is determined to be in a non-contact state, while when it is determined that the detected capacitance is equal to or greater than the contact determination threshold. It is determined that the contact surface is in contact.

上記同様、タッチパネルコントローラ481は、接触面が接触状態にあると判断した場合、接触面における検知座標値が含められた接触検知情報を周辺制御基板4140に対して出力する。この周辺制御基板4140では、この接触検知情報を受け取ると、周辺制御MPU4150aが、当該受け取った接触検知情報に含まれる検知座標値に基づいて、上述した接触面における接触位置を把握することができる。   As described above, when the touch panel controller 481 determines that the contact surface is in the contact state, the touch panel controller 481 outputs contact detection information including the detection coordinate value on the contact surface to the peripheral control board 4140. In the peripheral control board 4140, when the contact detection information is received, the peripheral control MPU 4150a can grasp the contact position on the contact surface based on the detected coordinate value included in the received contact detection information.

以上のようにすると、タッチパネルコントローラ481が、周辺制御基板4140の周辺制御MPU4150aによって出力された閾値設定コマンド(感度調整指令)を受け取ったことを契機とした所望のタイミングで、タッチパネル246の接触感度を定める接触判定用閾値が更新されるため、周辺制御MPU4150aによる閾値設定コマンドの出力タイミングが適切に制御されれば、所望のタイミングでタッチパネル246(接触型入力手段)の接触感度が調整されるようになる(キャリブレーション)。このため、演出制御プログラムが、遊技者による遊技に影響を与えるおそれのある出力タイミングを外して閾値設定コマンドをタッチパネルコントローラ481に受け取らせることにより、遊技に影響を与えることなく、常に、タッチパネル246における接触状態の検知を適切な作動態様とさせることができる。   As described above, the touch sensitivity of the touch panel 246 is increased at a desired timing triggered by the touch panel controller 481 receiving the threshold setting command (sensitivity adjustment command) output by the peripheral control MPU 4150a of the peripheral control board 4140. Since the predetermined threshold value for contact determination is updated, the contact sensitivity of the touch panel 246 (contact type input means) is adjusted at a desired timing if the output timing of the threshold setting command by the peripheral control MPU 4150a is appropriately controlled. (Calibration) For this reason, the production control program removes the output timing that may affect the game by the player and causes the touch panel controller 481 to receive the threshold setting command, so that the game always affects the touch panel 246 without affecting the game. The detection of a contact state can be made into an appropriate operation mode.

この演出制御プログラムが周辺制御MPU4150aの制御によってタッチパネルコントローラ481に閾値設定コマンドを出力すべきタイミングとしては、上述したように、例えば、特別図柄の変動表示が終了すると出力される特図1同調演出終了コマンドまたは特図2同調演出終了コマンドを受け取ってから所定の時間(例えば1分間)が経過しており、遊技者が遊技を中止しているためタッチパネル246の操作面に接触している可能性が低いタイミングを例示することができる。即ち、このような接触感度の調整は、タッチパネル246を用いた演出を実行するかもしれない特別図柄の変動表示中には極力実行を控え、その変動表示が終了したことに伴って行うようにしている。   The timing at which this effect control program should output the threshold setting command to the touch panel controller 481 under the control of the peripheral control MPU 4150a is, for example, as shown above. There is a possibility that a predetermined time (for example, 1 minute) has elapsed since the command or the special figure 2 synchronized production end command has been received, and the player has touched the operation surface of the touch panel 246 because the game has been stopped. Low timing can be illustrated. That is, such contact sensitivity adjustment is performed as much as possible during the special symbol variation display that may be performed using the touch panel 246, and is performed when the variation display is completed. Yes.

また閾値設定コマンドを出力すべきタイミングとしては、その他にも、演出制御プログラムが主制御MPU4100aから、普通図柄変動時間が経過した時に送信される普図同調演出終了時コマンド(図35参照)を受け取ってから所定の時間(例えば1分間)が経過したタイミングであってもよい。   In addition, as a timing at which the threshold setting command should be output, in addition, the effect control program receives from the main control MPU 4100a a normal-synchronization effect end command (see FIG. 35) transmitted when the normal symbol variation time has elapsed. It may be a timing at which a predetermined time (for example, 1 minute) has passed.

一方、既述のようにタッチパネル246は、静電容量型であるとともに、多数の遊技球を貯留可能であって静電気が発生しやすい上皿301に設けられているものの、電源投入後も必要に応じて所定のタイミングで感度調整が実施されるため、このような周辺環境の変化を原因とするものであり遊技者の操作によるものでない場合でも、静電容量に変化が生じたものと誤検知しにくくなる。   On the other hand, as described above, the touch panel 246 is a capacitance type and is provided on the upper plate 301 that can store a large number of game balls and easily generate static electricity. Sensitivity adjustment is performed at a predetermined timing accordingly, and it is erroneously detected that the capacitance has changed even if it is caused by such changes in the surrounding environment and not by the player's operation. It becomes difficult to do.

ステップS1031に続いて、演出制御プログラムは音データ作成処理を行う(ステップS1032)。この音データ作成処理では、演出制御プログラムが、ステップS1020のスケジューラ更新処理においてポインタが更新されて、音生成用スケジュールデータを構成する時系列に配列された音指令データのうち、そのポインタが指示する音指令データを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して音源内蔵VDP4160aに出力する。音源内蔵VDP4160aは、周辺制御MPU4150aから音指令データが入力されると、液晶及び音制御ROM4160bに記憶されている音楽や効果音等の音データを抽出して内蔵音源を制御することにより、音指令データに規定された、トラック番号に従って音楽及び効果音等の音データを組み込むとともに、出力チャンネル番号に従って使用する出力チャンネルを設定する。   Subsequent to step S1031, the effect control program performs sound data creation processing (step S1032). In the sound data creation process, the effect control program updates the pointer in the scheduler update process in step S1020, and the pointer indicates the sound command data arranged in time series constituting the sound generation schedule data. The sound command data is extracted from the peripheral control ROM 4150b of the peripheral control unit 4150 or various control data copy areas 4150ce of the peripheral control RAM 4150c and output to the sound source built-in VDP 4160a. When the sound command data is input from the peripheral control MPU 4150a, the sound source built-in VDP 4160a extracts sound data such as music and sound effects stored in the liquid crystal and sound control ROM 4160b and controls the sound source by controlling the sound source. Sound data such as music and sound effects are incorporated according to the track number defined in the data, and an output channel to be used is set according to the output channel number.

なお、音データ作成処理では、この音データ作成処理を行うごとに(つまり、周辺制御部定常処理を行うごとに)、図8に示した周辺制御A/Dコンバータ4150akを起動し、音量調整ボリューム4140aのつまみ部の回転位置における抵抗値により分圧された電圧を、値0〜値1023までの1024段階の値に変換している。本実施形態では、1024段階の値を7つに分割して基板ボリューム0〜6として管理しており、基板ボリューム0では消音、基板ボリューム6では最大音量に設定されており、基板ボリューム0から基板ボリューム6に向かって音量が大きくなるようにそれぞれ設定されている。基板ボリューム0〜6に設定された音量となるように液晶及び音制御部4160の音源内蔵VDP4160aを制御して、上述したステップS1018の音データ出力処理で音データをシリアル化したオーディオデータとしてオーディオデータ送信IC4160cに出力することにより、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから音楽や効果音が流れるようになっている。   In the sound data creation process, each time this sound data creation process is performed (that is, every time the peripheral control unit steady process is performed), the peripheral control A / D converter 4150ak shown in FIG. The voltage divided by the resistance value at the rotation position of the knob portion of 4140a is converted into a value of 1024 steps from 0 to 1023. In this embodiment, the value of 1024 steps is divided into seven and managed as substrate volumes 0 to 6, and the sound volume is set to the substrate volume 0, the maximum volume is set to the substrate volume 6, and the substrate volume 0 to the substrate volume are set. Each volume is set to increase toward the volume 6. By controlling the liquid crystal and the built-in sound source VDP 4160a of the sound control unit 4160 so that the volume is set to the substrate volume 0 to 6, audio data is obtained as audio data obtained by serializing the sound data in the sound data output process of step S1018 described above. By outputting to the transmission IC 4160 c, music and sound effects flow from the speakers housed in the speaker box 920 provided in the main body frame 3 and the speakers provided in the door frame 5.

また、報知音や告知音は、つまみ部の回動操作に基づく音量調整に全く依存されずに流れる仕組みとなっており、消音から最大音量までの音量をプログラムにより液晶及び音制御部4160の音源内蔵VDP4160aを制御して調整することができるようになっている。このプログラムにより調整される音量は、上述した7段階に分けられた基板ボリュームと異なり、消音から最大音量までを滑らかに変化させることができるようになっている。例えば、ホールの店員等が音量調整ボリューム4140aのつまみ部を回動操作して音量を小さく設定した場合であっても、本体枠3に設けたスピーカボックス920に収容されるスピーカー及び扉枠5に設けたスピーカーから流れる音楽や効果音等の演出音が小さくなるものの、パチンコ遊技機1に不具合が発生しているときや遊技者が不正行為を行っているときには大音量(本実施形態では、最大音量)に設定した報知音を流すことができる。従って、演出音の音量を小さくしても、報知音によりホールの店員等が不具合の発生や遊技者の不正行為を気付き難くなることを防止することができる。また、つまみ部の回動操作に基づく音量調整により設定されている現在の基板ボリュームに基づいて、広告音を流す音量を小さくして音楽や効果音の妨げとならないようにしたりする一方、広告音を流す音量を大きくして音楽や効果音に加えて遊技盤側液晶表示装置1900及び上皿側液晶表示装置246で繰り広げられている画面をより迫力あるものとして演出したり、遊技者にとって有利な遊技状態に移行する可能性が高いこと告知したりすることもできる。   In addition, the notification sound and the notification sound flow without depending on the volume adjustment based on the turning operation of the knob part, and the sound volume of the liquid crystal and sound control unit 4160 can be set by the program from the mute level to the maximum volume level. The built-in VDP 4160a can be controlled and adjusted. The volume adjusted by this program can be smoothly changed from the mute to the maximum volume, unlike the substrate volume divided into the above seven stages. For example, even if a store clerk or the like of the hall rotates the knob portion of the volume adjustment volume 4140a to set the volume to a low level, the hall and the door frame 5 are accommodated in the speaker box 920 provided in the main body frame 3. Although the production sound such as music and sound effects flowing from the provided speakers is reduced, the sound volume is high when a malfunction occurs in the pachinko gaming machine 1 or when the player is cheating (in this embodiment, the maximum The notification sound set to (volume) can be played. Therefore, even if the volume of the production sound is reduced, it is possible to prevent the hall clerk or the like from becoming difficult to notice the occurrence of a malfunction or the player's cheating due to the notification sound. Also, based on the current board volume set by volume adjustment based on the turning operation of the knob part, the volume of the advertisement sound is reduced so as not to interfere with the music and sound effects. In addition to music and sound effects, the screen displayed on the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246 can be rendered more powerful and advantageous for the player. It is also possible to notify that there is a high possibility that the game state will be entered.

ステップS1032に続いて、演出制御プログラムはバックアップ処理を行う(ステップS1034)。このバックアップ処理では、演出制御プログラムが、図8に示した、周辺制御MPU4150aと外付けされる周辺制御RAM4150cに記憶されている内容を、バックアップ第1エリア4150cbと、バックアップ第2エリア4150ccと、にそれぞれコピーしてバックアップするとともに、周辺制御MPU4150aと外付けされる周辺制御SRAM4150dに記憶されている内容を、バックアップ第1エリア4150dbと、バックアップ第2エリア4150dcと、にそれぞれコピーしてバックアップする。   Subsequent to step S1032, the effect control program performs a backup process (step S1034). In this backup process, the effect control program stores the contents stored in the peripheral control RAM 4150c externally attached to the peripheral control MPU 4150a shown in FIG. 8 into the backup first area 4150cb and the backup second area 4150cc. The contents are copied and backed up, and the contents stored in the peripheral control SRAM 4150d attached to the peripheral control MPU 4150a are copied and backed up in the backup first area 4150db and the backup second area 4150dc, respectively.

具体的には、バックアップ処理では、周辺制御RAM4150cについて、図8に示した、バックアップ管理対象ワークエリア4150caにおける、1フレーム(1frame)ごとに、つまり周辺制御部定常処理が実行されるごとに、バックアップ対象となっているBank0(1fr)に含まれる、ランプ駆動基板側送信データ記憶領域4150caa、枠装飾駆動アンプ基板側LED用送信データ記憶領域4150cab、受信コマンド記憶領域4150cac、RTC情報取得記憶領域4150cad、及びスケジュールデータ記憶領域4150caeに記憶されている内容である演出情報(1fr)を、演出バックアップ情報(1fr)として、バックアップ第1エリア4150cbのBank1(1fr)及びBank2(1fr)に周辺制御DMAコントローラ4150acが高速にコピーし、そしてバックアップ第2エリア4150ccのBank3(1fr)及びBank4(1fr)に周辺制御DMAコントローラ4150acが高速にコピーする。   Specifically, in the backup process, the peripheral control RAM 4150c is backed up every frame (1 frame) in the backup management target work area 4150ca shown in FIG. 8, that is, every time the peripheral control unit steady process is executed. Lamp drive board side transmission data storage area 4150caa, frame decoration drive amplifier board side LED transmission data storage area 4150cab, reception command storage area 4150cac, RTC information acquisition storage area 4150cad, included in the target Bank0 (1fr) The production information (1fr), which is the content stored in the schedule data storage area 4150cae, is used as production backup information (1fr), and Bank1 (1fr) and Bank2 (1) of the backup first area 4150cb Peripheral control DMA controller 4150ac to r) is copied at high speed, and backup Bank3 second area 4150cc (1fr) and peripheral control DMA controller 4150ac to Bank4 (1FR) is copied at high speed.

この周辺制御DMAコントローラ4150acによるBank0(1fr)に記憶されている内容の高速コピーについて簡単に説明すると、図8に示した周辺制御MPU4150aの周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1fr)に記憶されている内容を、バックアップ第1エリア4150cbのBank1(1fr)へのコピーを指定し、Bank0(1fr)の先頭アドレスに格納された内容からBank0(1fr)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第1エリア4150cbのBank1(1fr)の先頭アドレスから順番にすべてコピーし、そして周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1fr)に記憶されている内容を、バックアップ第1エリア4150cbのBank2(1fr)へのコピーを指定し、Bank0(1fr)の先頭アドレスに格納された内容からBank0(1fr)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第1エリア4150cbのBank2(1fr)の先頭アドレスから順番にすべてコピーする。   The high-speed copy of the contents stored in Bank 0 (1fr) by the peripheral control DMA controller 4150ac will be briefly described. The peripheral control CPU core 4150aa of the peripheral control MPU 4150a shown in FIG. The content stored in Bank0 (1fr) is designated to be copied to Bank1 (1fr) in the backup first area 4150cb, and the content stored in the first address of Bank0 (1fr) is changed to the end address of Bank0 (1fr) The stored contents are all copied in order from the first address of Bank 1 (1fr) in the backup first area 4150cb in succession to a predetermined byte (for example, 1 byte), and the peripheral control CPU core 4150aa performs the peripheral control DM. The content stored in Bank0 (1fr) as the request factor of the controller 4150ac is designated to be copied to Bank2 (1fr) in the backup first area 4150cb, and Bank0 (1fr) is stored from the content stored at the first address of Bank0 (1fr). The contents stored at the end address of 1fr) are all copied in order from the start address of Bank2 (1fr) of the backup first area 4150cb in succession by a predetermined number of bytes (for example, 1 byte).

続いて、周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1fr)に記憶されている内容を、バックアップ第2エリア4150ccのBank3(1fr)へのコピーを指定し、Bank0(1fr)の先頭アドレスに格納された内容からBank0(1fr)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第2エリア4150ccのBank3(1fr)の先頭アドレスから順番にすべてコピーし、そして周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1fr)に記憶されている内容を、バックアップ第2エリア4150ccのBank4(1fr)へのコピーを指定し、Bank0(1fr)の先頭アドレスに格納された内容からBank0(1fr)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第2エリア4150ccのBank4(1fr)の先頭アドレスから順番にすべてコピーする。   Subsequently, the peripheral control CPU core 4150aa designates the content stored in Bank0 (1fr) as the request factor of the peripheral control DMA controller 4150ac, specifies the copy of the backup second area 4150cc to Bank3 (1fr), and Bank0 (1fr) ) To the content stored at the end address of Bank0 (1fr) to the content stored at the end address of Bank0 (1fr). The peripheral control CPU core 4150aa specifies the contents stored in Bank0 (1fr) as the request factor of the peripheral control DMA controller 4150ac, and specifies that the backup second area 4150cc is copied to Bank4 (1fr). Shi From the content stored at the beginning address of Bank0 (1fr) to the content stored at the end address of Bank0 (1fr), a predetermined byte (for example, 1 byte) is continuously stored in the backup second area 4150cc Bank4 (1fr) Copy everything starting from the first address.

またバックアップ処理では、周辺制御SRAM4150dについて、図8に示した、バックアップ管理対象ワークエリア4150daにおける、1フレーム(1frame)ごとに、つまり周辺制御部定常処理が実行されるごとに、バックアップ対象となっているBank0(SRAM)に記憶されている内容である演出情報(SRAM)を、演出バックアップ情報(SRAM)として、バックアップ第1エリア4150dbのBank1(SRAM)及びBank2(SRAM)に周辺制御DMAコントローラ4150acが高速にコピーし、そしてバックアップ第2エリア4150dcのBank3(SRAM)及びBank4(SRAM)に周辺制御DMAコントローラ4150acが高速にコピーする。   In the backup process, the peripheral control SRAM 4150d becomes a backup target for each frame (1 frame) in the backup management target work area 4150da shown in FIG. 8, that is, every time the peripheral control unit steady process is executed. The peripheral control DMA controller 4150ac is provided in the bank 1 (SRAM) and the bank 2 (SRAM) in the backup first area 4150db as the production information (SRAM), which is the content stored in the Bank 0 (SRAM). The peripheral control DMA controller 4150ac copies to the bank 3 (SRAM) and the bank 4 (SRAM) in the backup second area 4150dc at high speed.

この周辺制御DMAコントローラ4150acによるBank0(SRAM)に記憶されている内容の高速コピーについて簡単に説明すると、図8に示した周辺制御MPU4150aの周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(SRAM)に記憶されている内容を、バックアップ第1エリア4150dbのBank1(SRAM)へのコピーを指定し、Bank0(SRAM)の先頭アドレスに格納された内容からBank0(SRAM)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第1エリア4150dbのBank1(SRAM)の先頭アドレスから順番にすべてコピーし、そして周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(SRAM)に記憶されている内容を、バックアップ第1エリア4150dbのBank2(SRAM)へのコピーを指定し、Bank0(SRAM)の先頭アドレスに格納された内容からBank0(SRAM)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第1エリア4150dbのBank2(SRAM)の先頭アドレスから順番にすべてコピーする。   The high-speed copy of the contents stored in Bank 0 (SRAM) by the peripheral control DMA controller 4150ac will be briefly described. The peripheral control CPU core 4150aa of the peripheral control MPU 4150a shown in FIG. The content stored in Bank0 (SRAM) is designated to be copied to Bank1 (SRAM) in backup first area 4150db, and the content stored at the beginning address of Bank0 (SRAM) is changed to the end address of Bank0 (SRAM). The stored contents are all copied successively from the first address of Bank 1 (SRAM) in the backup first area 4150db in order of predetermined bytes (for example, 1 byte), and the peripheral control CPU core 4150aa The content stored in Bank0 (SRAM) as the request factor of the edge control DMA controller 4150ac, the copy to Bank2 (SRAM) of the backup first area 4150db is designated, and the content stored in the first address of Bank0 (SRAM) To the contents stored at the end address of Bank 0 (SRAM) are copied in order from the start address of Bank 2 (SRAM) in the backup first area 4150 db in succession by a predetermined number of bytes (for example, 1 byte).

続いて、周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(SRAM)に記憶されている内容を、バックアップ第2エリア4150dcのBank3(SRAM)へのコピーを指定し、Bank0(SRAM)の先頭アドレスに格納された内容からBank0(SRAM)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第2エリア4150dcのBank3(SRAM)の先頭アドレスから順番にすべてコピーし、そして周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(SRAM)に記憶されている内容を、バックアップ第2エリア4150dcのBank4(SRAM)へのコピーを指定し、Bank0(SRAM)の先頭アドレスに格納された内容からBank0(SRAM)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第2エリア4150dcのBank4(SRAM)の先頭アドレスから順番にすべてコピーする。   Subsequently, the peripheral control CPU core 4150aa designates the contents stored in the Bank 0 (SRAM) as the request factor of the peripheral control DMA controller 4150ac, specifies the copy of the backup second area 4150dc to the Bank 3 (SRAM), and Bank 0 (SRAM). ) To the content stored at the end address of Bank0 (SRAM) to the content stored at the end address of Bank0 (SRAM) by a predetermined number of bytes (for example, 1 byte) continuously, the top address of Bank3 (SRAM) in backup second area 4150dc The peripheral control CPU core 4150aa copies the contents stored in the bank 0 (SRAM) as the request factor of the peripheral control DMA controller 4150ac to the bank 4 (SRAM) of the backup second area 4150dc. P2 is specified, and the content stored in the bank 0 (SRAM) start address to the content stored in the bank 0 (SRAM) end address is continuously backed up by a predetermined byte (for example, 1 byte) in a second backup area 4150dc. Are all copied in order from the top address of Bank 4 (SRAM).

ステップS1034に続いて、WDTクリア処理を行う(ステップS1036)。このWDTクリア処理では、周辺制御内蔵WDT4150afと、周辺制御外部WDT4150eと、にクリア信号を出力して周辺制御MPU4150aにリセットがかからないようにしている。   Subsequent to step S1034, a WDT clear process is performed (step S1036). In this WDT clear process, a clear signal is output to the peripheral control built-in WDT 4150af and the peripheral control external WDT 4150e so that the peripheral control MPU 4150a is not reset.

ステップS1036に続いて、演出制御プログラムが、周辺制御部定常処理の実行完了として定常処理中フラグSP−FLGに値0をセットし(ステップS1038)、再びステップS1006に戻り、Vブランク信号検出フラグVB−FLGに値0をセットして初期化し、後述する周辺制御部Vブランク信号割り込み処理においてVブランク信号検出フラグVB−FLGに値1がセットされるまで、ステップS1008の判定を繰り返し行う。つまりステップS1008では、Vブランク信号検出フラグVB−FLGに値1がセットされるまで待機し、ステップS1008でVブランク信号検出フラグVB−FLGが値1であると判定されると、ステップS1009〜ステップS1038の処理を行い、再びステップS1006に戻る。このように、ステップS1008でVブランク信号検出フラグVB−FLGが値1であると判定されると、ステップS1009〜ステップS1038の処理を行うようになっている。ステップS1009〜ステップS1038の処理を「周辺制御部定常処理」という。   Subsequent to step S1036, the effect control program sets the value 0 in the steady processing flag SP-FLG as completion of execution of the peripheral control unit steady processing (step S1038), returns to step S1006 again, and V blank signal detection flag VB -FLG is initialized by setting value 0, and the determination in step S1008 is repeated until value 1 is set in V blank signal detection flag VB-FLG in the peripheral control unit V blank signal interrupt processing described later. That is, in step S1008, the process waits until the value 1 is set in the V blank signal detection flag VB-FLG. The process of S1038 is performed, and the process returns to step S1006 again. As described above, when it is determined in step S1008 that the V blank signal detection flag VB-FLG has a value of 1, processing in steps S1009 to S1038 is performed. The processing in steps S1009 to S1038 is referred to as “peripheral control unit steady processing”.

この周辺制御部定常処理は、演出制御プログラムが、まずステップS1009で周辺制御部定常処理を実行中であるとして定常処理中フラグSP−FLGに値1をセットすることから開始し、ステップS1010で1ms割り込みタイマ起動処理を行い、ステップS1012、ステップS1014、・・・、そしてステップS1036の各処理を行って最後にステップS1038において周辺制御部定常処理の実行完了として定常処理中フラグSP−FLGに値0をセットすると、完了することとなる。周辺制御部定常処理は、ステップS1008でVブランク信号検出フラグVB−FLGが値1であるときに実行される。このVブランク信号検出フラグVB−FLGは、上述したように、周辺制御MPU4150aからの画面データを受け入れることができる状態である旨を伝えるVブランク信号が音源内蔵VDP4160aから入力されたことを契機として実行される後述する周辺制御部Vブランク信号割り込み処理において値1がセットされるようになっている。本実施形態では、遊技盤側液晶表示装置1900及び上皿側液晶表示装置246のフレーム周波数(1秒間あたりの画面更新回数)として、上述したように、概ね秒間30fpsに設定しているため、Vブランク信号が入力される間隔は、約33.3ms(=1000ms÷30fps)となっている。つまり、周辺制御部定常処理は、約33.3msごとに繰り返し実行されるようになっている。   The peripheral control unit steady process starts from the fact that the effect control program first sets the value 1 in the steady processing flag SP-FLG, assuming that the peripheral control unit steady process is being executed in step S1009, and 1 ms in step S1010. An interrupt timer activation process is performed, and each process of steps S1012, S1014,..., And step S1036 is performed. Set to to complete. The peripheral control unit steady process is executed when the V blank signal detection flag VB-FLG is 1 in step S1008. As described above, the V blank signal detection flag VB-FLG is executed when the V blank signal indicating that the screen data from the peripheral control MPU 4150a can be accepted is input from the sound source built-in VDP 4160a. The value 1 is set in the peripheral control unit V blank signal interrupt processing described later. In this embodiment, since the frame frequency (number of screen updates per second) of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246 is set to approximately 30 fps per second as described above, V The interval at which the blank signal is input is approximately 33.3 ms (= 1000 ms ÷ 30 fps). That is, the peripheral control unit steady process is repeatedly executed about every 33.3 ms.

[5−1−2.周辺制御部Vブランク信号割り込み処理]
次に、図7に示した、周辺制御部4150の周辺制御MPU4150aからの画面データを受け入れることができる状態である旨を伝えるVブランク信号が液晶及び音制御部4160の音源内蔵VDP4160aから入力されたことを契機として実行する周辺制御部Vブランク信号割り込み処理について説明する。この周辺制御部Vブランク信号割り込み処理が開始されると、周辺制御部4150の周辺制御MPU4150aは、図16に示すように、定常処理中フラグSP−FLGが値0であるかを判定する(ステップS1045)。この定常処理中フラグSP−FLGは、上述したように、図15の周辺制御部電源投入時処理におけるステップS1009〜ステップS1038の周辺制御部定常処理を実行中であるとき値1、周辺制御部定常処理を実行完了したとき値0にそれぞれセットされる。
[5-1-2. Peripheral control unit V blank signal interrupt processing]
Next, a V blank signal indicating that the screen data from the peripheral control MPU 4150a of the peripheral control unit 4150 shown in FIG. 7 can be received is input from the liquid crystal and sound source built-in VDP 4160a of the sound control unit 4160. The peripheral control unit V blank signal interrupt processing executed with this as an opportunity will be described. When the peripheral control unit V blank signal interrupt process is started, the peripheral control MPU 4150a of the peripheral control unit 4150 determines whether the steady processing flag SP-FLG is 0 as shown in FIG. S1045). As described above, the steady processing flag SP-FLG has a value of 1 when the peripheral control unit steady processing in steps S1009 to S1038 in the peripheral control unit power-on processing of FIG. It is set to a value of 0 when execution of the process is completed.

ステップS1045で定常処理中フラグSP−FLGが値0でない(値1である)とき、つまり周辺制御部定常処理を実行中であるときには、そのままこのルーチンを終了する。一方、ステップS1045で定常処理中フラグSP−FLGが値0であるとき、つまり周辺制御部定常処理を実行完了したときには、Vブランク信号検出フラグVB−FLGに値1をセットし(ステップS1050)、このルーチンを終了する。このVブランク信号検出フラグVB−FLGは、上述したように、周辺制御部定常処理を実行するか否かを決定するためのフラグであり、周辺制御部定常処理を実行するとき値1、周辺制御部定常処理を実行しないとき値0にそれぞれ設定される。   If the steady process flag SP-FLG is not 0 (value 1) in step S1045, that is, if the peripheral control unit steady process is being executed, this routine is terminated. On the other hand, when the steady processing flag SP-FLG is 0 in step S1045, that is, when the execution of the peripheral control unit steady processing is completed, the value 1 is set to the V blank signal detection flag VB-FLG (step S1050). This routine ends. As described above, the V blank signal detection flag VB-FLG is a flag for determining whether or not to execute the peripheral control unit steady process. When the part steady process is not executed, the value is set to 0.

本実施形態では、ステップS1045で定常処理中フラグSP−FLGが値0であるか否か、つまり周辺制御部定常処理を実行完了したか否かを判定し、周辺制御部定常処理を実行完了したときにはステップS1050でVブランク信号検出フラグVB−FLGに値1をセットするようになっているが、これは、周辺制御部定常処理を実行中であるときに、Vブランク信号が入力されてVブランク信号検出フラグVB−FLGに値1をセットすると、図15の周辺制御部電源投入時処理におけるステップS1008の判定で周辺制御部定常処理を実行するものとして、現在実行中の周辺制御部定常処理を途中で強制的にキャンセルして周辺制御部定常処理を最初から実行開始するため、これを防止する目的で、図15の周辺制御部電源投入時処理(周辺制御部定常処理)におけるステップS1009で定常処理中フラグSP−FLGに値1をセットすることで周辺制御部定常処理を実行中である旨を、本ルーチンである周辺制御部Vブランク信号割り込み処理に伝えるとともに、図15の周辺制御部電源投入時処理(周辺制御部定常処理)におけるステップS1038で定常処理中フラグSP−FLGに値0をセットすることで周辺制御部定常処理を実行完了した旨を、本ルーチンである周辺制御部Vブランク信号割り込み処理に伝えることにより、本ルーチンである周辺制御部Vブランク信号割り込み処理におけるステップS1045の判定で定常処理中フラグSP−FLGが値0であるか否か、つまり周辺制御部定常処理を実行完了したか否かを判定するようになっている。換言すると、Vブランク信号が入力されて次のVブランク信号が入力されるまでに周辺制御部定常処理を実行完了することができず、いわゆる処理落ちした場合の処置である。   In this embodiment, it is determined in step S1045 whether or not the steady processing flag SP-FLG is 0, that is, whether or not the peripheral control unit steady processing has been completed, and the peripheral control unit steady processing has been completed. Sometimes the value 1 is set to the V blank signal detection flag VB-FLG in step S1050. This is because the V blank signal is input and the V blank signal is input when the peripheral control unit steady processing is being executed. When the value 1 is set to the signal detection flag VB-FLG, it is assumed that the peripheral control unit steady process is executed in step S1008 in the peripheral control unit power-on process of FIG. Since the peripheral control unit steady process is started from the beginning by forcibly canceling on the way, the peripheral control unit in FIG. 15 is turned on for the purpose of preventing this. The peripheral control unit V blank signal, which is this routine, indicates that the peripheral control unit steady processing is being executed by setting the value 1 to the steady processing flag SP-FLG in step S1009 in the processing (peripheral control unit steady processing). In addition to notifying the interrupt processing, the peripheral control unit steady state processing is completed by setting the steady processing flag SP-FLG to 0 in step S1038 in the peripheral control unit power-on processing (peripheral control unit steady state processing) of FIG. This is communicated to the peripheral control unit V blank signal interrupt process, which is this routine, so that the steady processing flag SP-FLG is 0 in the determination of step S1045 in the peripheral control unit V blank signal interrupt process, which is this routine. It is determined whether or not there is, that is, whether or not the peripheral control unit steady process has been executed. In other words, this is a measure for when the peripheral control unit steady process cannot be completed before the next V blank signal is input and the next V blank signal is input, so-called process failure.

これにより、今回の周辺制御部定常処理においては、約33.3msという時間でその処理を完了できず処理落ちした場合には、図15の周辺制御部電源投入時処理におけるステップS1008の判定で次回のVブランク信号が入力されるまで待機する状態となる。つまり、処理落ちした今回の周辺制御部定常処理を実行するための時間が約66.6msとなる。通常、図15の周辺制御部電源投入時処理(周辺制御部定常処理)におけるステップS1010で1ms割り込みタイマの起動により1ms割り込みタイマが発生するごとに繰り返し実行する、後述する周辺制御部1msタイマ割り込み処理は1回の周辺制御部定常処理に対して32回だけ実行されるものの、上述した処理落ちした今回の周辺制御部定常処理が存在する場合には、周辺制御部1msタイマ割り込み処理が64回ではなく、32回だけ実行されるようになっている。つまり、周辺制御部定常処理が処理落ちした場合であっても、周辺制御部定常処理による演出の進行状態とタイマ割り込み制御である周辺制御部1msタイマ割り込み処理による演出の進行状態との整合性が崩れないようになっている。従って、周辺制御部定常処理が処理落ちした場合であっても演出の進行状態を確実に整合させることができる。   As a result, in the current peripheral control unit steady process, if the process cannot be completed in about 33.3 ms and the process is dropped, the next determination is made in step S1008 in the peripheral control unit power-on process of FIG. It is in a state of waiting until the V blank signal is input. That is, the time required to execute the current peripheral control unit steady process that has been dropped is about 66.6 ms. Normally, a peripheral control unit 1 ms timer interrupt process, which will be described later, is repeatedly executed every time a 1 ms interrupt timer is generated by starting the 1 ms interrupt timer in step S1010 in the peripheral control unit power-on process (peripheral control unit steady process) in FIG. Is executed only 32 times for one peripheral control unit steady process. However, if there is a current peripheral control unit steady process that has been dropped as described above, the peripheral control unit 1 ms timer interrupt process is not performed 64 times. No, it is executed only 32 times. In other words, even if the peripheral control unit steady process has failed, the consistency between the presentation progress state by the peripheral control unit steady process and the presentation progress state by the peripheral control unit 1 ms timer interrupt process, which is timer interrupt control, is consistent. It is designed not to collapse. Therefore, even if the peripheral control unit steady process is lost, the progress state of the performance can be reliably matched.

[5−1−3.周辺制御部1msタイマ割り込み処理]
次に、図15の周辺制御部電源投入時処理の周辺制御部定常処理におけるステップS1010で1ms割り込みタイマの起動により1ms割り込みタイマが発生するごとに繰り返し実行する周辺制御部1msタイマ割り込み処理について説明する。この周辺制御部1msタイマ割り込み処理が開始されると、図7に示した周辺制御部4150では、演出制御プログラムが周辺制御MPU4150aの制御の下、図17に示すように、1msタイマ割り込み実行回数STNが33回より小さいか否かを判定する(ステップS1100)。この1msタイマ割り込み実行回数STNは、上述したように、図15の周辺制御部電源投入時処理の周辺制御部定常処理におけるステップS1010の1ms割り込みタイマ起動処理で1ms割り込みタイマが起動して本ルーチンである周辺制御部1msタイマ割り込み処理が実行された回数をカウントするカウンタである。本実施形態では、遊技盤側液晶表示装置1900及び上皿側液晶表示装置246のフレーム周波数(1秒間あたりの画面更新回数)として、上述したように、概ね秒間30fpsに設定しているため、Vブランク信号が入力される間隔は、約33.3ms(=1000ms÷30fps)となっている。つまり、周辺制御部定常処理は、約33.3msごとに繰り返し実行されるようになっているため、周辺制御部定常処理におけるステップS1010で1ms割り込みタイマを起動した後、次の周辺制御部定常処理が実行されるまでに、周辺制御部1msタイマ割り込み処理が32回だけ実行されるようになっている。具体的には、周辺制御部定常処理におけるステップS1010で1ms割り込みタイマが起動されると、まず1回目の1msタイマ割り込みが発生し、2回目、・・・、そして32回目の1msタイマ割り込みが順次発生することとなる。
[5-1-3. Peripheral control unit 1ms timer interrupt processing]
Next, the peripheral control unit 1 ms timer interrupt process that is repeatedly executed every time the 1 ms interrupt timer is generated by starting the 1 ms interrupt timer in step S1010 in the peripheral control unit steady process of the peripheral control unit power-on process of FIG. 15 will be described. . When the peripheral control unit 1 ms timer interrupt process is started, the peripheral control unit 4150 shown in FIG. 7 performs the 1 ms timer interrupt execution count STN as shown in FIG. 17 under the control of the peripheral control MPU 4150a. Is less than 33 times (step S1100). As described above, the 1 ms timer interrupt execution count STN is determined by this routine when the 1 ms interrupt timer is activated in the 1 ms interrupt timer activation process in step S1010 in the peripheral control unit steady process of the peripheral control unit power-on process of FIG. It is a counter that counts the number of times a peripheral control unit 1 ms timer interrupt process is executed. In this embodiment, since the frame frequency (number of screen updates per second) of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246 is set to approximately 30 fps per second as described above, V The interval at which the blank signal is input is approximately 33.3 ms (= 1000 ms ÷ 30 fps). That is, since the peripheral control unit steady process is repeatedly executed about every 33.3 ms, after starting the 1 ms interrupt timer in step S1010 in the peripheral control unit steady process, the next peripheral control unit steady process is performed. The peripheral control unit 1 ms timer interrupt process is executed only 32 times before. Specifically, when the 1 ms interrupt timer is started in step S1010 in the peripheral control unit steady process, the first 1 ms timer interrupt is generated first, then the second,... Will occur.

ステップS1100で1msタイマ割り込み実行回数STNが33回より小さくないとき、つまり33回目の1msタイマ割り込みが発生してこの周辺制御部1msタイマ割り込み処理が開始されたときには、演出制御プログラムは、そのままこのルーチンを終了する。33回目の1msタイマ割り込みの発生が次回のVブランク信号の発生よりたまたま先行した場合には、本実施形態では、割り込み処理の優先順位として、周辺制御部1msタイマ割り込み処理の方が周辺制御部Vブランク割り込み処理と比べて高く設定されているものの、この33回目の1msタイマ割り込みによる周辺制御部1msタイマ割り込み処理の開始を強制的にキャンセルするようになっている。換言すると、本実施形態では、Vブランク信号が周辺制御基板4140のシステム全体を支配する信号であるため、33回目の1msタイマ割り込みの発生が次回のVブランク信号の発生よりたまたま先行した場合には、周辺制御部Vブランク割り込み処理を実行するために33回目の1msタイマ割り込みによる周辺制御部1msタイマ割り込み処理の開始が強制的にキャンセルさせられている。そして、Vブランク信号の発生により周辺制御部定常処理におけるステップS1010で1ms割り込みタイマを再び起動した後、新たに1回目の1msタイマ割り込みの発生による周辺制御部1msタイマ割り込み処理を開始するようになっている。   When the 1 ms timer interrupt execution count STN is not smaller than 33 times in step S1100, that is, when the 1 ms timer interrupt for the 33rd time is generated and the peripheral control unit 1 ms timer interrupt processing is started, the effect control program is directly executed by this routine. Exit. In the present embodiment, when the 33rd 1 ms timer interrupt occurs accidentally before the next generation of the V blank signal, in the present embodiment, the peripheral control unit 1 ms timer interrupt process is the peripheral control unit V as the priority of interrupt processing. Although set higher than the blank interrupt process, the start of the peripheral control unit 1 ms timer interrupt process by the 33rd 1 ms timer interrupt is forcibly canceled. In other words, in the present embodiment, the V blank signal is a signal that dominates the entire system of the peripheral control board 4140. Therefore, when the occurrence of the 1st timer interrupt for the 33rd time happens to precede the generation of the next V blank signal. In order to execute the peripheral control unit V blank interrupt process, the start of the peripheral control unit 1 ms timer interrupt process by the 33rd 1 ms timer interrupt is forcibly canceled. Then, after the 1 ms interrupt timer is started again in step S1010 in the peripheral control unit steady process due to the generation of the V blank signal, the peripheral control unit 1 ms timer interrupt process is newly started by the first 1 ms timer interrupt generation. ing.

一方、ステップS1100で1msタイマ割り込み実行回数STNが33回より小さいときには、1msタイマ割り込み実行回数STNに値1だけ足す(インクリメントする、ステップS1102)。この1msタイマ割り込み実行回数STNに値1が足されることにより、図15の周辺制御部電源投入時処理の周辺制御部定常処理におけるステップS1010の1ms割り込みタイマ起動処理で1ms割り込みタイマが起動して本ルーチンである周辺制御部1msタイマ割り込み処理が実行された回数が1回分だけ増えることとなる。   On the other hand, when the 1 ms timer interrupt execution count STN is smaller than 33 in step S1100, the value 1 is added to the 1 ms timer interrupt execution count STN (increment, step S1102). By adding 1 to the 1 ms timer interrupt execution count STN, the 1 ms interrupt timer is activated in the 1 ms interrupt timer activation process of step S1010 in the peripheral control unit steady process of the peripheral control unit power-on process of FIG. The number of times that the peripheral control unit 1 ms timer interrupt process, which is this routine, is executed is increased by one.

ステップS1102に続いて、演出制御プログラムはモータ及びソレノイド駆動処理を行う(ステップS1104)。このモータ及びソレノイド駆動処理では、図8に示した、周辺制御MPU4150aと外付けされる周辺制御RAM4150cのスケジュールデータ記憶領域4150caeにセットされた電気的駆動源スケジュールデータを構成する時系列に配列されたモータやソレノイド等の電気的駆動源の駆動データのうち、ポインタが指示する駆動データに従って、演出制御プログラムが、枠装飾駆動アンプ基板194及びモータ駆動基板4180のモータやソレノイド等の電気的駆動源を駆動するとともに、時系列に規定された次の駆動データにポインタを更新し、このモータ及びソレノイド駆動処理を実行するごとに、ポインタを更新する。   Subsequent to step S1102, the effect control program performs motor and solenoid drive processing (step S1104). In this motor and solenoid drive processing, the electric drive source schedule data set in the schedule data storage area 4150cae of the peripheral control RAM 4150c externally attached to the peripheral control MPU 4150a shown in FIG. 8 is arranged in time series. In accordance with the drive data indicated by the pointer among the drive data of the electrical drive sources such as the motor and the solenoid, the effect control program determines the electrical drive sources such as the motor and the solenoid of the frame decoration drive amplifier board 194 and the motor drive board 4180. While driving, the pointer is updated to the next drive data defined in time series, and the pointer is updated every time the motor and solenoid drive processing is executed.

具体的には、モータ及びソレノイド駆動処理では、演出制御プログラムが枠装飾駆動アンプ基板194へのDMAシリアル連続送信処理を行う。ここでは、演出制御プログラムは、周辺制御MPU4150aの周辺制御DMAコントローラ4150acを利用して枠装飾駆動アンプ基板モータ用シリアルI/Oポート連続送信を行う。この枠装飾駆動アンプ基板モータ用シリアルI/Oポート連続送信が開始されるときには、まず周辺制御MPU4150aと外付けされる周辺制御RAM4150cのスケジュールデータ記憶領域4150caeにセットされた電気的駆動源スケジュールデータを構成する時系列に配列されたモータやソレノイド等の電気的駆動源の駆動データのうち、ポインタが指示する駆動データに基づいて、図7に示した操作ユニット400のダイヤル駆動モータ414への駆動信号を出力するための扉側モータ駆動データSTM−DATを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して作成するとともに、図8に示した周辺制御RAM4150cの枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafにセットする。そして周辺制御MPU4150aの周辺制御CPUコア4150aaは、周辺制御DMAコントローラ4150acの要求要因に枠装飾駆動アンプ基板モータ用シリアルI/Oポートの送信を指定し、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafの先頭アドレスに格納された扉側モータ駆動データSTM−DATのうちの最初の1バイトを、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、枠装飾駆動アンプ基板モータ用シリアルI/Oポートの送信バッファレジスタに転送して書き込む。これにより、枠装飾駆動アンプ基板モータ用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、扉側モータ駆動クロック信号STM−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始する。   Specifically, in the motor and solenoid drive processing, the effect control program performs DMA serial continuous transmission processing to the frame decoration drive amplifier board 194. Here, the effect control program uses the peripheral control DMA controller 4150ac of the peripheral control MPU 4150a to continuously transmit the frame decoration drive amplifier board motor serial I / O port. When this frame decoration drive amplifier board motor serial I / O port continuous transmission starts, first, the electrical drive source schedule data set in the schedule data storage area 4150cae of the peripheral control MPU 4150a and the externally attached peripheral control RAM 4150c is stored. A drive signal to the dial drive motor 414 of the operation unit 400 shown in FIG. 7 based on drive data indicated by a pointer among drive data of electric drive sources such as motors and solenoids arranged in time series. 8 is extracted from the peripheral control ROM 4150b of the peripheral control unit 4150 or various control data copy areas 4150ce of the peripheral control RAM 4150c, and the peripheral control RAM 4150c shown in FIG. Frame decoration Set in the transmission data storage area 4150caf amplifier substrate side motor. The peripheral control CPU core 4150aa of the peripheral control MPU 4150a designates transmission of the frame decoration drive amplifier board motor serial I / O port as a request factor of the peripheral control DMA controller 4150ac, and stores frame decoration drive amplifier board side motor transmission data. Frame decoration drive amplifier board motor via the external bus 4150h, the peripheral control bus controller 4150ad, and the peripheral bus 4150ai with the first byte of the door side motor drive data STM-DAT stored in the head address of the area 4150caf Transfer and write to the transmission buffer register of the serial I / O port. As a result, the frame decoration drive amplifier board motor serial I / O port transfers the written data of the transmission buffer register to the transmission shift register, and synchronizes with the door side motor drive clock signal STM-CLK. The 1-byte data starts to be transmitted bit by bit.

周辺制御DMAコントローラ4150acは、枠装飾駆動アンプ基板モータ用シリアルI/Oポートの送信割り込み要求が発生するごとに、これを契機として(本実施形態では、枠装飾駆動アンプ基板モータ用シリアルI/Oポートの送信バッファレジスタに書き込まれた1バイトのデータが送信シフトレジスタに転送され、その送信バッファレジスタに1バイトのデータがなくなって空となったことを契機としている。)、周辺制御CPUコア4150aaがバスを使用していない場合に、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150cafに格納された残りの扉側モータ駆動データSTM−DATを1バイトずつ、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、枠装飾駆動アンプ基板モータ用シリアルI/Oポートの送信バッファレジスタに転送して書き込むことで、枠装飾駆動アンプ基板モータ用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、扉側モータ駆動クロック信号STM−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始し、枠装飾駆動アンプ基板モータ用シリアルI/Oポートによる連続送信を行っている。   The peripheral control DMA controller 4150ac is triggered every time a transmission interrupt request for the frame decoration drive amplifier board motor serial I / O port is generated (in this embodiment, the frame decoration drive amplifier board motor serial I / O 1 byte data written in the transmission buffer register of the port is transferred to the transmission shift register, and the transmission buffer register is empty because the 1 byte data disappears.), Peripheral control CPU core 4150aa When the bus does not use the bus, the remaining door side motor drive data STM-DAT stored in the frame decoration drive amplifier board side motor transmission data storage area 4150caf is stored byte by byte, external bus 4150h, peripheral control bus controller 4150ad, and via peripheral bus 4150ai, By transferring and writing to the transmission buffer register of the decorative drive amplifier board motor serial I / O port, the frame decoration drive amplifier board motor serial I / O port transmits the data of the written transmission buffer register to the transmission shift register. 1 byte data of the transmission shift register is started bit by bit in synchronization with the door side motor drive clock signal STM-CLK, and the frame decoration drive amplifier board motor serial I / O port continuously transmits. Is going.

またモータ及びソレノイド駆動処理では、モータ駆動基板4180へのDMAシリアル連続送信処理を行う。ここでも、図8に示した周辺制御MPU4150aの周辺制御DMAコントローラ4150acを利用してモータ駆動基板用シリアルI/Oポート連続送信を行う。このモータ駆動基板用シリアルI/Oポート連続送信が開始されるときには、まず周辺制御MPU4150aと外付けされる周辺制御RAM4150cのスケジュールデータ記憶領域4150caeにセットされた電気的駆動源スケジュールデータを構成する時系列に配列されたモータやソレノイド等の電気的駆動源の駆動データのうち、ポインタが指示する駆動データに基づいて、遊技盤4に設けられる各種可動体を可動させるためのモータやソレノイドへの駆動信号を出力するための遊技盤側モータ駆動データSM−DATを、周辺制御部4150の周辺制御ROM4150b又は周辺制御RAM4150cの各種制御データコピーエリア4150ceから抽出して作成するとともに、図8に示した周辺制御RAM4150cのモータ駆動基板側送信データ記憶領域4150cagにセットする。そして周辺制御MPU4150aの周辺制御CPUコア4150aaは、周辺制御DMAコントローラ4150acの要求要因にモータ駆動基板用シリアルI/Oポートの送信を指定し、モータ駆動基板側送信データ記憶領域4150cagの先頭アドレスに格納された遊技盤側モータ駆動データSM−DATのうちの最初の1バイトを、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、モータ駆動基板用シリアルI/Oポートの送信バッファレジスタに転送して書き込む。これにより、モータ駆動基板用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、遊技盤側モータ駆動クロック信号SM−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始する。   In the motor and solenoid drive processing, DMA serial continuous transmission processing to the motor drive board 4180 is performed. Also here, serial transmission of the motor drive board serial I / O port is performed using the peripheral control DMA controller 4150ac of the peripheral control MPU 4150a shown in FIG. When the serial I / O port continuous transmission for the motor drive board is started, first, when configuring the electrical drive source schedule data set in the schedule data storage area 4150cae of the peripheral control MPU 4150a and the peripheral control RAM 4150c attached externally Drive to motors and solenoids for moving various movable bodies provided in the game board 4 based on drive data indicated by the pointer among drive data of electric drive sources such as motors and solenoids arranged in series The game board side motor drive data SM-DAT for outputting signals is extracted from the peripheral control ROM 4150b of the peripheral control unit 4150 or the various control data copy areas 4150ce of the peripheral control RAM 4150c, and the peripherals shown in FIG. Motor drive of control RAM 4150c Set on the substrate side transmission data storage area 4150Cag. The peripheral control CPU core 4150aa of the peripheral control MPU 4150a designates transmission of the motor drive board serial I / O port as a request factor of the peripheral control DMA controller 4150ac, and stores it in the head address of the motor drive board side transmission data storage area 4150cag. The first 1 byte of the game board side motor drive data SM-DAT thus obtained is transmitted to the serial I / O port for the motor drive board via the external bus 4150h, the peripheral control bus controller 4150ad, and the peripheral bus 4150ai. Transfer and write to register. As a result, the serial I / O port for the motor drive board transfers the written data of the transmission buffer register to the transmission shift register, and 1 of the transmission shift register is synchronized with the game board side motor drive clock signal SM-CLK. Start transmitting byte data bit by bit.

周辺制御DMAコントローラ4150acは、モータ駆動基板用シリアルI/Oポートの送信割り込み要求が発生するごとに、これを契機として(本実施形態では、モータ駆動基板用シリアルI/Oポートの送信バッファレジスタに書き込まれた1バイトのデータが送信シフトレジスタに転送され、その送信バッファレジスタに1バイトのデータがなくなって空となったことを契機としている。)、周辺制御CPUコア4150aaがバスを使用していない場合に、モータ駆動基板側送信データ記憶領域4150cagに格納された残りの遊技盤側モータ駆動データSM−DATを1バイトずつ、外部バス4150h、周辺制御バスコントローラ4150ad、そして周辺バス4150aiを介して、モータ駆動基板用シリアルI/Oポートの送信バッファレジスタに転送して書き込むことで、モータ駆動基板用シリアルI/Oポートは、この書き込まれた送信バッファレジスタのデータを送信シフトレジスタに転送し、遊技盤側モータ駆動クロック信号SM−CLKと同期して送信シフトレジスタの1バイトのデータを、1ビットずつ送信開始し、モータ駆動基板用シリアルI/Oポートによる連続送信を行っている。   The peripheral control DMA controller 4150ac is triggered by the transmission interrupt request for the motor drive board serial I / O port (in this embodiment, in the transmission buffer register of the motor drive board serial I / O port). The written 1-byte data is transferred to the transmission shift register, and the transmission buffer register is empty because the 1-byte data disappears.), The peripheral control CPU core 4150aa is using the bus. If not, the remaining game board side motor drive data SM-DAT stored in the motor drive board side transmission data storage area 4150cag is transferred byte by byte via the external bus 4150h, peripheral control bus controller 4150ad, and peripheral bus 4150ai. , Serial I / O port for motor drive board By transferring and writing to the transmission buffer register, the motor drive board serial I / O port transfers the written data of the transmission buffer register to the transmission shift register, and the game board side motor drive clock signal SM-CLK and Synchronously, transmission of 1-byte data of the transmission shift register is started bit by bit, and continuous transmission is performed by the serial I / O port for the motor drive board.

ステップS1104に続いて、可動体情報取得処理を行う(ステップS1106)。この可動体情報取得処理では、遊技盤4に設けた各種検出スイッチからの検出信号が入力されているか否かを判定することにより各種検出スイッチからの検出信号の履歴情報(例えば、原位置履歴情報、可動位置履歴情報など。)を作成し、図8に示した、周辺制御MPU4150aと外付けされる周辺制御RAM4150cの可動体情報取得記憶領域4150cahにセットする。この可動体情報取得記憶領域4150cahにセットされる各種検出スイッチからの検出信号の履歴情報から遊技盤4に設けた各種可動体の原位置や可動位置等を取得することができる。   Following step S1104, movable body information acquisition processing is performed (step S1106). In this movable body information acquisition process, it is determined whether or not detection signals from various detection switches provided on the game board 4 are input, thereby history information (for example, original position history information) of detection signals from the various detection switches. , Movable position history information, etc.) is created and set in the movable body information acquisition storage area 4150cah of the peripheral control MPU 4150a and the peripheral control RAM 4150c externally shown in FIG. From the history information of the detection signals from the various detection switches set in the movable body information acquisition storage area 4150cah, the original positions and the movable positions of the various movable bodies provided on the game board 4 can be acquired.

ステップS1106に続いて、操作ユニット情報取得処理を行う(ステップS1108)。この操作ユニット情報取得処理では、操作ユニット400に設けられた各種検出スイッチからの検出信号が入力されているか否かを判定することにより各種検出スイッチからの検出信号の履歴情報(例えば、ダイヤル操作部401の回転(回転方向)履歴情報、及び押圧操作部405の操作履歴情報など。)を作成し、図8に示した、周辺制御MPU4150aと外付けされる周辺制御RAM4150cの操作ユニット情報取得記憶領域4150caiにセットする。この操作ユニット情報取得記憶領域4150caiにセットされる各種検出スイッチからの検出信号の履歴情報からダイヤル操作部401の回転方向や押圧操作部405の操作有無を取得することができる。   Subsequent to step S1106, an operation unit information acquisition process is performed (step S1108). In this operation unit information acquisition process, it is determined whether or not detection signals from various detection switches provided in the operation unit 400 are input, whereby history information of detection signals from various detection switches (for example, a dial operation unit) Rotation (rotation direction) history information 401, operation history information of the pressing operation unit 405, etc.) is created, and the operation unit information acquisition storage area of the peripheral control MPU 4150a and the externally attached peripheral control RAM 4150c shown in FIG. Set to 4150cai. The rotation direction of the dial operation unit 401 and the presence / absence of the operation of the pressing operation unit 405 can be acquired from the history information of detection signals from various detection switches set in the operation unit information acquisition storage area 4150cai.

ステップS1108に続いて、演出制御プログラムは、描画状態取得処理(S1110)及びメイン賞球数情報出力処理(S1112)を行い、続いてバックアップ処理を行い(ステップS1114)、このルーチンを終了する。このバックアップ処理では、図8に示した、周辺制御MPU4150aと外付けされる周辺制御RAM4150cに記憶されている内容を、バックアップ第1エリア4150cbと、バックアップ第2エリア4150ccと、にそれぞれコピーしてバックアップするとともに、周辺制御MPU4150aと外付けされる周辺制御SRAM4150dに記憶されている内容を、バックアップ第1エリア4150dbと、バックアップ第2エリア4150dcと、にそれぞれコピーしてバックアップする。   Subsequent to step S1108, the effect control program performs a drawing state acquisition process (S1110) and a main prize ball number information output process (S1112), and subsequently performs a backup process (step S1114), and ends this routine. In this backup processing, the contents stored in the peripheral control MPU 4150a and the externally attached peripheral control RAM 4150c shown in FIG. 8 are copied to the backup first area 4150cb and the backup second area 4150cc for backup. At the same time, the contents stored in the peripheral control MPU 4150a and the externally attached peripheral control SRAM 4150d are copied to the backup first area 4150db and the backup second area 4150dc for backup.

具体的には、バックアップ処理では、周辺制御RAM4150cについて、図8に示した、バックアップ管理対象ワークエリア4150caにおける、1ms割り込みタイマが発生するごとに、つまり本ルーチンである周辺制御部1msタイマ割り込み処理が実行されるごとに、バックアップ対象となっているBank0(1ms)に含まれる、枠装飾駆動アンプ基板側モータ用送信データ記憶領域4150caf、モータ駆動基板側送信データ記憶領域4150cag、可動体情報取得記憶領域4150cah、及び操作ユニット情報取得記憶領域4150caiに記憶されている内容である演出情報(1ms)を、演出バックアップ情報(1ms)として、バックアップ第1エリア4150cbのBank1(1ms)及びBank2(1ms)に周辺制御DMAコントローラ4150acが高速にコピーし、そしてバックアップ第2エリア4150ccのBank3(1ms)及びBank4(1ms)に周辺制御DMAコントローラ4150acが高速にコピーする。   More specifically, in the backup process, the peripheral control RAM 4150c performs the peripheral control unit 1ms timer interrupt process, which is this routine, every time the 1ms interrupt timer is generated in the backup management target work area 4150ca shown in FIG. Each time it is executed, frame decoration drive amplifier board side motor transmission data storage area 4150caf, motor drive board side transmission data storage area 4150cag, movable body information acquisition storage area included in Bank 0 (1 ms) to be backed up Production information (1 ms), which is the content stored in 4150 cah and the operation unit information acquisition storage area 4150 cai, is used as production backup information (1 ms), and Bank 1 (1 ms) and Bank 2 (in the backup first area 4150 cb) Peripheral control DMA controller 4150ac in ms) is copied at high speed, and backup Bank3 second area 4150cc (1ms) and Bank4 (1 ms) to the peripheral control DMA controller 4150ac copies at high speed.

この周辺制御DMAコントローラ4150acによるBank0(1ms)に記憶されている内容の高速コピーについて簡単に説明すると、図8に示した周辺制御MPU4150aの周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1ms)に記憶されている内容を、バックアップ第1エリア4150cbのBank1(1ms)へのコピーを指定し、Bank0(1ms)の先頭アドレスに格納された内容からBank0(1ms)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第1エリア4150cbのBank1(1ms)の先頭アドレスから順番にすべてコピーし、そして周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1ms)に記憶されている内容を、バックアップ第1エリア4150cbのBank2(1ms)へのコピーを指定し、Bank0(1ms)の先頭アドレスに格納された内容からBank0(1ms)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第1エリア4150cbのBank2(1ms)の先頭アドレスから順番にすべてコピーする。   The high-speed copy of the contents stored in Bank 0 (1 ms) by the peripheral control DMA controller 4150ac will be briefly described. The peripheral control CPU core 4150aa of the peripheral control MPU 4150a shown in FIG. The content stored in Bank0 (1 ms) is designated to be copied to Bank1 (1 ms) in backup first area 4150cb, and the content stored at the beginning address of Bank0 (1 ms) is changed to the end address of Bank0 (1 ms). The stored contents are all copied in sequence starting from the first address of Bank 1 (1 ms) in the backup first area 4150cb in succession by a predetermined number of bytes (for example, 1 byte), and the peripheral control CPU core 4150aa performs the peripheral control DM. The contents stored in Bank0 (1 ms) as the request factor of the controller 4150ac are designated to be copied to Bank2 (1 ms) in the backup first area 4150cb, and the contents stored in the first address of Bank0 (1ms) are used to determine Bank0 ( The contents stored at the end address of 1 ms) are all copied in order from the first address of Bank 2 (1 ms) in the backup first area 4150cb in succession by a predetermined number of bytes (for example, 1 byte).

続いて、周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1ms)に記憶されている内容を、バックアップ第2エリア4150ccのBank3(1ms)へのコピーを指定し、Bank0(1ms)の先頭アドレスに格納された内容からBank0(1ms)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第2エリア4150ccのBank3(1ms)の先頭アドレスから順番にすべてコピーし、そして周辺制御CPUコア4150aaが周辺制御DMAコントローラ4150acの要求要因にBank0(1ms)に記憶されている内容を、バックアップ第2エリア4150ccのBank4(1ms)へのコピーを指定し、Bank0(1ms)の先頭アドレスに格納された内容からBank0(1ms)の終端アドレスに格納された内容までを、所定バイト(例えば、1バイト)ずつ連続してバックアップ第2エリア4150ccのBank4(1ms)の先頭アドレスから順番にすべてコピーする。   Subsequently, the peripheral control CPU core 4150aa designates the contents stored in Bank0 (1 ms) as the request factor of the peripheral control DMA controller 4150ac, specifies the copy of the backup second area 4150cc to Bank3 (1 ms), and Bank0 (1 ms) ) To the content stored at the end address of Bank 0 (1 ms) from the content stored at the head address of) in the backup second area 4150 cc of bank 3 (1 ms) The peripheral control CPU core 4150aa specifies the contents stored in Bank0 (1ms) as the request factor of the peripheral control DMA controller 4150ac, and specifies that the backup second area 4150cc is copied to Bank4 (1ms). Shi From the content stored at the beginning address of Bank0 (1 ms) to the content stored at the end address of Bank0 (1 ms), bank 4 (1 ms) in the backup second area 4150 cc continuously by a predetermined byte (for example, 1 byte) Copy everything starting from the first address.

このように、周辺制御部1msタイマ割り込み処理では、1msという期間内において、演出の進行として上述したステップS1104〜ステップS1108の演出に関する各種処理を実行している。これに対して、図15の周辺制御部電源投入時処理における周辺制御部定常処理では、約33.3msという期間内において、演出の進行として上述したステップS1012〜ステップS1032の演出に関する各種処理を実行している。周辺制御部1msタイマ割り込み処理では、ステップS1100で1msタイマ割り込み実行回数STNが値33より小さくないとき、つまり33回目の1msタイマ割り込みが発生してこの周辺制御部1msタイマ割り込み処理が開始されたときには、そのままこのルーチンを終了するようになっているため、仮に、33回目の1msタイマ割り込みの発生が次回のVブランク信号の発生よりたまたま先行した場合でも、この33回目の1msタイマ割り込みによる周辺制御部1msタイマ割り込み処理の開始を強制的にキャンセルし、Vブランク信号の発生により周辺制御部定常処理におけるステップS1010で1ms割り込みタイマを再び起動した後、新たに1回目の1msタイマ割り込みの発生による周辺制御部1msタイマ割り込み処理を開始するようになっている。つまり、周辺制御部定常処理による演出の進行状態とタイマ割り込み制御である周辺制御部1msタイマ割り込み処理による演出の進行状態との整合性が崩れないようになっている。従って、演出の進行状態を確実に整合させることができる。   As described above, in the peripheral control unit 1 ms timer interruption process, various processes related to the effects in steps S1104 to S1108 are executed as the progress of the effects within a period of 1 ms. On the other hand, in the peripheral control unit steady process in the power-on process of the peripheral control unit in FIG. 15, various processes related to the effects in steps S1012 to S1032 described above are performed as the progress of effects within a period of about 33.3 ms. doing. In the peripheral control unit 1 ms timer interrupt process, when the 1 ms timer interrupt execution count STN is not smaller than the value 33 in step S1100, that is, when the first 1 ms timer interrupt is generated and the peripheral control unit 1 ms timer interrupt process is started. Since this routine is ended as it is, even if the occurrence of the 33rd 1 ms timer interrupt happens to happen before the next V blank signal, the peripheral control unit by this 33rd 1 ms timer interrupt. The start of the 1 ms timer interrupt process is forcibly canceled, and after the 1 ms interrupt timer is started again in step S1010 in the peripheral control unit steady process due to the generation of the V blank signal, the peripheral control is newly performed by the first 1 ms timer interrupt. 1ms timer division It is adapted to start the actual processing. That is, the consistency between the progress state of the effect by the peripheral control unit steady process and the progress state of the effect by the peripheral control unit 1 ms timer interrupt process which is the timer interrupt control is not lost. Therefore, it is possible to reliably match the progress of the production.

また、上述したように、Vブランク信号が出力される間隔は、遊技盤側液晶表示装置1900及び上皿側液晶表示装置246の液晶サイズによって多少変化するし、周辺制御MPU4150aと音源内蔵VDP4160aとが実装された周辺制御基板4140の製造ロットにおいてもVブランク信号が出力される間隔が多少変化する場合もある。本実施形態では、Vブランク信号が周辺制御基板4140のシステム全体を支配する信号であるため、33回目の1msタイマ割り込みの発生が次回のVブランク信号の発生よりたまたま先行した場合には、周辺制御部Vブランク割り込み処理を実行するために33回目の1msタイマ割り込みによる周辺制御部1msタイマ割り込み処理の開始が強制的にキャンセルさせられている。つまり本実施形態では、Vブランク信号が出力される間隔が多少変化する場合であっても、33回目の1msタイマ割り込みによる周辺制御部1msタイマ割り込み処理の開始を強制的にキャンセルすることによって、このVブランク信号が出力される間隔が多少変化することによる時間ズレを吸収することができるようになっている。   Further, as described above, the interval at which the V blank signal is output varies somewhat depending on the liquid crystal sizes of the game board side liquid crystal display device 1900 and the upper plate side liquid crystal display device 246, and the peripheral control MPU 4150a and the sound source built-in VDP 4160a Even in the manufacturing lot of the mounted peripheral control board 4140, the interval at which the V blank signal is output may change somewhat. In this embodiment, since the V blank signal is a signal that dominates the entire system of the peripheral control board 4140, if the occurrence of the first 1 ms timer interrupt happens to precede the next generation of the V blank signal, the peripheral control is performed. In order to execute the part V blank interrupt process, the start of the peripheral control part 1 ms timer interrupt process by the 33rd 1 ms timer interrupt is forcibly canceled. In other words, in the present embodiment, even if the interval at which the V blank signal is output changes slightly, by forcibly canceling the start of the peripheral control unit 1 ms timer interrupt process by the 33rd 1 ms timer interrupt, A time shift due to a slight change in the interval at which the V blank signal is output can be absorbed.

[5−1−4.周辺制御部コマンド受信割り込み処理]
次に、主制御基板4100からの各種コマンドを受信する周辺制御部コマンド受信割り込み処理について説明する。図7に示した周辺制御部4150の周辺制御MPU4150aは、主制御基板4100からの各種コマンドがシリアルデータとして送信開始されると、これを契機として主周シリアルデータを周辺制御MPU4150aに内蔵する主制御基板用シリアルI/Oポートで1バイト(8ビット)の情報を受信バッファに取り込み、この取り込みが完了すると、これを契機として割り込みが発生し、周辺制御部コマンド受信割り込み処理を行う。主周シリアルデータは、1パケットが3バイトに構成されており、1バイト目としてステータスが割り振られ、2バイト目としてモードが割り振られ、3バイト目としてステータスとモードとを数値とみなしてその合計を算出したサム値が割り振られている。
[5-1-4. Peripheral control unit command reception interrupt processing]
Next, the peripheral control unit command reception interrupt process for receiving various commands from the main control board 4100 will be described. The peripheral control MPU 4150a of the peripheral control unit 4150 shown in FIG. 7 starts the transmission of various commands from the main control board 4100 as serial data, and this causes the main peripheral serial data to be built into the peripheral control MPU 4150a. One byte (8 bits) of information is taken into the reception buffer at the board serial I / O port, and when this fetching is completed, an interrupt is generated as a trigger, and peripheral control unit command reception interrupt processing is performed. The main circumference serial data is composed of 3 bytes per packet, the status is assigned as the first byte, the mode is assigned as the second byte, and the status and mode are regarded as numerical values as the third byte and the total The sum value that is calculated is assigned.

周辺制御部コマンド受信割り込み処理が開始されると、周辺制御部4150の周辺制御MPU4150aは、図7に示すように、1バイト受信期間タイマがタイムアウトしたか否かを判定する(ステップS1200)。この1バイト受信期間タイマは、主制御基板4100から送信される主周シリアルデータのうち、1バイト(8ビット)の情報を受信し得る期間を設定するものである。   When the peripheral control unit command reception interrupt process is started, the peripheral control MPU 4150a of the peripheral control unit 4150 determines whether or not the 1-byte reception period timer has timed out as shown in FIG. 7 (step S1200). The 1-byte reception period timer sets a period during which 1-byte (8-bit) information can be received from the main peripheral serial data transmitted from the main control board 4100.

ステップS1200で1バイト受信期間タイマがタイムアウトしていないとき、つまり主制御基板4100から送信される主周シリアルデータのうち、1バイト(8ビット)の情報を受信し得る期間内であるときには、周辺制御MPU4150aの内蔵する主制御基板用シリアルI/Oポートの受信バッファから受信した1バイトの情報を取り込み(ステップS1202)、受信カウンタSRXCに値1を加える(インクリメントする、ステップS1204)。この受信カウンタSRXCは、受信バッファから取り出した回数を示すカウンタであり、主周シリアルデータの1バイト目であるステータスを受信バッファから取り出すと値1、主周シリアルデータの2バイト目であるモードを受信バッファから取り出すと値2、主周シリアルデータの3バイト目であるサム値を受信バッファから取り出すと値3となる。なお、受信カウンタSRXCは、電源投入時等に初期値0がセットされる。   When the 1-byte reception period timer has not timed out in step S1200, that is, when it is within a period in which 1-byte (8-bit) information can be received from the main peripheral serial data transmitted from the main control board 4100, the peripheral The 1-byte information received from the reception buffer of the main I / O port for the main control board built in the control MPU 4150a is fetched (step S1202), and the value 1 is added to the reception counter SRXC (increment, step S1204). This reception counter SRXC is a counter indicating the number of times the data has been extracted from the reception buffer. When the status, which is the first byte of the main peripheral serial data, is extracted from the reception buffer, the value is 1, and the mode is the second byte of the main peripheral serial data. The value is 2 when extracted from the reception buffer, and the value is 3 when the sum value, which is the third byte of the main serial data, is extracted from the reception buffer. The reception counter SRXC is set to an initial value 0 when the power is turned on.

ステップS1204に続いて、受信カウンタSRXCが値3であるか否か、つまり主周シリアルデータの3バイト目であるサム値を受信バッファから取り出したか否かを判定する(ステップS1206)。この判定では、主周シリアルデータの1バイト目であるステータスに続いて、主周シリアルデータの2バイト目であるモード、そして主周シリアルデータの3バイト目であるサム値を、順に受信バッファから取り出したか否かを判定している。   Subsequent to step S1204, it is determined whether or not the reception counter SRXC has a value of 3, that is, whether or not the sum value that is the third byte of the main peripheral serial data has been extracted from the reception buffer (step S1206). In this determination, following the status that is the first byte of the main peripheral serial data, the mode that is the second byte of the main peripheral serial data and the sum value that is the third byte of the main peripheral serial data are sequentially received from the reception buffer. It is determined whether or not it has been taken out.

ステップS1206で受信カウンタSRXCが値3でないとき、つまり主周シリアルデータの1バイト目であるステータスに続いて、まだ主周シリアルデータの2バイト目であるモード、そして主周シリアルデータの3バイト目であるサム値を、順に受信バッファから取り出していないときには、1バイト受信期間タイマのセットを行い(ステップS1208)、このルーチンを終了する。ステップS1208で1バイト受信期間タイマがセットされることで、主周シリアルデータの2バイト目であるモード又は主周シリアルデータの3バイト目であるサム値を受信し得る期間が設定される。   When the reception counter SRXC is not 3 in step S1206, that is, following the status that is the first byte of the main peripheral serial data, the mode that is still the second byte of the main peripheral serial data, and the third byte of the main peripheral serial data When the sum values are not sequentially taken out from the reception buffer, the 1-byte reception period timer is set (step S1208), and this routine is terminated. By setting the 1-byte reception period timer in step S1208, the mode that is the second byte of the main circumference serial data or the period during which the sum value that is the third byte of the main circumference serial data can be received is set.

一方、ステップS1206で受信カウンタSRXCが値3であるとき、つまり主周シリアルデータの1バイト目であるステータスに続いて、主周シリアルデータの2バイト目であるモード、そして主周シリアルデータの3バイト目であるサム値を、順に受信バッファから取り出したときには、受信カウンタSRXCに初期値0をセットし(ステップS1210)、サム値を算出する(ステップS1212)。この算出は、ステップS1202で受信バッファからすでに取り出した、主周シリアルデータの1バイト目であるステータスと、主周シリアルデータの2バイト目であるモードと、を数値とみなしてその合計(サム値)を算出する。   On the other hand, when the reception counter SRXC has a value of 3 in step S1206, that is, following the status that is the first byte of the main peripheral serial data, the mode that is the second byte of the main peripheral serial data, and the main peripheral serial data 3 When the sum value which is the byte is taken out from the reception buffer in order, the initial value 0 is set in the reception counter SRXC (step S1210), and the sum value is calculated (step S1212). In this calculation, the status that is the first byte of the main circumference serial data and the mode that is the second byte of the main circumference serial data, which have already been extracted from the reception buffer in step S1202, are regarded as numerical values and the sum (sum value). ) Is calculated.

ステップS1212に続いて、ステップS1202で受信バッファからすでに取り出した主周シリアルデータの3バイト目であるサム値と、ステップS1212で算出したサム値と、が一致しているか否かを判定する(ステップS1214)。ステップS1202で受信バッファからすでに取り出した主周シリアルデータの3バイト目であるサム値は、主制御基板4100からの主周シリアルデータのうち、主周シリアルデータの3バイト目として割り振られたサム値であるため、ステップS1212で算出したサム値と一致しているはずである。ところが、パチンコ遊技機1は、パチンコ島設備から遊技球が供給されており、遊技球は、互いにこすれ合って帯電すると、静電放電してノイズを発生するため、パチンコ遊技機1はノイズの影響を受けやすり環境下にある。そこで、本実施形態では、周辺制御部4150側において、受信した主周シリアルデータの1バイト目として割り振られたステータスと、主周シリアルデータの2バイト目として割り振られたモードと、を数値とみなしてその合計(サム値)を算出し、この算出したサム値が、主制御基板4100からの主周シリアルデータのうち、主周シリアルデータの3バイト目として割り振られたサム値と一致しているか否かを判定している。これにより、周辺制御MPU4150aは、主制御基板4100と周辺制御基板4140との基板間において、主周シリアルデータがノイズの影響を受けて正規と異なる主周シリアルデータに変化したか否かを判定することができる。   Subsequent to step S1212, it is determined whether or not the sum value, which is the third byte of the main serial data already extracted from the reception buffer in step S1202, matches the sum value calculated in step S1212 (step S1212). S1214). The sum value that is the third byte of the main circumference serial data already extracted from the reception buffer in step S1202 is the sum value allocated as the third byte of the main circumference serial data from the main circumference serial data from the main control board 4100. Therefore, it should match the sum value calculated in step S1212. However, the pachinko gaming machine 1 is supplied with game balls from the pachinko island facility, and when the game balls rub against each other and are charged, electrostatic discharge is generated to generate noise, so the pachinko gaming machine 1 is affected by noise. The environment is susceptible. Therefore, in this embodiment, the peripheral controller 4150 side regards the status assigned as the first byte of the received main circumference serial data and the mode assigned as the second byte of the main circumference serial data as numerical values. The sum (sum value) is calculated, and the calculated sum value matches the sum value allocated as the third byte of the main circumference serial data among the main circumference serial data from the main control board 4100. It is determined whether or not. As a result, the peripheral control MPU 4150a determines whether or not the main peripheral serial data is changed to the main peripheral serial data different from the normal due to the influence of noise between the main control board 4100 and the peripheral control board 4140. be able to.

ステップS1214で、ステップS1202で受信バッファからすでに取り出した主周シリアルデータの3バイト目であるサム値と、ステップS1212で算出したサム値と、が一致しているときには、受信した、主周シリアルデータの1バイト目として割り振られたステータスと、主周シリアルデータの2バイト目として割り振られたモードとを、図8に示した、周辺制御MPU4150aと外付けされる周辺制御RAM4150cの受信コマンド記憶領域4150cacに記憶し(ステップS1216)、このルーチンを終了する。この受信コマンド記憶領域4150cacは、リングバッファとして用いており、主周シリアルデータの1バイト目として割り振られたステータスと、主周シリアルデータの2バイト目として割り振られたモードとは、受信コマンド記憶領域4150cacの周辺制御部受信リングバッファに記憶される。この「周辺制御部受信リングバッファ」とは、バッファの最後と先頭が繋がっているように使われるバッファのことであり、バッファの先頭から順次データを記憶し、バッファの最後まできたら最初に戻って記憶する。なお、周辺制御MPU4150aは、ステップS1216で周辺制御部受信リングバッファに記憶する際に、受信した、主周シリアルデータの1バイト目として割り振られたステータスと、主周シリアルデータの2バイト目として割り振られたモードと、を対応付けて記憶しており、3バイト目として割り振られたサム値を破棄する。   In step S1214, if the sum value that is the third byte of the main circumference serial data already extracted from the reception buffer in step S1202 matches the sum value calculated in step S1212, the received main circumference serial data is received. 8 shows the status allocated as the first byte and the mode allocated as the second byte of the main peripheral serial data, as shown in FIG. (Step S1216), and this routine is terminated. The reception command storage area 4150cac is used as a ring buffer, and the status allocated as the first byte of the main circumference serial data and the mode allocated as the second byte of the main circumference serial data are: It is stored in the peripheral control unit reception ring buffer of 4150cac. This "peripheral control unit reception ring buffer" is a buffer that is used so that the end and the top of the buffer are connected. Data is sequentially stored from the beginning of the buffer, and when it reaches the end of the buffer, it returns to the beginning. Remember. When storing the peripheral control MPU 4150a in the peripheral control unit reception ring buffer in step S1216, the peripheral control MPU 4150a is allocated as the received status of the main peripheral serial data as the first byte and the main peripheral serial data as the second byte. Are stored in association with each other, and the sum value allocated as the third byte is discarded.

一方、ステップS1200で1バイト受信期間タイマがタイムアウトしていないとき、つまり主制御基板4100から送信される主周シリアルデータのうち、1バイト(8ビット)の情報を受信し得る期間を超えているときには、又はステップS1214で、ステップS1202で受信バッファからすでに取り出した主周シリアルデータの3バイト目であるサム値と、ステップS1212で算出したサム値と、が一致していないときには、そのままこのルーチンを終了する。   On the other hand, when the 1-byte reception period timer has not timed out in step S1200, that is, it exceeds the period in which 1-byte (8-bit) information can be received from the main peripheral serial data transmitted from the main control board 4100. Sometimes, or in step S1214, if the sum value that is the third byte of the main peripheral serial data already extracted from the reception buffer in step S1202 and the sum value calculated in step S1212 do not match, this routine is directly executed. finish.

[5−2.グラフックチップ(音源内蔵VDP)による処理]
次にグラフックチップ(音源内蔵VDP4160a)による処理について、適宜、図6及び図7を参照しながら説明する。一般的に、周辺制御基板4140は、主制御基板4100によって出力されたコマンドを受け取り、当該受け取ったコマンドに応じて、液晶表示装置1900に、特別図柄の変動時間に亘って装飾図柄を変動表示させた後、大当り抽選の結果に応じた装飾停止図柄を表示させる機能を有する。
[5-2. Processing by graphic chip (VDP with built-in sound source)]
Next, processing by the graphic chip (VDP 4160a with built-in sound source) will be described with reference to FIGS. 6 and 7 as appropriate. In general, the peripheral control board 4140 receives a command output from the main control board 4100, and causes the liquid crystal display device 1900 to display the decorative design in a variable manner over the change time of the special design in accordance with the received command. After that, it has a function of displaying a decoration stop symbol corresponding to the result of the big hit lottery.

[5−2−1.制御データ]
本実施形態では、液晶及び音制御部4160が、上述した画像データ(素材画像データ)を記憶可能な液晶及び音制御ROM4160b(映像データ記憶部)、音源内蔵VDP4160a、この音源内蔵VDP4160aを制御する周辺制御MPU4150a(制御部)及び音源内蔵VDP4160a内蔵のフレームバッファを備えている。さらにこの液晶及び音制御ROM4160bには、複数の非映像演出実行部を各々特定の態様で制御するための属性情報が含められた複数の制御データが予め記憶されている。
[5-2-1. Control data]
In this embodiment, the liquid crystal and sound control unit 4160 can store the above-described image data (material image data), the liquid crystal and sound control ROM 4160b (video data storage unit), the sound source built-in VDP 4160a, and the peripheral for controlling the sound source built-in VDP 4160a. A control MPU 4150a (control unit) and a frame buffer with a built-in sound source VDP 4160a are provided. Further, the liquid crystal and sound control ROM 4160b stores in advance a plurality of control data including attribute information for controlling each of the plurality of non-video effect execution units in a specific manner.

図19(A)は、上述したように液晶及び音制御ROM4160bに予め用意されている制御データ列2635A,2635B,2635Cの格納状態の一例を示す図である。液晶及び音制御ROM4160bには、フレームの表示順を規定する映像表示用のスケジュールデータとは別途、これら制御データ列2635A,2635B,2635Cを含むスケジュールデータ(後述する非映像用スケジュールデータに対応)が格納されている。制御データ列2635A,2635B,2635Cは、それぞれ、この液晶及び音制御ROM4160bにおいて次のような具体的な圧縮方法を用いて圧縮された状態で予め格納されており、後述する伸張方法を用いて音源内蔵VDP4160aによって読み出される際に伸張される。   FIG. 19A is a diagram showing an example of the storage state of the control data strings 2635A, 2635B, and 2635C prepared in advance in the liquid crystal and sound control ROM 4160b as described above. In the liquid crystal and sound control ROM 4160b, schedule data (corresponding to schedule data for non-video to be described later) including these control data strings 2635A, 2635B, and 2635C is provided separately from the schedule data for video display that defines the display order of frames. Stored. Control data strings 2635A, 2635B, and 2635C are stored in advance in the liquid crystal and sound control ROM 4160b in a compressed state using the following specific compression method. It is decompressed when read by the built-in VDP 4160a.

制御データ列2635A,2635B,2635Cは、これらを1つの組み合わせとしてフレームごとに、例えば演出時間tに沿って時系列に配列された状態で格納されている。本実施形態では、このように演出時間tに沿って時系列に配列された状態の制御データ列2635A,2635B,2635Cの集合体を「非映像用スケジュールデータ」とも総称している。これら制御データ列2635A,2635B,2635Cは互いに同一のデータサイズであるため、音源内蔵VDP4160aは、制御データ列2635Aの先頭アドレスを指定すると、残りの制御データ列2635B,2632Cの格納位置を容易に特定することができる。   The control data strings 2635A, 2635B, and 2635C are stored as a single combination for each frame, for example, in a state of being arranged in time series along the rendering time t. In this embodiment, the aggregate of the control data sequences 2635A, 2635B, and 2635C arranged in time series along the production time t is also collectively referred to as “non-video schedule data”. Since these control data strings 2635A, 2635B, and 2635C have the same data size, when the head address of the control data string 2635A is designated, the built-in sound source VDP 4160a easily specifies the storage positions of the remaining control data strings 2635B and 2632C. can do.

図19(B)は、図19(A)に示す制御データ列2635Aの詳細を示すデータフォーマットの一例を示している。制御データ列2635Aは、図19(B)に示すように、例えば2ビットの種別コード、各24ビット(3バイト)の第1制御データ、第2制御データ、第3制御データ、・・・、第100制御データを含んでいる。   FIG. 19B illustrates an example of a data format indicating details of the control data string 2635A illustrated in FIG. As shown in FIG. 19B, the control data string 2635A includes, for example, a 2-bit type code, 24-bit (3-byte) first control data, second control data, third control data,. 100th control data is included.

上述した2ビットの種別コードとしては、例えば、ランプ或いはLEDを用いた光出力制御用には「00」が設定されており、スピーカーを用いた音制御用には「01」が設定されており、モータを用いた役物制御用には「10」が設定されている。   As the above-described 2-bit type code, for example, “00” is set for light output control using a lamp or LED, and “01” is set for sound control using a speaker. “10” is set for the accessory control using the motor.

一方、種別コードが「00(光出力制御)」である場合には、24ビットの制御データとしては、例えば、各画素の光の輝度、デューティ比などを規定するための属性情報であることを挙げることができる。具体的には、各制御データは、例えば制御対象がLEDである場合には、光の三原色に応じて赤色(8ビット:1バイト)、緑色(8ビット:1バイト)及び青色(8ビット:1バイト)の3個の画素で構成される1ドットを特定の態様の光として出力させるためのデータである。即ち、各制御データは、対応する各LEDを所望の態様、例えば輝度、デューティ比の態様で駆動するための属性情報として用いられる。   On the other hand, when the type code is “00 (light output control)”, the 24-bit control data is, for example, attribute information for defining the light luminance, the duty ratio, etc. of each pixel. Can be mentioned. Specifically, for example, when the control target is an LED, each control data is red (8 bits: 1 byte), green (8 bits: 1 byte), and blue (8 bits: 8 bits: depending on the three primary colors of light. 1 dot) is data for outputting one dot composed of three pixels as light of a specific mode. That is, each control data is used as attribute information for driving each corresponding LED in a desired mode, for example, a mode of luminance and duty ratio.

種別コードが「01(音出力制御)」である場合には、24ビットの制御データには、例えば、可聴範囲(約20〜20000Hz)を網羅する音の周波数を指定するための16ビットの周波数指定部と、音の振幅の大きさを256段階で指定するための8ビットの振幅指定部とが含まれている。   When the type code is “01 (sound output control)”, the 24-bit control data includes, for example, a 16-bit frequency for designating sound frequencies covering the audible range (approximately 20 to 20000 Hz). A designation portion and an 8-bit amplitude designation portion for designating the amplitude of sound in 256 levels are included.

種別コードが「10(モータ制御)」である場合には、24ビットの制御データとしては、例えば、制御対象のモータが4相のステッピングモータであれば、6ビットごとの4つの値に応じた通電時間に亘る励磁電流を各相に与えている。   When the type code is “10 (motor control)”, as the 24-bit control data, for example, if the motor to be controlled is a four-phase stepping motor, it corresponds to four values for every 6 bits. Excitation current over energization time is given to each phase.

ここで、上述した図7においては、液晶及び音制御部4160が周辺制御部4150から独立した構成を採用しているが、この液晶及び音制御部4160の機能は、周辺制御基板4140(演出制御部)に搭載されている構成であってもよい。   Here, in FIG. 7 described above, the liquid crystal and sound control unit 4160 employs a configuration independent of the peripheral control unit 4150. The function of the liquid crystal and sound control unit 4160 is the peripheral control board 4140 (effect control). Part).

この周辺制御基板4140では、周辺制御ROM4150bに、予め対応管理テーブル2611が格納されている。この対応管理テーブル2611は、周辺制御基板4140の周辺制御MPU4150aのみならず、音源内蔵VDP4160aからも参照することができる。なお、この対応管理テーブル2611は、液晶及び音制御部4160の周辺制御MPU4150aの内蔵ROMに格納されている構成であってもよい。   In the peripheral control board 4140, a correspondence management table 2611 is stored in advance in the peripheral control ROM 4150b. This correspondence management table 2611 can be referenced not only from the peripheral control MPU 4150a of the peripheral control board 4140 but also from the built-in sound source VDP 4160a. The correspondence management table 2611 may be stored in the built-in ROM of the peripheral control MPU 4150a of the liquid crystal and sound control unit 4160.

音源内蔵VDP4160a(演出映像形成部)は、映像表示用スケジュールデータに従った順序で、液晶及び音制御ROM4160bから読み出した素材画像データを用いてフレームの表示に用いるフレームデータを生成する一方、この液晶及び音制御ROM4160bから読み出した複数の制御データ列に含まれる複数の制御に基づいて後述するように複数の画素データを生成する。   The sound source built-in VDP 4160a (production image forming unit) generates frame data used for frame display using the material image data read from the liquid crystal and the sound control ROM 4160b in the order according to the video display schedule data. In addition, a plurality of pixel data are generated as described later based on a plurality of controls included in a plurality of control data strings read from the sound control ROM 4160b.

図20は、フレームバッファの記憶領域の構成例を示している。フレームバッファは、図20に示すように表示領域内記憶領域2631及び表示領域外記憶領域2632を備えている。表示領域内記憶領域2631は、音源内蔵VDP4160aによって生成されたフレームデータを記憶するための記憶領域である。一方、表示領域外記憶領域2632は、音源内蔵VDP4160aによって生成された複数の画素データを各々記憶するための記憶領域である。また、この表示領域外記憶領域2632は、複数の非映像演出実行部の数に相当する特定個数分の画素領域が形成されている。   FIG. 20 shows a configuration example of the storage area of the frame buffer. As shown in FIG. 20, the frame buffer includes a display area storage area 2631 and a display area storage area 2632. The display area storage area 2631 is a storage area for storing the frame data generated by the sound source built-in VDP 4160a. On the other hand, the storage area outside display area 2632 is a storage area for storing a plurality of pixel data generated by the sound source built-in VDP 4160a. In addition, the storage area outside display area 2632 includes a specific number of pixel areas corresponding to the number of non-video effect execution units.

表示領域外記憶領域2632には、例えば、非映像演出実行部の種類の数(本実施形態では、例えば、ランプ或いはLED、スピーカー及びモータの3種類)をそれぞれ特定の態様で制御するための制御データ列2635A,2635B,2635Cを記憶するための記憶領域が形成されている。本実施形態においては、例えば、制御データ列2635Aがランプ或いはLEDの制御用であり、制御データ列2635Bがスピーカーの制御用であり、制御データ列2635Cがモータ用に設定されている。   In the storage area 2632 outside the display area, for example, control for controlling the number of types of non-video effect execution units (in this embodiment, for example, three types of lamps, LEDs, speakers, and motors) in a specific manner. Storage areas for storing data strings 2635A, 2635B, and 2635C are formed. In this embodiment, for example, the control data string 2635A is used for lamp or LED control, the control data string 2635B is used for speaker control, and the control data string 2635C is set for a motor.

制御データ列2635Aには、ランプ或いはLED群を制御するための制御データが記憶され、制御データ列2635Bには、スピーカーを制御するための制御データが記憶され、制御データ列2635Cには、スピーカーを制御するための制御データが記憶される。   Control data string 2635A stores control data for controlling the lamp or LED group, control data string 2635B stores control data for controlling the speaker, and control data string 2635C stores the speaker. Control data for controlling is stored.

図21は、対応管理テーブル2611の内容の一例を示す図である。この対応管理テーブル2611は、例えば、液晶及び音制御部4160の周辺制御MPU4150aの内蔵ROMに予め格納されている。音源内蔵VDP4160aは、上述のように生成したフレームデータを表示領域内記憶領域2631に格納させる一方、生成した各画素データを、対応管理テーブル2611に基づいて特定される表示領域外記憶領域2632における各画素領域に格納させる。   FIG. 21 is a diagram showing an example of the contents of the correspondence management table 2611. As shown in FIG. This correspondence management table 2611 is stored in advance in the built-in ROM of the peripheral control MPU 4150a of the liquid crystal and sound control unit 4160, for example. The sound source built-in VDP 4160a stores the generated frame data in the display area storage area 2631 while the generated pixel data is stored in the storage area 2632 outside the display area specified based on the correspondence management table 2611. Store in the pixel area.

この対応管理テーブル2611では、種別コードによって、上述した非映像演出実行部の種類を区別して管理している。また本実施形態では、同一種類の非映像演出実行部が複数設けられている構成であるため、当該同一種類の複数の非映像演出実行部は、それぞれ独立した系統として系統番号が付されて管理されている。   In the correspondence management table 2611, the type of the non-video effect execution unit described above is distinguished and managed by the type code. In the present embodiment, since a plurality of non-video effect execution units of the same type are provided, the plurality of non-video effect execution units of the same type are each managed with a system number as an independent system. Has been.

本実施形態では、例えば種別コード「00」に対応するランプ或いはLEDであれば100個搭載されているため、100系統存在していることになり、対応管理テーブル2611では、当該同一種類の複数の非映像演出実行部には、「1」〜「100」という系統番号が付されている。これら各系統番号に対応する各画素領域の画素領域番号は、「A−1」〜「A−100」となっている。これらの画素領域番号は、図20に示す各画素領域番号A−1〜A−100と対応している。   In the present embodiment, for example, since 100 lamps or LEDs corresponding to the type code “00” are mounted, there are 100 systems. In the correspondence management table 2611, a plurality of the same type System numbers of “1” to “100” are assigned to the non-video effect execution unit. The pixel area numbers of the pixel areas corresponding to these system numbers are “A-1” to “A-100”. These pixel area numbers correspond to the pixel area numbers A-1 to A-100 shown in FIG.

種別コード「01」に対応するスピーカーであれば4個搭載されているため、4系統存在していることになり、対応管理テーブル2611では、当該同一種類の複数の非映像演出実行部には、「1」〜「4」という系統番号が付されている。これら系統番号に対応する各画素領域の画素領域番号は、「B−1」〜「B−4」となっている。ここで、画素領域番号「B−5」から「B−100」に対応する各画素領域は、制御対象となるスピーカーが存在しないため、使用されないことになるが、この場合には、スピーカーを作動させないようにするためのデータを格納している。なお、これらの画素領域番号は、図20に示す各画素領域番号B−1〜B−100と対応している。   Since there are four speakers corresponding to the type code “01”, there are four systems. In the correspondence management table 2611, the plurality of non-video effect execution units of the same type include: System numbers “1” to “4” are assigned. The pixel area numbers of the respective pixel areas corresponding to these system numbers are “B-1” to “B-4”. Here, the pixel areas corresponding to the pixel area numbers “B-5” to “B-100” are not used because there is no speaker to be controlled. In this case, the speaker is activated. Stores data to prevent this from happening. These pixel area numbers correspond to the pixel area numbers B-1 to B-100 shown in FIG.

種別コード「10」に対応するモータであれば30個搭載されているため、30系統存在していることになり、対応管理テーブル2611では、当該同一種類の複数の非映像演出実行部には、「1」〜「30」という系統番号が付されている。これら系統番号に対応する各画素領域の画素領域番号は、「C−1」〜「C−30」となっている。ここで、画素領域番号「C−31」〜「C−100」に対応する各画素領域は、制御対象となるモータが存在しないため、使用されないことになるが、この場合には、モータの各相に励磁を掛けないようにするためのデータを格納している。なお、これらの画素領域番号は、図20に示す各画素領域番号C−1〜C−100と対応している。   Since 30 motors corresponding to the type code “10” are mounted, there are 30 systems, and the correspondence management table 2611 includes a plurality of non-video effect execution units of the same type. System numbers “1” to “30” are assigned. The pixel area numbers of the respective pixel areas corresponding to these system numbers are “C-1” to “C-30”. Here, the pixel areas corresponding to the pixel area numbers “C-31” to “C-100” are not used because there is no motor to be controlled. In this case, each of the motor areas Stores data to prevent excitation of phases. These pixel area numbers correspond to the pixel area numbers C-1 to C-100 shown in FIG.

[5−2−2.制御データ抽出処理]
図22は、制御データ抽出処理の一例を示すフローチャートである。制御データ抽出処理では、液晶及び音制御部4160の音源内蔵VDP4160aが、制御データ列2635A,2635B,2635Cから種別コードごとに各制御データを抽出する。音源内蔵VDP4160aは、約33msごとに実行するタイマ割り込み処理の一部として、通常の表示データ作成処理(S1030)液晶表示制御処理とともに、この制御データ抽出処理を実行している。
[5-2-2. Control data extraction process]
FIG. 22 is a flowchart illustrating an example of the control data extraction process. In the control data extraction process, the sound source built-in VDP 4160a of the liquid crystal and sound control unit 4160 extracts each control data for each type code from the control data sequence 2635A, 2635B, 2635C. The sound source built-in VDP 4160a executes this control data extraction process together with the normal display data creation process (S1030) liquid crystal display control process as part of the timer interrupt process executed approximately every 33 ms.

まず、音源内蔵VDP4160aは、周辺制御基板4140からの抽出指示コマンドが図示しないコマンドバッファに格納されているか否かを確認する(ステップS1301)。音源内蔵VDP4160aは、コマンドバッファに抽出指示コマンドが格納されていなければ制御データ抽出処理を終了し、上述したタイマ割り込み処理の続きを実行する。   First, the sound source built-in VDP 4160a checks whether or not an extraction instruction command from the peripheral control board 4140 is stored in a command buffer (not shown) (step S1301). If no extraction instruction command is stored in the command buffer, the built-in tone generator VDP 4160a ends the control data extraction process and executes the above-described timer interrupt process.

一方、音源内蔵VDP4160aは、コマンドバッファに抽出指示コマンドが格納されている場合には、複数の非映像演出実行部の種類数の変数としての種別種類数変数mを初期化して「0」と設定する(ステップS1302)。   On the other hand, when the extraction instruction command is stored in the command buffer, the built-in sound source VDP 4160a initializes the type number variable m as the variable of the number of types of the plurality of non-video effect execution units and sets it to “0”. (Step S1302).

次に音源内蔵VDP4160aは、フレームバッファの表示領域内記憶領域2631から1フレーム分の描画データ(映像演出データに相当)を読み出した際に、同時に併せて、同一フレームに対応する表示領域外記憶領域2632の複数の画素領域から各々複数の画素データ(非映像演出データに相当)を含む全ての制御データ列2635A,2635B.2835Cを抽出する(ステップS1303)。   Next, when the sound source built-in VDP 4160a reads the drawing data (corresponding to the video effect data) for one frame from the storage area 2631 in the display area of the frame buffer, the storage area outside the display area corresponding to the same frame at the same time. All the control data strings 2635A, 2635B,. 2835C is extracted (step S1303).

まず、音源内蔵VDP4160aは、現在の種別種類数変数m(ここでは「0」)に「1」を加算し(ステップS1304)、種別種類数変数mを「1」とする。次に音源内蔵VDP4160aは、同一フレームにおけるm個目(ここでは1つめ)の制御データ列2635Aの種別を取得する(ステップS1305)。その後、音源内蔵VDP4160aは、この制御データ列2635Aの100個分の各制御データを抽出し(ステップS1306)、先頭の制御データ(第1系統)から最後の制御データ(第100系統)に至るまで、それぞれ系統番号として「1」〜「100」を割り当てる。   First, the sound source built-in VDP 4160a adds “1” to the current type number variable m (here “0”) (step S1304), and sets the type type variable m to “1”. Next, the sound source built-in VDP 4160a acquires the type of the m-th (here, the first) control data string 2635A in the same frame (step S1305). After that, the sound source built-in VDP 4160a extracts 100 pieces of control data of the control data string 2635A (step S1306), from the first control data (first system) to the last control data (100th system). , “1” to “100” are assigned as system numbers.

次に音源内蔵VDP4160aは、対応管理テーブル2611を参照し、当該制御データ列2635Aに関する各系統に対応する各画素領域番号を特定する。ここで、本実施形態では、フレームバッファの表示対象外記憶領域2632には、図20に示すように、制御データ列2635A用として、各画素領域A−1〜A−100が形成されており、制御データ列2635B用として、各画素領域B−1〜B−100が形成されており、制御データ列2635C用として、各画素領域C−1〜C−100が形成されている。従って、音源内蔵VDP4160aは、当該制御データ列2635Aに関し、各系統「1」〜「100」に対応する各画素領域番号として、A−1〜A−100を特定することができる。最後に、音源内蔵VDP4160aは、各系統の各制御データを各画素領域A−1〜A−100に格納する(ステップS1308)。   Next, the built-in sound source VDP 4160a refers to the correspondence management table 2611 and identifies each pixel area number corresponding to each system related to the control data string 2635A. Here, in the present embodiment, as shown in FIG. 20, each of the pixel areas A-1 to A-100 is formed for the control data string 2635A in the non-display target storage area 2632 of the frame buffer. The pixel areas B-1 to B-100 are formed for the control data string 2635B, and the pixel areas C-1 to C-100 are formed for the control data string 2635C. Therefore, the sound source built-in VDP 4160a can specify A-1 to A-100 as the pixel area numbers corresponding to the systems “1” to “100” with respect to the control data string 2635A. Finally, the sound source built-in VDP 4160a stores each control data of each system in each pixel area A-1 to A-100 (step S1308).

次に音源内蔵VDP4160aは、種別種類数変数mが3以上であるかを判断する(ステップS1309)。なお、このように種別種類数が3以上であるか否かを確認しているのは、本実施形態では、複数の非映像演出実行部の種類が、ランプ或いはLED、スピーカー及びモータの3種類であるものと設定しているためである。音源内蔵VDP4160aは、種別種類数変数mが3以上である場合には制御データ抽出処理を終了する一方、種別種類数変数mが3以上でない場合には上述したステップS1305〜ステップS1309を繰り返し、制御データ列2635B,2635Cについても同様に、各系統の各制御データを対応する各画素領域B−1〜B−100及び各画素領域C−1〜C−100に格納させる。   Next, the built-in sound source VDP 4160a determines whether the type number variable m is 3 or more (step S1309). In this embodiment, whether or not the number of types is 3 or more is confirmed in this embodiment in that the types of the plurality of non-video effect execution units are three types of lamps, LEDs, speakers, and motors. This is because it is set to be. The built-in sound source VDP 4160a ends the control data extraction process when the type / type number variable m is 3 or more, and repeats the above-described steps S1305 to S1309 when the type / type number variable m is not 3 or more. Similarly, in the data strings 2635B and 2635C, the control data of each system is stored in the corresponding pixel areas B-1 to B-100 and the pixel areas C-1 to C-100.

以上のように、音源内蔵VDP4160aは、同一フレームにおける各制御データの各画素領域への格納が完了し、制御パターンの合成が終了すると、種別コードに対応付けて各画素領域の各制御データを周辺制御基板4140の周辺制御MPU4150aに転送し、その周辺制御MPU4150aが内蔵するRAMの特定領域に格納する。   As described above, the built-in sound source VDP 4160a completes the storage of each control data in each pixel area in the same frame and completes the control pattern synthesis by associating each control data in each pixel area with the type code. The data is transferred to the peripheral control MPU 4150a of the control board 4140 and stored in a specific area of the RAM built in the peripheral control MPU 4150a.

[5−2−3.演出制御処理]
この演出制御処理は、周辺制御基板4140の周辺制御MPU4150aによって2msごとのタイマ割り込み処理の一部として実行される処理である。
[5-2-3. Production control processing]
This effect control process is a process executed as a part of the timer interruption process every 2 ms by the peripheral control MPU 4150a of the peripheral control board 4140.

まず、周辺制御MPU4150aが、現在、演出代行モードであるか否かを判断する。次に周辺制御MPU4150aが、現在、演出代行モードではないと判断した場合には演出制御処理を終了する一方、現在、演出代行モードである場合、内蔵するRAMの特定領域から種別コードごとに各制御データを全系統数分取得する(取得手段)。   First, the peripheral control MPU 4150a determines whether or not it is currently in the production proxy mode. Next, if the peripheral control MPU 4150a determines that it is not currently in the production proxy mode, it ends the production control process. On the other hand, if it is currently in the production substitution mode, each control is performed for each type code from the specific area of the built-in RAM. Acquire data for the number of all systems (acquisition means).

次に周辺制御MPU4150aが、各制御データに対応する種別コードを参照し、この種別コードごとに対応する制御対象としての非映像演出実行部を特定する(制御手段)。   Next, the peripheral control MPU 4150a refers to a type code corresponding to each control data, and specifies a non-video effect execution unit as a control target corresponding to each type code (control unit).

次に周辺制御MPU4150aが、シリアル入出力ポートを経由して、上述のように特定された各系統の扉枠装飾ランプ2624及びLED2020,2122,2124(複数の非映像演出実行部)の少なくとも一方に対して、ランプ駆動基板コマンドの代わりに、対応する各制御データを出力することにより、各制御データに含まれる属性情報に基づく各特定の態様で扉枠装飾ランプ2624及びLED2020,2122,2124の少なくとも一方を駆動する(制御手段)。   Next, the peripheral control MPU 4150a passes through the serial input / output port to at least one of the door frame decoration lamp 2624 and the LEDs 2020, 2122, and 2124 (a plurality of non-video effect execution units) of each system specified as described above. On the other hand, by outputting each corresponding control data instead of the lamp driving board command, at least one of the door frame decoration lamp 2624 and the LEDs 2020, 2122, and 2124 in each specific mode based on the attribute information included in each control data. One is driven (control means).

同時に周辺制御MPU4150aは、音源内蔵VDP4160aの制御レジスタに、音出力用のコマンドの代わりに、対応する各制御データを出力して書き込むことにより、音源内蔵VDP4160aに、各制御データに含まれる属性情報に基づく各特定の態様で各系統のスピーカーを駆動させる(制御手段)。   At the same time, the peripheral control MPU 4150a outputs the corresponding control data to the control register of the sound source built-in VDP 4160a instead of the sound output command, and writes it to the sound source built-in VDP 4160a in the attribute information included in each control data. The speaker of each system is driven in each specific mode based on (control means).

またステップS1204では、周辺制御基板4140の周辺制御MPU4150aが、シリアル入出力ポートを介してモータ駆動基板4180に、所定のモータ駆動コマンドの代わりに、各制御データを出力することにより、各制御データに含まれる属性情報に基づく各特定の態様で、扉右下駆動モータ272などのモータを駆動する(制御手段)。   In step S1204, the peripheral control MPU 4150a of the peripheral control board 4140 outputs each control data to the motor drive board 4180 via the serial input / output port in place of a predetermined motor drive command, thereby converting the control data into each control data. A motor such as the door lower right drive motor 272 is driven in each specific mode based on the included attribute information (control means).

このようにすると、音源内蔵VDP4160aは、本来は周辺制御MPU4150aが生成するはずであった制御パターンを、その周辺制御MPU4150aの代わりに生成し、フレームバッファにおける表示領域外記憶領域2632の各画素領域に格納している。ここで、音源内蔵VDP4160aとしては、特に意識することなく、描画処理において通常のフレームデータ(映像演出データに相当)を生成する際に、併せて同時に、少なくとも1つの制御データ(非映像演出データに相当)を含む制御パターンを生成している。   In this way, the built-in sound source VDP 4160a generates a control pattern that should have been generated by the peripheral control MPU 4150a instead of the peripheral control MPU 4150a, and stores it in each pixel area of the storage area outside display area 2632 in the frame buffer. Storing. Here, the sound source built-in VDP 4160a is not particularly conscious, and when generating normal frame data (corresponding to the video effect data) in the drawing process, at the same time, at least one control data (non-video effect data). The control pattern including the equivalent) is generated.

即ち、音源内蔵VDP4160aは、余力を利用して、あたかも単なる描画処理の一部として制御パターンを生成することができるため、本来この制御パターンを生成すべきであった周辺制御MPU4150aによる制御パターンの生成処理を省略することもできる。このため、周辺制御MPU4150aは、この制御パターンを生成するための処理分の負担が軽減されるようになる。従って、周辺制御基板4140では、周辺制御MPU4150aが、大幅に処理負担が軽減された分、その他の処理にリソースを回すことができるため、より多彩な演出を実現することができる。   That is, since the sound source built-in VDP 4160a can generate a control pattern as if it is a simple drawing process by using the remaining power, the control pattern generation by the peripheral control MPU 4150a that should originally have generated this control pattern. Processing can be omitted. For this reason, the peripheral control MPU 4150a reduces the processing load for generating this control pattern. Therefore, in the peripheral control board 4140, since the peripheral control MPU 4150a can devote resources to other processes as much as the processing load is greatly reduced, more various effects can be realized.

しかも、音源内蔵VDP4160aは、フレームバッファに、同一フレームを表示する際に用いるフレームごとの描画データ(映像演出データに相当)を展開するのと同時に、当該同一フレームにおける装飾用ランプ或いはLEDによる光の出力制御、スピーカーによる音の出力制御及びセンター移動用モータ2214等の駆動制御のための各制御データを含む制御パターンをまとめて展開するため、これらの同期制御を行う際に特別な仕組みが必要とならず、従来のようにそれぞれ同期制御するための仕組みを組み込まなければならない場合に比べて、パチンコ遊技機1の開発期間の短縮を図ることができる。   Moreover, the VDP 4160a with built-in sound source develops drawing data (corresponding to video effect data) for each frame used when displaying the same frame in the frame buffer, and at the same time, transmits the light from the decoration lamp or LED in the same frame. Since a control pattern including each control data for output control, sound output control by a speaker, and drive control for the center moving motor 2214 and the like is developed together, a special mechanism is required when performing these synchronous controls. Rather, the development period of the pachinko gaming machine 1 can be shortened compared to the case where a mechanism for synchronous control must be incorporated as in the prior art.

[5−2−4.制御データの圧縮方法]
ところで、従来の遊技機では、遊技の進行に応じて、多数の素材画像を含む多彩な映像を表示させたり、ランプやスピーカを用いて光や音を出力して多彩な演出を実行することにより、遊技者の興味が尽きにくくすることがなされている(上記参考文献1参照)。近年、そのような様々な演出動作を制御するために用いる演出制御データのデータサイズが大きくなってきており、いわゆるキャラクタROMなどの不揮発性メモリの容量が圧迫されてきている。
[5-2-4. Control data compression method]
By the way, in the conventional gaming machine, as the game progresses, a variety of images including a large number of material images are displayed, or light and sound are output using a lamp or a speaker to execute various effects. The player's interest is hardly exhausted (see Reference 1 above). In recent years, the data size of presentation control data used for controlling such various presentation operations has been increasing, and the capacity of a non-volatile memory such as a so-called character ROM has been under pressure.

そこで本実施形態では、規則的な演出動作を制御するための演出制御データのデータ容量を大幅に削減することを目的とし、後述のような構成を採用している。まず、上述した制御データ列2635A,2635B,2635Cのうちの少なくとも制御データ列2635B(光出力制御データ)は、少なくとも1つのランプ又はLED(以下「ランプ」を例示する)に出力させるべき光の出力態様を表す出力態様情報が経過時間に沿って少なくとも3つ繰り返し設定されている。この出力態様情報は、各フレームにおいて同期するこれら制御データ列2635A,2635B,2635Cの少なくとも1つに対応し、本実施形態では、例えば制御データ列2635Bを挙げて説明する。なお、本実施形態は、上記制御データ列2635A,2635Cに関しても制御データ列2635Bと同様な説明を構成であり、以下のように処理されるようにしても同様の効果を挙げることができる。   In view of this, the present embodiment employs a configuration as described later for the purpose of greatly reducing the data capacity of presentation control data for controlling regular presentation operations. First, at least the control data sequence 2635B (light output control data) of the control data sequences 2635A, 2635B, and 2635C described above is an output of light to be output to at least one lamp or LED (hereinafter, “lamp” is exemplified). Output mode information representing a mode is set repeatedly at least three times along the elapsed time. This output mode information corresponds to at least one of the control data strings 2635A, 2635B, and 2635C synchronized in each frame. In the present embodiment, for example, the control data string 2635B will be described. In this embodiment, the control data strings 2635A and 2635C have the same description as that of the control data string 2635B, and the same effect can be obtained even if they are processed as follows.

そのような構成の制御データ列2635B(光出力制御データ)は周辺制御ROM4150b(演出制御記憶手段)に予め格納されているが、この周辺制御ROM4150bにおいては、制御データ列2635Bが、上記少なくとも3つの出力態様情報のうち時間的に連続する出力態様情報同士の差分の「規則性」を利用して、これら少なくとも3つの出力態様情報が圧縮された状態でデータサイズが元々の制御データ列2635Bのデータサイズよりも小さくした態様とされている。以下、まず、制御データ列2635Bの内容の具体例について説明する。   The control data sequence 2635B (light output control data) having such a configuration is stored in advance in the peripheral control ROM 4150b (production control storage means). Using the “regularity” of the difference between temporally continuous output mode information among the output mode information, the data of the control data string 2635B with the original data size in a state where these at least three output mode information are compressed It is the aspect made smaller than the size. Hereinafter, first, a specific example of the contents of the control data string 2635B will be described.

まず、本実施形態では、上述のように制御データ列2635Bが24ビットであるとともにランプが100系統(100個)であるとする代わりに、簡素化して、例えば制御データ列2635Bが3ビットであるとともにランプが5系統(5個)であるものとして説明する。   First, in the present embodiment, instead of assuming that the control data string 2635B is 24 bits and the lamps are 100 systems (100) as described above, for example, the control data string 2635B is 3 bits. A description will be given assuming that there are five lamps (five).

本実施形態においては、例えば5個のランプを用いたある特定の演出を制御するための制御データとしての制御データ列2635Bに基づく当該5個のランプによる光の出力態様が、それぞれ、各フレームが予め定められた周期ごとに表示される度に一定の割合で均等に変化する(本実施形態では、ランプによる光の出力が徐々に低下して暗くなる)演出態様を想定している。   In the present embodiment, for example, the light output mode of the five lamps based on the control data string 2635B as control data for controlling a specific effect using five lamps, An effect mode is assumed that changes evenly at a constant rate each time a predetermined period is displayed (in this embodiment, the light output from the lamp gradually decreases and darkens).

例えば、図23に示す制御データ列2635B(種別コード2633は省略)は、第N−1フレーム、第Nフレーム及び第N+1フレームにおいてそれぞれ、第1制御データ〜第5制御データ(1つの出力態様情報に相当)を含んでいるものとする。各フレームごとの第1制御データから第5制御データは、それぞれ、各フレームが表示される際における5種類のランプの出力態様を規定している。例えば、図23は、第N−1フレームが表示される際に併せて、5個のランプから出力されるべき光の出力態様を規定する制御データ列2635B(1つの出力態様情報に対応)を表している。   For example, the control data sequence 2635B (type code 2633 is omitted) shown in FIG. 23 includes first control data to fifth control data (one output mode information) in the (N−1) th frame, the Nth frame, and the (N + 1) th frame, respectively. Equivalent). The first control data to the fifth control data for each frame define output modes of five types of lamps when each frame is displayed. For example, FIG. 23 shows a control data string 2635B (corresponding to one output mode information) that defines the output mode of light to be output from the five lamps when the N-1th frame is displayed. Represents.

図示の第N−1フレームにおいては、制御データ列2635Bが、例えば3ビットで表した場合に、「111(輝度7)」という第1制御データと、「110(輝度6)」という第2の制御データと、「100(輝度4)」という第3制御データと、「101(輝度5)」という第4制御データと、「011(輝度3)」という第5制御データという5種類の制御データを含んでいる。第1制御データは、5個のランプのうち第1のランプによる光の出力態様が規定されており、第2制御データは、5個のランプのうち第2のランプによる光の出力態様が規定されており、第3制御データは、5個のランプのうち第3のランプによる光の出力態様が規定されており、第4制御データは、5個のランプのうち第4のランプによる光の出力態様が規定されており、第5制御データは、5個のランプのうち第5のランプによる光の出力態様が規定されている。   In the illustrated (N-1) th frame, when the control data string 2635B is represented by 3 bits, for example, the first control data “111 (luminance 7)” and the second control data “110 (luminance 6)” are displayed. Control data, third control data “100 (luminance 4)”, fourth control data “101 (luminance 5)”, and fifth control data “011 (luminance 3)” Is included. The first control data defines the light output mode by the first lamp among the five lamps, and the second control data defines the light output mode by the second lamp among the five lamps. In the third control data, the light output mode by the third lamp among the five lamps is defined, and the fourth control data is the light output by the fourth lamp among the five lamps. The output mode is defined, and the fifth control data defines the light output mode of the fifth lamp among the five lamps.

図示の第Nフレームにおいては、制御データ列2635Bが、例えば3ビットで表した場合に、「110(輝度6:輝度の差分「−1」)」という第1制御データと、「101(輝度5:輝度の差分「−1」)」という第2の制御データと、「011(輝度3)」という第3制御データと、「100(輝度4:輝度の差分「−1」)」という第4制御データと、「010(輝度2:輝度の差分「−1」)」という第5制御データという5種類の制御データを含んでいる。第1制御データは、5個のランプのうち第1のランプによる光の出力態様が規定されており、第2制御データは、5個のランプのうち第2のランプによる光の出力態様が規定されており、第3制御データは、5個のランプのうち第3のランプによる光の出力態様が規定されており、第4制御データは、5個のランプのうち第4のランプによる光の出力態様が規定されており、第5制御データは、5個のランプのうち第5のランプによる光の出力態様が規定されている。   In the illustrated Nth frame, when the control data string 2635B is expressed by 3 bits, for example, the first control data “110 (luminance 6: luminance difference“ −1 ”)” and “101 (luminance 5) : The second control data “luminance difference“ −1 ”)”, the third control data “011 (luminance 3)”, and the fourth control data “100 (luminance 4: luminance difference“ −1 ”)”. Control data and five types of control data called fifth control data “010 (luminance 2: luminance difference“ −1 ”)” are included. The first control data defines the light output mode by the first lamp among the five lamps, and the second control data defines the light output mode by the second lamp among the five lamps. In the third control data, the light output mode by the third lamp among the five lamps is defined, and the fourth control data is the light output by the fourth lamp among the five lamps. The output mode is defined, and the fifth control data defines the light output mode of the fifth lamp among the five lamps.

図示の第N+1フレームにおいては、制御データ列2635Bが、例えば3ビットで表した場合に、「101(輝度5:輝度の差分「−1」)」という第1制御データと、「100(輝度4:輝度の差分「−1」)」という第2の制御データと、「010(輝度2:輝度の差分「−1」)」という第3制御データと、「011(輝度3:輝度の差分「−1」)」という第4制御データと、「001(輝度1:輝度の差分「−1」)」という第5制御データという5種類の制御データを含んでいる。第1制御データは、5個のランプのうち第1のランプによる光の出力態様が規定されており、第2制御データは、5個のランプのうち第2のランプによる光の出力態様が規定されており、第3制御データは、5個のランプのうち第3のランプによる光の出力態様が規定されており、第4制御データは、5個のランプのうち第4のランプによる光の出力態様が規定されており、第5制御データは、5個のランプのうち第5のランプによる光の出力態様が規定されている。   In the illustrated (N + 1) th frame, when the control data string 2635B is represented by 3 bits, for example, the first control data “101 (luminance 5: luminance difference“ −1 ”)” and “100 (luminance 4) : Brightness difference “−1”) ”, third control data“ 010 (luminance 2: luminance difference “−1”) ”, and“ 011 (luminance 3: luminance difference “ -1 ")" and fifth control data "001 (luminance 1: luminance difference" -1 ")" are included. The first control data defines the light output mode by the first lamp among the five lamps, and the second control data defines the light output mode by the second lamp among the five lamps. In the third control data, the light output mode by the third lamp among the five lamps is defined, and the fourth control data is the light output by the fourth lamp among the five lamps. The output mode is defined, and the fifth control data defines the light output mode of the fifth lamp among the five lamps.

以上のように本実施形態においては、例えば5個のランプを用いたある特定の演出を制御するための演出制御データ列2635Bに基づく当該5個のランプによる光の出力態様は、それぞれ、各フレームが予め定められた周期ごとに表示される度に各ランプの輝度の「差分」が「−1」で等しいという規則性が保持されているため、一定の割合で均等に変化しているようになる(本実施形態では、ランプによる光の出力が徐々に低下して暗くなる)。   As described above, in the present embodiment, for example, the light output mode of the five lamps based on the effect control data sequence 2635B for controlling a specific effect using five lamps is set to each frame. Since the regularity that the “difference” of the brightness of each lamp is equal to “−1” is held every time is displayed every predetermined period, it seems to change evenly at a constant rate. (In this embodiment, the light output from the lamp gradually decreases and darkens).

本実施形態では、制御データ列2635Bが、各フレームにおける3つの第1制御データが表す光の輝度の差分が「−1」であるため(上記規則性に相当)、例えば第N−1フレームにおける第1制御データ(「111」)及び次の2フレームについて輝度の差分が「−1」であるというデータ構成情報(以下「圧縮制御データ列2635B)ともいう)のみを周辺制御ROM4150bに格納するようにしている。これにより、本来、制御データ列2635Bの第1制御データは、第N−1フレームから第N+1フレームにおいて「111」、「110」「101」という9ビットとなるはずであるが、上記圧縮制御データ列2635Bのようなデータサイズが小さな情報となる。このため、このような圧縮制御データ列2635Bが予め用意されているべき周辺制御ROM4150bの記憶容量を大きく抑制することができる。しかも、制御データ列2635Bがこの一例のように3ビットでなく既述のように24ビットである場合には、取り扱うビット数が多ければ多いほどこのような圧縮方法によるデータサイズの大幅な抑制を図ることができる。   In the present embodiment, since the control data string 2635B has a difference in luminance of light represented by the three first control data in each frame of “−1” (corresponding to the regularity), for example, in the N−1th frame. Only the first control data (“111”) and data configuration information (hereinafter also referred to as “compression control data string 2635B”) that the luminance difference is “−1” for the next two frames are stored in the peripheral control ROM 4150b. As a result, the first control data of the control data sequence 2635B is supposed to be 9 bits “111”, “110” “101” in the (N−1) th frame to the (N + 1) th frame, The data size is small information like the compression control data string 2635B. For this reason, the storage capacity of the peripheral control ROM 4150b in which such a compression control data string 2635B should be prepared in advance can be greatly suppressed. In addition, when the control data string 2635B is not 3 bits as in this example but 24 bits as described above, the larger the number of bits handled, the greater the suppression of the data size by such a compression method. I can plan.

[5−2−5.制御データの伸張方法]
一方、周辺制御基板4140においては、演出制御プログラムが、周辺制御MPU4150aの代わりに、例えば音源内蔵VDP4160a(データ制御手段)に、周辺制御ROM4150b(演出制御記憶手段)において少なくとも3つの出力態様情報が圧縮された状態で格納されている制御データ列(光出力制御データ)2635Bについて(以下「圧縮制御データ列2635B」ともいう)、上記時間的に連続する出力態様情報同士の差分の「規則性」を利用して当該少なくとも3つの出力態様情報を復元することにより伸張させる。
[5-2-5. Control data expansion method]
On the other hand, in the peripheral control board 4140, the effect control program compresses at least three output mode information in, for example, the sound source built-in VDP 4160a (data control means) instead of the peripheral control MPU 4150a in the peripheral control ROM 4150b (effect control storage means). With respect to the control data sequence (light output control data) 2635B stored in the stored state (hereinafter also referred to as “compression control data sequence 2635B”), the “regularity” of the difference between the time-sequential output mode information is set. The decompression is performed by restoring the at least three output mode information.

ところで、周辺制御基板4140においては、周辺制御ROM4150bに、そのような出力態様情報の差分の規則性を管理する規則性管理テーブルが予め用意されている。この規則性管理テーブルでは、各フレームの識別子ごとに、あるフレームにおける各制御データ列が表す出力態様情報と、次のフレームにおける各制御データ列が表す次の出力態様情報との差分の「規則性」が管理されている。従って、演出制御プログラムが、表示しようとするフレームの識別子を検索キーとして、この規則性管理テーブルを検索すると、このフレームに対応する出力態様情報の差分の「規則性」を取得することができる。   By the way, in the peripheral control board 4140, a regularity management table for managing the regularity of the difference of such output mode information is prepared in advance in the peripheral control ROM 4150b. In this regularity management table, for each identifier of each frame, the “regularity” of the difference between the output mode information represented by each control data string in a certain frame and the next output mode information represented by each control data string in the next frame Is managed. Therefore, when the effect control program searches this regularity management table using the identifier of the frame to be displayed as a search key, the “regularity” of the difference in the output mode information corresponding to this frame can be acquired.

具体的には、演出制御プログラムは、周辺制御ROM4150bから圧縮制御データ列2635Bを読み出す際に、上記規則性管理テーブルにおいて各フレームごとに管理されている規則性を利用して、例えば第N−1フレームにおける第1制御データ「111」と、輝度の差分が「−1」であるという規則性とに基づいて、第Nフレームにおける第1制御データを「110」と復元するとともに、第N−1フレームにおける第1制御データを「101」と復元することができる。   Specifically, when the presentation control program reads the compression control data string 2635B from the peripheral control ROM 4150b, the presentation control program uses the regularity managed for each frame in the regularity management table, for example, the (N-1) th. Based on the first control data “111” in the frame and the regularity that the luminance difference is “−1”, the first control data in the Nth frame is restored to “110”, and the N−1th The first control data in the frame can be restored to “101”.

この演出制御プログラムは、周辺制御MPU4150aの制御の下、音源内蔵VDP4160a(描画制御手段)に、上記スケジュールデータに従って互いに同期させるべき各スプライトデータ(素材画像データ)を周辺制御ROM4150b(演出制御記憶手段)から読み出させたり、或いは、内蔵RAM(演出制御記憶手段)に展開済みの場合にはこの内蔵RAMから読み出させ、その後、この周辺制御ROM4150bから読み出した各スプライトデータから予め定められた周期ごとに描画データを生成してフレームバッファに格納させるとともに当該フレームバッファに格納された描画データに基づくフレームを遊技盤側液晶表示装置1900(表示手段)に繰り返し表示させている(フレーム制御手段)。   This effect control program, under the control of the peripheral control MPU 4150a, stores the sprite data (material image data) to be synchronized with each other in accordance with the schedule data in the sound source built-in VDP 4160a (drawing control means). Or read from the built-in RAM if it has already been developed in the built-in RAM (effect control storage means), and then each predetermined period from each sprite data read from the peripheral control ROM 4150b. Drawing data is generated and stored in the frame buffer, and a frame based on the drawing data stored in the frame buffer is repeatedly displayed on the game board side liquid crystal display device 1900 (display means) (frame control means).

上述のように本実施形態では、演出制御プログラムは、周辺制御MPU4150aの制御の下、音源内蔵VDP4160aに、周辺制御ROM4150bにおいて既述のように少なくとも3つの出力態様情報が圧縮された状態で格納されている制御データ列2635B(光出力制御データ)について次のように上記少なくとも3つの出力態様情報を復元させて伸張する。即ち、演出制御プログラムは、周辺制御MPU4150aの制御の下、音源内蔵VDP4160aに、上述のように繰り返し遊技盤側液晶表示装置1900(表示手段)に表示される各フレームに同期させて、上記連続する出力態様情報同士の差分の「規則性」を利用して上記少なくとも3つの出力態様情報を復元することにより伸張させる(データ伸張制御手段)。   As described above, in the present embodiment, the effect control program is stored in the sound source built-in VDP 4160a under the control of the peripheral control MPU 4150a in a state where at least three pieces of output mode information are compressed in the peripheral control ROM 4150b as described above. The control data string 2635B (light output control data) is decompressed by restoring at least three pieces of output mode information as follows. In other words, the production control program is synchronized with each frame repeatedly displayed on the game board side liquid crystal display device 1900 (display means) as described above on the sound source built-in VDP 4160a under the control of the peripheral control MPU 4150a. The at least three pieces of output mode information are decompressed by using the “regularity” of the difference between the output mode information (data decompression control means).

さらに周辺制御基板4140では、演出制御プログラムが、周辺制御MPU4150aの制御の下、音源内蔵VDP4160aに、上記復元したこれら少なくとも3つの出力態様情報からこれらに各々対応する各出力態様の光を少なくとも1つのランプ(光出力手段)に、上記生成されたフレームに同期させつつ光を出力させる(光出力制御手段)。なお、周辺制御基板4140では、演出制御プログラムが、周辺制御MPU4150a(データ制御手段)に上記同様の処理をさせる形態であってもよい。   Further, on the peripheral control board 4140, the effect control program sends at least one light of each output mode corresponding to each of the restored three types of output mode information to the built-in sound source VDP 4160a under the control of the peripheral control MPU 4150a. The lamp (light output means) outputs light in synchronization with the generated frame (light output control means). In the peripheral control board 4140, the effect control program may cause the peripheral control MPU 4150a (data control means) to perform the same processing as described above.

このようにすると、規則的な演出動作を制御するための演出制御データの一例として、例えば規則的に光の出力態様を変化させるための制御データ列2635B(光出力制御データ)のデータ容量を大幅に削減することができる。   In this way, as an example of the effect control data for controlling the regular effect operation, for example, the data capacity of the control data string 2635B (light output control data) for regularly changing the light output mode is greatly increased. Can be reduced.

なお、以上の実施形態においては、上述のような圧縮・伸張方法を用いた演出態様として、ランプによる光の出力が徐々に低下して遊技者に暗闇をイメージさせて緊張感を与えるような演出態様を例示したが、これに限られず、その逆に、各フレームに対応する出力態様情報同士の差分の規則性を「+1」とすることにより、ランプによる光の出力を徐々に高くして遊技者を気分的に高揚させて期待感を抱かせうる演出態様に適用してもよい。勿論、ランプによる光の出力に代えて音の出力を変化させる形態であっても同様の効果を挙げることができる。   In the above embodiment, as an effect mode using the compression / expansion method as described above, the output of the light from the lamp gradually decreases, causing the player to feel the darkness and giving a sense of tension. Although the mode has been illustrated, the present invention is not limited to this, and conversely, by setting the regularity of the difference between the output mode information corresponding to each frame to “+1”, the light output by the lamp is gradually increased, and the game You may apply to the production aspect which can raise a person's feelings and can have expectation. Of course, the same effect can be obtained even if the output of the sound is changed instead of the output of the light from the lamp.

[6.演出情報の読み出し規制]
図24は、本実施形態における周辺制御MPU4150aからの指示に基づいて演出情報の秘匿化を解除する構成を説明する周辺制御基板のブロック図である。
[6. Restriction on reading of production information]
FIG. 24 is a block diagram of a peripheral control board for explaining a configuration for releasing the concealment of effect information based on an instruction from the peripheral control MPU 4150a in the present embodiment.

主制御基板4100は、演出の開始を指示するコマンドを周辺制御基板4140に送信する。演出の開始を指示するコマンドは、例えば、図10に示した特図1同調演出開始コマンドや特図2同調演出開始コマンドである。   The main control board 4100 transmits a command instructing the start of the production to the peripheral control board 4140. The command for instructing the start of the production is, for example, the special figure 1 synchronized production start command or the special figure 2 synchronized production start command shown in FIG.

周辺制御基板4140の周辺制御MPU4150aは、主制御基板4100から受信した演出の開始を指示するコマンドに基づいて、指定された演出を実行するための演出構成情報を周辺制御ROM4150bから取得する。演出構成情報には、例えば、演出における各シーンのスケジュールデータが含まれる。その後、周辺制御MPU4150aは、音源内蔵VDP4160aに対し、演出構成情報に基づく演出のディスプレイコマンド(実行指示コマンド、演出制御情報)を出力する。   The peripheral control MPU 4150a of the peripheral control board 4140 obtains effect configuration information for executing the specified effect from the peripheral control ROM 4150b based on the command for instructing the start of the effect received from the main control board 4100. The effect composition information includes, for example, schedule data for each scene in the effect. After that, the peripheral control MPU 4150a outputs a display command (execution instruction command, effect control information) of effects based on the effect configuration information to the sound source built-in VDP 4160a.

音源内蔵VDP4160aは、周辺制御MPU4150aから出力されたディスプレイコマンドに基づいて、キャラクタや背景などの画像データと、スピーカーから出力されるキャラクタの音声や効果音などの音データ等の演出データを液晶及び音制御ROM4160bから取得する。そして、入力されたディスプレイコマンドに基づいて、液晶及び音制御ROM4160bから取得された画像データ及び音データを液晶表示装置やスピーカーに出力する。   Based on the display command output from the peripheral control MPU 4150a, the sound source built-in VDP 4160a converts the image data such as the character and the background and the effect data such as the sound data and sound data of the character output from the speaker into the liquid crystal and sound. Obtained from the control ROM 4160b. Based on the input display command, the image data and sound data acquired from the liquid crystal and sound control ROM 4160b are output to a liquid crystal display device and a speaker.

本実施形態では、液晶及び音制御ROM4160bに格納されている演出データは、一部又は全部が秘匿化(暗号化)されており、秘匿解除情報4201に基づいて秘匿化を解除する。秘匿化を解除せずに液晶及び音制御ROM4160bに格納されている演出データを取り出しても、取り出した演出データを正常に出力することができないようになっている。   In the present embodiment, some or all of the effect data stored in the liquid crystal and sound control ROM 4160b is concealed (encrypted), and the concealment is released based on the concealment release information 4201. Even if the effect data stored in the liquid crystal and sound control ROM 4160b is extracted without releasing the concealment, the extracted effect data cannot be normally output.

なお、秘匿化の解除は、ディスプレイコマンドに基づいて行ってもよいし、ディスプレイコマンドとともに送信された演出データの秘匿化を解除するための解除コマンドを受信した場合に秘匿化を解除するようにしてもよい。例えば、演出構成情報に画像データが秘匿化されているか否かの情報を含ませることによって、ディスプレイコマンドとともに解除コマンドを送信すればよい。   Note that the concealment may be released based on the display command, or the concealment is released when the release command for releasing the concealment of the effect data transmitted together with the display command is received. Also good. For example, the release command may be transmitted together with the display command by including information on whether or not the image data is concealed in the effect composition information.

演出データの秘匿化は、例えば、共通鍵暗号方式に基づいて演出データを共通鍵で暗号化して液晶及び音制御ROM4160bに格納し、共通鍵を予め決定されている公開鍵で暗号化する。このとき、秘匿解除情報4201が公開鍵で暗号化された共通鍵に対応する。そして、公開鍵に対応した秘密鍵を音源内蔵VDP4160aが公開鍵とともに保持する。   The effect data is concealed by, for example, encrypting the effect data with the common key based on the common key encryption method, storing it in the liquid crystal and sound control ROM 4160b, and encrypting the common key with a predetermined public key. At this time, the secret release information 4201 corresponds to the common key encrypted with the public key. Then, the sound source built-in VDP 4160a holds the secret key corresponding to the public key together with the public key.

演出データの復号化は、まず、復号化対象の演出データに対応する秘匿解除情報4201を取得し、音源内蔵VDP4160aに保持された公開鍵及び秘密鍵によって復号化して共通鍵を取得する。最後に、取得された共通鍵によって暗号化された演出データを復号化すればよい。   In the decryption of the effect data, first, the secret release information 4201 corresponding to the effect data to be decrypted is acquired, and the common key is acquired by decrypting with the public key and the secret key held in the sound source built-in VDP 4160a. Finally, the effect data encrypted with the acquired common key may be decrypted.

また、演出データの取得ごとに解除コマンドを受け付けるのではなく、遊技機の電源投入時などに解除コマンドの入力を受け付け、以降、電源が遮断されるまで秘匿化の解除を許可するようにしてもよい。また、特別な演出の実行時(例えば、所定の変動パターンに基づく変動表示が実行される場合)に秘匿化された演出データを取得する場合には、当該特別な演出の実行時(例えば、変動開始時、大当り遊技開始時など)に解除コマンドを周辺制御MPU4150aから音源内蔵VDP4160aに送信するようにしてもよい。   Also, instead of accepting the release command every time the presentation data is acquired, it is also possible to accept the input of the release command when the gaming machine is turned on, and thereafter permit the release of concealment until the power is turned off. Good. In addition, when acquiring concealment effect data at the time of execution of a special effect (for example, when change display based on a predetermined change pattern is executed), at the time of execution of the special effect (for example, change) The release command may be transmitted from the peripheral control MPU 4150a to the sound source built-in VDP 4160a at the start or at the start of the big hit game.

さらに、周辺制御MPU4150aから送信される解除コマンドによって秘匿化を解除するのではなく、音源内蔵VDP4160aが独自に秘匿化を解除するか否かを判定し、演出データの秘匿化を解除するようにしてもよい。ここで、電源投入時に音源内蔵VDP4160aが独自に秘匿化を解除する例について説明する。図25は、音源内蔵VDP4160aが独自に演出情報の秘匿化を解除する構成を説明する周辺制御基板のブロック図である。   Furthermore, instead of releasing the concealment by the release command transmitted from the peripheral control MPU 4150a, it is determined whether the sound source built-in VDP 4160a independently releases the concealment, and the effect data is released from concealment. Also good. Here, an example in which the sound source built-in VDP 4160a independently releases concealment when the power is turned on will be described. FIG. 25 is a block diagram of a peripheral control board for explaining a configuration in which the sound source built-in VDP 4160a independently releases the concealment of effect information.

遊技機の電源が投入されると、電源基板851から主制御基板4100、周辺制御基板4140に制御基板毎の駆動電源(主制御用駆動電源、周辺制御用駆動電源)が供給される(電源基板からの電源の供給は、主制御基板、周辺制御基板のみに限定されず他の制御基板(例えば、払出制御基板等)に対しての駆動電源を供給するが、その点については説明を省略する)。   When the power of the gaming machine is turned on, drive power (main control drive power, peripheral control drive power) for each control board is supplied from the power supply board 851 to the main control board 4100 and the peripheral control board 4140 (power supply board) The power supply from is not limited to the main control board and the peripheral control board, but the drive power is supplied to other control boards (for example, the payout control board), but the description thereof is omitted. ).

そして、電源の供給が開始されると、起動信号出力手段4401は電源の供給開始を検知して、周辺制御CPU4150aや液晶及び音源制御部(VDP)4160aにリセット信号(起動信号)を出力する。液晶及び音源制御部(VDP)4160aは、リセット信号(起動信号)が入力されたことに基づいて、演出データの秘匿化を解除するか否かを判定する。   When the supply of power is started, the start signal output unit 4401 detects the start of power supply and outputs a reset signal (start signal) to the peripheral control CPU 4150a and the liquid crystal and sound source control unit (VDP) 4160a. The liquid crystal and sound source control unit (VDP) 4160a determines whether to hide the concealment of the effect data based on the input of the reset signal (activation signal).

演出データの秘匿化を解除するか否かは、例えば、受信した起動信号が正当であるか否かに基づいて判定してもよい。また、受信した起動信号の送信元が正当であるか否かに基づいて判定してもよい。すなわち、起動信号の送信元が周辺制御MPU4150aからであれば、演出データが正当に取得されると判定し、演出データの秘匿化を解除するようにしてもよい。   Whether or not to conceal the effect data may be determined based on whether or not the received activation signal is valid, for example. Alternatively, the determination may be made based on whether or not the transmission source of the received activation signal is valid. That is, if the transmission source of the activation signal is from the peripheral control MPU 4150a, it may be determined that the effect data is properly acquired, and the concealment of the effect data may be released.

さらに、電源投入時に周辺制御MPU4150aから音源内蔵VDP4160aに初期化設定情報(秘匿化の解除を指示する情報は含まれていない)が入力されたことに基づいて演出データの秘匿化を解除するか否かを判定するようにしてもよい。   Further, whether or not to conceal the effect data based on the fact that initialization setting information (which does not include information for instructing deciphering) is input from the peripheral control MPU 4150a to the sound source built-in VDP 4160a when the power is turned on. You may make it determine.

さらに、周辺制御MPU4150aからディスプレイコマンドが入力されたことを契機とし、ディスプレイコマンドが画像データの読み出しにかかるコマンドであった場合に演出データ(画像データ)の秘匿化を解除するか否かを判定するようにしてもよい。このとき、まず、演出データが秘匿化されているか否かを判定し、その後、演出データの秘匿化を解除するか否かを判定してもよい。秘匿化されていない演出データを読み出す場合には、演出データの秘匿化を解除するか否かを判定せずに、データの読み出しを許可するようにしてもよい。なお、演出データが秘匿化されているか否かの判定は、演出データを解析してもよいし、演出データが秘匿化されているか否かを示す情報を保持するようにしてもよい。   Further, when the display command is input from the peripheral control MPU 4150a, when the display command is a command related to reading of the image data, it is determined whether or not to hide the concealment of the effect data (image data). You may do it. At this time, first, it may be determined whether or not the effect data is concealed, and then it may be determined whether or not the concealment of the effect data is cancelled. When reading the production data that is not concealed, the data reading may be permitted without determining whether or not the production data is to be concealed. The determination as to whether or not the effect data is concealed may be performed by analyzing the effect data or may hold information indicating whether or not the effect data is concealed.

また、演出データは、特別なデータの場合にのみ暗号化するようにしてもよい。特別なデータとは、例えば、画像データが版権を有したキャラクタである場合に、当該キャラクタが登場する原作にはないオリジナルのシーンなどに限定してもよい。このように構成することによって、遊技中のみ見ることが可能なシーンを記憶媒体(液晶及び音制御ROM4160b)から不正に抽出して外部に公開するなどの行為を防止し、著作権を保護することができる。また、音声データについては、著作権を有するデータのみを秘匿化するようにしてもよい。例えば、音声データの秘匿化を演出時にスピーカーから出力される歌やBGMなどに限定し、報知音や警告音などは秘匿化しなくてもよい。   Further, the effect data may be encrypted only in the case of special data. The special data may be limited to, for example, an original scene not included in the original in which the character appears when the image data is a character having a copyright. By constituting in this way, the act of illegally extracting a scene that can be seen only during the game from the storage medium (liquid crystal and sound control ROM 4160b) and releasing it to the outside is prevented, and the copyright is protected. Can do. As for audio data, only copyrighted data may be concealed. For example, the concealment of audio data is limited to a song or BGM output from a speaker at the time of production, and the notification sound or warning sound may not be concealed.

続いて、音源内蔵VDP4160aにおける処理についてさらに詳細を説明する。ここでは、画像データを処理する場合について説明するが、音データについても同様に処理すればよい。   Next, the details of the processing in the sound source built-in VDP 4160a will be described. Here, a case where image data is processed will be described, but sound data may be processed similarly.

音源内蔵VDP4160aは、秘匿解除情報判定部4301、秘匿画像データ変換部4302、ビデオRAM(VRAM)4303、表示画像構成部4304、フレームバッファ4305及び表示画像データ出力手段4306を有する。   The sound source built-in VDP 4160a includes a secret cancellation information determination unit 4301, a secret image data conversion unit 4302, a video RAM (VRAM) 4303, a display image configuration unit 4304, a frame buffer 4305, and a display image data output unit 4306.

秘匿解除情報判定部4301は、周辺制御MPU4150aから送信されたディスプレイコマンドの入力を受け付けると、液晶及び音制御ROM4160bから取得する画像データに対応する秘匿解除情報4201を取得し(秘匿解除情報取得手段)、取得した秘匿解除情報4201の正当であるか否かを判定する(秘匿解除情報判定手段)。取得した秘匿解除情報4201が正当でない場合には、画像の読み出しを中止し、周辺制御MPU4150aにエラーを通知する。   When receiving the input of the display command transmitted from the peripheral control MPU 4150a, the confidentiality cancellation information determination unit 4301 acquires the confidentiality cancellation information 4201 corresponding to the image data acquired from the liquid crystal and sound control ROM 4160b (the confidentiality cancellation information acquisition unit). Then, it is determined whether or not the acquired confidentiality cancellation information 4201 is valid (concealment cancellation information determination means). If the acquired confidentiality cancellation information 4201 is not valid, the image reading is stopped and an error is notified to the peripheral control MPU 4150a.

さらに、周辺制御MPU4150aは、音源内蔵VDP4160aからエラー発生の通知を受信すると、通知の内容を解析してエラーの種類を特定する。そして、特定されたエラーの種類に対応するエラー報知用の画面表示及び音声(報知音)出力を実行するためのスケジュールデータを選択し、周辺制御ROM4150cから取得する。続いて、取得されたスケジュールデータに基づいて、ディスプレイコマンドを作成し、音源内蔵VDP4160aに送信する。   Further, when the peripheral control MPU 4150a receives the notification of the occurrence of the error from the sound source built-in VDP 4160a, the peripheral control MPU 4150a analyzes the content of the notification and specifies the type of error. Then, schedule data for executing error notification screen display and sound (notification sound) output corresponding to the specified error type is selected and acquired from the peripheral control ROM 4150c. Subsequently, a display command is created based on the acquired schedule data and transmitted to the sound source built-in VDP 4160a.

音源内蔵VDP4160aは、周辺制御MPU4150aからエラー報知用のディスプレイコマンドを受信すると、受信したディスプレイコマンドに従ってエラー報知用の画面を液晶表示装置1900に表示し、スピーカーから音声(報知音)を出力する。なお、エラー報知用(特に秘匿化解除の失敗報知)に表示される画面や出力される音声は、秘匿化されていない状態で液晶及び音制御ROM4160bに格納されており、この場合は秘匿化を解除するか否かを判定せずにエラー報知を実行してもよい。また、エラー報知用の画面の他に、初期画面(電源投入画面)やデモ画面等についても秘匿化せずにデータを液晶及び音制御ROM4160bに格納するようにしてもよい。このように、エラー報知画面や初期画面などのデータを秘匿化の対象からはずすことによって、秘匿化の解除に失敗した場合に遊技状態などの報知ができなくなってしまうことを回避することができる。   When receiving the error notification display command from the peripheral control MPU 4150a, the sound source built-in VDP 4160a displays a screen for error notification on the liquid crystal display device 1900 according to the received display command, and outputs sound (notification sound) from the speaker. Note that the screen displayed for error notification (especially failure notification for deconcealment) and the sound to be output are stored in the liquid crystal and sound control ROM 4160b without being concealed. In this case, concealment is not performed. You may perform error alerting | reporting, without determining whether it cancels | releases. In addition to the error notification screen, data may be stored in the liquid crystal and sound control ROM 4160b without concealing the initial screen (power-on screen), the demonstration screen, and the like. In this manner, by removing data such as an error notification screen and an initial screen from the target of concealment, it is possible to prevent the notification of the gaming state and the like from being disabled when the concealment release fails.

一方、取得した秘匿解除情報4201が正当な場合には、秘匿画像データ変換部4302が、液晶及び音制御ROM4160bから秘匿画像データ4202を取得し、取得した秘匿解除情報4201によって秘匿化を解除し、表示画像データ(秘匿化(暗号化)されていない画像データ)を取得する。   On the other hand, if the acquired secret release information 4201 is valid, the secret image data conversion unit 4302 acquires the secret image data 4202 from the liquid crystal and sound control ROM 4160b, and releases the concealment by the acquired secret release information 4201. Display image data (image data that is not concealed (encrypted)) is acquired.

なお、取得対象の画像データが秘匿化されていない場合には、液晶及び音制御ROM4160bから指定された秘匿画像データ4202をそのまま取得すればよい。秘匿化された画像データと秘匿化されていない画像データとが混在して液晶及び音制御ROM4160bに格納されている場合には、ディスプレイコマンドに取得対象の画像データが秘匿情報であるか否かを示す情報を含ませるようにしてもよい。   If the image data to be acquired is not concealed, the concealed image data 4202 designated from the liquid crystal and sound control ROM 4160b may be acquired as it is. When the image data that has been concealed and the image data that has not been concealed are mixed and stored in the liquid crystal and sound control ROM 4160b, whether or not the image data to be acquired is concealment information is displayed in the display command. Information to be shown may be included.

また、画像データの秘匿化は、液晶及び音制御ROM4160bと音源内蔵VDP4160aとを接続するデータバス単位で解除してもよいし、所定のデータ容量単位で解除してもよい。さらに、キャラクタごとに解除してもよいし、フレーム(時間)単位で解除してもよいし、複数のフレーム単位で解除してもよい。このとき、秘匿化を解除する単位で秘匿解除情報4201を設定すればよい。   Further, the concealment of the image data may be canceled in units of data buses connecting the liquid crystal and sound control ROM 4160b and the sound source built-in VDP 4160a, or may be canceled in units of a predetermined data capacity. Furthermore, it may be released for each character, may be released in units of frames (time), or may be released in units of a plurality of frames. At this time, the secrecy release information 4201 may be set in units of releasing the secrecy.

続いて、秘匿画像データ変換部4302は、取得した表示画像データを音源内蔵VDP4160aに含まれるビデオRAM(VRAM)4303に一時的に記憶する。なお、VRAM4303は、音源内蔵VDP4160aの外部に接続するようにしてもよい。   Subsequently, the secret image data conversion unit 4302 temporarily stores the acquired display image data in a video RAM (VRAM) 4303 included in the sound source built-in VDP 4160a. The VRAM 4303 may be connected to the outside of the sound source built-in VDP 4160a.

さらに、表示画像構成部4304は、VRAM4303に記憶された表示画像データを処理することによって表示画面を構成する画像データ(表示画面データ)を生成し、表示画面データをフレームバッファ4305に記憶する。表示画像データは、例えば、キャラクタや背景であって、表示画面データは表示画像データを組み合わせた画像(例えば、背景とキャラクタを組み合わせた(複合化した)画像)である。   Further, the display image configuration unit 4304 processes the display image data stored in the VRAM 4303 to generate image data constituting the display screen (display screen data), and stores the display screen data in the frame buffer 4305. The display image data is, for example, a character or a background, and the display screen data is an image obtained by combining display image data (for example, an image obtained by combining (compositing) a background and a character).

最後に、表示画像データ出力手段4306は、フレームバッファ4305に記憶された表示画面データを制御情報に基づいて、液晶表示装置1900に出力する。   Finally, the display image data output unit 4306 outputs the display screen data stored in the frame buffer 4305 to the liquid crystal display device 1900 based on the control information.

なお、秘匿解除情報判定部4301、秘匿画像データ変換部4302、表示画像構成部4304は、所定のプログラムを実行することによって機能するソフトウェアで構成されていてもよいし、ハードウェアで構成されていてもよい。   The secrecy cancellation information determination unit 4301, the secrecy image data conversion unit 4302, and the display image configuration unit 4304 may be configured by software that functions by executing a predetermined program, or by hardware. Also good.

本実施形態では、画像データや音データは、液晶及び音制御ROM4160bに格納されているが、画像ROM及び音源ROMとして別々の記憶媒体に格納するようにしてもよい。例えば、画像データ及び音データそれぞれを異なる記憶媒体に格納するようにしてもよいし、秘匿解除情報を別の記憶媒体に格納してもよい。さらに、液晶及び音制御ROM4160bが複数のメモリモジュールによって構成されている場合には、モジュール(デバイス)ごとに秘匿解除情報を設定するようにしてもよい。   In the present embodiment, image data and sound data are stored in the liquid crystal and sound control ROM 4160b, but may be stored in separate storage media as an image ROM and a sound source ROM. For example, the image data and the sound data may be stored in different storage media, or the confidentiality release information may be stored in different storage media. Further, in the case where the liquid crystal and sound control ROM 4160b is configured by a plurality of memory modules, the secrecy release information may be set for each module (device).

さらに、液晶及び音制御ROM4160bと、音源内蔵VDP4160aとの間を専用のコネクタによって接続するようにしてもよい。メモリモジュール(液晶及び音制御ROM4160b)を制御基板上に直接設けるのではなく、コネクタ接続で別基板として設けることで、制御ブロックとメモリブロックとを切り分け、機種単位でメモリ容量等を変化させることが可能となるためである。さらに、汎用のコネクタではなく、専用のコネクタで接続することによって、画像データや音データを外部から取り出すことを物理的に困難にし、よりセキュリティを向上させることができる。   Further, the liquid crystal and sound control ROM 4160b and the sound source built-in VDP 4160a may be connected by a dedicated connector. The memory module (liquid crystal and sound control ROM 4160b) is not provided directly on the control board, but is provided as a separate board by connector connection, so that the control block and the memory block can be separated and the memory capacity and the like can be changed for each model. This is because it becomes possible. Further, by connecting with a dedicated connector instead of a general-purpose connector, it is physically difficult to extract image data and sound data from the outside, and security can be further improved.

また、画像データや音データを格納する記憶媒体を、周辺制御基板4140とは別体の基板で構成するようにしてもよい。このとき、ハーネスを介することなく、当該記憶媒体を周辺制御基板4140と接続可能に構成してもよい。このとき、接続端子の形状を専用の形状とすることによって、専用コネクタによって接続した場合と同様に、セキュリティを向上させることができる。   Further, the storage medium for storing the image data and the sound data may be configured by a board separate from the peripheral control board 4140. At this time, the storage medium may be configured to be connectable to the peripheral control board 4140 without using a harness. At this time, by setting the shape of the connection terminal to a dedicated shape, it is possible to improve security as in the case where the connection terminal is connected by a dedicated connector.

また、前述したように、周辺制御基板4140は、カシメを有する専用のケースに格納されているが、画像データや音データを格納する記憶媒体も別体の専用ケースに格納するようにしてもよい。   Further, as described above, the peripheral control board 4140 is stored in a dedicated case having caulking, but a storage medium for storing image data and sound data may also be stored in a separate dedicated case. .

また、秘匿化を解除した演出データを揮発性の記憶媒体で記憶し、電源が遮断されるまで保持するようにしてもよい。このように構成することによって、以降の演出データの読み出し時に秘匿化を解除する処理を省略することができる。この場合には、遊技機の電源を遮断すると秘匿化を解除した演出データは消去されるが、再度電源が投入された後、画像データが読み出されるタイミングで再度秘匿化を解除すればよい。   Further, the effect data for which the concealment is released may be stored in a volatile storage medium and held until the power is turned off. By comprising in this way, the process which cancels | releases concealment at the time of reading of subsequent production data can be abbreviate | omitted. In this case, when the power of the gaming machine is cut off, the effect data whose concealment is released is erased. However, after the power is turned on again, the concealment may be released again at the timing when the image data is read.

[7.その他]
以上、本発明について好適な実施形態を挙げて説明したが、本発明はこれらの実施形態に限定されるものではなく、以下に示すように、本発明の要旨を逸脱しない範囲において、種々の改良及び設計の変更が可能である。
[7. Others]
The present invention has been described with reference to preferred embodiments. However, the present invention is not limited to these embodiments, and various modifications can be made without departing from the spirit of the present invention as described below. And design changes are possible.

すなわち、上記実施形態は、主として弾球式遊技機(パチンコ遊技機)に適用した場合を示しているが、これに限定されるものではなく、後述する回動式遊技機(パチスロ遊技機)にも適用することができる。またその代わりに本実施形態は、パチンコ遊技機とパチスロ遊技機とを融合させてなる遊技機に適用してもよい。このいずれ場合でも、既述の作用効果と同様の作用効果を奏することができる。   That is, although the said embodiment has mainly shown the case where it applies to a ball-type game machine (pachinko game machine), it is not limited to this, The rotation type game machine (pachislot game machine) mentioned later is used. Can also be applied. Alternatively, the present embodiment may be applied to a gaming machine in which a pachinko gaming machine and a pachislot gaming machine are fused. In either case, the same operational effects as those described above can be obtained.

そのような回動式遊技機または当該融合させてなる遊技機の基本構成としては、例えば、複数種類の図柄が付されたリール(回転体)を複数備える回転表示体(回転表示手段)と、この回転表示体を備える筐体と、この記筐体の外部に設けられた操作レバー(第1の操作手段)と、上記複数のリールに各々対応して上記筐体の外部に設けられた複数の停止ボタン(第2の操作手段)と、を備える遊技機において、上記操作レバーが操作されたこと(始動条件の成立に相当)を契機として上記複数のリールをそれぞれ回転させ、上記複数の停止ボタンの操作順序に応じて、対応する各上記リールの回転を停止させる回転体制御手段と、上記始動レバーが操作されたことを契機として所定の当選条件が成立したか否かを判定する内部抽選を実行する抽選手段と、上記所定の当選条件が成立している場合、その後通常遊技状態から遊技者に有利な特別遊技状態に移行させる遊技状態制御手段と、を有する遊技制御手段(既述の主制御基板4100の機能にほぼ相当)と、この遊技制御手段の制御によって上記所定の当選条件の成立状況に応じた演出動作を制御する演出制御手段(既述の周辺制御基板4140の機能にほぼ相当)と、上記演出制御手段によって上記演出動作の一部として表示動作を実行する表示手段(既述の液晶表示装置1900の機能にほぼ相当)と、上記遊技制御手段の制御によって、上記複数のリールに付された上記複数の図柄の変動態様が視認可能な図柄表示領域内に停止した複数の図柄の組み合わせ態様に応じた遊技媒体の払出動作を実行する払出装置(払出手段)と、を備える。   As a basic configuration of such a rotating type gaming machine or a gaming machine formed by combining the rotating type gaming machine, for example, a rotating display body (rotating display means) including a plurality of reels (rotating bodies) with a plurality of types of symbols, A housing provided with the rotating display, an operating lever (first operating means) provided outside the housing, and a plurality of devices provided outside the housing corresponding to the plurality of reels, respectively. And a stop button (second operation means), wherein the plurality of reels are rotated by the operation of the operation lever (corresponding to the establishment of the start condition) as a trigger. Rotating body control means for stopping the rotation of each corresponding reel according to the operation sequence of the buttons, and an internal lottery for determining whether or not a predetermined winning condition is satisfied when the start lever is operated Run Game control means (main control board described above) having lottery means and game state control means for shifting from the normal game state to the special game state advantageous to the player after the predetermined winning condition is satisfied 4100) and production control means for controlling the production operation according to the establishment condition of the predetermined winning condition by the control of the game control means (substantially equivalent to the function of the peripheral control board 4140 described above) The display control means performs display operation as a part of the effect operation (substantially equivalent to the function of the liquid crystal display device 1900 described above), and is attached to the plurality of reels under the control of the game control means. A payout device (payout hand) for performing a game medium payout operation according to a combination mode of a plurality of symbols stopped in a symbol display area in which a variation mode of the plurality of symbols is visually recognized ) And it includes a.

1 パチンコ遊技機(遊技機)
2 外枠
3 本体枠
4 遊技盤
5 扉枠
244 上皿側液晶表示装置
1100 遊技領域
1170 主制御基板ボックス
1900 遊技盤側液晶表示装置
1910 周辺制御基板ボックス
4100 主制御基板(遊技制御手段)
4110 払出制御基板(払出制御手段)
4140 周辺制御基板(演出制御手段)
4150 周辺制御部
4150a 周辺制御MPU
4150b 周辺制御ROM
4150c 周辺制御RAM
4160 液晶及び音制御部
4160a 音源内蔵VDP(演出実行手段、読み出し規制手段、読み出し規制解除手段)
4160b 液晶及び音制御ROM(演出情報記憶手段)
4160c オーディオデータ送信IC
4201 秘匿解除情報
4202 秘匿画像データ
4301 秘匿解除情報判定部
4302 秘匿画像データ変換部
4303 ビデオRAM(VRAM)
4304 表示画像構成部
4305 フレームバッファ
4306 表示画像データ出力手段
1 Pachinko machine (game machine)
DESCRIPTION OF SYMBOLS 2 Outer frame 3 Main body frame 4 Game board 5 Door frame 244 Top plate side liquid crystal display device 1100 Game area 1170 Main control board box 1900 Game board side liquid crystal display device 1910 Peripheral control board box 4100 Main control board (game control means)
4110 Dispensing control board (dispensing control means)
4140 Peripheral control board (production control means)
4150 Peripheral control unit 4150a Peripheral control MPU
4150b Peripheral control ROM
4150c Peripheral control RAM
4160 Liquid crystal and sound control unit 4160a VDP with built-in sound source (production execution means, read restriction means, read restriction release means)
4160b Liquid crystal and sound control ROM (effect information storage means)
4160c Audio data transmission IC
4201 Concealment release information 4202 Concealment image data 4301 Concealment release information determination unit 4302 Concealment image data conversion unit 4303 Video RAM (VRAM)
4304 Display image composition unit 4305 Frame buffer 4306 Display image data output means

Claims (2)

遊技を制御する主制御手段と、
前記主制御手段からの実行指示に基づいて遊技の演出を実行する演出制御手段と、
前記演出を実行するための演出情報を記憶する演出情報記憶手段と、を備える遊技機において、
前記演出制御手段は、
前記演出を実行する演出実行手段と、
前記演出情報記憶手段からの演出情報の読み出しを規制する読み出し規制手段と、
前記演出情報の読み出しの規制を解除する読み出し規制解除手段と、を備え、
前記演出実行手段は、
前記演出情報記憶手段に記憶された演出情報の読み出しを規制するか否かを所定のタイミングで判定する演出情報読み出し規制判定手段と、
前記演出情報読み出し規制判定手段によって前記演出情報記憶手段に記憶された演出情報の正常な読み出しを規制すると判定した場合には、前記読み出し規制手段により前記演出情報記憶手段に記憶された演出情報の正常な読み出しを規制するとともに、規制しないと判定した場合には、前記読み出し規制解除手段により前記演出情報記憶手段に記憶された演出情報の正常な読み出しを可能とする演出情報取得手段と、を備える遊技機。
Main control means for controlling the game;
Effect control means for executing a game effect based on an execution instruction from the main control means;
In a gaming machine comprising: production information storage means for storing production information for executing the production,
The production control means includes
Production execution means for executing the production;
Read restriction means for restricting reading of the production information from the production information storage means;
A read restriction releasing means for releasing the restriction of reading the production information,
The production execution means
Effect information read restriction determination means for determining at a predetermined timing whether or not to restrict the reading of the effect information stored in the effect information storage means;
When it is determined by the effect information read restriction determining means that normal reading of the effect information stored in the effect information storage means is restricted, the effect information stored in the effect information storage means by the read restricting means is normal. And an effect information acquisition means that enables normal reading of the effect information stored in the effect information storage means by the read restriction release means when it is determined that the read restriction is not restricted. Machine.
遊技を制御する主制御手段と、
前記主制御手段からの実行指示に基づいて遊技の演出を実行する演出制御手段と、
前記演出を実行するための演出情報を秘匿化して記憶する演出情報記憶手段と、を備える遊技機において、
前記演出制御手段は、
前記演出を実行する演出実行手段と、
前記演出情報の秘匿化を解除する秘匿化解除手段と、を備え、
前記演出実行手段は、
前記演出情報記憶手段に記憶された演出情報の秘匿化を解除するか否かを所定のタイミングで判定する秘匿化解除判定手段と、
前記秘匿化解除判定手段によって前記演出情報記憶手段に記憶された演出情報の秘匿化を解除しないと判定した場合には、当該演出情報の秘匿化を解除せず、解除すると判定した場合には、前記秘匿化解除手段によって当該演出情報の秘匿化を解除して当該演出情報を取得することを可能とする演出情報取得手段と、を備える遊技機。


Main control means for controlling the game;
Effect control means for executing a game effect based on an execution instruction from the main control means;
In a gaming machine comprising: production information storage means for concealing and storing production information for executing the production,
The production control means includes
Production execution means for executing the production;
Anonymization releasing means for releasing the effect information from anonymization,
The production execution means
Anonymity cancellation determination unit that determines at a predetermined timing whether or not to cancel the concealment of the effect information stored in the effect information storage unit;
When it is determined that the concealment of the production information stored in the production information storage unit is not released by the anonymity release determination unit, when it is determined to release without concealing the production information, A game machine comprising: production information obtaining means that makes it possible to obtain the production information by releasing the concealment of the production information by the concealment release means.


JP2014174949A 2014-08-29 2014-08-29 Game machine Expired - Fee Related JP5962721B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014174949A JP5962721B2 (en) 2014-08-29 2014-08-29 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014174949A JP5962721B2 (en) 2014-08-29 2014-08-29 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016116815A Division JP2016163775A (en) 2016-06-13 2016-06-13 Game machine

Publications (2)

Publication Number Publication Date
JP2016049178A true JP2016049178A (en) 2016-04-11
JP5962721B2 JP5962721B2 (en) 2016-08-03

Family

ID=55657193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014174949A Expired - Fee Related JP5962721B2 (en) 2014-08-29 2014-08-29 Game machine

Country Status (1)

Country Link
JP (1) JP5962721B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6440415B2 (en) * 2014-08-29 2018-12-19 株式会社大一商会 Game machine
JP6440414B2 (en) * 2014-08-29 2018-12-19 株式会社大一商会 Game machine
JP2016163775A (en) * 2016-06-13 2016-09-08 株式会社大一商会 Game machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011240064A (en) * 2010-05-21 2011-12-01 Tani Electronics Corp Electronic amusement game machine, electronic equipment, and data storage device
JP2013048750A (en) * 2011-08-31 2013-03-14 Kyoraku Sangyo Kk Game machine
JP2013223599A (en) * 2012-04-20 2013-10-31 Akuseru:Kk Image information processing device and image information processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011240064A (en) * 2010-05-21 2011-12-01 Tani Electronics Corp Electronic amusement game machine, electronic equipment, and data storage device
JP2013048750A (en) * 2011-08-31 2013-03-14 Kyoraku Sangyo Kk Game machine
JP2013223599A (en) * 2012-04-20 2013-10-31 Akuseru:Kk Image information processing device and image information processing method

Also Published As

Publication number Publication date
JP5962721B2 (en) 2016-08-03

Similar Documents

Publication Publication Date Title
JP6099154B2 (en) Game machine
JP2017070392A (en) Game machine
JP6587461B2 (en) Game machine
JP2017070397A (en) Game machine
JP2017070395A (en) Game machine
JP5962721B2 (en) Game machine
JP2017070394A (en) Game machine
JP2017070393A (en) Game machine
JP2017070396A (en) Game machine
JP6440415B2 (en) Game machine
JP6440414B2 (en) Game machine
JP6464375B2 (en) Game machine
JP6464376B2 (en) Game machine
JP6464374B2 (en) Game machine
JP6032857B2 (en) Game machine
JP2016163775A (en) Game machine
JP6156946B2 (en) Game machine
JP6487086B2 (en) Game machine
JP2017205425A (en) Game machine
JP6478280B2 (en) Game machine
JP6308684B2 (en) Game machine
JP2016214574A (en) Game machine
JP6423171B2 (en) Game machine
JP6421971B2 (en) Game machine
JP2019136583A (en) Game machine

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160324

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160420

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160613

R150 Certificate of patent or registration of utility model

Ref document number: 5962721

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees