JP2022067308A5 - - Google Patents

Download PDF

Info

Publication number
JP2022067308A5
JP2022067308A5 JP2020175945A JP2020175945A JP2022067308A5 JP 2022067308 A5 JP2022067308 A5 JP 2022067308A5 JP 2020175945 A JP2020175945 A JP 2020175945A JP 2020175945 A JP2020175945 A JP 2020175945A JP 2022067308 A5 JP2022067308 A5 JP 2022067308A5
Authority
JP
Japan
Prior art keywords
interrupt
timer interrupt
processing
disabled
interrupt processing
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
JP2020175945A
Other languages
Japanese (ja)
Other versions
JP7425321B2 (en
JP2022067308A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2020175945A priority Critical patent/JP7425321B2/en
Priority claimed from JP2020175945A external-priority patent/JP7425321B2/en
Publication of JP2022067308A publication Critical patent/JP2022067308A/en
Publication of JP2022067308A5 publication Critical patent/JP2022067308A5/ja
Priority to JP2024002997A priority patent/JP2024040182A/en
Application granted granted Critical
Publication of JP7425321B2 publication Critical patent/JP7425321B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、以下の解決手段によって上述の課題を解決する(かっこ書きで、対応する実施形態の構成を示す。)。
本発明(第13実施形態)は、
所定のカウンタ(8ビットカウンタ501)と、
所定のレジスタ(割込み待ちモニタレジスタ301)と、を備え、
メイン処理(図97)と、タイマ割込み処理(図232)を実行可能とし、
メイン処理は、割込みを禁止する命令(DI命令、又はCALLEX命令)から割込みを許可する命令(EI命令、又はRETEX命令)まで割込みを禁止する割込み禁止状態を有し、
割込み禁止期間の設計上の最大時間を「S」とし、所定のカウンタの値がタイムアウトする周期の時間を「T」としたとき、「T>S」となるように構成され、
所定のカウンタの値を更新しタイムアウトすると(図233中、「T1」)、所定のレジスタに割込み要求があったことを示す情報を記憶可能に構成され(割込み待ちモニタレジスタ301をオンにし)、
所定のレジスタに割込み要求があったことを示す情報を記憶している状況が割込み許可状態である場合は、タイマ割込み処理を実行可能に構成され、
所定のレジスタに割込み要求があったことを示す情報を記憶している状況が割込み禁止状態である場合は、所定のレジスタに記憶されている割込み要求があったことを示す情報をクリアせず、割込み許可状態となった後にタイマ割込み処理を実行可能に構成され、
割込み禁止状態である場合でも所定のカウンタの値を更新可能に構成され、
割込み禁止状態でタイムアウトをN回(Nは、2以上の数値)した場合であっても、割込み許可状態となった後に割込み禁止状態でタイムアウトをN回したことに基づいてタイマ割込み処理がN回連続して実行されないように構成され(図235)、
タイマ割込み処理を実行する際に、所定のレジスタに記憶されている割込み要求があったことを示す情報をクリア可能に構成され、
タイマ割込み処理を実行する際に割込み禁止状態となり、タイマ割込み処理を終了する際には、タイマ割込み処理を終了するための復帰命令の直前に割込み許可命令を実行するように構成され、
タイマ割込み処理を終了するための復帰命令の直前の割込み許可命令を実行した直後であってタイマ割込み処理を終了するための復帰命令の直前にはタイマ割込み処理が実行されないように構成される
ことを特徴とする。
The present invention solves the above-described problems by the following solutions (the structure of the corresponding embodiment is shown in parentheses).
The present invention (thirteenth embodiment) is
a predetermined counter (8-bit counter 501);
a predetermined register (interrupt wait monitor register 301),
Main processing (Fig. 97) and timer interrupt processing (Fig. 232) can be executed,
The main process has an interrupt disabled state in which interrupts are disabled from an interrupt disabled instruction (DI instruction or CALLEX instruction) to an interrupt enabled instruction (EI instruction or RETEX instruction),
When the design maximum time of the interrupt disabled period is "S" and the period of time when the value of the predetermined counter times out is "T", it is configured so that "T>S",
When the value of a predetermined counter is updated and times out (“T1” in FIG. 233), information indicating that there is an interrupt request can be stored in a predetermined register (interrupt wait monitor register 301 is turned on),
when the state in which information indicating that an interrupt request has been received in a predetermined register is an interrupt enabled state, timer interrupt processing can be executed;
When the information indicating that an interrupt request has been stored in a predetermined register is in an interrupt disabled state, the information indicating that an interrupt request has been stored in the predetermined register is not cleared, and timer interrupt processing can be executed after an interrupt enabled state,
configured so that the value of a predetermined counter can be updated even when interrupts are disabled;
Even if timeout occurs N times in the interrupt disabled state (N is a numerical value of 2 or more), the timer interrupt processing is configured so that the timer interrupt processing is not executed continuously N times based on the fact that the timeout has occurred N times in the interrupt disabled state after the interrupt enabled state (Fig. 235),
configured to be able to clear information indicating that there is an interrupt request stored in a predetermined register when executing timer interrupt processing,
interrupt disabled state when executing timer interrupt processing, and when ending timer interrupt processing, an interrupt enable instruction is executed immediately before a return instruction for ending timer interrupt processing,
It is configured so that timer interrupt processing is not executed immediately before the return instruction for ending timer interrupt processing immediately after execution of the interrupt enable instruction immediately before the return instruction for ending timer interrupt processing.
It is characterized by

Claims (1)

所定のカウンタと、
所定のレジスタと、を備え、
メイン処理と、タイマ割込み処理を実行可能とし、
メイン処理は、割込みを禁止する命令から割込みを許可する命令まで割込みを禁止する割込み禁止状態を有し、
割込み禁止期間の設計上の最大時間を「S」とし、所定のカウンタの値がタイムアウトする周期の時間を「T」としたとき、「T>S」となるように構成され、
所定のカウンタの値を更新しタイムアウトすると、所定のレジスタに割込み要求があったことを示す情報を記憶可能に構成され、
所定のレジスタに割込み要求があったことを示す情報を記憶している状況が割込み許可状態である場合は、タイマ割込み処理を実行可能に構成され、
所定のレジスタに割込み要求があったことを示す情報を記憶している状況が割込み禁止状態である場合は、所定のレジスタに記憶されている割込み要求があったことを示す情報をクリアせず、割込み許可状態となった後にタイマ割込み処理を実行可能に構成され、
割込み禁止状態である場合でも所定のカウンタの値を更新可能に構成され、
割込み禁止状態でタイムアウトをN回(Nは、2以上の数値)した場合であっても、割込み許可状態となった後に割込み禁止状態でタイムアウトをN回したことに基づいてタイマ割込み処理がN回連続して実行されないように構成され、
タイマ割込み処理を実行する際に、所定のレジスタに記憶されている割込み要求があったことを示す情報をクリア可能に構成され、
タイマ割込み処理を実行する際に割込み禁止状態となり、タイマ割込み処理を終了する際には、タイマ割込み処理を終了するための復帰命令の直前に割込み許可命令を実行するように構成され、
タイマ割込み処理を終了するための復帰命令の直前の割込み許可命令を実行した直後であってタイマ割込み処理を終了するための復帰命令の直前にはタイマ割込み処理が実行されないように構成される
ことを特徴とする遊技機。
a predetermined counter;
a predetermined register;
Main processing and timer interrupt processing can be executed,
The main processing has an interrupt disabled state in which interrupts are disabled from an interrupt disabled instruction to an interrupt enabled instruction,
When the design maximum time of the interrupt disabled period is "S" and the period of time when the value of the predetermined counter times out is "T", it is configured so that "T>S",
When the value of a predetermined counter is updated and timeout occurs, information indicating that an interrupt request has been received can be stored in a predetermined register,
when the state in which information indicating that an interrupt request has been received in a predetermined register is an interrupt enabled state, timer interrupt processing can be executed;
When the information indicating that an interrupt request has been stored in a predetermined register is in an interrupt disabled state, the information indicating that an interrupt request has been stored in the predetermined register is not cleared, and timer interrupt processing can be executed after an interrupt enabled state,
configured so that the value of a predetermined counter can be updated even when interrupts are disabled;
The timer interrupt processing is configured not to be executed N times consecutively on the basis of N timeouts in the interrupt disabled state after entering the interrupt enabled state, even when timeout is performed N times (N is a numerical value of 2 or more) in the interrupt disabled state,
configured to be able to clear information indicating that there is an interrupt request stored in a predetermined register when executing timer interrupt processing,
interrupt disabled state when executing timer interrupt processing, and when ending timer interrupt processing, an interrupt enable instruction is executed immediately before a return instruction for ending timer interrupt processing,
The game machine is characterized in that timer interrupt processing is not executed immediately after execution of an interrupt permission instruction immediately before a return instruction for ending timer interrupt processing and immediately before a return instruction for ending timer interrupt processing.
JP2020175945A 2020-10-20 2020-10-20 gaming machine Active JP7425321B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020175945A JP7425321B2 (en) 2020-10-20 2020-10-20 gaming machine
JP2024002997A JP2024040182A (en) 2020-10-20 2024-01-12 gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020175945A JP7425321B2 (en) 2020-10-20 2020-10-20 gaming machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2024002997A Division JP2024040182A (en) 2020-10-20 2024-01-12 gaming machine

Publications (3)

Publication Number Publication Date
JP2022067308A JP2022067308A (en) 2022-05-06
JP2022067308A5 true JP2022067308A5 (en) 2023-07-21
JP7425321B2 JP7425321B2 (en) 2024-01-31

Family

ID=81390521

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020175945A Active JP7425321B2 (en) 2020-10-20 2020-10-20 gaming machine
JP2024002997A Pending JP2024040182A (en) 2020-10-20 2024-01-12 gaming machine

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2024002997A Pending JP2024040182A (en) 2020-10-20 2024-01-12 gaming machine

Country Status (1)

Country Link
JP (2) JP7425321B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7425315B2 (en) 2020-10-20 2024-01-31 サミー株式会社 gaming machine
JP7425316B2 (en) 2020-10-20 2024-01-31 サミー株式会社 gaming machine

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4865348B2 (en) 2006-02-08 2012-02-01 株式会社三共 Game machine
JP5572930B2 (en) 2008-06-25 2014-08-20 株式会社三洋物産 Game machine
JP4932928B2 (en) 2010-05-13 2012-05-16 株式会社藤商事 Game machine
JP5537598B2 (en) 2012-04-26 2014-07-02 株式会社サンセイアールアンドディ Game machine
JP2014028024A (en) 2012-07-31 2014-02-13 Daito Giken:Kk Game board
JP6000426B2 (en) 2015-10-16 2016-09-28 株式会社三共 Game machine
JP6556792B2 (en) 2017-09-12 2019-08-07 株式会社藤商事 Game machine
JP6997385B2 (en) 2019-02-27 2022-01-17 サミー株式会社 Pachinko machine
JP7280491B2 (en) 2019-03-19 2023-05-24 サミー株式会社 game machine
JP6767560B2 (en) 2019-11-15 2020-10-14 株式会社三共 Game machine
JP7425315B2 (en) 2020-10-20 2024-01-31 サミー株式会社 gaming machine
JP7425316B2 (en) 2020-10-20 2024-01-31 サミー株式会社 gaming machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7425315B2 (en) 2020-10-20 2024-01-31 サミー株式会社 gaming machine
JP7425316B2 (en) 2020-10-20 2024-01-31 サミー株式会社 gaming machine

Similar Documents

Publication Publication Date Title
JP2022067307A5 (en)
JP2022067306A5 (en)
JP2022074986A5 (en)
JP2022067300A5 (en)
JP2022067301A5 (en)
TWI547876B (en) Method and system for handling interrupts in a virtualized environment
JP2022067308A5 (en)
JP2022067309A5 (en)
JP2022067302A5 (en)
EP3306470B1 (en) Method and apparatus for executing non-maskable interrupt
JP2017070333A5 (en)
TW201118723A (en) Programmable exception processing latency
JP2022067304A5 (en)
JP2022067303A5 (en)
JP2022067305A5 (en)
JP2006099331A5 (en)
RU2016127444A (en) RESTORING A FLOW CONTEXT IN A MULTI-THREADED COMPUTER SYSTEM
JP2015088014A5 (en)
JP2013233286A5 (en)
JP2018183290A5 (en)
EP3118738B1 (en) Method and system for processing interruptible instructions in a microcontroller
JP5653332B2 (en) Period error detection method and period error detection circuit
US11249777B2 (en) Virtual machine context management
JP2008225807A (en) Control device, and program runaway monitoring method for the same
JP2022074985A5 (en)