71#define await_interrupt() \
void await_vsync(void)
MSX Waits for next VSYNC interrupt.
volatile bool vsync_busy
MSX "Busy" flag for VSYNC interrupt routine.
void set_interrupt_handler(void(*handler)(void))
MSX Register user defined interrupt handler.
void set_vsync_handler(void(*handler)(void))
MSX Register user defined VSYNC interrupt handler.
void sleep_millis(uint16_t ms)
MSX Wait for the specified time to elapse in milliseconds.
void sleep_ticks(uint16_t ticks)
MSX Wait for the specified number of VSYNCs to occur.
bool get_interrupt_state(void)
MSX Return the current state of interrupts.