libmsx
C library for MSX
Loading...
Searching...
No Matches
State of interrupts

Get state of interrupts. More...

+ Collaboration diagram for State of interrupts:

Functions

bool get_interrupt_state (void)
 MSX Return the current state of interrupts.
 

Detailed Description

Get state of interrupts.

Function Documentation

◆ get_interrupt_state()

bool get_interrupt_state ( void  )

MSX Return the current state of interrupts.

Returns
true if interrupts is enabled (i.e., EI state), or false if disabled (i.e., "DI" state).