JP2019111057A5 - - Google Patents

Download PDF

Info

Publication number
JP2019111057A5
JP2019111057A5 JP2017246247A JP2017246247A JP2019111057A5 JP 2019111057 A5 JP2019111057 A5 JP 2019111057A5 JP 2017246247 A JP2017246247 A JP 2017246247A JP 2017246247 A JP2017246247 A JP 2017246247A JP 2019111057 A5 JP2019111057 A5 JP 2019111057A5
Authority
JP
Japan
Prior art keywords
program
ram
instruction
area
address
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
JP2017246247A
Other languages
Japanese (ja)
Other versions
JP2019111057A (en
JP7290395B2 (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2017246247A priority Critical patent/JP7290395B2/en
Priority claimed from JP2017246247A external-priority patent/JP7290395B2/en
Publication of JP2019111057A publication Critical patent/JP2019111057A/en
Publication of JP2019111057A5 publication Critical patent/JP2019111057A5/ja
Application granted granted Critical
Publication of JP7290395B2 publication Critical patent/JP7290395B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

(A) 遊技を行うことが可能な遊技機であって、
プログラムに基づいて命令を実行する命令実行手段(たとえば、メイン制御部41)と、
第1プログラム(たとえば、遊技プログラム)が記憶される第1プログラム領域と、第2プログラムが記憶される第2プログラム(たとえば、非遊技プログラム)と、を有するプログラム記憶手段(たとえば、ROM41b)と、を備え、
前記プログラム記憶手段においてプログラムが記憶される領域は複数バイトのアドレス(たとえば、該アドレスの上位アドレスと下位アドレス)が割り当てられ、
前記命令実行手段は、前記第1プログラム領域から前記第1プログラムを呼び出す特別命令(たとえば、RST命令)を実行可能であり、
前記特別命令を実行することにより、当該特別命令により指定された前記アドレスよりも小さな数値から前記第1プログラム領域のアドレスを特定し、特定したアドレスから前記第1プログラムを呼び出すことが可能であり、
前記第1プログラムにもとづいて前記第特別命令が実行され得る一方、前記第2プログラムにもとづいて前記特別命令が実行されず(たとえば、遊技プログラムではRST命令は用いられるが、非遊技プログラムではRST命令は用いられない)、
前記遊技機はさらに、
前記第1プログラムで用いられる第1RAM(遊技RAM領域)と、
前記第2プログラムで用いられる第2RAM(非遊技RAM領域)と、
前記命令実行手段により実行された命令による演算結果が格納されるレジスタと、
を備え、
前記第1プログラムにもとづいて前記第1RAMの初期化が行われ、
前記第2プログラムにもとづいて前記第2RAMの初期化が行われ、
前記第2プログラムにもとづいて前記第2RAMの初期化を行うときに前記レジスタの値を保護するための処理(スタック領域へのレジスタの退避)を行う。
(1) 遊技を行うことが可能な遊技機であって、
所定記憶領域(たとえば、Qレジスタ)に記憶されたデータを用いて記憶領域のアドレスを特定し、該特定されたアドレスの記憶領域からデータを読み出す特定命令(たとえば、LDQ命令)をプログラムに基づいて実行する命令実行手段(たとえば、メイン制御部41)と、
前記プログラムで用いるデータが記憶されている特定記憶領域(たとえば、図3に示す遊技RAM領域)へのアクセスを、前記遊技機への電源供給の停止が検出されたときに禁止する(たとえば、図6に示す電断処理でのSk9においてRAM41cへのアクセスを禁止する)禁止手段(たとえば、メイン制御部41)とを備え、
前記所定記憶領域には、
前記特定記憶領域へのアクセスが禁止されるまでは(たとえば、図7のタイミングT1に示すRAMアクセスが禁止される)前記特定記憶領域のアドレスを特定するために用いられる所定値データ(たとえば、遊技RAM領域の上位アドレス「F0」を特定可能な所定値)が記憶され、
前記特定記憶領域へのアクセスが禁止されるにあたって(たとえば、RAMアクセスが禁止される前に)前記特定記憶領域とは異なる領域のアドレスを特定するために用いられる特定値データ(たとえば、遊技RAM領域とは異なる領域である内部機能レジスタの上位アドレス「F5」を特定可能な特定値)が記憶される。
(A) A gaming machine capable of playing games
An instruction execution means (for example, main control unit 41) that executes an instruction based on a program, and
A program storage means (for example, ROM 41b) having a first program area in which a first program (for example, a game program) is stored and a second program (for example, a non-game program) in which a second program is stored. With
A plurality of bytes of addresses (for example, upper and lower addresses of the address) are assigned to the area where the program is stored in the program storage means.
The instruction executing means can execute a special instruction (for example, an RST instruction) for calling the first program from the first program area.
By executing the special instruction, the address of the first program area can be specified from a numerical value smaller than the address specified by the special instruction, and the first program can be called from the specified address.
While the special instruction can be executed based on the first program, the special instruction is not executed based on the second program (for example, the RST instruction is used in the game program, but the RST instruction is used in the non-game program. Is not used),
The gaming machine is further
The first RAM (game RAM area) used in the first program and
The second RAM (non-gaming RAM area) used in the second program and
A register that stores the operation result of the instruction executed by the instruction execution means, and
With
The first RAM is initialized based on the first program, and the first RAM is initialized.
The second RAM is initialized based on the second program, and the second RAM is initialized.
When the second RAM is initialized based on the second program, processing for protecting the value of the register (saving the register to the stack area) is performed.
(1) A gaming machine capable of playing games
The address of the storage area is specified using the data stored in the predetermined storage area (for example, Q register), and a specific instruction (for example, LDQ instruction) for reading data from the storage area of the specified address is given based on the program. Instruction execution means to be executed (for example, main control unit 41) and
Access to a specific storage area (for example, the game RAM area shown in FIG. 3) in which data used in the program is stored is prohibited when a stoppage of power supply to the game machine is detected (for example, FIG. It is provided with a prohibition means (for example, a main control unit 41) for prohibiting access to the RAM 41c in Sk9 in the power failure process shown in 6.
In the predetermined storage area,
Predetermined value data (eg, game) used to identify the address of the specific storage area until access to the specific storage area is prohibited (for example, RAM access shown at timing T1 in FIG. 7 is prohibited). A predetermined value that can identify the upper address "F0" of the RAM area) is stored.
Specific value data (eg, game RAM area) used to identify an address in an area different from the specific storage area when access to the specific storage area is prohibited (for example, before RAM access is prohibited). A specific value that can identify the upper address "F5" of the internal function register, which is an area different from the above, is stored.

Claims (1)

遊技を行うことが可能な遊技機であって、
プログラムに基づいて命令を実行する命令実行手段と、
第1プログラムが記憶される第1プログラム領域と、第2プログラムが記憶される第2プログラムと、を有するプログラム記憶手段と、を備え、
前記プログラム記憶手段においてプログラムが記憶される領域は複数バイトのアドレスが割り当てられ、
前記命令実行手段は、前記第1プログラム領域から前記第1プログラムを呼び出す特別命令を実行可能であり、
前記特別命令を実行することにより、当該特別命令により指定された前記アドレスよりも小さな数値から前記第1プログラム領域のアドレスを特定し、特定したアドレスから前記第1プログラムを呼び出すことが可能であり、
前記第1プログラムにもとづいて前記特別命令が実行され得る一方、前記第2プログラムにもとづいて前記特別命令が実行されず、
前記遊技機はさらに、
前記第1プログラムで用いられる第1RAMと、
前記第2プログラムで用いられる第2RAMと、
前記命令実行手段により実行された命令による演算結果が格納されるレジスタと、
を備え、
前記第1プログラムにもとづいて前記第1RAMの初期化が行われ、
前記第2プログラムにもとづいて前記第2RAMの初期化が行われ、
前記第2プログラムにもとづいて前記第2RAMの初期化を行うときに前記レジスタの値を保護するための処理を行う、遊技機。
It is a game machine that can play games
An instruction execution means that executes an instruction based on a program,
A program storage means having a first program area in which the first program is stored and a second program in which the second program is stored is provided.
A multi-byte address is assigned to the area where the program is stored in the program storage means.
The instruction executing means can execute a special instruction for calling the first program from the first program area.
By executing the special instruction, the address of the first program area can be specified from a numerical value smaller than the address specified by the special instruction, and the first program can be called from the specified address.
While the special instruction can be executed based on the first program, the special instruction is not executed based on the second program.
The gaming machine is further
The first RAM used in the first program and
The second RAM used in the second program and
A register that stores the operation result of the instruction executed by the instruction execution means, and
With
The first RAM is initialized based on the first program, and the first RAM is initialized.
The second RAM is initialized based on the second program, and the second RAM is initialized.
A gaming machine that performs processing for protecting the value of the register when initializing the second RAM based on the second program.
JP2017246247A 2017-12-22 2017-12-22 game machine Active JP7290395B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017246247A JP7290395B2 (en) 2017-12-22 2017-12-22 game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017246247A JP7290395B2 (en) 2017-12-22 2017-12-22 game machine

Publications (3)

Publication Number Publication Date
JP2019111057A JP2019111057A (en) 2019-07-11
JP2019111057A5 true JP2019111057A5 (en) 2021-05-06
JP7290395B2 JP7290395B2 (en) 2023-06-13

Family

ID=67221754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017246247A Active JP7290395B2 (en) 2017-12-22 2017-12-22 game machine

Country Status (1)

Country Link
JP (1) JP7290395B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7384867B2 (en) * 2021-08-06 2023-11-21 株式会社三共 gaming machine

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6391291B2 (en) 2013-05-10 2018-09-19 株式会社三共 Game machine
JP2016179074A (en) * 2015-03-24 2016-10-13 京楽産業.株式会社 Game machine
JP6626266B2 (en) 2015-04-03 2019-12-25 株式会社三共 Gaming machine
JP6652698B2 (en) * 2015-10-05 2020-02-26 サミー株式会社 Gaming machine
JP6647658B2 (en) 2016-02-08 2020-02-14 サミー株式会社 Gaming machine
JP6549505B2 (en) 2016-03-07 2019-07-24 株式会社三共 Gaming machine
JP6630200B2 (en) * 2016-03-15 2020-01-15 株式会社オリンピア Gaming machine

Similar Documents

Publication Publication Date Title
JP2019111055A5 (en)
JP2019092548A5 (en)
JP2013180074A5 (en)
JP2013233285A5 (en)
JP2017000597A5 (en)
JP2017070476A5 (en)
JP2017070472A5 (en)
JP2015080616A5 (en)
JP2018183289A5 (en)
JP2019111057A5 (en)
JP2018012009A5 (en)
JP2016187411A5 (en)
JP2019111056A5 (en)
JP2013192794A5 (en)
JP2017070475A5 (en)
JP2017070474A5 (en)
JP2017023246A5 (en)
JP2021003467A5 (en)
JP2020068798A5 (en)
JP2013233290A5 (en)
JP2018015628A5 (en)
JP2019013638A5 (en)
JP2016087256A5 (en)
JP2011160987A5 (en)
JP2016104436A5 (en)