JPH09253273A - Slot machine - Google Patents

Slot machine

Info

Publication number
JPH09253273A
JPH09253273A JP8069522A JP6952296A JPH09253273A JP H09253273 A JPH09253273 A JP H09253273A JP 8069522 A JP8069522 A JP 8069522A JP 6952296 A JP6952296 A JP 6952296A JP H09253273 A JPH09253273 A JP H09253273A
Authority
JP
Japan
Prior art keywords
data
slot machine
pitch
sound
speaker
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.)
Withdrawn
Application number
JP8069522A
Other languages
Japanese (ja)
Inventor
Yosuke Takeda
洋介 武田
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.)
Sega Corp
Original Assignee
Sega Enterprises 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 Sega Enterprises Ltd filed Critical Sega Enterprises Ltd
Priority to JP8069522A priority Critical patent/JPH09253273A/en
Publication of JPH09253273A publication Critical patent/JPH09253273A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable the effective use of a memory area by executing a driver program stored in a storage medium, supplying a speaker driving means with input audio data and outputting an sound effect from speakers. SOLUTION: A microcomputer for controlling a slot machine consists of a main CPU 30M which performs prize-winning decision control and display control and a sub CPU 30S which performs surround control. According to a sound driver the sub CPU 30S reads the score data, corresponding to sound effect numbers supplied together with an interruption command NMI from tire main CPU 30M, from the data area Y in a ROM 31. Frequency data corresponding to the interval data of the score data out of frequency data fc to ff, etc., stored in the sound driver is read and fed to a speaker driving circuit 43. And a speaker 50 is driven. These arrangements enable the effective use of a data area.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータを利用することにより電子的に制御されるスロット
マシンに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a slot machine which is electronically controlled by utilizing a microcomputer.

【0002】[0002]

【従来の技術】スロットマシンは、例えば3つのリール
を回転させてリールが停止した時に表面に表示されるシ
ンボルマークが所定の組み合わせに一致するか否かでゲ
ームの入賞が決定されるもので、単純明快なルールであ
ることから古くから愛好されている。
2. Description of the Related Art In a slot machine, for example, when three reels are rotated and the reels stop, the winning of the game is determined by whether or not the symbol marks displayed on the surface match a predetermined combination. It has been loved for a long time because it has a simple and clear rule.

【0003】最近特に普及しているものは、マイクロコ
ンピュータを利用して電子的に制御することで、より変
化を付けて遊戯者を飽きさせないような工夫が成されて
いる。その一つに、遊戯者からの操作やリールの回転、
停止等のイベントに応じて、電子音楽を演奏してより魅
力的なゲームを演出することが考えられている。
Recently, what has become particularly popular has been devised by electronically controlling it by using a microcomputer so that the player is not bored with the change. One of them is the operation from the player and the rotation of the reel,
It is considered to play electronic music to produce a more attractive game in response to an event such as a stop.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、スロッ
トマシンはゲームに入賞することで例えばコインを獲得
することができ、あまり複雑で魅力的にすると遊戯者の
射幸心を煽ることとなり、公序良俗の観点から好ましく
ない。従って、マイクロコンピュータを利用して制御す
るスロットマシンの場合、法律上そのプログラムやデー
タの容量に一定の制限があり、またプログラムにはレジ
スタ間接ジャンプ命令等の特定の命令コードの使用が禁
止される等の制限がある。
However, the slot machine can win coins, for example, by winning the game, and if it is too complicated and attractive, it will arouse the player's euphoria, and from the viewpoint of public order and morals. Not preferable. Therefore, in the case of a slot machine controlled by using a microcomputer, the capacity of the program and data is legally limited, and the program is prohibited from using a specific instruction code such as a register indirect jump instruction. There are restrictions such as.

【0005】従って、それらの一定の容量や命令コード
についての制限の範囲内であって、射幸心を煽ることの
ない工夫を行なわなければならない。その一つに各種の
イベントに対して電子音楽を演奏することがあるが、よ
り魅力的な音楽を演奏するこめには種々の工夫が必要で
ある。
Therefore, it is necessary to make a device which does not arouse euphoria within the limits of the fixed capacity and the instruction code. One of them is to play electronic music for various events, but it is necessary to devise various methods to play more attractive music.

【0006】電子音楽を演奏する場合、例えばイベント
毎の楽譜データ、その楽譜データに含まれる音程デー
タ、音程データに対応する周波数データ等をメモリのデ
ータ領域内に格納する必要がある。しかし、より多くの
種類のスロットマシーンに対応することができる様にす
る為に、汎用性のあるデータについてはできるだけプロ
グラム領域に格納し、スロットマシーン固有の音譜デー
タ等についてをデータ領域に格納することが好ましい。
When playing electronic music, it is necessary to store, for example, score data for each event, pitch data included in the score data, frequency data corresponding to the pitch data, etc. in the data area of the memory. However, in order to be able to support more types of slot machines, store versatile data in the program area as much as possible, and store note data specific to slot machines in the data area. Is preferred.

【0007】その場合でも、プログラム領域内のもの
は、単純なプログラムの命令コードの組み合わせで、汎
用性があって、更に高速に電子音楽を再生することがで
きる必要がある。
Even in such a case, it is necessary that the program area is a combination of instruction codes of a simple program, has general versatility, and can play electronic music at a higher speed.

【0008】そこで、本発明の目的は、データ領域を節
約することができる様にデータの一部を含むプログラム
構成にすることで、少ないメモリ領域を有効に利用する
ことができるサウンドドライバを有する電子音楽再生手
段を持つスロットマシーンを提供することにある。
Therefore, an object of the present invention is to provide an electronic device having a sound driver capable of effectively utilizing a small memory area by forming a program structure including a part of data so as to save the data area. It is to provide a slot machine having a music reproducing means.

【0009】また、本発明の別の目的は、スロットマシ
ンの機種に関係ない汎用的な音程データの周波数データ
を取得するのに音程間で同等のプログラム実行時間で且
つ短時間で行なうことができる電子音楽再生手段を有す
るスロットマシーンを提供することにある。
Another object of the present invention is to obtain frequency data of general-purpose pitch data irrespective of the model of the slot machine, which can be performed in the same program execution time and in a short time between pitches. It is to provide a slot machine having an electronic music reproducing means.

【0010】[0010]

【課題を解決するための手段】上記の目的は、本発明に
よれば、周囲にシンボルマークが表示される複数の回転
リールと、スタートレバーにより該回転リールを回転さ
せ、停止後のシンボルマークの組み合わせで入賞か否か
を決定するスロットマシーンにおいて、各イベント毎に
効果音を出力するスピーカと、該スピーカに音信号を与
えるスピーカ駆動手段と、イベントの発生に伴い発生さ
れる効果音データに対応し、少なくとも一連の音程デー
タを有する楽譜データを格納するデータ領域と、該音程
データに対応する出力音データを、該音程データを構成
する複数ビットを順次判定して分岐して取得させるドラ
イバプログラムを格納するプログラム領域とを有する記
憶媒体と、該ドライバプログラムを実行して出力音デー
タを前記スピーカ駆動手段に供給する制御手段とを有す
ることを特徴とするスロットマシンを提供することによ
り達成される。
According to the present invention, the above object is to provide a plurality of rotating reels around which symbol marks are displayed, and a start lever to rotate the rotating reels so that the symbol marks after stopping are Corresponding to a speaker that outputs a sound effect for each event, a speaker driving unit that gives a sound signal to the speaker, and sound effect data generated when an event occurs in a slot machine that determines whether or not to win a prize And a driver program for obtaining a data area for storing musical score data having at least a series of pitch data and output sound data corresponding to the pitch data by sequentially determining a plurality of bits constituting the pitch data and branching them. A storage medium having a program area for storing the output sound data by executing the driver program. It is accomplished by providing a slot machine, characterized in that a control means for supplying the motion means.

【0011】記憶媒体の領域のデータ領域にはスロット
マシンに固有の楽譜データを格納し、汎用的なドライバ
プログラムを格納したプログラム領域に音程データに対
応する出力音データを格納することで、データ領域を有
効に使用することができる。また、複数の音程データに
対応する出力音データを同等の命令ステップ数で取得す
ることができるので、いかなる構成の楽譜データに対し
ても対応することができる。
In the data area of the storage medium, the musical score data unique to the slot machine is stored, and in the program area in which a general-purpose driver program is stored, the output sound data corresponding to the pitch data is stored. Can be used effectively. Further, since the output sound data corresponding to a plurality of pitch data can be acquired with the same number of command steps, it is possible to correspond to the musical score data of any configuration.

【0012】更に、本発明は具体的には、前記音程デー
タが複数の2進数のビットから構成され、前記ドライバ
プログラムは、該複数のビットを順次1または0かの判
定を行い、全ビットの判定を行なった後に当該音程デー
タに対応する周波数データを出力音データとして取得さ
せることを特徴とする。複数のビットを順次判定すると
いう単純なアルゴリズムであり、制限されている複雑な
ジャンプ命令などを利用することなくアセンブラ言語で
実現することができる。
Further, in the present invention, specifically, the pitch data is composed of a plurality of binary bits, and the driver program sequentially judges whether the plurality of bits are 1 or 0, and all the bits are After the determination, the frequency data corresponding to the pitch data is acquired as output sound data. This is a simple algorithm that sequentially determines a plurality of bits, and can be implemented in assembler language without using complicated jump instructions that are restricted.

【0013】更に、本発明では、前記制御手段が少なく
とも入賞判定制御と表示制御を行ない、前記イベントの
発生に伴い割り込み信号と効果音データを発生するメイ
ン制御手段と、該割り込み信号と効果音データを入力
し、前記ドライバプログラムを実行して出力音データを
取得し、前記スピーカ駆動回路に供給するサブ制御手段
とを有することを特徴とする。
Further, in the present invention, the control means performs at least winning determination control and display control, and main control means for generating an interrupt signal and sound effect data in response to the occurrence of the event, and the interrupt signal and sound effect data. Is input, the driver program is executed to obtain output sound data, and the sub-control means supplies the output sound data to the speaker drive circuit.

【0014】メイン制御手段とサブ制御手段に分けるこ
とで、サウンドの制御をサブ制御手段が専任で行なうこ
とができ、より高速な音声制御を実現することができ
る。
By dividing the main control means and the sub control means, it is possible for the sub control means to exclusively control the sound, and it is possible to realize higher speed voice control.

【0015】尚、上記の音程データとは例えばドレミフ
ァソラシ(CDEFGAB)に対応するデータであり、
出力音データとは例えばそれに対応する周波数データで
ある。そして、スピーカ駆動回路はその周波数データを
受信して内蔵のFM音源から音信号をスピーカに出力す
る。
Note that the above-mentioned pitch data is data corresponding to, for example, Doremifashi Rashi (CDEFGAB),
The output sound data is, for example, frequency data corresponding to it. Then, the speaker drive circuit receives the frequency data and outputs a sound signal from the built-in FM sound source to the speaker.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面に従って説明する。しかしながら、本発明の技術
的範囲がその実施の形態に限定されるものではない。
Embodiments of the present invention will be described below with reference to the drawings. However, the technical scope of the present invention is not limited to the embodiment.

【0017】図1は、スロットマシンの外観の構成を示
す図である。10はスロットマシン本体、11は入賞シ
ンボルマークの組み合わせや配当表が表示される表示部
である。本体前面には、3つのリール窓12,13,1
4が設けられ、内部にそれぞれ回転するリールが設けら
れている。15は入賞した場合の払出しメダル数を表示
し、払出し中は順次カウントダウンされる。16はメダ
ル投入口で、通常メダル投入後に遊戯者がスタートレバ
ー8を操作してリールを回転させ、所望のタイミングで
各リールのストップボタン17を押すことでリールを止
める。尚、この例ではリール窓からはリール上のシンボ
ルマークがそれぞれ3個づつ表示され、スタートに先立
って投入するメダル数に応じて図示される「1」のライ
ン、「1」と「2」のライン、「1」「2」「3」のラ
インがそれぞれ有効化される。そして、有効化されたラ
イン上に入賞シンボルマークの組み合わせがそろった時
に、それぞれの配当に従って、コインがコイン払出し口
18から受皿19に払い出される。
FIG. 1 is a diagram showing an external configuration of a slot machine. Reference numeral 10 is a main body of the slot machine, and 11 is a display unit for displaying a combination of winning symbol marks and a payout table. On the front of the main body, there are three reel windows 12, 13, 1
4 are provided, and reels that rotate respectively are provided inside. Reference numeral 15 indicates the number of medals to be paid out when a prize is won, and is sequentially counted down during payout. Reference numeral 16 is a medal insertion slot. After a normal medal has been inserted, the player operates the start lever 8 to rotate the reels and presses the stop button 17 of each reel at a desired timing to stop the reels. In this example, three symbol marks on the reel are displayed from the reel window, and the lines of "1", "1" and "2" are displayed according to the number of medals to be inserted before the start. The lines and the lines “1”, “2” and “3” are activated respectively. Then, when the combination of the winning symbol marks is completed on the activated line, coins are paid out from the coin payout opening 18 to the tray 19 according to each payout.

【0018】図2は、上記スロッチマシンを制御するマ
イクロコンピュータを利用したシステム構成図である。
3個のリール1,2,3はそれぞれがステッピングモー
タ4,5,6で駆動される。40はそのモータを駆動す
る駆動回路である。リールの回転は、リール内に設けた
リセット機構によりリセット検出素子17,18,19
を介して検出されるリセットタイミングとそのタイミン
グから何パルスがモータに与えられたかのカウントでC
PU30側が認識することができ、停止までのカウント
数により停止時のシンボルマークを認識することができ
る。
FIG. 2 is a system configuration diagram using a microcomputer for controlling the slot machine.
Each of the three reels 1, 2, 3 is driven by a stepping motor 4, 5, 6. Reference numeral 40 is a drive circuit for driving the motor. The rotation of the reel is detected by the reset detection elements 17, 18, 19 by the reset mechanism provided in the reel.
C is a count of the number of pulses given to the motor from the reset timing and the timing detected through
It can be recognized by the PU 30 side, and the symbol mark at the time of stop can be recognized by the count number until the stop.

【0019】遊戯者がメダルを投入すると、メダル検出
器20により投入個数が検出され、投入個数に応じてメ
ダル投入表示器52によりスロットマシンの前面パネル
に表示される。遊戯者のスタートレバー8の操作によ
り、リールが回転し、それぞれの停止ボタンから所定時
間後に停止する。CPU30は、その時の有効化ライン
上のシンボルマークが入賞マークの組み合わせと一致す
るかどうかを判断する。入賞の組み合わせがある場合に
は、入賞ライン表示器51により前面パネルに表示さ
れ、その入賞の配当表に応じたメダルの個数がセグメン
トタイプのLED表示器53により表示部15に表示さ
れる。そして、その個数のコインがホッパー46により
払い出される。メダル払出し検出器22は、払出し口1
8から排出されるメダルの個数を検出しCPU30に伝
える。カウンタ47は、図示しない投入コイン数をカウ
ントして表示するものである。42〜45はそれぞれを
駆動する駆動回路である。
When a player inserts medals, the number of inserted medals is detected by the medal detector 20 and displayed on the front panel of the slot machine by the medal insertion indicator 52 according to the inserted number. When the player operates the start lever 8, the reels rotate and stop after a predetermined time from each stop button. The CPU 30 determines whether the symbol mark on the activation line at that time matches the combination of the winning marks. When there is a winning combination, it is displayed on the front panel by the winning line display 51, and the number of medals according to the payout table of the winning is displayed on the display unit 15 by the segment type LED display 53. Then, the number of coins is paid out by the hopper 46. The medal payout detector 22 is the payout opening 1
The number of medals discharged from 8 is detected and notified to the CPU 30. The counter 47 counts and displays the number of inserted coins (not shown). Reference numerals 42 to 45 are drive circuits for driving each.

【0020】図中Bは、マイクロコンピュータ等からな
る制御部であり、出力ポート34,35,36と入力ポ
ート33、ROM31、RAM32がそれぞれCPU3
0に図示しないバス等を介して接続されている。CPU
30とROM31、RAM32については後で詳述する
が、ROM31内には、スロットマシン全体を制御する
制御プログラムと、制御に必要なデータとが格納され
る。制御プログラムには、例えば入賞判定制御プログラ
ム、表示制御プログラム、サウンド制御プログラム等が
含まれる。データには、例えば、シンボルマークとその
コードの対応表、入賞シンボルマークと払出しメダル数
の対応表、配当表、各種イベントに対応した表示デー
タ、サウンドデータ等が含まれる。RAM32内には、
操作中に発生する例えば投入コインの個数、ボーナス期
間の発生等が記憶される。
In the figure, B is a control unit comprising a microcomputer, etc., and the output ports 34, 35, 36, the input port 33, the ROM 31, and the RAM 32 are respectively CPU3.
0 is connected via a bus or the like (not shown). CPU
The ROM 30, the ROM 31, and the RAM 32 will be described in detail later, but the ROM 31 stores a control program for controlling the entire slot machine and data necessary for the control. The control program includes, for example, a winning determination control program, a display control program, a sound control program, and the like. The data includes, for example, a correspondence table of symbol marks and their codes, a correspondence table of winning symbol marks and payout medals, a payout table, display data corresponding to various events, sound data, and the like. In RAM32,
For example, the number of coins inserted during the operation, the occurrence of a bonus period, etc. are stored.

【0021】以上が本発明が実施されるスロットマシン
の全体の概略である。次に、本発明のサウンド制御部分
について説明する。
The above is the overall outline of the slot machine in which the present invention is implemented. Next, the sound control part of the present invention will be described.

【0022】図3は、図2のCPU30の部分を詳述す
るシステムブロック図である。CPU30は、入賞判定
制御や表示制御等を主に行なうメインCPU30Mと、
サウンド制御を行なうサブCPU30Sに分けられる。
メインCPU30Mは、バスBUS1を介してROM3
1M,RAM32M及びインターフェースに接続されて
いる。インターフェースはユーザからの各種の操作信号
を受けて各種の表示指令やコイン払出し指令等を出力す
るもので、ここでは簡単の為にまとめてインターフェー
スとして示している。
FIG. 3 is a system block diagram detailing the portion of the CPU 30 of FIG. The CPU 30 includes a main CPU 30M which mainly performs winning determination control and display control,
It is divided into sub CPUs 30S that perform sound control.
The main CPU 30M is the ROM 3 via the bus BUS1.
It is connected to 1M, RAM32M and an interface. The interface outputs various display commands, coin payout commands, etc. in response to various operation signals from the user, and is here collectively shown as an interface for simplicity.

【0023】メインCPU30Mは、主に入賞判定や表
示の制御を行なうが、各種のイベントの発生に同期して
サブCPU30Sに対して割り込み命令NMIを効果音
番号と共に与える。サブCPU30S側では、その割り
込み命令と効果音番号から、必要なサウンドをスピーカ
50から出力するよう制御する。ここで、各種のイベン
トの例としては、コイン投入時、スロット回転時、スロ
ット停止時、そして入賞時等が含まれる。
The main CPU 30M mainly controls winning determination and display, but gives an interrupt command NMI together with a sound effect number to the sub CPU 30S in synchronization with the occurrence of various events. On the side of the sub CPU 30S, control is performed so that a required sound is output from the speaker 50 based on the interrupt command and the sound effect number. Here, examples of various events include coin insertion, slot rotation, slot stop, and winning.

【0024】サブCPU30Sは、同様にバスBUS2
を介してサブCPU用のROM31S,RAM32Sに
接続される。43は、スピーカ50の駆動回路であり、
内部にFM音源を有している。ROM31S内は、サウ
ンドドライバプログラムの領域Xとデータの領域Yとに
分けられている。サウンドドライバに従ってサブCPU
30Sは、メインCPU30Mから割り込み命令NMI
と共に供給される効果音番号に対応する楽譜データを、
データ領域内のテーブルから読み出す。楽譜データは、
例えばドレミファ(CDEF..)の音程データ、それ
ぞれの長さデータ、繰り返し指令データ、トランスポー
ズデータ等から構成される。サウンドドライバは、この
楽譜データ内の音程データ(CDEF)に対応する周波
数データfc,fd,fe,ff等を格納するプログラ
ムであり、後述するアルゴリズムに従って周波数データ
を取得してFM音源を有するスピーカ駆動回路43に与
える。
Similarly, the sub CPU 30S uses the bus BUS2.
It is connected to the ROM 31S and the RAM 32S for the sub CPU via. 43 is a drive circuit of the speaker 50,
It has an FM sound source inside. The ROM 31S is divided into a sound driver program area X and a data area Y. Sub CPU according to sound driver
30S is an interrupt command NMI from the main CPU 30M.
The score data corresponding to the sound effect number supplied with
Read from the table in the data area. The score data is
For example, it is composed of pitch data of Dremifah (CDEF ...), respective length data, repeat command data, transpose data and the like. The sound driver is a program that stores frequency data fc, fd, fe, ff, etc. corresponding to the pitch data (CDEF) in the score data, and acquires the frequency data according to an algorithm described later to drive a speaker having an FM sound source. It is given to the circuit 43.

【0025】音程データは、例えば8オクターブ必要な
場合は、96個(12×8)必要になる。またFM音源
内には、図示される通り、周波数データfc,fd,f
eに対応する出力波形を計算する電子回路が格納されて
いる。
For example, if eight octaves are required, 96 pieces (12 × 8) of pitch data are required. Further, in the FM sound source, as shown in the figure, frequency data fc, fd, f
An electronic circuit for calculating the output waveform corresponding to e is stored.

【0026】ところで、特定の業務用に使用されるスロ
ットマシンは、所謂射幸心を煽らない程度に制御される
ことが必要である。それに伴い、制御用のプログラム領
域とデータ領域の容量が厳格に制限されている。例え
ば、サウンドドライバの例では、プログラム領域が16
進法で1000H、データ領域がC00H等である(こ
の例ではデータ領域がプログラム領域の4分の3であ
る。)。従って、出来るだけ多くのイベントに対してそ
れぞれ最大の効果音を発生させるためには、楽譜データ
を格納するデータ領域の有効利用が大切である。
By the way, a slot machine used for a specific business needs to be controlled to the extent that it does not cause so-called euphoria. Along with this, the capacities of the control program area and data area are strictly limited. For example, in the case of the sound driver, the program area is 16
It is 1000H in the base system and C00H in the data area (in this example, the data area is 3/4 of the program area). Therefore, in order to generate the maximum sound effect for as many events as possible, it is important to effectively use the data area for storing the score data.

【0027】一方、データ領域は通常スロットマシン毎
に個別に作成されるもので、サウンドドライバプログラ
ム領域は全スロットマシンに対応できる汎用的なものに
することが望ましい。
On the other hand, the data area is usually created individually for each slot machine, and it is desirable that the sound driver program area is a general-purpose one that can be applied to all slot machines.

【0028】そこで、本実施の形態では、音楽データで
あっても音程データと周波数データのテーブルの様に全
スロットマシンに共通に使用できるものはサウンドドラ
イバプログラム内に格納している。
Therefore, in the present embodiment, even music data that can be commonly used by all slot machines, such as a pitch data table and a frequency data table, is stored in the sound driver program.

【0029】また、特定の業務用のスロットマシンの場
合は、制御プログラム内にレジスタ間接ジャンプ命令等
の複雑な命令コードの使用が制限されている。従って、
サウンドドライバプログラム内に96個の音程データを
格納する場合、楽譜データからの特定の音程データに対
応する周波数データを取得するためのアルゴリズムは、
レジスタ間接ジャンプ命令等を使用せずに構成すること
が必要である。しかも、96個の音程データに対応する
周波数データに対して同等の取得時間であって出来るだ
け短い取得時間で取得することが、汎用性を担保しつつ
処理時間を短くするためには必要である。
Further, in the case of a specific business slot machine, use of a complicated instruction code such as a register indirect jump instruction is restricted in the control program. Therefore,
When 96 pitch data are stored in the sound driver program, an algorithm for obtaining frequency data corresponding to specific pitch data from the score data is
It is necessary to configure without using register indirect jump instructions. In addition, it is necessary to obtain the frequency data corresponding to the 96 pitch data with the same acquisition time and as short an acquisition time as possible in order to ensure versatility and shorten the processing time. .

【0030】そこで、本実施の形態では、音程データの
番号を構成する複数のビットが、0か1かで場合分けし
て分岐し、順次各ビットを判定するというアルゴリズム
を採用する。
Therefore, in the present embodiment, an algorithm is adopted in which a plurality of bits forming the pitch data number are branched depending on whether they are 0 or 1, and each bit is sequentially determined.

【0031】図4は、かかるアルゴリズムを表すフロー
チャートである。この例は、4つの音程データに対応す
る周波数を獲得する場合についてである。即ち、4つの
音程データの音程番号と周波数の関係は次の通りであ
る。
FIG. 4 is a flowchart showing such an algorithm. In this example, frequencies corresponding to four pitch data are acquired. That is, the relationship between the pitch number and frequency of the four pitch data is as follows.

【0032】 C=”00” : fc D=”01” : fd E=”10” : fe F=”11” : ff 図4のアルゴリズムに従って説明すると、データ領域内
の楽譜データから取得された音程番号の最下位ビットの
ビット0のデータを取得する(ステップS1)。そし
て、ビット0が0か1かの判定をおこなう(ステップS
2)。次に、音程番号の次のビットのビット1のデータ
を取得する(ステップS3,S7)。そしてそのビット
1が0か1かの判定を行なう(ステップS4,S8)。
その後、それぞれ対応する音程番号の周波数を取得する
(ステップS5,6,9,10)。
C = “00”: fc D = “01”: fd E = “10”: fe F = “11”: ff Explaining according to the algorithm of FIG. 4, the pitch obtained from the musical score data in the data area. The data of bit 0 of the least significant bit of the number is acquired (step S1). Then, it is determined whether bit 0 is 0 or 1 (step S
2). Next, the data of bit 1 of the next bit of the pitch number is acquired (steps S3 and S7). Then, it is determined whether the bit 1 is 0 or 1 (steps S4 and S8).
Then, the frequencies of the corresponding pitch numbers are obtained (steps S5, 6, 9, and 10).

【0033】上記アルゴリズムによれば、2進数で表わ
される音程番号の各ビットを最下位ビットから順に判断
していくので、全ての音程番号に対して等しいプログラ
ムステップ数で対応する周波数データの取得を行なうこ
とができる。
According to the above algorithm, since each bit of the pitch number represented by a binary number is determined in order from the least significant bit, it is possible to obtain the corresponding frequency data with the same number of program steps for all the pitch numbers. Can be done.

【0034】図5は、周波数データ取得の他のアルゴリ
ズムのフローチャートである。このアルゴリズムは図4
で説明したアルゴリズムの比較例であり、図4のアルゴ
リズムの特徴点を説明するためのものである。この例で
は、音程番号が0か否かの判断を音程番号を1つづ減じ
ながら次々に行なうものである。
FIG. 5 is a flowchart of another algorithm for obtaining frequency data. This algorithm is shown in Figure 4.
It is a comparative example of the algorithm described in 1 above, and is for explaining the characteristic points of the algorithm of FIG. In this example, it is determined whether or not the pitch number is 0 by successively reducing the pitch number by one.

【0035】図示される通り、ステップS20にて音程
番号が0か否かの判断を行い、もし0であれば、音程番
号0の周波数データを取得する(ステップS21)。次
に、音程番号を1減じて、同様に0か否かの判断を行な
う(ステップS22,23)。もし0であれば、音程番
号1の周波数データを取得する(ステップS24)。更
に、音程番号を1減じて(ステップS25)、同様に0
か否かの判断を行い(ステップS26)、もし0であれ
ば、音程番号2の周波数データを取得する(ステップS
27)。さらに1の場合には、音程番号3の周波数デー
タを取得する(ステップS28)。
As shown in the figure, in step S20, it is determined whether or not the pitch number is 0, and if it is 0, the frequency data of the pitch number 0 is acquired (step S21). Next, the pitch number is decremented by 1 and it is similarly determined whether or not it is 0 (steps S22 and S23). If it is 0, the frequency data of the pitch number 1 is acquired (step S24). Further, the pitch number is decremented by 1 (step S25), and similarly 0
It is determined whether or not (step S26), and if 0, frequency data of pitch number 2 is acquired (step S26).
27). Further, in the case of 1, frequency data of pitch number 3 is acquired (step S28).

【0036】このアルゴリズムの場合も、特別なレジス
タ間接ジャンプ命令等を使用することなく実現すること
ができるが、各音程番号の周波数データの取得に要する
命令ステップ数が異なり、最悪の場合の取得までに要す
る時間が極端に長くなってしまう。従って、汎用的な音
程番号に対応する周波数データの取得のアルゴリズムと
しては好ましくない。
This algorithm can also be realized without using a special register indirect jump instruction or the like, but the number of instruction steps required for obtaining frequency data of each pitch number is different, and even the worst case is obtained. It takes an extremely long time. Therefore, it is not preferable as an algorithm for acquiring frequency data corresponding to a general pitch number.

【0037】図4に示したアルゴリズムであれば、8ビ
ットのマイクロコンピュータ等で広く利用されるアセン
ブラプログラムによって、特別なレジスタ間接ジャンプ
命令等を使用することなく実現することができる。以下
にそのプログラムの例を示す。
The algorithm shown in FIG. 4 can be implemented by an assembler program widely used in 8-bit microcomputers and the like without using a special register indirect jump instruction or the like. An example of the program is shown below.

【0038】 LIST 4: 1 RRCA 2 S1 JR C,LIST 4 2 3 S2 RRCA 4 S3 JR C,LIST 4 1 5 S4 LD BC,0600H+288 6 S5 RET 7 LIST 4 1: 8 LD BC,0600H+343 9 S6 RET 10 LIST 4 2: 11 RRCA 12 S7 JR C,LIST 4 3 13 S8 LD BC,0600H+323 14 S9 RET 15 LIST 4 3: 16 LD BC,0600H+385 17 S10 RET 18 上記のプログラムリストの右端には各プログラムステッ
プ番号と対応する図4内のステップ番号を示している。
1はプログラムの番地であり、上記プログラムの先頭番
地がLIST 4であることを意味する。ステップ2にて、キ
ャリー付きのAレジスタ内のビットを1ビットづつシフ
トするライト・ローテーション命令である。その結果、
音程番号の最下位ビットがキャリー領域内にシフトされ
る。ステップ3で、キャリーフラグCが1の場合にはLI
ST 4 2番地にジャンプする。JRはジャンプレラティブで
あり、256 バイト内の領域にジャンプさせる比較的単純
な命令コードであり、任意の番地にジャンプするような
レジスタ間接ジャンプ命令とは異なる。ステップ4で、
再度Aレジスタ内のビットを1ビットづつシフトし、最
下位ビットの次のビットがキャリー領域に格納される。
そして、ステップ5にて、再度キャリーフラグが1の場
合にはLIST 4 1番地にジャンプする。このジャンプ命令
もジャンプレラティブ命令である。そして、ステップ6
にてBCレジスタ内に周波数データの0600H+288(fc) を
格納する。
LIST 4: 1 RRCA 2 S1 JR C, LIST 4 2 3 S2 RRCA 4 S3 JR C, LIST 4 1 5 S4 LD BC, 0600H + 288 6 S5 RET 7 LIST 4 1: 8 LD BC, 0600H + 343 9 S6 RET 10 LIST 4 2: 11 RRCA 12 S7 JR C, LIST 4 3 13 S8 LD BC, 0600H + 323 14 S9 RET 15 LIST 4 3: 16 LD BC, 0600H + 385 17 S10 RET 18 At the right end, step numbers in FIG. 4 corresponding to each program step number are shown.
1 is the address of the program, which means that the first address of the program is LIST 4. In step 2, it is a write rotation instruction that shifts the bits in the A register with carry by 1 bit at a time. as a result,
The least significant bit of the pitch number is shifted into the carry area. If the carry flag C is 1 in step 3, LI
ST 4 Jump to address 2. JR is a jump relative, which is a relatively simple instruction code that jumps to an area within 256 bytes, and is different from a register indirect jump instruction that jumps to an arbitrary address. In step 4,
The bits in the A register are again shifted by one bit, and the bit next to the least significant bit is stored in the carry area.
Then, at step 5, if the carry flag is 1 again, the process jumps to the address LIST 41. This jump instruction is also a jump relative instruction. And step 6
Store 0600H + 288 (fc) of frequency data in the BC register at.

【0039】ステップ9にて、BCレジスタ内に周波数
データの600H+343(fe)を格納する。ステップ12では、
音程番号のビット1のデータをキャリー領域にシフト
し、ステップ13で、キャリーフラグCが1の場合には
番地LIST 4 3番地にジャンプする。ステップ14で、B
Cレジスタ内に周波数データの600H+323(fd)を取得す
る。更に、ステップ17でBCレジスタ内に周波数デー
タの600H+385(ff)を取得する。
At step 9, frequency data 600H + 343 (fe) is stored in the BC register. In step 12,
The data of bit 1 of the pitch number is shifted to the carry area, and in step 13, if the carry flag C is 1, jump to the address LIST 43. In step 14, B
Acquire frequency data 600H + 323 (fd) in the C register. Further, in step 17, frequency data 600H + 385 (ff) is acquired in the BC register.

【0040】上記のプログラムリストに示される通り、
図4に示されたアルゴリズムであれば、レジスタ間接ジ
ャンプ命令等の制約のある命令コードを使用することな
く構成することができる。しかも、各周波数データを制
御プログラム内に格納することができる。そして、どの
音程番号に対しても等しい時間内に周波数データを獲得
することができるので、いかなる楽譜データに対しても
同等のスピードで対応することができるので、汎用性が
求められるプログラム領域内のアルゴリズムとしては最
適である。
As shown in the program list above,
The algorithm shown in FIG. 4 can be configured without using a restricted instruction code such as a register indirect jump instruction. Moreover, each frequency data can be stored in the control program. Since frequency data can be acquired within an equal time for any pitch number, any musical score data can be dealt with at an equal speed. Optimal as an algorithm.

【0041】8オクターブ分の音程データを使用する場
合には、前述した通り96個の音程データが必要にな
る。従って、8ビットの2進数で音程データを構成する
場合には下位の7ビットが音程データを特定するために
使用される。従ってその場合には、図4のアルゴリズム
は、7階層の1または0の判定命令が行なわれることに
なる。
When the pitch data for 8 octaves is used, 96 pitch data are required as described above. Therefore, when the pitch data is composed of 8-bit binary numbers, the lower 7 bits are used to specify the pitch data. Therefore, in that case, in the algorithm of FIG. 4, a judgment instruction of 1 or 0 of 7 layers is performed.

【0042】[0042]

【発明の効果】以上説明した通り、本発明によれば、ス
ロットマシンのサウンド制御用のサウンドドライバ内に
全ての音程データに対して同等の実行時間内であって比
較的短い時間内に対応する周波数データを取得すること
ができ、しかも制限されているレジスタ間接ジャンプ命
令等を使用することなくプログラムを構成することがで
きる。従って、データ領域内に汎用性がある音程データ
と周波数データのテーブルを格納する必要がなく、デー
タ領域を有効に使用することができる。
As described above, according to the present invention, the sound driver for controlling the sound of the slot machine can handle all pitch data within the same execution time but within a relatively short time. The frequency data can be acquired, and the program can be configured without using the restricted register indirect jump instruction or the like. Therefore, it is not necessary to store a versatile table of pitch data and frequency data in the data area, and the data area can be used effectively.

【図面の簡単な説明】[Brief description of drawings]

【図1】スロットマシンの外観図である。FIG. 1 is an external view of a slot machine.

【図2】スロットマシンのシステム構成図である。FIG. 2 is a system configuration diagram of a slot machine.

【図3】図2の一部詳細なシステム構成図である。FIG. 3 is a partially detailed system configuration diagram of FIG.

【図4】周波数取得アルゴリズムのフローチャート図で
ある。
FIG. 4 is a flowchart of a frequency acquisition algorithm.

【図5】周波数取得アルゴリズムのフローチャート図
(比較例)である。
FIG. 5 is a flowchart of a frequency acquisition algorithm (comparative example).

【符号の説明】[Explanation of symbols]

1,2,3 回転リール 8 スタートレバー 10 スロットマシン本体 50 スピーカ 43 スピーカ制御回路 30M メイン制御手段、メインCPU 30S サブ制御手段、サブCPU 31S 記憶媒体、ROM 1, 2, 3 rotating reel 8 start lever 10 slot machine main body 50 speaker 43 speaker control circuit 30M main control means, main CPU 30S sub control means, sub CPU 31S storage medium, ROM

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】周囲にシンボルマークが表示される複数の
回転リールと、スタートレバーにより該回転リールを回
転させ、停止後のシンボルマークの組み合わせで入賞か
否かを決定するスロットマシーンにおいて、 各イベント毎に効果音を出力するスピーカと、 該スピーカに音信号を与えるスピーカ駆動手段と、 イベントの発生に伴い発生される効果音データに対応
し、少なくとも一連の音程データを有する楽譜データを
格納するデータ領域と、該音程データに対応する出力音
データを、該音程データを構成する複数ビットを順次判
定して分岐して取得させるドライバプログラムを格納す
るプログラム領域とを有する記憶媒体と、 該ドライバプログラムを実行して出力音データを前記ス
ピーカ駆動手段に供給する制御手段とを有することを特
徴とするスロットマシン。
1. A slot machine in which a plurality of rotating reels around which symbol marks are displayed and a start lever rotate the rotating reels to determine whether or not a prize is won based on the combination of the symbol marks after the stop. A speaker that outputs a sound effect for each time, a speaker driving means that gives a sound signal to the speaker, and data that stores score data having at least a series of pitch data corresponding to the sound effect data generated with the occurrence of an event. A storage medium having a region and a program region for storing a driver program for obtaining output sound data corresponding to the pitch data by sequentially determining a plurality of bits constituting the pitch data and branching the output sound data; And a control means for executing and supplying output sound data to the speaker driving means. A slot machine to mark.
【請求項2】請求項1記載のスロットマシンにおいて、 前記音程データが複数の2進数のビットから構成され、 前記ドライバプログラムは、該複数のビットを順次1ま
たは0かの判定を行い、全ビットの判定を行なった後に
当該音程データに対応する周波数データを出力音データ
として取得させることを特徴とする。
2. The slot machine according to claim 1, wherein the pitch data is composed of a plurality of binary bits, and the driver program sequentially judges whether the plurality of bits are 1 or 0, and all the bits are stored. It is characterized in that the frequency data corresponding to the pitch data is acquired as the output sound data after the determination of.
【請求項3】請求項1記載のスロットマシンにおいて、 前記制御手段が少なくとも入賞判定制御と表示制御を行
ない、前記イベントの発生に伴い割り込み信号と効果音
データを発生するメイン制御手段と、 該割り込み信号と効果音データを入力し、前記ドライバ
プログラムを実行して出力音データを取得し、前記スピ
ーカ駆動回路に供給するサブ制御手段とを有することを
特徴とする。
3. The slot machine according to claim 1, wherein said control means performs at least winning determination control and display control, and main control means for generating an interrupt signal and sound effect data in response to the occurrence of said event, and said interrupt. It is characterized by further comprising sub-control means for inputting a signal and sound effect data, executing the driver program to obtain output sound data, and supplying the output sound data to the speaker drive circuit.
【請求項4】請求項1記載のスロットマシンにおいて、 前記プログラム領域内に前記音程データに対応する出力
音データが格納されていることを特徴とする。
4. The slot machine according to claim 1, wherein output sound data corresponding to the pitch data is stored in the program area.
JP8069522A 1996-03-26 1996-03-26 Slot machine Withdrawn JPH09253273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8069522A JPH09253273A (en) 1996-03-26 1996-03-26 Slot machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8069522A JPH09253273A (en) 1996-03-26 1996-03-26 Slot machine

Publications (1)

Publication Number Publication Date
JPH09253273A true JPH09253273A (en) 1997-09-30

Family

ID=13405148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8069522A Withdrawn JPH09253273A (en) 1996-03-26 1996-03-26 Slot machine

Country Status (1)

Country Link
JP (1) JPH09253273A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11216221A (en) * 1998-02-03 1999-08-10 Yamasa Kk Slot machine
JP2001058021A (en) * 1999-08-23 2001-03-06 Samii Kk Slot machine
JP2001058022A (en) * 1999-08-23 2001-03-06 Samii Kk Slot machine
JP2002085641A (en) * 2000-09-20 2002-03-26 Konami Parlor Entertainment Kk Game machine
US6416411B1 (en) * 1998-10-28 2002-07-09 Aruze Corporation Game machine with random sound effects
JP2009297575A (en) * 2009-10-01 2009-12-24 Sammy Corp Slot machine
JP2010279777A (en) * 2010-09-18 2010-12-16 Sammy Corp Slot machine
JP2010279776A (en) * 2010-09-18 2010-12-16 Sammy Corp Slot machine
JP2010279775A (en) * 2010-09-18 2010-12-16 Sammy Corp Slot machine
JP2011015993A (en) * 2010-09-18 2011-01-27 Sammy Corp Slot machine
JP2019217329A (en) * 2019-08-29 2019-12-26 株式会社ユニバーサルエンターテインメント Game machine

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11216221A (en) * 1998-02-03 1999-08-10 Yamasa Kk Slot machine
US6416411B1 (en) * 1998-10-28 2002-07-09 Aruze Corporation Game machine with random sound effects
JP2001058021A (en) * 1999-08-23 2001-03-06 Samii Kk Slot machine
JP2001058022A (en) * 1999-08-23 2001-03-06 Samii Kk Slot machine
JP2002085641A (en) * 2000-09-20 2002-03-26 Konami Parlor Entertainment Kk Game machine
JP2009297575A (en) * 2009-10-01 2009-12-24 Sammy Corp Slot machine
JP2010279777A (en) * 2010-09-18 2010-12-16 Sammy Corp Slot machine
JP2010279776A (en) * 2010-09-18 2010-12-16 Sammy Corp Slot machine
JP2010279775A (en) * 2010-09-18 2010-12-16 Sammy Corp Slot machine
JP2011015993A (en) * 2010-09-18 2011-01-27 Sammy Corp Slot machine
JP2019217329A (en) * 2019-08-29 2019-12-26 株式会社ユニバーサルエンターテインメント Game machine

Similar Documents

Publication Publication Date Title
JP4671475B2 (en) Game machine
JP3336287B2 (en) Playstand
US20050266916A1 (en) Gaming machine
JP2000271268A (en) Game machine
JP2003126333A (en) Slot machine
JP2012040139A (en) Game machine
JPH06261971A (en) Medal game machine
JPH09253273A (en) Slot machine
JP2004159829A (en) Game machine
JP2008307125A (en) Slot machine
JP5467559B2 (en) Slot machine
JPH11216221A (en) Slot machine
JPH11226175A (en) Game machine
JP2007190124A (en) Slot machine
JP2007111364A (en) Game machine
JP2008110227A (en) Game machine
JP2007275296A (en) Game machine
JP2002301202A (en) Stoppage controlling device
JP3331186B2 (en) Playstand
JPH06246047A (en) Game machine
JP2004154433A (en) Game machine
WO2006068247A1 (en) Game device
JPH062179B2 (en) Rotating body game machine
JP2007275297A (en) Game machine
JP2007111367A (en) Game machine

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603