libmsx
C library for MSX
|
Interrupts relevant functions and Pluggable interrupts handler interface. More...
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | INTERRUPT_H |
#define | await_interrupt() |
MSX Waits for next interrupt. | |
Functions | |
void | await_vsync (void) |
MSX Waits for next VSYNC interrupt. | |
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_ticks (uint16_t ticks) |
MSX Wait for the specified number of VSYNCs to occur. | |
void | sleep_millis (uint16_t ms) |
MSX Wait for the specified time to elapse in milliseconds. | |
bool | get_interrupt_state (void) |
MSX Return the current state of interrupts. | |
Variables | |
volatile bool | vsync_busy |
MSX "Busy" flag for VSYNC interrupt routine. | |
Interrupts relevant functions and Pluggable interrupts handler interface.
Definition in file interrupt.h.
#define INTERRUPT_H |
Definition at line 24 of file interrupt.h.